@draht/coding-agent 2026.10.20 → 2026.10.23-1
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/CHANGELOG.md +138 -0
- package/agents/advisor.md +2 -2
- package/agents/architect.md +11 -33
- package/agents/debugger.md +13 -54
- package/agents/git-committer.md +18 -42
- package/agents/implementer.md +14 -36
- package/agents/investigator.md +12 -63
- package/agents/reviewer.md +16 -44
- package/agents/security-auditor.md +22 -56
- package/agents/spec-reviewer.md +13 -53
- package/agents/verifier.md +14 -33
- package/bin/drahtbank.mjs +4 -0
- package/dist/agents/advisor.md +2 -2
- package/dist/agents/architect.md +11 -33
- package/dist/agents/debugger.md +13 -54
- package/dist/agents/git-committer.md +18 -42
- package/dist/agents/implementer.md +14 -36
- package/dist/agents/investigator.md +12 -63
- package/dist/agents/reviewer.md +16 -44
- package/dist/agents/security-auditor.md +22 -56
- package/dist/agents/spec-reviewer.md +13 -53
- package/dist/agents/verifier.md +14 -33
- package/dist/bundle/chunks/anthropic-messages-G57VPNTF.js +6 -0
- package/dist/bundle/chunks/anthropic.js +1 -1
- package/dist/bundle/chunks/azure-openai-responses-AYUCZ5WN.js +2 -0
- package/dist/bundle/chunks/bedrock-converse-stream.js +31 -28
- package/dist/bundle/chunks/chunk-2JZLKNZ4.js +3 -0
- package/dist/bundle/chunks/chunk-3GDEPGTR.js +16 -0
- package/dist/bundle/chunks/chunk-5JW3NSTV.js +2 -0
- package/dist/bundle/chunks/{chunk-KVH4HR57.js → chunk-6WESOD4H.js} +1 -1
- package/dist/bundle/chunks/chunk-76YNMQ57.js +2 -0
- package/dist/bundle/chunks/chunk-AC3MSTC6.js +2 -0
- package/dist/bundle/chunks/chunk-ACLWH5WQ.js +2 -0
- package/dist/bundle/chunks/chunk-BL72B6LV.js +82 -0
- package/dist/bundle/chunks/chunk-CLKG6K6Z.js +7 -0
- package/dist/bundle/chunks/chunk-DN7SM3LX.js +479 -0
- package/dist/bundle/chunks/{chunk-D6TMD5Q2.js → chunk-DOUMZTXH.js} +10 -10
- package/dist/bundle/chunks/chunk-DQ4G4IS4.js +20 -0
- package/dist/bundle/chunks/chunk-E4VZJRJ2.js +9 -0
- package/dist/bundle/chunks/chunk-FOYIPAAD.js +6 -0
- package/dist/bundle/chunks/chunk-FXCTQRNN.js +2 -0
- package/dist/bundle/chunks/chunk-GBFVS2SF.js +12 -0
- package/dist/bundle/chunks/chunk-GQXRTK54.js +20 -0
- package/dist/bundle/chunks/chunk-IGO52ZOY.js +132 -0
- package/dist/bundle/chunks/chunk-IT4RIOZD.js +2 -0
- package/dist/bundle/chunks/chunk-JJKPUMH2.js +1424 -0
- package/dist/bundle/chunks/chunk-JNWRE5F4.js +2 -0
- package/dist/bundle/chunks/chunk-KSGHCBHT.js +2 -0
- package/dist/bundle/chunks/chunk-LO6CVU2L.js +6 -0
- package/dist/bundle/chunks/chunk-MBFTIGLS.js +2 -0
- package/dist/bundle/chunks/chunk-N26RGV3K.js +11 -0
- package/dist/bundle/chunks/{chunk-KPO5375S.js → chunk-RCRGGYLW.js} +1 -1
- package/dist/bundle/chunks/chunk-UCJ7FLSO.js +166 -0
- package/dist/bundle/chunks/chunk-USCN7R2E.js +2 -0
- package/dist/bundle/chunks/chunk-WFHH5SX6.js +4 -0
- package/dist/bundle/chunks/chunk-WYWBXNDO.js +6 -0
- package/dist/bundle/chunks/chunk-ZRPAOMVB.js +2 -0
- package/dist/bundle/chunks/{cli-PYJB6AQ3.js → cli-HTUB6WOG.js} +6 -6
- package/dist/bundle/chunks/cloudflare-workers-ai-system-one-RRSO6OXX.js +2 -0
- package/dist/bundle/chunks/codemode-worker.js +188 -21
- package/dist/bundle/chunks/execute-UUPNZJJG.js +31 -0
- package/dist/bundle/chunks/github-copilot.js +1 -1
- package/dist/bundle/chunks/google-generative-ai-VJSS5EBX.js +2 -0
- package/dist/bundle/chunks/google-vertex-K23DBWTT.js +2 -0
- package/dist/bundle/chunks/https-proxy-agent-WQIRL24U.js +13 -0
- package/dist/bundle/chunks/image-resize-worker.js +1 -1
- package/dist/bundle/chunks/lib-ULKZYRGD.js +9 -0
- package/dist/bundle/chunks/{llama-cpp-classify-EJ5XMSQL.js → llama-cpp-classify-3VDXTYVJ.js} +3 -3
- package/dist/bundle/chunks/mistral-conversations-SKVQJGFZ.js +5 -0
- package/dist/bundle/chunks/{multipart-parser-AZP5BX2W.js → multipart-parser-HMCXZ4BD.js} +1 -1
- package/dist/bundle/chunks/node-DXZFQBEO.js +16 -0
- package/dist/bundle/chunks/{node-C2JGH2OB.js → node-LBZLUIBE.js} +1 -1
- package/dist/bundle/chunks/openai-chatgpt.js +1 -1
- package/dist/bundle/chunks/openai-codex-responses-LV4RIZL3.js +10 -0
- package/dist/bundle/chunks/openai-codex.js +1 -1
- package/dist/bundle/chunks/openai-completions-PUIR2V25.js +7 -0
- package/dist/bundle/chunks/openai-decisions-2DJLSYQF.js +5 -0
- package/dist/bundle/chunks/openai-responses-6ESQOXAF.js +4 -0
- package/dist/bundle/chunks/opencode-go.js +1 -1
- package/dist/bundle/chunks/openrouter-images-TVXBMY3V.js +2 -0
- package/dist/bundle/chunks/pi-messages-XS7FDWQI.js +8 -0
- package/dist/bundle/chunks/runtime-IB3XQ7E3.js +2 -0
- package/dist/bundle/chunks/runtime-LB35PK4J.js +3 -0
- package/dist/bundle/chunks/settings-manager-YNY5F4RU.js +2 -0
- package/dist/bundle/chunks/src-KDGO7EGF.js +4 -0
- package/dist/bundle/chunks/typesafe-system-one-67GAWZXE.js +2 -0
- package/dist/bundle/chunks/virtual-modules-U4CBGVMI.js +2 -0
- package/dist/bundle/cli-runtime.js +1 -1
- package/dist/bundle/index.js +1 -1
- package/dist/bundle/rpc-entry.js +1 -1
- package/dist/cli/args.d.ts +2 -1
- package/dist/cli/args.d.ts.map +1 -1
- package/dist/cli/args.js +30 -8
- package/dist/cli/args.js.map +1 -1
- package/dist/cli/credential-print.d.ts.map +1 -1
- package/dist/cli/credential-print.js +4 -4
- package/dist/cli/credential-print.js.map +1 -1
- package/dist/config.d.ts +18 -1
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +44 -6
- package/dist/config.js.map +1 -1
- package/dist/core/agent-session.d.ts +65 -8
- package/dist/core/agent-session.d.ts.map +1 -1
- package/dist/core/agent-session.js +240 -102
- package/dist/core/agent-session.js.map +1 -1
- package/dist/core/auth-storage.d.ts.map +1 -1
- package/dist/core/auth-storage.js +20 -13
- package/dist/core/auth-storage.js.map +1 -1
- package/dist/core/bash-executor.d.ts.map +1 -1
- package/dist/core/bash-executor.js +42 -52
- package/dist/core/bash-executor.js.map +1 -1
- package/dist/core/bug-report.d.ts +9 -1
- package/dist/core/bug-report.d.ts.map +1 -1
- package/dist/core/builtins/completion-checks.d.ts +3 -0
- package/dist/core/builtins/completion-checks.d.ts.map +1 -0
- package/dist/core/builtins/completion-checks.js +142 -0
- package/dist/core/builtins/completion-checks.js.map +1 -0
- package/dist/core/builtins/duet.d.ts.map +1 -1
- package/dist/core/builtins/duet.js +7 -5
- package/dist/core/builtins/duet.js.map +1 -1
- package/dist/core/builtins/git-safety.d.ts +3 -0
- package/dist/core/builtins/git-safety.d.ts.map +1 -0
- package/dist/core/builtins/git-safety.js +34 -0
- package/dist/core/builtins/git-safety.js.map +1 -0
- package/dist/core/builtins/index.d.ts.map +1 -1
- package/dist/core/builtins/index.js +4 -0
- package/dist/core/builtins/index.js.map +1 -1
- package/dist/core/client-identity.d.ts +8 -0
- package/dist/core/client-identity.d.ts.map +1 -0
- package/dist/core/client-identity.js +15 -0
- package/dist/core/client-identity.js.map +1 -0
- package/dist/core/compaction/branch-summarization.d.ts.map +1 -1
- package/dist/core/compaction/branch-summarization.js +1 -2
- package/dist/core/compaction/branch-summarization.js.map +1 -1
- package/dist/core/compaction/compaction.d.ts +2 -2
- package/dist/core/compaction/compaction.d.ts.map +1 -1
- package/dist/core/compaction/compaction.js +20 -15
- package/dist/core/compaction/compaction.js.map +1 -1
- package/dist/core/compaction/utils.d.ts +6 -0
- package/dist/core/compaction/utils.d.ts.map +1 -1
- package/dist/core/compaction/utils.js +7 -8
- package/dist/core/compaction/utils.js.map +1 -1
- package/dist/core/export-html/index.d.ts.map +1 -1
- package/dist/core/export-html/index.js +2 -0
- package/dist/core/export-html/index.js.map +1 -1
- package/dist/core/export-html/template.html +1 -0
- package/dist/core/export-html/template.js +23 -17
- package/dist/core/export-html/tool-renderer.d.ts +3 -3
- package/dist/core/export-html/tool-renderer.d.ts.map +1 -1
- package/dist/core/export-html/tool-renderer.js +5 -3
- package/dist/core/export-html/tool-renderer.js.map +1 -1
- package/dist/core/export-html/vendor/marked-cjk-friendly.min.js +6 -0
- package/dist/core/export-html/vendor/marked.min.js +30 -29
- package/dist/core/extensions/index.d.ts +1 -1
- package/dist/core/extensions/index.d.ts.map +1 -1
- package/dist/core/extensions/index.js.map +1 -1
- package/dist/core/extensions/loader.d.ts.map +1 -1
- package/dist/core/extensions/loader.js +7 -0
- package/dist/core/extensions/loader.js.map +1 -1
- package/dist/core/extensions/runner.d.ts +6 -2
- package/dist/core/extensions/runner.d.ts.map +1 -1
- package/dist/core/extensions/runner.js +16 -4
- package/dist/core/extensions/runner.js.map +1 -1
- package/dist/core/extensions/types.d.ts +61 -7
- package/dist/core/extensions/types.d.ts.map +1 -1
- package/dist/core/extensions/types.js.map +1 -1
- package/dist/core/extensions/virtual-modules.d.ts.map +1 -1
- package/dist/core/extensions/virtual-modules.js +2 -0
- package/dist/core/extensions/virtual-modules.js.map +1 -1
- package/dist/core/key-id-schema.d.ts +6 -0
- package/dist/core/key-id-schema.d.ts.map +1 -0
- package/dist/core/key-id-schema.js +16 -0
- package/dist/core/key-id-schema.js.map +1 -0
- package/dist/core/keybindings-schema.d.ts +4 -0
- package/dist/core/keybindings-schema.d.ts.map +1 -0
- package/dist/core/keybindings-schema.js +16 -0
- package/dist/core/keybindings-schema.js.map +1 -0
- package/dist/core/keybindings.d.ts +242 -75
- package/dist/core/keybindings.d.ts.map +1 -1
- package/dist/core/keybindings.js +30 -23
- package/dist/core/keybindings.js.map +1 -1
- package/dist/core/mcp-servers.d.ts +22 -0
- package/dist/core/mcp-servers.d.ts.map +1 -1
- package/dist/core/mcp-servers.js +72 -11
- package/dist/core/mcp-servers.js.map +1 -1
- package/dist/core/model-config.d.ts +1623 -74
- package/dist/core/model-config.d.ts.map +1 -1
- package/dist/core/model-config.js +70 -184
- package/dist/core/model-config.js.map +1 -1
- package/dist/core/model-registry.d.ts +3 -1
- package/dist/core/model-registry.d.ts.map +1 -1
- package/dist/core/model-registry.js +4 -0
- package/dist/core/model-registry.js.map +1 -1
- package/dist/core/model-resolver.d.ts +56 -43
- package/dist/core/model-resolver.d.ts.map +1 -1
- package/dist/core/model-resolver.js +253 -358
- package/dist/core/model-resolver.js.map +1 -1
- package/dist/core/model-runtime.d.ts.map +1 -1
- package/dist/core/model-runtime.js +19 -10
- package/dist/core/model-runtime.js.map +1 -1
- package/dist/core/nested-tool-calls.d.ts +1 -0
- package/dist/core/nested-tool-calls.d.ts.map +1 -1
- package/dist/core/nested-tool-calls.js +1 -0
- package/dist/core/nested-tool-calls.js.map +1 -1
- package/dist/core/package-manager.js +3 -3
- package/dist/core/package-manager.js.map +1 -1
- package/dist/core/polyphase/keyword.js +1 -1
- package/dist/core/polyphase/keyword.js.map +1 -1
- package/dist/core/polyphase/model-selection.d.ts.map +1 -1
- package/dist/core/polyphase/model-selection.js +15 -7
- package/dist/core/polyphase/model-selection.js.map +1 -1
- package/dist/core/polyphase/workflow/prelude.d.ts +2 -0
- package/dist/core/polyphase/workflow/prelude.d.ts.map +1 -1
- package/dist/core/polyphase/workflow/prelude.js +12 -16
- package/dist/core/polyphase/workflow/prelude.js.map +1 -1
- package/dist/core/polyphase/workflow/runtime.d.ts.map +1 -1
- package/dist/core/polyphase/workflow/runtime.js +2 -1
- package/dist/core/polyphase/workflow/runtime.js.map +1 -1
- package/dist/core/project-trust.d.ts.map +1 -1
- package/dist/core/project-trust.js +2 -1
- package/dist/core/project-trust.js.map +1 -1
- package/dist/core/prompt-templates.d.ts.map +1 -1
- package/dist/core/prompt-templates.js +7 -2
- package/dist/core/prompt-templates.js.map +1 -1
- package/dist/core/provider-composer.d.ts +2 -1
- package/dist/core/provider-composer.d.ts.map +1 -1
- package/dist/core/provider-composer.js +13 -0
- package/dist/core/provider-composer.js.map +1 -1
- package/dist/core/radius.d.ts +2 -0
- package/dist/core/radius.d.ts.map +1 -1
- package/dist/core/radius.js +2 -0
- package/dist/core/radius.js.map +1 -1
- package/dist/core/remote-catalog-provider.d.ts +12 -1
- package/dist/core/remote-catalog-provider.d.ts.map +1 -1
- package/dist/core/remote-catalog-provider.js +84 -24
- package/dist/core/remote-catalog-provider.js.map +1 -1
- package/dist/core/resource-loader.d.ts +3 -0
- package/dist/core/resource-loader.d.ts.map +1 -1
- package/dist/core/resource-loader.js +7 -4
- package/dist/core/resource-loader.js.map +1 -1
- package/dist/core/sdk.d.ts +13 -4
- package/dist/core/sdk.d.ts.map +1 -1
- package/dist/core/sdk.js +27 -15
- package/dist/core/sdk.js.map +1 -1
- package/dist/core/settings-defaults.d.ts +65 -0
- package/dist/core/settings-defaults.d.ts.map +1 -0
- package/dist/core/settings-defaults.js +66 -0
- package/dist/core/settings-defaults.js.map +1 -0
- package/dist/core/settings-manager.d.ts +17 -178
- package/dist/core/settings-manager.d.ts.map +1 -1
- package/dist/core/settings-manager.js +86 -57
- package/dist/core/settings-manager.js.map +1 -1
- package/dist/core/settings-schema.d.ts +269 -0
- package/dist/core/settings-schema.d.ts.map +1 -0
- package/dist/core/settings-schema.js +318 -0
- package/dist/core/settings-schema.js.map +1 -0
- package/dist/core/skills.d.ts +4 -1
- package/dist/core/skills.d.ts.map +1 -1
- package/dist/core/skills.js +6 -1
- package/dist/core/skills.js.map +1 -1
- package/dist/core/system-prompt.d.ts +6 -0
- package/dist/core/system-prompt.d.ts.map +1 -1
- package/dist/core/system-prompt.js +10 -5
- package/dist/core/system-prompt.js.map +1 -1
- package/dist/core/tools/bash.d.ts.map +1 -1
- package/dist/core/tools/bash.js +3 -5
- package/dist/core/tools/bash.js.map +1 -1
- package/dist/core/tools/grep.d.ts +8 -0
- package/dist/core/tools/grep.d.ts.map +1 -1
- package/dist/core/tools/grep.js +19 -7
- package/dist/core/tools/grep.js.map +1 -1
- package/dist/core/tools/index.d.ts +2 -0
- package/dist/core/tools/index.d.ts.map +1 -1
- package/dist/core/tools/index.js +2 -0
- package/dist/core/tools/index.js.map +1 -1
- package/dist/core/tools/output-accumulator.d.ts.map +1 -1
- package/dist/core/tools/output-accumulator.js +4 -10
- package/dist/core/tools/output-accumulator.js.map +1 -1
- package/dist/core/tools/path-utils.d.ts +1 -1
- package/dist/core/tools/path-utils.d.ts.map +1 -1
- package/dist/core/tools/path-utils.js +6 -6
- package/dist/core/tools/path-utils.js.map +1 -1
- package/dist/core/tools/read.d.ts +13 -0
- package/dist/core/tools/read.d.ts.map +1 -1
- package/dist/core/tools/read.js +32 -2
- package/dist/core/tools/read.js.map +1 -1
- package/dist/core/tools/render-utils.d.ts +20 -0
- package/dist/core/tools/render-utils.d.ts.map +1 -1
- package/dist/core/tools/render-utils.js +67 -0
- package/dist/core/tools/render-utils.js.map +1 -1
- package/dist/core/tools/renderers/bash.d.ts.map +1 -1
- package/dist/core/tools/renderers/bash.js +7 -35
- package/dist/core/tools/renderers/bash.js.map +1 -1
- package/dist/core/tools/renderers/edit.d.ts.map +1 -1
- package/dist/core/tools/renderers/edit.js +5 -4
- package/dist/core/tools/renderers/edit.js.map +1 -1
- package/dist/core/tools/renderers/index.d.ts +2 -2
- package/dist/core/tools/renderers/index.d.ts.map +1 -1
- package/dist/core/tools/renderers/index.js.map +1 -1
- package/dist/core/tools/renderers/read.d.ts.map +1 -1
- package/dist/core/tools/renderers/read.js +7 -11
- package/dist/core/tools/renderers/read.js.map +1 -1
- package/dist/extensions/codemode/execute.d.ts.map +1 -1
- package/dist/extensions/codemode/execute.js +391 -80
- package/dist/extensions/codemode/execute.js.map +1 -1
- package/dist/extensions/codemode/index.d.ts.map +1 -1
- package/dist/extensions/codemode/index.js +3 -1
- package/dist/extensions/codemode/index.js.map +1 -1
- package/dist/extensions/codemode/renderer.d.ts +2 -2
- package/dist/extensions/codemode/renderer.d.ts.map +1 -1
- package/dist/extensions/codemode/renderer.js +9 -3
- package/dist/extensions/codemode/renderer.js.map +1 -1
- package/dist/extensions/codemode/tool.d.ts +22 -21
- package/dist/extensions/codemode/tool.d.ts.map +1 -1
- package/dist/extensions/codemode/tool.js +96 -123
- package/dist/extensions/codemode/tool.js.map +1 -1
- package/dist/extensions/llama/provider.d.ts.map +1 -1
- package/dist/extensions/llama/provider.js +34 -11
- package/dist/extensions/llama/provider.js.map +1 -1
- package/dist/extensions/mcp/cli.d.ts.map +1 -1
- package/dist/extensions/mcp/cli.js +27 -33
- package/dist/extensions/mcp/cli.js.map +1 -1
- package/dist/extensions/mcp/config.d.ts +15 -3
- package/dist/extensions/mcp/config.d.ts.map +1 -1
- package/dist/extensions/mcp/config.js +49 -12
- package/dist/extensions/mcp/config.js.map +1 -1
- package/dist/extensions/mcp/index.d.ts +4 -1
- package/dist/extensions/mcp/index.d.ts.map +1 -1
- package/dist/extensions/mcp/index.js +279 -129
- package/dist/extensions/mcp/index.js.map +1 -1
- package/dist/extensions/mcp/oauth.d.ts +21 -11
- package/dist/extensions/mcp/oauth.d.ts.map +1 -1
- package/dist/extensions/mcp/oauth.js +166 -45
- package/dist/extensions/mcp/oauth.js.map +1 -1
- package/dist/extensions/mcp/resources.d.ts +3 -10
- package/dist/extensions/mcp/resources.d.ts.map +1 -1
- package/dist/extensions/mcp/resources.js +4 -5
- package/dist/extensions/mcp/resources.js.map +1 -1
- package/dist/extensions/mcp/runtime.d.ts +7 -7
- package/dist/extensions/mcp/runtime.d.ts.map +1 -1
- package/dist/extensions/mcp/runtime.js +31 -45
- package/dist/extensions/mcp/runtime.js.map +1 -1
- package/dist/extensions/mcp/tools.d.ts +7 -5
- package/dist/extensions/mcp/tools.d.ts.map +1 -1
- package/dist/extensions/mcp/tools.js +87 -29
- package/dist/extensions/mcp/tools.js.map +1 -1
- package/dist/extensions/mcp/ui.d.ts +3 -3
- package/dist/extensions/mcp/ui.d.ts.map +1 -1
- package/dist/extensions/mcp/ui.js +18 -6
- package/dist/extensions/mcp/ui.js.map +1 -1
- package/dist/extensions/tool-search/tool.d.ts +0 -2
- package/dist/extensions/tool-search/tool.d.ts.map +1 -1
- package/dist/extensions/tool-search/tool.js +2 -4
- package/dist/extensions/tool-search/tool.js.map +1 -1
- package/dist/hooks/checks/checks-runtime.cjs +215 -0
- package/dist/hooks/checks/git-safety.cjs +198 -0
- package/dist/hooks/checks/git-safety.d.cts +1 -0
- package/dist/hooks/gsd/draht-post-task.js +78 -39
- package/dist/hooks/gsd/draht-quality-gate.js +210 -122
- package/dist/hooks/gsd/package.json +3 -0
- package/dist/index.d.ts +5 -4
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -2
- package/dist/index.js.map +1 -1
- package/dist/main.d.ts.map +1 -1
- package/dist/main.js +11 -3
- package/dist/main.js.map +1 -1
- package/dist/modes/interactive/components/auth-url.d.ts +14 -0
- package/dist/modes/interactive/components/auth-url.d.ts.map +1 -0
- package/dist/modes/interactive/components/auth-url.js +37 -0
- package/dist/modes/interactive/components/auth-url.js.map +1 -0
- package/dist/modes/interactive/components/bash-execution.d.ts +5 -1
- package/dist/modes/interactive/components/bash-execution.d.ts.map +1 -1
- package/dist/modes/interactive/components/bash-execution.js +17 -14
- package/dist/modes/interactive/components/bash-execution.js.map +1 -1
- package/dist/modes/interactive/components/branch-summary-message.d.ts +2 -1
- package/dist/modes/interactive/components/branch-summary-message.d.ts.map +1 -1
- package/dist/modes/interactive/components/branch-summary-message.js +5 -2
- package/dist/modes/interactive/components/branch-summary-message.js.map +1 -1
- package/dist/modes/interactive/components/compaction-summary-message.d.ts +2 -1
- package/dist/modes/interactive/components/compaction-summary-message.d.ts.map +1 -1
- package/dist/modes/interactive/components/compaction-summary-message.js +5 -2
- package/dist/modes/interactive/components/compaction-summary-message.js.map +1 -1
- package/dist/modes/interactive/components/custom-entry.d.ts +3 -1
- package/dist/modes/interactive/components/custom-entry.d.ts.map +1 -1
- package/dist/modes/interactive/components/custom-entry.js +8 -2
- package/dist/modes/interactive/components/custom-entry.js.map +1 -1
- package/dist/modes/interactive/components/custom-message.d.ts.map +1 -1
- package/dist/modes/interactive/components/custom-message.js +1 -0
- package/dist/modes/interactive/components/custom-message.js.map +1 -1
- package/dist/modes/interactive/components/login-dialog.d.ts +3 -0
- package/dist/modes/interactive/components/login-dialog.d.ts.map +1 -1
- package/dist/modes/interactive/components/login-dialog.js +38 -10
- package/dist/modes/interactive/components/login-dialog.js.map +1 -1
- package/dist/modes/interactive/components/oauth-selector.d.ts +8 -2
- package/dist/modes/interactive/components/oauth-selector.d.ts.map +1 -1
- package/dist/modes/interactive/components/oauth-selector.js +24 -21
- package/dist/modes/interactive/components/oauth-selector.js.map +1 -1
- package/dist/modes/interactive/components/radius-login-selector.d.ts +15 -0
- package/dist/modes/interactive/components/radius-login-selector.d.ts.map +1 -0
- package/dist/modes/interactive/components/radius-login-selector.js +85 -0
- package/dist/modes/interactive/components/radius-login-selector.js.map +1 -0
- package/dist/modes/interactive/components/settings-selector.d.ts +3 -3
- package/dist/modes/interactive/components/settings-selector.d.ts.map +1 -1
- package/dist/modes/interactive/components/settings-selector.js +9 -8
- package/dist/modes/interactive/components/settings-selector.js.map +1 -1
- package/dist/modes/interactive/components/skill-invocation-message.d.ts +2 -1
- package/dist/modes/interactive/components/skill-invocation-message.d.ts.map +1 -1
- package/dist/modes/interactive/components/skill-invocation-message.js +5 -2
- package/dist/modes/interactive/components/skill-invocation-message.js.map +1 -1
- package/dist/modes/interactive/components/status-indicator.d.ts +1 -1
- package/dist/modes/interactive/components/status-indicator.d.ts.map +1 -1
- package/dist/modes/interactive/components/status-indicator.js +2 -2
- package/dist/modes/interactive/components/status-indicator.js.map +1 -1
- package/dist/modes/interactive/components/tool-execution.d.ts +12 -13
- package/dist/modes/interactive/components/tool-execution.d.ts.map +1 -1
- package/dist/modes/interactive/components/tool-execution.js +32 -45
- package/dist/modes/interactive/components/tool-execution.js.map +1 -1
- package/dist/modes/interactive/components/tree-selector.d.ts.map +1 -1
- package/dist/modes/interactive/components/tree-selector.js +2 -9
- package/dist/modes/interactive/components/tree-selector.js.map +1 -1
- package/dist/modes/interactive/components/user-message.d.ts.map +1 -1
- package/dist/modes/interactive/components/user-message.js +5 -4
- package/dist/modes/interactive/components/user-message.js.map +1 -1
- package/dist/modes/interactive/interactive-mode.d.ts +43 -48
- package/dist/modes/interactive/interactive-mode.d.ts.map +1 -1
- package/dist/modes/interactive/interactive-mode.js +362 -278
- package/dist/modes/interactive/interactive-mode.js.map +1 -1
- package/dist/modes/interactive/program-status-reporter.d.ts +34 -0
- package/dist/modes/interactive/program-status-reporter.d.ts.map +1 -0
- package/dist/modes/interactive/program-status-reporter.js +110 -0
- package/dist/modes/interactive/program-status-reporter.js.map +1 -0
- package/dist/modes/interactive/theme/dark.json +1 -1
- package/dist/modes/interactive/theme/light.json +1 -1
- package/dist/modes/interactive/theme/system-theme.d.ts +2 -1
- package/dist/modes/interactive/theme/system-theme.d.ts.map +1 -1
- package/dist/modes/interactive/theme/system-theme.js +16 -5
- package/dist/modes/interactive/theme/system-theme.js.map +1 -1
- package/dist/modes/interactive/theme/theme-schema.d.ts +28 -0
- package/dist/modes/interactive/theme/theme-schema.d.ts.map +1 -0
- package/dist/modes/interactive/theme/theme-schema.js +105 -0
- package/dist/modes/interactive/theme/theme-schema.js.map +1 -0
- package/dist/modes/interactive/theme/theme-tokens.d.ts +257 -0
- package/dist/modes/interactive/theme/theme-tokens.d.ts.map +1 -0
- package/dist/modes/interactive/theme/theme-tokens.js +94 -0
- package/dist/modes/interactive/theme/theme-tokens.js.map +1 -0
- package/dist/modes/interactive/theme/theme.d.ts +13 -16
- package/dist/modes/interactive/theme/theme.d.ts.map +1 -1
- package/dist/modes/interactive/theme/theme.js +22 -29
- package/dist/modes/interactive/theme/theme.js.map +1 -1
- package/dist/modes/print-mode.d.ts.map +1 -1
- package/dist/modes/print-mode.js +4 -0
- package/dist/modes/print-mode.js.map +1 -1
- package/dist/package-manager-cli.d.ts.map +1 -1
- package/dist/package-manager-cli.js +26 -1
- package/dist/package-manager-cli.js.map +1 -1
- package/dist/prompts/commands/atomic-commit.md +8 -6
- package/dist/prompts/commands/brainstorm.md +5 -149
- package/dist/prompts/commands/create-verification-skill.md +8 -48
- package/dist/prompts/commands/discuss-phase.md +6 -10
- package/dist/prompts/commands/execute-phase.md +18 -45
- package/dist/prompts/commands/fix.md +16 -128
- package/dist/prompts/commands/grill.md +6 -53
- package/dist/prompts/commands/init-project.md +13 -18
- package/dist/prompts/commands/map-codebase.md +3 -3
- package/dist/prompts/commands/new-project.md +12 -17
- package/dist/prompts/commands/next-milestone.md +4 -8
- package/dist/prompts/commands/orchestrate-loop.md +12 -12
- package/dist/prompts/commands/orchestrate.md +12 -11
- package/dist/prompts/commands/pause-work.md +1 -1
- package/dist/prompts/commands/plan-phase.md +15 -37
- package/dist/prompts/commands/quick.md +11 -64
- package/dist/prompts/commands/resolve-conflicts.md +2 -15
- package/dist/prompts/commands/triage.md +3 -14
- package/dist/prompts/commands/verify-work.md +15 -63
- package/dist/prompts/commands/why.md +18 -118
- package/dist/skills/atomic-reasoning/SKILL.md +6 -105
- package/dist/skills/blast-radius/SKILL.md +1 -1
- package/dist/skills/epistemics/SKILL.md +12 -87
- package/dist/skills/explainers/SKILL.md +1 -1
- package/dist/skills/typescript-discipline/SKILL.md +12 -42
- package/dist/skills/typescript-discipline/references/patterns.md +25 -266
- package/dist/skills/unslop/SKILL.md +14 -105
- package/dist/utils/ansi.d.ts +8 -0
- package/dist/utils/ansi.d.ts.map +1 -1
- package/dist/utils/ansi.js +30 -11
- package/dist/utils/ansi.js.map +1 -1
- package/dist/utils/clipboard-command.d.ts.map +1 -1
- package/dist/utils/clipboard-command.js +3 -0
- package/dist/utils/clipboard-command.js.map +1 -1
- package/dist/utils/clipboard.d.ts.map +1 -1
- package/dist/utils/clipboard.js +18 -12
- package/dist/utils/clipboard.js.map +1 -1
- package/dist/utils/draht-user-agent.d.ts +1 -0
- package/dist/utils/draht-user-agent.d.ts.map +1 -1
- package/dist/utils/draht-user-agent.js +3 -2
- package/dist/utils/draht-user-agent.js.map +1 -1
- package/dist/utils/image-convert.d.ts +12 -0
- package/dist/utils/image-convert.d.ts.map +1 -1
- package/dist/utils/image-convert.js +45 -6
- package/dist/utils/image-convert.js.map +1 -1
- package/dist/utils/image-resize-core.d.ts +12 -0
- package/dist/utils/image-resize-core.d.ts.map +1 -1
- package/dist/utils/image-resize-core.js +5 -0
- package/dist/utils/image-resize-core.js.map +1 -1
- package/dist/utils/image-resize-worker.js +3 -2
- package/dist/utils/image-resize-worker.js.map +1 -1
- package/dist/utils/image-resize.d.ts.map +1 -1
- package/dist/utils/image-resize.js +9 -10
- package/dist/utils/image-resize.js.map +1 -1
- package/dist/utils/output-files.d.ts +15 -0
- package/dist/utils/output-files.d.ts.map +1 -0
- package/dist/utils/output-files.js +30 -0
- package/dist/utils/output-files.js.map +1 -0
- package/dist/utils/shell.d.ts.map +1 -1
- package/dist/utils/shell.js +43 -13
- package/dist/utils/shell.js.map +1 -1
- package/dist/utils/syntax-highlight.d.ts.map +1 -1
- package/dist/utils/syntax-highlight.js +6 -1
- package/dist/utils/syntax-highlight.js.map +1 -1
- package/dist/utils/tools-manager.d.ts.map +1 -1
- package/dist/utils/tools-manager.js +4 -3
- package/dist/utils/tools-manager.js.map +1 -1
- package/docs/cli-integration.md +1 -1
- package/docs/cli.md +30 -26
- package/docs/codemode.md +230 -0
- package/docs/compaction.md +5 -5
- package/docs/containerization.md +1 -1
- package/docs/custom-provider.md +53 -1
- package/docs/docs.json +17 -1
- package/docs/drahtbank.md +163 -0
- package/docs/environment-variables.md +5 -2
- package/docs/extensions.md +143 -13
- package/docs/index.md +1 -1
- package/docs/json.md +3 -3
- package/docs/keybindings.md +9 -5
- package/docs/llama-cpp.md +9 -2
- package/docs/mcp.md +59 -3
- package/docs/message-types.md +22 -4
- package/docs/models-configuration.md +187 -0
- package/docs/models.md +67 -4
- package/docs/nvidia-rtx-llama-cpp.md +96 -0
- package/docs/providers.md +70 -5
- package/docs/sdk.md +1 -1
- package/docs/settings.md +10 -8
- package/docs/terminal-setup.md +14 -0
- package/docs/themes.md +4 -2
- package/docs/tui.md +71 -1
- package/docs/usage.md +1 -1
- package/docs/windows.md +16 -2
- package/eval/drahtbank/adapters.d.mts +35 -0
- package/eval/drahtbank/adapters.mjs +192 -0
- package/eval/drahtbank/bank.d.mts +141 -0
- package/eval/drahtbank/bank.mjs +515 -0
- package/eval/drahtbank/cases-v2.d.mts +28 -0
- package/eval/drahtbank/cases-v2.mjs +164 -0
- package/eval/drahtbank/cases.d.mts +17 -0
- package/eval/drahtbank/cases.mjs +198 -0
- package/eval/drahtbank/cli.mjs +120 -0
- package/eval/drahtbank/grading-v2.d.mts +26 -0
- package/eval/drahtbank/grading-v2.mjs +227 -0
- package/eval/drahtbank/isolated-tools.ts +223 -0
- package/eval/drahtbank/isolation-worker.mjs +53 -0
- package/eval/drahtbank/isolation.d.mts +52 -0
- package/eval/drahtbank/isolation.mjs +345 -0
- package/eval/drahtbank/runtime-checks.d.mts +15 -0
- package/eval/drahtbank/runtime-checks.mjs +187 -0
- package/examples/extensions/dynamic-resources/dynamic.json +1 -1
- package/examples/extensions/minimal-mode.ts +4 -5
- package/examples/extensions/overlay-test.ts +2 -2
- package/examples/extensions/plan-mode/index.ts +6 -2
- package/examples/extensions/subagent/index.ts +4 -6
- package/hooks/checks/checks-runtime.cjs +215 -0
- package/hooks/checks/git-safety.cjs +198 -0
- package/hooks/checks/git-safety.d.cts +1 -0
- package/hooks/gsd/draht-post-task.js +78 -39
- package/hooks/gsd/draht-quality-gate.js +210 -122
- package/hooks/gsd/package.json +3 -0
- package/package.json +21 -16
- package/prompts/commands/atomic-commit.md +8 -6
- package/prompts/commands/brainstorm.md +5 -149
- package/prompts/commands/create-verification-skill.md +8 -48
- package/prompts/commands/discuss-phase.md +6 -10
- package/prompts/commands/execute-phase.md +18 -45
- package/prompts/commands/fix.md +16 -128
- package/prompts/commands/grill.md +6 -53
- package/prompts/commands/init-project.md +13 -18
- package/prompts/commands/map-codebase.md +3 -3
- package/prompts/commands/new-project.md +12 -17
- package/prompts/commands/next-milestone.md +4 -8
- package/prompts/commands/orchestrate-loop.md +12 -12
- package/prompts/commands/orchestrate.md +12 -11
- package/prompts/commands/pause-work.md +1 -1
- package/prompts/commands/plan-phase.md +15 -37
- package/prompts/commands/quick.md +11 -64
- package/prompts/commands/resolve-conflicts.md +2 -15
- package/prompts/commands/triage.md +3 -14
- package/prompts/commands/verify-work.md +15 -63
- package/prompts/commands/why.md +18 -118
- package/schemas/keybindings.schema.json +433 -0
- package/schemas/models.schema.json +1190 -0
- package/schemas/settings.schema.json +849 -0
- package/schemas/theme.schema.json +365 -0
- package/skills/atomic-reasoning/SKILL.md +6 -105
- package/skills/blast-radius/SKILL.md +1 -1
- package/skills/epistemics/SKILL.md +12 -87
- package/skills/explainers/SKILL.md +1 -1
- package/skills/typescript-discipline/SKILL.md +12 -42
- package/skills/typescript-discipline/references/patterns.md +25 -266
- package/skills/unslop/SKILL.md +14 -105
- package/dist/bundle/chunks/anthropic-messages-GAKYXF65.js +0 -6
- package/dist/bundle/chunks/azure-openai-responses-ZIXMK6JO.js +0 -2
- package/dist/bundle/chunks/chunk-2E5VODES.js +0 -2
- package/dist/bundle/chunks/chunk-2VAF4XJI.js +0 -146
- package/dist/bundle/chunks/chunk-4TVQYRQY.js +0 -2
- package/dist/bundle/chunks/chunk-6MSE6LZ3.js +0 -6
- package/dist/bundle/chunks/chunk-6ZJKIMU7.js +0 -2
- package/dist/bundle/chunks/chunk-736QBNUZ.js +0 -12
- package/dist/bundle/chunks/chunk-7TYCZN4Z.js +0 -137
- package/dist/bundle/chunks/chunk-BXSHCX3G.js +0 -11
- package/dist/bundle/chunks/chunk-GVXA72ZA.js +0 -2
- package/dist/bundle/chunks/chunk-I5OKY6RH.js +0 -11
- package/dist/bundle/chunks/chunk-IWTUBX6V.js +0 -4
- package/dist/bundle/chunks/chunk-KU5HAKZL.js +0 -4
- package/dist/bundle/chunks/chunk-MO3SCGBN.js +0 -18
- package/dist/bundle/chunks/chunk-N2QZNJT6.js +0 -65
- package/dist/bundle/chunks/chunk-PGJAHC3R.js +0 -107
- package/dist/bundle/chunks/chunk-QVFELZW2.js +0 -312
- package/dist/bundle/chunks/chunk-RZKPFWMH.js +0 -42
- package/dist/bundle/chunks/chunk-SDRCE6OP.js +0 -2
- package/dist/bundle/chunks/chunk-SVNWI7EV.js +0 -8
- package/dist/bundle/chunks/chunk-TIA2T6EO.js +0 -3
- package/dist/bundle/chunks/chunk-TOWVIJ2O.js +0 -1623
- package/dist/bundle/chunks/chunk-XBUEMKIY.js +0 -2
- package/dist/bundle/chunks/chunk-ZA4QNPJY.js +0 -82
- package/dist/bundle/chunks/cloudflare-workers-ai-system-one-MJKOAE5S.js +0 -2
- package/dist/bundle/chunks/execute-6N7T7VLY.js +0 -18
- package/dist/bundle/chunks/google-generative-ai-RPUPQ6PM.js +0 -2
- package/dist/bundle/chunks/google-vertex-EZES5QVQ.js +0 -2
- package/dist/bundle/chunks/https-proxy-agent-O2PVUIOI.js +0 -13
- package/dist/bundle/chunks/lib-XOG5PI3Y.js +0 -9
- package/dist/bundle/chunks/mistral-conversations-AOYGU43Y.js +0 -5
- package/dist/bundle/chunks/node-LQ52KV6B.js +0 -16
- package/dist/bundle/chunks/openai-codex-responses-M2Y77JEQ.js +0 -10
- package/dist/bundle/chunks/openai-completions-A4OKYOYV.js +0 -7
- package/dist/bundle/chunks/openai-responses-6IXV53T3.js +0 -3
- package/dist/bundle/chunks/openrouter-images-LYV4NKFM.js +0 -2
- package/dist/bundle/chunks/pi-messages-KKMEUT3Z.js +0 -8
- package/dist/bundle/chunks/runtime-363BOYEO.js +0 -3
- package/dist/bundle/chunks/runtime-D3KV73AE.js +0 -2
- package/dist/bundle/chunks/settings-manager-GEOZJXFQ.js +0 -2
- package/dist/bundle/chunks/src-TIBHS42X.js +0 -4
- package/dist/bundle/chunks/typesafe-system-one-YBEEY5XU.js +0 -2
- package/dist/bundle/chunks/virtual-modules-RLC4Y5MX.js +0 -2
- package/dist/core/provider-attribution.d.ts +0 -4
- package/dist/core/provider-attribution.d.ts.map +0 -1
- package/dist/core/provider-attribution.js +0 -72
- package/dist/core/provider-attribution.js.map +0 -1
- package/dist/experimental/micro/api.d.ts +0 -81
- package/dist/experimental/micro/api.d.ts.map +0 -1
- package/dist/experimental/micro/api.js +0 -2
- package/dist/experimental/micro/api.js.map +0 -1
- package/dist/experimental/micro/main.d.ts +0 -3
- package/dist/experimental/micro/main.d.ts.map +0 -1
- package/dist/experimental/micro/main.js +0 -21
- package/dist/experimental/micro/main.js.map +0 -1
- package/dist/experimental/micro/models.d.ts +0 -11
- package/dist/experimental/micro/models.d.ts.map +0 -1
- package/dist/experimental/micro/models.js +0 -95
- package/dist/experimental/micro/models.js.map +0 -1
- package/dist/experimental/micro/runtime.d.ts +0 -12
- package/dist/experimental/micro/runtime.d.ts.map +0 -1
- package/dist/experimental/micro/runtime.js +0 -465
- package/dist/experimental/micro/runtime.js.map +0 -1
- package/dist/experimental/micro/sessions.d.ts +0 -10
- package/dist/experimental/micro/sessions.d.ts.map +0 -1
- package/dist/experimental/micro/sessions.js +0 -41
- package/dist/experimental/micro/sessions.js.map +0 -1
- package/dist/experimental/micro/tools.d.ts +0 -10
- package/dist/experimental/micro/tools.d.ts.map +0 -1
- package/dist/experimental/micro/tools.js +0 -96
- package/dist/experimental/micro/tools.js.map +0 -1
- package/dist/experimental/micro/tui.d.ts +0 -3
- package/dist/experimental/micro/tui.d.ts.map +0 -1
- package/dist/experimental/micro/tui.js +0 -510
- package/dist/experimental/micro/tui.js.map +0 -1
- package/dist/experimental/mini/main.d.ts +0 -7
- package/dist/experimental/mini/main.d.ts.map +0 -1
- package/dist/experimental/mini/main.js +0 -21
- package/dist/experimental/mini/main.js.map +0 -1
- package/dist/experimental/mini/server/entry.d.ts +0 -3
- package/dist/experimental/mini/server/entry.d.ts.map +0 -1
- package/dist/experimental/mini/server/entry.js +0 -11
- package/dist/experimental/mini/server/entry.js.map +0 -1
- package/dist/experimental/mini/server/run.d.ts +0 -13
- package/dist/experimental/mini/server/run.d.ts.map +0 -1
- package/dist/experimental/mini/server/run.js +0 -150
- package/dist/experimental/mini/server/run.js.map +0 -1
- package/dist/experimental/mini/shared/protocol.d.ts +0 -127
- package/dist/experimental/mini/shared/protocol.d.ts.map +0 -1
- package/dist/experimental/mini/shared/protocol.js +0 -13
- package/dist/experimental/mini/shared/protocol.js.map +0 -1
- package/dist/experimental/mini/shared/rpc.d.ts +0 -49
- package/dist/experimental/mini/shared/rpc.d.ts.map +0 -1
- package/dist/experimental/mini/shared/rpc.js +0 -171
- package/dist/experimental/mini/shared/rpc.js.map +0 -1
- package/dist/experimental/mini/shared/transport.d.ts +0 -35
- package/dist/experimental/mini/shared/transport.d.ts.map +0 -1
- package/dist/experimental/mini/shared/transport.js +0 -94
- package/dist/experimental/mini/shared/transport.js.map +0 -1
- package/dist/experimental/mini/tui/run.d.ts +0 -9
- package/dist/experimental/mini/tui/run.d.ts.map +0 -1
- package/dist/experimental/mini/tui/run.js +0 -62
- package/dist/experimental/mini/tui/run.js.map +0 -1
- package/dist/experimental/mini/tui/session.d.ts +0 -26
- package/dist/experimental/mini/tui/session.d.ts.map +0 -1
- package/dist/experimental/mini/tui/session.js +0 -94
- package/dist/experimental/mini/tui/session.js.map +0 -1
- package/dist/experimental/mini/tui/view.d.ts +0 -10
- package/dist/experimental/mini/tui/view.d.ts.map +0 -1
- package/dist/experimental/mini/tui/view.js +0 -461
- package/dist/experimental/mini/tui/view.js.map +0 -1
- package/dist/experimental/mini/worker/entry.d.ts +0 -3
- package/dist/experimental/mini/worker/entry.d.ts.map +0 -1
- package/dist/experimental/mini/worker/entry.js +0 -10
- package/dist/experimental/mini/worker/entry.js.map +0 -1
- package/dist/experimental/mini/worker/lane-service.d.ts +0 -44
- package/dist/experimental/mini/worker/lane-service.d.ts.map +0 -1
- package/dist/experimental/mini/worker/lane-service.js +0 -97
- package/dist/experimental/mini/worker/lane-service.js.map +0 -1
- package/dist/experimental/mini/worker/models-service.d.ts +0 -19
- package/dist/experimental/mini/worker/models-service.d.ts.map +0 -1
- package/dist/experimental/mini/worker/models-service.js +0 -136
- package/dist/experimental/mini/worker/models-service.js.map +0 -1
- package/dist/experimental/mini/worker/run.d.ts +0 -14
- package/dist/experimental/mini/worker/run.d.ts.map +0 -1
- package/dist/experimental/mini/worker/run.js +0 -88
- package/dist/experimental/mini/worker/run.js.map +0 -1
- package/dist/modes/interactive/theme/theme-json.d.ts +0 -85
- package/dist/modes/interactive/theme/theme-json.d.ts.map +0 -1
- package/dist/modes/interactive/theme/theme-json.js +0 -132
- package/dist/modes/interactive/theme/theme-json.js.map +0 -1
- package/dist/modes/interactive/theme/theme-schema.json +0 -361
- /package/dist/bundle/chunks/{chunk-ZZD35WKM.js → chunk-MOOADNVS.js} +0 -0
|
@@ -0,0 +1,849 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://raw.githubusercontent.com/draht-dev/draht/main/packages/coding-agent/schemas/settings.schema.json",
|
|
4
|
+
"$comment": "This file is generated from TypeScript source. Do not edit it manually; run npm run generate:schemas.",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"$schema": {
|
|
8
|
+
"type": "string",
|
|
9
|
+
"description": "JSON Schema reference."
|
|
10
|
+
},
|
|
11
|
+
"lastChangelogVersion": {
|
|
12
|
+
"type": "string"
|
|
13
|
+
},
|
|
14
|
+
"defaultProvider": {
|
|
15
|
+
"type": "string"
|
|
16
|
+
},
|
|
17
|
+
"defaultModel": {
|
|
18
|
+
"type": "string"
|
|
19
|
+
},
|
|
20
|
+
"defaultThinkingLevel": {
|
|
21
|
+
"$ref": "#/$defs/ModelThinkingLevel"
|
|
22
|
+
},
|
|
23
|
+
"modelThinkingLevels": {
|
|
24
|
+
"type": "object",
|
|
25
|
+
"patternProperties": {
|
|
26
|
+
"^.*$": {
|
|
27
|
+
"$ref": "#/$defs/ModelThinkingLevel"
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
"description": "Per-model default thinking level overrides keyed by \"provider/modelId\"."
|
|
31
|
+
},
|
|
32
|
+
"transport": {
|
|
33
|
+
"anyOf": [
|
|
34
|
+
{
|
|
35
|
+
"type": "string",
|
|
36
|
+
"const": "auto"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"type": "string",
|
|
40
|
+
"const": "sse"
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"type": "string",
|
|
44
|
+
"const": "websocket"
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"type": "string",
|
|
48
|
+
"const": "websocket-cached"
|
|
49
|
+
}
|
|
50
|
+
],
|
|
51
|
+
"default": "auto"
|
|
52
|
+
},
|
|
53
|
+
"steeringMode": {
|
|
54
|
+
"anyOf": [
|
|
55
|
+
{
|
|
56
|
+
"type": "string",
|
|
57
|
+
"const": "all"
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"type": "string",
|
|
61
|
+
"const": "one-at-a-time"
|
|
62
|
+
}
|
|
63
|
+
],
|
|
64
|
+
"default": "one-at-a-time"
|
|
65
|
+
},
|
|
66
|
+
"followUpMode": {
|
|
67
|
+
"anyOf": [
|
|
68
|
+
{
|
|
69
|
+
"type": "string",
|
|
70
|
+
"const": "all"
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"type": "string",
|
|
74
|
+
"const": "one-at-a-time"
|
|
75
|
+
}
|
|
76
|
+
],
|
|
77
|
+
"default": "one-at-a-time"
|
|
78
|
+
},
|
|
79
|
+
"theme": {
|
|
80
|
+
"type": "string"
|
|
81
|
+
},
|
|
82
|
+
"compaction": {
|
|
83
|
+
"type": "object",
|
|
84
|
+
"properties": {
|
|
85
|
+
"enabled": {
|
|
86
|
+
"type": "boolean",
|
|
87
|
+
"default": true
|
|
88
|
+
},
|
|
89
|
+
"reserveTokens": {
|
|
90
|
+
"type": "integer",
|
|
91
|
+
"minimum": 0,
|
|
92
|
+
"maximum": 9007199254740991,
|
|
93
|
+
"default": 16384
|
|
94
|
+
},
|
|
95
|
+
"keepRecentTokens": {
|
|
96
|
+
"type": "integer",
|
|
97
|
+
"minimum": 0,
|
|
98
|
+
"maximum": 9007199254740991,
|
|
99
|
+
"default": 20000
|
|
100
|
+
},
|
|
101
|
+
"modelOverrides": {
|
|
102
|
+
"type": "object",
|
|
103
|
+
"patternProperties": {
|
|
104
|
+
"^.*$": {
|
|
105
|
+
"type": "object",
|
|
106
|
+
"properties": {
|
|
107
|
+
"reserveTokens": {
|
|
108
|
+
"type": "integer",
|
|
109
|
+
"minimum": 0,
|
|
110
|
+
"maximum": 9007199254740991
|
|
111
|
+
},
|
|
112
|
+
"keepRecentTokens": {
|
|
113
|
+
"type": "integer",
|
|
114
|
+
"minimum": 0,
|
|
115
|
+
"maximum": 9007199254740991
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
},
|
|
120
|
+
"description": "Per-model overrides keyed by exact \"provider/modelId\" strings."
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
},
|
|
124
|
+
"branchSummary": {
|
|
125
|
+
"type": "object",
|
|
126
|
+
"properties": {
|
|
127
|
+
"reserveTokens": {
|
|
128
|
+
"type": "number",
|
|
129
|
+
"description": "Tokens reserved for the prompt and LLM response.",
|
|
130
|
+
"default": 16384
|
|
131
|
+
},
|
|
132
|
+
"skipPrompt": {
|
|
133
|
+
"type": "boolean",
|
|
134
|
+
"description": "When true, skips the \"Summarize branch?\" prompt and defaults to no summary.",
|
|
135
|
+
"default": false
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
},
|
|
139
|
+
"checkpoints": {
|
|
140
|
+
"type": "object",
|
|
141
|
+
"properties": {
|
|
142
|
+
"retentionDays": {
|
|
143
|
+
"type": "number",
|
|
144
|
+
"default": 30,
|
|
145
|
+
"description": "Delete checkpoint refs older than this many days."
|
|
146
|
+
},
|
|
147
|
+
"maxPerSession": {
|
|
148
|
+
"type": "number",
|
|
149
|
+
"description": "Maximum newest checkpoint refs per session; omitted means unlimited."
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
},
|
|
153
|
+
"polyphase": {
|
|
154
|
+
"type": "object",
|
|
155
|
+
"properties": {
|
|
156
|
+
"maxConcurrency": {
|
|
157
|
+
"type": "number",
|
|
158
|
+
"description": "Concurrent child agents; clamped to 1-16. Defaults to available CPUs minus two, clamped to 2-8."
|
|
159
|
+
},
|
|
160
|
+
"maxAgentsPerRun": {
|
|
161
|
+
"type": "number",
|
|
162
|
+
"default": 200,
|
|
163
|
+
"description": "Agent calls per workflow; clamped to 1-1000."
|
|
164
|
+
},
|
|
165
|
+
"maxItemsPerCall": {
|
|
166
|
+
"type": "number",
|
|
167
|
+
"default": 1024,
|
|
168
|
+
"description": "Items per parallel or pipeline call; clamped to 1-4096."
|
|
169
|
+
},
|
|
170
|
+
"workflowTool": {
|
|
171
|
+
"enum": [
|
|
172
|
+
"keyword",
|
|
173
|
+
"always",
|
|
174
|
+
"off"
|
|
175
|
+
],
|
|
176
|
+
"default": "keyword"
|
|
177
|
+
},
|
|
178
|
+
"keyword": {
|
|
179
|
+
"type": "string",
|
|
180
|
+
"default": "polyphase",
|
|
181
|
+
"description": "Workflow activation keyword; invalid keywords fall back to polyphase."
|
|
182
|
+
},
|
|
183
|
+
"defaultBudgetTokens": {
|
|
184
|
+
"type": "number",
|
|
185
|
+
"description": "Default workflow token budget; minimum 1000. Omitted means unlimited."
|
|
186
|
+
},
|
|
187
|
+
"resultChars": {
|
|
188
|
+
"type": "number",
|
|
189
|
+
"default": 64000,
|
|
190
|
+
"description": "Agent output characters per call; clamped to 8000-400000."
|
|
191
|
+
},
|
|
192
|
+
"dock": {
|
|
193
|
+
"type": "boolean",
|
|
194
|
+
"default": true
|
|
195
|
+
},
|
|
196
|
+
"maxDepth": {
|
|
197
|
+
"type": "number",
|
|
198
|
+
"default": 2,
|
|
199
|
+
"description": "Delegation depth; clamped to 1-4."
|
|
200
|
+
},
|
|
201
|
+
"liveUpdateMs": {
|
|
202
|
+
"type": "number",
|
|
203
|
+
"default": 250,
|
|
204
|
+
"description": "Tool row update interval; clamped to 100-2000 milliseconds."
|
|
205
|
+
},
|
|
206
|
+
"retainRuns": {
|
|
207
|
+
"type": "number",
|
|
208
|
+
"default": 20,
|
|
209
|
+
"description": "Finished runs retained; clamped to 1-100."
|
|
210
|
+
},
|
|
211
|
+
"workflowTimeoutMs": {
|
|
212
|
+
"type": "number",
|
|
213
|
+
"default": 0,
|
|
214
|
+
"description": "Workflow deadline in milliseconds; zero disables it."
|
|
215
|
+
}
|
|
216
|
+
}
|
|
217
|
+
},
|
|
218
|
+
"attachableSessions": {
|
|
219
|
+
"type": "boolean",
|
|
220
|
+
"default": true,
|
|
221
|
+
"description": "Register interactive sessions on a control socket. Global setting only; project settings cannot override it."
|
|
222
|
+
},
|
|
223
|
+
"retry": {
|
|
224
|
+
"type": "object",
|
|
225
|
+
"properties": {
|
|
226
|
+
"enabled": {
|
|
227
|
+
"type": "boolean",
|
|
228
|
+
"default": true
|
|
229
|
+
},
|
|
230
|
+
"maxRetries": {
|
|
231
|
+
"type": "number",
|
|
232
|
+
"default": 3
|
|
233
|
+
},
|
|
234
|
+
"baseDelayMs": {
|
|
235
|
+
"type": "number",
|
|
236
|
+
"description": "Exponential backoff base delay in milliseconds: 2s, 4s, 8s.",
|
|
237
|
+
"default": 2000
|
|
238
|
+
},
|
|
239
|
+
"maxAgentDelayMs": {
|
|
240
|
+
"type": "number",
|
|
241
|
+
"default": 60000
|
|
242
|
+
},
|
|
243
|
+
"provider": {
|
|
244
|
+
"type": "object",
|
|
245
|
+
"properties": {
|
|
246
|
+
"timeoutMs": {
|
|
247
|
+
"type": "number",
|
|
248
|
+
"description": "SDK or provider request timeout in milliseconds."
|
|
249
|
+
},
|
|
250
|
+
"maxRetries": {
|
|
251
|
+
"type": "number",
|
|
252
|
+
"description": "SDK or provider retry attempts."
|
|
253
|
+
},
|
|
254
|
+
"maxRetryDelayMs": {
|
|
255
|
+
"type": "number",
|
|
256
|
+
"description": "Maximum server-requested delay before failing.",
|
|
257
|
+
"default": 60000
|
|
258
|
+
}
|
|
259
|
+
}
|
|
260
|
+
},
|
|
261
|
+
"maxDelayMs": {
|
|
262
|
+
"type": "number",
|
|
263
|
+
"description": "Legacy retry delay setting. Use provider.maxRetryDelayMs instead.",
|
|
264
|
+
"deprecated": true
|
|
265
|
+
}
|
|
266
|
+
}
|
|
267
|
+
},
|
|
268
|
+
"hideThinkingBlock": {
|
|
269
|
+
"type": "boolean",
|
|
270
|
+
"default": false
|
|
271
|
+
},
|
|
272
|
+
"showCacheMissNotices": {
|
|
273
|
+
"type": "boolean",
|
|
274
|
+
"description": "Show cache cost and provider recovery notices.",
|
|
275
|
+
"default": false
|
|
276
|
+
},
|
|
277
|
+
"externalEditor": {
|
|
278
|
+
"type": "string",
|
|
279
|
+
"description": "Command for Ctrl+G external editor; takes precedence over VISUAL and EDITOR."
|
|
280
|
+
},
|
|
281
|
+
"shellPath": {
|
|
282
|
+
"type": "string",
|
|
283
|
+
"description": "Custom shell path, for example for Cygwin on Windows, with support for leading ~ expansion."
|
|
284
|
+
},
|
|
285
|
+
"quietStartup": {
|
|
286
|
+
"anyOf": [
|
|
287
|
+
{
|
|
288
|
+
"type": "boolean"
|
|
289
|
+
},
|
|
290
|
+
{
|
|
291
|
+
"type": "string",
|
|
292
|
+
"const": "header"
|
|
293
|
+
}
|
|
294
|
+
],
|
|
295
|
+
"description": "When true, hide all startup output. When \"header\", keep only the startup header.",
|
|
296
|
+
"default": false
|
|
297
|
+
},
|
|
298
|
+
"defaultProjectTrust": {
|
|
299
|
+
"anyOf": [
|
|
300
|
+
{
|
|
301
|
+
"type": "string",
|
|
302
|
+
"const": "ask"
|
|
303
|
+
},
|
|
304
|
+
{
|
|
305
|
+
"type": "string",
|
|
306
|
+
"const": "always"
|
|
307
|
+
},
|
|
308
|
+
{
|
|
309
|
+
"type": "string",
|
|
310
|
+
"const": "never"
|
|
311
|
+
}
|
|
312
|
+
],
|
|
313
|
+
"description": "Global setting only.",
|
|
314
|
+
"default": "ask"
|
|
315
|
+
},
|
|
316
|
+
"shellCommandPrefix": {
|
|
317
|
+
"type": "string",
|
|
318
|
+
"description": "Prefix prepended to every bash command, for example to enable shell aliases."
|
|
319
|
+
},
|
|
320
|
+
"npmCommand": {
|
|
321
|
+
"type": "array",
|
|
322
|
+
"items": {
|
|
323
|
+
"type": "string"
|
|
324
|
+
},
|
|
325
|
+
"description": "Command used for npm package lookup and installation, in argv form such as [\"mise\", \"exec\", \"node@20\", \"--\", \"npm\"]."
|
|
326
|
+
},
|
|
327
|
+
"collapseChangelog": {
|
|
328
|
+
"type": "boolean",
|
|
329
|
+
"description": "Show the condensed changelog after update; use /changelog for the full changelog.",
|
|
330
|
+
"default": false
|
|
331
|
+
},
|
|
332
|
+
"enableInstallTelemetry": {
|
|
333
|
+
"type": "boolean",
|
|
334
|
+
"description": "Send provider attribution headers to OpenRouter, NVIDIA NIM, and Cloudflare.",
|
|
335
|
+
"default": true
|
|
336
|
+
},
|
|
337
|
+
"enableAnalytics": {
|
|
338
|
+
"type": "boolean",
|
|
339
|
+
"description": "Opt in to analytics data sharing.",
|
|
340
|
+
"default": false
|
|
341
|
+
},
|
|
342
|
+
"trackingId": {
|
|
343
|
+
"type": "string",
|
|
344
|
+
"description": "Analytics tracking identifier, generated when analytics is enabled."
|
|
345
|
+
},
|
|
346
|
+
"packages": {
|
|
347
|
+
"type": "array",
|
|
348
|
+
"items": {
|
|
349
|
+
"anyOf": [
|
|
350
|
+
{
|
|
351
|
+
"type": "string",
|
|
352
|
+
"description": "Load all resources from the package."
|
|
353
|
+
},
|
|
354
|
+
{
|
|
355
|
+
"type": "object",
|
|
356
|
+
"required": [
|
|
357
|
+
"source"
|
|
358
|
+
],
|
|
359
|
+
"properties": {
|
|
360
|
+
"source": {
|
|
361
|
+
"type": "string"
|
|
362
|
+
},
|
|
363
|
+
"autoload": {
|
|
364
|
+
"type": "boolean",
|
|
365
|
+
"description": "When false, start empty and only apply explicit resource patterns."
|
|
366
|
+
},
|
|
367
|
+
"extensions": {
|
|
368
|
+
"type": "array",
|
|
369
|
+
"items": {
|
|
370
|
+
"type": "string"
|
|
371
|
+
}
|
|
372
|
+
},
|
|
373
|
+
"skills": {
|
|
374
|
+
"type": "array",
|
|
375
|
+
"items": {
|
|
376
|
+
"type": "string"
|
|
377
|
+
}
|
|
378
|
+
},
|
|
379
|
+
"prompts": {
|
|
380
|
+
"type": "array",
|
|
381
|
+
"items": {
|
|
382
|
+
"type": "string"
|
|
383
|
+
}
|
|
384
|
+
},
|
|
385
|
+
"themes": {
|
|
386
|
+
"type": "array",
|
|
387
|
+
"items": {
|
|
388
|
+
"type": "string"
|
|
389
|
+
}
|
|
390
|
+
}
|
|
391
|
+
}
|
|
392
|
+
}
|
|
393
|
+
],
|
|
394
|
+
"description": "Package source for npm or git packages. Use the string form to load all resources or the object form to filter resources."
|
|
395
|
+
},
|
|
396
|
+
"description": "npm or git package sources, as strings or objects with resource filtering."
|
|
397
|
+
},
|
|
398
|
+
"extensions": {
|
|
399
|
+
"type": "array",
|
|
400
|
+
"items": {
|
|
401
|
+
"type": "string"
|
|
402
|
+
},
|
|
403
|
+
"description": "Local extension file paths or directories."
|
|
404
|
+
},
|
|
405
|
+
"deviceId": {
|
|
406
|
+
"type": "string",
|
|
407
|
+
"description": "Stable installation UUID, generated when authentication first needs it. Global only."
|
|
408
|
+
},
|
|
409
|
+
"skills": {
|
|
410
|
+
"anyOf": [
|
|
411
|
+
{
|
|
412
|
+
"type": "array",
|
|
413
|
+
"items": {
|
|
414
|
+
"type": "string"
|
|
415
|
+
}
|
|
416
|
+
},
|
|
417
|
+
{
|
|
418
|
+
"type": "object",
|
|
419
|
+
"properties": {
|
|
420
|
+
"enableSkillCommands": {
|
|
421
|
+
"type": "boolean"
|
|
422
|
+
},
|
|
423
|
+
"customDirectories": {
|
|
424
|
+
"type": "array",
|
|
425
|
+
"items": {
|
|
426
|
+
"type": "string"
|
|
427
|
+
}
|
|
428
|
+
}
|
|
429
|
+
},
|
|
430
|
+
"deprecated": true
|
|
431
|
+
}
|
|
432
|
+
],
|
|
433
|
+
"description": "Local skill file paths or directories."
|
|
434
|
+
},
|
|
435
|
+
"prompts": {
|
|
436
|
+
"type": "array",
|
|
437
|
+
"items": {
|
|
438
|
+
"type": "string"
|
|
439
|
+
},
|
|
440
|
+
"description": "Local prompt template file paths or directories."
|
|
441
|
+
},
|
|
442
|
+
"themes": {
|
|
443
|
+
"type": "array",
|
|
444
|
+
"items": {
|
|
445
|
+
"type": "string"
|
|
446
|
+
},
|
|
447
|
+
"description": "Local theme file paths or directories."
|
|
448
|
+
},
|
|
449
|
+
"enableSkillCommands": {
|
|
450
|
+
"type": "boolean",
|
|
451
|
+
"description": "Register skills as /skill:name commands.",
|
|
452
|
+
"default": true
|
|
453
|
+
},
|
|
454
|
+
"terminal": {
|
|
455
|
+
"type": "object",
|
|
456
|
+
"properties": {
|
|
457
|
+
"showImages": {
|
|
458
|
+
"type": "boolean",
|
|
459
|
+
"description": "Show images when the terminal supports them.",
|
|
460
|
+
"default": true
|
|
461
|
+
},
|
|
462
|
+
"imageWidthCells": {
|
|
463
|
+
"type": "number",
|
|
464
|
+
"description": "Preferred inline image width in terminal cells.",
|
|
465
|
+
"default": 60
|
|
466
|
+
},
|
|
467
|
+
"clearOnShrink": {
|
|
468
|
+
"type": "boolean",
|
|
469
|
+
"description": "Clear empty rows when content shrinks.",
|
|
470
|
+
"default": false
|
|
471
|
+
},
|
|
472
|
+
"showTerminalProgress": {
|
|
473
|
+
"type": "boolean",
|
|
474
|
+
"description": "Show OSC 9;4 terminal progress indicators.",
|
|
475
|
+
"default": false
|
|
476
|
+
},
|
|
477
|
+
"hyperlinks": {
|
|
478
|
+
"anyOf": [
|
|
479
|
+
{
|
|
480
|
+
"type": "boolean"
|
|
481
|
+
},
|
|
482
|
+
{
|
|
483
|
+
"type": "string",
|
|
484
|
+
"const": "auto"
|
|
485
|
+
}
|
|
486
|
+
]
|
|
487
|
+
},
|
|
488
|
+
"images": {
|
|
489
|
+
"anyOf": [
|
|
490
|
+
{
|
|
491
|
+
"type": "string",
|
|
492
|
+
"const": "kitty"
|
|
493
|
+
},
|
|
494
|
+
{
|
|
495
|
+
"type": "string",
|
|
496
|
+
"const": "iterm2"
|
|
497
|
+
},
|
|
498
|
+
{
|
|
499
|
+
"type": "string",
|
|
500
|
+
"const": "auto"
|
|
501
|
+
},
|
|
502
|
+
{
|
|
503
|
+
"type": "boolean",
|
|
504
|
+
"const": false
|
|
505
|
+
}
|
|
506
|
+
]
|
|
507
|
+
},
|
|
508
|
+
"trueColor": {
|
|
509
|
+
"anyOf": [
|
|
510
|
+
{
|
|
511
|
+
"type": "boolean"
|
|
512
|
+
},
|
|
513
|
+
{
|
|
514
|
+
"type": "string",
|
|
515
|
+
"const": "auto"
|
|
516
|
+
}
|
|
517
|
+
]
|
|
518
|
+
}
|
|
519
|
+
}
|
|
520
|
+
},
|
|
521
|
+
"images": {
|
|
522
|
+
"type": "object",
|
|
523
|
+
"properties": {
|
|
524
|
+
"autoResize": {
|
|
525
|
+
"type": "boolean",
|
|
526
|
+
"description": "Resize images to 2000x2000 maximum for better model compatibility.",
|
|
527
|
+
"default": true
|
|
528
|
+
},
|
|
529
|
+
"blockImages": {
|
|
530
|
+
"type": "boolean",
|
|
531
|
+
"description": "When true, prevents all images from being sent to LLM providers.",
|
|
532
|
+
"default": false
|
|
533
|
+
}
|
|
534
|
+
}
|
|
535
|
+
},
|
|
536
|
+
"enabledModels": {
|
|
537
|
+
"type": "array",
|
|
538
|
+
"items": {
|
|
539
|
+
"type": "string"
|
|
540
|
+
},
|
|
541
|
+
"description": "Model patterns for cycling, in the same format as the --models CLI flag."
|
|
542
|
+
},
|
|
543
|
+
"defaultTools": {
|
|
544
|
+
"type": "array",
|
|
545
|
+
"items": {
|
|
546
|
+
"type": "string"
|
|
547
|
+
},
|
|
548
|
+
"description": "Initial tool selection. Plain names replace the inherited selection; +name and -name entries add or remove tools."
|
|
549
|
+
},
|
|
550
|
+
"doubleEscapeAction": {
|
|
551
|
+
"anyOf": [
|
|
552
|
+
{
|
|
553
|
+
"type": "string",
|
|
554
|
+
"const": "fork"
|
|
555
|
+
},
|
|
556
|
+
{
|
|
557
|
+
"type": "string",
|
|
558
|
+
"const": "tree"
|
|
559
|
+
},
|
|
560
|
+
{
|
|
561
|
+
"type": "string",
|
|
562
|
+
"const": "none"
|
|
563
|
+
}
|
|
564
|
+
],
|
|
565
|
+
"description": "Action for double-escape with an empty editor.",
|
|
566
|
+
"default": "tree"
|
|
567
|
+
},
|
|
568
|
+
"treeFilterMode": {
|
|
569
|
+
"anyOf": [
|
|
570
|
+
{
|
|
571
|
+
"type": "string",
|
|
572
|
+
"const": "default"
|
|
573
|
+
},
|
|
574
|
+
{
|
|
575
|
+
"type": "string",
|
|
576
|
+
"const": "no-tools"
|
|
577
|
+
},
|
|
578
|
+
{
|
|
579
|
+
"type": "string",
|
|
580
|
+
"const": "user-only"
|
|
581
|
+
},
|
|
582
|
+
{
|
|
583
|
+
"type": "string",
|
|
584
|
+
"const": "labeled-only"
|
|
585
|
+
},
|
|
586
|
+
{
|
|
587
|
+
"type": "string",
|
|
588
|
+
"const": "all"
|
|
589
|
+
}
|
|
590
|
+
],
|
|
591
|
+
"description": "Default filter when opening /tree.",
|
|
592
|
+
"default": "default"
|
|
593
|
+
},
|
|
594
|
+
"thinkingBudgets": {
|
|
595
|
+
"type": "object",
|
|
596
|
+
"properties": {
|
|
597
|
+
"minimal": {
|
|
598
|
+
"type": "number"
|
|
599
|
+
},
|
|
600
|
+
"low": {
|
|
601
|
+
"type": "number"
|
|
602
|
+
},
|
|
603
|
+
"medium": {
|
|
604
|
+
"type": "number"
|
|
605
|
+
},
|
|
606
|
+
"high": {
|
|
607
|
+
"type": "number"
|
|
608
|
+
}
|
|
609
|
+
},
|
|
610
|
+
"description": "Custom token budgets for thinking levels."
|
|
611
|
+
},
|
|
612
|
+
"editorPaddingX": {
|
|
613
|
+
"type": "number",
|
|
614
|
+
"description": "Horizontal padding for the input editor.",
|
|
615
|
+
"default": 0
|
|
616
|
+
},
|
|
617
|
+
"outputPad": {
|
|
618
|
+
"anyOf": [
|
|
619
|
+
{
|
|
620
|
+
"type": "number",
|
|
621
|
+
"const": 0
|
|
622
|
+
},
|
|
623
|
+
{
|
|
624
|
+
"type": "number",
|
|
625
|
+
"const": 1
|
|
626
|
+
}
|
|
627
|
+
],
|
|
628
|
+
"description": "Horizontal padding for transcript content.",
|
|
629
|
+
"default": 1
|
|
630
|
+
},
|
|
631
|
+
"autocompleteMaxVisible": {
|
|
632
|
+
"type": "number",
|
|
633
|
+
"description": "Maximum visible items in the autocomplete dropdown.",
|
|
634
|
+
"default": 5
|
|
635
|
+
},
|
|
636
|
+
"showHardwareCursor": {
|
|
637
|
+
"type": "boolean",
|
|
638
|
+
"description": "Show the terminal cursor while still positioning it for IME."
|
|
639
|
+
},
|
|
640
|
+
"markdown": {
|
|
641
|
+
"type": "object",
|
|
642
|
+
"properties": {
|
|
643
|
+
"codeBlockIndent": {
|
|
644
|
+
"type": "string",
|
|
645
|
+
"default": " "
|
|
646
|
+
},
|
|
647
|
+
"mermaid": {
|
|
648
|
+
"anyOf": [
|
|
649
|
+
{
|
|
650
|
+
"type": "string",
|
|
651
|
+
"const": "off"
|
|
652
|
+
},
|
|
653
|
+
{
|
|
654
|
+
"type": "string",
|
|
655
|
+
"const": "final"
|
|
656
|
+
},
|
|
657
|
+
{
|
|
658
|
+
"type": "string",
|
|
659
|
+
"const": "streaming"
|
|
660
|
+
}
|
|
661
|
+
],
|
|
662
|
+
"default": "streaming"
|
|
663
|
+
}
|
|
664
|
+
}
|
|
665
|
+
},
|
|
666
|
+
"warnings": {
|
|
667
|
+
"type": "object",
|
|
668
|
+
"properties": {
|
|
669
|
+
"anthropicExtraUsage": {
|
|
670
|
+
"type": "boolean",
|
|
671
|
+
"default": true
|
|
672
|
+
}
|
|
673
|
+
}
|
|
674
|
+
},
|
|
675
|
+
"codemode": {
|
|
676
|
+
"type": "object",
|
|
677
|
+
"properties": {
|
|
678
|
+
"mode": {
|
|
679
|
+
"anyOf": [
|
|
680
|
+
{
|
|
681
|
+
"type": "string",
|
|
682
|
+
"const": "on"
|
|
683
|
+
},
|
|
684
|
+
{
|
|
685
|
+
"type": "string",
|
|
686
|
+
"const": "only"
|
|
687
|
+
}
|
|
688
|
+
],
|
|
689
|
+
"description": "How codemode presents tools. \"on\" keeps direct tools declared and annotates tools callable from scripts; codemode lists only tools without direct exposure. \"only\" lists every script-callable tool in codemode and does not declare active direct tools.",
|
|
690
|
+
"default": "on"
|
|
691
|
+
},
|
|
692
|
+
"inlineBudget": {
|
|
693
|
+
"type": "number",
|
|
694
|
+
"minimum": 0,
|
|
695
|
+
"description": "Estimated tokens available for inline codemode tool declarations.",
|
|
696
|
+
"default": 3000
|
|
697
|
+
}
|
|
698
|
+
}
|
|
699
|
+
},
|
|
700
|
+
"sessionDir": {
|
|
701
|
+
"type": "string",
|
|
702
|
+
"description": "Custom session storage directory, in the same format as the --session-dir CLI flag."
|
|
703
|
+
},
|
|
704
|
+
"httpProxy": {
|
|
705
|
+
"type": "string",
|
|
706
|
+
"description": "Proxy URL applied as HTTP_PROXY and HTTPS_PROXY for draht-managed HTTP clients."
|
|
707
|
+
},
|
|
708
|
+
"httpIdleTimeoutMs": {
|
|
709
|
+
"anyOf": [
|
|
710
|
+
{
|
|
711
|
+
"type": "number",
|
|
712
|
+
"minimum": 0
|
|
713
|
+
},
|
|
714
|
+
{
|
|
715
|
+
"type": "string",
|
|
716
|
+
"const": "disabled"
|
|
717
|
+
}
|
|
718
|
+
],
|
|
719
|
+
"description": "HTTP header or body idle timeout in milliseconds; 0 or \"disabled\" disables it."
|
|
720
|
+
},
|
|
721
|
+
"cacheWarming": {
|
|
722
|
+
"anyOf": [
|
|
723
|
+
{
|
|
724
|
+
"type": "string",
|
|
725
|
+
"const": "off"
|
|
726
|
+
},
|
|
727
|
+
{
|
|
728
|
+
"type": "string",
|
|
729
|
+
"const": "streaming"
|
|
730
|
+
},
|
|
731
|
+
{
|
|
732
|
+
"type": "string",
|
|
733
|
+
"const": "idle"
|
|
734
|
+
}
|
|
735
|
+
],
|
|
736
|
+
"description": "Cache-warming profile. \"idle\" also warms between agent runs. Global only because each refresh costs money.",
|
|
737
|
+
"default": "streaming"
|
|
738
|
+
},
|
|
739
|
+
"websocketConnectTimeoutMs": {
|
|
740
|
+
"anyOf": [
|
|
741
|
+
{
|
|
742
|
+
"type": "number",
|
|
743
|
+
"minimum": 0
|
|
744
|
+
},
|
|
745
|
+
{
|
|
746
|
+
"type": "string",
|
|
747
|
+
"const": "disabled"
|
|
748
|
+
}
|
|
749
|
+
],
|
|
750
|
+
"description": "WebSocket connect or open handshake timeout in milliseconds; 0 or \"disabled\" disables it."
|
|
751
|
+
},
|
|
752
|
+
"tuiMode": {
|
|
753
|
+
"anyOf": [
|
|
754
|
+
{
|
|
755
|
+
"type": "string",
|
|
756
|
+
"const": "regular"
|
|
757
|
+
},
|
|
758
|
+
{
|
|
759
|
+
"type": "string",
|
|
760
|
+
"const": "fullscreen"
|
|
761
|
+
}
|
|
762
|
+
],
|
|
763
|
+
"default": "fullscreen"
|
|
764
|
+
},
|
|
765
|
+
"fullscreenExitOutput": {
|
|
766
|
+
"anyOf": [
|
|
767
|
+
{
|
|
768
|
+
"type": "string",
|
|
769
|
+
"const": "transcript"
|
|
770
|
+
},
|
|
771
|
+
{
|
|
772
|
+
"type": "string",
|
|
773
|
+
"const": "resume-hint"
|
|
774
|
+
}
|
|
775
|
+
],
|
|
776
|
+
"description": "No effect in regular TUI mode.",
|
|
777
|
+
"default": "transcript"
|
|
778
|
+
},
|
|
779
|
+
"fullscreenScrollbar": {
|
|
780
|
+
"anyOf": [
|
|
781
|
+
{
|
|
782
|
+
"type": "string",
|
|
783
|
+
"const": "auto"
|
|
784
|
+
},
|
|
785
|
+
{
|
|
786
|
+
"type": "string",
|
|
787
|
+
"const": "always"
|
|
788
|
+
},
|
|
789
|
+
{
|
|
790
|
+
"type": "string",
|
|
791
|
+
"const": "hidden"
|
|
792
|
+
}
|
|
793
|
+
],
|
|
794
|
+
"description": "No effect in regular TUI mode.",
|
|
795
|
+
"default": "auto"
|
|
796
|
+
},
|
|
797
|
+
"fullscreenCopyOnSelect": {
|
|
798
|
+
"type": "boolean",
|
|
799
|
+
"description": "No effect in regular TUI mode.",
|
|
800
|
+
"default": true
|
|
801
|
+
},
|
|
802
|
+
"fullscreenWheelScrollLines": {
|
|
803
|
+
"anyOf": [
|
|
804
|
+
{
|
|
805
|
+
"type": "number"
|
|
806
|
+
},
|
|
807
|
+
{
|
|
808
|
+
"type": "string",
|
|
809
|
+
"const": "auto"
|
|
810
|
+
}
|
|
811
|
+
],
|
|
812
|
+
"description": "Lines scrolled per wheel event in fullscreen mode; numeric values are clamped from 1 to 100.",
|
|
813
|
+
"default": "auto"
|
|
814
|
+
},
|
|
815
|
+
"queueMode": {
|
|
816
|
+
"anyOf": [
|
|
817
|
+
{
|
|
818
|
+
"type": "string",
|
|
819
|
+
"const": "all"
|
|
820
|
+
},
|
|
821
|
+
{
|
|
822
|
+
"type": "string",
|
|
823
|
+
"const": "one-at-a-time"
|
|
824
|
+
}
|
|
825
|
+
],
|
|
826
|
+
"description": "Legacy setting migrated to steeringMode.",
|
|
827
|
+
"deprecated": true
|
|
828
|
+
},
|
|
829
|
+
"websockets": {
|
|
830
|
+
"type": "boolean",
|
|
831
|
+
"description": "Legacy setting migrated to transport.",
|
|
832
|
+
"deprecated": true
|
|
833
|
+
}
|
|
834
|
+
},
|
|
835
|
+
"additionalProperties": true,
|
|
836
|
+
"$defs": {
|
|
837
|
+
"ModelThinkingLevel": {
|
|
838
|
+
"enum": [
|
|
839
|
+
"off",
|
|
840
|
+
"minimal",
|
|
841
|
+
"low",
|
|
842
|
+
"medium",
|
|
843
|
+
"high",
|
|
844
|
+
"xhigh",
|
|
845
|
+
"max"
|
|
846
|
+
]
|
|
847
|
+
}
|
|
848
|
+
}
|
|
849
|
+
}
|