@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,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 '@openagt/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,72 @@
|
|
|
1
|
+
import type { ProjectSummary } from './projects.js';
|
|
2
|
+
import { type PublishLevel, type PublishPick } from '../publish-levels.js';
|
|
3
|
+
import { type GitHostFor } from '../store/git-host.js';
|
|
4
|
+
/** The file the scheduler keeps its state in, at the project's root; per user, hidden from git by the tool. */
|
|
5
|
+
export declare const SCHEDULER_STATE_FILE = ".agent-scheduler/state.json";
|
|
6
|
+
/** What the last tick decided for one scheduled command, one line for a person. */
|
|
7
|
+
export interface SchedulerDecision {
|
|
8
|
+
command: string;
|
|
9
|
+
outcome: string;
|
|
10
|
+
/** The run's id when the tick started one: the same id the agent's record and checkout carry. */
|
|
11
|
+
run?: string;
|
|
12
|
+
}
|
|
13
|
+
/** The last tick as the state file remembers it. */
|
|
14
|
+
export interface SchedulerTick {
|
|
15
|
+
/** ISO timestamp. */
|
|
16
|
+
at: string;
|
|
17
|
+
decisions: SchedulerDecision[];
|
|
18
|
+
/** Why the tick decided nothing, when it could not. */
|
|
19
|
+
note?: string;
|
|
20
|
+
}
|
|
21
|
+
/** One command of the project's schedule, as the scheduler's last tick read it, with this machine's switch and publish pick. */
|
|
22
|
+
export interface SchedulerCommand {
|
|
23
|
+
command: string;
|
|
24
|
+
/** How often at most, as written (`1d`). */
|
|
25
|
+
every?: string;
|
|
26
|
+
/** The check, when the line has one. */
|
|
27
|
+
when?: string;
|
|
28
|
+
/** Whether it runs on this machine: the machine's switch, else what the line says. */
|
|
29
|
+
on: boolean;
|
|
30
|
+
/** How far a run of the command publishes its work, when the line says: `branch`, `pr` or `merge`. A line that says nothing publishes nothing. */
|
|
31
|
+
publish?: PublishLevel;
|
|
32
|
+
/** This machine's publish pick for the command, which stands in for the line's level; absent when nobody picked here. */
|
|
33
|
+
publishPick?: PublishPick;
|
|
34
|
+
}
|
|
35
|
+
/** A project's scheduler as the card shows it. */
|
|
36
|
+
export interface SchedulerState {
|
|
37
|
+
/** Whether the state file exists and parses: a project without it has no scheduler set up. */
|
|
38
|
+
present: boolean;
|
|
39
|
+
/** Whether ticks start agents. */
|
|
40
|
+
on: boolean;
|
|
41
|
+
/** Whether the scheduler's process outlives the dashboard that started it. */
|
|
42
|
+
keepAlive: boolean;
|
|
43
|
+
/** Whether the scheduler's own process is alive on this machine. */
|
|
44
|
+
running: boolean;
|
|
45
|
+
/** The model every run starts on. */
|
|
46
|
+
model?: string;
|
|
47
|
+
/** How far past the quota boundary this project's unattended runs may start, in percentage points. */
|
|
48
|
+
spendOffset?: number;
|
|
49
|
+
lastTick?: SchedulerTick;
|
|
50
|
+
/** The schedule's commands with their switches; empty until the scheduler has ticked once with a schedule. */
|
|
51
|
+
commands: SchedulerCommand[];
|
|
52
|
+
}
|
|
53
|
+
export interface ProjectScheduler extends SchedulerState {
|
|
54
|
+
projectId: string;
|
|
55
|
+
projectName: string;
|
|
56
|
+
/** Whether one of the project's packages provides a git host; without one no pull request can be opened, so a publish pick stops at the branch. */
|
|
57
|
+
gitHost: boolean;
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* Read one project's scheduler state. `isAlive` is the process probe; injectable so a test can
|
|
61
|
+
* decide what "running" means without holding a process.
|
|
62
|
+
*/
|
|
63
|
+
export declare function readSchedulerState(cwd: string, isAlive?: (pid: number) => boolean): Promise<SchedulerState>;
|
|
64
|
+
/** Every registered project's scheduler, one row per project in registry order, a failing read as not set up. */
|
|
65
|
+
export declare function collectSchedulers(projects: ProjectSummary[], read?: (cwd: string) => Promise<SchedulerState>, gitHost?: GitHostFor): Promise<ProjectScheduler[]>;
|
|
66
|
+
/**
|
|
67
|
+
* The spend offset the usage panel draws (#960), read off the projects' schedulers: the loosest
|
|
68
|
+
* one, since it is the one that lets unattended work spend the furthest; `undefined` when no
|
|
69
|
+
* scheduler names one. The panel's slider writes it back through each project's `offset` hook,
|
|
70
|
+
* so the schedulers agree unless one was set by hand.
|
|
71
|
+
*/
|
|
72
|
+
export declare function loosestSpendOffset(states: readonly SchedulerState[]): number | undefined;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { runSubagentsHook } from '../project-hooks.js';
|
|
2
|
+
import { type SubagentSettings } from '../subagent-settings.js';
|
|
3
|
+
import type { ProjectSummary } from './projects.js';
|
|
4
|
+
/** The settings in force, and how many projects have the line that writes them. */
|
|
5
|
+
export interface SubagentSettingsView {
|
|
6
|
+
settings: SubagentSettings;
|
|
7
|
+
/** Projects with a `subagents` line; none means Settings can save nothing. */
|
|
8
|
+
hooked: number;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* The settings of the first project, in registry order, that has the line and a file: Settings
|
|
12
|
+
* writes every project alike, so they differ only where a file was edited by hand.
|
|
13
|
+
*/
|
|
14
|
+
export declare function readSubagentSettings(projects: readonly ProjectSummary[]): Promise<SubagentSettingsView>;
|
|
15
|
+
/**
|
|
16
|
+
* Save the settings whole, through the `subagents` line of each project given. Only settings of the
|
|
17
|
+
* promised shape are passed on. A project without the line is skipped; none having it, or a line
|
|
18
|
+
* that fails, is the answer's error, each failing project named.
|
|
19
|
+
*/
|
|
20
|
+
export declare function setSubagentSettings(projects: readonly ProjectSummary[], settings: SubagentSettings, run?: typeof runSubagentsHook): Promise<{
|
|
21
|
+
ok: true;
|
|
22
|
+
} | {
|
|
23
|
+
ok: false;
|
|
24
|
+
error: string;
|
|
25
|
+
}>;
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
import type { LinkedPr } from './pull-requests.js';
|
|
2
|
+
import type { PublishPick } from '../publish-levels.js';
|
|
3
|
+
/** The outcome of removing a retained worktree (#737). */
|
|
4
|
+
export type RemoveWorktreeResult = {
|
|
5
|
+
ok: true;
|
|
6
|
+
} | {
|
|
7
|
+
ok: false;
|
|
8
|
+
error: string;
|
|
9
|
+
};
|
|
10
|
+
/** The outcome of deleting a session — its records and worktree (#1032). */
|
|
11
|
+
export type DeleteAgentResult = {
|
|
12
|
+
ok: true;
|
|
13
|
+
} | {
|
|
14
|
+
ok: false;
|
|
15
|
+
error: string;
|
|
16
|
+
};
|
|
17
|
+
/** The outcome of an add-project attempt (#396): registered, or was already, or why not. */
|
|
18
|
+
export type AddProjectResult = {
|
|
19
|
+
ok: true;
|
|
20
|
+
alreadyActivated: boolean;
|
|
21
|
+
} | {
|
|
22
|
+
ok: false;
|
|
23
|
+
error: string;
|
|
24
|
+
};
|
|
25
|
+
/**
|
|
26
|
+
* What the Onboarding checklist (#958) needs and no other read carries: the server's own
|
|
27
|
+
* working directory, offered as the one-click first project.
|
|
28
|
+
*
|
|
29
|
+
* Both fields are null where adding projects is not wired (the relay), so a public host
|
|
30
|
+
* never discloses its filesystem layout.
|
|
31
|
+
*/
|
|
32
|
+
export interface OnboardingSuggestion {
|
|
33
|
+
/** The server's working directory, or null when it cannot be offered. */
|
|
34
|
+
cwd: string | null;
|
|
35
|
+
/** The project id for {@link cwd} when it is already registered, else null. */
|
|
36
|
+
cwdProjectId: string | null;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* What a Start carries besides its prompt (#1774): the person's picks, handed to the project's
|
|
40
|
+
* `start` hook line as `DRIVER`, `MODEL`, `PUBLISH` and `BASE`. Absent leaves each to the tool the line names.
|
|
41
|
+
*/
|
|
42
|
+
export interface StartAgentOptions {
|
|
43
|
+
/** The model to run on. */
|
|
44
|
+
model?: string;
|
|
45
|
+
/** Which coding agent the run is on: `claude-code` or `codex`. */
|
|
46
|
+
driver?: string;
|
|
47
|
+
/** The person's saved pick of how far the run takes its work when the agent finishes. Absent, none is saved: the daemon starts the run as far as the project goes with no pull request. A pick the project is not offered is held to that too. */
|
|
48
|
+
publish?: PublishPick;
|
|
49
|
+
/**
|
|
50
|
+
* The branch the agent's own branch starts from, as this machine has it, commits that are not
|
|
51
|
+
* pushed included: the launcher's "My local branch" pick. Absent, origin's default branch. A
|
|
52
|
+
* word that is no branch name refuses the Start. Not sent to a device: its branches are its own.
|
|
53
|
+
*/
|
|
54
|
+
base?: string;
|
|
55
|
+
/**
|
|
56
|
+
* The follow-up's prompt: once the run ends done with a pull request, a fresh agent works its
|
|
57
|
+
* branch from it before the request merges. The launcher's "Post-merge cleanup" box.
|
|
58
|
+
*/
|
|
59
|
+
then?: string;
|
|
60
|
+
/**
|
|
61
|
+
* Run this session on a connected device (#1067): the local daemon relays the start to the remote
|
|
62
|
+
* daemon at `url` (authenticating with `token` as the `fw_daemon` cookie) and streams its events
|
|
63
|
+
* back into the local agent view. The device `label` rides along (memory-only, like `url`/`token`) so
|
|
64
|
+
* the local session list + notice can show which device the agent is on after a reload (#1077).
|
|
65
|
+
* Memory-only relay config the dashboard sets at submit time from a saved device. NEVER persisted to
|
|
66
|
+
* Preferences or the registry: a device token is a per-browser secret. Absent = run locally.
|
|
67
|
+
* Stripped before the start is forwarded, so the remote starts an ordinary local run and does not
|
|
68
|
+
* relay onward.
|
|
69
|
+
*/
|
|
70
|
+
remote?: {
|
|
71
|
+
url: string;
|
|
72
|
+
token: string;
|
|
73
|
+
label?: string;
|
|
74
|
+
};
|
|
75
|
+
}
|
|
76
|
+
/** The outcome of a Start attempt (#345): the id of the run the project's start hook began, or why there is none. */
|
|
77
|
+
export type StartAgentResult = {
|
|
78
|
+
ok: true;
|
|
79
|
+
agentId: string;
|
|
80
|
+
} | {
|
|
81
|
+
ok: false;
|
|
82
|
+
error: string;
|
|
83
|
+
};
|
|
84
|
+
/**
|
|
85
|
+
* Where a session is working (#798): its checkout, its branch, and what it is holding. Read by
|
|
86
|
+
* the dashboard so a session's action bar can say which worktree it has, rather than leaving the
|
|
87
|
+
* user to infer it from an agent id.
|
|
88
|
+
*
|
|
89
|
+
* Only what is true of the run: once its checkout is gone there is no tree to be clean or dirty,
|
|
90
|
+
* so {@link checkout} is absent and the branch is the one the run recorded.
|
|
91
|
+
*/
|
|
92
|
+
export interface AgentWorktree {
|
|
93
|
+
/** The run's own checkout while it exists. */
|
|
94
|
+
checkout?: {
|
|
95
|
+
/** Absolute path of the checkout. */
|
|
96
|
+
path: string;
|
|
97
|
+
/** Uncommitted changes present in it. */
|
|
98
|
+
dirty: boolean;
|
|
99
|
+
/** Size on disk, bytes. Only read once nothing is writing to it, and best-effort even then. */
|
|
100
|
+
sizeBytes?: number;
|
|
101
|
+
};
|
|
102
|
+
/** The branch the run's work is on: its checkout's while it has one, else the one it recorded. */
|
|
103
|
+
branch?: string;
|
|
104
|
+
/** The PR opened for this run's branch (#809), when there is one. */
|
|
105
|
+
pr?: LinkedPr;
|
|
106
|
+
/** The PR is not known yet, rather than absent (#1028): the lookup is still running. */
|
|
107
|
+
prPending?: boolean;
|
|
108
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { type ProjectsProvider } from '../dashboard/projects.js';
|
|
2
|
+
import type { DashboardContext, EventsSource, RemoteAgents } from '../dashboard/rpc-serve.js';
|
|
3
|
+
import type { PreferencesStore } from '../registry.js';
|
|
4
|
+
import type { QuotaSource } from '../dashboard/quota.js';
|
|
5
|
+
import type { ModelsSource } from '../dashboard/models.js';
|
|
6
|
+
import type { ProjectErrorsReader } from '../project-errors.js';
|
|
7
|
+
import type { BridgeBrowserOwner } from '../bridge-browser.js';
|
|
8
|
+
/** Wire the dashboard's capabilities. The daemon calls this once at start-up; a test calls it per case. */
|
|
9
|
+
export declare function setDashboardContext(context: DashboardContext): void;
|
|
10
|
+
/** The projects every RPC resolves a project id against: the global registry. */
|
|
11
|
+
export declare function contextProjects(): ProjectsProvider;
|
|
12
|
+
/** The workspace path for a project id, or undefined when no project has that id. */
|
|
13
|
+
export declare function resolveProjectPath(projectId: string): Promise<string | undefined>;
|
|
14
|
+
/**
|
|
15
|
+
* The checkout a call should act on: a live agent's own worktree when `agentId` names one (#738/#749),
|
|
16
|
+
* else the project root. Since #736 an agent reads and writes inside its worktree — its event log,
|
|
17
|
+
* its control log, its working tree — so anything addressed at a *run* has to resolve here, not
|
|
18
|
+
* at the project path, or it reads an empty log and steers an agent that is not listening. The
|
|
19
|
+
* resolution itself (and its #766 first-seconds subtlety) lives in the store's
|
|
20
|
+
* {@link resolveAgentCheckout}, shared with the daemon; this adds only the project-id lookup.
|
|
21
|
+
*/
|
|
22
|
+
export declare function resolveAgentPath(projectId: string, agentId?: string): Promise<string | undefined>;
|
|
23
|
+
/**
|
|
24
|
+
* The in-memory {@link EventsSource} (#426). It answers only for a run this daemon is relaying
|
|
25
|
+
* from a connected device (#1067) — such a run has no diary on this machine, since it works in a
|
|
26
|
+
* checkout over there — and returns undefined for an ordinary local run, whose diary `onEvents`
|
|
27
|
+
* tails off disk.
|
|
28
|
+
*/
|
|
29
|
+
export declare function contextEventsSource(): EventsSource;
|
|
30
|
+
/**
|
|
31
|
+
* The relayed-agent lookup (#1067 slice 2). A run-scoped RPC uses it to tell an ordinary local agent
|
|
32
|
+
* (resolve a local checkout) from one running on a connected device (forward the call there).
|
|
33
|
+
*
|
|
34
|
+
* The one accessor with a default rather than a throw, because "unwired" has a real meaning here:
|
|
35
|
+
* a call arriving over `/_relay/rpc` is the *device* side of the relay, and the agent it names is
|
|
36
|
+
* local to that device. Forwarding it onward would be a loop, so the honest answer there is that
|
|
37
|
+
* nothing is relayed from here.
|
|
38
|
+
*/
|
|
39
|
+
export declare function contextRemote(): RemoteAgents;
|
|
40
|
+
/** The user-preferences store (#410), over the registry file. */
|
|
41
|
+
export declare function contextPreferences(): PreferencesStore;
|
|
42
|
+
/** The quota source behind the usage panel (#533). */
|
|
43
|
+
export declare function contextQuota(): QuotaSource;
|
|
44
|
+
/** Which models each coding agent offers. */
|
|
45
|
+
export declare function contextModels(): ModelsSource;
|
|
46
|
+
/** What a project currently suffers from (#1500), as the daemon's background jobs last recorded it. */
|
|
47
|
+
export declare function contextProjectErrors(): ProjectErrorsReader;
|
|
48
|
+
/** The daemon's own bridge browser (#1332). */
|
|
49
|
+
export declare function contextBridgeBrowser(): BridgeBrowserOwner;
|
|
50
|
+
/** The daemon's own `startAgent`, so a start from the dashboard is the same start the CLI makes. */
|
|
51
|
+
export declare function contextStartAgent(): DashboardContext['startAgent'];
|
|
52
|
+
/** Install + register a repo (#433), which only the daemon can do. */
|
|
53
|
+
export declare function contextAddProject(): DashboardContext['addProject'];
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
import { type SteerResult } from '../dashboard/run-inbox.js';
|
|
2
|
+
export type { SteerResult };
|
|
3
|
+
import { type OpenTarget, type OpenResult } from '../dashboard/open-in-app.js';
|
|
4
|
+
import type { BridgeBrowserAction } from '../bridge-browser.js';
|
|
5
|
+
import { type HandoffResult } from '../dashboard/agent-handoff.js';
|
|
6
|
+
import { type CreateRepositoryResult } from '../store/repository.js';
|
|
7
|
+
import type { DeleteAgentResult, RemoveWorktreeResult, StartAgentOptions, StartAgentResult } from '../dashboard/types.js';
|
|
8
|
+
/**
|
|
9
|
+
* The key every action on one run locks under (`agent-locks.ts`): a Remove, a Delete and an Open
|
|
10
|
+
* PR on the same run each run their own git; serialized, whichever runs second finds the state
|
|
11
|
+
* the first one left and acts on that. The project and the run's id, not the checkout's path:
|
|
12
|
+
* the path is the branches provider's to know, and an Open PR on a run whose checkout is gone
|
|
13
|
+
* still locks the run.
|
|
14
|
+
*/
|
|
15
|
+
export declare function agentLockKey(cwd: string, agentId: string): string;
|
|
16
|
+
/**
|
|
17
|
+
* Stop a live agent (the Stop button): SIGINT to the process the run's own card names, when it is
|
|
18
|
+
* this machine's and alive. The card is the file the dashboard shows the run from, and its pid is
|
|
19
|
+
* whoever runs the agent; the framework names no tool. Nothing else: a run without a live pid
|
|
20
|
+
* here has nothing to stop.
|
|
21
|
+
*/
|
|
22
|
+
export declare function sendStop(projectId: string, agentId?: string): Promise<void>;
|
|
23
|
+
/**
|
|
24
|
+
* Answer the question a run stopped on (#304, #1774). `pick` is one option id, or the chosen
|
|
25
|
+
* subset of a multi-select; the answer handed to the run is the chosen labels, read off the
|
|
26
|
+
* question as the run's own diary holds it, so only what the agent offered can be answered.
|
|
27
|
+
*/
|
|
28
|
+
export declare function sendChoice(projectId: string, id: string, pick: string | string[], agentId?: string): Promise<SteerResult>;
|
|
29
|
+
/**
|
|
30
|
+
* Queue the user's pick for the question a Claude web session is parked on (#1237).
|
|
31
|
+
*
|
|
32
|
+
* Not a line for a run like {@link sendChoice}: a cloud agent has no run here to hand it to, so
|
|
33
|
+
* the pick goes to the bridge store, where the browser extension collects it, types
|
|
34
|
+
* it into the session's composer and submits. Only labels of the currently parked question are
|
|
35
|
+
* accepted — one, or a multi-select's subset — and the daemon composes the text typed from them,
|
|
36
|
+
* so this can never put arbitrary text in front of another product's agent. Local only, no
|
|
37
|
+
* relay: the bridge lives on the daemon the extension talks to.
|
|
38
|
+
*/
|
|
39
|
+
export declare function sendBridgeAnswer(sessionId: string, labels: string[]): Promise<{
|
|
40
|
+
ok: boolean;
|
|
41
|
+
error?: string;
|
|
42
|
+
}>;
|
|
43
|
+
/** Withdraw a queued bridge answer (#1237). A no-op once the extension has delivered it. */
|
|
44
|
+
export declare function sendBridgeAnswerCancel(sessionId: string): Promise<void>;
|
|
45
|
+
/**
|
|
46
|
+
* Say something to a run (#714, #1774): the person's own words, the next prompt of the same
|
|
47
|
+
* conversation. A run that is working takes them when its turn ends; an ended run is resumed
|
|
48
|
+
* with them. Empty messages are dropped.
|
|
49
|
+
*/
|
|
50
|
+
export declare function sendMessage(projectId: string, text: string, agentId?: string): Promise<SteerResult>;
|
|
51
|
+
/**
|
|
52
|
+
* Remove a retained worktree (#737). An agent that failed or was stopped keeps its checkout so you
|
|
53
|
+
* can inspect it; this is the explicit cleanup for one, since nothing removes them on a timer.
|
|
54
|
+
*
|
|
55
|
+
* The checks and the removal are {@link removeProjectWorktree}'s, shared with the CLI's removal
|
|
56
|
+
* path (#982) so the surfaces cannot drift again; this adds only the agent lock around them.
|
|
57
|
+
*/
|
|
58
|
+
export declare function sendRemoveWorktree(projectId: string, agentId: string): Promise<RemoveWorktreeResult>;
|
|
59
|
+
/**
|
|
60
|
+
* Delete a session (#1032): remove it from the dashboard, records and all — the sibling of
|
|
61
|
+
* {@link sendRemoveWorktree}, and the one destructive-of-history action, so its surface confirms
|
|
62
|
+
* first. The checks, the worktree removal and what it leaves behind (the branch and its
|
|
63
|
+
* commits) are all {@link deleteProjectAgent}'s; this adds only the agent lock around them.
|
|
64
|
+
*/
|
|
65
|
+
export declare function sendDeleteAgent(projectId: string, agentId: string): Promise<DeleteAgentResult>;
|
|
66
|
+
/**
|
|
67
|
+
* Start a run in the project (#405, #1774): the project's own `start` hook line, reached through
|
|
68
|
+
* the daemon's wired `startAgent` (which relays to a connected device when the options name
|
|
69
|
+
* one). Answers the id of the run the hook began, or why there is none: a project without the
|
|
70
|
+
* line cannot start a run from here.
|
|
71
|
+
*/
|
|
72
|
+
export declare function sendStart(projectId: string, prompt: string, options?: StartAgentOptions): Promise<StartAgentResult>;
|
|
73
|
+
/**
|
|
74
|
+
* Open a project in the OS file manager or an editor (#490). Localhost-only: the daemon
|
|
75
|
+
* spawns a local command against the project's own registered path. A public host has no
|
|
76
|
+
* local path to resolve, so it returns an error rather than spawning anything.
|
|
77
|
+
*
|
|
78
|
+
* With a `agentId` it opens that session's own checkout instead (#798) — the whole point of
|
|
79
|
+
* opening it is to look at what the agent is doing, which is not in the project's tree.
|
|
80
|
+
*/
|
|
81
|
+
export declare function sendOpenInApp(projectId: string, target: OpenTarget, agentId?: string): Promise<OpenResult>;
|
|
82
|
+
/**
|
|
83
|
+
* Open a PR for a finished session's branch (#799): the project's branches provider pushes it
|
|
84
|
+
* first if the remote lacks it (#1774).
|
|
85
|
+
*
|
|
86
|
+
* The title and body come from what the agent already recorded: the branch the agent named its
|
|
87
|
+
* work with and the intent the user asked for. Nothing new is invented and nothing extra is asked
|
|
88
|
+
* of the user, which is the point of "offer the next step rather than describe it".
|
|
89
|
+
*/
|
|
90
|
+
export declare function sendOpenPullRequest(projectId: string, agentId: string, options?: {
|
|
91
|
+
draft?: boolean;
|
|
92
|
+
}): Promise<HandoffResult>;
|
|
93
|
+
/**
|
|
94
|
+
* The user's Publish branch action (#1820): push a finished run's branch and open no pull request,
|
|
95
|
+
* the last step where the project has no git host package. Under the agent lock, as Open PR is, so the push cannot race a Remove.
|
|
96
|
+
*/
|
|
97
|
+
export declare function sendPush(projectId: string, agentId: string): Promise<HandoffResult>;
|
|
98
|
+
/**
|
|
99
|
+
* The user's "Create a repository" action, for a project with no remote: the project's repository
|
|
100
|
+
* provider creates it private, sets it as the origin and pushes. The git host is looked up again
|
|
101
|
+
* afterwards: the project has a page there now.
|
|
102
|
+
*/
|
|
103
|
+
export declare function sendCreateRepository(projectId: string): Promise<CreateRepositoryResult>;
|
|
104
|
+
/**
|
|
105
|
+
* The user's "Merge into main" action: merge a finished run's branch into the project's default
|
|
106
|
+
* branch on this machine, for a project with no remote to push to. Under the agent lock, as the
|
|
107
|
+
* push is, so the merge cannot race a Remove.
|
|
108
|
+
*/
|
|
109
|
+
export declare function sendMergeBranch(projectId: string, agentId: string): Promise<HandoffResult>;
|
|
110
|
+
/**
|
|
111
|
+
* The user's Merge action (#1391): merge a finished run's open pull request, directly. A run
|
|
112
|
+
* that is still working has no Merge: its agent is still writing its branch, and the button comes
|
|
113
|
+
* with the ended view.
|
|
114
|
+
*/
|
|
115
|
+
export declare function sendMerge(projectId: string, agentId: string): Promise<HandoffResult>;
|
|
116
|
+
/**
|
|
117
|
+
* Ask the daemon's bridge browser to show its window (for the one-time sign-in), hide it again,
|
|
118
|
+
* or restart (#1332). Anything else is refused; a browser that is not running ignores show/hide.
|
|
119
|
+
*/
|
|
120
|
+
export declare function sendBridgeBrowser(action: BridgeBrowserAction): Promise<{
|
|
121
|
+
ok: boolean;
|
|
122
|
+
error?: string;
|
|
123
|
+
}>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/** One device to health-check: its profile id plus the origin and token to reach it with. */
|
|
2
|
+
export interface DeviceCheck {
|
|
3
|
+
id: string;
|
|
4
|
+
url: string;
|
|
5
|
+
token: string;
|
|
6
|
+
}
|
|
7
|
+
/** Ping each saved device and map its id to whether it answered (#1072). Bad entries are dropped. */
|
|
8
|
+
export declare function checkDevices(devices: DeviceCheck[]): Promise<Record<string, boolean>>;
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Tail a JSONL log: read what is already in it, then follow appends. Each complete line is
|
|
3
|
+
* parsed and handed to `onEvent`; malformed lines are skipped. Returns a stop function that
|
|
4
|
+
* removes the watcher and the poll.
|
|
5
|
+
*
|
|
6
|
+
* The reading is {@link JsonlTailer} and the following is {@link followFile}. This used to be
|
|
7
|
+
* its own copy of both, which is how it ended up missing the tailer's same-length-rewrite
|
|
8
|
+
* detection (#567).
|
|
9
|
+
*
|
|
10
|
+
* `onReplayed` is told once the first pull — the replay of everything already logged — has
|
|
11
|
+
* been delivered (#1383). That boundary is what lets a reconnecting client buffer the replay
|
|
12
|
+
* and swap its feed atomically instead of blanking while history re-streams. The follower
|
|
13
|
+
* only starts after it, so no appended line can slip in ahead of the marker. Best-effort on
|
|
14
|
+
* a failed first read: the marker still fires (the poll retries the read), because a client
|
|
15
|
+
* waiting on it forever would freeze its feed.
|
|
16
|
+
*
|
|
17
|
+
* Kept transport-agnostic (a plain `onEvent` callback, not a stream) so the file
|
|
18
|
+
* side can be driven on its own; `events.ts` wires it to the SSE endpoint.
|
|
19
|
+
*/
|
|
20
|
+
export declare function tailEvents<T = unknown>(path: string, onEvent: (event: T) => void, onReplayed?: () => void): () => void;
|
|
21
|
+
/**
|
|
22
|
+
* Reads the message a run is writing, from the live file beside its diary, for
|
|
23
|
+
* {@link tailAgentEvents}' `afterPull`: the file changes in the diary's directory, so the diary's
|
|
24
|
+
* watch reads it too. `send` gets the text when it changed, and `''` once the file is gone.
|
|
25
|
+
*/
|
|
26
|
+
export declare function partialReader(send: (text: string) => void): (diary: string) => Promise<void>;
|
|
27
|
+
/** Where a relocating tail reads now: a file it follows, a finished run's lines, whole, or nowhere yet (`pending`: ask again shortly). */
|
|
28
|
+
export type TailTarget<T> = {
|
|
29
|
+
file: string;
|
|
30
|
+
} | {
|
|
31
|
+
finished: T[];
|
|
32
|
+
} | {
|
|
33
|
+
pending: true;
|
|
34
|
+
};
|
|
35
|
+
/**
|
|
36
|
+
* Tail a run's diary across its relocations: the same read-then-follow as {@link tailEvents},
|
|
37
|
+
* but where the diary is is asked again whenever the tailed file is not there.
|
|
38
|
+
*
|
|
39
|
+
* A run's diary does not sit still. While the run works it is a file in the run's checkout; when
|
|
40
|
+
* the run ends its tool records it and reclaims the checkout, and from then on the diary is the
|
|
41
|
+
* finished run's, read whole from the project's runs provider. A fixed-path tail whose file was
|
|
42
|
+
* retired went silent *without the final lines* whenever the last `fs.watch` signal was lost —
|
|
43
|
+
* the 1s poll then found the file gone and had nothing to read, so the feed never learned the run
|
|
44
|
+
* ended. This tail treats a missing file as the question it is: it asks `resolve` where the diary
|
|
45
|
+
* is now (`resolveAgentDiary` answers the finished run once the checkout is gone, #1472). A new
|
|
46
|
+
* file retargets the same tailer and follows it. A finished run's lines are the same lines the
|
|
47
|
+
* file had, in the same order, so the ones past the count already delivered are sent and the tail
|
|
48
|
+
* ends: a finished diary does not grow. The same file, or no answer, means the diary has not
|
|
49
|
+
* moved, and the tail keeps waiting where it is. A diary that is nowhere yet (`pending`: the run
|
|
50
|
+
* was started a moment ago and its tool has not made the checkout, or it is being continued and
|
|
51
|
+
* its checkout is on its way back) is asked for again on the same cadence until it has a home,
|
|
52
|
+
* and only then followed; the replay boundary is reported once what that home holds has been
|
|
53
|
+
* delivered, not before: a feed that reconnects swaps what it shows for the replay at the
|
|
54
|
+
* boundary, and a boundary reported with nothing delivered emptied a chat that was full, for as
|
|
55
|
+
* long as the diary took to have a home. Asking even when the file was never seen matters for a
|
|
56
|
+
* short run (#1774): started, ended and reclaimed between two polls, its diary was only ever
|
|
57
|
+
* visible as a finished run.
|
|
58
|
+
*
|
|
59
|
+
* `onReplayed` keeps {@link tailEvents}' once-per-subscription contract: a relocation is not a
|
|
60
|
+
* new replay boundary, so it never fires twice.
|
|
61
|
+
*
|
|
62
|
+
* `afterPull` is told the diary's path after each read of it: the files beside the diary change
|
|
63
|
+
* with it, and a caller reads them there, on the same watch.
|
|
64
|
+
*/
|
|
65
|
+
export declare function tailAgentEvents<T = unknown>(resolve: (opts?: {
|
|
66
|
+
cached?: boolean;
|
|
67
|
+
}) => Promise<TailTarget<T> | undefined>, onEvent: (event: T) => void, onReplayed?: () => void, afterPull?: (diary: string) => Promise<void>): () => void;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import type { FrameworkEvent } from '../events.js';
|
|
2
|
+
/**
|
|
3
|
+
* The end-of-replay marker (#1383). A subscribe replays the whole log before following live,
|
|
4
|
+
* and without a boundary a reconnecting client cannot tell "replay still streaming" from "the
|
|
5
|
+
* log is genuinely this short" — so it blanked a populated feed and refilled it line by line.
|
|
6
|
+
* Sent once per subscription, after the on-disk replay is delivered. Wire-only: it is not a
|
|
7
|
+
* {@link FrameworkEvent}, is never written to any journal, and the client swallows it.
|
|
8
|
+
*/
|
|
9
|
+
export type StreamSync = {
|
|
10
|
+
kind: 'stream-sync';
|
|
11
|
+
};
|
|
12
|
+
/**
|
|
13
|
+
* The message the agent is writing, as far as it has got (the run's live file, beside its diary);
|
|
14
|
+
* empty once there is none. Wire-only like {@link StreamSync}: the pieces are never in the diary,
|
|
15
|
+
* and the page shows them until the whole message's line arrives.
|
|
16
|
+
*/
|
|
17
|
+
export type PartialMessage = {
|
|
18
|
+
kind: 'partial';
|
|
19
|
+
text: string;
|
|
20
|
+
};
|
|
21
|
+
/** What `onEvents` streams: the agent's events, plus the wire-only end-of-replay marker and partial message. */
|
|
22
|
+
export type LiveFeedEvent = FrameworkEvent | StreamSync | PartialMessage;
|
|
23
|
+
/**
|
|
24
|
+
* Follow one agent's events: `send` is called per event until the returned stop function runs.
|
|
25
|
+
* Returns undefined when there is nothing to stream (an unknown project), which the mount ends as
|
|
26
|
+
* a clean close — mirroring the read model's empty results rather than throwing at the client.
|
|
27
|
+
*
|
|
28
|
+
* The `agentId` names the run whose diary is followed; without one there is nothing to stream.
|
|
29
|
+
*
|
|
30
|
+
* Two sources, chosen by what is wired. An in-memory stream wins: an agent the daemon is relaying
|
|
31
|
+
* from a device (#1067). Otherwise the on-disk log. The daemon's source answers only for relayed
|
|
32
|
+
* runs, so an ordinary local agent falls through to tailing the log.
|
|
33
|
+
*
|
|
34
|
+
* Only the on-disk tail sends the {@link StreamSync} marker: the in-memory sources have no replay
|
|
35
|
+
* boundary to report, so a reconnecting client falls back to a grace deadline before swapping its
|
|
36
|
+
* feed (see use-live-events in the dashboard).
|
|
37
|
+
*/
|
|
38
|
+
export declare function streamAgentEvents(projectId: string, agentId: string | undefined, send: (value: LiveFeedEvent) => void, onDone?: () => void): Promise<(() => void) | undefined>;
|