@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,9 +1,9 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { OpenAgentEvent } from '../events.js';
|
|
2
2
|
import { type BranchesFor, type Checkout } from './branches.js';
|
|
3
3
|
import { type AnyDiaryLine, type RunsFor } from './runs.js';
|
|
4
4
|
/**
|
|
5
5
|
* The read side of a project's runs (#1774). The daemon runs no agent and writes no run: a run's
|
|
6
|
-
* tool keeps the run's card (`<id>.json`) and diary (`<id>.jsonl`) under the `.
|
|
6
|
+
* tool keeps the run's card (`<id>.json`) and diary (`<id>.jsonl`) under the `.openagent/`
|
|
7
7
|
* of the run's own checkout while it works, and a finished run is whatever the project's runs
|
|
8
8
|
* provider answers (`runs.ts`), when one of its packages provides them. The dashboard is a
|
|
9
9
|
* projection of those files and that answer.
|
|
@@ -195,8 +195,8 @@ export interface StoreFs {
|
|
|
195
195
|
readdir(path: string): Promise<string[]>;
|
|
196
196
|
}
|
|
197
197
|
/**
|
|
198
|
-
* A project's finished runs, most-recent first: what its runs provider answers, unfolded into
|
|
199
|
-
*
|
|
198
|
+
* A project's finished runs, most-recent first: what its runs provider answers, unfolded into
|
|
199
|
+
* OpenAgent's meta. No provider, or one that cannot be read, is no runs, never a throw.
|
|
200
200
|
*
|
|
201
201
|
* `since` (epoch ms) is for a caller that only wants recent runs — a poll on a cadence, not the
|
|
202
202
|
* history list. `fresh` asks the provider past its last answer: the caller knows a run just finished.
|
|
@@ -221,7 +221,7 @@ export declare function readFinishedDiary(cwd: string, agentId: string, runs?: R
|
|
|
221
221
|
*/
|
|
222
222
|
export declare function isPidAlive(pid: number): boolean;
|
|
223
223
|
/**
|
|
224
|
-
* The run a checkout holds, off its live card, `<id>.json` under the checkout's `.
|
|
224
|
+
* The run a checkout holds, off its live card, `<id>.json` under the checkout's `.openagent/`:
|
|
225
225
|
* the shape agent-driver's log writes, read as the meta the card unfolds to, `running` or not (a
|
|
226
226
|
* run that ended waiting on a question keeps its checkout), on the branch the checkout is on now
|
|
227
227
|
* (the provider read it), since the agent renames its branch itself while its card learns the new
|
|
@@ -245,7 +245,7 @@ export declare function readLiveMetas(cwd: string, fs?: StoreFs, branches?: Bran
|
|
|
245
245
|
* one (it is the newer of the two), else the finished run's diary from the runs provider.
|
|
246
246
|
* `undefined` for an unknown or unsafe id.
|
|
247
247
|
*/
|
|
248
|
-
export declare function loadAgentEvents(cwd: string, id: string, fs?: StoreFs, runs?: RunsFor, branches?: BranchesFor): Promise<
|
|
248
|
+
export declare function loadAgentEvents(cwd: string, id: string, fs?: StoreFs, runs?: RunsFor, branches?: BranchesFor): Promise<OpenAgentEvent[] | undefined>;
|
|
249
249
|
/**
|
|
250
250
|
* What each of the named runs is doing now, by id: the last thing its diary says it did (a tool
|
|
251
251
|
* it used, with what) or said, on one line. Only a run with a checkout whose card says `running`
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* The checkouts and the branches, as
|
|
2
|
+
* The checkouts and the branches, as OpenAgent reads and acts on them (#1774). OpenAgent
|
|
3
3
|
* keeps no checkout and imports no branches package: a project's checkouts come from whichever of
|
|
4
|
-
* its packages declares that it provides them — `"
|
|
5
|
-
* package's own package.json — and
|
|
4
|
+
* its packages declares that it provides them — `"openagent": { "branches": "<command>" }` in the
|
|
5
|
+
* package's own package.json — and OpenAgent reads and moves them by running that command.
|
|
6
6
|
* Swap the package for another that answers the same command line and prints the same shapes,
|
|
7
7
|
* and nothing here changes. No package declares it: the project has no checkouts, so no run with
|
|
8
8
|
* one, no branch to hand off, nothing to remove.
|
|
@@ -16,10 +16,10 @@
|
|
|
16
16
|
* `<command> merge <b>` merge the branch into the default branch, on this machine, then delete it
|
|
17
17
|
* `<command> push --branch <b>` push the branch to the remote; a branch only the remote has is answered as it is
|
|
18
18
|
* `<command> remove <id> [--from <commit>] [--discard]` reclaim a run's checkout once its branch holds everything, pushing nothing, its branch measured from the commit it started from; `--discard` drops uncommitted work
|
|
19
|
-
* `list` and `show` read this machine, no network:
|
|
19
|
+
* `list` and `show` read this machine, no network: OpenAgent polls. `show` answers the branch's
|
|
20
20
|
* git facts only; its pull request is the git host provider's (`git-host.ts`), as every pull request is.
|
|
21
21
|
*
|
|
22
|
-
* That is the whole contract: git, and nothing beyond it (#1820).
|
|
22
|
+
* That is the whole contract: git, and nothing beyond it (#1820). OpenAgent reads checkouts to
|
|
23
23
|
* find the runs that have one, and a branch's state for what it composes: the run page's handoff,
|
|
24
24
|
* the Human Queue's unpushed rows. Opening a pull request is the push here, then the git host
|
|
25
25
|
* provider's `open`. What a checkout is, where it lives, how a branch is pushed is the package's.
|
|
@@ -105,7 +105,7 @@ export type RemoveOutcome = {
|
|
|
105
105
|
ok: false;
|
|
106
106
|
error: string;
|
|
107
107
|
};
|
|
108
|
-
/** A project's checkouts and branches: what a provider answers, read and moved by
|
|
108
|
+
/** A project's checkouts and branches: what a provider answers, read and moved by OpenAgent. */
|
|
109
109
|
export interface BranchesSource {
|
|
110
110
|
/**
|
|
111
111
|
* Every checkout; `[]` when none can be read. `fresh` asks past a list read within the window:
|
|
@@ -149,7 +149,7 @@ export declare function parseCheckouts(output: unknown): Checkout[];
|
|
|
149
149
|
/** The states read back from a provider's `show`: the objects with a branch and the three verdicts, lists cleaned; anything else is no state. */
|
|
150
150
|
export declare function parseBranchStates(output: unknown): BranchState[];
|
|
151
151
|
/**
|
|
152
|
-
* The production {@link BranchesReader}: the project's provider, looked up
|
|
152
|
+
* The production {@link BranchesReader}: the project's provider, looked up among the packages the project has (`built-in.ts`),
|
|
153
153
|
* one source per project kept while the same command provides — so the cache holds across the
|
|
154
154
|
* many reads of one poll, and a project that installs, swaps or drops its provider is read the new
|
|
155
155
|
* way within {@link CACHE_MS}. `changed(root)` forgets that project's reads, so the next read runs
|
|
@@ -157,7 +157,7 @@ export declare function parseBranchStates(output: unknown): BranchState[];
|
|
|
157
157
|
* have come or gone.
|
|
158
158
|
*/
|
|
159
159
|
export declare function providedBranches(now?: () => number): BranchesReader;
|
|
160
|
-
/**
|
|
160
|
+
/** OpenAgent's one reader of the checkouts, shared by every caller so they share its cache. */
|
|
161
161
|
export declare const projectBranches: BranchesReader;
|
|
162
162
|
/** A {@link BranchesFor} for a project with no provider: no checkouts. */
|
|
163
163
|
export declare const noBranches: BranchesFor;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* The project's git host, as
|
|
3
|
-
* project, opening one, landing one, and the project's page there.
|
|
2
|
+
* The project's git host, as OpenAgent reads and acts on it (#1820): the pull requests of the
|
|
3
|
+
* project, opening one, landing one, and the project's page there. OpenAgent names no git host
|
|
4
4
|
* and runs no git host tool: a project's git host comes from whichever of its packages declares that it
|
|
5
|
-
* provides it — `"
|
|
6
|
-
*
|
|
5
|
+
* provides it — `"openagent": { "git-host": "<command>" }` in the package's own package.json — and
|
|
6
|
+
* OpenAgent asks by running that command. Swap the package for another that answers the same
|
|
7
7
|
* command line and prints the same shapes, and nothing here changes. No package declares it: the
|
|
8
8
|
* project has no git host, so no pull requests, and a finished run's last step is the push. A
|
|
9
9
|
* built-in package's git host is the project's only when it answers the project's page there: a
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
* `<command> merge <number>` land the pull request: armed to merge on green, or merged at once
|
|
19
19
|
* `<command> home` the project's page on the git host, and the git host's name
|
|
20
20
|
* The branch `open` is asked for must already be on the remote: pushing is the branches
|
|
21
|
-
* provider's step, and
|
|
21
|
+
* provider's step, and OpenAgent runs it first.
|
|
22
22
|
*
|
|
23
23
|
* The shapes, owned here: {@link GitHostRequest}, {@link GitHostHome}.
|
|
24
24
|
*/
|
|
@@ -73,7 +73,7 @@ export type MergeOutcome = {
|
|
|
73
73
|
ok: false;
|
|
74
74
|
error: string;
|
|
75
75
|
};
|
|
76
|
-
/** A project's git host: what a provider answers, read and moved by
|
|
76
|
+
/** A project's git host: what a provider answers, read and moved by OpenAgent. */
|
|
77
77
|
export interface GitHostSource {
|
|
78
78
|
/** The project's pull requests, newest first: all, or one branch's, or by state, or since a time. */
|
|
79
79
|
requests(opts?: {
|
|
@@ -101,13 +101,13 @@ export type GitHostReader = GitHostFor & {
|
|
|
101
101
|
/** The rows read back from a provider's `requests`: the objects with the facts a request needs; anything else is no request. */
|
|
102
102
|
export declare function parseRequests(output: unknown): GitHostRequest[];
|
|
103
103
|
/**
|
|
104
|
-
* The production {@link GitHostReader}: the project's provider, looked up
|
|
104
|
+
* The production {@link GitHostReader}: the project's provider, looked up among the packages the project has (`built-in.ts`), one
|
|
105
105
|
* source per project kept while the same command provides, so a project that installs, swaps or
|
|
106
106
|
* drops its git host is read the new way within {@link CACHE_MS}. `changed(root)` forgets the
|
|
107
107
|
* project, so the next ask looks its provider up again.
|
|
108
108
|
*/
|
|
109
109
|
export declare function providedGitHost(now?: () => number): GitHostReader;
|
|
110
|
-
/**
|
|
110
|
+
/** OpenAgent's one reader of the git host, shared by every caller. */
|
|
111
111
|
export declare const projectGitHost: GitHostReader;
|
|
112
112
|
/** A {@link GitHostFor} for a project with no git host package. */
|
|
113
113
|
export declare const noGitHost: GitHostFor;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* A package's command just ran in the project at `root` (a module's, through the dashboard), and
|
|
3
|
-
* may have written what one of
|
|
4
|
-
* forgets that project, so its next read runs the provider again.
|
|
3
|
+
* may have written what one of OpenAgent's provided readers caches: every provided reader
|
|
4
|
+
* forgets that project, so its next read runs the provider again. OpenAgent never knows which
|
|
5
5
|
* command writes what; forgetting is cheap and re-reading is what it does anyway.
|
|
6
6
|
*/
|
|
7
7
|
export declare function providedDataChanged(root: string): void;
|
|
8
|
-
/** The kinds of
|
|
8
|
+
/** The kinds of OpenAgent's data a project's package may provide, one reader each (`git-host` is `git-host.ts`). */
|
|
9
9
|
export declare const PROVIDED_KINDS: readonly ['tickets', 'queue', 'runs', 'branches', 'git-host', 'repository'];
|
|
10
10
|
/**
|
|
11
11
|
* Why a kind of the project's data has no provider although packages declare it (#1820): two or
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* The agent queue, as
|
|
2
|
+
* The agent queue, as OpenAgent reads it (#1774). OpenAgent keeps no queue and imports no
|
|
3
3
|
* queue package: a project's queue comes from whichever of its packages declares that it provides
|
|
4
|
-
* it — `"
|
|
5
|
-
*
|
|
4
|
+
* it — `"openagent": { "queue": "<command>" }` in the package's own package.json — and
|
|
5
|
+
* OpenAgent reads it by running that command. Swap the package for another that answers the same
|
|
6
6
|
* command line and prints the same shape, and nothing here changes. No package declares it: the
|
|
7
7
|
* project has no queue, and the dashboard shows it none.
|
|
8
8
|
*
|
|
9
9
|
* The command line a provider answers, printing one JSON document and exiting 0:
|
|
10
10
|
* `<command> --local` the open entries, in order of work, as an array of strings
|
|
11
|
-
* `--local` reads the copy on this machine, no network:
|
|
11
|
+
* `--local` reads the copy on this machine, no network: OpenAgent polls.
|
|
12
12
|
*
|
|
13
|
-
* That is the whole contract. Writing the queue is not
|
|
14
|
-
* brings acts on it through its own command (`@openagt/dashboard/module`'s link actions), and
|
|
13
|
+
* That is the whole contract. Writing the queue is not OpenAgent's: a module the queue package
|
|
14
|
+
* brings acts on it through its own command (`@openagt/dashboard/module`'s link actions), and OpenAgent
|
|
15
15
|
* only re-reads.
|
|
16
16
|
*
|
|
17
17
|
* The shape, owned here: an entry is one string, the task a future agent is started with, as the
|
|
18
18
|
* queue's own command prints it. A markdown link at its start names the work and where it points;
|
|
19
19
|
* how a dashboard reads that is the queue package's module's.
|
|
20
20
|
*/
|
|
21
|
-
/** A project's queue: what a provider answers, read by
|
|
21
|
+
/** A project's queue: what a provider answers, read by OpenAgent. */
|
|
22
22
|
export interface QueueSource {
|
|
23
23
|
/** The open entries, in order of work; `[]` when none can be read. */
|
|
24
24
|
list(): Promise<string[]>;
|
|
@@ -32,14 +32,14 @@ export type QueueReader = QueueFor & {
|
|
|
32
32
|
/** Entries read back from a provider's output: the non-empty strings of an array, trimmed; anything else is no entries. */
|
|
33
33
|
export declare function parseQueueEntries(output: unknown): string[];
|
|
34
34
|
/**
|
|
35
|
-
* The production {@link QueueReader}: the project's provider, looked up
|
|
35
|
+
* The production {@link QueueReader}: the project's provider, looked up among the packages the project has (`built-in.ts`), one
|
|
36
36
|
* source per project kept while the same command provides — so the cache holds across the many
|
|
37
37
|
* reads of one poll, and a project that installs, swaps or drops its provider is read the new way
|
|
38
38
|
* within {@link CACHE_MS}. `changed(root)` forgets that project's read, so the next read runs the
|
|
39
39
|
* command again: a module's command just ran there, and may have written.
|
|
40
40
|
*/
|
|
41
41
|
export declare function providedQueue(now?: () => number): QueueReader;
|
|
42
|
-
/**
|
|
42
|
+
/** OpenAgent's one reader of the queue, shared by every caller so they share its cache. */
|
|
43
43
|
export declare const projectQueue: QueueReader;
|
|
44
44
|
/** A {@link QueueFor} for a project with no provider: no queue. */
|
|
45
45
|
export declare const noQueue: QueueFor;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Creating a project's repository on a host, for a project that lives on this machine only. Like
|
|
3
|
-
* every provided kind,
|
|
4
|
-
* `"
|
|
3
|
+
* every provided kind, OpenAgent names no host: the package that declares
|
|
4
|
+
* `"openagent": { "repository": "<command>" }` creates it, and OpenAgent asks by running that
|
|
5
5
|
* command.
|
|
6
6
|
*
|
|
7
7
|
* The command line a provider answers, each printing one JSON document and exiting 0 (a refusal
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import type { AnyDiaryLine, RunCard } from './runs.js';
|
|
2
|
-
import type {
|
|
2
|
+
import type { OpenAgentEvent } from '../events.js';
|
|
3
3
|
import type { AgentMeta } from './agent-store.js';
|
|
4
4
|
/**
|
|
5
|
-
* A run's card and diary (`runs.ts`), read as
|
|
5
|
+
* A run's card and diary (`runs.ts`), read as OpenAgent's own shapes (#1769): the card as the
|
|
6
6
|
* meta every list shows, the diary as the events the run page replays and tails. The card's
|
|
7
7
|
* eleven plain fields and four kinds of diary line are the shape; whoever ran the agent keeps the
|
|
8
|
-
* rest of what it knows under one key, `caller`, and writes its other lines as they are.
|
|
9
|
-
*
|
|
8
|
+
* rest of what it knows under one key, `caller`, and writes its other lines as they are.
|
|
9
|
+
* OpenAgent records no run of its own (#1774), so there is no writing half.
|
|
10
10
|
*/
|
|
11
|
-
/** A card as
|
|
11
|
+
/** A card as OpenAgent's meta: `caller` unfolded, the card's own fields winning. */
|
|
12
12
|
export declare function fromRunCard(card: RunCard): AgentMeta;
|
|
13
13
|
/**
|
|
14
|
-
* One diary line as one
|
|
15
|
-
* cost are the shape's four kinds; a line of any other kind is
|
|
16
|
-
* one whose kind is no longer an event (the kinds of runs recorded before
|
|
14
|
+
* One diary line as one OpenAgent event: what the agent said, its result, the run's end and its
|
|
15
|
+
* cost are the shape's four kinds; a line of any other kind is an OpenAgent event as written, and
|
|
16
|
+
* one whose kind is no longer an event (the kinds of runs recorded before OpenAgent stopped
|
|
17
17
|
* running agents) reads as nothing. The line's time, `at`, is the event's, whatever the kind.
|
|
18
18
|
*/
|
|
19
|
-
export declare function fromDiaryLine(line: AnyDiaryLine):
|
|
19
|
+
export declare function fromDiaryLine(line: AnyDiaryLine): OpenAgentEvent | undefined;
|
|
20
20
|
/** A diary as the run's events, for a reader that replays them. */
|
|
21
|
-
export declare function eventsOf(lines: readonly AnyDiaryLine[]):
|
|
21
|
+
export declare function eventsOf(lines: readonly AnyDiaryLine[]): OpenAgentEvent[];
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Finished runs, as
|
|
2
|
+
* Finished runs, as OpenAgent reads them (#1774). OpenAgent keeps no run and imports no
|
|
3
3
|
* records package: a project's finished runs come from whichever of its packages declares that it
|
|
4
|
-
* provides them — `"
|
|
5
|
-
*
|
|
4
|
+
* provides them — `"openagent": { "runs": "<command>" }` in the package's own package.json — and
|
|
5
|
+
* OpenAgent reads them by running that command. Swap the package for another that answers
|
|
6
6
|
* the same command line and prints the same shapes, and nothing here changes. No package declares
|
|
7
7
|
* it: the project has no finished runs, only the ones still running in a checkout.
|
|
8
8
|
*
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
* `<command> show <id> --local --full` one run: the whole card plus `diary`, every line
|
|
12
12
|
* `<command> delete <id>` remove a run
|
|
13
13
|
* `<command> patch <id> [--branch <b>] [--pr <n> --pr-url <url>] [--landed <commit> --from <commit>]` the late facts
|
|
14
|
-
* `--local` reads the copy on this machine, no network:
|
|
14
|
+
* `--local` reads the copy on this machine, no network: OpenAgent polls.
|
|
15
15
|
*
|
|
16
16
|
* The shapes, owned here: {@link RunCard} and {@link AnyDiaryLine}. A running agent's own card in
|
|
17
17
|
* its checkout is the same shape, written by the tool that runs it.
|
|
@@ -56,7 +56,7 @@ export interface FinishedRun {
|
|
|
56
56
|
card: RunCard;
|
|
57
57
|
diary: AnyDiaryLine[];
|
|
58
58
|
}
|
|
59
|
-
/** A project's finished runs: what a provider answers, read by
|
|
59
|
+
/** A project's finished runs: what a provider answers, read by OpenAgent. */
|
|
60
60
|
export interface RunsSource {
|
|
61
61
|
/**
|
|
62
62
|
* Every finished run's card, newest first; `[]` when none can be read. `fresh` skips a list read
|
|
@@ -94,14 +94,14 @@ export declare function isRunId(id: string): boolean;
|
|
|
94
94
|
*/
|
|
95
95
|
export declare function parseRunCard(input: unknown): RunCard | undefined;
|
|
96
96
|
/**
|
|
97
|
-
* The production {@link RunsFor}: the project's provider, looked up
|
|
97
|
+
* The production {@link RunsFor}: the project's provider, looked up among the packages the project has (`built-in.ts`), one
|
|
98
98
|
* source per project kept while the same command provides — so the cache holds across the many
|
|
99
99
|
* reads of one poll, and a project that installs, swaps or drops its provider is read the new way
|
|
100
100
|
* within {@link CACHE_MS}. `changed(root)` forgets that project's reads, so the next read runs the
|
|
101
101
|
* command again: a module's command just ran there, and may have written.
|
|
102
102
|
*/
|
|
103
103
|
export declare function providedRuns(now?: () => number): RunsReader;
|
|
104
|
-
/**
|
|
104
|
+
/** OpenAgent's one reader of finished runs, shared by every caller so they share its cache. */
|
|
105
105
|
export declare const projectRuns: RunsReader;
|
|
106
106
|
/** A {@link RunsFor} for a project with no provider: no finished runs. */
|
|
107
107
|
export declare const noRuns: RunsFor;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* The tickets, as
|
|
2
|
+
* The tickets, as OpenAgent reads them (#1774). OpenAgent keeps no ticket and imports no
|
|
3
3
|
* tickets package: a project's tickets come from whichever of its packages declares that it
|
|
4
|
-
* provides them — `"
|
|
5
|
-
* and
|
|
4
|
+
* provides them — `"openagent": { "tickets": "<command>" }` in the package's own package.json —
|
|
5
|
+
* and OpenAgent reads them by running that command. Swap the package for another that answers
|
|
6
6
|
* the same command line and prints the same shape, and nothing here changes. No package declares
|
|
7
7
|
* it: the project has no tickets, and the dashboard shows it none.
|
|
8
8
|
*
|
|
9
9
|
* The command line a provider answers, printing one JSON document and exiting 0:
|
|
10
10
|
* `<command> list --local` every open ticket, as an array of {@link Ticket}
|
|
11
|
-
* `--local` reads the copy on this machine, no network:
|
|
11
|
+
* `--local` reads the copy on this machine, no network: OpenAgent polls.
|
|
12
12
|
*
|
|
13
|
-
* That is the whole contract.
|
|
13
|
+
* That is the whole contract. OpenAgent reads tickets for what it composes across skills: the
|
|
14
14
|
* onboarding step, a queued link's title. Showing them, planning them, claiming and releasing them,
|
|
15
15
|
* and the Overview's hot-tickets card, are the tickets package's own module, through its own command.
|
|
16
16
|
*
|
|
@@ -45,7 +45,7 @@ export interface Ticket {
|
|
|
45
45
|
effort?: number;
|
|
46
46
|
uncertainty?: number;
|
|
47
47
|
}
|
|
48
|
-
/** A project's tickets: what a provider answers, read by
|
|
48
|
+
/** A project's tickets: what a provider answers, read by OpenAgent. */
|
|
49
49
|
export interface TicketsSource {
|
|
50
50
|
/** Every open ticket; `[]` when none can be read. */
|
|
51
51
|
list(): Promise<Ticket[]>;
|
|
@@ -59,14 +59,14 @@ export type TicketsReader = TicketsFor & {
|
|
|
59
59
|
/** The rows read back from a provider's output: the objects with the five plain facts, everything else as printed; anything else is no ticket. */
|
|
60
60
|
export declare function parseTickets(output: unknown): Ticket[];
|
|
61
61
|
/**
|
|
62
|
-
* The production {@link TicketsReader}: the project's provider, looked up
|
|
62
|
+
* The production {@link TicketsReader}: the project's provider, looked up among the packages the project has (`built-in.ts`), one
|
|
63
63
|
* source per project kept while the same command provides — so the cache holds across the many
|
|
64
64
|
* reads of one poll, and a project that installs, swaps or drops its provider is read the new way
|
|
65
65
|
* within {@link CACHE_MS}. `changed(root)` forgets that project's read, so the next read runs the
|
|
66
66
|
* command again: a module's command just ran there, and may have written.
|
|
67
67
|
*/
|
|
68
68
|
export declare function providedTickets(now?: () => number): TicketsReader;
|
|
69
|
-
/**
|
|
69
|
+
/** OpenAgent's one reader of the tickets, shared by every caller so they share its cache. */
|
|
70
70
|
export declare const projectTickets: TicketsReader;
|
|
71
71
|
/** A {@link TicketsFor} for a project with no provider: no tickets. */
|
|
72
72
|
export declare const noTickets: TicketsFor;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { type
|
|
2
|
-
/** Render a {@link
|
|
3
|
-
export declare function
|
|
1
|
+
import { type OpenAgentEvent } from './events.js';
|
|
2
|
+
/** Render a {@link OpenAgentEvent} as one human-readable line (terminal surface). */
|
|
3
|
+
export declare function formatOpenAgentEvent(event: OpenAgentEvent): string;
|
package/dist/open-choices.d.ts
CHANGED
|
@@ -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,5 +11,5 @@ 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[];
|
|
15
15
|
//# sourceMappingURL=open-choices.d.ts.map
|
|
@@ -0,0 +1,9 @@
|
|
|
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';
|
|
9
|
+
//# sourceMappingURL=openagent-dir.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"openagent-dir.d.ts","sourceRoot":"","sources":["../src/openagent-dir.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
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';
|
|
9
|
+
//# sourceMappingURL=openagent-dir.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"openagent-dir.js","sourceRoot":"","sources":["../src/openagent-dir.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAA"}
|
|
@@ -0,0 +1,12 @@
|
|
|
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;
|
|
12
|
+
//# sourceMappingURL=openagent-gitignore.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"openagent-gitignore.d.ts","sourceRoot":"","sources":["../src/openagent-gitignore.ts"],"names":[],"mappings":"AAIA;;;;;;GAMG;AAEH,yDAAyD;AACzD,wBAAgB,aAAa,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAEjD;AAED,oGAAoG;AACpG,wBAAgB,kBAAkB,IAAI,MAAM,CAE3C"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { join } from 'node:path';
|
|
2
|
+
import { DATA_BRANCH } from '@openagt/agent-data/names';
|
|
3
|
+
import { OPENAGENT_DIR } from './openagent-dir.js';
|
|
4
|
+
/**
|
|
5
|
+
* The `.openagent/.gitignore` (#313): one file, one content, written at install.
|
|
6
|
+
*
|
|
7
|
+
* Everything under `.openagent/` is this machine's or transient: a run's live files, the
|
|
8
|
+
* hooks file. The lasting records (the runs, the `logs` skill's) live on the data branch
|
|
9
|
+
* (#1582/#1769), so nothing is tracked, this file included: git shows no trace of the directory.
|
|
10
|
+
*/
|
|
11
|
+
/** The `.gitignore` path under `cwd`'s `.openagent/`. */
|
|
12
|
+
export function gitignorePath(cwd) {
|
|
13
|
+
return join(cwd, OPENAGENT_DIR, '.gitignore');
|
|
14
|
+
}
|
|
15
|
+
/** The whole file: everything under `.openagent/` stays out of git, the file itself too (#1582). */
|
|
16
|
+
export function openagentGitignore() {
|
|
17
|
+
return `# OpenAgent: agent state is transient; the lasting records live on the ${DATA_BRANCH} branch.\n*\n`;
|
|
18
|
+
}
|
|
19
|
+
//# sourceMappingURL=openagent-gitignore.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"openagent-gitignore.js","sourceRoot":"","sources":["../src/openagent-gitignore.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAA;AAChC,OAAO,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAA;AACvD,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAA;AAElD;;;;;;GAMG;AAEH,yDAAyD;AACzD,MAAM,UAAU,aAAa,CAAC,GAAW;IACvC,OAAO,IAAI,CAAC,GAAG,EAAE,aAAa,EAAE,YAAY,CAAC,CAAA;AAC/C,CAAC;AAED,oGAAoG;AACpG,MAAM,UAAU,kBAAkB;IAChC,OAAO,0EAA0E,WAAW,eAAe,CAAA;AAC7G,CAAC"}
|
package/dist/pick-directory.js
CHANGED
|
@@ -77,7 +77,7 @@ export async function pickDirectory(platform = process.platform, run = nodeDialo
|
|
|
77
77
|
// A dialog needs a screen to appear on, and a daemon started over SSH or inside a container has
|
|
78
78
|
// none — saying so beats spawning a helper that can only fail.
|
|
79
79
|
if (!env.DISPLAY && !env.WAYLAND_DISPLAY)
|
|
80
|
-
return { ok: false, error: 'The machine running
|
|
80
|
+
return { ok: false, error: 'The machine running OpenAgent has no desktop session, so no folder dialog can open there.' };
|
|
81
81
|
return openDialog(linuxDialogs(env.HOME ?? '.'), run);
|
|
82
82
|
}
|
|
83
83
|
return { ok: false, error: `The system folder picker is not available on ${platform}.` };
|
|
@@ -97,6 +97,6 @@ async function openDialog(dialogs, run) {
|
|
|
97
97
|
return path ? { ok: true, path } : { ok: false, error: 'The folder dialog returned no path.' };
|
|
98
98
|
}
|
|
99
99
|
const names = dialogs.map(dialog => dialog.command).join(' or ');
|
|
100
|
-
return { ok: false, error: `The folder dialog needs ${names}, which the machine running
|
|
100
|
+
return { ok: false, error: `The folder dialog needs ${names}, which the machine running OpenAgent does not have installed.` };
|
|
101
101
|
}
|
|
102
102
|
//# sourceMappingURL=pick-directory.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pick-directory.js","sourceRoot":"","sources":["../src/pick-directory.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAA0B,MAAM,oBAAoB,CAAA;AAmBrE,gHAAgH;AAChH,MAAM,aAAa,GAAG,GAAG,CAAA;AAEzB,0HAA0H;AAC1H,MAAM,iBAAiB,GAAG,CAAC,CAAA;AAE3B,4DAA4D;AAC5D,MAAM,MAAM,GAAG,6CAA6C,CAAA;AAK5D,qFAAqF;AACrF,MAAM,SAAS,GAAW;IACxB,OAAO,EAAE,WAAW;IACpB,IAAI,EAAE,CAAC,IAAI,EAAE,6CAA6C,MAAM,IAAI,CAAC;IACrE,qGAAqG;IACrG,SAAS,EAAE,GAAG,CAAC,EAAE,CAAC,GAAG,CAAC,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC;CAC9C,CAAA;AAED;;;;GAIG;AACH,MAAM,aAAa,GAAW;IAC5B,OAAO,EAAE,gBAAgB;IACzB,IAAI,EAAE;QACJ,YAAY;QACZ,MAAM;QACN,UAAU;QACV;YACE,6CAA6C;YAC7C,+DAA+D;YAC/D,0BAA0B,MAAM,GAAG;YACnC,sCAAsC;YACtC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C,IAAI,MAAM,CAAC,SAAS,CAAC,MAAM,CAAC;YAAE,OAAO,EAAE,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,CAAA;QAC7D,IAAI,MAAM,CAAC,IAAI,KAAK,CAAC;YAAE,OAAO,EAAE,EAAE,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,IAAI,wCAAwC,EAAE,CAAA;QACpH,4FAA4F;QAC5F,MAAM,IAAI,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,CAAC,OAAO,CAAC,QAAQ,EAAE,IAAI,CAAC,CAAA;QACzD,OAAO,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,EAAE,EAAE,EAAE,KAAK,EAAE,KAAK,EAAE,qCAAqC,EAAE,CAAA;IAChG,CAAC;IACD,MAAM,KAAK,GAAG,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,EAAE,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAA;IAChE,OAAO,EAAE,EAAE,EAAE,KAAK,EAAE,KAAK,EAAE,2BAA2B,KAAK,gEAAgE,EAAE,CAAA;AAC/H,CAAC"}
|
|
@@ -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
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"project-commands.d.ts","sourceRoot":"","sources":["../src/project-commands.ts"],"names":[],"mappings":"AAIA;;;;;;GAMG;AAEH,yGAAyG;AACzG,eAAO,MAAM,WAAW,YAAI,gBAAgB,EAAE,gBAAgB,CAAU,CAAA;AAExE,0CAA0C;AAC1C,MAAM,WAAW,cAAc;IAC7B,8DAA8D;IAC9D,IAAI,EAAE,MAAM,CAAA;IACZ,sEAAsE;IACtE,WAAW,CAAC,EAAE,MAAM,CAAA;
|
|
1
|
+
{"version":3,"file":"project-commands.d.ts","sourceRoot":"","sources":["../src/project-commands.ts"],"names":[],"mappings":"AAIA;;;;;;GAMG;AAEH,yGAAyG;AACzG,eAAO,MAAM,WAAW,YAAI,gBAAgB,EAAE,gBAAgB,CAAU,CAAA;AAExE,0CAA0C;AAC1C,MAAM,WAAW,cAAc;IAC7B,8DAA8D;IAC9D,IAAI,EAAE,MAAM,CAAA;IACZ,sEAAsE;IACtE,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,2LAA2L;IAC3L,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,qIAAqI;IACrI,IAAI,CAAC,EAAE,IAAI,CAAA;CACZ;AAED;;;;;GAKG;AACH,wBAAsB,mBAAmB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,cAAc,EAAE,CAAC,CAqBhF"}
|
package/dist/project-commands.js
CHANGED
|
@@ -3,7 +3,7 @@ import { join } from 'node:path';
|
|
|
3
3
|
import { parse as parseYaml } from 'yaml';
|
|
4
4
|
/**
|
|
5
5
|
* A project's commands (#1774): the skills written to be run by a person, read off the folders
|
|
6
|
-
* the coding agents read them from.
|
|
6
|
+
* the coding agents read them from. OpenAgent ships no prompt text; what a project can be
|
|
7
7
|
* asked to do is what its own command skills say. A skill that teaches the agent how to do
|
|
8
8
|
* something (the tickets, the queue) is not a command: typed alone it starts an agent with
|
|
9
9
|
* nothing to do, so the launcher does not list it.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"project-commands.js","sourceRoot":"","sources":["../src/project-commands.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAA;AACpD,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAA;AAChC,OAAO,EAAE,KAAK,IAAI,SAAS,EAAE,MAAM,MAAM,CAAA;AAEzC;;;;;;GAMG;AAEH,yGAAyG;AACzG,MAAM,CAAC,MAAM,WAAW,GAAG,CAAC,gBAAgB,EAAE,gBAAgB,CAAU,CAAA;
|
|
1
|
+
{"version":3,"file":"project-commands.js","sourceRoot":"","sources":["../src/project-commands.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAA;AACpD,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAA;AAChC,OAAO,EAAE,KAAK,IAAI,SAAS,EAAE,MAAM,MAAM,CAAA;AAEzC;;;;;;GAMG;AAEH,yGAAyG;AACzG,MAAM,CAAC,MAAM,WAAW,GAAG,CAAC,gBAAgB,EAAE,gBAAgB,CAAU,CAAA;AAcxE;;;;;GAKG;AACH,MAAM,CAAC,KAAK,UAAU,mBAAmB,CAAC,GAAW;IACnD,MAAM,QAAQ,GAAG,IAAI,GAAG,EAA0B,CAAA;IAClD,8FAA8F;IAC9F,uDAAuD;IACvD,MAAM,IAAI,GAAG,IAAI,GAAG,EAAU,CAAA;IAC9B,KAAK,MAAM,GAAG,IAAI,WAAW,EAAE,CAAC;QAC9B,MAAM,OAAO,GAAG,MAA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,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAA;AAC5E,CAAC;AAED,qGAAqG;AACrG,SAAS,WAAW,CAAC,GAAW;IAC9B,MAAM,KAAK,GAAG,6BAA6B,CAAC,IAAI,CAAC,GAAG,CAAC,CAAA;IACrD,IAAI,CAAC,KAAK;QAAE,OAAO,EAAE,CAAA;IACrB,IAAI,CAAC;QACH,MAAM,IAAI,GAAY,SAAS,CAAC,KAAK,CAAC,CAAC,CAAE,CAAC,CAAA;QAC1C,OAAO,IAAI,IAAI,OAAO,IAAI,KAAK,QAAQ,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAE,IAAgC,CAAC,CAAC,CAAC,EAAE,CAAA;IAC1G,CAAC;IAAC,MAAM,CAAC;QACP,OAAO,EAAE,CAAA;IACX,CAAC;AACH,CAAC"}
|
package/dist/project-errors.d.ts
CHANGED
|
@@ -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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"project-errors.d.ts","sourceRoot":"","sources":["../src/project-errors.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"project-errors.d.ts","sourceRoot":"","sources":["../src/project-errors.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAA;AAEtD;;;;;GAKG;AACH,MAAM,MAAM,gBAAgB,GAAG,WAAW,GAAG,UAA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