@qduc/term2 0.21.0 → 0.22.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/agent.d.ts +2 -0
- package/dist/agent.d.ts.map +1 -1
- package/dist/agent.js +32 -10
- package/dist/agent.js.map +1 -1
- package/dist/app.d.ts.map +1 -1
- package/dist/app.js +83 -6
- package/dist/app.js.map +1 -1
- package/dist/cli.js +84 -2
- package/dist/cli.js.map +1 -1
- package/dist/components/InputBox.js +2 -3
- package/dist/components/InputBox.js.map +1 -1
- package/dist/components/common/MenuContainer.d.ts +5 -0
- package/dist/components/common/MenuContainer.d.ts.map +1 -1
- package/dist/components/common/MenuContainer.js +13 -3
- package/dist/components/common/MenuContainer.js.map +1 -1
- package/dist/components/input/MenuSurface.d.ts.map +1 -1
- package/dist/components/input/MenuSurface.js +12 -2
- package/dist/components/input/MenuSurface.js.map +1 -1
- package/dist/components/input/ModelMenuSession.d.ts.map +1 -1
- package/dist/components/input/ModelMenuSession.js +67 -16
- package/dist/components/input/ModelMenuSession.js.map +1 -1
- package/dist/components/input/SettingsMenuSession.d.ts.map +1 -1
- package/dist/components/input/SettingsMenuSession.js +56 -17
- package/dist/components/input/SettingsMenuSession.js.map +1 -1
- package/dist/components/input/SettingsValueMenuSession.d.ts.map +1 -1
- package/dist/components/input/SettingsValueMenuSession.js +33 -3
- package/dist/components/input/SettingsValueMenuSession.js.map +1 -1
- package/dist/components/input/menu-types.d.ts +1 -1
- package/dist/components/input/menu-types.d.ts.map +1 -1
- package/dist/components/input/triggers.js +2 -2
- package/dist/components/input/triggers.js.map +1 -1
- package/dist/components/layout/BackgroundTasksPanel.d.ts +0 -1
- package/dist/components/layout/BackgroundTasksPanel.d.ts.map +1 -1
- package/dist/components/layout/BackgroundTasksPanel.js +4 -112
- package/dist/components/layout/BackgroundTasksPanel.js.map +1 -1
- package/dist/components/menu/ModelSelectionMenu.d.ts +10 -0
- package/dist/components/menu/ModelSelectionMenu.d.ts.map +1 -1
- package/dist/components/menu/ModelSelectionMenu.js +85 -16
- package/dist/components/menu/ModelSelectionMenu.js.map +1 -1
- package/dist/components/menu/ProfileSelectionMenu.d.ts.map +1 -1
- package/dist/components/menu/ProfileSelectionMenu.js +5 -4
- package/dist/components/menu/ProfileSelectionMenu.js.map +1 -1
- package/dist/components/menu/ResumeSelectionMenu.d.ts.map +1 -1
- package/dist/components/menu/ResumeSelectionMenu.js +3 -5
- package/dist/components/menu/ResumeSelectionMenu.js.map +1 -1
- package/dist/components/menu/SettingsSelectionMenu.d.ts.map +1 -1
- package/dist/components/menu/SettingsSelectionMenu.js +4 -32
- package/dist/components/menu/SettingsSelectionMenu.js.map +1 -1
- package/dist/components/menu/SettingsValueSelectionMenu.d.ts.map +1 -1
- package/dist/components/menu/SettingsValueSelectionMenu.js +12 -5
- package/dist/components/menu/SettingsValueSelectionMenu.js.map +1 -1
- package/dist/components/menu/SkillSelectionMenu.d.ts.map +1 -1
- package/dist/components/menu/SkillSelectionMenu.js +3 -6
- package/dist/components/menu/SkillSelectionMenu.js.map +1 -1
- package/dist/components/menu/SlashCommandMenu.d.ts +8 -0
- package/dist/components/menu/SlashCommandMenu.d.ts.map +1 -1
- package/dist/components/menu/SlashCommandMenu.js +16 -6
- package/dist/components/menu/SlashCommandMenu.js.map +1 -1
- package/dist/components/menu/StandaloneModelPickerApp.d.ts +40 -0
- package/dist/components/menu/StandaloneModelPickerApp.d.ts.map +1 -0
- package/dist/components/menu/StandaloneModelPickerApp.js +106 -0
- package/dist/components/menu/StandaloneModelPickerApp.js.map +1 -0
- package/dist/components/menu/settings-value-formatter.d.ts +11 -0
- package/dist/components/menu/settings-value-formatter.d.ts.map +1 -0
- package/dist/components/menu/settings-value-formatter.js +214 -0
- package/dist/components/menu/settings-value-formatter.js.map +1 -0
- package/dist/components/message/CommandMessage.d.ts.map +1 -1
- package/dist/components/message/CommandMessage.js +22 -17
- package/dist/components/message/CommandMessage.js.map +1 -1
- package/dist/components/message/MessageList.d.ts.map +1 -1
- package/dist/components/message/MessageList.js +13 -2
- package/dist/components/message/MessageList.js.map +1 -1
- package/dist/components/message/RunCodeRenderer.d.ts +16 -0
- package/dist/components/message/RunCodeRenderer.d.ts.map +1 -0
- package/dist/components/message/RunCodeRenderer.js +25 -0
- package/dist/components/message/RunCodeRenderer.js.map +1 -0
- package/dist/components/message/command-message-helpers.d.ts +30 -0
- package/dist/components/message/command-message-helpers.d.ts.map +1 -1
- package/dist/components/message/command-message-helpers.js +85 -0
- package/dist/components/message/command-message-helpers.js.map +1 -1
- package/dist/components/prompt/ApprovalPrompt.d.ts.map +1 -1
- package/dist/components/prompt/ApprovalPrompt.js +12 -21
- package/dist/components/prompt/ApprovalPrompt.js.map +1 -1
- package/dist/components/theme.d.ts +1 -0
- package/dist/components/theme.d.ts.map +1 -1
- package/dist/components/theme.js +1 -0
- package/dist/components/theme.js.map +1 -1
- package/dist/contracts/streamed-model-turn.d.ts +6 -0
- package/dist/contracts/streamed-model-turn.d.ts.map +1 -1
- package/dist/hooks/conversation-ui-reducer.d.ts.map +1 -1
- package/dist/hooks/conversation-ui-reducer.js +5 -2
- package/dist/hooks/conversation-ui-reducer.js.map +1 -1
- package/dist/hooks/settings-completion-config.d.ts +1 -1
- package/dist/hooks/settings-completion-config.d.ts.map +1 -1
- package/dist/hooks/settings-completion-config.js +4 -122
- package/dist/hooks/settings-completion-config.js.map +1 -1
- package/dist/hooks/settings-completion-logic.d.ts +1 -1
- package/dist/hooks/settings-completion-logic.d.ts.map +1 -1
- package/dist/hooks/settings-completion-logic.js.map +1 -1
- package/dist/hooks/use-app-keyboard-shortcuts.d.ts.map +1 -1
- package/dist/hooks/use-app-keyboard-shortcuts.js +33 -20
- package/dist/hooks/use-app-keyboard-shortcuts.js.map +1 -1
- package/dist/hooks/use-conversation.d.ts +3 -0
- package/dist/hooks/use-conversation.d.ts.map +1 -1
- package/dist/hooks/use-conversation.js +107 -16
- package/dist/hooks/use-conversation.js.map +1 -1
- package/dist/hooks/use-model-selection.d.ts +33 -4
- package/dist/hooks/use-model-selection.d.ts.map +1 -1
- package/dist/hooks/use-model-selection.js +204 -114
- package/dist/hooks/use-model-selection.js.map +1 -1
- package/dist/hooks/use-settings-completion.d.ts.map +1 -1
- package/dist/hooks/use-settings-completion.js +1 -6
- package/dist/hooks/use-settings-completion.js.map +1 -1
- package/dist/hooks/use-settings-value-completion.d.ts +1 -8
- package/dist/hooks/use-settings-value-completion.d.ts.map +1 -1
- package/dist/hooks/use-settings-value-completion.js +10 -100
- package/dist/hooks/use-settings-value-completion.js.map +1 -1
- package/dist/hooks/use-standalone-model-picker.d.ts +64 -0
- package/dist/hooks/use-standalone-model-picker.d.ts.map +1 -0
- package/dist/hooks/use-standalone-model-picker.js +310 -0
- package/dist/hooks/use-standalone-model-picker.js.map +1 -0
- package/dist/lib/agent-client.d.ts +17 -1
- package/dist/lib/agent-client.d.ts.map +1 -1
- package/dist/lib/agent-client.js +173 -53
- package/dist/lib/agent-client.js.map +1 -1
- package/dist/lib/agent-configuration.d.ts +12 -3
- package/dist/lib/agent-configuration.d.ts.map +1 -1
- package/dist/lib/agent-configuration.js +26 -7
- package/dist/lib/agent-configuration.js.map +1 -1
- package/dist/lib/agent-factory.d.ts +3 -0
- package/dist/lib/agent-factory.d.ts.map +1 -1
- package/dist/lib/agent-factory.js +49 -7
- package/dist/lib/agent-factory.js.map +1 -1
- package/dist/lib/ask-user-answer-store.d.ts +1 -0
- package/dist/lib/ask-user-answer-store.d.ts.map +1 -1
- package/dist/lib/ask-user-answer-store.js +3 -0
- package/dist/lib/ask-user-answer-store.js.map +1 -1
- package/dist/lib/tool-invoke.d.ts +1 -0
- package/dist/lib/tool-invoke.d.ts.map +1 -1
- package/dist/lib/tool-invoke.js +1 -0
- package/dist/lib/tool-invoke.js.map +1 -1
- package/dist/non-interactive.d.ts +23 -0
- package/dist/non-interactive.d.ts.map +1 -1
- package/dist/non-interactive.js +225 -31
- package/dist/non-interactive.js.map +1 -1
- package/dist/prompts/background-shell.d.ts.map +1 -1
- package/dist/prompts/background-shell.js +4 -2
- package/dist/prompts/background-shell.js.map +1 -1
- package/dist/prompts/background-shell.ts +4 -2
- package/dist/prompts/codex.md +1 -3
- package/dist/prompts/fragments/gpt-6-astra.md +13 -0
- package/dist/prompts/gpt-5-modern.md +1 -3
- package/dist/prompts/gpt-5.4-mini.md +0 -2
- package/dist/prompts/gpt-5.5.md +0 -2
- package/dist/prompts/gpt-5.6.md +0 -1
- package/dist/prompts/lite.md +1 -6
- package/dist/prompts/memory.md +2 -2
- package/dist/prompts/orchestrator.md +4 -4
- package/dist/prompts/prompt-constructor.d.ts +2 -0
- package/dist/prompts/prompt-constructor.d.ts.map +1 -1
- package/dist/prompts/prompt-constructor.js +4 -2
- package/dist/prompts/prompt-constructor.js.map +1 -1
- package/dist/prompts/prompt-constructor.test.ts +178 -5
- package/dist/prompts/prompt-constructor.ts +7 -1
- package/dist/prompts/prompt-profiles.d.ts.map +1 -1
- package/dist/prompts/prompt-profiles.js +6 -0
- package/dist/prompts/prompt-profiles.js.map +1 -1
- package/dist/prompts/prompt-profiles.test.ts +6 -4
- package/dist/prompts/prompt-profiles.ts +6 -0
- package/dist/prompts/session-browser.md +4 -2
- package/dist/prompts/shell-auto-approval.d.ts +1 -1
- package/dist/prompts/shell-auto-approval.d.ts.map +1 -1
- package/dist/prompts/shell-auto-approval.js +2 -2
- package/dist/prompts/shell-auto-approval.ts +2 -2
- package/dist/prompts/subagent-delegation.js +3 -3
- package/dist/prompts/subagent-delegation.js.map +1 -1
- package/dist/prompts/subagent-delegation.test.ts +3 -3
- package/dist/prompts/subagent-delegation.ts +3 -3
- package/dist/prompts/subagents/librarian.md +4 -4
- package/dist/prompts/subagents/worker-prompt.test.ts +7 -0
- package/dist/prompts/tool-surface-guidance.d.ts +4 -0
- package/dist/prompts/tool-surface-guidance.d.ts.map +1 -0
- package/dist/prompts/tool-surface-guidance.js +19 -0
- package/dist/prompts/tool-surface-guidance.js.map +1 -0
- package/dist/prompts/tool-surface-guidance.ts +20 -0
- package/dist/providers/codex-compact.d.ts +2 -0
- package/dist/providers/codex-compact.d.ts.map +1 -1
- package/dist/providers/codex-compact.js +14 -0
- package/dist/providers/codex-compact.js.map +1 -1
- package/dist/providers/codex-responses-model.d.ts +23 -3
- package/dist/providers/codex-responses-model.d.ts.map +1 -1
- package/dist/providers/codex-responses-model.js +121 -33
- package/dist/providers/codex-responses-model.js.map +1 -1
- package/dist/providers/codex.provider.d.ts +2 -0
- package/dist/providers/codex.provider.d.ts.map +1 -1
- package/dist/providers/codex.provider.js +3 -2
- package/dist/providers/codex.provider.js.map +1 -1
- package/dist/providers/grok.provider.d.ts.map +1 -1
- package/dist/providers/grok.provider.js +5 -2
- package/dist/providers/grok.provider.js.map +1 -1
- package/dist/providers/model-catalog/catalog.generated.d.ts +453 -309
- package/dist/providers/model-catalog/catalog.generated.d.ts.map +1 -1
- package/dist/providers/model-catalog/catalog.generated.js +453 -309
- package/dist/providers/model-catalog/catalog.generated.js.map +1 -1
- package/dist/providers/opencode-session.d.ts.map +1 -1
- package/dist/providers/opencode-session.js +5 -0
- package/dist/providers/opencode-session.js.map +1 -1
- package/dist/providers/openrouter.provider.js +8 -1
- package/dist/providers/openrouter.provider.js.map +1 -1
- package/dist/providers/responses-websocket-sessions.d.ts +10 -0
- package/dist/providers/responses-websocket-sessions.d.ts.map +1 -1
- package/dist/providers/responses-websocket-sessions.js +9 -4
- package/dist/providers/responses-websocket-sessions.js.map +1 -1
- package/dist/providers/retrying-model.d.ts +2 -1
- package/dist/providers/retrying-model.d.ts.map +1 -1
- package/dist/providers/retrying-model.js +3 -0
- package/dist/providers/retrying-model.js.map +1 -1
- package/dist/services/agent-runtime/application-run-loop.d.ts +8 -1
- package/dist/services/agent-runtime/application-run-loop.d.ts.map +1 -1
- package/dist/services/agent-runtime/application-run-loop.js +30 -6
- package/dist/services/agent-runtime/application-run-loop.js.map +1 -1
- package/dist/services/agent-runtime/context-compaction/index.d.ts +2 -0
- package/dist/services/agent-runtime/context-compaction/index.d.ts.map +1 -1
- package/dist/services/agent-runtime/context-compaction/index.js +30 -4
- package/dist/services/agent-runtime/context-compaction/index.js.map +1 -1
- package/dist/services/agent-runtime/context-compaction/local-context-compactor.d.ts +3 -0
- package/dist/services/agent-runtime/context-compaction/local-context-compactor.d.ts.map +1 -1
- package/dist/services/agent-runtime/context-compaction/local-context-compactor.js +15 -9
- package/dist/services/agent-runtime/context-compaction/local-context-compactor.js.map +1 -1
- package/dist/services/agent-runtime/tool-invocation-context.d.ts +12 -0
- package/dist/services/agent-runtime/tool-invocation-context.d.ts.map +1 -1
- package/dist/services/agent-runtime/workflow/workflow-evaluator.d.ts +7 -1
- package/dist/services/agent-runtime/workflow/workflow-evaluator.d.ts.map +1 -1
- package/dist/services/agent-runtime/workflow/workflow-evaluator.js +78 -183
- package/dist/services/agent-runtime/workflow/workflow-evaluator.js.map +1 -1
- package/dist/services/agent-runtime/workflow/workflow-sandbox.d.ts +4 -3
- package/dist/services/agent-runtime/workflow/workflow-sandbox.d.ts.map +1 -1
- package/dist/services/agent-runtime/workflow/workflow-sandbox.js +9 -7
- package/dist/services/agent-runtime/workflow/workflow-sandbox.js.map +1 -1
- package/dist/services/agent-runtime/workflow/workflow-types.d.ts +1 -1
- package/dist/services/agent-runtime/workflow/workflow-types.d.ts.map +1 -1
- package/dist/services/agent-runtime/workflow/workflow-types.js.map +1 -1
- package/dist/services/approval/approval-decision-executor.d.ts +2 -1
- package/dist/services/approval/approval-decision-executor.d.ts.map +1 -1
- package/dist/services/approval/approval-decision-executor.js +22 -116
- package/dist/services/approval/approval-decision-executor.js.map +1 -1
- package/dist/services/approval/approval-descriptor.d.ts +10 -0
- package/dist/services/approval/approval-descriptor.d.ts.map +1 -0
- package/dist/services/approval/approval-descriptor.js +23 -0
- package/dist/services/approval/approval-descriptor.js.map +1 -0
- package/dist/services/approval/approval-flow-coordinator.d.ts +2 -1
- package/dist/services/approval/approval-flow-coordinator.d.ts.map +1 -1
- package/dist/services/approval/approval-flow-coordinator.js +2 -1
- package/dist/services/approval/approval-flow-coordinator.js.map +1 -1
- package/dist/services/approval/approval-grant-executor.d.ts +25 -0
- package/dist/services/approval/approval-grant-executor.d.ts.map +1 -0
- package/dist/services/approval/approval-grant-executor.js +125 -0
- package/dist/services/approval/approval-grant-executor.js.map +1 -0
- package/dist/services/approval/background-subagent-approval-controller.d.ts +2 -1
- package/dist/services/approval/background-subagent-approval-controller.d.ts.map +1 -1
- package/dist/services/approval/background-subagent-approval-controller.js.map +1 -1
- package/dist/services/approval/nested-approval-owner.d.ts +52 -0
- package/dist/services/approval/nested-approval-owner.d.ts.map +1 -0
- package/dist/services/approval/nested-approval-owner.js +194 -0
- package/dist/services/approval/nested-approval-owner.js.map +1 -0
- package/dist/services/approval/non-interactive-approval-policy.js +1 -1
- package/dist/services/approval/non-interactive-approval-policy.js.map +1 -1
- package/dist/services/approval/shell-auto-approval-evaluator.d.ts.map +1 -1
- package/dist/services/approval/shell-auto-approval-evaluator.js +2 -4
- package/dist/services/approval/shell-auto-approval-evaluator.js.map +1 -1
- package/dist/services/approval/shell-auto-approval-resolver.d.ts.map +1 -1
- package/dist/services/approval/shell-auto-approval-resolver.js +4 -0
- package/dist/services/approval/shell-auto-approval-resolver.js.map +1 -1
- package/dist/services/approval/tool-approval-batch-coordinator.d.ts +10 -3
- package/dist/services/approval/tool-approval-batch-coordinator.d.ts.map +1 -1
- package/dist/services/approval/tool-approval-batch-coordinator.js +16 -5
- package/dist/services/approval/tool-approval-batch-coordinator.js.map +1 -1
- package/dist/services/approval/tool-approval-policy-registry.d.ts +13 -0
- package/dist/services/approval/tool-approval-policy-registry.d.ts.map +1 -1
- package/dist/services/approval/tool-approval-policy-registry.js +16 -1
- package/dist/services/approval/tool-approval-policy-registry.js.map +1 -1
- package/dist/services/conversation/conversation-adapter-factory.d.ts +3 -1
- package/dist/services/conversation/conversation-adapter-factory.d.ts.map +1 -1
- package/dist/services/conversation/conversation-adapter-factory.js +3 -3
- package/dist/services/conversation/conversation-adapter-factory.js.map +1 -1
- package/dist/services/conversation/conversation-adapter.d.ts +3 -2
- package/dist/services/conversation/conversation-adapter.d.ts.map +1 -1
- package/dist/services/conversation/conversation-adapter.js +32 -23
- package/dist/services/conversation/conversation-adapter.js.map +1 -1
- package/dist/services/conversation/conversation-orchestrator.d.ts +11 -0
- package/dist/services/conversation/conversation-orchestrator.d.ts.map +1 -1
- package/dist/services/conversation/conversation-orchestrator.js +65 -42
- package/dist/services/conversation/conversation-orchestrator.js.map +1 -1
- package/dist/services/conversation/conversation-persistence.d.ts +6 -1
- package/dist/services/conversation/conversation-persistence.d.ts.map +1 -1
- package/dist/services/conversation/conversation-persistence.js +68 -19
- package/dist/services/conversation/conversation-persistence.js.map +1 -1
- package/dist/services/conversation/conversation-result-builder.d.ts +3 -0
- package/dist/services/conversation/conversation-result-builder.d.ts.map +1 -1
- package/dist/services/conversation/conversation-result-builder.js +27 -23
- package/dist/services/conversation/conversation-result-builder.js.map +1 -1
- package/dist/services/conversation/conversation-runtime-factory.d.ts +5 -0
- package/dist/services/conversation/conversation-runtime-factory.d.ts.map +1 -1
- package/dist/services/conversation/conversation-runtime-factory.js +1 -0
- package/dist/services/conversation/conversation-runtime-factory.js.map +1 -1
- package/dist/services/conversation/conversation-service.d.ts +11 -1
- package/dist/services/conversation/conversation-service.d.ts.map +1 -1
- package/dist/services/conversation/conversation-service.js +68 -17
- package/dist/services/conversation/conversation-service.js.map +1 -1
- package/dist/services/conversation/session-browser.d.ts +34 -27
- package/dist/services/conversation/session-browser.d.ts.map +1 -1
- package/dist/services/conversation/session-browser.js +221 -60
- package/dist/services/conversation/session-browser.js.map +1 -1
- package/dist/services/conversation/session-index/session-index-database.d.ts +138 -0
- package/dist/services/conversation/session-index/session-index-database.d.ts.map +1 -0
- package/dist/services/conversation/session-index/session-index-database.js +684 -0
- package/dist/services/conversation/session-index/session-index-database.js.map +1 -0
- package/dist/services/conversation/session-index/session-index-schema.d.ts +35 -0
- package/dist/services/conversation/session-index/session-index-schema.d.ts.map +1 -0
- package/dist/services/conversation/session-index/session-index-schema.js +156 -0
- package/dist/services/conversation/session-index/session-index-schema.js.map +1 -0
- package/dist/services/conversation/session-index/session-index-service.d.ts +30 -0
- package/dist/services/conversation/session-index/session-index-service.d.ts.map +1 -0
- package/dist/services/conversation/session-index/session-index-service.js +234 -0
- package/dist/services/conversation/session-index/session-index-service.js.map +1 -0
- package/dist/services/conversation/session-index/session-index-worker-client.d.ts +36 -0
- package/dist/services/conversation/session-index/session-index-worker-client.d.ts.map +1 -0
- package/dist/services/conversation/session-index/session-index-worker-client.js +143 -0
- package/dist/services/conversation/session-index/session-index-worker-client.js.map +1 -0
- package/dist/services/conversation/session-index/session-index-worker.d.ts +56 -0
- package/dist/services/conversation/session-index/session-index-worker.d.ts.map +1 -0
- package/dist/services/conversation/session-index/session-index-worker.js +96 -0
- package/dist/services/conversation/session-index/session-index-worker.js.map +1 -0
- package/dist/services/conversation/session-search-helpers.d.ts +4 -0
- package/dist/services/conversation/session-search-helpers.d.ts.map +1 -0
- package/dist/services/conversation/session-search-helpers.js +13 -0
- package/dist/services/conversation/session-search-helpers.js.map +1 -0
- package/dist/services/conversation-agent-client.d.ts +8 -0
- package/dist/services/conversation-agent-client.d.ts.map +1 -1
- package/dist/services/execution-context.js +2 -2
- package/dist/services/execution-context.js.map +1 -1
- package/dist/services/hooks/hook-event-factory.d.ts +2 -1
- package/dist/services/hooks/hook-event-factory.d.ts.map +1 -1
- package/dist/services/hooks/hook-event-factory.js +2 -1
- package/dist/services/hooks/hook-event-factory.js.map +1 -1
- package/dist/services/logging/conversation-log-writer.d.ts.map +1 -1
- package/dist/services/logging/conversation-log-writer.js +50 -26
- package/dist/services/logging/conversation-log-writer.js.map +1 -1
- package/dist/services/logging/logging-service.d.ts.map +1 -1
- package/dist/services/logging/logging-service.js +1 -0
- package/dist/services/logging/logging-service.js.map +1 -1
- package/dist/services/logging/provider-traffic.d.ts +22 -2
- package/dist/services/logging/provider-traffic.d.ts.map +1 -1
- package/dist/services/logging/provider-traffic.js +147 -12
- package/dist/services/logging/provider-traffic.js.map +1 -1
- package/dist/services/model-service.d.ts +42 -0
- package/dist/services/model-service.d.ts.map +1 -1
- package/dist/services/model-service.js +161 -26
- package/dist/services/model-service.js.map +1 -1
- package/dist/services/models/model-catalog-session.d.ts.map +1 -1
- package/dist/services/models/model-catalog-session.js +11 -7
- package/dist/services/models/model-catalog-session.js.map +1 -1
- package/dist/services/models/model-favorites.d.ts +56 -0
- package/dist/services/models/model-favorites.d.ts.map +1 -0
- package/dist/services/models/model-favorites.js +93 -0
- package/dist/services/models/model-favorites.js.map +1 -0
- package/dist/services/models/model-listing.d.ts +40 -0
- package/dist/services/models/model-listing.d.ts.map +1 -1
- package/dist/services/models/model-listing.js +35 -2
- package/dist/services/models/model-listing.js.map +1 -1
- package/dist/services/models/model-nicknames.d.ts +113 -0
- package/dist/services/models/model-nicknames.d.ts.map +1 -0
- package/dist/services/models/model-nicknames.js +182 -0
- package/dist/services/models/model-nicknames.js.map +1 -0
- package/dist/services/models/model-picker-host.d.ts +72 -0
- package/dist/services/models/model-picker-host.d.ts.map +1 -0
- package/dist/services/models/model-picker-host.js +83 -0
- package/dist/services/models/model-picker-host.js.map +1 -0
- package/dist/services/models/model-resolution.d.ts +35 -3
- package/dist/services/models/model-resolution.d.ts.map +1 -1
- package/dist/services/models/model-resolution.js +276 -47
- package/dist/services/models/model-resolution.js.map +1 -1
- package/dist/services/models/reasoning-effort.d.ts +20 -0
- package/dist/services/models/reasoning-effort.d.ts.map +1 -0
- package/dist/services/models/reasoning-effort.js +28 -0
- package/dist/services/models/reasoning-effort.js.map +1 -0
- package/dist/services/models/unified-model-catalog.d.ts +4 -0
- package/dist/services/models/unified-model-catalog.d.ts.map +1 -0
- package/dist/services/models/unified-model-catalog.js +54 -0
- package/dist/services/models/unified-model-catalog.js.map +1 -0
- package/dist/services/retry/provider-failure-classification.d.ts +16 -0
- package/dist/services/retry/provider-failure-classification.d.ts.map +1 -1
- package/dist/services/retry/provider-failure-classification.js +45 -0
- package/dist/services/retry/provider-failure-classification.js.map +1 -1
- package/dist/services/retry/retry-recovery-budget.d.ts +26 -1
- package/dist/services/retry/retry-recovery-budget.d.ts.map +1 -1
- package/dist/services/retry/retry-recovery-budget.js +33 -1
- package/dist/services/retry/retry-recovery-budget.js.map +1 -1
- package/dist/services/sandboxed-code-host/host-types.d.ts +135 -0
- package/dist/services/sandboxed-code-host/host-types.d.ts.map +1 -0
- package/dist/services/sandboxed-code-host/host-types.js +6 -0
- package/dist/services/sandboxed-code-host/host-types.js.map +1 -0
- package/dist/services/sandboxed-code-host/host-worker.d.ts +9 -0
- package/dist/services/sandboxed-code-host/host-worker.d.ts.map +1 -0
- package/dist/services/sandboxed-code-host/host-worker.js +351 -0
- package/dist/services/sandboxed-code-host/host-worker.js.map +1 -0
- package/dist/services/sandboxed-code-host/sandbox.d.ts +16 -0
- package/dist/services/sandboxed-code-host/sandbox.d.ts.map +1 -0
- package/dist/services/sandboxed-code-host/sandbox.js +21 -0
- package/dist/services/sandboxed-code-host/sandbox.js.map +1 -0
- package/dist/services/sandboxed-code-host/sandboxed-code-host.d.ts +17 -0
- package/dist/services/sandboxed-code-host/sandboxed-code-host.d.ts.map +1 -0
- package/dist/services/sandboxed-code-host/sandboxed-code-host.js +347 -0
- package/dist/services/sandboxed-code-host/sandboxed-code-host.js.map +1 -0
- package/dist/services/service-interfaces.d.ts +32 -0
- package/dist/services/service-interfaces.d.ts.map +1 -1
- package/dist/services/session/background-task-control.d.ts +3 -1
- package/dist/services/session/background-task-control.d.ts.map +1 -1
- package/dist/services/session/background-task-control.js +4 -0
- package/dist/services/session/background-task-control.js.map +1 -1
- package/dist/services/session/continuation-plan-applier.d.ts +2 -1
- package/dist/services/session/continuation-plan-applier.d.ts.map +1 -1
- package/dist/services/session/continuation-plan-applier.js.map +1 -1
- package/dist/services/session/continuation-recovery-handler.d.ts +2 -1
- package/dist/services/session/continuation-recovery-handler.d.ts.map +1 -1
- package/dist/services/session/continuation-recovery-handler.js +49 -5
- package/dist/services/session/continuation-recovery-handler.js.map +1 -1
- package/dist/services/session/initial-input-preparer.d.ts +2 -1
- package/dist/services/session/initial-input-preparer.d.ts.map +1 -1
- package/dist/services/session/initial-input-preparer.js +2 -1
- package/dist/services/session/initial-input-preparer.js.map +1 -1
- package/dist/services/session/initial-turn-recovery-handler.d.ts +2 -1
- package/dist/services/session/initial-turn-recovery-handler.d.ts.map +1 -1
- package/dist/services/session/initial-turn-recovery-handler.js +51 -16
- package/dist/services/session/initial-turn-recovery-handler.js.map +1 -1
- package/dist/services/session/post-execute-pending-registry.d.ts +2 -1
- package/dist/services/session/post-execute-pending-registry.d.ts.map +1 -1
- package/dist/services/session/post-execute-pending-registry.js +3 -2
- package/dist/services/session/post-execute-pending-registry.js.map +1 -1
- package/dist/services/session/session-client-factory.d.ts +4 -0
- package/dist/services/session/session-client-factory.d.ts.map +1 -1
- package/dist/services/session/session-client-factory.js +12 -4
- package/dist/services/session/session-client-factory.js.map +1 -1
- package/dist/services/session/session-composition.d.ts +26 -2
- package/dist/services/session/session-composition.d.ts.map +1 -1
- package/dist/services/session/session-composition.js +97 -18
- package/dist/services/session/session-composition.js.map +1 -1
- package/dist/services/session/session-continuity-reset.d.ts +2 -1
- package/dist/services/session/session-continuity-reset.d.ts.map +1 -1
- package/dist/services/session/session-continuity-reset.js +5 -2
- package/dist/services/session/session-continuity-reset.js.map +1 -1
- package/dist/services/session/session-identity.d.ts +20 -0
- package/dist/services/session/session-identity.d.ts.map +1 -0
- package/dist/services/session/session-identity.js +43 -0
- package/dist/services/session/session-identity.js.map +1 -0
- package/dist/services/session/session-lifecycle.d.ts +5 -1
- package/dist/services/session/session-lifecycle.d.ts.map +1 -1
- package/dist/services/session/session-lifecycle.js +5 -1
- package/dist/services/session/session-lifecycle.js.map +1 -1
- package/dist/services/session/session-stream-processor.d.ts +2 -1
- package/dist/services/session/session-stream-processor.d.ts.map +1 -1
- package/dist/services/session/session-stream-processor.js +5 -4
- package/dist/services/session/session-stream-processor.js.map +1 -1
- package/dist/services/session/test-helpers/conversation-session-fixtures.d.ts.map +1 -1
- package/dist/services/session/test-helpers/conversation-session-fixtures.js +14 -9
- package/dist/services/session/test-helpers/conversation-session-fixtures.js.map +1 -1
- package/dist/services/session/turn-coordinator.d.ts +2 -1
- package/dist/services/session/turn-coordinator.d.ts.map +1 -1
- package/dist/services/session/turn-coordinator.js +3 -0
- package/dist/services/session/turn-coordinator.js.map +1 -1
- package/dist/services/session/turn-workflow.d.ts +4 -1
- package/dist/services/session/turn-workflow.d.ts.map +1 -1
- package/dist/services/session/turn-workflow.js +58 -21
- package/dist/services/session/turn-workflow.js.map +1 -1
- package/dist/services/session-rollover/session-rollover-brief.d.ts +8 -1
- package/dist/services/session-rollover/session-rollover-brief.d.ts.map +1 -1
- package/dist/services/session-rollover/session-rollover-brief.js +14 -1
- package/dist/services/session-rollover/session-rollover-brief.js.map +1 -1
- package/dist/services/settings/setting-schema-utils.d.ts +2 -0
- package/dist/services/settings/setting-schema-utils.d.ts.map +1 -1
- package/dist/services/settings/setting-schema-utils.js +15 -27
- package/dist/services/settings/setting-schema-utils.js.map +1 -1
- package/dist/services/settings/settings-schema.d.ts +8 -0
- package/dist/services/settings/settings-schema.d.ts.map +1 -1
- package/dist/services/settings/settings-schema.js +23 -6
- package/dist/services/settings/settings-schema.js.map +1 -1
- package/dist/services/settings/settings-sources.d.ts +207 -0
- package/dist/services/settings/settings-sources.d.ts.map +1 -1
- package/dist/services/settings/settings-sources.js +48 -1
- package/dist/services/settings/settings-sources.js.map +1 -1
- package/dist/services/settings/settings-ui-metadata.d.ts +27 -0
- package/dist/services/settings/settings-ui-metadata.d.ts.map +1 -0
- package/dist/services/settings/settings-ui-metadata.js +283 -0
- package/dist/services/settings/settings-ui-metadata.js.map +1 -0
- package/dist/services/settings/test-helpers/settings-consumer-inventory.d.ts +10 -0
- package/dist/services/settings/test-helpers/settings-consumer-inventory.d.ts.map +1 -1
- package/dist/services/settings/test-helpers/settings-consumer-inventory.js +46 -0
- package/dist/services/settings/test-helpers/settings-consumer-inventory.js.map +1 -1
- package/dist/services/subagents/execution-runner.d.ts.map +1 -1
- package/dist/services/subagents/execution-runner.js +8 -0
- package/dist/services/subagents/execution-runner.js.map +1 -1
- package/dist/services/subagents/role-loader.d.ts.map +1 -1
- package/dist/services/subagents/role-loader.js +4 -0
- package/dist/services/subagents/role-loader.js.map +1 -1
- package/dist/services/subagents/subagent-client-types.d.ts +7 -0
- package/dist/services/subagents/subagent-client-types.d.ts.map +1 -1
- package/dist/services/subagents/subagent-manager.d.ts.map +1 -1
- package/dist/services/subagents/subagent-manager.js +4 -1
- package/dist/services/subagents/subagent-manager.js.map +1 -1
- package/dist/services/subagents/subagent-notification-store.d.ts +2 -0
- package/dist/services/subagents/subagent-notification-store.d.ts.map +1 -1
- package/dist/services/subagents/subagent-notification-store.js +4 -0
- package/dist/services/subagents/subagent-notification-store.js.map +1 -1
- package/dist/services/subagents/test-helpers/subagent-manager-fixtures.d.ts.map +1 -1
- package/dist/services/subagents/test-helpers/subagent-manager-fixtures.js +2 -1
- package/dist/services/subagents/test-helpers/subagent-manager-fixtures.js.map +1 -1
- package/dist/services/subagents/tool-policy.d.ts +8 -0
- package/dist/services/subagents/tool-policy.d.ts.map +1 -1
- package/dist/services/subagents/tool-policy.js +289 -41
- package/dist/services/subagents/tool-policy.js.map +1 -1
- package/dist/services/subagents/types.d.ts +2 -1
- package/dist/services/subagents/types.d.ts.map +1 -1
- package/dist/services/subagents/types.js.map +1 -1
- package/dist/test-helpers/conversation-session-with-adapter.d.ts +1 -1
- package/dist/test-helpers/conversation-session-with-adapter.d.ts.map +1 -1
- package/dist/test-helpers/conversation-session-with-adapter.js +6 -1
- package/dist/test-helpers/conversation-session-with-adapter.js.map +1 -1
- package/dist/test-helpers/vitest-cache-isolation.d.ts +2 -0
- package/dist/test-helpers/vitest-cache-isolation.d.ts.map +1 -0
- package/dist/test-helpers/vitest-cache-isolation.js +17 -0
- package/dist/test-helpers/vitest-cache-isolation.js.map +1 -0
- package/dist/tools/agent/activate-skill.d.ts.map +1 -1
- package/dist/tools/agent/activate-skill.js +1 -0
- package/dist/tools/agent/activate-skill.js.map +1 -1
- package/dist/tools/agent/configure-task-check-in.d.ts.map +1 -1
- package/dist/tools/agent/configure-task-check-in.js +1 -0
- package/dist/tools/agent/configure-task-check-in.js.map +1 -1
- package/dist/tools/agent/run-subagent-async.d.ts.map +1 -1
- package/dist/tools/agent/run-subagent-async.js +16 -12
- package/dist/tools/agent/run-subagent-async.js.map +1 -1
- package/dist/tools/file/apply-patch.d.ts.map +1 -1
- package/dist/tools/file/apply-patch.js +9 -11
- package/dist/tools/file/apply-patch.js.map +1 -1
- package/dist/tools/file/code-context.d.ts.map +1 -1
- package/dist/tools/file/code-context.js +40 -5
- package/dist/tools/file/code-context.js.map +1 -1
- package/dist/tools/file/create-file.d.ts.map +1 -1
- package/dist/tools/file/create-file.js +13 -8
- package/dist/tools/file/create-file.js.map +1 -1
- package/dist/tools/file/glob.d.ts.map +1 -1
- package/dist/tools/file/glob.js +49 -11
- package/dist/tools/file/glob.js.map +1 -1
- package/dist/tools/file/grep.d.ts.map +1 -1
- package/dist/tools/file/grep.js +32 -8
- package/dist/tools/file/grep.js.map +1 -1
- package/dist/tools/file/read-file.d.ts.map +1 -1
- package/dist/tools/file/read-file.js +109 -6
- package/dist/tools/file/read-file.js.map +1 -1
- package/dist/tools/file/search-replace.js +4 -4
- package/dist/tools/file/search-replace.js.map +1 -1
- package/dist/tools/file/upstream-apply-patch.d.ts.map +1 -1
- package/dist/tools/file/upstream-apply-patch.js +4 -1
- package/dist/tools/file/upstream-apply-patch.js.map +1 -1
- package/dist/tools/memory/memory-tools.d.ts.map +1 -1
- package/dist/tools/memory/memory-tools.js +19 -1
- package/dist/tools/memory/memory-tools.js.map +1 -1
- package/dist/tools/session-browser/session-browser-tools.d.ts.map +1 -1
- package/dist/tools/session-browser/session-browser-tools.js +24 -8
- package/dist/tools/session-browser/session-browser-tools.js.map +1 -1
- package/dist/tools/session-rollover/session-rollover-tool.d.ts.map +1 -1
- package/dist/tools/session-rollover/session-rollover-tool.js +8 -2
- package/dist/tools/session-rollover/session-rollover-tool.js.map +1 -1
- package/dist/tools/system/run-code/index.d.ts +2 -0
- package/dist/tools/system/run-code/index.d.ts.map +1 -0
- package/dist/tools/system/run-code/index.js +2 -0
- package/dist/tools/system/run-code/index.js.map +1 -0
- package/dist/tools/system/run-code/run-code-telemetry.d.ts +92 -0
- package/dist/tools/system/run-code/run-code-telemetry.d.ts.map +1 -0
- package/dist/tools/system/run-code/run-code-telemetry.js +189 -0
- package/dist/tools/system/run-code/run-code-telemetry.js.map +1 -0
- package/dist/tools/system/run-code/run-code.d.ts +98 -0
- package/dist/tools/system/run-code/run-code.d.ts.map +1 -0
- package/dist/tools/system/run-code/run-code.js +1078 -0
- package/dist/tools/system/run-code/run-code.js.map +1 -0
- package/dist/tools/system/run-code/tools-header.d.ts +25 -0
- package/dist/tools/system/run-code/tools-header.d.ts.map +1 -0
- package/dist/tools/system/run-code/tools-header.js +136 -0
- package/dist/tools/system/run-code/tools-header.js.map +1 -0
- package/dist/tools/system/shell.d.ts.map +1 -1
- package/dist/tools/system/shell.js +58 -9
- package/dist/tools/system/shell.js.map +1 -1
- package/dist/tools/system/worktree.js +2 -2
- package/dist/tools/system/worktree.js.map +1 -1
- package/dist/tools/types.d.ts +24 -0
- package/dist/tools/types.d.ts.map +1 -1
- package/dist/tools/types.js.map +1 -1
- package/dist/tools/utils.d.ts +10 -0
- package/dist/tools/utils.d.ts.map +1 -1
- package/dist/tools/utils.js +13 -0
- package/dist/tools/utils.js.map +1 -1
- package/dist/tools/web/web-fetch.d.ts.map +1 -1
- package/dist/tools/web/web-fetch.js +14 -6
- package/dist/tools/web/web-fetch.js.map +1 -1
- package/dist/tools/web/web-search.d.ts.map +1 -1
- package/dist/tools/web/web-search.js +2 -1
- package/dist/tools/web/web-search.js.map +1 -1
- package/dist/utils/ai/model-settings.d.ts.map +1 -1
- package/dist/utils/ai/model-settings.js +0 -47
- package/dist/utils/ai/model-settings.js.map +1 -1
- package/dist/utils/conversation/apply-conversation-result.d.ts.map +1 -1
- package/dist/utils/conversation/apply-conversation-result.js +13 -0
- package/dist/utils/conversation/apply-conversation-result.js.map +1 -1
- package/dist/utils/conversation/conversation-utils.d.ts.map +1 -1
- package/dist/utils/conversation/conversation-utils.js +14 -0
- package/dist/utils/conversation/conversation-utils.js.map +1 -1
- package/dist/utils/output/bound-tool-result.d.ts +23 -0
- package/dist/utils/output/bound-tool-result.d.ts.map +1 -1
- package/dist/utils/output/bound-tool-result.js +27 -0
- package/dist/utils/output/bound-tool-result.js.map +1 -1
- package/dist/utils/settings-command.d.ts +8 -0
- package/dist/utils/settings-command.d.ts.map +1 -1
- package/dist/utils/settings-command.js +45 -30
- package/dist/utils/settings-command.js.map +1 -1
- package/dist/utils/shell/execute-shell.d.ts +18 -0
- package/dist/utils/shell/execute-shell.d.ts.map +1 -1
- package/dist/utils/shell/execute-shell.js +48 -6
- package/dist/utils/shell/execute-shell.js.map +1 -1
- package/dist/utils/shell/shell-output.d.ts +7 -1
- package/dist/utils/shell/shell-output.d.ts.map +1 -1
- package/dist/utils/shell/shell-output.js +37 -7
- package/dist/utils/shell/shell-output.js.map +1 -1
- package/dist/utils/streaming/streaming-session-factory.d.ts +9 -0
- package/dist/utils/streaming/streaming-session-factory.d.ts.map +1 -1
- package/dist/utils/streaming/streaming-session-factory.js +1 -1
- package/dist/utils/streaming/streaming-session-factory.js.map +1 -1
- package/dist/utils/tool-args-display.d.ts +21 -0
- package/dist/utils/tool-args-display.d.ts.map +1 -0
- package/dist/utils/tool-args-display.js +34 -0
- package/dist/utils/tool-args-display.js.map +1 -0
- package/dist/utils/value-suggestions.d.ts +4 -10
- package/dist/utils/value-suggestions.d.ts.map +1 -1
- package/dist/utils/value-suggestions.js +77 -144
- package/dist/utils/value-suggestions.js.map +1 -1
- package/dist/utils/worker-bootstrap.d.ts +3 -0
- package/dist/utils/worker-bootstrap.d.ts.map +1 -0
- package/dist/utils/worker-bootstrap.js +7 -0
- package/dist/utils/worker-bootstrap.js.map +1 -0
- package/dist/utils/worker-cwd-preload.cjs +23 -0
- package/dist/utils/worker-cwd-preload.cjs.map +1 -0
- package/dist/utils/worker-cwd-preload.d.cts +2 -0
- package/dist/utils/worker-cwd-preload.d.cts.map +1 -0
- package/package.json +5 -2
- package/dist/services/agent-runtime/workflow/workflow-worker.d.ts +0 -4
- package/dist/services/agent-runtime/workflow/workflow-worker.d.ts.map +0 -1
- package/dist/services/agent-runtime/workflow/workflow-worker.js +0 -55
- package/dist/services/agent-runtime/workflow/workflow-worker.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"non-interactive.js","sourceRoot":"","sources":["../source/non-interactive.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,yBAAyB,EAAE,MAAM,yDAAyD,CAAC;AACpG,OAAO,EAAE,qBAAqB,EAAE,MAAM,+CAA+C,CAAC;AACtF,OAAO,EACL,qCAAqC,GAEtC,MAAM,8CAA8C,CAAC;AAUtD,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAEzC,OAAO,EAAE,4BAA4B,EAAE,MAAM,wDAAwD,CAAC;AAGtG,OAAO,EAAE,uBAAuB,EAAE,MAAM,6BAA6B,CAAC;AACtE,OAAO,EAAE,gCAAgC,EAAE,MAAM,4BAA4B,CAAC;AAuB9E,OAAO,EAAE,gCAAgC,EAAE,MAAM,wDAAwD,CAAC;AAE1G,MAAM,CAAC,MAAM,6BAA6B,GAAG,GAAW,EAAE,CAAC,mBAAmB,UAAU,EAAE,EAAE,CAAC;AAa7F,MAAM,WAAW,GAAG,CAAC,KAAc,EAAE,MAAM,GAAG,GAAG,EAAU,EAAE;IAC3D,IAAI,CAAC;QACH,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE,CAAC;YAC9B,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;AACH,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"background-shell.d.ts","sourceRoot":"","sources":["../../source/prompts/background-shell.ts"],"names":[],"mappings":"AAAA,+EAA+E;AAC/E,wBAAgB,0BAA0B,IAAI,MAAM,
|
|
1
|
+
{"version":3,"file":"background-shell.d.ts","sourceRoot":"","sources":["../../source/prompts/background-shell.ts"],"names":[],"mappings":"AAAA,+EAA+E;AAC/E,wBAAgB,0BAA0B,IAAI,MAAM,CAUnD"}
|
|
@@ -4,8 +4,10 @@ export function getBackgroundShellAddendum() {
|
|
|
4
4
|
|
|
5
5
|
Use \`shell\` with \`background: true\` only for work that can continue after you return control. A successful launch returns \`{ jobId, status: "running" }\`.
|
|
6
6
|
|
|
7
|
-
- A \`status: "running"\` handle means the job launched successfully.
|
|
7
|
+
- A \`status: "running"\` handle means the job launched successfully. Inside \`run_code\`, do NOT call \`tools.get_shell_job(...)\` as a polling loop and do not run \`sleep\` merely to wait.
|
|
8
8
|
- End the current turn and wait for the automatic completion notification. It arrives when the job settles and includes its terminal status and bounded output, so continue from that notification.
|
|
9
|
-
-
|
|
9
|
+
- Inside \`run_code\`, use \`tools.get_shell_job(...)\` only when a later user instruction requires an early status check for a specific job. Use \`tools.cancel_shell_job(...)\` only when the user asks to stop that job or the task requires cancellation.
|
|
10
|
+
- Timeouts are a launch decision, not a fixed harness fact: the 30-minute background default terminates any job that outlives it, so known long-lived work (a watcher, a full-suite validation) must pass an explicit finite \`timeout_ms\` sized to the expected horizon (for example two hours for a watcher, 15 minutes for a full-suite gate). A deadline reached is a failure to diagnose, not a license to extend automatically; stop the job through its job id when you replace it so two writers never share one output baseline, and never detach a job with nohup to escape the registry.
|
|
11
|
+
- Attach \`monitor\` in the same launch call when you need progress notifications, and rely on the automatic completion notification rather than polling.`;
|
|
10
12
|
}
|
|
11
13
|
//# sourceMappingURL=background-shell.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"background-shell.js","sourceRoot":"","sources":["../../source/prompts/background-shell.ts"],"names":[],"mappings":"AAAA,+EAA+E;AAC/E,MAAM,UAAU,0BAA0B;IACxC,OAAO
|
|
1
|
+
{"version":3,"file":"background-shell.js","sourceRoot":"","sources":["../../source/prompts/background-shell.ts"],"names":[],"mappings":"AAAA,+EAA+E;AAC/E,MAAM,UAAU,0BAA0B;IACxC,OAAO;;;;;;;;0JAQiJ,CAAC;AAC3J,CAAC"}
|
|
@@ -4,7 +4,9 @@ export function getBackgroundShellAddendum(): string {
|
|
|
4
4
|
|
|
5
5
|
Use \`shell\` with \`background: true\` only for work that can continue after you return control. A successful launch returns \`{ jobId, status: "running" }\`.
|
|
6
6
|
|
|
7
|
-
- A \`status: "running"\` handle means the job launched successfully.
|
|
7
|
+
- A \`status: "running"\` handle means the job launched successfully. Inside \`run_code\`, do NOT call \`tools.get_shell_job(...)\` as a polling loop and do not run \`sleep\` merely to wait.
|
|
8
8
|
- End the current turn and wait for the automatic completion notification. It arrives when the job settles and includes its terminal status and bounded output, so continue from that notification.
|
|
9
|
-
-
|
|
9
|
+
- Inside \`run_code\`, use \`tools.get_shell_job(...)\` only when a later user instruction requires an early status check for a specific job. Use \`tools.cancel_shell_job(...)\` only when the user asks to stop that job or the task requires cancellation.
|
|
10
|
+
- Timeouts are a launch decision, not a fixed harness fact: the 30-minute background default terminates any job that outlives it, so known long-lived work (a watcher, a full-suite validation) must pass an explicit finite \`timeout_ms\` sized to the expected horizon (for example two hours for a watcher, 15 minutes for a full-suite gate). A deadline reached is a failure to diagnose, not a license to extend automatically; stop the job through its job id when you replace it so two writers never share one output baseline, and never detach a job with nohup to escape the registry.
|
|
11
|
+
- Attach \`monitor\` in the same launch call when you need progress notifications, and rely on the automatic completion notification rather than polling.`;
|
|
10
12
|
}
|
package/dist/prompts/codex.md
CHANGED
|
@@ -26,15 +26,13 @@ You are a deeply pragmatic, effective software engineer. You take engineering qu
|
|
|
26
26
|
As an expert coding agent, your primary focus is writing code, answering questions, and helping the user complete tasks in the current environment. Build context by examining the codebase first without making assumptions.
|
|
27
27
|
|
|
28
28
|
- **Tools**:
|
|
29
|
-
- Search files using `rg` or `rg --files` (prefer over
|
|
29
|
+
- Search files using `rg` or `rg --files` (prefer over older recursive search commands).
|
|
30
30
|
- Parallelize tool calls whenever possible (e.g., `cat`, `rg`, `sed`, `ls`, `git show`, `nl`, `wc`) using `multi_tool_use.parallel`.
|
|
31
31
|
- Never chain bash commands with separators like `echo "====";`.
|
|
32
32
|
- Unsandboxed shell commands require explicit user approval and must be run directly by the main agent. Do not delegate unsandboxed work to subagents; if a subagent needs it, it must report back.
|
|
33
33
|
- **Editing Constraints**:
|
|
34
34
|
- Default to ASCII; only use Unicode if justified by the file's existing content.
|
|
35
35
|
- Add succinct code comments only for complex blocks that require parsing.
|
|
36
|
-
- Use `apply_patch` for all code edits. Do not use `cat` or other commands for creation/edits.
|
|
37
|
-
- Do not use Python for file I/O when shell commands or `apply_patch` suffice.
|
|
38
36
|
- **Git/Filesystem**:
|
|
39
37
|
- You may be in a dirty git worktree. Never revert changes you did not make. If unrelated changes exist, ignore them.
|
|
40
38
|
- Do not amend commits unless requested.
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# Follow-through and clarification
|
|
2
|
+
|
|
3
|
+
Treat requests such as "can you fix" or "help me build" as instructions to do the work. Make reasonable assumptions for routine implementation details. If clarification could materially change the outcome, ask a focused question and continue any independently actionable, already-authorized work. Wait for the answer before doing work that depends on it. Complete the authorized preparation needed to make an approval decision concrete and reviewable; use the harness approval mechanism described below.
|
|
4
|
+
|
|
5
|
+
# Skills and instruction conflicts
|
|
6
|
+
|
|
7
|
+
The user's explicit instructions take precedence over guidelines in skills. Do not infer additional approval requirements from a skill when the requested work is already authorized. This does not override harness safety rules, tool restrictions, or active mode constraints.
|
|
8
|
+
|
|
9
|
+
If a skill causes you to pause, seek confirmation, or leave requested work unfinished, name and link to the exact SKILL.md, quote the relevant instruction, and explain how it applies. Distinguish an explicit requirement from your interpretation of a guideline.
|
|
10
|
+
|
|
11
|
+
# Proportionate verification
|
|
12
|
+
|
|
13
|
+
Run the checks appropriate to the change and complete the project's required checks. Once they pass, broaden or repeat validation only when new changes, failures, or unresolved concerns justify it. Add tests when they verify meaningful behavior; avoid tests that merely mirror implementation for reversible, low-impact edits.
|
|
@@ -21,14 +21,12 @@ You may challenge the user to raise their technical bar, but you never patronize
|
|
|
21
21
|
# General
|
|
22
22
|
As an expert coding agent, your primary focus is writing code, answering questions, and helping the user complete their task in the current environment. You build context by examining the codebase first without making assumptions or jumping to conclusions. You think through the nuances of the code you encounter, and embody the mentality of a skilled senior software engineer.
|
|
23
23
|
|
|
24
|
-
- When searching for text or files, prefer using `rg` or `rg --files` respectively because `rg` is much faster than
|
|
24
|
+
- When searching for text or files, prefer using `rg` or `rg --files` respectively because `rg` is much faster than older recursive search commands. (If the `rg` command is not found, then use alternatives.)
|
|
25
25
|
|
|
26
26
|
## Editing constraints
|
|
27
27
|
|
|
28
28
|
- Default to ASCII when editing or creating files. Only introduce non-ASCII or other Unicode characters when there is a clear justification and the file already uses them.
|
|
29
29
|
- Add succinct code comments that explain what is going on if code is not self-explanatory. You should not add comments like \"Assigns the value to the variable\", but a brief comment might be useful ahead of a complex code block that the user would otherwise have to spend time parsing out. Usage of these comments should be rare.
|
|
30
|
-
- Always use apply_patch for manual code edits. Do not use cat or any other commands when creating or editing files. Formatting commands or bulk edits don't need to be done with apply_patch.
|
|
31
|
-
- Do not use Python to read/write files when a simple shell command or apply_patch would suffice.
|
|
32
30
|
- Unsandboxed shell commands require explicit user approval and must be run directly by the main agent. Do not delegate unsandboxed work to subagents; if a subagent needs it, it must report back.
|
|
33
31
|
- You may be in a dirty git worktree.
|
|
34
32
|
* NEVER revert existing changes you did not make unless explicitly requested, since these changes were made by the user.
|
|
@@ -25,8 +25,6 @@ As an expert coding agent, your primary focus is writing code, answering questio
|
|
|
25
25
|
|
|
26
26
|
- Default to ASCII when editing or creating files. Only introduce non-ASCII or other Unicode characters when there is a clear justification and the file already uses them.
|
|
27
27
|
- Add succinct code comments that explain what is going on if code is not self-explanatory. You should not add comments like \"Assigns the value to the variable\", but a brief comment might be useful ahead of a complex code block that the user would otherwise have to spend time parsing out. Usage of these comments should be rare.
|
|
28
|
-
- Always use apply_patch for manual code edits. Do not use cat or any other commands when creating or editing files. Formatting commands or bulk edits don't need to be done with apply_patch.
|
|
29
|
-
- Do not use Python to read/write files when a simple shell command or apply_patch would suffice.
|
|
30
28
|
- You may be in a dirty git worktree.
|
|
31
29
|
* NEVER revert existing changes you did not make unless explicitly requested, since these changes were made by the user.
|
|
32
30
|
* If asked to make a commit or code edits and there are unrelated changes to your work or changes that you didn't make in those files, don't revert those changes.
|
package/dist/prompts/gpt-5.5.md
CHANGED
|
@@ -34,8 +34,6 @@ When the user leaves implementation details open, you choose conservatively and
|
|
|
34
34
|
|
|
35
35
|
- You default to ASCII when editing or creating files. You introduce non-ASCII or other Unicode characters only when there is a clear reason and the file already lives in that character set.
|
|
36
36
|
- You add succinct code comments only where the code is not self-explanatory. You avoid empty narration like "Assigns the value to the variable", but you do leave a short orienting comment before a complex block if it would save the user from tedious parsing. You use that tool sparingly.
|
|
37
|
-
- Use `apply_patch` for manual code edits. Do not create or edit files with `cat` or other shell write tricks. Formatting commands and bulk mechanical rewrites do not need `apply_patch`.
|
|
38
|
-
- Do not use Python to read or write files when a simple shell command or `apply_patch` is enough.
|
|
39
37
|
- Unsandboxed shell commands require explicit user approval and must be run directly by the main agent. Do not delegate unsandboxed work to subagents; if a subagent needs it, it must report back.
|
|
40
38
|
- You may be in a dirty git worktree.
|
|
41
39
|
* NEVER revert existing changes you did not make unless explicitly requested, since these changes were made by the user.
|
package/dist/prompts/gpt-5.6.md
CHANGED
|
@@ -23,7 +23,6 @@ When the user leaves implementation details open, choose conservatively and in s
|
|
|
23
23
|
|
|
24
24
|
# Editing
|
|
25
25
|
|
|
26
|
-
- Use `apply_patch` for code edits. Do not write files with `cat`, heredocs, or other shell tricks. Bulk mechanical rewrites and formatter runs do not need `apply_patch`.
|
|
27
26
|
- Read a file before proposing changes to it. Verify paths and APIs rather than recalling them.
|
|
28
27
|
- Add comments only where the code is not self-explanatory, and match the comment density of the surrounding file.
|
|
29
28
|
- Default to ASCII unless the file already uses a broader character set.
|
package/dist/prompts/lite.md
CHANGED
|
@@ -11,9 +11,4 @@ You are a lightweight terminal assistant for shell commands, troubleshooting, an
|
|
|
11
11
|
# Tools
|
|
12
12
|
|
|
13
13
|
- `Shell`: run terminal commands, builds, package commands, git, and scripts.
|
|
14
|
-
-
|
|
15
|
-
- `apply_patch`: modify files with patches when available.
|
|
16
|
-
- `create_file`: create or overwrite files when available.
|
|
17
|
-
- `search_replace`: make precise replacements when available.
|
|
18
|
-
- `web_search`: find current external information.
|
|
19
|
-
- `web_fetch`: read a specific web page when needed.
|
|
14
|
+
- File, search, and web tools follow the routing section below.
|
package/dist/prompts/memory.md
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
### Persistent memory
|
|
2
2
|
|
|
3
|
-
You have access to persistent memory. The initial index lists every fitting memory by title, with full summaries for the most recent entries; a listed memory without a summary had it omitted for budget — read it with memory_get before treating it as irrelevant.
|
|
3
|
+
You have access to persistent memory. The initial index lists every fitting memory by title, with full summaries for the most recent entries; a listed memory without a summary had it omitted for budget — inside `run_code`, read it with `tools.memory_get(...)` before treating it as irrelevant.
|
|
4
4
|
|
|
5
|
-
Memory has global and project scopes. Use global for cross-project preferences and reusable knowledge; use project for repository-specific decisions and conventions.
|
|
5
|
+
Memory has global and project scopes. Use global for cross-project preferences and reusable knowledge; use project for repository-specific decisions and conventions. Inside `run_code`, use `tools.memory_list(...)`, `tools.memory_get(...)`, `tools.memory_search(...)`, and `tools.memory_retrieve(...)` for reads across both scopes; use `tools.memory_create(...)`, `tools.memory_update(...)`, and `tools.memory_delete(...)` for writes with a scope parameter.
|
|
6
6
|
|
|
7
7
|
When you encounter uncertainty about prior conversations, user preferences, project decisions, or established conventions, consider retrieving relevant memories before making assumptions. Retrieve memory when it could materially improve correctness or avoid repeating work — not mechanically.
|
|
8
8
|
|
|
@@ -50,15 +50,15 @@ Do not redo completed work without reason. If a result looks wrong, inspect the
|
|
|
50
50
|
|
|
51
51
|
## Observing delegated work
|
|
52
52
|
|
|
53
|
-
`get_subagent_status` gives you a non-blocking answer to "what is it doing right now." Omit the runId to list all live runs at once. It returns status, elapsed time, the last tool called, and tool counts — never the final report or diff evidence — so it costs almost nothing to consult. Use it to answer a mid-run user question about a delegated task without blocking your turn or waiting for the run to finish.
|
|
53
|
+
Inside `run_code`, `tools.get_subagent_status(...)` gives you a non-blocking answer to "what is it doing right now." Omit the runId to list all live runs at once. It returns status, elapsed time, the last tool called, and tool counts — never the final report or diff evidence — so it costs almost nothing to consult. Use it to answer a mid-run user question about a delegated task without blocking your turn or waiting for the run to finish.
|
|
54
54
|
|
|
55
|
-
Peek is on-demand, not a substitute for the async completion discipline. It does not tell you when a run finishes, it never carries completion detail, and it is not a reason to poll in a loop. When a run settles, the harness completion notification inlines the full result — status, validation evidence, diff stat, and final text — so you can continue directly without calling `get_subagent_result`.
|
|
55
|
+
Peek is on-demand, not a substitute for the async completion discipline. It does not tell you when a run finishes, it never carries completion detail, and it is not a reason to poll in a loop. When a run settles, the harness completion notification inlines the full result — status, validation evidence, diff stat, and final text — so you can continue directly without calling `tools.get_subagent_result(...)` inside `run_code`.
|
|
56
56
|
|
|
57
57
|
## Steering or cancelling delegated work
|
|
58
58
|
|
|
59
|
-
Address active runs by their optional name or canonical runId.
|
|
59
|
+
Address active runs by their optional name or canonical runId. Inside `run_code`, use `tools.send_message(...)` to redirect productive execution and `tools.cancel_run(...)` when the run should stop; both acknowledge immediately and never wait for a result. Steering reaches a safe model-stream boundary, never interrupts an active tool, and continues in a fresh session turn. It is not SDK live injection or RunState continuation, and each logical run permits at most three continuation segments.
|
|
60
60
|
|
|
61
|
-
If a worker or explorer is waiting on `ask_orchestrator`, answer its specific `messageId` through `send_message
|
|
61
|
+
If a worker or explorer is waiting on `ask_orchestrator`, answer its specific `messageId` inside `run_code` through `tools.send_message({ target, reply_to: messageId, message })`. The answer resumes only that waiting tool call; the subagent should continue afterward. While that question waits, steering without `reply_to` is refused with `question_pending` — only an answer can resume the blocked call, so answer it or use `tools.cancel_run(...)` inside `run_code` to stop the run. Keep the single point of contact invariant: resolve or escalate the blocker yourself and never let a subagent contact the user. Mentor runs cannot be steered; `tools.cancel_run(...)` remains available inside `run_code`. After either control acknowledgement, do not immediately call `tools.get_subagent_result(...)`; the completion notification inlines the full result.
|
|
62
62
|
|
|
63
63
|
## Verifying and reporting
|
|
64
64
|
|
|
@@ -15,6 +15,8 @@ export type PromptConstructorOptions = {
|
|
|
15
15
|
memoryGuidance?: string;
|
|
16
16
|
sessionBrowserEnabled?: boolean;
|
|
17
17
|
executionContext?: ExecutionContext;
|
|
18
|
+
/** Same effective-shell gate that registers run_code. */
|
|
19
|
+
runCodeEnabled?: boolean;
|
|
18
20
|
};
|
|
19
21
|
export type PromptSpec = {
|
|
20
22
|
basePromptFile?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"prompt-constructor.d.ts","sourceRoot":"","sources":["../../source/prompts/prompt-constructor.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,kCAAkC,CAAC;AACzE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;
|
|
1
|
+
{"version":3,"file":"prompt-constructor.d.ts","sourceRoot":"","sources":["../../source/prompts/prompt-constructor.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,kCAAkC,CAAC;AACzE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAQrE,MAAM,MAAM,wBAAwB,GAAG;IACrC,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,eAAe,CAAC;IACzB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,4BAA4B,CAAC,EAAE,OAAO,CAAC;IACvC,uBAAuB,CAAC,EAAE,OAAO,CAAC;IAClC,4BAA4B,CAAC,EAAE,OAAO,CAAC;IACvC,sBAAsB,CAAC,EAAE,OAAO,CAAC;IACjC,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC,gBAAgB,CAAC,EAAE,gBAAgB,CAAC;IACpC,yDAAyD;IACzD,cAAc,CAAC,EAAE,OAAO,CAAC;CAC1B,CAAC;AAEF,MAAM,MAAM,UAAU,GAAG;IACvB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,aAAa,EAAE,MAAM,EAAE,CAAC;IACxB,cAAc,EAAE,MAAM,EAAE,CAAC;CAC1B,CAAC;AAEF,wBAAgB,aAAa,CAAC,OAAO,EAAE,eAAe,GAAG,OAAO,CAE/D;AAED,wBAAgB,eAAe,CAAC,OAAO,EAAE,wBAAwB,GAAG,UAAU,CAmG7E"}
|
|
@@ -3,17 +3,18 @@ import { getSearchViaShellAddendum } from './search-via-shell.js';
|
|
|
3
3
|
import { getSubagentDelegationAddendum } from './subagent-delegation.js';
|
|
4
4
|
import { getShellSandboxAddendum } from './shell-sandbox.js';
|
|
5
5
|
import { getBackgroundShellAddendum } from './background-shell.js';
|
|
6
|
+
import { getDirectEditorToolsAddendum, getScriptPrimaryToolsAddendum } from './tool-surface-guidance.js';
|
|
6
7
|
export function isLiteProfile(profile) {
|
|
7
8
|
return profile.instructions.identity.kind === 'markdown';
|
|
8
9
|
}
|
|
9
10
|
export function buildPromptSpec(options) {
|
|
10
|
-
const { model, profile, searchViaShell = false, runSubagentEnabled = false, runSubagentForegroundEnabled = false, runSubagentAsyncEnabled = false, asyncSubagentControlsEnabled = false, backgroundShellEnabled = false, sandboxEnabled = true, memoryEnabled = false, memoryGuidance = '', sessionBrowserEnabled = false, executionContext, } = options;
|
|
11
|
+
const { model, profile, searchViaShell = false, runSubagentEnabled = false, runSubagentForegroundEnabled = false, runSubagentAsyncEnabled = false, asyncSubagentControlsEnabled = false, backgroundShellEnabled = false, sandboxEnabled = true, memoryEnabled = false, memoryGuidance = '', sessionBrowserEnabled = false, executionContext, runCodeEnabled = false, } = options;
|
|
11
12
|
const liteMode = isLiteProfile(profile);
|
|
12
13
|
// Runtime modes are intentionally absent from model-family profile selection.
|
|
13
14
|
// Their full workflows ride on the next user turn so rebuilding the agent does
|
|
14
15
|
// not invalidate the provider's instruction prefix.
|
|
15
16
|
const promptProfile = selectPromptProfile({ model, liteMode: false });
|
|
16
|
-
const fragmentFiles = [...(promptProfile.fragmentFiles ?? [])];
|
|
17
|
+
const fragmentFiles = liteMode ? [] : [...(promptProfile.fragmentFiles ?? [])];
|
|
17
18
|
const inlineSections = [];
|
|
18
19
|
const isRegularMode = !liteMode;
|
|
19
20
|
// Orchestrators can directly modify the worktree, so every non-lite prompt
|
|
@@ -63,6 +64,7 @@ export function buildPromptSpec(options) {
|
|
|
63
64
|
if (memoryGuidance) {
|
|
64
65
|
inlineSections.push(memoryGuidance);
|
|
65
66
|
}
|
|
67
|
+
inlineSections.push(runCodeEnabled ? getScriptPrimaryToolsAddendum() : getDirectEditorToolsAddendum());
|
|
66
68
|
return {
|
|
67
69
|
...(liteMode
|
|
68
70
|
? {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"prompt-constructor.js","sourceRoot":"","sources":["../../source/prompts/prompt-constructor.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAC3D,OAAO,EAAE,yBAAyB,EAAE,MAAM,uBAAuB,CAAC;AAClE,OAAO,EAAE,6BAA6B,EAAE,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,oEAAoE;QACpE,aAAa,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC;QACxC,aAAa,CAAC,IAAI,CAAC,qBAAqB,CAAC,CAAC;QAC1C,aAAa,CAAC,IAAI,CAAC,2BAA2B,CAAC,CAAC;IAClD,CAAC;IAED,IAAI,aAAa,IAAI,aAAa,EAAE,CAAC;QACnC,aAAa,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;IAClC,CAAC;IAED,IAAI,qBAAqB,EAAE,CAAC;QAC1B,aAAa,CAAC,IAAI,CAAC,oBAAoB,CAAC,CAAC;IAC3C,CAAC;IAED,IAAI,cAAc,EAAE,CAAC;QACnB,cAAc,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC;IACtC,CAAC;IAED,cAAc,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC,CAAC,6BAA6B,EAAE,CAAC,CAAC,CAAC,4BAA4B,EAAE,CAAC,CAAC;IAEvG,OAAO;QACL,GAAG,CAAC,QAAQ;YACV,CAAC,CAAC;gBACE,iBAAiB,EACf,OAAO,CAAC,YAAY,CAAC,QAAQ,CAAC,IAAI,KAAK,UAAU,CAAC,CAAC,CAAC,OAAO,CAAC,YAAY,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS;aACxG;YACH,CAAC,CAAC,EAAE,cAAc,EAAE,aAAa,CAAC,cAAc,EAAE,CAAC;QACrD,aAAa;QACb,cAAc;KACf,CAAC;AACJ,CAAC"}
|
|
@@ -3,9 +3,118 @@ import { readFileSync } from 'node:fs';
|
|
|
3
3
|
import { join } from 'node:path';
|
|
4
4
|
import { buildPromptSpec } from './prompt-constructor.js';
|
|
5
5
|
import { resolveProfile } from '../services/profiles/index.js';
|
|
6
|
+
import { getAgentDefinition } from '../agent.js';
|
|
7
|
+
import { createMockSettingsService } from '../services/settings/settings-service.mock.js';
|
|
8
|
+
import { ExecutionContext } from '../services/execution-context.js';
|
|
9
|
+
import { BackgroundShellRegistry } from '../services/shell/background-shell-registry.js';
|
|
10
|
+
import { BackgroundShellOutputStore } from '../services/shell/background-shell-output-store.js';
|
|
11
|
+
import { BackgroundShellWatches } from '../services/shell/background-shell-watches.js';
|
|
12
|
+
import { SessionBrowser } from '../services/conversation/session-browser.js';
|
|
13
|
+
import { RUN_CODE_PROHIBITED_TOOLS } from '../tools/system/run-code/run-code.js';
|
|
14
|
+
import { getBackgroundShellAddendum } from './background-shell.js';
|
|
15
|
+
import { getSubagentDelegationAddendum } from './subagent-delegation.js';
|
|
16
|
+
import { getDirectEditorToolsAddendum, getScriptPrimaryToolsAddendum } from './tool-surface-guidance.js';
|
|
17
|
+
|
|
18
|
+
const fullCapabilityLogging = {
|
|
19
|
+
debug: () => {},
|
|
20
|
+
info: () => {},
|
|
21
|
+
warn: () => {},
|
|
22
|
+
error: () => {},
|
|
23
|
+
security: () => {},
|
|
24
|
+
setCorrelationId: () => {},
|
|
25
|
+
clearCorrelationId: () => {},
|
|
26
|
+
getCorrelationId: () => undefined,
|
|
27
|
+
} as any;
|
|
28
|
+
|
|
29
|
+
function fullCapabilityTools() {
|
|
30
|
+
const settingsService = createMockSettingsService({
|
|
31
|
+
'agent.model': 'gpt-4o',
|
|
32
|
+
'agent.smartModel': 'gpt-4o',
|
|
33
|
+
'app.searchViaShell': 'off',
|
|
34
|
+
enable_agent_workflow: true,
|
|
35
|
+
'sandbox.enabled': true,
|
|
36
|
+
});
|
|
37
|
+
const executionContext = new ExecutionContext();
|
|
38
|
+
const backgroundShellRegistry = new BackgroundShellRegistry();
|
|
39
|
+
const store = new BackgroundShellOutputStore();
|
|
40
|
+
const backgroundShellOutput = {
|
|
41
|
+
store,
|
|
42
|
+
watches: new BackgroundShellWatches({ store, scheduler: { schedule: () => 0, cancel: () => {} } }),
|
|
43
|
+
};
|
|
44
|
+
const skillsService = {
|
|
45
|
+
getAvailableSkillsForModel: () => [{ name: 'measurement', location: '/tmp/measurement', body: '' }],
|
|
46
|
+
getSkillCatalog: () => '',
|
|
47
|
+
} as any;
|
|
48
|
+
const sessionBrowser = new SessionBrowser(() => ({ projectPath: process.cwd() }));
|
|
49
|
+
const status = {
|
|
50
|
+
runId: 'measurement',
|
|
51
|
+
role: 'worker',
|
|
52
|
+
status: 'completed',
|
|
53
|
+
task: 'measurement',
|
|
54
|
+
taskPreview: 'measurement',
|
|
55
|
+
startedAt: 0,
|
|
56
|
+
elapsedMs: 0,
|
|
57
|
+
toolCounts: {},
|
|
58
|
+
} as any;
|
|
59
|
+
return getAgentDefinition(
|
|
60
|
+
{
|
|
61
|
+
settingsService,
|
|
62
|
+
loggingService: fullCapabilityLogging,
|
|
63
|
+
executionContext,
|
|
64
|
+
askMentor: async () => 'mentor',
|
|
65
|
+
runSubagent: async () => ({ finalText: 'subagent' }),
|
|
66
|
+
runSubagentAsync: async () => ({ runId: 'measurement', role: 'worker', status: 'running', task: 'measurement' }),
|
|
67
|
+
getSubagentResult: async () => ({
|
|
68
|
+
agentId: 'measurement',
|
|
69
|
+
role: 'worker',
|
|
70
|
+
status: 'completed',
|
|
71
|
+
finalText: 'subagent',
|
|
72
|
+
filesChanged: [],
|
|
73
|
+
toolsUsed: [],
|
|
74
|
+
}),
|
|
75
|
+
getSubagentStatus: () => status,
|
|
76
|
+
sendSubagentMessage: () => ({ ok: true, runId: 'measurement', status: 'running', delivery: 'queued' }),
|
|
77
|
+
cancelSubagentRun: () => ({ ok: true, runId: 'measurement', status: 'cancelling' }),
|
|
78
|
+
getAskUserAnswer: () => 'answer',
|
|
79
|
+
skillsService,
|
|
80
|
+
agentRuntime: { agent: () => ({} as any) },
|
|
81
|
+
backgroundShellRegistry: backgroundShellRegistry as any,
|
|
82
|
+
backgroundShellOutput,
|
|
83
|
+
sessionBrowser,
|
|
84
|
+
requestSessionRollover: () => ({} as any),
|
|
85
|
+
configureTaskCheckIn: () => ({} as any),
|
|
86
|
+
setTaskCheckInPolicy: () => {},
|
|
87
|
+
},
|
|
88
|
+
'gpt-4o',
|
|
89
|
+
).tools;
|
|
90
|
+
}
|
|
6
91
|
|
|
7
92
|
const profile = (id: string) => resolveProfile(id);
|
|
8
93
|
|
|
94
|
+
it.each(['gpt-6-astra', 'openai/gpt-6-astra', ' GPT-6-ASTRA-2026-09-05 '])(
|
|
95
|
+
'buildPromptSpec gives %s the shared coding base and Astra guidance',
|
|
96
|
+
(model) => {
|
|
97
|
+
const spec = buildPromptSpec({ model, profile: profile('builtin:standard') });
|
|
98
|
+
expect(spec.basePromptFile).toBe('gpt-5.6.md');
|
|
99
|
+
expect(spec.fragmentFiles).toContain('fragments/gpt-6-astra.md');
|
|
100
|
+
expect(spec.fragmentFiles).toContain('approval-model.md');
|
|
101
|
+
for (const mode of ['plan', 'mentor', 'orchestrator']) {
|
|
102
|
+
expect(buildPromptSpec({ model, profile: profile(`builtin:${mode}`) })).toEqual(spec);
|
|
103
|
+
}
|
|
104
|
+
},
|
|
105
|
+
);
|
|
106
|
+
|
|
107
|
+
it('buildPromptSpec confines Astra guidance to non-lite Astra prompts', () => {
|
|
108
|
+
const lite = buildPromptSpec({ model: 'gpt-6-astra', profile: profile('builtin:lite') });
|
|
109
|
+
expect(lite.basePromptContent).toBeTruthy();
|
|
110
|
+
expect(lite.fragmentFiles).not.toContain('fragments/gpt-6-astra.md');
|
|
111
|
+
for (const model of ['gpt-5.6-sol', 'gpt-5.5', 'unknown-model']) {
|
|
112
|
+
expect(buildPromptSpec({ model, profile: profile('builtin:standard') }).fragmentFiles).not.toContain(
|
|
113
|
+
'fragments/gpt-6-astra.md',
|
|
114
|
+
);
|
|
115
|
+
}
|
|
116
|
+
});
|
|
117
|
+
|
|
9
118
|
it('buildPromptSpec selects the profile identity and model-family base prompt', () => {
|
|
10
119
|
expect(buildPromptSpec({ model: 'gpt-5.5', profile: profile('builtin:lite') }).basePromptContent).toBeTruthy();
|
|
11
120
|
expect(buildPromptSpec({ model: 'gpt-5.5', profile: profile('builtin:standard') }).basePromptFile).toBe('gpt-5.5.md');
|
|
@@ -93,6 +202,54 @@ it('buildPromptSpec composes file fragments in stable order', () => {
|
|
|
93
202
|
expect(spec.inlineSections).toContainEqual(expect.stringContaining('## Shell Sandbox'));
|
|
94
203
|
});
|
|
95
204
|
|
|
205
|
+
it('does not teach loaded run_code instruction surfaces to call script-only tools directly', () => {
|
|
206
|
+
const tools = fullCapabilityTools();
|
|
207
|
+
const scriptOnly = tools.filter((tool) => !RUN_CODE_PROHIBITED_TOOLS.has(tool.name)).map((tool) => tool.name);
|
|
208
|
+
const surfaces = [
|
|
209
|
+
'lite.md',
|
|
210
|
+
'memory.md',
|
|
211
|
+
'session-browser.md',
|
|
212
|
+
'orchestrator.md',
|
|
213
|
+
'gpt-5-modern.md',
|
|
214
|
+
'gpt-5.4-mini.md',
|
|
215
|
+
'gpt-5.5.md',
|
|
216
|
+
'gpt-5.6.md',
|
|
217
|
+
'codex.md',
|
|
218
|
+
].map((file) => readFileSync(join(import.meta.dirname, file), 'utf8'));
|
|
219
|
+
surfaces.push(
|
|
220
|
+
getScriptPrimaryToolsAddendum(),
|
|
221
|
+
getBackgroundShellAddendum(),
|
|
222
|
+
getSubagentDelegationAddendum({ backgroundEnabled: true, controlsEnabled: true, foregroundEnabled: false }),
|
|
223
|
+
);
|
|
224
|
+
|
|
225
|
+
const directReferences = scriptOnly.flatMap((name) => {
|
|
226
|
+
const escaped = name.replace(/[.*+?^${}()|[\]\\]/g, '\\$&');
|
|
227
|
+
// This preceding-dot exclusion is load-bearing: tools.<name> is the valid
|
|
228
|
+
// script reference form and must not count as a bare direct-tool reference.
|
|
229
|
+
const pattern = new RegExp(`(?<![A-Za-z0-9_.])${escaped}(?![A-Za-z0-9_])`);
|
|
230
|
+
return surfaces.some((surface) => pattern.test(surface)) ? [name] : [];
|
|
231
|
+
});
|
|
232
|
+
|
|
233
|
+
expect(directReferences).toEqual([]);
|
|
234
|
+
});
|
|
235
|
+
|
|
236
|
+
it('selects script-primary vs direct-editor guidance from runCodeEnabled', () => {
|
|
237
|
+
const enabled = buildPromptSpec({
|
|
238
|
+
model: 'gpt-5.6',
|
|
239
|
+
profile: profile('builtin:standard'),
|
|
240
|
+
runCodeEnabled: true,
|
|
241
|
+
});
|
|
242
|
+
const disabled = buildPromptSpec({
|
|
243
|
+
model: 'gpt-5.6',
|
|
244
|
+
profile: profile('builtin:standard'),
|
|
245
|
+
runCodeEnabled: false,
|
|
246
|
+
});
|
|
247
|
+
expect(enabled.inlineSections.join('\n')).toContain(getScriptPrimaryToolsAddendum());
|
|
248
|
+
expect(enabled.inlineSections.join('\n')).not.toContain(getDirectEditorToolsAddendum());
|
|
249
|
+
expect(disabled.inlineSections.join('\n')).toContain(getDirectEditorToolsAddendum());
|
|
250
|
+
expect(disabled.inlineSections.join('\n')).not.toContain(getScriptPrimaryToolsAddendum());
|
|
251
|
+
});
|
|
252
|
+
|
|
96
253
|
it('buildPromptSpec ships the approval mechanism to every non-lite profile', () => {
|
|
97
254
|
for (const model of ['gpt-5.6-sol', 'gpt-5.5', 'gpt-5.4', 'gpt-4o', 'claude-opus-4', 'kimi-k2']) {
|
|
98
255
|
const spec = buildPromptSpec({ model, profile: profile('builtin:standard') });
|
|
@@ -168,9 +325,10 @@ it('buildPromptSpec uses lite base and skips worktree-hygiene fragment in lite m
|
|
|
168
325
|
expect(lite.basePromptFile).toBeUndefined();
|
|
169
326
|
expect(lite.basePromptContent).toBeTruthy();
|
|
170
327
|
expect(lite.fragmentFiles.includes('worktree-hygiene.md')).toBe(false);
|
|
171
|
-
// Shell sandbox
|
|
172
|
-
expect(lite.inlineSections.length).toBe(
|
|
328
|
+
// Shell sandbox plus tool-surface routing are added inline in lite mode.
|
|
329
|
+
expect(lite.inlineSections.length).toBe(2);
|
|
173
330
|
expect(lite.inlineSections[0]).toContain('## Shell Sandbox');
|
|
331
|
+
expect(lite.inlineSections[1]).toContain('## File, search, and edit tools');
|
|
174
332
|
});
|
|
175
333
|
|
|
176
334
|
it('buildPromptSpec excludes shell-sandbox when sandbox is disabled', () => {
|
|
@@ -193,7 +351,7 @@ it('buildPromptSpec tells the model to wait for background shell completion inst
|
|
|
193
351
|
|
|
194
352
|
expect(guidance).toContain('Background shell jobs');
|
|
195
353
|
expect(guidance).toContain('`background: true`');
|
|
196
|
-
expect(guidance).toContain('
|
|
354
|
+
expect(guidance).toContain('do NOT call `tools.get_shell_job(...)` as a polling loop');
|
|
197
355
|
expect(guidance.toLowerCase()).toContain('end the current turn and wait for the automatic completion notification');
|
|
198
356
|
expect(guidance.toLowerCase()).toContain('do not run `sleep` merely to wait');
|
|
199
357
|
});
|
|
@@ -211,7 +369,7 @@ it('memory.md fragment keeps the index omission contract', () => {
|
|
|
211
369
|
const fragment = readFileSync(join(import.meta.dirname, 'memory.md'), 'utf8');
|
|
212
370
|
|
|
213
371
|
expect(fragment).toContain('a listed memory without a summary had it omitted for budget');
|
|
214
|
-
expect(fragment).toContain('read it with memory_get before treating it as irrelevant');
|
|
372
|
+
expect(fragment).toContain('read it with `tools.memory_get(...)` before treating it as irrelevant');
|
|
215
373
|
expect(fragment).not.toContain('Only a concise index is loaded initially');
|
|
216
374
|
});
|
|
217
375
|
|
|
@@ -244,7 +402,7 @@ it('buildPromptSpec tells orchestrators to trust successful delegation and wait
|
|
|
244
402
|
expect(guidance).toContain('Do not duplicate or independently perform the delegated unit');
|
|
245
403
|
expect(guidance.toLowerCase()).toContain('end the current turn and wait for the completion notification');
|
|
246
404
|
expect(guidance).toContain('inlines the full result so you can continue directly');
|
|
247
|
-
expect(guidance).toContain('
|
|
405
|
+
expect(guidance).toContain('do NOT call `tools.get_subagent_result(...)` immediately');
|
|
248
406
|
expect(guidance).toContain('Active runs are refused rather than awaited');
|
|
249
407
|
expect(guidance).not.toContain('Use `run_subagent` only');
|
|
250
408
|
});
|
|
@@ -266,3 +424,18 @@ it('buildPromptSpec excludes async subagent guidance when disabled', () => {
|
|
|
266
424
|
});
|
|
267
425
|
expect(spec.inlineSections.some((s) => s.includes('Asynchronous subagents'))).toBe(false);
|
|
268
426
|
});
|
|
427
|
+
|
|
428
|
+
it('background shell addendum teaches explicit finite timeouts for long-lived work', () => {
|
|
429
|
+
const spec = buildPromptSpec({
|
|
430
|
+
model: 'gpt-4o',
|
|
431
|
+
profile: profile('builtin:standard'),
|
|
432
|
+
backgroundShellEnabled: true,
|
|
433
|
+
});
|
|
434
|
+
const guidance = spec.inlineSections.join('\n');
|
|
435
|
+
|
|
436
|
+
expect(guidance).toContain('must pass an explicit finite `timeout_ms`');
|
|
437
|
+
expect(guidance).toContain('two hours for a watcher');
|
|
438
|
+
expect(guidance).toContain('15 minutes for a full-suite gate');
|
|
439
|
+
expect(guidance).toContain('never detach a job with nohup to escape the registry');
|
|
440
|
+
expect(guidance).toContain('Attach `monitor` in the same launch call');
|
|
441
|
+
});
|
|
@@ -5,6 +5,7 @@ import { getSearchViaShellAddendum } from './search-via-shell.js';
|
|
|
5
5
|
import { getSubagentDelegationAddendum } from './subagent-delegation.js';
|
|
6
6
|
import { getShellSandboxAddendum } from './shell-sandbox.js';
|
|
7
7
|
import { getBackgroundShellAddendum } from './background-shell.js';
|
|
8
|
+
import { getDirectEditorToolsAddendum, getScriptPrimaryToolsAddendum } from './tool-surface-guidance.js';
|
|
8
9
|
|
|
9
10
|
export type PromptConstructorOptions = {
|
|
10
11
|
model: string;
|
|
@@ -21,6 +22,8 @@ export type PromptConstructorOptions = {
|
|
|
21
22
|
memoryGuidance?: string;
|
|
22
23
|
sessionBrowserEnabled?: boolean;
|
|
23
24
|
executionContext?: ExecutionContext;
|
|
25
|
+
/** Same effective-shell gate that registers run_code. */
|
|
26
|
+
runCodeEnabled?: boolean;
|
|
24
27
|
};
|
|
25
28
|
|
|
26
29
|
export type PromptSpec = {
|
|
@@ -49,6 +52,7 @@ export function buildPromptSpec(options: PromptConstructorOptions): PromptSpec {
|
|
|
49
52
|
memoryGuidance = '',
|
|
50
53
|
sessionBrowserEnabled = false,
|
|
51
54
|
executionContext,
|
|
55
|
+
runCodeEnabled = false,
|
|
52
56
|
} = options;
|
|
53
57
|
|
|
54
58
|
const liteMode = isLiteProfile(profile);
|
|
@@ -56,7 +60,7 @@ export function buildPromptSpec(options: PromptConstructorOptions): PromptSpec {
|
|
|
56
60
|
// Their full workflows ride on the next user turn so rebuilding the agent does
|
|
57
61
|
// not invalidate the provider's instruction prefix.
|
|
58
62
|
const promptProfile = selectPromptProfile({ model, liteMode: false });
|
|
59
|
-
const fragmentFiles = [...(promptProfile.fragmentFiles ?? [])];
|
|
63
|
+
const fragmentFiles = liteMode ? [] : [...(promptProfile.fragmentFiles ?? [])];
|
|
60
64
|
const inlineSections: string[] = [];
|
|
61
65
|
|
|
62
66
|
const isRegularMode = !liteMode;
|
|
@@ -120,6 +124,8 @@ export function buildPromptSpec(options: PromptConstructorOptions): PromptSpec {
|
|
|
120
124
|
inlineSections.push(memoryGuidance);
|
|
121
125
|
}
|
|
122
126
|
|
|
127
|
+
inlineSections.push(runCodeEnabled ? getScriptPrimaryToolsAddendum() : getDirectEditorToolsAddendum());
|
|
128
|
+
|
|
123
129
|
return {
|
|
124
130
|
...(liteMode
|
|
125
131
|
? {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"prompt-profiles.d.ts","sourceRoot":"","sources":["../../source/prompts/prompt-profiles.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,aAAa,GAAG;IAC1B,EAAE,EAAE,MAAM,CAAC;IACX,cAAc,EAAE,MAAM,CAAC;IACvB,aAAa,CAAC,EAAE,MAAM,EAAE,CAAC;IACzB,OAAO,EAAE,CAAC,OAAO,EAAE;QAAE,eAAe,EAAE,MAAM,CAAC;QAAC,QAAQ,EAAE,OAAO,CAAA;KAAE,KAAK,OAAO,CAAC;CAC/E,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,aAAa,
|
|
1
|
+
{"version":3,"file":"prompt-profiles.d.ts","sourceRoot":"","sources":["../../source/prompts/prompt-profiles.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,aAAa,GAAG;IAC1B,EAAE,EAAE,MAAM,CAAC;IACX,cAAc,EAAE,MAAM,CAAC;IACvB,aAAa,CAAC,EAAE,MAAM,EAAE,CAAC;IACzB,OAAO,EAAE,CAAC,OAAO,EAAE;QAAE,eAAe,EAAE,MAAM,CAAC;QAAC,QAAQ,EAAE,OAAO,CAAA;KAAE,KAAK,OAAO,CAAC;CAC/E,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,aAAa,EA+D1C,CAAC;AAEF,wBAAgB,mBAAmB,CAAC,EAAE,KAAK,EAAE,QAAQ,EAAE,EAAE;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,QAAQ,EAAE,OAAO,CAAA;CAAE,GAAG,aAAa,CAG5G"}
|
|
@@ -4,6 +4,12 @@ export const PROMPT_PROFILES = [
|
|
|
4
4
|
basePromptFile: 'lite.md',
|
|
5
5
|
matches: ({ liteMode }) => liteMode,
|
|
6
6
|
},
|
|
7
|
+
{
|
|
8
|
+
id: 'gpt-6-astra',
|
|
9
|
+
basePromptFile: 'gpt-5.6.md',
|
|
10
|
+
fragmentFiles: ['fragments/gpt-6-astra.md'],
|
|
11
|
+
matches: ({ normalizedModel }) => normalizedModel.includes('gpt-6-astra'),
|
|
12
|
+
},
|
|
7
13
|
{
|
|
8
14
|
id: 'anthropic',
|
|
9
15
|
basePromptFile: 'anthropic.md',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"prompt-profiles.js","sourceRoot":"","sources":["../../source/prompts/prompt-profiles.ts"],"names":[],"mappings":"AAOA,MAAM,CAAC,MAAM,eAAe,GAAoB;IAC9C;QACE,EAAE,EAAE,MAAM;QACV,cAAc,EAAE,SAAS;QACzB,OAAO,EAAE,CAAC,EAAE,QAAQ,EAAE,EAAE,EAAE,CAAC,QAAQ;KACpC;IACD;QACE,EAAE,EAAE,WAAW;QACf,cAAc,EAAE,cAAc;QAC9B,OAAO,EAAE,CAAC,EAAE,eAAe,EAAE,EAAE,EAAE,CAAC,eAAe,CAAC,QAAQ,CAAC,QAAQ,CAAC,IAAI,eAAe,CAAC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