mirror of
https://github.com/shumaiOne/shumai.git
synced 2026-11-30 21:04:59 +00:00
feat(agent): add asset management tools and CLI commands (#387)
* feat(agent): add asset management tools and CLI commands * fix(core): resolve code review findings for reparenting cycles, agent deniedTools update, and CLI folder delete
This commit is contained in:
@@ -12,6 +12,8 @@ export type ThinkingLevel = z.infer<typeof thinkingLevelSchema>
|
||||
export const agentPermissionSchema = z.enum(['owner', 'editor', 'reviewer'])
|
||||
export type AgentPermission = z.infer<typeof agentPermissionSchema>
|
||||
|
||||
export const DEFAULT_DENIED_TOOLS = ['delete_asset'] as const
|
||||
|
||||
export const agentSkillSchema = z.object({
|
||||
id: z.string().optional(),
|
||||
skillId: z.string(),
|
||||
|
||||
Reference in New Issue
Block a user