@openagt/dashboard 0.8.0 → 0.9.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/README.md +6 -6
- package/dist/agent-view.d.ts +3 -3
- package/dist/bridge-browser.d.ts +4 -4
- package/dist/bridge-browser.d.ts.map +1 -1
- package/dist/bridge-browser.js +8 -8
- package/dist/bridge-browser.js.map +1 -1
- package/dist/built-in.d.ts +13 -4
- package/dist/built-in.d.ts.map +1 -1
- package/dist/built-in.js +45 -4
- package/dist/built-in.js.map +1 -1
- package/dist/chrome-extension/background.js +11 -11
- package/dist/chrome-extension/content.js +37 -37
- package/dist/chrome-extension/driver-plan.js +1 -1
- package/dist/chrome-extension/fingerprint.js +1 -1
- package/dist/chrome-extension/manifest.json +3 -3
- package/dist/chrome-extension/options.html +4 -4
- package/dist/chrome-extension/options.js +4 -4
- package/dist/cli.d.ts +1 -1
- package/dist/cli.js +7 -7
- package/dist/cli.js.map +1 -1
- package/dist/client.d.ts +1 -1
- package/dist/client.js +2 -2
- package/dist/cloud-run-state.d.ts +1 -1
- package/dist/cloud-scratch-refs.js +7 -7
- package/dist/cloud-scratch-refs.js.map +1 -1
- package/dist/cloud-work.js +2 -2
- package/dist/daemon-runtime.d.ts +5 -4
- package/dist/daemon-runtime.d.ts.map +1 -1
- package/dist/daemon-runtime.js +59 -9
- package/dist/daemon-runtime.js.map +1 -1
- package/dist/daemon-services.d.ts +4 -3
- package/dist/daemon-services.d.ts.map +1 -1
- package/dist/daemon-services.js +14 -8
- package/dist/daemon-services.js.map +1 -1
- package/dist/daemon-tick.js +1 -1
- package/dist/daemon.d.ts +1 -12
- package/dist/daemon.d.ts.map +1 -1
- package/dist/daemon.js +9 -32
- package/dist/daemon.js.map +1 -1
- package/dist/dashboard/agent-handoff.d.ts +4 -4
- package/dist/dashboard/agent-handoff.js +7 -7
- package/dist/dashboard/agent-handoff.js.map +1 -1
- package/dist/dashboard/bridge-endpoints.d.ts +3 -3
- package/dist/dashboard/bridge-endpoints.js +3 -3
- package/dist/dashboard/content-type.js +1 -1
- package/dist/dashboard/docs.d.ts +1 -1
- package/dist/dashboard/docs.js +1 -1
- package/dist/dashboard/git-status.d.ts +1 -1
- package/dist/dashboard/index.d.ts +1 -1
- package/dist/dashboard/index.d.ts.map +1 -1
- package/dist/dashboard/interventions.d.ts +2 -2
- package/dist/dashboard/open-in-app.d.ts +3 -3
- package/dist/dashboard/open-in-app.js +4 -4
- package/dist/dashboard/open-questions.d.ts +2 -2
- package/dist/dashboard/projects.d.ts +6 -5
- package/dist/dashboard/projects.d.ts.map +1 -1
- package/dist/dashboard/projects.js.map +1 -1
- package/dist/dashboard/pull-requests.d.ts +5 -5
- package/dist/dashboard/pull-requests.d.ts.map +1 -1
- package/dist/dashboard/pull-requests.js +2 -2
- package/dist/dashboard/pull-requests.js.map +1 -1
- package/dist/dashboard/relay-endpoints.d.ts +3 -3
- package/dist/dashboard/relay-endpoints.js +1 -1
- package/dist/dashboard/remote-run.d.ts +5 -5
- package/dist/dashboard/remote-run.js +3 -3
- package/dist/dashboard/rpc-serve.d.ts +7 -4
- package/dist/dashboard/rpc-serve.d.ts.map +1 -1
- package/dist/dashboard/rpc-serve.js.map +1 -1
- package/dist/dashboard/run-inbox.d.ts +2 -2
- package/dist/dashboard/run-inbox.js +4 -4
- package/dist/dashboard/run-inbox.js.map +1 -1
- package/dist/dashboard/server.d.ts +6 -4
- package/dist/dashboard/server.d.ts.map +1 -1
- package/dist/dashboard/server.js +3 -2
- package/dist/dashboard/server.js.map +1 -1
- package/dist/dashboard/static.js +1 -1
- package/dist/dashboard/types.d.ts +29 -3
- package/dist/dashboard/types.d.ts.map +1 -1
- package/dist/dashboard/web-start-endpoints.d.ts +1 -1
- package/dist/dashboard/web-start-endpoints.d.ts.map +1 -1
- package/dist/dashboard/web-start-endpoints.js +1 -1
- package/dist/dashboard/web-start-endpoints.js.map +1 -1
- package/dist/dashboard-bundle/assets/{main-om0WOAku.js → main-B98UOA3_.js} +48 -48
- package/dist/dashboard-bundle/assets/main-ByRjbCiA.css +2 -0
- package/dist/dashboard-bundle/assets/{module-jASZmfSB.js → module-v213KWfH.js} +4 -4
- package/dist/dashboard-bundle/host/module.js +1 -1
- package/dist/dashboard-bundle/index.html +6 -6
- package/dist/dashboard-rpc/context.d.ts +2 -0
- package/dist/dashboard-rpc/context.d.ts.map +1 -1
- package/dist/dashboard-rpc/context.js +4 -0
- package/dist/dashboard-rpc/context.js.map +1 -1
- package/dist/dashboard-rpc/control.d.ts +1 -1
- package/dist/dashboard-rpc/control.js +3 -3
- package/dist/dashboard-rpc/control.js.map +1 -1
- package/dist/dashboard-rpc/events.d.ts +3 -3
- package/dist/dashboard-rpc/index.d.ts +1 -1
- package/dist/dashboard-rpc/index.d.ts.map +1 -1
- package/dist/dashboard-rpc/index.js +1 -1
- package/dist/dashboard-rpc/index.js.map +1 -1
- package/dist/dashboard-rpc/modules.d.ts +8 -6
- package/dist/dashboard-rpc/modules.d.ts.map +1 -1
- package/dist/dashboard-rpc/modules.js +8 -6
- package/dist/dashboard-rpc/modules.js.map +1 -1
- package/dist/dashboard-rpc/preferences.d.ts +2 -2
- package/dist/dashboard-rpc/preferences.d.ts.map +1 -1
- package/dist/dashboard-rpc/preferences.js +2 -2
- package/dist/dashboard-rpc/preferences.js.map +1 -1
- package/dist/dashboard-rpc/projects.d.ts +29 -3
- package/dist/dashboard-rpc/projects.d.ts.map +1 -1
- package/dist/dashboard-rpc/projects.js +49 -7
- package/dist/dashboard-rpc/projects.js.map +1 -1
- package/dist/dashboard-rpc/reads.d.ts +3 -3
- package/dist/dashboard-rpc/reads.js +1 -1
- package/dist/dashboard-rpc/test-context.d.ts.map +1 -1
- package/dist/dashboard-rpc/test-context.js +4 -3
- package/dist/dashboard-rpc/test-context.js.map +1 -1
- package/dist/event-stream.d.ts +1 -1
- package/dist/event-stream.js +1 -1
- package/dist/events.d.ts +8 -8
- package/dist/events.d.ts.map +1 -1
- package/dist/index.d.ts +3 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/install.d.ts +9 -7
- package/dist/install.d.ts.map +1 -1
- package/dist/install.js +28 -14
- package/dist/install.js.map +1 -1
- package/dist/module-server.d.ts +1 -1
- package/dist/module-types/dashboard/lib/route.d.ts +2 -1
- package/dist/module-types/dashboard/lib/use-modules.d.ts +4 -3
- package/dist/module-types/dashboard/module/index.d.ts +5 -5
- package/dist/module-types/src/agent-view.d.ts +3 -3
- package/dist/module-types/src/bridge-browser.d.ts +4 -4
- package/dist/module-types/src/built-in.d.ts +13 -4
- package/dist/module-types/src/client.d.ts +1 -1
- package/dist/module-types/src/cloud-run-state.d.ts +1 -1
- package/dist/module-types/src/dashboard/agent-handoff.d.ts +4 -4
- package/dist/module-types/src/dashboard/bridge-endpoints.d.ts +3 -3
- package/dist/module-types/src/dashboard/docs.d.ts +1 -1
- package/dist/module-types/src/dashboard/git-status.d.ts +1 -1
- package/dist/module-types/src/dashboard/interventions.d.ts +2 -2
- package/dist/module-types/src/dashboard/open-in-app.d.ts +3 -3
- package/dist/module-types/src/dashboard/open-questions.d.ts +2 -2
- package/dist/module-types/src/dashboard/projects.d.ts +6 -5
- package/dist/module-types/src/dashboard/pull-requests.d.ts +5 -5
- package/dist/module-types/src/dashboard/remote-run.d.ts +5 -5
- package/dist/module-types/src/dashboard/rpc-serve.d.ts +7 -4
- package/dist/module-types/src/dashboard/run-inbox.d.ts +2 -2
- package/dist/module-types/src/dashboard/types.d.ts +29 -3
- package/dist/module-types/src/dashboard-rpc/context.d.ts +2 -0
- package/dist/module-types/src/dashboard-rpc/control.d.ts +1 -1
- package/dist/module-types/src/dashboard-rpc/events.d.ts +3 -3
- package/dist/module-types/src/dashboard-rpc/index.d.ts +1 -1
- package/dist/module-types/src/dashboard-rpc/modules.d.ts +8 -6
- package/dist/module-types/src/dashboard-rpc/preferences.d.ts +2 -2
- package/dist/module-types/src/dashboard-rpc/projects.d.ts +29 -3
- package/dist/module-types/src/dashboard-rpc/reads.d.ts +3 -3
- package/dist/module-types/src/event-stream.d.ts +1 -1
- package/dist/module-types/src/events.d.ts +8 -8
- package/dist/module-types/src/index.d.ts +3 -2
- package/dist/module-types/src/open-choices.d.ts +2 -2
- package/dist/module-types/src/{framework-dir.d.ts → openagent-dir.d.ts} +2 -2
- package/dist/module-types/src/openagent-gitignore.d.ts +11 -0
- package/dist/module-types/src/project-commands.d.ts +1 -1
- package/dist/module-types/src/project-errors.d.ts +11 -7
- package/dist/module-types/src/project-hooks.d.ts +4 -4
- package/dist/module-types/src/project-modules.d.ts +5 -5
- package/dist/module-types/src/project-presets.d.ts +4 -4
- package/dist/module-types/src/project.d.ts +6 -6
- package/dist/module-types/src/publish-levels.d.ts +4 -4
- package/dist/module-types/src/quota-boundary.d.ts +2 -2
- package/dist/module-types/src/registry.d.ts +13 -7
- package/dist/module-types/src/store/agent-checkout.d.ts +1 -1
- package/dist/module-types/src/store/agent-store.d.ts +6 -6
- package/dist/module-types/src/store/branches.d.ts +7 -7
- package/dist/module-types/src/store/git-host.d.ts +7 -7
- package/dist/module-types/src/store/provided.d.ts +3 -3
- package/dist/module-types/src/store/queue.d.ts +8 -8
- package/dist/module-types/src/store/repository.d.ts +2 -2
- package/dist/module-types/src/store/run-record.d.ts +10 -10
- package/dist/module-types/src/store/runs.d.ts +6 -6
- package/dist/module-types/src/store/tickets.d.ts +7 -7
- package/dist/module-types/src/terminal.d.ts +3 -3
- package/dist/open-choices.d.ts +2 -2
- package/dist/{framework-dir.js → openagent-dir.d.ts} +3 -3
- package/dist/openagent-dir.d.ts.map +1 -0
- package/dist/{framework-dir.d.ts → openagent-dir.js} +3 -3
- package/dist/openagent-dir.js.map +1 -0
- package/dist/openagent-gitignore.d.ts +12 -0
- package/dist/openagent-gitignore.d.ts.map +1 -0
- package/dist/openagent-gitignore.js +19 -0
- package/dist/openagent-gitignore.js.map +1 -0
- package/dist/pick-directory.js +2 -2
- package/dist/pick-directory.js.map +1 -1
- package/dist/project-commands.d.ts +1 -1
- package/dist/project-commands.js +1 -1
- package/dist/project-errors.d.ts +11 -7
- package/dist/project-errors.d.ts.map +1 -1
- package/dist/project-errors.js +10 -8
- package/dist/project-errors.js.map +1 -1
- package/dist/project-hooks.d.ts +4 -4
- package/dist/project-hooks.d.ts.map +1 -1
- package/dist/project-hooks.js +8 -8
- package/dist/project-hooks.js.map +1 -1
- package/dist/project-modules.d.ts +5 -5
- package/dist/project-modules.js +2 -2
- package/dist/project-presets.d.ts +4 -4
- package/dist/project-presets.d.ts.map +1 -1
- package/dist/project-presets.js +9 -9
- package/dist/project-presets.js.map +1 -1
- package/dist/project.d.ts +6 -6
- package/dist/project.js +6 -6
- package/dist/publish-levels.d.ts +4 -4
- package/dist/publish-levels.d.ts.map +1 -1
- package/dist/publish-levels.js +7 -5
- package/dist/publish-levels.js.map +1 -1
- package/dist/quota-boundary.d.ts +2 -2
- package/dist/quota-boundary.js +2 -2
- package/dist/registry.d.ts +13 -7
- package/dist/registry.d.ts.map +1 -1
- package/dist/registry.js +19 -3
- package/dist/registry.js.map +1 -1
- package/dist/remove-files.d.ts +24 -0
- package/dist/remove-files.d.ts.map +1 -0
- package/dist/remove-files.js +98 -0
- package/dist/remove-files.js.map +1 -0
- package/dist/store/agent-checkout.d.ts +1 -1
- package/dist/store/agent-checkout.js +3 -3
- package/dist/store/agent-checkout.js.map +1 -1
- package/dist/store/agent-store.d.ts +6 -6
- package/dist/store/agent-store.js +8 -8
- package/dist/store/agent-store.js.map +1 -1
- package/dist/store/branches.d.ts +7 -7
- package/dist/store/branches.d.ts.map +1 -1
- package/dist/store/branches.js +1 -1
- package/dist/store/branches.js.map +1 -1
- package/dist/store/git-host.d.ts +7 -7
- package/dist/store/git-host.d.ts.map +1 -1
- package/dist/store/git-host.js +1 -1
- package/dist/store/git-host.js.map +1 -1
- package/dist/store/provided.d.ts +3 -3
- package/dist/store/provided.d.ts.map +1 -1
- package/dist/store/provided.js +3 -3
- package/dist/store/provided.js.map +1 -1
- package/dist/store/queue.d.ts +8 -8
- package/dist/store/queue.d.ts.map +1 -1
- package/dist/store/queue.js +1 -1
- package/dist/store/queue.js.map +1 -1
- package/dist/store/repository.d.ts +2 -2
- package/dist/store/run-record.d.ts +10 -10
- package/dist/store/run-record.d.ts.map +1 -1
- package/dist/store/run-record.js +7 -7
- package/dist/store/run-record.js.map +1 -1
- package/dist/store/runs.d.ts +6 -6
- package/dist/store/runs.d.ts.map +1 -1
- package/dist/store/runs.js +2 -2
- package/dist/store/runs.js.map +1 -1
- package/dist/store/tickets.d.ts +7 -7
- package/dist/store/tickets.d.ts.map +1 -1
- package/dist/store/tickets.js +1 -1
- package/dist/store/tickets.js.map +1 -1
- package/dist/terminal.d.ts +3 -3
- package/dist/terminal.js +3 -3
- package/package.json +19 -19
- package/dist/agent-archive.d.ts +0 -35
- package/dist/agent-archive.d.ts.map +0 -1
- package/dist/agent-archive.js +0 -67
- package/dist/agent-archive.js.map +0 -1
- package/dist/agent-commit.d.ts +0 -140
- package/dist/agent-commit.d.ts.map +0 -1
- package/dist/agent-commit.js +0 -254
- package/dist/agent-commit.js.map +0 -1
- package/dist/agent-driver.d.ts +0 -28
- package/dist/agent-driver.d.ts.map +0 -1
- package/dist/agent-driver.js +0 -18
- package/dist/agent-driver.js.map +0 -1
- package/dist/agent-location.d.ts +0 -11
- package/dist/agent-location.d.ts.map +0 -1
- package/dist/agent-location.js +0 -10
- package/dist/agent-location.js.map +0 -1
- package/dist/agent-messages.d.ts +0 -55
- package/dist/agent-messages.d.ts.map +0 -1
- package/dist/agent-messages.js +0 -73
- package/dist/agent-messages.js.map +0 -1
- package/dist/agent-names.d.ts +0 -24
- package/dist/agent-names.d.ts.map +0 -1
- package/dist/agent-names.js +0 -33
- package/dist/agent-names.js.map +0 -1
- package/dist/agent-options.d.ts +0 -45
- package/dist/agent-options.d.ts.map +0 -1
- package/dist/agent-options.js +0 -83
- package/dist/agent-options.js.map +0 -1
- package/dist/agent-spec.d.ts +0 -56
- package/dist/agent-spec.d.ts.map +0 -1
- package/dist/agent-spec.js +0 -56
- package/dist/agent-spec.js.map +0 -1
- package/dist/agent-telemetry.d.ts +0 -88
- package/dist/agent-telemetry.d.ts.map +0 -1
- package/dist/agent-telemetry.js +0 -97
- package/dist/agent-telemetry.js.map +0 -1
- package/dist/agent.d.ts +0 -113
- package/dist/agent.d.ts.map +0 -1
- package/dist/agent.js +0 -168
- package/dist/agent.js.map +0 -1
- package/dist/archived-agent-patch.d.ts +0 -14
- package/dist/archived-agent-patch.d.ts.map +0 -1
- package/dist/archived-agent-patch.js +0 -22
- package/dist/archived-agent-patch.js.map +0 -1
- package/dist/auto-pm.d.ts +0 -538
- package/dist/auto-pm.d.ts.map +0 -1
- package/dist/auto-pm.js +0 -707
- package/dist/auto-pm.js.map +0 -1
- package/dist/await-gate.d.ts +0 -184
- package/dist/await-gate.d.ts.map +0 -1
- package/dist/await-gate.js +0 -252
- package/dist/await-gate.js.map +0 -1
- package/dist/branch-links-pass.d.ts +0 -15
- package/dist/branch-links-pass.d.ts.map +0 -1
- package/dist/branch-links-pass.js +0 -13
- package/dist/branch-links-pass.js.map +0 -1
- package/dist/branch-links.d.ts +0 -53
- package/dist/branch-links.d.ts.map +0 -1
- package/dist/branch-links.js +0 -94
- package/dist/branch-links.js.map +0 -1
- package/dist/branch-names.d.ts +0 -57
- package/dist/branch-names.d.ts.map +0 -1
- package/dist/branch-names.js +0 -72
- package/dist/branch-names.js.map +0 -1
- package/dist/ci-watch.d.ts +0 -123
- package/dist/ci-watch.d.ts.map +0 -1
- package/dist/ci-watch.js +0 -228
- package/dist/ci-watch.js.map +0 -1
- package/dist/claude-trust.d.ts +0 -16
- package/dist/claude-trust.d.ts.map +0 -1
- package/dist/claude-trust.js +0 -72
- package/dist/claude-trust.js.map +0 -1
- package/dist/cli-exec.d.ts +0 -36
- package/dist/cli-exec.d.ts.map +0 -1
- package/dist/cli-exec.js +0 -44
- package/dist/cli-exec.js.map +0 -1
- package/dist/closing-keywords.d.ts +0 -28
- package/dist/closing-keywords.d.ts.map +0 -1
- package/dist/closing-keywords.js +0 -49
- package/dist/closing-keywords.js.map +0 -1
- package/dist/config-layers.d.ts +0 -62
- package/dist/config-layers.d.ts.map +0 -1
- package/dist/config-layers.js +0 -70
- package/dist/config-layers.js.map +0 -1
- package/dist/config.d.ts +0 -54
- package/dist/config.d.ts.map +0 -1
- package/dist/config.js +0 -78
- package/dist/config.js.map +0 -1
- package/dist/consumption-guard.d.ts +0 -53
- package/dist/consumption-guard.d.ts.map +0 -1
- package/dist/consumption-guard.js +0 -69
- package/dist/consumption-guard.js.map +0 -1
- package/dist/control.d.ts +0 -75
- package/dist/control.d.ts.map +0 -1
- package/dist/control.js +0 -68
- package/dist/control.js.map +0 -1
- package/dist/conversation-commit.d.ts +0 -166
- package/dist/conversation-commit.d.ts.map +0 -1
- package/dist/conversation-commit.js +0 -309
- package/dist/conversation-commit.js.map +0 -1
- package/dist/conversations.d.ts +0 -93
- package/dist/conversations.d.ts.map +0 -1
- package/dist/conversations.js +0 -176
- package/dist/conversations.js.map +0 -1
- package/dist/daemon-writes.d.ts +0 -33
- package/dist/daemon-writes.d.ts.map +0 -1
- package/dist/daemon-writes.js +0 -45
- package/dist/daemon-writes.js.map +0 -1
- package/dist/dashboard/agent-tree.d.ts +0 -106
- package/dist/dashboard/agent-tree.d.ts.map +0 -1
- package/dist/dashboard/agent-tree.js +0 -180
- package/dist/dashboard/agent-tree.js.map +0 -1
- package/dist/dashboard/browser-proxy.d.ts +0 -41
- package/dist/dashboard/browser-proxy.d.ts.map +0 -1
- package/dist/dashboard/browser-proxy.js +0 -96
- package/dist/dashboard/browser-proxy.js.map +0 -1
- package/dist/dashboard/discord-webhook.d.ts +0 -17
- package/dist/dashboard/discord-webhook.d.ts.map +0 -1
- package/dist/dashboard/discord-webhook.js +0 -36
- package/dist/dashboard/discord-webhook.js.map +0 -1
- package/dist/dashboard/file-diff.d.ts +0 -67
- package/dist/dashboard/file-diff.d.ts.map +0 -1
- package/dist/dashboard/file-diff.js +0 -132
- package/dist/dashboard/file-diff.js.map +0 -1
- package/dist/dashboard/file-read.d.ts +0 -42
- package/dist/dashboard/file-read.d.ts.map +0 -1
- package/dist/dashboard/file-read.js +0 -69
- package/dist/dashboard/file-read.js.map +0 -1
- package/dist/dashboard/file-status.d.ts +0 -21
- package/dist/dashboard/file-status.d.ts.map +0 -1
- package/dist/dashboard/file-status.js +0 -37
- package/dist/dashboard/file-status.js.map +0 -1
- package/dist/dashboard/gh.d.ts +0 -131
- package/dist/dashboard/gh.d.ts.map +0 -1
- package/dist/dashboard/gh.js +0 -150
- package/dist/dashboard/gh.js.map +0 -1
- package/dist/dashboard/github.d.ts +0 -11
- package/dist/dashboard/github.d.ts.map +0 -1
- package/dist/dashboard/github.js +0 -33
- package/dist/dashboard/github.js.map +0 -1
- package/dist/dashboard/run-handoff.d.ts +0 -311
- package/dist/dashboard/run-handoff.d.ts.map +0 -1
- package/dist/dashboard/run-handoff.js +0 -485
- package/dist/dashboard/run-handoff.js.map +0 -1
- package/dist/dashboard/scheduler-state.d.ts +0 -73
- package/dist/dashboard/scheduler-state.d.ts.map +0 -1
- package/dist/dashboard/scheduler-state.js +0 -120
- package/dist/dashboard/scheduler-state.js.map +0 -1
- package/dist/dashboard/subagent-settings.d.ts +0 -26
- package/dist/dashboard/subagent-settings.d.ts.map +0 -1
- package/dist/dashboard/subagent-settings.js +0 -52
- package/dist/dashboard/subagent-settings.js.map +0 -1
- package/dist/dashboard/telefunc-serve.d.ts +0 -118
- package/dist/dashboard/telefunc-serve.d.ts.map +0 -1
- package/dist/dashboard/telefunc-serve.js +0 -108
- package/dist/dashboard/telefunc-serve.js.map +0 -1
- package/dist/dashboard/tickets.d.ts +0 -29
- package/dist/dashboard/tickets.d.ts.map +0 -1
- package/dist/dashboard/tickets.js +0 -38
- package/dist/dashboard/tickets.js.map +0 -1
- package/dist/dashboard/widget-serve.d.ts +0 -15
- package/dist/dashboard/widget-serve.d.ts.map +0 -1
- package/dist/dashboard/widget-serve.js +0 -45
- package/dist/dashboard/widget-serve.js.map +0 -1
- package/dist/dashboard-bundle/assets/main-B3HghPQy.css +0 -2
- package/dist/dashboard-client/assets/chunks/chunk-BF9pJudf.js +0 -4
- package/dist/dashboard-client/assets/entries/entry-client-routing.CT1e9F0o.js +0 -1
- package/dist/dashboard-client/assets/entries/pages_index.CkW5JQ8X.js +0 -428
- package/dist/dashboard-client/assets/static/layouts_tailwind-00e65532.8OjKGAbA.css +0 -2
- package/dist/dashboard-client/index.html +0 -27
- package/dist/dashboard-client/index.pageContext.json +0 -1
- package/dist/dashboard-client/logo-animated.svg +0 -34
- package/dist/dashboard-client/logo.svg +0 -16
- package/dist/dashboard-rpc/control.telefunc.d.ts +0 -176
- package/dist/dashboard-rpc/control.telefunc.d.ts.map +0 -1
- package/dist/dashboard-rpc/control.telefunc.js +0 -373
- package/dist/dashboard-rpc/control.telefunc.js.map +0 -1
- package/dist/dashboard-rpc/devices.telefunc.d.ts +0 -9
- package/dist/dashboard-rpc/devices.telefunc.d.ts.map +0 -1
- package/dist/dashboard-rpc/devices.telefunc.js +0 -12
- package/dist/dashboard-rpc/devices.telefunc.js.map +0 -1
- package/dist/dashboard-rpc/events.telefunc.d.ts +0 -36
- package/dist/dashboard-rpc/events.telefunc.d.ts.map +0 -1
- package/dist/dashboard-rpc/events.telefunc.js +0 -70
- package/dist/dashboard-rpc/events.telefunc.js.map +0 -1
- package/dist/dashboard-rpc/preferences.telefunc.d.ts +0 -97
- package/dist/dashboard-rpc/preferences.telefunc.d.ts.map +0 -1
- package/dist/dashboard-rpc/preferences.telefunc.js +0 -157
- package/dist/dashboard-rpc/preferences.telefunc.js.map +0 -1
- package/dist/dashboard-rpc/projects.telefunc.d.ts +0 -56
- package/dist/dashboard-rpc/projects.telefunc.d.ts.map +0 -1
- package/dist/dashboard-rpc/projects.telefunc.js +0 -96
- package/dist/dashboard-rpc/projects.telefunc.js.map +0 -1
- package/dist/dashboard-rpc/quota.telefunc.d.ts +0 -40
- package/dist/dashboard-rpc/quota.telefunc.d.ts.map +0 -1
- package/dist/dashboard-rpc/quota.telefunc.js +0 -84
- package/dist/dashboard-rpc/quota.telefunc.js.map +0 -1
- package/dist/dashboard-rpc/reads.telefunc.d.ts +0 -197
- package/dist/dashboard-rpc/reads.telefunc.d.ts.map +0 -1
- package/dist/dashboard-rpc/reads.telefunc.js +0 -403
- package/dist/dashboard-rpc/reads.telefunc.js.map +0 -1
- package/dist/dashboard-rpc/register.d.ts +0 -18
- package/dist/dashboard-rpc/register.d.ts.map +0 -1
- package/dist/dashboard-rpc/register.js +0 -66
- package/dist/dashboard-rpc/register.js.map +0 -1
- package/dist/dashboard-rpc/relay-run.d.ts +0 -9
- package/dist/dashboard-rpc/relay-run.d.ts.map +0 -1
- package/dist/dashboard-rpc/relay-run.js +0 -21
- package/dist/dashboard-rpc/relay-run.js.map +0 -1
- package/dist/dashboard-rpc/stream-channel.d.ts +0 -23
- package/dist/dashboard-rpc/stream-channel.d.ts.map +0 -1
- package/dist/dashboard-rpc/stream-channel.js +0 -52
- package/dist/dashboard-rpc/stream-channel.js.map +0 -1
- package/dist/dashboard-rpc/subagents.d.ts +0 -12
- package/dist/dashboard-rpc/subagents.d.ts.map +0 -1
- package/dist/dashboard-rpc/subagents.js +0 -13
- package/dist/dashboard-rpc/subagents.js.map +0 -1
- package/dist/dashboard-rpc/widgets.d.ts +0 -33
- package/dist/dashboard-rpc/widgets.d.ts.map +0 -1
- package/dist/dashboard-rpc/widgets.js +0 -54
- package/dist/dashboard-rpc/widgets.js.map +0 -1
- package/dist/data-branch.d.ts +0 -120
- package/dist/data-branch.d.ts.map +0 -1
- package/dist/data-branch.js +0 -319
- package/dist/data-branch.js.map +0 -1
- package/dist/discord/bot.d.ts +0 -61
- package/dist/discord/bot.d.ts.map +0 -1
- package/dist/discord/bot.js +0 -94
- package/dist/discord/bot.js.map +0 -1
- package/dist/discord/gateway.d.ts +0 -137
- package/dist/discord/gateway.d.ts.map +0 -1
- package/dist/discord/gateway.js +0 -315
- package/dist/discord/gateway.js.map +0 -1
- package/dist/discord/live-run.d.ts +0 -31
- package/dist/discord/live-run.d.ts.map +0 -1
- package/dist/discord/live-run.js +0 -57
- package/dist/discord/live-run.js.map +0 -1
- package/dist/discord/reply-mirror.d.ts +0 -83
- package/dist/discord/reply-mirror.d.ts.map +0 -1
- package/dist/discord/reply-mirror.js +0 -84
- package/dist/discord/reply-mirror.js.map +0 -1
- package/dist/discord/rest.d.ts +0 -20
- package/dist/discord/rest.d.ts.map +0 -1
- package/dist/discord/rest.js +0 -41
- package/dist/discord/rest.js.map +0 -1
- package/dist/discord/routing.d.ts +0 -81
- package/dist/discord/routing.d.ts.map +0 -1
- package/dist/discord/routing.js +0 -91
- package/dist/discord/routing.js.map +0 -1
- package/dist/discord-credentials-store.d.ts +0 -14
- package/dist/discord-credentials-store.d.ts.map +0 -1
- package/dist/discord-credentials-store.js +0 -53
- package/dist/discord-credentials-store.js.map +0 -1
- package/dist/discord-credentials.d.ts +0 -80
- package/dist/discord-credentials.d.ts.map +0 -1
- package/dist/discord-credentials.js +0 -55
- package/dist/discord-credentials.js.map +0 -1
- package/dist/driver/actions-zip.d.ts +0 -2
- package/dist/driver/actions-zip.d.ts.map +0 -1
- package/dist/driver/actions-zip.js +0 -70
- package/dist/driver/actions-zip.js.map +0 -1
- package/dist/driver/actions.d.ts +0 -130
- package/dist/driver/actions.d.ts.map +0 -1
- package/dist/driver/actions.js +0 -261
- package/dist/driver/actions.js.map +0 -1
- package/dist/driver/agent-cli.d.ts +0 -57
- package/dist/driver/agent-cli.d.ts.map +0 -1
- package/dist/driver/agent-cli.js +0 -134
- package/dist/driver/agent-cli.js.map +0 -1
- package/dist/driver/child-registry.d.ts +0 -25
- package/dist/driver/child-registry.d.ts.map +0 -1
- package/dist/driver/child-registry.js +0 -53
- package/dist/driver/child-registry.js.map +0 -1
- package/dist/driver/claude-code-quota.d.ts +0 -40
- package/dist/driver/claude-code-quota.d.ts.map +0 -1
- package/dist/driver/claude-code-quota.js +0 -144
- package/dist/driver/claude-code-quota.js.map +0 -1
- package/dist/driver/claude-code.d.ts +0 -104
- package/dist/driver/claude-code.d.ts.map +0 -1
- package/dist/driver/claude-code.js +0 -314
- package/dist/driver/claude-code.js.map +0 -1
- package/dist/driver/cli-session.d.ts +0 -57
- package/dist/driver/cli-session.d.ts.map +0 -1
- package/dist/driver/cli-session.js +0 -134
- package/dist/driver/cli-session.js.map +0 -1
- package/dist/driver/cloud.d.ts +0 -109
- package/dist/driver/cloud.d.ts.map +0 -1
- package/dist/driver/cloud.js +0 -232
- package/dist/driver/cloud.js.map +0 -1
- package/dist/driver/codex.d.ts +0 -99
- package/dist/driver/codex.d.ts.map +0 -1
- package/dist/driver/codex.js +0 -190
- package/dist/driver/codex.js.map +0 -1
- package/dist/driver/fake.d.ts +0 -54
- package/dist/driver/fake.d.ts.map +0 -1
- package/dist/driver/fake.js +0 -73
- package/dist/driver/fake.js.map +0 -1
- package/dist/driver/index.d.ts +0 -10
- package/dist/driver/index.d.ts.map +0 -1
- package/dist/driver/index.js +0 -14
- package/dist/driver/index.js.map +0 -1
- package/dist/driver/session-support.d.ts +0 -14
- package/dist/driver/session-support.d.ts.map +0 -1
- package/dist/driver/session-support.js +0 -37
- package/dist/driver/session-support.js.map +0 -1
- package/dist/driver/types.d.ts +0 -310
- package/dist/driver/types.d.ts.map +0 -1
- package/dist/driver/types.js +0 -5
- package/dist/driver/types.js.map +0 -1
- package/dist/driver-cli.d.ts +0 -61
- package/dist/driver-cli.d.ts.map +0 -1
- package/dist/driver-cli.js +0 -66
- package/dist/driver-cli.js.map +0 -1
- package/dist/fake-script.d.ts +0 -15
- package/dist/fake-script.d.ts.map +0 -1
- package/dist/fake-script.js +0 -58
- package/dist/fake-script.js.map +0 -1
- package/dist/framework-dir.d.ts.map +0 -1
- package/dist/framework-dir.js.map +0 -1
- package/dist/framework-gitignore.d.ts +0 -12
- package/dist/framework-gitignore.d.ts.map +0 -1
- package/dist/framework-gitignore.js +0 -19
- package/dist/framework-gitignore.js.map +0 -1
- package/dist/gate-keepalive.d.ts +0 -47
- package/dist/gate-keepalive.d.ts.map +0 -1
- package/dist/gate-keepalive.js +0 -62
- package/dist/gate-keepalive.js.map +0 -1
- package/dist/git-exclude.d.ts +0 -11
- package/dist/git-exclude.d.ts.map +0 -1
- package/dist/git-exclude.js +0 -23
- package/dist/git-exclude.js.map +0 -1
- package/dist/handoff-level.d.ts +0 -56
- package/dist/handoff-level.d.ts.map +0 -1
- package/dist/handoff-level.js +0 -62
- package/dist/handoff-level.js.map +0 -1
- package/dist/host-exec.d.ts +0 -21
- package/dist/host-exec.d.ts.map +0 -1
- package/dist/host-exec.js +0 -30
- package/dist/host-exec.js.map +0 -1
- package/dist/layout.d.ts +0 -41
- package/dist/layout.d.ts.map +0 -1
- package/dist/layout.js +0 -69
- package/dist/layout.js.map +0 -1
- package/dist/logs.d.ts +0 -73
- package/dist/logs.d.ts.map +0 -1
- package/dist/logs.js +0 -218
- package/dist/logs.js.map +0 -1
- package/dist/maintenance.d.ts +0 -90
- package/dist/maintenance.d.ts.map +0 -1
- package/dist/maintenance.js +0 -141
- package/dist/maintenance.js.map +0 -1
- package/dist/merged-worktrees.d.ts +0 -74
- package/dist/merged-worktrees.d.ts.map +0 -1
- package/dist/merged-worktrees.js +0 -84
- package/dist/merged-worktrees.js.map +0 -1
- package/dist/module-types/src/dashboard/agent-tree.d.ts +0 -105
- package/dist/module-types/src/dashboard/file-diff.d.ts +0 -66
- package/dist/module-types/src/dashboard/file-read.d.ts +0 -41
- package/dist/module-types/src/dashboard/file-status.d.ts +0 -20
- package/dist/module-types/src/dashboard/scheduler-state.d.ts +0 -72
- package/dist/module-types/src/dashboard/subagent-settings.d.ts +0 -25
- package/dist/module-types/src/dashboard-rpc/subagents.d.ts +0 -11
- package/dist/module-types/src/framework-gitignore.d.ts +0 -11
- package/dist/module-types/src/subagent-settings.d.ts +0 -26
- package/dist/on-before-mergeable-prompt.d.ts +0 -32
- package/dist/on-before-mergeable-prompt.d.ts.map +0 -1
- package/dist/on-before-mergeable-prompt.js +0 -26
- package/dist/on-before-mergeable-prompt.js.map +0 -1
- package/dist/planned-quick-wins.d.ts +0 -102
- package/dist/planned-quick-wins.d.ts.map +0 -1
- package/dist/planned-quick-wins.js +0 -171
- package/dist/planned-quick-wins.js.map +0 -1
- package/dist/preflight.d.ts +0 -77
- package/dist/preflight.d.ts.map +0 -1
- package/dist/preflight.js +0 -91
- package/dist/preflight.js.map +0 -1
- package/dist/preset-catalog.d.ts +0 -98
- package/dist/preset-catalog.d.ts.map +0 -1
- package/dist/preset-catalog.js +0 -129
- package/dist/preset-catalog.js.map +0 -1
- package/dist/preset-prompt.d.ts +0 -81
- package/dist/preset-prompt.d.ts.map +0 -1
- package/dist/preset-prompt.js +0 -51
- package/dist/preset-prompt.js.map +0 -1
- package/dist/preset-registry.d.ts +0 -32
- package/dist/preset-registry.d.ts.map +0 -1
- package/dist/preset-registry.js +0 -35
- package/dist/preset-registry.js.map +0 -1
- package/dist/presets.d.ts +0 -20
- package/dist/presets.d.ts.map +0 -1
- package/dist/presets.js +0 -33
- package/dist/presets.js.map +0 -1
- package/dist/preview-runtime.d.ts +0 -33
- package/dist/preview-runtime.d.ts.map +0 -1
- package/dist/preview-runtime.js +0 -96
- package/dist/preview-runtime.js.map +0 -1
- package/dist/preview.d.ts +0 -78
- package/dist/preview.d.ts.map +0 -1
- package/dist/preview.js +0 -301
- package/dist/preview.js.map +0 -1
- package/dist/project-widgets.d.ts +0 -46
- package/dist/project-widgets.d.ts.map +0 -1
- package/dist/project-widgets.js +0 -93
- package/dist/project-widgets.js.map +0 -1
- package/dist/prompt-run.d.ts +0 -104
- package/dist/prompt-run.d.ts.map +0 -1
- package/dist/prompt-run.js +0 -112
- package/dist/prompt-run.js.map +0 -1
- package/dist/prompt-template.d.ts +0 -16
- package/dist/prompt-template.d.ts.map +0 -1
- package/dist/prompt-template.js +0 -56
- package/dist/prompt-template.js.map +0 -1
- package/dist/prompts.generated.d.ts +0 -53
- package/dist/prompts.generated.d.ts.map +0 -1
- package/dist/prompts.generated.js +0 -55
- package/dist/prompts.generated.js.map +0 -1
- package/dist/queue-promote.d.ts +0 -70
- package/dist/queue-promote.d.ts.map +0 -1
- package/dist/queue-promote.js +0 -118
- package/dist/queue-promote.js.map +0 -1
- package/dist/relay.d.ts +0 -84
- package/dist/relay.d.ts.map +0 -1
- package/dist/relay.js +0 -199
- package/dist/relay.js.map +0 -1
- package/dist/repos-directory.d.ts +0 -19
- package/dist/repos-directory.d.ts.map +0 -1
- package/dist/repos-directory.js +0 -23
- package/dist/repos-directory.js.map +0 -1
- package/dist/retired-project-settings.d.ts +0 -43
- package/dist/retired-project-settings.d.ts.map +0 -1
- package/dist/retired-project-settings.js +0 -125
- package/dist/retired-project-settings.js.map +0 -1
- package/dist/routine-locks.d.ts +0 -53
- package/dist/routine-locks.d.ts.map +0 -1
- package/dist/routine-locks.js +0 -125
- package/dist/routine-locks.js.map +0 -1
- package/dist/run-driver.d.ts +0 -26
- package/dist/run-driver.d.ts.map +0 -1
- package/dist/run-driver.js +0 -17
- package/dist/run-driver.js.map +0 -1
- package/dist/run-locks.d.ts +0 -3
- package/dist/run-locks.d.ts.map +0 -1
- package/dist/run-locks.js +0 -39
- package/dist/run-locks.js.map +0 -1
- package/dist/run-messages.d.ts +0 -64
- package/dist/run-messages.d.ts.map +0 -1
- package/dist/run-messages.js +0 -76
- package/dist/run-messages.js.map +0 -1
- package/dist/run-options.d.ts +0 -53
- package/dist/run-options.d.ts.map +0 -1
- package/dist/run-options.js +0 -110
- package/dist/run-options.js.map +0 -1
- package/dist/run-telemetry.d.ts +0 -115
- package/dist/run-telemetry.d.ts.map +0 -1
- package/dist/run-telemetry.js +0 -137
- package/dist/run-telemetry.js.map +0 -1
- package/dist/run-view.d.ts +0 -109
- package/dist/run-view.d.ts.map +0 -1
- package/dist/run-view.js +0 -118
- package/dist/run-view.js.map +0 -1
- package/dist/run.d.ts +0 -261
- package/dist/run.d.ts.map +0 -1
- package/dist/run.js +0 -420
- package/dist/run.js.map +0 -1
- package/dist/runtime-keys.d.ts +0 -17
- package/dist/runtime-keys.d.ts.map +0 -1
- package/dist/runtime-keys.js +0 -17
- package/dist/runtime-keys.js.map +0 -1
- package/dist/sandbox.d.ts +0 -27
- package/dist/sandbox.d.ts.map +0 -1
- package/dist/sandbox.js +0 -63
- package/dist/sandbox.js.map +0 -1
- package/dist/session-link.d.ts +0 -19
- package/dist/session-link.d.ts.map +0 -1
- package/dist/session-link.js +0 -26
- package/dist/session-link.js.map +0 -1
- package/dist/sessions.d.ts +0 -77
- package/dist/sessions.d.ts.map +0 -1
- package/dist/sessions.js +0 -146
- package/dist/sessions.js.map +0 -1
- package/dist/spike-locks.d.ts +0 -75
- package/dist/spike-locks.d.ts.map +0 -1
- package/dist/spike-locks.js +0 -208
- package/dist/spike-locks.js.map +0 -1
- package/dist/stale-branch.d.ts +0 -21
- package/dist/stale-branch.d.ts.map +0 -1
- package/dist/stale-branch.js +0 -32
- package/dist/stale-branch.js.map +0 -1
- package/dist/steps.d.ts +0 -9
- package/dist/steps.d.ts.map +0 -1
- package/dist/steps.js +0 -13
- package/dist/steps.js.map +0 -1
- package/dist/store/forge.d.ts +0 -110
- package/dist/store/forge.d.ts.map +0 -1
- package/dist/store/forge.js +0 -97
- package/dist/store/forge.js.map +0 -1
- package/dist/store/run-checkout.d.ts +0 -33
- package/dist/store/run-checkout.d.ts.map +0 -1
- package/dist/store/run-checkout.js +0 -59
- package/dist/store/run-checkout.js.map +0 -1
- package/dist/store/run-store.d.ts +0 -501
- package/dist/store/run-store.d.ts.map +0 -1
- package/dist/store/run-store.js +0 -806
- package/dist/store/run-store.js.map +0 -1
- package/dist/store/suspend.d.ts +0 -38
- package/dist/store/suspend.d.ts.map +0 -1
- package/dist/store/suspend.js +0 -45
- package/dist/store/suspend.js.map +0 -1
- package/dist/store/worktree-deps.d.ts +0 -30
- package/dist/store/worktree-deps.d.ts.map +0 -1
- package/dist/store/worktree-deps.js +0 -115
- package/dist/store/worktree-deps.js.map +0 -1
- package/dist/store/worktree.d.ts +0 -194
- package/dist/store/worktree.d.ts.map +0 -1
- package/dist/store/worktree.js +0 -331
- package/dist/store/worktree.js.map +0 -1
- package/dist/subagent-settings.d.ts +0 -27
- package/dist/subagent-settings.d.ts.map +0 -1
- package/dist/subagent-settings.js +0 -35
- package/dist/subagent-settings.js.map +0 -1
- package/dist/system-prompt-file.d.ts +0 -18
- package/dist/system-prompt-file.d.ts.map +0 -1
- package/dist/system-prompt-file.js +0 -28
- package/dist/system-prompt-file.js.map +0 -1
- package/dist/system-prompt.d.ts +0 -148
- package/dist/system-prompt.d.ts.map +0 -1
- package/dist/system-prompt.js +0 -170
- package/dist/system-prompt.js.map +0 -1
- package/dist/target-driver.d.ts +0 -28
- package/dist/target-driver.d.ts.map +0 -1
- package/dist/target-driver.js +0 -18
- package/dist/target-driver.js.map +0 -1
- package/dist/ticket-locks.d.ts +0 -61
- package/dist/ticket-locks.d.ts.map +0 -1
- package/dist/ticket-locks.js +0 -137
- package/dist/ticket-locks.js.map +0 -1
- package/dist/tickets-file.d.ts +0 -7
- package/dist/tickets-file.d.ts.map +0 -1
- package/dist/tickets-file.js +0 -21
- package/dist/tickets-file.js.map +0 -1
- package/dist/tickets.d.ts +0 -18
- package/dist/tickets.d.ts.map +0 -1
- package/dist/tickets.js +0 -23
- package/dist/tickets.js.map +0 -1
- package/dist/todo-loop.d.ts +0 -110
- package/dist/todo-loop.d.ts.map +0 -1
- package/dist/todo-loop.js +0 -175
- package/dist/todo-loop.js.map +0 -1
- package/dist/turn-gate.d.ts +0 -144
- package/dist/turn-gate.d.ts.map +0 -1
- package/dist/turn-gate.js +0 -217
- package/dist/turn-gate.js.map +0 -1
- package/dist/usage.d.ts +0 -32
- package/dist/usage.d.ts.map +0 -1
- package/dist/usage.js +0 -46
- package/dist/usage.js.map +0 -1
- package/dist/widget-types/dashboard/components/LinkActions.d.ts +0 -26
- package/dist/widget-types/dashboard/components/Markdown.d.ts +0 -4
- package/dist/widget-types/dashboard/components/StartAgentButton.d.ts +0 -39
- package/dist/widget-types/dashboard/components/ui/badge.d.ts +0 -2
- package/dist/widget-types/dashboard/components/ui/button.d.ts +0 -10
- package/dist/widget-types/dashboard/components/ui/card.d.ts +0 -5
- package/dist/widget-types/dashboard/components/ui/checkbox.d.ts +0 -7
- package/dist/widget-types/dashboard/components/ui/dropdown-menu.d.ts +0 -16
- package/dist/widget-types/dashboard/components/ui/input.d.ts +0 -2
- package/dist/widget-types/dashboard/components/ui/option-label.d.ts +0 -4
- package/dist/widget-types/dashboard/components/ui/popover.d.ts +0 -8
- package/dist/widget-types/dashboard/components/ui/scroll-area.d.ts +0 -10
- package/dist/widget-types/dashboard/components/ui/separator.d.ts +0 -3
- package/dist/widget-types/dashboard/components/ui/skeleton.d.ts +0 -2
- package/dist/widget-types/dashboard/components/ui/slider.d.ts +0 -9
- package/dist/widget-types/dashboard/components/ui/tooltip.d.ts +0 -11
- package/dist/widget-types/dashboard/lib/draft-handoff.d.ts +0 -15
- package/dist/widget-types/dashboard/lib/format-date.d.ts +0 -51
- package/dist/widget-types/dashboard/lib/host-services.d.ts +0 -12
- package/dist/widget-types/dashboard/lib/route.d.ts +0 -24
- package/dist/widget-types/dashboard/lib/rpc.d.ts +0 -31
- package/dist/widget-types/dashboard/lib/use-action.d.ts +0 -25
- package/dist/widget-types/dashboard/lib/use-async.d.ts +0 -39
- package/dist/widget-types/dashboard/lib/use-widgets.d.ts +0 -42
- package/dist/widget-types/dashboard/lib/utils.d.ts +0 -3
- package/dist/widget-types/dashboard/rpc/widgets.d.ts +0 -4
- package/dist/widget-types/dashboard/widget/index.d.ts +0 -207
- package/dist/widget-types/src/agent-id.d.ts +0 -12
- package/dist/widget-types/src/agent-locks.d.ts +0 -2
- package/dist/widget-types/src/agent-view.d.ts +0 -38
- package/dist/widget-types/src/bridge-browser.d.ts +0 -216
- package/dist/widget-types/src/browser-stream.d.ts +0 -19
- package/dist/widget-types/src/browser.d.ts +0 -15
- package/dist/widget-types/src/cli-exec.d.ts +0 -35
- package/dist/widget-types/src/cloud-run-state.d.ts +0 -26
- package/dist/widget-types/src/dashboard/activity.d.ts +0 -40
- package/dist/widget-types/src/dashboard/agent-handoff.d.ts +0 -211
- package/dist/widget-types/src/dashboard/agent-tree.d.ts +0 -105
- package/dist/widget-types/src/dashboard/bridge-endpoints.d.ts +0 -157
- package/dist/widget-types/src/dashboard/bridge-question.d.ts +0 -32
- package/dist/widget-types/src/dashboard/bridge-store.d.ts +0 -178
- package/dist/widget-types/src/dashboard/cache.d.ts +0 -46
- package/dist/widget-types/src/dashboard/content-type.d.ts +0 -2
- package/dist/widget-types/src/dashboard/dashboard.d.ts +0 -37
- package/dist/widget-types/src/dashboard/discord-webhook.d.ts +0 -16
- package/dist/widget-types/src/dashboard/docs.d.ts +0 -38
- package/dist/widget-types/src/dashboard/file-diff.d.ts +0 -66
- package/dist/widget-types/src/dashboard/file-read.d.ts +0 -41
- package/dist/widget-types/src/dashboard/file-status.d.ts +0 -20
- package/dist/widget-types/src/dashboard/gh.d.ts +0 -130
- package/dist/widget-types/src/dashboard/git-status.d.ts +0 -32
- package/dist/widget-types/src/dashboard/github.d.ts +0 -10
- package/dist/widget-types/src/dashboard/http.d.ts +0 -28
- package/dist/widget-types/src/dashboard/interventions.d.ts +0 -66
- package/dist/widget-types/src/dashboard/keys.d.ts +0 -30
- package/dist/widget-types/src/dashboard/models.d.ts +0 -24
- package/dist/widget-types/src/dashboard/open-in-app.d.ts +0 -42
- package/dist/widget-types/src/dashboard/open-questions.d.ts +0 -52
- package/dist/widget-types/src/dashboard/overview.d.ts +0 -77
- package/dist/widget-types/src/dashboard/projects.d.ts +0 -89
- package/dist/widget-types/src/dashboard/pull-requests.d.ts +0 -126
- package/dist/widget-types/src/dashboard/queue.d.ts +0 -16
- package/dist/widget-types/src/dashboard/quota.d.ts +0 -59
- package/dist/widget-types/src/dashboard/remote-run.d.ts +0 -94
- package/dist/widget-types/src/dashboard/rpc-serve.d.ts +0 -102
- package/dist/widget-types/src/dashboard/run-inbox.d.ts +0 -30
- package/dist/widget-types/src/dashboard/scheduler-state.d.ts +0 -64
- package/dist/widget-types/src/dashboard/tickets.d.ts +0 -28
- package/dist/widget-types/src/dashboard/types.d.ts +0 -99
- package/dist/widget-types/src/dashboard/widget-serve.d.ts +0 -14
- package/dist/widget-types/src/dashboard-rpc/context.d.ts +0 -53
- package/dist/widget-types/src/dashboard-rpc/control.d.ts +0 -108
- package/dist/widget-types/src/dashboard-rpc/devices.d.ts +0 -8
- package/dist/widget-types/src/dashboard-rpc/events-tail.d.ts +0 -53
- package/dist/widget-types/src/dashboard-rpc/events.d.ts +0 -29
- package/dist/widget-types/src/dashboard-rpc/index.d.ts +0 -28
- package/dist/widget-types/src/dashboard-rpc/models.d.ts +0 -3
- package/dist/widget-types/src/dashboard-rpc/preferences.d.ts +0 -40
- package/dist/widget-types/src/dashboard-rpc/projects.d.ts +0 -54
- package/dist/widget-types/src/dashboard-rpc/quota.d.ts +0 -26
- package/dist/widget-types/src/dashboard-rpc/reads.d.ts +0 -227
- package/dist/widget-types/src/dashboard-rpc/relay-agent.d.ts +0 -8
- package/dist/widget-types/src/dashboard-rpc/stream-forward.d.ts +0 -16
- package/dist/widget-types/src/dashboard-rpc/widgets.d.ts +0 -32
- package/dist/widget-types/src/discord-credentials.d.ts +0 -79
- package/dist/widget-types/src/driver-names.d.ts +0 -21
- package/dist/widget-types/src/error-message.d.ts +0 -7
- package/dist/widget-types/src/event-stream.d.ts +0 -32
- package/dist/widget-types/src/events.d.ts +0 -235
- package/dist/widget-types/src/framework-dir.d.ts +0 -10
- package/dist/widget-types/src/framework-gitignore.d.ts +0 -11
- package/dist/widget-types/src/index.d.ts +0 -42
- package/dist/widget-types/src/jsonl-tail.d.ts +0 -54
- package/dist/widget-types/src/loopback-host.d.ts +0 -19
- package/dist/widget-types/src/node-fs.d.ts +0 -32
- package/dist/widget-types/src/open-choices.d.ts +0 -14
- package/dist/widget-types/src/pick-directory.d.ts +0 -29
- package/dist/widget-types/src/preference-defaults.d.ts +0 -53
- package/dist/widget-types/src/project-commands.d.ts +0 -23
- package/dist/widget-types/src/project-errors.d.ts +0 -43
- package/dist/widget-types/src/project-hooks.d.ts +0 -133
- package/dist/widget-types/src/project-presets.d.ts +0 -29
- package/dist/widget-types/src/project-widgets.d.ts +0 -45
- package/dist/widget-types/src/project.d.ts +0 -28
- package/dist/widget-types/src/quota-boundary.d.ts +0 -115
- package/dist/widget-types/src/quota-poller.d.ts +0 -82
- package/dist/widget-types/src/registry.d.ts +0 -210
- package/dist/widget-types/src/store/agent-checkout.d.ts +0 -46
- package/dist/widget-types/src/store/agent-store.d.ts +0 -237
- package/dist/widget-types/src/store/branches.d.ts +0 -133
- package/dist/widget-types/src/store/forge.d.ts +0 -109
- package/dist/widget-types/src/store/git-host.d.ts +0 -111
- package/dist/widget-types/src/store/index.d.ts +0 -9
- package/dist/widget-types/src/store/provided.d.ts +0 -16
- package/dist/widget-types/src/store/queue.d.ts +0 -45
- package/dist/widget-types/src/store/run-record.d.ts +0 -21
- package/dist/widget-types/src/store/runs.d.ts +0 -101
- package/dist/widget-types/src/store/tickets.d.ts +0 -72
- package/dist/widget-types/src/tickets.d.ts +0 -17
- package/dist/widget-types/src/worktrees.d.ts +0 -89
- package/dist/widget.css +0 -50
package/dist/agent-driver.js
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { createDriver } from './driver-cli.js';
|
|
2
|
-
import { ActionsDriver } from 'agent-driver';
|
|
3
|
-
import { CloudDriver } from './driver/cloud.js';
|
|
4
|
-
/** The one place an agent path turns `--run-on` into a real driver. */
|
|
5
|
-
export function createAgentDriver(opts) {
|
|
6
|
-
if (opts.target === 'actions') {
|
|
7
|
-
if (!opts.actionsConfig) {
|
|
8
|
-
throw new Error('run target "actions" needs the repo owner/repo and a GitHub token; set a GitHub origin remote and GH_TOKEN');
|
|
9
|
-
}
|
|
10
|
-
return new ActionsDriver(opts.actionsConfig);
|
|
11
|
-
}
|
|
12
|
-
// `web` needs no configuration of ours: the CLI already holds the account it signs the
|
|
13
|
-
// cloud session in with, the same auth the local driver runs on.
|
|
14
|
-
if (opts.target === 'web')
|
|
15
|
-
return new CloudDriver(opts.cloudConfig ?? {});
|
|
16
|
-
return createDriver(opts);
|
|
17
|
-
}
|
|
18
|
-
//# sourceMappingURL=agent-driver.js.map
|
package/dist/agent-driver.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"agent-driver.js","sourceRoot":"","sources":["../src/agent-driver.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAA4B,MAAM,iBAAiB,CAAA;AACxE,OAAO,EAAE,aAAa,EAA0C,MAAM,cAAc,CAAA;AACpF,OAAO,EAAE,WAAW,EAA2B,MAAM,mBAAmB,CAAA;AAwBxE,uEAAuE;AACvE,MAAM,UAAU,iBAAiB,CAAC,IAA8B;IAC9D,IAAI,IAAI,CAAC,MAAM,KAAK,SAAS,EAAE,CAAC;QAC9B,IAAI,CAAC,IAAI,CAAC,aAAa,EAAE,CAAC;YACxB,MAAM,IAAI,KAAK,CAAC,4GAA4G,CAAC,CAAA;QAC/H,CAAC;QACD,OAAO,IAAI,aAAa,CAAC,IAAI,CAAC,aAAa,CAAC,CAAA;IAC9C,CAAC;IACD,uFAAuF;IACvF,iEAAiE;IACjE,IAAI,IAAI,CAAC,MAAM,KAAK,KAAK;QAAE,OAAO,IAAI,WAAW,CAAC,IAAI,CAAC,WAAW,IAAI,EAAE,CAAC,CAAA;IACzE,OAAO,YAAY,CAAC,IAAI,CAAC,CAAA;AAC3B,CAAC"}
|
package/dist/agent-location.d.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Where a run's turns executed, as a run's record names it (D1): this machine, a GitHub Actions
|
|
3
|
-
* runner, or a Claude Code cloud session. A run started today is local; the other two are read
|
|
4
|
-
* off records of runs from before the launcher started runs through the project's hook (#1774),
|
|
5
|
-
* and off the cloud work the bridge still adopts.
|
|
6
|
-
*
|
|
7
|
-
* Node-free on purpose, like `driver-names.ts`: the dashboard and the store both name this axis.
|
|
8
|
-
*/
|
|
9
|
-
/** Where an agent executes. */
|
|
10
|
-
export type AgentLocation = 'local' | 'actions' | 'web';
|
|
11
|
-
//# sourceMappingURL=agent-location.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"agent-location.d.ts","sourceRoot":"","sources":["../src/agent-location.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,+BAA+B;AAC/B,MAAM,MAAM,aAAa,GAAG,OAAO,GAAG,SAAS,GAAG,KAAK,CAAA"}
|
package/dist/agent-location.js
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Where a run's turns executed, as a run's record names it (D1): this machine, a GitHub Actions
|
|
3
|
-
* runner, or a Claude Code cloud session. A run started today is local; the other two are read
|
|
4
|
-
* off records of runs from before the launcher started runs through the project's hook (#1774),
|
|
5
|
-
* and off the cloud work the bridge still adopts.
|
|
6
|
-
*
|
|
7
|
-
* Node-free on purpose, like `driver-names.ts`: the dashboard and the store both name this axis.
|
|
8
|
-
*/
|
|
9
|
-
export {};
|
|
10
|
-
//# sourceMappingURL=agent-location.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"agent-location.js","sourceRoot":"","sources":["../src/agent-location.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG"}
|
package/dist/agent-messages.d.ts
DELETED
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* The live-chat message channel (#714): the user's own turns into a running agent.
|
|
3
|
-
*
|
|
4
|
-
* An agent's await gates (#337) are the agent asking the user; this is the reverse —
|
|
5
|
-
* the user speaking to the agent unprompted. Each message continues the *same*
|
|
6
|
-
* agent session (`claude --resume <id>`), so the conversation keeps its full
|
|
7
|
-
* context. The run loop drains this once the work settles; a daemon-spawned
|
|
8
|
-
* session then ends itself when the queue is idle (#1390) — a follow-up message
|
|
9
|
-
* reopens the conversation via `--resume`, like Claude Code web — while an agent
|
|
10
|
-
* with its own terminal dashboard keeps the old stay-open wait, since that
|
|
11
|
-
* surface has no daemon to resume through.
|
|
12
|
-
*
|
|
13
|
-
* Wired only when an interactive channel can deliver messages (a live dashboard /
|
|
14
|
-
* daemon over `control.jsonl`). A headless agent gets no {@link AgentMessages}, so its
|
|
15
|
-
* loop ends when the agent stops asking — byte-identical to before this existed.
|
|
16
|
-
*/
|
|
17
|
-
/**
|
|
18
|
-
* One user chat message, plus the surface it arrived through (#917).
|
|
19
|
-
*/
|
|
20
|
-
export interface ChatMessage {
|
|
21
|
-
text: string;
|
|
22
|
-
}
|
|
23
|
-
/** A source of user chat messages for a running agent. */
|
|
24
|
-
export interface AgentMessages {
|
|
25
|
-
/**
|
|
26
|
-
* The next user message. Returns an already-queued message immediately (drain
|
|
27
|
-
* between turns); otherwise waits for one (stay-open). Resolves `undefined` when
|
|
28
|
-
* the agent should stop waiting — the signal aborted (a Stop, or an answer marked stop) or the
|
|
29
|
-
* source was closed — so the loop ends cleanly rather than hanging.
|
|
30
|
-
*/
|
|
31
|
-
next(signal?: AbortSignal): Promise<ChatMessage | undefined>;
|
|
32
|
-
/**
|
|
33
|
-
* The next user message only if one has already arrived — never waits (#1390). What the
|
|
34
|
-
* end-of-run drain asks: a queued follow-up is processed, an idle queue ends the session.
|
|
35
|
-
* `undefined` once closed, so an aborted agent never starts a new turn off a stale message.
|
|
36
|
-
*/
|
|
37
|
-
takeQueued(): ChatMessage | undefined;
|
|
38
|
-
}
|
|
39
|
-
/**
|
|
40
|
-
* A {@link AgentMessages} the control channel feeds ({@link push}) and the run loop
|
|
41
|
-
* drains ({@link next}). A message that arrives with a waiter parked hands off
|
|
42
|
-
* directly; otherwise it queues until the next `next()`. FIFO in both directions.
|
|
43
|
-
*/
|
|
44
|
-
export declare class AgentMessageQueue implements AgentMessages {
|
|
45
|
-
private readonly pending;
|
|
46
|
-
private readonly waiters;
|
|
47
|
-
private closed;
|
|
48
|
-
/** Enqueue a user message (or hand it to a parked waiter). No-op once closed. */
|
|
49
|
-
push(text: string): void;
|
|
50
|
-
/** Stop the chat: wake every parked waiter with `undefined` so their loops end. */
|
|
51
|
-
close(): void;
|
|
52
|
-
takeQueued(): ChatMessage | undefined;
|
|
53
|
-
next(signal?: AbortSignal): Promise<ChatMessage | undefined>;
|
|
54
|
-
}
|
|
55
|
-
//# sourceMappingURL=agent-messages.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"agent-messages.d.ts","sourceRoot":"","sources":["../src/agent-messages.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH;;GAEG;AACH,MAAM,WAAW,WAAW;IAC1B,IAAI,EAAE,MAAM,CAAA;CACb;AAED,0DAA0D;AAC1D,MAAM,WAAW,aAAa;IAC5B;;;;;OAKG;IACH,IAAI,CAAC,MAAM,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,WAAW,GAAG,SAAS,CAAC,CAAA;IAC5D;;;;OAIG;IACH,UAAU,IAAI,WAAW,GAAG,SAAS,CAAA;CACtC;AAED;;;;GAIG;AACH,qBAAa,iBAAkB,YAAW,aAAa;IACrD,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAoB;IAC5C,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAwD;IAChF,OAAO,CAAC,MAAM,CAAQ;IAEtB,iFAAiF;IACjF,IAAI,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,CAMvB;IAED,mFAAmF;IACnF,KAAK,IAAI,IAAI,CAIZ;IAED,UAAU,IAAI,WAAW,GAAG,SAAS,CAGpC;IAED,IAAI,CAAC,MAAM,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,WAAW,GAAG,SAAS,CAAC,CAiB3D;CACF"}
|
package/dist/agent-messages.js
DELETED
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* The live-chat message channel (#714): the user's own turns into a running agent.
|
|
3
|
-
*
|
|
4
|
-
* An agent's await gates (#337) are the agent asking the user; this is the reverse —
|
|
5
|
-
* the user speaking to the agent unprompted. Each message continues the *same*
|
|
6
|
-
* agent session (`claude --resume <id>`), so the conversation keeps its full
|
|
7
|
-
* context. The run loop drains this once the work settles; a daemon-spawned
|
|
8
|
-
* session then ends itself when the queue is idle (#1390) — a follow-up message
|
|
9
|
-
* reopens the conversation via `--resume`, like Claude Code web — while an agent
|
|
10
|
-
* with its own terminal dashboard keeps the old stay-open wait, since that
|
|
11
|
-
* surface has no daemon to resume through.
|
|
12
|
-
*
|
|
13
|
-
* Wired only when an interactive channel can deliver messages (a live dashboard /
|
|
14
|
-
* daemon over `control.jsonl`). A headless agent gets no {@link AgentMessages}, so its
|
|
15
|
-
* loop ends when the agent stops asking — byte-identical to before this existed.
|
|
16
|
-
*/
|
|
17
|
-
/**
|
|
18
|
-
* A {@link AgentMessages} the control channel feeds ({@link push}) and the run loop
|
|
19
|
-
* drains ({@link next}). A message that arrives with a waiter parked hands off
|
|
20
|
-
* directly; otherwise it queues until the next `next()`. FIFO in both directions.
|
|
21
|
-
*/
|
|
22
|
-
export class AgentMessageQueue {
|
|
23
|
-
pending = [];
|
|
24
|
-
waiters = [];
|
|
25
|
-
closed = false;
|
|
26
|
-
/** Enqueue a user message (or hand it to a parked waiter). No-op once closed. */
|
|
27
|
-
push(text) {
|
|
28
|
-
if (this.closed)
|
|
29
|
-
return;
|
|
30
|
-
const message = { text };
|
|
31
|
-
const waiter = this.waiters.shift();
|
|
32
|
-
if (waiter)
|
|
33
|
-
waiter(message);
|
|
34
|
-
else
|
|
35
|
-
this.pending.push(message);
|
|
36
|
-
}
|
|
37
|
-
/** Stop the chat: wake every parked waiter with `undefined` so their loops end. */
|
|
38
|
-
close() {
|
|
39
|
-
this.closed = true;
|
|
40
|
-
let waiter;
|
|
41
|
-
while ((waiter = this.waiters.shift()))
|
|
42
|
-
waiter(undefined);
|
|
43
|
-
}
|
|
44
|
-
takeQueued() {
|
|
45
|
-
if (this.closed)
|
|
46
|
-
return undefined;
|
|
47
|
-
return this.pending.shift();
|
|
48
|
-
}
|
|
49
|
-
next(signal) {
|
|
50
|
-
const queued = this.pending.shift();
|
|
51
|
-
if (queued !== undefined)
|
|
52
|
-
return Promise.resolve(queued);
|
|
53
|
-
if (this.closed || signal?.aborted)
|
|
54
|
-
return Promise.resolve(undefined);
|
|
55
|
-
return new Promise(resolve => {
|
|
56
|
-
const waiter = (message) => {
|
|
57
|
-
if (signal)
|
|
58
|
-
signal.removeEventListener('abort', onAbort);
|
|
59
|
-
resolve(message);
|
|
60
|
-
};
|
|
61
|
-
const onAbort = () => {
|
|
62
|
-
const i = this.waiters.indexOf(waiter);
|
|
63
|
-
if (i >= 0)
|
|
64
|
-
this.waiters.splice(i, 1);
|
|
65
|
-
resolve(undefined);
|
|
66
|
-
};
|
|
67
|
-
this.waiters.push(waiter);
|
|
68
|
-
if (signal)
|
|
69
|
-
signal.addEventListener('abort', onAbort, { once: true });
|
|
70
|
-
});
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
//# sourceMappingURL=agent-messages.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"agent-messages.js","sourceRoot":"","sources":["../src/agent-messages.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AA0BH;;;;GAIG;AACH,MAAM,OAAO,iBAAiB;IACX,OAAO,GAAkB,EAAE,CAAA;IAC3B,OAAO,GAAsD,EAAE,CAAA;IACxE,MAAM,GAAG,KAAK,CAAA;IAEtB,iFAAiF;IACjF,IAAI,CAAC,IAAY;QACf,IAAI,IAAI,CAAC,MAAM;YAAE,OAAM;QACvB,MAAM,OAAO,GAAgB,EAAE,IAAI,EAAE,CAAA;QACrC,MAAM,MAAM,GAAG,IAAI,CAAC,OAAO,CAAC,KAAK,EAAE,CAAA;QACnC,IAAI,MAAM;YAAE,MAAM,CAAC,OAAO,CAAC,CAAA;;YACtB,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,CAAA;IACjC,CAAC;IAED,mFAAmF;IACnF,KAAK;QACH,IAAI,CAAC,MAAM,GAAG,IAAI,CAAA;QAClB,IAAI,MAAgE,CAAA;QACpE,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC,OAAO,CAAC,KAAK,EAAE,CAAC;YAAE,MAAM,CAAC,SAAS,CAAC,CAAA;IAC3D,CAAC;IAED,UAAU;QACR,IAAI,IAAI,CAAC,MAAM;YAAE,OAAO,SAAS,CAAA;QACjC,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,EAAE,CAAA;IAC7B,CAAC;IAED,IAAI,CAAC,MAAoB;QACvB,MAAM,MAAM,GAAG,IAAI,CAAC,OAAO,CAAC,KAAK,EAAE,CAAA;QACnC,IAAI,MAAM,KAAK,SAAS;YAAE,OAAO,OAAO,CAAC,OAAO,CAAC,MAAM,CAAC,CAAA;QACxD,IAAI,IAAI,CAAC,MAAM,IAAI,MAAM,EAAE,OAAO;YAAE,OAAO,OAAO,CAAC,OAAO,CAAC,SAAS,CAAC,CAAA;QACrE,OAAO,IAAI,OAAO,CAA0B,OAAO,CAAC,EAAE;YACpD,MAAM,MAAM,GAAG,CAAC,OAAgC,EAAQ,EAAE;gBACxD,IAAI,MAAM;oBAAE,MAAM,CAAC,mBAAmB,CAAC,OAAO,EAAE,OAAO,CAAC,CAAA;gBACxD,OAAO,CAAC,OAAO,CAAC,CAAA;YAClB,CAAC,CAAA;YACD,MAAM,OAAO,GAAG,GAAS,EAAE;gBACzB,MAAM,CAAC,GAAG,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,MAAM,CAAC,CAAA;gBACtC,IAAI,CAAC,IAAI,CAAC;oBAAE,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,CAAC,CAAA;gBACrC,OAAO,CAAC,SAAS,CAAC,CAAA;YACpB,CAAC,CAAA;YACD,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,MAAM,CAAC,CAAA;YACzB,IAAI,MAAM;gBAAE,MAAM,CAAC,gBAAgB,CAAC,OAAO,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC,CAAA;QACvE,CAAC,CAAC,CAAA;IACJ,CAAC;CACF"}
|
package/dist/agent-names.d.ts
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* The agent vocabulary (#542), node-free so every surface shares one copy: the CLI's
|
|
3
|
-
* `--agent` flag, the registry's preference sanitizer, and the dashboard bundle — which must
|
|
4
|
-
* not import the driver layer (it spawns processes), and whose "kept local" copies existed
|
|
5
|
-
* only because this list used to live beside those imports. Adding an agent is one entry
|
|
6
|
-
* here plus its driver; the dashboard's per-agent UI table is keyed by {@link AgentName}, so
|
|
7
|
-
* a missing entry there is a compile error, not a silent gap.
|
|
8
|
-
*/
|
|
9
|
-
/** The agents the framework can drive, in the order surfaces list them. */
|
|
10
|
-
export declare const AGENTS: readonly ["claude", "codex"];
|
|
11
|
-
/** An agent `--agent` can name. */
|
|
12
|
-
export type AgentName = (typeof AGENTS)[number];
|
|
13
|
-
/** Whether `value` names an agent we can drive. */
|
|
14
|
-
export declare function isAgentName(value: string | undefined): value is AgentName;
|
|
15
|
-
/** How each agent reads in a sentence or on a button. */
|
|
16
|
-
export declare const AGENT_LABELS: Record<AgentName, string>;
|
|
17
|
-
/**
|
|
18
|
-
* The agent behind a driver name (#831): a run records the driver that ran it
|
|
19
|
-
* (`claude-code`), while `--agent` takes the agent name (`claude`). `undefined` for a driver
|
|
20
|
-
* no agent claims (the fake driver, or a record from a newer version). An agent whose driver
|
|
21
|
-
* name differs from its own needs a case here, like claude's does.
|
|
22
|
-
*/
|
|
23
|
-
export declare function agentForDriver(driver: string | undefined): AgentName | undefined;
|
|
24
|
-
//# sourceMappingURL=agent-names.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"agent-names.d.ts","sourceRoot":"","sources":["../src/agent-names.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,2EAA2E;AAC3E,eAAO,MAAM,MAAM,8BAA+B,CAAA;AAElD,mCAAmC;AACnC,MAAM,MAAM,SAAS,GAAG,CAAC,OAAO,MAAM,CAAC,CAAC,MAAM,CAAC,CAAA;AAE/C,mDAAmD;AACnD,wBAAgB,WAAW,CAAC,KAAK,EAAE,MAAM,GAAG,SAAS,GAAG,KAAK,IAAI,SAAS,CAEzE;AAED,yDAAyD;AACzD,eAAO,MAAM,YAAY,EAAE,MAAM,CAAC,SAAS,EAAE,MAAM,CAGlD,CAAA;AAED;;;;;GAKG;AACH,wBAAgB,cAAc,CAAC,MAAM,EAAE,MAAM,GAAG,SAAS,GAAG,SAAS,GAAG,SAAS,CAKhF"}
|
package/dist/agent-names.js
DELETED
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* The agent vocabulary (#542), node-free so every surface shares one copy: the CLI's
|
|
3
|
-
* `--agent` flag, the registry's preference sanitizer, and the dashboard bundle — which must
|
|
4
|
-
* not import the driver layer (it spawns processes), and whose "kept local" copies existed
|
|
5
|
-
* only because this list used to live beside those imports. Adding an agent is one entry
|
|
6
|
-
* here plus its driver; the dashboard's per-agent UI table is keyed by {@link AgentName}, so
|
|
7
|
-
* a missing entry there is a compile error, not a silent gap.
|
|
8
|
-
*/
|
|
9
|
-
/** The agents the framework can drive, in the order surfaces list them. */
|
|
10
|
-
export const AGENTS = ['claude', 'codex'];
|
|
11
|
-
/** Whether `value` names an agent we can drive. */
|
|
12
|
-
export function isAgentName(value) {
|
|
13
|
-
return value !== undefined && AGENTS.includes(value);
|
|
14
|
-
}
|
|
15
|
-
/** How each agent reads in a sentence or on a button. */
|
|
16
|
-
export const AGENT_LABELS = {
|
|
17
|
-
claude: 'Claude Code',
|
|
18
|
-
codex: 'Codex',
|
|
19
|
-
};
|
|
20
|
-
/**
|
|
21
|
-
* The agent behind a driver name (#831): a run records the driver that ran it
|
|
22
|
-
* (`claude-code`), while `--agent` takes the agent name (`claude`). `undefined` for a driver
|
|
23
|
-
* no agent claims (the fake driver, or a record from a newer version). An agent whose driver
|
|
24
|
-
* name differs from its own needs a case here, like claude's does.
|
|
25
|
-
*/
|
|
26
|
-
export function agentForDriver(driver) {
|
|
27
|
-
// Every surface Claude runs on is still Claude (#1263): the local CLI, the cloud session, and
|
|
28
|
-
// the Actions runner. Where it runs is the run's `target`, not its agent.
|
|
29
|
-
if (driver === 'claude-code' || driver === 'claude-web' || driver === 'github-actions')
|
|
30
|
-
return 'claude';
|
|
31
|
-
return isAgentName(driver) ? driver : undefined;
|
|
32
|
-
}
|
|
33
|
-
//# sourceMappingURL=agent-names.js.map
|
package/dist/agent-names.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"agent-names.js","sourceRoot":"","sources":["../src/agent-names.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,2EAA2E;AAC3E,MAAM,CAAC,MAAM,MAAM,GAAG,CAAC,QAAQ,EAAE,OAAO,CAAU,CAAA;AAKlD,mDAAmD;AACnD,MAAM,UAAU,WAAW,CAAC,KAAyB;IACnD,OAAO,KAAK,KAAK,SAAS,IAAK,MAA4B,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAA;AAC7E,CAAC;AAED,yDAAyD;AACzD,MAAM,CAAC,MAAM,YAAY,GAA8B;IACrD,MAAM,EAAE,aAAa;IACrB,KAAK,EAAE,OAAO;CACf,CAAA;AAED;;;;;GAKG;AACH,MAAM,UAAU,cAAc,CAAC,MAA0B;IACvD,8FAA8F;IAC9F,0EAA0E;IAC1E,IAAI,MAAM,KAAK,aAAa,IAAI,MAAM,KAAK,YAAY,IAAI,MAAM,KAAK,gBAAgB;QAAE,OAAO,QAAQ,CAAA;IACvG,OAAO,WAAW,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAA;AACjD,CAAC"}
|
package/dist/agent-options.d.ts
DELETED
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import { type HandoffLevel } from './handoff-level.js';
|
|
2
|
-
import type { Preferences } from './registry.js';
|
|
3
|
-
import type { StartAgentOptions } from './dashboard/types.js';
|
|
4
|
-
import type { FrameworkFileConfig } from './config.js';
|
|
5
|
-
/**
|
|
6
|
-
* Turning the user's preferences into the options an agent starts with (#858).
|
|
7
|
-
*
|
|
8
|
-
* This lived in the dashboard client, which was fine while the browser was the only thing that
|
|
9
|
-
* started runs. The daemon starts them too (#685), and passed nothing at all — so an unattended agent
|
|
10
|
-
* ignored the driver, the model and every other per-project setting (#840) that an agent started from
|
|
11
|
-
* the launcher would have honoured.
|
|
12
|
-
*
|
|
13
|
-
* It lives here, in pure code with no Node imports, so both callers share one mapping rather than
|
|
14
|
-
* keeping two copies of rules that are not a plain field copy: autopilot defaults on, browser is
|
|
15
|
-
* Claude-only, the eco drops are suppressed under vanilla/transparent, and the four eco
|
|
16
|
-
* preferences collapse into one object. Re-exported from the browser-safe `./client` entry (#431)
|
|
17
|
-
* so the dashboard can go on importing it at runtime.
|
|
18
|
-
*/
|
|
19
|
-
/**
|
|
20
|
-
* A repo's committed `the-framework.yml` as the preference keys it speaks for (#842), so the
|
|
21
|
-
* launcher and the daemon can layer it under the user's own options the same way. Only the keys
|
|
22
|
-
* the file set come back, since an unset key must leave the tier below it alone.
|
|
23
|
-
*
|
|
24
|
-
* `preset` and `event` have no preference counterpart (there is no preset picker) and stay on the
|
|
25
|
-
* raw file config for display.
|
|
26
|
-
*/
|
|
27
|
-
export declare function preferencesFromFileConfig(file: FrameworkFileConfig): Preferences;
|
|
28
|
-
/**
|
|
29
|
-
* How far a set of preferences publishes a finished session (#1102/B5). Defaults to `pr`, which is
|
|
30
|
-
* what makes it zero-config: a session left alone pushes its branch and opens a draft PR.
|
|
31
|
-
*
|
|
32
|
-
* A ladder, not three switches (#1379): the rungs are nested, so "PR without push" was never a
|
|
33
|
-
* state a session could honour — `gh` will not open a PR for a branch the remote has never seen.
|
|
34
|
-
* As an ordinal that combination is not representable at all, rather than repaired by turning the
|
|
35
|
-
* push back on, which is what made a launcher offering "publish nothing" unable to deliver it.
|
|
36
|
-
*/
|
|
37
|
-
export declare function handoffFromPreferences(preferences: Preferences): HandoffLevel;
|
|
38
|
-
/**
|
|
39
|
-
* The agent options a set of already-resolved preferences implies.
|
|
40
|
-
*
|
|
41
|
-
* Takes the merged view, not the two tiers: who wins between the global and the project setting is
|
|
42
|
-
* `resolvePreferences`' job, and this stays a pure mapping of one settled answer.
|
|
43
|
-
*/
|
|
44
|
-
export declare function agentOptionsFromPreferences(preferences: Preferences, context?: string[]): StartAgentOptions;
|
|
45
|
-
//# sourceMappingURL=agent-options.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"agent-options.d.ts","sourceRoot":"","sources":["../src/agent-options.ts"],"names":[],"mappings":"AAAA,OAAO,EAAmB,KAAK,YAAY,EAAE,MAAM,oBAAoB,CAAA;AACvE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;AAChD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAA;AAC7D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAA;AAEtD;;;;;;;;;;;;;GAaG;AAEH;;;;;;;GAOG;AACH,wBAAgB,yBAAyB,CAAC,IAAI,EAAE,mBAAmB,GAAG,WAAW,CAShF;AAED;;;;;;;;GAQG;AACH,wBAAgB,sBAAsB,CAAC,WAAW,EAAE,WAAW,GAAG,YAAY,CAE7E;AAED;;;;;GAKG;AACH,wBAAgB,2BAA2B,CAAC,WAAW,EAAE,WAAW,EAAE,OAAO,GAAE,MAAM,EAAO,GAAG,iBAAiB,CA8B/G"}
|
package/dist/agent-options.js
DELETED
|
@@ -1,83 +0,0 @@
|
|
|
1
|
-
import { DEFAULT_HANDOFF } from './handoff-level.js';
|
|
2
|
-
/**
|
|
3
|
-
* Turning the user's preferences into the options an agent starts with (#858).
|
|
4
|
-
*
|
|
5
|
-
* This lived in the dashboard client, which was fine while the browser was the only thing that
|
|
6
|
-
* started runs. The daemon starts them too (#685), and passed nothing at all — so an unattended agent
|
|
7
|
-
* ignored the driver, the model and every other per-project setting (#840) that an agent started from
|
|
8
|
-
* the launcher would have honoured.
|
|
9
|
-
*
|
|
10
|
-
* It lives here, in pure code with no Node imports, so both callers share one mapping rather than
|
|
11
|
-
* keeping two copies of rules that are not a plain field copy: autopilot defaults on, browser is
|
|
12
|
-
* Claude-only, the eco drops are suppressed under vanilla/transparent, and the four eco
|
|
13
|
-
* preferences collapse into one object. Re-exported from the browser-safe `./client` entry (#431)
|
|
14
|
-
* so the dashboard can go on importing it at runtime.
|
|
15
|
-
*/
|
|
16
|
-
/**
|
|
17
|
-
* A repo's committed `the-framework.yml` as the preference keys it speaks for (#842), so the
|
|
18
|
-
* launcher and the daemon can layer it under the user's own options the same way. Only the keys
|
|
19
|
-
* the file set come back, since an unset key must leave the tier below it alone.
|
|
20
|
-
*
|
|
21
|
-
* `preset` and `event` have no preference counterpart (there is no preset picker) and stay on the
|
|
22
|
-
* raw file config for display.
|
|
23
|
-
*/
|
|
24
|
-
export function preferencesFromFileConfig(file) {
|
|
25
|
-
return {
|
|
26
|
-
...(file.transparent !== undefined ? { transparent: file.transparent } : {}),
|
|
27
|
-
...(file.vanilla !== undefined ? { vanilla: file.vanilla } : {}),
|
|
28
|
-
// The handoff pair (#1102/#1173): whether a session publishes itself is a fact about the repo,
|
|
29
|
-
// so the committed file may say it — and it is where push-without-PR stays reachable now the
|
|
30
|
-
// launcher offers a single `Open PR` row.
|
|
31
|
-
...(file.handoff !== undefined ? { handoff: file.handoff } : {}),
|
|
32
|
-
};
|
|
33
|
-
}
|
|
34
|
-
/**
|
|
35
|
-
* How far a set of preferences publishes a finished session (#1102/B5). Defaults to `pr`, which is
|
|
36
|
-
* what makes it zero-config: a session left alone pushes its branch and opens a draft PR.
|
|
37
|
-
*
|
|
38
|
-
* A ladder, not three switches (#1379): the rungs are nested, so "PR without push" was never a
|
|
39
|
-
* state a session could honour — `gh` will not open a PR for a branch the remote has never seen.
|
|
40
|
-
* As an ordinal that combination is not representable at all, rather than repaired by turning the
|
|
41
|
-
* push back on, which is what made a launcher offering "publish nothing" unable to deliver it.
|
|
42
|
-
*/
|
|
43
|
-
export function handoffFromPreferences(preferences) {
|
|
44
|
-
return preferences.handoff ?? DEFAULT_HANDOFF;
|
|
45
|
-
}
|
|
46
|
-
/**
|
|
47
|
-
* The agent options a set of already-resolved preferences implies.
|
|
48
|
-
*
|
|
49
|
-
* Takes the merged view, not the two tiers: who wins between the global and the project setting is
|
|
50
|
-
* `resolvePreferences`' job, and this stays a pure mapping of one settled answer.
|
|
51
|
-
*/
|
|
52
|
-
export function agentOptionsFromPreferences(preferences, context = []) {
|
|
53
|
-
const vanilla = preferences.vanilla ?? false;
|
|
54
|
-
const transparent = preferences.transparent ?? false;
|
|
55
|
-
const onBeforeMergeableQuality = preferences.onBeforeMergeableQuality ?? false;
|
|
56
|
-
const browser = preferences.browser ?? false;
|
|
57
|
-
const handoff = handoffFromPreferences(preferences);
|
|
58
|
-
const model = preferences.model ?? '';
|
|
59
|
-
const driver = preferences.driver ?? 'claude';
|
|
60
|
-
const target = preferences.target ?? 'local';
|
|
61
|
-
return {
|
|
62
|
-
// The two toggles `the-framework.yml` also owns go out explicitly, `false` included (#842):
|
|
63
|
-
// the caller has already resolved every layer it can see, so the agent states the settled answer
|
|
64
|
-
// and the CLI's own resolve (#841) takes it as the nearest layer. Sending nothing would let the
|
|
65
|
-
// repo file turn back on what the launcher just showed as off.
|
|
66
|
-
vanilla,
|
|
67
|
-
transparent,
|
|
68
|
-
...(onBeforeMergeableQuality ? { onBeforeMergeable: true } : {}),
|
|
69
|
-
// Stated explicitly, every rung included: it defaults to `pr` (#1102), so sending nothing
|
|
70
|
-
// would let the session's own default publish more than the launcher just showed.
|
|
71
|
-
handoff,
|
|
72
|
-
// Claude-only (#801): another driver takes no MCP servers, so sending it would only earn
|
|
73
|
-
// the CLI's "no effect" notice. Matches the box being disabled off Claude Code.
|
|
74
|
-
...(browser && driver === 'claude' ? { browser: true } : {}),
|
|
75
|
-
...(model ? { model } : {}),
|
|
76
|
-
...(driver !== 'claude' ? { driver } : {}),
|
|
77
|
-
// Run target (#1050/#610): only a non-local target travels; `local` is the default the CLI
|
|
78
|
-
// already assumes, so a local agent's options stay byte-identical to before either target existed.
|
|
79
|
-
...(target && target !== 'local' ? { target } : {}),
|
|
80
|
-
...(context.length ? { context } : {}),
|
|
81
|
-
};
|
|
82
|
-
}
|
|
83
|
-
//# sourceMappingURL=agent-options.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"agent-options.js","sourceRoot":"","sources":["../src/agent-options.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAqB,MAAM,oBAAoB,CAAA;AAKvE;;;;;;;;;;;;;GAaG;AAEH;;;;;;;GAOG;AACH,MAAM,UAAU,yBAAyB,CAAC,IAAyB;IACjE,OAAO;QACL,GAAG,CAAC,IAAI,CAAC,WAAW,KAAK,SAAS,CAAC,CAAC,CAAC,EAAE,WAAW,EAAE,IAAI,CAAC,WAAW,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;QAC5E,GAAG,CAAC,IAAI,CAAC,OAAO,KAAK,SAAS,CAAC,CAAC,CAAC,EAAE,OAAO,EAAE,IAAI,CAAC,OAAO,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;QAChE,+FAA+F;QAC/F,6FAA6F;QAC7F,0CAA0C;QAC1C,GAAG,CAAC,IAAI,CAAC,OAAO,KAAK,SAAS,CAAC,CAAC,CAAC,EAAE,OAAO,EAAE,IAAI,CAAC,OAAO,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;KACjE,CAAA;AACH,CAAC;AAED;;;;;;;;GAQG;AACH,MAAM,UAAU,sBAAsB,CAAC,WAAwB;IAC7D,OAAO,WAAW,CAAC,OAAO,IAAI,eAAe,CAAA;AAC/C,CAAC;AAED;;;;;GAKG;AACH,MAAM,UAAU,2BAA2B,CAAC,WAAwB,EAAE,OAAO,GAAa,EAAE;IAC1F,MAAM,OAAO,GAAG,WAAW,CAAC,OAAO,IAAI,KAAK,CAAA;IAC5C,MAAM,WAAW,GAAG,WAAW,CAAC,WAAW,IAAI,KAAK,CAAA;IACpD,MAAM,wBAAwB,GAAG,WAAW,CAAC,wBAAwB,IAAI,KAAK,CAAA;IAC9E,MAAM,OAAO,GAAG,WAAW,CAAC,OAAO,IAAI,KAAK,CAAA;IAC5C,MAAM,OAAO,GAAG,sBAAsB,CAAC,WAAW,CAAC,CAAA;IACnD,MAAM,KAAK,GAAG,WAAW,CAAC,KAAK,IAAI,EAAE,CAAA;IACrC,MAAM,MAAM,GAAG,WAAW,CAAC,MAAM,IAAI,QAAQ,CAAA;IAC7C,MAAM,MAAM,GAAG,WAAW,CAAC,MAAM,IAAI,OAAO,CAAA;IAC5C,OAAO;QACL,4FAA4F;QAC5F,iGAAiG;QACjG,gGAAgG;QAChG,+DAA+D;QAC/D,OAAO;QACP,WAAW;QACX,GAAG,CAAC,wBAAwB,CAAC,CAAC,CAAC,EAAE,iBAAiB,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;QAChE,0FAA0F;QAC1F,kFAAkF;QAClF,OAAO;QACP,yFAAyF;QACzF,gFAAgF;QAChF,GAAG,CAAC,OAAO,IAAI,MAAM,KAAK,QAAQ,CAAC,CAAC,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;QAC5D,GAAG,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;QAC3B,GAAG,CAAC,MAAM,KAAK,QAAQ,CAAC,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;QAC1C,2FAA2F;QAC3F,mGAAmG;QACnG,GAAG,CAAC,MAAM,IAAI,MAAM,KAAK,OAAO,CAAC,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;QACnD,GAAG,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,OAAO,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;KACvC,CAAA;AACH,CAAC"}
|
package/dist/agent-spec.d.ts
DELETED
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
import type { StartAgentKind, StartAgentOptions } from './dashboard/index.js';
|
|
2
|
-
/**
|
|
3
|
-
* The dashboard's process API to a session it spawns (D4).
|
|
4
|
-
*
|
|
5
|
-
* This used to be twenty-seven command-line flags. `StartAgentOptions` was serialized onto an argv
|
|
6
|
-
* — every field carrying a "maps to `--x`" comment — which made the dashboard's IPC format and the
|
|
7
|
-
* CLI's human surface the same thing. That is what forced the flags to be mutually validated,
|
|
8
|
-
* documented in a 140-line help text, and tri-stated: `--auto-open-pr` / `--no-auto-open-pr` both
|
|
9
|
-
* had to exist because argv has no way to say `false`, only "present" and "absent".
|
|
10
|
-
*
|
|
11
|
-
* JSON has a real `false`, so none of that is needed. The dashboard writes this blob to a temp
|
|
12
|
-
* file and spawns `framework --agent <path>`; the child reads it, deletes it, and runs. The
|
|
13
|
-
* flags are gone, the `--no-*` pairs with them, and the CLI is left with the four options a human
|
|
14
|
-
* actually types.
|
|
15
|
-
*/
|
|
16
|
-
export interface AgentSpec {
|
|
17
|
-
/** What the session is asked to do. Empty is allowed for `research`, which has its own default. */
|
|
18
|
-
prompt: string;
|
|
19
|
-
/** Build from an intent, run one prompt verbatim, or run the Research preset. */
|
|
20
|
-
kind: StartAgentKind;
|
|
21
|
-
/** The checkout the session runs in: a worktree, or the project itself. */
|
|
22
|
-
cwd: string;
|
|
23
|
-
/** The id its worktree is named with, so the directory and the agent recorded inside it are one string. */
|
|
24
|
-
agentId?: string;
|
|
25
|
-
/** Reopen `agentId`'s log instead of truncating it: the follow-up IS that agent (#762). */
|
|
26
|
-
continueAgent?: boolean;
|
|
27
|
-
/** Everything the launcher's options gear and Settings decide about the session. */
|
|
28
|
-
options: StartAgentOptions;
|
|
29
|
-
}
|
|
30
|
-
/**
|
|
31
|
-
* Write a spec and return its path, for `framework --agent <path>`.
|
|
32
|
-
*
|
|
33
|
-
* A file rather than a pipe or an fd: the child is spawned detached with its stdio closed, so
|
|
34
|
-
* there is no channel to inherit, and a path survives the spawn without either side blocking on
|
|
35
|
-
* the other. The child removes it once read, so a spec never outlives the session it started.
|
|
36
|
-
*/
|
|
37
|
-
export declare function writeAgentSpec(spec: AgentSpec, env?: NodeJS.ProcessEnv): Promise<string>;
|
|
38
|
-
/**
|
|
39
|
-
* Remove a spec — and the directory {@link writeAgentSpec} made for it, or removing one spec per
|
|
40
|
-
* session would leave one empty directory per session behind forever. Only a directory this
|
|
41
|
-
* module verifiably made goes whole: it must carry the mkdtemp prefix AND sit directly in the
|
|
42
|
-
* configured spec home. `--agent <path>` accepts any path, and neither a hand-written spec nor a
|
|
43
|
-
* user's own directory that happens to be named like ours may be taken with the file.
|
|
44
|
-
*
|
|
45
|
-
* Also the cleanup for a spawn whose child never consumed the spec — the spawn failed outright,
|
|
46
|
-
* or the child died before reading it — which otherwise left the whole prompt sitting on disk.
|
|
47
|
-
* Idempotent: removing a spec an exiting child already consumed is a no-op.
|
|
48
|
-
*/
|
|
49
|
-
export declare function removeAgentSpec(path: string, env?: NodeJS.ProcessEnv): Promise<void>;
|
|
50
|
-
/**
|
|
51
|
-
* Read a spec, and remove it. Consumed rather than merely read: it is a one-shot handoff, and a
|
|
52
|
-
* session's options can name a device token (`options.remote`), which has no business staying on
|
|
53
|
-
* disk after the session that used it has started.
|
|
54
|
-
*/
|
|
55
|
-
export declare function readAgentSpec(path: string, env?: NodeJS.ProcessEnv): Promise<AgentSpec>;
|
|
56
|
-
//# sourceMappingURL=agent-spec.d.ts.map
|
package/dist/agent-spec.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"agent-spec.d.ts","sourceRoot":"","sources":["../src/agent-spec.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAA;AAE7E;;;;;;;;;;;;;GAaG;AACH,MAAM,WAAW,SAAS;IACxB,mGAAmG;IACnG,MAAM,EAAE,MAAM,CAAA;IACd,iFAAiF;IACjF,IAAI,EAAE,cAAc,CAAA;IACpB,2EAA2E;IAC3E,GAAG,EAAE,MAAM,CAAA;IACX,2GAA2G;IAC3G,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,2FAA2F;IAC3F,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,oFAAoF;IACpF,OAAO,EAAE,iBAAiB,CAAA;CAC3B;AAQD;;;;;;GAMG;AACH,wBAAsB,cAAc,CAAC,IAAI,EAAE,SAAS,EAAE,GAAG,GAAE,MAAM,CAAC,UAAwB,GAAG,OAAO,CAAC,MAAM,CAAC,CAK3G;AAED;;;;;;;;;;GAUG;AACH,wBAAsB,eAAe,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,GAAE,MAAM,CAAC,UAAwB,GAAG,OAAO,CAAC,IAAI,CAAC,CAQvG;AAED;;;;GAIG;AACH,wBAAsB,aAAa,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,GAAE,MAAM,CAAC,UAAwB,GAAG,OAAO,CAAC,SAAS,CAAC,CAQ1G"}
|
package/dist/agent-spec.js
DELETED
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
import { mkdtemp, readFile, rm, writeFile } from 'node:fs/promises';
|
|
2
|
-
import { tmpdir } from 'node:os';
|
|
3
|
-
import { basename, dirname, join, resolve } from 'node:path';
|
|
4
|
-
/** The env var naming the directory session specs are written to. Set by tests; defaults to the OS temp dir. */
|
|
5
|
-
const SPEC_DIR_ENV = 'FRAMEWORK_SESSION_SPEC_DIR';
|
|
6
|
-
/** The per-spec mkdtemp directory's prefix, which marks the directory as this module's to remove. */
|
|
7
|
-
const SPEC_DIR_PREFIX = 'framework-session-';
|
|
8
|
-
/**
|
|
9
|
-
* Write a spec and return its path, for `framework --agent <path>`.
|
|
10
|
-
*
|
|
11
|
-
* A file rather than a pipe or an fd: the child is spawned detached with its stdio closed, so
|
|
12
|
-
* there is no channel to inherit, and a path survives the spawn without either side blocking on
|
|
13
|
-
* the other. The child removes it once read, so a spec never outlives the session it started.
|
|
14
|
-
*/
|
|
15
|
-
export async function writeAgentSpec(spec, env = process.env) {
|
|
16
|
-
const dir = await mkdtemp(join(env[SPEC_DIR_ENV] ?? tmpdir(), SPEC_DIR_PREFIX));
|
|
17
|
-
const path = join(dir, 'session.json');
|
|
18
|
-
await writeFile(path, JSON.stringify(spec, null, 2) + '\n');
|
|
19
|
-
return path;
|
|
20
|
-
}
|
|
21
|
-
/**
|
|
22
|
-
* Remove a spec — and the directory {@link writeAgentSpec} made for it, or removing one spec per
|
|
23
|
-
* session would leave one empty directory per session behind forever. Only a directory this
|
|
24
|
-
* module verifiably made goes whole: it must carry the mkdtemp prefix AND sit directly in the
|
|
25
|
-
* configured spec home. `--agent <path>` accepts any path, and neither a hand-written spec nor a
|
|
26
|
-
* user's own directory that happens to be named like ours may be taken with the file.
|
|
27
|
-
*
|
|
28
|
-
* Also the cleanup for a spawn whose child never consumed the spec — the spawn failed outright,
|
|
29
|
-
* or the child died before reading it — which otherwise left the whole prompt sitting on disk.
|
|
30
|
-
* Idempotent: removing a spec an exiting child already consumed is a no-op.
|
|
31
|
-
*/
|
|
32
|
-
export async function removeAgentSpec(path, env = process.env) {
|
|
33
|
-
const dir = dirname(path);
|
|
34
|
-
const home = resolve(env[SPEC_DIR_ENV] ?? tmpdir());
|
|
35
|
-
if (basename(dir).startsWith(SPEC_DIR_PREFIX) && resolve(dirname(dir)) === home) {
|
|
36
|
-
await rm(dir, { recursive: true, force: true }).catch(() => { });
|
|
37
|
-
}
|
|
38
|
-
else {
|
|
39
|
-
await rm(path, { force: true }).catch(() => { });
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
/**
|
|
43
|
-
* Read a spec, and remove it. Consumed rather than merely read: it is a one-shot handoff, and a
|
|
44
|
-
* session's options can name a device token (`options.remote`), which has no business staying on
|
|
45
|
-
* disk after the session that used it has started.
|
|
46
|
-
*/
|
|
47
|
-
export async function readAgentSpec(path, env = process.env) {
|
|
48
|
-
const raw = await readFile(path, 'utf8');
|
|
49
|
-
await removeAgentSpec(path, env);
|
|
50
|
-
const spec = JSON.parse(raw);
|
|
51
|
-
if (typeof spec.prompt !== 'string' || typeof spec.cwd !== 'string' || !spec.kind) {
|
|
52
|
-
throw new Error(`${path} is not a session spec`);
|
|
53
|
-
}
|
|
54
|
-
return { ...spec, options: spec.options ?? {} };
|
|
55
|
-
}
|
|
56
|
-
//# sourceMappingURL=agent-spec.js.map
|
package/dist/agent-spec.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"agent-spec.js","sourceRoot":"","sources":["../src/agent-spec.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,EAAE,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAA;AACnE,OAAO,EAAE,MAAM,EAAE,MAAM,SAAS,CAAA;AAChC,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;AAgC5D,gHAAgH;AAChH,MAAM,YAAY,GAAG,4BAA4B,CAAA;AAEjD,qGAAqG;AACrG,MAAM,eAAe,GAAG,oBAAoB,CAAA;AAE5C;;;;;;GAMG;AACH,MAAM,CAAC,KAAK,UAAU,cAAc,CAAC,IAAe,EAAE,GAAG,GAAsB,OAAO,CAAC,GAAG;IACxF,MAAM,GAAG,GAAG,MAAM,OAAO,CAAC,IAAI,CAAC,GAAG,CAAC,YAAY,CAAC,IAAI,MAAM,EAAE,EAAE,eAAe,CAAC,CAAC,CAAA;IAC/E,MAAM,IAAI,GAAG,IAAI,CAAC,GAAG,EAAE,cAAc,CAAC,CAAA;IACtC,MAAM,SAAS,CAAC,IAAI,EAAE,IAAI,CAAC,SAAS,CAAC,IAAI,EAAE,IAAI,EAAE,CAAC,CAAC,GAAG,IAAI,CAAC,CAAA;IAC3D,OAAO,IAAI,CAAA;AACb,CAAC;AAED;;;;;;;;;;GAUG;AACH,MAAM,CAAC,KAAK,UAAU,eAAe,CAAC,IAAY,EAAE,GAAG,GAAsB,OAAO,CAAC,GAAG;IACtF,MAAM,GAAG,GAAG,OAAO,CAAC,IAAI,CAAC,CAAA;IACzB,MAAM,IAAI,GAAG,OAAO,CAAC,GAAG,CAAC,YAAY,CAAC,IAAI,MAAM,EAAE,CAAC,CAAA;IACnD,IAAI,QAAQ,CAAC,GAAG,CAAC,CAAC,UAAU,CAAC,eAAe,CAAC,IAAI,OAAO,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,KAAK,IAAI,EAAE,CAAC;QAChF,MAAM,EAAE,CAAC,GAAG,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC,CAAC,KAAK,CAAC,GAAG,EAAE,GAAE,CAAC,CAAC,CAAA;IACjE,CAAC;SAAM,CAAC;QACN,MAAM,EAAE,CAAC,IAAI,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC,CAAC,KAAK,CAAC,GAAG,EAAE,GAAE,CAAC,CAAC,CAAA;IACjD,CAAC;AACH,CAAC;AAED;;;;GAIG;AACH,MAAM,CAAC,KAAK,UAAU,aAAa,CAAC,IAAY,EAAE,GAAG,GAAsB,OAAO,CAAC,GAAG;IACpF,MAAM,GAAG,GAAG,MAAM,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC,CAAA;IACxC,MAAM,eAAe,CAAC,IAAI,EAAE,GAAG,CAAC,CAAA;IAChC,MAAM,IAAI,GAAG,IAAI,CAAC,KAAK,CAAC,GAAG,CAAuB,CAAA;IAClD,IAAI,OAAO,IAAI,CAAC,MAAM,KAAK,QAAQ,IAAI,OAAO,IAAI,CAAC,GAAG,KAAK,QAAQ,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC;QAClF,MAAM,IAAI,KAAK,CAAC,GAAG,IAAI,wBAAwB,CAAC,CAAA;IAClD,CAAC;IACD,OAAO,EAAE,GAAG,IAAI,EAAE,OAAO,EAAE,IAAI,CAAC,OAAO,IAAI,EAAE,EAAe,CAAA;AAC9D,CAAC"}
|
|
@@ -1,88 +0,0 @@
|
|
|
1
|
-
import type { Driver, DriverEvent } from 'agent-driver';
|
|
2
|
-
import { type FrameworkEvent } from './events.js';
|
|
3
|
-
/** Inputs to {@link emitSessionStart}. */
|
|
4
|
-
export interface SessionStartOptions {
|
|
5
|
-
emit: (event: FrameworkEvent) => void;
|
|
6
|
-
driver: Driver;
|
|
7
|
-
/** The workspace the agent works in. */
|
|
8
|
-
cwd: string;
|
|
9
|
-
/** The session link, literal or templated with `{sessionId}`. */
|
|
10
|
-
sessionLink?: string | undefined;
|
|
11
|
-
/** The model id the driver was started with (#1438), recorded on the event per leg. */
|
|
12
|
-
model?: string | undefined;
|
|
13
|
-
}
|
|
14
|
-
/**
|
|
15
|
-
* Emit the agent's opening `session` event. A literal link is shown right away; a
|
|
16
|
-
* templated one (`.../{sessionId}`) can only resolve once the driver reports its
|
|
17
|
-
* session id, so it waits for the `session-update` from {@link createDriverEventHandler}.
|
|
18
|
-
*/
|
|
19
|
-
export declare function emitSessionStart(opts: SessionStartOptions): void;
|
|
20
|
-
/** Inputs to {@link createDriverEventHandler}. */
|
|
21
|
-
export interface DriverEventHandlerOptions {
|
|
22
|
-
emit: (event: FrameworkEvent) => void;
|
|
23
|
-
/** The session link template, when the caller configured one. */
|
|
24
|
-
sessionLink?: string | undefined;
|
|
25
|
-
}
|
|
26
|
-
/** What {@link createDriverEventHandler} hands back. */
|
|
27
|
-
export interface DriverEventHandler {
|
|
28
|
-
/** Wire this as the driver session's `onEvent`. */
|
|
29
|
-
onDriverEvent: (event: DriverEvent) => void;
|
|
30
|
-
}
|
|
31
|
-
/**
|
|
32
|
-
* Watch the driver's black box (#165) and turn it into the agent's stream: surface the real session
|
|
33
|
-
* id as `session-update` once known (that is the honest handle a UI links to, and it changes per
|
|
34
|
-
* prompt, so re-emit), and fold each turn's usage into the agent total.
|
|
35
|
-
*
|
|
36
|
-
* It used to trip two self-stops here as well — a per-agent USD cap and a mid-run quota gate — each
|
|
37
|
-
* firing *after* the turn that crossed it, when its cost was already spent (E1).
|
|
38
|
-
*/
|
|
39
|
-
export declare function createDriverEventHandler(opts: DriverEventHandlerOptions): DriverEventHandler;
|
|
40
|
-
/** Inputs to {@link createAgentControls}. */
|
|
41
|
-
export interface AgentControlsOptions {
|
|
42
|
-
emit: (event: FrameworkEvent) => void;
|
|
43
|
-
/** The caller's abort signal (Stop button / Ctrl+C / control channel), if any. */
|
|
44
|
-
signal?: AbortSignal | undefined;
|
|
45
|
-
sessionLink?: string | undefined;
|
|
46
|
-
}
|
|
47
|
-
/** The agent's abort plumbing plus its driver-event sink. */
|
|
48
|
-
export interface AgentControls extends DriverEventHandler {
|
|
49
|
-
/** The composed signal every driver turn runs under: the caller's, or the answer's. */
|
|
50
|
-
agentSignal: AbortSignal;
|
|
51
|
-
/** Trips a clean stop when the user answers a gate with a `stop` option (#358). */
|
|
52
|
-
answerController: AbortController;
|
|
53
|
-
}
|
|
54
|
-
/**
|
|
55
|
-
* Compose the agent's signal and wire its driver-event handler in one place. The caller's signal is
|
|
56
|
-
* OR'd (via {@link AbortSignal.any}) with the one self-stop left — an answer that says to stop
|
|
57
|
-
* (#358) — so anything downstream that watches `agentSignal` stops the same way regardless of which
|
|
58
|
-
* fired.
|
|
59
|
-
*
|
|
60
|
-
* There were three (E1). A per-agent USD cap and a mid-run quota gate also aborted a session that
|
|
61
|
-
* was already going, which is the worst moment to economise: the tokens are already spent, the
|
|
62
|
-
* work is half-done, and what is saved is the cheap part while what is lost is the expensive part.
|
|
63
|
-
* Spending is decided once, before a session starts.
|
|
64
|
-
*
|
|
65
|
-
* What survives is the one a *person* asked for. It used to be reached through the gate's kind —
|
|
66
|
-
* a decline of an `await-confirmation` — and now through the option the agent marked, which is
|
|
67
|
-
* the same stop with the plan-approval special case taken out of it (D6).
|
|
68
|
-
*/
|
|
69
|
-
export declare function createAgentControls(opts: AgentControlsOptions): AgentControls;
|
|
70
|
-
/** Inputs to {@link endStopDetail}. */
|
|
71
|
-
export interface StopDetailOptions {
|
|
72
|
-
/** The error the agent's turn loop threw. */
|
|
73
|
-
err: unknown;
|
|
74
|
-
/** The caller's own signal, to tell a caller stop from a self-stop. */
|
|
75
|
-
signal?: AbortSignal | undefined;
|
|
76
|
-
/** The gate-answer stop (#358), which is a stop rather than a failure however it surfaced. */
|
|
77
|
-
answerController: AbortController;
|
|
78
|
-
}
|
|
79
|
-
/**
|
|
80
|
-
* Classify why an agent's turn loop threw and render the `end` event's `detail`. A caller interrupt
|
|
81
|
-
* or an answer that said to stop (#358) are clean stops; anything else is a real failure. Shared
|
|
82
|
-
* so the two agent paths can never disagree on what "stopped" means.
|
|
83
|
-
*/
|
|
84
|
-
export declare function endStopDetail(opts: StopDetailOptions): {
|
|
85
|
-
stopped: boolean;
|
|
86
|
-
detail: string;
|
|
87
|
-
};
|
|
88
|
-
//# sourceMappingURL=agent-telemetry.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"agent-telemetry.d.ts","sourceRoot":"","sources":["../src/agent-telemetry.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,cAAc,CAAA;AAEvD,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,aAAa,CAAA;AAUjD,0CAA0C;AAC1C,MAAM,WAAW,mBAAmB;IAClC,IAAI,EAAE,CAAC,KAAK,EAAE,cAAc,KAAK,IAAI,CAAA;IACrC,MAAM,EAAE,MAAM,CAAA;IACd,wCAAwC;IACxC,GAAG,EAAE,MAAM,CAAA;IACX,iEAAiE;IACjE,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IAChC,uFAAuF;IACvF,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;CAC3B;AAED;;;;GAIG;AACH,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,mBAAmB,GAAG,IAAI,CAUhE;AAED,kDAAkD;AAClD,MAAM,WAAW,yBAAyB;IACxC,IAAI,EAAE,CAAC,KAAK,EAAE,cAAc,KAAK,IAAI,CAAA;IACrC,iEAAiE;IACjE,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;CACjC;AAED,wDAAwD;AACxD,MAAM,WAAW,kBAAkB;IACjC,mDAAmD;IACnD,aAAa,EAAE,CAAC,KAAK,EAAE,WAAW,KAAK,IAAI,CAAA;CAC5C;AAED;;;;;;;GAOG;AACH,wBAAgB,wBAAwB,CAAC,IAAI,EAAE,yBAAyB,GAAG,kBAAkB,CAoC5F;AAED,6CAA6C;AAC7C,MAAM,WAAW,oBAAoB;IACnC,IAAI,EAAE,CAAC,KAAK,EAAE,cAAc,KAAK,IAAI,CAAA;IACrC,kFAAkF;IAClF,MAAM,CAAC,EAAE,WAAW,GAAG,SAAS,CAAA;IAChC,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;CACjC;AAED,6DAA6D;AAC7D,MAAM,WAAW,aAAc,SAAQ,kBAAkB;IACvD,uFAAuF;IACvF,WAAW,EAAE,WAAW,CAAA;IACxB,mFAAmF;IACnF,gBAAgB,EAAE,eAAe,CAAA;CAClC;AAED;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,oBAAoB,GAAG,aAAa,CAK7E;AAED,uCAAuC;AACvC,MAAM,WAAW,iBAAiB;IAChC,6CAA6C;IAC7C,GAAG,EAAE,OAAO,CAAA;IACZ,uEAAuE;IACvE,MAAM,CAAC,EAAE,WAAW,GAAG,SAAS,CAAA;IAChC,8FAA8F;IAC9F,gBAAgB,EAAE,eAAe,CAAA;CAClC;AAED;;;;GAIG;AACH,wBAAgB,aAAa,CAAC,IAAI,EAAE,iBAAiB,GAAG;IAAE,OAAO,EAAE,OAAO,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAAE,CAK3F"}
|