@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
|
@@ -11,8 +11,8 @@ import { type StoreFs } from './store/index.js';
|
|
|
11
11
|
* The store is a plain JSON array of {@link CustomPreset}, the exact shape the user tier uses, so
|
|
12
12
|
* the dashboard renders both from one type and the same sanitizer guards both files.
|
|
13
13
|
*/
|
|
14
|
-
/** The committed file holding a project's shared custom presets, under `.
|
|
15
|
-
export declare const PROJECT_PRESETS_FILE = ".
|
|
14
|
+
/** The committed file holding a project's shared custom presets, under `.openagent/`. */
|
|
15
|
+
export declare const PROJECT_PRESETS_FILE = ".openagent/custom-presets.json";
|
|
16
16
|
/**
|
|
17
17
|
* Read a project's shared custom presets. Forgiving like every other read here: a missing,
|
|
18
18
|
* unreadable or malformed file yields `[]`, never throws, and the same sanitizer that guards
|
|
@@ -21,8 +21,8 @@ export declare const PROJECT_PRESETS_FILE = ".the-framework/custom-presets.json"
|
|
|
21
21
|
export declare function readProjectPresets(cwd: string, fs?: StoreFs): Promise<CustomPreset[]>;
|
|
22
22
|
/**
|
|
23
23
|
* Write a project's shared custom presets, sanitizing first so the committed file is always
|
|
24
|
-
* well-formed. Also ensures `.
|
|
25
|
-
* `*`
|
|
24
|
+
* well-formed. Also ensures `.openagent/.gitignore` un-ignores the file: the dir's ignore is
|
|
25
|
+
* `*` (nothing is tracked by default), so without a negation git would
|
|
26
26
|
* never see the presets and they could not be shared. Removing every preset writes an empty array
|
|
27
27
|
* rather than deleting the file, so the negation stays in place for the next save.
|
|
28
28
|
*/
|
|
@@ -3,7 +3,7 @@ import { type GitRunner } from '@openagt/agent-data';
|
|
|
3
3
|
* Project-level repo helpers (#380): the activation marker check and a
|
|
4
4
|
* `git ls-files` crawl. Read-only
|
|
5
5
|
* building blocks for the sidebars (#314); activation/install (writing the
|
|
6
|
-
* marker
|
|
6
|
+
* marker) is a separate, deferred concern.
|
|
7
7
|
*/
|
|
8
8
|
/** Minimal fs seam so activation is unit-testable without touching disk. */
|
|
9
9
|
export interface ProjectFs {
|
|
@@ -11,12 +11,12 @@ export interface ProjectFs {
|
|
|
11
11
|
exists(path: string): Promise<boolean>;
|
|
12
12
|
}
|
|
13
13
|
/**
|
|
14
|
-
* A repo is "activated"/installed for
|
|
15
|
-
* `.
|
|
16
|
-
* no-op check reads (#1600), so a `.
|
|
14
|
+
* A repo is "activated"/installed for OpenAgent when it has the
|
|
15
|
+
* `.openagent/.gitignore` install writes — the same marker install's own
|
|
16
|
+
* no-op check reads (#1600), so a `.openagent/` directory something else
|
|
17
17
|
* created can never read as activated while the repo still lacks the ignore
|
|
18
|
-
* file that keeps
|
|
19
|
-
* the marker
|
|
18
|
+
* file that keeps OpenAgent state out of git. Read-only check; writing
|
|
19
|
+
* the marker is a separate, deferred concern.
|
|
20
20
|
*/
|
|
21
21
|
export declare function isActivated(cwd: string, fs?: ProjectFs): Promise<boolean>;
|
|
22
22
|
/**
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
* The levels are the words a project's start hook is handed as `PUBLISH`, the ones
|
|
5
5
|
* `agent-runner run --publish` takes. The launcher's menu offers them after "Nothing", the pick
|
|
6
6
|
* that hands the hook no level: the run then commits and publishes nothing unless its prompt asks.
|
|
7
|
-
* Until a person picks, a run
|
|
8
|
-
*
|
|
7
|
+
* Until a person picks, a run commits its work and pushes nothing: what leaves the machine is the
|
|
8
|
+
* person's to ask for.
|
|
9
9
|
*/
|
|
10
10
|
/** The levels a run can be started at, each going further than the one before. */
|
|
11
11
|
export declare const PUBLISH_LEVELS: readonly ['commit', 'branch', 'pr', 'merge'];
|
|
@@ -24,8 +24,8 @@ export declare function isPublishPick(value: unknown): value is PublishPick;
|
|
|
24
24
|
*/
|
|
25
25
|
export declare function offeredPublishPicks(gitHost: boolean, remote?: boolean): readonly PublishPick[];
|
|
26
26
|
/**
|
|
27
|
-
* The
|
|
28
|
-
*
|
|
27
|
+
* The pick in force in this project. Until a person saves one it is Commit, which pushes nothing.
|
|
28
|
+
* A saved pick the project is not offered falls back to the furthest it goes with no pull request.
|
|
29
29
|
*/
|
|
30
30
|
export declare function publishPickIn(saved: PublishPick | undefined, gitHost: boolean, remote?: boolean): PublishPick;
|
|
31
31
|
/** The level a pick hands the start hook; none for Nothing. */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* The quota boundary (#879): how much of the account's week
|
|
2
|
+
* The quota boundary (#879): how much of the account's week OpenAgent may
|
|
3
3
|
* have spent by now.
|
|
4
4
|
*
|
|
5
5
|
* The whole policy is one line — the boundary is the pro-rated share of the week's allowance that
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Nothing is left on the floor: the boundary rises on its own and reaches the full allowance
|
|
11
11
|
* exactly as the week resets, so a quiet week still gets spent rather than expiring.
|
|
12
12
|
*
|
|
13
|
-
*
|
|
13
|
+
* OpenAgent only draws it. Whether work stops at it, or how far past it, is the business of
|
|
14
14
|
* whatever starts unattended work, which puts its own stop line on the usage bar.
|
|
15
15
|
*/
|
|
16
16
|
import type { DriverQuotaWindow } from '@openagt/agent-driver';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { type PublishPick } from './publish-levels.js';
|
|
2
2
|
/**
|
|
3
3
|
* The multi-project registry (#390): the list of projects the user has
|
|
4
|
-
* installed
|
|
5
|
-
* `$HOME/.
|
|
4
|
+
* installed OpenAgent into, kept as a single JSON file `.bashrc`-style —
|
|
5
|
+
* `$HOME/.openagent.json` — so it is the user's responsibility to re-create
|
|
6
6
|
* per machine. The same file also holds the user's dashboard preferences (#410),
|
|
7
7
|
* so the daemon owns one user file and the UI never needs localStorage.
|
|
8
8
|
*/
|
|
@@ -47,7 +47,7 @@ export interface Preferences {
|
|
|
47
47
|
* The "needs you" category (#627): notify when an agent is awaiting your answer or a PR is ready
|
|
48
48
|
* to review. A *category* toggle, like {@link notifyNewActivity}, composing with the method
|
|
49
49
|
* toggle {@link notifyBrowser}. **Absent = on**: unlike the other
|
|
50
|
-
* flat opt-in booleans, human-intervention pings are the baseline
|
|
50
|
+
* flat opt-in booleans, human-intervention pings are the baseline OpenAgent leans on, so an
|
|
51
51
|
* unset preference keeps them firing; a user turns them off explicitly.
|
|
52
52
|
*/
|
|
53
53
|
notifyHumanIntervention?: boolean;
|
|
@@ -72,7 +72,7 @@ export interface Preferences {
|
|
|
72
72
|
*/
|
|
73
73
|
postMergeCleanup?: boolean;
|
|
74
74
|
/** Preferred editor for "Open in editor" (#727): an editor CLI (e.g. `code`, `cursor`, `zed`).
|
|
75
|
-
* Absent falls back to `$
|
|
75
|
+
* Absent falls back to `$OPENAGENT_EDITOR`, then `code`. */
|
|
76
76
|
editor?: string;
|
|
77
77
|
/** Dashboard color theme (#725): `system` (follow the OS, the default), `light`, or `dark`. Absent = system. */
|
|
78
78
|
theme?: 'system' | 'light' | 'dark';
|
|
@@ -121,7 +121,7 @@ export interface PreferencesStore {
|
|
|
121
121
|
patch(patch: Preferences): Promise<Preferences>;
|
|
122
122
|
}
|
|
123
123
|
/** The registry file name: a single file under `$XDG_CONFIG_HOME` (dotted under `$HOME`). */
|
|
124
|
-
export declare const REGISTRY_FILE = "
|
|
124
|
+
export declare const REGISTRY_FILE = "openagent.json";
|
|
125
125
|
/** Owner read/write only: the file holds the daemon token (#1051). */
|
|
126
126
|
export declare const REGISTRY_FILE_MODE = 384;
|
|
127
127
|
/**
|
|
@@ -132,8 +132,8 @@ export declare const REGISTRY_FILE_MODE = 384;
|
|
|
132
132
|
export declare function projectId(path: string): string;
|
|
133
133
|
/**
|
|
134
134
|
* The registry file path, resolved from `env` (injectable so tests never touch
|
|
135
|
-
* the real home): `$XDG_CONFIG_HOME/
|
|
136
|
-
* dotted `$HOME/.
|
|
135
|
+
* the real home): `$XDG_CONFIG_HOME/openagent.json` when set, else the
|
|
136
|
+
* dotted `$HOME/.openagent.json`. A single file, not a directory (#390).
|
|
137
137
|
*/
|
|
138
138
|
export declare function registryPath(env: NodeJS.ProcessEnv): string;
|
|
139
139
|
/** Minimal fs seam so the registry is unit-testable without touching disk. */
|
|
@@ -181,6 +181,12 @@ export declare function listProjects(fs?: RegistryFs, env?: NodeJS.ProcessEnv):
|
|
|
181
181
|
* otherwise the new record is appended and the file written back (preferences preserved).
|
|
182
182
|
*/
|
|
183
183
|
export declare function addProject(path: string, addedAt: string, fs?: RegistryFs, env?: NodeJS.ProcessEnv): Promise<ProjectRecord>;
|
|
184
|
+
/**
|
|
185
|
+
* Take a project off the list, by id. Answers the record that was removed, or `undefined` when
|
|
186
|
+
* no project has that id. Only the list changes: nothing in the project's folder is touched, so
|
|
187
|
+
* a project whose folder is gone is removed like any other.
|
|
188
|
+
*/
|
|
189
|
+
export declare function removeProject(id: string, fs?: RegistryFs, env?: NodeJS.ProcessEnv): Promise<ProjectRecord | undefined>;
|
|
184
190
|
/** The user's dashboard preferences (#410), or `{}` when none are stored. */
|
|
185
191
|
export declare function readPreferences(fs?: RegistryFs, env?: NodeJS.ProcessEnv): Promise<Preferences>;
|
|
186
192
|
/** Persist the dashboard preferences (#410), sanitized, preserving the project list. */
|
|
@@ -34,7 +34,7 @@ export type AgentDiarySource = {
|
|
|
34
34
|
};
|
|
35
35
|
/**
|
|
36
36
|
* The diary a run-scoped subscribe should follow (#1472, #1774): the run's own `<id>.jsonl`.
|
|
37
|
-
* While the run has a checkout it is a file there, under the checkout's `.
|
|
37
|
+
* While the run has a checkout it is a file there, under the checkout's `.openagent/`,
|
|
38
38
|
* written by the run's tool as the agent works. Once the run is recorded and its checkout
|
|
39
39
|
* reclaimed, it is the finished run's diary, whole, from the project's runs provider. A run that
|
|
40
40
|
* has neither yet was started a moment ago: its tool has not made the checkout, so the diary is
|
|
@@ -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:
|
|
@@ -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?: {
|
|
@@ -107,7 +107,7 @@ export declare function parseRequests(output: unknown): GitHostRequest[];
|
|
|
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[]>;
|
|
@@ -39,7 +39,7 @@ export declare function parseQueueEntries(output: unknown): string[];
|
|
|
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
|
|
@@ -101,7 +101,7 @@ export declare function parseRunCard(input: unknown): RunCard | undefined;
|
|
|
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[]>;
|
|
@@ -66,7 +66,7 @@ export declare function parseTickets(output: unknown): Ticket[];
|
|
|
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
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* The directory, under a project root, that holds
|
|
2
|
+
* The directory, under a project root, that holds OpenAgent's own files.
|
|
3
3
|
*
|
|
4
4
|
* Its own module so every reader and writer of the directory (the hooks file, the project's saved
|
|
5
5
|
* prompts, the activation's `.gitignore`, a run's card, diary and inbox) spells it the same way.
|
|
@@ -7,5 +7,5 @@
|
|
|
7
7
|
* Nothing of the product's rides on a branch of its own any more: the agent archives are the
|
|
8
8
|
* `logs` skill's runs, on the shared `agent-data` branch that `@openagt/agent-data` names (#1769).
|
|
9
9
|
*/
|
|
10
|
-
export const
|
|
11
|
-
//# sourceMappingURL=
|
|
10
|
+
export declare const OPENAGENT_DIR = ".openagent";
|
|
11
|
+
//# 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;;;;;;;;GAQG;AACH,eAAO,MAAM,aAAa,eAAe,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* The directory, under a project root, that holds
|
|
2
|
+
* The directory, under a project root, that holds OpenAgent's own files.
|
|
3
3
|
*
|
|
4
4
|
* Its own module so every reader and writer of the directory (the hooks file, the project's saved
|
|
5
5
|
* prompts, the activation's `.gitignore`, a run's card, diary and inbox) spells it the same way.
|
|
@@ -7,5 +7,5 @@
|
|
|
7
7
|
* Nothing of the product's rides on a branch of its own any more: the agent archives are the
|
|
8
8
|
* `logs` skill's runs, on the shared `agent-data` branch that `@openagt/agent-data` names (#1769).
|
|
9
9
|
*/
|
|
10
|
-
export
|
|
11
|
-
//# sourceMappingURL=
|
|
10
|
+
export const OPENAGENT_DIR = '.openagent';
|
|
11
|
+
//# sourceMappingURL=openagent-dir.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"openagent-dir.js","sourceRoot":"","sources":["../src/openagent-dir.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG,YAAY,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,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