@openagt/dashboard 0.8.0 → 0.9.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 +6 -6
- 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 +13 -4
- package/dist/built-in.d.ts.map +1 -1
- package/dist/built-in.js +45 -4
- 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 -9
- 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/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-om0WOAku.js → main-B98UOA3_.js} +48 -48
- package/dist/dashboard-bundle/assets/main-ByRjbCiA.css +2 -0
- package/dist/dashboard-bundle/assets/{module-jASZmfSB.js → module-v213KWfH.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 +1 -1
- package/dist/dashboard-rpc/index.d.ts.map +1 -1
- package/dist/dashboard-rpc/index.js +1 -1
- 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 +49 -7
- 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/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/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 +5 -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 +13 -4
- 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/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 +1 -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/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/{framework-dir.d.ts → openagent-dir.d.ts} +2 -2
- package/dist/module-types/src/openagent-gitignore.d.ts +11 -0
- package/dist/module-types/src/project-commands.d.ts +1 -1
- package/dist/module-types/src/project-errors.d.ts +11 -7
- package/dist/module-types/src/project-hooks.d.ts +4 -4
- package/dist/module-types/src/project-modules.d.ts +5 -5
- 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 +7 -7
- package/dist/module-types/src/store/git-host.d.ts +7 -7
- package/dist/module-types/src/store/provided.d.ts +3 -3
- package/dist/module-types/src/store/queue.d.ts +8 -8
- 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 +6 -6
- package/dist/module-types/src/store/tickets.d.ts +7 -7
- package/dist/module-types/src/terminal.d.ts +3 -3
- package/dist/open-choices.d.ts +2 -2
- package/dist/{framework-dir.js → openagent-dir.d.ts} +3 -3
- package/dist/openagent-dir.d.ts.map +1 -0
- package/dist/{framework-dir.d.ts → openagent-dir.js} +3 -3
- 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 +1 -1
- package/dist/project-commands.js +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 +4 -4
- package/dist/project-hooks.d.ts.map +1 -1
- package/dist/project-hooks.js +8 -8
- package/dist/project-hooks.js.map +1 -1
- package/dist/project-modules.d.ts +5 -5
- package/dist/project-modules.js +2 -2
- 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.js +6 -6
- 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 +7 -7
- package/dist/store/branches.d.ts.map +1 -1
- package/dist/store/branches.js +1 -1
- package/dist/store/branches.js.map +1 -1
- package/dist/store/git-host.d.ts +7 -7
- package/dist/store/git-host.d.ts.map +1 -1
- package/dist/store/git-host.js +1 -1
- 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 +8 -8
- package/dist/store/queue.d.ts.map +1 -1
- package/dist/store/queue.js +1 -1
- 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 +6 -6
- package/dist/store/runs.d.ts.map +1 -1
- package/dist/store/runs.js +2 -2
- package/dist/store/runs.js.map +1 -1
- package/dist/store/tickets.d.ts +7 -7
- package/dist/store/tickets.d.ts.map +1 -1
- package/dist/store/tickets.js +1 -1
- package/dist/store/tickets.js.map +1 -1
- package/dist/terminal.d.ts +3 -3
- package/dist/terminal.js +3 -3
- package/package.json +19 -19
- 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-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.map +0 -1
- 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-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
package/dist/event-stream.js
CHANGED
|
@@ -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 class EventStream {
|
package/dist/events.d.ts
CHANGED
|
@@ -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;
|
package/dist/events.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"events.d.ts","sourceRoot":"","sources":["../src/events.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAA;AAExD,4EAA4E;AAC5E,MAAM,WAAW,YAAY;IAC3B,wDAAwD;IACxD,EAAE,EAAE,MAAM,CAAA;IACV,oCAAoC;IACpC,KAAK,EAAE,MAAM,CAAA;IACb,+EAA+E;IAC/E,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,sHAAsH;IACtH,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB;AAED;;;;GAIG;AACH,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,CAAC;IAAC,MAAM,EAAE,MAAM,CAAC;IAAC,GAAG,EAAE,MAAM,CAAA;CAAE;AACvD;;;;;;;GAOG;GACD;IAAE,IAAI,EAAE,QAAQ,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAAE;AACpC;;;;;;GAMG;GACD;IAAE,IAAI,EAAE,cAAc,CAAC;IAAC,GAAG,EAAE,MAAM,CAAA;CAAE;AACvC;;;;;;;;GAQG;GACD;IAAE,IAAI,EAAE,SAAS,CAAA;CAAE;AACrB;;;;;;GAMG;GACD;IAAE,IAAI,EAAE,OAAO,CAAC;IAAC,OAAO,EAAE,MAAM,CAAA;CAAE;AACpC;;;;GAIG;GACD,CAAC;IAAE,IAAI,EAAE,QAAQ,CAAA;CAAE,GAAG,aAAa,CAAC;AACtC,uHAAuH;GACrH;IAAE,IAAI,EAAE,iBAAiB,CAAC;IAAC,EAAE,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,GAAG,SAAS,MAAM,EAAE,CAAC;IAAC,EAAE,EAAE,QAAQ,CAAA;CAAE;AAC3F;;;;GAIG;GACD;IAAE,IAAI,EAAE,KAAK,CAAC;IAAC,EAAE,EAAE,OAAO,CAAC;IAAC,OAAO,CAAC,EAAE,OAAO,CAAC;IAAC,OAAO,CAAC,EAAE,OAAO,CAAC;IAAC,MAAM,CAAC,EAAE,MAAM,CAAA;CAAE,CACtF,CAAA"}
|
package/dist/index.d.ts
CHANGED
|
@@ -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,5 +38,5 @@ 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';
|
|
41
42
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAEH,YAAY,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAA;AAC9D,YAAY,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,aAAa,CAAA;AAChE,YAAY,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAA;AACxD,YAAY,EAAE,YAAY,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;AAC9D,YAAY,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAA;AACtD,YAAY,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAA;AAC9D,YAAY,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,wBAAwB,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qB,CAAA;AACzE,YAAY,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;AACxD,YAAY,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAA;AACrD,YAAY,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAA;AAChD,YAAY,EAAE,aAAa,EAAE,aAAa,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAA"}
|
package/dist/install.d.ts
CHANGED
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import { type GitRunner } from '@openagt/agent-data';
|
|
2
2
|
import { type StoreFs } from './store/index.js';
|
|
3
3
|
/**
|
|
4
|
-
* Install/activate a repo for
|
|
5
|
-
* ignore file
|
|
6
|
-
*
|
|
4
|
+
* Install/activate a repo for OpenAgent (#391): create the `.openagent/` marker and its
|
|
5
|
+
* ignore file. Nothing is committed on a branch that has a commit. Pure core over the same
|
|
6
|
+
* {@link GitRunner} + {@link StoreFs} seams as project.ts.
|
|
7
7
|
*/
|
|
8
|
+
/** The message of the empty commit an install gives a repository that has none. */
|
|
9
|
+
export declare const FIRST_COMMIT_MESSAGE = "[OpenAgent] first commit";
|
|
8
10
|
/** The outcome of {@link installProject}. Failures are values, never throws. */
|
|
9
11
|
export type InstallResult = {
|
|
10
12
|
ok: true;
|
|
@@ -20,10 +22,10 @@ export interface InstallDeps {
|
|
|
20
22
|
fs?: StoreFs;
|
|
21
23
|
}
|
|
22
24
|
/**
|
|
23
|
-
* Activate the repo at `cwd`: create `.
|
|
24
|
-
*
|
|
25
|
-
* already there is a no-op (`alreadyActivated`) — the ignore file is the
|
|
26
|
-
* Forgiving: any git/fs failure surfaces as `{ ok: false, error }`.
|
|
25
|
+
* Activate the repo at `cwd`: create `.openagent/` with its ignore file, which hides the whole
|
|
26
|
+
* directory from git, itself included, so the person's repository shows no change. A repo whose
|
|
27
|
+
* ignore file is already there is a no-op (`alreadyActivated`) — the ignore file is the
|
|
28
|
+
* activation marker. Forgiving: any git/fs failure surfaces as `{ ok: false, error }`.
|
|
27
29
|
*/
|
|
28
30
|
export declare function installProject(cwd: string, deps?: InstallDeps): Promise<InstallResult>;
|
|
29
31
|
//# sourceMappingURL=install.d.ts.map
|
package/dist/install.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"install.d.ts","sourceRoot":"","sources":["../src/install.ts"],"names":[],"mappings":"AACA,OAAO,EAAiB,KAAK,SAAS,EAAE,MAAM,qBAAqB,CAAA;AAGnE,OAAO,EAAe,KAAK,OAAO,EAAE,MAAM,kBAAkB,CAAA;AAG5D;;;;GAIG;AAEH,gFAAgF;AAChF,MAAM,MAAM,aAAa,GACrB;IAAE,EAAE,EAAE,IAAI,CAAC;IAAC,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAAC,WAAW,CAAC,EAAE,OAAO,CAAA;CAAE,GAC/D;IAAE,EAAE,EAAE,KAAK,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,CAAA;AAEhC,mDAAmD;AACnD,MAAM,WAAW,WAAW;IAC1B,GAAG,CAAC,EAAE,SAAS,CAAA;IACf,EAAE,CAAC,EAAE,OAAO,CAAA;CACb;AAED;;;;;GAKG;AACH,wBAAsB,cAAc,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,GAAE,WAAgB,GAAG,OAAO,CAAC,aAAa,CAAC,
|
|
1
|
+
{"version":3,"file":"install.d.ts","sourceRoot":"","sources":["../src/install.ts"],"names":[],"mappings":"AACA,OAAO,EAAiB,KAAK,SAAS,EAAE,MAAM,qBAAqB,CAAA;AAGnE,OAAO,EAAe,KAAK,OAAO,EAAE,MAAM,kBAAkB,CAAA;AAG5D;;;;GAIG;AAEH,mFAAmF;AACnF,eAAO,MAAM,oBAAoB,6BAA6B,CAAA;AAK9D,gFAAgF;AAChF,MAAM,MAAM,aAAa,GACrB;IAAE,EAAE,EAAE,IAAI,CAAC;IAAC,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAAC,WAAW,CAAC,EAAE,OAAO,CAAA;CAAE,GAC/D;IAAE,EAAE,EAAE,KAAK,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,CAAA;AAEhC,mDAAmD;AACnD,MAAM,WAAW,WAAW;IAC1B,GAAG,CAAC,EAAE,SAAS,CAAA;IACf,EAAE,CAAC,EAAE,OAAO,CAAA;CACb;AAED;;;;;GAKG;AACH,wBAAsB,cAAc,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,GAAE,WAAgB,GAAG,OAAO,CAAC,aAAa,CAAC,CAgChG"}
|
package/dist/install.js
CHANGED
|
@@ -1,14 +1,23 @@
|
|
|
1
1
|
import { join } from 'node:path';
|
|
2
2
|
import { nodeGitRunner } from '@openagt/agent-data';
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
3
|
+
import { OPENAGENT_DIR } from './openagent-dir.js';
|
|
4
|
+
import { openagentGitignore, gitignorePath } from './openagent-gitignore.js';
|
|
5
5
|
import { nodeStoreFs } from './store/index.js';
|
|
6
6
|
import { errorMessage } from './error-message.js';
|
|
7
7
|
/**
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
|
|
8
|
+
* Install/activate a repo for OpenAgent (#391): create the `.openagent/` marker and its
|
|
9
|
+
* ignore file. Nothing is committed on a branch that has a commit. Pure core over the same
|
|
10
|
+
* {@link GitRunner} + {@link StoreFs} seams as project.ts.
|
|
11
|
+
*/
|
|
12
|
+
/** The message of the empty commit an install gives a repository that has none. */
|
|
13
|
+
export const FIRST_COMMIT_MESSAGE = '[OpenAgent] first commit';
|
|
14
|
+
/** Git's tree with no file in it. */
|
|
15
|
+
const EMPTY_TREE = '4b825dc642cb6eb9a060e54bf8d69288fbee4904';
|
|
16
|
+
/**
|
|
17
|
+
* Activate the repo at `cwd`: create `.openagent/` with its ignore file, which hides the whole
|
|
18
|
+
* directory from git, itself included, so the person's repository shows no change. A repo whose
|
|
19
|
+
* ignore file is already there is a no-op (`alreadyActivated`) — the ignore file is the
|
|
20
|
+
* activation marker. Forgiving: any git/fs failure surfaces as `{ ok: false, error }`.
|
|
12
21
|
*/
|
|
13
22
|
export async function installProject(cwd, deps = {}) {
|
|
14
23
|
const git = deps.git ?? nodeGitRunner();
|
|
@@ -16,21 +25,26 @@ export async function installProject(cwd, deps = {}) {
|
|
|
16
25
|
if (await fs.exists(gitignorePath(cwd)))
|
|
17
26
|
return { ok: true, alreadyActivated: true };
|
|
18
27
|
try {
|
|
19
|
-
// Auto-initialize a repo when the folder isn't one yet:
|
|
28
|
+
// Auto-initialize a repo when the folder isn't one yet: OpenAgent treats
|
|
20
29
|
// git as the source of truth, so `git init` it for the user rather than erroring.
|
|
21
30
|
const insideRepo = await git(['rev-parse', '--is-inside-work-tree'], cwd)
|
|
22
31
|
.then(out => out.trim() === 'true')
|
|
23
32
|
.catch(() => false);
|
|
24
33
|
if (!insideRepo)
|
|
25
34
|
await git(['init'], cwd);
|
|
26
|
-
|
|
27
|
-
//
|
|
35
|
+
// A repository with no commit cannot give an agent's branch a start. Its first commit is
|
|
36
|
+
// made empty, straight from the empty tree: the index is not read, so a file the person has
|
|
37
|
+
// staged stays staged and none of theirs is committed. Before the marker below, so a commit
|
|
38
|
+
// that fails leaves a folder the next add tries again.
|
|
39
|
+
const hasCommit = await git(['rev-parse', '--verify', '--quiet', 'HEAD'], cwd).then(() => true, () => false);
|
|
40
|
+
if (!hasCommit) {
|
|
41
|
+
const first = (await git(['commit-tree', EMPTY_TREE, '-m', FIRST_COMMIT_MESSAGE], cwd)).trim();
|
|
42
|
+
await git(['update-ref', 'HEAD', first], cwd);
|
|
43
|
+
}
|
|
44
|
+
await fs.mkdir(join(cwd, OPENAGENT_DIR));
|
|
45
|
+
// Keep what lives under `.openagent/` (a run's live files, the hooks file) out of git
|
|
28
46
|
// (#313). The early return above established the file is absent.
|
|
29
|
-
await fs.write(gitignorePath(cwd),
|
|
30
|
-
// Only The Framework's own directory (#1638): whatever the user has uncommitted stays theirs,
|
|
31
|
-
// uncommitted. Nothing is ever swept into a commit on their behalf.
|
|
32
|
-
await git(['add', THE_FRAMEWORK_DIR], cwd);
|
|
33
|
-
await git(['commit', '-m', '[The Framework] install The Framework'], cwd);
|
|
47
|
+
await fs.write(gitignorePath(cwd), openagentGitignore());
|
|
34
48
|
return insideRepo ? { ok: true } : { ok: true, initialized: true };
|
|
35
49
|
}
|
|
36
50
|
catch (err) {
|
package/dist/install.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"install.js","sourceRoot":"","sources":["../src/install.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAA;AAChC,OAAO,EAAE,aAAa,EAAkB,MAAM,qBAAqB,CAAA;AACnE,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"install.js","sourceRoot":"","sources":["../src/install.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAA;AAChC,OAAO,EAAE,aAAa,EAAkB,MAAM,qBAAqB,CAAA;AACnE,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAA;AAClD,OAAO,EAAE,kBAAkB,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAA;AAC5E,OAAO,EAAE,WAAW,EAAgB,MAAM,kBAAkB,CAAA;AAC5D,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAA;AAEjD;;;;GAIG;AAEH,mFAAmF;AACnF,MAAM,CAAC,MAAM,oBAAoB,GAAG,0BAA0B,CAAA;AAE9D,qCAAqC;AACrC,MAAM,UAAU,GAAG,0CAA0C,CAAA;AAa7D;;;;;GAKG;AACH,MAAM,CAAC,KAAK,UAAU,cAAc,CAAC,GAAW,EAAE,IAAI,GAAgB,EAAE;IACtE,MAAM,GAAG,GAAG,IAAI,CAAC,GAAG,IAAI,aAAa,EAAE,CAAA;IACvC,MAAM,EAAE,GAAG,IAAI,CAAC,EAAE,IAAI,WAAW,EAAE,CAAA;IAEnC,IAAI,MAAM,EAA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,EAAE,CAAC,CAAA;QACxD,OAAO,UAAU,CAAC,CAAC,CAAC,EAAE,EAAE,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,EAAE,EAAE,EAAE,IAAI,EAAE,WAAW,EAAE,IAAI,EAAE,CAAA;IACpE,CAAC;IAAC,OAAO,GAAG,EAAE,CAAC;QACb,OAAO,EAAE,EAAE,EAAE,KAAK,EAAE,KAAK,EAAE,YAAY,CAAC,GAAG,CAAC,EAAE,CAAA;IAChD,CAAC;AACH,CAAC"}
|
package/dist/module-server.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
//
|
|
3
3
|
// A module's server part is the file its package exports as `./server`. The daemon imports it once,
|
|
4
4
|
// in its own process, and calls one of its reads when the module's browser part asks for it
|
|
5
|
-
// (`host.read(name, input)` there). The server part imports nothing from
|
|
5
|
+
// (`host.read(name, input)` there). The server part imports nothing from OpenAgent at run time:
|
|
6
6
|
// these are types only, and its default export is a plain object that satisfies `ModuleServer`.
|
|
7
7
|
|
|
8
8
|
/** What the core knows about one run: facts, never a verdict about what the run's files are. */
|
|
@@ -2,7 +2,8 @@
|
|
|
2
2
|
* Whether a first segment names a page a module adds (#1774) rather than a project: a lowercase
|
|
3
3
|
* letter, then lowercase letters and digits. Never a project's id, which always carries a
|
|
4
4
|
* `-<hash>` suffix, so the router reserves no module's word: whichever module claims the segment
|
|
5
|
-
* gets it, and the shell says "no such page" when none does
|
|
5
|
+
* gets it, and the shell says "no such page" when none does, or when the picked project
|
|
6
|
+
* has no package that adds it.
|
|
6
7
|
*/
|
|
7
8
|
export declare function isPageSegment(segment: string): boolean;
|
|
8
9
|
/** What the dashboard is looking at, as carried by the URL. */
|
|
@@ -37,7 +37,7 @@ export interface MountedUsageLimit extends ModuleUsageLimit {
|
|
|
37
37
|
/** What the installed modules bring, once loaded: their pages, their cards and their link actions. */
|
|
38
38
|
export interface MountedModules {
|
|
39
39
|
pages: MountedPage[];
|
|
40
|
-
/**
|
|
40
|
+
/** Every package's cards, in the order the Overview draws the ones it draws: by `order`, then by package name. */
|
|
41
41
|
cards: MountedCard[];
|
|
42
42
|
linkActions: MountedLinkAction[];
|
|
43
43
|
/** The side-rail tabs, in package order. */
|
|
@@ -64,9 +64,10 @@ export declare function byMountOrder(a: {
|
|
|
64
64
|
* modules claim going to the first, the cards (#1818), sorted by their order then their package, the link actions, the side-rail tabs, the run slots, the Settings sections (sorted as the cards are) and the usage bar's stop line (the first module's that declares one),
|
|
65
65
|
* every one of them, each carrying the package it came from and the projects that have it. `loaded` is false until the module list has
|
|
66
66
|
* been read and every module in it imported, so the shell can tell "no such page" from "not
|
|
67
|
-
* loaded yet".
|
|
67
|
+
* loaded yet". A change of `reloadKey` reads the list again at once; what is mounted stays until
|
|
68
|
+
* it answers.
|
|
68
69
|
*/
|
|
69
|
-
export declare function useModules(): MountedModules;
|
|
70
|
+
export declare function useModules(reloadKey?: number): MountedModules;
|
|
70
71
|
/**
|
|
71
72
|
* The mounted modules, for any component in the shell (#1774): the shell reads them once with
|
|
72
73
|
* {@link useModules} and provides them here, so a page deep in the tree finds the link actions
|
|
@@ -84,15 +84,15 @@ export interface LinkAction {
|
|
|
84
84
|
*/
|
|
85
85
|
run(host: ModuleHost, projectId: string, links: ModuleLink[]): Promise<LinkActionResult>;
|
|
86
86
|
}
|
|
87
|
-
/** What a module card is rendered with: the projects that have its package. A card has no URL and no sub-path. */
|
|
87
|
+
/** What a module card is rendered with: the projects that have its package, never none: the card is not drawn then. With a project picked in the dashboard, that project alone. A card has no URL and no sub-path. */
|
|
88
88
|
export interface ModuleCardProps {
|
|
89
|
-
/** The registered projects
|
|
89
|
+
/** The registered projects that have the module's package, in the registry's order; with a project picked in the dashboard, that project alone. Never empty. */
|
|
90
90
|
projects: ModuleProject[];
|
|
91
91
|
}
|
|
92
92
|
/**
|
|
93
93
|
* A card a module adds to the Overview (#1818): the package's own summary of its data across the
|
|
94
|
-
* projects that have it, drawn beside the dashboard's own cards.
|
|
95
|
-
*
|
|
94
|
+
* projects that have it, drawn beside the dashboard's own cards. Drawn only when one of the
|
|
95
|
+
* projects the Overview shows has the package: with a project picked, only when that project has it.
|
|
96
96
|
*/
|
|
97
97
|
export interface ModuleCard {
|
|
98
98
|
/** Which card this is, for the shell's key and its error line; never shown as a title. */
|
|
@@ -276,7 +276,7 @@ export interface ModuleHost {
|
|
|
276
276
|
read(projectId: string, name: string, input?: Record<string, unknown>): Promise<ModuleReadResult>;
|
|
277
277
|
/** Open one agent's page in the dashboard: its live feed while it runs, its record after. */
|
|
278
278
|
openAgent(projectId: string, agentId: string): void;
|
|
279
|
-
/** Open a page a module adds (this one's or another's), at a sub-path: `openPage('tickets', [projectId, file])`. */
|
|
279
|
+
/** Open a page a module adds (this one's or another's), at a sub-path: `openPage('tickets', [projectId, file])`. With a project picked in the dashboard, a page that project's packages do not add shows "No such page". */
|
|
280
280
|
openPage(segment: string, path?: string[]): void;
|
|
281
281
|
/**
|
|
282
282
|
* Start a run in one project with this prompt, with the person's own picks (which tool, which
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { OpenAgentEvent } from './events.js';
|
|
2
2
|
/** One error of a run: one the agent reported through an `error` block (#1500), or one its tool wrote in the diary. */
|
|
3
3
|
export interface AgentError {
|
|
4
4
|
/** What is wrong, in one line. */
|
|
@@ -16,7 +16,7 @@ export interface AgentError {
|
|
|
16
16
|
* A fold over the log rather than state of its own: an error is an event that happened, so the
|
|
17
17
|
* list only ever grows, and reopening a finished agent shows exactly what it showed while it ran.
|
|
18
18
|
*/
|
|
19
|
-
export declare function agentErrors(events: readonly
|
|
19
|
+
export declare function agentErrors(events: readonly OpenAgentEvent[]): AgentError[];
|
|
20
20
|
/** The wrapped agent session (#431): its id and a deep link, when one is known. */
|
|
21
21
|
export interface SessionInfo {
|
|
22
22
|
sessionId?: string;
|
|
@@ -35,4 +35,4 @@ export interface SessionInfo {
|
|
|
35
35
|
* event, then the id and any deep link from the latest `session-update`. Null before the
|
|
36
36
|
* session opens. The link is what the old dashboard surfaced as "open session".
|
|
37
37
|
*/
|
|
38
|
-
export declare function sessionInfo(events: readonly
|
|
38
|
+
export declare function sessionInfo(events: readonly OpenAgentEvent[]): SessionInfo | null;
|
|
@@ -16,10 +16,10 @@
|
|
|
16
16
|
* user has to sign in.
|
|
17
17
|
*/
|
|
18
18
|
/** The directory holding the bridge browser's profile and binary, next to the registry file. */
|
|
19
|
-
export declare const BRIDGE_BROWSER_DIR = "
|
|
19
|
+
export declare const BRIDGE_BROWSER_DIR = "openagent-browser";
|
|
20
20
|
/**
|
|
21
|
-
* Where the bridge browser lives: `$XDG_CONFIG_HOME/
|
|
22
|
-
* dotted `$HOME/.
|
|
21
|
+
* Where the bridge browser lives: `$XDG_CONFIG_HOME/openagent-browser` when set, else the
|
|
22
|
+
* dotted `$HOME/.openagent-browser`. Beside the registry, so the same variable that isolates
|
|
23
23
|
* a test's registry isolates its browser, and a machine's real one is never touched from a test.
|
|
24
24
|
* The profile inside it is persistent on purpose: the user signs in once and the sign-in outlives
|
|
25
25
|
* every daemon restart.
|
|
@@ -152,7 +152,7 @@ export declare function appBundle(binary: string): string | undefined;
|
|
|
152
152
|
export declare function bridgeBrowserDeps(): BridgeBrowserDeps;
|
|
153
153
|
/**
|
|
154
154
|
* Make sure nothing else holds the profile: a browser a dead daemon left behind is stopped,
|
|
155
|
-
* gently first. It is
|
|
155
|
+
* gently first. It is OpenAgent's own profile, so whatever holds it is OpenAgent's own
|
|
156
156
|
* leftover; nothing the user runs shares it.
|
|
157
157
|
*/
|
|
158
158
|
export declare function freeProfile(profileDir: string, deps: BridgeBrowserDeps): Promise<boolean>;
|
|
@@ -1,14 +1,15 @@
|
|
|
1
|
+
import type { CleanupReport } from './dashboard/types.js';
|
|
1
2
|
import { type ProjectPackage, type ProvidedCommand, type ProvidedCommandLookup } from '@openagt/agent-data';
|
|
2
3
|
/**
|
|
3
|
-
* The packages
|
|
4
|
+
* The packages OpenAgent ships for every project, by name: dependencies of OpenAgent
|
|
4
5
|
* itself, resolved from its own install, so a project installs nothing for them and an empty
|
|
5
6
|
* folder starts an agent and shows it. Each comes through the same contract as a project's own
|
|
6
7
|
* package: a module by its `./dashboard` export, a provider of a kind of data and the writer of
|
|
7
|
-
* its hook lines by its `
|
|
8
|
+
* its hook lines by its `openagent` key. This list is the one place OpenAgent names a
|
|
8
9
|
* package, and a project's own copy of any of them wins.
|
|
9
10
|
*/
|
|
10
11
|
export declare const BUILT_IN_PACKAGES: readonly string[];
|
|
11
|
-
/** The built-in packages, resolved from
|
|
12
|
+
/** The built-in packages, resolved from OpenAgent's own install, once; one that is not installed is skipped. */
|
|
12
13
|
export declare function builtInPackages(): Promise<ProjectPackage[]>;
|
|
13
14
|
/** The directories the built-in packages' commands sit in: what a hook line's PATH gains after the project's own installed tools. */
|
|
14
15
|
export declare function builtInBinDirs(): Promise<string[]>;
|
|
@@ -20,9 +21,17 @@ export declare function providedCommand(root: string, kind: string): Promise<Pro
|
|
|
20
21
|
export declare function isBuiltIn(root: string, command: ProvidedCommand): Promise<boolean>;
|
|
21
22
|
/**
|
|
22
23
|
* Have every package that writes hook lines write its own into the project at `root`: a package
|
|
23
|
-
* declares `"
|
|
24
|
+
* declares `"openagent": { "hooks": "<command>" }`, and `<command> init`, run in the project,
|
|
24
25
|
* writes its lines into the project's hooks file, keeping every line already there. The project's
|
|
25
26
|
* own packages are asked, then the built-in ones the project has no copy of. Answers one line per
|
|
26
27
|
* package that could not write, in words.
|
|
27
28
|
*/
|
|
28
29
|
export declare function writeHookLines(root: string): Promise<string[]>;
|
|
30
|
+
/**
|
|
31
|
+
* Have every package that declares a clean-up remove what it left in the project at `root`: a
|
|
32
|
+
* package declares `"openagent": { "cleanup": "<command>" }`, and `<command> cleanup`, run in the
|
|
33
|
+
* project, answers `{ ok: true, removed, kept }`. The project's own packages are asked, then the
|
|
34
|
+
* built-in ones the project has no copy of, each whatever the one before answered. A package
|
|
35
|
+
* that refuses, fails or answers something else is one line in `failed`, in words.
|
|
36
|
+
*/
|
|
37
|
+
export declare function runCleanups(root: string): Promise<CleanupReport>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { DRIVERS, DRIVER_LABELS, isDriverName, driverFromImpl, type DriverName } from './driver-names.js';
|
|
2
2
|
export { PUBLISH_LABELS, isPublishPick, offeredPublishPicks, publishPickIn, type PublishPick } from './publish-levels.js';
|
|
3
|
-
export {
|
|
3
|
+
export { formatOpenAgentEvent } from './terminal.js';
|
|
4
4
|
export { formatBytes } from './format-bytes.js';
|
|
5
5
|
export { errorMessage } from './error-message.js';
|
|
6
6
|
export { pickedIds } from './events.js';
|
|
@@ -9,7 +9,7 @@ export declare const CLOUD_SESSION_WINDOW_MS: number;
|
|
|
9
9
|
* What the cloud side of a web run is doing.
|
|
10
10
|
*
|
|
11
11
|
* - `waiting`: the browser bridge holds a question the session is parked on
|
|
12
|
-
* - `merged`: the session's work was adopted (#1601) and its pull request merged by
|
|
12
|
+
* - `merged`: the session's work was adopted (#1601) and its pull request merged by OpenAgent
|
|
13
13
|
* - `in-cloud`: no pull request yet and the run is inside the session window, so it may still be working
|
|
14
14
|
* - `done`: its pull request exists — the work landed, and the PR badge carries its live state — or the
|
|
15
15
|
* window passed with nothing adopted: the session finished or never pushed
|
|
@@ -43,7 +43,7 @@ export interface AgentHandoff {
|
|
|
43
43
|
deletions: number;
|
|
44
44
|
/**
|
|
45
45
|
* The session produced nothing to hand off: the branch exists but carries no commit the base
|
|
46
|
-
* does not already have — or nothing beyond
|
|
46
|
+
* does not already have — or nothing beyond OpenAgent's own bookkeeping (#1291), which is
|
|
47
47
|
* committed for provenance, never as publishable work. Said out loud, rather than shown as an
|
|
48
48
|
* empty branch.
|
|
49
49
|
*/
|
|
@@ -161,7 +161,7 @@ export declare function mergeAgentPr(cwd: string, agent: PrAgent, deps?: {
|
|
|
161
161
|
}): Promise<HandoffResult>;
|
|
162
162
|
/**
|
|
163
163
|
* Read what a finished session left behind, for `branch`: the branch's git facts from the
|
|
164
|
-
* project's branches provider, and the run's own pull request from
|
|
164
|
+
* project's branches provider, and the run's own pull request from OpenAgent's lookup.
|
|
165
165
|
*
|
|
166
166
|
* Returns undefined only when the project has no branches provider, or the provider did not
|
|
167
167
|
* answer for the branch. A branch that no longer exists still returns a handoff (with
|
|
@@ -213,8 +213,8 @@ export declare function mergeAgentBranch(cwd: string, agent: Pick<AgentMeta, 'id
|
|
|
213
213
|
/**
|
|
214
214
|
* Open a draft PR for a branch that exists only on the remote (#1601): a cloud session's own
|
|
215
215
|
* `claude/*` branch was pushed from a VM this machine never sees, so there is nothing to push
|
|
216
|
-
* here — the provider publishes the branch as the remote has it. Draft because a PR
|
|
217
|
-
*
|
|
216
|
+
* here — the provider publishes the branch as the remote has it. Draft because a PR
|
|
217
|
+
* OpenAgent opens by itself must not put a review request in anyone's inbox, and the
|
|
218
218
|
* interventions queue keeps listing a session's draft.
|
|
219
219
|
*/
|
|
220
220
|
export declare function openRemoteBranchPullRequest(cwd: string, agent: HandoffAgent, branch: string, deps?: {
|
|
@@ -26,12 +26,12 @@ export declare const BRIDGE_PREFIX = "/_bridge";
|
|
|
26
26
|
* The extension version this daemon speaks (#1519). The extension states its own version on
|
|
27
27
|
* every call, in this header, and a daemon expecting another refuses outright: a version-skewed
|
|
28
28
|
* extension does not fail loudly, it half-works — missed messages, silently ignored fields —
|
|
29
|
-
* which reads as
|
|
29
|
+
* which reads as an OpenAgent bug and burns a debugging session. The extension's manifest must
|
|
30
30
|
* carry the same number; a test keeps the two in lockstep.
|
|
31
31
|
*/
|
|
32
|
-
export declare const EXPECTED_EXTENSION_VERSION = "0.
|
|
32
|
+
export declare const EXPECTED_EXTENSION_VERSION = "0.13.0";
|
|
33
33
|
/** The header the extension states its version in. Lowercase, as node presents all headers. */
|
|
34
|
-
export declare const EXTENSION_VERSION_HEADER = "x-
|
|
34
|
+
export declare const EXTENSION_VERSION_HEADER = "x-oa-extension-version";
|
|
35
35
|
/**
|
|
36
36
|
* One thing a cloud session did, as scraped from its page (#1237).
|
|
37
37
|
*
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*
|
|
5
5
|
* These are written per session as `PLAN_<SESSION>.agent.md` (the plan for now) and
|
|
6
6
|
* `TODO_<SESSION>.agent.md` (the backlog), where SESSION is a git-branch slug — by
|
|
7
|
-
*
|
|
7
|
+
* OpenAgent's own system prompt back when it ran the agent (#323/#326), and by
|
|
8
8
|
* whatever a project's own skills tell an agent to write now. The flat fallback is `PLAN.md`
|
|
9
9
|
* at the root; the `TODO` category has no flat file: the agent queue is not a document of the
|
|
10
10
|
* checkout but a project package's data, and the dashboard shows it on that package's own page
|
|
@@ -16,7 +16,7 @@ export interface GitStatusDeps {
|
|
|
16
16
|
/**
|
|
17
17
|
* The agent's start, when the status is read for an agent's checkout (#1255). The default lookup
|
|
18
18
|
* answers the newest PR for the branch *in any state* — so an agent on a reused pinned branch
|
|
19
|
-
* (`
|
|
19
|
+
* (`openagent/triage-quick`) wears a predecessor's merged PR as its own badge.
|
|
20
20
|
* With `since` set the PR is picked from the branch's whole history by {@link pickAgentPr}
|
|
21
21
|
* instead: an open PR, or a closed one no older than the agent itself.
|
|
22
22
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type LiveAgent, type AgentMeta } from '../store/index.js';
|
|
2
|
-
import type {
|
|
2
|
+
import type { OpenAgentEvent } from '../events.js';
|
|
3
3
|
import type { ProjectSummary, ProjectionRead } from './projects.js';
|
|
4
4
|
import { type BranchesFor } from '../store/branches.js';
|
|
5
5
|
import { type PrLister } from './pull-requests.js';
|
|
@@ -39,7 +39,7 @@ export interface InterventionsDeps {
|
|
|
39
39
|
/** The reader of the runs that have a checkout (default {@link readLiveMetas}): a waiting run keeps its own; drives the `awaiting` source (#636). */
|
|
40
40
|
liveAgents?: (cwd: string) => Promise<LiveAgent[]>;
|
|
41
41
|
/** One run's events, by the project's path and the run's id (default {@link loadAgentEvents}): where a waiting run's question is read. */
|
|
42
|
-
events?: (cwd: string, agentId: string) => Promise<
|
|
42
|
+
events?: (cwd: string, agentId: string) => Promise<OpenAgentEvent[] | undefined>;
|
|
43
43
|
/** The finished-agent reader (default {@link listAgents}); drives the `unpushed` source (#860). */
|
|
44
44
|
agents?: (cwd: string) => Promise<AgentMeta[]>;
|
|
45
45
|
/** The project's checkouts and branches (default the project's provider, {@link projectBranches}): where a branch's state is read; drives the `unpushed` source (#860). */
|
|
@@ -7,7 +7,7 @@ export interface EditorInfo {
|
|
|
7
7
|
}
|
|
8
8
|
/**
|
|
9
9
|
* The editors the picker can offer (#727), probed by their CLI launcher on PATH. Order is the
|
|
10
|
-
* display order. `$
|
|
10
|
+
* display order. `$OPENAGENT_EDITOR` and a hand-typed value stay valid beyond this list; this is
|
|
11
11
|
* only what auto-detection looks for.
|
|
12
12
|
*/
|
|
13
13
|
export declare const KNOWN_EDITORS: EditorInfo[];
|
|
@@ -29,7 +29,7 @@ export declare function fileManagerCommand(path: string, os?: NodeJS.Platform):
|
|
|
29
29
|
command: string;
|
|
30
30
|
args: string[];
|
|
31
31
|
};
|
|
32
|
-
/** The command to open a path in an editor: `$
|
|
32
|
+
/** The command to open a path in an editor: `$OPENAGENT_EDITOR` when set, else the VS Code CLI. */
|
|
33
33
|
export declare function editorCommand(path: string, editor?: string | undefined): {
|
|
34
34
|
command: string;
|
|
35
35
|
args: string[];
|
|
@@ -37,6 +37,6 @@ export declare function editorCommand(path: string, editor?: string | undefined)
|
|
|
37
37
|
/**
|
|
38
38
|
* Open the project at `cwd` in the file manager or an editor. Failures are values, never throws.
|
|
39
39
|
* `editor` (#727) is the stored preference; when unset {@link editorCommand} falls back to
|
|
40
|
-
* `$
|
|
40
|
+
* `$OPENAGENT_EDITOR`, then `code`.
|
|
41
41
|
*/
|
|
42
42
|
export declare function openInApp(cwd: string, target: OpenTarget, agent?: SpawnRunner, editor?: string): Promise<OpenResult>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type AgentMeta, type LiveAgent } from '../store/index.js';
|
|
2
|
-
import type { ChoiceRequest,
|
|
2
|
+
import type { ChoiceRequest, OpenAgentEvent } from '../events.js';
|
|
3
3
|
import { type BridgeQuestion } from './bridge-question.js';
|
|
4
4
|
import type { ProjectSummary } from './projects.js';
|
|
5
5
|
/** One session's open question, as the hub lists it: who waits, on what, since when. */
|
|
@@ -19,7 +19,7 @@ export interface OpenQuestionsDeps {
|
|
|
19
19
|
/** The reader of the runs that have a checkout (default {@link readLiveMetas}): a waiting run keeps its own. */
|
|
20
20
|
liveAgents?: (cwd: string) => Promise<LiveAgent[]>;
|
|
21
21
|
/** One run's events, by the project's path and the run's id (default {@link loadAgentEvents}). */
|
|
22
|
-
events?: (cwd: string, agentId: string) => Promise<
|
|
22
|
+
events?: (cwd: string, agentId: string) => Promise<OpenAgentEvent[] | undefined>;
|
|
23
23
|
/**
|
|
24
24
|
* The questions the browser bridge holds, minus those with an answer already on its way
|
|
25
25
|
* (default: the daemon's bridge store).
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type ProjectRecord } from '../registry.js';
|
|
2
2
|
import { type AgentMeta } from '../store/index.js';
|
|
3
|
-
import type { ProjectError } from '../project-errors.js';
|
|
3
|
+
import type { ProjectError, StaysLocal } from '../project-errors.js';
|
|
4
4
|
import { type GitHostFor } from '../store/git-host.js';
|
|
5
5
|
/**
|
|
6
6
|
* The multi-project read side (#392): projects the daemon serves come from the registry (#390),
|
|
@@ -16,7 +16,7 @@ export interface ProjectSummary {
|
|
|
16
16
|
path: string;
|
|
17
17
|
/** Display name (the path's basename). */
|
|
18
18
|
name: string;
|
|
19
|
-
/** True when the repo still has its `.
|
|
19
|
+
/** True when the repo still has its `.openagent/` marker. */
|
|
20
20
|
activated: boolean;
|
|
21
21
|
/** Whether one of the project's packages provides a git host; without one no pull request can be opened there. */
|
|
22
22
|
gitHost: boolean;
|
|
@@ -29,10 +29,11 @@ export interface ProjectSummary {
|
|
|
29
29
|
*/
|
|
30
30
|
errors?: ProjectError[];
|
|
31
31
|
/**
|
|
32
|
-
*
|
|
33
|
-
*
|
|
32
|
+
* Why the project's data stays on this machine, as the daemon's last data sync found it: its
|
|
33
|
+
* repository has no remote, or the person keeps the agents' records here. Nothing is wrong.
|
|
34
|
+
* Absent for a project that shares them; attached like `errors`.
|
|
34
35
|
*/
|
|
35
|
-
|
|
36
|
+
local?: StaysLocal;
|
|
36
37
|
}
|
|
37
38
|
/**
|
|
38
39
|
* A projection over the registered projects, together with the projects it could actually see.
|