@sayknow-cli/coding-agent 0.3.12 → 0.3.15
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/dist/types/autoresearch/tools/init-experiment.d.ts +1 -1
- package/dist/types/autoresearch/tools/log-experiment.d.ts +2 -2
- package/dist/types/cli/classify-install-target.d.ts +0 -10
- package/dist/types/cli/daemon-cli.d.ts +2 -0
- package/dist/types/cli/initial-message.d.ts +1 -1
- package/dist/types/cli/malloc-env-guard.d.ts +65 -0
- package/dist/types/cli/malloc-env-guard.test.d.ts +1 -0
- package/dist/types/cli/notify-cli.d.ts +3 -1
- package/dist/types/cli/session-picker.d.ts +4 -3
- package/dist/types/cli/update-cli.d.ts +22 -3
- package/dist/types/cli.d.ts +5 -0
- package/dist/types/commands/daemon.d.ts +6 -2
- package/dist/types/commands/launch.d.ts +1 -0
- package/dist/types/commands/notify.d.ts +6 -0
- package/dist/types/commands/web-search.d.ts +1 -1
- package/dist/types/commit/agentic/tools/propose-changelog.d.ts +4 -4
- package/dist/types/commit/agentic/tools/propose-commit.d.ts +9 -9
- package/dist/types/commit/agentic/tools/schemas.d.ts +9 -9
- package/dist/types/commit/agentic/tools/split-commit.d.ts +9 -9
- package/dist/types/commit/analysis/conventional.d.ts +1 -1
- package/dist/types/commit/analysis/summary.d.ts +1 -1
- package/dist/types/commit/changelog/generate.d.ts +3 -3
- package/dist/types/commit/changelog/index.d.ts +2 -2
- package/dist/types/commit/map-reduce/map-phase.d.ts +1 -1
- package/dist/types/commit/map-reduce/reduce-phase.d.ts +1 -1
- package/dist/types/commit/shared-llm.d.ts +9 -9
- package/dist/types/config/keybindings.d.ts +134 -129
- package/dist/types/config/model-profile-activation.d.ts +1 -0
- package/dist/types/config/model-registry.d.ts +35 -35
- package/dist/types/config/models-config-schema.d.ts +111 -111
- package/dist/types/config/settings-schema.d.ts +56 -16
- package/dist/types/config/settings.d.ts +2 -0
- package/dist/types/coordinator/contract.d.ts +1 -1
- package/dist/types/coordinator-mcp/model-preset.d.ts +45 -0
- package/dist/types/coordinator-mcp/policy.d.ts +3 -0
- package/dist/types/coordinator-mcp/server.d.ts +79 -6
- package/dist/types/coordinator-mcp/session-reaper.d.ts +53 -0
- package/dist/types/daemon/control-types.d.ts +10 -0
- package/dist/types/daemon/operator-contract.d.ts +47 -0
- package/dist/types/defaults/skc/extensions/grok-cli-vendor/src/models/catalog.d.ts +4 -0
- package/dist/types/defaults/skc/extensions/grok-cli-vendor/src/shared/errors.d.ts +12 -12
- package/dist/types/discovery/helpers.d.ts +1 -1
- package/dist/types/discovery/substitute-plugin-root.d.ts +0 -4
- package/dist/types/edit/modes/patch.d.ts +2 -2
- package/dist/types/extensibility/extensions/types.d.ts +3 -1
- package/dist/types/goals/tools/goal-tool.d.ts +6 -6
- package/dist/types/i18n/messages/en.d.ts +8 -8
- package/dist/types/internal-urls/local-protocol.d.ts +13 -9
- package/dist/types/lsp/index.d.ts +9 -9
- package/dist/types/lsp/types.d.ts +9 -9
- package/dist/types/main.d.ts +66 -2
- package/dist/types/modes/acp/acp-agent.d.ts +19 -2
- package/dist/types/modes/acp/acp-mode.d.ts +12 -0
- package/dist/types/modes/components/assistant-message.d.ts +1 -1
- package/dist/types/modes/components/custom-editor.d.ts +2 -0
- package/dist/types/modes/components/hook-selector.d.ts +5 -0
- package/dist/types/modes/components/irc-sidebar.d.ts +32 -0
- package/dist/types/modes/components/pet-selector.d.ts +11 -0
- package/dist/types/modes/components/sayknow-pet-widget.d.ts +59 -0
- package/dist/types/modes/components/session-selector.d.ts +22 -9
- package/dist/types/modes/components/settings-selector.d.ts +2 -0
- package/dist/types/modes/components/status-line/types.d.ts +1 -1
- package/dist/types/modes/components/status-line.d.ts +0 -10
- package/dist/types/modes/components/tool-execution.d.ts +1 -0
- package/dist/types/modes/components/user-message.d.ts +2 -1
- package/dist/types/modes/controllers/event-controller.d.ts +4 -0
- package/dist/types/modes/controllers/selector-controller.d.ts +1 -0
- package/dist/types/modes/interactive-mode.d.ts +24 -2
- package/dist/types/modes/irc-observation-ledger.d.ts +22 -0
- package/dist/types/modes/print-mode.d.ts +3 -4
- package/dist/types/modes/rpc/rpc-client.d.ts +7 -1
- package/dist/types/modes/rpc/rpc-mode.d.ts +2 -1
- package/dist/types/modes/rpc/rpc-types.d.ts +17 -1
- package/dist/types/modes/shared/agent-wire/deep-interview-gate.d.ts +8 -0
- package/dist/types/modes/shared/agent-wire/unattended-run-controller.d.ts +5 -0
- package/dist/types/modes/shared/agent-wire/unattended-session.d.ts +45 -0
- package/dist/types/modes/shared/agent-wire/workflow-gate-broker.d.ts +42 -2
- package/dist/types/modes/theme/defaults/index.d.ts +568 -568
- package/dist/types/modes/types.d.ts +28 -2
- package/dist/types/modes/utils/abort-message.d.ts +1 -1
- package/dist/types/modes/utils/context-usage.d.ts +4 -19
- package/dist/types/modes/utils/irc-message.d.ts +38 -0
- package/dist/types/modes/utils/ui-helpers.d.ts +13 -4
- package/dist/types/notifications/config.d.ts +34 -0
- package/dist/types/notifications/daemon-paths.d.ts +7 -0
- package/dist/types/notifications/index.d.ts +27 -0
- package/dist/types/notifications/lifecycle-control-runtime.d.ts +12 -4
- package/dist/types/notifications/notification-service.d.ts +144 -0
- package/dist/types/notifications/rate-limit-pool.d.ts +27 -9
- package/dist/types/notifications/telegram-daemon-control.d.ts +6 -0
- package/dist/types/notifications/telegram-daemon.d.ts +130 -3
- package/dist/types/notifications/telegram-reference.d.ts +19 -2
- package/dist/types/notifications/topic-registry.d.ts +24 -4
- package/dist/types/registry/agent-registry.d.ts +2 -0
- package/dist/types/rlm/index.d.ts +1 -1
- package/dist/types/sdk.d.ts +2 -0
- package/dist/types/secrets/obfuscator.d.ts +1 -1
- package/dist/types/session/agent-session.d.ts +40 -3
- package/dist/types/session/cache-economics.d.ts +79 -0
- package/dist/types/session/context-estimation.d.ts +31 -0
- package/dist/types/session/provider-safety-stop.d.ts +5 -0
- package/dist/types/session/session-manager.d.ts +124 -4
- package/dist/types/session/session-storage.d.ts +155 -13
- package/dist/types/setup/credential-auto-import.d.ts +2 -2
- package/dist/types/skc-runtime/session-state-sidecar.d.ts +34 -3
- package/dist/types/skc-runtime/state-schema.d.ts +19 -19
- package/dist/types/skc-runtime/tmux-common.d.ts +6 -0
- package/dist/types/skc-runtime/tmux-owner-isolation-cli.d.ts +5 -0
- package/dist/types/skc-runtime/tmux-owner-isolation.d.ts +309 -0
- package/dist/types/skc-runtime/tmux-sessions.d.ts +49 -17
- package/dist/types/task/agents.d.ts +2 -2
- package/dist/types/task/executor.d.ts +3 -0
- package/dist/types/task/receipt.d.ts +3 -1
- package/dist/types/task/types.d.ts +35 -27
- package/dist/types/tools/ask-answer-registry.d.ts +5 -0
- package/dist/types/tools/bash.d.ts +1 -1
- package/dist/types/tools/browser/tab-supervisor.d.ts +6 -0
- package/dist/types/tools/browser.d.ts +28 -28
- package/dist/types/tools/computer.d.ts +20 -20
- package/dist/types/tools/cron.d.ts +2 -2
- package/dist/types/tools/debug.d.ts +40 -40
- package/dist/types/tools/gh.d.ts +10 -10
- package/dist/types/tools/image-gen.d.ts +2 -2
- package/dist/types/tools/index.d.ts +58 -6
- package/dist/types/tools/monitor.d.ts +6 -6
- package/dist/types/tools/skill-discovery.d.ts +4 -4
- package/dist/types/tools/subagent.d.ts +12 -12
- package/dist/types/tools/telegram-send.d.ts +7 -0
- package/dist/types/tools/todo-write.d.ts +8 -8
- package/dist/types/utils/external-editor.d.ts +2 -0
- package/dist/types/web/insane/bridge.d.ts +9 -9
- package/dist/types/web/search/index.d.ts +4 -4
- package/package.json +8 -8
- package/scripts/g004-tmux-smoke.ts +196 -36
- package/src/cli/daemon-cli.ts +19 -29
- package/src/cli/malloc-env-guard.test.ts +104 -0
- package/src/cli/malloc-env-guard.ts +149 -0
- package/src/cli/notify-cli.ts +78 -14
- package/src/cli/session-picker.ts +23 -40
- package/src/cli/update-cli.ts +56 -37
- package/src/cli.ts +51 -10
- package/src/commands/daemon.ts +19 -5
- package/src/commands/harness.ts +515 -47
- package/src/commands/launch.ts +11 -3
- package/src/commands/notify.ts +5 -1
- package/src/commands/session.ts +6 -1
- package/src/config/keybindings.ts +5 -0
- package/src/config/model-profile-activation.ts +1 -1
- package/src/config/model-profiles.ts +14 -14
- package/src/config/settings-schema.ts +41 -1
- package/src/config/settings.ts +96 -45
- package/src/coordinator/contract.ts +1 -0
- package/src/coordinator-mcp/model-preset.ts +100 -0
- package/src/coordinator-mcp/policy.ts +30 -0
- package/src/coordinator-mcp/server.ts +2958 -430
- package/src/coordinator-mcp/session-reaper.ts +129 -0
- package/src/daemon/control-types.ts +11 -0
- package/src/daemon/operator-contract.ts +121 -0
- package/src/defaults/skc/extensions/grok-cli-vendor/src/models/catalog.ts +57 -17
- package/src/defaults/skc/extensions/grok-cli-vendor/src/payload/sanitize.ts +15 -2
- package/src/defaults/skc/extensions/grok-cli-vendor/src/provider/register.ts +5 -1
- package/src/extensibility/extensions/runner.ts +1 -1
- package/src/extensibility/extensions/types.ts +3 -1
- package/src/internal-urls/docs-index.generated.ts +10 -9
- package/src/internal-urls/local-protocol.ts +29 -10
- package/src/main.ts +301 -80
- package/src/modes/acp/acp-agent.ts +730 -100
- package/src/modes/acp/acp-mode.ts +29 -2
- package/src/modes/components/assistant-message.ts +32 -3
- package/src/modes/components/bash-execution.ts +43 -13
- package/src/modes/components/custom-editor.ts +5 -0
- package/src/modes/components/footer.ts +3 -3
- package/src/modes/components/hook-selector.ts +12 -0
- package/src/modes/components/irc-sidebar.ts +206 -0
- package/src/modes/components/pet-selector.ts +55 -0
- package/src/modes/components/sayknow-pet-widget.ts +360 -0
- package/src/modes/components/session-selector.ts +222 -221
- package/src/modes/components/settings-selector.ts +10 -0
- package/src/modes/components/status-line/segments.ts +14 -7
- package/src/modes/components/status-line/types.ts +1 -1
- package/src/modes/components/status-line.ts +4 -171
- package/src/modes/components/tool-execution.ts +47 -6
- package/src/modes/components/user-message.ts +26 -9
- package/src/modes/controllers/command-controller.ts +28 -2
- package/src/modes/controllers/event-controller.ts +159 -36
- package/src/modes/controllers/extension-ui-controller.ts +37 -18
- package/src/modes/controllers/input-controller.ts +8 -2
- package/src/modes/controllers/selector-controller.ts +62 -15
- package/src/modes/interactive-mode.ts +199 -7
- package/src/modes/irc-observation-ledger.ts +127 -0
- package/src/modes/print-mode.ts +228 -92
- package/src/modes/rpc/rpc-client.ts +58 -1
- package/src/modes/rpc/rpc-mode.ts +286 -85
- package/src/modes/rpc/rpc-types.ts +15 -1
- package/src/modes/shared/agent-wire/command-dispatch.ts +33 -1
- package/src/modes/shared/agent-wire/command-validation.ts +10 -0
- package/src/modes/shared/agent-wire/deep-interview-gate.ts +45 -2
- package/src/modes/shared/agent-wire/scopes.ts +1 -0
- package/src/modes/shared/agent-wire/unattended-session.ts +288 -1
- package/src/modes/shared/agent-wire/workflow-gate-broker.ts +130 -20
- package/src/modes/types.ts +34 -2
- package/src/modes/utils/context-usage.ts +56 -92
- package/src/modes/utils/hotkeys-markdown.ts +1 -0
- package/src/modes/utils/irc-message.ts +138 -0
- package/src/modes/utils/ui-helpers.ts +216 -50
- package/src/notifications/config.ts +44 -0
- package/src/notifications/daemon-paths.ts +8 -0
- package/src/notifications/index.ts +535 -75
- package/src/notifications/lifecycle-control-runtime.ts +930 -77
- package/src/notifications/notification-service.ts +710 -0
- package/src/notifications/rate-limit-pool.ts +46 -12
- package/src/notifications/telegram-daemon-control.ts +27 -2
- package/src/notifications/telegram-daemon.ts +635 -94
- package/src/notifications/telegram-reference.ts +73 -13
- package/src/notifications/topic-registry.ts +86 -9
- package/src/prompts/system/irc-peer-roster.md +1 -0
- package/src/prompts/system/subagent-system-prompt.md +1 -0
- package/src/prompts/system/system-prompt.md +1 -0
- package/src/prompts/tools/irc.md +1 -1
- package/src/registry/agent-registry.ts +3 -0
- package/src/sdk.ts +52 -1
- package/src/secrets/obfuscator.ts +4 -2
- package/src/session/agent-session.ts +670 -217
- package/src/session/cache-economics.ts +275 -0
- package/src/session/context-estimation.ts +91 -0
- package/src/session/provider-safety-stop.ts +9 -0
- package/src/session/session-dump-format.ts +6 -0
- package/src/session/session-manager.ts +809 -39
- package/src/session/session-storage.ts +582 -38
- package/src/skc-runtime/session-state-sidecar.ts +756 -135
- package/src/skc-runtime/tmux-common.ts +26 -7
- package/src/skc-runtime/tmux-gc.ts +52 -9
- package/src/skc-runtime/tmux-owner-isolation-cli.ts +185 -0
- package/src/skc-runtime/tmux-owner-isolation.ts +2060 -0
- package/src/skc-runtime/tmux-sessions.ts +871 -68
- package/src/slash-commands/builtin-registry.ts +153 -9
- package/src/slash-commands/helpers/context-report.ts +26 -4
- package/src/task/executor.ts +12 -3
- package/src/task/index.ts +8 -0
- package/src/task/receipt.ts +7 -2
- package/src/task/types.ts +26 -0
- package/src/tools/ask-answer-registry.ts +25 -0
- package/src/tools/browser/tab-supervisor.ts +63 -6
- package/src/tools/browser.ts +8 -3
- package/src/tools/index.ts +81 -6
- package/src/tools/sqlite-reader.ts +8 -4
- package/src/tui/output-block.ts +18 -6
- package/src/utils/external-editor.ts +6 -1
|
@@ -23,8 +23,8 @@ export declare const OpenAICompatSchema: z.ZodObject<{
|
|
|
23
23
|
requiresAssistantAfterToolResult: z.ZodOptional<z.ZodBoolean>;
|
|
24
24
|
requiresThinkingAsText: z.ZodOptional<z.ZodBoolean>;
|
|
25
25
|
reasoningContentField: z.ZodOptional<z.ZodEnum<{
|
|
26
|
-
reasoning: "reasoning";
|
|
27
26
|
reasoning_content: "reasoning_content";
|
|
27
|
+
reasoning: "reasoning";
|
|
28
28
|
reasoning_text: "reasoning_text";
|
|
29
29
|
}>>;
|
|
30
30
|
requiresReasoningContentForToolCalls: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -33,19 +33,19 @@ export declare const OpenAICompatSchema: z.ZodObject<{
|
|
|
33
33
|
supportsToolChoice: z.ZodOptional<z.ZodBoolean>;
|
|
34
34
|
supportsForcedToolChoice: z.ZodOptional<z.ZodBoolean>;
|
|
35
35
|
toolChoiceSupport: z.ZodOptional<z.ZodEnum<{
|
|
36
|
-
auto: "auto";
|
|
37
|
-
named: "named";
|
|
38
36
|
none: "none";
|
|
37
|
+
auto: "auto";
|
|
39
38
|
required: "required";
|
|
39
|
+
named: "named";
|
|
40
40
|
}>>;
|
|
41
41
|
disableReasoningOnForcedToolChoice: z.ZodOptional<z.ZodBoolean>;
|
|
42
42
|
disableReasoningOnToolChoice: z.ZodOptional<z.ZodBoolean>;
|
|
43
43
|
thinkingFormat: z.ZodOptional<z.ZodEnum<{
|
|
44
44
|
openai: "openai";
|
|
45
45
|
openrouter: "openrouter";
|
|
46
|
+
zai: "zai";
|
|
46
47
|
qwen: "qwen";
|
|
47
48
|
"qwen-chat-template": "qwen-chat-template";
|
|
48
|
-
zai: "zai";
|
|
49
49
|
}>>;
|
|
50
50
|
openRouterRouting: z.ZodOptional<z.ZodObject<{
|
|
51
51
|
only: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -58,45 +58,45 @@ export declare const OpenAICompatSchema: z.ZodObject<{
|
|
|
58
58
|
extraBody: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
59
59
|
supportsStrictMode: z.ZodOptional<z.ZodBoolean>;
|
|
60
60
|
toolStrictMode: z.ZodOptional<z.ZodEnum<{
|
|
61
|
-
all_strict: "all_strict";
|
|
62
61
|
none: "none";
|
|
62
|
+
all_strict: "all_strict";
|
|
63
63
|
}>>;
|
|
64
64
|
}, z.core.$strip>;
|
|
65
65
|
export declare const ProfileRoleSchema: z.ZodEnum<{
|
|
66
|
-
architect: "architect";
|
|
67
|
-
critic: "critic";
|
|
68
66
|
default: "default";
|
|
69
67
|
executor: "executor";
|
|
68
|
+
architect: "architect";
|
|
70
69
|
planner: "planner";
|
|
70
|
+
critic: "critic";
|
|
71
71
|
}>;
|
|
72
72
|
export declare const ProfileModelSelectorSchema: z.ZodString;
|
|
73
73
|
export declare const ProfileModelMappingSchema: z.ZodRecord<z.ZodEnum<{
|
|
74
|
-
architect: "architect";
|
|
75
|
-
critic: "critic";
|
|
76
74
|
default: "default";
|
|
77
75
|
executor: "executor";
|
|
76
|
+
architect: "architect";
|
|
78
77
|
planner: "planner";
|
|
78
|
+
critic: "critic";
|
|
79
79
|
}> & z.core.$partial, z.ZodString>;
|
|
80
80
|
export declare const ProfileDefinitionSchema: z.ZodObject<{
|
|
81
81
|
required_providers: z.ZodArray<z.ZodString>;
|
|
82
82
|
display_name: z.ZodOptional<z.ZodString>;
|
|
83
83
|
model_mapping: z.ZodRecord<z.ZodEnum<{
|
|
84
|
-
architect: "architect";
|
|
85
|
-
critic: "critic";
|
|
86
84
|
default: "default";
|
|
87
85
|
executor: "executor";
|
|
86
|
+
architect: "architect";
|
|
88
87
|
planner: "planner";
|
|
88
|
+
critic: "critic";
|
|
89
89
|
}> & z.core.$partial, z.ZodString>;
|
|
90
90
|
}, z.core.$strict>;
|
|
91
91
|
export declare const ProfilesSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
92
92
|
required_providers: z.ZodArray<z.ZodString>;
|
|
93
93
|
display_name: z.ZodOptional<z.ZodString>;
|
|
94
94
|
model_mapping: z.ZodRecord<z.ZodEnum<{
|
|
95
|
-
architect: "architect";
|
|
96
|
-
critic: "critic";
|
|
97
95
|
default: "default";
|
|
98
96
|
executor: "executor";
|
|
97
|
+
architect: "architect";
|
|
99
98
|
planner: "planner";
|
|
99
|
+
critic: "critic";
|
|
100
100
|
}> & z.core.$partial, z.ZodString>;
|
|
101
101
|
}, z.core.$strict>>;
|
|
102
102
|
export declare const ModelOverrideSchema: z.ZodObject<{
|
|
@@ -104,52 +104,52 @@ export declare const ModelOverrideSchema: z.ZodObject<{
|
|
|
104
104
|
reasoning: z.ZodOptional<z.ZodBoolean>;
|
|
105
105
|
thinking: z.ZodOptional<z.ZodObject<{
|
|
106
106
|
minLevel: z.ZodEnum<{
|
|
107
|
-
|
|
107
|
+
minimal: "minimal";
|
|
108
108
|
low: "low";
|
|
109
|
-
max: "max";
|
|
110
109
|
medium: "medium";
|
|
111
|
-
|
|
110
|
+
high: "high";
|
|
112
111
|
xhigh: "xhigh";
|
|
112
|
+
max: "max";
|
|
113
113
|
}>;
|
|
114
114
|
maxLevel: z.ZodEnum<{
|
|
115
|
-
|
|
115
|
+
minimal: "minimal";
|
|
116
116
|
low: "low";
|
|
117
|
-
max: "max";
|
|
118
117
|
medium: "medium";
|
|
119
|
-
|
|
118
|
+
high: "high";
|
|
120
119
|
xhigh: "xhigh";
|
|
120
|
+
max: "max";
|
|
121
121
|
}>;
|
|
122
122
|
mode: z.ZodEnum<{
|
|
123
|
-
"anthropic-adaptive": "anthropic-adaptive";
|
|
124
|
-
"anthropic-budget-effort": "anthropic-budget-effort";
|
|
125
|
-
budget: "budget";
|
|
126
123
|
effort: "effort";
|
|
124
|
+
budget: "budget";
|
|
127
125
|
"google-level": "google-level";
|
|
126
|
+
"anthropic-adaptive": "anthropic-adaptive";
|
|
127
|
+
"anthropic-budget-effort": "anthropic-budget-effort";
|
|
128
128
|
}>;
|
|
129
129
|
defaultLevel: z.ZodOptional<z.ZodEnum<{
|
|
130
|
-
|
|
130
|
+
minimal: "minimal";
|
|
131
131
|
low: "low";
|
|
132
|
-
max: "max";
|
|
133
132
|
medium: "medium";
|
|
134
|
-
|
|
133
|
+
high: "high";
|
|
135
134
|
xhigh: "xhigh";
|
|
135
|
+
max: "max";
|
|
136
136
|
}>>;
|
|
137
137
|
levels: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
138
|
-
|
|
138
|
+
minimal: "minimal";
|
|
139
139
|
low: "low";
|
|
140
|
-
max: "max";
|
|
141
140
|
medium: "medium";
|
|
142
|
-
|
|
141
|
+
high: "high";
|
|
143
142
|
xhigh: "xhigh";
|
|
143
|
+
max: "max";
|
|
144
144
|
}>>>;
|
|
145
145
|
}, z.core.$strip>>;
|
|
146
146
|
input: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
147
|
-
image: "image";
|
|
148
147
|
text: "text";
|
|
148
|
+
image: "image";
|
|
149
149
|
}>>>;
|
|
150
150
|
output: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
151
|
-
image: "image";
|
|
152
151
|
text: "text";
|
|
152
|
+
image: "image";
|
|
153
153
|
}>>>;
|
|
154
154
|
cost: z.ZodOptional<z.ZodObject<{
|
|
155
155
|
input: z.ZodOptional<z.ZodNumber>;
|
|
@@ -185,8 +185,8 @@ export declare const ModelOverrideSchema: z.ZodObject<{
|
|
|
185
185
|
requiresAssistantAfterToolResult: z.ZodOptional<z.ZodBoolean>;
|
|
186
186
|
requiresThinkingAsText: z.ZodOptional<z.ZodBoolean>;
|
|
187
187
|
reasoningContentField: z.ZodOptional<z.ZodEnum<{
|
|
188
|
-
reasoning: "reasoning";
|
|
189
188
|
reasoning_content: "reasoning_content";
|
|
189
|
+
reasoning: "reasoning";
|
|
190
190
|
reasoning_text: "reasoning_text";
|
|
191
191
|
}>>;
|
|
192
192
|
requiresReasoningContentForToolCalls: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -195,19 +195,19 @@ export declare const ModelOverrideSchema: z.ZodObject<{
|
|
|
195
195
|
supportsToolChoice: z.ZodOptional<z.ZodBoolean>;
|
|
196
196
|
supportsForcedToolChoice: z.ZodOptional<z.ZodBoolean>;
|
|
197
197
|
toolChoiceSupport: z.ZodOptional<z.ZodEnum<{
|
|
198
|
-
auto: "auto";
|
|
199
|
-
named: "named";
|
|
200
198
|
none: "none";
|
|
199
|
+
auto: "auto";
|
|
201
200
|
required: "required";
|
|
201
|
+
named: "named";
|
|
202
202
|
}>>;
|
|
203
203
|
disableReasoningOnForcedToolChoice: z.ZodOptional<z.ZodBoolean>;
|
|
204
204
|
disableReasoningOnToolChoice: z.ZodOptional<z.ZodBoolean>;
|
|
205
205
|
thinkingFormat: z.ZodOptional<z.ZodEnum<{
|
|
206
206
|
openai: "openai";
|
|
207
207
|
openrouter: "openrouter";
|
|
208
|
+
zai: "zai";
|
|
208
209
|
qwen: "qwen";
|
|
209
210
|
"qwen-chat-template": "qwen-chat-template";
|
|
210
|
-
zai: "zai";
|
|
211
211
|
}>>;
|
|
212
212
|
openRouterRouting: z.ZodOptional<z.ZodObject<{
|
|
213
213
|
only: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -220,8 +220,8 @@ export declare const ModelOverrideSchema: z.ZodObject<{
|
|
|
220
220
|
extraBody: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
221
221
|
supportsStrictMode: z.ZodOptional<z.ZodBoolean>;
|
|
222
222
|
toolStrictMode: z.ZodOptional<z.ZodEnum<{
|
|
223
|
-
all_strict: "all_strict";
|
|
224
223
|
none: "none";
|
|
224
|
+
all_strict: "all_strict";
|
|
225
225
|
}>>;
|
|
226
226
|
}, z.core.$strip>>;
|
|
227
227
|
contextPromotionTarget: z.ZodOptional<z.ZodString>;
|
|
@@ -235,23 +235,23 @@ export declare const ModelOverrideSchema: z.ZodObject<{
|
|
|
235
235
|
extraBody: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
236
236
|
}, z.core.$strict>>;
|
|
237
237
|
cacheRetention: z.ZodOptional<z.ZodEnum<{
|
|
238
|
-
long: "long";
|
|
239
238
|
none: "none";
|
|
240
239
|
short: "short";
|
|
240
|
+
long: "long";
|
|
241
241
|
}>>;
|
|
242
242
|
}, z.core.$strict>;
|
|
243
243
|
export type ModelOverride = z.infer<typeof ModelOverrideSchema>;
|
|
244
244
|
export declare const ProviderDiscoverySchema: z.ZodObject<{
|
|
245
245
|
type: z.ZodEnum<{
|
|
246
|
-
"llama.cpp": "llama.cpp";
|
|
247
|
-
"lm-studio": "lm-studio";
|
|
248
246
|
ollama: "ollama";
|
|
247
|
+
"lm-studio": "lm-studio";
|
|
248
|
+
"llama.cpp": "llama.cpp";
|
|
249
249
|
"openai-models-list": "openai-models-list";
|
|
250
250
|
}>;
|
|
251
251
|
}, z.core.$strip>;
|
|
252
252
|
export declare const ProviderAuthSchema: z.ZodEnum<{
|
|
253
|
-
apiKey: "apiKey";
|
|
254
253
|
none: "none";
|
|
254
|
+
apiKey: "apiKey";
|
|
255
255
|
oauth: "oauth";
|
|
256
256
|
}>;
|
|
257
257
|
export type ProviderAuthMode = z.infer<typeof ProviderAuthSchema>;
|
|
@@ -262,17 +262,17 @@ export declare const ModelsConfigSchema: z.ZodObject<{
|
|
|
262
262
|
apiKey: z.ZodOptional<z.ZodString>;
|
|
263
263
|
apiKeyEnv: z.ZodOptional<z.ZodString>;
|
|
264
264
|
api: z.ZodOptional<z.ZodEnum<{
|
|
265
|
-
"anthropic-messages": "anthropic-messages";
|
|
266
|
-
"azure-openai-responses": "azure-openai-responses";
|
|
267
|
-
"bedrock-converse-stream": "bedrock-converse-stream";
|
|
268
|
-
"cursor-agent": "cursor-agent";
|
|
269
265
|
"google-gemini-cli": "google-gemini-cli";
|
|
270
|
-
"google-generative-ai": "google-generative-ai";
|
|
271
266
|
"google-vertex": "google-vertex";
|
|
272
|
-
"ollama-chat": "ollama-chat";
|
|
273
|
-
"openai-codex-responses": "openai-codex-responses";
|
|
274
267
|
"openai-completions": "openai-completions";
|
|
275
268
|
"openai-responses": "openai-responses";
|
|
269
|
+
"openai-codex-responses": "openai-codex-responses";
|
|
270
|
+
"azure-openai-responses": "azure-openai-responses";
|
|
271
|
+
"anthropic-messages": "anthropic-messages";
|
|
272
|
+
"bedrock-converse-stream": "bedrock-converse-stream";
|
|
273
|
+
"google-generative-ai": "google-generative-ai";
|
|
274
|
+
"ollama-chat": "ollama-chat";
|
|
275
|
+
"cursor-agent": "cursor-agent";
|
|
276
276
|
}>>;
|
|
277
277
|
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
278
278
|
compat: z.ZodOptional<z.ZodObject<{
|
|
@@ -299,8 +299,8 @@ export declare const ModelsConfigSchema: z.ZodObject<{
|
|
|
299
299
|
requiresAssistantAfterToolResult: z.ZodOptional<z.ZodBoolean>;
|
|
300
300
|
requiresThinkingAsText: z.ZodOptional<z.ZodBoolean>;
|
|
301
301
|
reasoningContentField: z.ZodOptional<z.ZodEnum<{
|
|
302
|
-
reasoning: "reasoning";
|
|
303
302
|
reasoning_content: "reasoning_content";
|
|
303
|
+
reasoning: "reasoning";
|
|
304
304
|
reasoning_text: "reasoning_text";
|
|
305
305
|
}>>;
|
|
306
306
|
requiresReasoningContentForToolCalls: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -309,19 +309,19 @@ export declare const ModelsConfigSchema: z.ZodObject<{
|
|
|
309
309
|
supportsToolChoice: z.ZodOptional<z.ZodBoolean>;
|
|
310
310
|
supportsForcedToolChoice: z.ZodOptional<z.ZodBoolean>;
|
|
311
311
|
toolChoiceSupport: z.ZodOptional<z.ZodEnum<{
|
|
312
|
-
auto: "auto";
|
|
313
|
-
named: "named";
|
|
314
312
|
none: "none";
|
|
313
|
+
auto: "auto";
|
|
315
314
|
required: "required";
|
|
315
|
+
named: "named";
|
|
316
316
|
}>>;
|
|
317
317
|
disableReasoningOnForcedToolChoice: z.ZodOptional<z.ZodBoolean>;
|
|
318
318
|
disableReasoningOnToolChoice: z.ZodOptional<z.ZodBoolean>;
|
|
319
319
|
thinkingFormat: z.ZodOptional<z.ZodEnum<{
|
|
320
320
|
openai: "openai";
|
|
321
321
|
openrouter: "openrouter";
|
|
322
|
+
zai: "zai";
|
|
322
323
|
qwen: "qwen";
|
|
323
324
|
"qwen-chat-template": "qwen-chat-template";
|
|
324
|
-
zai: "zai";
|
|
325
325
|
}>>;
|
|
326
326
|
openRouterRouting: z.ZodOptional<z.ZodObject<{
|
|
327
327
|
only: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -334,26 +334,26 @@ export declare const ModelsConfigSchema: z.ZodObject<{
|
|
|
334
334
|
extraBody: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
335
335
|
supportsStrictMode: z.ZodOptional<z.ZodBoolean>;
|
|
336
336
|
toolStrictMode: z.ZodOptional<z.ZodEnum<{
|
|
337
|
-
all_strict: "all_strict";
|
|
338
337
|
none: "none";
|
|
338
|
+
all_strict: "all_strict";
|
|
339
339
|
}>>;
|
|
340
340
|
}, z.core.$strip>>;
|
|
341
341
|
webSearch: z.ZodOptional<z.ZodEnum<{
|
|
342
342
|
auto: "auto";
|
|
343
|
-
off: "off";
|
|
344
343
|
on: "on";
|
|
344
|
+
off: "off";
|
|
345
345
|
}>>;
|
|
346
346
|
authHeader: z.ZodOptional<z.ZodBoolean>;
|
|
347
347
|
auth: z.ZodOptional<z.ZodEnum<{
|
|
348
|
-
apiKey: "apiKey";
|
|
349
348
|
none: "none";
|
|
349
|
+
apiKey: "apiKey";
|
|
350
350
|
oauth: "oauth";
|
|
351
351
|
}>>;
|
|
352
352
|
discovery: z.ZodOptional<z.ZodObject<{
|
|
353
353
|
type: z.ZodEnum<{
|
|
354
|
-
"llama.cpp": "llama.cpp";
|
|
355
|
-
"lm-studio": "lm-studio";
|
|
356
354
|
ollama: "ollama";
|
|
355
|
+
"lm-studio": "lm-studio";
|
|
356
|
+
"llama.cpp": "llama.cpp";
|
|
357
357
|
"openai-models-list": "openai-models-list";
|
|
358
358
|
}>;
|
|
359
359
|
}, z.core.$strip>>;
|
|
@@ -369,68 +369,68 @@ export declare const ModelsConfigSchema: z.ZodObject<{
|
|
|
369
369
|
id: z.ZodString;
|
|
370
370
|
name: z.ZodOptional<z.ZodString>;
|
|
371
371
|
api: z.ZodOptional<z.ZodEnum<{
|
|
372
|
-
"anthropic-messages": "anthropic-messages";
|
|
373
|
-
"azure-openai-responses": "azure-openai-responses";
|
|
374
|
-
"bedrock-converse-stream": "bedrock-converse-stream";
|
|
375
|
-
"cursor-agent": "cursor-agent";
|
|
376
372
|
"google-gemini-cli": "google-gemini-cli";
|
|
377
|
-
"google-generative-ai": "google-generative-ai";
|
|
378
373
|
"google-vertex": "google-vertex";
|
|
379
|
-
"ollama-chat": "ollama-chat";
|
|
380
|
-
"openai-codex-responses": "openai-codex-responses";
|
|
381
374
|
"openai-completions": "openai-completions";
|
|
382
375
|
"openai-responses": "openai-responses";
|
|
376
|
+
"openai-codex-responses": "openai-codex-responses";
|
|
377
|
+
"azure-openai-responses": "azure-openai-responses";
|
|
378
|
+
"anthropic-messages": "anthropic-messages";
|
|
379
|
+
"bedrock-converse-stream": "bedrock-converse-stream";
|
|
380
|
+
"google-generative-ai": "google-generative-ai";
|
|
381
|
+
"ollama-chat": "ollama-chat";
|
|
382
|
+
"cursor-agent": "cursor-agent";
|
|
383
383
|
}>>;
|
|
384
384
|
baseUrl: z.ZodOptional<z.ZodString>;
|
|
385
385
|
reasoning: z.ZodOptional<z.ZodBoolean>;
|
|
386
386
|
thinking: z.ZodOptional<z.ZodObject<{
|
|
387
387
|
minLevel: z.ZodEnum<{
|
|
388
|
-
|
|
388
|
+
minimal: "minimal";
|
|
389
389
|
low: "low";
|
|
390
|
-
max: "max";
|
|
391
390
|
medium: "medium";
|
|
392
|
-
|
|
391
|
+
high: "high";
|
|
393
392
|
xhigh: "xhigh";
|
|
393
|
+
max: "max";
|
|
394
394
|
}>;
|
|
395
395
|
maxLevel: z.ZodEnum<{
|
|
396
|
-
|
|
396
|
+
minimal: "minimal";
|
|
397
397
|
low: "low";
|
|
398
|
-
max: "max";
|
|
399
398
|
medium: "medium";
|
|
400
|
-
|
|
399
|
+
high: "high";
|
|
401
400
|
xhigh: "xhigh";
|
|
401
|
+
max: "max";
|
|
402
402
|
}>;
|
|
403
403
|
mode: z.ZodEnum<{
|
|
404
|
-
"anthropic-adaptive": "anthropic-adaptive";
|
|
405
|
-
"anthropic-budget-effort": "anthropic-budget-effort";
|
|
406
|
-
budget: "budget";
|
|
407
404
|
effort: "effort";
|
|
405
|
+
budget: "budget";
|
|
408
406
|
"google-level": "google-level";
|
|
407
|
+
"anthropic-adaptive": "anthropic-adaptive";
|
|
408
|
+
"anthropic-budget-effort": "anthropic-budget-effort";
|
|
409
409
|
}>;
|
|
410
410
|
defaultLevel: z.ZodOptional<z.ZodEnum<{
|
|
411
|
-
|
|
411
|
+
minimal: "minimal";
|
|
412
412
|
low: "low";
|
|
413
|
-
max: "max";
|
|
414
413
|
medium: "medium";
|
|
415
|
-
|
|
414
|
+
high: "high";
|
|
416
415
|
xhigh: "xhigh";
|
|
416
|
+
max: "max";
|
|
417
417
|
}>>;
|
|
418
418
|
levels: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
419
|
-
|
|
419
|
+
minimal: "minimal";
|
|
420
420
|
low: "low";
|
|
421
|
-
max: "max";
|
|
422
421
|
medium: "medium";
|
|
423
|
-
|
|
422
|
+
high: "high";
|
|
424
423
|
xhigh: "xhigh";
|
|
424
|
+
max: "max";
|
|
425
425
|
}>>>;
|
|
426
426
|
}, z.core.$strip>>;
|
|
427
427
|
input: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
428
|
-
image: "image";
|
|
429
428
|
text: "text";
|
|
429
|
+
image: "image";
|
|
430
430
|
}>>>;
|
|
431
431
|
output: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
432
|
-
image: "image";
|
|
433
432
|
text: "text";
|
|
433
|
+
image: "image";
|
|
434
434
|
}>>>;
|
|
435
435
|
cost: z.ZodOptional<z.ZodObject<{
|
|
436
436
|
input: z.ZodNumber;
|
|
@@ -466,8 +466,8 @@ export declare const ModelsConfigSchema: z.ZodObject<{
|
|
|
466
466
|
requiresAssistantAfterToolResult: z.ZodOptional<z.ZodBoolean>;
|
|
467
467
|
requiresThinkingAsText: z.ZodOptional<z.ZodBoolean>;
|
|
468
468
|
reasoningContentField: z.ZodOptional<z.ZodEnum<{
|
|
469
|
-
reasoning: "reasoning";
|
|
470
469
|
reasoning_content: "reasoning_content";
|
|
470
|
+
reasoning: "reasoning";
|
|
471
471
|
reasoning_text: "reasoning_text";
|
|
472
472
|
}>>;
|
|
473
473
|
requiresReasoningContentForToolCalls: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -476,19 +476,19 @@ export declare const ModelsConfigSchema: z.ZodObject<{
|
|
|
476
476
|
supportsToolChoice: z.ZodOptional<z.ZodBoolean>;
|
|
477
477
|
supportsForcedToolChoice: z.ZodOptional<z.ZodBoolean>;
|
|
478
478
|
toolChoiceSupport: z.ZodOptional<z.ZodEnum<{
|
|
479
|
-
auto: "auto";
|
|
480
|
-
named: "named";
|
|
481
479
|
none: "none";
|
|
480
|
+
auto: "auto";
|
|
482
481
|
required: "required";
|
|
482
|
+
named: "named";
|
|
483
483
|
}>>;
|
|
484
484
|
disableReasoningOnForcedToolChoice: z.ZodOptional<z.ZodBoolean>;
|
|
485
485
|
disableReasoningOnToolChoice: z.ZodOptional<z.ZodBoolean>;
|
|
486
486
|
thinkingFormat: z.ZodOptional<z.ZodEnum<{
|
|
487
487
|
openai: "openai";
|
|
488
488
|
openrouter: "openrouter";
|
|
489
|
+
zai: "zai";
|
|
489
490
|
qwen: "qwen";
|
|
490
491
|
"qwen-chat-template": "qwen-chat-template";
|
|
491
|
-
zai: "zai";
|
|
492
492
|
}>>;
|
|
493
493
|
openRouterRouting: z.ZodOptional<z.ZodObject<{
|
|
494
494
|
only: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -501,8 +501,8 @@ export declare const ModelsConfigSchema: z.ZodObject<{
|
|
|
501
501
|
extraBody: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
502
502
|
supportsStrictMode: z.ZodOptional<z.ZodBoolean>;
|
|
503
503
|
toolStrictMode: z.ZodOptional<z.ZodEnum<{
|
|
504
|
-
all_strict: "all_strict";
|
|
505
504
|
none: "none";
|
|
505
|
+
all_strict: "all_strict";
|
|
506
506
|
}>>;
|
|
507
507
|
}, z.core.$strip>>;
|
|
508
508
|
contextPromotionTarget: z.ZodOptional<z.ZodString>;
|
|
@@ -516,9 +516,9 @@ export declare const ModelsConfigSchema: z.ZodObject<{
|
|
|
516
516
|
extraBody: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
517
517
|
}, z.core.$strict>>;
|
|
518
518
|
cacheRetention: z.ZodOptional<z.ZodEnum<{
|
|
519
|
-
long: "long";
|
|
520
519
|
none: "none";
|
|
521
520
|
short: "short";
|
|
521
|
+
long: "long";
|
|
522
522
|
}>>;
|
|
523
523
|
}, z.core.$strict>>>;
|
|
524
524
|
modelOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
@@ -526,52 +526,52 @@ export declare const ModelsConfigSchema: z.ZodObject<{
|
|
|
526
526
|
reasoning: z.ZodOptional<z.ZodBoolean>;
|
|
527
527
|
thinking: z.ZodOptional<z.ZodObject<{
|
|
528
528
|
minLevel: z.ZodEnum<{
|
|
529
|
-
|
|
529
|
+
minimal: "minimal";
|
|
530
530
|
low: "low";
|
|
531
|
-
max: "max";
|
|
532
531
|
medium: "medium";
|
|
533
|
-
|
|
532
|
+
high: "high";
|
|
534
533
|
xhigh: "xhigh";
|
|
534
|
+
max: "max";
|
|
535
535
|
}>;
|
|
536
536
|
maxLevel: z.ZodEnum<{
|
|
537
|
-
|
|
537
|
+
minimal: "minimal";
|
|
538
538
|
low: "low";
|
|
539
|
-
max: "max";
|
|
540
539
|
medium: "medium";
|
|
541
|
-
|
|
540
|
+
high: "high";
|
|
542
541
|
xhigh: "xhigh";
|
|
542
|
+
max: "max";
|
|
543
543
|
}>;
|
|
544
544
|
mode: z.ZodEnum<{
|
|
545
|
-
"anthropic-adaptive": "anthropic-adaptive";
|
|
546
|
-
"anthropic-budget-effort": "anthropic-budget-effort";
|
|
547
|
-
budget: "budget";
|
|
548
545
|
effort: "effort";
|
|
546
|
+
budget: "budget";
|
|
549
547
|
"google-level": "google-level";
|
|
548
|
+
"anthropic-adaptive": "anthropic-adaptive";
|
|
549
|
+
"anthropic-budget-effort": "anthropic-budget-effort";
|
|
550
550
|
}>;
|
|
551
551
|
defaultLevel: z.ZodOptional<z.ZodEnum<{
|
|
552
|
-
|
|
552
|
+
minimal: "minimal";
|
|
553
553
|
low: "low";
|
|
554
|
-
max: "max";
|
|
555
554
|
medium: "medium";
|
|
556
|
-
|
|
555
|
+
high: "high";
|
|
557
556
|
xhigh: "xhigh";
|
|
557
|
+
max: "max";
|
|
558
558
|
}>>;
|
|
559
559
|
levels: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
560
|
-
|
|
560
|
+
minimal: "minimal";
|
|
561
561
|
low: "low";
|
|
562
|
-
max: "max";
|
|
563
562
|
medium: "medium";
|
|
564
|
-
|
|
563
|
+
high: "high";
|
|
565
564
|
xhigh: "xhigh";
|
|
565
|
+
max: "max";
|
|
566
566
|
}>>>;
|
|
567
567
|
}, z.core.$strip>>;
|
|
568
568
|
input: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
569
|
-
image: "image";
|
|
570
569
|
text: "text";
|
|
570
|
+
image: "image";
|
|
571
571
|
}>>>;
|
|
572
572
|
output: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
573
|
-
image: "image";
|
|
574
573
|
text: "text";
|
|
574
|
+
image: "image";
|
|
575
575
|
}>>>;
|
|
576
576
|
cost: z.ZodOptional<z.ZodObject<{
|
|
577
577
|
input: z.ZodOptional<z.ZodNumber>;
|
|
@@ -607,8 +607,8 @@ export declare const ModelsConfigSchema: z.ZodObject<{
|
|
|
607
607
|
requiresAssistantAfterToolResult: z.ZodOptional<z.ZodBoolean>;
|
|
608
608
|
requiresThinkingAsText: z.ZodOptional<z.ZodBoolean>;
|
|
609
609
|
reasoningContentField: z.ZodOptional<z.ZodEnum<{
|
|
610
|
-
reasoning: "reasoning";
|
|
611
610
|
reasoning_content: "reasoning_content";
|
|
611
|
+
reasoning: "reasoning";
|
|
612
612
|
reasoning_text: "reasoning_text";
|
|
613
613
|
}>>;
|
|
614
614
|
requiresReasoningContentForToolCalls: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -617,19 +617,19 @@ export declare const ModelsConfigSchema: z.ZodObject<{
|
|
|
617
617
|
supportsToolChoice: z.ZodOptional<z.ZodBoolean>;
|
|
618
618
|
supportsForcedToolChoice: z.ZodOptional<z.ZodBoolean>;
|
|
619
619
|
toolChoiceSupport: z.ZodOptional<z.ZodEnum<{
|
|
620
|
-
auto: "auto";
|
|
621
|
-
named: "named";
|
|
622
620
|
none: "none";
|
|
621
|
+
auto: "auto";
|
|
623
622
|
required: "required";
|
|
623
|
+
named: "named";
|
|
624
624
|
}>>;
|
|
625
625
|
disableReasoningOnForcedToolChoice: z.ZodOptional<z.ZodBoolean>;
|
|
626
626
|
disableReasoningOnToolChoice: z.ZodOptional<z.ZodBoolean>;
|
|
627
627
|
thinkingFormat: z.ZodOptional<z.ZodEnum<{
|
|
628
628
|
openai: "openai";
|
|
629
629
|
openrouter: "openrouter";
|
|
630
|
+
zai: "zai";
|
|
630
631
|
qwen: "qwen";
|
|
631
632
|
"qwen-chat-template": "qwen-chat-template";
|
|
632
|
-
zai: "zai";
|
|
633
633
|
}>>;
|
|
634
634
|
openRouterRouting: z.ZodOptional<z.ZodObject<{
|
|
635
635
|
only: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -642,8 +642,8 @@ export declare const ModelsConfigSchema: z.ZodObject<{
|
|
|
642
642
|
extraBody: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
643
643
|
supportsStrictMode: z.ZodOptional<z.ZodBoolean>;
|
|
644
644
|
toolStrictMode: z.ZodOptional<z.ZodEnum<{
|
|
645
|
-
all_strict: "all_strict";
|
|
646
645
|
none: "none";
|
|
646
|
+
all_strict: "all_strict";
|
|
647
647
|
}>>;
|
|
648
648
|
}, z.core.$strip>>;
|
|
649
649
|
contextPromotionTarget: z.ZodOptional<z.ZodString>;
|
|
@@ -657,17 +657,17 @@ export declare const ModelsConfigSchema: z.ZodObject<{
|
|
|
657
657
|
extraBody: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
658
658
|
}, z.core.$strict>>;
|
|
659
659
|
cacheRetention: z.ZodOptional<z.ZodEnum<{
|
|
660
|
-
long: "long";
|
|
661
660
|
none: "none";
|
|
662
661
|
short: "short";
|
|
662
|
+
long: "long";
|
|
663
663
|
}>>;
|
|
664
664
|
}, z.core.$strict>>>;
|
|
665
665
|
disableStrictTools: z.ZodOptional<z.ZodBoolean>;
|
|
666
666
|
transport: z.ZodOptional<z.ZodLiteral<"pi-native">>;
|
|
667
667
|
cacheRetention: z.ZodOptional<z.ZodEnum<{
|
|
668
|
-
long: "long";
|
|
669
668
|
none: "none";
|
|
670
669
|
short: "short";
|
|
670
|
+
long: "long";
|
|
671
671
|
}>>;
|
|
672
672
|
openaiCompat: z.ZodOptional<z.ZodObject<{
|
|
673
673
|
baseUrl: z.ZodString;
|
|
@@ -687,11 +687,11 @@ export declare const ModelsConfigSchema: z.ZodObject<{
|
|
|
687
687
|
required_providers: z.ZodArray<z.ZodString>;
|
|
688
688
|
display_name: z.ZodOptional<z.ZodString>;
|
|
689
689
|
model_mapping: z.ZodRecord<z.ZodEnum<{
|
|
690
|
-
architect: "architect";
|
|
691
|
-
critic: "critic";
|
|
692
690
|
default: "default";
|
|
693
691
|
executor: "executor";
|
|
692
|
+
architect: "architect";
|
|
694
693
|
planner: "planner";
|
|
694
|
+
critic: "critic";
|
|
695
695
|
}> & z.core.$partial, z.ZodString>;
|
|
696
696
|
}, z.core.$strict>>>;
|
|
697
697
|
}, z.core.$strict>;
|