@nervekit/orchestrator 0.1.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/LICENSE +201 -0
- package/NOTICE +5 -0
- package/dist/agent-process.d.ts +32 -0
- package/dist/agent-process.d.ts.map +1 -0
- package/dist/agent-process.js +129 -0
- package/dist/agent-process.js.map +1 -0
- package/dist/agent-runner/agent-runner.d.ts +65 -0
- package/dist/agent-runner/agent-runner.d.ts.map +1 -0
- package/dist/agent-runner/agent-runner.js +802 -0
- package/dist/agent-runner/agent-runner.js.map +1 -0
- package/dist/agent-runner/index.d.ts +6 -0
- package/dist/agent-runner/index.d.ts.map +1 -0
- package/dist/agent-runner/index.js +4 -0
- package/dist/agent-runner/index.js.map +1 -0
- package/dist/agent-runner/message-mirror.d.ts +44 -0
- package/dist/agent-runner/message-mirror.d.ts.map +1 -0
- package/dist/agent-runner/message-mirror.js +154 -0
- package/dist/agent-runner/message-mirror.js.map +1 -0
- package/dist/agent-runner/run-state.d.ts +12 -0
- package/dist/agent-runner/run-state.d.ts.map +1 -0
- package/dist/agent-runner/run-state.js +2 -0
- package/dist/agent-runner/run-state.js.map +1 -0
- package/dist/agent-runner/subagent-runner.d.ts +29 -0
- package/dist/agent-runner/subagent-runner.d.ts.map +1 -0
- package/dist/agent-runner/subagent-runner.js +84 -0
- package/dist/agent-runner/subagent-runner.js.map +1 -0
- package/dist/agent-runner/system-prompt-builder.d.ts +19 -0
- package/dist/agent-runner/system-prompt-builder.d.ts.map +1 -0
- package/dist/agent-runner/system-prompt-builder.js +35 -0
- package/dist/agent-runner/system-prompt-builder.js.map +1 -0
- package/dist/agent-runner/tool-draft-streaming.d.ts +2 -0
- package/dist/agent-runner/tool-draft-streaming.d.ts.map +1 -0
- package/dist/agent-runner/tool-draft-streaming.js +5 -0
- package/dist/agent-runner/tool-draft-streaming.js.map +1 -0
- package/dist/agent-suspension-service.d.ts +44 -0
- package/dist/agent-suspension-service.d.ts.map +1 -0
- package/dist/agent-suspension-service.js +96 -0
- package/dist/agent-suspension-service.js.map +1 -0
- package/dist/agent-tool-adapter.d.ts +20 -0
- package/dist/agent-tool-adapter.d.ts.map +1 -0
- package/dist/agent-tool-adapter.js +215 -0
- package/dist/agent-tool-adapter.js.map +1 -0
- package/dist/agents/agent-authority.d.ts +5 -0
- package/dist/agents/agent-authority.d.ts.map +1 -0
- package/dist/agents/agent-authority.js +28 -0
- package/dist/agents/agent-authority.js.map +1 -0
- package/dist/agents/agent-budget.d.ts +3 -0
- package/dist/agents/agent-budget.d.ts.map +1 -0
- package/dist/agents/agent-budget.js +17 -0
- package/dist/agents/agent-budget.js.map +1 -0
- package/dist/agents/agent-status.d.ts +4 -0
- package/dist/agents/agent-status.d.ts.map +1 -0
- package/dist/agents/agent-status.js +10 -0
- package/dist/agents/agent-status.js.map +1 -0
- package/dist/auth.d.ts +30 -0
- package/dist/auth.d.ts.map +1 -0
- package/dist/auth.js +158 -0
- package/dist/auth.js.map +1 -0
- package/dist/conversation-operations/compaction-service.d.ts +37 -0
- package/dist/conversation-operations/compaction-service.d.ts.map +1 -0
- package/dist/conversation-operations/compaction-service.js +102 -0
- package/dist/conversation-operations/compaction-service.js.map +1 -0
- package/dist/conversation-operations/export-service.d.ts +22 -0
- package/dist/conversation-operations/export-service.d.ts.map +1 -0
- package/dist/conversation-operations/export-service.js +79 -0
- package/dist/conversation-operations/export-service.js.map +1 -0
- package/dist/conversation-operations/import-service.d.ts +20 -0
- package/dist/conversation-operations/import-service.d.ts.map +1 -0
- package/dist/conversation-operations/import-service.js +97 -0
- package/dist/conversation-operations/import-service.js.map +1 -0
- package/dist/conversation-operations/index.d.ts +8 -0
- package/dist/conversation-operations/index.d.ts.map +1 -0
- package/dist/conversation-operations/index.js +6 -0
- package/dist/conversation-operations/index.js.map +1 -0
- package/dist/conversation-operations/navigation-service.d.ts +18 -0
- package/dist/conversation-operations/navigation-service.d.ts.map +1 -0
- package/dist/conversation-operations/navigation-service.js +102 -0
- package/dist/conversation-operations/navigation-service.js.map +1 -0
- package/dist/conversation-operations/summary.d.ts +11 -0
- package/dist/conversation-operations/summary.d.ts.map +1 -0
- package/dist/conversation-operations/summary.js +29 -0
- package/dist/conversation-operations/summary.js.map +1 -0
- package/dist/conversation-runtime.d.ts +96 -0
- package/dist/conversation-runtime.d.ts.map +1 -0
- package/dist/conversation-runtime.js +363 -0
- package/dist/conversation-runtime.js.map +1 -0
- package/dist/conversation-service.d.ts +17 -0
- package/dist/conversation-service.d.ts.map +1 -0
- package/dist/conversation-service.js +56 -0
- package/dist/conversation-service.js.map +1 -0
- package/dist/credential-crypto.d.ts +19 -0
- package/dist/credential-crypto.d.ts.map +1 -0
- package/dist/credential-crypto.js +75 -0
- package/dist/credential-crypto.js.map +1 -0
- package/dist/domains/agents/agent-authority.d.ts +5 -0
- package/dist/domains/agents/agent-authority.d.ts.map +1 -0
- package/dist/domains/agents/agent-authority.js +28 -0
- package/dist/domains/agents/agent-authority.js.map +1 -0
- package/dist/domains/agents/agent-budget.d.ts +3 -0
- package/dist/domains/agents/agent-budget.d.ts.map +1 -0
- package/dist/domains/agents/agent-budget.js +17 -0
- package/dist/domains/agents/agent-budget.js.map +1 -0
- package/dist/domains/agents/agent-lifecycle.service.d.ts +37 -0
- package/dist/domains/agents/agent-lifecycle.service.d.ts.map +1 -0
- package/dist/domains/agents/agent-lifecycle.service.js +241 -0
- package/dist/domains/agents/agent-lifecycle.service.js.map +1 -0
- package/dist/domains/agents/agent-status.d.ts +4 -0
- package/dist/domains/agents/agent-status.d.ts.map +1 -0
- package/dist/domains/agents/agent-status.js +10 -0
- package/dist/domains/agents/agent-status.js.map +1 -0
- package/dist/domains/agents/agent-suspension.service.d.ts +44 -0
- package/dist/domains/agents/agent-suspension.service.d.ts.map +1 -0
- package/dist/domains/agents/agent-suspension.service.js +96 -0
- package/dist/domains/agents/agent-suspension.service.js.map +1 -0
- package/dist/domains/agents/agent.repository.d.ts +12 -0
- package/dist/domains/agents/agent.repository.d.ts.map +1 -0
- package/dist/domains/agents/agent.repository.js +33 -0
- package/dist/domains/agents/agent.repository.js.map +1 -0
- package/dist/domains/agents/index.d.ts +6 -0
- package/dist/domains/agents/index.d.ts.map +1 -0
- package/dist/domains/agents/index.js +6 -0
- package/dist/domains/agents/index.js.map +1 -0
- package/dist/domains/agents/prompt-queue.repository.d.ts +28 -0
- package/dist/domains/agents/prompt-queue.repository.d.ts.map +1 -0
- package/dist/domains/agents/prompt-queue.repository.js +88 -0
- package/dist/domains/agents/prompt-queue.repository.js.map +1 -0
- package/dist/domains/agents/queued-prompt.service.d.ts +16 -0
- package/dist/domains/agents/queued-prompt.service.d.ts.map +1 -0
- package/dist/domains/agents/queued-prompt.service.js +30 -0
- package/dist/domains/agents/queued-prompt.service.js.map +1 -0
- package/dist/domains/agents/retry-continuation.service.d.ts +14 -0
- package/dist/domains/agents/retry-continuation.service.d.ts.map +1 -0
- package/dist/domains/agents/retry-continuation.service.js +75 -0
- package/dist/domains/agents/retry-continuation.service.js.map +1 -0
- package/dist/domains/agents/run/agent-run-session.d.ts +6 -0
- package/dist/domains/agents/run/agent-run-session.d.ts.map +1 -0
- package/dist/domains/agents/run/agent-run-session.js +587 -0
- package/dist/domains/agents/run/agent-run-session.js.map +1 -0
- package/dist/domains/agents/run/agent-runner-shared.d.ts +19 -0
- package/dist/domains/agents/run/agent-runner-shared.d.ts.map +1 -0
- package/dist/domains/agents/run/agent-runner-shared.js +58 -0
- package/dist/domains/agents/run/agent-runner-shared.js.map +1 -0
- package/dist/domains/agents/run/agent-runner.d.ts +119 -0
- package/dist/domains/agents/run/agent-runner.d.ts.map +1 -0
- package/dist/domains/agents/run/agent-runner.js +515 -0
- package/dist/domains/agents/run/agent-runner.js.map +1 -0
- package/dist/domains/agents/run/explore-helpers.d.ts +32 -0
- package/dist/domains/agents/run/explore-helpers.d.ts.map +1 -0
- package/dist/domains/agents/run/explore-helpers.js +431 -0
- package/dist/domains/agents/run/explore-helpers.js.map +1 -0
- package/dist/domains/agents/run/index.d.ts +6 -0
- package/dist/domains/agents/run/index.d.ts.map +1 -0
- package/dist/domains/agents/run/index.js +4 -0
- package/dist/domains/agents/run/index.js.map +1 -0
- package/dist/domains/agents/run/interrupted-run-recovery.d.ts +21 -0
- package/dist/domains/agents/run/interrupted-run-recovery.d.ts.map +1 -0
- package/dist/domains/agents/run/interrupted-run-recovery.js +94 -0
- package/dist/domains/agents/run/interrupted-run-recovery.js.map +1 -0
- package/dist/domains/agents/run/live-tool-draft-reconciliation.d.ts +32 -0
- package/dist/domains/agents/run/live-tool-draft-reconciliation.d.ts.map +1 -0
- package/dist/domains/agents/run/live-tool-draft-reconciliation.js +72 -0
- package/dist/domains/agents/run/live-tool-draft-reconciliation.js.map +1 -0
- package/dist/domains/agents/run/message-mirror.d.ts +44 -0
- package/dist/domains/agents/run/message-mirror.d.ts.map +1 -0
- package/dist/domains/agents/run/message-mirror.js +179 -0
- package/dist/domains/agents/run/message-mirror.js.map +1 -0
- package/dist/domains/agents/run/run-state.d.ts +28 -0
- package/dist/domains/agents/run/run-state.d.ts.map +1 -0
- package/dist/domains/agents/run/run-state.js +2 -0
- package/dist/domains/agents/run/run-state.js.map +1 -0
- package/dist/domains/agents/run/subagent-runner.d.ts +104 -0
- package/dist/domains/agents/run/subagent-runner.d.ts.map +1 -0
- package/dist/domains/agents/run/subagent-runner.js +374 -0
- package/dist/domains/agents/run/subagent-runner.js.map +1 -0
- package/dist/domains/agents/run/system-prompt-builder.d.ts +19 -0
- package/dist/domains/agents/run/system-prompt-builder.d.ts.map +1 -0
- package/dist/domains/agents/run/system-prompt-builder.js +39 -0
- package/dist/domains/agents/run/system-prompt-builder.js.map +1 -0
- package/dist/domains/agents/run/tool-draft-progress.d.ts +47 -0
- package/dist/domains/agents/run/tool-draft-progress.d.ts.map +1 -0
- package/dist/domains/agents/run/tool-draft-progress.js +438 -0
- package/dist/domains/agents/run/tool-draft-progress.js.map +1 -0
- package/dist/domains/agents/run/tool-draft-streaming.d.ts +3 -0
- package/dist/domains/agents/run/tool-draft-streaming.d.ts.map +1 -0
- package/dist/domains/agents/run/tool-draft-streaming.js +13 -0
- package/dist/domains/agents/run/tool-draft-streaming.js.map +1 -0
- package/dist/domains/completions/file-completion-candidates.d.ts +13 -0
- package/dist/domains/completions/file-completion-candidates.d.ts.map +1 -0
- package/dist/domains/completions/file-completion-candidates.js +208 -0
- package/dist/domains/completions/file-completion-candidates.js.map +1 -0
- package/dist/domains/completions/file-completion-ranking.d.ts +19 -0
- package/dist/domains/completions/file-completion-ranking.d.ts.map +1 -0
- package/dist/domains/completions/file-completion-ranking.js +350 -0
- package/dist/domains/completions/file-completion-ranking.js.map +1 -0
- package/dist/domains/completions/file-completion-service.d.ts +11 -0
- package/dist/domains/completions/file-completion-service.d.ts.map +1 -0
- package/dist/domains/completions/file-completion-service.js +60 -0
- package/dist/domains/completions/file-completion-service.js.map +1 -0
- package/dist/domains/completions/index.d.ts +4 -0
- package/dist/domains/completions/index.d.ts.map +1 -0
- package/dist/domains/completions/index.js +4 -0
- package/dist/domains/completions/index.js.map +1 -0
- package/dist/domains/conversations/conversation-lifecycle.service.d.ts +32 -0
- package/dist/domains/conversations/conversation-lifecycle.service.d.ts.map +1 -0
- package/dist/domains/conversations/conversation-lifecycle.service.js +139 -0
- package/dist/domains/conversations/conversation-lifecycle.service.js.map +1 -0
- package/dist/domains/conversations/conversation-query.service.d.ts +19 -0
- package/dist/domains/conversations/conversation-query.service.d.ts.map +1 -0
- package/dist/domains/conversations/conversation-query.service.js +76 -0
- package/dist/domains/conversations/conversation-query.service.js.map +1 -0
- package/dist/domains/conversations/conversation-runtime.d.ts +112 -0
- package/dist/domains/conversations/conversation-runtime.d.ts.map +1 -0
- package/dist/domains/conversations/conversation-runtime.js +417 -0
- package/dist/domains/conversations/conversation-runtime.js.map +1 -0
- package/dist/domains/conversations/conversation-service.d.ts +17 -0
- package/dist/domains/conversations/conversation-service.d.ts.map +1 -0
- package/dist/domains/conversations/conversation-service.js +56 -0
- package/dist/domains/conversations/conversation-service.js.map +1 -0
- package/dist/domains/conversations/conversation.repository.d.ts +13 -0
- package/dist/domains/conversations/conversation.repository.d.ts.map +1 -0
- package/dist/domains/conversations/conversation.repository.js +39 -0
- package/dist/domains/conversations/conversation.repository.js.map +1 -0
- package/dist/domains/conversations/entry.repository.d.ts +15 -0
- package/dist/domains/conversations/entry.repository.d.ts.map +1 -0
- package/dist/domains/conversations/entry.repository.js +81 -0
- package/dist/domains/conversations/entry.repository.js.map +1 -0
- package/dist/domains/conversations/harness-manager.d.ts +29 -0
- package/dist/domains/conversations/harness-manager.d.ts.map +1 -0
- package/dist/domains/conversations/harness-manager.js +129 -0
- package/dist/domains/conversations/harness-manager.js.map +1 -0
- package/dist/domains/conversations/index.d.ts +5 -0
- package/dist/domains/conversations/index.d.ts.map +1 -0
- package/dist/domains/conversations/index.js +5 -0
- package/dist/domains/conversations/index.js.map +1 -0
- package/dist/domains/conversations/operations/compaction-service.d.ts +63 -0
- package/dist/domains/conversations/operations/compaction-service.d.ts.map +1 -0
- package/dist/domains/conversations/operations/compaction-service.js +200 -0
- package/dist/domains/conversations/operations/compaction-service.js.map +1 -0
- package/dist/domains/conversations/operations/export-service.d.ts +22 -0
- package/dist/domains/conversations/operations/export-service.d.ts.map +1 -0
- package/dist/domains/conversations/operations/export-service.js +79 -0
- package/dist/domains/conversations/operations/export-service.js.map +1 -0
- package/dist/domains/conversations/operations/import-service.d.ts +20 -0
- package/dist/domains/conversations/operations/import-service.d.ts.map +1 -0
- package/dist/domains/conversations/operations/import-service.js +97 -0
- package/dist/domains/conversations/operations/import-service.js.map +1 -0
- package/dist/domains/conversations/operations/index.d.ts +8 -0
- package/dist/domains/conversations/operations/index.d.ts.map +1 -0
- package/dist/domains/conversations/operations/index.js +6 -0
- package/dist/domains/conversations/operations/index.js.map +1 -0
- package/dist/domains/conversations/operations/navigation-service.d.ts +18 -0
- package/dist/domains/conversations/operations/navigation-service.d.ts.map +1 -0
- package/dist/domains/conversations/operations/navigation-service.js +102 -0
- package/dist/domains/conversations/operations/navigation-service.js.map +1 -0
- package/dist/domains/conversations/operations/summary.d.ts +11 -0
- package/dist/domains/conversations/operations/summary.d.ts.map +1 -0
- package/dist/domains/conversations/operations/summary.js +29 -0
- package/dist/domains/conversations/operations/summary.js.map +1 -0
- package/dist/domains/git/git-branches.d.ts +12 -0
- package/dist/domains/git/git-branches.d.ts.map +1 -0
- package/dist/domains/git/git-branches.js +131 -0
- package/dist/domains/git/git-branches.js.map +1 -0
- package/dist/domains/git/git-command.d.ts +13 -0
- package/dist/domains/git/git-command.d.ts.map +1 -0
- package/dist/domains/git/git-command.js +38 -0
- package/dist/domains/git/git-command.js.map +1 -0
- package/dist/domains/git/git-github-parsers.d.ts +12 -0
- package/dist/domains/git/git-github-parsers.d.ts.map +1 -0
- package/dist/domains/git/git-github-parsers.js +82 -0
- package/dist/domains/git/git-github-parsers.js.map +1 -0
- package/dist/domains/git/git-github-service.d.ts +30 -0
- package/dist/domains/git/git-github-service.d.ts.map +1 -0
- package/dist/domains/git/git-github-service.js +171 -0
- package/dist/domains/git/git-github-service.js.map +1 -0
- package/dist/domains/git/git-service.d.ts +53 -0
- package/dist/domains/git/git-service.d.ts.map +1 -0
- package/dist/domains/git/git-service.js +440 -0
- package/dist/domains/git/git-service.js.map +1 -0
- package/dist/domains/git/git-status.d.ts +24 -0
- package/dist/domains/git/git-status.d.ts.map +1 -0
- package/dist/domains/git/git-status.js +133 -0
- package/dist/domains/git/git-status.js.map +1 -0
- package/dist/domains/human-input/human-input-resolution.service.d.ts +47 -0
- package/dist/domains/human-input/human-input-resolution.service.d.ts.map +1 -0
- package/dist/domains/human-input/human-input-resolution.service.js +305 -0
- package/dist/domains/human-input/human-input-resolution.service.js.map +1 -0
- package/dist/domains/human-input/index.d.ts +3 -0
- package/dist/domains/human-input/index.d.ts.map +1 -0
- package/dist/domains/human-input/index.js +2 -0
- package/dist/domains/human-input/index.js.map +1 -0
- package/dist/domains/pinned-commands/index.d.ts +3 -0
- package/dist/domains/pinned-commands/index.d.ts.map +1 -0
- package/dist/domains/pinned-commands/index.js +3 -0
- package/dist/domains/pinned-commands/index.js.map +1 -0
- package/dist/domains/pinned-commands/pinned-command.repository.d.ts +10 -0
- package/dist/domains/pinned-commands/pinned-command.repository.d.ts.map +1 -0
- package/dist/domains/pinned-commands/pinned-command.repository.js +28 -0
- package/dist/domains/pinned-commands/pinned-command.repository.js.map +1 -0
- package/dist/domains/pinned-commands/pinned-command.service.d.ts +11 -0
- package/dist/domains/pinned-commands/pinned-command.service.d.ts.map +1 -0
- package/dist/domains/pinned-commands/pinned-command.service.js +40 -0
- package/dist/domains/pinned-commands/pinned-command.service.js.map +1 -0
- package/dist/domains/plans/plan-paths.d.ts +6 -0
- package/dist/domains/plans/plan-paths.d.ts.map +1 -0
- package/dist/domains/plans/plan-paths.js +30 -0
- package/dist/domains/plans/plan-paths.js.map +1 -0
- package/dist/domains/plans/plan-service.d.ts +62 -0
- package/dist/domains/plans/plan-service.d.ts.map +1 -0
- package/dist/domains/plans/plan-service.js +266 -0
- package/dist/domains/plans/plan-service.js.map +1 -0
- package/dist/domains/processes/index.d.ts +10 -0
- package/dist/domains/processes/index.d.ts.map +1 -0
- package/dist/domains/processes/index.js +7 -0
- package/dist/domains/processes/index.js.map +1 -0
- package/dist/domains/processes/process-launch-config.store.d.ts +21 -0
- package/dist/domains/processes/process-launch-config.store.d.ts.map +1 -0
- package/dist/domains/processes/process-launch-config.store.js +49 -0
- package/dist/domains/processes/process-launch-config.store.js.map +1 -0
- package/dist/domains/processes/process-log.service.d.ts +25 -0
- package/dist/domains/processes/process-log.service.d.ts.map +1 -0
- package/dist/domains/processes/process-log.service.js +155 -0
- package/dist/domains/processes/process-log.service.js.map +1 -0
- package/dist/domains/processes/process-manager.d.ts +107 -0
- package/dist/domains/processes/process-manager.d.ts.map +1 -0
- package/dist/domains/processes/process-manager.js +814 -0
- package/dist/domains/processes/process-manager.js.map +1 -0
- package/dist/domains/processes/process-readiness.service.d.ts +7 -0
- package/dist/domains/processes/process-readiness.service.d.ts.map +1 -0
- package/dist/domains/processes/process-readiness.service.js +26 -0
- package/dist/domains/processes/process-readiness.service.js.map +1 -0
- package/dist/domains/processes/process-status.d.ts +5 -0
- package/dist/domains/processes/process-status.d.ts.map +1 -0
- package/dist/domains/processes/process-status.js +13 -0
- package/dist/domains/processes/process-status.js.map +1 -0
- package/dist/domains/processes/process-supervisor.d.ts +34 -0
- package/dist/domains/processes/process-supervisor.d.ts.map +1 -0
- package/dist/domains/processes/process-supervisor.js +211 -0
- package/dist/domains/processes/process-supervisor.js.map +1 -0
- package/dist/domains/processes/process.repository.d.ts +11 -0
- package/dist/domains/processes/process.repository.d.ts.map +1 -0
- package/dist/domains/processes/process.repository.js +31 -0
- package/dist/domains/processes/process.repository.js.map +1 -0
- package/dist/domains/projects/index.d.ts +5 -0
- package/dist/domains/projects/index.d.ts.map +1 -0
- package/dist/domains/projects/index.js +5 -0
- package/dist/domains/projects/index.js.map +1 -0
- package/dist/domains/projects/project-editor.service.d.ts +20 -0
- package/dist/domains/projects/project-editor.service.d.ts.map +1 -0
- package/dist/domains/projects/project-editor.service.js +240 -0
- package/dist/domains/projects/project-editor.service.js.map +1 -0
- package/dist/domains/projects/project.repository.d.ts +12 -0
- package/dist/domains/projects/project.repository.d.ts.map +1 -0
- package/dist/domains/projects/project.repository.js +33 -0
- package/dist/domains/projects/project.repository.js.map +1 -0
- package/dist/domains/projects/project.service.d.ts +22 -0
- package/dist/domains/projects/project.service.d.ts.map +1 -0
- package/dist/domains/projects/project.service.js +83 -0
- package/dist/domains/projects/project.service.js.map +1 -0
- package/dist/domains/projects/prune-conversations.service.d.ts +39 -0
- package/dist/domains/projects/prune-conversations.service.d.ts.map +1 -0
- package/dist/domains/projects/prune-conversations.service.js +91 -0
- package/dist/domains/projects/prune-conversations.service.js.map +1 -0
- package/dist/domains/providers/index.d.ts +2 -0
- package/dist/domains/providers/index.d.ts.map +1 -0
- package/dist/domains/providers/index.js +2 -0
- package/dist/domains/providers/index.js.map +1 -0
- package/dist/domains/providers/provider-catalog.store.d.ts +30 -0
- package/dist/domains/providers/provider-catalog.store.d.ts.map +1 -0
- package/dist/domains/providers/provider-catalog.store.js +109 -0
- package/dist/domains/providers/provider-catalog.store.js.map +1 -0
- package/dist/domains/runtime/python-runtime-service.d.ts +15 -0
- package/dist/domains/runtime/python-runtime-service.d.ts.map +1 -0
- package/dist/domains/runtime/python-runtime-service.js +65 -0
- package/dist/domains/runtime/python-runtime-service.js.map +1 -0
- package/dist/domains/storage/index.d.ts +2 -0
- package/dist/domains/storage/index.d.ts.map +1 -0
- package/dist/domains/storage/index.js +2 -0
- package/dist/domains/storage/index.js.map +1 -0
- package/dist/domains/storage/storage-usage.service.d.ts +39 -0
- package/dist/domains/storage/storage-usage.service.d.ts.map +1 -0
- package/dist/domains/storage/storage-usage.service.js +394 -0
- package/dist/domains/storage/storage-usage.service.js.map +1 -0
- package/dist/domains/tasks/index.d.ts +11 -0
- package/dist/domains/tasks/index.d.ts.map +1 -0
- package/dist/domains/tasks/index.js +8 -0
- package/dist/domains/tasks/index.js.map +1 -0
- package/dist/domains/tasks/task-completion.service.d.ts +31 -0
- package/dist/domains/tasks/task-completion.service.d.ts.map +1 -0
- package/dist/domains/tasks/task-completion.service.js +147 -0
- package/dist/domains/tasks/task-completion.service.js.map +1 -0
- package/dist/domains/tasks/task-launch-config.store.d.ts +21 -0
- package/dist/domains/tasks/task-launch-config.store.d.ts.map +1 -0
- package/dist/domains/tasks/task-launch-config.store.js +49 -0
- package/dist/domains/tasks/task-launch-config.store.js.map +1 -0
- package/dist/domains/tasks/task-legacy-migration.d.ts +15 -0
- package/dist/domains/tasks/task-legacy-migration.d.ts.map +1 -0
- package/dist/domains/tasks/task-legacy-migration.js +191 -0
- package/dist/domains/tasks/task-legacy-migration.js.map +1 -0
- package/dist/domains/tasks/task-log.service.d.ts +25 -0
- package/dist/domains/tasks/task-log.service.d.ts.map +1 -0
- package/dist/domains/tasks/task-log.service.js +169 -0
- package/dist/domains/tasks/task-log.service.js.map +1 -0
- package/dist/domains/tasks/task-manager-finalization.d.ts +8 -0
- package/dist/domains/tasks/task-manager-finalization.d.ts.map +1 -0
- package/dist/domains/tasks/task-manager-finalization.js +164 -0
- package/dist/domains/tasks/task-manager-finalization.js.map +1 -0
- package/dist/domains/tasks/task-manager-foreground.d.ts +5 -0
- package/dist/domains/tasks/task-manager-foreground.d.ts.map +1 -0
- package/dist/domains/tasks/task-manager-foreground.js +146 -0
- package/dist/domains/tasks/task-manager-foreground.js.map +1 -0
- package/dist/domains/tasks/task-manager-orphan.d.ts +14 -0
- package/dist/domains/tasks/task-manager-orphan.d.ts.map +1 -0
- package/dist/domains/tasks/task-manager-orphan.js +241 -0
- package/dist/domains/tasks/task-manager-orphan.js.map +1 -0
- package/dist/domains/tasks/task-manager-output-readiness.d.ts +17 -0
- package/dist/domains/tasks/task-manager-output-readiness.d.ts.map +1 -0
- package/dist/domains/tasks/task-manager-output-readiness.js +234 -0
- package/dist/domains/tasks/task-manager-output-readiness.js.map +1 -0
- package/dist/domains/tasks/task-manager-start.d.ts +12 -0
- package/dist/domains/tasks/task-manager-start.d.ts.map +1 -0
- package/dist/domains/tasks/task-manager-start.js +166 -0
- package/dist/domains/tasks/task-manager-start.js.map +1 -0
- package/dist/domains/tasks/task-manager-utils.d.ts +11 -0
- package/dist/domains/tasks/task-manager-utils.d.ts.map +1 -0
- package/dist/domains/tasks/task-manager-utils.js +28 -0
- package/dist/domains/tasks/task-manager-utils.js.map +1 -0
- package/dist/domains/tasks/task-manager.d.ts +213 -0
- package/dist/domains/tasks/task-manager.d.ts.map +1 -0
- package/dist/domains/tasks/task-manager.js +451 -0
- package/dist/domains/tasks/task-manager.js.map +1 -0
- package/dist/domains/tasks/task-notification.service.d.ts +42 -0
- package/dist/domains/tasks/task-notification.service.d.ts.map +1 -0
- package/dist/domains/tasks/task-notification.service.js +373 -0
- package/dist/domains/tasks/task-notification.service.js.map +1 -0
- package/dist/domains/tasks/task-readiness.service.d.ts +7 -0
- package/dist/domains/tasks/task-readiness.service.d.ts.map +1 -0
- package/dist/domains/tasks/task-readiness.service.js +27 -0
- package/dist/domains/tasks/task-readiness.service.js.map +1 -0
- package/dist/domains/tasks/task-status.d.ts +5 -0
- package/dist/domains/tasks/task-status.d.ts.map +1 -0
- package/dist/domains/tasks/task-status.js +13 -0
- package/dist/domains/tasks/task-status.js.map +1 -0
- package/dist/domains/tasks/task-summary-format.d.ts +42 -0
- package/dist/domains/tasks/task-summary-format.d.ts.map +1 -0
- package/dist/domains/tasks/task-summary-format.js +149 -0
- package/dist/domains/tasks/task-summary-format.js.map +1 -0
- package/dist/domains/tasks/task-supervisor.d.ts +34 -0
- package/dist/domains/tasks/task-supervisor.d.ts.map +1 -0
- package/dist/domains/tasks/task-supervisor.js +211 -0
- package/dist/domains/tasks/task-supervisor.js.map +1 -0
- package/dist/domains/tasks/task.repository.d.ts +37 -0
- package/dist/domains/tasks/task.repository.d.ts.map +1 -0
- package/dist/domains/tasks/task.repository.js +58 -0
- package/dist/domains/tasks/task.repository.js.map +1 -0
- package/dist/domains/tools/agent-tool-adapter.d.ts +25 -0
- package/dist/domains/tools/agent-tool-adapter.d.ts.map +1 -0
- package/dist/domains/tools/agent-tool-adapter.js +251 -0
- package/dist/domains/tools/agent-tool-adapter.js.map +1 -0
- package/dist/domains/tools/approval.repository.d.ts +28 -0
- package/dist/domains/tools/approval.repository.d.ts.map +1 -0
- package/dist/domains/tools/approval.repository.js +59 -0
- package/dist/domains/tools/approval.repository.js.map +1 -0
- package/dist/domains/tools/index.d.ts +12 -0
- package/dist/domains/tools/index.d.ts.map +1 -0
- package/dist/domains/tools/index.js +10 -0
- package/dist/domains/tools/index.js.map +1 -0
- package/dist/domains/tools/interaction-session.service.d.ts +23 -0
- package/dist/domains/tools/interaction-session.service.d.ts.map +1 -0
- package/dist/domains/tools/interaction-session.service.js +130 -0
- package/dist/domains/tools/interaction-session.service.js.map +1 -0
- package/dist/domains/tools/orchestration-tool-dispatcher-handlers.d.ts +25 -0
- package/dist/domains/tools/orchestration-tool-dispatcher-handlers.d.ts.map +1 -0
- package/dist/domains/tools/orchestration-tool-dispatcher-handlers.js +379 -0
- package/dist/domains/tools/orchestration-tool-dispatcher-handlers.js.map +1 -0
- package/dist/domains/tools/orchestration-tool-dispatcher.d.ts +58 -0
- package/dist/domains/tools/orchestration-tool-dispatcher.d.ts.map +1 -0
- package/dist/domains/tools/orchestration-tool-dispatcher.js +347 -0
- package/dist/domains/tools/orchestration-tool-dispatcher.js.map +1 -0
- package/dist/domains/tools/policy.d.ts +14 -0
- package/dist/domains/tools/policy.d.ts.map +1 -0
- package/dist/domains/tools/policy.js +330 -0
- package/dist/domains/tools/policy.js.map +1 -0
- package/dist/domains/tools/todo-state.service.d.ts +23 -0
- package/dist/domains/tools/todo-state.service.d.ts.map +1 -0
- package/dist/domains/tools/todo-state.service.js +63 -0
- package/dist/domains/tools/todo-state.service.js.map +1 -0
- package/dist/domains/tools/tool-args.d.ts +12 -0
- package/dist/domains/tools/tool-args.d.ts.map +1 -0
- package/dist/domains/tools/tool-args.js +55 -0
- package/dist/domains/tools/tool-args.js.map +1 -0
- package/dist/domains/tools/tool-call.repository.d.ts +55 -0
- package/dist/domains/tools/tool-call.repository.d.ts.map +1 -0
- package/dist/domains/tools/tool-call.repository.js +74 -0
- package/dist/domains/tools/tool-call.repository.js.map +1 -0
- package/dist/domains/tools/tool-errors.d.ts +9 -0
- package/dist/domains/tools/tool-errors.d.ts.map +1 -0
- package/dist/domains/tools/tool-errors.js +58 -0
- package/dist/domains/tools/tool-errors.js.map +1 -0
- package/dist/domains/tools/tool-execution-suspension.d.ts +5 -0
- package/dist/domains/tools/tool-execution-suspension.d.ts.map +1 -0
- package/dist/domains/tools/tool-execution-suspension.js +9 -0
- package/dist/domains/tools/tool-execution-suspension.js.map +1 -0
- package/dist/domains/tools/tool-executor.service.d.ts +18 -0
- package/dist/domains/tools/tool-executor.service.d.ts.map +1 -0
- package/dist/domains/tools/tool-executor.service.js +82 -0
- package/dist/domains/tools/tool-executor.service.js.map +1 -0
- package/dist/domains/tools/tool-result-bounds.d.ts +5 -0
- package/dist/domains/tools/tool-result-bounds.d.ts.map +1 -0
- package/dist/domains/tools/tool-result-bounds.js +149 -0
- package/dist/domains/tools/tool-result-bounds.js.map +1 -0
- package/dist/domains/tools/tool-service.d.ts +143 -0
- package/dist/domains/tools/tool-service.d.ts.map +1 -0
- package/dist/domains/tools/tool-service.js +459 -0
- package/dist/domains/tools/tool-service.js.map +1 -0
- package/dist/domains/tools/user-question.repository.d.ts +34 -0
- package/dist/domains/tools/user-question.repository.d.ts.map +1 -0
- package/dist/domains/tools/user-question.repository.js +62 -0
- package/dist/domains/tools/user-question.repository.js.map +1 -0
- package/dist/domains/transcription/transcription.service.d.ts +15 -0
- package/dist/domains/transcription/transcription.service.d.ts.map +1 -0
- package/dist/domains/transcription/transcription.service.js +128 -0
- package/dist/domains/transcription/transcription.service.js.map +1 -0
- package/dist/domains/usage/anthropic-client.d.ts +9 -0
- package/dist/domains/usage/anthropic-client.d.ts.map +1 -0
- package/dist/domains/usage/anthropic-client.js +207 -0
- package/dist/domains/usage/anthropic-client.js.map +1 -0
- package/dist/domains/usage/codex-client.d.ts +18 -0
- package/dist/domains/usage/codex-client.d.ts.map +1 -0
- package/dist/domains/usage/codex-client.js +316 -0
- package/dist/domains/usage/codex-client.js.map +1 -0
- package/dist/domains/usage/subscription-usage-service.d.ts +42 -0
- package/dist/domains/usage/subscription-usage-service.d.ts.map +1 -0
- package/dist/domains/usage/subscription-usage-service.js +131 -0
- package/dist/domains/usage/subscription-usage-service.js.map +1 -0
- package/dist/domains/workers/agent-process.d.ts +32 -0
- package/dist/domains/workers/agent-process.d.ts.map +1 -0
- package/dist/domains/workers/agent-process.js +129 -0
- package/dist/domains/workers/agent-process.js.map +1 -0
- package/dist/domains/workers/index.d.ts +3 -0
- package/dist/domains/workers/index.d.ts.map +1 -0
- package/dist/domains/workers/index.js +3 -0
- package/dist/domains/workers/index.js.map +1 -0
- package/dist/domains/workers/worker-manager.d.ts +51 -0
- package/dist/domains/workers/worker-manager.d.ts.map +1 -0
- package/dist/domains/workers/worker-manager.js +116 -0
- package/dist/domains/workers/worker-manager.js.map +1 -0
- package/dist/events.d.ts +2 -0
- package/dist/events.d.ts.map +1 -0
- package/dist/events.js +2 -0
- package/dist/events.js.map +1 -0
- package/dist/git/git-service.d.ts +51 -0
- package/dist/git/git-service.d.ts.map +1 -0
- package/dist/git/git-service.js +716 -0
- package/dist/git/git-service.js.map +1 -0
- package/dist/git/git-status.d.ts +24 -0
- package/dist/git/git-status.d.ts.map +1 -0
- package/dist/git/git-status.js +133 -0
- package/dist/git/git-status.js.map +1 -0
- package/dist/harness-manager.d.ts +21 -0
- package/dist/harness-manager.d.ts.map +1 -0
- package/dist/harness-manager.js +105 -0
- package/dist/harness-manager.js.map +1 -0
- package/dist/http/auth-middleware.d.ts +12 -0
- package/dist/http/auth-middleware.d.ts.map +1 -0
- package/dist/http/auth-middleware.js +64 -0
- package/dist/http/auth-middleware.js.map +1 -0
- package/dist/http/errors.d.ts +7 -0
- package/dist/http/errors.d.ts.map +1 -0
- package/dist/http/errors.js +21 -0
- package/dist/http/errors.js.map +1 -0
- package/dist/http/query.d.ts +2 -0
- package/dist/http/query.d.ts.map +1 -0
- package/dist/http/query.js +7 -0
- package/dist/http/query.js.map +1 -0
- package/dist/http/request-context.d.ts +11 -0
- package/dist/http/request-context.d.ts.map +1 -0
- package/dist/http/request-context.js +11 -0
- package/dist/http/request-context.js.map +1 -0
- package/dist/http/responses.d.ts +3 -0
- package/dist/http/responses.d.ts.map +1 -0
- package/dist/http/responses.js +20 -0
- package/dist/http/responses.js.map +1 -0
- package/dist/http/route-params.d.ts +3 -0
- package/dist/http/route-params.d.ts.map +1 -0
- package/dist/http/route-params.js +9 -0
- package/dist/http/route-params.js.map +1 -0
- package/dist/http/static-files.d.ts +4 -0
- package/dist/http/static-files.d.ts.map +1 -0
- package/dist/http/static-files.js +125 -0
- package/dist/http/static-files.js.map +1 -0
- package/dist/index-store.d.ts +2 -0
- package/dist/index-store.d.ts.map +1 -0
- package/dist/index-store.js +2 -0
- package/dist/index-store.js.map +1 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +3 -0
- package/dist/index.js.map +1 -0
- package/dist/infrastructure/events/event-bus.d.ts +58 -0
- package/dist/infrastructure/events/event-bus.d.ts.map +1 -0
- package/dist/infrastructure/events/event-bus.js +242 -0
- package/dist/infrastructure/events/event-bus.js.map +1 -0
- package/dist/infrastructure/events/event-ref-extractor.d.ts +3 -0
- package/dist/infrastructure/events/event-ref-extractor.d.ts.map +1 -0
- package/dist/infrastructure/events/event-ref-extractor.js +30 -0
- package/dist/infrastructure/events/event-ref-extractor.js.map +1 -0
- package/dist/infrastructure/events/index.d.ts +3 -0
- package/dist/infrastructure/events/index.d.ts.map +1 -0
- package/dist/infrastructure/events/index.js +3 -0
- package/dist/infrastructure/events/index.js.map +1 -0
- package/dist/infrastructure/index-store/event-refs.d.ts +9 -0
- package/dist/infrastructure/index-store/event-refs.d.ts.map +1 -0
- package/dist/infrastructure/index-store/event-refs.js +40 -0
- package/dist/infrastructure/index-store/event-refs.js.map +1 -0
- package/dist/infrastructure/index-store/index-store.d.ts +83 -0
- package/dist/infrastructure/index-store/index-store.d.ts.map +1 -0
- package/dist/infrastructure/index-store/index-store.js +436 -0
- package/dist/infrastructure/index-store/index-store.js.map +1 -0
- package/dist/infrastructure/index-store/index.d.ts +4 -0
- package/dist/infrastructure/index-store/index.d.ts.map +1 -0
- package/dist/infrastructure/index-store/index.js +4 -0
- package/dist/infrastructure/index-store/index.js.map +1 -0
- package/dist/infrastructure/index-store/schema.d.ts +2 -0
- package/dist/infrastructure/index-store/schema.d.ts.map +1 -0
- package/dist/infrastructure/index-store/schema.js +84 -0
- package/dist/infrastructure/index-store/schema.js.map +1 -0
- package/dist/infrastructure/storage/index.d.ts +4 -0
- package/dist/infrastructure/storage/index.d.ts.map +1 -0
- package/dist/infrastructure/storage/index.js +4 -0
- package/dist/infrastructure/storage/index.js.map +1 -0
- package/dist/infrastructure/storage/initialize.d.ts +12 -0
- package/dist/infrastructure/storage/initialize.d.ts.map +1 -0
- package/dist/infrastructure/storage/initialize.js +118 -0
- package/dist/infrastructure/storage/initialize.js.map +1 -0
- package/dist/infrastructure/storage/json.d.ts +29 -0
- package/dist/infrastructure/storage/json.d.ts.map +1 -0
- package/dist/infrastructure/storage/json.js +222 -0
- package/dist/infrastructure/storage/json.js.map +1 -0
- package/dist/infrastructure/storage/paths.d.ts +11 -0
- package/dist/infrastructure/storage/paths.d.ts.map +1 -0
- package/dist/infrastructure/storage/paths.js +18 -0
- package/dist/infrastructure/storage/paths.js.map +1 -0
- package/dist/infrastructure/tls/lan-certificate.d.ts +11 -0
- package/dist/infrastructure/tls/lan-certificate.d.ts.map +1 -0
- package/dist/infrastructure/tls/lan-certificate.js +209 -0
- package/dist/infrastructure/tls/lan-certificate.js.map +1 -0
- package/dist/logging.d.ts +58 -0
- package/dist/logging.d.ts.map +1 -0
- package/dist/logging.js +348 -0
- package/dist/logging.js.map +1 -0
- package/dist/main.d.ts +2 -0
- package/dist/main.d.ts.map +1 -0
- package/dist/main.js +422 -0
- package/dist/main.js.map +1 -0
- package/dist/nerve-system-prompt.d.ts +17 -0
- package/dist/nerve-system-prompt.d.ts.map +1 -0
- package/dist/nerve-system-prompt.js +161 -0
- package/dist/nerve-system-prompt.js.map +1 -0
- package/dist/oauth-flow.d.ts +27 -0
- package/dist/oauth-flow.d.ts.map +1 -0
- package/dist/oauth-flow.js +268 -0
- package/dist/oauth-flow.js.map +1 -0
- package/dist/plan-paths.d.ts +6 -0
- package/dist/plan-paths.d.ts.map +1 -0
- package/dist/plan-paths.js +30 -0
- package/dist/plan-paths.js.map +1 -0
- package/dist/plan-service.d.ts +61 -0
- package/dist/plan-service.d.ts.map +1 -0
- package/dist/plan-service.js +255 -0
- package/dist/plan-service.js.map +1 -0
- package/dist/policy.d.ts +14 -0
- package/dist/policy.d.ts.map +1 -0
- package/dist/policy.js +247 -0
- package/dist/policy.js.map +1 -0
- package/dist/process-manager.d.ts +72 -0
- package/dist/process-manager.d.ts.map +1 -0
- package/dist/process-manager.js +376 -0
- package/dist/process-manager.js.map +1 -0
- package/dist/prompt-text.d.ts +9 -0
- package/dist/prompt-text.d.ts.map +1 -0
- package/dist/prompt-text.js +48 -0
- package/dist/prompt-text.js.map +1 -0
- package/dist/registry/agent-lifecycle-service.d.ts +38 -0
- package/dist/registry/agent-lifecycle-service.d.ts.map +1 -0
- package/dist/registry/agent-lifecycle-service.js +199 -0
- package/dist/registry/agent-lifecycle-service.js.map +1 -0
- package/dist/registry/conversation-lifecycle-service.d.ts +35 -0
- package/dist/registry/conversation-lifecycle-service.d.ts.map +1 -0
- package/dist/registry/conversation-lifecycle-service.js +136 -0
- package/dist/registry/conversation-lifecycle-service.js.map +1 -0
- package/dist/registry/pinned-command-service.d.ts +11 -0
- package/dist/registry/pinned-command-service.d.ts.map +1 -0
- package/dist/registry/pinned-command-service.js +40 -0
- package/dist/registry/pinned-command-service.js.map +1 -0
- package/dist/registry/project-lifecycle-service.d.ts +22 -0
- package/dist/registry/project-lifecycle-service.d.ts.map +1 -0
- package/dist/registry/project-lifecycle-service.js +87 -0
- package/dist/registry/project-lifecycle-service.js.map +1 -0
- package/dist/registry/types.d.ts +25 -0
- package/dist/registry/types.d.ts.map +1 -0
- package/dist/registry/types.js +2 -0
- package/dist/registry/types.js.map +1 -0
- package/dist/registry.d.ts +977 -0
- package/dist/registry.d.ts.map +1 -0
- package/dist/registry.js +356 -0
- package/dist/registry.js.map +1 -0
- package/dist/repositories/agent-repository.d.ts +12 -0
- package/dist/repositories/agent-repository.d.ts.map +1 -0
- package/dist/repositories/agent-repository.js +33 -0
- package/dist/repositories/agent-repository.js.map +1 -0
- package/dist/repositories/conversation-repository.d.ts +13 -0
- package/dist/repositories/conversation-repository.d.ts.map +1 -0
- package/dist/repositories/conversation-repository.js +39 -0
- package/dist/repositories/conversation-repository.js.map +1 -0
- package/dist/repositories/entry-repository.d.ts +15 -0
- package/dist/repositories/entry-repository.d.ts.map +1 -0
- package/dist/repositories/entry-repository.js +81 -0
- package/dist/repositories/entry-repository.js.map +1 -0
- package/dist/repositories/index.d.ts +7 -0
- package/dist/repositories/index.d.ts.map +1 -0
- package/dist/repositories/index.js +7 -0
- package/dist/repositories/index.js.map +1 -0
- package/dist/repositories/pinned-command-repository.d.ts +10 -0
- package/dist/repositories/pinned-command-repository.d.ts.map +1 -0
- package/dist/repositories/pinned-command-repository.js +28 -0
- package/dist/repositories/pinned-command-repository.js.map +1 -0
- package/dist/repositories/project-repository.d.ts +12 -0
- package/dist/repositories/project-repository.d.ts.map +1 -0
- package/dist/repositories/project-repository.js +33 -0
- package/dist/repositories/project-repository.js.map +1 -0
- package/dist/repositories/prompt-queue-repository.d.ts +28 -0
- package/dist/repositories/prompt-queue-repository.d.ts.map +1 -0
- package/dist/repositories/prompt-queue-repository.js +88 -0
- package/dist/repositories/prompt-queue-repository.js.map +1 -0
- package/dist/resource-loader.d.ts +15 -0
- package/dist/resource-loader.d.ts.map +1 -0
- package/dist/resource-loader.js +109 -0
- package/dist/resource-loader.js.map +1 -0
- package/dist/routes/agent-routes.d.ts +4 -0
- package/dist/routes/agent-routes.d.ts.map +1 -0
- package/dist/routes/agent-routes.js +58 -0
- package/dist/routes/agent-routes.js.map +1 -0
- package/dist/routes/auth-routes.d.ts +4 -0
- package/dist/routes/auth-routes.d.ts.map +1 -0
- package/dist/routes/auth-routes.js +70 -0
- package/dist/routes/auth-routes.js.map +1 -0
- package/dist/routes/completion-routes.d.ts +4 -0
- package/dist/routes/completion-routes.d.ts.map +1 -0
- package/dist/routes/completion-routes.js +49 -0
- package/dist/routes/completion-routes.js.map +1 -0
- package/dist/routes/conversation-routes.d.ts +4 -0
- package/dist/routes/conversation-routes.d.ts.map +1 -0
- package/dist/routes/conversation-routes.js +65 -0
- package/dist/routes/conversation-routes.js.map +1 -0
- package/dist/routes/filesystem-routes.d.ts +5 -0
- package/dist/routes/filesystem-routes.d.ts.map +1 -0
- package/dist/routes/filesystem-routes.js +341 -0
- package/dist/routes/filesystem-routes.js.map +1 -0
- package/dist/routes/git-routes.d.ts +4 -0
- package/dist/routes/git-routes.d.ts.map +1 -0
- package/dist/routes/git-routes.js +66 -0
- package/dist/routes/git-routes.js.map +1 -0
- package/dist/routes/index.d.ts +21 -0
- package/dist/routes/index.d.ts.map +1 -0
- package/dist/routes/index.js +54 -0
- package/dist/routes/index.js.map +1 -0
- package/dist/routes/log-routes.d.ts +4 -0
- package/dist/routes/log-routes.d.ts.map +1 -0
- package/dist/routes/log-routes.js +55 -0
- package/dist/routes/log-routes.js.map +1 -0
- package/dist/routes/model-routes.d.ts +4 -0
- package/dist/routes/model-routes.d.ts.map +1 -0
- package/dist/routes/model-routes.js +8 -0
- package/dist/routes/model-routes.js.map +1 -0
- package/dist/routes/process-routes.d.ts +4 -0
- package/dist/routes/process-routes.d.ts.map +1 -0
- package/dist/routes/process-routes.js +43 -0
- package/dist/routes/process-routes.js.map +1 -0
- package/dist/routes/project-routes.d.ts +4 -0
- package/dist/routes/project-routes.d.ts.map +1 -0
- package/dist/routes/project-routes.js +42 -0
- package/dist/routes/project-routes.js.map +1 -0
- package/dist/routes/provider-catalog-routes.d.ts +4 -0
- package/dist/routes/provider-catalog-routes.d.ts.map +1 -0
- package/dist/routes/provider-catalog-routes.js +46 -0
- package/dist/routes/provider-catalog-routes.js.map +1 -0
- package/dist/routes/settings-routes.d.ts +4 -0
- package/dist/routes/settings-routes.d.ts.map +1 -0
- package/dist/routes/settings-routes.js +19 -0
- package/dist/routes/settings-routes.js.map +1 -0
- package/dist/routes/status-routes.d.ts +4 -0
- package/dist/routes/status-routes.d.ts.map +1 -0
- package/dist/routes/status-routes.js +20 -0
- package/dist/routes/status-routes.js.map +1 -0
- package/dist/routes/storage-routes.d.ts +4 -0
- package/dist/routes/storage-routes.d.ts.map +1 -0
- package/dist/routes/storage-routes.js +23 -0
- package/dist/routes/storage-routes.js.map +1 -0
- package/dist/routes/task-routes.d.ts +4 -0
- package/dist/routes/task-routes.d.ts.map +1 -0
- package/dist/routes/task-routes.js +67 -0
- package/dist/routes/task-routes.js.map +1 -0
- package/dist/routes/tool-routes.d.ts +4 -0
- package/dist/routes/tool-routes.d.ts.map +1 -0
- package/dist/routes/tool-routes.js +89 -0
- package/dist/routes/tool-routes.js.map +1 -0
- package/dist/routes/transcription-routes.d.ts +4 -0
- package/dist/routes/transcription-routes.d.ts.map +1 -0
- package/dist/routes/transcription-routes.js +38 -0
- package/dist/routes/transcription-routes.js.map +1 -0
- package/dist/routes/worker-routes.d.ts +4 -0
- package/dist/routes/worker-routes.d.ts.map +1 -0
- package/dist/routes/worker-routes.js +12 -0
- package/dist/routes/worker-routes.js.map +1 -0
- package/dist/runtime/runtime-composition.d.ts +64 -0
- package/dist/runtime/runtime-composition.d.ts.map +1 -0
- package/dist/runtime/runtime-composition.js +183 -0
- package/dist/runtime/runtime-composition.js.map +1 -0
- package/dist/runtime/runtime-state.d.ts +100 -0
- package/dist/runtime/runtime-state.d.ts.map +1 -0
- package/dist/runtime/runtime-state.js +74 -0
- package/dist/runtime/runtime-state.js.map +1 -0
- package/dist/secrets.d.ts +20 -0
- package/dist/secrets.d.ts.map +1 -0
- package/dist/secrets.js +77 -0
- package/dist/secrets.js.map +1 -0
- package/dist/server.d.ts +43 -0
- package/dist/server.d.ts.map +1 -0
- package/dist/server.js +270 -0
- package/dist/server.js.map +1 -0
- package/dist/storage.d.ts +2 -0
- package/dist/storage.d.ts.map +1 -0
- package/dist/storage.js +2 -0
- package/dist/storage.js.map +1 -0
- package/dist/tool-service.d.ts +82 -0
- package/dist/tool-service.d.ts.map +1 -0
- package/dist/tool-service.js +409 -0
- package/dist/tool-service.js.map +1 -0
- package/dist/transcription-service.d.ts +15 -0
- package/dist/transcription-service.d.ts.map +1 -0
- package/dist/transcription-service.js +128 -0
- package/dist/transcription-service.js.map +1 -0
- package/dist/usage/anthropic-client.d.ts +9 -0
- package/dist/usage/anthropic-client.d.ts.map +1 -0
- package/dist/usage/anthropic-client.js +207 -0
- package/dist/usage/anthropic-client.js.map +1 -0
- package/dist/usage/codex-client.d.ts +18 -0
- package/dist/usage/codex-client.d.ts.map +1 -0
- package/dist/usage/codex-client.js +316 -0
- package/dist/usage/codex-client.js.map +1 -0
- package/dist/usage/subscription-usage-service.d.ts +42 -0
- package/dist/usage/subscription-usage-service.d.ts.map +1 -0
- package/dist/usage/subscription-usage-service.js +131 -0
- package/dist/usage/subscription-usage-service.js.map +1 -0
- package/dist/version.d.ts +2 -0
- package/dist/version.d.ts.map +1 -0
- package/dist/version.js +17 -0
- package/dist/version.js.map +1 -0
- package/dist/web/apple-touch-icon.png +0 -0
- package/dist/web/assets/bash-B7CDPTg5.js +1 -0
- package/dist/web/assets/css-BsVw1vtW.js +1 -0
- package/dist/web/assets/diff-woXpYk--.js +1 -0
- package/dist/web/assets/dist-DVpGQCt0.js +4 -0
- package/dist/web/assets/dist-FQvzRocB.js +141 -0
- package/dist/web/assets/github-dark-dimmed-Bx1FflLF.js +1 -0
- package/dist/web/assets/github-light-EUqPIrTm.js +1 -0
- package/dist/web/assets/html-BY76lXLH.js +1 -0
- package/dist/web/assets/index-DFKLdj_D.css +2 -0
- package/dist/web/assets/index-DP6SGqvJ.js +165 -0
- package/dist/web/assets/iosevka-latin-400-normal-7stTb90X.woff2 +0 -0
- package/dist/web/assets/iosevka-latin-500-normal-CQO8XnuS.woff2 +0 -0
- package/dist/web/assets/javascript-BgS3c2Ky.js +1 -0
- package/dist/web/assets/json-qhed-kSA.js +1 -0
- package/dist/web/assets/jsonc-CYpm1nAK.js +1 -0
- package/dist/web/assets/jsx-Bz0zcwM4.js +1 -0
- package/dist/web/assets/markdown-BYOwaDjH.js +1 -0
- package/dist/web/assets/outfit-latin-400-normal-BGsTXAXT.woff2 +0 -0
- package/dist/web/assets/outfit-latin-400-normal-DMwTpYkH.woff +0 -0
- package/dist/web/assets/outfit-latin-500-normal-ClnHRwRh.woff +0 -0
- package/dist/web/assets/outfit-latin-500-normal-DKnIMDSk.woff2 +0 -0
- package/dist/web/assets/outfit-latin-600-normal-B7SfZ07L.woff2 +0 -0
- package/dist/web/assets/outfit-latin-600-normal-BEfTtDA7.woff +0 -0
- package/dist/web/assets/outfit-latin-700-normal-Cu9v6i1X.woff2 +0 -0
- package/dist/web/assets/outfit-latin-700-normal-D4itBLBr.woff +0 -0
- package/dist/web/assets/outfit-latin-ext-400-normal-5tcqmc2S.woff2 +0 -0
- package/dist/web/assets/outfit-latin-ext-400-normal-DHm7mdGe.woff +0 -0
- package/dist/web/assets/outfit-latin-ext-500-normal-DrCvqoFD.woff +0 -0
- package/dist/web/assets/outfit-latin-ext-500-normal-zeox_O30.woff2 +0 -0
- package/dist/web/assets/outfit-latin-ext-600-normal-B85nYjL1.woff2 +0 -0
- package/dist/web/assets/outfit-latin-ext-600-normal-CWJcPgd7.woff +0 -0
- package/dist/web/assets/outfit-latin-ext-700-normal-CI4iH74K.woff2 +0 -0
- package/dist/web/assets/outfit-latin-ext-700-normal-fjS8-Gm7.woff +0 -0
- package/dist/web/assets/python-gzcpVVnB.js +1 -0
- package/dist/web/assets/shellscript-CLZ0U2zV.js +1 -0
- package/dist/web/assets/svelte-Uaf2W_lJ.js +1 -0
- package/dist/web/assets/tsx-udAQXfEw.js +1 -0
- package/dist/web/assets/typescript-bsJCZSQ-.js +1 -0
- package/dist/web/assets/workbox-window.prod.es5-Bd17z0YL.js +2 -0
- package/dist/web/assets/yaml-rwi0_p6S.js +1 -0
- package/dist/web/favicon-16.png +0 -0
- package/dist/web/favicon-32.png +0 -0
- package/dist/web/favicon.svg +15 -0
- package/dist/web/index.html +25 -0
- package/dist/web/manifest.webmanifest +1 -0
- package/dist/web/pwa-192x192.png +0 -0
- package/dist/web/pwa-512x512.png +0 -0
- package/dist/web/pwa-maskable-512x512.png +0 -0
- package/dist/web/sw.js +1 -0
- package/dist/web/workbox-2fbc6a65.js +1 -0
- package/dist/worker-manager.d.ts +51 -0
- package/dist/worker-manager.d.ts.map +1 -0
- package/dist/worker-manager.js +116 -0
- package/dist/worker-manager.js.map +1 -0
- package/package.json +58 -0
|
@@ -0,0 +1,977 @@
|
|
|
1
|
+
import type { Message } from "@earendil-works/pi-ai";
|
|
2
|
+
import type { AgentRecord, CancelTaskRequest, CompactConversationRequest, ContextUsage, ConversationEntry, ConversationRecord, ConversationSnapshot, ConversationTree, CreateAgentRequest, CreateConversationRequest, CreatePinnedCommandRequest, CreateProjectRequest, ImportConversationRequest, ModelInfo, NavigateConversationRequest, OpenProjectInEditorRequest, OpenProjectInEditorResponse, PlanImplementationSelection, PlanReviewStatus, ProjectRecord, PromptRequest, PruneProjectConversationsRequest, PruneProjectConversationsResponse, StartTaskRequest, TaskLogQuery, ToolName, UpdateAgentRequest, UserQuestionStatus } from "@nervekit/shared";
|
|
3
|
+
import type { AuthManager } from "./auth.js";
|
|
4
|
+
import type { ProviderCatalogStore } from "./domains/providers/index.js";
|
|
5
|
+
import type { SubscriptionUsageService } from "./domains/usage/subscription-usage-service.js";
|
|
6
|
+
import type { EventBus } from "./infrastructure/events/index.js";
|
|
7
|
+
import type { IndexStore } from "./infrastructure/index-store/index.js";
|
|
8
|
+
import type { InitializedStorage } from "./infrastructure/storage/index.js";
|
|
9
|
+
import type { ApplicationLogger } from "./logging.js";
|
|
10
|
+
import type { AppendEntryInput, AppendEntryOptions } from "./registry/types.js";
|
|
11
|
+
import type { SecretProvider } from "./secrets.js";
|
|
12
|
+
export declare class RuntimeRegistry {
|
|
13
|
+
private readonly events;
|
|
14
|
+
private readonly index;
|
|
15
|
+
private readonly subscriptionUsage;
|
|
16
|
+
private readonly providerCatalog;
|
|
17
|
+
private readonly state;
|
|
18
|
+
readonly projects: Map<string, {
|
|
19
|
+
id: string;
|
|
20
|
+
name: string;
|
|
21
|
+
dir: string;
|
|
22
|
+
createdAt: string;
|
|
23
|
+
updatedAt: string;
|
|
24
|
+
}>;
|
|
25
|
+
readonly conversations: Map<string, {
|
|
26
|
+
id: string;
|
|
27
|
+
projectId: string;
|
|
28
|
+
title: string;
|
|
29
|
+
mode: "planning" | "coding";
|
|
30
|
+
permissionLevel: "autonomous" | "supervised" | "read_only";
|
|
31
|
+
createdAt: string;
|
|
32
|
+
updatedAt: string;
|
|
33
|
+
activeAgentId?: string | undefined;
|
|
34
|
+
activeEntryId?: string | undefined;
|
|
35
|
+
}>;
|
|
36
|
+
readonly agents: Map<string, {
|
|
37
|
+
id: string;
|
|
38
|
+
conversationId: string;
|
|
39
|
+
projectId: string;
|
|
40
|
+
projectDir: string;
|
|
41
|
+
rootAgentId: string;
|
|
42
|
+
mode: "planning" | "coding";
|
|
43
|
+
permissionLevel: "autonomous" | "supervised" | "read_only";
|
|
44
|
+
workspaceScope: {
|
|
45
|
+
roots: string[];
|
|
46
|
+
readonly?: boolean | undefined;
|
|
47
|
+
};
|
|
48
|
+
budget: {
|
|
49
|
+
depth: number;
|
|
50
|
+
maxDepth: number;
|
|
51
|
+
maxRuns: number;
|
|
52
|
+
usedRuns: number;
|
|
53
|
+
};
|
|
54
|
+
thinkingLevel: "off" | "minimal" | "low" | "medium" | "high" | "xhigh";
|
|
55
|
+
status: "error" | "running" | "aborted" | "idle" | "awaiting_user";
|
|
56
|
+
createdAt: string;
|
|
57
|
+
updatedAt: string;
|
|
58
|
+
workerId?: string | undefined;
|
|
59
|
+
parentAgentId?: string | undefined;
|
|
60
|
+
systemPrompt?: string | undefined;
|
|
61
|
+
model?: {
|
|
62
|
+
provider: string;
|
|
63
|
+
modelId: string;
|
|
64
|
+
} | undefined;
|
|
65
|
+
}>;
|
|
66
|
+
readonly entries: Map<string, {
|
|
67
|
+
id: string;
|
|
68
|
+
conversationId: string;
|
|
69
|
+
role: "system" | "user" | "assistant";
|
|
70
|
+
kind: "compaction" | "message" | "branch_summary" | "explore_report" | "run_status" | "task_event";
|
|
71
|
+
text: string;
|
|
72
|
+
createdAt: string;
|
|
73
|
+
agentId?: string | undefined;
|
|
74
|
+
runId?: string | undefined;
|
|
75
|
+
turnId?: string | undefined;
|
|
76
|
+
liveMessageId?: string | undefined;
|
|
77
|
+
parentEntryId?: string | undefined;
|
|
78
|
+
summary?: string | undefined;
|
|
79
|
+
tokensBefore?: number | undefined;
|
|
80
|
+
usage?: {
|
|
81
|
+
input: number;
|
|
82
|
+
output: number;
|
|
83
|
+
cacheRead: number;
|
|
84
|
+
cacheWrite: number;
|
|
85
|
+
totalTokens: number;
|
|
86
|
+
cost: number;
|
|
87
|
+
} | undefined;
|
|
88
|
+
firstKeptEntryId?: string | undefined;
|
|
89
|
+
fromEntryId?: string | undefined;
|
|
90
|
+
details?: unknown;
|
|
91
|
+
}[]>;
|
|
92
|
+
readonly conversationRuntime: import("./domains/conversations/conversation-runtime.js").ConversationRuntime;
|
|
93
|
+
readonly runs: Map<string, import("./domains/agents/run/run-state.js").AgentRunState>;
|
|
94
|
+
get agentConversationMessages(): Map<string, Message[]>;
|
|
95
|
+
private readonly services;
|
|
96
|
+
get tasks(): import("./domains/tasks/task-manager.js").TaskManager;
|
|
97
|
+
get pythonRuntime(): import("./domains/runtime/python-runtime-service.js").PythonRuntimeService;
|
|
98
|
+
get workers(): import("./domains/workers/worker-manager.js").WorkerManager;
|
|
99
|
+
get plans(): import("./domains/plans/plan-service.js").PlanService;
|
|
100
|
+
get suspensions(): import("./domains/agents/agent-suspension.service.js").AgentSuspensionService;
|
|
101
|
+
get tools(): import("./domains/tools/tool-service.js").ToolService;
|
|
102
|
+
/** Append a conversation entry (used by startup interrupted-run recovery). */
|
|
103
|
+
get appendConversationEntry(): (input: AppendEntryInput, options?: AppendEntryOptions) => Promise<ConversationEntry>;
|
|
104
|
+
get git(): import("./domains/git/git-service.js").GitService;
|
|
105
|
+
get editors(): import("./domains/projects/project-editor.service.js").ProjectEditorService;
|
|
106
|
+
private get agentRunner();
|
|
107
|
+
constructor(storage: InitializedStorage, events: EventBus, index: IndexStore, auth: AuthManager, secrets: SecretProvider, subscriptionUsage: SubscriptionUsageService, logger: ApplicationLogger, providerCatalog: ProviderCatalogStore);
|
|
108
|
+
/** Current subscription usage snapshots (Anthropic / Codex). */
|
|
109
|
+
getSubscriptionUsage(): Promise<{
|
|
110
|
+
provider: "anthropic" | "openai-codex";
|
|
111
|
+
session: {
|
|
112
|
+
usedPercent: number | null;
|
|
113
|
+
resetsAt: string | null;
|
|
114
|
+
resetAfterSeconds: number | null;
|
|
115
|
+
windowMinutes: number | null;
|
|
116
|
+
} | null;
|
|
117
|
+
weekly: {
|
|
118
|
+
usedPercent: number | null;
|
|
119
|
+
resetsAt: string | null;
|
|
120
|
+
resetAfterSeconds: number | null;
|
|
121
|
+
windowMinutes: number | null;
|
|
122
|
+
} | null;
|
|
123
|
+
updatedAt: string;
|
|
124
|
+
planType?: string | null | undefined;
|
|
125
|
+
}[]>;
|
|
126
|
+
hydrate(): Promise<void>;
|
|
127
|
+
/**
|
|
128
|
+
* Rebuild the derived (non-event) index tables from the in-memory records.
|
|
129
|
+
* The events_index is maintained incrementally (on publish, on prune, and
|
|
130
|
+
* reconciled at boot), so it is intentionally not touched here. Pass
|
|
131
|
+
* `{ reindexEvents: true }` to additionally rebuild the events index from the
|
|
132
|
+
* durable log (streamed in bounded batches).
|
|
133
|
+
*/
|
|
134
|
+
rebuildIndex(options?: {
|
|
135
|
+
reindexEvents?: boolean;
|
|
136
|
+
}): Promise<void>;
|
|
137
|
+
createProject(request: CreateProjectRequest): Promise<ProjectRecord>;
|
|
138
|
+
listProjects(): ProjectRecord[];
|
|
139
|
+
getProject(projectId: string): ProjectRecord;
|
|
140
|
+
createConversation(request: CreateConversationRequest): Promise<ConversationRecord>;
|
|
141
|
+
listConversations(): ConversationRecord[];
|
|
142
|
+
getConversation(conversationId: string): ConversationRecord;
|
|
143
|
+
createAgent(request: CreateAgentRequest, options?: {
|
|
144
|
+
allowChildAuthorityExceed?: boolean;
|
|
145
|
+
}): Promise<AgentRecord>;
|
|
146
|
+
listAgents(): AgentRecord[];
|
|
147
|
+
getAgent(agentId: string): AgentRecord;
|
|
148
|
+
private removeAgentInternal;
|
|
149
|
+
removeConversation(conversationId: string): Promise<void>;
|
|
150
|
+
removeProject(projectId: string): Promise<void>;
|
|
151
|
+
openProjectInEditor(projectId: string, request: OpenProjectInEditorRequest): Promise<OpenProjectInEditorResponse>;
|
|
152
|
+
pruneProjectConversations(projectId: string, request?: PruneProjectConversationsRequest): Promise<PruneProjectConversationsResponse>;
|
|
153
|
+
/**
|
|
154
|
+
* Prune matching conversations across every project. Reuses the per-project
|
|
155
|
+
* safe prune (skips active agents/tasks, removes records/events/logs, rebuilds
|
|
156
|
+
* the index) and aggregates the totals. Used by storage cleanup.
|
|
157
|
+
*/
|
|
158
|
+
pruneConversationsAcrossProjects(request: PruneProjectConversationsRequest): Promise<{
|
|
159
|
+
prunedConversationIds: string[];
|
|
160
|
+
skippedCount: number;
|
|
161
|
+
}>;
|
|
162
|
+
configureAgent(agentId: string, request: UpdateAgentRequest): Promise<AgentRecord>;
|
|
163
|
+
getConversationEntries(conversationId: string): ConversationEntry[];
|
|
164
|
+
getConversationActiveEntryIds(conversationId: string): string[];
|
|
165
|
+
getConversationTree(conversationId: string): ConversationTree;
|
|
166
|
+
getContextUsage(conversationId: string): Promise<ContextUsage>;
|
|
167
|
+
getConversationSnapshot(conversationId: string): Promise<ConversationSnapshot>;
|
|
168
|
+
navigateConversation(conversationId: string, request: NavigateConversationRequest): Promise<ConversationRecord>;
|
|
169
|
+
compactConversation(conversationId: string, request?: CompactConversationRequest): Promise<{
|
|
170
|
+
conversation: ConversationRecord;
|
|
171
|
+
entry: ConversationEntry;
|
|
172
|
+
}>;
|
|
173
|
+
exportConversation(conversationId: string): import("./domains/conversations/operations/export-service.js").ExportedConversationBundle;
|
|
174
|
+
exportConversationMarkdown(conversationId: string): string;
|
|
175
|
+
exportConversationHtml(conversationId: string): string;
|
|
176
|
+
importConversation(request: ImportConversationRequest): Promise<{
|
|
177
|
+
project: ProjectRecord;
|
|
178
|
+
conversation: ConversationRecord;
|
|
179
|
+
agents: AgentRecord[];
|
|
180
|
+
entries: ConversationEntry[];
|
|
181
|
+
}>;
|
|
182
|
+
requestTool(agentId: string, toolName: ToolName, args: Record<string, unknown>): Promise<import("./domains/tools/tool-service.js").ToolExecutionResponse>;
|
|
183
|
+
grantApproval(approvalId: string, note?: string): Promise<{
|
|
184
|
+
id: string;
|
|
185
|
+
agentId: string;
|
|
186
|
+
conversationId: string;
|
|
187
|
+
projectId: string;
|
|
188
|
+
toolName: "find" | "read" | "bash" | "python" | "edit" | "write" | "grep" | "ls" | "ask_user" | "todos_set" | "todos_get" | "web_search" | "web_fetch" | "task_start" | "task_status" | "task_logs" | "task_cancel" | "task_restart" | "task_list" | "explore" | "plan_mode_enter" | "plan_mode_present" | "plan_mode_force_exit";
|
|
189
|
+
risk: "secret" | "command" | "read" | "workspace_write" | "network" | "destructive" | "agent_spawn" | "deployment" | "interaction";
|
|
190
|
+
args: unknown;
|
|
191
|
+
cwd: string;
|
|
192
|
+
status: "error" | "running" | "completed" | "requested" | "pending_approval" | "waiting_for_user" | "denied";
|
|
193
|
+
createdAt: string;
|
|
194
|
+
updatedAt: string;
|
|
195
|
+
sourceToolCallId?: string | undefined;
|
|
196
|
+
providerToolCallId?: string | undefined;
|
|
197
|
+
runId?: string | undefined;
|
|
198
|
+
turnId?: string | undefined;
|
|
199
|
+
liveMessageId?: string | undefined;
|
|
200
|
+
contentIndex?: number | undefined;
|
|
201
|
+
hidden?: boolean | undefined;
|
|
202
|
+
approvalId?: string | undefined;
|
|
203
|
+
suspensionId?: string | undefined;
|
|
204
|
+
result?: unknown;
|
|
205
|
+
error?: string | undefined;
|
|
206
|
+
errorDetails?: {
|
|
207
|
+
code: string;
|
|
208
|
+
message: string;
|
|
209
|
+
retryable?: boolean | undefined;
|
|
210
|
+
details?: Record<string, unknown> | undefined;
|
|
211
|
+
} | undefined;
|
|
212
|
+
}>;
|
|
213
|
+
denyApproval(approvalId: string, note?: string): Promise<{
|
|
214
|
+
id: string;
|
|
215
|
+
agentId: string;
|
|
216
|
+
conversationId: string;
|
|
217
|
+
projectId: string;
|
|
218
|
+
toolName: "find" | "read" | "bash" | "python" | "edit" | "write" | "grep" | "ls" | "ask_user" | "todos_set" | "todos_get" | "web_search" | "web_fetch" | "task_start" | "task_status" | "task_logs" | "task_cancel" | "task_restart" | "task_list" | "explore" | "plan_mode_enter" | "plan_mode_present" | "plan_mode_force_exit";
|
|
219
|
+
risk: "secret" | "command" | "read" | "workspace_write" | "network" | "destructive" | "agent_spawn" | "deployment" | "interaction";
|
|
220
|
+
args: unknown;
|
|
221
|
+
cwd: string;
|
|
222
|
+
status: "error" | "running" | "completed" | "requested" | "pending_approval" | "waiting_for_user" | "denied";
|
|
223
|
+
createdAt: string;
|
|
224
|
+
updatedAt: string;
|
|
225
|
+
sourceToolCallId?: string | undefined;
|
|
226
|
+
providerToolCallId?: string | undefined;
|
|
227
|
+
runId?: string | undefined;
|
|
228
|
+
turnId?: string | undefined;
|
|
229
|
+
liveMessageId?: string | undefined;
|
|
230
|
+
contentIndex?: number | undefined;
|
|
231
|
+
hidden?: boolean | undefined;
|
|
232
|
+
approvalId?: string | undefined;
|
|
233
|
+
suspensionId?: string | undefined;
|
|
234
|
+
result?: unknown;
|
|
235
|
+
error?: string | undefined;
|
|
236
|
+
errorDetails?: {
|
|
237
|
+
code: string;
|
|
238
|
+
message: string;
|
|
239
|
+
retryable?: boolean | undefined;
|
|
240
|
+
details?: Record<string, unknown> | undefined;
|
|
241
|
+
} | undefined;
|
|
242
|
+
}>;
|
|
243
|
+
listUserQuestions(status?: UserQuestionStatus): {
|
|
244
|
+
id: string;
|
|
245
|
+
toolCallId: string;
|
|
246
|
+
agentId: string;
|
|
247
|
+
conversationId: string;
|
|
248
|
+
projectId: string;
|
|
249
|
+
question: string;
|
|
250
|
+
status: "pending" | "answered" | "dismissed";
|
|
251
|
+
requestedAt: string;
|
|
252
|
+
updatedAt: string;
|
|
253
|
+
context?: string | undefined;
|
|
254
|
+
recommendation?: string | undefined;
|
|
255
|
+
placeholder?: string | undefined;
|
|
256
|
+
answer?: string | undefined;
|
|
257
|
+
dismissedReason?: string | undefined;
|
|
258
|
+
resolvedAt?: string | undefined;
|
|
259
|
+
}[];
|
|
260
|
+
listPlanReviews(status?: PlanReviewStatus): {
|
|
261
|
+
id: string;
|
|
262
|
+
toolCallId: string;
|
|
263
|
+
agentId: string;
|
|
264
|
+
conversationId: string;
|
|
265
|
+
projectId: string;
|
|
266
|
+
slug: string;
|
|
267
|
+
planPath: string;
|
|
268
|
+
status: "pending" | "accepted" | "accepted_in_new_chat" | "changes_requested" | "discarded" | "force_exited";
|
|
269
|
+
requestedAt: string;
|
|
270
|
+
updatedAt: string;
|
|
271
|
+
title?: string | undefined;
|
|
272
|
+
summary?: string | undefined;
|
|
273
|
+
content?: string | undefined;
|
|
274
|
+
feedback?: string | undefined;
|
|
275
|
+
resolvedAt?: string | undefined;
|
|
276
|
+
}[];
|
|
277
|
+
acceptPlanReview(reviewId: string, feedback?: string, implementation?: PlanImplementationSelection): Promise<{
|
|
278
|
+
id: string;
|
|
279
|
+
toolCallId: string;
|
|
280
|
+
agentId: string;
|
|
281
|
+
conversationId: string;
|
|
282
|
+
projectId: string;
|
|
283
|
+
slug: string;
|
|
284
|
+
planPath: string;
|
|
285
|
+
status: "pending" | "accepted" | "accepted_in_new_chat" | "changes_requested" | "discarded" | "force_exited";
|
|
286
|
+
requestedAt: string;
|
|
287
|
+
updatedAt: string;
|
|
288
|
+
title?: string | undefined;
|
|
289
|
+
summary?: string | undefined;
|
|
290
|
+
content?: string | undefined;
|
|
291
|
+
feedback?: string | undefined;
|
|
292
|
+
resolvedAt?: string | undefined;
|
|
293
|
+
}>;
|
|
294
|
+
acceptPlanReviewInNewChat(reviewId: string, feedback?: string, implementation?: PlanImplementationSelection): Promise<import("./domains/human-input/human-input-resolution.service.js").AcceptPlanReviewInNewChatResult>;
|
|
295
|
+
rejectPlanReview(reviewId: string, feedback?: string): Promise<{
|
|
296
|
+
id: string;
|
|
297
|
+
toolCallId: string;
|
|
298
|
+
agentId: string;
|
|
299
|
+
conversationId: string;
|
|
300
|
+
projectId: string;
|
|
301
|
+
slug: string;
|
|
302
|
+
planPath: string;
|
|
303
|
+
status: "pending" | "accepted" | "accepted_in_new_chat" | "changes_requested" | "discarded" | "force_exited";
|
|
304
|
+
requestedAt: string;
|
|
305
|
+
updatedAt: string;
|
|
306
|
+
title?: string | undefined;
|
|
307
|
+
summary?: string | undefined;
|
|
308
|
+
content?: string | undefined;
|
|
309
|
+
feedback?: string | undefined;
|
|
310
|
+
resolvedAt?: string | undefined;
|
|
311
|
+
}>;
|
|
312
|
+
requestPlanChanges(reviewId: string, feedback?: string): Promise<{
|
|
313
|
+
id: string;
|
|
314
|
+
toolCallId: string;
|
|
315
|
+
agentId: string;
|
|
316
|
+
conversationId: string;
|
|
317
|
+
projectId: string;
|
|
318
|
+
slug: string;
|
|
319
|
+
planPath: string;
|
|
320
|
+
status: "pending" | "accepted" | "accepted_in_new_chat" | "changes_requested" | "discarded" | "force_exited";
|
|
321
|
+
requestedAt: string;
|
|
322
|
+
updatedAt: string;
|
|
323
|
+
title?: string | undefined;
|
|
324
|
+
summary?: string | undefined;
|
|
325
|
+
content?: string | undefined;
|
|
326
|
+
feedback?: string | undefined;
|
|
327
|
+
resolvedAt?: string | undefined;
|
|
328
|
+
}>;
|
|
329
|
+
discardPlanReview(reviewId: string, feedback?: string): Promise<{
|
|
330
|
+
id: string;
|
|
331
|
+
toolCallId: string;
|
|
332
|
+
agentId: string;
|
|
333
|
+
conversationId: string;
|
|
334
|
+
projectId: string;
|
|
335
|
+
slug: string;
|
|
336
|
+
planPath: string;
|
|
337
|
+
status: "pending" | "accepted" | "accepted_in_new_chat" | "changes_requested" | "discarded" | "force_exited";
|
|
338
|
+
requestedAt: string;
|
|
339
|
+
updatedAt: string;
|
|
340
|
+
title?: string | undefined;
|
|
341
|
+
summary?: string | undefined;
|
|
342
|
+
content?: string | undefined;
|
|
343
|
+
feedback?: string | undefined;
|
|
344
|
+
resolvedAt?: string | undefined;
|
|
345
|
+
}>;
|
|
346
|
+
answerUserQuestion(questionId: string, answer: string): Promise<{
|
|
347
|
+
id: string;
|
|
348
|
+
toolCallId: string;
|
|
349
|
+
agentId: string;
|
|
350
|
+
conversationId: string;
|
|
351
|
+
projectId: string;
|
|
352
|
+
question: string;
|
|
353
|
+
status: "pending" | "answered" | "dismissed";
|
|
354
|
+
requestedAt: string;
|
|
355
|
+
updatedAt: string;
|
|
356
|
+
context?: string | undefined;
|
|
357
|
+
recommendation?: string | undefined;
|
|
358
|
+
placeholder?: string | undefined;
|
|
359
|
+
answer?: string | undefined;
|
|
360
|
+
dismissedReason?: string | undefined;
|
|
361
|
+
resolvedAt?: string | undefined;
|
|
362
|
+
}>;
|
|
363
|
+
dismissUserQuestion(questionId: string, reason?: string): Promise<{
|
|
364
|
+
id: string;
|
|
365
|
+
toolCallId: string;
|
|
366
|
+
agentId: string;
|
|
367
|
+
conversationId: string;
|
|
368
|
+
projectId: string;
|
|
369
|
+
question: string;
|
|
370
|
+
status: "pending" | "answered" | "dismissed";
|
|
371
|
+
requestedAt: string;
|
|
372
|
+
updatedAt: string;
|
|
373
|
+
context?: string | undefined;
|
|
374
|
+
recommendation?: string | undefined;
|
|
375
|
+
placeholder?: string | undefined;
|
|
376
|
+
answer?: string | undefined;
|
|
377
|
+
dismissedReason?: string | undefined;
|
|
378
|
+
resolvedAt?: string | undefined;
|
|
379
|
+
}>;
|
|
380
|
+
listTasks(): {
|
|
381
|
+
id: string;
|
|
382
|
+
cwd: string;
|
|
383
|
+
command: string;
|
|
384
|
+
status: "running" | "starting" | "ready" | "stopping" | "completed" | "failed" | "timed_out" | "cancelled" | "orphaned";
|
|
385
|
+
readiness: {
|
|
386
|
+
outcome: "ready" | "pending" | "none" | "timeout" | "exited";
|
|
387
|
+
readyUrl?: string | undefined;
|
|
388
|
+
readyOnUrl?: boolean | undefined;
|
|
389
|
+
readyPattern?: string | undefined;
|
|
390
|
+
timeoutMs?: number | undefined;
|
|
391
|
+
matched?: string | undefined;
|
|
392
|
+
readyAt?: string | undefined;
|
|
393
|
+
};
|
|
394
|
+
stdoutPath: string;
|
|
395
|
+
stderrPath: string;
|
|
396
|
+
logsPath: string;
|
|
397
|
+
startedAt: string;
|
|
398
|
+
updatedAt: string;
|
|
399
|
+
origin: {
|
|
400
|
+
kind: "api";
|
|
401
|
+
} | {
|
|
402
|
+
kind: "utility_panel";
|
|
403
|
+
} | {
|
|
404
|
+
kind: "agent_tool";
|
|
405
|
+
toolCallId: string;
|
|
406
|
+
providerToolCallId?: string | undefined;
|
|
407
|
+
runId?: string | undefined;
|
|
408
|
+
turnId?: string | undefined;
|
|
409
|
+
liveMessageId?: string | undefined;
|
|
410
|
+
contentIndex?: number | undefined;
|
|
411
|
+
};
|
|
412
|
+
visibility: "foreground" | "background";
|
|
413
|
+
name?: string | undefined;
|
|
414
|
+
groupId?: string | undefined;
|
|
415
|
+
groupName?: string | undefined;
|
|
416
|
+
workerId?: string | undefined;
|
|
417
|
+
projectId?: string | undefined;
|
|
418
|
+
conversationId?: string | undefined;
|
|
419
|
+
agentId?: string | undefined;
|
|
420
|
+
envInfo?: {
|
|
421
|
+
keys: string[];
|
|
422
|
+
persisted: boolean;
|
|
423
|
+
redacted: true;
|
|
424
|
+
} | undefined;
|
|
425
|
+
combinedPath?: string | undefined;
|
|
426
|
+
finishedAt?: string | undefined;
|
|
427
|
+
exitCode?: number | null | undefined;
|
|
428
|
+
signal?: string | null | undefined;
|
|
429
|
+
error?: string | undefined;
|
|
430
|
+
timeoutMs?: number | undefined;
|
|
431
|
+
restartedFromTaskId?: string | undefined;
|
|
432
|
+
restartRootTaskId?: string | undefined;
|
|
433
|
+
restartGeneration?: number | undefined;
|
|
434
|
+
legacyProcessId?: string | undefined;
|
|
435
|
+
runtime?: {
|
|
436
|
+
platform: string;
|
|
437
|
+
detached: boolean;
|
|
438
|
+
shell: boolean;
|
|
439
|
+
spawnedAt: string;
|
|
440
|
+
childPid?: number | undefined;
|
|
441
|
+
processGroupId?: number | undefined;
|
|
442
|
+
} | undefined;
|
|
443
|
+
completion?: {
|
|
444
|
+
inject: boolean;
|
|
445
|
+
outputTailLineCount: number;
|
|
446
|
+
entryId?: string | undefined;
|
|
447
|
+
injectedAt?: string | undefined;
|
|
448
|
+
} | undefined;
|
|
449
|
+
notifications?: {
|
|
450
|
+
enabled: boolean;
|
|
451
|
+
ready: boolean;
|
|
452
|
+
terminal: boolean;
|
|
453
|
+
outputTailLineCount: number;
|
|
454
|
+
readyEntryId?: string | undefined;
|
|
455
|
+
terminalEntryId?: string | undefined;
|
|
456
|
+
readyDeliveredAt?: string | undefined;
|
|
457
|
+
terminalDeliveredAt?: string | undefined;
|
|
458
|
+
} | undefined;
|
|
459
|
+
}[];
|
|
460
|
+
getTask(taskId: string): {
|
|
461
|
+
id: string;
|
|
462
|
+
cwd: string;
|
|
463
|
+
command: string;
|
|
464
|
+
status: "running" | "starting" | "ready" | "stopping" | "completed" | "failed" | "timed_out" | "cancelled" | "orphaned";
|
|
465
|
+
readiness: {
|
|
466
|
+
outcome: "ready" | "pending" | "none" | "timeout" | "exited";
|
|
467
|
+
readyUrl?: string | undefined;
|
|
468
|
+
readyOnUrl?: boolean | undefined;
|
|
469
|
+
readyPattern?: string | undefined;
|
|
470
|
+
timeoutMs?: number | undefined;
|
|
471
|
+
matched?: string | undefined;
|
|
472
|
+
readyAt?: string | undefined;
|
|
473
|
+
};
|
|
474
|
+
stdoutPath: string;
|
|
475
|
+
stderrPath: string;
|
|
476
|
+
logsPath: string;
|
|
477
|
+
startedAt: string;
|
|
478
|
+
updatedAt: string;
|
|
479
|
+
origin: {
|
|
480
|
+
kind: "api";
|
|
481
|
+
} | {
|
|
482
|
+
kind: "utility_panel";
|
|
483
|
+
} | {
|
|
484
|
+
kind: "agent_tool";
|
|
485
|
+
toolCallId: string;
|
|
486
|
+
providerToolCallId?: string | undefined;
|
|
487
|
+
runId?: string | undefined;
|
|
488
|
+
turnId?: string | undefined;
|
|
489
|
+
liveMessageId?: string | undefined;
|
|
490
|
+
contentIndex?: number | undefined;
|
|
491
|
+
};
|
|
492
|
+
visibility: "foreground" | "background";
|
|
493
|
+
name?: string | undefined;
|
|
494
|
+
groupId?: string | undefined;
|
|
495
|
+
groupName?: string | undefined;
|
|
496
|
+
workerId?: string | undefined;
|
|
497
|
+
projectId?: string | undefined;
|
|
498
|
+
conversationId?: string | undefined;
|
|
499
|
+
agentId?: string | undefined;
|
|
500
|
+
envInfo?: {
|
|
501
|
+
keys: string[];
|
|
502
|
+
persisted: boolean;
|
|
503
|
+
redacted: true;
|
|
504
|
+
} | undefined;
|
|
505
|
+
combinedPath?: string | undefined;
|
|
506
|
+
finishedAt?: string | undefined;
|
|
507
|
+
exitCode?: number | null | undefined;
|
|
508
|
+
signal?: string | null | undefined;
|
|
509
|
+
error?: string | undefined;
|
|
510
|
+
timeoutMs?: number | undefined;
|
|
511
|
+
restartedFromTaskId?: string | undefined;
|
|
512
|
+
restartRootTaskId?: string | undefined;
|
|
513
|
+
restartGeneration?: number | undefined;
|
|
514
|
+
legacyProcessId?: string | undefined;
|
|
515
|
+
runtime?: {
|
|
516
|
+
platform: string;
|
|
517
|
+
detached: boolean;
|
|
518
|
+
shell: boolean;
|
|
519
|
+
spawnedAt: string;
|
|
520
|
+
childPid?: number | undefined;
|
|
521
|
+
processGroupId?: number | undefined;
|
|
522
|
+
} | undefined;
|
|
523
|
+
completion?: {
|
|
524
|
+
inject: boolean;
|
|
525
|
+
outputTailLineCount: number;
|
|
526
|
+
entryId?: string | undefined;
|
|
527
|
+
injectedAt?: string | undefined;
|
|
528
|
+
} | undefined;
|
|
529
|
+
notifications?: {
|
|
530
|
+
enabled: boolean;
|
|
531
|
+
ready: boolean;
|
|
532
|
+
terminal: boolean;
|
|
533
|
+
outputTailLineCount: number;
|
|
534
|
+
readyEntryId?: string | undefined;
|
|
535
|
+
terminalEntryId?: string | undefined;
|
|
536
|
+
readyDeliveredAt?: string | undefined;
|
|
537
|
+
terminalDeliveredAt?: string | undefined;
|
|
538
|
+
} | undefined;
|
|
539
|
+
};
|
|
540
|
+
listWorkers(): {
|
|
541
|
+
id: string;
|
|
542
|
+
kind: "local";
|
|
543
|
+
name: string;
|
|
544
|
+
status: "error" | "online" | "offline";
|
|
545
|
+
capabilities: ("agent" | "task")[];
|
|
546
|
+
createdAt: string;
|
|
547
|
+
updatedAt: string;
|
|
548
|
+
endpoint?: {
|
|
549
|
+
pid?: number | undefined;
|
|
550
|
+
host?: string | undefined;
|
|
551
|
+
port?: number | undefined;
|
|
552
|
+
} | undefined;
|
|
553
|
+
}[];
|
|
554
|
+
getWorker(workerId: string): {
|
|
555
|
+
id: string;
|
|
556
|
+
kind: "local";
|
|
557
|
+
name: string;
|
|
558
|
+
status: "error" | "online" | "offline";
|
|
559
|
+
capabilities: ("agent" | "task")[];
|
|
560
|
+
createdAt: string;
|
|
561
|
+
updatedAt: string;
|
|
562
|
+
endpoint?: {
|
|
563
|
+
pid?: number | undefined;
|
|
564
|
+
host?: string | undefined;
|
|
565
|
+
port?: number | undefined;
|
|
566
|
+
} | undefined;
|
|
567
|
+
};
|
|
568
|
+
listPinnedCommands(projectId: string): Promise<{
|
|
569
|
+
id: string;
|
|
570
|
+
projectId: string;
|
|
571
|
+
command: string;
|
|
572
|
+
createdAt: string;
|
|
573
|
+
updatedAt: string;
|
|
574
|
+
label?: string | undefined;
|
|
575
|
+
cwd?: string | undefined;
|
|
576
|
+
}[]>;
|
|
577
|
+
createPinnedCommand(projectId: string, request: CreatePinnedCommandRequest): Promise<{
|
|
578
|
+
id: string;
|
|
579
|
+
projectId: string;
|
|
580
|
+
command: string;
|
|
581
|
+
createdAt: string;
|
|
582
|
+
updatedAt: string;
|
|
583
|
+
label?: string | undefined;
|
|
584
|
+
cwd?: string | undefined;
|
|
585
|
+
}>;
|
|
586
|
+
removePinnedCommand(projectId: string, commandId: string): Promise<void>;
|
|
587
|
+
startTask(request: StartTaskRequest): Promise<{
|
|
588
|
+
id: string;
|
|
589
|
+
cwd: string;
|
|
590
|
+
command: string;
|
|
591
|
+
status: "running" | "starting" | "ready" | "stopping" | "completed" | "failed" | "timed_out" | "cancelled" | "orphaned";
|
|
592
|
+
readiness: {
|
|
593
|
+
outcome: "ready" | "pending" | "none" | "timeout" | "exited";
|
|
594
|
+
readyUrl?: string | undefined;
|
|
595
|
+
readyOnUrl?: boolean | undefined;
|
|
596
|
+
readyPattern?: string | undefined;
|
|
597
|
+
timeoutMs?: number | undefined;
|
|
598
|
+
matched?: string | undefined;
|
|
599
|
+
readyAt?: string | undefined;
|
|
600
|
+
};
|
|
601
|
+
stdoutPath: string;
|
|
602
|
+
stderrPath: string;
|
|
603
|
+
logsPath: string;
|
|
604
|
+
startedAt: string;
|
|
605
|
+
updatedAt: string;
|
|
606
|
+
origin: {
|
|
607
|
+
kind: "api";
|
|
608
|
+
} | {
|
|
609
|
+
kind: "utility_panel";
|
|
610
|
+
} | {
|
|
611
|
+
kind: "agent_tool";
|
|
612
|
+
toolCallId: string;
|
|
613
|
+
providerToolCallId?: string | undefined;
|
|
614
|
+
runId?: string | undefined;
|
|
615
|
+
turnId?: string | undefined;
|
|
616
|
+
liveMessageId?: string | undefined;
|
|
617
|
+
contentIndex?: number | undefined;
|
|
618
|
+
};
|
|
619
|
+
visibility: "foreground" | "background";
|
|
620
|
+
name?: string | undefined;
|
|
621
|
+
groupId?: string | undefined;
|
|
622
|
+
groupName?: string | undefined;
|
|
623
|
+
workerId?: string | undefined;
|
|
624
|
+
projectId?: string | undefined;
|
|
625
|
+
conversationId?: string | undefined;
|
|
626
|
+
agentId?: string | undefined;
|
|
627
|
+
envInfo?: {
|
|
628
|
+
keys: string[];
|
|
629
|
+
persisted: boolean;
|
|
630
|
+
redacted: true;
|
|
631
|
+
} | undefined;
|
|
632
|
+
combinedPath?: string | undefined;
|
|
633
|
+
finishedAt?: string | undefined;
|
|
634
|
+
exitCode?: number | null | undefined;
|
|
635
|
+
signal?: string | null | undefined;
|
|
636
|
+
error?: string | undefined;
|
|
637
|
+
timeoutMs?: number | undefined;
|
|
638
|
+
restartedFromTaskId?: string | undefined;
|
|
639
|
+
restartRootTaskId?: string | undefined;
|
|
640
|
+
restartGeneration?: number | undefined;
|
|
641
|
+
legacyProcessId?: string | undefined;
|
|
642
|
+
runtime?: {
|
|
643
|
+
platform: string;
|
|
644
|
+
detached: boolean;
|
|
645
|
+
shell: boolean;
|
|
646
|
+
spawnedAt: string;
|
|
647
|
+
childPid?: number | undefined;
|
|
648
|
+
processGroupId?: number | undefined;
|
|
649
|
+
} | undefined;
|
|
650
|
+
completion?: {
|
|
651
|
+
inject: boolean;
|
|
652
|
+
outputTailLineCount: number;
|
|
653
|
+
entryId?: string | undefined;
|
|
654
|
+
injectedAt?: string | undefined;
|
|
655
|
+
} | undefined;
|
|
656
|
+
notifications?: {
|
|
657
|
+
enabled: boolean;
|
|
658
|
+
ready: boolean;
|
|
659
|
+
terminal: boolean;
|
|
660
|
+
outputTailLineCount: number;
|
|
661
|
+
readyEntryId?: string | undefined;
|
|
662
|
+
terminalEntryId?: string | undefined;
|
|
663
|
+
readyDeliveredAt?: string | undefined;
|
|
664
|
+
terminalDeliveredAt?: string | undefined;
|
|
665
|
+
} | undefined;
|
|
666
|
+
}>;
|
|
667
|
+
cancelTask(taskId: string, request?: CancelTaskRequest): Promise<{
|
|
668
|
+
id: string;
|
|
669
|
+
cwd: string;
|
|
670
|
+
command: string;
|
|
671
|
+
status: "running" | "starting" | "ready" | "stopping" | "completed" | "failed" | "timed_out" | "cancelled" | "orphaned";
|
|
672
|
+
readiness: {
|
|
673
|
+
outcome: "ready" | "pending" | "none" | "timeout" | "exited";
|
|
674
|
+
readyUrl?: string | undefined;
|
|
675
|
+
readyOnUrl?: boolean | undefined;
|
|
676
|
+
readyPattern?: string | undefined;
|
|
677
|
+
timeoutMs?: number | undefined;
|
|
678
|
+
matched?: string | undefined;
|
|
679
|
+
readyAt?: string | undefined;
|
|
680
|
+
};
|
|
681
|
+
stdoutPath: string;
|
|
682
|
+
stderrPath: string;
|
|
683
|
+
logsPath: string;
|
|
684
|
+
startedAt: string;
|
|
685
|
+
updatedAt: string;
|
|
686
|
+
origin: {
|
|
687
|
+
kind: "api";
|
|
688
|
+
} | {
|
|
689
|
+
kind: "utility_panel";
|
|
690
|
+
} | {
|
|
691
|
+
kind: "agent_tool";
|
|
692
|
+
toolCallId: string;
|
|
693
|
+
providerToolCallId?: string | undefined;
|
|
694
|
+
runId?: string | undefined;
|
|
695
|
+
turnId?: string | undefined;
|
|
696
|
+
liveMessageId?: string | undefined;
|
|
697
|
+
contentIndex?: number | undefined;
|
|
698
|
+
};
|
|
699
|
+
visibility: "foreground" | "background";
|
|
700
|
+
name?: string | undefined;
|
|
701
|
+
groupId?: string | undefined;
|
|
702
|
+
groupName?: string | undefined;
|
|
703
|
+
workerId?: string | undefined;
|
|
704
|
+
projectId?: string | undefined;
|
|
705
|
+
conversationId?: string | undefined;
|
|
706
|
+
agentId?: string | undefined;
|
|
707
|
+
envInfo?: {
|
|
708
|
+
keys: string[];
|
|
709
|
+
persisted: boolean;
|
|
710
|
+
redacted: true;
|
|
711
|
+
} | undefined;
|
|
712
|
+
combinedPath?: string | undefined;
|
|
713
|
+
finishedAt?: string | undefined;
|
|
714
|
+
exitCode?: number | null | undefined;
|
|
715
|
+
signal?: string | null | undefined;
|
|
716
|
+
error?: string | undefined;
|
|
717
|
+
timeoutMs?: number | undefined;
|
|
718
|
+
restartedFromTaskId?: string | undefined;
|
|
719
|
+
restartRootTaskId?: string | undefined;
|
|
720
|
+
restartGeneration?: number | undefined;
|
|
721
|
+
legacyProcessId?: string | undefined;
|
|
722
|
+
runtime?: {
|
|
723
|
+
platform: string;
|
|
724
|
+
detached: boolean;
|
|
725
|
+
shell: boolean;
|
|
726
|
+
spawnedAt: string;
|
|
727
|
+
childPid?: number | undefined;
|
|
728
|
+
processGroupId?: number | undefined;
|
|
729
|
+
} | undefined;
|
|
730
|
+
completion?: {
|
|
731
|
+
inject: boolean;
|
|
732
|
+
outputTailLineCount: number;
|
|
733
|
+
entryId?: string | undefined;
|
|
734
|
+
injectedAt?: string | undefined;
|
|
735
|
+
} | undefined;
|
|
736
|
+
notifications?: {
|
|
737
|
+
enabled: boolean;
|
|
738
|
+
ready: boolean;
|
|
739
|
+
terminal: boolean;
|
|
740
|
+
outputTailLineCount: number;
|
|
741
|
+
readyEntryId?: string | undefined;
|
|
742
|
+
terminalEntryId?: string | undefined;
|
|
743
|
+
readyDeliveredAt?: string | undefined;
|
|
744
|
+
terminalDeliveredAt?: string | undefined;
|
|
745
|
+
} | undefined;
|
|
746
|
+
}>;
|
|
747
|
+
restartTask(taskId: string): Promise<{
|
|
748
|
+
id: string;
|
|
749
|
+
cwd: string;
|
|
750
|
+
command: string;
|
|
751
|
+
status: "running" | "starting" | "ready" | "stopping" | "completed" | "failed" | "timed_out" | "cancelled" | "orphaned";
|
|
752
|
+
readiness: {
|
|
753
|
+
outcome: "ready" | "pending" | "none" | "timeout" | "exited";
|
|
754
|
+
readyUrl?: string | undefined;
|
|
755
|
+
readyOnUrl?: boolean | undefined;
|
|
756
|
+
readyPattern?: string | undefined;
|
|
757
|
+
timeoutMs?: number | undefined;
|
|
758
|
+
matched?: string | undefined;
|
|
759
|
+
readyAt?: string | undefined;
|
|
760
|
+
};
|
|
761
|
+
stdoutPath: string;
|
|
762
|
+
stderrPath: string;
|
|
763
|
+
logsPath: string;
|
|
764
|
+
startedAt: string;
|
|
765
|
+
updatedAt: string;
|
|
766
|
+
origin: {
|
|
767
|
+
kind: "api";
|
|
768
|
+
} | {
|
|
769
|
+
kind: "utility_panel";
|
|
770
|
+
} | {
|
|
771
|
+
kind: "agent_tool";
|
|
772
|
+
toolCallId: string;
|
|
773
|
+
providerToolCallId?: string | undefined;
|
|
774
|
+
runId?: string | undefined;
|
|
775
|
+
turnId?: string | undefined;
|
|
776
|
+
liveMessageId?: string | undefined;
|
|
777
|
+
contentIndex?: number | undefined;
|
|
778
|
+
};
|
|
779
|
+
visibility: "foreground" | "background";
|
|
780
|
+
name?: string | undefined;
|
|
781
|
+
groupId?: string | undefined;
|
|
782
|
+
groupName?: string | undefined;
|
|
783
|
+
workerId?: string | undefined;
|
|
784
|
+
projectId?: string | undefined;
|
|
785
|
+
conversationId?: string | undefined;
|
|
786
|
+
agentId?: string | undefined;
|
|
787
|
+
envInfo?: {
|
|
788
|
+
keys: string[];
|
|
789
|
+
persisted: boolean;
|
|
790
|
+
redacted: true;
|
|
791
|
+
} | undefined;
|
|
792
|
+
combinedPath?: string | undefined;
|
|
793
|
+
finishedAt?: string | undefined;
|
|
794
|
+
exitCode?: number | null | undefined;
|
|
795
|
+
signal?: string | null | undefined;
|
|
796
|
+
error?: string | undefined;
|
|
797
|
+
timeoutMs?: number | undefined;
|
|
798
|
+
restartedFromTaskId?: string | undefined;
|
|
799
|
+
restartRootTaskId?: string | undefined;
|
|
800
|
+
restartGeneration?: number | undefined;
|
|
801
|
+
legacyProcessId?: string | undefined;
|
|
802
|
+
runtime?: {
|
|
803
|
+
platform: string;
|
|
804
|
+
detached: boolean;
|
|
805
|
+
shell: boolean;
|
|
806
|
+
spawnedAt: string;
|
|
807
|
+
childPid?: number | undefined;
|
|
808
|
+
processGroupId?: number | undefined;
|
|
809
|
+
} | undefined;
|
|
810
|
+
completion?: {
|
|
811
|
+
inject: boolean;
|
|
812
|
+
outputTailLineCount: number;
|
|
813
|
+
entryId?: string | undefined;
|
|
814
|
+
injectedAt?: string | undefined;
|
|
815
|
+
} | undefined;
|
|
816
|
+
notifications?: {
|
|
817
|
+
enabled: boolean;
|
|
818
|
+
ready: boolean;
|
|
819
|
+
terminal: boolean;
|
|
820
|
+
outputTailLineCount: number;
|
|
821
|
+
readyEntryId?: string | undefined;
|
|
822
|
+
terminalEntryId?: string | undefined;
|
|
823
|
+
readyDeliveredAt?: string | undefined;
|
|
824
|
+
terminalDeliveredAt?: string | undefined;
|
|
825
|
+
} | undefined;
|
|
826
|
+
}>;
|
|
827
|
+
removeTask(taskId: string): Promise<void>;
|
|
828
|
+
pruneTasks(): Promise<string[]>;
|
|
829
|
+
queryTaskLogs(taskId: string, query?: TaskLogQuery): Promise<{
|
|
830
|
+
task: {
|
|
831
|
+
id: string;
|
|
832
|
+
cwd: string;
|
|
833
|
+
command: string;
|
|
834
|
+
status: "running" | "starting" | "ready" | "stopping" | "completed" | "failed" | "timed_out" | "cancelled" | "orphaned";
|
|
835
|
+
readiness: {
|
|
836
|
+
outcome: "ready" | "pending" | "none" | "timeout" | "exited";
|
|
837
|
+
readyUrl?: string | undefined;
|
|
838
|
+
readyOnUrl?: boolean | undefined;
|
|
839
|
+
readyPattern?: string | undefined;
|
|
840
|
+
timeoutMs?: number | undefined;
|
|
841
|
+
matched?: string | undefined;
|
|
842
|
+
readyAt?: string | undefined;
|
|
843
|
+
};
|
|
844
|
+
stdoutPath: string;
|
|
845
|
+
stderrPath: string;
|
|
846
|
+
logsPath: string;
|
|
847
|
+
startedAt: string;
|
|
848
|
+
updatedAt: string;
|
|
849
|
+
origin: {
|
|
850
|
+
kind: "api";
|
|
851
|
+
} | {
|
|
852
|
+
kind: "utility_panel";
|
|
853
|
+
} | {
|
|
854
|
+
kind: "agent_tool";
|
|
855
|
+
toolCallId: string;
|
|
856
|
+
providerToolCallId?: string | undefined;
|
|
857
|
+
runId?: string | undefined;
|
|
858
|
+
turnId?: string | undefined;
|
|
859
|
+
liveMessageId?: string | undefined;
|
|
860
|
+
contentIndex?: number | undefined;
|
|
861
|
+
};
|
|
862
|
+
visibility: "foreground" | "background";
|
|
863
|
+
name?: string | undefined;
|
|
864
|
+
groupId?: string | undefined;
|
|
865
|
+
groupName?: string | undefined;
|
|
866
|
+
workerId?: string | undefined;
|
|
867
|
+
projectId?: string | undefined;
|
|
868
|
+
conversationId?: string | undefined;
|
|
869
|
+
agentId?: string | undefined;
|
|
870
|
+
envInfo?: {
|
|
871
|
+
keys: string[];
|
|
872
|
+
persisted: boolean;
|
|
873
|
+
redacted: true;
|
|
874
|
+
} | undefined;
|
|
875
|
+
combinedPath?: string | undefined;
|
|
876
|
+
finishedAt?: string | undefined;
|
|
877
|
+
exitCode?: number | null | undefined;
|
|
878
|
+
signal?: string | null | undefined;
|
|
879
|
+
error?: string | undefined;
|
|
880
|
+
timeoutMs?: number | undefined;
|
|
881
|
+
restartedFromTaskId?: string | undefined;
|
|
882
|
+
restartRootTaskId?: string | undefined;
|
|
883
|
+
restartGeneration?: number | undefined;
|
|
884
|
+
legacyProcessId?: string | undefined;
|
|
885
|
+
runtime?: {
|
|
886
|
+
platform: string;
|
|
887
|
+
detached: boolean;
|
|
888
|
+
shell: boolean;
|
|
889
|
+
spawnedAt: string;
|
|
890
|
+
childPid?: number | undefined;
|
|
891
|
+
processGroupId?: number | undefined;
|
|
892
|
+
} | undefined;
|
|
893
|
+
completion?: {
|
|
894
|
+
inject: boolean;
|
|
895
|
+
outputTailLineCount: number;
|
|
896
|
+
entryId?: string | undefined;
|
|
897
|
+
injectedAt?: string | undefined;
|
|
898
|
+
} | undefined;
|
|
899
|
+
notifications?: {
|
|
900
|
+
enabled: boolean;
|
|
901
|
+
ready: boolean;
|
|
902
|
+
terminal: boolean;
|
|
903
|
+
outputTailLineCount: number;
|
|
904
|
+
readyEntryId?: string | undefined;
|
|
905
|
+
terminalEntryId?: string | undefined;
|
|
906
|
+
readyDeliveredAt?: string | undefined;
|
|
907
|
+
terminalDeliveredAt?: string | undefined;
|
|
908
|
+
} | undefined;
|
|
909
|
+
};
|
|
910
|
+
events: {
|
|
911
|
+
seq: number;
|
|
912
|
+
ts: string;
|
|
913
|
+
stream: "stdout" | "stderr";
|
|
914
|
+
level: "info" | "warn" | "error";
|
|
915
|
+
line: string;
|
|
916
|
+
}[];
|
|
917
|
+
nextCursor: number;
|
|
918
|
+
mode: string;
|
|
919
|
+
previewPath?: string | undefined;
|
|
920
|
+
truncated?: boolean | undefined;
|
|
921
|
+
}>;
|
|
922
|
+
get providers(): ProviderCatalogStore;
|
|
923
|
+
listModels(): ModelInfo[];
|
|
924
|
+
listQueuedPrompts(agentId: string): Promise<{
|
|
925
|
+
id: string;
|
|
926
|
+
agentId: string;
|
|
927
|
+
conversationId: string;
|
|
928
|
+
projectId: string;
|
|
929
|
+
behavior: "steer" | "follow-up";
|
|
930
|
+
text: string;
|
|
931
|
+
status: "failed" | "cancelled" | "queued" | "accepted" | "delivered";
|
|
932
|
+
createdAt: string;
|
|
933
|
+
updatedAt: string;
|
|
934
|
+
runId?: string | undefined;
|
|
935
|
+
images?: {
|
|
936
|
+
type: "image";
|
|
937
|
+
data: string;
|
|
938
|
+
mimeType: string;
|
|
939
|
+
}[] | undefined;
|
|
940
|
+
deliveredEntryId?: string | undefined;
|
|
941
|
+
error?: string | undefined;
|
|
942
|
+
}[]>;
|
|
943
|
+
cancelQueuedPrompt(agentId: string, queuedPromptId: string): Promise<{
|
|
944
|
+
id: string;
|
|
945
|
+
agentId: string;
|
|
946
|
+
conversationId: string;
|
|
947
|
+
projectId: string;
|
|
948
|
+
behavior: "steer" | "follow-up";
|
|
949
|
+
text: string;
|
|
950
|
+
status: "failed" | "cancelled" | "queued" | "accepted" | "delivered";
|
|
951
|
+
createdAt: string;
|
|
952
|
+
updatedAt: string;
|
|
953
|
+
runId?: string | undefined;
|
|
954
|
+
images?: {
|
|
955
|
+
type: "image";
|
|
956
|
+
data: string;
|
|
957
|
+
mimeType: string;
|
|
958
|
+
}[] | undefined;
|
|
959
|
+
deliveredEntryId?: string | undefined;
|
|
960
|
+
error?: string | undefined;
|
|
961
|
+
}>;
|
|
962
|
+
promptAgent(agentId: string, request: PromptRequest): Promise<void>;
|
|
963
|
+
abortAgent(agentId: string): Promise<void>;
|
|
964
|
+
continueFromFailedTurn(agentId: string, statusEntryId: string): Promise<void>;
|
|
965
|
+
private setAgentStatus;
|
|
966
|
+
private updateAgent;
|
|
967
|
+
private updateConversation;
|
|
968
|
+
private appendEntry;
|
|
969
|
+
private loadProjects;
|
|
970
|
+
private loadConversations;
|
|
971
|
+
private loadAgents;
|
|
972
|
+
private rebuildConversations;
|
|
973
|
+
}
|
|
974
|
+
export { errorResponse, HttpError } from "./http/errors.js";
|
|
975
|
+
export declare function providerSecretName(provider: string): string;
|
|
976
|
+
export declare function providerEnvVar(provider: string): string;
|
|
977
|
+
//# sourceMappingURL=registry.d.ts.map
|