@cortexkit/opencode-magic-context 0.38.1 → 0.40.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +57 -4
- package/dist/config/index.d.ts.map +1 -1
- package/dist/config/profiles.d.ts +22 -0
- package/dist/config/profiles.d.ts.map +1 -0
- package/dist/config/project-security.d.ts +14 -6
- package/dist/config/project-security.d.ts.map +1 -1
- package/dist/config/raw-loader.d.ts +42 -0
- package/dist/config/raw-loader.d.ts.map +1 -0
- package/dist/config/schema/magic-context.d.ts +966 -531
- package/dist/config/schema/magic-context.d.ts.map +1 -1
- package/dist/features/magic-context/dreamer/classify.d.ts +3 -2
- package/dist/features/magic-context/dreamer/classify.d.ts.map +1 -1
- package/dist/features/magic-context/dreamer/evaluate-smart-notes.d.ts +9 -2
- package/dist/features/magic-context/dreamer/evaluate-smart-notes.d.ts.map +1 -1
- package/dist/features/magic-context/dreamer/map-memories-prompt.d.ts +4 -2
- package/dist/features/magic-context/dreamer/map-memories-prompt.d.ts.map +1 -1
- package/dist/features/magic-context/dreamer/map-memories.d.ts +21 -5
- package/dist/features/magic-context/dreamer/map-memories.d.ts.map +1 -1
- package/dist/features/magic-context/dreamer/refresh-primers.d.ts +3 -2
- package/dist/features/magic-context/dreamer/refresh-primers.d.ts.map +1 -1
- package/dist/features/magic-context/dreamer/task-config.d.ts +2 -1
- package/dist/features/magic-context/dreamer/task-config.d.ts.map +1 -1
- package/dist/features/magic-context/dreamer/task-executor.d.ts +0 -1
- package/dist/features/magic-context/dreamer/task-executor.d.ts.map +1 -1
- package/dist/features/magic-context/dreamer/task-scheduler.d.ts +3 -2
- package/dist/features/magic-context/dreamer/task-scheduler.d.ts.map +1 -1
- package/dist/features/magic-context/dreamer/verify-prompt.d.ts +5 -2
- package/dist/features/magic-context/dreamer/verify-prompt.d.ts.map +1 -1
- package/dist/features/magic-context/dreamer/verify.d.ts +6 -3
- package/dist/features/magic-context/dreamer/verify.d.ts.map +1 -1
- package/dist/features/magic-context/fail-closed-block.d.ts +11 -1
- package/dist/features/magic-context/fail-closed-block.d.ts.map +1 -1
- package/dist/features/magic-context/memory/embedding-failure.d.ts +11 -0
- package/dist/features/magic-context/memory/embedding-failure.d.ts.map +1 -0
- package/dist/features/magic-context/memory/embedding-openai.d.ts +5 -0
- package/dist/features/magic-context/memory/embedding-openai.d.ts.map +1 -1
- package/dist/features/magic-context/memory/embedding-provider.d.ts +3 -0
- package/dist/features/magic-context/memory/embedding-provider.d.ts.map +1 -1
- package/dist/features/magic-context/migrations.d.ts.map +1 -1
- package/dist/features/magic-context/mural/compress-cues.d.ts +3 -2
- package/dist/features/magic-context/mural/compress-cues.d.ts.map +1 -1
- package/dist/features/magic-context/project-embedding-registry.d.ts +2 -0
- package/dist/features/magic-context/project-embedding-registry.d.ts.map +1 -1
- package/dist/features/magic-context/smart-notes/compiler.d.ts +3 -2
- package/dist/features/magic-context/smart-notes/compiler.d.ts.map +1 -1
- package/dist/features/magic-context/smart-notes/condition-compiler.d.ts +2 -0
- package/dist/features/magic-context/smart-notes/condition-compiler.d.ts.map +1 -1
- package/dist/features/magic-context/smart-notes/sandbox-runner.d.ts.map +1 -1
- package/dist/features/magic-context/storage-db.d.ts +2 -2
- package/dist/features/magic-context/storage-db.d.ts.map +1 -1
- package/dist/features/magic-context/storage-meta-persisted.d.ts +7 -2
- package/dist/features/magic-context/storage-meta-persisted.d.ts.map +1 -1
- package/dist/features/magic-context/storage-meta-shared.d.ts +1 -0
- package/dist/features/magic-context/storage-meta-shared.d.ts.map +1 -1
- package/dist/features/magic-context/storage-meta.d.ts +1 -1
- package/dist/features/magic-context/storage-meta.d.ts.map +1 -1
- package/dist/features/magic-context/storage-session-tables.d.ts.map +1 -1
- package/dist/features/magic-context/storage-tags.d.ts.map +1 -1
- package/dist/features/magic-context/storage.d.ts +1 -1
- package/dist/features/magic-context/storage.d.ts.map +1 -1
- package/dist/features/magic-context/tool-definition-tokens.d.ts +10 -0
- package/dist/features/magic-context/tool-definition-tokens.d.ts.map +1 -1
- package/dist/features/magic-context/transform-decision-log.d.ts +11 -0
- package/dist/features/magic-context/transform-decision-log.d.ts.map +1 -1
- package/dist/features/magic-context/user-memory/review-user-memories.d.ts +3 -2
- package/dist/features/magic-context/user-memory/review-user-memories.d.ts.map +1 -1
- package/dist/hooks/magic-context/channel2-delivery.d.ts +3 -1
- package/dist/hooks/magic-context/channel2-delivery.d.ts.map +1 -1
- package/dist/hooks/magic-context/command-handler.d.ts +4 -0
- package/dist/hooks/magic-context/command-handler.d.ts.map +1 -1
- package/dist/hooks/magic-context/compartment-runner-historian.d.ts +4 -1
- package/dist/hooks/magic-context/compartment-runner-historian.d.ts.map +1 -1
- package/dist/hooks/magic-context/compartment-runner-partial-recomp.d.ts.map +1 -1
- package/dist/hooks/magic-context/compartment-runner-recomp.d.ts.map +1 -1
- package/dist/hooks/magic-context/compartment-runner-types.d.ts +4 -1
- package/dist/hooks/magic-context/compartment-runner-types.d.ts.map +1 -1
- package/dist/hooks/magic-context/ctx-reduce-nudge.d.ts +14 -2
- package/dist/hooks/magic-context/ctx-reduce-nudge.d.ts.map +1 -1
- package/dist/hooks/magic-context/emergency-fail-closed.d.ts +7 -0
- package/dist/hooks/magic-context/emergency-fail-closed.d.ts.map +1 -1
- package/dist/hooks/magic-context/format-embed-failure.d.ts +3 -0
- package/dist/hooks/magic-context/format-embed-failure.d.ts.map +1 -0
- package/dist/hooks/magic-context/hook-handlers.d.ts.map +1 -1
- package/dist/hooks/magic-context/hook.d.ts.map +1 -1
- package/dist/hooks/magic-context/inject-compartments.d.ts +13 -1
- package/dist/hooks/magic-context/inject-compartments.d.ts.map +1 -1
- package/dist/hooks/magic-context/lkg-persist.d.ts +14 -0
- package/dist/hooks/magic-context/lkg-persist.d.ts.map +1 -0
- package/dist/hooks/magic-context/lkg-slot.d.ts +13 -0
- package/dist/hooks/magic-context/lkg-slot.d.ts.map +1 -1
- package/dist/hooks/magic-context/module-state-sync.d.ts +1 -0
- package/dist/hooks/magic-context/module-state-sync.d.ts.map +1 -1
- package/dist/hooks/magic-context/module-transport.d.ts +12 -0
- package/dist/hooks/magic-context/module-transport.d.ts.map +1 -1
- package/dist/hooks/magic-context/raw-fallback-context-limit.d.ts.map +1 -1
- package/dist/hooks/magic-context/recomp-orchestrator.d.ts +4 -1
- package/dist/hooks/magic-context/recomp-orchestrator.d.ts.map +1 -1
- package/dist/hooks/magic-context/rust-mode-transform.d.ts.map +1 -1
- package/dist/hooks/magic-context/strip-content.d.ts +6 -0
- package/dist/hooks/magic-context/strip-content.d.ts.map +1 -1
- package/dist/hooks/magic-context/tail-hygiene-walk.d.ts +12 -0
- package/dist/hooks/magic-context/tail-hygiene-walk.d.ts.map +1 -1
- package/dist/hooks/magic-context/transform-compartment-phase.d.ts +3 -1
- package/dist/hooks/magic-context/transform-compartment-phase.d.ts.map +1 -1
- package/dist/hooks/magic-context/transform-postprocess-phase.d.ts +5 -0
- package/dist/hooks/magic-context/transform-postprocess-phase.d.ts.map +1 -1
- package/dist/hooks/magic-context/transform.d.ts +9 -1
- package/dist/hooks/magic-context/transform.d.ts.map +1 -1
- package/dist/hooks/magic-context/wrapup-orchestrator.d.ts.map +1 -1
- package/dist/{index-2y0ybv5x.js → index-3dkzzh0t.js} +15 -17
- package/dist/{index-5znjkjws.js → index-axpym70t.js} +879 -170
- package/dist/index-ehpzdy0v.js +126 -0
- package/dist/{index-22mw8km4.js → index-rw0qrkvq.js} +4 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +18466 -16177
- package/dist/model-resolution-r9jbcz86.js +15 -0
- package/dist/plugin/dream-timer.d.ts +3 -0
- package/dist/plugin/dream-timer.d.ts.map +1 -1
- package/dist/plugin/hooks/create-session-hooks.d.ts +2 -0
- package/dist/plugin/hooks/create-session-hooks.d.ts.map +1 -1
- package/dist/plugin/messages-transform.d.ts +14 -6
- package/dist/plugin/messages-transform.d.ts.map +1 -1
- package/dist/plugin/rpc-handlers.d.ts.map +1 -1
- package/dist/{recomp-orchestrator-p030kxtc.js → recomp-orchestrator-dmyvqekw.js} +2 -3
- package/dist/shared/jsonc-edit.d.ts +6 -1
- package/dist/shared/jsonc-edit.d.ts.map +1 -1
- package/dist/shared/model-resolution.d.ts +53 -0
- package/dist/shared/model-resolution.d.ts.map +1 -0
- package/dist/shared/model-suggestion-retry.d.ts +4 -1
- package/dist/shared/model-suggestion-retry.d.ts.map +1 -1
- package/dist/shared/resolve-fallbacks.d.ts +5 -1
- package/dist/shared/resolve-fallbacks.d.ts.map +1 -1
- package/dist/shared/rpc-types.d.ts +2 -0
- package/dist/shared/rpc-types.d.ts.map +1 -1
- package/dist/shared/rpc-utils.d.ts +12 -1
- package/dist/shared/rpc-utils.d.ts.map +1 -1
- package/dist/shared/status-detail-text.d.ts +4 -0
- package/dist/shared/status-detail-text.d.ts.map +1 -0
- package/dist/shared/subagent-runner.d.ts +2 -1
- package/dist/shared/subagent-runner.d.ts.map +1 -1
- package/dist/{storage-meta-session-2306t3j7.js → storage-meta-session-yvtbaw7c.js} +1 -1
- package/dist/{task-config-at3adc59.js → task-config-a1qmj9bx.js} +2 -2
- package/dist/tui/data/context-db.d.ts.map +1 -1
- package/dist/tui-compiled/data/context-db.d.ts.map +1 -1
- package/package.json +4 -2
- package/src/config/index.test.ts +434 -19
- package/src/config/index.ts +67 -33
- package/src/config/profiles.ts +106 -0
- package/src/config/project-security.hostile-matrix.test.ts +480 -0
- package/src/config/project-security.test.ts +43 -5
- package/src/config/project-security.ts +151 -22
- package/src/config/raw-loader.test.ts +424 -0
- package/src/config/raw-loader.ts +490 -0
- package/src/config/schema/magic-context.test.ts +272 -2
- package/src/config/schema/magic-context.ts +342 -49
- package/src/shared/jsonc-edit.ts +74 -1
- package/src/shared/model-resolution.test.ts +170 -0
- package/src/shared/model-resolution.ts +227 -0
- package/src/shared/model-suggestion-retry.test.ts +27 -0
- package/src/shared/model-suggestion-retry.ts +19 -10
- package/src/shared/resolve-fallbacks.test.ts +13 -1
- package/src/shared/resolve-fallbacks.ts +19 -4
- package/src/shared/rpc-types.ts +2 -0
- package/src/shared/rpc-utils.test.ts +32 -0
- package/src/shared/rpc-utils.ts +38 -13
- package/src/shared/status-detail-text.test.ts +82 -0
- package/src/shared/status-detail-text.ts +57 -0
- package/src/shared/subagent-runner.ts +3 -1
- package/src/tui/data/context-db.ts +1 -0
- package/src/tui-compiled/data/context-db.ts +1 -0
- package/dist/index-td9depx5.js +0 -46
- package/dist/resolve-fallbacks-qf0ekmz9.js +0 -11
|
@@ -48,10 +48,32 @@ export declare const PromptSurfaceConfigSchema: z.ZodObject<{
|
|
|
48
48
|
tool_descriptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
49
49
|
}, z.core.$strip>;
|
|
50
50
|
export type PromptSurfaceConfig = z.infer<typeof PromptSurfaceConfigSchema>;
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
51
|
+
/**
|
|
52
|
+
* The flat model-resolution fields are the only fields that move into harness
|
|
53
|
+
* blocks. Keeping this inventory next to the schema gives the loader migration
|
|
54
|
+
* an exhaustive contract instead of a catch-all rule.
|
|
55
|
+
*/
|
|
56
|
+
export declare const PER_HARNESS_MIGRATION_INVENTORY: {
|
|
57
|
+
readonly historian: {
|
|
58
|
+
readonly retained: readonly ["temperature", "top_p", "prompt", "tools", "disable", "description", "mode", "color", "maxSteps", "permission", "maxTokens", "two_pass", "disallowed_tools"];
|
|
59
|
+
readonly migrated_execution: readonly ["model", "fallback_models", "variant", "thinking_level"];
|
|
60
|
+
};
|
|
61
|
+
readonly dreamer: {
|
|
62
|
+
readonly retained: readonly ["temperature", "top_p", "prompt", "tools", "disable", "description", "mode", "color", "maxSteps", "permission", "maxTokens", "inject_docs"];
|
|
63
|
+
readonly migrated_execution: readonly ["model", "fallback_models", "variant", "thinking_level"];
|
|
64
|
+
};
|
|
65
|
+
readonly task: {
|
|
66
|
+
readonly retained: readonly ["schedule", "promotion_threshold"];
|
|
67
|
+
readonly migrated_execution: readonly ["model", "fallback_models", "variant", "thinking_level", "timeout_minutes"];
|
|
68
|
+
};
|
|
69
|
+
};
|
|
70
|
+
export declare const OcEntrySchema: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
71
|
+
model: z.ZodString;
|
|
72
|
+
variant: z.ZodOptional<z.ZodString>;
|
|
73
|
+
}, z.core.$strict>]>;
|
|
74
|
+
export type OcEntry = z.infer<typeof OcEntrySchema>;
|
|
75
|
+
export declare const PiEntrySchema: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
76
|
+
model: z.ZodString;
|
|
55
77
|
thinking_level: z.ZodOptional<z.ZodEnum<{
|
|
56
78
|
off: "off";
|
|
57
79
|
minimal: "minimal";
|
|
@@ -61,18 +83,25 @@ export declare const DreamTaskConfigSchema: z.ZodObject<{
|
|
|
61
83
|
xhigh: "xhigh";
|
|
62
84
|
max: "max";
|
|
63
85
|
}>>;
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
export
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
86
|
+
}, z.core.$strict>]>;
|
|
87
|
+
export type PiEntry = z.infer<typeof PiEntrySchema>;
|
|
88
|
+
/** Strict model-resolution block used by historian.opencode. */
|
|
89
|
+
export declare const OpenCodeHarnessBlockSchema: z.ZodObject<{
|
|
90
|
+
model: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
91
|
+
model: z.ZodString;
|
|
92
|
+
variant: z.ZodOptional<z.ZodString>;
|
|
93
|
+
}, z.core.$strict>]>>;
|
|
94
|
+
fallback_models: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
95
|
+
model: z.ZodString;
|
|
96
|
+
variant: z.ZodOptional<z.ZodString>;
|
|
97
|
+
}, z.core.$strict>]>>>;
|
|
98
|
+
variant: z.ZodOptional<z.ZodString>;
|
|
99
|
+
}, z.core.$strict>;
|
|
100
|
+
export type OpenCodeHarnessBlock = z.infer<typeof OpenCodeHarnessBlockSchema>;
|
|
101
|
+
/** Strict model-resolution block used by historian.pi. */
|
|
102
|
+
export declare const PiHarnessBlockSchema: z.ZodObject<{
|
|
103
|
+
model: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
104
|
+
model: z.ZodString;
|
|
76
105
|
thinking_level: z.ZodOptional<z.ZodEnum<{
|
|
77
106
|
off: "off";
|
|
78
107
|
minimal: "minimal";
|
|
@@ -82,12 +111,9 @@ export declare const DreamTasksSchema: z.ZodObject<{
|
|
|
82
111
|
xhigh: "xhigh";
|
|
83
112
|
max: "max";
|
|
84
113
|
}>>;
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
schedule: z.ZodDefault<z.ZodString>;
|
|
89
|
-
model: z.ZodOptional<z.ZodString>;
|
|
90
|
-
fallback_models: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
114
|
+
}, z.core.$strict>]>>;
|
|
115
|
+
fallback_models: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
116
|
+
model: z.ZodString;
|
|
91
117
|
thinking_level: z.ZodOptional<z.ZodEnum<{
|
|
92
118
|
off: "off";
|
|
93
119
|
minimal: "minimal";
|
|
@@ -97,12 +123,36 @@ export declare const DreamTasksSchema: z.ZodObject<{
|
|
|
97
123
|
xhigh: "xhigh";
|
|
98
124
|
max: "max";
|
|
99
125
|
}>>;
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
126
|
+
}, z.core.$strict>]>>>;
|
|
127
|
+
thinking_level: z.ZodOptional<z.ZodEnum<{
|
|
128
|
+
off: "off";
|
|
129
|
+
minimal: "minimal";
|
|
130
|
+
low: "low";
|
|
131
|
+
medium: "medium";
|
|
132
|
+
high: "high";
|
|
133
|
+
xhigh: "xhigh";
|
|
134
|
+
max: "max";
|
|
135
|
+
}>>;
|
|
136
|
+
}, z.core.$strict>;
|
|
137
|
+
export type PiHarnessBlock = z.infer<typeof PiHarnessBlockSchema>;
|
|
138
|
+
/** Strict OpenCode-only execution override for one dreamer task. */
|
|
139
|
+
export declare const OpenCodeTaskExecutionSchema: z.ZodObject<{
|
|
140
|
+
model: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
141
|
+
model: z.ZodString;
|
|
142
|
+
variant: z.ZodOptional<z.ZodString>;
|
|
143
|
+
}, z.core.$strict>]>>;
|
|
144
|
+
fallback_models: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
145
|
+
model: z.ZodString;
|
|
146
|
+
variant: z.ZodOptional<z.ZodString>;
|
|
147
|
+
}, z.core.$strict>]>>>;
|
|
148
|
+
variant: z.ZodOptional<z.ZodString>;
|
|
149
|
+
timeout_minutes: z.ZodOptional<z.ZodNumber>;
|
|
150
|
+
}, z.core.$strict>;
|
|
151
|
+
export type OpenCodeTaskExecution = z.infer<typeof OpenCodeTaskExecutionSchema>;
|
|
152
|
+
/** Strict Pi-only execution override for one dreamer task. */
|
|
153
|
+
export declare const PiTaskExecutionSchema: z.ZodObject<{
|
|
154
|
+
model: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
155
|
+
model: z.ZodString;
|
|
106
156
|
thinking_level: z.ZodOptional<z.ZodEnum<{
|
|
107
157
|
off: "off";
|
|
108
158
|
minimal: "minimal";
|
|
@@ -112,12 +162,9 @@ export declare const DreamTasksSchema: z.ZodObject<{
|
|
|
112
162
|
xhigh: "xhigh";
|
|
113
163
|
max: "max";
|
|
114
164
|
}>>;
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
schedule: z.ZodDefault<z.ZodString>;
|
|
119
|
-
model: z.ZodOptional<z.ZodString>;
|
|
120
|
-
fallback_models: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
165
|
+
}, z.core.$strict>]>>;
|
|
166
|
+
fallback_models: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
167
|
+
model: z.ZodString;
|
|
121
168
|
thinking_level: z.ZodOptional<z.ZodEnum<{
|
|
122
169
|
off: "off";
|
|
123
170
|
minimal: "minimal";
|
|
@@ -127,12 +174,48 @@ export declare const DreamTasksSchema: z.ZodObject<{
|
|
|
127
174
|
xhigh: "xhigh";
|
|
128
175
|
max: "max";
|
|
129
176
|
}>>;
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
177
|
+
}, z.core.$strict>]>>>;
|
|
178
|
+
thinking_level: z.ZodOptional<z.ZodEnum<{
|
|
179
|
+
off: "off";
|
|
180
|
+
minimal: "minimal";
|
|
181
|
+
low: "low";
|
|
182
|
+
medium: "medium";
|
|
183
|
+
high: "high";
|
|
184
|
+
xhigh: "xhigh";
|
|
185
|
+
max: "max";
|
|
186
|
+
}>>;
|
|
187
|
+
timeout_minutes: z.ZodOptional<z.ZodNumber>;
|
|
188
|
+
}, z.core.$strict>;
|
|
189
|
+
export type PiTaskExecution = z.infer<typeof PiTaskExecutionSchema>;
|
|
190
|
+
/** Strict OpenCode harness block for dreamer execution and task overrides. */
|
|
191
|
+
export declare const DreamerOpenCodeHarnessBlockSchema: z.ZodObject<{
|
|
192
|
+
model: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
193
|
+
model: z.ZodString;
|
|
194
|
+
variant: z.ZodOptional<z.ZodString>;
|
|
195
|
+
}, z.core.$strict>]>>;
|
|
196
|
+
fallback_models: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
197
|
+
model: z.ZodString;
|
|
198
|
+
variant: z.ZodOptional<z.ZodString>;
|
|
199
|
+
}, z.core.$strict>]>>>;
|
|
200
|
+
variant: z.ZodOptional<z.ZodString>;
|
|
201
|
+
tasks: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
202
|
+
model: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
203
|
+
model: z.ZodString;
|
|
204
|
+
variant: z.ZodOptional<z.ZodString>;
|
|
205
|
+
}, z.core.$strict>]>>;
|
|
206
|
+
fallback_models: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
207
|
+
model: z.ZodString;
|
|
208
|
+
variant: z.ZodOptional<z.ZodString>;
|
|
209
|
+
}, z.core.$strict>]>>>;
|
|
210
|
+
variant: z.ZodOptional<z.ZodString>;
|
|
211
|
+
timeout_minutes: z.ZodOptional<z.ZodNumber>;
|
|
212
|
+
}, z.core.$strict>>>;
|
|
213
|
+
}, z.core.$strict>;
|
|
214
|
+
export type DreamerOpenCodeHarnessBlock = z.infer<typeof DreamerOpenCodeHarnessBlockSchema>;
|
|
215
|
+
/** Strict Pi harness block for dreamer execution and task overrides. */
|
|
216
|
+
export declare const DreamerPiHarnessBlockSchema: z.ZodObject<{
|
|
217
|
+
model: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
218
|
+
model: z.ZodString;
|
|
136
219
|
thinking_level: z.ZodOptional<z.ZodEnum<{
|
|
137
220
|
off: "off";
|
|
138
221
|
minimal: "minimal";
|
|
@@ -142,12 +225,9 @@ export declare const DreamTasksSchema: z.ZodObject<{
|
|
|
142
225
|
xhigh: "xhigh";
|
|
143
226
|
max: "max";
|
|
144
227
|
}>>;
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
schedule: z.ZodDefault<z.ZodString>;
|
|
149
|
-
model: z.ZodOptional<z.ZodString>;
|
|
150
|
-
fallback_models: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
228
|
+
}, z.core.$strict>]>>;
|
|
229
|
+
fallback_models: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
230
|
+
model: z.ZodString;
|
|
151
231
|
thinking_level: z.ZodOptional<z.ZodEnum<{
|
|
152
232
|
off: "off";
|
|
153
233
|
minimal: "minimal";
|
|
@@ -157,12 +237,41 @@ export declare const DreamTasksSchema: z.ZodObject<{
|
|
|
157
237
|
xhigh: "xhigh";
|
|
158
238
|
max: "max";
|
|
159
239
|
}>>;
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
240
|
+
}, z.core.$strict>]>>>;
|
|
241
|
+
thinking_level: z.ZodOptional<z.ZodEnum<{
|
|
242
|
+
off: "off";
|
|
243
|
+
minimal: "minimal";
|
|
244
|
+
low: "low";
|
|
245
|
+
medium: "medium";
|
|
246
|
+
high: "high";
|
|
247
|
+
xhigh: "xhigh";
|
|
248
|
+
max: "max";
|
|
249
|
+
}>>;
|
|
250
|
+
tasks: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
251
|
+
model: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
252
|
+
model: z.ZodString;
|
|
253
|
+
thinking_level: z.ZodOptional<z.ZodEnum<{
|
|
254
|
+
off: "off";
|
|
255
|
+
minimal: "minimal";
|
|
256
|
+
low: "low";
|
|
257
|
+
medium: "medium";
|
|
258
|
+
high: "high";
|
|
259
|
+
xhigh: "xhigh";
|
|
260
|
+
max: "max";
|
|
261
|
+
}>>;
|
|
262
|
+
}, z.core.$strict>]>>;
|
|
263
|
+
fallback_models: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
264
|
+
model: z.ZodString;
|
|
265
|
+
thinking_level: z.ZodOptional<z.ZodEnum<{
|
|
266
|
+
off: "off";
|
|
267
|
+
minimal: "minimal";
|
|
268
|
+
low: "low";
|
|
269
|
+
medium: "medium";
|
|
270
|
+
high: "high";
|
|
271
|
+
xhigh: "xhigh";
|
|
272
|
+
max: "max";
|
|
273
|
+
}>>;
|
|
274
|
+
}, z.core.$strict>]>>>;
|
|
166
275
|
thinking_level: z.ZodOptional<z.ZodEnum<{
|
|
167
276
|
off: "off";
|
|
168
277
|
minimal: "minimal";
|
|
@@ -172,11 +281,110 @@ export declare const DreamTasksSchema: z.ZodObject<{
|
|
|
172
281
|
xhigh: "xhigh";
|
|
173
282
|
max: "max";
|
|
174
283
|
}>>;
|
|
175
|
-
timeout_minutes: z.
|
|
176
|
-
}, z.core.$
|
|
177
|
-
|
|
178
|
-
|
|
284
|
+
timeout_minutes: z.ZodOptional<z.ZodNumber>;
|
|
285
|
+
}, z.core.$strict>>>;
|
|
286
|
+
}, z.core.$strict>;
|
|
287
|
+
export type DreamerPiHarnessBlock = z.infer<typeof DreamerPiHarnessBlockSchema>;
|
|
288
|
+
export declare const ConfigProfileSchema: z.ZodObject<{
|
|
289
|
+
historian: z.ZodOptional<z.ZodObject<{
|
|
290
|
+
opencode: z.ZodOptional<z.ZodObject<{
|
|
291
|
+
model: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
292
|
+
model: z.ZodString;
|
|
293
|
+
variant: z.ZodOptional<z.ZodString>;
|
|
294
|
+
}, z.core.$strict>]>>;
|
|
295
|
+
fallback_models: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
296
|
+
model: z.ZodString;
|
|
297
|
+
variant: z.ZodOptional<z.ZodString>;
|
|
298
|
+
}, z.core.$strict>]>>>;
|
|
299
|
+
variant: z.ZodOptional<z.ZodString>;
|
|
300
|
+
}, z.core.$strict>>;
|
|
301
|
+
pi: z.ZodOptional<z.ZodObject<{
|
|
302
|
+
model: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
303
|
+
model: z.ZodString;
|
|
304
|
+
thinking_level: z.ZodOptional<z.ZodEnum<{
|
|
305
|
+
off: "off";
|
|
306
|
+
minimal: "minimal";
|
|
307
|
+
low: "low";
|
|
308
|
+
medium: "medium";
|
|
309
|
+
high: "high";
|
|
310
|
+
xhigh: "xhigh";
|
|
311
|
+
max: "max";
|
|
312
|
+
}>>;
|
|
313
|
+
}, z.core.$strict>]>>;
|
|
314
|
+
fallback_models: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
315
|
+
model: z.ZodString;
|
|
316
|
+
thinking_level: z.ZodOptional<z.ZodEnum<{
|
|
317
|
+
off: "off";
|
|
318
|
+
minimal: "minimal";
|
|
319
|
+
low: "low";
|
|
320
|
+
medium: "medium";
|
|
321
|
+
high: "high";
|
|
322
|
+
xhigh: "xhigh";
|
|
323
|
+
max: "max";
|
|
324
|
+
}>>;
|
|
325
|
+
}, z.core.$strict>]>>>;
|
|
326
|
+
thinking_level: z.ZodOptional<z.ZodEnum<{
|
|
327
|
+
off: "off";
|
|
328
|
+
minimal: "minimal";
|
|
329
|
+
low: "low";
|
|
330
|
+
medium: "medium";
|
|
331
|
+
high: "high";
|
|
332
|
+
xhigh: "xhigh";
|
|
333
|
+
max: "max";
|
|
334
|
+
}>>;
|
|
335
|
+
}, z.core.$strict>>;
|
|
336
|
+
}, z.core.$strict>>;
|
|
337
|
+
dreamer: z.ZodOptional<z.ZodObject<{
|
|
338
|
+
opencode: z.ZodOptional<z.ZodObject<{
|
|
339
|
+
model: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
340
|
+
model: z.ZodString;
|
|
341
|
+
variant: z.ZodOptional<z.ZodString>;
|
|
342
|
+
}, z.core.$strict>]>>;
|
|
343
|
+
fallback_models: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
344
|
+
model: z.ZodString;
|
|
345
|
+
variant: z.ZodOptional<z.ZodString>;
|
|
346
|
+
}, z.core.$strict>]>>>;
|
|
347
|
+
variant: z.ZodOptional<z.ZodString>;
|
|
348
|
+
}, z.core.$strict>>;
|
|
349
|
+
pi: z.ZodOptional<z.ZodObject<{
|
|
350
|
+
model: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
351
|
+
model: z.ZodString;
|
|
352
|
+
thinking_level: z.ZodOptional<z.ZodEnum<{
|
|
353
|
+
off: "off";
|
|
354
|
+
minimal: "minimal";
|
|
355
|
+
low: "low";
|
|
356
|
+
medium: "medium";
|
|
357
|
+
high: "high";
|
|
358
|
+
xhigh: "xhigh";
|
|
359
|
+
max: "max";
|
|
360
|
+
}>>;
|
|
361
|
+
}, z.core.$strict>]>>;
|
|
362
|
+
fallback_models: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
363
|
+
model: z.ZodString;
|
|
364
|
+
thinking_level: z.ZodOptional<z.ZodEnum<{
|
|
365
|
+
off: "off";
|
|
366
|
+
minimal: "minimal";
|
|
367
|
+
low: "low";
|
|
368
|
+
medium: "medium";
|
|
369
|
+
high: "high";
|
|
370
|
+
xhigh: "xhigh";
|
|
371
|
+
max: "max";
|
|
372
|
+
}>>;
|
|
373
|
+
}, z.core.$strict>]>>>;
|
|
374
|
+
thinking_level: z.ZodOptional<z.ZodEnum<{
|
|
375
|
+
off: "off";
|
|
376
|
+
minimal: "minimal";
|
|
377
|
+
low: "low";
|
|
378
|
+
medium: "medium";
|
|
379
|
+
high: "high";
|
|
380
|
+
xhigh: "xhigh";
|
|
381
|
+
max: "max";
|
|
382
|
+
}>>;
|
|
383
|
+
}, z.core.$strict>>;
|
|
384
|
+
}, z.core.$strict>>;
|
|
385
|
+
sidekick: z.ZodOptional<z.ZodObject<{
|
|
179
386
|
model: z.ZodOptional<z.ZodString>;
|
|
387
|
+
variant: z.ZodOptional<z.ZodString>;
|
|
180
388
|
fallback_models: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
181
389
|
thinking_level: z.ZodOptional<z.ZodEnum<{
|
|
182
390
|
off: "off";
|
|
@@ -187,11 +395,109 @@ export declare const DreamTasksSchema: z.ZodObject<{
|
|
|
187
395
|
xhigh: "xhigh";
|
|
188
396
|
max: "max";
|
|
189
397
|
}>>;
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
398
|
+
}, z.core.$strict>>;
|
|
399
|
+
}, z.core.$strict>;
|
|
400
|
+
export type ConfigProfile = z.infer<typeof ConfigProfileSchema>;
|
|
401
|
+
export declare const ConfigProfilesSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
402
|
+
historian: z.ZodOptional<z.ZodObject<{
|
|
403
|
+
opencode: z.ZodOptional<z.ZodObject<{
|
|
404
|
+
model: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
405
|
+
model: z.ZodString;
|
|
406
|
+
variant: z.ZodOptional<z.ZodString>;
|
|
407
|
+
}, z.core.$strict>]>>;
|
|
408
|
+
fallback_models: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
409
|
+
model: z.ZodString;
|
|
410
|
+
variant: z.ZodOptional<z.ZodString>;
|
|
411
|
+
}, z.core.$strict>]>>>;
|
|
412
|
+
variant: z.ZodOptional<z.ZodString>;
|
|
413
|
+
}, z.core.$strict>>;
|
|
414
|
+
pi: z.ZodOptional<z.ZodObject<{
|
|
415
|
+
model: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
416
|
+
model: z.ZodString;
|
|
417
|
+
thinking_level: z.ZodOptional<z.ZodEnum<{
|
|
418
|
+
off: "off";
|
|
419
|
+
minimal: "minimal";
|
|
420
|
+
low: "low";
|
|
421
|
+
medium: "medium";
|
|
422
|
+
high: "high";
|
|
423
|
+
xhigh: "xhigh";
|
|
424
|
+
max: "max";
|
|
425
|
+
}>>;
|
|
426
|
+
}, z.core.$strict>]>>;
|
|
427
|
+
fallback_models: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
428
|
+
model: z.ZodString;
|
|
429
|
+
thinking_level: z.ZodOptional<z.ZodEnum<{
|
|
430
|
+
off: "off";
|
|
431
|
+
minimal: "minimal";
|
|
432
|
+
low: "low";
|
|
433
|
+
medium: "medium";
|
|
434
|
+
high: "high";
|
|
435
|
+
xhigh: "xhigh";
|
|
436
|
+
max: "max";
|
|
437
|
+
}>>;
|
|
438
|
+
}, z.core.$strict>]>>>;
|
|
439
|
+
thinking_level: z.ZodOptional<z.ZodEnum<{
|
|
440
|
+
off: "off";
|
|
441
|
+
minimal: "minimal";
|
|
442
|
+
low: "low";
|
|
443
|
+
medium: "medium";
|
|
444
|
+
high: "high";
|
|
445
|
+
xhigh: "xhigh";
|
|
446
|
+
max: "max";
|
|
447
|
+
}>>;
|
|
448
|
+
}, z.core.$strict>>;
|
|
449
|
+
}, z.core.$strict>>;
|
|
450
|
+
dreamer: z.ZodOptional<z.ZodObject<{
|
|
451
|
+
opencode: z.ZodOptional<z.ZodObject<{
|
|
452
|
+
model: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
453
|
+
model: z.ZodString;
|
|
454
|
+
variant: z.ZodOptional<z.ZodString>;
|
|
455
|
+
}, z.core.$strict>]>>;
|
|
456
|
+
fallback_models: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
457
|
+
model: z.ZodString;
|
|
458
|
+
variant: z.ZodOptional<z.ZodString>;
|
|
459
|
+
}, z.core.$strict>]>>>;
|
|
460
|
+
variant: z.ZodOptional<z.ZodString>;
|
|
461
|
+
}, z.core.$strict>>;
|
|
462
|
+
pi: z.ZodOptional<z.ZodObject<{
|
|
463
|
+
model: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
464
|
+
model: z.ZodString;
|
|
465
|
+
thinking_level: z.ZodOptional<z.ZodEnum<{
|
|
466
|
+
off: "off";
|
|
467
|
+
minimal: "minimal";
|
|
468
|
+
low: "low";
|
|
469
|
+
medium: "medium";
|
|
470
|
+
high: "high";
|
|
471
|
+
xhigh: "xhigh";
|
|
472
|
+
max: "max";
|
|
473
|
+
}>>;
|
|
474
|
+
}, z.core.$strict>]>>;
|
|
475
|
+
fallback_models: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
476
|
+
model: z.ZodString;
|
|
477
|
+
thinking_level: z.ZodOptional<z.ZodEnum<{
|
|
478
|
+
off: "off";
|
|
479
|
+
minimal: "minimal";
|
|
480
|
+
low: "low";
|
|
481
|
+
medium: "medium";
|
|
482
|
+
high: "high";
|
|
483
|
+
xhigh: "xhigh";
|
|
484
|
+
max: "max";
|
|
485
|
+
}>>;
|
|
486
|
+
}, z.core.$strict>]>>>;
|
|
487
|
+
thinking_level: z.ZodOptional<z.ZodEnum<{
|
|
488
|
+
off: "off";
|
|
489
|
+
minimal: "minimal";
|
|
490
|
+
low: "low";
|
|
491
|
+
medium: "medium";
|
|
492
|
+
high: "high";
|
|
493
|
+
xhigh: "xhigh";
|
|
494
|
+
max: "max";
|
|
495
|
+
}>>;
|
|
496
|
+
}, z.core.$strict>>;
|
|
497
|
+
}, z.core.$strict>>;
|
|
498
|
+
sidekick: z.ZodOptional<z.ZodObject<{
|
|
194
499
|
model: z.ZodOptional<z.ZodString>;
|
|
500
|
+
variant: z.ZodOptional<z.ZodString>;
|
|
195
501
|
fallback_models: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
196
502
|
thinking_level: z.ZodOptional<z.ZodEnum<{
|
|
197
503
|
off: "off";
|
|
@@ -202,72 +508,63 @@ export declare const DreamTasksSchema: z.ZodObject<{
|
|
|
202
508
|
xhigh: "xhigh";
|
|
203
509
|
max: "max";
|
|
204
510
|
}>>;
|
|
205
|
-
|
|
206
|
-
|
|
511
|
+
}, z.core.$strict>>;
|
|
512
|
+
}, z.core.$strict>>;
|
|
513
|
+
export type ConfigProfiles = z.infer<typeof ConfigProfilesSchema>;
|
|
514
|
+
export declare const DreamTaskConfigSchema: z.ZodObject<{
|
|
515
|
+
schedule: z.ZodDefault<z.ZodString>;
|
|
516
|
+
promotion_threshold: z.ZodOptional<z.ZodNumber>;
|
|
517
|
+
}, z.core.$strict>;
|
|
518
|
+
export type DreamTaskConfig = z.infer<typeof DreamTaskConfigSchema>;
|
|
519
|
+
/** The harness-independent task metadata record. Schedule remains the only
|
|
520
|
+
* disable control; runtime gates are not configuration fields. */
|
|
521
|
+
export declare const DreamTasksSchema: z.ZodObject<{
|
|
522
|
+
"map-memories": z.ZodDefault<z.ZodObject<{
|
|
523
|
+
schedule: z.ZodDefault<z.ZodString>;
|
|
524
|
+
}, z.core.$strict>>;
|
|
525
|
+
verify: z.ZodDefault<z.ZodObject<{
|
|
526
|
+
schedule: z.ZodDefault<z.ZodString>;
|
|
527
|
+
}, z.core.$strict>>;
|
|
528
|
+
"verify-broad": z.ZodDefault<z.ZodObject<{
|
|
529
|
+
schedule: z.ZodDefault<z.ZodString>;
|
|
530
|
+
}, z.core.$strict>>;
|
|
531
|
+
curate: z.ZodDefault<z.ZodObject<{
|
|
532
|
+
schedule: z.ZodDefault<z.ZodString>;
|
|
533
|
+
}, z.core.$strict>>;
|
|
534
|
+
"compress-cues": z.ZodDefault<z.ZodObject<{
|
|
535
|
+
schedule: z.ZodDefault<z.ZodString>;
|
|
536
|
+
}, z.core.$strict>>;
|
|
537
|
+
"classify-memories": z.ZodDefault<z.ZodObject<{
|
|
538
|
+
schedule: z.ZodDefault<z.ZodString>;
|
|
539
|
+
}, z.core.$strict>>;
|
|
540
|
+
retrospective: z.ZodDefault<z.ZodObject<{
|
|
541
|
+
schedule: z.ZodDefault<z.ZodString>;
|
|
542
|
+
}, z.core.$strict>>;
|
|
543
|
+
"maintain-docs": z.ZodDefault<z.ZodObject<{
|
|
544
|
+
schedule: z.ZodDefault<z.ZodString>;
|
|
545
|
+
}, z.core.$strict>>;
|
|
546
|
+
"evaluate-smart-notes": z.ZodDefault<z.ZodObject<{
|
|
547
|
+
schedule: z.ZodDefault<z.ZodString>;
|
|
548
|
+
}, z.core.$strict>>;
|
|
207
549
|
"review-user-memories": z.ZodDefault<z.ZodObject<{
|
|
208
550
|
schedule: z.ZodDefault<z.ZodString>;
|
|
209
|
-
model: z.ZodOptional<z.ZodString>;
|
|
210
|
-
fallback_models: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
211
|
-
thinking_level: z.ZodOptional<z.ZodEnum<{
|
|
212
|
-
off: "off";
|
|
213
|
-
minimal: "minimal";
|
|
214
|
-
low: "low";
|
|
215
|
-
medium: "medium";
|
|
216
|
-
high: "high";
|
|
217
|
-
xhigh: "xhigh";
|
|
218
|
-
max: "max";
|
|
219
|
-
}>>;
|
|
220
|
-
timeout_minutes: z.ZodDefault<z.ZodNumber>;
|
|
221
551
|
promotion_threshold: z.ZodOptional<z.ZodNumber>;
|
|
222
|
-
}, z.core.$
|
|
552
|
+
}, z.core.$strict>>;
|
|
223
553
|
"promote-primers": z.ZodDefault<z.ZodObject<{
|
|
224
554
|
schedule: z.ZodDefault<z.ZodString>;
|
|
225
|
-
model: z.ZodOptional<z.ZodString>;
|
|
226
|
-
fallback_models: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
227
|
-
thinking_level: z.ZodOptional<z.ZodEnum<{
|
|
228
|
-
off: "off";
|
|
229
|
-
minimal: "minimal";
|
|
230
|
-
low: "low";
|
|
231
|
-
medium: "medium";
|
|
232
|
-
high: "high";
|
|
233
|
-
xhigh: "xhigh";
|
|
234
|
-
max: "max";
|
|
235
|
-
}>>;
|
|
236
|
-
timeout_minutes: z.ZodDefault<z.ZodNumber>;
|
|
237
555
|
promotion_threshold: z.ZodOptional<z.ZodNumber>;
|
|
238
|
-
}, z.core.$
|
|
556
|
+
}, z.core.$strict>>;
|
|
239
557
|
"refresh-primers": z.ZodDefault<z.ZodObject<{
|
|
240
558
|
schedule: z.ZodDefault<z.ZodString>;
|
|
241
|
-
|
|
242
|
-
fallback_models: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
243
|
-
thinking_level: z.ZodOptional<z.ZodEnum<{
|
|
244
|
-
off: "off";
|
|
245
|
-
minimal: "minimal";
|
|
246
|
-
low: "low";
|
|
247
|
-
medium: "medium";
|
|
248
|
-
high: "high";
|
|
249
|
-
xhigh: "xhigh";
|
|
250
|
-
max: "max";
|
|
251
|
-
}>>;
|
|
252
|
-
timeout_minutes: z.ZodDefault<z.ZodNumber>;
|
|
253
|
-
}, z.core.$strip>>;
|
|
559
|
+
}, z.core.$strict>>;
|
|
254
560
|
}, z.core.$strip>;
|
|
255
|
-
/** Combined dreamer
|
|
561
|
+
/** Combined dreamer metadata plus two independent strict execution blocks. */
|
|
256
562
|
export declare const DreamerConfigSchema: z.ZodObject<{
|
|
257
|
-
model: z.ZodOptional<z.ZodString>;
|
|
258
|
-
temperature: z.ZodOptional<z.ZodNumber>;
|
|
259
|
-
top_p: z.ZodOptional<z.ZodNumber>;
|
|
260
|
-
prompt: z.ZodOptional<z.ZodString>;
|
|
261
|
-
tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
|
|
262
|
-
disable: z.ZodOptional<z.ZodBoolean>;
|
|
263
|
-
description: z.ZodOptional<z.ZodString>;
|
|
264
563
|
mode: z.ZodOptional<z.ZodEnum<{
|
|
265
564
|
primary: "primary";
|
|
266
565
|
subagent: "subagent";
|
|
267
566
|
all: "all";
|
|
268
567
|
}>>;
|
|
269
|
-
color: z.ZodOptional<z.ZodString>;
|
|
270
|
-
maxSteps: z.ZodOptional<z.ZodNumber>;
|
|
271
568
|
permission: z.ZodOptional<z.ZodObject<{
|
|
272
569
|
edit: z.ZodOptional<z.ZodEnum<{
|
|
273
570
|
deny: "deny";
|
|
@@ -299,14 +596,41 @@ export declare const DreamerConfigSchema: z.ZodObject<{
|
|
|
299
596
|
ask: "ask";
|
|
300
597
|
}>>;
|
|
301
598
|
}, z.core.$strip>>;
|
|
599
|
+
tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
|
|
600
|
+
prompt: z.ZodOptional<z.ZodString>;
|
|
601
|
+
maxSteps: z.ZodOptional<z.ZodNumber>;
|
|
602
|
+
description: z.ZodOptional<z.ZodString>;
|
|
603
|
+
disable: z.ZodOptional<z.ZodBoolean>;
|
|
604
|
+
temperature: z.ZodOptional<z.ZodNumber>;
|
|
605
|
+
top_p: z.ZodOptional<z.ZodNumber>;
|
|
606
|
+
color: z.ZodOptional<z.ZodString>;
|
|
302
607
|
maxTokens: z.ZodOptional<z.ZodNumber>;
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
608
|
+
opencode: z.ZodOptional<z.ZodObject<{
|
|
609
|
+
model: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
610
|
+
model: z.ZodString;
|
|
611
|
+
variant: z.ZodOptional<z.ZodString>;
|
|
612
|
+
}, z.core.$strict>]>>;
|
|
613
|
+
fallback_models: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
614
|
+
model: z.ZodString;
|
|
615
|
+
variant: z.ZodOptional<z.ZodString>;
|
|
616
|
+
}, z.core.$strict>]>>>;
|
|
617
|
+
variant: z.ZodOptional<z.ZodString>;
|
|
618
|
+
tasks: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
619
|
+
model: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
620
|
+
model: z.ZodString;
|
|
621
|
+
variant: z.ZodOptional<z.ZodString>;
|
|
622
|
+
}, z.core.$strict>]>>;
|
|
623
|
+
fallback_models: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
624
|
+
model: z.ZodString;
|
|
625
|
+
variant: z.ZodOptional<z.ZodString>;
|
|
626
|
+
}, z.core.$strict>]>>>;
|
|
627
|
+
variant: z.ZodOptional<z.ZodString>;
|
|
628
|
+
timeout_minutes: z.ZodOptional<z.ZodNumber>;
|
|
629
|
+
}, z.core.$strict>>>;
|
|
630
|
+
}, z.core.$strict>>;
|
|
631
|
+
pi: z.ZodOptional<z.ZodObject<{
|
|
632
|
+
model: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
633
|
+
model: z.ZodString;
|
|
310
634
|
thinking_level: z.ZodOptional<z.ZodEnum<{
|
|
311
635
|
off: "off";
|
|
312
636
|
minimal: "minimal";
|
|
@@ -316,12 +640,9 @@ export declare const DreamerConfigSchema: z.ZodObject<{
|
|
|
316
640
|
xhigh: "xhigh";
|
|
317
641
|
max: "max";
|
|
318
642
|
}>>;
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
schedule: z.ZodDefault<z.ZodString>;
|
|
323
|
-
model: z.ZodOptional<z.ZodString>;
|
|
324
|
-
fallback_models: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
643
|
+
}, z.core.$strict>]>>;
|
|
644
|
+
fallback_models: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
645
|
+
model: z.ZodString;
|
|
325
646
|
thinking_level: z.ZodOptional<z.ZodEnum<{
|
|
326
647
|
off: "off";
|
|
327
648
|
minimal: "minimal";
|
|
@@ -331,12 +652,41 @@ export declare const DreamerConfigSchema: z.ZodObject<{
|
|
|
331
652
|
xhigh: "xhigh";
|
|
332
653
|
max: "max";
|
|
333
654
|
}>>;
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
655
|
+
}, z.core.$strict>]>>>;
|
|
656
|
+
thinking_level: z.ZodOptional<z.ZodEnum<{
|
|
657
|
+
off: "off";
|
|
658
|
+
minimal: "minimal";
|
|
659
|
+
low: "low";
|
|
660
|
+
medium: "medium";
|
|
661
|
+
high: "high";
|
|
662
|
+
xhigh: "xhigh";
|
|
663
|
+
max: "max";
|
|
664
|
+
}>>;
|
|
665
|
+
tasks: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
666
|
+
model: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
667
|
+
model: z.ZodString;
|
|
668
|
+
thinking_level: z.ZodOptional<z.ZodEnum<{
|
|
669
|
+
off: "off";
|
|
670
|
+
minimal: "minimal";
|
|
671
|
+
low: "low";
|
|
672
|
+
medium: "medium";
|
|
673
|
+
high: "high";
|
|
674
|
+
xhigh: "xhigh";
|
|
675
|
+
max: "max";
|
|
676
|
+
}>>;
|
|
677
|
+
}, z.core.$strict>]>>;
|
|
678
|
+
fallback_models: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
679
|
+
model: z.ZodString;
|
|
680
|
+
thinking_level: z.ZodOptional<z.ZodEnum<{
|
|
681
|
+
off: "off";
|
|
682
|
+
minimal: "minimal";
|
|
683
|
+
low: "low";
|
|
684
|
+
medium: "medium";
|
|
685
|
+
high: "high";
|
|
686
|
+
xhigh: "xhigh";
|
|
687
|
+
max: "max";
|
|
688
|
+
}>>;
|
|
689
|
+
}, z.core.$strict>]>>>;
|
|
340
690
|
thinking_level: z.ZodOptional<z.ZodEnum<{
|
|
341
691
|
off: "off";
|
|
342
692
|
minimal: "minimal";
|
|
@@ -346,156 +696,50 @@ export declare const DreamerConfigSchema: z.ZodObject<{
|
|
|
346
696
|
xhigh: "xhigh";
|
|
347
697
|
max: "max";
|
|
348
698
|
}>>;
|
|
349
|
-
timeout_minutes: z.
|
|
350
|
-
}, z.core.$
|
|
699
|
+
timeout_minutes: z.ZodOptional<z.ZodNumber>;
|
|
700
|
+
}, z.core.$strict>>>;
|
|
701
|
+
}, z.core.$strict>>;
|
|
702
|
+
tasks: z.ZodDefault<z.ZodObject<{
|
|
703
|
+
"map-memories": z.ZodDefault<z.ZodObject<{
|
|
704
|
+
schedule: z.ZodDefault<z.ZodString>;
|
|
705
|
+
}, z.core.$strict>>;
|
|
706
|
+
verify: z.ZodDefault<z.ZodObject<{
|
|
707
|
+
schedule: z.ZodDefault<z.ZodString>;
|
|
708
|
+
}, z.core.$strict>>;
|
|
709
|
+
"verify-broad": z.ZodDefault<z.ZodObject<{
|
|
710
|
+
schedule: z.ZodDefault<z.ZodString>;
|
|
711
|
+
}, z.core.$strict>>;
|
|
351
712
|
curate: z.ZodDefault<z.ZodObject<{
|
|
352
713
|
schedule: z.ZodDefault<z.ZodString>;
|
|
353
|
-
|
|
354
|
-
fallback_models: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
355
|
-
thinking_level: z.ZodOptional<z.ZodEnum<{
|
|
356
|
-
off: "off";
|
|
357
|
-
minimal: "minimal";
|
|
358
|
-
low: "low";
|
|
359
|
-
medium: "medium";
|
|
360
|
-
high: "high";
|
|
361
|
-
xhigh: "xhigh";
|
|
362
|
-
max: "max";
|
|
363
|
-
}>>;
|
|
364
|
-
timeout_minutes: z.ZodDefault<z.ZodNumber>;
|
|
365
|
-
}, z.core.$strip>>;
|
|
714
|
+
}, z.core.$strict>>;
|
|
366
715
|
"compress-cues": z.ZodDefault<z.ZodObject<{
|
|
367
716
|
schedule: z.ZodDefault<z.ZodString>;
|
|
368
|
-
|
|
369
|
-
fallback_models: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
370
|
-
thinking_level: z.ZodOptional<z.ZodEnum<{
|
|
371
|
-
off: "off";
|
|
372
|
-
minimal: "minimal";
|
|
373
|
-
low: "low";
|
|
374
|
-
medium: "medium";
|
|
375
|
-
high: "high";
|
|
376
|
-
xhigh: "xhigh";
|
|
377
|
-
max: "max";
|
|
378
|
-
}>>;
|
|
379
|
-
timeout_minutes: z.ZodDefault<z.ZodNumber>;
|
|
380
|
-
}, z.core.$strip>>;
|
|
717
|
+
}, z.core.$strict>>;
|
|
381
718
|
"classify-memories": z.ZodDefault<z.ZodObject<{
|
|
382
719
|
schedule: z.ZodDefault<z.ZodString>;
|
|
383
|
-
|
|
384
|
-
fallback_models: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
385
|
-
thinking_level: z.ZodOptional<z.ZodEnum<{
|
|
386
|
-
off: "off";
|
|
387
|
-
minimal: "minimal";
|
|
388
|
-
low: "low";
|
|
389
|
-
medium: "medium";
|
|
390
|
-
high: "high";
|
|
391
|
-
xhigh: "xhigh";
|
|
392
|
-
max: "max";
|
|
393
|
-
}>>;
|
|
394
|
-
timeout_minutes: z.ZodDefault<z.ZodNumber>;
|
|
395
|
-
}, z.core.$strip>>;
|
|
720
|
+
}, z.core.$strict>>;
|
|
396
721
|
retrospective: z.ZodDefault<z.ZodObject<{
|
|
397
722
|
schedule: z.ZodDefault<z.ZodString>;
|
|
398
|
-
|
|
399
|
-
fallback_models: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
400
|
-
thinking_level: z.ZodOptional<z.ZodEnum<{
|
|
401
|
-
off: "off";
|
|
402
|
-
minimal: "minimal";
|
|
403
|
-
low: "low";
|
|
404
|
-
medium: "medium";
|
|
405
|
-
high: "high";
|
|
406
|
-
xhigh: "xhigh";
|
|
407
|
-
max: "max";
|
|
408
|
-
}>>;
|
|
409
|
-
timeout_minutes: z.ZodDefault<z.ZodNumber>;
|
|
410
|
-
}, z.core.$strip>>;
|
|
723
|
+
}, z.core.$strict>>;
|
|
411
724
|
"maintain-docs": z.ZodDefault<z.ZodObject<{
|
|
412
725
|
schedule: z.ZodDefault<z.ZodString>;
|
|
413
|
-
|
|
414
|
-
fallback_models: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
415
|
-
thinking_level: z.ZodOptional<z.ZodEnum<{
|
|
416
|
-
off: "off";
|
|
417
|
-
minimal: "minimal";
|
|
418
|
-
low: "low";
|
|
419
|
-
medium: "medium";
|
|
420
|
-
high: "high";
|
|
421
|
-
xhigh: "xhigh";
|
|
422
|
-
max: "max";
|
|
423
|
-
}>>;
|
|
424
|
-
timeout_minutes: z.ZodDefault<z.ZodNumber>;
|
|
425
|
-
}, z.core.$strip>>;
|
|
726
|
+
}, z.core.$strict>>;
|
|
426
727
|
"evaluate-smart-notes": z.ZodDefault<z.ZodObject<{
|
|
427
728
|
schedule: z.ZodDefault<z.ZodString>;
|
|
428
|
-
|
|
429
|
-
fallback_models: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
430
|
-
thinking_level: z.ZodOptional<z.ZodEnum<{
|
|
431
|
-
off: "off";
|
|
432
|
-
minimal: "minimal";
|
|
433
|
-
low: "low";
|
|
434
|
-
medium: "medium";
|
|
435
|
-
high: "high";
|
|
436
|
-
xhigh: "xhigh";
|
|
437
|
-
max: "max";
|
|
438
|
-
}>>;
|
|
439
|
-
timeout_minutes: z.ZodDefault<z.ZodNumber>;
|
|
440
|
-
}, z.core.$strip>>;
|
|
729
|
+
}, z.core.$strict>>;
|
|
441
730
|
"review-user-memories": z.ZodDefault<z.ZodObject<{
|
|
442
731
|
schedule: z.ZodDefault<z.ZodString>;
|
|
443
|
-
model: z.ZodOptional<z.ZodString>;
|
|
444
|
-
fallback_models: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
445
|
-
thinking_level: z.ZodOptional<z.ZodEnum<{
|
|
446
|
-
off: "off";
|
|
447
|
-
minimal: "minimal";
|
|
448
|
-
low: "low";
|
|
449
|
-
medium: "medium";
|
|
450
|
-
high: "high";
|
|
451
|
-
xhigh: "xhigh";
|
|
452
|
-
max: "max";
|
|
453
|
-
}>>;
|
|
454
|
-
timeout_minutes: z.ZodDefault<z.ZodNumber>;
|
|
455
732
|
promotion_threshold: z.ZodOptional<z.ZodNumber>;
|
|
456
|
-
}, z.core.$
|
|
733
|
+
}, z.core.$strict>>;
|
|
457
734
|
"promote-primers": z.ZodDefault<z.ZodObject<{
|
|
458
735
|
schedule: z.ZodDefault<z.ZodString>;
|
|
459
|
-
model: z.ZodOptional<z.ZodString>;
|
|
460
|
-
fallback_models: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
461
|
-
thinking_level: z.ZodOptional<z.ZodEnum<{
|
|
462
|
-
off: "off";
|
|
463
|
-
minimal: "minimal";
|
|
464
|
-
low: "low";
|
|
465
|
-
medium: "medium";
|
|
466
|
-
high: "high";
|
|
467
|
-
xhigh: "xhigh";
|
|
468
|
-
max: "max";
|
|
469
|
-
}>>;
|
|
470
|
-
timeout_minutes: z.ZodDefault<z.ZodNumber>;
|
|
471
736
|
promotion_threshold: z.ZodOptional<z.ZodNumber>;
|
|
472
|
-
}, z.core.$
|
|
737
|
+
}, z.core.$strict>>;
|
|
473
738
|
"refresh-primers": z.ZodDefault<z.ZodObject<{
|
|
474
739
|
schedule: z.ZodDefault<z.ZodString>;
|
|
475
|
-
|
|
476
|
-
fallback_models: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
477
|
-
thinking_level: z.ZodOptional<z.ZodEnum<{
|
|
478
|
-
off: "off";
|
|
479
|
-
minimal: "minimal";
|
|
480
|
-
low: "low";
|
|
481
|
-
medium: "medium";
|
|
482
|
-
high: "high";
|
|
483
|
-
xhigh: "xhigh";
|
|
484
|
-
max: "max";
|
|
485
|
-
}>>;
|
|
486
|
-
timeout_minutes: z.ZodDefault<z.ZodNumber>;
|
|
487
|
-
}, z.core.$strip>>;
|
|
740
|
+
}, z.core.$strict>>;
|
|
488
741
|
}, z.core.$strip>>;
|
|
489
742
|
inject_docs: z.ZodDefault<z.ZodBoolean>;
|
|
490
|
-
thinking_level: z.ZodOptional<z.ZodEnum<{
|
|
491
|
-
off: "off";
|
|
492
|
-
minimal: "minimal";
|
|
493
|
-
low: "low";
|
|
494
|
-
medium: "medium";
|
|
495
|
-
high: "high";
|
|
496
|
-
xhigh: "xhigh";
|
|
497
|
-
max: "max";
|
|
498
|
-
}>>;
|
|
499
743
|
}, z.core.$strip>;
|
|
500
744
|
export type DreamerConfig = z.infer<typeof DreamerConfigSchema>;
|
|
501
745
|
export declare const SidekickConfigSchema: z.ZodOptional<z.ZodObject<{
|
|
@@ -560,26 +804,16 @@ export declare const SidekickConfigSchema: z.ZodOptional<z.ZodObject<{
|
|
|
560
804
|
}>>;
|
|
561
805
|
}, z.core.$strip>>;
|
|
562
806
|
export type SidekickConfig = NonNullable<z.infer<typeof SidekickConfigSchema>>;
|
|
563
|
-
/**
|
|
564
|
-
*
|
|
565
|
-
*
|
|
566
|
-
|
|
567
|
-
* enabled via OpenCode variant config. */
|
|
807
|
+
/**
|
|
808
|
+
* Historian metadata remains harness-independent. Only model resolution moves to
|
|
809
|
+
* the strict opencode and pi blocks; two_pass and disallowed_tools stay here.
|
|
810
|
+
*/
|
|
568
811
|
export declare const HistorianConfigSchema: z.ZodOptional<z.ZodObject<{
|
|
569
|
-
model: z.ZodOptional<z.ZodString>;
|
|
570
|
-
temperature: z.ZodOptional<z.ZodNumber>;
|
|
571
|
-
top_p: z.ZodOptional<z.ZodNumber>;
|
|
572
|
-
prompt: z.ZodOptional<z.ZodString>;
|
|
573
|
-
tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
|
|
574
|
-
disable: z.ZodOptional<z.ZodBoolean>;
|
|
575
|
-
description: z.ZodOptional<z.ZodString>;
|
|
576
812
|
mode: z.ZodOptional<z.ZodEnum<{
|
|
577
813
|
primary: "primary";
|
|
578
814
|
subagent: "subagent";
|
|
579
815
|
all: "all";
|
|
580
816
|
}>>;
|
|
581
|
-
color: z.ZodOptional<z.ZodString>;
|
|
582
|
-
maxSteps: z.ZodOptional<z.ZodNumber>;
|
|
583
817
|
permission: z.ZodOptional<z.ZodObject<{
|
|
584
818
|
edit: z.ZodOptional<z.ZodEnum<{
|
|
585
819
|
deny: "deny";
|
|
@@ -611,19 +845,62 @@ export declare const HistorianConfigSchema: z.ZodOptional<z.ZodObject<{
|
|
|
611
845
|
ask: "ask";
|
|
612
846
|
}>>;
|
|
613
847
|
}, z.core.$strip>>;
|
|
848
|
+
tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
|
|
849
|
+
prompt: z.ZodOptional<z.ZodString>;
|
|
850
|
+
maxSteps: z.ZodOptional<z.ZodNumber>;
|
|
851
|
+
description: z.ZodOptional<z.ZodString>;
|
|
852
|
+
disable: z.ZodOptional<z.ZodBoolean>;
|
|
853
|
+
temperature: z.ZodOptional<z.ZodNumber>;
|
|
854
|
+
top_p: z.ZodOptional<z.ZodNumber>;
|
|
855
|
+
color: z.ZodOptional<z.ZodString>;
|
|
614
856
|
maxTokens: z.ZodOptional<z.ZodNumber>;
|
|
615
|
-
|
|
616
|
-
|
|
857
|
+
opencode: z.ZodOptional<z.ZodObject<{
|
|
858
|
+
model: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
859
|
+
model: z.ZodString;
|
|
860
|
+
variant: z.ZodOptional<z.ZodString>;
|
|
861
|
+
}, z.core.$strict>]>>;
|
|
862
|
+
fallback_models: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
863
|
+
model: z.ZodString;
|
|
864
|
+
variant: z.ZodOptional<z.ZodString>;
|
|
865
|
+
}, z.core.$strict>]>>>;
|
|
866
|
+
variant: z.ZodOptional<z.ZodString>;
|
|
867
|
+
}, z.core.$strict>>;
|
|
868
|
+
pi: z.ZodOptional<z.ZodObject<{
|
|
869
|
+
model: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
870
|
+
model: z.ZodString;
|
|
871
|
+
thinking_level: z.ZodOptional<z.ZodEnum<{
|
|
872
|
+
off: "off";
|
|
873
|
+
minimal: "minimal";
|
|
874
|
+
low: "low";
|
|
875
|
+
medium: "medium";
|
|
876
|
+
high: "high";
|
|
877
|
+
xhigh: "xhigh";
|
|
878
|
+
max: "max";
|
|
879
|
+
}>>;
|
|
880
|
+
}, z.core.$strict>]>>;
|
|
881
|
+
fallback_models: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
882
|
+
model: z.ZodString;
|
|
883
|
+
thinking_level: z.ZodOptional<z.ZodEnum<{
|
|
884
|
+
off: "off";
|
|
885
|
+
minimal: "minimal";
|
|
886
|
+
low: "low";
|
|
887
|
+
medium: "medium";
|
|
888
|
+
high: "high";
|
|
889
|
+
xhigh: "xhigh";
|
|
890
|
+
max: "max";
|
|
891
|
+
}>>;
|
|
892
|
+
}, z.core.$strict>]>>>;
|
|
893
|
+
thinking_level: z.ZodOptional<z.ZodEnum<{
|
|
894
|
+
off: "off";
|
|
895
|
+
minimal: "minimal";
|
|
896
|
+
low: "low";
|
|
897
|
+
medium: "medium";
|
|
898
|
+
high: "high";
|
|
899
|
+
xhigh: "xhigh";
|
|
900
|
+
max: "max";
|
|
901
|
+
}>>;
|
|
902
|
+
}, z.core.$strict>>;
|
|
617
903
|
two_pass: z.ZodDefault<z.ZodBoolean>;
|
|
618
|
-
thinking_level: z.ZodOptional<z.ZodEnum<{
|
|
619
|
-
off: "off";
|
|
620
|
-
minimal: "minimal";
|
|
621
|
-
low: "low";
|
|
622
|
-
medium: "medium";
|
|
623
|
-
high: "high";
|
|
624
|
-
xhigh: "xhigh";
|
|
625
|
-
max: "max";
|
|
626
|
-
}>>;
|
|
627
904
|
disallowed_tools: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
628
905
|
"*": "*";
|
|
629
906
|
read: "read";
|
|
@@ -736,6 +1013,10 @@ export interface MagicContextConfig {
|
|
|
736
1013
|
auto_update?: boolean;
|
|
737
1014
|
/** Output language for generated Magic Context prose. USER config only. */
|
|
738
1015
|
language?: string;
|
|
1016
|
+
/** Active user-owned model profile after user/project resolution. */
|
|
1017
|
+
profile?: string;
|
|
1018
|
+
/** Named user-owned model profiles. Declarations are consumed during resolution. */
|
|
1019
|
+
profiles?: ConfigProfiles;
|
|
739
1020
|
historian?: HistorianConfig;
|
|
740
1021
|
dreamer?: DreamerConfig;
|
|
741
1022
|
smart_notes: {
|
|
@@ -925,21 +1206,125 @@ export declare const MagicContextConfigSchema: z.ZodPipe<z.ZodObject<{
|
|
|
925
1206
|
}>>;
|
|
926
1207
|
auto_update: z.ZodOptional<z.ZodBoolean>;
|
|
927
1208
|
language: z.ZodOptional<z.ZodString>;
|
|
1209
|
+
profile: z.ZodOptional<z.ZodString>;
|
|
1210
|
+
profiles: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1211
|
+
historian: z.ZodOptional<z.ZodObject<{
|
|
1212
|
+
opencode: z.ZodOptional<z.ZodObject<{
|
|
1213
|
+
model: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
1214
|
+
model: z.ZodString;
|
|
1215
|
+
variant: z.ZodOptional<z.ZodString>;
|
|
1216
|
+
}, z.core.$strict>]>>;
|
|
1217
|
+
fallback_models: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
1218
|
+
model: z.ZodString;
|
|
1219
|
+
variant: z.ZodOptional<z.ZodString>;
|
|
1220
|
+
}, z.core.$strict>]>>>;
|
|
1221
|
+
variant: z.ZodOptional<z.ZodString>;
|
|
1222
|
+
}, z.core.$strict>>;
|
|
1223
|
+
pi: z.ZodOptional<z.ZodObject<{
|
|
1224
|
+
model: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
1225
|
+
model: z.ZodString;
|
|
1226
|
+
thinking_level: z.ZodOptional<z.ZodEnum<{
|
|
1227
|
+
off: "off";
|
|
1228
|
+
minimal: "minimal";
|
|
1229
|
+
low: "low";
|
|
1230
|
+
medium: "medium";
|
|
1231
|
+
high: "high";
|
|
1232
|
+
xhigh: "xhigh";
|
|
1233
|
+
max: "max";
|
|
1234
|
+
}>>;
|
|
1235
|
+
}, z.core.$strict>]>>;
|
|
1236
|
+
fallback_models: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
1237
|
+
model: z.ZodString;
|
|
1238
|
+
thinking_level: z.ZodOptional<z.ZodEnum<{
|
|
1239
|
+
off: "off";
|
|
1240
|
+
minimal: "minimal";
|
|
1241
|
+
low: "low";
|
|
1242
|
+
medium: "medium";
|
|
1243
|
+
high: "high";
|
|
1244
|
+
xhigh: "xhigh";
|
|
1245
|
+
max: "max";
|
|
1246
|
+
}>>;
|
|
1247
|
+
}, z.core.$strict>]>>>;
|
|
1248
|
+
thinking_level: z.ZodOptional<z.ZodEnum<{
|
|
1249
|
+
off: "off";
|
|
1250
|
+
minimal: "minimal";
|
|
1251
|
+
low: "low";
|
|
1252
|
+
medium: "medium";
|
|
1253
|
+
high: "high";
|
|
1254
|
+
xhigh: "xhigh";
|
|
1255
|
+
max: "max";
|
|
1256
|
+
}>>;
|
|
1257
|
+
}, z.core.$strict>>;
|
|
1258
|
+
}, z.core.$strict>>;
|
|
1259
|
+
dreamer: z.ZodOptional<z.ZodObject<{
|
|
1260
|
+
opencode: z.ZodOptional<z.ZodObject<{
|
|
1261
|
+
model: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
1262
|
+
model: z.ZodString;
|
|
1263
|
+
variant: z.ZodOptional<z.ZodString>;
|
|
1264
|
+
}, z.core.$strict>]>>;
|
|
1265
|
+
fallback_models: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
1266
|
+
model: z.ZodString;
|
|
1267
|
+
variant: z.ZodOptional<z.ZodString>;
|
|
1268
|
+
}, z.core.$strict>]>>>;
|
|
1269
|
+
variant: z.ZodOptional<z.ZodString>;
|
|
1270
|
+
}, z.core.$strict>>;
|
|
1271
|
+
pi: z.ZodOptional<z.ZodObject<{
|
|
1272
|
+
model: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
1273
|
+
model: z.ZodString;
|
|
1274
|
+
thinking_level: z.ZodOptional<z.ZodEnum<{
|
|
1275
|
+
off: "off";
|
|
1276
|
+
minimal: "minimal";
|
|
1277
|
+
low: "low";
|
|
1278
|
+
medium: "medium";
|
|
1279
|
+
high: "high";
|
|
1280
|
+
xhigh: "xhigh";
|
|
1281
|
+
max: "max";
|
|
1282
|
+
}>>;
|
|
1283
|
+
}, z.core.$strict>]>>;
|
|
1284
|
+
fallback_models: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
1285
|
+
model: z.ZodString;
|
|
1286
|
+
thinking_level: z.ZodOptional<z.ZodEnum<{
|
|
1287
|
+
off: "off";
|
|
1288
|
+
minimal: "minimal";
|
|
1289
|
+
low: "low";
|
|
1290
|
+
medium: "medium";
|
|
1291
|
+
high: "high";
|
|
1292
|
+
xhigh: "xhigh";
|
|
1293
|
+
max: "max";
|
|
1294
|
+
}>>;
|
|
1295
|
+
}, z.core.$strict>]>>>;
|
|
1296
|
+
thinking_level: z.ZodOptional<z.ZodEnum<{
|
|
1297
|
+
off: "off";
|
|
1298
|
+
minimal: "minimal";
|
|
1299
|
+
low: "low";
|
|
1300
|
+
medium: "medium";
|
|
1301
|
+
high: "high";
|
|
1302
|
+
xhigh: "xhigh";
|
|
1303
|
+
max: "max";
|
|
1304
|
+
}>>;
|
|
1305
|
+
}, z.core.$strict>>;
|
|
1306
|
+
}, z.core.$strict>>;
|
|
1307
|
+
sidekick: z.ZodOptional<z.ZodObject<{
|
|
1308
|
+
model: z.ZodOptional<z.ZodString>;
|
|
1309
|
+
variant: z.ZodOptional<z.ZodString>;
|
|
1310
|
+
fallback_models: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
1311
|
+
thinking_level: z.ZodOptional<z.ZodEnum<{
|
|
1312
|
+
off: "off";
|
|
1313
|
+
minimal: "minimal";
|
|
1314
|
+
low: "low";
|
|
1315
|
+
medium: "medium";
|
|
1316
|
+
high: "high";
|
|
1317
|
+
xhigh: "xhigh";
|
|
1318
|
+
max: "max";
|
|
1319
|
+
}>>;
|
|
1320
|
+
}, z.core.$strict>>;
|
|
1321
|
+
}, z.core.$strict>>>;
|
|
928
1322
|
historian: z.ZodOptional<z.ZodObject<{
|
|
929
|
-
model: z.ZodOptional<z.ZodString>;
|
|
930
|
-
temperature: z.ZodOptional<z.ZodNumber>;
|
|
931
|
-
top_p: z.ZodOptional<z.ZodNumber>;
|
|
932
|
-
prompt: z.ZodOptional<z.ZodString>;
|
|
933
|
-
tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
|
|
934
|
-
disable: z.ZodOptional<z.ZodBoolean>;
|
|
935
|
-
description: z.ZodOptional<z.ZodString>;
|
|
936
1323
|
mode: z.ZodOptional<z.ZodEnum<{
|
|
937
1324
|
primary: "primary";
|
|
938
1325
|
subagent: "subagent";
|
|
939
1326
|
all: "all";
|
|
940
1327
|
}>>;
|
|
941
|
-
color: z.ZodOptional<z.ZodString>;
|
|
942
|
-
maxSteps: z.ZodOptional<z.ZodNumber>;
|
|
943
1328
|
permission: z.ZodOptional<z.ZodObject<{
|
|
944
1329
|
edit: z.ZodOptional<z.ZodEnum<{
|
|
945
1330
|
deny: "deny";
|
|
@@ -971,19 +1356,62 @@ export declare const MagicContextConfigSchema: z.ZodPipe<z.ZodObject<{
|
|
|
971
1356
|
ask: "ask";
|
|
972
1357
|
}>>;
|
|
973
1358
|
}, z.core.$strip>>;
|
|
1359
|
+
tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
|
|
1360
|
+
prompt: z.ZodOptional<z.ZodString>;
|
|
1361
|
+
maxSteps: z.ZodOptional<z.ZodNumber>;
|
|
1362
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1363
|
+
disable: z.ZodOptional<z.ZodBoolean>;
|
|
1364
|
+
temperature: z.ZodOptional<z.ZodNumber>;
|
|
1365
|
+
top_p: z.ZodOptional<z.ZodNumber>;
|
|
1366
|
+
color: z.ZodOptional<z.ZodString>;
|
|
974
1367
|
maxTokens: z.ZodOptional<z.ZodNumber>;
|
|
975
|
-
|
|
976
|
-
|
|
1368
|
+
opencode: z.ZodOptional<z.ZodObject<{
|
|
1369
|
+
model: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
1370
|
+
model: z.ZodString;
|
|
1371
|
+
variant: z.ZodOptional<z.ZodString>;
|
|
1372
|
+
}, z.core.$strict>]>>;
|
|
1373
|
+
fallback_models: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
1374
|
+
model: z.ZodString;
|
|
1375
|
+
variant: z.ZodOptional<z.ZodString>;
|
|
1376
|
+
}, z.core.$strict>]>>>;
|
|
1377
|
+
variant: z.ZodOptional<z.ZodString>;
|
|
1378
|
+
}, z.core.$strict>>;
|
|
1379
|
+
pi: z.ZodOptional<z.ZodObject<{
|
|
1380
|
+
model: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
1381
|
+
model: z.ZodString;
|
|
1382
|
+
thinking_level: z.ZodOptional<z.ZodEnum<{
|
|
1383
|
+
off: "off";
|
|
1384
|
+
minimal: "minimal";
|
|
1385
|
+
low: "low";
|
|
1386
|
+
medium: "medium";
|
|
1387
|
+
high: "high";
|
|
1388
|
+
xhigh: "xhigh";
|
|
1389
|
+
max: "max";
|
|
1390
|
+
}>>;
|
|
1391
|
+
}, z.core.$strict>]>>;
|
|
1392
|
+
fallback_models: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
1393
|
+
model: z.ZodString;
|
|
1394
|
+
thinking_level: z.ZodOptional<z.ZodEnum<{
|
|
1395
|
+
off: "off";
|
|
1396
|
+
minimal: "minimal";
|
|
1397
|
+
low: "low";
|
|
1398
|
+
medium: "medium";
|
|
1399
|
+
high: "high";
|
|
1400
|
+
xhigh: "xhigh";
|
|
1401
|
+
max: "max";
|
|
1402
|
+
}>>;
|
|
1403
|
+
}, z.core.$strict>]>>>;
|
|
1404
|
+
thinking_level: z.ZodOptional<z.ZodEnum<{
|
|
1405
|
+
off: "off";
|
|
1406
|
+
minimal: "minimal";
|
|
1407
|
+
low: "low";
|
|
1408
|
+
medium: "medium";
|
|
1409
|
+
high: "high";
|
|
1410
|
+
xhigh: "xhigh";
|
|
1411
|
+
max: "max";
|
|
1412
|
+
}>>;
|
|
1413
|
+
}, z.core.$strict>>;
|
|
977
1414
|
two_pass: z.ZodDefault<z.ZodBoolean>;
|
|
978
|
-
thinking_level: z.ZodOptional<z.ZodEnum<{
|
|
979
|
-
off: "off";
|
|
980
|
-
minimal: "minimal";
|
|
981
|
-
low: "low";
|
|
982
|
-
medium: "medium";
|
|
983
|
-
high: "high";
|
|
984
|
-
xhigh: "xhigh";
|
|
985
|
-
max: "max";
|
|
986
|
-
}>>;
|
|
987
1415
|
disallowed_tools: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
988
1416
|
"*": "*";
|
|
989
1417
|
read: "read";
|
|
@@ -993,20 +1421,11 @@ export declare const MagicContextConfigSchema: z.ZodPipe<z.ZodObject<{
|
|
|
993
1421
|
}>>>;
|
|
994
1422
|
}, z.core.$strip>>;
|
|
995
1423
|
dreamer: z.ZodOptional<z.ZodObject<{
|
|
996
|
-
model: z.ZodOptional<z.ZodString>;
|
|
997
|
-
temperature: z.ZodOptional<z.ZodNumber>;
|
|
998
|
-
top_p: z.ZodOptional<z.ZodNumber>;
|
|
999
|
-
prompt: z.ZodOptional<z.ZodString>;
|
|
1000
|
-
tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
|
|
1001
|
-
disable: z.ZodOptional<z.ZodBoolean>;
|
|
1002
|
-
description: z.ZodOptional<z.ZodString>;
|
|
1003
1424
|
mode: z.ZodOptional<z.ZodEnum<{
|
|
1004
1425
|
primary: "primary";
|
|
1005
1426
|
subagent: "subagent";
|
|
1006
1427
|
all: "all";
|
|
1007
1428
|
}>>;
|
|
1008
|
-
color: z.ZodOptional<z.ZodString>;
|
|
1009
|
-
maxSteps: z.ZodOptional<z.ZodNumber>;
|
|
1010
1429
|
permission: z.ZodOptional<z.ZodObject<{
|
|
1011
1430
|
edit: z.ZodOptional<z.ZodEnum<{
|
|
1012
1431
|
deny: "deny";
|
|
@@ -1038,14 +1457,41 @@ export declare const MagicContextConfigSchema: z.ZodPipe<z.ZodObject<{
|
|
|
1038
1457
|
ask: "ask";
|
|
1039
1458
|
}>>;
|
|
1040
1459
|
}, z.core.$strip>>;
|
|
1460
|
+
tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
|
|
1461
|
+
prompt: z.ZodOptional<z.ZodString>;
|
|
1462
|
+
maxSteps: z.ZodOptional<z.ZodNumber>;
|
|
1463
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1464
|
+
disable: z.ZodOptional<z.ZodBoolean>;
|
|
1465
|
+
temperature: z.ZodOptional<z.ZodNumber>;
|
|
1466
|
+
top_p: z.ZodOptional<z.ZodNumber>;
|
|
1467
|
+
color: z.ZodOptional<z.ZodString>;
|
|
1041
1468
|
maxTokens: z.ZodOptional<z.ZodNumber>;
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1469
|
+
opencode: z.ZodOptional<z.ZodObject<{
|
|
1470
|
+
model: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
1471
|
+
model: z.ZodString;
|
|
1472
|
+
variant: z.ZodOptional<z.ZodString>;
|
|
1473
|
+
}, z.core.$strict>]>>;
|
|
1474
|
+
fallback_models: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
1475
|
+
model: z.ZodString;
|
|
1476
|
+
variant: z.ZodOptional<z.ZodString>;
|
|
1477
|
+
}, z.core.$strict>]>>>;
|
|
1478
|
+
variant: z.ZodOptional<z.ZodString>;
|
|
1479
|
+
tasks: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1480
|
+
model: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
1481
|
+
model: z.ZodString;
|
|
1482
|
+
variant: z.ZodOptional<z.ZodString>;
|
|
1483
|
+
}, z.core.$strict>]>>;
|
|
1484
|
+
fallback_models: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
1485
|
+
model: z.ZodString;
|
|
1486
|
+
variant: z.ZodOptional<z.ZodString>;
|
|
1487
|
+
}, z.core.$strict>]>>>;
|
|
1488
|
+
variant: z.ZodOptional<z.ZodString>;
|
|
1489
|
+
timeout_minutes: z.ZodOptional<z.ZodNumber>;
|
|
1490
|
+
}, z.core.$strict>>>;
|
|
1491
|
+
}, z.core.$strict>>;
|
|
1492
|
+
pi: z.ZodOptional<z.ZodObject<{
|
|
1493
|
+
model: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
1494
|
+
model: z.ZodString;
|
|
1049
1495
|
thinking_level: z.ZodOptional<z.ZodEnum<{
|
|
1050
1496
|
off: "off";
|
|
1051
1497
|
minimal: "minimal";
|
|
@@ -1055,12 +1501,9 @@ export declare const MagicContextConfigSchema: z.ZodPipe<z.ZodObject<{
|
|
|
1055
1501
|
xhigh: "xhigh";
|
|
1056
1502
|
max: "max";
|
|
1057
1503
|
}>>;
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
schedule: z.ZodDefault<z.ZodString>;
|
|
1062
|
-
model: z.ZodOptional<z.ZodString>;
|
|
1063
|
-
fallback_models: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
1504
|
+
}, z.core.$strict>]>>;
|
|
1505
|
+
fallback_models: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
1506
|
+
model: z.ZodString;
|
|
1064
1507
|
thinking_level: z.ZodOptional<z.ZodEnum<{
|
|
1065
1508
|
off: "off";
|
|
1066
1509
|
minimal: "minimal";
|
|
@@ -1070,12 +1513,41 @@ export declare const MagicContextConfigSchema: z.ZodPipe<z.ZodObject<{
|
|
|
1070
1513
|
xhigh: "xhigh";
|
|
1071
1514
|
max: "max";
|
|
1072
1515
|
}>>;
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1516
|
+
}, z.core.$strict>]>>>;
|
|
1517
|
+
thinking_level: z.ZodOptional<z.ZodEnum<{
|
|
1518
|
+
off: "off";
|
|
1519
|
+
minimal: "minimal";
|
|
1520
|
+
low: "low";
|
|
1521
|
+
medium: "medium";
|
|
1522
|
+
high: "high";
|
|
1523
|
+
xhigh: "xhigh";
|
|
1524
|
+
max: "max";
|
|
1525
|
+
}>>;
|
|
1526
|
+
tasks: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1527
|
+
model: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
1528
|
+
model: z.ZodString;
|
|
1529
|
+
thinking_level: z.ZodOptional<z.ZodEnum<{
|
|
1530
|
+
off: "off";
|
|
1531
|
+
minimal: "minimal";
|
|
1532
|
+
low: "low";
|
|
1533
|
+
medium: "medium";
|
|
1534
|
+
high: "high";
|
|
1535
|
+
xhigh: "xhigh";
|
|
1536
|
+
max: "max";
|
|
1537
|
+
}>>;
|
|
1538
|
+
}, z.core.$strict>]>>;
|
|
1539
|
+
fallback_models: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
1540
|
+
model: z.ZodString;
|
|
1541
|
+
thinking_level: z.ZodOptional<z.ZodEnum<{
|
|
1542
|
+
off: "off";
|
|
1543
|
+
minimal: "minimal";
|
|
1544
|
+
low: "low";
|
|
1545
|
+
medium: "medium";
|
|
1546
|
+
high: "high";
|
|
1547
|
+
xhigh: "xhigh";
|
|
1548
|
+
max: "max";
|
|
1549
|
+
}>>;
|
|
1550
|
+
}, z.core.$strict>]>>>;
|
|
1079
1551
|
thinking_level: z.ZodOptional<z.ZodEnum<{
|
|
1080
1552
|
off: "off";
|
|
1081
1553
|
minimal: "minimal";
|
|
@@ -1085,156 +1557,50 @@ export declare const MagicContextConfigSchema: z.ZodPipe<z.ZodObject<{
|
|
|
1085
1557
|
xhigh: "xhigh";
|
|
1086
1558
|
max: "max";
|
|
1087
1559
|
}>>;
|
|
1088
|
-
timeout_minutes: z.
|
|
1089
|
-
}, z.core.$
|
|
1560
|
+
timeout_minutes: z.ZodOptional<z.ZodNumber>;
|
|
1561
|
+
}, z.core.$strict>>>;
|
|
1562
|
+
}, z.core.$strict>>;
|
|
1563
|
+
tasks: z.ZodDefault<z.ZodObject<{
|
|
1564
|
+
"map-memories": z.ZodDefault<z.ZodObject<{
|
|
1565
|
+
schedule: z.ZodDefault<z.ZodString>;
|
|
1566
|
+
}, z.core.$strict>>;
|
|
1567
|
+
verify: z.ZodDefault<z.ZodObject<{
|
|
1568
|
+
schedule: z.ZodDefault<z.ZodString>;
|
|
1569
|
+
}, z.core.$strict>>;
|
|
1570
|
+
"verify-broad": z.ZodDefault<z.ZodObject<{
|
|
1571
|
+
schedule: z.ZodDefault<z.ZodString>;
|
|
1572
|
+
}, z.core.$strict>>;
|
|
1090
1573
|
curate: z.ZodDefault<z.ZodObject<{
|
|
1091
1574
|
schedule: z.ZodDefault<z.ZodString>;
|
|
1092
|
-
|
|
1093
|
-
fallback_models: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
1094
|
-
thinking_level: z.ZodOptional<z.ZodEnum<{
|
|
1095
|
-
off: "off";
|
|
1096
|
-
minimal: "minimal";
|
|
1097
|
-
low: "low";
|
|
1098
|
-
medium: "medium";
|
|
1099
|
-
high: "high";
|
|
1100
|
-
xhigh: "xhigh";
|
|
1101
|
-
max: "max";
|
|
1102
|
-
}>>;
|
|
1103
|
-
timeout_minutes: z.ZodDefault<z.ZodNumber>;
|
|
1104
|
-
}, z.core.$strip>>;
|
|
1575
|
+
}, z.core.$strict>>;
|
|
1105
1576
|
"compress-cues": z.ZodDefault<z.ZodObject<{
|
|
1106
1577
|
schedule: z.ZodDefault<z.ZodString>;
|
|
1107
|
-
|
|
1108
|
-
fallback_models: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
1109
|
-
thinking_level: z.ZodOptional<z.ZodEnum<{
|
|
1110
|
-
off: "off";
|
|
1111
|
-
minimal: "minimal";
|
|
1112
|
-
low: "low";
|
|
1113
|
-
medium: "medium";
|
|
1114
|
-
high: "high";
|
|
1115
|
-
xhigh: "xhigh";
|
|
1116
|
-
max: "max";
|
|
1117
|
-
}>>;
|
|
1118
|
-
timeout_minutes: z.ZodDefault<z.ZodNumber>;
|
|
1119
|
-
}, z.core.$strip>>;
|
|
1578
|
+
}, z.core.$strict>>;
|
|
1120
1579
|
"classify-memories": z.ZodDefault<z.ZodObject<{
|
|
1121
1580
|
schedule: z.ZodDefault<z.ZodString>;
|
|
1122
|
-
|
|
1123
|
-
fallback_models: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
1124
|
-
thinking_level: z.ZodOptional<z.ZodEnum<{
|
|
1125
|
-
off: "off";
|
|
1126
|
-
minimal: "minimal";
|
|
1127
|
-
low: "low";
|
|
1128
|
-
medium: "medium";
|
|
1129
|
-
high: "high";
|
|
1130
|
-
xhigh: "xhigh";
|
|
1131
|
-
max: "max";
|
|
1132
|
-
}>>;
|
|
1133
|
-
timeout_minutes: z.ZodDefault<z.ZodNumber>;
|
|
1134
|
-
}, z.core.$strip>>;
|
|
1581
|
+
}, z.core.$strict>>;
|
|
1135
1582
|
retrospective: z.ZodDefault<z.ZodObject<{
|
|
1136
1583
|
schedule: z.ZodDefault<z.ZodString>;
|
|
1137
|
-
|
|
1138
|
-
fallback_models: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
1139
|
-
thinking_level: z.ZodOptional<z.ZodEnum<{
|
|
1140
|
-
off: "off";
|
|
1141
|
-
minimal: "minimal";
|
|
1142
|
-
low: "low";
|
|
1143
|
-
medium: "medium";
|
|
1144
|
-
high: "high";
|
|
1145
|
-
xhigh: "xhigh";
|
|
1146
|
-
max: "max";
|
|
1147
|
-
}>>;
|
|
1148
|
-
timeout_minutes: z.ZodDefault<z.ZodNumber>;
|
|
1149
|
-
}, z.core.$strip>>;
|
|
1584
|
+
}, z.core.$strict>>;
|
|
1150
1585
|
"maintain-docs": z.ZodDefault<z.ZodObject<{
|
|
1151
1586
|
schedule: z.ZodDefault<z.ZodString>;
|
|
1152
|
-
|
|
1153
|
-
fallback_models: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
1154
|
-
thinking_level: z.ZodOptional<z.ZodEnum<{
|
|
1155
|
-
off: "off";
|
|
1156
|
-
minimal: "minimal";
|
|
1157
|
-
low: "low";
|
|
1158
|
-
medium: "medium";
|
|
1159
|
-
high: "high";
|
|
1160
|
-
xhigh: "xhigh";
|
|
1161
|
-
max: "max";
|
|
1162
|
-
}>>;
|
|
1163
|
-
timeout_minutes: z.ZodDefault<z.ZodNumber>;
|
|
1164
|
-
}, z.core.$strip>>;
|
|
1587
|
+
}, z.core.$strict>>;
|
|
1165
1588
|
"evaluate-smart-notes": z.ZodDefault<z.ZodObject<{
|
|
1166
1589
|
schedule: z.ZodDefault<z.ZodString>;
|
|
1167
|
-
|
|
1168
|
-
fallback_models: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
1169
|
-
thinking_level: z.ZodOptional<z.ZodEnum<{
|
|
1170
|
-
off: "off";
|
|
1171
|
-
minimal: "minimal";
|
|
1172
|
-
low: "low";
|
|
1173
|
-
medium: "medium";
|
|
1174
|
-
high: "high";
|
|
1175
|
-
xhigh: "xhigh";
|
|
1176
|
-
max: "max";
|
|
1177
|
-
}>>;
|
|
1178
|
-
timeout_minutes: z.ZodDefault<z.ZodNumber>;
|
|
1179
|
-
}, z.core.$strip>>;
|
|
1590
|
+
}, z.core.$strict>>;
|
|
1180
1591
|
"review-user-memories": z.ZodDefault<z.ZodObject<{
|
|
1181
1592
|
schedule: z.ZodDefault<z.ZodString>;
|
|
1182
|
-
model: z.ZodOptional<z.ZodString>;
|
|
1183
|
-
fallback_models: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
1184
|
-
thinking_level: z.ZodOptional<z.ZodEnum<{
|
|
1185
|
-
off: "off";
|
|
1186
|
-
minimal: "minimal";
|
|
1187
|
-
low: "low";
|
|
1188
|
-
medium: "medium";
|
|
1189
|
-
high: "high";
|
|
1190
|
-
xhigh: "xhigh";
|
|
1191
|
-
max: "max";
|
|
1192
|
-
}>>;
|
|
1193
|
-
timeout_minutes: z.ZodDefault<z.ZodNumber>;
|
|
1194
1593
|
promotion_threshold: z.ZodOptional<z.ZodNumber>;
|
|
1195
|
-
}, z.core.$
|
|
1594
|
+
}, z.core.$strict>>;
|
|
1196
1595
|
"promote-primers": z.ZodDefault<z.ZodObject<{
|
|
1197
1596
|
schedule: z.ZodDefault<z.ZodString>;
|
|
1198
|
-
model: z.ZodOptional<z.ZodString>;
|
|
1199
|
-
fallback_models: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
1200
|
-
thinking_level: z.ZodOptional<z.ZodEnum<{
|
|
1201
|
-
off: "off";
|
|
1202
|
-
minimal: "minimal";
|
|
1203
|
-
low: "low";
|
|
1204
|
-
medium: "medium";
|
|
1205
|
-
high: "high";
|
|
1206
|
-
xhigh: "xhigh";
|
|
1207
|
-
max: "max";
|
|
1208
|
-
}>>;
|
|
1209
|
-
timeout_minutes: z.ZodDefault<z.ZodNumber>;
|
|
1210
1597
|
promotion_threshold: z.ZodOptional<z.ZodNumber>;
|
|
1211
|
-
}, z.core.$
|
|
1598
|
+
}, z.core.$strict>>;
|
|
1212
1599
|
"refresh-primers": z.ZodDefault<z.ZodObject<{
|
|
1213
1600
|
schedule: z.ZodDefault<z.ZodString>;
|
|
1214
|
-
|
|
1215
|
-
fallback_models: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
1216
|
-
thinking_level: z.ZodOptional<z.ZodEnum<{
|
|
1217
|
-
off: "off";
|
|
1218
|
-
minimal: "minimal";
|
|
1219
|
-
low: "low";
|
|
1220
|
-
medium: "medium";
|
|
1221
|
-
high: "high";
|
|
1222
|
-
xhigh: "xhigh";
|
|
1223
|
-
max: "max";
|
|
1224
|
-
}>>;
|
|
1225
|
-
timeout_minutes: z.ZodDefault<z.ZodNumber>;
|
|
1226
|
-
}, z.core.$strip>>;
|
|
1601
|
+
}, z.core.$strict>>;
|
|
1227
1602
|
}, z.core.$strip>>;
|
|
1228
1603
|
inject_docs: z.ZodDefault<z.ZodBoolean>;
|
|
1229
|
-
thinking_level: z.ZodOptional<z.ZodEnum<{
|
|
1230
|
-
off: "off";
|
|
1231
|
-
minimal: "minimal";
|
|
1232
|
-
low: "low";
|
|
1233
|
-
medium: "medium";
|
|
1234
|
-
high: "high";
|
|
1235
|
-
xhigh: "xhigh";
|
|
1236
|
-
max: "max";
|
|
1237
|
-
}>>;
|
|
1238
1604
|
}, z.core.$strip>>;
|
|
1239
1605
|
smart_notes: z.ZodDefault<z.ZodObject<{
|
|
1240
1606
|
retina_handoff: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -1566,19 +1932,67 @@ export declare const MagicContextConfigSchema: z.ZodPipe<z.ZodObject<{
|
|
|
1566
1932
|
};
|
|
1567
1933
|
auto_update?: boolean | undefined;
|
|
1568
1934
|
language?: string | undefined;
|
|
1935
|
+
profile?: string | undefined;
|
|
1936
|
+
profiles?: Record<string, {
|
|
1937
|
+
historian?: {
|
|
1938
|
+
opencode?: {
|
|
1939
|
+
model?: string | {
|
|
1940
|
+
model: string;
|
|
1941
|
+
variant?: string | undefined;
|
|
1942
|
+
} | undefined;
|
|
1943
|
+
fallback_models?: (string | {
|
|
1944
|
+
model: string;
|
|
1945
|
+
variant?: string | undefined;
|
|
1946
|
+
})[] | undefined;
|
|
1947
|
+
variant?: string | undefined;
|
|
1948
|
+
} | undefined;
|
|
1949
|
+
pi?: {
|
|
1950
|
+
model?: string | {
|
|
1951
|
+
model: string;
|
|
1952
|
+
thinking_level?: "off" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
1953
|
+
} | undefined;
|
|
1954
|
+
fallback_models?: (string | {
|
|
1955
|
+
model: string;
|
|
1956
|
+
thinking_level?: "off" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
1957
|
+
})[] | undefined;
|
|
1958
|
+
thinking_level?: "off" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
1959
|
+
} | undefined;
|
|
1960
|
+
} | undefined;
|
|
1961
|
+
dreamer?: {
|
|
1962
|
+
opencode?: {
|
|
1963
|
+
model?: string | {
|
|
1964
|
+
model: string;
|
|
1965
|
+
variant?: string | undefined;
|
|
1966
|
+
} | undefined;
|
|
1967
|
+
fallback_models?: (string | {
|
|
1968
|
+
model: string;
|
|
1969
|
+
variant?: string | undefined;
|
|
1970
|
+
})[] | undefined;
|
|
1971
|
+
variant?: string | undefined;
|
|
1972
|
+
} | undefined;
|
|
1973
|
+
pi?: {
|
|
1974
|
+
model?: string | {
|
|
1975
|
+
model: string;
|
|
1976
|
+
thinking_level?: "off" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
1977
|
+
} | undefined;
|
|
1978
|
+
fallback_models?: (string | {
|
|
1979
|
+
model: string;
|
|
1980
|
+
thinking_level?: "off" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
1981
|
+
})[] | undefined;
|
|
1982
|
+
thinking_level?: "off" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
1983
|
+
} | undefined;
|
|
1984
|
+
} | undefined;
|
|
1985
|
+
sidekick?: {
|
|
1986
|
+
model?: string | undefined;
|
|
1987
|
+
variant?: string | undefined;
|
|
1988
|
+
fallback_models?: string | string[] | undefined;
|
|
1989
|
+
thinking_level?: "off" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
1990
|
+
} | undefined;
|
|
1991
|
+
}> | undefined;
|
|
1569
1992
|
historian?: {
|
|
1570
1993
|
two_pass: boolean;
|
|
1571
1994
|
disallowed_tools: ("*" | "read" | "aft_outline" | "aft_zoom" | "aft_search")[];
|
|
1572
|
-
model?: string | undefined;
|
|
1573
|
-
temperature?: number | undefined;
|
|
1574
|
-
top_p?: number | undefined;
|
|
1575
|
-
prompt?: string | undefined;
|
|
1576
|
-
tools?: Record<string, boolean> | undefined;
|
|
1577
|
-
disable?: boolean | undefined;
|
|
1578
|
-
description?: string | undefined;
|
|
1579
1995
|
mode?: "primary" | "subagent" | "all" | undefined;
|
|
1580
|
-
color?: string | undefined;
|
|
1581
|
-
maxSteps?: number | undefined;
|
|
1582
1996
|
permission?: {
|
|
1583
1997
|
edit?: "deny" | "allow" | "ask" | undefined;
|
|
1584
1998
|
bash?: "deny" | "allow" | "ask" | Record<string, "deny" | "allow" | "ask"> | undefined;
|
|
@@ -1586,111 +2000,81 @@ export declare const MagicContextConfigSchema: z.ZodPipe<z.ZodObject<{
|
|
|
1586
2000
|
doom_loop?: "deny" | "allow" | "ask" | undefined;
|
|
1587
2001
|
external_directory?: "deny" | "allow" | "ask" | undefined;
|
|
1588
2002
|
} | undefined;
|
|
2003
|
+
tools?: Record<string, boolean> | undefined;
|
|
2004
|
+
prompt?: string | undefined;
|
|
2005
|
+
maxSteps?: number | undefined;
|
|
2006
|
+
description?: string | undefined;
|
|
2007
|
+
disable?: boolean | undefined;
|
|
2008
|
+
temperature?: number | undefined;
|
|
2009
|
+
top_p?: number | undefined;
|
|
2010
|
+
color?: string | undefined;
|
|
1589
2011
|
maxTokens?: number | undefined;
|
|
1590
|
-
|
|
1591
|
-
|
|
1592
|
-
|
|
2012
|
+
opencode?: {
|
|
2013
|
+
model?: string | {
|
|
2014
|
+
model: string;
|
|
2015
|
+
variant?: string | undefined;
|
|
2016
|
+
} | undefined;
|
|
2017
|
+
fallback_models?: (string | {
|
|
2018
|
+
model: string;
|
|
2019
|
+
variant?: string | undefined;
|
|
2020
|
+
})[] | undefined;
|
|
2021
|
+
variant?: string | undefined;
|
|
2022
|
+
} | undefined;
|
|
2023
|
+
pi?: {
|
|
2024
|
+
model?: string | {
|
|
2025
|
+
model: string;
|
|
2026
|
+
thinking_level?: "off" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
2027
|
+
} | undefined;
|
|
2028
|
+
fallback_models?: (string | {
|
|
2029
|
+
model: string;
|
|
2030
|
+
thinking_level?: "off" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
2031
|
+
})[] | undefined;
|
|
2032
|
+
thinking_level?: "off" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
2033
|
+
} | undefined;
|
|
1593
2034
|
} | undefined;
|
|
1594
2035
|
dreamer?: {
|
|
1595
2036
|
tasks: {
|
|
1596
2037
|
"map-memories": {
|
|
1597
2038
|
schedule: string;
|
|
1598
|
-
timeout_minutes: number;
|
|
1599
|
-
model?: string | undefined;
|
|
1600
|
-
fallback_models?: string | string[] | undefined;
|
|
1601
|
-
thinking_level?: "off" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
1602
2039
|
};
|
|
1603
2040
|
verify: {
|
|
1604
2041
|
schedule: string;
|
|
1605
|
-
timeout_minutes: number;
|
|
1606
|
-
model?: string | undefined;
|
|
1607
|
-
fallback_models?: string | string[] | undefined;
|
|
1608
|
-
thinking_level?: "off" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
1609
2042
|
};
|
|
1610
2043
|
"verify-broad": {
|
|
1611
2044
|
schedule: string;
|
|
1612
|
-
timeout_minutes: number;
|
|
1613
|
-
model?: string | undefined;
|
|
1614
|
-
fallback_models?: string | string[] | undefined;
|
|
1615
|
-
thinking_level?: "off" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
1616
2045
|
};
|
|
1617
2046
|
curate: {
|
|
1618
2047
|
schedule: string;
|
|
1619
|
-
timeout_minutes: number;
|
|
1620
|
-
model?: string | undefined;
|
|
1621
|
-
fallback_models?: string | string[] | undefined;
|
|
1622
|
-
thinking_level?: "off" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
1623
2048
|
};
|
|
1624
2049
|
"compress-cues": {
|
|
1625
2050
|
schedule: string;
|
|
1626
|
-
timeout_minutes: number;
|
|
1627
|
-
model?: string | undefined;
|
|
1628
|
-
fallback_models?: string | string[] | undefined;
|
|
1629
|
-
thinking_level?: "off" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
1630
2051
|
};
|
|
1631
2052
|
"classify-memories": {
|
|
1632
2053
|
schedule: string;
|
|
1633
|
-
timeout_minutes: number;
|
|
1634
|
-
model?: string | undefined;
|
|
1635
|
-
fallback_models?: string | string[] | undefined;
|
|
1636
|
-
thinking_level?: "off" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
1637
2054
|
};
|
|
1638
2055
|
retrospective: {
|
|
1639
2056
|
schedule: string;
|
|
1640
|
-
timeout_minutes: number;
|
|
1641
|
-
model?: string | undefined;
|
|
1642
|
-
fallback_models?: string | string[] | undefined;
|
|
1643
|
-
thinking_level?: "off" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
1644
2057
|
};
|
|
1645
2058
|
"maintain-docs": {
|
|
1646
2059
|
schedule: string;
|
|
1647
|
-
timeout_minutes: number;
|
|
1648
|
-
model?: string | undefined;
|
|
1649
|
-
fallback_models?: string | string[] | undefined;
|
|
1650
|
-
thinking_level?: "off" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
1651
2060
|
};
|
|
1652
2061
|
"evaluate-smart-notes": {
|
|
1653
2062
|
schedule: string;
|
|
1654
|
-
timeout_minutes: number;
|
|
1655
|
-
model?: string | undefined;
|
|
1656
|
-
fallback_models?: string | string[] | undefined;
|
|
1657
|
-
thinking_level?: "off" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
1658
2063
|
};
|
|
1659
2064
|
"review-user-memories": {
|
|
1660
2065
|
schedule: string;
|
|
1661
|
-
timeout_minutes: number;
|
|
1662
|
-
model?: string | undefined;
|
|
1663
|
-
fallback_models?: string | string[] | undefined;
|
|
1664
|
-
thinking_level?: "off" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
1665
2066
|
promotion_threshold?: number | undefined;
|
|
1666
2067
|
};
|
|
1667
2068
|
"promote-primers": {
|
|
1668
2069
|
schedule: string;
|
|
1669
|
-
timeout_minutes: number;
|
|
1670
|
-
model?: string | undefined;
|
|
1671
|
-
fallback_models?: string | string[] | undefined;
|
|
1672
|
-
thinking_level?: "off" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
1673
2070
|
promotion_threshold?: number | undefined;
|
|
1674
2071
|
};
|
|
1675
2072
|
"refresh-primers": {
|
|
1676
2073
|
schedule: string;
|
|
1677
|
-
timeout_minutes: number;
|
|
1678
|
-
model?: string | undefined;
|
|
1679
|
-
fallback_models?: string | string[] | undefined;
|
|
1680
|
-
thinking_level?: "off" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
1681
2074
|
};
|
|
1682
2075
|
};
|
|
1683
2076
|
inject_docs: boolean;
|
|
1684
|
-
model?: string | undefined;
|
|
1685
|
-
temperature?: number | undefined;
|
|
1686
|
-
top_p?: number | undefined;
|
|
1687
|
-
prompt?: string | undefined;
|
|
1688
|
-
tools?: Record<string, boolean> | undefined;
|
|
1689
|
-
disable?: boolean | undefined;
|
|
1690
|
-
description?: string | undefined;
|
|
1691
2077
|
mode?: "primary" | "subagent" | "all" | undefined;
|
|
1692
|
-
color?: string | undefined;
|
|
1693
|
-
maxSteps?: number | undefined;
|
|
1694
2078
|
permission?: {
|
|
1695
2079
|
edit?: "deny" | "allow" | "ask" | undefined;
|
|
1696
2080
|
bash?: "deny" | "allow" | "ask" | Record<string, "deny" | "allow" | "ask"> | undefined;
|
|
@@ -1698,10 +2082,61 @@ export declare const MagicContextConfigSchema: z.ZodPipe<z.ZodObject<{
|
|
|
1698
2082
|
doom_loop?: "deny" | "allow" | "ask" | undefined;
|
|
1699
2083
|
external_directory?: "deny" | "allow" | "ask" | undefined;
|
|
1700
2084
|
} | undefined;
|
|
2085
|
+
tools?: Record<string, boolean> | undefined;
|
|
2086
|
+
prompt?: string | undefined;
|
|
2087
|
+
maxSteps?: number | undefined;
|
|
2088
|
+
description?: string | undefined;
|
|
2089
|
+
disable?: boolean | undefined;
|
|
2090
|
+
temperature?: number | undefined;
|
|
2091
|
+
top_p?: number | undefined;
|
|
2092
|
+
color?: string | undefined;
|
|
1701
2093
|
maxTokens?: number | undefined;
|
|
1702
|
-
|
|
1703
|
-
|
|
1704
|
-
|
|
2094
|
+
opencode?: {
|
|
2095
|
+
model?: string | {
|
|
2096
|
+
model: string;
|
|
2097
|
+
variant?: string | undefined;
|
|
2098
|
+
} | undefined;
|
|
2099
|
+
fallback_models?: (string | {
|
|
2100
|
+
model: string;
|
|
2101
|
+
variant?: string | undefined;
|
|
2102
|
+
})[] | undefined;
|
|
2103
|
+
variant?: string | undefined;
|
|
2104
|
+
tasks?: Record<string, {
|
|
2105
|
+
model?: string | {
|
|
2106
|
+
model: string;
|
|
2107
|
+
variant?: string | undefined;
|
|
2108
|
+
} | undefined;
|
|
2109
|
+
fallback_models?: (string | {
|
|
2110
|
+
model: string;
|
|
2111
|
+
variant?: string | undefined;
|
|
2112
|
+
})[] | undefined;
|
|
2113
|
+
variant?: string | undefined;
|
|
2114
|
+
timeout_minutes?: number | undefined;
|
|
2115
|
+
}> | undefined;
|
|
2116
|
+
} | undefined;
|
|
2117
|
+
pi?: {
|
|
2118
|
+
model?: string | {
|
|
2119
|
+
model: string;
|
|
2120
|
+
thinking_level?: "off" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
2121
|
+
} | undefined;
|
|
2122
|
+
fallback_models?: (string | {
|
|
2123
|
+
model: string;
|
|
2124
|
+
thinking_level?: "off" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
2125
|
+
})[] | undefined;
|
|
2126
|
+
thinking_level?: "off" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
2127
|
+
tasks?: Record<string, {
|
|
2128
|
+
model?: string | {
|
|
2129
|
+
model: string;
|
|
2130
|
+
thinking_level?: "off" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
2131
|
+
} | undefined;
|
|
2132
|
+
fallback_models?: (string | {
|
|
2133
|
+
model: string;
|
|
2134
|
+
thinking_level?: "off" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
2135
|
+
})[] | undefined;
|
|
2136
|
+
thinking_level?: "off" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
2137
|
+
timeout_minutes?: number | undefined;
|
|
2138
|
+
}> | undefined;
|
|
2139
|
+
} | undefined;
|
|
1705
2140
|
} | undefined;
|
|
1706
2141
|
output_reserve?: number | {
|
|
1707
2142
|
[x: string]: number;
|