import{z as e}from"zod";const t=e.enum([`claude`,`codex`,`gemini`]),n=e.enum([`user`,`project`,`local`,`system`]),r=e.enum([`list`,`edit`,`switch-profile`,`inspect`]),i=e.object({tool:t,scope:n,action:r,profile:e.string().optional(),name:e.string().optional(),ide:e.string().optional(),format:e.enum([`json`,`table`]).optional(),switchOptions:e.object({preview:e.boolean().optional(),backup:e.boolean().optional()}).optional()});function a(e){return i.parse(e)}export{n as ScopeSchema,r as SettingActionSchema,i as SettingsPayloadSchema,t as ToolIdSchema,a as validatePayload};