@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/turn-gate.js
DELETED
|
@@ -1,217 +0,0 @@
|
|
|
1
|
-
import { continuationPrompt, parseQuestion } from 'agent-driver';
|
|
2
|
-
import { PROTOCOLS_BROWSER, PROTOCOLS_AWAIT, PROTOCOLS_HANDS_OFF, PROTOCOLS_SIGNAL } from './prompts.generated.js';
|
|
3
|
-
/**
|
|
4
|
-
* The framework-owned "await" protocol (#337 / #339): the *code side* of the
|
|
5
|
-
* `showChoices()` / `showMultiSelect()` + `AWAIT` macros the system prompt delegates. The
|
|
6
|
-
* driver runs each agent turn as a black box to completion (#165), so the only way
|
|
7
|
-
* the framework can learn the agent stopped to ask (rather than deciding for itself)
|
|
8
|
-
* is a signal in the turn's final message. This appends one to the system prompt: it
|
|
9
|
-
* does not restate the macros, it pins *how* to emit an awaited choice so the
|
|
10
|
-
* turn-boundary gate can detect it. Kept minimal and self-contained so it survives the
|
|
11
|
-
* #326 wording still being written. The text lives in `prompts/protocols/await.md` (#551).
|
|
12
|
-
*/
|
|
13
|
-
export const AWAIT_PROTOCOL = PROTOCOLS_AWAIT;
|
|
14
|
-
/**
|
|
15
|
-
* Told to a hands-off agent only (#1225): the session leaves this machine and nothing here sees
|
|
16
|
-
* its workspace, so whatever it produces has to be committed and put in a pull request before it
|
|
17
|
-
* ends. The text lives in `prompts/protocols/hands_off.md`.
|
|
18
|
-
*/
|
|
19
|
-
export const HANDS_OFF_PROTOCOL = PROTOCOLS_HANDS_OFF;
|
|
20
|
-
/**
|
|
21
|
-
* Told to the agent only when the agent has a browser (#824): that it has one, and that anything
|
|
22
|
-
* it needs to see or act on goes through the chrome-devtools tools rather than `WebFetch`.
|
|
23
|
-
* Lives in `prompts/protocols/browser.md`.
|
|
24
|
-
*/
|
|
25
|
-
export const BROWSER_PROTOCOL = PROTOCOLS_BROWSER;
|
|
26
|
-
/**
|
|
27
|
-
* The session-lifecycle protocol (#326): the code side of the `setReadyForMerge()` action the
|
|
28
|
-
* system prompt calls out, plus the pull request and error blocks. Like {@link AWAIT_PROTOCOL},
|
|
29
|
-
* it does not restate *when* to act — the system prompt owns that — it only pins *how* to
|
|
30
|
-
* emit the signal so the turn-boundary can detect it. All are non-blocking: the agent
|
|
31
|
-
* emits the block and keeps going (the framework records it and reflects it in the
|
|
32
|
-
* dashboard). Injected alongside AWAIT_PROTOCOL. The text lives in
|
|
33
|
-
* `prompts/protocols/signal.md` (#551). The session name is not a signal (#1725): the agent
|
|
34
|
-
* names its branch through `branches name`, and the name is read off the branch.
|
|
35
|
-
*/
|
|
36
|
-
export const SIGNAL_PROTOCOL = PROTOCOLS_SIGNAL;
|
|
37
|
-
/**
|
|
38
|
-
* How many times the agent may stop to ask, and be resumed, before an agent stops honoring
|
|
39
|
-
* gates and just finishes. A property of the await protocol, so every path that runs gates
|
|
40
|
-
* shares it: a build and a direct prompt each used to declare their own.
|
|
41
|
-
*/
|
|
42
|
-
export const MAX_AWAIT_ROUNDS = 5;
|
|
43
|
-
// The continuation prompt is agent-driver's: one wording for every caller that resumes an agent
|
|
44
|
-
// after its question was answered.
|
|
45
|
-
export { continuationPrompt };
|
|
46
|
-
/**
|
|
47
|
-
* What a session that cannot simply be ended is told when the user picks a `stop` option (#358,
|
|
48
|
-
* #1554). A local session is never re-prompted with a stopping answer — it just ends — but a
|
|
49
|
-
* cloud session lives on claude.ai where nothing of ours can end it, so the bridge types this
|
|
50
|
-
* instead: the decision, and that the user is taking over from here.
|
|
51
|
-
*/
|
|
52
|
-
export function takeoverPrompt(question, answer) {
|
|
53
|
-
return `You paused to ask: "${question}". The user chose: ${answer}. Stop here: the user is taking over and will come back with fresh instructions.`;
|
|
54
|
-
}
|
|
55
|
-
/**
|
|
56
|
-
* The log line for the other outcome: the user picked a `stop` option, so there is no
|
|
57
|
-
* continuation prompt and the session ends here (#358). Addressed to the user rather than to the
|
|
58
|
-
* agent — the agent is not told anything, which is the point — and it names the answer, because
|
|
59
|
-
* "stopped" on its own reads like a failure when it was a decision.
|
|
60
|
-
*/
|
|
61
|
-
export function stopMessage(answer) {
|
|
62
|
-
return `Stopped at your answer: ${answer}. Awaiting your instructions.`;
|
|
63
|
-
}
|
|
64
|
-
/** Slugify a title into a stable id, or `fallback` when it has no usable characters. */
|
|
65
|
-
function slugify(title, fallback) {
|
|
66
|
-
const slug = title
|
|
67
|
-
.toLowerCase()
|
|
68
|
-
.replace(/[^a-z0-9]+/g, '-')
|
|
69
|
-
.replace(/^-+|-+$/g, '');
|
|
70
|
-
return slug || fallback;
|
|
71
|
-
}
|
|
72
|
-
/**
|
|
73
|
-
* Parse every `show-markdown` block (per {@link AWAIT_PROTOCOL}) out of a turn's text
|
|
74
|
-
* (#441) — a non-blocking view the agent pushed to the side panel, so a turn may carry
|
|
75
|
-
* several and does not stop. Each block's first `# ` line is the title (the rest is the
|
|
76
|
-
* body); a block with no heading falls back to "Note". Blank blocks are skipped, and two
|
|
77
|
-
* blocks that slug to the same id keep the later one (an in-turn update). Never throws.
|
|
78
|
-
*/
|
|
79
|
-
export function parseMarkdownViews(text) {
|
|
80
|
-
const re = /```show-markdown\s+([\s\S]*?)```/g;
|
|
81
|
-
const byId = new Map();
|
|
82
|
-
for (const m of text.matchAll(re)) {
|
|
83
|
-
const body = (m[1] ?? '').trim();
|
|
84
|
-
if (!body)
|
|
85
|
-
continue;
|
|
86
|
-
const lines = body.split('\n');
|
|
87
|
-
const heading = /^#\s+(.+)/.exec(lines[0] ?? '');
|
|
88
|
-
const title = heading ? heading[1].trim() : 'Note';
|
|
89
|
-
const markdown = (heading ? lines.slice(1).join('\n') : body).trim();
|
|
90
|
-
if (!markdown)
|
|
91
|
-
continue;
|
|
92
|
-
const id = slugify(title, 'view');
|
|
93
|
-
byId.set(id, { id, title, markdown });
|
|
94
|
-
}
|
|
95
|
-
return [...byId.values()];
|
|
96
|
-
}
|
|
97
|
-
/**
|
|
98
|
-
* The longest first line still readable as a title (#1618). Past this the agent wrote a
|
|
99
|
-
* paragraph, not a name for its work, and the block is taken as body alone — a pull request
|
|
100
|
-
* whose title runs to a paragraph is a squash-merge subject that runs to a paragraph.
|
|
101
|
-
*/
|
|
102
|
-
const MAX_PR_TITLE = 100;
|
|
103
|
-
/**
|
|
104
|
-
* Parse the pull request the agent asked for this turn (#1567), from the last non-empty
|
|
105
|
-
* `open-pr` block (per {@link SIGNAL_PROTOCOL}). Returns `undefined` when the agent wrote none,
|
|
106
|
-
* which simply leaves the handoff describing the work itself. A later block in the same turn
|
|
107
|
-
* wins, so an agent may revise it as the work changes.
|
|
108
|
-
*
|
|
109
|
-
* The block is how an agent opens a pull request *through the framework* rather than by
|
|
110
|
-
* reaching for `gh` itself: the title and the description are the agent's, and the handoff keeps
|
|
111
|
-
* the parts that have to be consistent — the ticket's issue reference and recording the number
|
|
112
|
-
* on the agent.
|
|
113
|
-
*
|
|
114
|
-
* Shaped like a commit message, and read like one: the first line names the work, the rest
|
|
115
|
-
* describes it. A first line too long to be a name is not treated as one (#1618) — the block is
|
|
116
|
-
* all description then, and the title falls back to the session's name rather than being cut
|
|
117
|
-
* mid-sentence, which is how a raw prompt ended up as a permanent commit subject.
|
|
118
|
-
*/
|
|
119
|
-
export function parsePullRequest(text) {
|
|
120
|
-
let parsed;
|
|
121
|
-
for (const body of blocks(text, 'open-pr')) {
|
|
122
|
-
const trimmed = body.trim();
|
|
123
|
-
if (!trimmed)
|
|
124
|
-
continue;
|
|
125
|
-
const [first = '', ...rest] = trimmed.split('\n');
|
|
126
|
-
const title = first.trim();
|
|
127
|
-
const description = rest.join('\n').trim();
|
|
128
|
-
parsed =
|
|
129
|
-
title.length <= MAX_PR_TITLE
|
|
130
|
-
? { title, ...(description ? { description } : {}) }
|
|
131
|
-
: { description: trimmed };
|
|
132
|
-
}
|
|
133
|
-
return parsed;
|
|
134
|
-
}
|
|
135
|
-
/**
|
|
136
|
-
* Parse the errors the agent reported this turn (#1500), from every non-empty `error` block
|
|
137
|
-
* (per {@link SIGNAL_PROTOCOL}), in the order they were written.
|
|
138
|
-
*
|
|
139
|
-
* Unlike the other signals, every block is kept rather than only the last: two different things
|
|
140
|
-
* going wrong in one turn are two errors, and collapsing them would lose one. Blocks that are
|
|
141
|
-
* empty are skipped — an error with nothing to say is not an error.
|
|
142
|
-
*/
|
|
143
|
-
export function parseErrors(text) {
|
|
144
|
-
const errors = [];
|
|
145
|
-
for (const body of blocks(text, 'error')) {
|
|
146
|
-
const trimmed = body.trim();
|
|
147
|
-
if (!trimmed)
|
|
148
|
-
continue;
|
|
149
|
-
const [first = '', ...rest] = trimmed.split('\n');
|
|
150
|
-
const detail = rest.join('\n').trim();
|
|
151
|
-
errors.push({ headline: first.trim(), ...(detail ? { detail } : {}) });
|
|
152
|
-
}
|
|
153
|
-
return errors;
|
|
154
|
-
}
|
|
155
|
-
/**
|
|
156
|
-
* Whether the agent signalled `setReadyForMerge()` this turn (#326): the presence of a
|
|
157
|
-
* `ready-for-merge` block (per {@link SIGNAL_PROTOCOL}) anywhere in the text. Non-blocking
|
|
158
|
-
* and body-less — it just flips the agent from building to ready-for-review.
|
|
159
|
-
*/
|
|
160
|
-
export function parseReadyForMerge(text) {
|
|
161
|
-
return /```ready-for-merge(?:\s[\s\S]*?)?```/.test(text);
|
|
162
|
-
}
|
|
163
|
-
/** The bodies of every fenced `tag` block in `text`, in the order they appear. */
|
|
164
|
-
function blocks(text, tag) {
|
|
165
|
-
const re = new RegExp('```' + tag + '\\s+([\\s\\S]*?)```', 'g');
|
|
166
|
-
return [...text.matchAll(re)].map(m => m[1] ?? '');
|
|
167
|
-
}
|
|
168
|
-
/**
|
|
169
|
-
* Parse the await gate a turn ended on (#337): agent-driver's question parser, which every driver
|
|
170
|
-
* also reports as a `question` event. Returns `undefined` when the agent just finished.
|
|
171
|
-
*/
|
|
172
|
-
export function parseAwaitGate(text) {
|
|
173
|
-
return parseQuestion(text);
|
|
174
|
-
}
|
|
175
|
-
/**
|
|
176
|
-
* Emit the {@link PROTOCOLS_SIGNAL} signals an agent turn carries: markdown views, the errors it
|
|
177
|
-
* reported, `setReadyForMerge()`, and a pull-request description. The session name is not among
|
|
178
|
-
* them: the agent names its branch through the `branches` skill, and the name is read off it. Every turn the framework prompts goes through
|
|
179
|
-
* one of these, because the protocols are unconditional (see `composeAgentSystem`) — the
|
|
180
|
-
* agent is told it can signal on any turn, so any turn we don't parse drops the signal.
|
|
181
|
-
*
|
|
182
|
-
* The returned function holds the dedupe state for the turns it covers: `ready-for-merge`
|
|
183
|
-
* fires once, a pull-request description only re-emits on an actual
|
|
184
|
-
* change, and an error is logged once however often the agent restates it. Each caller makes one
|
|
185
|
-
* for its own span of turns (a build's await rounds, the whole backlog), so keep it for as
|
|
186
|
-
* many turns as should share that dedupe rather than making one per turn.
|
|
187
|
-
*/
|
|
188
|
-
export function createTurnSignalEmitter(emit) {
|
|
189
|
-
let ready = false;
|
|
190
|
-
let described;
|
|
191
|
-
const reported = new Set();
|
|
192
|
-
return (text) => {
|
|
193
|
-
for (const view of parseMarkdownViews(text))
|
|
194
|
-
emit({ kind: 'view', ...view });
|
|
195
|
-
for (const error of parseErrors(text)) {
|
|
196
|
-
// Reported once per span (#1500): agents restate their blocks turn after turn, and the
|
|
197
|
-
// same failure logged ten times reads as ten failures. The whole block keys it, so a
|
|
198
|
-
// second attempt that fails differently is still its own error.
|
|
199
|
-
const key = `${error.headline}\n${error.detail ?? ''}`;
|
|
200
|
-
if (reported.has(key))
|
|
201
|
-
continue;
|
|
202
|
-
reported.add(key);
|
|
203
|
-
emit({ kind: 'error', ...error });
|
|
204
|
-
}
|
|
205
|
-
if (!ready && parseReadyForMerge(text)) {
|
|
206
|
-
ready = true;
|
|
207
|
-
emit({ kind: 'ready-for-merge' });
|
|
208
|
-
}
|
|
209
|
-
const pr = parsePullRequest(text);
|
|
210
|
-
const seen = pr && `${pr.title ?? ''}\n${pr.description ?? ''}`;
|
|
211
|
-
if (pr && seen !== described) {
|
|
212
|
-
described = seen;
|
|
213
|
-
emit({ kind: 'open-pr', ...pr });
|
|
214
|
-
}
|
|
215
|
-
};
|
|
216
|
-
}
|
|
217
|
-
//# sourceMappingURL=turn-gate.js.map
|
package/dist/turn-gate.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"turn-gate.js","sourceRoot":"","sources":["../src/turn-gate.ts"],"names":[],"mappings":"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"}
|
package/dist/usage.d.ts
DELETED
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import type { DriverUsage } from 'agent-driver';
|
|
2
|
-
/**
|
|
3
|
-
* Cumulative token + cost usage for an agent (#322). Extends {@link DriverUsage}
|
|
4
|
-
* with a turn count so a surface can show both the spend and how many agent
|
|
5
|
-
* turns produced it.
|
|
6
|
-
*/
|
|
7
|
-
export interface UsageTotals extends DriverUsage {
|
|
8
|
-
/** Number of turns that reported usage. */
|
|
9
|
-
turns: number;
|
|
10
|
-
}
|
|
11
|
-
/**
|
|
12
|
-
* Accumulates per-turn {@link DriverUsage} into a running total for the whole
|
|
13
|
-
* run, for the dashboard's live spend readout (#322). Nothing gates on the total:
|
|
14
|
-
* an agent already running is never cut short over what it has spent.
|
|
15
|
-
*
|
|
16
|
-
* This tracks what *this agent* spent, not where the account's subscription quota
|
|
17
|
-
* stands — the agent reports that separately, per turn, as `DriverRateLimit`
|
|
18
|
-
* (#517). An earlier version of this note claimed the account limit was
|
|
19
|
-
* unreachable under subscription auth; it isn't.
|
|
20
|
-
*/
|
|
21
|
-
export declare class UsageMeter {
|
|
22
|
-
private totalsState;
|
|
23
|
-
/**
|
|
24
|
-
* Fold one turn's usage into the running total. A turn that reports no price
|
|
25
|
-
* still counts its tokens; it just leaves the cost total where it was, so an
|
|
26
|
-
* unpriced run totals `undefined` rather than `$0` (#540).
|
|
27
|
-
*/
|
|
28
|
-
add(usage: DriverUsage): void;
|
|
29
|
-
/** A snapshot of the cumulative totals. */
|
|
30
|
-
totals(): UsageTotals;
|
|
31
|
-
}
|
|
32
|
-
//# sourceMappingURL=usage.d.ts.map
|
package/dist/usage.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"usage.d.ts","sourceRoot":"","sources":["../src/usage.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,cAAc,CAAA;AAE/C;;;;GAIG;AACH,MAAM,WAAW,WAAY,SAAQ,WAAW;IAC9C,2CAA2C;IAC3C,KAAK,EAAE,MAAM,CAAA;CACd;AAeD;;;;;;;;;GASG;AACH,qBAAa,UAAU;IACrB,OAAO,CAAC,WAAW,CAA2B;IAE9C;;;;OAIG;IACH,GAAG,CAAC,KAAK,EAAE,WAAW,GAAG,IAAI,CAU5B;IAED,2CAA2C;IAC3C,MAAM,IAAI,WAAW,CAEpB;CACF"}
|
package/dist/usage.js
DELETED
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* The starting total. `costUsd` is absent rather than `0`: an agent that never
|
|
3
|
-
* prices a turn must not accumulate a total that reads as "this agent was free"
|
|
4
|
-
* (#540). It appears as soon as one turn reports a price.
|
|
5
|
-
*/
|
|
6
|
-
const ZERO = {
|
|
7
|
-
inputTokens: 0,
|
|
8
|
-
outputTokens: 0,
|
|
9
|
-
cacheReadTokens: 0,
|
|
10
|
-
cacheCreationTokens: 0,
|
|
11
|
-
turns: 0,
|
|
12
|
-
};
|
|
13
|
-
/**
|
|
14
|
-
* Accumulates per-turn {@link DriverUsage} into a running total for the whole
|
|
15
|
-
* run, for the dashboard's live spend readout (#322). Nothing gates on the total:
|
|
16
|
-
* an agent already running is never cut short over what it has spent.
|
|
17
|
-
*
|
|
18
|
-
* This tracks what *this agent* spent, not where the account's subscription quota
|
|
19
|
-
* stands — the agent reports that separately, per turn, as `DriverRateLimit`
|
|
20
|
-
* (#517). An earlier version of this note claimed the account limit was
|
|
21
|
-
* unreachable under subscription auth; it isn't.
|
|
22
|
-
*/
|
|
23
|
-
export class UsageMeter {
|
|
24
|
-
totalsState = { ...ZERO };
|
|
25
|
-
/**
|
|
26
|
-
* Fold one turn's usage into the running total. A turn that reports no price
|
|
27
|
-
* still counts its tokens; it just leaves the cost total where it was, so an
|
|
28
|
-
* unpriced run totals `undefined` rather than `$0` (#540).
|
|
29
|
-
*/
|
|
30
|
-
add(usage) {
|
|
31
|
-
const costUsd = usage.costUsd === undefined ? this.totalsState.costUsd : (this.totalsState.costUsd ?? 0) + usage.costUsd;
|
|
32
|
-
this.totalsState = {
|
|
33
|
-
...(costUsd === undefined ? {} : { costUsd }),
|
|
34
|
-
inputTokens: this.totalsState.inputTokens + usage.inputTokens,
|
|
35
|
-
outputTokens: this.totalsState.outputTokens + usage.outputTokens,
|
|
36
|
-
cacheReadTokens: this.totalsState.cacheReadTokens + usage.cacheReadTokens,
|
|
37
|
-
cacheCreationTokens: this.totalsState.cacheCreationTokens + usage.cacheCreationTokens,
|
|
38
|
-
turns: this.totalsState.turns + 1,
|
|
39
|
-
};
|
|
40
|
-
}
|
|
41
|
-
/** A snapshot of the cumulative totals. */
|
|
42
|
-
totals() {
|
|
43
|
-
return { ...this.totalsState };
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
//# sourceMappingURL=usage.js.map
|
package/dist/usage.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"usage.js","sourceRoot":"","sources":["../src/usage.ts"],"names":[],"mappings":"AAYA;;;;GAIG;AACH,MAAM,IAAI,GAAgB;IACxB,WAAW,EAAE,CAAC;IACd,YAAY,EAAE,CAAC;IACf,eAAe,EAAE,CAAC;IAClB,mBAAmB,EAAE,CAAC;IACtB,KAAK,EAAE,CAAC;CACT,CAAA;AAED;;;;;;;;;GASG;AACH,MAAM,OAAO,UAAU;IACb,WAAW,GAAgB,EAAE,GAAG,IAAI,EAAE,CAAA;IAE9C;;;;OAIG;IACH,GAAG,CAAC,KAAkB;QACpB,MAAM,OAAO,GAAG,KAAK,CAAC,OAAO,KAAK,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,OAAO,IAAI,CAAC,CAAC,GAAG,KAAK,CAAC,OAAO,CAAA;QACxH,IAAI,CAAC,WAAW,GAAG;YACjB,GAAG,CAAC,OAAO,KAAK,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,OAAO,EAAE,CAAC;YAC7C,WAAW,EAAE,IAAI,CAAC,WAAW,CAAC,WAAW,GAAG,KAAK,CAAC,WAAW;YAC7D,YAAY,EAAE,IAAI,CAAC,WAAW,CAAC,YAAY,GAAG,KAAK,CAAC,YAAY;YAChE,eAAe,EAAE,IAAI,CAAC,WAAW,CAAC,eAAe,GAAG,KAAK,CAAC,eAAe;YACzE,mBAAmB,EAAE,IAAI,CAAC,WAAW,CAAC,mBAAmB,GAAG,KAAK,CAAC,mBAAmB;YACrF,KAAK,EAAE,IAAI,CAAC,WAAW,CAAC,KAAK,GAAG,CAAC;SAClC,CAAA;IACH,CAAC;IAED,2CAA2C;IAC3C,MAAM;QACJ,OAAO,EAAE,GAAG,IAAI,CAAC,WAAW,EAAE,CAAA;IAChC,CAAC;CACF"}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { type ReactNode } from 'react';
|
|
2
|
-
import { type WidgetLink } from '../widget/index.js';
|
|
3
|
-
import { type MountedLinkAction } from '../lib/use-widgets.js';
|
|
4
|
-
import { type ButtonProps } from './ui/button.js';
|
|
5
|
-
/** The links one project's worth of a click acts on. */
|
|
6
|
-
export interface ProjectLinks {
|
|
7
|
-
projectId: string;
|
|
8
|
-
links: WidgetLink[];
|
|
9
|
-
}
|
|
10
|
-
/** The links a click acts on: known up front, or resolved at click time (a page that first reads what is already there). */
|
|
11
|
-
export type LinkTargets = ProjectLinks[] | (() => Promise<ProjectLinks[]>);
|
|
12
|
-
export declare function LinkActions({ projects, targets, resetKey, label, tooltip, disabled, size, variant, }: {
|
|
13
|
-
/** The projects the links belong to: an action shows when its package is in at least one of them. */
|
|
14
|
-
projects: readonly string[];
|
|
15
|
-
/** What a click acts on, grouped by project. */
|
|
16
|
-
targets: LinkTargets;
|
|
17
|
-
/** A done button rests until this changes: the identity of the set it acted on. Defaults to the projects. */
|
|
18
|
-
resetKey?: string;
|
|
19
|
-
/** The button's text for an action; the action's own label otherwise. */
|
|
20
|
-
label?: (action: MountedLinkAction) => string;
|
|
21
|
-
/** Shown on hover, the same for every action. */
|
|
22
|
-
tooltip?: ReactNode;
|
|
23
|
-
disabled?: boolean;
|
|
24
|
-
size?: ButtonProps['size'];
|
|
25
|
-
variant?: ButtonProps['variant'];
|
|
26
|
-
}): import("react").JSX.Element | null;
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import type { ReactNode } from 'react';
|
|
2
|
-
export declare function StartAgentButton({ icon, label, busyLabel, ariaLabel, menuAriaLabel, tooltip, tooltipClassName, prompt, configureDescription, onStart, onConfigure, busy, starting, disabled, variant, size, className, }: {
|
|
3
|
-
/** The primary half's icon; swapped for a spinner while this button's own start is in flight. */
|
|
4
|
-
icon: ReactNode;
|
|
5
|
-
/** The primary half's text. Omitted on the dense rows, which are icon-only — pass `ariaLabel` there. */
|
|
6
|
-
label?: string | undefined;
|
|
7
|
-
/** What the primary half reads while this button's own start is in flight. */
|
|
8
|
-
busyLabel?: string | undefined;
|
|
9
|
-
/** The primary half's accessible name. Required where there is no `label` to serve as one. */
|
|
10
|
-
ariaLabel?: string | undefined;
|
|
11
|
-
/** The chevron's accessible name — it has no text of its own, and "menu" would not say whose. */
|
|
12
|
-
menuAriaLabel: string;
|
|
13
|
-
/** What the primary half promises on hover: what it does, and what it is about to spend. */
|
|
14
|
-
tooltip: ReactNode;
|
|
15
|
-
tooltipClassName?: string | undefined;
|
|
16
|
-
/**
|
|
17
|
-
* The prompt "Configure first, then run" hands the launcher. For a click that starts several
|
|
18
|
-
* agents, the one the launcher can actually send — `configureDescription` then says so.
|
|
19
|
-
*/
|
|
20
|
-
prompt: string;
|
|
21
|
-
/** The menu entry's second line: what this particular launcher trip is for. */
|
|
22
|
-
configureDescription: string;
|
|
23
|
-
onStart: () => void;
|
|
24
|
-
/**
|
|
25
|
-
* Open the launcher the prompt was stashed for — the project's own, since a draft is only
|
|
26
|
-
* rehydrated by the launcher of the project the reader lands on.
|
|
27
|
-
*/
|
|
28
|
-
onConfigure: () => void;
|
|
29
|
-
/** A start is in flight somewhere on this surface: the primary half is out until it settles. */
|
|
30
|
-
busy?: boolean | undefined;
|
|
31
|
-
/** *This* button's start is the one in flight, so only it reads as busy. */
|
|
32
|
-
starting?: boolean | undefined;
|
|
33
|
-
/** There is nothing to act on at all (no project picked): both halves are out. */
|
|
34
|
-
disabled?: boolean | undefined;
|
|
35
|
-
variant?: 'default' | 'outline' | 'ghost' | undefined;
|
|
36
|
-
size?: 'xs' | 'sm' | 'icon-sm' | undefined;
|
|
37
|
-
/** Styling the two halves share, so the pair reads as one control rather than two buttons. */
|
|
38
|
-
className?: string | undefined;
|
|
39
|
-
}): import("react").JSX.Element;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { type VariantProps } from 'class-variance-authority';
|
|
2
|
-
import type { ButtonHTMLAttributes } from 'react';
|
|
3
|
-
declare const buttonVariants: (props?: ({
|
|
4
|
-
variant?: "default" | "destructive" | "ghost" | "outline" | null | undefined;
|
|
5
|
-
size?: "default" | "icon" | "icon-sm" | "sm" | "xs" | null | undefined;
|
|
6
|
-
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
7
|
-
export interface ButtonProps extends ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
|
|
8
|
-
}
|
|
9
|
-
export declare function Button({ className, variant, size, ...props }: ButtonProps): import("react").JSX.Element;
|
|
10
|
-
export { buttonVariants };
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import type { HTMLAttributes } from 'react';
|
|
2
|
-
export declare function Card({ className, ...props }: HTMLAttributes<HTMLDivElement>): import("react").JSX.Element;
|
|
3
|
-
export declare function CardHeader({ className, ...props }: HTMLAttributes<HTMLDivElement>): import("react").JSX.Element;
|
|
4
|
-
export declare function CardTitle({ className, ...props }: HTMLAttributes<HTMLHeadingElement>): import("react").JSX.Element;
|
|
5
|
-
export declare function CardContent({ className, ...props }: HTMLAttributes<HTMLDivElement>): import("react").JSX.Element;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type { ComponentProps } from 'react';
|
|
2
|
-
import { Checkbox as CheckboxPrimitive } from '@base-ui-components/react/checkbox';
|
|
3
|
-
type CheckboxProps = Omit<ComponentProps<typeof CheckboxPrimitive.Root>, 'disabled'> & {
|
|
4
|
-
disabled?: boolean | undefined;
|
|
5
|
-
};
|
|
6
|
-
export declare function Checkbox({ className, disabled, ...props }: CheckboxProps): import("react").JSX.Element;
|
|
7
|
-
export {};
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { Menu } from '@base-ui-components/react/menu';
|
|
2
|
-
import type { ComponentProps } from 'react';
|
|
3
|
-
export declare const DropdownMenu: typeof Menu.Root;
|
|
4
|
-
export declare const DropdownMenuGroup: import("react").ForwardRefExoticComponent<import("@base-ui-components/react/menu").MenuGroupProps & import("react").RefAttributes<Element>>;
|
|
5
|
-
export declare const DropdownMenuSub: typeof Menu.SubmenuRoot;
|
|
6
|
-
export declare function DropdownMenuTrigger({ className, ...props }: ComponentProps<typeof Menu.Trigger>): import("react").JSX.Element;
|
|
7
|
-
export declare function DropdownMenuContent({ className, sideOffset, align, children, ...props }: ComponentProps<typeof Menu.Popup> & {
|
|
8
|
-
sideOffset?: number;
|
|
9
|
-
align?: 'start' | 'center' | 'end';
|
|
10
|
-
}): import("react").JSX.Element;
|
|
11
|
-
export declare function DropdownMenuItem({ className, ...props }: ComponentProps<typeof Menu.Item>): import("react").JSX.Element;
|
|
12
|
-
export declare function DropdownMenuCheckboxItem({ className, children, closeOnClick, ...props }: ComponentProps<typeof Menu.CheckboxItem>): import("react").JSX.Element;
|
|
13
|
-
export declare function DropdownMenuSubTrigger({ className, children, ...props }: ComponentProps<typeof Menu.SubmenuTrigger>): import("react").JSX.Element;
|
|
14
|
-
export declare function DropdownMenuSubContent({ className, children, ...props }: ComponentProps<typeof Menu.Popup>): import("react").JSX.Element;
|
|
15
|
-
export declare function DropdownMenuSeparator({ className, ...props }: ComponentProps<typeof Menu.Separator>): import("react").JSX.Element;
|
|
16
|
-
export declare function DropdownMenuLabel({ className, ...props }: ComponentProps<typeof Menu.GroupLabel>): import("react").JSX.Element;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { Popover as BasePopover } from '@base-ui-components/react/popover';
|
|
2
|
-
import type { ComponentProps } from 'react';
|
|
3
|
-
export declare const Popover: typeof BasePopover.Root;
|
|
4
|
-
export declare function PopoverTrigger({ className, ...props }: ComponentProps<typeof BasePopover.Trigger>): import("react").JSX.Element;
|
|
5
|
-
export declare function PopoverContent({ className, sideOffset, align, children, ...props }: ComponentProps<typeof BasePopover.Popup> & {
|
|
6
|
-
sideOffset?: number;
|
|
7
|
-
align?: 'start' | 'center' | 'end';
|
|
8
|
-
}): import("react").JSX.Element;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { Ref } from 'react';
|
|
2
|
-
import { ScrollArea as ScrollAreaPrimitive } from '@base-ui-components/react/scroll-area';
|
|
3
|
-
export declare function ScrollArea({ className, children, viewportRef, viewportClassName, ...props }: ScrollAreaPrimitive.Root.Props & {
|
|
4
|
-
/** The scrolled element, for a rail that scrolls itself (ViewsRail). */
|
|
5
|
-
viewportRef?: Ref<HTMLDivElement>;
|
|
6
|
-
/** Extra classes on the viewport — where the height cap belongs when the Root has no definite
|
|
7
|
-
* height. A `max-h-*` on the Root only caps the box; the viewport's `h-full` cannot resolve
|
|
8
|
-
* against a parent's max-height, so the content grows instead of scrolling. Put the cap here. */
|
|
9
|
-
viewportClassName?: string;
|
|
10
|
-
}): import("react").JSX.Element;
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import type { ComponentProps } from 'react';
|
|
2
|
-
import { Separator as SeparatorPrimitive } from '@base-ui-components/react/separator';
|
|
3
|
-
export declare function Separator({ className, orientation, ...props }: ComponentProps<typeof SeparatorPrimitive>): import("react").JSX.Element;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export declare function RangeSlider({ value, onValueChange, min, max, className, 'aria-label': ariaLabel, }: {
|
|
2
|
-
/** The selected [min, max] pair, both inclusive. */
|
|
3
|
-
value: [number, number];
|
|
4
|
-
onValueChange: (next: [number, number]) => void;
|
|
5
|
-
min?: number;
|
|
6
|
-
max?: number;
|
|
7
|
-
className?: string;
|
|
8
|
-
'aria-label'?: string;
|
|
9
|
-
}): import("react").JSX.Element;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { ComponentProps } from 'react';
|
|
2
|
-
import { Tooltip as TooltipPrimitive } from '@base-ui-components/react/tooltip';
|
|
3
|
-
declare const TooltipProvider: import("react").FC<import("@base-ui-components/react/tooltip").TooltipProviderProps>;
|
|
4
|
-
declare const Tooltip: typeof TooltipPrimitive.Root;
|
|
5
|
-
declare function TooltipTrigger(props: ComponentProps<typeof TooltipPrimitive.Trigger>): import("react").JSX.Element;
|
|
6
|
-
declare function TooltipContent({ className, sideOffset, side, align, children, ...props }: ComponentProps<typeof TooltipPrimitive.Popup> & {
|
|
7
|
-
sideOffset?: number;
|
|
8
|
-
side?: ComponentProps<typeof TooltipPrimitive.Positioner>['side'];
|
|
9
|
-
align?: ComponentProps<typeof TooltipPrimitive.Positioner>['align'];
|
|
10
|
-
}): import("react").JSX.Element;
|
|
11
|
-
export { Tooltip, TooltipTrigger, TooltipContent, TooltipProvider };
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/** At SPA boot: move `?draft=` out of the URL into sessionStorage and strip it from the address bar
|
|
2
|
-
* (and so from history and any Referer). Idempotent and a no-op when there is no draft param. */
|
|
3
|
-
export declare function stashDraftFromUrl(): void;
|
|
4
|
-
/**
|
|
5
|
-
* Carry a draft across an in-app navigation (#1139): the same stash the device hop uses, written
|
|
6
|
-
* directly rather than through the URL. For a click that knows what the next session should be
|
|
7
|
-
* about but lands on the launcher, where that knowledge would otherwise be dropped — a hot ticket
|
|
8
|
-
* with no run of its own.
|
|
9
|
-
*
|
|
10
|
-
* Deliberately not a `?draft=` param like the device hop: this navigation never leaves the tab, so
|
|
11
|
-
* there is nothing to hand another device and no reason to put the prompt in the address bar.
|
|
12
|
-
*/
|
|
13
|
-
export declare function stashPendingDraft(draft: string): void;
|
|
14
|
-
/** The carried draft, if any, cleared as it is read so a reload does not re-seed it. */
|
|
15
|
-
export declare function takePendingDraft(): string | null;
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
/** A timestamp as local date + time, e.g. a project's last activity. */
|
|
2
|
-
export declare function formatDateTime(value: string | undefined, fallback?: string): string;
|
|
3
|
-
/**
|
|
4
|
-
* A short local date + time, e.g. "Jul 18, 10:35 PM". For places where the timestamp is standing
|
|
5
|
-
* in as a name (an unnamed session in the rail), where seconds are noise on the line that has to
|
|
6
|
-
* identify the row.
|
|
7
|
-
*/
|
|
8
|
-
export declare function formatDateTimeShort(value: string | undefined, fallback?: string): string;
|
|
9
|
-
/** A timestamp as a local date alone, for the denser table columns. */
|
|
10
|
-
export declare function formatDate(value: string | undefined, fallback?: string): string;
|
|
11
|
-
/**
|
|
12
|
-
* A compact age (#1139): "22s ago" / "30m ago" / "5d ago" / "2w ago", the units the Agents list
|
|
13
|
-
* dates its rows in. Finer than {@link formatRelative} at both ends — it names seconds (a session
|
|
14
|
-
* that ended moments ago) and never falls back to a bare date (weeks, then years, stay relative) —
|
|
15
|
-
* so a row reads the same whether it finished this minute or last month. Pair it with
|
|
16
|
-
* {@link formatDateTime} in a `title` for the exact moment.
|
|
17
|
-
*
|
|
18
|
-
* Floored, not rounded: "1m ago" should mean at least a minute has passed, not "closer to a minute
|
|
19
|
-
* than to two".
|
|
20
|
-
*/
|
|
21
|
-
export declare function formatAge(value: string | undefined, fallback?: string): string;
|
|
22
|
-
/**
|
|
23
|
-
* A timestamp as freshness (#948): "just now" / "12m ago" / "3h ago" / "2d ago", falling back
|
|
24
|
-
* to the local date past a week. An at-a-glance board wants "2m ago", not today's date.
|
|
25
|
-
*/
|
|
26
|
-
export declare function formatRelative(value: string | undefined, fallback?: string): string;
|
|
27
|
-
/**
|
|
28
|
-
* A plain duration, floored to its largest whole unit: "2s" / "10m" / "2h" / "1d" (#960 Edit) — no
|
|
29
|
-
* "ago", and no weeks: this backs the pace-deviation figure, which can never exceed the week
|
|
30
|
-
* itself. Floored for the reason {@link formatAge} is: "1d" should mean a full day has passed, not
|
|
31
|
-
* "close enough to one".
|
|
32
|
-
*/
|
|
33
|
-
export declare function formatDuration(ms: number): string;
|
|
34
|
-
/**
|
|
35
|
-
* The same duration spelled out — "1 day" / "2 hours" / "10 minutes" / "2 seconds" (#960 Edit) —
|
|
36
|
-
* for a sentence (a tooltip explaining the figure {@link formatDuration} renders as "1d"), where an
|
|
37
|
-
* abbreviation reads as a label rather than as prose.
|
|
38
|
-
*/
|
|
39
|
-
export declare function formatDurationLong(ms: number): string;
|
|
40
|
-
/**
|
|
41
|
-
* A quota reset, as the week it sits under already places it: "Tuesday 8:59pm" (#960 Edit), not a
|
|
42
|
-
* date — the bar above says which day of the week it is; naming the date again would be the
|
|
43
|
-
* calendar repeating itself. Pair with {@link formatResetTooltip} for the exact moment.
|
|
44
|
-
*/
|
|
45
|
-
export declare function formatResetDay(at: number): string;
|
|
46
|
-
/**
|
|
47
|
-
* The same moment in full, for a tooltip: "Quota resets on Jul 28, 8:59pm (Europe/Berlin)". Names
|
|
48
|
-
* the zone rather than leaving it implicit, since the reset is the account's own clock, and a
|
|
49
|
-
* viewer working from a different one should not have to guess whether the two agree.
|
|
50
|
-
*/
|
|
51
|
-
export declare function formatResetTooltip(at: number): string;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import type { WidgetHostBase } from '../widget/index.js';
|
|
2
|
-
/** The services, minus the package they are bound to: what the shell has, before a widget is known. */
|
|
3
|
-
export type HostServices = Omit<WidgetHostBase, 'package'>;
|
|
4
|
-
/**
|
|
5
|
-
* Services for a shell that provides none (a unit test renders a page or a slot alone): nothing
|
|
6
|
-
* navigates, a start answers that there is no dashboard, no project has runs.
|
|
7
|
-
*/
|
|
8
|
-
export declare const INERT_HOST_SERVICES: HostServices;
|
|
9
|
-
/** Set by the shell around the whole dashboard: the services every widget's host is built from. */
|
|
10
|
-
export declare const HostServicesContext: import("react").Context<HostServices | null>;
|
|
11
|
-
/** The shell's services bound to one widget package: the base of that widget's host. */
|
|
12
|
-
export declare function useHostServices(pkg: string): WidgetHostBase;
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Whether a first segment names a page a widget adds (#1774) rather than a project: a lowercase
|
|
3
|
-
* letter, then lowercase letters and digits. Never a project's id, which always carries a
|
|
4
|
-
* `-<hash>` suffix, so the router reserves no widget's word: whichever widget claims the segment
|
|
5
|
-
* gets it, and the shell says "no such page" when none does.
|
|
6
|
-
*/
|
|
7
|
-
export declare function isPageSegment(segment: string): boolean;
|
|
8
|
-
/** What the dashboard is looking at, as carried by the URL. */
|
|
9
|
-
export interface Route {
|
|
10
|
-
/** A top-level view belonging to no project (#958). */
|
|
11
|
-
view?: 'settings';
|
|
12
|
-
/** The selected project, or null for the Overview. */
|
|
13
|
-
projectId: string | null;
|
|
14
|
-
/** The selected session (agent id), or null for the project's home/launcher. */
|
|
15
|
-
agentId: string | null;
|
|
16
|
-
/** A widget's page (#1774), by its segment; no project and no agent is selected there. */
|
|
17
|
-
page?: string;
|
|
18
|
-
/** The segments after a widget page's own, decoded: `/logs/a` carries `['a']`. */
|
|
19
|
-
pagePath?: string[];
|
|
20
|
-
}
|
|
21
|
-
/** Read the route out of a path. Anything unparseable is the Overview, and extra segments are ignored. */
|
|
22
|
-
export declare function parseRoute(pathname: string): Route;
|
|
23
|
-
/** The path for a route — the inverse of {@link parseRoute}. */
|
|
24
|
-
export declare function formatRoute({ view, projectId, agentId, page, pagePath }: Route): string;
|