@@ -81,9 +81,6 @@ export interface Settings {
8181 defaultProvider ?: string ;
8282 providers : Record < string , ProviderSettings > ;
8383 mcpServers ?: MCPServerSettingsEntry [ ] ;
84- // Per-phase model overrides keyed by profile name, then workflow step
85- // profile key; a step's `profile` selects the entry.
86- workflowProfiles ?: Record < string , Record < string , string > > ;
8784 // Per-plugin config keyed by plugin id: enabled flag plus manifest-declared
8885 // credentials (e.g. an Exa API key). Global-only because it carries secrets;
8986 // the /plugins UI writes it.
@@ -111,9 +108,6 @@ export interface Settings {
111108 // Last package version whose release notes were shown (or stamped on first
112109 // interactive install).
113110 lastChangelogVersion ?: string ;
114- // Deprecated: compaction is always the evidence-backed LLM handoff now.
115- // Legacy values still load but are ignored; new writes omit this field.
116- compactionMode ?: "llm" | "pruning" ;
117111 // Deprecated: orchestrator is the only product path. Legacy values still
118112 // load but are ignored.
119113 sessionMode ?: SessionMode ;
@@ -656,7 +650,6 @@ const SettingsSchema = type({
656650 // Model tiers were removed; older files may still carry this key. Accepted
657651 // and ignored so the file loads, then dropped on next save.
658652 "tiers?" : "unknown" ,
659- "workflowProfiles?" : type ( { "[string]" : type ( { "[string]" : "string" } ) } ) ,
660653 "plugins?" : type ( {
661654 "[string]" : type ( {
662655 "enabled?" : "boolean" ,
@@ -671,7 +664,6 @@ const SettingsSchema = type({
671664 "hiddenCommands?" : "string[]" ,
672665 "onboarded?" : "boolean" ,
673666 "lastChangelogVersion?" : "string" ,
674- "compactionMode?" : "'llm' | 'pruning'" ,
675667 // Legacy disk values still load; product resolve ignores them.
676668 "sessionMode?" : "'single' | 'orchestrator'" ,
677669
@@ -891,7 +883,6 @@ type OptionalLocalSettingsFields = {
891883export const GLOBAL_SETTINGS_OPTIONAL_KEYS = [
892884 "defaultProvider" ,
893885 "mcpServers" ,
894- "workflowProfiles" ,
895886 "plugins" ,
896887 "pluginPaths" ,
897888 "hooks" ,
@@ -900,7 +891,6 @@ export const GLOBAL_SETTINGS_OPTIONAL_KEYS = [
900891 "hiddenCommands" ,
901892 "onboarded" ,
902893 "lastChangelogVersion" ,
903- "compactionMode" ,
904894 "sessionMode" ,
905895 "agentModelFallback" ,
906896 "shell" ,
@@ -1089,9 +1079,6 @@ function normalizeParsedSettings(path: string, parsed: unknown): Settings {
10891079 s . mcpServers !== undefined
10901080 ? normalizeMcpServers ( s . mcpServers )
10911081 : undefined ,
1092- workflowProfiles : s . workflowProfiles as
1093- | Settings [ "workflowProfiles" ]
1094- | undefined ,
10951082 plugins : s . plugins as Settings [ "plugins" ] | undefined ,
10961083 pluginPaths : s . pluginPaths as string [ ] | undefined ,
10971084 hooks : s . hooks as Settings [ "hooks" ] | undefined ,
@@ -1104,10 +1091,6 @@ function normalizeParsedSettings(path: string, parsed: unknown): Settings {
11041091 s . lastChangelogVersion . trim ( ) . length > 0
11051092 ? s . lastChangelogVersion . trim ( )
11061093 : undefined ,
1107- compactionMode :
1108- s . compactionMode === "llm" || s . compactionMode === "pruning"
1109- ? s . compactionMode
1110- : undefined ,
11111094 // Drop legacy "single"; keep only explicit orchestrator if present.
11121095 sessionMode : s . sessionMode === "orchestrator" ? "orchestrator" : undefined ,
11131096 agentModelFallback :
0 commit comments