@openagt/dashboard 0.8.0 → 0.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +14 -17
- package/dist/agent-view.d.ts +3 -3
- package/dist/bridge-browser.d.ts +4 -4
- package/dist/bridge-browser.d.ts.map +1 -1
- package/dist/bridge-browser.js +8 -8
- package/dist/bridge-browser.js.map +1 -1
- package/dist/built-in.d.ts +45 -14
- package/dist/built-in.d.ts.map +1 -1
- package/dist/built-in.js +122 -27
- package/dist/built-in.js.map +1 -1
- package/dist/chrome-extension/background.js +11 -11
- package/dist/chrome-extension/content.js +37 -37
- package/dist/chrome-extension/driver-plan.js +1 -1
- package/dist/chrome-extension/fingerprint.js +1 -1
- package/dist/chrome-extension/manifest.json +3 -3
- package/dist/chrome-extension/options.html +4 -4
- package/dist/chrome-extension/options.js +4 -4
- package/dist/cli.d.ts +1 -1
- package/dist/cli.js +7 -7
- package/dist/cli.js.map +1 -1
- package/dist/client.d.ts +1 -1
- package/dist/client.js +2 -2
- package/dist/cloud-run-state.d.ts +1 -1
- package/dist/cloud-scratch-refs.js +7 -7
- package/dist/cloud-scratch-refs.js.map +1 -1
- package/dist/cloud-work.js +2 -2
- package/dist/daemon-runtime.d.ts +5 -4
- package/dist/daemon-runtime.d.ts.map +1 -1
- package/dist/daemon-runtime.js +59 -10
- package/dist/daemon-runtime.js.map +1 -1
- package/dist/daemon-services.d.ts +4 -3
- package/dist/daemon-services.d.ts.map +1 -1
- package/dist/daemon-services.js +14 -8
- package/dist/daemon-services.js.map +1 -1
- package/dist/daemon-tick.js +1 -1
- package/dist/daemon.d.ts +1 -12
- package/dist/daemon.d.ts.map +1 -1
- package/dist/daemon.js +9 -32
- package/dist/daemon.js.map +1 -1
- package/dist/dashboard/agent-handoff.d.ts +4 -4
- package/dist/dashboard/agent-handoff.js +7 -7
- package/dist/dashboard/agent-handoff.js.map +1 -1
- package/dist/dashboard/bridge-endpoints.d.ts +3 -3
- package/dist/dashboard/bridge-endpoints.js +3 -3
- package/dist/dashboard/content-type.js +1 -1
- package/dist/dashboard/docs.d.ts +1 -1
- package/dist/dashboard/docs.js +1 -1
- package/dist/dashboard/git-status.d.ts +1 -1
- package/dist/dashboard/index.d.ts +1 -1
- package/dist/dashboard/index.d.ts.map +1 -1
- package/dist/dashboard/interventions.d.ts +2 -2
- package/dist/dashboard/open-in-app.d.ts +3 -3
- package/dist/dashboard/open-in-app.js +4 -4
- package/dist/dashboard/open-questions.d.ts +2 -2
- package/dist/dashboard/projects.d.ts +6 -5
- package/dist/dashboard/projects.d.ts.map +1 -1
- package/dist/dashboard/projects.js.map +1 -1
- package/dist/dashboard/pull-requests.d.ts +5 -5
- package/dist/dashboard/pull-requests.d.ts.map +1 -1
- package/dist/dashboard/pull-requests.js +2 -2
- package/dist/dashboard/pull-requests.js.map +1 -1
- package/dist/dashboard/relay-endpoints.d.ts +3 -3
- package/dist/dashboard/relay-endpoints.js +1 -1
- package/dist/dashboard/remote-run.d.ts +5 -5
- package/dist/dashboard/remote-run.js +3 -3
- package/dist/dashboard/rpc-serve.d.ts +7 -4
- package/dist/dashboard/rpc-serve.d.ts.map +1 -1
- package/dist/dashboard/rpc-serve.js.map +1 -1
- package/dist/dashboard/run-inbox.d.ts +2 -2
- package/dist/dashboard/run-inbox.js +4 -4
- package/dist/dashboard/run-inbox.js.map +1 -1
- package/dist/dashboard/server.d.ts +6 -4
- package/dist/dashboard/server.d.ts.map +1 -1
- package/dist/dashboard/server.js +3 -2
- package/dist/dashboard/server.js.map +1 -1
- package/dist/dashboard/start-branch.d.ts +32 -0
- package/dist/dashboard/start-branch.d.ts.map +1 -0
- package/dist/dashboard/start-branch.js +47 -0
- package/dist/dashboard/start-branch.js.map +1 -0
- package/dist/dashboard/static.js +1 -1
- package/dist/dashboard/types.d.ts +29 -3
- package/dist/dashboard/types.d.ts.map +1 -1
- package/dist/dashboard/web-start-endpoints.d.ts +1 -1
- package/dist/dashboard/web-start-endpoints.d.ts.map +1 -1
- package/dist/dashboard/web-start-endpoints.js +1 -1
- package/dist/dashboard/web-start-endpoints.js.map +1 -1
- package/dist/dashboard-bundle/assets/main-Q7JMdMJI.css +2 -0
- package/dist/dashboard-bundle/assets/main-fDZWGOub.js +140 -0
- package/dist/dashboard-bundle/assets/{module-jASZmfSB.js → module-gKz-ZvkG.js} +4 -4
- package/dist/dashboard-bundle/host/module.js +1 -1
- package/dist/dashboard-bundle/index.html +6 -6
- package/dist/dashboard-rpc/context.d.ts +2 -0
- package/dist/dashboard-rpc/context.d.ts.map +1 -1
- package/dist/dashboard-rpc/context.js +4 -0
- package/dist/dashboard-rpc/context.js.map +1 -1
- package/dist/dashboard-rpc/control.d.ts +1 -1
- package/dist/dashboard-rpc/control.js +3 -3
- package/dist/dashboard-rpc/control.js.map +1 -1
- package/dist/dashboard-rpc/events.d.ts +3 -3
- package/dist/dashboard-rpc/index.d.ts +2 -1
- package/dist/dashboard-rpc/index.d.ts.map +1 -1
- package/dist/dashboard-rpc/index.js +4 -2
- package/dist/dashboard-rpc/index.js.map +1 -1
- package/dist/dashboard-rpc/modules.d.ts +8 -6
- package/dist/dashboard-rpc/modules.d.ts.map +1 -1
- package/dist/dashboard-rpc/modules.js +8 -6
- package/dist/dashboard-rpc/modules.js.map +1 -1
- package/dist/dashboard-rpc/preferences.d.ts +2 -2
- package/dist/dashboard-rpc/preferences.d.ts.map +1 -1
- package/dist/dashboard-rpc/preferences.js +2 -2
- package/dist/dashboard-rpc/preferences.js.map +1 -1
- package/dist/dashboard-rpc/projects.d.ts +29 -3
- package/dist/dashboard-rpc/projects.d.ts.map +1 -1
- package/dist/dashboard-rpc/projects.js +57 -8
- package/dist/dashboard-rpc/projects.js.map +1 -1
- package/dist/dashboard-rpc/reads.d.ts +3 -3
- package/dist/dashboard-rpc/reads.js +1 -1
- package/dist/dashboard-rpc/skills.d.ts +80 -0
- package/dist/dashboard-rpc/skills.d.ts.map +1 -0
- package/dist/dashboard-rpc/skills.js +84 -0
- package/dist/dashboard-rpc/skills.js.map +1 -0
- package/dist/dashboard-rpc/test-context.d.ts.map +1 -1
- package/dist/dashboard-rpc/test-context.js +4 -3
- package/dist/dashboard-rpc/test-context.js.map +1 -1
- package/dist/event-stream.d.ts +1 -1
- package/dist/event-stream.js +1 -1
- package/dist/events.d.ts +8 -8
- package/dist/events.d.ts.map +1 -1
- package/dist/index.d.ts +3 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/install.d.ts +9 -7
- package/dist/install.d.ts.map +1 -1
- package/dist/install.js +28 -14
- package/dist/install.js.map +1 -1
- package/dist/module-server.d.ts +1 -1
- package/dist/module-types/dashboard/components/ui/switch.d.ts +7 -0
- package/dist/module-types/dashboard/lib/route.d.ts +2 -1
- package/dist/module-types/dashboard/lib/use-modules.d.ts +4 -3
- package/dist/module-types/dashboard/module/index.d.ts +6 -5
- package/dist/module-types/src/agent-view.d.ts +3 -3
- package/dist/module-types/src/bridge-browser.d.ts +4 -4
- package/dist/module-types/src/built-in.d.ts +45 -14
- package/dist/module-types/src/client.d.ts +1 -1
- package/dist/module-types/src/cloud-run-state.d.ts +1 -1
- package/dist/module-types/src/dashboard/agent-handoff.d.ts +4 -4
- package/dist/module-types/src/dashboard/bridge-endpoints.d.ts +3 -3
- package/dist/module-types/src/dashboard/docs.d.ts +1 -1
- package/dist/module-types/src/dashboard/git-status.d.ts +1 -1
- package/dist/module-types/src/dashboard/interventions.d.ts +2 -2
- package/dist/module-types/src/dashboard/open-in-app.d.ts +3 -3
- package/dist/module-types/src/dashboard/open-questions.d.ts +2 -2
- package/dist/module-types/src/dashboard/projects.d.ts +6 -5
- package/dist/module-types/src/dashboard/pull-requests.d.ts +5 -5
- package/dist/module-types/src/dashboard/remote-run.d.ts +5 -5
- package/dist/module-types/src/dashboard/rpc-serve.d.ts +7 -4
- package/dist/module-types/src/dashboard/run-inbox.d.ts +2 -2
- package/dist/module-types/src/dashboard/start-branch.d.ts +31 -0
- package/dist/module-types/src/dashboard/types.d.ts +29 -3
- package/dist/module-types/src/dashboard-rpc/context.d.ts +2 -0
- package/dist/module-types/src/dashboard-rpc/control.d.ts +1 -1
- package/dist/module-types/src/dashboard-rpc/events.d.ts +3 -3
- package/dist/module-types/src/dashboard-rpc/index.d.ts +2 -1
- package/dist/module-types/src/dashboard-rpc/modules.d.ts +8 -6
- package/dist/module-types/src/dashboard-rpc/preferences.d.ts +2 -2
- package/dist/module-types/src/dashboard-rpc/projects.d.ts +29 -3
- package/dist/module-types/src/dashboard-rpc/reads.d.ts +3 -3
- package/dist/module-types/src/dashboard-rpc/skills.d.ts +79 -0
- package/dist/module-types/src/event-stream.d.ts +1 -1
- package/dist/module-types/src/events.d.ts +8 -8
- package/dist/module-types/src/index.d.ts +3 -2
- package/dist/module-types/src/open-choices.d.ts +2 -2
- package/dist/module-types/src/openagent-dir.d.ts +8 -0
- package/dist/module-types/src/openagent-gitignore.d.ts +11 -0
- package/dist/module-types/src/project-commands.d.ts +5 -1
- package/dist/module-types/src/project-errors.d.ts +11 -7
- package/dist/module-types/src/project-hooks.d.ts +12 -9
- package/dist/module-types/src/project-modules.d.ts +9 -7
- package/dist/module-types/src/project-presets.d.ts +4 -4
- package/dist/module-types/src/project.d.ts +6 -6
- package/dist/module-types/src/publish-levels.d.ts +4 -4
- package/dist/module-types/src/quota-boundary.d.ts +2 -2
- package/dist/module-types/src/registry.d.ts +13 -7
- package/dist/module-types/src/store/agent-checkout.d.ts +1 -1
- package/dist/module-types/src/store/agent-store.d.ts +6 -6
- package/dist/module-types/src/store/branches.d.ts +8 -8
- package/dist/module-types/src/store/git-host.d.ts +8 -8
- package/dist/module-types/src/store/provided.d.ts +3 -3
- package/dist/module-types/src/store/queue.d.ts +9 -9
- package/dist/module-types/src/store/repository.d.ts +2 -2
- package/dist/module-types/src/store/run-record.d.ts +10 -10
- package/dist/module-types/src/store/runs.d.ts +7 -7
- package/dist/module-types/src/store/tickets.d.ts +8 -8
- package/dist/module-types/src/terminal.d.ts +3 -3
- package/dist/open-choices.d.ts +2 -2
- package/dist/openagent-dir.d.ts +9 -0
- package/dist/openagent-dir.d.ts.map +1 -0
- package/dist/openagent-dir.js +9 -0
- package/dist/openagent-dir.js.map +1 -0
- package/dist/openagent-gitignore.d.ts +12 -0
- package/dist/openagent-gitignore.d.ts.map +1 -0
- package/dist/openagent-gitignore.js +19 -0
- package/dist/openagent-gitignore.js.map +1 -0
- package/dist/pick-directory.js +2 -2
- package/dist/pick-directory.js.map +1 -1
- package/dist/project-commands.d.ts +5 -1
- package/dist/project-commands.d.ts.map +1 -1
- package/dist/project-commands.js +1 -1
- package/dist/project-commands.js.map +1 -1
- package/dist/project-errors.d.ts +11 -7
- package/dist/project-errors.d.ts.map +1 -1
- package/dist/project-errors.js +10 -8
- package/dist/project-errors.js.map +1 -1
- package/dist/project-hooks.d.ts +12 -9
- package/dist/project-hooks.d.ts.map +1 -1
- package/dist/project-hooks.js +17 -14
- package/dist/project-hooks.js.map +1 -1
- package/dist/project-modules.d.ts +9 -7
- package/dist/project-modules.d.ts.map +1 -1
- package/dist/project-modules.js +7 -13
- package/dist/project-modules.js.map +1 -1
- package/dist/project-presets.d.ts +4 -4
- package/dist/project-presets.d.ts.map +1 -1
- package/dist/project-presets.js +9 -9
- package/dist/project-presets.js.map +1 -1
- package/dist/project.d.ts +6 -6
- package/dist/project.d.ts.map +1 -1
- package/dist/project.js +6 -7
- package/dist/project.js.map +1 -1
- package/dist/publish-levels.d.ts +4 -4
- package/dist/publish-levels.d.ts.map +1 -1
- package/dist/publish-levels.js +7 -5
- package/dist/publish-levels.js.map +1 -1
- package/dist/quota-boundary.d.ts +2 -2
- package/dist/quota-boundary.js +2 -2
- package/dist/registry.d.ts +13 -7
- package/dist/registry.d.ts.map +1 -1
- package/dist/registry.js +19 -3
- package/dist/registry.js.map +1 -1
- package/dist/remove-files.d.ts +24 -0
- package/dist/remove-files.d.ts.map +1 -0
- package/dist/remove-files.js +98 -0
- package/dist/remove-files.js.map +1 -0
- package/dist/store/agent-checkout.d.ts +1 -1
- package/dist/store/agent-checkout.js +3 -3
- package/dist/store/agent-checkout.js.map +1 -1
- package/dist/store/agent-store.d.ts +6 -6
- package/dist/store/agent-store.js +8 -8
- package/dist/store/agent-store.js.map +1 -1
- package/dist/store/branches.d.ts +8 -8
- package/dist/store/branches.d.ts.map +1 -1
- package/dist/store/branches.js +2 -2
- package/dist/store/branches.js.map +1 -1
- package/dist/store/git-host.d.ts +8 -8
- package/dist/store/git-host.d.ts.map +1 -1
- package/dist/store/git-host.js +3 -3
- package/dist/store/git-host.js.map +1 -1
- package/dist/store/provided.d.ts +3 -3
- package/dist/store/provided.d.ts.map +1 -1
- package/dist/store/provided.js +3 -3
- package/dist/store/provided.js.map +1 -1
- package/dist/store/queue.d.ts +9 -9
- package/dist/store/queue.d.ts.map +1 -1
- package/dist/store/queue.js +2 -2
- package/dist/store/queue.js.map +1 -1
- package/dist/store/repository.d.ts +2 -2
- package/dist/store/run-record.d.ts +10 -10
- package/dist/store/run-record.d.ts.map +1 -1
- package/dist/store/run-record.js +7 -7
- package/dist/store/run-record.js.map +1 -1
- package/dist/store/runs.d.ts +7 -7
- package/dist/store/runs.d.ts.map +1 -1
- package/dist/store/runs.js +3 -3
- package/dist/store/runs.js.map +1 -1
- package/dist/store/test-branches.d.ts +0 -8
- package/dist/store/test-branches.d.ts.map +1 -1
- package/dist/store/test-branches.js +0 -24
- package/dist/store/test-branches.js.map +1 -1
- package/dist/store/tickets.d.ts +8 -8
- package/dist/store/tickets.d.ts.map +1 -1
- package/dist/store/tickets.js +2 -2
- package/dist/store/tickets.js.map +1 -1
- package/dist/terminal.d.ts +3 -3
- package/dist/terminal.js +3 -3
- package/package.json +23 -20
- package/dist/agent-archive.d.ts +0 -35
- package/dist/agent-archive.d.ts.map +0 -1
- package/dist/agent-archive.js +0 -67
- package/dist/agent-archive.js.map +0 -1
- package/dist/agent-commit.d.ts +0 -140
- package/dist/agent-commit.d.ts.map +0 -1
- package/dist/agent-commit.js +0 -254
- package/dist/agent-commit.js.map +0 -1
- package/dist/agent-driver.d.ts +0 -28
- package/dist/agent-driver.d.ts.map +0 -1
- package/dist/agent-driver.js +0 -18
- package/dist/agent-driver.js.map +0 -1
- package/dist/agent-location.d.ts +0 -11
- package/dist/agent-location.d.ts.map +0 -1
- package/dist/agent-location.js +0 -10
- package/dist/agent-location.js.map +0 -1
- package/dist/agent-messages.d.ts +0 -55
- package/dist/agent-messages.d.ts.map +0 -1
- package/dist/agent-messages.js +0 -73
- package/dist/agent-messages.js.map +0 -1
- package/dist/agent-names.d.ts +0 -24
- package/dist/agent-names.d.ts.map +0 -1
- package/dist/agent-names.js +0 -33
- package/dist/agent-names.js.map +0 -1
- package/dist/agent-options.d.ts +0 -45
- package/dist/agent-options.d.ts.map +0 -1
- package/dist/agent-options.js +0 -83
- package/dist/agent-options.js.map +0 -1
- package/dist/agent-spec.d.ts +0 -56
- package/dist/agent-spec.d.ts.map +0 -1
- package/dist/agent-spec.js +0 -56
- package/dist/agent-spec.js.map +0 -1
- package/dist/agent-telemetry.d.ts +0 -88
- package/dist/agent-telemetry.d.ts.map +0 -1
- package/dist/agent-telemetry.js +0 -97
- package/dist/agent-telemetry.js.map +0 -1
- package/dist/agent.d.ts +0 -113
- package/dist/agent.d.ts.map +0 -1
- package/dist/agent.js +0 -168
- package/dist/agent.js.map +0 -1
- package/dist/archived-agent-patch.d.ts +0 -14
- package/dist/archived-agent-patch.d.ts.map +0 -1
- package/dist/archived-agent-patch.js +0 -22
- package/dist/archived-agent-patch.js.map +0 -1
- package/dist/auto-pm.d.ts +0 -538
- package/dist/auto-pm.d.ts.map +0 -1
- package/dist/auto-pm.js +0 -707
- package/dist/auto-pm.js.map +0 -1
- package/dist/await-gate.d.ts +0 -184
- package/dist/await-gate.d.ts.map +0 -1
- package/dist/await-gate.js +0 -252
- package/dist/await-gate.js.map +0 -1
- package/dist/branch-links-pass.d.ts +0 -15
- package/dist/branch-links-pass.d.ts.map +0 -1
- package/dist/branch-links-pass.js +0 -13
- package/dist/branch-links-pass.js.map +0 -1
- package/dist/branch-links.d.ts +0 -53
- package/dist/branch-links.d.ts.map +0 -1
- package/dist/branch-links.js +0 -94
- package/dist/branch-links.js.map +0 -1
- package/dist/branch-names.d.ts +0 -57
- package/dist/branch-names.d.ts.map +0 -1
- package/dist/branch-names.js +0 -72
- package/dist/branch-names.js.map +0 -1
- package/dist/ci-watch.d.ts +0 -123
- package/dist/ci-watch.d.ts.map +0 -1
- package/dist/ci-watch.js +0 -228
- package/dist/ci-watch.js.map +0 -1
- package/dist/claude-trust.d.ts +0 -16
- package/dist/claude-trust.d.ts.map +0 -1
- package/dist/claude-trust.js +0 -72
- package/dist/claude-trust.js.map +0 -1
- package/dist/cli-exec.d.ts +0 -36
- package/dist/cli-exec.d.ts.map +0 -1
- package/dist/cli-exec.js +0 -44
- package/dist/cli-exec.js.map +0 -1
- package/dist/closing-keywords.d.ts +0 -28
- package/dist/closing-keywords.d.ts.map +0 -1
- package/dist/closing-keywords.js +0 -49
- package/dist/closing-keywords.js.map +0 -1
- package/dist/config-layers.d.ts +0 -62
- package/dist/config-layers.d.ts.map +0 -1
- package/dist/config-layers.js +0 -70
- package/dist/config-layers.js.map +0 -1
- package/dist/config.d.ts +0 -54
- package/dist/config.d.ts.map +0 -1
- package/dist/config.js +0 -78
- package/dist/config.js.map +0 -1
- package/dist/consumption-guard.d.ts +0 -53
- package/dist/consumption-guard.d.ts.map +0 -1
- package/dist/consumption-guard.js +0 -69
- package/dist/consumption-guard.js.map +0 -1
- package/dist/control.d.ts +0 -75
- package/dist/control.d.ts.map +0 -1
- package/dist/control.js +0 -68
- package/dist/control.js.map +0 -1
- package/dist/conversation-commit.d.ts +0 -166
- package/dist/conversation-commit.d.ts.map +0 -1
- package/dist/conversation-commit.js +0 -309
- package/dist/conversation-commit.js.map +0 -1
- package/dist/conversations.d.ts +0 -93
- package/dist/conversations.d.ts.map +0 -1
- package/dist/conversations.js +0 -176
- package/dist/conversations.js.map +0 -1
- package/dist/daemon-writes.d.ts +0 -33
- package/dist/daemon-writes.d.ts.map +0 -1
- package/dist/daemon-writes.js +0 -45
- package/dist/daemon-writes.js.map +0 -1
- package/dist/dashboard/agent-tree.d.ts +0 -106
- package/dist/dashboard/agent-tree.d.ts.map +0 -1
- package/dist/dashboard/agent-tree.js +0 -180
- package/dist/dashboard/agent-tree.js.map +0 -1
- package/dist/dashboard/browser-proxy.d.ts +0 -41
- package/dist/dashboard/browser-proxy.d.ts.map +0 -1
- package/dist/dashboard/browser-proxy.js +0 -96
- package/dist/dashboard/browser-proxy.js.map +0 -1
- package/dist/dashboard/discord-webhook.d.ts +0 -17
- package/dist/dashboard/discord-webhook.d.ts.map +0 -1
- package/dist/dashboard/discord-webhook.js +0 -36
- package/dist/dashboard/discord-webhook.js.map +0 -1
- package/dist/dashboard/file-diff.d.ts +0 -67
- package/dist/dashboard/file-diff.d.ts.map +0 -1
- package/dist/dashboard/file-diff.js +0 -132
- package/dist/dashboard/file-diff.js.map +0 -1
- package/dist/dashboard/file-read.d.ts +0 -42
- package/dist/dashboard/file-read.d.ts.map +0 -1
- package/dist/dashboard/file-read.js +0 -69
- package/dist/dashboard/file-read.js.map +0 -1
- package/dist/dashboard/file-status.d.ts +0 -21
- package/dist/dashboard/file-status.d.ts.map +0 -1
- package/dist/dashboard/file-status.js +0 -37
- package/dist/dashboard/file-status.js.map +0 -1
- package/dist/dashboard/gh.d.ts +0 -131
- package/dist/dashboard/gh.d.ts.map +0 -1
- package/dist/dashboard/gh.js +0 -150
- package/dist/dashboard/gh.js.map +0 -1
- package/dist/dashboard/github.d.ts +0 -11
- package/dist/dashboard/github.d.ts.map +0 -1
- package/dist/dashboard/github.js +0 -33
- package/dist/dashboard/github.js.map +0 -1
- package/dist/dashboard/run-handoff.d.ts +0 -311
- package/dist/dashboard/run-handoff.d.ts.map +0 -1
- package/dist/dashboard/run-handoff.js +0 -485
- package/dist/dashboard/run-handoff.js.map +0 -1
- package/dist/dashboard/scheduler-state.d.ts +0 -73
- package/dist/dashboard/scheduler-state.d.ts.map +0 -1
- package/dist/dashboard/scheduler-state.js +0 -120
- package/dist/dashboard/scheduler-state.js.map +0 -1
- package/dist/dashboard/subagent-settings.d.ts +0 -26
- package/dist/dashboard/subagent-settings.d.ts.map +0 -1
- package/dist/dashboard/subagent-settings.js +0 -52
- package/dist/dashboard/subagent-settings.js.map +0 -1
- package/dist/dashboard/telefunc-serve.d.ts +0 -118
- package/dist/dashboard/telefunc-serve.d.ts.map +0 -1
- package/dist/dashboard/telefunc-serve.js +0 -108
- package/dist/dashboard/telefunc-serve.js.map +0 -1
- package/dist/dashboard/tickets.d.ts +0 -29
- package/dist/dashboard/tickets.d.ts.map +0 -1
- package/dist/dashboard/tickets.js +0 -38
- package/dist/dashboard/tickets.js.map +0 -1
- package/dist/dashboard/widget-serve.d.ts +0 -15
- package/dist/dashboard/widget-serve.d.ts.map +0 -1
- package/dist/dashboard/widget-serve.js +0 -45
- package/dist/dashboard/widget-serve.js.map +0 -1
- package/dist/dashboard-bundle/assets/main-B3HghPQy.css +0 -2
- package/dist/dashboard-bundle/assets/main-om0WOAku.js +0 -140
- package/dist/dashboard-client/assets/chunks/chunk-BF9pJudf.js +0 -4
- package/dist/dashboard-client/assets/entries/entry-client-routing.CT1e9F0o.js +0 -1
- package/dist/dashboard-client/assets/entries/pages_index.CkW5JQ8X.js +0 -428
- package/dist/dashboard-client/assets/static/layouts_tailwind-00e65532.8OjKGAbA.css +0 -2
- package/dist/dashboard-client/index.html +0 -27
- package/dist/dashboard-client/index.pageContext.json +0 -1
- package/dist/dashboard-client/logo-animated.svg +0 -34
- package/dist/dashboard-client/logo.svg +0 -16
- package/dist/dashboard-rpc/control.telefunc.d.ts +0 -176
- package/dist/dashboard-rpc/control.telefunc.d.ts.map +0 -1
- package/dist/dashboard-rpc/control.telefunc.js +0 -373
- package/dist/dashboard-rpc/control.telefunc.js.map +0 -1
- package/dist/dashboard-rpc/devices.telefunc.d.ts +0 -9
- package/dist/dashboard-rpc/devices.telefunc.d.ts.map +0 -1
- package/dist/dashboard-rpc/devices.telefunc.js +0 -12
- package/dist/dashboard-rpc/devices.telefunc.js.map +0 -1
- package/dist/dashboard-rpc/events.telefunc.d.ts +0 -36
- package/dist/dashboard-rpc/events.telefunc.d.ts.map +0 -1
- package/dist/dashboard-rpc/events.telefunc.js +0 -70
- package/dist/dashboard-rpc/events.telefunc.js.map +0 -1
- package/dist/dashboard-rpc/preferences.telefunc.d.ts +0 -97
- package/dist/dashboard-rpc/preferences.telefunc.d.ts.map +0 -1
- package/dist/dashboard-rpc/preferences.telefunc.js +0 -157
- package/dist/dashboard-rpc/preferences.telefunc.js.map +0 -1
- package/dist/dashboard-rpc/projects.telefunc.d.ts +0 -56
- package/dist/dashboard-rpc/projects.telefunc.d.ts.map +0 -1
- package/dist/dashboard-rpc/projects.telefunc.js +0 -96
- package/dist/dashboard-rpc/projects.telefunc.js.map +0 -1
- package/dist/dashboard-rpc/quota.telefunc.d.ts +0 -40
- package/dist/dashboard-rpc/quota.telefunc.d.ts.map +0 -1
- package/dist/dashboard-rpc/quota.telefunc.js +0 -84
- package/dist/dashboard-rpc/quota.telefunc.js.map +0 -1
- package/dist/dashboard-rpc/reads.telefunc.d.ts +0 -197
- package/dist/dashboard-rpc/reads.telefunc.d.ts.map +0 -1
- package/dist/dashboard-rpc/reads.telefunc.js +0 -403
- package/dist/dashboard-rpc/reads.telefunc.js.map +0 -1
- package/dist/dashboard-rpc/register.d.ts +0 -18
- package/dist/dashboard-rpc/register.d.ts.map +0 -1
- package/dist/dashboard-rpc/register.js +0 -66
- package/dist/dashboard-rpc/register.js.map +0 -1
- package/dist/dashboard-rpc/relay-run.d.ts +0 -9
- package/dist/dashboard-rpc/relay-run.d.ts.map +0 -1
- package/dist/dashboard-rpc/relay-run.js +0 -21
- package/dist/dashboard-rpc/relay-run.js.map +0 -1
- package/dist/dashboard-rpc/stream-channel.d.ts +0 -23
- package/dist/dashboard-rpc/stream-channel.d.ts.map +0 -1
- package/dist/dashboard-rpc/stream-channel.js +0 -52
- package/dist/dashboard-rpc/stream-channel.js.map +0 -1
- package/dist/dashboard-rpc/subagents.d.ts +0 -12
- package/dist/dashboard-rpc/subagents.d.ts.map +0 -1
- package/dist/dashboard-rpc/subagents.js +0 -13
- package/dist/dashboard-rpc/subagents.js.map +0 -1
- package/dist/dashboard-rpc/widgets.d.ts +0 -33
- package/dist/dashboard-rpc/widgets.d.ts.map +0 -1
- package/dist/dashboard-rpc/widgets.js +0 -54
- package/dist/dashboard-rpc/widgets.js.map +0 -1
- package/dist/data-branch.d.ts +0 -120
- package/dist/data-branch.d.ts.map +0 -1
- package/dist/data-branch.js +0 -319
- package/dist/data-branch.js.map +0 -1
- package/dist/discord/bot.d.ts +0 -61
- package/dist/discord/bot.d.ts.map +0 -1
- package/dist/discord/bot.js +0 -94
- package/dist/discord/bot.js.map +0 -1
- package/dist/discord/gateway.d.ts +0 -137
- package/dist/discord/gateway.d.ts.map +0 -1
- package/dist/discord/gateway.js +0 -315
- package/dist/discord/gateway.js.map +0 -1
- package/dist/discord/live-run.d.ts +0 -31
- package/dist/discord/live-run.d.ts.map +0 -1
- package/dist/discord/live-run.js +0 -57
- package/dist/discord/live-run.js.map +0 -1
- package/dist/discord/reply-mirror.d.ts +0 -83
- package/dist/discord/reply-mirror.d.ts.map +0 -1
- package/dist/discord/reply-mirror.js +0 -84
- package/dist/discord/reply-mirror.js.map +0 -1
- package/dist/discord/rest.d.ts +0 -20
- package/dist/discord/rest.d.ts.map +0 -1
- package/dist/discord/rest.js +0 -41
- package/dist/discord/rest.js.map +0 -1
- package/dist/discord/routing.d.ts +0 -81
- package/dist/discord/routing.d.ts.map +0 -1
- package/dist/discord/routing.js +0 -91
- package/dist/discord/routing.js.map +0 -1
- package/dist/discord-credentials-store.d.ts +0 -14
- package/dist/discord-credentials-store.d.ts.map +0 -1
- package/dist/discord-credentials-store.js +0 -53
- package/dist/discord-credentials-store.js.map +0 -1
- package/dist/discord-credentials.d.ts +0 -80
- package/dist/discord-credentials.d.ts.map +0 -1
- package/dist/discord-credentials.js +0 -55
- package/dist/discord-credentials.js.map +0 -1
- package/dist/driver/actions-zip.d.ts +0 -2
- package/dist/driver/actions-zip.d.ts.map +0 -1
- package/dist/driver/actions-zip.js +0 -70
- package/dist/driver/actions-zip.js.map +0 -1
- package/dist/driver/actions.d.ts +0 -130
- package/dist/driver/actions.d.ts.map +0 -1
- package/dist/driver/actions.js +0 -261
- package/dist/driver/actions.js.map +0 -1
- package/dist/driver/agent-cli.d.ts +0 -57
- package/dist/driver/agent-cli.d.ts.map +0 -1
- package/dist/driver/agent-cli.js +0 -134
- package/dist/driver/agent-cli.js.map +0 -1
- package/dist/driver/child-registry.d.ts +0 -25
- package/dist/driver/child-registry.d.ts.map +0 -1
- package/dist/driver/child-registry.js +0 -53
- package/dist/driver/child-registry.js.map +0 -1
- package/dist/driver/claude-code-quota.d.ts +0 -40
- package/dist/driver/claude-code-quota.d.ts.map +0 -1
- package/dist/driver/claude-code-quota.js +0 -144
- package/dist/driver/claude-code-quota.js.map +0 -1
- package/dist/driver/claude-code.d.ts +0 -104
- package/dist/driver/claude-code.d.ts.map +0 -1
- package/dist/driver/claude-code.js +0 -314
- package/dist/driver/claude-code.js.map +0 -1
- package/dist/driver/cli-session.d.ts +0 -57
- package/dist/driver/cli-session.d.ts.map +0 -1
- package/dist/driver/cli-session.js +0 -134
- package/dist/driver/cli-session.js.map +0 -1
- package/dist/driver/cloud.d.ts +0 -109
- package/dist/driver/cloud.d.ts.map +0 -1
- package/dist/driver/cloud.js +0 -232
- package/dist/driver/cloud.js.map +0 -1
- package/dist/driver/codex.d.ts +0 -99
- package/dist/driver/codex.d.ts.map +0 -1
- package/dist/driver/codex.js +0 -190
- package/dist/driver/codex.js.map +0 -1
- package/dist/driver/fake.d.ts +0 -54
- package/dist/driver/fake.d.ts.map +0 -1
- package/dist/driver/fake.js +0 -73
- package/dist/driver/fake.js.map +0 -1
- package/dist/driver/index.d.ts +0 -10
- package/dist/driver/index.d.ts.map +0 -1
- package/dist/driver/index.js +0 -14
- package/dist/driver/index.js.map +0 -1
- package/dist/driver/session-support.d.ts +0 -14
- package/dist/driver/session-support.d.ts.map +0 -1
- package/dist/driver/session-support.js +0 -37
- package/dist/driver/session-support.js.map +0 -1
- package/dist/driver/types.d.ts +0 -310
- package/dist/driver/types.d.ts.map +0 -1
- package/dist/driver/types.js +0 -5
- package/dist/driver/types.js.map +0 -1
- package/dist/driver-cli.d.ts +0 -61
- package/dist/driver-cli.d.ts.map +0 -1
- package/dist/driver-cli.js +0 -66
- package/dist/driver-cli.js.map +0 -1
- package/dist/fake-script.d.ts +0 -15
- package/dist/fake-script.d.ts.map +0 -1
- package/dist/fake-script.js +0 -58
- package/dist/fake-script.js.map +0 -1
- package/dist/framework-dir.d.ts +0 -11
- package/dist/framework-dir.d.ts.map +0 -1
- package/dist/framework-dir.js +0 -11
- package/dist/framework-dir.js.map +0 -1
- package/dist/framework-gitignore.d.ts +0 -12
- package/dist/framework-gitignore.d.ts.map +0 -1
- package/dist/framework-gitignore.js +0 -19
- package/dist/framework-gitignore.js.map +0 -1
- package/dist/gate-keepalive.d.ts +0 -47
- package/dist/gate-keepalive.d.ts.map +0 -1
- package/dist/gate-keepalive.js +0 -62
- package/dist/gate-keepalive.js.map +0 -1
- package/dist/git-exclude.d.ts +0 -11
- package/dist/git-exclude.d.ts.map +0 -1
- package/dist/git-exclude.js +0 -23
- package/dist/git-exclude.js.map +0 -1
- package/dist/handoff-level.d.ts +0 -56
- package/dist/handoff-level.d.ts.map +0 -1
- package/dist/handoff-level.js +0 -62
- package/dist/handoff-level.js.map +0 -1
- package/dist/host-exec.d.ts +0 -21
- package/dist/host-exec.d.ts.map +0 -1
- package/dist/host-exec.js +0 -30
- package/dist/host-exec.js.map +0 -1
- package/dist/layout.d.ts +0 -41
- package/dist/layout.d.ts.map +0 -1
- package/dist/layout.js +0 -69
- package/dist/layout.js.map +0 -1
- package/dist/logs.d.ts +0 -73
- package/dist/logs.d.ts.map +0 -1
- package/dist/logs.js +0 -218
- package/dist/logs.js.map +0 -1
- package/dist/maintenance.d.ts +0 -90
- package/dist/maintenance.d.ts.map +0 -1
- package/dist/maintenance.js +0 -141
- package/dist/maintenance.js.map +0 -1
- package/dist/merged-worktrees.d.ts +0 -74
- package/dist/merged-worktrees.d.ts.map +0 -1
- package/dist/merged-worktrees.js +0 -84
- package/dist/merged-worktrees.js.map +0 -1
- package/dist/module-types/src/dashboard/agent-tree.d.ts +0 -105
- package/dist/module-types/src/dashboard/file-diff.d.ts +0 -66
- package/dist/module-types/src/dashboard/file-read.d.ts +0 -41
- package/dist/module-types/src/dashboard/file-status.d.ts +0 -20
- package/dist/module-types/src/dashboard/scheduler-state.d.ts +0 -72
- package/dist/module-types/src/dashboard/subagent-settings.d.ts +0 -25
- package/dist/module-types/src/dashboard-rpc/subagents.d.ts +0 -11
- package/dist/module-types/src/framework-dir.d.ts +0 -10
- package/dist/module-types/src/framework-gitignore.d.ts +0 -11
- package/dist/module-types/src/subagent-settings.d.ts +0 -26
- package/dist/on-before-mergeable-prompt.d.ts +0 -32
- package/dist/on-before-mergeable-prompt.d.ts.map +0 -1
- package/dist/on-before-mergeable-prompt.js +0 -26
- package/dist/on-before-mergeable-prompt.js.map +0 -1
- package/dist/planned-quick-wins.d.ts +0 -102
- package/dist/planned-quick-wins.d.ts.map +0 -1
- package/dist/planned-quick-wins.js +0 -171
- package/dist/planned-quick-wins.js.map +0 -1
- package/dist/preflight.d.ts +0 -77
- package/dist/preflight.d.ts.map +0 -1
- package/dist/preflight.js +0 -91
- package/dist/preflight.js.map +0 -1
- package/dist/preset-catalog.d.ts +0 -98
- package/dist/preset-catalog.d.ts.map +0 -1
- package/dist/preset-catalog.js +0 -129
- package/dist/preset-catalog.js.map +0 -1
- package/dist/preset-prompt.d.ts +0 -81
- package/dist/preset-prompt.d.ts.map +0 -1
- package/dist/preset-prompt.js +0 -51
- package/dist/preset-prompt.js.map +0 -1
- package/dist/preset-registry.d.ts +0 -32
- package/dist/preset-registry.d.ts.map +0 -1
- package/dist/preset-registry.js +0 -35
- package/dist/preset-registry.js.map +0 -1
- package/dist/presets.d.ts +0 -20
- package/dist/presets.d.ts.map +0 -1
- package/dist/presets.js +0 -33
- package/dist/presets.js.map +0 -1
- package/dist/preview-runtime.d.ts +0 -33
- package/dist/preview-runtime.d.ts.map +0 -1
- package/dist/preview-runtime.js +0 -96
- package/dist/preview-runtime.js.map +0 -1
- package/dist/preview.d.ts +0 -78
- package/dist/preview.d.ts.map +0 -1
- package/dist/preview.js +0 -301
- package/dist/preview.js.map +0 -1
- package/dist/project-widgets.d.ts +0 -46
- package/dist/project-widgets.d.ts.map +0 -1
- package/dist/project-widgets.js +0 -93
- package/dist/project-widgets.js.map +0 -1
- package/dist/prompt-run.d.ts +0 -104
- package/dist/prompt-run.d.ts.map +0 -1
- package/dist/prompt-run.js +0 -112
- package/dist/prompt-run.js.map +0 -1
- package/dist/prompt-template.d.ts +0 -16
- package/dist/prompt-template.d.ts.map +0 -1
- package/dist/prompt-template.js +0 -56
- package/dist/prompt-template.js.map +0 -1
- package/dist/prompts.generated.d.ts +0 -53
- package/dist/prompts.generated.d.ts.map +0 -1
- package/dist/prompts.generated.js +0 -55
- package/dist/prompts.generated.js.map +0 -1
- package/dist/queue-promote.d.ts +0 -70
- package/dist/queue-promote.d.ts.map +0 -1
- package/dist/queue-promote.js +0 -118
- package/dist/queue-promote.js.map +0 -1
- package/dist/relay.d.ts +0 -84
- package/dist/relay.d.ts.map +0 -1
- package/dist/relay.js +0 -199
- package/dist/relay.js.map +0 -1
- package/dist/repos-directory.d.ts +0 -19
- package/dist/repos-directory.d.ts.map +0 -1
- package/dist/repos-directory.js +0 -23
- package/dist/repos-directory.js.map +0 -1
- package/dist/retired-project-settings.d.ts +0 -43
- package/dist/retired-project-settings.d.ts.map +0 -1
- package/dist/retired-project-settings.js +0 -125
- package/dist/retired-project-settings.js.map +0 -1
- package/dist/routine-locks.d.ts +0 -53
- package/dist/routine-locks.d.ts.map +0 -1
- package/dist/routine-locks.js +0 -125
- package/dist/routine-locks.js.map +0 -1
- package/dist/run-driver.d.ts +0 -26
- package/dist/run-driver.d.ts.map +0 -1
- package/dist/run-driver.js +0 -17
- package/dist/run-driver.js.map +0 -1
- package/dist/run-locks.d.ts +0 -3
- package/dist/run-locks.d.ts.map +0 -1
- package/dist/run-locks.js +0 -39
- package/dist/run-locks.js.map +0 -1
- package/dist/run-messages.d.ts +0 -64
- package/dist/run-messages.d.ts.map +0 -1
- package/dist/run-messages.js +0 -76
- package/dist/run-messages.js.map +0 -1
- package/dist/run-options.d.ts +0 -53
- package/dist/run-options.d.ts.map +0 -1
- package/dist/run-options.js +0 -110
- package/dist/run-options.js.map +0 -1
- package/dist/run-telemetry.d.ts +0 -115
- package/dist/run-telemetry.d.ts.map +0 -1
- package/dist/run-telemetry.js +0 -137
- package/dist/run-telemetry.js.map +0 -1
- package/dist/run-view.d.ts +0 -109
- package/dist/run-view.d.ts.map +0 -1
- package/dist/run-view.js +0 -118
- package/dist/run-view.js.map +0 -1
- package/dist/run.d.ts +0 -261
- package/dist/run.d.ts.map +0 -1
- package/dist/run.js +0 -420
- package/dist/run.js.map +0 -1
- package/dist/runtime-keys.d.ts +0 -17
- package/dist/runtime-keys.d.ts.map +0 -1
- package/dist/runtime-keys.js +0 -17
- package/dist/runtime-keys.js.map +0 -1
- package/dist/sandbox.d.ts +0 -27
- package/dist/sandbox.d.ts.map +0 -1
- package/dist/sandbox.js +0 -63
- package/dist/sandbox.js.map +0 -1
- package/dist/session-link.d.ts +0 -19
- package/dist/session-link.d.ts.map +0 -1
- package/dist/session-link.js +0 -26
- package/dist/session-link.js.map +0 -1
- package/dist/sessions.d.ts +0 -77
- package/dist/sessions.d.ts.map +0 -1
- package/dist/sessions.js +0 -146
- package/dist/sessions.js.map +0 -1
- package/dist/spike-locks.d.ts +0 -75
- package/dist/spike-locks.d.ts.map +0 -1
- package/dist/spike-locks.js +0 -208
- package/dist/spike-locks.js.map +0 -1
- package/dist/stale-branch.d.ts +0 -21
- package/dist/stale-branch.d.ts.map +0 -1
- package/dist/stale-branch.js +0 -32
- package/dist/stale-branch.js.map +0 -1
- package/dist/steps.d.ts +0 -9
- package/dist/steps.d.ts.map +0 -1
- package/dist/steps.js +0 -13
- package/dist/steps.js.map +0 -1
- package/dist/store/forge.d.ts +0 -110
- package/dist/store/forge.d.ts.map +0 -1
- package/dist/store/forge.js +0 -97
- package/dist/store/forge.js.map +0 -1
- package/dist/store/run-checkout.d.ts +0 -33
- package/dist/store/run-checkout.d.ts.map +0 -1
- package/dist/store/run-checkout.js +0 -59
- package/dist/store/run-checkout.js.map +0 -1
- package/dist/store/run-store.d.ts +0 -501
- package/dist/store/run-store.d.ts.map +0 -1
- package/dist/store/run-store.js +0 -806
- package/dist/store/run-store.js.map +0 -1
- package/dist/store/suspend.d.ts +0 -38
- package/dist/store/suspend.d.ts.map +0 -1
- package/dist/store/suspend.js +0 -45
- package/dist/store/suspend.js.map +0 -1
- package/dist/store/worktree-deps.d.ts +0 -30
- package/dist/store/worktree-deps.d.ts.map +0 -1
- package/dist/store/worktree-deps.js +0 -115
- package/dist/store/worktree-deps.js.map +0 -1
- package/dist/store/worktree.d.ts +0 -194
- package/dist/store/worktree.d.ts.map +0 -1
- package/dist/store/worktree.js +0 -331
- package/dist/store/worktree.js.map +0 -1
- package/dist/subagent-settings.d.ts +0 -27
- package/dist/subagent-settings.d.ts.map +0 -1
- package/dist/subagent-settings.js +0 -35
- package/dist/subagent-settings.js.map +0 -1
- package/dist/system-prompt-file.d.ts +0 -18
- package/dist/system-prompt-file.d.ts.map +0 -1
- package/dist/system-prompt-file.js +0 -28
- package/dist/system-prompt-file.js.map +0 -1
- package/dist/system-prompt.d.ts +0 -148
- package/dist/system-prompt.d.ts.map +0 -1
- package/dist/system-prompt.js +0 -170
- package/dist/system-prompt.js.map +0 -1
- package/dist/target-driver.d.ts +0 -28
- package/dist/target-driver.d.ts.map +0 -1
- package/dist/target-driver.js +0 -18
- package/dist/target-driver.js.map +0 -1
- package/dist/ticket-locks.d.ts +0 -61
- package/dist/ticket-locks.d.ts.map +0 -1
- package/dist/ticket-locks.js +0 -137
- package/dist/ticket-locks.js.map +0 -1
- package/dist/tickets-file.d.ts +0 -7
- package/dist/tickets-file.d.ts.map +0 -1
- package/dist/tickets-file.js +0 -21
- package/dist/tickets-file.js.map +0 -1
- package/dist/tickets.d.ts +0 -18
- package/dist/tickets.d.ts.map +0 -1
- package/dist/tickets.js +0 -23
- package/dist/tickets.js.map +0 -1
- package/dist/todo-loop.d.ts +0 -110
- package/dist/todo-loop.d.ts.map +0 -1
- package/dist/todo-loop.js +0 -175
- package/dist/todo-loop.js.map +0 -1
- package/dist/turn-gate.d.ts +0 -144
- package/dist/turn-gate.d.ts.map +0 -1
- package/dist/turn-gate.js +0 -217
- package/dist/turn-gate.js.map +0 -1
- package/dist/usage.d.ts +0 -32
- package/dist/usage.d.ts.map +0 -1
- package/dist/usage.js +0 -46
- package/dist/usage.js.map +0 -1
- package/dist/widget-types/dashboard/components/LinkActions.d.ts +0 -26
- package/dist/widget-types/dashboard/components/Markdown.d.ts +0 -4
- package/dist/widget-types/dashboard/components/StartAgentButton.d.ts +0 -39
- package/dist/widget-types/dashboard/components/ui/badge.d.ts +0 -2
- package/dist/widget-types/dashboard/components/ui/button.d.ts +0 -10
- package/dist/widget-types/dashboard/components/ui/card.d.ts +0 -5
- package/dist/widget-types/dashboard/components/ui/checkbox.d.ts +0 -7
- package/dist/widget-types/dashboard/components/ui/dropdown-menu.d.ts +0 -16
- package/dist/widget-types/dashboard/components/ui/input.d.ts +0 -2
- package/dist/widget-types/dashboard/components/ui/option-label.d.ts +0 -4
- package/dist/widget-types/dashboard/components/ui/popover.d.ts +0 -8
- package/dist/widget-types/dashboard/components/ui/scroll-area.d.ts +0 -10
- package/dist/widget-types/dashboard/components/ui/separator.d.ts +0 -3
- package/dist/widget-types/dashboard/components/ui/skeleton.d.ts +0 -2
- package/dist/widget-types/dashboard/components/ui/slider.d.ts +0 -9
- package/dist/widget-types/dashboard/components/ui/tooltip.d.ts +0 -11
- package/dist/widget-types/dashboard/lib/draft-handoff.d.ts +0 -15
- package/dist/widget-types/dashboard/lib/format-date.d.ts +0 -51
- package/dist/widget-types/dashboard/lib/host-services.d.ts +0 -12
- package/dist/widget-types/dashboard/lib/route.d.ts +0 -24
- package/dist/widget-types/dashboard/lib/rpc.d.ts +0 -31
- package/dist/widget-types/dashboard/lib/use-action.d.ts +0 -25
- package/dist/widget-types/dashboard/lib/use-async.d.ts +0 -39
- package/dist/widget-types/dashboard/lib/use-widgets.d.ts +0 -42
- package/dist/widget-types/dashboard/lib/utils.d.ts +0 -3
- package/dist/widget-types/dashboard/rpc/widgets.d.ts +0 -4
- package/dist/widget-types/dashboard/widget/index.d.ts +0 -207
- package/dist/widget-types/src/agent-id.d.ts +0 -12
- package/dist/widget-types/src/agent-locks.d.ts +0 -2
- package/dist/widget-types/src/agent-view.d.ts +0 -38
- package/dist/widget-types/src/bridge-browser.d.ts +0 -216
- package/dist/widget-types/src/browser-stream.d.ts +0 -19
- package/dist/widget-types/src/browser.d.ts +0 -15
- package/dist/widget-types/src/cli-exec.d.ts +0 -35
- package/dist/widget-types/src/cloud-run-state.d.ts +0 -26
- package/dist/widget-types/src/dashboard/activity.d.ts +0 -40
- package/dist/widget-types/src/dashboard/agent-handoff.d.ts +0 -211
- package/dist/widget-types/src/dashboard/agent-tree.d.ts +0 -105
- package/dist/widget-types/src/dashboard/bridge-endpoints.d.ts +0 -157
- package/dist/widget-types/src/dashboard/bridge-question.d.ts +0 -32
- package/dist/widget-types/src/dashboard/bridge-store.d.ts +0 -178
- package/dist/widget-types/src/dashboard/cache.d.ts +0 -46
- package/dist/widget-types/src/dashboard/content-type.d.ts +0 -2
- package/dist/widget-types/src/dashboard/dashboard.d.ts +0 -37
- package/dist/widget-types/src/dashboard/discord-webhook.d.ts +0 -16
- package/dist/widget-types/src/dashboard/docs.d.ts +0 -38
- package/dist/widget-types/src/dashboard/file-diff.d.ts +0 -66
- package/dist/widget-types/src/dashboard/file-read.d.ts +0 -41
- package/dist/widget-types/src/dashboard/file-status.d.ts +0 -20
- package/dist/widget-types/src/dashboard/gh.d.ts +0 -130
- package/dist/widget-types/src/dashboard/git-status.d.ts +0 -32
- package/dist/widget-types/src/dashboard/github.d.ts +0 -10
- package/dist/widget-types/src/dashboard/http.d.ts +0 -28
- package/dist/widget-types/src/dashboard/interventions.d.ts +0 -66
- package/dist/widget-types/src/dashboard/keys.d.ts +0 -30
- package/dist/widget-types/src/dashboard/models.d.ts +0 -24
- package/dist/widget-types/src/dashboard/open-in-app.d.ts +0 -42
- package/dist/widget-types/src/dashboard/open-questions.d.ts +0 -52
- package/dist/widget-types/src/dashboard/overview.d.ts +0 -77
- package/dist/widget-types/src/dashboard/projects.d.ts +0 -89
- package/dist/widget-types/src/dashboard/pull-requests.d.ts +0 -126
- package/dist/widget-types/src/dashboard/queue.d.ts +0 -16
- package/dist/widget-types/src/dashboard/quota.d.ts +0 -59
- package/dist/widget-types/src/dashboard/remote-run.d.ts +0 -94
- package/dist/widget-types/src/dashboard/rpc-serve.d.ts +0 -102
- package/dist/widget-types/src/dashboard/run-inbox.d.ts +0 -30
- package/dist/widget-types/src/dashboard/scheduler-state.d.ts +0 -64
- package/dist/widget-types/src/dashboard/tickets.d.ts +0 -28
- package/dist/widget-types/src/dashboard/types.d.ts +0 -99
- package/dist/widget-types/src/dashboard/widget-serve.d.ts +0 -14
- package/dist/widget-types/src/dashboard-rpc/context.d.ts +0 -53
- package/dist/widget-types/src/dashboard-rpc/control.d.ts +0 -108
- package/dist/widget-types/src/dashboard-rpc/devices.d.ts +0 -8
- package/dist/widget-types/src/dashboard-rpc/events-tail.d.ts +0 -53
- package/dist/widget-types/src/dashboard-rpc/events.d.ts +0 -29
- package/dist/widget-types/src/dashboard-rpc/index.d.ts +0 -28
- package/dist/widget-types/src/dashboard-rpc/models.d.ts +0 -3
- package/dist/widget-types/src/dashboard-rpc/preferences.d.ts +0 -40
- package/dist/widget-types/src/dashboard-rpc/projects.d.ts +0 -54
- package/dist/widget-types/src/dashboard-rpc/quota.d.ts +0 -26
- package/dist/widget-types/src/dashboard-rpc/reads.d.ts +0 -227
- package/dist/widget-types/src/dashboard-rpc/relay-agent.d.ts +0 -8
- package/dist/widget-types/src/dashboard-rpc/stream-forward.d.ts +0 -16
- package/dist/widget-types/src/dashboard-rpc/widgets.d.ts +0 -32
- package/dist/widget-types/src/discord-credentials.d.ts +0 -79
- package/dist/widget-types/src/driver-names.d.ts +0 -21
- package/dist/widget-types/src/error-message.d.ts +0 -7
- package/dist/widget-types/src/event-stream.d.ts +0 -32
- package/dist/widget-types/src/events.d.ts +0 -235
- package/dist/widget-types/src/framework-dir.d.ts +0 -10
- package/dist/widget-types/src/framework-gitignore.d.ts +0 -11
- package/dist/widget-types/src/index.d.ts +0 -42
- package/dist/widget-types/src/jsonl-tail.d.ts +0 -54
- package/dist/widget-types/src/loopback-host.d.ts +0 -19
- package/dist/widget-types/src/node-fs.d.ts +0 -32
- package/dist/widget-types/src/open-choices.d.ts +0 -14
- package/dist/widget-types/src/pick-directory.d.ts +0 -29
- package/dist/widget-types/src/preference-defaults.d.ts +0 -53
- package/dist/widget-types/src/project-commands.d.ts +0 -23
- package/dist/widget-types/src/project-errors.d.ts +0 -43
- package/dist/widget-types/src/project-hooks.d.ts +0 -133
- package/dist/widget-types/src/project-presets.d.ts +0 -29
- package/dist/widget-types/src/project-widgets.d.ts +0 -45
- package/dist/widget-types/src/project.d.ts +0 -28
- package/dist/widget-types/src/quota-boundary.d.ts +0 -115
- package/dist/widget-types/src/quota-poller.d.ts +0 -82
- package/dist/widget-types/src/registry.d.ts +0 -210
- package/dist/widget-types/src/store/agent-checkout.d.ts +0 -46
- package/dist/widget-types/src/store/agent-store.d.ts +0 -237
- package/dist/widget-types/src/store/branches.d.ts +0 -133
- package/dist/widget-types/src/store/forge.d.ts +0 -109
- package/dist/widget-types/src/store/git-host.d.ts +0 -111
- package/dist/widget-types/src/store/index.d.ts +0 -9
- package/dist/widget-types/src/store/provided.d.ts +0 -16
- package/dist/widget-types/src/store/queue.d.ts +0 -45
- package/dist/widget-types/src/store/run-record.d.ts +0 -21
- package/dist/widget-types/src/store/runs.d.ts +0 -101
- package/dist/widget-types/src/store/tickets.d.ts +0 -72
- package/dist/widget-types/src/tickets.d.ts +0 -17
- package/dist/widget-types/src/worktrees.d.ts +0 -89
- package/dist/widget.css +0 -50
|
@@ -16,10 +16,10 @@
|
|
|
16
16
|
* user has to sign in.
|
|
17
17
|
*/
|
|
18
18
|
/** The directory holding the bridge browser's profile and binary, next to the registry file. */
|
|
19
|
-
export declare const BRIDGE_BROWSER_DIR = "
|
|
19
|
+
export declare const BRIDGE_BROWSER_DIR = "openagent-browser";
|
|
20
20
|
/**
|
|
21
|
-
* Where the bridge browser lives: `$XDG_CONFIG_HOME/
|
|
22
|
-
* dotted `$HOME/.
|
|
21
|
+
* Where the bridge browser lives: `$XDG_CONFIG_HOME/openagent-browser` when set, else the
|
|
22
|
+
* dotted `$HOME/.openagent-browser`. Beside the registry, so the same variable that isolates
|
|
23
23
|
* a test's registry isolates its browser, and a machine's real one is never touched from a test.
|
|
24
24
|
* The profile inside it is persistent on purpose: the user signs in once and the sign-in outlives
|
|
25
25
|
* every daemon restart.
|
|
@@ -152,7 +152,7 @@ export declare function appBundle(binary: string): string | undefined;
|
|
|
152
152
|
export declare function bridgeBrowserDeps(): BridgeBrowserDeps;
|
|
153
153
|
/**
|
|
154
154
|
* Make sure nothing else holds the profile: a browser a dead daemon left behind is stopped,
|
|
155
|
-
* gently first. It is
|
|
155
|
+
* gently first. It is OpenAgent's own profile, so whatever holds it is OpenAgent's own
|
|
156
156
|
* leftover; nothing the user runs shares it.
|
|
157
157
|
*/
|
|
158
158
|
export declare function freeProfile(profileDir: string, deps: BridgeBrowserDeps): Promise<boolean>;
|
|
@@ -1,28 +1,59 @@
|
|
|
1
|
+
import type { CleanupReport } from './dashboard/types.js';
|
|
1
2
|
import { type ProjectPackage, type ProvidedCommand, type ProvidedCommandLookup } from '@openagt/agent-data';
|
|
2
3
|
/**
|
|
3
|
-
* The packages
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
*
|
|
4
|
+
* The packages OpenAgent brings, by name: dependencies of OpenAgent itself, resolved from its
|
|
5
|
+
* own install, so a project installs nothing for them and an empty folder starts an agent and
|
|
6
|
+
* shows it. Each comes through the same contract as any package: a module by its `./dashboard`
|
|
7
|
+
* export, a provider of a kind of data and the writer of its hook lines by its `openagent` key.
|
|
8
|
+
* These two lists are the one place OpenAgent names a package. One of these names among a
|
|
9
|
+
* project's own dependencies is not read: OpenAgent's copy, and the rules below for which
|
|
10
|
+
* project has it, are the only ones.
|
|
9
11
|
*/
|
|
12
|
+
/** The packages every project has: an agent cannot start, be shown or be put on a git host without them. */
|
|
10
13
|
export declare const BUILT_IN_PACKAGES: readonly string[];
|
|
11
|
-
/**
|
|
14
|
+
/**
|
|
15
|
+
* The packages a project has once it picked them (#2023). A skill's package is the project's
|
|
16
|
+
* when the project holds the skill's text where the coding agents read it
|
|
17
|
+
* (`.claude/skills/<name>/SKILL.md`, `.agents/skills/<name>/SKILL.md`): the rule the launcher
|
|
18
|
+
* already lists a project's commands by, so deleting the skill's folder takes its page away. A
|
|
19
|
+
* tool with no skill text (the scheduler) is the project's when one of the project's hook lines
|
|
20
|
+
* runs it.
|
|
21
|
+
*/
|
|
22
|
+
export declare const PICKED_PACKAGES: readonly string[];
|
|
23
|
+
/** Every name OpenAgent brings itself. */
|
|
24
|
+
export declare const OWN_PACKAGE_NAMES: readonly string[];
|
|
25
|
+
/** Every package OpenAgent brings, resolved from its own install, once; one that is not installed is skipped. */
|
|
12
26
|
export declare function builtInPackages(): Promise<ProjectPackage[]>;
|
|
13
|
-
/**
|
|
27
|
+
/**
|
|
28
|
+
* The packages OpenAgent brings to the project at `root`: the ones every project has, and
|
|
29
|
+
* each picked one the project has by its rule (see {@link PICKED_PACKAGES}). Read off the
|
|
30
|
+
* project's files each time, so a skill written or deleted a moment ago counts at once.
|
|
31
|
+
*/
|
|
32
|
+
export declare function builtInPackagesOf(root: string): Promise<ProjectPackage[]>;
|
|
33
|
+
/** The project's own installed packages, less the names OpenAgent brings itself. */
|
|
34
|
+
export declare function ownPackages(root: string): Promise<ProjectPackage[]>;
|
|
35
|
+
/** The directories the commands of OpenAgent's packages sit in: what a hook line's PATH gains after the project's own installed tools. */
|
|
14
36
|
export declare function builtInBinDirs(): Promise<string[]>;
|
|
15
|
-
/** What provides `kind` in the project at `root`:
|
|
37
|
+
/** What provides `kind` in the project at `root`: a package the project installed for it, else one OpenAgent brings to this project. */
|
|
16
38
|
export declare function lookupProvided(root: string, kind: string): Promise<ProvidedCommandLookup>;
|
|
17
39
|
/** {@link lookupProvided}'s command, for a caller that only needs to run it. */
|
|
18
40
|
export declare function providedCommand(root: string, kind: string): Promise<ProvidedCommand | undefined>;
|
|
19
|
-
/** Whether `command` comes from a
|
|
20
|
-
export declare function isBuiltIn(
|
|
41
|
+
/** Whether `command` comes from a package OpenAgent brings: one the project did not install. */
|
|
42
|
+
export declare function isBuiltIn(command: ProvidedCommand): boolean;
|
|
21
43
|
/**
|
|
22
44
|
* Have every package that writes hook lines write its own into the project at `root`: a package
|
|
23
|
-
* declares `"
|
|
45
|
+
* declares `"openagent": { "hooks": "<command>" }`, and `<command> init`, run in the project,
|
|
24
46
|
* writes its lines into the project's hooks file, keeping every line already there. The project's
|
|
25
|
-
* own packages are asked, then the
|
|
26
|
-
*
|
|
47
|
+
* own packages are asked, then the ones OpenAgent brings to it. Answers one line per package
|
|
48
|
+
* that could not write, in words.
|
|
27
49
|
*/
|
|
28
50
|
export declare function writeHookLines(root: string): Promise<string[]>;
|
|
51
|
+
/**
|
|
52
|
+
* Have every package that declares a clean-up remove what it left in the project at `root`: a
|
|
53
|
+
* package declares `"openagent": { "cleanup": "<command>" }`, and `<command> cleanup`, run in the
|
|
54
|
+
* project, answers `{ ok: true, removed, kept }`. The project's own packages are asked, then
|
|
55
|
+
* every package OpenAgent brings, also one this project no longer has (what it left stays its
|
|
56
|
+
* own to remove), each whatever the one before answered. A package that refuses, fails or answers
|
|
57
|
+
* something else is one line in `failed`, in words.
|
|
58
|
+
*/
|
|
59
|
+
export declare function runCleanups(root: string): Promise<CleanupReport>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { DRIVERS, DRIVER_LABELS, isDriverName, driverFromImpl, type DriverName } from './driver-names.js';
|
|
2
2
|
export { PUBLISH_LABELS, isPublishPick, offeredPublishPicks, publishPickIn, type PublishPick } from './publish-levels.js';
|
|
3
|
-
export {
|
|
3
|
+
export { formatOpenAgentEvent } from './terminal.js';
|
|
4
4
|
export { formatBytes } from './format-bytes.js';
|
|
5
5
|
export { errorMessage } from './error-message.js';
|
|
6
6
|
export { pickedIds } from './events.js';
|
|
@@ -9,7 +9,7 @@ export declare const CLOUD_SESSION_WINDOW_MS: number;
|
|
|
9
9
|
* What the cloud side of a web run is doing.
|
|
10
10
|
*
|
|
11
11
|
* - `waiting`: the browser bridge holds a question the session is parked on
|
|
12
|
-
* - `merged`: the session's work was adopted (#1601) and its pull request merged by
|
|
12
|
+
* - `merged`: the session's work was adopted (#1601) and its pull request merged by OpenAgent
|
|
13
13
|
* - `in-cloud`: no pull request yet and the run is inside the session window, so it may still be working
|
|
14
14
|
* - `done`: its pull request exists — the work landed, and the PR badge carries its live state — or the
|
|
15
15
|
* window passed with nothing adopted: the session finished or never pushed
|
|
@@ -43,7 +43,7 @@ export interface AgentHandoff {
|
|
|
43
43
|
deletions: number;
|
|
44
44
|
/**
|
|
45
45
|
* The session produced nothing to hand off: the branch exists but carries no commit the base
|
|
46
|
-
* does not already have — or nothing beyond
|
|
46
|
+
* does not already have — or nothing beyond OpenAgent's own bookkeeping (#1291), which is
|
|
47
47
|
* committed for provenance, never as publishable work. Said out loud, rather than shown as an
|
|
48
48
|
* empty branch.
|
|
49
49
|
*/
|
|
@@ -161,7 +161,7 @@ export declare function mergeAgentPr(cwd: string, agent: PrAgent, deps?: {
|
|
|
161
161
|
}): Promise<HandoffResult>;
|
|
162
162
|
/**
|
|
163
163
|
* Read what a finished session left behind, for `branch`: the branch's git facts from the
|
|
164
|
-
* project's branches provider, and the run's own pull request from
|
|
164
|
+
* project's branches provider, and the run's own pull request from OpenAgent's lookup.
|
|
165
165
|
*
|
|
166
166
|
* Returns undefined only when the project has no branches provider, or the provider did not
|
|
167
167
|
* answer for the branch. A branch that no longer exists still returns a handoff (with
|
|
@@ -213,8 +213,8 @@ export declare function mergeAgentBranch(cwd: string, agent: Pick<AgentMeta, 'id
|
|
|
213
213
|
/**
|
|
214
214
|
* Open a draft PR for a branch that exists only on the remote (#1601): a cloud session's own
|
|
215
215
|
* `claude/*` branch was pushed from a VM this machine never sees, so there is nothing to push
|
|
216
|
-
* here — the provider publishes the branch as the remote has it. Draft because a PR
|
|
217
|
-
*
|
|
216
|
+
* here — the provider publishes the branch as the remote has it. Draft because a PR
|
|
217
|
+
* OpenAgent opens by itself must not put a review request in anyone's inbox, and the
|
|
218
218
|
* interventions queue keeps listing a session's draft.
|
|
219
219
|
*/
|
|
220
220
|
export declare function openRemoteBranchPullRequest(cwd: string, agent: HandoffAgent, branch: string, deps?: {
|
|
@@ -26,12 +26,12 @@ export declare const BRIDGE_PREFIX = "/_bridge";
|
|
|
26
26
|
* The extension version this daemon speaks (#1519). The extension states its own version on
|
|
27
27
|
* every call, in this header, and a daemon expecting another refuses outright: a version-skewed
|
|
28
28
|
* extension does not fail loudly, it half-works — missed messages, silently ignored fields —
|
|
29
|
-
* which reads as
|
|
29
|
+
* which reads as an OpenAgent bug and burns a debugging session. The extension's manifest must
|
|
30
30
|
* carry the same number; a test keeps the two in lockstep.
|
|
31
31
|
*/
|
|
32
|
-
export declare const EXPECTED_EXTENSION_VERSION = "0.
|
|
32
|
+
export declare const EXPECTED_EXTENSION_VERSION = "0.13.0";
|
|
33
33
|
/** The header the extension states its version in. Lowercase, as node presents all headers. */
|
|
34
|
-
export declare const EXTENSION_VERSION_HEADER = "x-
|
|
34
|
+
export declare const EXTENSION_VERSION_HEADER = "x-oa-extension-version";
|
|
35
35
|
/**
|
|
36
36
|
* One thing a cloud session did, as scraped from its page (#1237).
|
|
37
37
|
*
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*
|
|
5
5
|
* These are written per session as `PLAN_<SESSION>.agent.md` (the plan for now) and
|
|
6
6
|
* `TODO_<SESSION>.agent.md` (the backlog), where SESSION is a git-branch slug — by
|
|
7
|
-
*
|
|
7
|
+
* OpenAgent's own system prompt back when it ran the agent (#323/#326), and by
|
|
8
8
|
* whatever a project's own skills tell an agent to write now. The flat fallback is `PLAN.md`
|
|
9
9
|
* at the root; the `TODO` category has no flat file: the agent queue is not a document of the
|
|
10
10
|
* checkout but a project package's data, and the dashboard shows it on that package's own page
|
|
@@ -16,7 +16,7 @@ export interface GitStatusDeps {
|
|
|
16
16
|
/**
|
|
17
17
|
* The agent's start, when the status is read for an agent's checkout (#1255). The default lookup
|
|
18
18
|
* answers the newest PR for the branch *in any state* — so an agent on a reused pinned branch
|
|
19
|
-
* (`
|
|
19
|
+
* (`openagent/triage-quick`) wears a predecessor's merged PR as its own badge.
|
|
20
20
|
* With `since` set the PR is picked from the branch's whole history by {@link pickAgentPr}
|
|
21
21
|
* instead: an open PR, or a closed one no older than the agent itself.
|
|
22
22
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type LiveAgent, type AgentMeta } from '../store/index.js';
|
|
2
|
-
import type {
|
|
2
|
+
import type { OpenAgentEvent } from '../events.js';
|
|
3
3
|
import type { ProjectSummary, ProjectionRead } from './projects.js';
|
|
4
4
|
import { type BranchesFor } from '../store/branches.js';
|
|
5
5
|
import { type PrLister } from './pull-requests.js';
|
|
@@ -39,7 +39,7 @@ export interface InterventionsDeps {
|
|
|
39
39
|
/** The reader of the runs that have a checkout (default {@link readLiveMetas}): a waiting run keeps its own; drives the `awaiting` source (#636). */
|
|
40
40
|
liveAgents?: (cwd: string) => Promise<LiveAgent[]>;
|
|
41
41
|
/** One run's events, by the project's path and the run's id (default {@link loadAgentEvents}): where a waiting run's question is read. */
|
|
42
|
-
events?: (cwd: string, agentId: string) => Promise<
|
|
42
|
+
events?: (cwd: string, agentId: string) => Promise<OpenAgentEvent[] | undefined>;
|
|
43
43
|
/** The finished-agent reader (default {@link listAgents}); drives the `unpushed` source (#860). */
|
|
44
44
|
agents?: (cwd: string) => Promise<AgentMeta[]>;
|
|
45
45
|
/** The project's checkouts and branches (default the project's provider, {@link projectBranches}): where a branch's state is read; drives the `unpushed` source (#860). */
|
|
@@ -7,7 +7,7 @@ export interface EditorInfo {
|
|
|
7
7
|
}
|
|
8
8
|
/**
|
|
9
9
|
* The editors the picker can offer (#727), probed by their CLI launcher on PATH. Order is the
|
|
10
|
-
* display order. `$
|
|
10
|
+
* display order. `$OPENAGENT_EDITOR` and a hand-typed value stay valid beyond this list; this is
|
|
11
11
|
* only what auto-detection looks for.
|
|
12
12
|
*/
|
|
13
13
|
export declare const KNOWN_EDITORS: EditorInfo[];
|
|
@@ -29,7 +29,7 @@ export declare function fileManagerCommand(path: string, os?: NodeJS.Platform):
|
|
|
29
29
|
command: string;
|
|
30
30
|
args: string[];
|
|
31
31
|
};
|
|
32
|
-
/** The command to open a path in an editor: `$
|
|
32
|
+
/** The command to open a path in an editor: `$OPENAGENT_EDITOR` when set, else the VS Code CLI. */
|
|
33
33
|
export declare function editorCommand(path: string, editor?: string | undefined): {
|
|
34
34
|
command: string;
|
|
35
35
|
args: string[];
|
|
@@ -37,6 +37,6 @@ export declare function editorCommand(path: string, editor?: string | undefined)
|
|
|
37
37
|
/**
|
|
38
38
|
* Open the project at `cwd` in the file manager or an editor. Failures are values, never throws.
|
|
39
39
|
* `editor` (#727) is the stored preference; when unset {@link editorCommand} falls back to
|
|
40
|
-
* `$
|
|
40
|
+
* `$OPENAGENT_EDITOR`, then `code`.
|
|
41
41
|
*/
|
|
42
42
|
export declare function openInApp(cwd: string, target: OpenTarget, agent?: SpawnRunner, editor?: string): Promise<OpenResult>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type AgentMeta, type LiveAgent } from '../store/index.js';
|
|
2
|
-
import type { ChoiceRequest,
|
|
2
|
+
import type { ChoiceRequest, OpenAgentEvent } from '../events.js';
|
|
3
3
|
import { type BridgeQuestion } from './bridge-question.js';
|
|
4
4
|
import type { ProjectSummary } from './projects.js';
|
|
5
5
|
/** One session's open question, as the hub lists it: who waits, on what, since when. */
|
|
@@ -19,7 +19,7 @@ export interface OpenQuestionsDeps {
|
|
|
19
19
|
/** The reader of the runs that have a checkout (default {@link readLiveMetas}): a waiting run keeps its own. */
|
|
20
20
|
liveAgents?: (cwd: string) => Promise<LiveAgent[]>;
|
|
21
21
|
/** One run's events, by the project's path and the run's id (default {@link loadAgentEvents}). */
|
|
22
|
-
events?: (cwd: string, agentId: string) => Promise<
|
|
22
|
+
events?: (cwd: string, agentId: string) => Promise<OpenAgentEvent[] | undefined>;
|
|
23
23
|
/**
|
|
24
24
|
* The questions the browser bridge holds, minus those with an answer already on its way
|
|
25
25
|
* (default: the daemon's bridge store).
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type ProjectRecord } from '../registry.js';
|
|
2
2
|
import { type AgentMeta } from '../store/index.js';
|
|
3
|
-
import type { ProjectError } from '../project-errors.js';
|
|
3
|
+
import type { ProjectError, StaysLocal } from '../project-errors.js';
|
|
4
4
|
import { type GitHostFor } from '../store/git-host.js';
|
|
5
5
|
/**
|
|
6
6
|
* The multi-project read side (#392): projects the daemon serves come from the registry (#390),
|
|
@@ -16,7 +16,7 @@ export interface ProjectSummary {
|
|
|
16
16
|
path: string;
|
|
17
17
|
/** Display name (the path's basename). */
|
|
18
18
|
name: string;
|
|
19
|
-
/** True when the repo still has its `.
|
|
19
|
+
/** True when the repo still has its `.openagent/` marker. */
|
|
20
20
|
activated: boolean;
|
|
21
21
|
/** Whether one of the project's packages provides a git host; without one no pull request can be opened there. */
|
|
22
22
|
gitHost: boolean;
|
|
@@ -29,10 +29,11 @@ export interface ProjectSummary {
|
|
|
29
29
|
*/
|
|
30
30
|
errors?: ProjectError[];
|
|
31
31
|
/**
|
|
32
|
-
*
|
|
33
|
-
*
|
|
32
|
+
* Why the project's data stays on this machine, as the daemon's last data sync found it: its
|
|
33
|
+
* repository has no remote, or the person keeps the agents' records here. Nothing is wrong.
|
|
34
|
+
* Absent for a project that shares them; attached like `errors`.
|
|
34
35
|
*/
|
|
35
|
-
|
|
36
|
+
local?: StaysLocal;
|
|
36
37
|
}
|
|
37
38
|
/**
|
|
38
39
|
* A projection over the registered projects, together with the projects it could actually see.
|
|
@@ -4,10 +4,10 @@ import { type Cached } from './cache.js';
|
|
|
4
4
|
* The pull requests the dashboard reads (#1820), in one place, all through the project's git host
|
|
5
5
|
* provider (`../store/git-host.ts`): a branch's request, a branch's whole request history, and the
|
|
6
6
|
* project's open requests. Reads only: opening and landing are `agent-handoff.ts`'s, through the
|
|
7
|
-
* same provider.
|
|
7
|
+
* same provider. OpenAgent runs no git host tool; a project with no git host package has no pull
|
|
8
8
|
* requests, and every read here answers "none" for it.
|
|
9
9
|
*
|
|
10
|
-
* The shapes are
|
|
10
|
+
* The shapes are OpenAgent's own ({@link LinkedPr}, {@link OpenPr}), copied out of what the
|
|
11
11
|
* provider answers rather than passed through, so a field a provider adds cannot leak into what
|
|
12
12
|
* callers store.
|
|
13
13
|
*/
|
|
@@ -36,7 +36,7 @@ export interface OpenPr {
|
|
|
36
36
|
/**
|
|
37
37
|
* Draft PRs are generally left off the queue: a draft is not asking for review.
|
|
38
38
|
*
|
|
39
|
-
* The exception is a draft
|
|
39
|
+
* The exception is a draft OpenAgent opened for itself (#1102), which {@link headRefName}
|
|
40
40
|
* is what tells apart.
|
|
41
41
|
*/
|
|
42
42
|
isDraft: boolean;
|
|
@@ -57,7 +57,7 @@ export type PrLookup = (cwd: string, branch?: string) => Promise<LinkedPr | unde
|
|
|
57
57
|
export type BranchPrLookup = (cwd: string, branch: string) => Promise<LinkedPr | undefined>;
|
|
58
58
|
/** Lists a checkout's open PRs; rejects when the git host could not answer. */
|
|
59
59
|
export type PrLister = (cwd: string) => Promise<OpenPr[]>;
|
|
60
|
-
/** A provider's request as
|
|
60
|
+
/** A provider's request as OpenAgent keeps it: the state upper-cased, the head as the request's commit. */
|
|
61
61
|
export declare function linkedPrOf(request: GitHostRequest): LinkedPr;
|
|
62
62
|
/** A provider's open request as the interventions queue keeps it. */
|
|
63
63
|
export declare function openPrOf(request: GitHostRequest): OpenPr;
|
|
@@ -65,7 +65,7 @@ export declare function openPrOf(request: GitHostRequest): OpenPr;
|
|
|
65
65
|
* Every PR a branch name has ever had, newest first (#1251).
|
|
66
66
|
*
|
|
67
67
|
* The newest request for a head *in any state* is what a single view would answer, so a session
|
|
68
|
-
* whose prompt pins its branch name (`
|
|
68
|
+
* whose prompt pins its branch name (`openagent/triage-quick`) inherits a predecessor's
|
|
69
69
|
* merged PR as its own. The list form keeps the whole history so {@link pickAgentPr} can decide
|
|
70
70
|
* which entry, if any, belongs to the agent asking. Resolves `[]` when the project has no git host or
|
|
71
71
|
* the git host could not answer — indistinguishable from "no PRs", which is what every caller would do
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { EventStream } from '../event-stream.js';
|
|
2
|
-
import type {
|
|
2
|
+
import type { OpenAgentEvent } from '../events.js';
|
|
3
3
|
import type { AgentMeta } from '../store/index.js';
|
|
4
4
|
import type { StartAgentOptions, StartAgentResult } from './types.js';
|
|
5
5
|
/**
|
|
@@ -9,7 +9,7 @@ import type { StartAgentOptions, StartAgentResult } from './types.js';
|
|
|
9
9
|
* {@link EventStream}, which the dashboard reads over its normal same-origin `onEvents` channel. So
|
|
10
10
|
* the browser never talks cross-origin and the token never leaves the two daemons (issue #1067 (b)).
|
|
11
11
|
*
|
|
12
|
-
* Authentication is the shared-token cookie (#1051), sent daemon-to-daemon: `Cookie:
|
|
12
|
+
* Authentication is the shared-token cookie (#1051), sent daemon-to-daemon: `Cookie: oa_daemon=<token>` with no
|
|
13
13
|
* `Origin` header. The remote's guard admits a matching cookie without the browser-only `?token=`
|
|
14
14
|
* 302, and its `/_rpc` CSRF check (absent Origin passes) is not even on these raw routes.
|
|
15
15
|
*/
|
|
@@ -50,7 +50,7 @@ export declare function relayRpc(target: RemoteTarget, fn: string, args: unknown
|
|
|
50
50
|
* cleanly rather than as an error, so the dashboard sees a normal `done`, not a lost connection.
|
|
51
51
|
* Returns a cancel function; calling it aborts the fetch and releases the reader.
|
|
52
52
|
*/
|
|
53
|
-
export declare function streamRemoteEvents(target: RemoteTarget, agentId: string, onEvent: (event:
|
|
53
|
+
export declare function streamRemoteEvents(target: RemoteTarget, agentId: string, onEvent: (event: OpenAgentEvent) => void, onEnd?: () => void): () => void;
|
|
54
54
|
/**
|
|
55
55
|
* The local daemon's live relayed runs (#1067), keyed by the remote agent id. Registering an agent opens
|
|
56
56
|
* an {@link EventStream} the dashboard reads through `onEvents`, fed by {@link streamRemoteEvents}
|
|
@@ -72,7 +72,7 @@ export declare class RelayedAgents {
|
|
|
72
72
|
/** Open a local stream for a remote agent and start pumping the remote's events into it. */
|
|
73
73
|
register(agentId: string, target: RemoteTarget, meta: AgentMeta, projectId: string): void;
|
|
74
74
|
/** The live event stream for a relayed agent, or undefined when this daemon is not relaying it. */
|
|
75
|
-
get(agentId: string | undefined): EventStream<
|
|
75
|
+
get(agentId: string | undefined): EventStream<OpenAgentEvent> | undefined;
|
|
76
76
|
/** The device a relayed agent runs on, kept past the event stream so post-run push/PR still reach it. */
|
|
77
77
|
target(agentId: string | undefined): RemoteTarget | undefined;
|
|
78
78
|
/** A project's relayed run stubs (#1077), newest-first, so `onAgents` can surface them in the list. */
|
|
@@ -91,4 +91,4 @@ export declare class RelayedAgents {
|
|
|
91
91
|
* card would say, kept here because that card is on the device. The events are the ones a run's
|
|
92
92
|
* diary yields: the agent's session id, its cost, its end.
|
|
93
93
|
*/
|
|
94
|
-
export declare function foldRelayedEvent(meta: AgentMeta, event:
|
|
94
|
+
export declare function foldRelayedEvent(meta: AgentMeta, event: OpenAgentEvent, at: string): AgentMeta;
|
|
@@ -1,20 +1,22 @@
|
|
|
1
1
|
import type { IncomingMessage, ServerResponse } from 'node:http';
|
|
2
|
-
import type {
|
|
2
|
+
import type { OpenAgentEvent } from '../events.js';
|
|
3
3
|
import type { PreferencesStore } from '../registry.js';
|
|
4
4
|
import type { QuotaSource } from './quota.js';
|
|
5
5
|
import type { ModelsSource } from './models.js';
|
|
6
6
|
import type { BridgeBrowserOwner } from '../bridge-browser.js';
|
|
7
7
|
import type { ProjectErrorsReader } from '../project-errors.js';
|
|
8
|
-
import type { AddProjectResult, StartAgentOptions, StartAgentResult } from './types.js';
|
|
8
|
+
import type { AddProjectResult, RemoveProjectResult, StartAgentOptions, StartAgentResult } from './types.js';
|
|
9
9
|
import type { AgentMeta } from '../store/index.js';
|
|
10
10
|
/** Wired by the daemon so `sendStart` can reach the daemon's own `startAgent` closure. */
|
|
11
11
|
export type StartAgentHandler = (prompt: string, options: StartAgentOptions, projectId?: string) => StartAgentResult | Promise<StartAgentResult>;
|
|
12
12
|
/** Wired by the daemon so `sendAddProject` can install + register a repo (#433). */
|
|
13
|
-
export type AddProjectHandler = (path: string) => AddProjectResult | Promise<AddProjectResult>;
|
|
13
|
+
export type AddProjectHandler = (path: string, share: boolean) => AddProjectResult | Promise<AddProjectResult>;
|
|
14
|
+
/** Wired by the daemon so `sendRemoveProject` can take a project off the list, by its id, and with `files` remove what OpenAgent left in its folder. */
|
|
15
|
+
export type RemoveProjectHandler = (projectId: string, files: boolean) => RemoveProjectResult | Promise<RemoveProjectResult>;
|
|
14
16
|
/** Resolve an agent to its live event stream: the relay feeds `onEvents` from its own in-memory stream
|
|
15
17
|
* rather than a file on disk (#426), and the daemon feeds an agent it is relaying from a device (#1067).
|
|
16
18
|
* Returns undefined when there is no in-memory stream, so `onEvents` falls back to tailing the log. */
|
|
17
|
-
export type EventsSource = (projectId: string, agentId?: string) => AsyncIterable<
|
|
19
|
+
export type EventsSource = (projectId: string, agentId?: string) => AsyncIterable<OpenAgentEvent> | undefined;
|
|
18
20
|
/** Look up the device a relayed agent (#1067) executes on, or undefined for an ordinary local agent. The
|
|
19
21
|
* daemon wires this from its live relayed-agent map; a run-scoped RPC uses it to forward a remote agent's
|
|
20
22
|
* read/steer/handoff to that device instead of resolving a (nonexistent) local checkout. */
|
|
@@ -37,6 +39,7 @@ export interface RemoteAgents {
|
|
|
37
39
|
export interface DashboardContext {
|
|
38
40
|
startAgent: StartAgentHandler;
|
|
39
41
|
addProject: AddProjectHandler;
|
|
42
|
+
removeProject: RemoveProjectHandler;
|
|
40
43
|
/** The in-memory event stream for an agent relayed from a connected device (#1067), else undefined. */
|
|
41
44
|
eventsSource: EventsSource;
|
|
42
45
|
/** The relayed-agent lookup (#1067 slice 2), so a run-scoped RPC can tell a local agent from one
|
|
@@ -3,10 +3,10 @@ import { type InboxLine } from '@openagt/agent-driver';
|
|
|
3
3
|
* What a person says to a run (#1774): their own words, or their answer to the question the run
|
|
4
4
|
* stopped on. The daemon runs no agent, so the line reaches the run through what the run's tool
|
|
5
5
|
* reads: the inbox file in the run's checkout while the run works, the project's `resume` hook
|
|
6
|
-
* line once it has ended.
|
|
6
|
+
* line once it has ended. OpenAgent names no tool in either.
|
|
7
7
|
*/
|
|
8
8
|
/**
|
|
9
|
-
* The inbox of a run, in its checkout's `.
|
|
9
|
+
* The inbox of a run, in its checkout's `.openagent/`: the file agent-driver's session reads
|
|
10
10
|
* when a turn ends, one JSON line per message or answer. The run's tool hands the session the
|
|
11
11
|
* same path.
|
|
12
12
|
*/
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The branch agents start from in the project at `cwd`: origin's default branch as this clone has
|
|
3
|
+
* it, else the branch the folder is on (a project with no remote starts an agent from its last
|
|
4
|
+
* local commit). `ref` is what git is asked, `name` what a person reads. None where the folder is
|
|
5
|
+
* on no branch, or is no repository.
|
|
6
|
+
*/
|
|
7
|
+
export declare function startBranch(cwd: string): Promise<{
|
|
8
|
+
ref: string;
|
|
9
|
+
name: string;
|
|
10
|
+
} | undefined>;
|
|
11
|
+
/** A skill that is in the folder and not on the branch agents start from. */
|
|
12
|
+
export interface Waiting {
|
|
13
|
+
/** The branch it has yet to reach, by name. */
|
|
14
|
+
branch: string;
|
|
15
|
+
/** Whether the branch the folder is on has it: an agent started from that branch does. */
|
|
16
|
+
here: boolean;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* Which of the skills `names`, all in the project's folder, are waiting to reach the branch agents
|
|
20
|
+
* start from. A skill is said to be waiting only when that is known: an agent's checkout fetches
|
|
21
|
+
* the remote before it starts, so before a skill is called waiting against a remote branch, this
|
|
22
|
+
* clone's copy of that branch is fetched too (at most once a minute per project), or a pull
|
|
23
|
+
* request merged a moment ago would keep its skill waiting here.
|
|
24
|
+
*/
|
|
25
|
+
export declare function waitingSkills(cwd: string, names: readonly string[]): Promise<{
|
|
26
|
+
start?: {
|
|
27
|
+
ref: string;
|
|
28
|
+
name: string;
|
|
29
|
+
};
|
|
30
|
+
waiting: Map<string, Waiting>;
|
|
31
|
+
}>;
|
|
@@ -14,10 +14,36 @@ export type DeleteAgentResult = {
|
|
|
14
14
|
ok: false;
|
|
15
15
|
error: string;
|
|
16
16
|
};
|
|
17
|
-
/**
|
|
17
|
+
/**
|
|
18
|
+
* The outcome of an add-project attempt (#396): registered, or was already, or why not.
|
|
19
|
+
* `noRemote` says the person asked to share the agents' records and the repository has no remote
|
|
20
|
+
* to share with: they are kept on this machine.
|
|
21
|
+
*/
|
|
18
22
|
export type AddProjectResult = {
|
|
19
23
|
ok: true;
|
|
20
24
|
alreadyActivated: boolean;
|
|
25
|
+
noRemote?: true;
|
|
26
|
+
} | {
|
|
27
|
+
ok: false;
|
|
28
|
+
error: string;
|
|
29
|
+
};
|
|
30
|
+
/**
|
|
31
|
+
* What removing OpenAgent's files from a project's folder did: what went, what stayed with the
|
|
32
|
+
* reason, and what could not be done, each line in words for a person. Paths are from the
|
|
33
|
+
* project's root.
|
|
34
|
+
*/
|
|
35
|
+
export interface CleanupReport {
|
|
36
|
+
removed: string[];
|
|
37
|
+
kept: {
|
|
38
|
+
path: string;
|
|
39
|
+
reason: string;
|
|
40
|
+
}[];
|
|
41
|
+
failed: string[];
|
|
42
|
+
}
|
|
43
|
+
/** The outcome of removing a project from the list: gone from it, with what the clean-up did when one was asked for, or why not. */
|
|
44
|
+
export type RemoveProjectResult = {
|
|
45
|
+
ok: true;
|
|
46
|
+
cleanup?: CleanupReport;
|
|
21
47
|
} | {
|
|
22
48
|
ok: false;
|
|
23
49
|
error: string;
|
|
@@ -44,7 +70,7 @@ export interface StartAgentOptions {
|
|
|
44
70
|
model?: string;
|
|
45
71
|
/** Which coding agent the run is on: `claude-code` or `codex`. */
|
|
46
72
|
driver?: string;
|
|
47
|
-
/** The person's saved pick of how far the run takes its work when the agent finishes. Absent, none is saved: the daemon starts the run
|
|
73
|
+
/** The person's saved pick of how far the run takes its work when the agent finishes. Absent, none is saved: the daemon starts the run at `commit`. A saved pick the project is not offered is held to the furthest the project goes with no pull request. */
|
|
48
74
|
publish?: PublishPick;
|
|
49
75
|
/**
|
|
50
76
|
* The branch the agent's own branch starts from, as this machine has it, commits that are not
|
|
@@ -59,7 +85,7 @@ export interface StartAgentOptions {
|
|
|
59
85
|
then?: string;
|
|
60
86
|
/**
|
|
61
87
|
* Run this session on a connected device (#1067): the local daemon relays the start to the remote
|
|
62
|
-
* daemon at `url` (authenticating with `token` as the `
|
|
88
|
+
* daemon at `url` (authenticating with `token` as the `oa_daemon` cookie) and streams its events
|
|
63
89
|
* back into the local agent view. The device `label` rides along (memory-only, like `url`/`token`) so
|
|
64
90
|
* the local session list + notice can show which device the agent is on after a reload (#1077).
|
|
65
91
|
* Memory-only relay config the dashboard sets at submit time from a saved device. NEVER persisted to
|
|
@@ -51,3 +51,5 @@ export declare function contextBridgeBrowser(): BridgeBrowserOwner;
|
|
|
51
51
|
export declare function contextStartAgent(): DashboardContext['startAgent'];
|
|
52
52
|
/** Install + register a repo (#433), which only the daemon can do. */
|
|
53
53
|
export declare function contextAddProject(): DashboardContext['addProject'];
|
|
54
|
+
/** Take a project off the list, which only the daemon can do: it runs the project's close hooks first. */
|
|
55
|
+
export declare function contextRemoveProject(): DashboardContext['removeProject'];
|
|
@@ -16,7 +16,7 @@ export declare function agentLockKey(cwd: string, agentId: string): string;
|
|
|
16
16
|
/**
|
|
17
17
|
* Stop a live agent (the Stop button): SIGINT to the process the run's own card names, when it is
|
|
18
18
|
* this machine's and alive. The card is the file the dashboard shows the run from, and its pid is
|
|
19
|
-
* whoever runs the agent;
|
|
19
|
+
* whoever runs the agent; OpenAgent names no tool. Nothing else: a run without a live pid
|
|
20
20
|
* here has nothing to stop.
|
|
21
21
|
*/
|
|
22
22
|
export declare function sendStop(projectId: string, agentId?: string): Promise<void>;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { OpenAgentEvent } from '../events.js';
|
|
2
2
|
/**
|
|
3
3
|
* The end-of-replay marker (#1383). A subscribe replays the whole log before following live,
|
|
4
4
|
* and without a boundary a reconnecting client cannot tell "replay still streaming" from "the
|
|
5
5
|
* log is genuinely this short" — so it blanked a populated feed and refilled it line by line.
|
|
6
6
|
* Sent once per subscription, after the on-disk replay is delivered. Wire-only: it is not a
|
|
7
|
-
* {@link
|
|
7
|
+
* {@link OpenAgentEvent}, is never written to any journal, and the client swallows it.
|
|
8
8
|
*/
|
|
9
9
|
export type StreamSync = {
|
|
10
10
|
kind: 'stream-sync';
|
|
@@ -19,7 +19,7 @@ export type PartialMessage = {
|
|
|
19
19
|
text: string;
|
|
20
20
|
};
|
|
21
21
|
/** What `onEvents` streams: the agent's events, plus the wire-only end-of-replay marker and partial message. */
|
|
22
|
-
export type LiveFeedEvent =
|
|
22
|
+
export type LiveFeedEvent = OpenAgentEvent | StreamSync | PartialMessage;
|
|
23
23
|
/**
|
|
24
24
|
* Follow one agent's events: `send` is called per event until the returned stop function runs.
|
|
25
25
|
* Returns undefined when there is nothing to stream (an unknown project), which the mount ends as
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
export { onAgents, onAgent, onAgentsDoing, onDocs, onQueue, onOverview, onRecentAgents, onInterventions, onOpenQuestions, onActivity, onDashboard, onGitHostHome, onRepositoryOffer, onGitStatus, onProjectFiles, onRetainedWorktrees, onAgentWorktree, onAgentHandoff, onBridgeQuestion, onBridgeStatus, onBridgeToken, onBridgeEvents, onBridgeAnswer, onBridgeBrowser } from './reads.js';
|
|
2
2
|
export { sendStop, sendChoice, sendBridgeAnswer, sendBridgeAnswerCancel, sendBridgeBrowser, sendMessage, sendStart, sendOpenInApp, sendRemoveWorktree, sendDeleteAgent, sendOpenPullRequest, sendPush, sendMergeBranch, sendMerge, sendCreateRepository } from './control.js';
|
|
3
3
|
export { streamAgentEvents, type LiveFeedEvent, type PartialMessage, type StreamSync } from './events.js';
|
|
4
|
-
export { onProjects, sendAddProject, sendPickProjectDirectory, onOnboarding, onCommands, onStartCheck, type ProjectLauncher } from './projects.js';
|
|
4
|
+
export { onProjects, sendAddProject, sendRemoveProject, onRecordsReach, sendShareRecords, sendPickProjectDirectory, onOnboarding, onCommands, onStartCheck, type ProjectLauncher } from './projects.js';
|
|
5
5
|
export { onPreferences, savePreferences, patchPreferences, onProjectPresets, saveProjectPresets, onEditors, type SavePreferencesResult, type PatchPreferencesResult, } from './preferences.js';
|
|
6
6
|
export { type EditorInfo } from '../dashboard/open-in-app.js';
|
|
7
7
|
export { onQuota } from './quota.js';
|
|
8
8
|
export { onModels } from './models.js';
|
|
9
9
|
export { checkDevices, type DeviceCheck } from './devices.js';
|
|
10
10
|
export { onModules, runModuleCommand, readModule, type DashboardModule, type ModuleCommandResult, type ModuleReadResult } from './modules.js';
|
|
11
|
+
export { onProjectSkills, sendChangeSkills, sendCommitSkills, type ProjectSkills, type ProjectSkill, type ChangeSkillsResult } from './skills.js';
|
|
11
12
|
import { streamAgentEvents } from './events.js';
|
|
12
13
|
/** One RPC: called with whatever the browser sent, answering with whatever JSON.stringify keeps. */
|
|
13
14
|
export type RpcHandler = (...args: never[]) => unknown;
|
|
@@ -12,8 +12,9 @@ export interface DashboardModule {
|
|
|
12
12
|
projects: string[];
|
|
13
13
|
}
|
|
14
14
|
/**
|
|
15
|
-
* Every module any registered project brings (#1774), one per package
|
|
16
|
-
*
|
|
15
|
+
* Every module any registered project brings (#1774), one per package, with the projects
|
|
16
|
+
* that have it: with no project picked the sidebar and the pages are every project's, and the
|
|
17
|
+
* dashboard narrows them itself to a picked project's. A package several projects install is loaded once, from
|
|
17
18
|
* the first of them in the registry's order; its page then reads each project through that
|
|
18
19
|
* project's own command. A project that cannot be read contributes nothing.
|
|
19
20
|
*/
|
|
@@ -22,14 +23,15 @@ export declare function onModules(): Promise<DashboardModule[]>;
|
|
|
22
23
|
* Run one of a module package's commands in one project and answer its JSON output: how a module
|
|
23
24
|
* reads (and changes) its own data. Refused for an unknown project and for a package that is not a
|
|
24
25
|
* module of that project, so a page can run only its own package's commands, never an arbitrary
|
|
25
|
-
* program. Once the command has run,
|
|
26
|
+
* program. Once the command has run, OpenAgent forgets what it had read of that project's
|
|
26
27
|
* provided data (its queue, its runs): the command may have written it, and the next read sees
|
|
27
28
|
* that at once instead of a cached copy.
|
|
28
29
|
*
|
|
29
30
|
* `acts` says the command is a module's action on the project (a link action), not a page's read:
|
|
30
|
-
*
|
|
31
|
-
* every minute, before forgetting — a
|
|
32
|
-
* origin, and this machine's copy would otherwise show the
|
|
31
|
+
* OpenAgent then also converges the project's data branch with origin, as its clock does
|
|
32
|
+
* every minute, before forgetting — in a project that shares its records a package's command
|
|
33
|
+
* writes as a remote writer, straight to origin, and this machine's copy would otherwise show the
|
|
34
|
+
* write only at the next sync.
|
|
33
35
|
*/
|
|
34
36
|
export declare function runModuleCommand(projectId: string, pkg: string, args: string[], command?: string, acts?: boolean): Promise<ModuleCommandResult>;
|
|
35
37
|
/**
|
|
@@ -28,13 +28,13 @@ export type PatchPreferencesResult<T> = {
|
|
|
28
28
|
*/
|
|
29
29
|
export declare function patchPreferences(patch: Preferences): Promise<PatchPreferencesResult<Preferences>>;
|
|
30
30
|
/**
|
|
31
|
-
* A project's shared custom presets (#1025), committed into its `.
|
|
31
|
+
* A project's shared custom presets (#1025), committed into its `.openagent/` so they travel
|
|
32
32
|
* with the repo — the team-shared counterpart to the user-tier {@link onPreferences} presets. Read
|
|
33
33
|
* from the project's own checkout, so this resolves the project id to its workspace path rather than
|
|
34
34
|
* touching the home registry. `[]` for an unknown project.
|
|
35
35
|
*/
|
|
36
36
|
export declare function onProjectPresets(projectId: string): Promise<CustomPreset[]>;
|
|
37
|
-
/** Persist a project's shared custom presets into its `.
|
|
37
|
+
/** Persist a project's shared custom presets into its `.openagent/` (#1025). */
|
|
38
38
|
export declare function saveProjectPresets(projectId: string, presets: CustomPreset[]): Promise<SavePreferencesResult>;
|
|
39
39
|
/** The editors installed on this server (#727), for the "Preferred editor" picker. */
|
|
40
40
|
export declare function onEditors(): Promise<EditorInfo[]>;
|