@openagt/dashboard 0.0.0-stage → 0.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +125 -2
- package/dist/agent-archive.d.ts +35 -0
- package/dist/agent-archive.d.ts.map +1 -0
- package/dist/agent-archive.js +67 -0
- package/dist/agent-archive.js.map +1 -0
- package/dist/agent-commit.d.ts +140 -0
- package/dist/agent-commit.d.ts.map +1 -0
- package/dist/agent-commit.js +254 -0
- package/dist/agent-commit.js.map +1 -0
- package/dist/agent-driver.d.ts +28 -0
- package/dist/agent-driver.d.ts.map +1 -0
- package/dist/agent-driver.js +18 -0
- package/dist/agent-driver.js.map +1 -0
- package/dist/agent-id.d.ts +13 -0
- package/dist/agent-id.d.ts.map +1 -0
- package/dist/agent-id.js +20 -0
- package/dist/agent-id.js.map +1 -0
- package/dist/agent-location.d.ts +11 -0
- package/dist/agent-location.d.ts.map +1 -0
- package/dist/agent-location.js +10 -0
- package/dist/agent-location.js.map +1 -0
- package/dist/agent-locks.d.ts +3 -0
- package/dist/agent-locks.d.ts.map +1 -0
- package/dist/agent-locks.js +40 -0
- package/dist/agent-locks.js.map +1 -0
- package/dist/agent-messages.d.ts +55 -0
- package/dist/agent-messages.d.ts.map +1 -0
- package/dist/agent-messages.js +73 -0
- package/dist/agent-messages.js.map +1 -0
- package/dist/agent-names.d.ts +24 -0
- package/dist/agent-names.d.ts.map +1 -0
- package/dist/agent-names.js +33 -0
- package/dist/agent-names.js.map +1 -0
- package/dist/agent-options.d.ts +45 -0
- package/dist/agent-options.d.ts.map +1 -0
- package/dist/agent-options.js +83 -0
- package/dist/agent-options.js.map +1 -0
- package/dist/agent-spec.d.ts +56 -0
- package/dist/agent-spec.d.ts.map +1 -0
- package/dist/agent-spec.js +56 -0
- package/dist/agent-spec.js.map +1 -0
- package/dist/agent-telemetry.d.ts +88 -0
- package/dist/agent-telemetry.d.ts.map +1 -0
- package/dist/agent-telemetry.js +97 -0
- package/dist/agent-telemetry.js.map +1 -0
- package/dist/agent-view.d.ts +39 -0
- package/dist/agent-view.d.ts.map +1 -0
- package/dist/agent-view.js +45 -0
- package/dist/agent-view.js.map +1 -0
- package/dist/agent.d.ts +113 -0
- package/dist/agent.d.ts.map +1 -0
- package/dist/agent.js +168 -0
- package/dist/agent.js.map +1 -0
- package/dist/archived-agent-patch.d.ts +14 -0
- package/dist/archived-agent-patch.d.ts.map +1 -0
- package/dist/archived-agent-patch.js +22 -0
- package/dist/archived-agent-patch.js.map +1 -0
- package/dist/auto-pm.d.ts +538 -0
- package/dist/auto-pm.d.ts.map +1 -0
- package/dist/auto-pm.js +707 -0
- package/dist/auto-pm.js.map +1 -0
- package/dist/await-gate.d.ts +184 -0
- package/dist/await-gate.d.ts.map +1 -0
- package/dist/await-gate.js +252 -0
- package/dist/await-gate.js.map +1 -0
- package/dist/bin.d.ts +3 -0
- package/dist/bin.d.ts.map +1 -0
- package/dist/bin.js +11 -0
- package/dist/bin.js.map +1 -0
- package/dist/branch-links-pass.d.ts +15 -0
- package/dist/branch-links-pass.d.ts.map +1 -0
- package/dist/branch-links-pass.js +13 -0
- package/dist/branch-links-pass.js.map +1 -0
- package/dist/branch-links.d.ts +53 -0
- package/dist/branch-links.d.ts.map +1 -0
- package/dist/branch-links.js +94 -0
- package/dist/branch-links.js.map +1 -0
- package/dist/branch-name.d.ts +8 -0
- package/dist/branch-name.d.ts.map +1 -0
- package/dist/branch-name.js +20 -0
- package/dist/branch-name.js.map +1 -0
- package/dist/branch-names.d.ts +57 -0
- package/dist/branch-names.d.ts.map +1 -0
- package/dist/branch-names.js +72 -0
- package/dist/branch-names.js.map +1 -0
- package/dist/bridge-browser.d.ts +217 -0
- package/dist/bridge-browser.d.ts.map +1 -0
- package/dist/bridge-browser.js +520 -0
- package/dist/bridge-browser.js.map +1 -0
- package/dist/browser-stream.d.ts +20 -0
- package/dist/browser-stream.d.ts.map +1 -0
- package/dist/browser-stream.js +51 -0
- package/dist/browser-stream.js.map +1 -0
- package/dist/browser.d.ts +16 -0
- package/dist/browser.d.ts.map +1 -0
- package/dist/browser.js +38 -0
- package/dist/browser.js.map +1 -0
- package/dist/built-in.d.ts +29 -0
- package/dist/built-in.d.ts.map +1 -0
- package/dist/built-in.js +78 -0
- package/dist/built-in.js.map +1 -0
- package/dist/chrome-extension/background.js +532 -0
- package/dist/chrome-extension/content.js +1475 -0
- package/dist/chrome-extension/driver-plan.js +41 -0
- package/dist/chrome-extension/fingerprint.js +43 -0
- package/dist/chrome-extension/manifest.json +31 -0
- package/dist/chrome-extension/options.html +48 -0
- package/dist/chrome-extension/options.js +122 -0
- package/dist/ci-watch.d.ts +123 -0
- package/dist/ci-watch.d.ts.map +1 -0
- package/dist/ci-watch.js +228 -0
- package/dist/ci-watch.js.map +1 -0
- package/dist/claude-trust.d.ts +16 -0
- package/dist/claude-trust.d.ts.map +1 -0
- package/dist/claude-trust.js +72 -0
- package/dist/claude-trust.js.map +1 -0
- package/dist/cli-exec.d.ts +36 -0
- package/dist/cli-exec.d.ts.map +1 -0
- package/dist/cli-exec.js +44 -0
- package/dist/cli-exec.js.map +1 -0
- package/dist/cli.d.ts +43 -0
- package/dist/cli.d.ts.map +1 -0
- package/dist/cli.js +186 -0
- package/dist/cli.js.map +1 -0
- package/dist/client.d.ts +16 -0
- package/dist/client.d.ts.map +1 -0
- package/dist/client.js +30 -0
- package/dist/client.js.map +1 -0
- package/dist/closing-keywords.d.ts +28 -0
- package/dist/closing-keywords.d.ts.map +1 -0
- package/dist/closing-keywords.js +49 -0
- package/dist/closing-keywords.js.map +1 -0
- package/dist/cloud-run-state.d.ts +27 -0
- package/dist/cloud-run-state.d.ts.map +1 -0
- package/dist/cloud-run-state.js +36 -0
- package/dist/cloud-run-state.js.map +1 -0
- package/dist/cloud-scratch-refs.d.ts +85 -0
- package/dist/cloud-scratch-refs.d.ts.map +1 -0
- package/dist/cloud-scratch-refs.js +275 -0
- package/dist/cloud-scratch-refs.js.map +1 -0
- package/dist/cloud-work.d.ts +66 -0
- package/dist/cloud-work.d.ts.map +1 -0
- package/dist/cloud-work.js +204 -0
- package/dist/cloud-work.js.map +1 -0
- package/dist/config-layers.d.ts +62 -0
- package/dist/config-layers.d.ts.map +1 -0
- package/dist/config-layers.js +70 -0
- package/dist/config-layers.js.map +1 -0
- package/dist/config.d.ts +54 -0
- package/dist/config.d.ts.map +1 -0
- package/dist/config.js +78 -0
- package/dist/config.js.map +1 -0
- package/dist/consumption-guard.d.ts +53 -0
- package/dist/consumption-guard.d.ts.map +1 -0
- package/dist/consumption-guard.js +69 -0
- package/dist/consumption-guard.js.map +1 -0
- package/dist/control.d.ts +75 -0
- package/dist/control.d.ts.map +1 -0
- package/dist/control.js +68 -0
- package/dist/control.js.map +1 -0
- package/dist/conversation-commit.d.ts +166 -0
- package/dist/conversation-commit.d.ts.map +1 -0
- package/dist/conversation-commit.js +309 -0
- package/dist/conversation-commit.js.map +1 -0
- package/dist/conversations.d.ts +93 -0
- package/dist/conversations.d.ts.map +1 -0
- package/dist/conversations.js +176 -0
- package/dist/conversations.js.map +1 -0
- package/dist/daemon-runtime.d.ts +41 -0
- package/dist/daemon-runtime.d.ts.map +1 -0
- package/dist/daemon-runtime.js +133 -0
- package/dist/daemon-runtime.js.map +1 -0
- package/dist/daemon-services.d.ts +36 -0
- package/dist/daemon-services.d.ts.map +1 -0
- package/dist/daemon-services.js +120 -0
- package/dist/daemon-services.js.map +1 -0
- package/dist/daemon-tick.d.ts +68 -0
- package/dist/daemon-tick.d.ts.map +1 -0
- package/dist/daemon-tick.js +97 -0
- package/dist/daemon-tick.js.map +1 -0
- package/dist/daemon-writes.d.ts +33 -0
- package/dist/daemon-writes.d.ts.map +1 -0
- package/dist/daemon-writes.js +45 -0
- package/dist/daemon-writes.js.map +1 -0
- package/dist/daemon.d.ts +76 -0
- package/dist/daemon.d.ts.map +1 -0
- package/dist/daemon.js +225 -0
- package/dist/daemon.js.map +1 -0
- package/dist/dashboard/activity.d.ts +41 -0
- package/dist/dashboard/activity.d.ts.map +1 -0
- package/dist/dashboard/activity.js +56 -0
- package/dist/dashboard/activity.js.map +1 -0
- package/dist/dashboard/agent-handoff.d.ts +244 -0
- package/dist/dashboard/agent-handoff.d.ts.map +1 -0
- package/dist/dashboard/agent-handoff.js +310 -0
- package/dist/dashboard/agent-handoff.js.map +1 -0
- package/dist/dashboard/agent-tree.d.ts +106 -0
- package/dist/dashboard/agent-tree.d.ts.map +1 -0
- package/dist/dashboard/agent-tree.js +180 -0
- package/dist/dashboard/agent-tree.js.map +1 -0
- package/dist/dashboard/bridge-endpoints.d.ts +158 -0
- package/dist/dashboard/bridge-endpoints.d.ts.map +1 -0
- package/dist/dashboard/bridge-endpoints.js +382 -0
- package/dist/dashboard/bridge-endpoints.js.map +1 -0
- package/dist/dashboard/bridge-question.d.ts +33 -0
- package/dist/dashboard/bridge-question.d.ts.map +1 -0
- package/dist/dashboard/bridge-question.js +20 -0
- package/dist/dashboard/bridge-question.js.map +1 -0
- package/dist/dashboard/bridge-sessions.d.ts +25 -0
- package/dist/dashboard/bridge-sessions.d.ts.map +1 -0
- package/dist/dashboard/bridge-sessions.js +46 -0
- package/dist/dashboard/bridge-sessions.js.map +1 -0
- package/dist/dashboard/bridge-starts.d.ts +61 -0
- package/dist/dashboard/bridge-starts.d.ts.map +1 -0
- package/dist/dashboard/bridge-starts.js +94 -0
- package/dist/dashboard/bridge-starts.js.map +1 -0
- package/dist/dashboard/bridge-store.d.ts +179 -0
- package/dist/dashboard/bridge-store.d.ts.map +1 -0
- package/dist/dashboard/bridge-store.js +262 -0
- package/dist/dashboard/bridge-store.js.map +1 -0
- package/dist/dashboard/browser-proxy.d.ts +41 -0
- package/dist/dashboard/browser-proxy.d.ts.map +1 -0
- package/dist/dashboard/browser-proxy.js +96 -0
- package/dist/dashboard/browser-proxy.js.map +1 -0
- package/dist/dashboard/bundle.d.ts +12 -0
- package/dist/dashboard/bundle.d.ts.map +1 -0
- package/dist/dashboard/bundle.js +22 -0
- package/dist/dashboard/bundle.js.map +1 -0
- package/dist/dashboard/cache.d.ts +47 -0
- package/dist/dashboard/cache.d.ts.map +1 -0
- package/dist/dashboard/cache.js +87 -0
- package/dist/dashboard/cache.js.map +1 -0
- package/dist/dashboard/content-type.d.ts +3 -0
- package/dist/dashboard/content-type.d.ts.map +1 -0
- package/dist/dashboard/content-type.js +31 -0
- package/dist/dashboard/content-type.js.map +1 -0
- package/dist/dashboard/dashboard.d.ts +38 -0
- package/dist/dashboard/dashboard.d.ts.map +1 -0
- package/dist/dashboard/dashboard.js +42 -0
- package/dist/dashboard/dashboard.js.map +1 -0
- package/dist/dashboard/discord-webhook.d.ts +17 -0
- package/dist/dashboard/discord-webhook.d.ts.map +1 -0
- package/dist/dashboard/discord-webhook.js +36 -0
- package/dist/dashboard/discord-webhook.js.map +1 -0
- package/dist/dashboard/docs.d.ts +39 -0
- package/dist/dashboard/docs.d.ts.map +1 -0
- package/dist/dashboard/docs.js +59 -0
- package/dist/dashboard/docs.js.map +1 -0
- package/dist/dashboard/file-diff.d.ts +67 -0
- package/dist/dashboard/file-diff.d.ts.map +1 -0
- package/dist/dashboard/file-diff.js +132 -0
- package/dist/dashboard/file-diff.js.map +1 -0
- package/dist/dashboard/file-read.d.ts +42 -0
- package/dist/dashboard/file-read.d.ts.map +1 -0
- package/dist/dashboard/file-read.js +69 -0
- package/dist/dashboard/file-read.js.map +1 -0
- package/dist/dashboard/file-status.d.ts +21 -0
- package/dist/dashboard/file-status.d.ts.map +1 -0
- package/dist/dashboard/file-status.js +37 -0
- package/dist/dashboard/file-status.js.map +1 -0
- package/dist/dashboard/gh.d.ts +131 -0
- package/dist/dashboard/gh.d.ts.map +1 -0
- package/dist/dashboard/gh.js +150 -0
- package/dist/dashboard/gh.js.map +1 -0
- package/dist/dashboard/git-status.d.ts +44 -0
- package/dist/dashboard/git-status.d.ts.map +1 -0
- package/dist/dashboard/git-status.js +37 -0
- package/dist/dashboard/git-status.js.map +1 -0
- package/dist/dashboard/github.d.ts +11 -0
- package/dist/dashboard/github.d.ts.map +1 -0
- package/dist/dashboard/github.js +33 -0
- package/dist/dashboard/github.js.map +1 -0
- package/dist/dashboard/http.d.ts +29 -0
- package/dist/dashboard/http.d.ts.map +1 -0
- package/dist/dashboard/http.js +74 -0
- package/dist/dashboard/http.js.map +1 -0
- package/dist/dashboard/index.d.ts +24 -0
- package/dist/dashboard/index.d.ts.map +1 -0
- package/dist/dashboard/index.js +23 -0
- package/dist/dashboard/index.js.map +1 -0
- package/dist/dashboard/interventions.d.ts +67 -0
- package/dist/dashboard/interventions.d.ts.map +1 -0
- package/dist/dashboard/interventions.js +169 -0
- package/dist/dashboard/interventions.js.map +1 -0
- package/dist/dashboard/keyed-watcher.d.ts +29 -0
- package/dist/dashboard/keyed-watcher.d.ts.map +1 -0
- package/dist/dashboard/keyed-watcher.js +42 -0
- package/dist/dashboard/keyed-watcher.js.map +1 -0
- package/dist/dashboard/keys.d.ts +31 -0
- package/dist/dashboard/keys.d.ts.map +1 -0
- package/dist/dashboard/keys.js +37 -0
- package/dist/dashboard/keys.js.map +1 -0
- package/dist/dashboard/models.d.ts +25 -0
- package/dist/dashboard/models.d.ts.map +1 -0
- package/dist/dashboard/models.js +30 -0
- package/dist/dashboard/models.js.map +1 -0
- package/dist/dashboard/module-host.d.ts +44 -0
- package/dist/dashboard/module-host.d.ts.map +1 -0
- package/dist/dashboard/module-host.js +91 -0
- package/dist/dashboard/module-host.js.map +1 -0
- package/dist/dashboard/module-serve.d.ts +15 -0
- package/dist/dashboard/module-serve.d.ts.map +1 -0
- package/dist/dashboard/module-serve.js +45 -0
- package/dist/dashboard/module-serve.js.map +1 -0
- package/dist/dashboard/open-in-app.d.ts +43 -0
- package/dist/dashboard/open-in-app.d.ts.map +1 -0
- package/dist/dashboard/open-in-app.js +98 -0
- package/dist/dashboard/open-in-app.js.map +1 -0
- package/dist/dashboard/open-questions.d.ts +45 -0
- package/dist/dashboard/open-questions.d.ts.map +1 -0
- package/dist/dashboard/open-questions.js +62 -0
- package/dist/dashboard/open-questions.js.map +1 -0
- package/dist/dashboard/overview.d.ts +78 -0
- package/dist/dashboard/overview.d.ts.map +1 -0
- package/dist/dashboard/overview.js +87 -0
- package/dist/dashboard/overview.js.map +1 -0
- package/dist/dashboard/projects.d.ts +100 -0
- package/dist/dashboard/projects.d.ts.map +1 -0
- package/dist/dashboard/projects.js +63 -0
- package/dist/dashboard/projects.js.map +1 -0
- package/dist/dashboard/pull-requests.d.ts +127 -0
- package/dist/dashboard/pull-requests.d.ts.map +1 -0
- package/dist/dashboard/pull-requests.js +137 -0
- package/dist/dashboard/pull-requests.js.map +1 -0
- package/dist/dashboard/queue.d.ts +17 -0
- package/dist/dashboard/queue.d.ts.map +1 -0
- package/dist/dashboard/queue.js +19 -0
- package/dist/dashboard/queue.js.map +1 -0
- package/dist/dashboard/quota.d.ts +53 -0
- package/dist/dashboard/quota.d.ts.map +1 -0
- package/dist/dashboard/quota.js +42 -0
- package/dist/dashboard/quota.js.map +1 -0
- package/dist/dashboard/relay-endpoints.d.ts +32 -0
- package/dist/dashboard/relay-endpoints.d.ts.map +1 -0
- package/dist/dashboard/relay-endpoints.js +115 -0
- package/dist/dashboard/relay-endpoints.js.map +1 -0
- package/dist/dashboard/remote-run.d.ts +95 -0
- package/dist/dashboard/remote-run.d.ts.map +1 -0
- package/dist/dashboard/remote-run.js +235 -0
- package/dist/dashboard/remote-run.js.map +1 -0
- package/dist/dashboard/rpc-serve.d.ts +103 -0
- package/dist/dashboard/rpc-serve.d.ts.map +1 -0
- package/dist/dashboard/rpc-serve.js +180 -0
- package/dist/dashboard/rpc-serve.js.map +1 -0
- package/dist/dashboard/run-handoff.d.ts +311 -0
- package/dist/dashboard/run-handoff.d.ts.map +1 -0
- package/dist/dashboard/run-handoff.js +485 -0
- package/dist/dashboard/run-handoff.js.map +1 -0
- package/dist/dashboard/run-inbox.d.ts +31 -0
- package/dist/dashboard/run-inbox.d.ts.map +1 -0
- package/dist/dashboard/run-inbox.js +51 -0
- package/dist/dashboard/run-inbox.js.map +1 -0
- package/dist/dashboard/scheduler-state.d.ts +73 -0
- package/dist/dashboard/scheduler-state.d.ts.map +1 -0
- package/dist/dashboard/scheduler-state.js +120 -0
- package/dist/dashboard/scheduler-state.js.map +1 -0
- package/dist/dashboard/server.d.ts +103 -0
- package/dist/dashboard/server.d.ts.map +1 -0
- package/dist/dashboard/server.js +230 -0
- package/dist/dashboard/server.js.map +1 -0
- package/dist/dashboard/static.d.ts +9 -0
- package/dist/dashboard/static.d.ts.map +1 -0
- package/dist/dashboard/static.js +54 -0
- package/dist/dashboard/static.js.map +1 -0
- package/dist/dashboard/subagent-settings.d.ts +26 -0
- package/dist/dashboard/subagent-settings.d.ts.map +1 -0
- package/dist/dashboard/subagent-settings.js +52 -0
- package/dist/dashboard/subagent-settings.js.map +1 -0
- package/dist/dashboard/telefunc-serve.d.ts +118 -0
- package/dist/dashboard/telefunc-serve.d.ts.map +1 -0
- package/dist/dashboard/telefunc-serve.js +108 -0
- package/dist/dashboard/telefunc-serve.js.map +1 -0
- package/dist/dashboard/tickets.d.ts +29 -0
- package/dist/dashboard/tickets.d.ts.map +1 -0
- package/dist/dashboard/tickets.js +38 -0
- package/dist/dashboard/tickets.js.map +1 -0
- package/dist/dashboard/types.d.ts +109 -0
- package/dist/dashboard/types.d.ts.map +1 -0
- package/dist/dashboard/types.js +2 -0
- package/dist/dashboard/types.js.map +1 -0
- package/dist/dashboard/web-start-endpoints.d.ts +32 -0
- package/dist/dashboard/web-start-endpoints.d.ts.map +1 -0
- package/dist/dashboard/web-start-endpoints.js +75 -0
- package/dist/dashboard/web-start-endpoints.js.map +1 -0
- package/dist/dashboard/widget-serve.d.ts +15 -0
- package/dist/dashboard/widget-serve.d.ts.map +1 -0
- package/dist/dashboard/widget-serve.js +45 -0
- package/dist/dashboard/widget-serve.js.map +1 -0
- package/dist/dashboard-bundle/assets/client-CbBRB9m4.js +9 -0
- package/dist/dashboard-bundle/assets/jsx-runtime-By8HlURe.js +1 -0
- package/dist/dashboard-bundle/assets/main-B3HghPQy.css +2 -0
- package/dist/dashboard-bundle/assets/main-om0WOAku.js +140 -0
- package/dist/dashboard-bundle/assets/module-jASZmfSB.js +21 -0
- package/dist/dashboard-bundle/assets/react-CZI7_Jkm.js +1 -0
- package/dist/dashboard-bundle/assets/react-dom-cJyBB_A4.js +1 -0
- package/dist/dashboard-bundle/assets/rolldown-runtime-QTnfLwEv.js +1 -0
- package/dist/dashboard-bundle/host/module.js +1 -0
- package/dist/dashboard-bundle/host/react-dom-client.js +1 -0
- package/dist/dashboard-bundle/host/react-dom.js +1 -0
- package/dist/dashboard-bundle/host/react-jsx-runtime.js +1 -0
- package/dist/dashboard-bundle/host/react.js +1 -0
- package/dist/dashboard-bundle/index.html +42 -0
- package/dist/dashboard-bundle/logo-animated.svg +34 -0
- package/dist/dashboard-bundle/logo.svg +16 -0
- package/dist/dashboard-client/assets/chunks/chunk-BF9pJudf.js +4 -0
- package/dist/dashboard-client/assets/entries/entry-client-routing.CT1e9F0o.js +1 -0
- package/dist/dashboard-client/assets/entries/pages_index.CkW5JQ8X.js +428 -0
- package/dist/dashboard-client/assets/static/layouts_tailwind-00e65532.8OjKGAbA.css +2 -0
- package/dist/dashboard-client/index.html +27 -0
- package/dist/dashboard-client/index.pageContext.json +1 -0
- package/dist/dashboard-client/logo-animated.svg +34 -0
- package/dist/dashboard-client/logo.svg +16 -0
- package/dist/dashboard-rpc/context.d.ts +54 -0
- package/dist/dashboard-rpc/context.d.ts.map +1 -0
- package/dist/dashboard-rpc/context.js +102 -0
- package/dist/dashboard-rpc/context.js.map +1 -0
- package/dist/dashboard-rpc/control.d.ts +124 -0
- package/dist/dashboard-rpc/control.d.ts.map +1 -0
- package/dist/dashboard-rpc/control.js +284 -0
- package/dist/dashboard-rpc/control.js.map +1 -0
- package/dist/dashboard-rpc/control.telefunc.d.ts +176 -0
- package/dist/dashboard-rpc/control.telefunc.d.ts.map +1 -0
- package/dist/dashboard-rpc/control.telefunc.js +373 -0
- package/dist/dashboard-rpc/control.telefunc.js.map +1 -0
- package/dist/dashboard-rpc/devices.d.ts +9 -0
- package/dist/dashboard-rpc/devices.d.ts.map +1 -0
- package/dist/dashboard-rpc/devices.js +12 -0
- package/dist/dashboard-rpc/devices.js.map +1 -0
- package/dist/dashboard-rpc/devices.telefunc.d.ts +9 -0
- package/dist/dashboard-rpc/devices.telefunc.d.ts.map +1 -0
- package/dist/dashboard-rpc/devices.telefunc.js +12 -0
- package/dist/dashboard-rpc/devices.telefunc.js.map +1 -0
- package/dist/dashboard-rpc/events-tail.d.ts +68 -0
- package/dist/dashboard-rpc/events-tail.d.ts.map +1 -0
- package/dist/dashboard-rpc/events-tail.js +257 -0
- package/dist/dashboard-rpc/events-tail.js.map +1 -0
- package/dist/dashboard-rpc/events.d.ts +39 -0
- package/dist/dashboard-rpc/events.d.ts.map +1 -0
- package/dist/dashboard-rpc/events.js +47 -0
- package/dist/dashboard-rpc/events.js.map +1 -0
- package/dist/dashboard-rpc/events.telefunc.d.ts +36 -0
- package/dist/dashboard-rpc/events.telefunc.d.ts.map +1 -0
- package/dist/dashboard-rpc/events.telefunc.js +70 -0
- package/dist/dashboard-rpc/events.telefunc.js.map +1 -0
- package/dist/dashboard-rpc/index.d.ts +29 -0
- package/dist/dashboard-rpc/index.d.ts.map +1 -0
- package/dist/dashboard-rpc/index.js +40 -0
- package/dist/dashboard-rpc/index.js.map +1 -0
- package/dist/dashboard-rpc/models.d.ts +4 -0
- package/dist/dashboard-rpc/models.d.ts.map +1 -0
- package/dist/dashboard-rpc/models.js +8 -0
- package/dist/dashboard-rpc/models.js.map +1 -0
- package/dist/dashboard-rpc/modules.d.ts +43 -0
- package/dist/dashboard-rpc/modules.d.ts.map +1 -0
- package/dist/dashboard-rpc/modules.js +77 -0
- package/dist/dashboard-rpc/modules.js.map +1 -0
- package/dist/dashboard-rpc/preferences.d.ts +41 -0
- package/dist/dashboard-rpc/preferences.d.ts.map +1 -0
- package/dist/dashboard-rpc/preferences.js +65 -0
- package/dist/dashboard-rpc/preferences.js.map +1 -0
- package/dist/dashboard-rpc/preferences.telefunc.d.ts +97 -0
- package/dist/dashboard-rpc/preferences.telefunc.d.ts.map +1 -0
- package/dist/dashboard-rpc/preferences.telefunc.js +157 -0
- package/dist/dashboard-rpc/preferences.telefunc.js.map +1 -0
- package/dist/dashboard-rpc/projects.d.ts +59 -0
- package/dist/dashboard-rpc/projects.d.ts.map +1 -0
- package/dist/dashboard-rpc/projects.js +87 -0
- package/dist/dashboard-rpc/projects.js.map +1 -0
- package/dist/dashboard-rpc/projects.telefunc.d.ts +56 -0
- package/dist/dashboard-rpc/projects.telefunc.d.ts.map +1 -0
- package/dist/dashboard-rpc/projects.telefunc.js +96 -0
- package/dist/dashboard-rpc/projects.telefunc.js.map +1 -0
- package/dist/dashboard-rpc/quota.d.ts +4 -0
- package/dist/dashboard-rpc/quota.d.ts.map +1 -0
- package/dist/dashboard-rpc/quota.js +15 -0
- package/dist/dashboard-rpc/quota.js.map +1 -0
- package/dist/dashboard-rpc/quota.telefunc.d.ts +40 -0
- package/dist/dashboard-rpc/quota.telefunc.d.ts.map +1 -0
- package/dist/dashboard-rpc/quota.telefunc.js +84 -0
- package/dist/dashboard-rpc/quota.telefunc.js.map +1 -0
- package/dist/dashboard-rpc/reads.d.ts +185 -0
- package/dist/dashboard-rpc/reads.d.ts.map +1 -0
- package/dist/dashboard-rpc/reads.js +370 -0
- package/dist/dashboard-rpc/reads.js.map +1 -0
- package/dist/dashboard-rpc/reads.telefunc.d.ts +197 -0
- package/dist/dashboard-rpc/reads.telefunc.d.ts.map +1 -0
- package/dist/dashboard-rpc/reads.telefunc.js +403 -0
- package/dist/dashboard-rpc/reads.telefunc.js.map +1 -0
- package/dist/dashboard-rpc/register.d.ts +18 -0
- package/dist/dashboard-rpc/register.d.ts.map +1 -0
- package/dist/dashboard-rpc/register.js +66 -0
- package/dist/dashboard-rpc/register.js.map +1 -0
- package/dist/dashboard-rpc/relay-agent.d.ts +9 -0
- package/dist/dashboard-rpc/relay-agent.d.ts.map +1 -0
- package/dist/dashboard-rpc/relay-agent.js +21 -0
- package/dist/dashboard-rpc/relay-agent.js.map +1 -0
- package/dist/dashboard-rpc/relay-dispatch.d.ts +9 -0
- package/dist/dashboard-rpc/relay-dispatch.d.ts.map +1 -0
- package/dist/dashboard-rpc/relay-dispatch.js +24 -0
- package/dist/dashboard-rpc/relay-dispatch.js.map +1 -0
- package/dist/dashboard-rpc/relay-run.d.ts +9 -0
- package/dist/dashboard-rpc/relay-run.d.ts.map +1 -0
- package/dist/dashboard-rpc/relay-run.js +21 -0
- package/dist/dashboard-rpc/relay-run.js.map +1 -0
- package/dist/dashboard-rpc/stream-channel.d.ts +23 -0
- package/dist/dashboard-rpc/stream-channel.d.ts.map +1 -0
- package/dist/dashboard-rpc/stream-channel.js +52 -0
- package/dist/dashboard-rpc/stream-channel.js.map +1 -0
- package/dist/dashboard-rpc/stream-forward.d.ts +17 -0
- package/dist/dashboard-rpc/stream-forward.d.ts.map +1 -0
- package/dist/dashboard-rpc/stream-forward.js +38 -0
- package/dist/dashboard-rpc/stream-forward.js.map +1 -0
- package/dist/dashboard-rpc/subagents.d.ts +12 -0
- package/dist/dashboard-rpc/subagents.d.ts.map +1 -0
- package/dist/dashboard-rpc/subagents.js +13 -0
- package/dist/dashboard-rpc/subagents.js.map +1 -0
- package/dist/dashboard-rpc/test-context.d.ts +23 -0
- package/dist/dashboard-rpc/test-context.d.ts.map +1 -0
- package/dist/dashboard-rpc/test-context.js +42 -0
- package/dist/dashboard-rpc/test-context.js.map +1 -0
- package/dist/dashboard-rpc/widgets.d.ts +33 -0
- package/dist/dashboard-rpc/widgets.d.ts.map +1 -0
- package/dist/dashboard-rpc/widgets.js +54 -0
- package/dist/dashboard-rpc/widgets.js.map +1 -0
- package/dist/data-branch.d.ts +120 -0
- package/dist/data-branch.d.ts.map +1 -0
- package/dist/data-branch.js +319 -0
- package/dist/data-branch.js.map +1 -0
- package/dist/discord/bot.d.ts +61 -0
- package/dist/discord/bot.d.ts.map +1 -0
- package/dist/discord/bot.js +94 -0
- package/dist/discord/bot.js.map +1 -0
- package/dist/discord/gateway.d.ts +137 -0
- package/dist/discord/gateway.d.ts.map +1 -0
- package/dist/discord/gateway.js +315 -0
- package/dist/discord/gateway.js.map +1 -0
- package/dist/discord/live-run.d.ts +31 -0
- package/dist/discord/live-run.d.ts.map +1 -0
- package/dist/discord/live-run.js +57 -0
- package/dist/discord/live-run.js.map +1 -0
- package/dist/discord/reply-mirror.d.ts +83 -0
- package/dist/discord/reply-mirror.d.ts.map +1 -0
- package/dist/discord/reply-mirror.js +84 -0
- package/dist/discord/reply-mirror.js.map +1 -0
- package/dist/discord/rest.d.ts +20 -0
- package/dist/discord/rest.d.ts.map +1 -0
- package/dist/discord/rest.js +41 -0
- package/dist/discord/rest.js.map +1 -0
- package/dist/discord/routing.d.ts +81 -0
- package/dist/discord/routing.d.ts.map +1 -0
- package/dist/discord/routing.js +91 -0
- package/dist/discord/routing.js.map +1 -0
- package/dist/discord-credentials-store.d.ts +14 -0
- package/dist/discord-credentials-store.d.ts.map +1 -0
- package/dist/discord-credentials-store.js +53 -0
- package/dist/discord-credentials-store.js.map +1 -0
- package/dist/discord-credentials.d.ts +80 -0
- package/dist/discord-credentials.d.ts.map +1 -0
- package/dist/discord-credentials.js +55 -0
- package/dist/discord-credentials.js.map +1 -0
- package/dist/driver/actions-zip.d.ts +2 -0
- package/dist/driver/actions-zip.d.ts.map +1 -0
- package/dist/driver/actions-zip.js +70 -0
- package/dist/driver/actions-zip.js.map +1 -0
- package/dist/driver/actions.d.ts +130 -0
- package/dist/driver/actions.d.ts.map +1 -0
- package/dist/driver/actions.js +261 -0
- package/dist/driver/actions.js.map +1 -0
- package/dist/driver/agent-cli.d.ts +57 -0
- package/dist/driver/agent-cli.d.ts.map +1 -0
- package/dist/driver/agent-cli.js +134 -0
- package/dist/driver/agent-cli.js.map +1 -0
- package/dist/driver/child-registry.d.ts +25 -0
- package/dist/driver/child-registry.d.ts.map +1 -0
- package/dist/driver/child-registry.js +53 -0
- package/dist/driver/child-registry.js.map +1 -0
- package/dist/driver/claude-code-quota.d.ts +40 -0
- package/dist/driver/claude-code-quota.d.ts.map +1 -0
- package/dist/driver/claude-code-quota.js +144 -0
- package/dist/driver/claude-code-quota.js.map +1 -0
- package/dist/driver/claude-code.d.ts +104 -0
- package/dist/driver/claude-code.d.ts.map +1 -0
- package/dist/driver/claude-code.js +314 -0
- package/dist/driver/claude-code.js.map +1 -0
- package/dist/driver/cli-session.d.ts +57 -0
- package/dist/driver/cli-session.d.ts.map +1 -0
- package/dist/driver/cli-session.js +134 -0
- package/dist/driver/cli-session.js.map +1 -0
- package/dist/driver/cloud.d.ts +109 -0
- package/dist/driver/cloud.d.ts.map +1 -0
- package/dist/driver/cloud.js +232 -0
- package/dist/driver/cloud.js.map +1 -0
- package/dist/driver/codex.d.ts +99 -0
- package/dist/driver/codex.d.ts.map +1 -0
- package/dist/driver/codex.js +190 -0
- package/dist/driver/codex.js.map +1 -0
- package/dist/driver/fake.d.ts +54 -0
- package/dist/driver/fake.d.ts.map +1 -0
- package/dist/driver/fake.js +73 -0
- package/dist/driver/fake.js.map +1 -0
- package/dist/driver/index.d.ts +10 -0
- package/dist/driver/index.d.ts.map +1 -0
- package/dist/driver/index.js +14 -0
- package/dist/driver/index.js.map +1 -0
- package/dist/driver/session-support.d.ts +14 -0
- package/dist/driver/session-support.d.ts.map +1 -0
- package/dist/driver/session-support.js +37 -0
- package/dist/driver/session-support.js.map +1 -0
- package/dist/driver/types.d.ts +310 -0
- package/dist/driver/types.d.ts.map +1 -0
- package/dist/driver/types.js +5 -0
- package/dist/driver/types.js.map +1 -0
- package/dist/driver-cli.d.ts +61 -0
- package/dist/driver-cli.d.ts.map +1 -0
- package/dist/driver-cli.js +66 -0
- package/dist/driver-cli.js.map +1 -0
- package/dist/driver-names.d.ts +22 -0
- package/dist/driver-names.d.ts.map +1 -0
- package/dist/driver-names.js +29 -0
- package/dist/driver-names.js.map +1 -0
- package/dist/error-message.d.ts +8 -0
- package/dist/error-message.d.ts.map +1 -0
- package/dist/error-message.js +10 -0
- package/dist/error-message.js.map +1 -0
- package/dist/event-stream.d.ts +33 -0
- package/dist/event-stream.d.ts.map +1 -0
- package/dist/event-stream.js +104 -0
- package/dist/event-stream.js.map +1 -0
- package/dist/events.d.ts +236 -0
- package/dist/events.d.ts.map +1 -0
- package/dist/events.js +5 -0
- package/dist/events.js.map +1 -0
- package/dist/fake-script.d.ts +15 -0
- package/dist/fake-script.d.ts.map +1 -0
- package/dist/fake-script.js +58 -0
- package/dist/fake-script.js.map +1 -0
- package/dist/format-bytes.d.ts +3 -0
- package/dist/format-bytes.d.ts.map +1 -0
- package/dist/format-bytes.js +18 -0
- package/dist/format-bytes.js.map +1 -0
- package/dist/framework-dir.d.ts +11 -0
- package/dist/framework-dir.d.ts.map +1 -0
- package/dist/framework-dir.js +11 -0
- package/dist/framework-dir.js.map +1 -0
- package/dist/framework-gitignore.d.ts +12 -0
- package/dist/framework-gitignore.d.ts.map +1 -0
- package/dist/framework-gitignore.js +19 -0
- package/dist/framework-gitignore.js.map +1 -0
- package/dist/gate-keepalive.d.ts +47 -0
- package/dist/gate-keepalive.d.ts.map +1 -0
- package/dist/gate-keepalive.js +62 -0
- package/dist/gate-keepalive.js.map +1 -0
- package/dist/git-exclude.d.ts +11 -0
- package/dist/git-exclude.d.ts.map +1 -0
- package/dist/git-exclude.js +23 -0
- package/dist/git-exclude.js.map +1 -0
- package/dist/handoff-level.d.ts +56 -0
- package/dist/handoff-level.d.ts.map +1 -0
- package/dist/handoff-level.js +62 -0
- package/dist/handoff-level.js.map +1 -0
- package/dist/has-remote.d.ts +8 -0
- package/dist/has-remote.d.ts.map +1 -0
- package/dist/has-remote.js +10 -0
- package/dist/has-remote.js.map +1 -0
- package/dist/host-exec.d.ts +21 -0
- package/dist/host-exec.d.ts.map +1 -0
- package/dist/host-exec.js +30 -0
- package/dist/host-exec.js.map +1 -0
- package/dist/index.d.ts +41 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +16 -0
- package/dist/index.js.map +1 -0
- package/dist/install.d.ts +29 -0
- package/dist/install.d.ts.map +1 -0
- package/dist/install.js +40 -0
- package/dist/install.js.map +1 -0
- package/dist/jsonl-tail.d.ts +59 -0
- package/dist/jsonl-tail.d.ts.map +1 -0
- package/dist/jsonl-tail.js +152 -0
- package/dist/jsonl-tail.js.map +1 -0
- package/dist/layout.d.ts +41 -0
- package/dist/layout.d.ts.map +1 -0
- package/dist/layout.js +69 -0
- package/dist/layout.js.map +1 -0
- package/dist/logs.d.ts +73 -0
- package/dist/logs.d.ts.map +1 -0
- package/dist/logs.js +218 -0
- package/dist/logs.js.map +1 -0
- package/dist/loopback-host.d.ts +20 -0
- package/dist/loopback-host.d.ts.map +1 -0
- package/dist/loopback-host.js +31 -0
- package/dist/loopback-host.js.map +1 -0
- package/dist/maintenance.d.ts +90 -0
- package/dist/maintenance.d.ts.map +1 -0
- package/dist/maintenance.js +141 -0
- package/dist/maintenance.js.map +1 -0
- package/dist/merged-worktrees.d.ts +74 -0
- package/dist/merged-worktrees.d.ts.map +1 -0
- package/dist/merged-worktrees.js +84 -0
- package/dist/merged-worktrees.js.map +1 -0
- package/dist/module-server.d.ts +56 -0
- package/dist/module-types/dashboard/components/DiffStat.d.ts +6 -0
- package/dist/module-types/dashboard/components/DriverModelMenu.d.ts +23 -0
- package/dist/module-types/dashboard/components/LinkActions.d.ts +26 -0
- package/dist/module-types/dashboard/components/Markdown.d.ts +4 -0
- package/dist/module-types/dashboard/components/SettingsRows.d.ts +37 -0
- package/dist/module-types/dashboard/components/StartAgentButton.d.ts +39 -0
- package/dist/module-types/dashboard/components/ui/badge.d.ts +2 -0
- package/dist/module-types/dashboard/components/ui/button.d.ts +10 -0
- package/dist/module-types/dashboard/components/ui/card.d.ts +5 -0
- package/dist/module-types/dashboard/components/ui/checkbox.d.ts +7 -0
- package/dist/module-types/dashboard/components/ui/dropdown-menu.d.ts +16 -0
- package/dist/module-types/dashboard/components/ui/input.d.ts +2 -0
- package/dist/module-types/dashboard/components/ui/option-label.d.ts +4 -0
- package/dist/module-types/dashboard/components/ui/popover.d.ts +8 -0
- package/dist/module-types/dashboard/components/ui/scroll-area.d.ts +10 -0
- package/dist/module-types/dashboard/components/ui/separator.d.ts +3 -0
- package/dist/module-types/dashboard/components/ui/skeleton.d.ts +2 -0
- package/dist/module-types/dashboard/components/ui/slider.d.ts +9 -0
- package/dist/module-types/dashboard/components/ui/tooltip.d.ts +11 -0
- package/dist/module-types/dashboard/lib/agent-settings.d.ts +2 -0
- package/dist/module-types/dashboard/lib/draft-handoff.d.ts +15 -0
- package/dist/module-types/dashboard/lib/format-date.d.ts +51 -0
- package/dist/module-types/dashboard/lib/host-services.d.ts +12 -0
- package/dist/module-types/dashboard/lib/models.d.ts +24 -0
- package/dist/module-types/dashboard/lib/route.d.ts +37 -0
- package/dist/module-types/dashboard/lib/rpc.d.ts +31 -0
- package/dist/module-types/dashboard/lib/use-action.d.ts +25 -0
- package/dist/module-types/dashboard/lib/use-async.d.ts +45 -0
- package/dist/module-types/dashboard/lib/use-modules.d.ts +78 -0
- package/dist/module-types/dashboard/lib/utils.d.ts +3 -0
- package/dist/module-types/dashboard/module/index.d.ts +335 -0
- package/dist/module-types/dashboard/rpc/models.d.ts +2 -0
- package/dist/module-types/dashboard/rpc/modules.d.ts +5 -0
- package/dist/module-types/src/agent-id.d.ts +12 -0
- package/dist/module-types/src/agent-locks.d.ts +2 -0
- package/dist/module-types/src/agent-view.d.ts +38 -0
- package/dist/module-types/src/bridge-browser.d.ts +216 -0
- package/dist/module-types/src/browser-stream.d.ts +19 -0
- package/dist/module-types/src/browser.d.ts +15 -0
- package/dist/module-types/src/built-in.d.ts +28 -0
- package/dist/module-types/src/client.d.ts +15 -0
- package/dist/module-types/src/cloud-run-state.d.ts +26 -0
- package/dist/module-types/src/dashboard/activity.d.ts +40 -0
- package/dist/module-types/src/dashboard/agent-handoff.d.ts +243 -0
- package/dist/module-types/src/dashboard/agent-tree.d.ts +105 -0
- package/dist/module-types/src/dashboard/bridge-endpoints.d.ts +157 -0
- package/dist/module-types/src/dashboard/bridge-question.d.ts +32 -0
- package/dist/module-types/src/dashboard/bridge-store.d.ts +178 -0
- package/dist/module-types/src/dashboard/cache.d.ts +46 -0
- package/dist/module-types/src/dashboard/content-type.d.ts +2 -0
- package/dist/module-types/src/dashboard/dashboard.d.ts +37 -0
- package/dist/module-types/src/dashboard/docs.d.ts +38 -0
- package/dist/module-types/src/dashboard/file-diff.d.ts +66 -0
- package/dist/module-types/src/dashboard/file-read.d.ts +41 -0
- package/dist/module-types/src/dashboard/file-status.d.ts +20 -0
- package/dist/module-types/src/dashboard/git-status.d.ts +43 -0
- package/dist/module-types/src/dashboard/http.d.ts +28 -0
- package/dist/module-types/src/dashboard/interventions.d.ts +66 -0
- package/dist/module-types/src/dashboard/keyed-watcher.d.ts +28 -0
- package/dist/module-types/src/dashboard/keys.d.ts +30 -0
- package/dist/module-types/src/dashboard/models.d.ts +24 -0
- package/dist/module-types/src/dashboard/module-host.d.ts +43 -0
- package/dist/module-types/src/dashboard/module-serve.d.ts +14 -0
- package/dist/module-types/src/dashboard/open-in-app.d.ts +42 -0
- package/dist/module-types/src/dashboard/open-questions.d.ts +44 -0
- package/dist/module-types/src/dashboard/overview.d.ts +77 -0
- package/dist/module-types/src/dashboard/projects.d.ts +99 -0
- package/dist/module-types/src/dashboard/pull-requests.d.ts +126 -0
- package/dist/module-types/src/dashboard/queue.d.ts +16 -0
- package/dist/module-types/src/dashboard/quota.d.ts +52 -0
- package/dist/module-types/src/dashboard/remote-run.d.ts +94 -0
- package/dist/module-types/src/dashboard/rpc-serve.d.ts +102 -0
- package/dist/module-types/src/dashboard/run-inbox.d.ts +30 -0
- package/dist/module-types/src/dashboard/scheduler-state.d.ts +72 -0
- package/dist/module-types/src/dashboard/subagent-settings.d.ts +25 -0
- package/dist/module-types/src/dashboard/types.d.ts +108 -0
- package/dist/module-types/src/dashboard-rpc/context.d.ts +53 -0
- package/dist/module-types/src/dashboard-rpc/control.d.ts +123 -0
- package/dist/module-types/src/dashboard-rpc/devices.d.ts +8 -0
- package/dist/module-types/src/dashboard-rpc/events-tail.d.ts +67 -0
- package/dist/module-types/src/dashboard-rpc/events.d.ts +38 -0
- package/dist/module-types/src/dashboard-rpc/index.d.ts +28 -0
- package/dist/module-types/src/dashboard-rpc/models.d.ts +3 -0
- package/dist/module-types/src/dashboard-rpc/modules.d.ts +42 -0
- package/dist/module-types/src/dashboard-rpc/preferences.d.ts +40 -0
- package/dist/module-types/src/dashboard-rpc/projects.d.ts +58 -0
- package/dist/module-types/src/dashboard-rpc/quota.d.ts +3 -0
- package/dist/module-types/src/dashboard-rpc/reads.d.ts +184 -0
- package/dist/module-types/src/dashboard-rpc/relay-agent.d.ts +8 -0
- package/dist/module-types/src/dashboard-rpc/stream-forward.d.ts +16 -0
- package/dist/module-types/src/dashboard-rpc/subagents.d.ts +11 -0
- package/dist/module-types/src/driver-names.d.ts +21 -0
- package/dist/module-types/src/error-message.d.ts +7 -0
- package/dist/module-types/src/event-stream.d.ts +32 -0
- package/dist/module-types/src/events.d.ts +235 -0
- package/dist/module-types/src/format-bytes.d.ts +2 -0
- package/dist/module-types/src/framework-dir.d.ts +10 -0
- package/dist/module-types/src/framework-gitignore.d.ts +11 -0
- package/dist/module-types/src/has-remote.d.ts +7 -0
- package/dist/module-types/src/index.d.ts +40 -0
- package/dist/module-types/src/jsonl-tail.d.ts +58 -0
- package/dist/module-types/src/loopback-host.d.ts +19 -0
- package/dist/module-types/src/node-fs.d.ts +32 -0
- package/dist/module-types/src/open-choices.d.ts +14 -0
- package/dist/module-types/src/pick-directory.d.ts +29 -0
- package/dist/module-types/src/preference-defaults.d.ts +42 -0
- package/dist/module-types/src/project-commands.d.ts +23 -0
- package/dist/module-types/src/project-errors.d.ts +55 -0
- package/dist/module-types/src/project-hooks.d.ts +129 -0
- package/dist/module-types/src/project-modules.d.ts +49 -0
- package/dist/module-types/src/project-presets.d.ts +29 -0
- package/dist/module-types/src/project.d.ts +28 -0
- package/dist/module-types/src/publish-levels.d.ts +32 -0
- package/dist/module-types/src/quota-boundary.d.ts +64 -0
- package/dist/module-types/src/quota-poller.d.ts +82 -0
- package/dist/module-types/src/registry.d.ts +220 -0
- package/dist/module-types/src/store/agent-checkout.d.ts +53 -0
- package/dist/module-types/src/store/agent-store.d.ts +266 -0
- package/dist/module-types/src/store/branches.d.ts +163 -0
- package/dist/module-types/src/store/git-host.d.ts +113 -0
- package/dist/module-types/src/store/index.d.ts +9 -0
- package/dist/module-types/src/store/provided.d.ts +16 -0
- package/dist/module-types/src/store/queue.d.ts +45 -0
- package/dist/module-types/src/store/repository.d.ts +32 -0
- package/dist/module-types/src/store/run-record.d.ts +21 -0
- package/dist/module-types/src/store/runs.d.ts +107 -0
- package/dist/module-types/src/store/tickets.d.ts +72 -0
- package/dist/module-types/src/subagent-settings.d.ts +26 -0
- package/dist/module-types/src/terminal.d.ts +3 -0
- package/dist/module-types/src/worktrees.d.ts +89 -0
- package/dist/module.css +50 -0
- package/dist/node-fs.d.ts +33 -0
- package/dist/node-fs.d.ts.map +1 -0
- package/dist/node-fs.js +57 -0
- package/dist/node-fs.js.map +1 -0
- package/dist/on-before-mergeable-prompt.d.ts +32 -0
- package/dist/on-before-mergeable-prompt.d.ts.map +1 -0
- package/dist/on-before-mergeable-prompt.js +26 -0
- package/dist/on-before-mergeable-prompt.js.map +1 -0
- package/dist/open-choices.d.ts +15 -0
- package/dist/open-choices.d.ts.map +1 -0
- package/dist/open-choices.js +31 -0
- package/dist/open-choices.js.map +1 -0
- package/dist/pick-directory.d.ts +30 -0
- package/dist/pick-directory.d.ts.map +1 -0
- package/dist/pick-directory.js +102 -0
- package/dist/pick-directory.js.map +1 -0
- package/dist/planned-quick-wins.d.ts +102 -0
- package/dist/planned-quick-wins.d.ts.map +1 -0
- package/dist/planned-quick-wins.js +171 -0
- package/dist/planned-quick-wins.js.map +1 -0
- package/dist/preference-defaults.d.ts +43 -0
- package/dist/preference-defaults.d.ts.map +1 -0
- package/dist/preference-defaults.js +34 -0
- package/dist/preference-defaults.js.map +1 -0
- package/dist/preflight.d.ts +77 -0
- package/dist/preflight.d.ts.map +1 -0
- package/dist/preflight.js +91 -0
- package/dist/preflight.js.map +1 -0
- package/dist/preset-catalog.d.ts +98 -0
- package/dist/preset-catalog.d.ts.map +1 -0
- package/dist/preset-catalog.js +129 -0
- package/dist/preset-catalog.js.map +1 -0
- package/dist/preset-prompt.d.ts +81 -0
- package/dist/preset-prompt.d.ts.map +1 -0
- package/dist/preset-prompt.js +51 -0
- package/dist/preset-prompt.js.map +1 -0
- package/dist/preset-registry.d.ts +32 -0
- package/dist/preset-registry.d.ts.map +1 -0
- package/dist/preset-registry.js +35 -0
- package/dist/preset-registry.js.map +1 -0
- package/dist/presets.d.ts +20 -0
- package/dist/presets.d.ts.map +1 -0
- package/dist/presets.js +33 -0
- package/dist/presets.js.map +1 -0
- package/dist/preview-runtime.d.ts +33 -0
- package/dist/preview-runtime.d.ts.map +1 -0
- package/dist/preview-runtime.js +96 -0
- package/dist/preview-runtime.js.map +1 -0
- package/dist/preview.d.ts +78 -0
- package/dist/preview.d.ts.map +1 -0
- package/dist/preview.js +301 -0
- package/dist/preview.js.map +1 -0
- package/dist/project-commands.d.ts +24 -0
- package/dist/project-commands.d.ts.map +1 -0
- package/dist/project-commands.js +57 -0
- package/dist/project-commands.js.map +1 -0
- package/dist/project-errors.d.ts +56 -0
- package/dist/project-errors.d.ts.map +1 -0
- package/dist/project-errors.js +49 -0
- package/dist/project-errors.js.map +1 -0
- package/dist/project-hooks.d.ts +130 -0
- package/dist/project-hooks.d.ts.map +1 -0
- package/dist/project-hooks.js +232 -0
- package/dist/project-hooks.js.map +1 -0
- package/dist/project-modules.d.ts +50 -0
- package/dist/project-modules.d.ts.map +1 -0
- package/dist/project-modules.js +110 -0
- package/dist/project-modules.js.map +1 -0
- package/dist/project-pass.d.ts +32 -0
- package/dist/project-pass.d.ts.map +1 -0
- package/dist/project-pass.js +45 -0
- package/dist/project-pass.js.map +1 -0
- package/dist/project-presets.d.ts +30 -0
- package/dist/project-presets.d.ts.map +1 -0
- package/dist/project-presets.js +74 -0
- package/dist/project-presets.js.map +1 -0
- package/dist/project-widgets.d.ts +46 -0
- package/dist/project-widgets.d.ts.map +1 -0
- package/dist/project-widgets.js +93 -0
- package/dist/project-widgets.js.map +1 -0
- package/dist/project.d.ts +29 -0
- package/dist/project.d.ts.map +1 -0
- package/dist/project.js +41 -0
- package/dist/project.js.map +1 -0
- package/dist/prompt-run.d.ts +104 -0
- package/dist/prompt-run.d.ts.map +1 -0
- package/dist/prompt-run.js +112 -0
- package/dist/prompt-run.js.map +1 -0
- package/dist/prompt-template.d.ts +16 -0
- package/dist/prompt-template.d.ts.map +1 -0
- package/dist/prompt-template.js +56 -0
- package/dist/prompt-template.js.map +1 -0
- package/dist/prompts.generated.d.ts +53 -0
- package/dist/prompts.generated.d.ts.map +1 -0
- package/dist/prompts.generated.js +55 -0
- package/dist/prompts.generated.js.map +1 -0
- package/dist/publish-levels.d.ts +33 -0
- package/dist/publish-levels.d.ts.map +1 -0
- package/dist/publish-levels.js +51 -0
- package/dist/publish-levels.js.map +1 -0
- package/dist/queue-promote.d.ts +70 -0
- package/dist/queue-promote.d.ts.map +1 -0
- package/dist/queue-promote.js +118 -0
- package/dist/queue-promote.js.map +1 -0
- package/dist/quota-boundary.d.ts +65 -0
- package/dist/quota-boundary.d.ts.map +1 -0
- package/dist/quota-boundary.js +135 -0
- package/dist/quota-boundary.js.map +1 -0
- package/dist/quota-poller.d.ts +83 -0
- package/dist/quota-poller.d.ts.map +1 -0
- package/dist/quota-poller.js +118 -0
- package/dist/quota-poller.js.map +1 -0
- package/dist/registry.d.ts +221 -0
- package/dist/registry.d.ts.map +1 -0
- package/dist/registry.js +348 -0
- package/dist/registry.js.map +1 -0
- package/dist/relay.d.ts +84 -0
- package/dist/relay.d.ts.map +1 -0
- package/dist/relay.js +199 -0
- package/dist/relay.js.map +1 -0
- package/dist/repos-directory.d.ts +19 -0
- package/dist/repos-directory.d.ts.map +1 -0
- package/dist/repos-directory.js +23 -0
- package/dist/repos-directory.js.map +1 -0
- package/dist/request-path.d.ts +10 -0
- package/dist/request-path.d.ts.map +1 -0
- package/dist/request-path.js +16 -0
- package/dist/request-path.js.map +1 -0
- package/dist/retired-project-settings.d.ts +43 -0
- package/dist/retired-project-settings.d.ts.map +1 -0
- package/dist/retired-project-settings.js +125 -0
- package/dist/retired-project-settings.js.map +1 -0
- package/dist/routine-locks.d.ts +53 -0
- package/dist/routine-locks.d.ts.map +1 -0
- package/dist/routine-locks.js +125 -0
- package/dist/routine-locks.js.map +1 -0
- package/dist/run-driver.d.ts +26 -0
- package/dist/run-driver.d.ts.map +1 -0
- package/dist/run-driver.js +17 -0
- package/dist/run-driver.js.map +1 -0
- package/dist/run-locks.d.ts +3 -0
- package/dist/run-locks.d.ts.map +1 -0
- package/dist/run-locks.js +39 -0
- package/dist/run-locks.js.map +1 -0
- package/dist/run-messages.d.ts +64 -0
- package/dist/run-messages.d.ts.map +1 -0
- package/dist/run-messages.js +76 -0
- package/dist/run-messages.js.map +1 -0
- package/dist/run-options.d.ts +53 -0
- package/dist/run-options.d.ts.map +1 -0
- package/dist/run-options.js +110 -0
- package/dist/run-options.js.map +1 -0
- package/dist/run-telemetry.d.ts +115 -0
- package/dist/run-telemetry.d.ts.map +1 -0
- package/dist/run-telemetry.js +137 -0
- package/dist/run-telemetry.js.map +1 -0
- package/dist/run-view.d.ts +109 -0
- package/dist/run-view.d.ts.map +1 -0
- package/dist/run-view.js +118 -0
- package/dist/run-view.js.map +1 -0
- package/dist/run.d.ts +261 -0
- package/dist/run.d.ts.map +1 -0
- package/dist/run.js +420 -0
- package/dist/run.js.map +1 -0
- package/dist/runtime-keys.d.ts +17 -0
- package/dist/runtime-keys.d.ts.map +1 -0
- package/dist/runtime-keys.js +17 -0
- package/dist/runtime-keys.js.map +1 -0
- package/dist/sandbox.d.ts +27 -0
- package/dist/sandbox.d.ts.map +1 -0
- package/dist/sandbox.js +63 -0
- package/dist/sandbox.js.map +1 -0
- package/dist/session-link.d.ts +19 -0
- package/dist/session-link.d.ts.map +1 -0
- package/dist/session-link.js +26 -0
- package/dist/session-link.js.map +1 -0
- package/dist/sessions.d.ts +77 -0
- package/dist/sessions.d.ts.map +1 -0
- package/dist/sessions.js +146 -0
- package/dist/sessions.js.map +1 -0
- package/dist/spike-locks.d.ts +75 -0
- package/dist/spike-locks.d.ts.map +1 -0
- package/dist/spike-locks.js +208 -0
- package/dist/spike-locks.js.map +1 -0
- package/dist/stale-branch.d.ts +21 -0
- package/dist/stale-branch.d.ts.map +1 -0
- package/dist/stale-branch.js +32 -0
- package/dist/stale-branch.js.map +1 -0
- package/dist/steps.d.ts +9 -0
- package/dist/steps.d.ts.map +1 -0
- package/dist/steps.js +13 -0
- package/dist/steps.js.map +1 -0
- package/dist/store/agent-checkout.d.ts +54 -0
- package/dist/store/agent-checkout.d.ts.map +1 -0
- package/dist/store/agent-checkout.js +61 -0
- package/dist/store/agent-checkout.js.map +1 -0
- package/dist/store/agent-store.d.ts +267 -0
- package/dist/store/agent-store.d.ts.map +1 -0
- package/dist/store/agent-store.js +190 -0
- package/dist/store/agent-store.js.map +1 -0
- package/dist/store/branches.d.ts +164 -0
- package/dist/store/branches.d.ts.map +1 -0
- package/dist/store/branches.js +187 -0
- package/dist/store/branches.js.map +1 -0
- package/dist/store/forge.d.ts +110 -0
- package/dist/store/forge.d.ts.map +1 -0
- package/dist/store/forge.js +97 -0
- package/dist/store/forge.js.map +1 -0
- package/dist/store/git-host.d.ts +114 -0
- package/dist/store/git-host.d.ts.map +1 -0
- package/dist/store/git-host.js +103 -0
- package/dist/store/git-host.js.map +1 -0
- package/dist/store/index.d.ts +10 -0
- package/dist/store/index.d.ts.map +1 -0
- package/dist/store/index.js +10 -0
- package/dist/store/index.js.map +1 -0
- package/dist/store/provided.d.ts +17 -0
- package/dist/store/provided.d.ts.map +1 -0
- package/dist/store/provided.js +37 -0
- package/dist/store/provided.js.map +1 -0
- package/dist/store/queue.d.ts +46 -0
- package/dist/store/queue.d.ts.map +1 -0
- package/dist/store/queue.js +61 -0
- package/dist/store/queue.js.map +1 -0
- package/dist/store/repository.d.ts +33 -0
- package/dist/store/repository.d.ts.map +1 -0
- package/dist/store/repository.js +25 -0
- package/dist/store/repository.js.map +1 -0
- package/dist/store/run-checkout.d.ts +33 -0
- package/dist/store/run-checkout.d.ts.map +1 -0
- package/dist/store/run-checkout.js +59 -0
- package/dist/store/run-checkout.js.map +1 -0
- package/dist/store/run-record.d.ts +22 -0
- package/dist/store/run-record.d.ts.map +1 -0
- package/dist/store/run-record.js +108 -0
- package/dist/store/run-record.js.map +1 -0
- package/dist/store/run-store.d.ts +501 -0
- package/dist/store/run-store.d.ts.map +1 -0
- package/dist/store/run-store.js +806 -0
- package/dist/store/run-store.js.map +1 -0
- package/dist/store/runs.d.ts +108 -0
- package/dist/store/runs.d.ts.map +1 -0
- package/dist/store/runs.js +146 -0
- package/dist/store/runs.js.map +1 -0
- package/dist/store/suspend.d.ts +38 -0
- package/dist/store/suspend.d.ts.map +1 -0
- package/dist/store/suspend.js +45 -0
- package/dist/store/suspend.js.map +1 -0
- package/dist/store/test-branches.d.ts +18 -0
- package/dist/store/test-branches.d.ts.map +1 -0
- package/dist/store/test-branches.js +59 -0
- package/dist/store/test-branches.js.map +1 -0
- package/dist/store/test-runs.d.ts +15 -0
- package/dist/store/test-runs.d.ts.map +1 -0
- package/dist/store/test-runs.js +37 -0
- package/dist/store/test-runs.js.map +1 -0
- package/dist/store/tickets.d.ts +73 -0
- package/dist/store/tickets.d.ts.map +1 -0
- package/dist/store/tickets.js +67 -0
- package/dist/store/tickets.js.map +1 -0
- package/dist/store/worktree-deps.d.ts +30 -0
- package/dist/store/worktree-deps.d.ts.map +1 -0
- package/dist/store/worktree-deps.js +115 -0
- package/dist/store/worktree-deps.js.map +1 -0
- package/dist/store/worktree.d.ts +194 -0
- package/dist/store/worktree.d.ts.map +1 -0
- package/dist/store/worktree.js +331 -0
- package/dist/store/worktree.js.map +1 -0
- package/dist/subagent-settings.d.ts +27 -0
- package/dist/subagent-settings.d.ts.map +1 -0
- package/dist/subagent-settings.js +35 -0
- package/dist/subagent-settings.js.map +1 -0
- package/dist/system-prompt-file.d.ts +18 -0
- package/dist/system-prompt-file.d.ts.map +1 -0
- package/dist/system-prompt-file.js +28 -0
- package/dist/system-prompt-file.js.map +1 -0
- package/dist/system-prompt.d.ts +148 -0
- package/dist/system-prompt.d.ts.map +1 -0
- package/dist/system-prompt.js +170 -0
- package/dist/system-prompt.js.map +1 -0
- package/dist/target-driver.d.ts +28 -0
- package/dist/target-driver.d.ts.map +1 -0
- package/dist/target-driver.js +18 -0
- package/dist/target-driver.js.map +1 -0
- package/dist/terminal.d.ts +4 -0
- package/dist/terminal.d.ts.map +1 -0
- package/dist/terminal.js +97 -0
- package/dist/terminal.js.map +1 -0
- package/dist/ticket-locks.d.ts +61 -0
- package/dist/ticket-locks.d.ts.map +1 -0
- package/dist/ticket-locks.js +137 -0
- package/dist/ticket-locks.js.map +1 -0
- package/dist/tickets-file.d.ts +7 -0
- package/dist/tickets-file.d.ts.map +1 -0
- package/dist/tickets-file.js +21 -0
- package/dist/tickets-file.js.map +1 -0
- package/dist/tickets.d.ts +18 -0
- package/dist/tickets.d.ts.map +1 -0
- package/dist/tickets.js +23 -0
- package/dist/tickets.js.map +1 -0
- package/dist/todo-loop.d.ts +110 -0
- package/dist/todo-loop.d.ts.map +1 -0
- package/dist/todo-loop.js +175 -0
- package/dist/todo-loop.js.map +1 -0
- package/dist/turn-gate.d.ts +144 -0
- package/dist/turn-gate.d.ts.map +1 -0
- package/dist/turn-gate.js +217 -0
- package/dist/turn-gate.js.map +1 -0
- package/dist/update-check.d.ts +44 -0
- package/dist/update-check.d.ts.map +1 -0
- package/dist/update-check.js +71 -0
- package/dist/update-check.js.map +1 -0
- package/dist/usage.d.ts +32 -0
- package/dist/usage.d.ts.map +1 -0
- package/dist/usage.js +46 -0
- package/dist/usage.js.map +1 -0
- package/dist/widget-types/dashboard/components/LinkActions.d.ts +26 -0
- package/dist/widget-types/dashboard/components/Markdown.d.ts +4 -0
- package/dist/widget-types/dashboard/components/StartAgentButton.d.ts +39 -0
- package/dist/widget-types/dashboard/components/ui/badge.d.ts +2 -0
- package/dist/widget-types/dashboard/components/ui/button.d.ts +10 -0
- package/dist/widget-types/dashboard/components/ui/card.d.ts +5 -0
- package/dist/widget-types/dashboard/components/ui/checkbox.d.ts +7 -0
- package/dist/widget-types/dashboard/components/ui/dropdown-menu.d.ts +16 -0
- package/dist/widget-types/dashboard/components/ui/input.d.ts +2 -0
- package/dist/widget-types/dashboard/components/ui/option-label.d.ts +4 -0
- package/dist/widget-types/dashboard/components/ui/popover.d.ts +8 -0
- package/dist/widget-types/dashboard/components/ui/scroll-area.d.ts +10 -0
- package/dist/widget-types/dashboard/components/ui/separator.d.ts +3 -0
- package/dist/widget-types/dashboard/components/ui/skeleton.d.ts +2 -0
- package/dist/widget-types/dashboard/components/ui/slider.d.ts +9 -0
- package/dist/widget-types/dashboard/components/ui/tooltip.d.ts +11 -0
- package/dist/widget-types/dashboard/lib/draft-handoff.d.ts +15 -0
- package/dist/widget-types/dashboard/lib/format-date.d.ts +51 -0
- package/dist/widget-types/dashboard/lib/host-services.d.ts +12 -0
- package/dist/widget-types/dashboard/lib/route.d.ts +24 -0
- package/dist/widget-types/dashboard/lib/rpc.d.ts +31 -0
- package/dist/widget-types/dashboard/lib/use-action.d.ts +25 -0
- package/dist/widget-types/dashboard/lib/use-async.d.ts +39 -0
- package/dist/widget-types/dashboard/lib/use-widgets.d.ts +42 -0
- package/dist/widget-types/dashboard/lib/utils.d.ts +3 -0
- package/dist/widget-types/dashboard/rpc/widgets.d.ts +4 -0
- package/dist/widget-types/dashboard/widget/index.d.ts +207 -0
- package/dist/widget-types/src/agent-id.d.ts +12 -0
- package/dist/widget-types/src/agent-locks.d.ts +2 -0
- package/dist/widget-types/src/agent-view.d.ts +38 -0
- package/dist/widget-types/src/bridge-browser.d.ts +216 -0
- package/dist/widget-types/src/browser-stream.d.ts +19 -0
- package/dist/widget-types/src/browser.d.ts +15 -0
- package/dist/widget-types/src/cli-exec.d.ts +35 -0
- package/dist/widget-types/src/cloud-run-state.d.ts +26 -0
- package/dist/widget-types/src/dashboard/activity.d.ts +40 -0
- package/dist/widget-types/src/dashboard/agent-handoff.d.ts +211 -0
- package/dist/widget-types/src/dashboard/agent-tree.d.ts +105 -0
- package/dist/widget-types/src/dashboard/bridge-endpoints.d.ts +157 -0
- package/dist/widget-types/src/dashboard/bridge-question.d.ts +32 -0
- package/dist/widget-types/src/dashboard/bridge-store.d.ts +178 -0
- package/dist/widget-types/src/dashboard/cache.d.ts +46 -0
- package/dist/widget-types/src/dashboard/content-type.d.ts +2 -0
- package/dist/widget-types/src/dashboard/dashboard.d.ts +37 -0
- package/dist/widget-types/src/dashboard/discord-webhook.d.ts +16 -0
- package/dist/widget-types/src/dashboard/docs.d.ts +38 -0
- package/dist/widget-types/src/dashboard/file-diff.d.ts +66 -0
- package/dist/widget-types/src/dashboard/file-read.d.ts +41 -0
- package/dist/widget-types/src/dashboard/file-status.d.ts +20 -0
- package/dist/widget-types/src/dashboard/gh.d.ts +130 -0
- package/dist/widget-types/src/dashboard/git-status.d.ts +32 -0
- package/dist/widget-types/src/dashboard/github.d.ts +10 -0
- package/dist/widget-types/src/dashboard/http.d.ts +28 -0
- package/dist/widget-types/src/dashboard/interventions.d.ts +66 -0
- package/dist/widget-types/src/dashboard/keys.d.ts +30 -0
- package/dist/widget-types/src/dashboard/models.d.ts +24 -0
- package/dist/widget-types/src/dashboard/open-in-app.d.ts +42 -0
- package/dist/widget-types/src/dashboard/open-questions.d.ts +52 -0
- package/dist/widget-types/src/dashboard/overview.d.ts +77 -0
- package/dist/widget-types/src/dashboard/projects.d.ts +89 -0
- package/dist/widget-types/src/dashboard/pull-requests.d.ts +126 -0
- package/dist/widget-types/src/dashboard/queue.d.ts +16 -0
- package/dist/widget-types/src/dashboard/quota.d.ts +59 -0
- package/dist/widget-types/src/dashboard/remote-run.d.ts +94 -0
- package/dist/widget-types/src/dashboard/rpc-serve.d.ts +102 -0
- package/dist/widget-types/src/dashboard/run-inbox.d.ts +30 -0
- package/dist/widget-types/src/dashboard/scheduler-state.d.ts +64 -0
- package/dist/widget-types/src/dashboard/tickets.d.ts +28 -0
- package/dist/widget-types/src/dashboard/types.d.ts +99 -0
- package/dist/widget-types/src/dashboard/widget-serve.d.ts +14 -0
- package/dist/widget-types/src/dashboard-rpc/context.d.ts +53 -0
- package/dist/widget-types/src/dashboard-rpc/control.d.ts +108 -0
- package/dist/widget-types/src/dashboard-rpc/devices.d.ts +8 -0
- package/dist/widget-types/src/dashboard-rpc/events-tail.d.ts +53 -0
- package/dist/widget-types/src/dashboard-rpc/events.d.ts +29 -0
- package/dist/widget-types/src/dashboard-rpc/index.d.ts +28 -0
- package/dist/widget-types/src/dashboard-rpc/models.d.ts +3 -0
- package/dist/widget-types/src/dashboard-rpc/preferences.d.ts +40 -0
- package/dist/widget-types/src/dashboard-rpc/projects.d.ts +54 -0
- package/dist/widget-types/src/dashboard-rpc/quota.d.ts +26 -0
- package/dist/widget-types/src/dashboard-rpc/reads.d.ts +227 -0
- package/dist/widget-types/src/dashboard-rpc/relay-agent.d.ts +8 -0
- package/dist/widget-types/src/dashboard-rpc/stream-forward.d.ts +16 -0
- package/dist/widget-types/src/dashboard-rpc/widgets.d.ts +32 -0
- package/dist/widget-types/src/discord-credentials.d.ts +79 -0
- package/dist/widget-types/src/driver-names.d.ts +21 -0
- package/dist/widget-types/src/error-message.d.ts +7 -0
- package/dist/widget-types/src/event-stream.d.ts +32 -0
- package/dist/widget-types/src/events.d.ts +235 -0
- package/dist/widget-types/src/framework-dir.d.ts +10 -0
- package/dist/widget-types/src/framework-gitignore.d.ts +11 -0
- package/dist/widget-types/src/index.d.ts +42 -0
- package/dist/widget-types/src/jsonl-tail.d.ts +54 -0
- package/dist/widget-types/src/loopback-host.d.ts +19 -0
- package/dist/widget-types/src/node-fs.d.ts +32 -0
- package/dist/widget-types/src/open-choices.d.ts +14 -0
- package/dist/widget-types/src/pick-directory.d.ts +29 -0
- package/dist/widget-types/src/preference-defaults.d.ts +53 -0
- package/dist/widget-types/src/project-commands.d.ts +23 -0
- package/dist/widget-types/src/project-errors.d.ts +43 -0
- package/dist/widget-types/src/project-hooks.d.ts +133 -0
- package/dist/widget-types/src/project-presets.d.ts +29 -0
- package/dist/widget-types/src/project-widgets.d.ts +45 -0
- package/dist/widget-types/src/project.d.ts +28 -0
- package/dist/widget-types/src/quota-boundary.d.ts +115 -0
- package/dist/widget-types/src/quota-poller.d.ts +82 -0
- package/dist/widget-types/src/registry.d.ts +210 -0
- package/dist/widget-types/src/store/agent-checkout.d.ts +46 -0
- package/dist/widget-types/src/store/agent-store.d.ts +237 -0
- package/dist/widget-types/src/store/branches.d.ts +133 -0
- package/dist/widget-types/src/store/forge.d.ts +109 -0
- package/dist/widget-types/src/store/git-host.d.ts +111 -0
- package/dist/widget-types/src/store/index.d.ts +9 -0
- package/dist/widget-types/src/store/provided.d.ts +16 -0
- package/dist/widget-types/src/store/queue.d.ts +45 -0
- package/dist/widget-types/src/store/run-record.d.ts +21 -0
- package/dist/widget-types/src/store/runs.d.ts +101 -0
- package/dist/widget-types/src/store/tickets.d.ts +72 -0
- package/dist/widget-types/src/tickets.d.ts +17 -0
- package/dist/widget-types/src/worktrees.d.ts +89 -0
- package/dist/widget.css +50 -0
- package/dist/worktrees.d.ts +90 -0
- package/dist/worktrees.d.ts.map +1 -0
- package/dist/worktrees.js +123 -0
- package/dist/worktrees.js.map +1 -0
- package/package.json +103 -3
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
import { type ProjectRecord } from '../registry.js';
|
|
2
|
+
import { type AgentMeta } from '../store/index.js';
|
|
3
|
+
import type { ProjectError } from '../project-errors.js';
|
|
4
|
+
/**
|
|
5
|
+
* The multi-project read side (#392): projects the daemon serves come from the registry (#390),
|
|
6
|
+
* and every read resolves a project id to that project's path before running the per-cwd reader
|
|
7
|
+
* underneath. One daemon serves them all, running as many agents per project as their own
|
|
8
|
+
* concurrency allows (#736), each in its own checkout.
|
|
9
|
+
*/
|
|
10
|
+
/** One project's summary for the Projects sidebar (#314). */
|
|
11
|
+
export interface ProjectSummary {
|
|
12
|
+
/** Registry id (stable, URL-safe). */
|
|
13
|
+
id: string;
|
|
14
|
+
/** Absolute repo path. */
|
|
15
|
+
path: string;
|
|
16
|
+
/** Display name (the path's basename). */
|
|
17
|
+
name: string;
|
|
18
|
+
/** True when the repo still has its `.the-framework/` marker. */
|
|
19
|
+
activated: boolean;
|
|
20
|
+
/** ISO timestamp of the project's newest activity: its most recent session. */
|
|
21
|
+
lastActivityAt?: string;
|
|
22
|
+
/**
|
|
23
|
+
* What the daemon's background jobs currently find wrong with the project (#1500), oldest
|
|
24
|
+
* first — absent when nothing is. Not part of the summary itself: the dashboard's project
|
|
25
|
+
* list attaches it from the daemon's error state.
|
|
26
|
+
*/
|
|
27
|
+
errors?: ProjectError[];
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* A projection over the registered projects, together with the projects it could actually see.
|
|
31
|
+
*
|
|
32
|
+
* A project whose sources cannot be read contributes no items — which is exactly what a project
|
|
33
|
+
* with nothing waiting contributes. `whole` is what tells the two apart (#1623). Only a caller
|
|
34
|
+
* that keeps a baseline of what it has already announced needs the distinction; the panels that
|
|
35
|
+
* simply render the list read `items` and ignore it.
|
|
36
|
+
*/
|
|
37
|
+
export interface ProjectionRead<T> {
|
|
38
|
+
/** What was found. Possibly only part of it, when some project could not be read. */
|
|
39
|
+
items: T[];
|
|
40
|
+
/** The ids of the projects every source answered for, so their share of `items` is all of it. */
|
|
41
|
+
whole: string[];
|
|
42
|
+
}
|
|
43
|
+
/** Injectable readers so {@link summarizeProject} is unit-testable off disk. */
|
|
44
|
+
export interface SummarizeDeps {
|
|
45
|
+
isActivated?: (path: string) => Promise<boolean>;
|
|
46
|
+
/** The project's runs (live + archived), newest-first. Defaults to {@link readAllAgents}. */
|
|
47
|
+
readAgents?: (path: string) => Promise<AgentMeta[]>;
|
|
48
|
+
}
|
|
49
|
+
/** A project's runs, live prepended to the archived history. Forgiving: a failed read is `[]`. */
|
|
50
|
+
/**
|
|
51
|
+
* Derive a {@link ProjectSummary} from a registry record: its display name, whether
|
|
52
|
+
* it is still activated, and its last activity. Forgiving: a failed read reads as an
|
|
53
|
+
* inactive project with no activity, never a throw.
|
|
54
|
+
*
|
|
55
|
+
* Activity is the sessions themselves (B3). It used to be the newest of those and the latest
|
|
56
|
+
* `LOGS.md` entry — a committed markdown re-narration of the same sessions, which could only ever
|
|
57
|
+
* be older than the agent it described.
|
|
58
|
+
*/
|
|
59
|
+
export declare function summarizeProject(record: ProjectRecord, deps?: SummarizeDeps): Promise<ProjectSummary>;
|
|
60
|
+
/**
|
|
61
|
+
* Reads the registry to serve the multi-project endpoints. The dashboard server
|
|
62
|
+
* holds one of these; the daemon uses the default (the real registry), tests pass
|
|
63
|
+
* a fake so the server is exercised without touching the user's registry.
|
|
64
|
+
*/
|
|
65
|
+
export interface ProjectsProvider {
|
|
66
|
+
/** Every registered project, summarized, for the projects read. */
|
|
67
|
+
list(): Promise<ProjectSummary[]>;
|
|
68
|
+
/** The absolute path for a registry id, or `undefined` when unknown. */
|
|
69
|
+
resolvePath(id: string): Promise<string | undefined>;
|
|
70
|
+
}
|
|
71
|
+
/** Injectable readers so {@link defaultProjectsProvider} is unit-testable off the user's registry. */
|
|
72
|
+
export interface ProviderDeps {
|
|
73
|
+
/** The registry's records. Defaults to {@link listProjects}, forgiving. */
|
|
74
|
+
listRecords?: () => Promise<ProjectRecord[]>;
|
|
75
|
+
/** Whether a project's directory is on disk. Defaults to a directory stat. */
|
|
76
|
+
isDirectory?: (path: string) => Promise<boolean>;
|
|
77
|
+
/** Defaults to {@link summarizeProject}. */
|
|
78
|
+
summarize?: (record: ProjectRecord) => Promise<ProjectSummary>;
|
|
79
|
+
}
|
|
80
|
+
/**
|
|
81
|
+
* A {@link ProjectsProvider} backed by the global registry (#390).
|
|
82
|
+
*
|
|
83
|
+
* Only projects whose directory is still on disk are served (#1140): a repo the user renamed or
|
|
84
|
+
* deleted used to stay in the sidebar as a grey "not activated" entry with no files (#1142),
|
|
85
|
+
* indistinguishable from a repo that merely lost its marker, and with nothing to click to make it
|
|
86
|
+
* go away. The registry itself is left alone — the record is skipped, not pruned — so a directory
|
|
87
|
+
* that comes back (renamed back, a volume remounted) is a project again on the next read.
|
|
88
|
+
*/
|
|
89
|
+
export declare function defaultProjectsProvider(deps?: ProviderDeps): ProjectsProvider;
|
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
import { type GitHostFor, type GitHostRequest } from '../store/git-host.js';
|
|
2
|
+
import { type Cached } from './cache.js';
|
|
3
|
+
/**
|
|
4
|
+
* The pull requests the dashboard reads (#1820), in one place, all through the project's git host
|
|
5
|
+
* provider (`../store/git-host.ts`): a branch's request, a branch's whole request history, and the
|
|
6
|
+
* project's open requests. Reads only: opening and landing are `agent-handoff.ts`'s, through the
|
|
7
|
+
* same provider. The framework runs no git host tool; a project with no git host package has no pull
|
|
8
|
+
* requests, and every read here answers "none" for it.
|
|
9
|
+
*
|
|
10
|
+
* The shapes are the framework's own ({@link LinkedPr}, {@link OpenPr}), copied out of what the
|
|
11
|
+
* provider answers rather than passed through, so a field a provider adds cannot leak into what
|
|
12
|
+
* callers store.
|
|
13
|
+
*/
|
|
14
|
+
/** The PR opened for a branch, when there is one. */
|
|
15
|
+
export interface LinkedPr {
|
|
16
|
+
number: number;
|
|
17
|
+
url: string;
|
|
18
|
+
/** OPEN / MERGED / CLOSED, as the git host reports it; UNKNOWN for a recorded request no live read confirmed. */
|
|
19
|
+
state: string;
|
|
20
|
+
title: string;
|
|
21
|
+
/** ISO creation time, when the read included it: what tells one agent's PR from a predecessor's. */
|
|
22
|
+
createdAt?: string;
|
|
23
|
+
/**
|
|
24
|
+
* The head commit the PR covers, when the read included it (#1512): what tells "the branch's
|
|
25
|
+
* PR already landed everything" from "the session kept working after its PR merged".
|
|
26
|
+
*/
|
|
27
|
+
headRefOid?: string;
|
|
28
|
+
/** The commit a merged PR landed as on the base branch, when the git host said. */
|
|
29
|
+
mergeCommit?: string;
|
|
30
|
+
}
|
|
31
|
+
/** An open PR on the interventions queue (#632). */
|
|
32
|
+
export interface OpenPr {
|
|
33
|
+
number: number;
|
|
34
|
+
title: string;
|
|
35
|
+
url: string;
|
|
36
|
+
/**
|
|
37
|
+
* Draft PRs are generally left off the queue: a draft is not asking for review.
|
|
38
|
+
*
|
|
39
|
+
* The exception is a draft the framework opened for itself (#1102), which {@link headRefName}
|
|
40
|
+
* is what tells apart.
|
|
41
|
+
*/
|
|
42
|
+
isDraft: boolean;
|
|
43
|
+
/** The branch the PR is from, so a session's own PR can be recognised as ours (#1102). */
|
|
44
|
+
headRefName?: string;
|
|
45
|
+
createdAt?: string;
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* A best-effort PR lookup, for a named branch or for the checkout's current branch. One type for
|
|
49
|
+
* both: the named-branch form is the general one, and "the current branch" is just omitting it.
|
|
50
|
+
*/
|
|
51
|
+
export type PrLookup = (cwd: string, branch?: string) => Promise<LinkedPr | undefined>;
|
|
52
|
+
/**
|
|
53
|
+
* The branch-addressed form, for a caller that always names one (#799): a finished session's
|
|
54
|
+
* worktree may be gone, so "the current branch" would silently be the project's, not the
|
|
55
|
+
* session's. Narrower than {@link PrLookup} on purpose, so that invariant is in the type.
|
|
56
|
+
*/
|
|
57
|
+
export type BranchPrLookup = (cwd: string, branch: string) => Promise<LinkedPr | undefined>;
|
|
58
|
+
/** Lists a checkout's open PRs; rejects when the git host could not answer. */
|
|
59
|
+
export type PrLister = (cwd: string) => Promise<OpenPr[]>;
|
|
60
|
+
/** A provider's request as the framework keeps it: the state upper-cased, the head as the request's commit. */
|
|
61
|
+
export declare function linkedPrOf(request: GitHostRequest): LinkedPr;
|
|
62
|
+
/** A provider's open request as the interventions queue keeps it. */
|
|
63
|
+
export declare function openPrOf(request: GitHostRequest): OpenPr;
|
|
64
|
+
/**
|
|
65
|
+
* Every PR a branch name has ever had, newest first (#1251).
|
|
66
|
+
*
|
|
67
|
+
* The newest request for a head *in any state* is what a single view would answer, so a session
|
|
68
|
+
* whose prompt pins its branch name (`the-framework/triage-quick`) inherits a predecessor's
|
|
69
|
+
* merged PR as its own. The list form keeps the whole history so {@link pickAgentPr} can decide
|
|
70
|
+
* which entry, if any, belongs to the agent asking. Resolves `[]` when the project has no git host or
|
|
71
|
+
* the git host could not answer — indistinguishable from "no PRs", which is what every caller would do
|
|
72
|
+
* with a failure anyway.
|
|
73
|
+
*/
|
|
74
|
+
export declare function prsForBranch(cwd: string, branch: string, gitHost?: GitHostFor): Promise<LinkedPr[]>;
|
|
75
|
+
/**
|
|
76
|
+
* {@link prsForBranch} for a caller about to *open* a PR (#1601): a listing the git host could not
|
|
77
|
+
* answer throws instead of reading as "no PRs", because "none" and "could not tell" must not look
|
|
78
|
+
* alike there — the difference is a second draft PR on a branch that already has one. A project
|
|
79
|
+
* with no git host has none, truthfully.
|
|
80
|
+
*/
|
|
81
|
+
export declare function prsForBranchOrThrow(cwd: string, branch: string, gitHost?: GitHostFor): Promise<LinkedPr[]>;
|
|
82
|
+
/** The newest PR of `branch`, in any state, or undefined when it has none or the git host cannot tell. */
|
|
83
|
+
export declare function prView(cwd: string, branch: string, gitHost?: GitHostFor): Promise<LinkedPr | undefined>;
|
|
84
|
+
/**
|
|
85
|
+
* The cached form of {@link prView} (#1028), and what the dashboard's panels use.
|
|
86
|
+
*
|
|
87
|
+
* A PR lookup costs a process where the git reads beside it cost ten milliseconds, and the answer
|
|
88
|
+
* changes about as often as someone opens a PR. Cached per checkout and branch, shared between
|
|
89
|
+
* the worktree bar and the handoff summary, and refreshed behind whoever asks. `pending` says the
|
|
90
|
+
* answer is not known yet rather than that there is no PR — the difference matters to a caller
|
|
91
|
+
* deciding whether to offer "Open PR". A read with no branch to ask about answers nothing at once.
|
|
92
|
+
*/
|
|
93
|
+
export declare function cachedPrView(cwd: string, branch?: string): Promise<Cached<LinkedPr | undefined>>;
|
|
94
|
+
/** Forget a branch's PR, after an action that changes whether it has one. */
|
|
95
|
+
export declare function forgetPr(cwd: string, branch?: string): void;
|
|
96
|
+
/** The cached form of {@link prsForBranch}, shared through the same read-through cache (#1028). */
|
|
97
|
+
export declare function cachedPrsForBranch(cwd: string, branch: string): Promise<Cached<LinkedPr[]>>;
|
|
98
|
+
/** Forget a branch's PR history, after an action that changes it (opening one). */
|
|
99
|
+
export declare function forgetBranchPrs(cwd: string, branch: string): void;
|
|
100
|
+
/**
|
|
101
|
+
* The PR that belongs to an agent, out of every PR its branch name has had (#1251/#1255).
|
|
102
|
+
*
|
|
103
|
+
* An OPEN PR always counts: a git host allows one open PR per head branch, so whatever is open on the
|
|
104
|
+
* run's branch is where its pushed commits land. A closed one counts only when it was created
|
|
105
|
+
* after the agent started (`since`, the agent's `startedAt`) — the oldest such entry, which is the one
|
|
106
|
+
* this agent's handoff opened. Anything older is a previous agent's PR wearing the same branch name,
|
|
107
|
+
* which is exactly what showed a merged two-day-old PR as a fresh session's own. Without `since`
|
|
108
|
+
* only an open PR is trusted.
|
|
109
|
+
*
|
|
110
|
+
* `order` exists for the one caller asking a different question (#1512). `'first'` answers
|
|
111
|
+
* identity — which PR did *this agent* open, so a later agent's must not be the answer. `'latest'`
|
|
112
|
+
* answers the handoff decision — which PR last saw the branch, so "did the session keep working
|
|
113
|
+
* past it" is readable off that PR's `headRefOid`; there the oldest entry would call work that a
|
|
114
|
+
* second PR already landed unlanded.
|
|
115
|
+
*/
|
|
116
|
+
export declare function pickAgentPr(prs: LinkedPr[], since?: string, order?: 'first' | 'latest'): LinkedPr | undefined;
|
|
117
|
+
/**
|
|
118
|
+
* A project's open PRs, through its git host. Unlike the other reads here it *rejects* when the git host
|
|
119
|
+
* could not answer — no remote, not logged in, the git host unreachable — instead of resolving `[]`.
|
|
120
|
+
*
|
|
121
|
+
* "No PRs are open" and "I could not look" are different answers, and its caller keeps a baseline
|
|
122
|
+
* of what it has already announced (#1623): taking the second for the first makes the next
|
|
123
|
+
* successful read announce every already-open PR as new. The caller decides what a failure costs;
|
|
124
|
+
* it cannot decide what it never hears about. A project with no git host package has none open.
|
|
125
|
+
*/
|
|
126
|
+
export declare function openPrs(cwd: string, gitHost?: GitHostFor): Promise<OpenPr[]>;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { ProjectSummary } from './projects.js';
|
|
2
|
+
import { type QueueFor } from '../store/queue.js';
|
|
3
|
+
/** One project's queue, as the dashboard reads it. */
|
|
4
|
+
export interface ProjectQueue {
|
|
5
|
+
projectId: string;
|
|
6
|
+
projectName: string;
|
|
7
|
+
/** The open entries, in order of work: each the task a future agent is started with. */
|
|
8
|
+
entries: string[];
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* The queue of every project that has one, most entries first: a project one of whose packages
|
|
12
|
+
* provides the queue is listed even with nothing queued (the card shows the projects it can speak
|
|
13
|
+
* for), and a project with no provider is left out (it has no queue, so nothing is said about it).
|
|
14
|
+
* `queueFor` is injectable so this is unit-testable off disk and processes.
|
|
15
|
+
*/
|
|
16
|
+
export declare function collectQueue(projects: ProjectSummary[], queueFor?: QueueFor): Promise<ProjectQueue[]>;
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { QuotaPoller } from '../quota-poller.js';
|
|
2
|
+
import { type QuotaBoundaryStatus } from '../quota-boundary.js';
|
|
3
|
+
import type { DriverQuotaUnavailableReason, DriverQuotaWindow } from 'agent-driver';
|
|
4
|
+
/**
|
|
5
|
+
* Everything the dashboard needs to draw the usage panel (#533): the account's
|
|
6
|
+
* own windows, and where they stand against the quota boundary (#879).
|
|
7
|
+
*/
|
|
8
|
+
export interface QuotaView {
|
|
9
|
+
/**
|
|
10
|
+
* The account's quota windows as the agent reported them (session, week, and
|
|
11
|
+
* a week per model). Empty when we have no reading at all — check
|
|
12
|
+
* {@link unavailable} before reading that as "nothing used".
|
|
13
|
+
*/
|
|
14
|
+
windows: DriverQuotaWindow[];
|
|
15
|
+
/** When the reading was taken, epoch ms. Absent when there has never been one. */
|
|
16
|
+
readAt?: number;
|
|
17
|
+
/**
|
|
18
|
+
* Why there is no reading, when there isn't one. Present alongside stale
|
|
19
|
+
* `windows` too: the last good reading is kept through a blip, and this says
|
|
20
|
+
* the newest attempt failed, so the UI can mark it stale rather than blank it.
|
|
21
|
+
*/
|
|
22
|
+
unavailable?: DriverQuotaUnavailableReason;
|
|
23
|
+
/**
|
|
24
|
+
* Where the account stands against its boundary (#879). Absent when there is no
|
|
25
|
+
* reading, or when the week's reset could not be placed — which is "we don't
|
|
26
|
+
* know", not "nothing is allowed".
|
|
27
|
+
*/
|
|
28
|
+
boundary?: QuotaBoundaryStatus;
|
|
29
|
+
}
|
|
30
|
+
/** Where a dashboard reads the quota from. */
|
|
31
|
+
export interface QuotaSource {
|
|
32
|
+
read(): Promise<QuotaView>;
|
|
33
|
+
/** Stop any polling behind it. */
|
|
34
|
+
stop(): void;
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* A {@link QuotaSource} backed by a live poller.
|
|
38
|
+
*
|
|
39
|
+
* The boundary is measured per read rather than captured: it moves with the clock, so a cached
|
|
40
|
+
* one would be stale the moment the week's day rolls over. A read costs no reading of the
|
|
41
|
+
* account: the poller's last good windows are measured again.
|
|
42
|
+
*
|
|
43
|
+
* The panel's boundary names no model on purpose: the bar is about the account (#879/#1619).
|
|
44
|
+
*/
|
|
45
|
+
export declare function pollerQuotaSource(poller: QuotaPoller, now?: () => number,
|
|
46
|
+
/** The slider's position, read per call so moving it shows without a restart (#960). */
|
|
47
|
+
limitOffset?: () => number | Promise<number>): QuotaSource;
|
|
48
|
+
/**
|
|
49
|
+
* The daemon's own quota source: it polls for the whole life of the dashboard,
|
|
50
|
+
* not just during an agent, because the panel has to show where the account stands
|
|
51
|
+
* even when nothing is running.
|
|
52
|
+
*
|
|
53
|
+
* Separate from the reading an agent takes for itself: that one dies with the agent, and
|
|
54
|
+
* nothing stops a running agent over quota anyway. This one exists to draw the bar and the line
|
|
55
|
+
* unattended work stops at. That line is the schedulers' own spend offset, which `spendOffset`
|
|
56
|
+
* reads off their state files (#960): the scheduler is what obeys it, so the bar draws what it
|
|
57
|
+
* obeys. None named, or none readable, is the default cushion, which is the schedulers' default too.
|
|
58
|
+
*/
|
|
59
|
+
export declare function defaultQuotaSource(spendOffset: () => Promise<number | undefined>): QuotaSource;
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
import { EventStream } from '../event-stream.js';
|
|
2
|
+
import type { FrameworkEvent } from '../events.js';
|
|
3
|
+
import type { AgentMeta } from '../store/index.js';
|
|
4
|
+
import type { StartAgentOptions, StartAgentResult } from './types.js';
|
|
5
|
+
/**
|
|
6
|
+
* The server-side half of "run on a connected device" (#1067). The local daemon holds the saved
|
|
7
|
+
* device's token, so it - not the browser - drives the remote daemon: it POSTs the agent to the
|
|
8
|
+
* remote's `/_relay/start` and then fetch-streams the remote's `/_relay/events` back into a local
|
|
9
|
+
* {@link EventStream}, which the dashboard reads over its normal same-origin `onEvents` channel. So
|
|
10
|
+
* the browser never talks cross-origin and the token never leaves the two daemons (issue #1067 (b)).
|
|
11
|
+
*
|
|
12
|
+
* Authentication is the shared-token cookie (#1051), sent daemon-to-daemon: `Cookie: fw_daemon=<token>` with no
|
|
13
|
+
* `Origin` header. The remote's guard admits a matching cookie without the browser-only `?token=`
|
|
14
|
+
* 302, and its `/_rpc` CSRF check (absent Origin passes) is not even on these raw routes.
|
|
15
|
+
*/
|
|
16
|
+
/** Where a relayed agent executes: the remote daemon's origin and its #1051 token. Memory-only. */
|
|
17
|
+
export interface RemoteTarget {
|
|
18
|
+
url: string;
|
|
19
|
+
token: string;
|
|
20
|
+
}
|
|
21
|
+
/** The body a relay start forwards to the remote's `/_relay/start`. */
|
|
22
|
+
export interface RelayStartBody {
|
|
23
|
+
prompt: string;
|
|
24
|
+
options: StartAgentOptions;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Health-check a saved device (#1072): a cookie'd `GET /_relay/ping`, true on any 2xx, false on a
|
|
28
|
+
* non-2xx, an unreachable host, or the timeout. The token stays in memory for the check only, never
|
|
29
|
+
* persisted, same as {@link startRemoteAgent}. This is how the browser's status dots learn reachable
|
|
30
|
+
* from not: it has the tokens, the daemon does the cross-origin request.
|
|
31
|
+
*/
|
|
32
|
+
export declare function pingRemote(target: RemoteTarget): Promise<boolean>;
|
|
33
|
+
/**
|
|
34
|
+
* Start an agent on the remote daemon and return its {@link StartAgentResult} (with the remote's own run
|
|
35
|
+
* id). A non-2xx or a transport failure surfaces as an `ok: false` result the dashboard shows, the
|
|
36
|
+
* same shape a local refusal has, so the caller does not special-case remote errors.
|
|
37
|
+
*/
|
|
38
|
+
export declare function startRemoteAgent(target: RemoteTarget, body: RelayStartBody): Promise<StartAgentResult>;
|
|
39
|
+
/**
|
|
40
|
+
* Relay one run-scoped RPC to the device that owns a remote agent (#1067 slice 2). The local daemon
|
|
41
|
+
* holds the device token, so a read/diff/handoff/push/PR for a relayed agent runs ON the device: POST
|
|
42
|
+
* {fn, args} to the remote's /_relay/rpc over the shared-token cookie (#1051) (no Origin), returning the device's
|
|
43
|
+
* result. Throws on an unreachable device or a non-2xx so the caller falls back to its own empty/error
|
|
44
|
+
* shape, the same way a failed local read does.
|
|
45
|
+
*/
|
|
46
|
+
export declare function relayRpc(target: RemoteTarget, fn: string, args: unknown[]): Promise<unknown>;
|
|
47
|
+
/**
|
|
48
|
+
* Fetch-stream a remote agent's newline-delimited events into `onEvent` until the remote closes the
|
|
49
|
+
* body, the agent ends, or `cancel()` is called. A 401 (the token was rotated) ends the stream
|
|
50
|
+
* cleanly rather than as an error, so the dashboard sees a normal `done`, not a lost connection.
|
|
51
|
+
* Returns a cancel function; calling it aborts the fetch and releases the reader.
|
|
52
|
+
*/
|
|
53
|
+
export declare function streamRemoteEvents(target: RemoteTarget, agentId: string, onEvent: (event: FrameworkEvent) => void, onEnd?: () => void): () => void;
|
|
54
|
+
/**
|
|
55
|
+
* The local daemon's live relayed runs (#1067), keyed by the remote agent id. Registering an agent opens
|
|
56
|
+
* an {@link EventStream} the dashboard reads through `onEvents`, fed by {@link streamRemoteEvents}
|
|
57
|
+
* from the remote. This map is where a saved device's token lives daemon-side: in memory, for the
|
|
58
|
+
* run's lifetime.
|
|
59
|
+
*
|
|
60
|
+
* The `targets` map outlives the event pump (#1067 slice 2): a finished remote agent's post-run reads,
|
|
61
|
+
* open-PR and merge still have to reach the device after its event stream has ended, so the device
|
|
62
|
+
* target is kept until {@link dispose} clears it, not dropped when the stream closes.
|
|
63
|
+
*
|
|
64
|
+
* The `metas` map (#1077) holds a local {@link AgentMeta} stub per relayed agent so `onAgents` can show a
|
|
65
|
+
* remote run in the session list and re-open it after a dashboard reload; {@link list} projects it
|
|
66
|
+
* per project. Same lifetime as `targets`: it outlives the event stream and is cleared on dispose.
|
|
67
|
+
*/
|
|
68
|
+
export declare class RelayedAgents {
|
|
69
|
+
private readonly agents;
|
|
70
|
+
private readonly targets;
|
|
71
|
+
private readonly metas;
|
|
72
|
+
/** Open a local stream for a remote agent and start pumping the remote's events into it. */
|
|
73
|
+
register(agentId: string, target: RemoteTarget, meta: AgentMeta, projectId: string): void;
|
|
74
|
+
/** The live event stream for a relayed agent, or undefined when this daemon is not relaying it. */
|
|
75
|
+
get(agentId: string | undefined): EventStream<FrameworkEvent> | undefined;
|
|
76
|
+
/** The device a relayed agent runs on, kept past the event stream so post-run push/PR still reach it. */
|
|
77
|
+
target(agentId: string | undefined): RemoteTarget | undefined;
|
|
78
|
+
/** A project's relayed run stubs (#1077), newest-first, so `onAgents` can surface them in the list. */
|
|
79
|
+
list(projectId: string): AgentMeta[];
|
|
80
|
+
/** Fold each relayed event into the agent's list row via the store's own reducer (#1077), so the
|
|
81
|
+
* local stub mirrors the device: the terminal status on `end`, the waiting flag while it is parked
|
|
82
|
+
* (#785), the driver once its session starts. Events carry no write time, so this stamps its own. */
|
|
83
|
+
private apply;
|
|
84
|
+
/** Close a relayed agent's event stream (not its target). Idempotent. */
|
|
85
|
+
private endStream;
|
|
86
|
+
/** Stop every pump, close every stream, and forget every device target + list stub, on daemon shutdown. */
|
|
87
|
+
dispose(): void;
|
|
88
|
+
}
|
|
89
|
+
/**
|
|
90
|
+
* Fold one relayed event into the memory-only row of a run on a device: what the device's own
|
|
91
|
+
* card would say, kept here because that card is on the device. The events are the ones a run's
|
|
92
|
+
* diary yields: the agent's session id, its cost, its end.
|
|
93
|
+
*/
|
|
94
|
+
export declare function foldRelayedEvent(meta: AgentMeta, event: FrameworkEvent, at: string): AgentMeta;
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
import type { IncomingMessage, ServerResponse } from 'node:http';
|
|
2
|
+
import type { FrameworkEvent } from '../events.js';
|
|
3
|
+
import type { PreferencesStore } from '../registry.js';
|
|
4
|
+
import type { QuotaSource } from './quota.js';
|
|
5
|
+
import type { ModelsSource } from './models.js';
|
|
6
|
+
import type { BridgeBrowserOwner } from '../bridge-browser.js';
|
|
7
|
+
import type { ProjectErrorsReader } from '../project-errors.js';
|
|
8
|
+
import type { AddProjectResult, StartAgentOptions, StartAgentResult } from './types.js';
|
|
9
|
+
import type { AgentMeta } from '../store/index.js';
|
|
10
|
+
/** Wired by the daemon so `sendStart` can reach the daemon's own `startAgent` closure. */
|
|
11
|
+
export type StartAgentHandler = (prompt: string, options: StartAgentOptions, projectId?: string) => StartAgentResult | Promise<StartAgentResult>;
|
|
12
|
+
/** Wired by the daemon so `sendAddProject` can install + register a repo (#433). */
|
|
13
|
+
export type AddProjectHandler = (path: string) => AddProjectResult | Promise<AddProjectResult>;
|
|
14
|
+
/** Resolve an agent to its live event stream: the relay feeds `onEvents` from its own in-memory stream
|
|
15
|
+
* rather than a file on disk (#426), and the daemon feeds an agent it is relaying from a device (#1067).
|
|
16
|
+
* Returns undefined when there is no in-memory stream, so `onEvents` falls back to tailing the log. */
|
|
17
|
+
export type EventsSource = (projectId: string, agentId?: string) => AsyncIterable<FrameworkEvent> | undefined;
|
|
18
|
+
/** Look up the device a relayed agent (#1067) executes on, or undefined for an ordinary local agent. The
|
|
19
|
+
* daemon wires this from its live relayed-agent map; a run-scoped RPC uses it to forward a remote agent's
|
|
20
|
+
* read/steer/handoff to that device instead of resolving a (nonexistent) local checkout. */
|
|
21
|
+
export interface RemoteAgents {
|
|
22
|
+
target(agentId: string | undefined): {
|
|
23
|
+
url: string;
|
|
24
|
+
token: string;
|
|
25
|
+
} | undefined;
|
|
26
|
+
/** A project's relayed run stubs (#1077), so `onAgents` can show a remote agent in the list and re-open it after a reload. */
|
|
27
|
+
list(projectId: string): AgentMeta[];
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* What every RPC acts through.
|
|
31
|
+
*
|
|
32
|
+
* Every field is required (D3). These used to be optional because three hosts served this same
|
|
33
|
+
* surface — the daemon, a per-session foreground dashboard, and a public relay — each wiring a
|
|
34
|
+
* different subset, so every RPC carried an "absent capability" branch and the client rendered a
|
|
35
|
+
* degradation matrix. There is one host now, and it wires all of it.
|
|
36
|
+
*/
|
|
37
|
+
export interface DashboardContext {
|
|
38
|
+
startAgent: StartAgentHandler;
|
|
39
|
+
addProject: AddProjectHandler;
|
|
40
|
+
/** The in-memory event stream for an agent relayed from a connected device (#1067), else undefined. */
|
|
41
|
+
eventsSource: EventsSource;
|
|
42
|
+
/** The relayed-agent lookup (#1067 slice 2), so a run-scoped RPC can tell a local agent from one
|
|
43
|
+
* running on a connected device and forward the call there. */
|
|
44
|
+
remote: RemoteAgents;
|
|
45
|
+
/** The user-preferences store (#410), over the registry file. */
|
|
46
|
+
preferences: PreferencesStore;
|
|
47
|
+
/** The quota source behind the usage panel (#533). */
|
|
48
|
+
quota: QuotaSource;
|
|
49
|
+
/** Which models each coding agent offers, for the agent and model menu. */
|
|
50
|
+
models: ModelsSource;
|
|
51
|
+
/** What a project currently suffers from (#1500): the daemon's error state, read per project. */
|
|
52
|
+
projectErrors: ProjectErrorsReader;
|
|
53
|
+
/** The daemon's own bridge browser (#1332): status, and show/hide/restart on request. */
|
|
54
|
+
bridgeBrowser: BridgeBrowserOwner;
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* CSRF guard for the state-changing RPCs. A browser attaches an `Origin`
|
|
58
|
+
* header to every cross-site request, so we reject any POST whose Origin is not this
|
|
59
|
+
* same server (or a loopback host) — otherwise a page on `evil.com` could `fetch()` the
|
|
60
|
+
* localhost dashboard and start or steer a run. An absent Origin means a non-browser caller
|
|
61
|
+
* (curl, the test suite) with no ambient session to abuse, so it passes. Lives here beside
|
|
62
|
+
* the mount, its only caller.
|
|
63
|
+
*/
|
|
64
|
+
export declare function isSameOriginRequest(req: IncomingMessage): boolean;
|
|
65
|
+
/**
|
|
66
|
+
* DNS-rebinding guard, the other half of the CSRF check above. A page on `evil.com` whose DNS
|
|
67
|
+
* re-answers as `127.0.0.1` is *same-origin* with this server as far as the browser is concerned,
|
|
68
|
+
* so its `fetch()` takes the passing branch of {@link isSameOriginRequest} — and every RPC behind
|
|
69
|
+
* the mount, `sendStart` included, is reachable from a page the user merely visited.
|
|
70
|
+
*
|
|
71
|
+
* The `Host` header is what still gives the attacker away: it carries the name the browser was
|
|
72
|
+
* asked for (`evil.com`), not the address it resolved to. So when we are bound to loopback, the
|
|
73
|
+
* only `Host` a real user's browser can send is a loopback one (or the bound address itself) —
|
|
74
|
+
* anything else is a rebound name and is rejected. An absent `Host` is rejected too when we are
|
|
75
|
+
* enforcing: HTTP/1.1 requires it, and every browser sends it.
|
|
76
|
+
*
|
|
77
|
+
* A non-loopback bind (`--host`, #1051) is reached by a hostname we cannot predict, so there is
|
|
78
|
+
* no allowlist to check against; that case gates behind the shared daemon token instead. Hosts
|
|
79
|
+
* that never pass a bind host at all (the relay, which serves a public domain) are unaffected.
|
|
80
|
+
*/
|
|
81
|
+
export declare function isExpectedHost(req: IncomingMessage, boundHost: string | undefined): boolean;
|
|
82
|
+
/** Where the dashboard's RPCs live. One prefix, so the static handler can decline it by path. */
|
|
83
|
+
export declare const RPC_PREFIX = "/_rpc";
|
|
84
|
+
/**
|
|
85
|
+
* Mount the dashboard's RPC surface (#405) on the daemon's `node:http` server: `POST /_rpc/<name>`
|
|
86
|
+
* for the calls, `GET /_rpc/events` for the live stream. It runs in the daemon process, so
|
|
87
|
+
* `sendStart` reaches the daemon's own `startAgent` through the wired {@link DashboardContext}.
|
|
88
|
+
*
|
|
89
|
+
* Cross-origin POSTs are rejected (CSRF: a page on evil.com must not steer or start a session), as
|
|
90
|
+
* are requests carrying someone else's `Host` when we are bound to loopback (DNS rebinding: the
|
|
91
|
+
* same page must not reach us by pointing its own name at `127.0.0.1`). Pass `opts.host` — the
|
|
92
|
+
* address the server is bound to — to enable that second check. Returns whether the request was
|
|
93
|
+
* the RPC surface's.
|
|
94
|
+
*
|
|
95
|
+
* This replaced Telefunc (F3), which required a build-time transform over every `.telefunc.ts`
|
|
96
|
+
* file, a registration table pinning each RPC to the client-baked key of the *dashboard* source
|
|
97
|
+
* path it was re-exported from, and a request-context indirection for wiring that never varied
|
|
98
|
+
* per request. What it bought over this was type-safety across a package boundary that A7 removed.
|
|
99
|
+
*/
|
|
100
|
+
export declare function makeRpcMount(context: DashboardContext, opts?: {
|
|
101
|
+
host?: string;
|
|
102
|
+
}): (req: IncomingMessage, res: ServerResponse) => Promise<boolean>;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { type InboxLine } from 'agent-driver';
|
|
2
|
+
/**
|
|
3
|
+
* What a person says to a run (#1774): their own words, or their answer to the question the run
|
|
4
|
+
* stopped on. The daemon runs no agent, so the line reaches the run through what the run's tool
|
|
5
|
+
* reads: the inbox file in the run's checkout while the run works, the project's `resume` hook
|
|
6
|
+
* line once it has ended. The framework names no tool in either.
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* The inbox of a run, in its checkout's `.the-framework/`: the file agent-driver's session reads
|
|
10
|
+
* when a turn ends, one JSON line per message or answer. The run's tool hands the session the
|
|
11
|
+
* same path.
|
|
12
|
+
*/
|
|
13
|
+
export declare const RUN_INBOX_FILE = "inbox.jsonl";
|
|
14
|
+
/** What a write to a run came to: done, or why not, in words the surface shows. */
|
|
15
|
+
export type SteerResult = {
|
|
16
|
+
ok: true;
|
|
17
|
+
} | {
|
|
18
|
+
ok: false;
|
|
19
|
+
error: string;
|
|
20
|
+
};
|
|
21
|
+
/**
|
|
22
|
+
* Hand one line to a run of the project at `cwd`. A run that is working takes it from its inbox
|
|
23
|
+
* when its turn ends. A run that has ended (done, stopped, failed, or waiting on its question) is
|
|
24
|
+
* continued through the project's `resume` hook. A run that ends while the line is on its way
|
|
25
|
+
* would leave it in an inbox nobody reads, so the run is looked at again after the write, and
|
|
26
|
+
* what is still in the inbox then is taken back and resumes the run instead.
|
|
27
|
+
*/
|
|
28
|
+
export declare function sayToRun(cwd: string, agentId: string, line: InboxLine, deps?: {
|
|
29
|
+
isWorking?: (cwd: string, agentId: string) => Promise<boolean>;
|
|
30
|
+
}): Promise<SteerResult>;
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import type { ProjectSummary } from './projects.js';
|
|
2
|
+
/** The file the scheduler keeps its state in, at the project's root; per user, hidden from git by the tool. */
|
|
3
|
+
export declare const SCHEDULER_STATE_FILE = ".agent-scheduler/state.json";
|
|
4
|
+
/** What the last tick decided for one scheduled command, one line for a person. */
|
|
5
|
+
export interface SchedulerDecision {
|
|
6
|
+
command: string;
|
|
7
|
+
outcome: string;
|
|
8
|
+
/** The run's id when the tick started one: the same id the agent's record and checkout carry. */
|
|
9
|
+
run?: string;
|
|
10
|
+
}
|
|
11
|
+
/** The last tick as the state file remembers it. */
|
|
12
|
+
export interface SchedulerTick {
|
|
13
|
+
/** ISO timestamp. */
|
|
14
|
+
at: string;
|
|
15
|
+
decisions: SchedulerDecision[];
|
|
16
|
+
/** Why the tick decided nothing, when it could not. */
|
|
17
|
+
note?: string;
|
|
18
|
+
}
|
|
19
|
+
/** One command of the project's schedule, as the scheduler's last tick read it, with this machine's switch. */
|
|
20
|
+
export interface SchedulerCommand {
|
|
21
|
+
command: string;
|
|
22
|
+
/** How often at most, as written (`1d`). */
|
|
23
|
+
every?: string;
|
|
24
|
+
/** The check, when the line has one. */
|
|
25
|
+
when?: string;
|
|
26
|
+
/** Whether it runs on this machine: the machine's switch, else what the line says. */
|
|
27
|
+
on: boolean;
|
|
28
|
+
}
|
|
29
|
+
/** A project's scheduler as the card shows it. */
|
|
30
|
+
export interface SchedulerState {
|
|
31
|
+
/** Whether the state file exists and parses: a project without it has no scheduler set up. */
|
|
32
|
+
present: boolean;
|
|
33
|
+
/** Whether ticks start agents. */
|
|
34
|
+
on: boolean;
|
|
35
|
+
/** Whether the scheduler's process outlives the dashboard that started it. */
|
|
36
|
+
keepAlive: boolean;
|
|
37
|
+
/** Whether the scheduler's own process is alive on this machine. */
|
|
38
|
+
running: boolean;
|
|
39
|
+
/** The model every run starts on. */
|
|
40
|
+
model?: string;
|
|
41
|
+
/** How far past the quota boundary this project's unattended runs may start, in percentage points. */
|
|
42
|
+
spendOffset?: number;
|
|
43
|
+
lastTick?: SchedulerTick;
|
|
44
|
+
/** The schedule's commands with their switches; empty until the scheduler has ticked once with a schedule. */
|
|
45
|
+
commands: SchedulerCommand[];
|
|
46
|
+
}
|
|
47
|
+
export interface ProjectScheduler extends SchedulerState {
|
|
48
|
+
projectId: string;
|
|
49
|
+
projectName: string;
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* Read one project's scheduler state. `isAlive` is the process probe; injectable so a test can
|
|
53
|
+
* decide what "running" means without holding a process.
|
|
54
|
+
*/
|
|
55
|
+
export declare function readSchedulerState(cwd: string, isAlive?: (pid: number) => boolean): Promise<SchedulerState>;
|
|
56
|
+
/** Every registered project's scheduler, one row per project in registry order, a failing read as not set up. */
|
|
57
|
+
export declare function collectSchedulers(projects: ProjectSummary[], read?: (cwd: string) => Promise<SchedulerState>): Promise<ProjectScheduler[]>;
|
|
58
|
+
/**
|
|
59
|
+
* The spend offset the usage panel draws (#960), read off the projects' schedulers: the loosest
|
|
60
|
+
* one, since it is the one that lets unattended work spend the furthest; `undefined` when no
|
|
61
|
+
* scheduler names one. The panel's slider writes it back through each project's `offset` hook,
|
|
62
|
+
* so the schedulers agree unless one was set by hand.
|
|
63
|
+
*/
|
|
64
|
+
export declare function loosestSpendOffset(states: readonly SchedulerState[]): number | undefined;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { type Ticket, type TicketDetail, type TicketsMeta } from '@gemstack/skill-tickets';
|
|
2
|
+
export type { TicketsMeta, TicketGithubLink } from '@gemstack/skill-tickets';
|
|
3
|
+
/**
|
|
4
|
+
* A ticket as the dashboard shows it: the `tickets` skill's row, with the holder of its claim
|
|
5
|
+
* resolved against this project's own agents (#1748). A lock names an agent id — the same id
|
|
6
|
+
* the agent's checkout is named with — so a claim the daemon minted, or an agent on this machine
|
|
7
|
+
* made with the `tickets` command, resolves to the agent's page and its session name; a holder
|
|
8
|
+
* this project has no record of (another machine's agent, a cloud session's branch name) is
|
|
9
|
+
* shown as written.
|
|
10
|
+
*/
|
|
11
|
+
export interface WorkspaceTicket extends Ticket {
|
|
12
|
+
/** The agent whose id the lock names, when it is one of this project's: its id and, once named, its session name. */
|
|
13
|
+
lockedByAgent?: {
|
|
14
|
+
id: string;
|
|
15
|
+
name?: string;
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
/** One ticket with its entire markdown, for its own page. */
|
|
19
|
+
export interface WorkspaceTicketDetail extends WorkspaceTicket, TicketDetail {
|
|
20
|
+
}
|
|
21
|
+
/** The project's tickets, off the skill's checkout under `.branches/agent-data`, holders resolved. */
|
|
22
|
+
export declare function readTickets(cwd: string): Promise<WorkspaceTicket[]>;
|
|
23
|
+
/** One ticket by filename, full text included; `null` when there is no such ticket. */
|
|
24
|
+
export declare function readTicket(cwd: string, file: string): Promise<WorkspaceTicketDetail | null>;
|
|
25
|
+
/** Whether the project has any ticket at all (#958): a listing, for the onboarding checklist's poll. */
|
|
26
|
+
export declare function hasTickets(cwd: string): Promise<boolean>;
|
|
27
|
+
/** When the tickets last caught up with GitHub (#1208), or `{}` when nothing has recorded it. */
|
|
28
|
+
export declare function readTicketsMeta(cwd: string): Promise<TicketsMeta>;
|