feat: implement extensible plan mode with custom directory configuration

- Adds 'general.plan' configuration object for plan settings (directory).
- Updates 'experimental.plan' to a boolean flag for enablement.
- Implements dynamic high-priority policy for custom plan directories in core.
- Adds migration logic for previous configuration formats.
- Updates documentation and schema.
This commit is contained in:
Mahima Shanware
2026-02-17 19:44:19 +00:00
parent e51876b108
commit c1dfcd9a2d
15 changed files with 254 additions and 13 deletions
+9
View File
@@ -833,6 +833,15 @@ export async function loadCliConfig(
enableExtensionReloading: settings.experimental?.extensionReloading,
enableAgents: settings.experimental?.enableAgents,
plan: settings.experimental?.plan,
planDirectory:
settings.general &&
'plan' in settings.general &&
typeof settings.general.plan === 'object' &&
settings.general.plan !== null &&
'directory' in settings.general.plan &&
typeof settings.general.plan.directory === 'string'
? settings.general.plan.directory
: undefined,
enableEventDrivenScheduler: true,
skillsSupport: settings.skills?.enabled ?? true,
disabledSkills: settings.skills?.disabled,