feat: mac node exec policy + remote skills hot reload
This commit is contained in:
@@ -120,6 +120,8 @@ const FIELD_LABELS: Record<string, string> = {
|
||||
"gateway.http.endpoints.chatCompletions.enabled": "OpenAI Chat Completions Endpoint",
|
||||
"gateway.reload.mode": "Config Reload Mode",
|
||||
"gateway.reload.debounceMs": "Config Reload Debounce (ms)",
|
||||
"skills.load.watch": "Watch Skills",
|
||||
"skills.load.watchDebounceMs": "Skills Watch Debounce (ms)",
|
||||
"agents.defaults.workspace": "Workspace",
|
||||
"agents.defaults.bootstrapMaxChars": "Bootstrap Max Chars",
|
||||
"agents.defaults.memorySearch": "Memory Search",
|
||||
|
||||
@@ -95,6 +95,7 @@ export type SessionSkillSnapshot = {
|
||||
prompt: string;
|
||||
skills: Array<{ name: string; primaryEnv?: string }>;
|
||||
resolvedSkills?: Skill[];
|
||||
version?: number;
|
||||
};
|
||||
|
||||
export type SessionSystemPromptReport = {
|
||||
|
||||
@@ -11,6 +11,10 @@ export type SkillsLoadConfig = {
|
||||
* Each directory should contain skill subfolders with `SKILL.md`.
|
||||
*/
|
||||
extraDirs?: string[];
|
||||
/** Watch skill folders for changes and refresh the skills snapshot. */
|
||||
watch?: boolean;
|
||||
/** Debounce for the skills watcher (ms). */
|
||||
watchDebounceMs?: number;
|
||||
};
|
||||
|
||||
export type SkillsInstallConfig = {
|
||||
|
||||
@@ -270,6 +270,8 @@ export const ClawdbotSchema = z
|
||||
load: z
|
||||
.object({
|
||||
extraDirs: z.array(z.string()).optional(),
|
||||
watch: z.boolean().optional(),
|
||||
watchDebounceMs: z.number().int().min(0).optional(),
|
||||
})
|
||||
.optional(),
|
||||
install: z
|
||||
|
||||
Reference in New Issue
Block a user