@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,53 @@
|
|
|
1
|
+
import { type BranchesFor, type Checkout } from './branches.js';
|
|
2
|
+
import { type AnyDiaryLine, type RunsFor } from './runs.js';
|
|
3
|
+
/**
|
|
4
|
+
* A run's checkout, as the project's branches provider lists it, or `undefined` when it lists
|
|
5
|
+
* none for the id. The provider's list is shared for a few seconds; a run that is not in it may
|
|
6
|
+
* have started a moment ago, so a miss asks once more, fresh (`branches.ts` bounds how fresh).
|
|
7
|
+
*/
|
|
8
|
+
export declare function findCheckout(projectCwd: string, agentId: string, branches: BranchesFor, opts?: {
|
|
9
|
+
cached?: boolean;
|
|
10
|
+
}): Promise<Checkout | undefined>;
|
|
11
|
+
/**
|
|
12
|
+
* The checkout an agent id resolves to (#738/#797): the agent's own checkout while the project's
|
|
13
|
+
* branches provider lists one for it, else the project root. The list is asked fresh on a miss:
|
|
14
|
+
* a run that just started has its checkout before its tool has written the card (#766), and the
|
|
15
|
+
* event stream resolves its path once, when the browser opens it.
|
|
16
|
+
*
|
|
17
|
+
* An unknown or finished `agentId` falls back to the project root rather than failing: the
|
|
18
|
+
* run's checkout may already be gone, and the project's own state is still the sane thing to
|
|
19
|
+
* act on. This is the one resolution every run-addressed surface shares — the daemon's serve
|
|
20
|
+
* targets and previews, and each dashboard RPC — so the fallback rules cannot drift apart.
|
|
21
|
+
*/
|
|
22
|
+
export declare function resolveAgentCheckout(projectCwd: string, agentId: string | undefined, branches?: BranchesFor): Promise<string>;
|
|
23
|
+
/**
|
|
24
|
+
* Where a run's diary is, for a reader that follows it: a file while the run has a checkout, the
|
|
25
|
+
* finished run's lines once it has none, or nowhere yet (`pending`): the run was started a moment
|
|
26
|
+
* ago and its tool has not made the checkout, so the reader asks again shortly.
|
|
27
|
+
*/
|
|
28
|
+
export type AgentDiarySource = {
|
|
29
|
+
file: string;
|
|
30
|
+
} | {
|
|
31
|
+
finished: AnyDiaryLine[];
|
|
32
|
+
} | {
|
|
33
|
+
pending: true;
|
|
34
|
+
};
|
|
35
|
+
/**
|
|
36
|
+
* The diary a run-scoped subscribe should follow (#1472, #1774): the run's own `<id>.jsonl`.
|
|
37
|
+
* While the run has a checkout it is a file there, under the checkout's `.the-framework/`,
|
|
38
|
+
* written by the run's tool as the agent works. Once the run is recorded and its checkout
|
|
39
|
+
* reclaimed, it is the finished run's diary, whole, from the project's runs provider. A run that
|
|
40
|
+
* has neither yet was started a moment ago: its tool has not made the checkout, so the diary is
|
|
41
|
+
* nowhere yet, and the tail asks again (`../dashboard-rpc/events-tail.ts`). A project with no
|
|
42
|
+
* runs provider answers the same for a finished run: nowhere, where nothing more comes.
|
|
43
|
+
*
|
|
44
|
+
* `cached` answers from the shared lists only, never asking the checkouts fresh on a miss: for a
|
|
45
|
+
* reader that asks about a finished run for as long as it is open, in case it is resumed.
|
|
46
|
+
*
|
|
47
|
+
* Only the events tails resolve here; every other run-addressed surface keeps
|
|
48
|
+
* {@link resolveAgentCheckout}'s root fallback, where the project's own state is the sane
|
|
49
|
+
* thing to act on.
|
|
50
|
+
*/
|
|
51
|
+
export declare function resolveAgentDiary(projectCwd: string, agentId: string | undefined, runs?: RunsFor, branches?: BranchesFor, opts?: {
|
|
52
|
+
cached?: boolean;
|
|
53
|
+
}): Promise<AgentDiarySource | undefined>;
|
|
@@ -0,0 +1,266 @@
|
|
|
1
|
+
import type { FrameworkEvent } from '../events.js';
|
|
2
|
+
import { type BranchesFor, type Checkout } from './branches.js';
|
|
3
|
+
import { type AnyDiaryLine, type RunsFor } from './runs.js';
|
|
4
|
+
/**
|
|
5
|
+
* The read side of a project's runs (#1774). The daemon runs no agent and writes no run: a run's
|
|
6
|
+
* tool keeps the run's card (`<id>.json`) and diary (`<id>.jsonl`) under the `.the-framework/`
|
|
7
|
+
* of the run's own checkout while it works, and a finished run is whatever the project's runs
|
|
8
|
+
* provider answers (`runs.ts`), when one of its packages provides them. The dashboard is a
|
|
9
|
+
* projection of those files and that answer.
|
|
10
|
+
*/
|
|
11
|
+
export type AgentStatus = 'running' | 'done' | 'stopped' | 'failed' | 'waiting';
|
|
12
|
+
/**
|
|
13
|
+
* A queryable snapshot of the agent, derived entirely from the event log. Lets the
|
|
14
|
+
* dashboard render a header (and a future agent list) without parsing every line.
|
|
15
|
+
*/
|
|
16
|
+
export interface AgentMeta {
|
|
17
|
+
status: AgentStatus;
|
|
18
|
+
/** Stable, path-safe id for this agent (derived from {@link startedAt}). */
|
|
19
|
+
id: string;
|
|
20
|
+
/** ISO timestamp the store was opened (run start). */
|
|
21
|
+
startedAt: string;
|
|
22
|
+
/** ISO timestamp of the last event written. */
|
|
23
|
+
updatedAt: string;
|
|
24
|
+
/** ISO timestamp the run ended (the `end` event), absent while it is going. The skill's card field. */
|
|
25
|
+
endedAt?: string;
|
|
26
|
+
/** What the run cost so far in US dollars, summed over its `usage` events; absent until one says. The skill's card field. */
|
|
27
|
+
cost?: number;
|
|
28
|
+
/**
|
|
29
|
+
* The OS pid of the process running this run, on {@link host} — whatever process the project's
|
|
30
|
+
* start hook began. Recorded on the card so Stop has something to signal, and so a reader can
|
|
31
|
+
* tell a run that is working from one whose process died without recording an ending (#716).
|
|
32
|
+
*/
|
|
33
|
+
pid?: number;
|
|
34
|
+
/** The host the owning {@link pid} lives on, so a pid probe only trusts a match (#716). */
|
|
35
|
+
host?: string;
|
|
36
|
+
/** What this session was asked for (from the `intent` event). */
|
|
37
|
+
intent?: string;
|
|
38
|
+
/**
|
|
39
|
+
* The run this one was started for, by its id: this run is that run's subagent. Written on the
|
|
40
|
+
* card by the tool that started it; absent on a run a person or a schedule started.
|
|
41
|
+
*/
|
|
42
|
+
parent?: string;
|
|
43
|
+
/**
|
|
44
|
+
* The branch the run was told to start from, by its name: a person's local branch picked in the
|
|
45
|
+
* launcher, or, for a subagent, its main agent's branch. Written on the card by the tool that
|
|
46
|
+
* started it; absent on a run that started from origin's default branch.
|
|
47
|
+
*/
|
|
48
|
+
base?: string;
|
|
49
|
+
/**
|
|
50
|
+
* The commit the run's own work begins at: where its branch was made, for a run started from a
|
|
51
|
+
* branch other than the default one (a subagent starts from its main agent's). Its changes are
|
|
52
|
+
* measured from it; absent, from the default branch. Written on the card by the tool that
|
|
53
|
+
* started it.
|
|
54
|
+
*/
|
|
55
|
+
baseCommit?: string;
|
|
56
|
+
/**
|
|
57
|
+
* The last commit of the run's work, written on the card when its main agent landed it: its
|
|
58
|
+
* branch is gone, and its changes are read from this commit. Absent on a run that is not landed.
|
|
59
|
+
*/
|
|
60
|
+
landed?: string;
|
|
61
|
+
/** The wrapped agent (from the `session` event). */
|
|
62
|
+
driver?: string;
|
|
63
|
+
/** The workspace the agent builds in (from the `session` event). */
|
|
64
|
+
workspace?: string;
|
|
65
|
+
/** The wrapped agent's real session id, once it reports one. */
|
|
66
|
+
sessionId?: string;
|
|
67
|
+
/** The link shown to jump into the live agent session. */
|
|
68
|
+
sessionLink?: string;
|
|
69
|
+
/**
|
|
70
|
+
* The branch the agent's work is on: the card's, and for a run with a checkout the branch that
|
|
71
|
+
* checkout has checked out right now (the branches provider reads it), since the agent renames
|
|
72
|
+
* its branch itself while the card learns the new name only when the run ends.
|
|
73
|
+
*
|
|
74
|
+
* Recorded, not derived: a clean agent loses its checkout, and the agent renames its branch
|
|
75
|
+
* itself (#1725), so no name built from the run's id is guaranteed to be the one holding the
|
|
76
|
+
* commits.
|
|
77
|
+
*/
|
|
78
|
+
branch?: string;
|
|
79
|
+
/**
|
|
80
|
+
* The hand-off anchor a cloud run pushed for its session to clone at (#1601): an empty commit
|
|
81
|
+
* unique to this run, folded from the `cloud-anchor` event. The session works on a `claude/*`
|
|
82
|
+
* branch of the cloud's own naming, and this is the ancestor by which the daemon's adoption
|
|
83
|
+
* pass recognizes which of origin's `claude/*` heads is this run's. Absent on non-web runs
|
|
84
|
+
* and on web runs whose pre-hand-off push failed.
|
|
85
|
+
*/
|
|
86
|
+
cloudAnchor?: string;
|
|
87
|
+
/**
|
|
88
|
+
* The pull request this session's work is on (E6), recorded when one is opened rather than
|
|
89
|
+
* re-derived from branch names and timestamps by every surface that wants it.
|
|
90
|
+
*/
|
|
91
|
+
pr?: {
|
|
92
|
+
number: number;
|
|
93
|
+
url: string;
|
|
94
|
+
};
|
|
95
|
+
/**
|
|
96
|
+
* What this session's end-of-session handoff is armed to do (#1102): push its branch, and open
|
|
97
|
+
* a draft PR for it. Both start on.
|
|
98
|
+
*
|
|
99
|
+
* On the meta because the checkboxes that show it live in a different process from the agent that
|
|
100
|
+
* obeys it, and a tab opened after the agent started has no event history to fold — the same
|
|
101
|
+
* reason {@link browserStreamPort} is here. Absent means an older agent, which the reader treats
|
|
102
|
+
* as armed, matching what that agent will actually do.
|
|
103
|
+
*
|
|
104
|
+
* `merge` mirrors the auto-merge arming (#1216, #1382) — display-only, like the rest of this
|
|
105
|
+
* field: the agent merges off its own config, never off the meta. Absent on records from before
|
|
106
|
+
* #1382, which the reader treats as off.
|
|
107
|
+
*/
|
|
108
|
+
handoff?: {
|
|
109
|
+
push: boolean;
|
|
110
|
+
pr: boolean;
|
|
111
|
+
merge?: boolean;
|
|
112
|
+
};
|
|
113
|
+
/**
|
|
114
|
+
* How the handoff's merge half went (#1418), folded from the `handoff` event's `merge` field.
|
|
115
|
+
*
|
|
116
|
+
* What the daemon's CI watch scans for: `watched` is a PR waiting for green that *this* side
|
|
117
|
+
* must merge (the repo could not arm the git host's auto-merge), `auto-armed` one the git host will land by
|
|
118
|
+
* itself but whose checks going red is still ours to notice. On the meta because the watch
|
|
119
|
+
* reads metas, not event logs, and must survive both the agent's process and the daemon's.
|
|
120
|
+
* Absent on runs from before this field, and on every agent whose handoff had no merge to report.
|
|
121
|
+
*/
|
|
122
|
+
mergeOutcome?: 'auto-armed' | 'merged' | 'watched' | 'withheld' | 'failed';
|
|
123
|
+
/**
|
|
124
|
+
* The choice gate the agent is currently parked on (#636): set when a `choice` event fires and
|
|
125
|
+
* cleared when its `choice-resolved` (or the agent's `end`) arrives. Present means the agent is
|
|
126
|
+
* paused waiting for the user's answer — the second "needs you" source after open PRs (#624).
|
|
127
|
+
*/
|
|
128
|
+
pendingChoice?: {
|
|
129
|
+
id: string;
|
|
130
|
+
title: string;
|
|
131
|
+
};
|
|
132
|
+
/**
|
|
133
|
+
* The browser bridge holds a question this run's cloud session is parked on (#1668). Not stored:
|
|
134
|
+
* the daemon annotates a web run's record on the way to the dashboard, the way a relayed run's
|
|
135
|
+
* label is, because the bridge store is in memory and the archive on disk knows nothing of it.
|
|
136
|
+
*/
|
|
137
|
+
cloudWaiting?: boolean;
|
|
138
|
+
/**
|
|
139
|
+
* The run was started by another machine's daemon (#1648): its {@link host} is not this one.
|
|
140
|
+
* Not stored either — annotated on the way to the dashboard like {@link cloudWaiting}, since
|
|
141
|
+
* the shared data branch shows every machine's runs here and only this daemon knows which host
|
|
142
|
+
* it is.
|
|
143
|
+
*/
|
|
144
|
+
otherHost?: boolean;
|
|
145
|
+
/**
|
|
146
|
+
* The run ended clean and its process is still alive on this host: the tool that runs it is
|
|
147
|
+
* still saving its record and cleaning up its checkout, the window every surface says "saving…" for.
|
|
148
|
+
* Not stored: annotated on the way to the dashboard like {@link otherHost}, since only this
|
|
149
|
+
* machine can ask whether the process is alive.
|
|
150
|
+
*/
|
|
151
|
+
saving?: boolean;
|
|
152
|
+
/**
|
|
153
|
+
* The loopback port the agent's browser preview is listening on (#813), or absent when the agent
|
|
154
|
+
* has no browser. What lets the daemon proxy the pane: the port is allocated per agent and the
|
|
155
|
+
* dashboard is a different process, so meta is the only place it can learn it.
|
|
156
|
+
*/
|
|
157
|
+
browserStreamPort?: number;
|
|
158
|
+
/**
|
|
159
|
+
* Where this run executes (#1050/#1053/#610): `actions` for a GitHub Actions run, `web` for a
|
|
160
|
+
* Claude Code cloud session, `remote` when relayed to a connected device (#1067), absent for a
|
|
161
|
+
* local run. Persisted so the agent view can tell a burst-mode Actions run from a stalled live
|
|
162
|
+
* feed, show a cloud agent's session link after a reload, and gate the browser pane off (#1053).
|
|
163
|
+
*/
|
|
164
|
+
target?: 'local' | 'actions' | 'remote' | 'web';
|
|
165
|
+
/** The connected device a remote agent (#1067) executes on, for the session list + notice after a reload. */
|
|
166
|
+
remoteLabel?: string;
|
|
167
|
+
/**
|
|
168
|
+
* The flow this agent started under (#1467): `build` for the scope→build orchestration, `prompt`
|
|
169
|
+
* for the direct-prompt path (research and transparent runs record `prompt` too). Persisted so a
|
|
170
|
+
* continuation (#762) can re-enter the flow its first leg ran — the composer's Resume always
|
|
171
|
+
* arrives as a `prompt` start, and without this record a resumed build agent ended as a bare
|
|
172
|
+
* prompt session (no synthesize framing, no backlog offer). Absent on records from before this
|
|
173
|
+
* field, which a reader treats as unknown (the continuation then keeps the prompt path).
|
|
174
|
+
*/
|
|
175
|
+
kind?: 'build' | 'prompt';
|
|
176
|
+
/**
|
|
177
|
+
* The model id the current leg's agent was started with (#1438), folded from each leg's
|
|
178
|
+
* `session` event — a continuation (#762) may run a different model than the first leg, so
|
|
179
|
+
* the latest leg wins rather than the first pinning it. Absent when the leg left the agent
|
|
180
|
+
* on its own default (and on records from before this field).
|
|
181
|
+
*/
|
|
182
|
+
model?: string;
|
|
183
|
+
}
|
|
184
|
+
/**
|
|
185
|
+
* The slice of a filesystem the store's reads need: the logic is testable with an in-memory fs,
|
|
186
|
+
* and only {@link nodeStoreFs} touches disk.
|
|
187
|
+
*/
|
|
188
|
+
export interface StoreFs {
|
|
189
|
+
read(path: string): Promise<string>;
|
|
190
|
+
write(path: string, contents: string): Promise<void>;
|
|
191
|
+
append(path: string, contents: string): Promise<void>;
|
|
192
|
+
exists(path: string): Promise<boolean>;
|
|
193
|
+
mkdir(path: string): Promise<void>;
|
|
194
|
+
/** List a directory's entries (names only). Missing dir yields `[]`. */
|
|
195
|
+
readdir(path: string): Promise<string[]>;
|
|
196
|
+
}
|
|
197
|
+
/**
|
|
198
|
+
* A project's finished runs, most-recent first: what its runs provider answers, unfolded into the
|
|
199
|
+
* framework's meta. No provider, or one that cannot be read, is no runs, never a throw.
|
|
200
|
+
*
|
|
201
|
+
* `since` (epoch ms) is for a caller that only wants recent runs — a poll on a cadence, not the
|
|
202
|
+
* history list. `fresh` asks the provider past its last answer: the caller knows a run just finished.
|
|
203
|
+
*/
|
|
204
|
+
export declare function listAgents(cwd: string, runs?: RunsFor, opts?: {
|
|
205
|
+
since?: number;
|
|
206
|
+
fresh?: boolean;
|
|
207
|
+
}): Promise<AgentMeta[]>;
|
|
208
|
+
/**
|
|
209
|
+
* One finished run's whole diary, from the project's runs provider: for a reader that follows a
|
|
210
|
+
* run past its checkout. `undefined` for an unknown or unsafe id, a project with no provider, and
|
|
211
|
+
* a record that still says `running` — the marker a run's tool may leave as it starts, before its
|
|
212
|
+
* checkout exists: that run is not finished, its diary is still to come in the checkout.
|
|
213
|
+
*/
|
|
214
|
+
export declare function readFinishedDiary(cwd: string, agentId: string, runs?: RunsFor): Promise<AnyDiaryLine[] | undefined>;
|
|
215
|
+
/**
|
|
216
|
+
* Whether `pid` is a live process on this host. `process.kill(pid, 0)` sends no signal but
|
|
217
|
+
* throws `ESRCH` once the process is gone; `EPERM` means it exists under another user (still
|
|
218
|
+
* alive). A pid on a *different* host is unknowable here, so callers guard on {@link AgentMeta.host}
|
|
219
|
+
* before trusting a result. A recycled pid (another process reusing a dead agent's number) reads as
|
|
220
|
+
* alive — an accepted, vanishingly rare miss on a single dev box.
|
|
221
|
+
*/
|
|
222
|
+
export declare function isPidAlive(pid: number): boolean;
|
|
223
|
+
/**
|
|
224
|
+
* The run a checkout holds, off its live card, `<id>.json` under the checkout's `.the-framework/`:
|
|
225
|
+
* the shape agent-driver's log writes, read as the meta the card unfolds to, `running` or not (a
|
|
226
|
+
* run that ended waiting on a question keeps its checkout), on the branch the checkout is on now
|
|
227
|
+
* (the provider read it), since the agent renames its branch itself while its card learns the new
|
|
228
|
+
* name only when the run ends. `undefined` when there is no card.
|
|
229
|
+
* Never healed here: the tool that started the run sweeps its own dead runs.
|
|
230
|
+
*/
|
|
231
|
+
export declare function readLiveMeta(checkout: Checkout, fs?: StoreFs): Promise<AgentMeta | undefined>;
|
|
232
|
+
/** A run with a checkout, plus that checkout (#738): where to read the run's git and file status from. */
|
|
233
|
+
export interface LiveAgent extends AgentMeta {
|
|
234
|
+
/** The run's own checkout, a worktree under `.branches/`. */
|
|
235
|
+
cwd: string;
|
|
236
|
+
}
|
|
237
|
+
/**
|
|
238
|
+
* Every run of a project that has a checkout (#738): each checkout the project's branches
|
|
239
|
+
* provider lists, its card through {@link readLiveMeta}. Newest first, by id. Never throws: a
|
|
240
|
+
* project with no provider has no checkouts, and an unreadable checkout is skipped.
|
|
241
|
+
*/
|
|
242
|
+
export declare function readLiveMetas(cwd: string, fs?: StoreFs, branches?: BranchesFor): Promise<LiveAgent[]>;
|
|
243
|
+
/**
|
|
244
|
+
* One run's events, for a reader that replays them: the diary in the run's checkout while it has
|
|
245
|
+
* one (it is the newer of the two), else the finished run's diary from the runs provider.
|
|
246
|
+
* `undefined` for an unknown or unsafe id.
|
|
247
|
+
*/
|
|
248
|
+
export declare function loadAgentEvents(cwd: string, id: string, fs?: StoreFs, runs?: RunsFor, branches?: BranchesFor): Promise<FrameworkEvent[] | undefined>;
|
|
249
|
+
/**
|
|
250
|
+
* What each of the named runs is doing now, by id: the last thing its diary says it did (a tool
|
|
251
|
+
* it used, with what) or said, on one line. Only a run with a checkout whose card says `running`
|
|
252
|
+
* has an entry: an ended run is doing nothing, and its row says how it ended.
|
|
253
|
+
*/
|
|
254
|
+
export declare function readDoing(cwd: string, ids: readonly string[], fs?: StoreFs, branches?: BranchesFor): Promise<Record<string, string>>;
|
|
255
|
+
/** A {@link StoreFs} backed by `node:fs/promises`. See {@link nodeFs}. */
|
|
256
|
+
export declare function nodeStoreFs(): StoreFs;
|
|
257
|
+
/**
|
|
258
|
+
* A project's runs: the ones with a checkout prepended to the finished ones, newest-first.
|
|
259
|
+
* Forgiving — a side that cannot be read simply contributes nothing.
|
|
260
|
+
*
|
|
261
|
+
* The checkout's card wins over the recorded one (#768): a resumed run has a record from its
|
|
262
|
+
* first leg AND is going again, and the record alone would show a running agent as finished.
|
|
263
|
+
*/
|
|
264
|
+
export declare function readAllAgents(cwd: string, fs?: StoreFs, runs?: RunsFor, branches?: BranchesFor): Promise<AgentMeta[]>;
|
|
265
|
+
/** One run's meta by id, the checkout's card winning over the record: {@link readAllAgents}'s rule for a single row. */
|
|
266
|
+
export declare function findAgent(cwd: string, agentId: string, fs?: StoreFs, runs?: RunsFor, branches?: BranchesFor): Promise<AgentMeta | undefined>;
|
|
@@ -0,0 +1,163 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The checkouts and the branches, as the framework reads and acts on them (#1774). The framework
|
|
3
|
+
* keeps no checkout and imports no branches package: a project's checkouts come from whichever of
|
|
4
|
+
* its packages declares that it provides them — `"framework": { "branches": "<command>" }` in the
|
|
5
|
+
* package's own package.json — and the framework reads and moves them by running that command.
|
|
6
|
+
* Swap the package for another that answers the same command line and prints the same shapes,
|
|
7
|
+
* and nothing here changes. No package declares it: the project has no checkouts, so no run with
|
|
8
|
+
* one, no branch to hand off, nothing to remove.
|
|
9
|
+
*
|
|
10
|
+
* The command line a provider answers, each printing one JSON document and exiting 0 (a refusal
|
|
11
|
+
* exits 1 with its reason on stderr):
|
|
12
|
+
* `<command> list [--sizes]` every checkout, as an array of {@link Checkout}
|
|
13
|
+
* `<command> show [--from <commit>] <branch>...` what each branch holds and where it stands, as an array of {@link BranchState}, in the order asked;
|
|
14
|
+
* measured from `<commit>`, where the branches started, in place of the default branch;
|
|
15
|
+
* a full commit id in place of a branch is read as a branch that ends there
|
|
16
|
+
* `<command> merge <b>` merge the branch into the default branch, on this machine, then delete it
|
|
17
|
+
* `<command> push --branch <b>` push the branch to the remote; a branch only the remote has is answered as it is
|
|
18
|
+
* `<command> remove <id> [--from <commit>] [--discard]` reclaim a run's checkout once its branch holds everything, pushing nothing, its branch measured from the commit it started from; `--discard` drops uncommitted work
|
|
19
|
+
* `list` and `show` read this machine, no network: the framework polls. `show` answers the branch's
|
|
20
|
+
* git facts only; its pull request is the git host provider's (`git-host.ts`), as every pull request is.
|
|
21
|
+
*
|
|
22
|
+
* That is the whole contract: git, and nothing beyond it (#1820). The framework reads checkouts to
|
|
23
|
+
* find the runs that have one, and a branch's state for what it composes: the run page's handoff,
|
|
24
|
+
* the Human Queue's unpushed rows. Opening a pull request is the push here, then the git host
|
|
25
|
+
* provider's `open`. What a checkout is, where it lives, how a branch is pushed is the package's.
|
|
26
|
+
*
|
|
27
|
+
* The shapes, owned here: {@link Checkout}, {@link BranchState}.
|
|
28
|
+
*/
|
|
29
|
+
/** A run's checkout: where it works, as a provider lists it. */
|
|
30
|
+
export interface Checkout {
|
|
31
|
+
/** The run's id. */
|
|
32
|
+
id: string;
|
|
33
|
+
/** The checkout's directory, absolute. */
|
|
34
|
+
path: string;
|
|
35
|
+
/** The branch it is on; absent for a checkout on none, or one git no longer knows. */
|
|
36
|
+
branch?: string;
|
|
37
|
+
/** The name the agent gave its work, as the provider answers it; absent while the run has not named it. Drawn where a branch would be drawn as a name. */
|
|
38
|
+
name?: string;
|
|
39
|
+
/** Its size on disk, when sizes were asked for. */
|
|
40
|
+
sizeBytes?: number;
|
|
41
|
+
}
|
|
42
|
+
/** One commit a branch holds beyond its base. */
|
|
43
|
+
export interface BranchCommit {
|
|
44
|
+
sha: string;
|
|
45
|
+
subject: string;
|
|
46
|
+
}
|
|
47
|
+
/** One file a branch changed against its base. */
|
|
48
|
+
export interface BranchFile {
|
|
49
|
+
path: string;
|
|
50
|
+
insertions: number;
|
|
51
|
+
deletions: number;
|
|
52
|
+
/** A binary file, where line counts mean nothing. */
|
|
53
|
+
binary: boolean;
|
|
54
|
+
}
|
|
55
|
+
/** What a branch holds and where it stands, as a provider answers `show`: git facts, no pull request. */
|
|
56
|
+
export interface BranchState {
|
|
57
|
+
branch: string;
|
|
58
|
+
/** The name the agent gave its work, as the provider answers it; absent while the run has not named it. */
|
|
59
|
+
name?: string;
|
|
60
|
+
/** The branch exists on this machine. Gone: every list below is empty, and only the remote can say more. */
|
|
61
|
+
exists: boolean;
|
|
62
|
+
/** What it is measured against: the commit asked with `--from`, else the project's default branch, when one was found. */
|
|
63
|
+
base?: string;
|
|
64
|
+
/** The branch's own commits beyond the base, newest first. */
|
|
65
|
+
commits: BranchCommit[];
|
|
66
|
+
/** What it changed since it left the base. */
|
|
67
|
+
files: BranchFile[];
|
|
68
|
+
/** The project has a remote to push to. */
|
|
69
|
+
hasRemote: boolean;
|
|
70
|
+
/** The remote has the branch at this same tip. */
|
|
71
|
+
pushed: boolean;
|
|
72
|
+
/** The base already contains it. */
|
|
73
|
+
merged: boolean;
|
|
74
|
+
/** The uncommitted paths in the checkout that is on this branch; absent when no checkout is. */
|
|
75
|
+
pendingFiles?: string[];
|
|
76
|
+
}
|
|
77
|
+
/** What pushing a branch did: `pushed` is false when only the remote had it, so there was nothing here to push. */
|
|
78
|
+
export type PushOutcome = {
|
|
79
|
+
ok: true;
|
|
80
|
+
pushed: boolean;
|
|
81
|
+
} | {
|
|
82
|
+
ok: false;
|
|
83
|
+
error: string;
|
|
84
|
+
};
|
|
85
|
+
/**
|
|
86
|
+
* What merging a branch into the project's default branch did: `into` names that branch, `commit`
|
|
87
|
+
* is the merged branch's last commit and `from` the commit its work began at, and `deleted` says
|
|
88
|
+
* the branch went once its work was in.
|
|
89
|
+
*/
|
|
90
|
+
export type MergeOutcome = {
|
|
91
|
+
ok: true;
|
|
92
|
+
into: string;
|
|
93
|
+
commit: string;
|
|
94
|
+
from: string;
|
|
95
|
+
deleted: boolean;
|
|
96
|
+
} | {
|
|
97
|
+
ok: false;
|
|
98
|
+
error: string;
|
|
99
|
+
};
|
|
100
|
+
/** What reclaiming a checkout did: done, with the branches that went with it when any did, or the provider's reason it stayed. */
|
|
101
|
+
export type RemoveOutcome = {
|
|
102
|
+
ok: true;
|
|
103
|
+
branchesDeleted?: string[];
|
|
104
|
+
} | {
|
|
105
|
+
ok: false;
|
|
106
|
+
error: string;
|
|
107
|
+
};
|
|
108
|
+
/** A project's checkouts and branches: what a provider answers, read and moved by the framework. */
|
|
109
|
+
export interface BranchesSource {
|
|
110
|
+
/**
|
|
111
|
+
* Every checkout; `[]` when none can be read. `fresh` asks past a list read within the window:
|
|
112
|
+
* the caller is looking for a checkout that may have just appeared. A list read less than
|
|
113
|
+
* {@link FRESH_MS} ago still answers, so a caller asking every second for a run that has no
|
|
114
|
+
* checkout is not a process every second.
|
|
115
|
+
*/
|
|
116
|
+
list(opts?: {
|
|
117
|
+
sizes?: boolean;
|
|
118
|
+
fresh?: boolean;
|
|
119
|
+
}): Promise<Checkout[]>;
|
|
120
|
+
/**
|
|
121
|
+
* Each branch's state, in the order asked; a branch the provider did not answer for is missing.
|
|
122
|
+
* `[]` when nothing can be read. `from` is the commit the branches started from, which their
|
|
123
|
+
* commits and files are then measured from. A full commit id in place of a branch reads what a
|
|
124
|
+
* branch that ended there held.
|
|
125
|
+
*/
|
|
126
|
+
show(branches: readonly string[], from?: string): Promise<BranchState[]>;
|
|
127
|
+
/** Push a branch to the remote: the checkout on it under its clean rule, else the branch itself. */
|
|
128
|
+
push(branch: string): Promise<PushOutcome>;
|
|
129
|
+
/** Merge a branch into the project's default branch, on this machine, then delete it; a merge that conflicts changes nothing. */
|
|
130
|
+
merge(branch: string): Promise<MergeOutcome>;
|
|
131
|
+
/**
|
|
132
|
+
* Reclaim a run's checkout, or why it stayed. `from` is the commit the run's branch started
|
|
133
|
+
* from, when that is not the default branch: what tells a branch with nothing of its own.
|
|
134
|
+
* `discard` drops its uncommitted work instead of refusing over it.
|
|
135
|
+
*/
|
|
136
|
+
remove(id: string, opts?: {
|
|
137
|
+
discard?: boolean;
|
|
138
|
+
from?: string;
|
|
139
|
+
}): Promise<RemoveOutcome>;
|
|
140
|
+
}
|
|
141
|
+
/** The checkouts of the project at `root`, or `undefined` when none of its packages provides them. */
|
|
142
|
+
export type BranchesFor = (root: string) => Promise<BranchesSource | undefined>;
|
|
143
|
+
/** A {@link BranchesFor} that also forgets what it read of one project, for when a module or a run just wrote there. */
|
|
144
|
+
export type BranchesReader = BranchesFor & {
|
|
145
|
+
changed(root: string): void;
|
|
146
|
+
};
|
|
147
|
+
/** The rows read back from a provider's `list`: the objects with an id and a path, everything else as printed; anything else is no checkout. */
|
|
148
|
+
export declare function parseCheckouts(output: unknown): Checkout[];
|
|
149
|
+
/** The states read back from a provider's `show`: the objects with a branch and the three verdicts, lists cleaned; anything else is no state. */
|
|
150
|
+
export declare function parseBranchStates(output: unknown): BranchState[];
|
|
151
|
+
/**
|
|
152
|
+
* The production {@link BranchesReader}: the project's provider, looked up by its package.json,
|
|
153
|
+
* one source per project kept while the same command provides — so the cache holds across the
|
|
154
|
+
* many reads of one poll, and a project that installs, swaps or drops its provider is read the new
|
|
155
|
+
* way within {@link CACHE_MS}. `changed(root)` forgets that project's reads, so the next read runs
|
|
156
|
+
* the command again: a run just started there, or a module's command just ran, and a checkout may
|
|
157
|
+
* have come or gone.
|
|
158
|
+
*/
|
|
159
|
+
export declare function providedBranches(now?: () => number): BranchesReader;
|
|
160
|
+
/** The framework's one reader of the checkouts, shared by every caller so they share its cache. */
|
|
161
|
+
export declare const projectBranches: BranchesReader;
|
|
162
|
+
/** A {@link BranchesFor} for a project with no provider: no checkouts. */
|
|
163
|
+
export declare const noBranches: BranchesFor;
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The project's git host, as the framework reads and acts on it (#1820): the pull requests of the
|
|
3
|
+
* project, opening one, landing one, and the project's page there. The framework names no git host
|
|
4
|
+
* and runs no git host tool: a project's git host comes from whichever of its packages declares that it
|
|
5
|
+
* provides it — `"framework": { "git-host": "<command>" }` in the package's own package.json — and
|
|
6
|
+
* the framework asks by running that command. Swap the package for another that answers the same
|
|
7
|
+
* command line and prints the same shapes, and nothing here changes. No package declares it: the
|
|
8
|
+
* project has no git host, so no pull requests, and a finished run's last step is the push. A
|
|
9
|
+
* built-in package's git host is the project's only when it answers the project's page there: a
|
|
10
|
+
* project whose remote is on another host, or that has no remote, has none.
|
|
11
|
+
*
|
|
12
|
+
* The command line a provider answers, each printing one JSON document and exiting 0 (a refusal
|
|
13
|
+
* exits 1 with its reason on stderr):
|
|
14
|
+
* `<command> requests [--branch <b>] [--state open|merged|all] [--since <iso>]`
|
|
15
|
+
* the project's pull requests, newest first, as an array of {@link GitHostRequest}
|
|
16
|
+
* `<command> open --branch <b> --title <t> [--body <text>] [--draft]`
|
|
17
|
+
* open the branch's pull request; an open one is answered as it is (`existing`)
|
|
18
|
+
* `<command> merge <number>` land the pull request: armed to merge on green, or merged at once
|
|
19
|
+
* `<command> home` the project's page on the git host, and the git host's name
|
|
20
|
+
* The branch `open` is asked for must already be on the remote: pushing is the branches
|
|
21
|
+
* provider's step, and the framework runs it first.
|
|
22
|
+
*
|
|
23
|
+
* The shapes, owned here: {@link GitHostRequest}, {@link GitHostHome}.
|
|
24
|
+
*/
|
|
25
|
+
/** A pull request, as a provider lists it. */
|
|
26
|
+
export interface GitHostRequest {
|
|
27
|
+
number: number;
|
|
28
|
+
url: string;
|
|
29
|
+
state: 'open' | 'merged' | 'closed';
|
|
30
|
+
title: string;
|
|
31
|
+
draft: boolean;
|
|
32
|
+
/** The branch the request is from. */
|
|
33
|
+
branch: string;
|
|
34
|
+
/** The commit the request's head is at. */
|
|
35
|
+
head: string;
|
|
36
|
+
/** ISO creation time. */
|
|
37
|
+
createdAt: string;
|
|
38
|
+
/** ISO merge time, for a merged request. */
|
|
39
|
+
mergedAt?: string;
|
|
40
|
+
/** The commit a merged request landed as on the base branch. */
|
|
41
|
+
mergeCommit?: string;
|
|
42
|
+
}
|
|
43
|
+
/** The project's page on the git host, and what the git host is called: what a link is drawn from. */
|
|
44
|
+
export interface GitHostHome {
|
|
45
|
+
url: string;
|
|
46
|
+
name: string;
|
|
47
|
+
}
|
|
48
|
+
/** What asking for requests answered: the list, or why there is none: "none" and "could not tell" are different answers. */
|
|
49
|
+
export type RequestsOutcome = {
|
|
50
|
+
ok: true;
|
|
51
|
+
requests: GitHostRequest[];
|
|
52
|
+
} | {
|
|
53
|
+
ok: false;
|
|
54
|
+
error: string;
|
|
55
|
+
};
|
|
56
|
+
/** What opening a pull request left: the request, and whether it was open already. */
|
|
57
|
+
export type OpenOutcome = {
|
|
58
|
+
ok: true;
|
|
59
|
+
request: {
|
|
60
|
+
number: number;
|
|
61
|
+
url: string;
|
|
62
|
+
};
|
|
63
|
+
existing: boolean;
|
|
64
|
+
} | {
|
|
65
|
+
ok: false;
|
|
66
|
+
error: string;
|
|
67
|
+
};
|
|
68
|
+
/** What landing a pull request did: armed to merge on green, merged at once, or the provider watching its checks. */
|
|
69
|
+
export type MergeOutcome = {
|
|
70
|
+
ok: true;
|
|
71
|
+
outcome: 'auto-armed' | 'merged' | 'watching';
|
|
72
|
+
} | {
|
|
73
|
+
ok: false;
|
|
74
|
+
error: string;
|
|
75
|
+
};
|
|
76
|
+
/** A project's git host: what a provider answers, read and moved by the framework. */
|
|
77
|
+
export interface GitHostSource {
|
|
78
|
+
/** The project's pull requests, newest first: all, or one branch's, or by state, or since a time. */
|
|
79
|
+
requests(opts?: {
|
|
80
|
+
branch?: string;
|
|
81
|
+
state?: 'open' | 'merged' | 'all';
|
|
82
|
+
since?: string;
|
|
83
|
+
}): Promise<RequestsOutcome>;
|
|
84
|
+
/** Open a branch's pull request, or answer the open one. */
|
|
85
|
+
open(branch: string, opts: {
|
|
86
|
+
title: string;
|
|
87
|
+
body?: string;
|
|
88
|
+
draft?: boolean;
|
|
89
|
+
}): Promise<OpenOutcome>;
|
|
90
|
+
/** Land a pull request. */
|
|
91
|
+
merge(number: number): Promise<MergeOutcome>;
|
|
92
|
+
/** The project's page on the git host; `undefined` when the provider cannot tell (no remote there). */
|
|
93
|
+
home(): Promise<GitHostHome | undefined>;
|
|
94
|
+
}
|
|
95
|
+
/** The git host of the project at `root`, or `undefined` when none of its packages provides one. */
|
|
96
|
+
export type GitHostFor = (root: string) => Promise<GitHostSource | undefined>;
|
|
97
|
+
/** A {@link GitHostFor} that also forgets what it knows of one project. */
|
|
98
|
+
export type GitHostReader = GitHostFor & {
|
|
99
|
+
changed(root: string): void;
|
|
100
|
+
};
|
|
101
|
+
/** The rows read back from a provider's `requests`: the objects with the facts a request needs; anything else is no request. */
|
|
102
|
+
export declare function parseRequests(output: unknown): GitHostRequest[];
|
|
103
|
+
/**
|
|
104
|
+
* The production {@link GitHostReader}: the project's provider, looked up by its package.json, one
|
|
105
|
+
* source per project kept while the same command provides, so a project that installs, swaps or
|
|
106
|
+
* drops its git host is read the new way within {@link CACHE_MS}. `changed(root)` forgets the
|
|
107
|
+
* project, so the next ask looks its provider up again.
|
|
108
|
+
*/
|
|
109
|
+
export declare function providedGitHost(now?: () => number): GitHostReader;
|
|
110
|
+
/** The framework's one reader of the git host, shared by every caller. */
|
|
111
|
+
export declare const projectGitHost: GitHostReader;
|
|
112
|
+
/** A {@link GitHostFor} for a project with no git host package. */
|
|
113
|
+
export declare const noGitHost: GitHostFor;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export { nodeStoreFs, listAgents, readAllAgents, findAgent, isPidAlive, readLiveMeta, loadAgentEvents, readLiveMetas, readDoing, readFinishedDiary, type StoreFs, type AgentMeta, type LiveAgent, type AgentStatus, } from './agent-store.js';
|
|
2
|
+
export { findCheckout, resolveAgentCheckout, resolveAgentDiary, type AgentDiarySource } from './agent-checkout.js';
|
|
3
|
+
export { projectRuns, providedRuns, noRuns, parseRunCard, isRunId, type RunsFor, type RunsReader, type RunsSource, type RunsWrite, type RunCard, type RunPatch, type RunStatus, type AnyDiaryLine, type FinishedRun } from './runs.js';
|
|
4
|
+
export { projectBranches, providedBranches, noBranches, parseCheckouts, parseBranchStates, type BranchesFor, type BranchesReader, type BranchesSource, type RemoveOutcome as BranchRemoveOutcome, type Checkout, type BranchState, type BranchCommit, type BranchFile, type PushOutcome as BranchPushOutcome } from './branches.js';
|
|
5
|
+
export { projectGitHost, providedGitHost, noGitHost, parseRequests, type GitHostFor, type GitHostReader, type GitHostSource, type GitHostRequest, type GitHostHome, type RequestsOutcome as GitHostRequestsOutcome, type OpenOutcome as GitHostOpenOutcome, type MergeOutcome as GitHostMergeOutcome } from './git-host.js';
|
|
6
|
+
export { projectQueue, providedQueue, noQueue, parseQueueEntries, type QueueFor, type QueueReader, type QueueSource } from './queue.js';
|
|
7
|
+
export { providedDataChanged } from './provided.js';
|
|
8
|
+
export { fromRunCard, fromDiaryLine, eventsOf } from './run-record.js';
|
|
9
|
+
export { agentIdFromStartedAt, startedAtFromAgentId } from '../agent-id.js';
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A package's command just ran in the project at `root` (a module's, through the dashboard), and
|
|
3
|
+
* may have written what one of the framework's provided readers caches: every provided reader
|
|
4
|
+
* forgets that project, so its next read runs the provider again. The framework never knows which
|
|
5
|
+
* command writes what; forgetting is cheap and re-reading is what it does anyway.
|
|
6
|
+
*/
|
|
7
|
+
export declare function providedDataChanged(root: string): void;
|
|
8
|
+
/** The kinds of the framework's data a project's package may provide, one reader each (`git-host` is `git-host.ts`). */
|
|
9
|
+
export declare const PROVIDED_KINDS: readonly ['tickets', 'queue', 'runs', 'branches', 'git-host', 'repository'];
|
|
10
|
+
/**
|
|
11
|
+
* Why a kind of the project's data has no provider although packages declare it (#1820): two or
|
|
12
|
+
* more declare the kind and the project's package.json names none, or names one that does not
|
|
13
|
+
* declare it. One sentence per such kind, for the project's error banner; none when every kind is
|
|
14
|
+
* settled. Nobody declaring a kind is not a problem: the project has none of that data.
|
|
15
|
+
*/
|
|
16
|
+
export declare function providerProblems(root: string): Promise<string[]>;
|