@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
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* A replayable, multi-consumer stream of events: buffer every event, hand out live async
|
|
3
|
-
* iterators, and replay history from an offset (tail=N replay).
|
|
4
|
-
*
|
|
5
|
-
* Absorbed from `@gemstack/ai-autopilot` when that package was deleted (A2). Its element type
|
|
6
|
-
* used to default to the supervisor's event; the only caller here passes `FrameworkEvent`, so
|
|
7
|
-
* the parameter is now required.
|
|
8
|
-
*/
|
|
9
|
-
export declare class EventStream<E> {
|
|
10
|
-
private readonly buffer;
|
|
11
|
-
private readonly waiters;
|
|
12
|
-
private closed;
|
|
13
|
-
/** Append an event. Wire this in as an `onEvent` sink. Ignored once closed. */
|
|
14
|
-
readonly push: (event: E) => void;
|
|
15
|
-
/** Alias for {@link push}, reads well at the `onEvent:` call site. */
|
|
16
|
-
get sink(): (event: E) => void;
|
|
17
|
-
/** Events buffered so far, from `fromOffset` (default 0) — Flue-style tail replay. */
|
|
18
|
-
history(fromOffset?: number): E[];
|
|
19
|
-
/** Number of events buffered. */
|
|
20
|
-
get length(): number;
|
|
21
|
-
/** True once {@link close} has run. */
|
|
22
|
-
get isClosed(): boolean;
|
|
23
|
-
/** End the stream: live iterators drain their backlog, then finish. Idempotent. */
|
|
24
|
-
close(): void;
|
|
25
|
-
/**
|
|
26
|
-
* A fresh async iterator that replays every buffered event, then yields new
|
|
27
|
-
* ones as they arrive, and finishes once the stream is closed and drained.
|
|
28
|
-
* Independent iterators each keep their own cursor, so late consumers still
|
|
29
|
-
* see the full history.
|
|
30
|
-
*/
|
|
31
|
-
[Symbol.asyncIterator](): AsyncIterableIterator<E>;
|
|
32
|
-
}
|
|
@@ -1,235 +0,0 @@
|
|
|
1
|
-
import type { DriverEvent } from 'agent-driver';
|
|
2
|
-
/** One selectable option in an interactive {@link ChoiceRequest} (#304). */
|
|
3
|
-
export interface ChoiceOption {
|
|
4
|
-
/** Stable id posted back when this option is picked. */
|
|
5
|
-
id: string;
|
|
6
|
-
/** The option shown to the user. */
|
|
7
|
-
label: string;
|
|
8
|
-
/** Optional one-line detail under the label (e.g. why an alternative lost). */
|
|
9
|
-
detail?: string;
|
|
10
|
-
/** In a multi-select ({@link ChoiceRequest.multi}), whether this option starts checked. Ignored for single-select. */
|
|
11
|
-
default?: boolean;
|
|
12
|
-
}
|
|
13
|
-
/**
|
|
14
|
-
* An interactive choice the agent pauses on until a pick arrives (#304). Emitted as
|
|
15
|
-
* a `choice` {@link FrameworkEvent}; the dashboard renders it in a panel and posts
|
|
16
|
-
* the pick back. The recommended option is what an agent nobody is watching takes.
|
|
17
|
-
*/
|
|
18
|
-
export interface ChoiceRequest {
|
|
19
|
-
/** Unique id for this pending choice; the pick is posted back against it. */
|
|
20
|
-
id: string;
|
|
21
|
-
/** The question shown above the options (e.g. "Approve this plan?"). */
|
|
22
|
-
title: string;
|
|
23
|
-
/** The options to choose between (at least one). */
|
|
24
|
-
options: readonly ChoiceOption[];
|
|
25
|
-
/**
|
|
26
|
-
* The option id pre-selected as the default (taken when nobody is watching). Required
|
|
27
|
-
* for a single-select; omitted for a {@link multi} select, where each option's own
|
|
28
|
-
* {@link ChoiceOption.default} drives the pre-checked set instead.
|
|
29
|
-
*/
|
|
30
|
-
recommended?: string;
|
|
31
|
-
/**
|
|
32
|
-
* Render as a multi-select checklist (#332): each option is a checkbox pre-checked
|
|
33
|
-
* per its {@link ChoiceOption.default}, and the pick resolves to the selected
|
|
34
|
-
* *subset* of ids rather than one. Absent = the single-select gate (#304).
|
|
35
|
-
*/
|
|
36
|
-
multi?: boolean;
|
|
37
|
-
/** The markdown file under approval (e.g. `PLAN_<slug>.agent.md`); the doc sidebar renders it. */
|
|
38
|
-
file?: string;
|
|
39
|
-
}
|
|
40
|
-
/** Who resolved a {@link ChoiceRequest}: a human, or a headless auto-accept. */
|
|
41
|
-
export type ChoiceBy = 'user' | 'auto';
|
|
42
|
-
/** What a {@link import('./agent.js').RunFrameworkOptions.requestChoice} handler resolves with. */
|
|
43
|
-
export interface ChoicePick {
|
|
44
|
-
/** The picked option id, or (for a {@link ChoiceRequest.multi} select) the selected subset of ids. */
|
|
45
|
-
picked: string | readonly string[];
|
|
46
|
-
/** Who picked it. Default `'user'`. */
|
|
47
|
-
by?: ChoiceBy;
|
|
48
|
-
}
|
|
49
|
-
/** Normalize a {@link ChoicePick} (single id or subset) to a list of picked ids. */
|
|
50
|
-
export declare function pickedIds(picked: string | readonly string[]): string[];
|
|
51
|
-
/**
|
|
52
|
-
* The single type a run's timeline is read as. The framework emits none of these itself (#1774):
|
|
53
|
-
* a run's tool writes the run's diary, and every line of it is read as one of these so the
|
|
54
|
-
* dashboard and the terminal render one timeline whatever wrote it.
|
|
55
|
-
*
|
|
56
|
-
* What a diary yields today is the agent's own progress (`driver`), the session id it reports
|
|
57
|
-
* (`session-update`), the question a turn ended on (`choice`), what it cost (`usage`) and how it
|
|
58
|
-
* ended (`end`). **The rest of this union is a reading vocabulary for runs recorded before the
|
|
59
|
-
* daemon stopped running agents** — the framework's own narration back then. They are kept
|
|
60
|
-
* because that history is still on the data branch and still has to render.
|
|
61
|
-
*
|
|
62
|
-
* Every event read from a diary line that says when it was written carries that time as `at`
|
|
63
|
-
* (ISO 8601), so the timeline shows the same times live, after a reload, and once the run has
|
|
64
|
-
* ended. Lines written before the diary kept times have none, and show none.
|
|
65
|
-
*/
|
|
66
|
-
export type FrameworkEvent = {
|
|
67
|
-
at?: string;
|
|
68
|
-
} & (
|
|
69
|
-
/**
|
|
70
|
-
* Emitted once at start: which agent is wrapped, the workspace, and a link. `model` is the
|
|
71
|
-
* model id the driver was started with (#1438), recorded per leg — a continuation (#762) emits
|
|
72
|
-
* its own `session` event and may run a different model, so readers fold the latest rather
|
|
73
|
-
* than pinning the first. Absent when the agent left the agent on its own default.
|
|
74
|
-
*/
|
|
75
|
-
{
|
|
76
|
-
kind: 'session';
|
|
77
|
-
driver: string;
|
|
78
|
-
workspace: string;
|
|
79
|
-
fake: boolean;
|
|
80
|
-
sessionLink?: string;
|
|
81
|
-
model?: string;
|
|
82
|
-
}
|
|
83
|
-
/**
|
|
84
|
-
* Emitted once the wrapped agent reports its real session id (not known at
|
|
85
|
-
* start). Carries the live id and, when a link template was supplied, the
|
|
86
|
-
* resolved URL to jump into that session (#165). Re-emitted if the id changes
|
|
87
|
-
* (each Claude Code prompt is a fresh session), keeping the link current.
|
|
88
|
-
*/
|
|
89
|
-
| {
|
|
90
|
-
kind: 'session-update';
|
|
91
|
-
sessionId: string;
|
|
92
|
-
sessionLink?: string;
|
|
93
|
-
}
|
|
94
|
-
/** What this session was asked for, emitted once as it opens (#211). */
|
|
95
|
-
| {
|
|
96
|
-
kind: 'intent';
|
|
97
|
-
text: string;
|
|
98
|
-
}
|
|
99
|
-
/** The wrapped agent's own progress, forwarded verbatim (never gated on). */
|
|
100
|
-
| {
|
|
101
|
-
kind: 'driver';
|
|
102
|
-
event: DriverEvent;
|
|
103
|
-
}
|
|
104
|
-
/**
|
|
105
|
-
* A live screen something the agent ran is showing: a page on this machine's loopback, shown in
|
|
106
|
-
* the chat where the line is, while it is the newest open screen at that address and the run
|
|
107
|
-
* has not ended. `label` names what it showed then. The same address with `ended` says the
|
|
108
|
-
* screen has gone. A diary line a command appends itself (agent-driver's `DIARY_ENV`); the
|
|
109
|
-
* framework knows nothing of what the page is.
|
|
110
|
-
*/
|
|
111
|
-
| {
|
|
112
|
-
kind: 'screen';
|
|
113
|
-
url: string;
|
|
114
|
-
label: string;
|
|
115
|
-
ended?: true;
|
|
116
|
-
}
|
|
117
|
-
/** A framework-level log line. */
|
|
118
|
-
| {
|
|
119
|
-
kind: 'log';
|
|
120
|
-
message: string;
|
|
121
|
-
}
|
|
122
|
-
/**
|
|
123
|
-
* Something went wrong that only the user can fix (#1500), reported by the agent itself
|
|
124
|
-
* through an `error` block rather than left in prose the reader has to notice. The headline
|
|
125
|
-
* is the first line, the detail is the rest.
|
|
126
|
-
*
|
|
127
|
-
* An event, not a status: it says what happened at this point in the run and stays in the log
|
|
128
|
-
* as history — nothing clears it, because nothing can un-happen it. The project-level errors a
|
|
129
|
-
* background job finds between runs are the other half (project-errors.ts): those are
|
|
130
|
-
* conditions that are true *now*, and clear themselves when the condition is gone.
|
|
131
|
-
*/
|
|
132
|
-
| {
|
|
133
|
-
kind: 'error';
|
|
134
|
-
headline: string;
|
|
135
|
-
detail?: string;
|
|
136
|
-
}
|
|
137
|
-
/**
|
|
138
|
-
* An ad-hoc markdown view the agent pushed to show the user (#441), e.g. a plan,
|
|
139
|
-
* a summary, or a diff writeup. Non-blocking (unlike a `choice`): the dashboard
|
|
140
|
-
* renders it as a view in the right rail. `id` is stable per title, so re-showing
|
|
141
|
-
* the same view updates it in place rather than stacking a duplicate.
|
|
142
|
-
*/
|
|
143
|
-
| {
|
|
144
|
-
kind: 'view';
|
|
145
|
-
id: string;
|
|
146
|
-
title: string;
|
|
147
|
-
markdown: string;
|
|
148
|
-
}
|
|
149
|
-
/**
|
|
150
|
-
* The pull request this session's work is on (E6), the moment one is opened for it.
|
|
151
|
-
*
|
|
152
|
-
* An event for the same reason `branch` is: only an event reaches the agent's meta,
|
|
153
|
-
* and the meta is what every later surface reads. Before this, each of them re-resolved the PR
|
|
154
|
-
* live from the branch — trying the recorded branch, then the session-name branch, then the
|
|
155
|
-
* run-id branch, and filtering the results by whether the PR predated the session — which is a
|
|
156
|
-
* three-way guess plus a timestamp heuristic standing in for one integer nobody had written down.
|
|
157
|
-
*/
|
|
158
|
-
| {
|
|
159
|
-
kind: 'pull-request';
|
|
160
|
-
number: number;
|
|
161
|
-
url: string;
|
|
162
|
-
}
|
|
163
|
-
/**
|
|
164
|
-
* The branch the agent's work is on (#1277), observed off the checkout rather than guessed:
|
|
165
|
-
* emitted at start with the branch the agent actually begins on, and again whenever a later
|
|
166
|
-
* read finds it changed — the agent renames its branch itself, through `branches name`
|
|
167
|
-
* (#1725). Folded to `AgentMeta.branch`, which every surface resolves first — before this event the
|
|
168
|
-
* branch was stamped only at teardown (#799), so any read before that guessed between three
|
|
169
|
-
* naming schemes.
|
|
170
|
-
*/
|
|
171
|
-
| {
|
|
172
|
-
kind: 'branch';
|
|
173
|
-
branch: string;
|
|
174
|
-
}
|
|
175
|
-
/**
|
|
176
|
-
* The hand-off anchor a cloud run pushed for its session to clone at (#1601): an empty commit
|
|
177
|
-
* unique to this run, so the branch the session actually works on — a `claude/*` name of the
|
|
178
|
-
* cloud's own choosing, never the designated run branch — is recognizable later by plain
|
|
179
|
-
* ancestry. Folded to `AgentMeta.cloudAnchor`, which the daemon's adoption pass matches
|
|
180
|
-
* against origin's `claude/*` heads once the session has pushed its work.
|
|
181
|
-
*/
|
|
182
|
-
| {
|
|
183
|
-
kind: 'cloud-anchor';
|
|
184
|
-
sha: string;
|
|
185
|
-
}
|
|
186
|
-
/**
|
|
187
|
-
* The work has settled and the agent is parked on the user (#785): it stays open as a
|
|
188
|
-
* conversation (#714), so its process is still alive and it still takes messages, but
|
|
189
|
-
* the agent is not doing anything until you say something.
|
|
190
|
-
*
|
|
191
|
-
* Emitted each time the agent parks, and undone by the next `driver` `start` — so "is it
|
|
192
|
-
* working or waiting for me" is answerable from the event log rather than inferred from
|
|
193
|
-
* a status that only changes when the agent ends.
|
|
194
|
-
*/
|
|
195
|
-
| {
|
|
196
|
-
kind: 'settled';
|
|
197
|
-
}
|
|
198
|
-
/**
|
|
199
|
-
* The price of one turn in USD (#322): the run's record keeps a cost line per turn the
|
|
200
|
-
* coding agent priced, and no token counts, so a turn without a price has no usage event
|
|
201
|
-
* (#540). The dashboard adds them up into its spend readout. Nothing gates on it: an
|
|
202
|
-
* agent already running is never cut short over spending, and the account's quota
|
|
203
|
-
* decides what may *start* instead.
|
|
204
|
-
*/
|
|
205
|
-
| {
|
|
206
|
-
kind: 'usage';
|
|
207
|
-
costUsd: number;
|
|
208
|
-
}
|
|
209
|
-
/**
|
|
210
|
-
* The agent paused on an interactive choice (#304) and is awaiting a pick. The
|
|
211
|
-
* dashboard renders the options with the recommended default pre-selected and
|
|
212
|
-
* posts the pick back; a headless agent auto-accepts the recommended option.
|
|
213
|
-
*/
|
|
214
|
-
| ({
|
|
215
|
-
kind: 'choice';
|
|
216
|
-
} & ChoiceRequest)
|
|
217
|
-
/** A pending {@link ChoiceRequest} was resolved — the agent continues on `picked` (one id, or the selected subset). */
|
|
218
|
-
| {
|
|
219
|
-
kind: 'choice-resolved';
|
|
220
|
-
id: string;
|
|
221
|
-
picked: string | readonly string[];
|
|
222
|
-
by: ChoiceBy;
|
|
223
|
-
}
|
|
224
|
-
/**
|
|
225
|
-
* The agent finished. `ok` is false when it threw. `stopped` marks the common,
|
|
226
|
-
* non-error case where the user interrupted it (the dashboard Stop button /
|
|
227
|
-
* Ctrl+C), so a surface can show "stopped" rather than "failed".
|
|
228
|
-
*/
|
|
229
|
-
| {
|
|
230
|
-
kind: 'end';
|
|
231
|
-
ok: boolean;
|
|
232
|
-
stopped?: boolean;
|
|
233
|
-
waiting?: boolean;
|
|
234
|
-
detail?: string;
|
|
235
|
-
});
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* The directory, under a project root, that holds The Framework's own files.
|
|
3
|
-
*
|
|
4
|
-
* Its own module so every reader and writer of the directory (the hooks file, the project's saved
|
|
5
|
-
* prompts, the activation's `.gitignore`, a run's card, diary and inbox) spells it the same way.
|
|
6
|
-
*
|
|
7
|
-
* Nothing of the product's rides on a branch of its own any more: the agent archives are the
|
|
8
|
-
* `logs` skill's runs, on the shared `agent-data` branch that `@gemstack/agent-data` names (#1769).
|
|
9
|
-
*/
|
|
10
|
-
export declare const THE_FRAMEWORK_DIR = ".the-framework";
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* The `.the-framework/.gitignore` (#313): one file, one content, written at install.
|
|
3
|
-
*
|
|
4
|
-
* Everything under `.the-framework/` is this machine's or transient: a run's live files, the
|
|
5
|
-
* hooks file. The lasting records (the runs, the `logs` skill's) live on the data branch
|
|
6
|
-
* (#1582/#1769), so nothing but this file is tracked: main is 100% code.
|
|
7
|
-
*/
|
|
8
|
-
/** The `.gitignore` path under `cwd`'s `.the-framework/`. */
|
|
9
|
-
export declare function gitignorePath(cwd: string): string;
|
|
10
|
-
/** The whole file: everything under `.the-framework/` stays out of git (#1582). */
|
|
11
|
-
export declare function frameworkGitignore(): string;
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* The types the dashboard reads the daemon's answers as.
|
|
3
|
-
*
|
|
4
|
-
* Not a library API: nothing imports this package by name, and the browser gets its *values* from
|
|
5
|
-
* `client.ts` (the node-free entry) and its data over `POST /_rpc/<name>`. What is left here is the
|
|
6
|
-
* vocabulary of those answers — one import site for a browser file that would otherwise reach into
|
|
7
|
-
* two dozen modules to name what an RPC returns.
|
|
8
|
-
*
|
|
9
|
-
* Type-only on purpose. A value re-exported here would pull the module that defines it into the
|
|
10
|
-
* browser bundle, which is the failure `client.ts` exists to prevent; `export type` erases at build.
|
|
11
|
-
*
|
|
12
|
-
* Every name below is imported by a file under `dashboard/`. That is the whole rule: this file
|
|
13
|
-
* ends where its consumers end, so a name nothing renders cannot quietly live on in it.
|
|
14
|
-
*/
|
|
15
|
-
export type { AgentError, SessionInfo } from './agent-view.js';
|
|
16
|
-
export type { ChoiceRequest, FrameworkEvent } from './events.js';
|
|
17
|
-
export type { QuotaBoundaryStatus } from './quota-boundary.js';
|
|
18
|
-
export type { CustomPreset, Preferences } from './registry.js';
|
|
19
|
-
export type { DriverQuotaWindow } from 'agent-driver';
|
|
20
|
-
export type { AgentMeta, AgentStatus } from './store/agent-store.js';
|
|
21
|
-
export type { Activity } from './dashboard/activity.js';
|
|
22
|
-
export type { AgentHandoff } from './dashboard/agent-handoff.js';
|
|
23
|
-
export type { GitHostHome } from './store/git-host.js';
|
|
24
|
-
export type { BridgeEvent } from './dashboard/bridge-endpoints.js';
|
|
25
|
-
export type { BridgeOption, BridgeQuestion } from './dashboard/bridge-question.js';
|
|
26
|
-
export type { BridgeAnswer } from './dashboard/bridge-store.js';
|
|
27
|
-
export type { DashboardData } from './dashboard/dashboard.js';
|
|
28
|
-
export type { WorkspaceDoc } from './dashboard/docs.js';
|
|
29
|
-
export type { FileChange, FileDiff } from './dashboard/file-diff.js';
|
|
30
|
-
export type { FileContent } from './dashboard/file-read.js';
|
|
31
|
-
export type { AgentTree, FileMark } from './dashboard/agent-tree.js';
|
|
32
|
-
export type { GitStatus } from './dashboard/git-status.js';
|
|
33
|
-
export type { Intervention } from './dashboard/interventions.js';
|
|
34
|
-
export type { OpenQuestion } from './dashboard/open-questions.js';
|
|
35
|
-
export type { ActiveAgent, Overview, RecentAgent } from './dashboard/overview.js';
|
|
36
|
-
export type { ProjectSummary, ProjectionRead } from './dashboard/projects.js';
|
|
37
|
-
export type { ProjectError, ProjectErrorCode } from './project-errors.js';
|
|
38
|
-
export type { ProjectQueue } from './dashboard/queue.js';
|
|
39
|
-
export type { ProjectScheduler, SchedulerCommand, SchedulerDecision, SchedulerState, SchedulerTick } from './dashboard/scheduler-state.js';
|
|
40
|
-
export type { QuotaView } from './dashboard/quota.js';
|
|
41
|
-
export type { Ticket } from './store/tickets.js';
|
|
42
|
-
export type { AgentWorktree, OnboardingSuggestion } from './dashboard/types.js';
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Tails an append-only JSONL log, calling `onLine` for each complete line as it
|
|
3
|
-
* is written. Reads only the bytes appended since the last {@link pull},
|
|
4
|
-
* buffering a torn trailing line until its newline arrives. A file that shrinks
|
|
5
|
-
* (a fresh agent truncated the log) resets to the start so the new content is
|
|
6
|
-
* picked up. The generic base behind the daemon's event tail and the agent's
|
|
7
|
-
* control tail (#344) — one tailer, two directions.
|
|
8
|
-
*/
|
|
9
|
-
export declare class JsonlTailer<T> {
|
|
10
|
-
private path;
|
|
11
|
-
private readonly onLine;
|
|
12
|
-
private offset;
|
|
13
|
-
private partial;
|
|
14
|
-
private lastMtimeMs;
|
|
15
|
-
private adoptMtime;
|
|
16
|
-
constructor(path: string, onLine: (value: T) => void);
|
|
17
|
-
/**
|
|
18
|
-
* Point the tailer at the log's new home, keeping the read offset. For a log that is
|
|
19
|
-
* *relocated with its content intact* — a run's diary is copied verbatim onto the data branch
|
|
20
|
-
* when the run ends and its checkout is reclaimed — the bytes already consumed are a prefix of
|
|
21
|
-
* the new file, so the next {@link pull} delivers exactly the lines the move would otherwise
|
|
22
|
-
* have swallowed, without replaying what was already delivered.
|
|
23
|
-
*
|
|
24
|
-
* The first pull after a retarget adopts the new home's mtime instead of running the
|
|
25
|
-
* same-length-rewrite check: the copy is younger than the original by construction, and a
|
|
26
|
-
* fully-consumed log would otherwise read as "rewritten to the same length" and replay
|
|
27
|
-
* every line it already delivered.
|
|
28
|
-
*/
|
|
29
|
-
retarget(path: string): void;
|
|
30
|
-
/** Read and dispatch any lines appended since the previous call. */
|
|
31
|
-
pull(): Promise<void>;
|
|
32
|
-
}
|
|
33
|
-
/** Options for {@link followFile}. */
|
|
34
|
-
export interface FollowFileOptions {
|
|
35
|
-
/** How often the backstop poll runs. */
|
|
36
|
-
pollMs: number;
|
|
37
|
-
/**
|
|
38
|
-
* Let the process exit with the tail still running (steering must never hold it open).
|
|
39
|
-
* Covers both handles this opens — the poll timer *and* the `fs.watch` — since either one
|
|
40
|
-
* on its own is enough to keep the event loop alive.
|
|
41
|
-
*/
|
|
42
|
-
unref?: boolean;
|
|
43
|
-
}
|
|
44
|
-
/**
|
|
45
|
-
* Drive a {@link JsonlTailer} as the file grows: an `fs.watch` on `dir` for latency, plus a
|
|
46
|
-
* poll backstop because `fs.watch` is unreliable across platforms. Pulls are serialized (a
|
|
47
|
-
* pull already in flight swallows the next trigger) and stop for good once the returned
|
|
48
|
-
* function is called. Shared by the agent's control tail and the dashboard's event tail, which
|
|
49
|
-
* hand-rolled this separately and drifted apart.
|
|
50
|
-
*
|
|
51
|
-
* Nothing here may throw at the process: a failed pull and a watcher error are both survivable,
|
|
52
|
-
* and the poll alone is a complete tail (#996).
|
|
53
|
-
*/
|
|
54
|
-
export declare function followFile(dir: string, pull: () => Promise<void>, opts: FollowFileOptions): () => void;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Loopback-address helpers, shared by the daemon (deciding whether a bind gates behind the
|
|
3
|
-
* token, #1051) and the RPC mount (rejecting a rebound `Host`). A leaf module on purpose:
|
|
4
|
-
* `daemon.ts` imports the dashboard, so the mount cannot import these back out of it.
|
|
5
|
-
*/
|
|
6
|
-
/**
|
|
7
|
-
* True when `host` is a loopback address the browser reaches without leaving the machine (#1051).
|
|
8
|
-
* A bind-all (`0.0.0.0`, `::`) or a routable address is not, and gates behind the shared token.
|
|
9
|
-
*
|
|
10
|
-
* The IPv4 check matches the whole `127.0.0.0/8` range but only as an address: a bare
|
|
11
|
-
* `startsWith('127.')` also accepts a *registrable name* like `127.evil.com`, which is exactly the
|
|
12
|
-
* rebound `Host` the DNS-rebinding guard exists to reject (it can resolve to `127.0.0.1`).
|
|
13
|
-
*/
|
|
14
|
-
export declare function isLoopbackHost(host: string): boolean;
|
|
15
|
-
/**
|
|
16
|
-
* The hostname a `Host` header names, with the port dropped. Keeps the bracketed IPv6 form
|
|
17
|
-
* (`[::1]:4200` → `[::1]`), which splitting on the first colon would mangle.
|
|
18
|
-
*/
|
|
19
|
-
export declare function hostnameFromHostHeader(header: string): string;
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* The one `node:fs/promises` adapter. Every `node*Fs()` factory in the package
|
|
3
|
-
* returns this under its own narrow type: the store may append, the registry may
|
|
4
|
-
* not, and those interfaces stay separate because they are the consumers'
|
|
5
|
-
* contracts. Only the implementation was worth sharing, and it was written out
|
|
6
|
-
* four times before this.
|
|
7
|
-
*
|
|
8
|
-
* Every import is dynamic, which is the whole point of the convention: a module
|
|
9
|
-
* that reads files keeps a `node:fs` edge out of its static import graph, so it
|
|
10
|
-
* can be reached from browser-safe code as long as the read itself never runs
|
|
11
|
-
* there. `client.test.ts` enforces the graph half.
|
|
12
|
-
*/
|
|
13
|
-
export interface NodeFs {
|
|
14
|
-
/** Rejects when the file is absent. */
|
|
15
|
-
read(path: string): Promise<string>;
|
|
16
|
-
write(path: string, contents: string): Promise<void>;
|
|
17
|
-
append(path: string, contents: string): Promise<void>;
|
|
18
|
-
/** True when `path` exists AND is a file. Any stat error reads as `false`. */
|
|
19
|
-
exists(path: string): Promise<boolean>;
|
|
20
|
-
/** True when `path` exists AND is a directory. Any stat error reads as `false`. */
|
|
21
|
-
isDirectory(path: string): Promise<boolean>;
|
|
22
|
-
/** Recursive. */
|
|
23
|
-
mkdir(path: string): Promise<void>;
|
|
24
|
-
/** List a directory's entries (names only). Missing dir yields `[]`. */
|
|
25
|
-
readdir(path: string): Promise<string[]>;
|
|
26
|
-
/** Replace `to` with `from`. Atomic within one filesystem, which is the point of having it. */
|
|
27
|
-
rename(from: string, to: string): Promise<void>;
|
|
28
|
-
/** Set a file's permission bits. Rejects when the path is absent, or the fs cannot express them. */
|
|
29
|
-
chmod(path: string, mode: number): Promise<void>;
|
|
30
|
-
}
|
|
31
|
-
/** The `node:fs/promises` implementation of {@link NodeFs}. */
|
|
32
|
-
export declare function nodeFs(): NodeFs;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import type { ChoiceRequest, FrameworkEvent } from './events.js';
|
|
2
|
-
/**
|
|
3
|
-
* Every question a run still waits on, in the order asked, read off the run's events. One rule
|
|
4
|
-
* for every surface that offers an answer (the run page, the open-questions list, the write
|
|
5
|
-
* that delivers the answer), so none offers what another would refuse.
|
|
6
|
-
*
|
|
7
|
-
* A `choice` event opens a question; asked again under the same id, the later one replaces it.
|
|
8
|
-
* It closes when the agent goes on (any later event of the agent's own: the answer, or the
|
|
9
|
-
* person's text, began a new turn), when a `choice-resolved` names it, and when the run ends
|
|
10
|
-
* for good. An end that says `waiting` closes nothing: the run ended ON the question, its
|
|
11
|
-
* checkout kept, and the answer resumes it. A run that died holding a question ends otherwise,
|
|
12
|
-
* and its question goes with it (#1359): nobody would read the pick.
|
|
13
|
-
*/
|
|
14
|
-
export declare function pendingChoices(events: readonly FrameworkEvent[]): ChoiceRequest[];
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* The system folder picker behind the dashboard's "Add project" (#1150): the daemon opens the
|
|
3
|
-
* OS's own choose-a-folder dialog and hands the picked absolute path back, because a browser page
|
|
4
|
-
* cannot learn the absolute path of anything the user picks in it.
|
|
5
|
-
*/
|
|
6
|
-
/** The outcome of asking the OS for a folder: a path, a dismissed dialog (`path: null`), or why the dialog could not be asked. */
|
|
7
|
-
export type PickDirectoryResult = {
|
|
8
|
-
ok: true;
|
|
9
|
-
path: string | null;
|
|
10
|
-
} | {
|
|
11
|
-
ok: false;
|
|
12
|
-
error: string;
|
|
13
|
-
};
|
|
14
|
-
/** What a dialog command left behind when it exited. */
|
|
15
|
-
export type DialogRun = {
|
|
16
|
-
code: number;
|
|
17
|
-
stdout: string;
|
|
18
|
-
stderr: string;
|
|
19
|
-
};
|
|
20
|
-
/** Injectable seam so tests never open a real dialog. */
|
|
21
|
-
export type DialogRunner = (command: string, args: string[]) => Promise<DialogRun>;
|
|
22
|
-
/**
|
|
23
|
-
* Open the OS folder picker and wait for the user's choice.
|
|
24
|
-
*
|
|
25
|
-
* Dismissing the dialog is a normal outcome (`path: null`), not an error. A Linux daemon with no
|
|
26
|
-
* desktop session to draw on, a Linux machine with neither dialog helper installed, and a platform
|
|
27
|
-
* with no dialog wired up each answer with that reason instead of trying.
|
|
28
|
-
*/
|
|
29
|
-
export declare function pickDirectory(platform?: NodeJS.Platform, run?: DialogRunner, env?: NodeJS.ProcessEnv): Promise<PickDirectoryResult>;
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
import type { Preferences } from './registry.js';
|
|
2
|
-
/**
|
|
3
|
-
* What an unset preference means, and the bounds the controls that write them share.
|
|
4
|
-
*
|
|
5
|
-
* A leaf module (no `node:*`) so `client.ts` can export it and the dashboard reads the same values
|
|
6
|
-
* the daemon acts on.
|
|
7
|
-
*
|
|
8
|
-
* No cycle: `registry.ts` re-exports the bounds from here, and the `Preferences` import going the
|
|
9
|
-
* other way is type-only, so it erases.
|
|
10
|
-
*/
|
|
11
|
-
/**
|
|
12
|
-
* Notifications have two axes (B5): `notifyBrowser` says whether they reach you in the browser at
|
|
13
|
-
* all, and `notifyHumanIntervention` / `notifyNewActivity` say *what* they are about. A category
|
|
14
|
-
* delivers only while the browser switch is on too.
|
|
15
|
-
*/
|
|
16
|
-
/** What a notification is about. */
|
|
17
|
-
export type NotifyCategory = 'humanIntervention' | 'newActivity';
|
|
18
|
-
/**
|
|
19
|
-
* What each switch means when nobody has said.
|
|
20
|
-
*
|
|
21
|
-
* The polarities are not uniform, and that is the point of writing them down once: browser
|
|
22
|
-
* delivery and the "needs you" category fire unless you turn them off, while plain activity is
|
|
23
|
-
* opt-in.
|
|
24
|
-
*/
|
|
25
|
-
export declare const NOTIFICATION_DEFAULTS: {
|
|
26
|
-
readonly browser: true;
|
|
27
|
-
readonly categories: {
|
|
28
|
-
readonly humanIntervention: true;
|
|
29
|
-
readonly newActivity: false;
|
|
30
|
-
};
|
|
31
|
-
};
|
|
32
|
-
/** Whether browser delivery is switched on, with its default applied. */
|
|
33
|
-
export declare function browserNotifyEnabled(preferences: Preferences): boolean;
|
|
34
|
-
/** Whether a category is switched on, with its default applied. */
|
|
35
|
-
export declare function notifyCategoryEnabled(preferences: Preferences, category: NotifyCategory): boolean;
|
|
36
|
-
/** Whether a category delivers: both browser delivery and the category have to be on. */
|
|
37
|
-
export declare function notifies(preferences: Preferences, category: NotifyCategory): boolean;
|
|
38
|
-
/**
|
|
39
|
-
* How far either way the automatic-consumption slider reaches, in percentage points (#960).
|
|
40
|
-
*
|
|
41
|
-
* Here because the browser clamps to it, in the usage panel's slider and in Settings, and the
|
|
42
|
-
* daemon's quota source falls back to the default below: one number both sides import.
|
|
43
|
-
*/
|
|
44
|
-
export declare const MAX_SPEND_OFFSET = 50;
|
|
45
|
-
/**
|
|
46
|
-
* Where the slider sits before anyone has touched it, in percentage points (#960 Edit): half a
|
|
47
|
-
* day's worth of the week's allowance, ahead of the boundary.
|
|
48
|
-
*
|
|
49
|
-
* Landing exactly on the boundary reads as generous on paper but stops unattended work the moment
|
|
50
|
-
* the account is precisely on pace, which is normal jitter rather than overspending. A half-day
|
|
51
|
-
* cushion gives it room to breathe without meaningfully loosening the spend-boundary policy (#879).
|
|
52
|
-
*/
|
|
53
|
-
export declare const DEFAULT_SPEND_OFFSET: number;
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* A project's commands (#1774): the skills written to be run by a person, read off the folders
|
|
3
|
-
* the coding agents read them from. The framework ships no prompt text; what a project can be
|
|
4
|
-
* asked to do is what its own command skills say. A skill that teaches the agent how to do
|
|
5
|
-
* something (the tickets, the queue) is not a command: typed alone it starts an agent with
|
|
6
|
-
* nothing to do, so the launcher does not list it.
|
|
7
|
-
*/
|
|
8
|
-
/** Where coding agents read a project's skills: Claude Code's folder, and the shared one Codex reads. */
|
|
9
|
-
export declare const SKILLS_DIRS: readonly ['.claude/skills', '.agents/skills'];
|
|
10
|
-
/** One skill as the launcher shows it. */
|
|
11
|
-
export interface ProjectCommand {
|
|
12
|
-
/** What is typed after the slash: the skill's folder name. */
|
|
13
|
-
name: string;
|
|
14
|
-
/** The `description` of the skill's front matter, when it has one. */
|
|
15
|
-
description?: string;
|
|
16
|
-
}
|
|
17
|
-
/**
|
|
18
|
-
* The project's commands, by name: the skills whose front matter says
|
|
19
|
-
* `disable-model-invocation: true`, written to be run by a person or a runner and never picked
|
|
20
|
-
* up by the agent on its own. A skill in both folders is listed once. A folder without a
|
|
21
|
-
* readable `SKILL.md` is skipped, and a project with no skills folder has no commands.
|
|
22
|
-
*/
|
|
23
|
-
export declare function readProjectCommands(cwd: string): Promise<ProjectCommand[]>;
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* The daemon's per-project error state (#1500): a background job that finds a project in a state
|
|
3
|
-
* the user has to fix — and can only fix if told — records it here, and clears it the moment the
|
|
4
|
-
* state is good again. The dashboard renders what is recorded; nothing else reads it.
|
|
5
|
-
*
|
|
6
|
-
* The first emitter is the data-branch sync (#1599): a push origin rejects, or a repo with no
|
|
7
|
-
* origin at all, used to be a console line on the daemon's stdout and nothing else, which is the
|
|
8
|
-
* worst way to handle a state nobody can see.
|
|
9
|
-
*
|
|
10
|
-
* In memory on purpose. Every emitter re-evaluates on its own cadence — the sync every minute —
|
|
11
|
-
* so a restarted daemon re-learns each error within a tick, and there is no stale record to
|
|
12
|
-
* outlive the condition that raised it.
|
|
13
|
-
*/
|
|
14
|
-
/**
|
|
15
|
-
* What went wrong, by kind: the dashboard picks its wording from this, the message carries the
|
|
16
|
-
* detail. `data-sync`: the data branch cannot converge with the remote. `provider`: which package
|
|
17
|
-
* provides a kind of the project's data is unsettled (#1820): several declare it and the project's
|
|
18
|
-
* package.json names none, or names one that does not.
|
|
19
|
-
*/
|
|
20
|
-
export type ProjectErrorCode = 'data-sync' | 'provider';
|
|
21
|
-
export interface ProjectError {
|
|
22
|
-
code: ProjectErrorCode;
|
|
23
|
-
/** The detail — what the failing command said, in the words the user would see running it by hand. */
|
|
24
|
-
message: string;
|
|
25
|
-
/** ISO timestamp of when the error was first recorded; a re-report of the same code keeps it. */
|
|
26
|
-
since: string;
|
|
27
|
-
}
|
|
28
|
-
/** The daemon's write side: one slot per (project, code). */
|
|
29
|
-
export interface ProjectErrors {
|
|
30
|
-
/**
|
|
31
|
-
* Record the error. A second report of the same code on the same project refreshes the message
|
|
32
|
-
* and keeps `since`, so a banner says how long this has been going on rather than resetting
|
|
33
|
-
* every minute.
|
|
34
|
-
*/
|
|
35
|
-
set(projectPath: string, code: ProjectErrorCode, message: string): void;
|
|
36
|
-
/** The condition is gone; a clear of something never set is a no-op. */
|
|
37
|
-
clear(projectPath: string, code: ProjectErrorCode): void;
|
|
38
|
-
/** The project's current errors, oldest first. */
|
|
39
|
-
list(projectPath: string): ProjectError[];
|
|
40
|
-
}
|
|
41
|
-
/** The dashboard's read side, wired into its context: what the project currently suffers from. */
|
|
42
|
-
export type ProjectErrorsReader = ProjectErrors['list'];
|
|
43
|
-
export declare function projectErrorStore(now?: () => Date): ProjectErrors;
|