@bastani/atomic 0.9.19-alpha.1 → 0.9.19-alpha.2
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 +94 -0
- package/dist/builtin/intercom/CHANGELOG.md +16 -0
- package/dist/builtin/intercom/README.md +21 -11
- package/dist/builtin/intercom/broker/broker.ts +73 -9
- package/dist/builtin/intercom/broker/client.ts +4 -0
- package/dist/builtin/intercom/broker/framing.ts +5 -2
- package/dist/builtin/intercom/broker/group-membership.ts +4 -2
- package/dist/builtin/intercom/broker/presence-handler.ts +14 -0
- package/dist/builtin/intercom/broker/send-handler.ts +34 -5
- package/dist/builtin/intercom/broker/terminal-questions.ts +29 -0
- package/dist/builtin/intercom/index.bundle.mjs +936 -740
- package/dist/builtin/intercom/package.json +2 -2
- package/dist/builtin/intercom/recipient-purpose.ts +9 -0
- package/dist/builtin/intercom/recoverable-disconnect.ts +2 -3
- package/dist/builtin/intercom/retry-policy.ts +4 -2
- package/dist/builtin/intercom/skills/intercom/SKILL.md +5 -4
- package/dist/builtin/intercom/types.ts +16 -2
- package/dist/builtin/mcp/CHANGELOG.md +6 -0
- package/dist/builtin/mcp/README.md +2 -0
- package/dist/builtin/mcp/index.bundle.mjs +2201 -12000
- package/dist/builtin/mcp/package.json +2 -2
- package/dist/builtin/subagents/CHANGELOG.md +27 -0
- package/dist/builtin/subagents/README.md +33 -12
- package/dist/builtin/subagents/agents/code-simplifier.md +1 -1
- package/dist/builtin/subagents/agents/codebase-analyzer.md +1 -1
- package/dist/builtin/subagents/agents/codebase-locator.md +2 -2
- package/dist/builtin/subagents/agents/codebase-online-researcher.md +1 -1
- package/dist/builtin/subagents/agents/codebase-pattern-finder.md +2 -2
- package/dist/builtin/subagents/agents/codebase-research-analyzer.md +1 -1
- package/dist/builtin/subagents/agents/codebase-research-locator.md +2 -2
- package/dist/builtin/subagents/agents/debugger.md +1 -1
- package/dist/builtin/subagents/agents/worker.md +1 -1
- package/dist/builtin/subagents/package.json +2 -2
- package/dist/builtin/subagents/skills/herdr/LICENSE +201 -0
- package/dist/builtin/subagents/skills/herdr/SKILL.md +202 -0
- package/dist/builtin/subagents/skills/subagent/SKILL.md +14 -10
- package/dist/builtin/subagents/skills/tmux/SKILL.md +1 -1
- package/dist/builtin/subagents/src/extension/index.bundle.mjs +1284 -609
- package/dist/builtin/web-access/index.bundle.mjs +26280 -26274
- package/dist/builtin/web-access/package.json +2 -2
- package/dist/builtin/workflows/CHANGELOG.md +38 -0
- package/dist/builtin/workflows/README.md +1 -1
- package/dist/builtin/workflows/builtin/adversarial-verification.js +5 -7
- package/dist/builtin/workflows/builtin/{chunk-reqr3sr3.js → chunk-1kx4aggw.js} +22 -22
- package/dist/builtin/workflows/builtin/{chunk-42s7sw0b.js → chunk-62v3gg9f.js} +9 -9
- package/dist/builtin/workflows/builtin/{chunk-wgccch41.js → chunk-6w6cvk6b.js} +16 -16
- package/dist/builtin/workflows/builtin/{chunk-zbekjqew.js → chunk-a2kdsqn8.js} +4 -4
- package/dist/builtin/workflows/builtin/{chunk-ze5x3d1r.js → chunk-fg9esgkj.js} +7 -7
- package/dist/builtin/workflows/builtin/{chunk-n8h4yyew.js → chunk-g0csgs7w.js} +11 -11
- package/dist/builtin/workflows/builtin/{chunk-79fjkcvh.js → chunk-hbnwv56f.js} +17 -17
- package/dist/builtin/workflows/builtin/{chunk-ed4jfn5t.js → chunk-mygmtz6e.js} +43 -43
- package/dist/builtin/workflows/builtin/{chunk-7430zyas.js → chunk-p8jjwfg6.js} +1 -1
- package/dist/builtin/workflows/builtin/{chunk-hqpe2cyx.js → chunk-r9qq7xfj.js} +49 -49
- package/dist/builtin/workflows/builtin/{chunk-k3w87x8y.js → chunk-t6x2d78s.js} +10 -10
- package/dist/builtin/workflows/builtin/{chunk-6fqs7c01.js → chunk-z0d03ktm.js} +1 -1
- package/dist/builtin/workflows/builtin/{chunk-b0v2xab1.js → chunk-zggjyg5z.js} +221 -23
- package/dist/builtin/workflows/builtin/classify-and-act.js +5 -6
- package/dist/builtin/workflows/builtin/fan-out-and-synthesize.js +3 -4
- package/dist/builtin/workflows/builtin/generate-and-filter.js +5 -6
- package/dist/builtin/workflows/builtin/goal.js +7 -8
- package/dist/builtin/workflows/builtin/index.js +20 -22
- package/dist/builtin/workflows/builtin/loop-until-done.js +5 -6
- package/dist/builtin/workflows/builtin/open-claude-design.js +3 -3
- package/dist/builtin/workflows/builtin/ralph.js +7 -8
- package/dist/builtin/workflows/builtin/steering-context.js +3 -3
- package/dist/builtin/workflows/builtin/tournament.js +5 -7
- package/dist/builtin/workflows/package.json +2 -2
- package/dist/builtin/workflows/src/extension/index.bundle.mjs +26654 -25831
- package/dist/builtin/workflows/src/index.js +907 -473
- package/dist/cli/config-selector.js.map +1 -1
- package/dist/cli/startup-ui.d.ts +1 -1
- package/dist/cli/startup-ui.js.map +1 -1
- package/dist/core/agent-session-auto-compaction.d.ts.map +1 -1
- package/dist/core/agent-session-auto-compaction.js +5 -4
- package/dist/core/agent-session-auto-compaction.js.map +1 -1
- package/dist/core/agent-session-bash.d.ts +1 -1
- package/dist/core/agent-session-bash.d.ts.map +1 -1
- package/dist/core/agent-session-bash.js +5 -1
- package/dist/core/agent-session-bash.js.map +1 -1
- package/dist/core/agent-session-compaction.d.ts +1 -1
- package/dist/core/agent-session-compaction.js.map +1 -1
- package/dist/core/agent-session-custom-message-commit.d.ts +1 -1
- package/dist/core/agent-session-custom-message-commit.js.map +1 -1
- package/dist/core/agent-session-delivery-forwarding.d.ts +1 -1
- package/dist/core/agent-session-delivery-forwarding.js.map +1 -1
- package/dist/core/agent-session-events.d.ts.map +1 -1
- package/dist/core/agent-session-events.js +5 -0
- package/dist/core/agent-session-events.js.map +1 -1
- package/dist/core/agent-session-export.d.ts +1 -1
- package/dist/core/agent-session-export.js.map +1 -1
- package/dist/core/agent-session-extension-bindings.d.ts +8 -1
- package/dist/core/agent-session-extension-bindings.d.ts.map +1 -1
- package/dist/core/agent-session-extension-bindings.js +45 -3
- package/dist/core/agent-session-extension-bindings.js.map +1 -1
- package/dist/core/agent-session-message-queue.d.ts +1 -1
- package/dist/core/agent-session-message-queue.js.map +1 -1
- package/dist/core/agent-session-methods.d.ts +14 -7
- package/dist/core/agent-session-methods.d.ts.map +1 -1
- package/dist/core/agent-session-methods.js.map +1 -1
- package/dist/core/agent-session-prompt.d.ts +2 -2
- package/dist/core/agent-session-prompt.d.ts.map +1 -1
- package/dist/core/agent-session-prompt.js +22 -18
- package/dist/core/agent-session-prompt.js.map +1 -1
- package/dist/core/agent-session-runtime-auth.d.ts +1 -1
- package/dist/core/agent-session-runtime-auth.js.map +1 -1
- package/dist/core/agent-session-runtime.d.ts +13 -4
- package/dist/core/agent-session-runtime.d.ts.map +1 -1
- package/dist/core/agent-session-runtime.js +27 -4
- package/dist/core/agent-session-runtime.js.map +1 -1
- package/dist/core/agent-session-services.d.ts +5 -1
- package/dist/core/agent-session-services.d.ts.map +1 -1
- package/dist/core/agent-session-services.js +44 -34
- package/dist/core/agent-session-services.js.map +1 -1
- package/dist/core/agent-session-state.d.ts +1 -1
- package/dist/core/agent-session-state.js.map +1 -1
- package/dist/core/agent-session-tasks.d.ts +9 -0
- package/dist/core/agent-session-tasks.d.ts.map +1 -0
- package/dist/core/agent-session-tasks.js +113 -0
- package/dist/core/agent-session-tasks.js.map +1 -0
- package/dist/core/agent-session-tool-registry.d.ts +1 -0
- package/dist/core/agent-session-tool-registry.d.ts.map +1 -1
- package/dist/core/agent-session-tool-registry.js +30 -5
- package/dist/core/agent-session-tool-registry.js.map +1 -1
- package/dist/core/agent-session-tree.d.ts.map +1 -1
- package/dist/core/agent-session-tree.js +3 -0
- package/dist/core/agent-session-tree.js.map +1 -1
- package/dist/core/agent-session-types.d.ts +2 -2
- package/dist/core/agent-session-types.js.map +1 -1
- package/dist/core/agent-session.d.ts +4 -1
- package/dist/core/agent-session.d.ts.map +1 -1
- package/dist/core/agent-session.js +7 -1
- package/dist/core/agent-session.js.map +1 -1
- package/dist/core/bash-executor.d.ts +1 -1
- package/dist/core/bash-executor.js.map +1 -1
- package/dist/core/export-html/index.js.map +1 -1
- package/dist/core/export-html/tool-renderer.d.ts +1 -1
- package/dist/core/export-html/tool-renderer.js.map +1 -1
- package/dist/core/extension-session-state.js.map +1 -1
- package/dist/core/extensions/agent-events.d.ts +4 -4
- package/dist/core/extensions/agent-events.d.ts.map +1 -1
- package/dist/core/extensions/agent-events.js.map +1 -1
- package/dist/core/extensions/api-types.d.ts +8 -2
- package/dist/core/extensions/api-types.d.ts.map +1 -1
- package/dist/core/extensions/api-types.js.map +1 -1
- package/dist/core/extensions/context-types.d.ts +9 -0
- package/dist/core/extensions/context-types.d.ts.map +1 -1
- package/dist/core/extensions/context-types.js.map +1 -1
- package/dist/core/extensions/event-results.d.ts +1 -1
- package/dist/core/extensions/event-results.js.map +1 -1
- package/dist/core/extensions/event-types.d.ts +2 -1
- package/dist/core/extensions/event-types.d.ts.map +1 -1
- package/dist/core/extensions/event-types.js.map +1 -1
- package/dist/core/extensions/index.d.ts +2 -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-api.d.ts +1 -1
- package/dist/core/extensions/loader-api.d.ts.map +1 -1
- package/dist/core/extensions/loader-api.js +7 -0
- package/dist/core/extensions/loader-api.js.map +1 -1
- package/dist/core/extensions/loader-core.d.ts +1 -1
- package/dist/core/extensions/loader-core.js.map +1 -1
- package/dist/core/extensions/loader-discovery.d.ts +1 -1
- package/dist/core/extensions/loader-discovery.js.map +1 -1
- package/dist/core/extensions/loader-runtime.d.ts.map +1 -1
- package/dist/core/extensions/loader-runtime.js +3 -0
- package/dist/core/extensions/loader-runtime.js.map +1 -1
- package/dist/core/extensions/loader.d.ts +1 -1
- package/dist/core/extensions/loader.js.map +1 -1
- package/dist/core/extensions/message-types.d.ts +1 -1
- package/dist/core/extensions/message-types.js.map +1 -1
- package/dist/core/extensions/runner-context.d.ts +11 -1
- package/dist/core/extensions/runner-context.d.ts.map +1 -1
- package/dist/core/extensions/runner-context.js +41 -2
- package/dist/core/extensions/runner-context.js.map +1 -1
- package/dist/core/extensions/runner-events.d.ts +1 -1
- package/dist/core/extensions/runner-events.d.ts.map +1 -1
- package/dist/core/extensions/runner-events.js +17 -2
- package/dist/core/extensions/runner-events.js.map +1 -1
- package/dist/core/extensions/runner-ui.js.map +1 -1
- package/dist/core/extensions/runner.d.ts +17 -2
- package/dist/core/extensions/runner.d.ts.map +1 -1
- package/dist/core/extensions/runner.js +68 -18
- package/dist/core/extensions/runner.js.map +1 -1
- package/dist/core/extensions/runtime-types.d.ts +4 -1
- package/dist/core/extensions/runtime-types.d.ts.map +1 -1
- package/dist/core/extensions/runtime-types.js.map +1 -1
- package/dist/core/extensions/tool-types.d.ts +1 -1
- package/dist/core/extensions/tool-types.js.map +1 -1
- package/dist/core/extensions/types.d.ts +1 -0
- package/dist/core/extensions/types.d.ts.map +1 -1
- package/dist/core/extensions/types.js.map +1 -1
- package/dist/core/extensions/ui-types.d.ts +5 -1
- package/dist/core/extensions/ui-types.d.ts.map +1 -1
- package/dist/core/extensions/ui-types.js.map +1 -1
- package/dist/core/extensions/workflow-activity-hub.d.ts +25 -0
- package/dist/core/extensions/workflow-activity-hub.d.ts.map +1 -0
- package/dist/core/extensions/workflow-activity-hub.js +183 -0
- package/dist/core/extensions/workflow-activity-hub.js.map +1 -0
- package/dist/core/extensions/workflow-events.d.ts +118 -0
- package/dist/core/extensions/workflow-events.d.ts.map +1 -0
- package/dist/core/extensions/workflow-events.js +2 -0
- package/dist/core/extensions/workflow-events.js.map +1 -0
- package/dist/core/footer-data-provider.d.ts +8 -4
- package/dist/core/footer-data-provider.d.ts.map +1 -1
- package/dist/core/footer-data-provider.js +97 -11
- package/dist/core/footer-data-provider.js.map +1 -1
- package/dist/core/index.d.ts +3 -3
- package/dist/core/index.js.map +1 -1
- package/dist/core/keybindings.d.ts +27 -2
- package/dist/core/keybindings.d.ts.map +1 -1
- package/dist/core/keybindings.js +7 -2
- package/dist/core/keybindings.js.map +1 -1
- package/dist/core/mandatory-runtime-tools.d.ts +1 -1
- package/dist/core/mandatory-runtime-tools.js.map +1 -1
- package/dist/core/model-fallback-failures.js +2 -2
- package/dist/core/model-fallback-failures.js.map +1 -1
- package/dist/core/model-registry.d.ts +5 -1
- package/dist/core/model-registry.d.ts.map +1 -1
- package/dist/core/model-registry.js +8 -0
- package/dist/core/model-registry.js.map +1 -1
- package/dist/core/model-resolver-defaults.js +1 -1
- package/dist/core/model-resolver-defaults.js.map +1 -1
- package/dist/core/resource-loader-assets.js.map +1 -1
- package/dist/core/resource-loader-core.d.ts +1 -1
- package/dist/core/resource-loader-core.js.map +1 -1
- package/dist/core/resource-loader-internals.d.ts +2 -2
- package/dist/core/resource-loader-internals.js.map +1 -1
- package/dist/core/resource-loader-reload.d.ts +2 -0
- package/dist/core/resource-loader-reload.d.ts.map +1 -1
- package/dist/core/resource-loader-reload.js +231 -191
- package/dist/core/resource-loader-reload.js.map +1 -1
- package/dist/core/resource-loader-types.d.ts +4 -2
- package/dist/core/resource-loader-types.d.ts.map +1 -1
- package/dist/core/resource-loader-types.js.map +1 -1
- package/dist/core/sdk-exports.d.ts +2 -2
- package/dist/core/sdk-exports.js.map +1 -1
- package/dist/core/sdk-types.d.ts +2 -2
- package/dist/core/sdk-types.js.map +1 -1
- package/dist/core/sdk.js.map +1 -1
- package/dist/core/settings-manager-core.d.ts.map +1 -1
- package/dist/core/settings-manager-core.js +10 -4
- package/dist/core/settings-manager-core.js.map +1 -1
- package/dist/core/settings-storage.d.ts +1 -0
- package/dist/core/settings-storage.d.ts.map +1 -1
- package/dist/core/settings-storage.js +18 -0
- package/dist/core/settings-storage.js.map +1 -1
- package/dist/core/settings-types.d.ts +11 -0
- package/dist/core/settings-types.d.ts.map +1 -1
- package/dist/core/settings-types.js.map +1 -1
- package/dist/core/slash-commands.d.ts.map +1 -1
- package/dist/core/slash-commands.js +2 -0
- package/dist/core/slash-commands.js.map +1 -1
- package/dist/core/system-prompt.d.ts.map +1 -1
- package/dist/core/system-prompt.js +5 -6
- package/dist/core/system-prompt.js.map +1 -1
- package/dist/core/tasks/agent-adapter.d.ts +32 -0
- package/dist/core/tasks/agent-adapter.d.ts.map +1 -0
- package/dist/core/tasks/agent-adapter.js +71 -0
- package/dist/core/tasks/agent-adapter.js.map +1 -0
- package/dist/core/tasks/command-output.d.ts +15 -0
- package/dist/core/tasks/command-output.d.ts.map +1 -0
- package/dist/core/tasks/command-output.js +29 -0
- package/dist/core/tasks/command-output.js.map +1 -0
- package/dist/core/tasks/completion-ordering.d.ts +11 -0
- package/dist/core/tasks/completion-ordering.d.ts.map +1 -0
- package/dist/core/tasks/completion-ordering.js +19 -0
- package/dist/core/tasks/completion-ordering.js.map +1 -0
- package/dist/core/tasks/completion.d.ts +36 -0
- package/dist/core/tasks/completion.d.ts.map +1 -0
- package/dist/core/tasks/completion.js +115 -0
- package/dist/core/tasks/completion.js.map +1 -0
- package/dist/core/tasks/contracts.d.ts +404 -0
- package/dist/core/tasks/contracts.d.ts.map +1 -0
- package/dist/core/tasks/contracts.js +2 -0
- package/dist/core/tasks/contracts.js.map +1 -0
- package/dist/core/tasks/execution-scope.d.ts +10 -0
- package/dist/core/tasks/execution-scope.d.ts.map +1 -0
- package/dist/core/tasks/execution-scope.js +27 -0
- package/dist/core/tasks/execution-scope.js.map +1 -0
- package/dist/core/tasks/owner-store.d.ts +53 -0
- package/dist/core/tasks/owner-store.d.ts.map +1 -0
- package/dist/core/tasks/owner-store.js +155 -0
- package/dist/core/tasks/owner-store.js.map +1 -0
- package/dist/core/tasks/supervisor.d.ts +121 -0
- package/dist/core/tasks/supervisor.d.ts.map +1 -0
- package/dist/core/tasks/supervisor.js +916 -0
- package/dist/core/tasks/supervisor.js.map +1 -0
- package/dist/core/tasks/transcript.d.ts +23 -0
- package/dist/core/tasks/transcript.d.ts.map +1 -0
- package/dist/core/tasks/transcript.js +74 -0
- package/dist/core/tasks/transcript.js.map +1 -0
- package/dist/core/tools/ask-user-question/ask-user-question.d.ts +2 -2
- package/dist/core/tools/ask-user-question/ask-user-question.d.ts.map +1 -1
- package/dist/core/tools/ask-user-question/ask-user-question.js +8 -4
- package/dist/core/tools/ask-user-question/ask-user-question.js.map +1 -1
- package/dist/core/tools/ask-user-question/state/build-questionnaire.d.ts +1 -1
- package/dist/core/tools/ask-user-question/state/build-questionnaire.js.map +1 -1
- package/dist/core/tools/ask-user-question/state/questionnaire-session.d.ts +1 -1
- package/dist/core/tools/ask-user-question/state/questionnaire-session.js.map +1 -1
- package/dist/core/tools/ask-user-question/view/components/multi-select-view.d.ts +1 -1
- package/dist/core/tools/ask-user-question/view/components/multi-select-view.js.map +1 -1
- package/dist/core/tools/ask-user-question/view/components/preview/markdown-content-cache.d.ts +1 -1
- package/dist/core/tools/ask-user-question/view/components/preview/markdown-content-cache.js.map +1 -1
- package/dist/core/tools/ask-user-question/view/components/preview/preview-block-renderer.d.ts +1 -1
- package/dist/core/tools/ask-user-question/view/components/preview/preview-block-renderer.js.map +1 -1
- package/dist/core/tools/ask-user-question/view/components/submit-picker.d.ts +1 -1
- package/dist/core/tools/ask-user-question/view/components/submit-picker.js.map +1 -1
- package/dist/core/tools/ask-user-question/view/components/tab-bar.d.ts +1 -1
- package/dist/core/tools/ask-user-question/view/components/tab-bar.js.map +1 -1
- package/dist/core/tools/ask-user-question/view/dialog-builder.d.ts +1 -1
- package/dist/core/tools/ask-user-question/view/dialog-builder.js.map +1 -1
- package/dist/core/tools/ask-user-question/view/tab-content-strategy.d.ts +1 -1
- package/dist/core/tools/ask-user-question/view/tab-content-strategy.js.map +1 -1
- package/dist/core/tools/bash-pty-native.d.ts +18 -3
- package/dist/core/tools/bash-pty-native.d.ts.map +1 -1
- package/dist/core/tools/bash-pty-native.js +116 -1
- package/dist/core/tools/bash-pty-native.js.map +1 -1
- package/dist/core/tools/bash.d.ts +11 -4
- package/dist/core/tools/bash.d.ts.map +1 -1
- package/dist/core/tools/bash.js +52 -8
- package/dist/core/tools/bash.js.map +1 -1
- package/dist/core/tools/edit.d.ts.map +1 -1
- package/dist/core/tools/edit.js +1 -2
- package/dist/core/tools/edit.js.map +1 -1
- package/dist/core/tools/find.js.map +1 -1
- package/dist/core/tools/grep.js.map +1 -1
- package/dist/core/tools/index.d.ts +2 -2
- package/dist/core/tools/index.js.map +1 -1
- package/dist/core/tools/ls.js.map +1 -1
- package/dist/core/tools/powershell.d.ts +20 -10
- package/dist/core/tools/powershell.d.ts.map +1 -1
- package/dist/core/tools/powershell.js +32 -7
- package/dist/core/tools/powershell.js.map +1 -1
- package/dist/core/tools/read.d.ts.map +1 -1
- package/dist/core/tools/read.js +1 -2
- package/dist/core/tools/read.js.map +1 -1
- package/dist/core/tools/render-utils.d.ts +1 -1
- package/dist/core/tools/render-utils.js.map +1 -1
- package/dist/core/tools/resource-selectors.d.ts.map +1 -1
- package/dist/core/tools/resource-selectors.js +15 -7
- package/dist/core/tools/resource-selectors.js.map +1 -1
- package/dist/core/tools/search.js.map +1 -1
- package/dist/core/tools/todos-render.d.ts +1 -1
- package/dist/core/tools/todos-render.js.map +1 -1
- package/dist/core/tools/write.d.ts.map +1 -1
- package/dist/core/tools/write.js +1 -2
- package/dist/core/tools/write.js.map +1 -1
- package/dist/core/workflow-stage-admission.d.ts +10 -0
- package/dist/core/workflow-stage-admission.d.ts.map +1 -1
- package/dist/core/workflow-stage-admission.js +24 -0
- package/dist/core/workflow-stage-admission.js.map +1 -1
- package/dist/extensions/herdr/activity.d.ts +15 -0
- package/dist/extensions/herdr/activity.d.ts.map +1 -0
- package/dist/extensions/herdr/activity.js +24 -0
- package/dist/extensions/herdr/activity.js.map +1 -0
- package/dist/extensions/herdr/environment.d.ts +7 -0
- package/dist/extensions/herdr/environment.d.ts.map +1 -0
- package/dist/extensions/herdr/environment.js +6 -0
- package/dist/extensions/herdr/environment.js.map +1 -0
- package/dist/extensions/herdr/index.d.ts +9 -0
- package/dist/extensions/herdr/index.d.ts.map +1 -0
- package/dist/extensions/herdr/index.js +225 -0
- package/dist/extensions/herdr/index.js.map +1 -0
- package/dist/extensions/herdr/pane-owner.d.ts +30 -0
- package/dist/extensions/herdr/pane-owner.d.ts.map +1 -0
- package/dist/extensions/herdr/pane-owner.js +111 -0
- package/dist/extensions/herdr/pane-owner.js.map +1 -0
- package/dist/extensions/herdr/transport.d.ts +8 -0
- package/dist/extensions/herdr/transport.d.ts.map +1 -0
- package/dist/extensions/herdr/transport.js +28 -0
- package/dist/extensions/herdr/transport.js.map +1 -0
- package/dist/extensions/index.d.ts.map +1 -1
- package/dist/extensions/index.js +2 -0
- package/dist/extensions/index.js.map +1 -1
- package/dist/extensions/llama/huggingface-ui.d.ts +1 -1
- package/dist/extensions/llama/huggingface-ui.js.map +1 -1
- package/dist/extensions/llama/ui.js.map +1 -1
- package/dist/index-extensions.d.ts +3 -2
- package/dist/index-extensions.d.ts.map +1 -1
- package/dist/index-extensions.js.map +1 -1
- package/dist/index.d.ts +11 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +8 -0
- package/dist/index.js.map +1 -1
- package/dist/main-session.js.map +1 -1
- package/dist/main.d.ts.map +1 -1
- package/dist/main.js +149 -69
- package/dist/main.js.map +1 -1
- package/dist/modes/interactive/components/armin.js.map +1 -1
- package/dist/modes/interactive/components/assistant-message.js.map +1 -1
- package/dist/modes/interactive/components/atomic-banner.d.ts +1 -1
- package/dist/modes/interactive/components/atomic-banner.js.map +1 -1
- package/dist/modes/interactive/components/atomic-working-status.js.map +1 -1
- package/dist/modes/interactive/components/bash-execution.js.map +1 -1
- package/dist/modes/interactive/components/bordered-loader.d.ts +1 -1
- package/dist/modes/interactive/components/bordered-loader.js.map +1 -1
- package/dist/modes/interactive/components/branch-summary-message.js.map +1 -1
- package/dist/modes/interactive/components/chat-message-renderer.d.ts +12 -0
- package/dist/modes/interactive/components/chat-message-renderer.d.ts.map +1 -1
- package/dist/modes/interactive/components/chat-message-renderer.js +44 -0
- package/dist/modes/interactive/components/chat-message-renderer.js.map +1 -1
- package/dist/modes/interactive/components/chat-session-host-actions.d.ts +1 -1
- package/dist/modes/interactive/components/chat-session-host-actions.d.ts.map +1 -1
- package/dist/modes/interactive/components/chat-session-host-actions.js +43 -8
- package/dist/modes/interactive/components/chat-session-host-actions.js.map +1 -1
- package/dist/modes/interactive/components/chat-session-host-editor.d.ts +1 -1
- package/dist/modes/interactive/components/chat-session-host-editor.js.map +1 -1
- package/dist/modes/interactive/components/chat-session-host-events.d.ts +2 -2
- package/dist/modes/interactive/components/chat-session-host-events.js.map +1 -1
- package/dist/modes/interactive/components/chat-session-host-rendering.d.ts +2 -2
- package/dist/modes/interactive/components/chat-session-host-rendering.d.ts.map +1 -1
- package/dist/modes/interactive/components/chat-session-host-rendering.js +12 -3
- package/dist/modes/interactive/components/chat-session-host-rendering.js.map +1 -1
- package/dist/modes/interactive/components/chat-session-host-runtime.d.ts +4 -5
- package/dist/modes/interactive/components/chat-session-host-runtime.d.ts.map +1 -1
- package/dist/modes/interactive/components/chat-session-host-runtime.js +8 -6
- package/dist/modes/interactive/components/chat-session-host-runtime.js.map +1 -1
- package/dist/modes/interactive/components/chat-session-host-state.d.ts +7 -2
- package/dist/modes/interactive/components/chat-session-host-state.d.ts.map +1 -1
- package/dist/modes/interactive/components/chat-session-host-state.js +1 -0
- package/dist/modes/interactive/components/chat-session-host-state.js.map +1 -1
- package/dist/modes/interactive/components/chat-session-host-terminal-cleanup.d.ts +1 -1
- package/dist/modes/interactive/components/chat-session-host-terminal-cleanup.js.map +1 -1
- package/dist/modes/interactive/components/chat-session-host-types.d.ts +8 -3
- package/dist/modes/interactive/components/chat-session-host-types.d.ts.map +1 -1
- package/dist/modes/interactive/components/chat-session-host-types.js.map +1 -1
- package/dist/modes/interactive/components/chat-session-host-utils.d.ts +1 -1
- package/dist/modes/interactive/components/chat-session-host-utils.d.ts.map +1 -1
- package/dist/modes/interactive/components/chat-session-host-utils.js +2 -0
- package/dist/modes/interactive/components/chat-session-host-utils.js.map +1 -1
- package/dist/modes/interactive/components/chat-session-host.d.ts +17 -2
- package/dist/modes/interactive/components/chat-session-host.d.ts.map +1 -1
- package/dist/modes/interactive/components/chat-session-host.js +97 -1
- package/dist/modes/interactive/components/chat-session-host.js.map +1 -1
- package/dist/modes/interactive/components/chat-transcript.d.ts +1 -0
- package/dist/modes/interactive/components/chat-transcript.d.ts.map +1 -1
- package/dist/modes/interactive/components/chat-transcript.js +1 -1
- package/dist/modes/interactive/components/chat-transcript.js.map +1 -1
- package/dist/modes/interactive/components/compaction-boundary-message.js.map +1 -1
- package/dist/modes/interactive/components/config-selector-list.js.map +1 -1
- package/dist/modes/interactive/components/config-selector.js.map +1 -1
- package/dist/modes/interactive/components/custom-editor.js.map +1 -1
- 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 +12 -0
- package/dist/modes/interactive/components/custom-message.js.map +1 -1
- package/dist/modes/interactive/components/daxnuts.js.map +1 -1
- package/dist/modes/interactive/components/diff.js.map +1 -1
- package/dist/modes/interactive/components/dynamic-border.js.map +1 -1
- package/dist/modes/interactive/components/earendil-announcement.js.map +1 -1
- package/dist/modes/interactive/components/extension-editor.js.map +1 -1
- package/dist/modes/interactive/components/extension-input.js.map +1 -1
- package/dist/modes/interactive/components/extension-selector.js.map +1 -1
- package/dist/modes/interactive/components/first-time-setup.d.ts +1 -1
- package/dist/modes/interactive/components/first-time-setup.js.map +1 -1
- package/dist/modes/interactive/components/footer.d.ts +7 -6
- package/dist/modes/interactive/components/footer.d.ts.map +1 -1
- package/dist/modes/interactive/components/footer.js +27 -9
- package/dist/modes/interactive/components/footer.js.map +1 -1
- package/dist/modes/interactive/components/host-input-form-mount.js.map +1 -1
- package/dist/modes/interactive/components/host-input-form.d.ts +1 -1
- package/dist/modes/interactive/components/host-input-form.js.map +1 -1
- package/dist/modes/interactive/components/index.d.ts +2 -2
- package/dist/modes/interactive/components/index.js.map +1 -1
- package/dist/modes/interactive/components/keybinding-hints.js.map +1 -1
- package/dist/modes/interactive/components/login-dialog.js.map +1 -1
- package/dist/modes/interactive/components/mermaid.d.ts +1 -1
- package/dist/modes/interactive/components/mermaid.js.map +1 -1
- package/dist/modes/interactive/components/model-selector.js.map +1 -1
- package/dist/modes/interactive/components/oauth-selector.js.map +1 -1
- package/dist/modes/interactive/components/reserved-bottom-overlay.js.map +1 -1
- package/dist/modes/interactive/components/scoped-models-selector.js.map +1 -1
- package/dist/modes/interactive/components/session-selector-header.js.map +1 -1
- package/dist/modes/interactive/components/session-selector-list.js.map +1 -1
- package/dist/modes/interactive/components/session-selector.js.map +1 -1
- package/dist/modes/interactive/components/settings-selector-items.js.map +1 -1
- package/dist/modes/interactive/components/settings-selector-submenus.d.ts +1 -1
- package/dist/modes/interactive/components/settings-selector-submenus.js.map +1 -1
- package/dist/modes/interactive/components/settings-selector-types.d.ts +1 -1
- package/dist/modes/interactive/components/settings-selector-types.js.map +1 -1
- package/dist/modes/interactive/components/settings-selector.js.map +1 -1
- package/dist/modes/interactive/components/show-images-selector.js.map +1 -1
- package/dist/modes/interactive/components/skill-invocation-message.d.ts +1 -1
- package/dist/modes/interactive/components/skill-invocation-message.js.map +1 -1
- package/dist/modes/interactive/components/task-completion-message.d.ts +13 -0
- package/dist/modes/interactive/components/task-completion-message.d.ts.map +1 -0
- package/dist/modes/interactive/components/task-completion-message.js +65 -0
- package/dist/modes/interactive/components/task-completion-message.js.map +1 -0
- package/dist/modes/interactive/components/task-detail.d.ts +27 -0
- package/dist/modes/interactive/components/task-detail.d.ts.map +1 -0
- package/dist/modes/interactive/components/task-detail.js +107 -0
- package/dist/modes/interactive/components/task-detail.js.map +1 -0
- package/dist/modes/interactive/components/task-inspector.d.ts +50 -0
- package/dist/modes/interactive/components/task-inspector.d.ts.map +1 -0
- package/dist/modes/interactive/components/task-inspector.js +599 -0
- package/dist/modes/interactive/components/task-inspector.js.map +1 -0
- package/dist/modes/interactive/components/task-list.d.ts +18 -0
- package/dist/modes/interactive/components/task-list.d.ts.map +1 -0
- package/dist/modes/interactive/components/task-list.js +59 -0
- package/dist/modes/interactive/components/task-list.js.map +1 -0
- package/dist/modes/interactive/components/task-live-transcript.d.ts +17 -0
- package/dist/modes/interactive/components/task-live-transcript.d.ts.map +1 -0
- package/dist/modes/interactive/components/task-live-transcript.js +33 -0
- package/dist/modes/interactive/components/task-live-transcript.js.map +1 -0
- package/dist/modes/interactive/components/task-navigation.d.ts +38 -0
- package/dist/modes/interactive/components/task-navigation.d.ts.map +1 -0
- package/dist/modes/interactive/components/task-navigation.js +93 -0
- package/dist/modes/interactive/components/task-navigation.js.map +1 -0
- package/dist/modes/interactive/components/task-row.d.ts +34 -0
- package/dist/modes/interactive/components/task-row.d.ts.map +1 -0
- package/dist/modes/interactive/components/task-row.js +158 -0
- package/dist/modes/interactive/components/task-row.js.map +1 -0
- package/dist/modes/interactive/components/theme-selector.js.map +1 -1
- package/dist/modes/interactive/components/thinking-selector.js.map +1 -1
- package/dist/modes/interactive/components/tool-execution.js.map +1 -1
- package/dist/modes/interactive/components/transcript-follow-indicator.js.map +1 -1
- package/dist/modes/interactive/components/tree-selector-component.js.map +1 -1
- package/dist/modes/interactive/components/tree-selector-content.js.map +1 -1
- package/dist/modes/interactive/components/tree-selector-help.js.map +1 -1
- package/dist/modes/interactive/components/tree-selector-label-input.js.map +1 -1
- package/dist/modes/interactive/components/tree-selector-list.js.map +1 -1
- package/dist/modes/interactive/components/trust-selector.js.map +1 -1
- package/dist/modes/interactive/components/user-message-selector.js.map +1 -1
- package/dist/modes/interactive/components/user-message.js.map +1 -1
- package/dist/modes/interactive/components/working-status.js.map +1 -1
- package/dist/modes/interactive/interactive-agent-events.js +8 -2
- package/dist/modes/interactive/interactive-agent-events.js.map +1 -1
- package/dist/modes/interactive/interactive-auth-login.js +3 -1
- package/dist/modes/interactive/interactive-auth-login.js.map +1 -1
- package/dist/modes/interactive/interactive-autocomplete.js +9 -30
- package/dist/modes/interactive/interactive-autocomplete.js.map +1 -1
- package/dist/modes/interactive/interactive-deferred-startup.js +2 -1
- package/dist/modes/interactive/interactive-deferred-startup.js.map +1 -1
- package/dist/modes/interactive/interactive-extension-context.js +14 -4
- package/dist/modes/interactive/interactive-extension-context.js.map +1 -1
- package/dist/modes/interactive/interactive-extension-custom-ui.js +52 -4
- package/dist/modes/interactive/interactive-extension-custom-ui.js.map +1 -1
- package/dist/modes/interactive/interactive-extension-runtime.js +1 -0
- package/dist/modes/interactive/interactive-extension-runtime.js.map +1 -1
- package/dist/modes/interactive/interactive-extension-widgets.js +9 -1
- package/dist/modes/interactive/interactive-extension-widgets.js.map +1 -1
- package/dist/modes/interactive/interactive-input-handling.d.ts.map +1 -1
- package/dist/modes/interactive/interactive-input-handling.js +19 -0
- package/dist/modes/interactive/interactive-input-handling.js.map +1 -1
- package/dist/modes/interactive/interactive-mode-base.d.ts +6 -1
- package/dist/modes/interactive/interactive-mode-base.d.ts.map +1 -1
- package/dist/modes/interactive/interactive-mode-base.js +4 -1
- package/dist/modes/interactive/interactive-mode-base.js.map +1 -1
- package/dist/modes/interactive/interactive-mode-deps.d.ts +6 -6
- package/dist/modes/interactive/interactive-mode-deps.js.map +1 -1
- package/dist/modes/interactive/interactive-mode-surface.d.ts +2 -1
- package/dist/modes/interactive/interactive-mode-surface.d.ts.map +1 -1
- package/dist/modes/interactive/interactive-mode-surface.js.map +1 -1
- package/dist/modes/interactive/interactive-mode.d.ts +1 -0
- package/dist/modes/interactive/interactive-mode.d.ts.map +1 -1
- package/dist/modes/interactive/interactive-mode.js +3 -0
- package/dist/modes/interactive/interactive-mode.js.map +1 -1
- package/dist/modes/interactive/interactive-process-lifecycle.js +4 -1
- package/dist/modes/interactive/interactive-process-lifecycle.js.map +1 -1
- package/dist/modes/interactive/interactive-render-chat.js +2 -0
- package/dist/modes/interactive/interactive-render-chat.js.map +1 -1
- package/dist/modes/interactive/interactive-session-routing.js +33 -23
- package/dist/modes/interactive/interactive-session-routing.js.map +1 -1
- package/dist/modes/interactive/interactive-session-runtime.js +1 -0
- package/dist/modes/interactive/interactive-session-runtime.js.map +1 -1
- package/dist/modes/interactive/interactive-slash-commands.js.map +1 -1
- package/dist/modes/interactive/interactive-summarization-retry-events.js +2 -2
- package/dist/modes/interactive/interactive-summarization-retry-events.js.map +1 -1
- package/dist/modes/interactive/interactive-task-projection.d.ts +13 -0
- package/dist/modes/interactive/interactive-task-projection.d.ts.map +1 -0
- package/dist/modes/interactive/interactive-task-projection.js +72 -0
- package/dist/modes/interactive/interactive-task-projection.js.map +1 -0
- package/dist/modes/interactive/interactive-tui.js.map +1 -1
- package/dist/modes/interactive/interactive-windows-subshell.d.ts +17 -0
- package/dist/modes/interactive/interactive-windows-subshell.d.ts.map +1 -0
- package/dist/modes/interactive/interactive-windows-subshell.js +92 -0
- package/dist/modes/interactive/interactive-windows-subshell.js.map +1 -0
- package/dist/modes/interactive/skill-command-autocomplete.d.ts +12 -0
- package/dist/modes/interactive/skill-command-autocomplete.d.ts.map +1 -0
- package/dist/modes/interactive/skill-command-autocomplete.js +69 -0
- package/dist/modes/interactive/skill-command-autocomplete.js.map +1 -0
- package/dist/modes/interactive/theme/theme-class.d.ts.map +1 -1
- package/dist/modes/interactive/theme/theme-class.js +4 -1
- package/dist/modes/interactive/theme/theme-class.js.map +1 -1
- package/dist/modes/interactive/theme/theme-controller.d.ts +1 -1
- package/dist/modes/interactive/theme/theme-controller.js.map +1 -1
- package/dist/modes/interactive-engine/create-isolated-runtime.d.ts +1 -1
- package/dist/modes/interactive-engine/create-isolated-runtime.js.map +1 -1
- package/dist/modes/interactive-engine/engine-custom-ui.d.ts +5 -9
- package/dist/modes/interactive-engine/engine-custom-ui.d.ts.map +1 -1
- package/dist/modes/interactive-engine/engine-custom-ui.js +14 -5
- package/dist/modes/interactive-engine/engine-custom-ui.js.map +1 -1
- package/dist/modes/interactive-engine/engine-dialog-host.d.ts +2 -2
- package/dist/modes/interactive-engine/engine-dialog-host.js.map +1 -1
- package/dist/modes/interactive-engine/engine-project-trust.d.ts +10 -0
- package/dist/modes/interactive-engine/engine-project-trust.d.ts.map +1 -0
- package/dist/modes/interactive-engine/engine-project-trust.js +28 -0
- package/dist/modes/interactive-engine/engine-project-trust.js.map +1 -0
- package/dist/modes/interactive-engine/engine-render-service.d.ts +1 -1
- package/dist/modes/interactive-engine/engine-render-service.js.map +1 -1
- package/dist/modes/interactive-engine/extension-ui-bridge.d.ts +3 -1
- package/dist/modes/interactive-engine/extension-ui-bridge.d.ts.map +1 -1
- package/dist/modes/interactive-engine/extension-ui-bridge.js +6 -0
- package/dist/modes/interactive-engine/extension-ui-bridge.js.map +1 -1
- package/dist/modes/interactive-engine/input-form-host.d.ts +2 -2
- package/dist/modes/interactive-engine/input-form-host.js.map +1 -1
- package/dist/modes/interactive-engine/isolated-auth.d.ts +1 -1
- package/dist/modes/interactive-engine/isolated-auth.js.map +1 -1
- package/dist/modes/interactive-engine/isolated-runtime.d.ts +5 -2
- package/dist/modes/interactive-engine/isolated-runtime.d.ts.map +1 -1
- package/dist/modes/interactive-engine/isolated-runtime.js +40 -3
- package/dist/modes/interactive-engine/isolated-runtime.js.map +1 -1
- package/dist/modes/interactive-engine/protocol.d.ts +9 -0
- package/dist/modes/interactive-engine/protocol.d.ts.map +1 -1
- package/dist/modes/interactive-engine/protocol.js +8 -0
- package/dist/modes/interactive-engine/protocol.js.map +1 -1
- package/dist/modes/interactive-engine/remote-component.d.ts +2 -2
- package/dist/modes/interactive-engine/remote-component.d.ts.map +1 -1
- package/dist/modes/interactive-engine/remote-component.js +3 -2
- package/dist/modes/interactive-engine/remote-component.js.map +1 -1
- package/dist/modes/interactive-engine/remote-model-catalog.d.ts +1 -1
- package/dist/modes/interactive-engine/remote-model-catalog.js.map +1 -1
- package/dist/modes/interactive-engine/remote-renderer.d.ts +1 -1
- package/dist/modes/interactive-engine/remote-renderer.js.map +1 -1
- package/dist/modes/interactive-engine/session-picker-host.d.ts +2 -2
- package/dist/modes/interactive-engine/session-picker-host.js.map +1 -1
- package/dist/modes/json-event.d.ts +1 -1
- package/dist/modes/json-event.js.map +1 -1
- package/dist/modes/print-mode.js.map +1 -1
- package/dist/modes/rpc/rpc-bash-request-owners.d.ts +2 -2
- package/dist/modes/rpc/rpc-bash-request-owners.js.map +1 -1
- package/dist/modes/rpc/rpc-client-api.d.ts +2 -2
- package/dist/modes/rpc/rpc-client-api.d.ts.map +1 -1
- package/dist/modes/rpc/rpc-client-api.js +2 -2
- package/dist/modes/rpc/rpc-client-api.js.map +1 -1
- package/dist/modes/rpc/rpc-client-waits.d.ts +1 -1
- package/dist/modes/rpc/rpc-client-waits.js.map +1 -1
- package/dist/modes/rpc/rpc-client.d.ts +3 -1
- package/dist/modes/rpc/rpc-client.d.ts.map +1 -1
- package/dist/modes/rpc/rpc-client.js +20 -0
- package/dist/modes/rpc/rpc-client.js.map +1 -1
- package/dist/modes/rpc/rpc-command-handler.d.ts +4 -2
- package/dist/modes/rpc/rpc-command-handler.d.ts.map +1 -1
- package/dist/modes/rpc/rpc-command-handler.js +12 -4
- package/dist/modes/rpc/rpc-command-handler.js.map +1 -1
- package/dist/modes/rpc/rpc-extension-ui.d.ts +1 -1
- package/dist/modes/rpc/rpc-extension-ui.js.map +1 -1
- package/dist/modes/rpc/rpc-mode.d.ts.map +1 -1
- package/dist/modes/rpc/rpc-mode.js +11 -2
- package/dist/modes/rpc/rpc-mode.js.map +1 -1
- package/dist/modes/rpc/rpc-provider-auth.d.ts +1 -1
- package/dist/modes/rpc/rpc-provider-auth.js.map +1 -1
- package/dist/modes/rpc/rpc-session-binding.d.ts +4 -1
- package/dist/modes/rpc/rpc-session-binding.d.ts.map +1 -1
- package/dist/modes/rpc/rpc-session-binding.js +35 -1
- package/dist/modes/rpc/rpc-session-binding.js.map +1 -1
- package/dist/modes/rpc/rpc-types.d.ts +13 -1
- package/dist/modes/rpc/rpc-types.d.ts.map +1 -1
- package/dist/modes/rpc/rpc-types.js.map +1 -1
- package/dist/modes/rpc/task-ui-bridge.d.ts +9 -0
- package/dist/modes/rpc/task-ui-bridge.d.ts.map +1 -0
- package/dist/modes/rpc/task-ui-bridge.js +146 -0
- package/dist/modes/rpc/task-ui-bridge.js.map +1 -0
- package/dist/self-update-plan.js.map +1 -1
- package/docs/background-tasks.md +199 -0
- package/docs/compaction.md +2 -0
- package/docs/development.md +3 -1
- package/docs/docs.json +2 -0
- package/docs/environment-variables.md +1 -1
- package/docs/extensions.md +108 -6
- package/docs/herdr.md +106 -0
- package/docs/intercom.md +38 -35
- package/docs/keybindings.md +19 -2
- package/docs/models/evals.md +222 -147
- package/docs/models/model-selection.md +20 -14
- package/docs/models/pareto-efficiency.md +2 -2
- package/docs/providers.md +48 -46
- package/docs/quickstart.md +1 -1
- package/docs/sdk.md +244 -0
- package/docs/settings.md +15 -3
- package/docs/skills.md +23 -1
- package/docs/subagents.md +71 -9
- package/docs/themes.md +4 -0
- package/docs/tools.md +25 -0
- package/docs/tui.md +29 -2
- package/docs/usage.md +4 -0
- package/docs/windows.md +4 -4
- package/docs/workflows/api-reference.md +13 -4
- package/docs/workflows/operations.md +42 -1
- package/docs/workflows/reliable-design.md +35 -4
- package/docs/workflows/verification.md +21 -4
- package/docs/workflows.md +3 -1
- package/npm-shrinkwrap.json +781 -661
- package/package.json +10 -10
- /package/dist/builtin/workflows/builtin/{chunk-cg9tmks0.js → chunk-n1910xc4.js} +0 -0
- /package/dist/builtin/workflows/builtin/{chunk-wpckd35c.js → chunk-rc5ec5xx.js} +0 -0
- /package/dist/builtin/workflows/builtin/{chunk-7at6dnkr.js → chunk-tgt0s5e5.js} +0 -0
- /package/dist/builtin/workflows/builtin/{chunk-bfkmzv9h.js → chunk-xtxcq5tj.js} +0 -0
|
@@ -17,7 +17,13 @@ It is a **static reference**. It does not change runtime model routing — routi
|
|
|
17
17
|
The table below is a snapshot of the [DeepSWE](https://deepswe.datacurve.ai/) leaderboard (v1.1, highest published thinking level per model), a long-horizon coding-agent benchmark reporting `pass@1` and average dollars per task. The source reports 113 tasks and was updated September 3, 2026. DeepSWE's own default table view is **Best** — the best-scoring configuration per model — so four models show a different row there than the highest-effort row used here; the snapshot note below the table names them. Benchmarks and pricing drift and new models ship constantly, so **treat the live leaderboards as authoritative** and refresh this page from them rather than hand-maintaining scores. See [Evals](/models/evals). **Last compiled: 2026-09-03.**
|
|
18
18
|
</Note>
|
|
19
19
|
|
|
20
|
-
Artificial Analysis was reviewed separately on **2026-09-
|
|
20
|
+
Artificial Analysis was reviewed separately on **2026-09-08** against its **September 7 Intelligence Index v4.3** revision. The DeepSWE table remains the September 3 snapshot and was not revalidated in this refresh; the earlier September 5 browser check confirmed its update date and Gemini 3.8 Flash row, not every configuration.
|
|
21
|
+
|
|
22
|
+
## Answering model-choice questions
|
|
23
|
+
|
|
24
|
+
For any task-specific model recommendation, not just workflow authoring, read the [task-type picker](/models/evals#pick-by-task-type) and its per-benchmark charts, then consult [Artificial Analysis](https://artificialanalysis.ai/) for the relevant live evaluation and methodology. Recommend a task-fit candidate and explain the cost or latency tradeoff. Cite the benchmark version, retrieval date and exact model/effort configuration. An aggregate leaderboard winner is not a winner on every task.
|
|
25
|
+
|
|
26
|
+
If live results cannot be retrieved, use the dated docs snapshot and say it was not refreshed. Check the configured catalog before suggesting an exact provider/model ID or effort level; catalog presence does not prove live access. Keep benchmark measurement settings separate from production effort recommendations.
|
|
21
27
|
|
|
22
28
|
## Benchmark levels are measurement settings
|
|
23
29
|
|
|
@@ -32,18 +38,18 @@ reports the ambiguity. Use `--provider <provider> --model <id>` or `--model <pro
|
|
|
32
38
|
|
|
33
39
|
## AA cross-check for current candidates
|
|
34
40
|
|
|
35
|
-
These are selected candidates, not a replacement DeepSWE frontier. The
|
|
41
|
+
These are selected candidates, not a replacement DeepSWE frontier. The [AA leaderboard](https://artificialanalysis.ai/leaderboards/models) was retrieved **2026-09-08** under Intelligence Index **v4.3**, announced **2026-09-07**. Scores are index points, not pass percentages; cost is weighted USD per **AA Intelligence Index task**, not DeepSWE cost. Speed uses the default 10k-input workload in standardized output tokens per second, not full-task latency. The source has no separate publication timestamp for these measurements.
|
|
36
42
|
|
|
37
43
|
| Model and AA measurement configuration | Intelligence Index | AA $/task | Output tokens/s | Candidate role and tradeoff |
|
|
38
44
|
| --- | --- | --- | --- | --- |
|
|
39
|
-
| [Claude Fable 5.1,
|
|
40
|
-
| [GPT-6 Astra, max](https://artificialanalysis.ai/models/gpt-6-astra) |
|
|
41
|
-
| [Gemini 3.8 Flash, high](https://artificialanalysis.ai/models/gemini-3-8-flash) |
|
|
42
|
-
| [GPT-5.6 Luna, max](https://artificialanalysis.ai/models/gpt-5-6-luna) |
|
|
45
|
+
| [Claude Fable 5.1, max with default fallback](https://artificialanalysis.ai/models/claude-fable-5-1) | 53 | $7.63 | 69 | Knowledge-work planning candidate; xhigh also displays 53 at $5.98 per task |
|
|
46
|
+
| [GPT-6 Astra, max](https://artificialanalysis.ai/models/gpt-6-astra) | 53 | $3.26 | 62 | Terminal and document-reasoning candidate; xhigh displays 53 at $2.31 and scores higher on those two individual evaluations |
|
|
47
|
+
| [Gemini 3.8 Flash, high](https://artificialanalysis.ai/models/gemini-3-8-flash) | 41 | $1.24 | 286 | Strong historical Datacurve result, but only 20% on the new Terminal-Bench v4.0; check the intended task distribution |
|
|
48
|
+
| [GPT-5.6 Luna, max](https://artificialanalysis.ai/models/gpt-5-6-luna) | 38 | $0.18 | 121 | Budget long-context candidate with verification; 12% on Terminal-Bench v4.0 |
|
|
43
49
|
|
|
44
|
-
AA's [v4.
|
|
50
|
+
AA's [v4.3 announcement](https://artificialanalysis.ai/articles/artificial-analysis-intelligence-index-v4-3) replaces 𝜏³-Banking with AutomationBench-AA and Terminal-Bench v2.1 with v4.0. Fable 5.1 max with default fallback scores 58% normalized Elo on AA-Briefcase and 63% on GDPval-AA v2, versus Astra max at 53% and 54%. These are transformed Elo displays, **not pass rates**. Astra xhigh scores 32% GDP.pdf All-pass and 60% Terminal-Bench v4.0; Astra max scores 31% and 59%. Use the [per-evaluation tables](/models/evals#per-evaluation-scores-for-catalog-models) and [task-type picker](/models/evals#pick-by-task-type), not an aggregate rank. A rounded lead does not establish statistical significance, security-review reliability or the best model for every role. Fable's default-fallback result is not evidence for an arbitrary no-fallback configuration.
|
|
45
51
|
|
|
46
|
-
The separate [Coding Agent Index v1.4](https://artificialanalysis.ai/agents/coding-agents),
|
|
52
|
+
The separate [Coding Agent Index v1.4](https://artificialanalysis.ai/agents/coding-agents), retrieved 2026-09-08, still uses Terminal-Bench v2.1 alongside DeepSWE and SWE-Atlas-QnA. It reports Claude Code + Fable 5.1 max with fallback at **70**, **$9.18/task** and **24.0 minutes/task**, Opencode + Gemini 3.8 Flash high at **61**, **$2.04/task** and **11.9 minutes/task**, and Codex + Luna max at **57**, **$0.29/task** and **8.0 minutes/task**. These are named-agent runs, not Atomic or interchangeable base-model results. All fourteen rows are in [Evals](/models/evals#coding-agent-index-v14-is-a-different-comparison). Fable 5.1 remains absent from the separately dated Datacurve snapshot below.
|
|
47
53
|
|
|
48
54
|
## Recommendation chart
|
|
49
55
|
|
|
@@ -115,13 +121,13 @@ Reserve `max` for a high-cost-of-error role or an explicit user request. An expl
|
|
|
115
121
|
|
|
116
122
|
## Scenario-based guidance
|
|
117
123
|
|
|
118
|
-
Pick by the cost of being wrong in each role, not by raw accuracy.
|
|
124
|
+
Pick by the cost of being wrong in each role, not by raw accuracy. The AA evidence below was read on 2026-09-08; the Datacurve evidence remains the September 3 snapshot. See [Evals](/models/evals) for measurement settings, normalized Elo versus pass-rate units and source links.
|
|
119
125
|
|
|
120
|
-
- **Reviewer / judgment gates
|
|
121
|
-
- **Codebase mapping / planner
|
|
122
|
-
- **Debugger / triage / repair
|
|
123
|
-
- **Research / synthesis
|
|
124
|
-
- **Orchestrator / worker / cheap loops
|
|
126
|
+
- **Reviewer / judgment gates.** Use `max` for a high-cost-of-error security, identity, adversarial or final-approval decision, subject to the configured model's supported efforts. No external benchmark here establishes security-review reliability. Claude Code + Fable 5.1 max with fallback and Claude Code + Opus 5 xhigh score 56% and 55% on SWE-Atlas-QnA, versus 51% for Codex + Astra max, but those harness-specific results need validation in Atomic.
|
|
127
|
+
- **Codebase mapping / planner.** Start at `high`. For knowledge-work deliverables, Fable 5.1 max with fallback scores 58% normalized Elo on AA-Briefcase, Opus 5 max 57%, and GLM-5.3-Flash 48% at $0.25 per Index task. These are candidates, not measured repository-planning pass rates. Raise effort only for the role's cost of error or the user's request.
|
|
128
|
+
- **Debugger / triage / repair.** Start at `high`. The new Terminal-Bench v4.0 is no longer flat near 90%: Astra xhigh scores 60%, Fable 5.1 xhigh with fallback 55%, Opus 5 max 49%, and Gemini 3.8 Flash high 20%. Keep Datacurve cost and steps as separate evidence; do not transfer its 74% Gemini result into this benchmark.
|
|
129
|
+
- **Research / synthesis.** Use `high` for demanding reconciliation and `medium` for routine synthesis. Luna max scores 84% on AA-LCR at $0.18 per Index task, but its 7% non-hallucination rate counts partial answers or not attempted among non-correct responses, not all answers. Verify factual claims. Astra xhigh leads the displayed GDP.pdf rows at 32%; GLM-5.3-Flash and GLM-5.3 max score 72% and 70% non-hallucination.
|
|
130
|
+
- **Orchestrator / worker / cheap loops.** Use AutomationBench-AA for SaaS tool workflows: Astra max 68%, GLM-5.3-Flash 60%, Luna max 50%. GLM-5.3-Flash and Luna remain budget candidates on the separately dated Datacurve frontier. Gemini 3.8 Flash's 166 steps and 143k output tokens in that snapshot argue against choosing workers on pass rate alone. Validate the tradeoff on the actual workflow.
|
|
125
131
|
- **User-impact review / final reporting** — use `medium` for impact summaries and reports that preserve the evidence needed by the user. Do not spend `max` here unless the user explicitly requests it or the role has become a high-cost-of-error approval.
|
|
126
132
|
- **Design** — a quality-first domain not directly measured by these coding tables. Choose effort by the review or approval role. Fable 5.1's AA-Briefcase results make it a candidate for knowledge-work deliverables, not proof of product-design quality; evaluate it on the intended design tasks and do not carry Fable 5's DeepSWE row over to it.
|
|
127
133
|
- **Interactive coding sessions** — use `high` for complex, multi-step coding and `medium` for routine edits; reserve `max` for a high-cost-of-error judgment or an explicit user request.
|
|
@@ -13,7 +13,7 @@ The axes here are `pass@1` (accuracy) and `average dollars per task` (cost), tak
|
|
|
13
13
|
Figures are a snapshot of DeepSWE v1.1 using the highest published thinking level for each of the 21 models displayed on the September 3, 2026 leaderboard. They include the August 21 pricing corrections for GPT-5.6 Sol and DeepSeek V4, and GPT-6 Astra's costs are DeepSWE's expected launch pricing rather than billed rates. DeepSWE's own default table view is **Best** — the best-scoring configuration per model — which picks a different row for four models; the frontier under that reading is stated below. DeepSWE publishes a live cost-vs-score scatter, so **read the frontier off the live chart** rather than trusting a static list. **Last compiled: 2026-09-03.**
|
|
14
14
|
</Note>
|
|
15
15
|
|
|
16
|
-
The [AA review](/models/evals) is separately dated **2026-09-
|
|
16
|
+
The [AA review](/models/evals) is separately dated **2026-09-08**. Intelligence Index v4.3, announced September 7, uses weighted intelligence and its own cost per task; Coding Agent Index v1.4 still uses agent-specific runs including Terminal-Bench v2.1 rather than v4.0. Neither defines the Datacurve frontier on this page. This refresh did not revalidate or recompute the September 3 DeepSWE snapshot. The earlier September 5 browser check confirmed its update date and Gemini 3.8 Flash's row.
|
|
17
17
|
|
|
18
18
|
## The frontier
|
|
19
19
|
|
|
@@ -75,7 +75,7 @@ Efficiency is not the only axis. A dominated model can still earn a slot when it
|
|
|
75
75
|
- **glm-5.3 [max]** remains the best open-weights point; the new frontier ceiling is closed-weights, so the open-weights niche survives the frontier change intact.
|
|
76
76
|
- **gemini-3.8-flash [high]** holds the frontier ceiling but is Google-family and step-heavy at 166 average steps; pair it with a model from another family for fallback diversity rather than routing every stage through one provider.
|
|
77
77
|
- **claude-fable-5** remains useful where Anthropic-family behavior is specifically wanted, such as the quality-first, unbenchmarked design chain.
|
|
78
|
-
- **claude-fable-5-1** is available in Atomic's catalog but
|
|
78
|
+
- **claude-fable-5-1** is available in Atomic's catalog but absent from the September 3, 2026 Datacurve snapshot, so it has no position on this frontier. The [September 8 AA cross-check](/models/model-selection#aa-cross-check-for-current-candidates) includes Fable 5.1's max and xhigh default-fallback measurements. Those results justify task-specific evaluation, not importing AA scores or costs into this DeepSWE chart. A token-price discount is not a measured task-cost saving.
|
|
79
79
|
- **Unmeasured models** may remain operational defaults when a family lacks current DeepSWE or Artificial Analysis coverage, but they should not inherit a predecessor's score.
|
|
80
80
|
|
|
81
81
|
## How to use this
|
package/docs/providers.md
CHANGED
|
@@ -116,7 +116,9 @@ Business and enterprise tokens sent to the individual host return `421 Misdirect
|
|
|
116
116
|
|
|
117
117
|
Run `/login xai`, then select **Use a subscription**. `XAI_API_KEY` remains available through **Use an API key**.
|
|
118
118
|
|
|
119
|
-
Atomic defaults xAI sessions to `grok-4.6`. Built-in workflow and subagent fallback chains use `xai/grok-4.6:xhigh`, `github-copilot/grok-4.6:xhigh`, and `openrouter/x-ai/grok-4.6`; GitHub Copilot also exposes Grok 4.6 when the account's model policy enables it. Network-backed catalogs refresh and cache these newer entries independently of the bundled catalog snapshot.
|
|
119
|
+
Atomic defaults xAI sessions to `grok-4.6`. Built-in workflow and subagent fallback chains use `xai/grok-4.6:xhigh`, `github-copilot/grok-4.6:xhigh`, and `openrouter/x-ai/grok-4.6:xhigh`; GitHub Copilot also exposes Grok 4.6 when the account's model policy enables it. Network-backed catalogs refresh and cache these newer entries independently of the bundled catalog snapshot.
|
|
120
|
+
|
|
121
|
+
The `codebase-locator`, `codebase-pattern-finder`, and `codebase-research-locator` agents use GPT-5.6 Luna at `xhigh` and Grok fallbacks at `medium` instead. Goal and Ralph orchestration, Ralph research, and Open Claude Design use GPT-6 Astra at `medium`; Ralph prompt refinement remains at `high`.
|
|
120
122
|
|
|
121
123
|
### Radius
|
|
122
124
|
|
|
@@ -142,45 +144,45 @@ On a remote or headless machine, paste the authorization code or final redirect
|
|
|
142
144
|
|
|
143
145
|
Remote pi.dev catalogs persist their ETag and are revalidated with `If-None-Match`; an empty `304` keeps the cached models and counts as a successful check. Atomic renders the cached snapshot immediately, preserves each provider's last usable catalog on refresh failure, and prefers newer bundled data over stale remote overlays. See [Custom Models](/models#catalog-freshness-and-precedence).
|
|
144
146
|
|
|
145
|
-
| Provider
|
|
146
|
-
|
|
147
|
-
| Anthropic
|
|
148
|
-
| Ant Ling
|
|
149
|
-
| Azure OpenAI Responses
|
|
150
|
-
| OpenAI
|
|
151
|
-
| DeepSeek
|
|
152
|
-
| NVIDIA NIM
|
|
153
|
-
| Google Gemini
|
|
154
|
-
| Google Vertex AI
|
|
155
|
-
| Mistral
|
|
156
|
-
| Groq
|
|
157
|
-
| Cerebras
|
|
158
|
-
| Cloudflare AI Gateway
|
|
159
|
-
| Cloudflare Workers AI
|
|
160
|
-
| xAI
|
|
161
|
-
| OpenRouter
|
|
162
|
-
| Vercel AI Gateway
|
|
163
|
-
| ZAI
|
|
164
|
-
| ZAI Coding Plan (China)
|
|
165
|
-
| OpenCode Zen
|
|
166
|
-
| OpenCode Go
|
|
167
|
-
| Radius
|
|
168
|
-
| Hugging Face
|
|
169
|
-
| Fireworks
|
|
170
|
-
| Together AI
|
|
171
|
-
| Baseten
|
|
172
|
-
| Kimi For Coding
|
|
173
|
-
| MiniMax
|
|
174
|
-
| MiniMax (China)
|
|
175
|
-
| Moonshot AI
|
|
176
|
-
| Moonshot AI (China)
|
|
177
|
-
| Qwen Token Plan (existing catalog) | `QWEN_TOKEN_PLAN_API_KEY`
|
|
178
|
-
| Qwen Token Plan (Individual)
|
|
179
|
-
| Qwen Token Plan (China)
|
|
180
|
-
| Xiaomi MiMo
|
|
181
|
-
| Xiaomi MiMo Token Plan (China)
|
|
182
|
-
| Xiaomi MiMo Token Plan (Amsterdam) | `XIAOMI_TOKEN_PLAN_AMS_API_KEY`
|
|
183
|
-
| Xiaomi MiMo Token Plan (Singapore) | `XIAOMI_TOKEN_PLAN_SGP_API_KEY`
|
|
147
|
+
| Provider | Environment Variable | `auth.json` key |
|
|
148
|
+
| ---------------------------------- | ------------------------------------------------------------------------- | ---------------------------- |
|
|
149
|
+
| Anthropic | `ANTHROPIC_API_KEY` or bearer-only `ANTHROPIC_AUTH_TOKEN` | `anthropic` |
|
|
150
|
+
| Ant Ling | `ANT_LING_API_KEY` | `ant-ling` |
|
|
151
|
+
| Azure OpenAI Responses | `AZURE_OPENAI_API_KEY` | `azure-openai-responses` |
|
|
152
|
+
| OpenAI | `OPENAI_API_KEY` | `openai` |
|
|
153
|
+
| DeepSeek | `DEEPSEEK_API_KEY` | `deepseek` |
|
|
154
|
+
| NVIDIA NIM | `NVIDIA_API_KEY` | `nvidia` |
|
|
155
|
+
| Google Gemini | `GEMINI_API_KEY` | `google` |
|
|
156
|
+
| Google Vertex AI | `GOOGLE_CLOUD_API_KEY` | `google-vertex` |
|
|
157
|
+
| Mistral | `MISTRAL_API_KEY` | `mistral` |
|
|
158
|
+
| Groq | `GROQ_API_KEY` | `groq` |
|
|
159
|
+
| Cerebras | `CEREBRAS_API_KEY` | `cerebras` |
|
|
160
|
+
| Cloudflare AI Gateway | `CLOUDFLARE_API_KEY` (+ `CLOUDFLARE_ACCOUNT_ID`, `CLOUDFLARE_GATEWAY_ID`) | `cloudflare-ai-gateway` |
|
|
161
|
+
| Cloudflare Workers AI | `CLOUDFLARE_API_KEY` (+ `CLOUDFLARE_ACCOUNT_ID`) | `cloudflare-workers-ai` |
|
|
162
|
+
| xAI | `XAI_API_KEY` | `xai` |
|
|
163
|
+
| OpenRouter | `OPENROUTER_API_KEY` | `openrouter` |
|
|
164
|
+
| Vercel AI Gateway | `AI_GATEWAY_API_KEY` | `vercel-ai-gateway` |
|
|
165
|
+
| ZAI | `ZAI_API_KEY` | `zai` |
|
|
166
|
+
| ZAI Coding Plan (China) | `ZAI_CODING_CN_API_KEY` | `zai-coding-cn` |
|
|
167
|
+
| OpenCode Zen | `OPENCODE_API_KEY` | `opencode` |
|
|
168
|
+
| OpenCode Go | `OPENCODE_API_KEY` | `opencode-go` |
|
|
169
|
+
| Radius | `RADIUS_API_KEY` | `radius` |
|
|
170
|
+
| Hugging Face | `HF_TOKEN` | `huggingface` |
|
|
171
|
+
| Fireworks | `FIREWORKS_API_KEY` | `fireworks` |
|
|
172
|
+
| Together AI | `TOGETHER_API_KEY` | `together` |
|
|
173
|
+
| Baseten | `BASETEN_API_KEY` | `baseten` |
|
|
174
|
+
| Kimi For Coding | `KIMI_API_KEY` | `kimi-coding` |
|
|
175
|
+
| MiniMax | `MINIMAX_API_KEY` | `minimax` |
|
|
176
|
+
| MiniMax (China) | `MINIMAX_CN_API_KEY` | `minimax-cn` |
|
|
177
|
+
| Moonshot AI | `MOONSHOT_API_KEY` | `moonshotai` |
|
|
178
|
+
| Moonshot AI (China) | `MOONSHOT_API_KEY` | `moonshotai-cn` |
|
|
179
|
+
| Qwen Token Plan (existing catalog) | `QWEN_TOKEN_PLAN_API_KEY` | `qwen-token-plan` |
|
|
180
|
+
| Qwen Token Plan (Individual) | `QWEN_TOKEN_PLAN_API_KEY` | `qwen-token-plan-individual` |
|
|
181
|
+
| Qwen Token Plan (China) | `QWEN_TOKEN_PLAN_CN_API_KEY` | `qwen-token-plan-cn` |
|
|
182
|
+
| Xiaomi MiMo | `XIAOMI_API_KEY` | `xiaomi` |
|
|
183
|
+
| Xiaomi MiMo Token Plan (China) | `XIAOMI_TOKEN_PLAN_CN_API_KEY` | `xiaomi-token-plan-cn` |
|
|
184
|
+
| Xiaomi MiMo Token Plan (Amsterdam) | `XIAOMI_TOKEN_PLAN_AMS_API_KEY` | `xiaomi-token-plan-ams` |
|
|
185
|
+
| Xiaomi MiMo Token Plan (Singapore) | `XIAOMI_TOKEN_PLAN_SGP_API_KEY` | `xiaomi-token-plan-sgp` |
|
|
184
186
|
|
|
185
187
|
Z.AI and Z.AI Coding Plan (China) default to `glm-5.3` (`zai/glm-5.3` and `zai-coding-cn/glm-5.3`), and both direct providers also expose the multimodal `glm-5.3-flash`. Baseten defaults to its directly selectable `zai-org/GLM-5.3` and also exposes `zai-org/GLM-5.3-Fast` and the multimodal `zai-org/GLM-5.3-Flash`; OpenRouter exposes `z-ai/glm-5.3` and `z-ai/glm-5.3-flash`. The full and Flash entries support `low`, `high`, and `max` reasoning; Baseten's Fast entry also supports `off`. Built-in workflow and subagent chains include the Z.AI, Z.AI Coding Plan, Baseten, and OpenRouter routes at `:high`. Use Baseten's `zai-org/GLM-5.2` or `zai-org/GLM-5.3-Fast` when fully disabled reasoning is required. Qwen Token Plan Individual defaults to `qwen3.8-max` and uses the international `QWEN_TOKEN_PLAN_API_KEY` shared with the existing Qwen Token Plan provider. These catalogs follow their upstream providers, so use `--list-models` for the current entries.
|
|
186
188
|
|
|
@@ -351,12 +353,12 @@ Routes to OpenAI, Anthropic, and Workers AI through Cloudflare AI Gateway. Worke
|
|
|
351
353
|
|
|
352
354
|
AI Gateway authentication uses `CLOUDFLARE_API_KEY` as `cf-aig-authorization`. Upstream authentication can be one of:
|
|
353
355
|
|
|
354
|
-
| Mode
|
|
355
|
-
|
|
356
|
-
| Workers AI
|
|
357
|
-
| Unified billing | Cloudflare token only
|
|
358
|
-
| Stored BYOK
|
|
359
|
-
| Inline BYOK
|
|
356
|
+
| Mode | Request auth | Upstream auth |
|
|
357
|
+
| --------------- | ----------------------------------------------------- | ------------------------------------------------------------------- |
|
|
358
|
+
| Workers AI | Cloudflare token only | Cloudflare-native |
|
|
359
|
+
| Unified billing | Cloudflare token only | Cloudflare handles upstream auth and deducts credits |
|
|
360
|
+
| Stored BYOK | Cloudflare token only | Cloudflare injects provider keys stored in the AI Gateway dashboard |
|
|
361
|
+
| Inline BYOK | Cloudflare token plus upstream `Authorization` header | The request supplies the upstream provider key |
|
|
360
362
|
|
|
361
363
|
For normal Atomic usage, prefer unified billing or stored BYOK. Inline BYOK requires configuring an additional upstream `Authorization` header for the Cloudflare AI Gateway provider, for example via a `models.json` provider/model override.
|
|
362
364
|
|
package/docs/quickstart.md
CHANGED
|
@@ -4,7 +4,7 @@ This page gets you from install to a useful first Atomic session. Atomic is the
|
|
|
4
4
|
|
|
5
5
|
## Prerequisites
|
|
6
6
|
|
|
7
|
-
- **Package install:** Node.js 22.19 or newer plus npm, pnpm, Yarn, or Bun. Use Bun 1.4.
|
|
7
|
+
- **Package install:** Node.js 22.19 or newer plus npm, pnpm, Yarn, or Bun. Use Bun 1.4.2+ for Bun installs or workflow-authoring examples.
|
|
8
8
|
- **Release archive install:** macOS and Linux need `tar` and either `curl` or `wget`; Windows uses built-in PowerShell commands. This path does not need Node.js or a package manager.
|
|
9
9
|
- **Model-provider access** — use a supported subscription login or API key. Run `/login` after startup.
|
|
10
10
|
|
package/docs/sdk.md
CHANGED
|
@@ -13,6 +13,241 @@ The SDK provides programmatic access to atomic's agent capabilities. Use it to e
|
|
|
13
13
|
|
|
14
14
|
See [examples/sdk/](https://github.com/bastani-inc/atomic/tree/main/packages/coding-agent/examples/sdk) for working examples from minimal to full control.
|
|
15
15
|
|
|
16
|
+
## Owner-bound task supervisor (S1)
|
|
17
|
+
|
|
18
|
+
S1 adds an SDK-only task foundation in `src/core/tasks/contracts.ts` and
|
|
19
|
+
`src/core/tasks/supervisor.ts`, backed by the native `TaskSupervisor`. It is an
|
|
20
|
+
internal trusted-host integration surface, not a new CLI command. The package root
|
|
21
|
+
exports the narrow `AgentTaskHost` adapter and its integration types, not the raw
|
|
22
|
+
supervisor. Runtime-created subagent contexts use it; bash/PTY and task UI integration are separate slices.
|
|
23
|
+
|
|
24
|
+
`AgentTaskHost` binds an actual trusted scope and mandatory `authorizeLaunch` guard.
|
|
25
|
+
Its `startAgentTask(intent, operation, runnerFactory)` returns a Result containing
|
|
26
|
+
`{taskId, lease}` after setup. Each launch supplies its own factory receiving the
|
|
27
|
+
original `AbortSignal`, reference and `reportActivity` context. Return separate
|
|
28
|
+
`result` and `cleanup` promises; yielding never replaces either promise, and only
|
|
29
|
+
confirmed cleanup may report `reaped`. Exact operation replay never calls another factory.
|
|
30
|
+
`observeAgentLaunch(taskId, policy?)` delegates to S1 initial observation; `waitForTask`,
|
|
31
|
+
`resolveTask`, `cancelTask`, `watchOwnerTasks` and `close` remain owner-scoped S1 doors.
|
|
32
|
+
Observation returns the exact Result/WaitOutcome DTO, not a new model response shape.
|
|
33
|
+
These APIs are for trusted first-party hosts, never model-supplied ownership or permission.
|
|
34
|
+
|
|
35
|
+
For already-admitted in-process tasks, the optional `taskExecution` runner hooks
|
|
36
|
+
retain the original execution and cleanup promises. An exact Intercom commit
|
|
37
|
+
yields the registered observation. In an explicit foreground group it also yields
|
|
38
|
+
active sibling observations through the existing group signal, once per child;
|
|
39
|
+
neither path detaches or completes those executions. Public launches in actual sessions use this bridge by default.
|
|
40
|
+
|
|
41
|
+
Each workflow admission boundary allocates one process-private stage attempt identity.
|
|
42
|
+
The actual stage session binds its original session/run/stage identity; fallback session
|
|
43
|
+
replacement keeps that identity and the same lazily bound `bindAgentTaskHost` owner.
|
|
44
|
+
Replacement disposal does not close tasks. Boundary sealing fences task admission and
|
|
45
|
+
starts owner closure; generation close awaits independent cleanup and surfaces failure.
|
|
46
|
+
Fresh boundaries have fresh identities, including restoration; history is not a restart
|
|
47
|
+
capability. Public producers, durable callback joins and nonvisual completion intent/admission use this owner binding.
|
|
48
|
+
|
|
49
|
+
When a task completion outbox is created from session history, it immediately retries
|
|
50
|
+
unacknowledged terminal completion intents through the current admission boundary.
|
|
51
|
+
It does not wait for another task to settle or recreate execution capabilities.
|
|
52
|
+
Acknowledged intents are not redelivered. Failed admission keeps the original completion
|
|
53
|
+
identity pending for retry; a closed boundary prevents admission.
|
|
54
|
+
Top-level session initialization restores admission keys from persisted custom messages,
|
|
55
|
+
so a crash after delivery is persisted but before its outbox acknowledgement does not
|
|
56
|
+
deliver the same completion again.
|
|
57
|
+
|
|
58
|
+
A host binds its actual session or workflow-stage scope with `bindHostSession`,
|
|
59
|
+
provides launch authorization and a runner factory, then calls `openTaskOwner`.
|
|
60
|
+
Authorization runs before native admission. `startAgentTask` registers an agent
|
|
61
|
+
task before runner setup and returns its lease without waiting for completion.
|
|
62
|
+
Exact operation replay reuses that task and execution; a fresh operation creates
|
|
63
|
+
a distinct task. Leases are environment-local capabilities, cannot be serialized,
|
|
64
|
+
and cannot be reconstructed from task IDs or historical records.
|
|
65
|
+
|
|
66
|
+
`initialObservation` applies launch policy: omitted policy yields
|
|
67
|
+
`default-background`, explicit background yields `explicit`, and foreground
|
|
68
|
+
registers a wait with its requested budget. A ready terminal result wins.
|
|
69
|
+
`await waitForTask(task, budgetMs?, designation?)` and
|
|
70
|
+
`await foregroundTask(task, budgetMs?)` return a Result containing a WaitOutcome,
|
|
71
|
+
not a lease. Native registration and the WaitId registry are populated synchronously
|
|
72
|
+
before either door awaits. Host lifecycle actions can use `findWait(waitId)` to
|
|
73
|
+
yield or dispose a registered observation; ordinary callers need no extra observe call.
|
|
74
|
+
SDK waits do not replace the host designation unless given a matching HostSession.
|
|
75
|
+
An elapsed/explicit yield or observer disposal never stops or relaunches execution;
|
|
76
|
+
a later yield of a disposed wait replays its ObserverCancelled Result.
|
|
77
|
+
|
|
78
|
+
Requested agent waits default to 30000 ms. Supply owner-host settings through
|
|
79
|
+
`bindHostSession({ scope, tasks: { wait: { kind: "automatic", agentBudgetMs: 5000 } },
|
|
80
|
+
authorizeLaunch, createRunner })`; `{ kind: "until-settled" }` disables timed yielding.
|
|
81
|
+
Per-call budgets override settings, including zero for immediate yield. These settings
|
|
82
|
+
apply to explicit foreground-first launch, live foregrounding and task-ID waits,
|
|
83
|
+
never to a default independent launch. Wide numeric budgets are not narrowed to u32.
|
|
84
|
+
Accepted `NaN` budgets (including configured `agentBudgetMs`) do not panic native
|
|
85
|
+
scheduling. The implementation leaves such observations pending until explicit yield,
|
|
86
|
+
settlement, observer disposal or owner closure: the elapsed comparison never reaches
|
|
87
|
+
`NaN`. It uses bounded sleep chunks without rewriting the caller's budget. This is
|
|
88
|
+
scheduling behavior, not a new finite-only input restriction or an RFC-mandated deadline;
|
|
89
|
+
other numeric budgets and per-call precedence are unchanged.
|
|
90
|
+
|
|
91
|
+
`await cancelTask(task, cause)` returns a Result containing a cancellation receipt
|
|
92
|
+
and preserves the first accepted cause. `closeTaskOwner` seals admission before
|
|
93
|
+
draining and succeeds only after independent cleanup acknowledgement. The trusted
|
|
94
|
+
runner supplies separate result and cleanup promises: confirmed reaping after
|
|
95
|
+
cancellation can close even if no result arrives. Natural cleanup-first delivery
|
|
96
|
+
waits for its outcome before acknowledging reaping. External native owner closure
|
|
97
|
+
also aborts resources attached to already-settled results without rewriting them.
|
|
98
|
+
Failed cleanup remains observable; absent acknowledgement can leave close pending.
|
|
99
|
+
User cancellation retains pending input attention until settlement or owner closure;
|
|
100
|
+
event-reduced and reattached snapshots report the same native facts. Runner result
|
|
101
|
+
rejections become failed `RunnerFailed` results; cleanup rejections become diagnostic
|
|
102
|
+
`CleanupFailed` resources, never successful reaping. Setup throws retain `SpawnFailed`
|
|
103
|
+
and unconfirmed cleanup. Strings and Error messages are preserved verbatim; other JS
|
|
104
|
+
values use safe string conversion, with `Unprintable JavaScript rejection` if conversion
|
|
105
|
+
throws. Cancelled cleanup still does not depend on the result promise settling.
|
|
106
|
+
This slice exercises fake runners, not force-stop or real-process cleanup guarantees.
|
|
107
|
+
|
|
108
|
+
### Supervised command SDK
|
|
109
|
+
|
|
110
|
+
`startCommandTask(owner, intent, operation)` starts an owned Unix pipe/PTY or Windows pipe/ConPTY command.
|
|
111
|
+
The command intent keeps execution timeout separate from observation: `waitForTask`
|
|
112
|
+
defaults to 10000 ms for commands, and expiry returns a yielded observation without
|
|
113
|
+
terminating the process. On Unix, owner closure sends TERM, allows 250 ms grace, then KILL,
|
|
114
|
+
reaps the leader and confirms process-group exit and reader drain. A cleanup failure
|
|
115
|
+
retains diagnostics instead of claiming a closed owner. This is normal owner/host
|
|
116
|
+
shutdown cleanup, not a guarantee for forced host death or a blocked JavaScript loop.
|
|
117
|
+
|
|
118
|
+
Both native and facade `CommandIntent` accept optional `shell: { program, args }`:
|
|
119
|
+
the executable is launched directly with `command` appended as one final argv argument.
|
|
120
|
+
Omitting `shell` preserves the default native pipe shell. `inheritEnv` defaults to
|
|
121
|
+
`true`; `false` uses exactly the supplied environment rather than inheriting the host's.
|
|
122
|
+
Both fields participate in operation replay identity.
|
|
123
|
+
|
|
124
|
+
`taskStdin(task)` returns a non-serializable stdin capability. `writeTaskInput` takes
|
|
125
|
+
an operation ID and `{kind:"bytes", bytes:Uint8Array}` or `{kind:"eof"}`. Empty bytes
|
|
126
|
+
are a no-op. Input has 65536 byte credits, refuses excess input before admission,
|
|
127
|
+
and replays recorded receipts without resending bytes. Ambiguous partial delivery
|
|
128
|
+
returns `InputDeliveryUnknown`, including operation ID and known accepted-byte count.
|
|
129
|
+
|
|
130
|
+
`readTaskOutput(task, {start, maximumBytes})` returns owned byte chunks at decimal
|
|
131
|
+
offsets, requested bounds, omitted ranges and an optional next offset. Requests
|
|
132
|
+
are clamped to the 1 MiB live-preview bound before allocating or reading a page;
|
|
133
|
+
use `nextOffset` to continue. It does not sanitize or normalize bytes. Retention
|
|
134
|
+
uses a 1 MiB live head/tail, 8 MiB foreground spill threshold and 5 GiB disk cap.
|
|
135
|
+
Retained output is not conversation history. File-spool policy uses supervised
|
|
136
|
+
pipe drains, never inherited direct file writers. Stdout, stderr and descendants
|
|
137
|
+
share one serialized disk budget; crossing writes retain only the permitted prefix.
|
|
138
|
+
The file remains within the cap during foreground collection and termination.
|
|
139
|
+
After foreground collection yields, rejected overflow kills the group and settles
|
|
140
|
+
`OutputLimitExceeded` after confirmed cleanup. Spool setup failure refuses launch
|
|
141
|
+
with `SpawnFailed`. Drained pipe/PTY output instead keeps running with bounded
|
|
142
|
+
retained bytes and omissions.
|
|
143
|
+
Unix PTY resize uses the retained portable-pty master; Windows PTY uses ConPTY.
|
|
144
|
+
Windows pipe and ConPTY commands start suspended and enter a kill-on-close Job Object
|
|
145
|
+
before resume. Failed containment refuses execution, with no unsupervised spawn fallback.
|
|
146
|
+
Cleanup must be confirmed; failures retain diagnostic resources rather than reporting reaping.
|
|
147
|
+
Native Windows legacy WSL `bash.exe` stdin transport remains refused for owned launch:
|
|
148
|
+
Windows jobs cannot supervise the Linux guest process tree. Atomic running inside WSL
|
|
149
|
+
uses the normal POSIX/Bash path instead.
|
|
150
|
+
|
|
151
|
+
Bash tools and `createLocalBashOperations` accept a trusted `taskOwner` binding.
|
|
152
|
+
On Unix and native Windows, that binding obtains pipe/PTY processes through supervised admission,
|
|
153
|
+
preserving configured shell arguments, cwd, environment and existing authorization.
|
|
154
|
+
Foreground collection honors the owner's command wait configuration, including
|
|
155
|
+
`until-settled`; the automatic default is 10000 ms. A yielded process stays owned
|
|
156
|
+
and its retained output remains readable. Bash output inserts explicit
|
|
157
|
+
`[Output omitted: bytes start-end]` markers, with an exclusive end offset, between
|
|
158
|
+
retained chunks rather than silently joining gaps. Without that binding, existing
|
|
159
|
+
bash and native PTY execution are unchanged. No UI is added.
|
|
160
|
+
|
|
161
|
+
`watchOwnerTasks(owner, cursor?)` provides an opaque `lease`, snapshot,
|
|
162
|
+
decimal-string cursor and disposable `AsyncIterable<NativeEvent>`. Each iterator
|
|
163
|
+
observes one contiguous delivery epoch. On local backlog overflow or native journal
|
|
164
|
+
reset, the subscription updates its authoritative `snapshot` and `cursor`, discards
|
|
165
|
+
stale queued deltas, and completes the old iterator (`next()` returns `done:true`,
|
|
166
|
+
including an already-pending read). This also works when an oversized final settlement
|
|
167
|
+
leaves no retained event, without later activity or cleanup. No synthetic reset event
|
|
168
|
+
is inserted and the `NativeEvent` and subscription types are unchanged.
|
|
169
|
+
|
|
170
|
+
After any iterator completion, reconcile `subscription.snapshot` at
|
|
171
|
+
`subscription.cursor`. If the owner is still live and observation is still wanted,
|
|
172
|
+
obtain another iterator from the **same** `subscription.events`; the old iterator stays
|
|
173
|
+
done. Reset does not dispose the subscription or close the owner. Subsequent deltas
|
|
174
|
+
are authentic and ordered; ignore events at or below an already-applied snapshot
|
|
175
|
+
cursor. Explicit `dispose()` (idempotent) or breaking out of a live iterator ends
|
|
176
|
+
observation, not the owner. Owner closure also ends delivery. Track your own disposal
|
|
177
|
+
when deciding whether to resume. New subscriptions are refused once owner closing
|
|
178
|
+
begins; existing subscriptions continue through cleanup/closure.
|
|
179
|
+
Calling `dispose()` from `onReconcile` also stops the active drain from publishing
|
|
180
|
+
its retained events. Pending and newly created iterators finish without those events;
|
|
181
|
+
the reconciled snapshot remains available.
|
|
182
|
+
|
|
183
|
+
The optional `subscription.onReconcile` callback is a convenience, not required for
|
|
184
|
+
correctness; callback exceptions remain visible as `subscription.failure`. Raw strings
|
|
185
|
+
and Error messages are preserved; unprintable values (including hostile conversion or
|
|
186
|
+
revoked proxies) use `Unprintable JavaScript rejection`. Diagnostic conversion cannot
|
|
187
|
+
interrupt event delivery or rearming the fallback poll. Native callbacks are wake hints;
|
|
188
|
+
journal drains and reset snapshots are authoritative. Each live subscription has one
|
|
189
|
+
fallback poll, stopped on disposal or observed closure.
|
|
190
|
+
The native byte journal and facade delivery backlog are bounded. Each task separately
|
|
191
|
+
retains its most recent 256 accepted activity report IDs, SHA-256 payload hashes and
|
|
192
|
+
receipts (`TASK_REPORT_IDENTITY_WINDOW`). Within that window, identical payloads return
|
|
193
|
+
`duplicate` with the original cursor; conflicting payloads return `ReportConflict`.
|
|
194
|
+
Neither check emits events or refreshes retention order. An evicted ID is fresh: while
|
|
195
|
+
the task is live it is `accepted`, applies its activity again and gets a new cursor;
|
|
196
|
+
existing terminal and owner-close guards still apply. Terminal outcome reports and
|
|
197
|
+
their recorded receipts are retained separately for the task record's lifetime and
|
|
198
|
+
never evicted by activity churn. This bounds identity entry count, not caller ID length,
|
|
199
|
+
task count, terminal payloads or total task-history memory. S1 adds no persistence layer.
|
|
200
|
+
|
|
201
|
+
Activity IDs have no reserved spellings, including `runner-outcome`, empty strings
|
|
202
|
+
and isolated surrogates. The facade submits its own result through private trusted
|
|
203
|
+
runner support: the actor selects a free terminal identity and accepts the outcome
|
|
204
|
+
under the same lock. With at most 256 retained activity IDs, at most 257 distinct
|
|
205
|
+
candidates suffice; selection emits no events and retains no extra ID history.
|
|
206
|
+
Caller-supplied reports still use the unchanged `reportTaskOutcome` contract:
|
|
207
|
+
same-ID cross-kind reports conflict, and terminal replay retains its original receipt.
|
|
208
|
+
The internal support also reuses an accepted terminal identity, so a different result
|
|
209
|
+
cannot replace it; cancellation-first still rejects late natural outcomes. Normal,
|
|
210
|
+
rejected and setup-failure results all use this path without bypassing cleanup evidence.
|
|
211
|
+
|
|
212
|
+
Caller-provided strings retain their exact JavaScript UTF-16 code units, including
|
|
213
|
+
isolated surrogates, valid pairs and embedded NUL, across scopes, intent, operation/report
|
|
214
|
+
identity, activity, results and nested output/cleanup metadata. They remain ordinary
|
|
215
|
+
`string` fields, not encoded wrappers. Replacing a surrogate with U+FFFD is a changed
|
|
216
|
+
payload or identity, never an exact replay. Nonempty descriptions supply the title;
|
|
217
|
+
otherwise the first nonblank task line is copied without rewriting its code units,
|
|
218
|
+
falling back to the agent name. Absent optional fields, empty strings, known zero metrics
|
|
219
|
+
and ordered duplicate data remain distinct. The optional `elapsedMs`, `toolCount` and `tokenCount` metrics and
|
|
220
|
+
completed/failed `exitCode` preserve JavaScript numbers without narrowing or normalization,
|
|
221
|
+
including fractional and extreme values. Within the retained activity window (and for
|
|
222
|
+
terminal reports throughout the task record's lifetime), exact replay distinguishes
|
|
223
|
+
omission, zero and negative zero; repeated NaN and infinite values acknowledge once.
|
|
224
|
+
Changed numeric payloads return `ReportConflict` without earning another event. `OutputRef` is
|
|
225
|
+
metadata, not proof of retained bytes: output
|
|
226
|
+
storage, `readTaskOutput`, command input, persistence, completion delivery and
|
|
227
|
+
real agent/Intercom integration belong to later slices. The credential-free
|
|
228
|
+
repository fixture `test/fixtures/task-s1-demo.ts` exercises this real facade and
|
|
229
|
+
native actor with one fake runner.
|
|
230
|
+
|
|
231
|
+
### Task transcript references
|
|
232
|
+
|
|
233
|
+
An admitted runner can call `context.bindTranscript(sessionManager)` with its existing
|
|
234
|
+
child session history. `readTaskTranscript(task, cursor?)` in `core/tasks/transcript.ts`
|
|
235
|
+
reads that binding through the task capability. It returns message and content-block
|
|
236
|
+
references, not copied text: `id`, `kind`, `source`, and `toolCallId` when applicable.
|
|
237
|
+
Kinds are `prompt`, `assistant`, `tool-call`, `tool-result`, and `response`.
|
|
238
|
+
Thinking blocks and non-conversation entries are excluded. Repeated source IDs are
|
|
239
|
+
deduplicated; repeated messages with different IDs remain distinct.
|
|
240
|
+
|
|
241
|
+
The first page contains up to 100 recent references in source order. Pass the opaque
|
|
242
|
+
`nextCursor` to read earlier references; `omittedEarlier` identifies remaining older
|
|
243
|
+
content. Cursors belong to one task and bound session. An unknown task returns
|
|
244
|
+
`UnknownTask`, a cursor from another task/session returns `ScopeMismatch`, and an
|
|
245
|
+
unbound or empty history returns `TranscriptUnavailable` with `Transcript unavailable`.
|
|
246
|
+
This adapter does not launch work or reconstruct live capabilities from history.
|
|
247
|
+
Production subagent runners bind their child history, and main and attached workflow
|
|
248
|
+
chat hosts mount the shared inspector. Command detail reads are scoped to the current
|
|
249
|
+
selection and view lifetime: late results and errors cannot overwrite another view.
|
|
250
|
+
|
|
16
251
|
## Quick Start
|
|
17
252
|
|
|
18
253
|
```typescript
|
|
@@ -161,6 +396,8 @@ interface AgentSession {
|
|
|
161
396
|
|
|
162
397
|
`compact()` serializes older context to numbered lines, asks the session model for JSON deleted ranges, validates them, and mechanically reconstructs a durable verbatim transcript string. It appends a `compaction` entry with `details.strategy: "verbatim-lines"`; the recent tail remains ordinary messages. The model never authors replacement context text.
|
|
163
398
|
|
|
399
|
+
`session.navigateTree()` rejects during streaming, compaction, or branch summarization rather than queueing the navigation. The active branch stays unchanged. Wait for the operation to finish before retrying.
|
|
400
|
+
|
|
164
401
|
Session replacement APIs such as new-session, resume, fork, and import live on `AgentSessionRuntime`, not on `AgentSession`.
|
|
165
402
|
|
|
166
403
|
### createAgentSessionRuntime() and AgentSessionRuntime
|
|
@@ -599,6 +836,13 @@ Atomic's built-in `bash` tool matches upstream pi: when `bash` is enabled, comma
|
|
|
599
836
|
|
|
600
837
|
`createPowerShellTool()` and `createPowerShellToolDefinition()` provide the same tool used by interactive sessions. When their default local operations execute on native Windows, they prefer `pwsh.exe`, fall back to `powershell.exe`, and throw a clear error when neither executable is available. `createLocalPowerShellOperations()` and `getPowerShellConfig()` are also exported for custom integrations. The PowerShell factories expose the current `ATOMIC_*` and legacy `PI_*` session snapshot by default; set `exposeSessionEnvironment: false` to opt out.
|
|
601
838
|
|
|
839
|
+
PowerShell tools and local operations accept a trusted `taskOwner` binding and the same
|
|
840
|
+
`wait` observation policy as bash. Owned native Windows execution automatically yields
|
|
841
|
+
after the owner's command budget (normally 10000 ms); explicit per-call budgets override it,
|
|
842
|
+
and execution timeout remains separate. Commands use encoded PowerShell transport internally,
|
|
843
|
+
while task descriptions retain the original command text. Without a supported owner,
|
|
844
|
+
explicit background requests are refused and foreground execution waits for completion.
|
|
845
|
+
|
|
602
846
|
```typescript
|
|
603
847
|
import { createPowerShellTool } from "@bastani/atomic";
|
|
604
848
|
|
package/docs/settings.md
CHANGED
|
@@ -9,10 +9,14 @@ Atomic uses JSON settings files with project settings overriding global settings
|
|
|
9
9
|
|
|
10
10
|
Edit directly or use `/settings` for common options. Choosing a model or thinking level with `/model`, `/thinking`, or their cycling shortcuts automatically saves it as the startup default. Thinking choices also update the active model's saved thinking level. `/scoped-models` saves cycle-list changes automatically. SDK calls, session restoration, and automatic fallbacks do not overwrite these defaults unless persistence is explicitly requested. Atomic also reads legacy `~/.pi/agent/settings.json` and `.pi/settings.json` as compatibility fallbacks, with `.atomic` paths taking precedence.
|
|
11
11
|
|
|
12
|
+
Saving an Atomic setting applies only the changed fields to the corresponding `.atomic` file; it does not copy untouched fallback fields out of `.pi`. To intentionally override an inherited array such as `packages`, set it in `.atomic`, including an explicit empty array (`"packages": []`) when the inherited list should be disabled.
|
|
13
|
+
|
|
12
14
|
## Project Trust
|
|
13
15
|
|
|
14
16
|
On interactive startup, Atomic asks before trusting a project folder that contains trust-gated project inputs and has no saved decision for the folder or a parent folder in `~/.atomic/agent/trust.json`. Trusting a project allows Atomic to load project-local `.atomic/settings.json` and `.atomic` resources, legacy `.pi/settings.json` and `.pi` resources, project-local context files, install missing project packages, and execute project extensions.
|
|
15
17
|
|
|
18
|
+
Before a startup trust dialog opens, Atomic binds permitted user/global and explicitly authorized CLI extensions to a trust-safe session. Their existing `ui_prompt_start` / `ui_prompt_end` handlers can observe the wait with a live session context. Project resources and borrowed project-local code remain blocked until authorized. Approval finishes startup in the same session without reloading those reporters; isolated interactive sessions ask through the engine's RPC-backed host UI. This requires no model request.
|
|
19
|
+
|
|
16
20
|
Non-interactive modes (`-p`, `--mode json`, and `--mode rpc`) do not show a trust prompt. Without an applicable saved trust decision, they use `defaultProjectTrust` from global settings: `ask` (default) and `never` ignore trust-gated project inputs, while `always` trusts them. Pass `--approve`/`-a` or `--no-approve`/`-na` to override project trust for one run.
|
|
17
21
|
|
|
18
22
|
If no extension or saved decision applies, `defaultProjectTrust` controls the fallback behavior. Set it to `"ask"`, `"always"`, or `"never"` in `~/.atomic/agent/settings.json`, or change it with `/settings`.
|
|
@@ -21,12 +25,20 @@ If no extension or saved decision applies, `defaultProjectTrust` controls the fa
|
|
|
21
25
|
|
|
22
26
|
Use `/trust` in interactive mode to save a project trust decision for future sessions, including trust for the immediate parent folder. It writes `~/.atomic/agent/trust.json` only; the current session is not reloaded, so restart Atomic for changes to take effect.
|
|
23
27
|
|
|
24
|
-
If a bare directory starts without trust-gated inputs, Atomic may run the interactive session as implicitly trusted. Inert state directories such as `.atomic/todos/` and `.atomic/sessions/` do not require trust and do not disable deferred resource startup. On the normal interactive TTY fast path, Atomic paints the shell and makes the input editor responsive before scanning bundled extension packages, skills, prompts, themes, context files, and system-prompt files. After the input handler is ready, Atomic starts extension/resource loading in the background. If the first submitted prompt arrives before that loading settles, Atomic keeps the prompt spinner visible and waits at the readiness gate before calling the model so extension tools, prompt templates, skills, resources, and extension-registered provider updates are available on that first turn. Deferred loading uses async discovery and cooperative yields around resource-loading work, so visible typing, Enter, Ctrl+C, rendering, and the normal prompt spinner remain responsive while the background work finishes. Startup does not show a resource-loading spinner before the user submits a prompt. Explicit provider/model selection, explicit resource flags, system-prompt inputs, metadata commands, non-TTY modes
|
|
28
|
+
If a bare directory starts without trust-gated inputs, Atomic may run the interactive session as implicitly trusted. Inert state directories such as `.atomic/todos/` and `.atomic/sessions/` do not require trust and do not disable deferred resource startup. On the normal interactive TTY fast path, Atomic paints the shell and makes the input editor responsive before scanning bundled extension packages, skills, prompts, themes, context files, and system-prompt files. After the input handler is ready, Atomic starts extension/resource loading in the background. If the first submitted prompt arrives before that loading settles, Atomic keeps the prompt spinner visible and waits at the readiness gate before calling the model so extension tools, prompt templates, skills, resources, and extension-registered provider updates are available on that first turn. Deferred loading uses async discovery and cooperative yields around resource-loading work, so visible typing, Enter, Ctrl+C, rendering, and the normal prompt spinner remain responsive while the background work finishes. Startup does not show a resource-loading spinner before the user submits a prompt. Explicit provider/model selection, explicit resource flags, system-prompt inputs, metadata commands, and non-TTY modes normally use eager resource loading; interactive trust authorization instead uses the trust-safe session described above before completing approved resources and model selection. When resources finish loading, Atomic shows the normal resources disclosure so newly added skills, prompts, themes, and extensions are visible. If trust-requiring config appears later, Atomic prompts again on the next launch until you explicitly save a persistent trust decision; the only automatic persistence of implicit startup trust is the existing `/reload` flow after reload discovers trust-requiring resources in an already-trusted session.
|
|
25
29
|
|
|
26
30
|
Settings and trust JSON files may start with a UTF-8 BOM, as commonly written by older Windows tools; Atomic strips that leading marker before parsing.
|
|
27
31
|
|
|
28
32
|
## All Settings
|
|
29
33
|
|
|
34
|
+
### Herdr
|
|
35
|
+
|
|
36
|
+
| Setting | Type | Default | Description |
|
|
37
|
+
|---------|------|---------|-------------|
|
|
38
|
+
| `herdr.enabled` | boolean | `true` | Enable the built-in reporter in an eligible Herdr pane. Set to `false`, then reload or restart to opt out. Requires `mode: "tui"`, a UI, and the Herdr environment variables. Child sessions and other modes never claim. |
|
|
39
|
+
|
|
40
|
+
See [Herdr](/herdr) for state aggregation, reporter conflicts, privacy, and Herdr 0.8.2 limitations.
|
|
41
|
+
|
|
30
42
|
### Model & Thinking
|
|
31
43
|
|
|
32
44
|
| Setting | Type | Default | Description |
|
|
@@ -294,8 +306,8 @@ When `images.autoResize` is enabled, Atomic normalizes images before sending the
|
|
|
294
306
|
|
|
295
307
|
| Setting | Type | Default | Description |
|
|
296
308
|
|---------|------|---------|-------------|
|
|
297
|
-
| `shellPath` | string | - | Custom
|
|
298
|
-
| `shellCommandPrefix` | string | - | Prefix for
|
|
309
|
+
| `shellPath` | string | - | Custom Bash path (e.g., for Cygwin on Windows); does not select the PowerShell used by native Windows `!`/`!!` or the interactive subshell |
|
|
310
|
+
| `shellCommandPrefix` | string | - | Prefix for shell commands, including `!`/`!!`; use PowerShell syntax for native Windows interactive commands and Bash syntax elsewhere (e.g., `"shopt -s expand_aliases"`) |
|
|
299
311
|
| `bashInterceptor.enabled` | boolean | `false` | When true, block shell commands that have dedicated tools and offer remaining `bash` tool calls to `user_bash` extension handlers before local execution. Also available in `/settings` as **Bash Interceptor**. |
|
|
300
312
|
| `search.contextBefore` | number | `1` | Number of context lines before each `search` match. |
|
|
301
313
|
| `search.contextAfter` | number | `3` | Number of context lines after each `search` match. |
|