@cortexkit/opencode-magic-context 0.38.0 → 0.39.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 +37 -4
- package/dist/{announcement-6c1g4es4.js → announcement-5eg4t64s.js} +6 -6
- package/dist/config/index.d.ts.map +1 -1
- package/dist/config/project-security.d.ts +11 -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 +586 -551
- package/dist/config/schema/magic-context.d.ts.map +1 -1
- package/dist/{conflict-warning-hook-an4fxhwf.js → conflict-warning-hook-f406ggbw.js} +5 -5
- package/dist/{derive-budgets-da4yg3tz.js → derive-budgets-xk8cy5e6.js} +5 -5
- package/dist/{emscripten-module-ap8t3st0.js → emscripten-module-49k43zfy.js} +1 -1
- package/dist/{emscripten-module-682pfzaa.js → emscripten-module-ex4v0x4z.js} +1 -1
- package/dist/{emscripten-module-r5h7aghp.js → emscripten-module-jfs3d1dq.js} +1 -1
- package/dist/{emscripten-module-bkktz927.js → emscripten-module-ss4g4spn.js} +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/retrospective-orphan-sweep.d.ts +17 -6
- package/dist/features/magic-context/dreamer/retrospective-orphan-sweep.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/memory/storage-memory.d.ts.map +1 -1
- package/dist/features/magic-context/memory/types.d.ts +16 -0
- package/dist/features/magic-context/memory/types.d.ts.map +1 -1
- package/dist/features/magic-context/message-index.d.ts +3 -2
- package/dist/features/magic-context/message-index.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/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 +1 -1
- package/dist/features/magic-context/storage-db.d.ts.map +1 -1
- package/dist/features/magic-context/storage-embedding-measurements.d.ts +1 -1
- package/dist/features/magic-context/storage-embedding-measurements.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-session.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 +18 -0
- package/dist/features/magic-context/storage-session-tables.d.ts.map +1 -0
- 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 +33 -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/{ffi-d8pnn3mn.js → ffi-bbm9vkfa.js} +1 -1
- package/dist/{ffi-04jzypzk.js → ffi-kb5r0x1j.js} +1 -1
- package/dist/{ffi-t8b862vx.js → ffi-qnrt0y78.js} +1 -1
- package/dist/{ffi-9wvt2wwz.js → ffi-yx2hpf4p.js} +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/empty-task-output.d.ts +16 -0
- package/dist/hooks/magic-context/empty-task-output.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 +18 -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/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 +8 -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-cae89eas.js → index-1h9t9xb5.js} +2 -2
- package/dist/{index-wckvcay0.js → index-1yh8g550.js} +8 -6
- package/dist/{index-cgyfn1s2.js → index-2wchnyk6.js} +4 -2
- package/dist/{index-2y0ybv5x.js → index-3dkzzh0t.js} +15 -17
- package/dist/{index-4cz5nfxf.js → index-btj2qhmc.js} +5 -5
- package/dist/index-ehpzdy0v.js +126 -0
- package/dist/{index-mmvhrqqb.js → index-k2ts0wk1.js} +6435 -4339
- package/dist/{index-9zhhvr4w.js → index-mg1yx1ph.js} +1 -1
- package/dist/{index-ayd60xnw.js → index-rgdqj8nj.js} +3 -3
- package/dist/{index-ygcng9t8.js → index-rpgg35ms.js} +50 -50
- package/dist/index-rw0qrkvq.js +560 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +27158 -24736
- package/dist/model-resolution-r9jbcz86.js +15 -0
- package/dist/{module-ES6BEMUI-atfbtnbp.js → module-ES6BEMUI-1yjdz59c.js} +4 -4
- package/dist/{module-asyncify-2EFITU5U-7xckhw8w.js → module-asyncify-2EFITU5U-fdkx4fhy.js} +1 -1
- package/dist/plugin/dream-timer.d.ts +8 -0
- package/dist/plugin/dream-timer.d.ts.map +1 -1
- 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/{prompt-context-jpe2dstn.js → prompt-context-29qkb28f.js} +1 -1
- package/dist/{recomp-orchestrator-jsde4ygw.js → recomp-orchestrator-2pncxee7.js} +15 -16
- package/dist/{rpc-notifications-4d22ybn5.js → rpc-notifications-1ffm755w.js} +6 -6
- package/dist/{safe-notification-target-b693f9x3.js → safe-notification-target-tepzc2xa.js} +3 -3
- package/dist/{send-session-notification-dxske5zm.js → send-session-notification-6v5b72b4.js} +7 -7
- package/dist/shared/harness-provider-map.d.ts +6 -0
- package/dist/shared/harness-provider-map.d.ts.map +1 -1
- 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/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-mk4gsnke.js → storage-meta-session-yvtbaw7c.js} +8 -8
- package/dist/{task-config-gbp7r23g.js → task-config-a1qmj9bx.js} +8 -8
- package/package.json +4 -2
- package/src/config/index.test.ts +73 -17
- package/src/config/index.ts +38 -23
- package/src/config/project-security.hostile-matrix.test.ts +471 -0
- package/src/config/project-security.test.ts +26 -5
- package/src/config/project-security.ts +141 -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 +145 -2
- package/src/config/schema/magic-context.ts +256 -52
- package/src/shared/harness-provider-map.test.ts +36 -0
- package/src/shared/harness-provider-map.ts +8 -0
- 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/status-detail-text.test.ts +80 -0
- package/src/shared/status-detail-text.ts +56 -0
- package/src/shared/subagent-runner.ts +3 -1
- package/src/tui/index.tsx +1 -1
- package/src/tui/tui-compiled-runtime-imports.test.ts +3 -0
- package/src/tui-compiled/index.tsx +1 -1
- package/dist/index-crke4z5j.js +0 -3022
- package/dist/index-td9depx5.js +0 -46
- package/dist/resolve-fallbacks-5n5tvge1.js +0 -11
|
@@ -2,7 +2,7 @@ import { z } from "zod";
|
|
|
2
2
|
import type { AGENTIC_DREAM_TASKS } from "../../features/magic-context/dreamer/task-registry";
|
|
3
3
|
export declare const DEFAULT_EXECUTE_THRESHOLD_PERCENTAGE = 65;
|
|
4
4
|
export declare const EXECUTE_THRESHOLD_CAP_MESSAGE = "execute_threshold is capped at 90% for cache safety: output capacity is reserved from the usable context window, and the remaining 10% absorbs mid-turn growth before the absolute 95% emergency wall. Use a value between 20 and 90.";
|
|
5
|
-
export declare const DEFAULT_HISTORIAN_TIMEOUT_MS =
|
|
5
|
+
export declare const DEFAULT_HISTORIAN_TIMEOUT_MS = 600000;
|
|
6
6
|
export declare const DEFAULT_HISTORY_BUDGET_PERCENTAGE = 0.15;
|
|
7
7
|
export declare const DEFAULT_LOCAL_EMBEDDING_MODEL = "Xenova/all-MiniLM-L6-v2";
|
|
8
8
|
export type DreamingTask = (typeof AGENTIC_DREAM_TASKS)[number];
|
|
@@ -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,102 +281,64 @@ export declare const DreamTasksSchema: z.ZodObject<{
|
|
|
172
281
|
xhigh: "xhigh";
|
|
173
282
|
max: "max";
|
|
174
283
|
}>>;
|
|
175
|
-
timeout_minutes: z.
|
|
176
|
-
}, z.core.$
|
|
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 DreamTaskConfigSchema: z.ZodObject<{
|
|
289
|
+
schedule: z.ZodDefault<z.ZodString>;
|
|
290
|
+
promotion_threshold: z.ZodOptional<z.ZodNumber>;
|
|
291
|
+
}, z.core.$strict>;
|
|
292
|
+
export type DreamTaskConfig = z.infer<typeof DreamTaskConfigSchema>;
|
|
293
|
+
/** The harness-independent task metadata record. Schedule remains the only
|
|
294
|
+
* disable control; runtime gates are not configuration fields. */
|
|
295
|
+
export declare const DreamTasksSchema: z.ZodObject<{
|
|
296
|
+
"map-memories": z.ZodDefault<z.ZodObject<{
|
|
297
|
+
schedule: z.ZodDefault<z.ZodString>;
|
|
298
|
+
}, z.core.$strict>>;
|
|
299
|
+
verify: z.ZodDefault<z.ZodObject<{
|
|
300
|
+
schedule: z.ZodDefault<z.ZodString>;
|
|
301
|
+
}, z.core.$strict>>;
|
|
302
|
+
"verify-broad": z.ZodDefault<z.ZodObject<{
|
|
303
|
+
schedule: z.ZodDefault<z.ZodString>;
|
|
304
|
+
}, z.core.$strict>>;
|
|
305
|
+
curate: z.ZodDefault<z.ZodObject<{
|
|
306
|
+
schedule: z.ZodDefault<z.ZodString>;
|
|
307
|
+
}, z.core.$strict>>;
|
|
308
|
+
"compress-cues": z.ZodDefault<z.ZodObject<{
|
|
309
|
+
schedule: z.ZodDefault<z.ZodString>;
|
|
310
|
+
}, z.core.$strict>>;
|
|
311
|
+
"classify-memories": z.ZodDefault<z.ZodObject<{
|
|
312
|
+
schedule: z.ZodDefault<z.ZodString>;
|
|
313
|
+
}, z.core.$strict>>;
|
|
314
|
+
retrospective: z.ZodDefault<z.ZodObject<{
|
|
315
|
+
schedule: z.ZodDefault<z.ZodString>;
|
|
316
|
+
}, z.core.$strict>>;
|
|
177
317
|
"maintain-docs": z.ZodDefault<z.ZodObject<{
|
|
178
318
|
schedule: z.ZodDefault<z.ZodString>;
|
|
179
|
-
|
|
180
|
-
fallback_models: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
181
|
-
thinking_level: z.ZodOptional<z.ZodEnum<{
|
|
182
|
-
off: "off";
|
|
183
|
-
minimal: "minimal";
|
|
184
|
-
low: "low";
|
|
185
|
-
medium: "medium";
|
|
186
|
-
high: "high";
|
|
187
|
-
xhigh: "xhigh";
|
|
188
|
-
max: "max";
|
|
189
|
-
}>>;
|
|
190
|
-
timeout_minutes: z.ZodDefault<z.ZodNumber>;
|
|
191
|
-
}, z.core.$strip>>;
|
|
319
|
+
}, z.core.$strict>>;
|
|
192
320
|
"evaluate-smart-notes": z.ZodDefault<z.ZodObject<{
|
|
193
321
|
schedule: z.ZodDefault<z.ZodString>;
|
|
194
|
-
|
|
195
|
-
fallback_models: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
196
|
-
thinking_level: z.ZodOptional<z.ZodEnum<{
|
|
197
|
-
off: "off";
|
|
198
|
-
minimal: "minimal";
|
|
199
|
-
low: "low";
|
|
200
|
-
medium: "medium";
|
|
201
|
-
high: "high";
|
|
202
|
-
xhigh: "xhigh";
|
|
203
|
-
max: "max";
|
|
204
|
-
}>>;
|
|
205
|
-
timeout_minutes: z.ZodDefault<z.ZodNumber>;
|
|
206
|
-
}, z.core.$strip>>;
|
|
322
|
+
}, z.core.$strict>>;
|
|
207
323
|
"review-user-memories": z.ZodDefault<z.ZodObject<{
|
|
208
324
|
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
325
|
promotion_threshold: z.ZodOptional<z.ZodNumber>;
|
|
222
|
-
}, z.core.$
|
|
326
|
+
}, z.core.$strict>>;
|
|
223
327
|
"promote-primers": z.ZodDefault<z.ZodObject<{
|
|
224
328
|
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
329
|
promotion_threshold: z.ZodOptional<z.ZodNumber>;
|
|
238
|
-
}, z.core.$
|
|
330
|
+
}, z.core.$strict>>;
|
|
239
331
|
"refresh-primers": z.ZodDefault<z.ZodObject<{
|
|
240
332
|
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>>;
|
|
333
|
+
}, z.core.$strict>>;
|
|
254
334
|
}, z.core.$strip>;
|
|
255
|
-
/** Combined dreamer
|
|
335
|
+
/** Combined dreamer metadata plus two independent strict execution blocks. */
|
|
256
336
|
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
337
|
mode: z.ZodOptional<z.ZodEnum<{
|
|
265
338
|
primary: "primary";
|
|
266
339
|
subagent: "subagent";
|
|
267
340
|
all: "all";
|
|
268
341
|
}>>;
|
|
269
|
-
color: z.ZodOptional<z.ZodString>;
|
|
270
|
-
maxSteps: z.ZodOptional<z.ZodNumber>;
|
|
271
342
|
permission: z.ZodOptional<z.ZodObject<{
|
|
272
343
|
edit: z.ZodOptional<z.ZodEnum<{
|
|
273
344
|
deny: "deny";
|
|
@@ -299,14 +370,41 @@ export declare const DreamerConfigSchema: z.ZodObject<{
|
|
|
299
370
|
ask: "ask";
|
|
300
371
|
}>>;
|
|
301
372
|
}, z.core.$strip>>;
|
|
373
|
+
tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
|
|
374
|
+
prompt: z.ZodOptional<z.ZodString>;
|
|
375
|
+
maxSteps: z.ZodOptional<z.ZodNumber>;
|
|
376
|
+
description: z.ZodOptional<z.ZodString>;
|
|
377
|
+
disable: z.ZodOptional<z.ZodBoolean>;
|
|
378
|
+
temperature: z.ZodOptional<z.ZodNumber>;
|
|
379
|
+
top_p: z.ZodOptional<z.ZodNumber>;
|
|
380
|
+
color: z.ZodOptional<z.ZodString>;
|
|
302
381
|
maxTokens: z.ZodOptional<z.ZodNumber>;
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
382
|
+
opencode: z.ZodOptional<z.ZodObject<{
|
|
383
|
+
model: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
384
|
+
model: z.ZodString;
|
|
385
|
+
variant: z.ZodOptional<z.ZodString>;
|
|
386
|
+
}, z.core.$strict>]>>;
|
|
387
|
+
fallback_models: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
388
|
+
model: z.ZodString;
|
|
389
|
+
variant: z.ZodOptional<z.ZodString>;
|
|
390
|
+
}, z.core.$strict>]>>>;
|
|
391
|
+
variant: z.ZodOptional<z.ZodString>;
|
|
392
|
+
tasks: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
393
|
+
model: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
394
|
+
model: z.ZodString;
|
|
395
|
+
variant: z.ZodOptional<z.ZodString>;
|
|
396
|
+
}, z.core.$strict>]>>;
|
|
397
|
+
fallback_models: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
398
|
+
model: z.ZodString;
|
|
399
|
+
variant: z.ZodOptional<z.ZodString>;
|
|
400
|
+
}, z.core.$strict>]>>>;
|
|
401
|
+
variant: z.ZodOptional<z.ZodString>;
|
|
402
|
+
timeout_minutes: z.ZodOptional<z.ZodNumber>;
|
|
403
|
+
}, z.core.$strict>>>;
|
|
404
|
+
}, z.core.$strict>>;
|
|
405
|
+
pi: z.ZodOptional<z.ZodObject<{
|
|
406
|
+
model: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
407
|
+
model: z.ZodString;
|
|
310
408
|
thinking_level: z.ZodOptional<z.ZodEnum<{
|
|
311
409
|
off: "off";
|
|
312
410
|
minimal: "minimal";
|
|
@@ -316,12 +414,9 @@ export declare const DreamerConfigSchema: z.ZodObject<{
|
|
|
316
414
|
xhigh: "xhigh";
|
|
317
415
|
max: "max";
|
|
318
416
|
}>>;
|
|
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>]>>;
|
|
417
|
+
}, z.core.$strict>]>>;
|
|
418
|
+
fallback_models: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
419
|
+
model: z.ZodString;
|
|
325
420
|
thinking_level: z.ZodOptional<z.ZodEnum<{
|
|
326
421
|
off: "off";
|
|
327
422
|
minimal: "minimal";
|
|
@@ -331,12 +426,41 @@ export declare const DreamerConfigSchema: z.ZodObject<{
|
|
|
331
426
|
xhigh: "xhigh";
|
|
332
427
|
max: "max";
|
|
333
428
|
}>>;
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
429
|
+
}, z.core.$strict>]>>>;
|
|
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
|
+
tasks: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
440
|
+
model: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
441
|
+
model: z.ZodString;
|
|
442
|
+
thinking_level: z.ZodOptional<z.ZodEnum<{
|
|
443
|
+
off: "off";
|
|
444
|
+
minimal: "minimal";
|
|
445
|
+
low: "low";
|
|
446
|
+
medium: "medium";
|
|
447
|
+
high: "high";
|
|
448
|
+
xhigh: "xhigh";
|
|
449
|
+
max: "max";
|
|
450
|
+
}>>;
|
|
451
|
+
}, z.core.$strict>]>>;
|
|
452
|
+
fallback_models: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
453
|
+
model: z.ZodString;
|
|
454
|
+
thinking_level: z.ZodOptional<z.ZodEnum<{
|
|
455
|
+
off: "off";
|
|
456
|
+
minimal: "minimal";
|
|
457
|
+
low: "low";
|
|
458
|
+
medium: "medium";
|
|
459
|
+
high: "high";
|
|
460
|
+
xhigh: "xhigh";
|
|
461
|
+
max: "max";
|
|
462
|
+
}>>;
|
|
463
|
+
}, z.core.$strict>]>>>;
|
|
340
464
|
thinking_level: z.ZodOptional<z.ZodEnum<{
|
|
341
465
|
off: "off";
|
|
342
466
|
minimal: "minimal";
|
|
@@ -346,156 +470,50 @@ export declare const DreamerConfigSchema: z.ZodObject<{
|
|
|
346
470
|
xhigh: "xhigh";
|
|
347
471
|
max: "max";
|
|
348
472
|
}>>;
|
|
349
|
-
timeout_minutes: z.
|
|
350
|
-
}, z.core.$
|
|
473
|
+
timeout_minutes: z.ZodOptional<z.ZodNumber>;
|
|
474
|
+
}, z.core.$strict>>>;
|
|
475
|
+
}, z.core.$strict>>;
|
|
476
|
+
tasks: z.ZodDefault<z.ZodObject<{
|
|
477
|
+
"map-memories": z.ZodDefault<z.ZodObject<{
|
|
478
|
+
schedule: z.ZodDefault<z.ZodString>;
|
|
479
|
+
}, z.core.$strict>>;
|
|
480
|
+
verify: z.ZodDefault<z.ZodObject<{
|
|
481
|
+
schedule: z.ZodDefault<z.ZodString>;
|
|
482
|
+
}, z.core.$strict>>;
|
|
483
|
+
"verify-broad": z.ZodDefault<z.ZodObject<{
|
|
484
|
+
schedule: z.ZodDefault<z.ZodString>;
|
|
485
|
+
}, z.core.$strict>>;
|
|
351
486
|
curate: z.ZodDefault<z.ZodObject<{
|
|
352
487
|
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>>;
|
|
488
|
+
}, z.core.$strict>>;
|
|
366
489
|
"compress-cues": z.ZodDefault<z.ZodObject<{
|
|
367
490
|
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>>;
|
|
491
|
+
}, z.core.$strict>>;
|
|
381
492
|
"classify-memories": z.ZodDefault<z.ZodObject<{
|
|
382
493
|
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>>;
|
|
494
|
+
}, z.core.$strict>>;
|
|
396
495
|
retrospective: z.ZodDefault<z.ZodObject<{
|
|
397
496
|
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>>;
|
|
497
|
+
}, z.core.$strict>>;
|
|
411
498
|
"maintain-docs": z.ZodDefault<z.ZodObject<{
|
|
412
499
|
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>>;
|
|
500
|
+
}, z.core.$strict>>;
|
|
426
501
|
"evaluate-smart-notes": z.ZodDefault<z.ZodObject<{
|
|
427
502
|
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>>;
|
|
503
|
+
}, z.core.$strict>>;
|
|
441
504
|
"review-user-memories": z.ZodDefault<z.ZodObject<{
|
|
442
505
|
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
506
|
promotion_threshold: z.ZodOptional<z.ZodNumber>;
|
|
456
|
-
}, z.core.$
|
|
507
|
+
}, z.core.$strict>>;
|
|
457
508
|
"promote-primers": z.ZodDefault<z.ZodObject<{
|
|
458
509
|
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
510
|
promotion_threshold: z.ZodOptional<z.ZodNumber>;
|
|
472
|
-
}, z.core.$
|
|
511
|
+
}, z.core.$strict>>;
|
|
473
512
|
"refresh-primers": z.ZodDefault<z.ZodObject<{
|
|
474
513
|
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>>;
|
|
514
|
+
}, z.core.$strict>>;
|
|
488
515
|
}, z.core.$strip>>;
|
|
489
516
|
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
517
|
}, z.core.$strip>;
|
|
500
518
|
export type DreamerConfig = z.infer<typeof DreamerConfigSchema>;
|
|
501
519
|
export declare const SidekickConfigSchema: z.ZodOptional<z.ZodObject<{
|
|
@@ -560,26 +578,16 @@ export declare const SidekickConfigSchema: z.ZodOptional<z.ZodObject<{
|
|
|
560
578
|
}>>;
|
|
561
579
|
}, z.core.$strip>>;
|
|
562
580
|
export type SidekickConfig = NonNullable<z.infer<typeof SidekickConfigSchema>>;
|
|
563
|
-
/**
|
|
564
|
-
*
|
|
565
|
-
*
|
|
566
|
-
|
|
567
|
-
* enabled via OpenCode variant config. */
|
|
581
|
+
/**
|
|
582
|
+
* Historian metadata remains harness-independent. Only model resolution moves to
|
|
583
|
+
* the strict opencode and pi blocks; two_pass and disallowed_tools stay here.
|
|
584
|
+
*/
|
|
568
585
|
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
586
|
mode: z.ZodOptional<z.ZodEnum<{
|
|
577
587
|
primary: "primary";
|
|
578
588
|
subagent: "subagent";
|
|
579
589
|
all: "all";
|
|
580
590
|
}>>;
|
|
581
|
-
color: z.ZodOptional<z.ZodString>;
|
|
582
|
-
maxSteps: z.ZodOptional<z.ZodNumber>;
|
|
583
591
|
permission: z.ZodOptional<z.ZodObject<{
|
|
584
592
|
edit: z.ZodOptional<z.ZodEnum<{
|
|
585
593
|
deny: "deny";
|
|
@@ -611,19 +619,62 @@ export declare const HistorianConfigSchema: z.ZodOptional<z.ZodObject<{
|
|
|
611
619
|
ask: "ask";
|
|
612
620
|
}>>;
|
|
613
621
|
}, z.core.$strip>>;
|
|
622
|
+
tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
|
|
623
|
+
prompt: z.ZodOptional<z.ZodString>;
|
|
624
|
+
maxSteps: z.ZodOptional<z.ZodNumber>;
|
|
625
|
+
description: z.ZodOptional<z.ZodString>;
|
|
626
|
+
disable: z.ZodOptional<z.ZodBoolean>;
|
|
627
|
+
temperature: z.ZodOptional<z.ZodNumber>;
|
|
628
|
+
top_p: z.ZodOptional<z.ZodNumber>;
|
|
629
|
+
color: z.ZodOptional<z.ZodString>;
|
|
614
630
|
maxTokens: z.ZodOptional<z.ZodNumber>;
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
631
|
+
opencode: z.ZodOptional<z.ZodObject<{
|
|
632
|
+
model: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
633
|
+
model: z.ZodString;
|
|
634
|
+
variant: z.ZodOptional<z.ZodString>;
|
|
635
|
+
}, z.core.$strict>]>>;
|
|
636
|
+
fallback_models: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
637
|
+
model: z.ZodString;
|
|
638
|
+
variant: z.ZodOptional<z.ZodString>;
|
|
639
|
+
}, z.core.$strict>]>>>;
|
|
640
|
+
variant: z.ZodOptional<z.ZodString>;
|
|
641
|
+
}, z.core.$strict>>;
|
|
642
|
+
pi: z.ZodOptional<z.ZodObject<{
|
|
643
|
+
model: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
644
|
+
model: z.ZodString;
|
|
645
|
+
thinking_level: z.ZodOptional<z.ZodEnum<{
|
|
646
|
+
off: "off";
|
|
647
|
+
minimal: "minimal";
|
|
648
|
+
low: "low";
|
|
649
|
+
medium: "medium";
|
|
650
|
+
high: "high";
|
|
651
|
+
xhigh: "xhigh";
|
|
652
|
+
max: "max";
|
|
653
|
+
}>>;
|
|
654
|
+
}, z.core.$strict>]>>;
|
|
655
|
+
fallback_models: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
656
|
+
model: z.ZodString;
|
|
657
|
+
thinking_level: z.ZodOptional<z.ZodEnum<{
|
|
658
|
+
off: "off";
|
|
659
|
+
minimal: "minimal";
|
|
660
|
+
low: "low";
|
|
661
|
+
medium: "medium";
|
|
662
|
+
high: "high";
|
|
663
|
+
xhigh: "xhigh";
|
|
664
|
+
max: "max";
|
|
665
|
+
}>>;
|
|
666
|
+
}, z.core.$strict>]>>>;
|
|
667
|
+
thinking_level: z.ZodOptional<z.ZodEnum<{
|
|
668
|
+
off: "off";
|
|
669
|
+
minimal: "minimal";
|
|
670
|
+
low: "low";
|
|
671
|
+
medium: "medium";
|
|
672
|
+
high: "high";
|
|
673
|
+
xhigh: "xhigh";
|
|
674
|
+
max: "max";
|
|
675
|
+
}>>;
|
|
676
|
+
}, z.core.$strict>>;
|
|
677
|
+
two_pass: z.ZodDefault<z.ZodBoolean>;
|
|
627
678
|
disallowed_tools: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
628
679
|
"*": "*";
|
|
629
680
|
read: "read";
|
|
@@ -926,20 +977,11 @@ export declare const MagicContextConfigSchema: z.ZodPipe<z.ZodObject<{
|
|
|
926
977
|
auto_update: z.ZodOptional<z.ZodBoolean>;
|
|
927
978
|
language: z.ZodOptional<z.ZodString>;
|
|
928
979
|
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
980
|
mode: z.ZodOptional<z.ZodEnum<{
|
|
937
981
|
primary: "primary";
|
|
938
982
|
subagent: "subagent";
|
|
939
983
|
all: "all";
|
|
940
984
|
}>>;
|
|
941
|
-
color: z.ZodOptional<z.ZodString>;
|
|
942
|
-
maxSteps: z.ZodOptional<z.ZodNumber>;
|
|
943
985
|
permission: z.ZodOptional<z.ZodObject<{
|
|
944
986
|
edit: z.ZodOptional<z.ZodEnum<{
|
|
945
987
|
deny: "deny";
|
|
@@ -971,19 +1013,62 @@ export declare const MagicContextConfigSchema: z.ZodPipe<z.ZodObject<{
|
|
|
971
1013
|
ask: "ask";
|
|
972
1014
|
}>>;
|
|
973
1015
|
}, z.core.$strip>>;
|
|
1016
|
+
tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
|
|
1017
|
+
prompt: z.ZodOptional<z.ZodString>;
|
|
1018
|
+
maxSteps: z.ZodOptional<z.ZodNumber>;
|
|
1019
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1020
|
+
disable: z.ZodOptional<z.ZodBoolean>;
|
|
1021
|
+
temperature: z.ZodOptional<z.ZodNumber>;
|
|
1022
|
+
top_p: z.ZodOptional<z.ZodNumber>;
|
|
1023
|
+
color: z.ZodOptional<z.ZodString>;
|
|
974
1024
|
maxTokens: z.ZodOptional<z.ZodNumber>;
|
|
975
|
-
|
|
976
|
-
|
|
1025
|
+
opencode: z.ZodOptional<z.ZodObject<{
|
|
1026
|
+
model: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
1027
|
+
model: z.ZodString;
|
|
1028
|
+
variant: z.ZodOptional<z.ZodString>;
|
|
1029
|
+
}, z.core.$strict>]>>;
|
|
1030
|
+
fallback_models: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
1031
|
+
model: z.ZodString;
|
|
1032
|
+
variant: z.ZodOptional<z.ZodString>;
|
|
1033
|
+
}, z.core.$strict>]>>>;
|
|
1034
|
+
variant: z.ZodOptional<z.ZodString>;
|
|
1035
|
+
}, z.core.$strict>>;
|
|
1036
|
+
pi: z.ZodOptional<z.ZodObject<{
|
|
1037
|
+
model: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
1038
|
+
model: z.ZodString;
|
|
1039
|
+
thinking_level: z.ZodOptional<z.ZodEnum<{
|
|
1040
|
+
off: "off";
|
|
1041
|
+
minimal: "minimal";
|
|
1042
|
+
low: "low";
|
|
1043
|
+
medium: "medium";
|
|
1044
|
+
high: "high";
|
|
1045
|
+
xhigh: "xhigh";
|
|
1046
|
+
max: "max";
|
|
1047
|
+
}>>;
|
|
1048
|
+
}, z.core.$strict>]>>;
|
|
1049
|
+
fallback_models: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
1050
|
+
model: z.ZodString;
|
|
1051
|
+
thinking_level: z.ZodOptional<z.ZodEnum<{
|
|
1052
|
+
off: "off";
|
|
1053
|
+
minimal: "minimal";
|
|
1054
|
+
low: "low";
|
|
1055
|
+
medium: "medium";
|
|
1056
|
+
high: "high";
|
|
1057
|
+
xhigh: "xhigh";
|
|
1058
|
+
max: "max";
|
|
1059
|
+
}>>;
|
|
1060
|
+
}, z.core.$strict>]>>>;
|
|
1061
|
+
thinking_level: z.ZodOptional<z.ZodEnum<{
|
|
1062
|
+
off: "off";
|
|
1063
|
+
minimal: "minimal";
|
|
1064
|
+
low: "low";
|
|
1065
|
+
medium: "medium";
|
|
1066
|
+
high: "high";
|
|
1067
|
+
xhigh: "xhigh";
|
|
1068
|
+
max: "max";
|
|
1069
|
+
}>>;
|
|
1070
|
+
}, z.core.$strict>>;
|
|
977
1071
|
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
1072
|
disallowed_tools: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
988
1073
|
"*": "*";
|
|
989
1074
|
read: "read";
|
|
@@ -993,20 +1078,11 @@ export declare const MagicContextConfigSchema: z.ZodPipe<z.ZodObject<{
|
|
|
993
1078
|
}>>>;
|
|
994
1079
|
}, z.core.$strip>>;
|
|
995
1080
|
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
1081
|
mode: z.ZodOptional<z.ZodEnum<{
|
|
1004
1082
|
primary: "primary";
|
|
1005
1083
|
subagent: "subagent";
|
|
1006
1084
|
all: "all";
|
|
1007
1085
|
}>>;
|
|
1008
|
-
color: z.ZodOptional<z.ZodString>;
|
|
1009
|
-
maxSteps: z.ZodOptional<z.ZodNumber>;
|
|
1010
1086
|
permission: z.ZodOptional<z.ZodObject<{
|
|
1011
1087
|
edit: z.ZodOptional<z.ZodEnum<{
|
|
1012
1088
|
deny: "deny";
|
|
@@ -1038,14 +1114,41 @@ export declare const MagicContextConfigSchema: z.ZodPipe<z.ZodObject<{
|
|
|
1038
1114
|
ask: "ask";
|
|
1039
1115
|
}>>;
|
|
1040
1116
|
}, z.core.$strip>>;
|
|
1117
|
+
tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
|
|
1118
|
+
prompt: z.ZodOptional<z.ZodString>;
|
|
1119
|
+
maxSteps: z.ZodOptional<z.ZodNumber>;
|
|
1120
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1121
|
+
disable: z.ZodOptional<z.ZodBoolean>;
|
|
1122
|
+
temperature: z.ZodOptional<z.ZodNumber>;
|
|
1123
|
+
top_p: z.ZodOptional<z.ZodNumber>;
|
|
1124
|
+
color: z.ZodOptional<z.ZodString>;
|
|
1041
1125
|
maxTokens: z.ZodOptional<z.ZodNumber>;
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1126
|
+
opencode: z.ZodOptional<z.ZodObject<{
|
|
1127
|
+
model: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
1128
|
+
model: z.ZodString;
|
|
1129
|
+
variant: z.ZodOptional<z.ZodString>;
|
|
1130
|
+
}, z.core.$strict>]>>;
|
|
1131
|
+
fallback_models: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
1132
|
+
model: z.ZodString;
|
|
1133
|
+
variant: z.ZodOptional<z.ZodString>;
|
|
1134
|
+
}, z.core.$strict>]>>>;
|
|
1135
|
+
variant: z.ZodOptional<z.ZodString>;
|
|
1136
|
+
tasks: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1137
|
+
model: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
1138
|
+
model: z.ZodString;
|
|
1139
|
+
variant: z.ZodOptional<z.ZodString>;
|
|
1140
|
+
}, z.core.$strict>]>>;
|
|
1141
|
+
fallback_models: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
1142
|
+
model: z.ZodString;
|
|
1143
|
+
variant: z.ZodOptional<z.ZodString>;
|
|
1144
|
+
}, z.core.$strict>]>>>;
|
|
1145
|
+
variant: z.ZodOptional<z.ZodString>;
|
|
1146
|
+
timeout_minutes: z.ZodOptional<z.ZodNumber>;
|
|
1147
|
+
}, z.core.$strict>>>;
|
|
1148
|
+
}, z.core.$strict>>;
|
|
1149
|
+
pi: z.ZodOptional<z.ZodObject<{
|
|
1150
|
+
model: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
1151
|
+
model: z.ZodString;
|
|
1049
1152
|
thinking_level: z.ZodOptional<z.ZodEnum<{
|
|
1050
1153
|
off: "off";
|
|
1051
1154
|
minimal: "minimal";
|
|
@@ -1055,12 +1158,9 @@ export declare const MagicContextConfigSchema: z.ZodPipe<z.ZodObject<{
|
|
|
1055
1158
|
xhigh: "xhigh";
|
|
1056
1159
|
max: "max";
|
|
1057
1160
|
}>>;
|
|
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>]>>;
|
|
1161
|
+
}, z.core.$strict>]>>;
|
|
1162
|
+
fallback_models: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
1163
|
+
model: z.ZodString;
|
|
1064
1164
|
thinking_level: z.ZodOptional<z.ZodEnum<{
|
|
1065
1165
|
off: "off";
|
|
1066
1166
|
minimal: "minimal";
|
|
@@ -1070,12 +1170,41 @@ export declare const MagicContextConfigSchema: z.ZodPipe<z.ZodObject<{
|
|
|
1070
1170
|
xhigh: "xhigh";
|
|
1071
1171
|
max: "max";
|
|
1072
1172
|
}>>;
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1173
|
+
}, z.core.$strict>]>>>;
|
|
1174
|
+
thinking_level: z.ZodOptional<z.ZodEnum<{
|
|
1175
|
+
off: "off";
|
|
1176
|
+
minimal: "minimal";
|
|
1177
|
+
low: "low";
|
|
1178
|
+
medium: "medium";
|
|
1179
|
+
high: "high";
|
|
1180
|
+
xhigh: "xhigh";
|
|
1181
|
+
max: "max";
|
|
1182
|
+
}>>;
|
|
1183
|
+
tasks: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1184
|
+
model: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
1185
|
+
model: z.ZodString;
|
|
1186
|
+
thinking_level: z.ZodOptional<z.ZodEnum<{
|
|
1187
|
+
off: "off";
|
|
1188
|
+
minimal: "minimal";
|
|
1189
|
+
low: "low";
|
|
1190
|
+
medium: "medium";
|
|
1191
|
+
high: "high";
|
|
1192
|
+
xhigh: "xhigh";
|
|
1193
|
+
max: "max";
|
|
1194
|
+
}>>;
|
|
1195
|
+
}, z.core.$strict>]>>;
|
|
1196
|
+
fallback_models: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
1197
|
+
model: z.ZodString;
|
|
1198
|
+
thinking_level: z.ZodOptional<z.ZodEnum<{
|
|
1199
|
+
off: "off";
|
|
1200
|
+
minimal: "minimal";
|
|
1201
|
+
low: "low";
|
|
1202
|
+
medium: "medium";
|
|
1203
|
+
high: "high";
|
|
1204
|
+
xhigh: "xhigh";
|
|
1205
|
+
max: "max";
|
|
1206
|
+
}>>;
|
|
1207
|
+
}, z.core.$strict>]>>>;
|
|
1079
1208
|
thinking_level: z.ZodOptional<z.ZodEnum<{
|
|
1080
1209
|
off: "off";
|
|
1081
1210
|
minimal: "minimal";
|
|
@@ -1085,156 +1214,50 @@ export declare const MagicContextConfigSchema: z.ZodPipe<z.ZodObject<{
|
|
|
1085
1214
|
xhigh: "xhigh";
|
|
1086
1215
|
max: "max";
|
|
1087
1216
|
}>>;
|
|
1088
|
-
timeout_minutes: z.
|
|
1089
|
-
}, z.core.$
|
|
1217
|
+
timeout_minutes: z.ZodOptional<z.ZodNumber>;
|
|
1218
|
+
}, z.core.$strict>>>;
|
|
1219
|
+
}, z.core.$strict>>;
|
|
1220
|
+
tasks: z.ZodDefault<z.ZodObject<{
|
|
1221
|
+
"map-memories": z.ZodDefault<z.ZodObject<{
|
|
1222
|
+
schedule: z.ZodDefault<z.ZodString>;
|
|
1223
|
+
}, z.core.$strict>>;
|
|
1224
|
+
verify: z.ZodDefault<z.ZodObject<{
|
|
1225
|
+
schedule: z.ZodDefault<z.ZodString>;
|
|
1226
|
+
}, z.core.$strict>>;
|
|
1227
|
+
"verify-broad": z.ZodDefault<z.ZodObject<{
|
|
1228
|
+
schedule: z.ZodDefault<z.ZodString>;
|
|
1229
|
+
}, z.core.$strict>>;
|
|
1090
1230
|
curate: z.ZodDefault<z.ZodObject<{
|
|
1091
1231
|
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>>;
|
|
1232
|
+
}, z.core.$strict>>;
|
|
1105
1233
|
"compress-cues": z.ZodDefault<z.ZodObject<{
|
|
1106
1234
|
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>>;
|
|
1235
|
+
}, z.core.$strict>>;
|
|
1120
1236
|
"classify-memories": z.ZodDefault<z.ZodObject<{
|
|
1121
1237
|
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>>;
|
|
1238
|
+
}, z.core.$strict>>;
|
|
1135
1239
|
retrospective: z.ZodDefault<z.ZodObject<{
|
|
1136
1240
|
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>>;
|
|
1241
|
+
}, z.core.$strict>>;
|
|
1150
1242
|
"maintain-docs": z.ZodDefault<z.ZodObject<{
|
|
1151
1243
|
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>>;
|
|
1244
|
+
}, z.core.$strict>>;
|
|
1165
1245
|
"evaluate-smart-notes": z.ZodDefault<z.ZodObject<{
|
|
1166
1246
|
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>>;
|
|
1247
|
+
}, z.core.$strict>>;
|
|
1180
1248
|
"review-user-memories": z.ZodDefault<z.ZodObject<{
|
|
1181
1249
|
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
1250
|
promotion_threshold: z.ZodOptional<z.ZodNumber>;
|
|
1195
|
-
}, z.core.$
|
|
1251
|
+
}, z.core.$strict>>;
|
|
1196
1252
|
"promote-primers": z.ZodDefault<z.ZodObject<{
|
|
1197
1253
|
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
1254
|
promotion_threshold: z.ZodOptional<z.ZodNumber>;
|
|
1211
|
-
}, z.core.$
|
|
1255
|
+
}, z.core.$strict>>;
|
|
1212
1256
|
"refresh-primers": z.ZodDefault<z.ZodObject<{
|
|
1213
1257
|
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>>;
|
|
1258
|
+
}, z.core.$strict>>;
|
|
1227
1259
|
}, z.core.$strip>>;
|
|
1228
1260
|
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
1261
|
}, z.core.$strip>>;
|
|
1239
1262
|
smart_notes: z.ZodDefault<z.ZodObject<{
|
|
1240
1263
|
retina_handoff: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -1569,16 +1592,7 @@ export declare const MagicContextConfigSchema: z.ZodPipe<z.ZodObject<{
|
|
|
1569
1592
|
historian?: {
|
|
1570
1593
|
two_pass: boolean;
|
|
1571
1594
|
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
1595
|
mode?: "primary" | "subagent" | "all" | undefined;
|
|
1580
|
-
color?: string | undefined;
|
|
1581
|
-
maxSteps?: number | undefined;
|
|
1582
1596
|
permission?: {
|
|
1583
1597
|
edit?: "deny" | "allow" | "ask" | undefined;
|
|
1584
1598
|
bash?: "deny" | "allow" | "ask" | Record<string, "deny" | "allow" | "ask"> | undefined;
|
|
@@ -1586,111 +1600,81 @@ export declare const MagicContextConfigSchema: z.ZodPipe<z.ZodObject<{
|
|
|
1586
1600
|
doom_loop?: "deny" | "allow" | "ask" | undefined;
|
|
1587
1601
|
external_directory?: "deny" | "allow" | "ask" | undefined;
|
|
1588
1602
|
} | undefined;
|
|
1603
|
+
tools?: Record<string, boolean> | undefined;
|
|
1604
|
+
prompt?: string | undefined;
|
|
1605
|
+
maxSteps?: number | undefined;
|
|
1606
|
+
description?: string | undefined;
|
|
1607
|
+
disable?: boolean | undefined;
|
|
1608
|
+
temperature?: number | undefined;
|
|
1609
|
+
top_p?: number | undefined;
|
|
1610
|
+
color?: string | undefined;
|
|
1589
1611
|
maxTokens?: number | undefined;
|
|
1590
|
-
|
|
1591
|
-
|
|
1592
|
-
|
|
1612
|
+
opencode?: {
|
|
1613
|
+
model?: string | {
|
|
1614
|
+
model: string;
|
|
1615
|
+
variant?: string | undefined;
|
|
1616
|
+
} | undefined;
|
|
1617
|
+
fallback_models?: (string | {
|
|
1618
|
+
model: string;
|
|
1619
|
+
variant?: string | undefined;
|
|
1620
|
+
})[] | undefined;
|
|
1621
|
+
variant?: string | undefined;
|
|
1622
|
+
} | undefined;
|
|
1623
|
+
pi?: {
|
|
1624
|
+
model?: string | {
|
|
1625
|
+
model: string;
|
|
1626
|
+
thinking_level?: "off" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
1627
|
+
} | undefined;
|
|
1628
|
+
fallback_models?: (string | {
|
|
1629
|
+
model: string;
|
|
1630
|
+
thinking_level?: "off" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
1631
|
+
})[] | undefined;
|
|
1632
|
+
thinking_level?: "off" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
1633
|
+
} | undefined;
|
|
1593
1634
|
} | undefined;
|
|
1594
1635
|
dreamer?: {
|
|
1595
1636
|
tasks: {
|
|
1596
1637
|
"map-memories": {
|
|
1597
1638
|
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
1639
|
};
|
|
1603
1640
|
verify: {
|
|
1604
1641
|
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
1642
|
};
|
|
1610
1643
|
"verify-broad": {
|
|
1611
1644
|
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
1645
|
};
|
|
1617
1646
|
curate: {
|
|
1618
1647
|
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
1648
|
};
|
|
1624
1649
|
"compress-cues": {
|
|
1625
1650
|
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
1651
|
};
|
|
1631
1652
|
"classify-memories": {
|
|
1632
1653
|
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
1654
|
};
|
|
1638
1655
|
retrospective: {
|
|
1639
1656
|
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
1657
|
};
|
|
1645
1658
|
"maintain-docs": {
|
|
1646
1659
|
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
1660
|
};
|
|
1652
1661
|
"evaluate-smart-notes": {
|
|
1653
1662
|
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
1663
|
};
|
|
1659
1664
|
"review-user-memories": {
|
|
1660
1665
|
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
1666
|
promotion_threshold?: number | undefined;
|
|
1666
1667
|
};
|
|
1667
1668
|
"promote-primers": {
|
|
1668
1669
|
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
1670
|
promotion_threshold?: number | undefined;
|
|
1674
1671
|
};
|
|
1675
1672
|
"refresh-primers": {
|
|
1676
1673
|
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
1674
|
};
|
|
1682
1675
|
};
|
|
1683
1676
|
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
1677
|
mode?: "primary" | "subagent" | "all" | undefined;
|
|
1692
|
-
color?: string | undefined;
|
|
1693
|
-
maxSteps?: number | undefined;
|
|
1694
1678
|
permission?: {
|
|
1695
1679
|
edit?: "deny" | "allow" | "ask" | undefined;
|
|
1696
1680
|
bash?: "deny" | "allow" | "ask" | Record<string, "deny" | "allow" | "ask"> | undefined;
|
|
@@ -1698,10 +1682,61 @@ export declare const MagicContextConfigSchema: z.ZodPipe<z.ZodObject<{
|
|
|
1698
1682
|
doom_loop?: "deny" | "allow" | "ask" | undefined;
|
|
1699
1683
|
external_directory?: "deny" | "allow" | "ask" | undefined;
|
|
1700
1684
|
} | undefined;
|
|
1685
|
+
tools?: Record<string, boolean> | undefined;
|
|
1686
|
+
prompt?: string | undefined;
|
|
1687
|
+
maxSteps?: number | undefined;
|
|
1688
|
+
description?: string | undefined;
|
|
1689
|
+
disable?: boolean | undefined;
|
|
1690
|
+
temperature?: number | undefined;
|
|
1691
|
+
top_p?: number | undefined;
|
|
1692
|
+
color?: string | undefined;
|
|
1701
1693
|
maxTokens?: number | undefined;
|
|
1702
|
-
|
|
1703
|
-
|
|
1704
|
-
|
|
1694
|
+
opencode?: {
|
|
1695
|
+
model?: string | {
|
|
1696
|
+
model: string;
|
|
1697
|
+
variant?: string | undefined;
|
|
1698
|
+
} | undefined;
|
|
1699
|
+
fallback_models?: (string | {
|
|
1700
|
+
model: string;
|
|
1701
|
+
variant?: string | undefined;
|
|
1702
|
+
})[] | undefined;
|
|
1703
|
+
variant?: string | undefined;
|
|
1704
|
+
tasks?: Record<string, {
|
|
1705
|
+
model?: string | {
|
|
1706
|
+
model: string;
|
|
1707
|
+
variant?: string | undefined;
|
|
1708
|
+
} | undefined;
|
|
1709
|
+
fallback_models?: (string | {
|
|
1710
|
+
model: string;
|
|
1711
|
+
variant?: string | undefined;
|
|
1712
|
+
})[] | undefined;
|
|
1713
|
+
variant?: string | undefined;
|
|
1714
|
+
timeout_minutes?: number | undefined;
|
|
1715
|
+
}> | undefined;
|
|
1716
|
+
} | undefined;
|
|
1717
|
+
pi?: {
|
|
1718
|
+
model?: string | {
|
|
1719
|
+
model: string;
|
|
1720
|
+
thinking_level?: "off" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
1721
|
+
} | undefined;
|
|
1722
|
+
fallback_models?: (string | {
|
|
1723
|
+
model: string;
|
|
1724
|
+
thinking_level?: "off" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
1725
|
+
})[] | undefined;
|
|
1726
|
+
thinking_level?: "off" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
1727
|
+
tasks?: Record<string, {
|
|
1728
|
+
model?: string | {
|
|
1729
|
+
model: string;
|
|
1730
|
+
thinking_level?: "off" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
1731
|
+
} | undefined;
|
|
1732
|
+
fallback_models?: (string | {
|
|
1733
|
+
model: string;
|
|
1734
|
+
thinking_level?: "off" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
1735
|
+
})[] | undefined;
|
|
1736
|
+
thinking_level?: "off" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
1737
|
+
timeout_minutes?: number | undefined;
|
|
1738
|
+
}> | undefined;
|
|
1739
|
+
} | undefined;
|
|
1705
1740
|
} | undefined;
|
|
1706
1741
|
output_reserve?: number | {
|
|
1707
1742
|
[x: string]: number;
|