@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
|
@@ -1,16 +1,42 @@
|
|
|
1
1
|
import { type ProjectCommand } from '../project-commands.js';
|
|
2
|
+
import { type BranchReach } from '@openagt/agent-data';
|
|
2
3
|
import { type StartReadiness } from '../project-hooks.js';
|
|
3
4
|
import { type PickDirectoryResult } from '../pick-directory.js';
|
|
4
5
|
import type { ProjectSummary } from '../dashboard/projects.js';
|
|
5
|
-
import type { AddProjectResult, OnboardingSuggestion } from '../dashboard/types.js';
|
|
6
|
+
import type { AddProjectResult, OnboardingSuggestion, RemoveProjectResult } from '../dashboard/types.js';
|
|
6
7
|
export declare function onProjects(): Promise<ProjectSummary[]>;
|
|
7
8
|
/**
|
|
8
9
|
* Add a project from the dashboard (#396/#433): install the repo and register it so it joins the
|
|
9
10
|
* Projects list. Like `sendStart` this needs the daemon (it spawns git + writes the shared
|
|
10
11
|
* registry), so it calls the daemon's own `addProject` closure off the wired dashboard context.
|
|
11
12
|
* Returns the daemon's {@link AddProjectResult}.
|
|
13
|
+
*
|
|
14
|
+
* `share` is the person's answer, asked before the add: whether the agents' records may go to the
|
|
15
|
+
* repository's remote. Nothing is pushed for a project added with `false`.
|
|
12
16
|
*/
|
|
13
|
-
export declare function sendAddProject(path: string): Promise<AddProjectResult>;
|
|
17
|
+
export declare function sendAddProject(path: string, share: boolean): Promise<AddProjectResult>;
|
|
18
|
+
/**
|
|
19
|
+
* Remove a project from the dashboard: it leaves the Projects list. Nothing in its folder is
|
|
20
|
+
* deleted unless `files` is true: then what OpenAgent left there is removed too, and the answer
|
|
21
|
+
* says what went and what stayed. Like `sendAddProject` this is the daemon's to do (it runs the project's close hooks and
|
|
22
|
+
* writes the shared registry), so it calls the daemon's own closure off the wired dashboard context.
|
|
23
|
+
* Addressed by id and not by path, so a project whose folder is gone can still be removed.
|
|
24
|
+
*/
|
|
25
|
+
export declare function sendRemoveProject(projectId: string, files: boolean): Promise<RemoveProjectResult>;
|
|
26
|
+
/** How far the project's records reach right now, read off its repository; `null` when the project is unknown here. */
|
|
27
|
+
export declare function onRecordsReach(projectId: string): Promise<BranchReach | null>;
|
|
28
|
+
/**
|
|
29
|
+
* The person's switch: share the project's records with its remote, or keep them on this machine.
|
|
30
|
+
* Turning it on sends what is there now, so a remote that refuses is said at once, and the switch
|
|
31
|
+
* goes back to off: the records stay where they were. A project with no remote has nothing to
|
|
32
|
+
* share with, and is refused.
|
|
33
|
+
*/
|
|
34
|
+
export declare function sendShareRecords(projectId: string, on: boolean): Promise<{
|
|
35
|
+
ok: true;
|
|
36
|
+
} | {
|
|
37
|
+
ok: false;
|
|
38
|
+
error: string;
|
|
39
|
+
}>;
|
|
14
40
|
/**
|
|
15
41
|
* Open the OS folder picker on the daemon's machine and wait for the user's choice (#1150). The
|
|
16
42
|
* browser cannot learn an absolute path from any picker of its own, and the daemon — which runs on
|
|
@@ -26,7 +52,7 @@ export declare function onOnboarding(): Promise<OnboardingSuggestion>;
|
|
|
26
52
|
/** What the launcher offers for a project: its commands, and whether a run can be started here at all. */
|
|
27
53
|
export interface ProjectLauncher {
|
|
28
54
|
commands: ProjectCommand[];
|
|
29
|
-
/** Whether the project's `.
|
|
55
|
+
/** Whether the project's `.openagent/hooks.yml` has a `start` line; without one Start is off. */
|
|
30
56
|
startHook: boolean;
|
|
31
57
|
/** Whether one of the project's packages provides a git host; without one no pull request can be opened, so the publish menu stops at the branch. */
|
|
32
58
|
gitHost: boolean;
|
|
@@ -13,7 +13,7 @@ import { type DashboardData } from '../dashboard/dashboard.js';
|
|
|
13
13
|
import { type GitStatus } from '../dashboard/git-status.js';
|
|
14
14
|
import { type AgentHandoff } from '../dashboard/agent-handoff.js';
|
|
15
15
|
import type { AgentWorktree } from '../dashboard/types.js';
|
|
16
|
-
import type {
|
|
16
|
+
import type { OpenAgentEvent } from '../events.js';
|
|
17
17
|
import type { BridgeEvent, BridgeHello, BridgeQuestion } from '../dashboard/bridge-endpoints.js';
|
|
18
18
|
import type { BridgeAnswer, BridgeContact, BridgeVersion } from '../dashboard/bridge-store.js';
|
|
19
19
|
/**
|
|
@@ -78,7 +78,7 @@ export declare function onRetainedWorktrees(projectId: string): Promise<string[]
|
|
|
78
78
|
*/
|
|
79
79
|
export declare function onAgentWorktree(projectId: string, agentId: string): Promise<AgentWorktree | null>;
|
|
80
80
|
/** One archived agent's event log for replay (or `[]` when the agent or project is gone). */
|
|
81
|
-
export declare function onAgent(projectId: string, agentId: string): Promise<
|
|
81
|
+
export declare function onAgent(projectId: string, agentId: string): Promise<OpenAgentEvent[]>;
|
|
82
82
|
/** What each of the named runs of a project is doing now, by id; a run that is not working has no entry. */
|
|
83
83
|
export declare function onAgentsDoing(projectId: string, agentIds: string[]): Promise<Record<string, string>>;
|
|
84
84
|
/** The surfaced PLAN/TODO docs at the workspace root, in sidebar order (or `[]`). */
|
|
@@ -170,7 +170,7 @@ export declare function onBridgeStatus(): Promise<{
|
|
|
170
170
|
* page. Revealing it here is not a new exposure: anyone who can load this dashboard can already
|
|
171
171
|
* start runs on this machine, and on a non-loopback bind their browser is holding the same token
|
|
172
172
|
* as a cookie. What it replaces is the alternative, which was telling people to open
|
|
173
|
-
* `~/.
|
|
173
|
+
* `~/.openagent.json` and copy a field out of it.
|
|
174
174
|
*/
|
|
175
175
|
export declare function onBridgeToken(): Promise<string | null>;
|
|
176
176
|
/**
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import { type Standing } from '@openagt/init';
|
|
2
|
+
/**
|
|
3
|
+
* A project's skills, as the dashboard shows and changes them (#2023): the same list with ticks
|
|
4
|
+
* `npx @openagt/init` shows in a terminal, read and written through that package's own code, so
|
|
5
|
+
* the two cannot drift apart. A project has a skill when the skill's text is in its folder; the
|
|
6
|
+
* dashboard writes and deletes those files, and offers the one commit that holds them.
|
|
7
|
+
*/
|
|
8
|
+
/** One skill of the list, as it stands in the project. */
|
|
9
|
+
export interface ProjectSkill {
|
|
10
|
+
name: string;
|
|
11
|
+
/** The one line the skill's text says of itself. */
|
|
12
|
+
description: string;
|
|
13
|
+
/** How the project's text stands against the one this dashboard carries; `absent` when the project does not hold the skill. */
|
|
14
|
+
standing: Standing;
|
|
15
|
+
/** Whether the skill is in the folder but not yet on the branch agents start from: an agent started from it does not have the skill. */
|
|
16
|
+
waiting: boolean;
|
|
17
|
+
}
|
|
18
|
+
export interface ProjectSkills {
|
|
19
|
+
/** How many skills the project has, of how many there are: the ones in its folder, and the basic ones every run gets. */
|
|
20
|
+
has: number;
|
|
21
|
+
of: number;
|
|
22
|
+
/** The list's groups; `ticked` says whether a group's skills are ticked in a project that has none yet. */
|
|
23
|
+
groups: {
|
|
24
|
+
title: string;
|
|
25
|
+
ticked: boolean;
|
|
26
|
+
skills: ProjectSkill[];
|
|
27
|
+
}[];
|
|
28
|
+
/** Whether the scheduler starts with the dashboard for this project, on this machine. */
|
|
29
|
+
scheduler: boolean;
|
|
30
|
+
/** The branch agents start from, by its name: the remote's default branch, else the branch the folder is on. Absent where there is none. */
|
|
31
|
+
startBranch?: string;
|
|
32
|
+
/** How many skill files stand written or deleted in the folder with no commit yet. */
|
|
33
|
+
uncommitted: number;
|
|
34
|
+
/** Whether the folder is a git repository: without one there is nothing to commit. */
|
|
35
|
+
git: boolean;
|
|
36
|
+
/** Whether the project has a remote: without one a commit on this machine is all agents need. */
|
|
37
|
+
remote: boolean;
|
|
38
|
+
}
|
|
39
|
+
/** The project's skills; `null` when the project is unknown here. */
|
|
40
|
+
export declare function onProjectSkills(projectId: string): Promise<ProjectSkills | null>;
|
|
41
|
+
/** What a change of skills answered: what was written and deleted, what was left as it is, and the scheduler when the change switched it. */
|
|
42
|
+
export type ChangeSkillsResult = {
|
|
43
|
+
ok: true;
|
|
44
|
+
written: string[];
|
|
45
|
+
removed: string[];
|
|
46
|
+
left: {
|
|
47
|
+
path: string;
|
|
48
|
+
reason: string;
|
|
49
|
+
}[];
|
|
50
|
+
scheduler?: 'on' | 'off';
|
|
51
|
+
schedulerError?: string;
|
|
52
|
+
} | {
|
|
53
|
+
ok: false;
|
|
54
|
+
error: string;
|
|
55
|
+
};
|
|
56
|
+
/**
|
|
57
|
+
* Write and delete skills in a project's folder, and switch its scheduler: what the "Add skills"
|
|
58
|
+
* screen saves. Only the names of the list are taken; anything else is refused whole. A scheduler
|
|
59
|
+
* switched on starts at once, by its own line, as it would have at this dashboard's opening.
|
|
60
|
+
* Nothing is committed here: `sendCommitSkills` is the person's next press.
|
|
61
|
+
*/
|
|
62
|
+
export declare function sendChangeSkills(projectId: string, change: {
|
|
63
|
+
write?: string[];
|
|
64
|
+
remove?: string[];
|
|
65
|
+
scheduler?: boolean;
|
|
66
|
+
}): Promise<ChangeSkillsResult>;
|
|
67
|
+
/**
|
|
68
|
+
* One commit of skill files that stand uncommitted in the project's folder, on the branch the
|
|
69
|
+
* folder is on: the files of the skills `only` names, after a change that wrote or deleted them,
|
|
70
|
+
* else every uncommitted skill file. Never a push.
|
|
71
|
+
*/
|
|
72
|
+
export declare function sendCommitSkills(projectId: string, only?: string[]): Promise<{
|
|
73
|
+
ok: true;
|
|
74
|
+
committed: boolean;
|
|
75
|
+
commit?: string;
|
|
76
|
+
} | {
|
|
77
|
+
ok: false;
|
|
78
|
+
error: string;
|
|
79
|
+
}>;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* iterators, and replay history from an offset (tail=N replay).
|
|
4
4
|
*
|
|
5
5
|
* Absorbed from `@gemstack/ai-autopilot` when that package was deleted (A2). Its element type
|
|
6
|
-
* used to default to the supervisor's event; the only caller here passes `
|
|
6
|
+
* used to default to the supervisor's event; the only caller here passes `OpenAgentEvent`, so
|
|
7
7
|
* the parameter is now required.
|
|
8
8
|
*/
|
|
9
9
|
export declare class EventStream<E> {
|
|
@@ -12,7 +12,7 @@ export interface ChoiceOption {
|
|
|
12
12
|
}
|
|
13
13
|
/**
|
|
14
14
|
* An interactive choice the agent pauses on until a pick arrives (#304). Emitted as
|
|
15
|
-
* a `choice` {@link
|
|
15
|
+
* a `choice` {@link OpenAgentEvent}; the dashboard renders it in a panel and posts
|
|
16
16
|
* the pick back. The recommended option is what an agent nobody is watching takes.
|
|
17
17
|
*/
|
|
18
18
|
export interface ChoiceRequest {
|
|
@@ -39,7 +39,7 @@ export interface ChoiceRequest {
|
|
|
39
39
|
}
|
|
40
40
|
/** Who resolved a {@link ChoiceRequest}: a human, or a headless auto-accept. */
|
|
41
41
|
export type ChoiceBy = 'user' | 'auto';
|
|
42
|
-
/** What a {@link import('./agent.js').
|
|
42
|
+
/** What a {@link import('./agent.js').RunOpenAgentOptions.requestChoice} handler resolves with. */
|
|
43
43
|
export interface ChoicePick {
|
|
44
44
|
/** The picked option id, or (for a {@link ChoiceRequest.multi} select) the selected subset of ids. */
|
|
45
45
|
picked: string | readonly string[];
|
|
@@ -49,21 +49,21 @@ export interface ChoicePick {
|
|
|
49
49
|
/** Normalize a {@link ChoicePick} (single id or subset) to a list of picked ids. */
|
|
50
50
|
export declare function pickedIds(picked: string | readonly string[]): string[];
|
|
51
51
|
/**
|
|
52
|
-
* The single type a run's timeline is read as.
|
|
52
|
+
* The single type a run's timeline is read as. OpenAgent emits none of these itself (#1774):
|
|
53
53
|
* a run's tool writes the run's diary, and every line of it is read as one of these so the
|
|
54
54
|
* dashboard and the terminal render one timeline whatever wrote it.
|
|
55
55
|
*
|
|
56
56
|
* What a diary yields today is the agent's own progress (`driver`), the session id it reports
|
|
57
57
|
* (`session-update`), the question a turn ended on (`choice`), what it cost (`usage`) and how it
|
|
58
58
|
* ended (`end`). **The rest of this union is a reading vocabulary for runs recorded before the
|
|
59
|
-
* daemon stopped running agents** —
|
|
59
|
+
* daemon stopped running agents** — OpenAgent's own narration back then. They are kept
|
|
60
60
|
* because that history is still on the data branch and still has to render.
|
|
61
61
|
*
|
|
62
62
|
* Every event read from a diary line that says when it was written carries that time as `at`
|
|
63
63
|
* (ISO 8601), so the timeline shows the same times live, after a reload, and once the run has
|
|
64
64
|
* ended. Lines written before the diary kept times have none, and show none.
|
|
65
65
|
*/
|
|
66
|
-
export type
|
|
66
|
+
export type OpenAgentEvent = {
|
|
67
67
|
at?: string;
|
|
68
68
|
} & (
|
|
69
69
|
/**
|
|
@@ -105,8 +105,8 @@ export type FrameworkEvent = {
|
|
|
105
105
|
* A live screen something the agent ran is showing: a page on this machine's loopback, shown in
|
|
106
106
|
* the chat where the line is, while it is the newest open screen at that address and the run
|
|
107
107
|
* has not ended. `label` names what it showed then. The same address with `ended` says the
|
|
108
|
-
* screen has gone. A diary line a command appends itself (agent-driver's `DIARY_ENV`);
|
|
109
|
-
*
|
|
108
|
+
* screen has gone. A diary line a command appends itself (agent-driver's `DIARY_ENV`);
|
|
109
|
+
* OpenAgent knows nothing of what the page is.
|
|
110
110
|
*/
|
|
111
111
|
| {
|
|
112
112
|
kind: 'screen';
|
|
@@ -114,7 +114,7 @@ export type FrameworkEvent = {
|
|
|
114
114
|
label: string;
|
|
115
115
|
ended?: true;
|
|
116
116
|
}
|
|
117
|
-
/**
|
|
117
|
+
/** An OpenAgent-level log line. */
|
|
118
118
|
| {
|
|
119
119
|
kind: 'log';
|
|
120
120
|
message: string;
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
* ends where its consumers end, so a name nothing renders cannot quietly live on in it.
|
|
14
14
|
*/
|
|
15
15
|
export type { AgentError, SessionInfo } from './agent-view.js';
|
|
16
|
-
export type { ChoiceRequest,
|
|
16
|
+
export type { ChoiceRequest, OpenAgentEvent } from './events.js';
|
|
17
17
|
export type { QuotaBoundary } from './quota-boundary.js';
|
|
18
18
|
export type { CustomPreset, Preferences } from './registry.js';
|
|
19
19
|
export type { PublishPick } from './publish-levels.js';
|
|
@@ -23,6 +23,7 @@ export type { Activity } from './dashboard/activity.js';
|
|
|
23
23
|
export type { AgentHandoff } from './dashboard/agent-handoff.js';
|
|
24
24
|
export type { GitHostHome } from './store/git-host.js';
|
|
25
25
|
export type { RepositoryOffer, CreateRepositoryResult } from './store/repository.js';
|
|
26
|
+
export type { BranchReach as RecordsReach } from '@openagt/agent-data';
|
|
26
27
|
export type { BridgeEvent } from './dashboard/bridge-endpoints.js';
|
|
27
28
|
export type { BridgeOption, BridgeQuestion } from './dashboard/bridge-question.js';
|
|
28
29
|
export type { BridgeAnswer } from './dashboard/bridge-store.js';
|
|
@@ -37,4 +38,4 @@ export type { ProjectError, ProjectErrorCode } from './project-errors.js';
|
|
|
37
38
|
export type { ProjectQueue } from './dashboard/queue.js';
|
|
38
39
|
export type { QuotaView } from './dashboard/quota.js';
|
|
39
40
|
export type { Ticket } from './store/tickets.js';
|
|
40
|
-
export type { AgentWorktree, OnboardingSuggestion } from './dashboard/types.js';
|
|
41
|
+
export type { AgentWorktree, CleanupReport, OnboardingSuggestion } from './dashboard/types.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ChoiceRequest,
|
|
1
|
+
import type { ChoiceRequest, OpenAgentEvent } from './events.js';
|
|
2
2
|
/**
|
|
3
3
|
* Every question a run still waits on, in the order asked, read off the run's events. One rule
|
|
4
4
|
* for every surface that offers an answer (the run page, the open-questions list, the write
|
|
@@ -11,4 +11,4 @@ import type { ChoiceRequest, FrameworkEvent } from './events.js';
|
|
|
11
11
|
* checkout kept, and the answer resumes it. A run that died holding a question ends otherwise,
|
|
12
12
|
* and its question goes with it (#1359): nobody would read the pick.
|
|
13
13
|
*/
|
|
14
|
-
export declare function pendingChoices(events: readonly
|
|
14
|
+
export declare function pendingChoices(events: readonly OpenAgentEvent[]): ChoiceRequest[];
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The directory, under a project root, that holds OpenAgent's own files.
|
|
3
|
+
*
|
|
4
|
+
* Its own module so every reader and writer of the directory (the hooks file, the project's saved
|
|
5
|
+
* prompts, a run's card, diary and inbox) spells it the same way. The name itself is
|
|
6
|
+
* `@openagt/agent-data`'s, which also makes the directory when a folder becomes a project.
|
|
7
|
+
*/
|
|
8
|
+
export { OPENAGENT_DIR } from '@openagt/agent-data/names';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The `.openagent/.gitignore` (#313): one file, one content, written at install.
|
|
3
|
+
*
|
|
4
|
+
* Everything under `.openagent/` is this machine's or transient: a run's live files, the
|
|
5
|
+
* hooks file. The lasting records (the runs, the `logs` skill's) live on the data branch
|
|
6
|
+
* (#1582/#1769), so nothing is tracked, this file included: git shows no trace of the directory.
|
|
7
|
+
*/
|
|
8
|
+
/** The `.gitignore` path under `cwd`'s `.openagent/`. */
|
|
9
|
+
export declare function gitignorePath(cwd: string): string;
|
|
10
|
+
/** The whole file: everything under `.openagent/` stays out of git, the file itself too (#1582). */
|
|
11
|
+
export declare function openagentGitignore(): string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* A project's commands (#1774): the skills written to be run by a person, read off the folders
|
|
3
|
-
* the coding agents read them from.
|
|
3
|
+
* the coding agents read them from. OpenAgent ships no prompt text; what a project can be
|
|
4
4
|
* asked to do is what its own command skills say. A skill that teaches the agent how to do
|
|
5
5
|
* something (the tickets, the queue) is not a command: typed alone it starts an agent with
|
|
6
6
|
* nothing to do, so the launcher does not list it.
|
|
@@ -13,6 +13,10 @@ export interface ProjectCommand {
|
|
|
13
13
|
name: string;
|
|
14
14
|
/** The `description` of the skill's front matter, when it has one. */
|
|
15
15
|
description?: string;
|
|
16
|
+
/** The branch the skill has yet to reach, by name, when its text is in the folder but not on the branch agents start from: an agent started from that branch does not have the command. */
|
|
17
|
+
waiting?: string;
|
|
18
|
+
/** With `waiting`: whether the branch the folder is on has the skill, so an agent started from that branch does have the command. */
|
|
19
|
+
here?: true;
|
|
16
20
|
}
|
|
17
21
|
/**
|
|
18
22
|
* The project's commands, by name: the skills whose front matter says
|
|
@@ -7,13 +7,15 @@
|
|
|
7
7
|
* line on the daemon's stdout and nothing else, which is the worst way to handle a state nobody
|
|
8
8
|
* can see.
|
|
9
9
|
*
|
|
10
|
-
* A
|
|
11
|
-
* project. The sync records
|
|
10
|
+
* A project whose data stays on this machine is not an error: a folder with no origin, or one the
|
|
11
|
+
* person does not share, is a normal project. The sync records why as `local`, a note the
|
|
12
|
+
* dashboard says quietly.
|
|
12
13
|
*
|
|
13
14
|
* In memory on purpose. Every emitter re-evaluates on its own cadence — the sync every minute —
|
|
14
15
|
* so a restarted daemon re-learns each error within a tick, and there is no stale record to
|
|
15
16
|
* outlive the condition that raised it.
|
|
16
17
|
*/
|
|
18
|
+
import type { BranchReach } from '@openagt/agent-data';
|
|
17
19
|
/**
|
|
18
20
|
* What went wrong, by kind: the dashboard picks its wording from this, the message carries the
|
|
19
21
|
* detail. `data-sync`: the data branch cannot converge with the remote. `provider`: which package
|
|
@@ -28,6 +30,8 @@ export interface ProjectError {
|
|
|
28
30
|
/** ISO timestamp of when the error was first recorded; a re-report of the same code keeps it. */
|
|
29
31
|
since: string;
|
|
30
32
|
}
|
|
33
|
+
/** Why a project's data stays on this machine: its repository has no origin, or the person keeps it here. */
|
|
34
|
+
export type StaysLocal = Exclude<BranchReach, 'origin'>;
|
|
31
35
|
/** The daemon's write side: one slot per (project, code). */
|
|
32
36
|
export interface ProjectErrors {
|
|
33
37
|
/**
|
|
@@ -40,15 +44,15 @@ export interface ProjectErrors {
|
|
|
40
44
|
clear(projectPath: string, code: ProjectErrorCode): void;
|
|
41
45
|
/** The project's current errors, oldest first. */
|
|
42
46
|
list(projectPath: string): ProjectError[];
|
|
43
|
-
/**
|
|
44
|
-
|
|
45
|
-
/** What the dashboard shows of the project: its errors, and
|
|
47
|
+
/** How far the project's data reaches, as the last sync found it. */
|
|
48
|
+
setReach(projectPath: string, reach: BranchReach): void;
|
|
49
|
+
/** What the dashboard shows of the project: its errors, and why its data stays local, if it does. */
|
|
46
50
|
read(projectPath: string): ProjectState;
|
|
47
51
|
}
|
|
48
|
-
/** What the background jobs currently know of a project: what is wrong with it, and
|
|
52
|
+
/** What the background jobs currently know of a project: what is wrong with it, and why its data stays on this machine, if it does. */
|
|
49
53
|
export interface ProjectState {
|
|
50
54
|
errors: ProjectError[];
|
|
51
|
-
|
|
55
|
+
local?: StaysLocal;
|
|
52
56
|
}
|
|
53
57
|
/** The dashboard's read side, wired into its context. */
|
|
54
58
|
export type ProjectErrorsReader = ProjectErrors['read'];
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* A project's hooks (#1774): the shell lines a project's own `.
|
|
2
|
+
* A project's hooks (#1774): the shell lines a project's own `.openagent/hooks.yml` names to
|
|
3
3
|
* run when the dashboard opens and when it closes, the two lines that start a run and continue
|
|
4
4
|
* one, and the line that says whether a run can start here at all. The daemon calls no tool by
|
|
5
|
-
* name: it runs whatever the file says, in the project, with the
|
|
6
|
-
* then the
|
|
7
|
-
* user, since `.
|
|
5
|
+
* name: it runs whatever the file says, in the project, with the commands of the packages
|
|
6
|
+
* OpenAgent brings and then the project's installed tools on the PATH, so a line reaches its tool with nothing fetched from npm. Per
|
|
7
|
+
* user, since `.openagent/` is ignored: a hook is this machine's, and a teammate's pull
|
|
8
8
|
* changes nothing.
|
|
9
9
|
*
|
|
10
10
|
* Optional, best-effort and bounded: no file means nothing runs, a broken file is a warning, an
|
|
11
11
|
* `open` or `close` line that fails or hangs is logged and the next line still runs, and nothing
|
|
12
12
|
* here ever throws to the daemon.
|
|
13
13
|
*/
|
|
14
|
-
/** The hooks file, under the project's ignored `.
|
|
15
|
-
export declare const PROJECT_HOOKS_FILE = ".
|
|
14
|
+
/** The hooks file, under the project's ignored `.openagent/`. */
|
|
15
|
+
export declare const PROJECT_HOOKS_FILE = ".openagent/hooks.yml";
|
|
16
16
|
/** How long one line may run before it is killed and logged as timed out. */
|
|
17
17
|
export declare const HOOK_TIMEOUT_MS = 60000;
|
|
18
18
|
/** When a project's hooks run: `open` when the dashboard starts (and when the project is added while it runs), `close` when it stops. */
|
|
@@ -49,6 +49,8 @@ export interface RunHooksOptions {
|
|
|
49
49
|
timeoutMs?: number;
|
|
50
50
|
/** The environment the lines run with; default the daemon's own. */
|
|
51
51
|
env?: NodeJS.ProcessEnv;
|
|
52
|
+
/** The lines to run, of the ones the file holds; every line when absent. */
|
|
53
|
+
only?: readonly string[];
|
|
52
54
|
}
|
|
53
55
|
/**
|
|
54
56
|
* Run a project's `open` or `close` lines, in order, each through `sh -c` with the project's
|
|
@@ -122,8 +124,9 @@ export declare function runCheckHook(cwd: string, input: {
|
|
|
122
124
|
driver?: string;
|
|
123
125
|
}, opts?: Omit<RunHooksOptions, 'log'>): Promise<CheckHookResult>;
|
|
124
126
|
/**
|
|
125
|
-
* The environment a line runs with: the PATH led by the
|
|
126
|
-
*
|
|
127
|
-
*
|
|
127
|
+
* The environment a line runs with: the PATH led by the commands of the packages OpenAgent
|
|
128
|
+
* brings, then the project's installed tools. So a tool of OpenAgent's named in a line is always
|
|
129
|
+
* OpenAgent's copy, the one its pages and its data go through too, any other tool is the
|
|
130
|
+
* project's, and nothing is a package fetched by name.
|
|
128
131
|
*/
|
|
129
132
|
export declare function hookEnv(cwd: string, env: NodeJS.ProcessEnv): Promise<NodeJS.ProcessEnv>;
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import { type PackageCommandResult } from '@openagt/agent-data';
|
|
2
2
|
/**
|
|
3
3
|
* A package that adds to the dashboard (#1774): its browser part, named by its
|
|
4
|
-
* `exports["./dashboard"]`, and optionally its server part, named by `exports["./server"]`.
|
|
5
|
-
*
|
|
6
|
-
*
|
|
4
|
+
* `exports["./dashboard"]`, and optionally its server part, named by `exports["./server"]`.
|
|
5
|
+
* Any dependency of the project that exports `./dashboard` is a module, whoever wrote it, and the
|
|
6
|
+
* packages OpenAgent brings itself come the same way, for the projects that have them
|
|
7
|
+
* (`built-in.ts`).
|
|
7
8
|
*/
|
|
8
9
|
export interface ProjectModule {
|
|
9
|
-
/** The package's name
|
|
10
|
+
/** The package's name. */
|
|
10
11
|
package: string;
|
|
11
12
|
/** The package's version, when its package.json says one. */
|
|
12
13
|
version?: string;
|
|
@@ -21,8 +22,9 @@ export interface ProjectModule {
|
|
|
21
22
|
}
|
|
22
23
|
/**
|
|
23
24
|
* The modules a project has: each of its dependencies whose package.json exports `./dashboard` to
|
|
24
|
-
* a file that exists inside the package, plus the modules among the
|
|
25
|
-
*
|
|
25
|
+
* a file that exists inside the package, plus the modules among the packages OpenAgent brings to
|
|
26
|
+
* this project (`built-in.ts`): a skill's page where the project holds the skill's text. Sorted
|
|
27
|
+
* by name.
|
|
26
28
|
*/
|
|
27
29
|
export declare function readProjectModules(root: string): Promise<ProjectModule[]>;
|
|
28
30
|
/** The one module of this project that `name` names, or undefined. */
|
|
@@ -38,7 +40,7 @@ export type ModuleCommandResult = PackageCommandResult;
|
|
|
38
40
|
/**
|
|
39
41
|
* Run one of a module package's own commands in the project, with the given arguments, and read
|
|
40
42
|
* its standard output as JSON. This is how a module reads its data: the same command an agent runs
|
|
41
|
-
* (`npx logs`), so the module and the agent see the same thing and
|
|
43
|
+
* (`npx @openagt/skill-logs@0.1`), so the module and the agent see the same thing and OpenAgent knows neither.
|
|
42
44
|
*
|
|
43
45
|
* `command` picks one of the package's commands; a package with exactly one needs none. The
|
|
44
46
|
* command runs with Node (a package's commands are Node scripts), in the project root, never
|
|
@@ -11,8 +11,8 @@ import { type StoreFs } from './store/index.js';
|
|
|
11
11
|
* The store is a plain JSON array of {@link CustomPreset}, the exact shape the user tier uses, so
|
|
12
12
|
* the dashboard renders both from one type and the same sanitizer guards both files.
|
|
13
13
|
*/
|
|
14
|
-
/** The committed file holding a project's shared custom presets, under `.
|
|
15
|
-
export declare const PROJECT_PRESETS_FILE = ".
|
|
14
|
+
/** The committed file holding a project's shared custom presets, under `.openagent/`. */
|
|
15
|
+
export declare const PROJECT_PRESETS_FILE = ".openagent/custom-presets.json";
|
|
16
16
|
/**
|
|
17
17
|
* Read a project's shared custom presets. Forgiving like every other read here: a missing,
|
|
18
18
|
* unreadable or malformed file yields `[]`, never throws, and the same sanitizer that guards
|
|
@@ -21,8 +21,8 @@ export declare const PROJECT_PRESETS_FILE = ".the-framework/custom-presets.json"
|
|
|
21
21
|
export declare function readProjectPresets(cwd: string, fs?: StoreFs): Promise<CustomPreset[]>;
|
|
22
22
|
/**
|
|
23
23
|
* Write a project's shared custom presets, sanitizing first so the committed file is always
|
|
24
|
-
* well-formed. Also ensures `.
|
|
25
|
-
* `*`
|
|
24
|
+
* well-formed. Also ensures `.openagent/.gitignore` un-ignores the file: the dir's ignore is
|
|
25
|
+
* `*` (nothing is tracked by default), so without a negation git would
|
|
26
26
|
* never see the presets and they could not be shared. Removing every preset writes an empty array
|
|
27
27
|
* rather than deleting the file, so the negation stays in place for the next save.
|
|
28
28
|
*/
|
|
@@ -3,7 +3,7 @@ import { type GitRunner } from '@openagt/agent-data';
|
|
|
3
3
|
* Project-level repo helpers (#380): the activation marker check and a
|
|
4
4
|
* `git ls-files` crawl. Read-only
|
|
5
5
|
* building blocks for the sidebars (#314); activation/install (writing the
|
|
6
|
-
* marker
|
|
6
|
+
* marker) is a separate, deferred concern.
|
|
7
7
|
*/
|
|
8
8
|
/** Minimal fs seam so activation is unit-testable without touching disk. */
|
|
9
9
|
export interface ProjectFs {
|
|
@@ -11,12 +11,12 @@ export interface ProjectFs {
|
|
|
11
11
|
exists(path: string): Promise<boolean>;
|
|
12
12
|
}
|
|
13
13
|
/**
|
|
14
|
-
* A repo is "activated"/installed for
|
|
15
|
-
* `.
|
|
16
|
-
* no-op check reads (#1600), so a `.
|
|
14
|
+
* A repo is "activated"/installed for OpenAgent when it has the
|
|
15
|
+
* `.openagent/.gitignore` install writes — the same marker install's own
|
|
16
|
+
* no-op check reads (#1600), so a `.openagent/` directory something else
|
|
17
17
|
* created can never read as activated while the repo still lacks the ignore
|
|
18
|
-
* file that keeps
|
|
19
|
-
* the marker
|
|
18
|
+
* file that keeps OpenAgent state out of git. Read-only check; writing
|
|
19
|
+
* the marker is a separate, deferred concern.
|
|
20
20
|
*/
|
|
21
21
|
export declare function isActivated(cwd: string, fs?: ProjectFs): Promise<boolean>;
|
|
22
22
|
/**
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
* The levels are the words a project's start hook is handed as `PUBLISH`, the ones
|
|
5
5
|
* `agent-runner run --publish` takes. The launcher's menu offers them after "Nothing", the pick
|
|
6
6
|
* that hands the hook no level: the run then commits and publishes nothing unless its prompt asks.
|
|
7
|
-
* Until a person picks, a run
|
|
8
|
-
*
|
|
7
|
+
* Until a person picks, a run commits its work and pushes nothing: what leaves the machine is the
|
|
8
|
+
* person's to ask for.
|
|
9
9
|
*/
|
|
10
10
|
/** The levels a run can be started at, each going further than the one before. */
|
|
11
11
|
export declare const PUBLISH_LEVELS: readonly ['commit', 'branch', 'pr', 'merge'];
|
|
@@ -24,8 +24,8 @@ export declare function isPublishPick(value: unknown): value is PublishPick;
|
|
|
24
24
|
*/
|
|
25
25
|
export declare function offeredPublishPicks(gitHost: boolean, remote?: boolean): readonly PublishPick[];
|
|
26
26
|
/**
|
|
27
|
-
* The
|
|
28
|
-
*
|
|
27
|
+
* The pick in force in this project. Until a person saves one it is Commit, which pushes nothing.
|
|
28
|
+
* A saved pick the project is not offered falls back to the furthest it goes with no pull request.
|
|
29
29
|
*/
|
|
30
30
|
export declare function publishPickIn(saved: PublishPick | undefined, gitHost: boolean, remote?: boolean): PublishPick;
|
|
31
31
|
/** The level a pick hands the start hook; none for Nothing. */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* The quota boundary (#879): how much of the account's week
|
|
2
|
+
* The quota boundary (#879): how much of the account's week OpenAgent may
|
|
3
3
|
* have spent by now.
|
|
4
4
|
*
|
|
5
5
|
* The whole policy is one line — the boundary is the pro-rated share of the week's allowance that
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Nothing is left on the floor: the boundary rises on its own and reaches the full allowance
|
|
11
11
|
* exactly as the week resets, so a quiet week still gets spent rather than expiring.
|
|
12
12
|
*
|
|
13
|
-
*
|
|
13
|
+
* OpenAgent only draws it. Whether work stops at it, or how far past it, is the business of
|
|
14
14
|
* whatever starts unattended work, which puts its own stop line on the usage bar.
|
|
15
15
|
*/
|
|
16
16
|
import type { DriverQuotaWindow } from '@openagt/agent-driver';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { type PublishPick } from './publish-levels.js';
|
|
2
2
|
/**
|
|
3
3
|
* The multi-project registry (#390): the list of projects the user has
|
|
4
|
-
* installed
|
|
5
|
-
* `$HOME/.
|
|
4
|
+
* installed OpenAgent into, kept as a single JSON file `.bashrc`-style —
|
|
5
|
+
* `$HOME/.openagent.json` — so it is the user's responsibility to re-create
|
|
6
6
|
* per machine. The same file also holds the user's dashboard preferences (#410),
|
|
7
7
|
* so the daemon owns one user file and the UI never needs localStorage.
|
|
8
8
|
*/
|
|
@@ -47,7 +47,7 @@ export interface Preferences {
|
|
|
47
47
|
* The "needs you" category (#627): notify when an agent is awaiting your answer or a PR is ready
|
|
48
48
|
* to review. A *category* toggle, like {@link notifyNewActivity}, composing with the method
|
|
49
49
|
* toggle {@link notifyBrowser}. **Absent = on**: unlike the other
|
|
50
|
-
* flat opt-in booleans, human-intervention pings are the baseline
|
|
50
|
+
* flat opt-in booleans, human-intervention pings are the baseline OpenAgent leans on, so an
|
|
51
51
|
* unset preference keeps them firing; a user turns them off explicitly.
|
|
52
52
|
*/
|
|
53
53
|
notifyHumanIntervention?: boolean;
|
|
@@ -72,7 +72,7 @@ export interface Preferences {
|
|
|
72
72
|
*/
|
|
73
73
|
postMergeCleanup?: boolean;
|
|
74
74
|
/** Preferred editor for "Open in editor" (#727): an editor CLI (e.g. `code`, `cursor`, `zed`).
|
|
75
|
-
* Absent falls back to `$
|
|
75
|
+
* Absent falls back to `$OPENAGENT_EDITOR`, then `code`. */
|
|
76
76
|
editor?: string;
|
|
77
77
|
/** Dashboard color theme (#725): `system` (follow the OS, the default), `light`, or `dark`. Absent = system. */
|
|
78
78
|
theme?: 'system' | 'light' | 'dark';
|
|
@@ -121,7 +121,7 @@ export interface PreferencesStore {
|
|
|
121
121
|
patch(patch: Preferences): Promise<Preferences>;
|
|
122
122
|
}
|
|
123
123
|
/** The registry file name: a single file under `$XDG_CONFIG_HOME` (dotted under `$HOME`). */
|
|
124
|
-
export declare const REGISTRY_FILE = "
|
|
124
|
+
export declare const REGISTRY_FILE = "openagent.json";
|
|
125
125
|
/** Owner read/write only: the file holds the daemon token (#1051). */
|
|
126
126
|
export declare const REGISTRY_FILE_MODE = 384;
|
|
127
127
|
/**
|
|
@@ -132,8 +132,8 @@ export declare const REGISTRY_FILE_MODE = 384;
|
|
|
132
132
|
export declare function projectId(path: string): string;
|
|
133
133
|
/**
|
|
134
134
|
* The registry file path, resolved from `env` (injectable so tests never touch
|
|
135
|
-
* the real home): `$XDG_CONFIG_HOME/
|
|
136
|
-
* dotted `$HOME/.
|
|
135
|
+
* the real home): `$XDG_CONFIG_HOME/openagent.json` when set, else the
|
|
136
|
+
* dotted `$HOME/.openagent.json`. A single file, not a directory (#390).
|
|
137
137
|
*/
|
|
138
138
|
export declare function registryPath(env: NodeJS.ProcessEnv): string;
|
|
139
139
|
/** Minimal fs seam so the registry is unit-testable without touching disk. */
|
|
@@ -181,6 +181,12 @@ export declare function listProjects(fs?: RegistryFs, env?: NodeJS.ProcessEnv):
|
|
|
181
181
|
* otherwise the new record is appended and the file written back (preferences preserved).
|
|
182
182
|
*/
|
|
183
183
|
export declare function addProject(path: string, addedAt: string, fs?: RegistryFs, env?: NodeJS.ProcessEnv): Promise<ProjectRecord>;
|
|
184
|
+
/**
|
|
185
|
+
* Take a project off the list, by id. Answers the record that was removed, or `undefined` when
|
|
186
|
+
* no project has that id. Only the list changes: nothing in the project's folder is touched, so
|
|
187
|
+
* a project whose folder is gone is removed like any other.
|
|
188
|
+
*/
|
|
189
|
+
export declare function removeProject(id: string, fs?: RegistryFs, env?: NodeJS.ProcessEnv): Promise<ProjectRecord | undefined>;
|
|
184
190
|
/** The user's dashboard preferences (#410), or `{}` when none are stored. */
|
|
185
191
|
export declare function readPreferences(fs?: RegistryFs, env?: NodeJS.ProcessEnv): Promise<Preferences>;
|
|
186
192
|
/** Persist the dashboard preferences (#410), sanitized, preserving the project list. */
|
|
@@ -34,7 +34,7 @@ export type AgentDiarySource = {
|
|
|
34
34
|
};
|
|
35
35
|
/**
|
|
36
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 `.
|
|
37
|
+
* While the run has a checkout it is a file there, under the checkout's `.openagent/`,
|
|
38
38
|
* written by the run's tool as the agent works. Once the run is recorded and its checkout
|
|
39
39
|
* reclaimed, it is the finished run's diary, whole, from the project's runs provider. A run that
|
|
40
40
|
* has neither yet was started a moment ago: its tool has not made the checkout, so the diary is
|