@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/preset-catalog.js
DELETED
|
@@ -1,129 +0,0 @@
|
|
|
1
|
-
import { definePreset } from './preset-prompt.js';
|
|
2
|
-
import { PRESETS_MAINTAINABILITY, PRESETS_MAINTENANCE, PRESETS_MARKET_RESEARCH, PRESETS_PLAN_TICKETS, PRESETS_READABILITY, PRESETS_RESEARCH, PRESETS_SECURITY_AUDIT, PRESETS_SUGGEST_NEW_FEATURES, PRESETS_SUGGEST_NEW_TICKETS, PRESETS_SUGGEST_TICKETS_TO_WORK_ON, PRESETS_TRIAGE_CONSENSUAL, PRESETS_TRIAGE_QUICK, PRESETS_UPDATE_TICKETS, PRESETS_UX, TRIAGE_SCOPE, } from './prompts.generated.js';
|
|
3
|
-
/**
|
|
4
|
-
* Every preset, in one table.
|
|
5
|
-
*
|
|
6
|
-
* Each of these used to be a file of its own whose whole body was one `definePreset` call (or a
|
|
7
|
-
* hand-rolled equivalent) plus four alias exports — 56 exported names for 14 objects, with the
|
|
8
|
-
* same four doc comments copied down the directory. What actually varies between them is two or
|
|
9
|
-
* three values, which is what a row is.
|
|
10
|
-
*
|
|
11
|
-
* The prompt text itself is not here: it ships in `prompts/presets/<stem>.md` and reaches this
|
|
12
|
-
* table through the generated constants, so a prompt is edited as prose in one place.
|
|
13
|
-
*
|
|
14
|
-
* Pure by construction (no `node:*`), so the dashboard can render any preset in the browser (#520).
|
|
15
|
-
*/
|
|
16
|
-
/** A triage prompt, with the queue-only rule the pair shares (#1641) at the end. */
|
|
17
|
-
const triage = (template) => `${template}\n\n${TRIAGE_SCOPE}`;
|
|
18
|
-
export const presets = {
|
|
19
|
-
/**
|
|
20
|
-
* [Research] (#331): the problem-variability review, shipped as a direct prompt (see
|
|
21
|
-
* `runPrompt`) rather than a build agent — research reviews existing code, so it skips the
|
|
22
|
-
* scope -> build scaffolding. `showMultiSelect()` + `<AWAIT>` becomes a live turn-boundary
|
|
23
|
-
* gate (#339/#340) the dashboard resolves.
|
|
24
|
-
*/
|
|
25
|
-
research: definePreset({ name: 'research', template: PRESETS_RESEARCH, what: 'What to measure problem variability of', label: 'Research' }),
|
|
26
|
-
/**
|
|
27
|
-
* [Maintainability] (#361): deliberately minimal, so its performance can be judged before a
|
|
28
|
-
* more explicit prompt is written. Keep it in sync with the issue rather than growing it here.
|
|
29
|
-
*/
|
|
30
|
-
maintainability: definePreset({ name: 'maintainability', template: PRESETS_MAINTAINABILITY, what: 'What to refactor for maintainability', label: 'Maintainability' }),
|
|
31
|
-
/** [Readability] (#360): the reader's-eye pass — seams, altitude, and one commit per refactor. */
|
|
32
|
-
readability: definePreset({ name: 'readability', template: PRESETS_READABILITY, what: 'What to refactor for readability', label: 'Readability' }),
|
|
33
|
-
/** [Security audit] (#461). */
|
|
34
|
-
securityAudit: definePreset({ name: 'security-audit', template: PRESETS_SECURITY_AUDIT, what: 'What to security-audit', label: 'Security audit' }),
|
|
35
|
-
/**
|
|
36
|
-
* [UX (auto)] (#962, replacing #472's gated prompt): rate every UI flow, then fix the low
|
|
37
|
-
* scorers. Unattended by design — it ends in work rather than in `<AWAIT>`, so an agent started
|
|
38
|
-
* from it finishes on its own. A gated sibling that offers its ratings as choices is #962's
|
|
39
|
-
* stated follow-up and belongs beside this row, not inside it.
|
|
40
|
-
*/
|
|
41
|
-
ux: definePreset({ name: 'ux', template: PRESETS_UX, what: 'What to review the UX of', label: 'UX (auto)' }),
|
|
42
|
-
/**
|
|
43
|
-
* [Maintenance] (#881/#882): the periodic codebase sweep. Note `${{ }}` fragments cannot nest (the
|
|
44
|
-
* scanner stops at the first `}}`), which is why its target is a plain blank.
|
|
45
|
-
*/
|
|
46
|
-
maintenance: definePreset({ name: 'maintenance', template: PRESETS_MAINTENANCE, what: 'What to analyze for refactor opportunities', label: 'Maintenance', tooltip: 'Queue maintainability + security work per codebase subset (TODO_AGENTS.md)' }),
|
|
47
|
-
// ---- Paramless: each of these scopes itself to the repo's own tickets, plans or queue, so
|
|
48
|
-
// there is no blank for a user to fill.
|
|
49
|
-
/**
|
|
50
|
-
* [Market research] (#694). Its prompt defines `<SESSION_NAME>` itself rather than reading
|
|
51
|
-
* `${{ tf.session_name }}`: it is launched from the launcher, where no session exists yet.
|
|
52
|
-
*/
|
|
53
|
-
marketResearch: definePreset({ name: 'market-research', template: PRESETS_MARKET_RESEARCH, label: 'Market research' }),
|
|
54
|
-
/**
|
|
55
|
-
* [Update from GitHub] (#1208, #1501): the one GitHub sync. It resumes from the
|
|
56
|
-
* `lastImportedAt` in `tickets/meta.json` and reconciles rather than refilling — an existing
|
|
57
|
-
* ticket is edited in place, keeping the `.plan.md` written against it, and a
|
|
58
|
-
* closed issue's ticket goes. An empty `tickets/` is its first-import branch: every open issue
|
|
59
|
-
* comes across, which is why the separate import preset could go (#1501).
|
|
60
|
-
*
|
|
61
|
-
* The timestamp is read by the agent out of the repo rather than rendered into the prompt: the
|
|
62
|
-
* file travels in the same commit as the tickets it describes, so an agent whose work never landed
|
|
63
|
-
* cannot leave behind a stamp claiming those issues were imported.
|
|
64
|
-
*
|
|
65
|
-
* Marked {@link PresetSpec.newAgent}: syncing is repo work, not a reply, so it opens its own
|
|
66
|
-
* session rather than appending to whichever one the user happens to be reading.
|
|
67
|
-
*/
|
|
68
|
-
updateTickets: definePreset({ name: 'update-tickets', template: PRESETS_UPDATE_TICKETS, label: 'Update from GitHub', newAgent: true, tooltip: 'Bring `tickets/` up to date with the GitHub issues. An empty `tickets/` gets a full first import.' }),
|
|
69
|
-
/** [Plan tickets] (#685): turn tickets into costed plans. */
|
|
70
|
-
planTickets: definePreset({ name: 'plan-tickets', template: PRESETS_PLAN_TICKETS, label: 'Plan tickets (aka spike)', tooltip: 'Turn `tickets/*.md` into costed plans (`tickets/*.plan.md`)' }),
|
|
71
|
-
/** [Suggest new tickets] (#462/#683): the dashboard prefills this one line and the user edits it freely. */
|
|
72
|
-
suggestNewTickets: definePreset({ name: 'suggest-new-tickets', template: PRESETS_SUGGEST_NEW_TICKETS, label: 'Suggest new tickets' }),
|
|
73
|
-
/**
|
|
74
|
-
* [Suggest new features] (#1109): the product-inward, generative corner of the PM cluster. It
|
|
75
|
-
* studies what the product does today and proposes net-new features as tickets in `tickets/`.
|
|
76
|
-
* Distinct from its neighbours: `suggestNewTickets` echoes a line the human types,
|
|
77
|
-
* `marketResearch` looks outward at the market, and `suggestTicketsToWorkOn` picks from tickets
|
|
78
|
-
* that already exist. Autonomous rather than gated — a proposal is a reviewable ticket, so the
|
|
79
|
-
* human triages later instead of approving mid-run, which also keeps it usable unattended.
|
|
80
|
-
*/
|
|
81
|
-
suggestNewFeatures: definePreset({ name: 'suggest-new-features', template: PRESETS_SUGGEST_NEW_FEATURES, label: 'Suggest new features', tooltip: 'Propose net-new features as tickets in `tickets/`' }),
|
|
82
|
-
/**
|
|
83
|
-
* [Suggest tickets to work on] (#698): the gated sibling of the triage pair. It ends in
|
|
84
|
-
* `<AWAIT>`, so it must not be fired unattended — that would wedge an agent against a human
|
|
85
|
-
* who is not there.
|
|
86
|
-
*/
|
|
87
|
-
suggestTicketsToWorkOn: definePreset({ name: 'suggest-tickets-to-work-on', template: PRESETS_SUGGEST_TICKETS_TO_WORK_ON, label: 'Suggest tickets to work on', tooltip: 'Add tickets to queue (TODO_AGENTS.md)' }),
|
|
88
|
-
/**
|
|
89
|
-
* [Do quick-win work] (#891) and [Do consensual work] (#892): read `tickets/*.md`, pick the ones
|
|
90
|
-
* matching one filter, and append them to `TODO_AGENTS.md` — how the queue refills itself from
|
|
91
|
-
* the ticket backlog. The pair splits on cost, and the split is the point: both are consensual
|
|
92
|
-
* (zero open questions, zero variability), so neither needs a human, and they differ only in
|
|
93
|
-
* whether the work is cheap. Keeping them apart lets a person queue the cheap batch and the
|
|
94
|
-
* significant batch separately rather than in one indiscriminate sweep.
|
|
95
|
-
*
|
|
96
|
-
* Each prompt pins its own `<SESSION_NAME>`, so a triage always lands on the same branch and is
|
|
97
|
-
* recognizable there.
|
|
98
|
-
*
|
|
99
|
-
* Both end with the same rule (#1641): a triage only writes `TODO_AGENTS.md`, never a ticket's
|
|
100
|
-
* code. It is one file, `prompts/triage_scope.md`, appended here rather than pasted into each
|
|
101
|
-
* preset, so the pair cannot drift apart on it.
|
|
102
|
-
*/
|
|
103
|
-
triageQuick: definePreset({ name: 'triage-quick', template: triage(PRESETS_TRIAGE_QUICK), label: 'Add quick-win work to AI Queue', tooltip: 'Add `tickets/*.md` to queue (TODO_AGENTS.md), only quick-win and consensual tickets' }),
|
|
104
|
-
triageConsensual: definePreset({ name: 'triage-consensual', template: triage(PRESETS_TRIAGE_CONSENSUAL), label: 'Add consensual work to AI Queue', tooltip: 'Add `tickets/*.md` to queue (TODO_AGENTS.md), only significant (no quick-wins) and consensual tickets' }),
|
|
105
|
-
};
|
|
106
|
-
/**
|
|
107
|
-
* The presets the launcher offers, in the order it shows them.
|
|
108
|
-
*
|
|
109
|
-
* One list rather than a `launcher: true` flag on each row: membership and order are the same
|
|
110
|
-
* decision, and a flag would have stated half of it while the order lived somewhere else. Every
|
|
111
|
-
* preset is on it: working the agent queue is a skill file (#1774), not a preset.
|
|
112
|
-
*/
|
|
113
|
-
export const LAUNCHER_PRESETS = [
|
|
114
|
-
presets.research,
|
|
115
|
-
presets.readability,
|
|
116
|
-
presets.maintainability,
|
|
117
|
-
presets.securityAudit,
|
|
118
|
-
presets.ux,
|
|
119
|
-
presets.suggestNewTickets,
|
|
120
|
-
presets.suggestNewFeatures,
|
|
121
|
-
presets.suggestTicketsToWorkOn,
|
|
122
|
-
presets.planTickets,
|
|
123
|
-
presets.marketResearch,
|
|
124
|
-
presets.updateTickets,
|
|
125
|
-
presets.maintenance,
|
|
126
|
-
presets.triageQuick,
|
|
127
|
-
presets.triageConsensual,
|
|
128
|
-
];
|
|
129
|
-
//# sourceMappingURL=preset-catalog.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"preset-catalog.js","sourceRoot":"","sources":["../src/preset-catalog.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAkB,MAAM,oBAAoB,CAAA;AACjE,OAAO,EACL,uBAAuB,EACvB,mBAAmB,EACnB,uBAAuB,EACvB,oBAAoB,EACpB,mBAAmB,EACnB,gBAAgB,EAChB,sBAAsB,EACtB,4BAA4B,EAC5B,2BAA2B,EAC3B,kCAAkC,EAClC,yBAAyB,EACzB,oBAAoB,EACpB,sBAAsB,EACtB,UAAU,EACV,YAAY,GACb,MAAM,wBAAwB,CAAA;AAE/B;;;;;;;;;;;;GAYG;AACH,oFAAoF;AACpF,MAAM,MAAM,GAAG,CAAC,QAAgB,EAAU,EAAE,CAAC,GAAG,QAAQ,OAAO,YAAY,EAAE,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,gBAAgB,GAAyB;IACpD,OAAO,CAAC,QAAQ;IAChB,OAAO,CAAC,WAAW;IACnB,OAAO,CAAC,eAAe;IACvB,OAAO,CAAC,aAAa;IACrB,OAAO,CAAC,EAAE;IACV,OAAO,CAAC,iBAAiB;IACzB,OAAO,CAAC,kBAAkB;IAC1B,OAAO,CAAC,sBAAsB;IAC9B,OAAO,CAAC,WAAW;IACnB,OAAO,CAAC,cAAc;IACtB,OAAO,CAAC,aAAa;IACrB,OAAO,CAAC,WAAW;IACnB,OAAO,CAAC,WAAW;IACnB,OAAO,CAAC,gBAAgB;CACzB,CAAA"}
|
package/dist/preset-prompt.d.ts
DELETED
|
@@ -1,81 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* The default target a preset runs against (#874): the session it was launched from, falling back
|
|
3
|
-
* to the whole codebase when there is no session yet. A template, not a plain string — see
|
|
4
|
-
* {@link definePreset} for why that distinction matters.
|
|
5
|
-
*/
|
|
6
|
-
export declare const DEFAULT_WHAT = "${{ tf.session_name || \"entire codebase\" }}";
|
|
7
|
-
/** A quality preset's single user param: the target to run against. */
|
|
8
|
-
export interface PresetParam {
|
|
9
|
-
name: 'what';
|
|
10
|
-
/** A `${{ }}` template, rendered against the same context as the preset body. */
|
|
11
|
-
default: string;
|
|
12
|
-
description: string;
|
|
13
|
-
}
|
|
14
|
-
/**
|
|
15
|
-
* What a preset can read beyond its own params. Everything is optional: a preset rendered before
|
|
16
|
-
* any session exists (the launcher's prompt preview) simply has no `session_name`, which is what
|
|
17
|
-
* makes {@link DEFAULT_WHAT}'s `||` fall through to the codebase-wide default.
|
|
18
|
-
*/
|
|
19
|
-
export interface PresetRenderContext {
|
|
20
|
-
/** The launching session's name, once one has been set. */
|
|
21
|
-
session_name?: string | undefined;
|
|
22
|
-
/** stem -> `{ filePath }`, so a preset can point at another preset. Defaults to the registry. */
|
|
23
|
-
presets?: Record<string, {
|
|
24
|
-
filePath: string;
|
|
25
|
-
}> | undefined;
|
|
26
|
-
}
|
|
27
|
-
/**
|
|
28
|
-
* {@link DEFAULT_WHAT}, rendered. Exported so a caller that *labels* an agent (the CLI's log title)
|
|
29
|
-
* says the same thing the prompt targets, instead of keeping its own copy of the default.
|
|
30
|
-
*/
|
|
31
|
-
export declare function defaultWhat(ctx?: PresetRenderContext): string;
|
|
32
|
-
/** How one preset is declared. Everything that differs between presets, and nothing else. */
|
|
33
|
-
export interface PresetSpec {
|
|
34
|
-
/** The run-kind name, as the CLI subcommand and the agent record use it. */
|
|
35
|
-
name: string;
|
|
36
|
-
/** The prompt template, from `prompts/presets/<stem>.md`. */
|
|
37
|
-
template: string;
|
|
38
|
-
/** What the one `what` param means. Omit for a preset that scopes itself. */
|
|
39
|
-
what?: string;
|
|
40
|
-
/**
|
|
41
|
-
* The launcher button's label. Lives here rather than in the dashboard: it is the preset's
|
|
42
|
-
* user-facing name, and keeping it in the other package meant a preset's name and its label
|
|
43
|
-
* could only be kept in step by hand.
|
|
44
|
-
*/
|
|
45
|
-
label: string;
|
|
46
|
-
/** One line under the label, when the name alone does not say what the preset queues. */
|
|
47
|
-
tooltip?: string;
|
|
48
|
-
/**
|
|
49
|
-
* Always run in a session of its own (#959), even when picked from inside one. A preset whose
|
|
50
|
-
* work is about the repo rather than about the conversation has nothing to gain from the current
|
|
51
|
-
* transcript and something to lose from it: sent to a live session it would land on that
|
|
52
|
-
* session's branch, behind its context. The flag sits on the preset rather than on the surface
|
|
53
|
-
* that fires it, because it is a property of the work, not of where the user clicked.
|
|
54
|
-
*/
|
|
55
|
-
newAgent?: boolean;
|
|
56
|
-
}
|
|
57
|
-
/** A preset's public shape: how it is declared, plus its resolved params and a renderer. */
|
|
58
|
-
export interface PresetDef extends PresetSpec {
|
|
59
|
-
/** The one `what` param, or empty for a preset that scopes itself. */
|
|
60
|
-
params: readonly PresetParam[];
|
|
61
|
-
/** Render the template, filling `${{ tf.params.what }}`; a blank/omitted `what` falls back to the default. */
|
|
62
|
-
render: (what?: string, ctx?: PresetRenderContext) => string;
|
|
63
|
-
}
|
|
64
|
-
/**
|
|
65
|
-
* Define a preset (#326/#330) from the three things that actually differ between them: the
|
|
66
|
-
* run-kind name, the prompt template, and what the one `what` param means. Every preset has the
|
|
67
|
-
* identical shape, so that shape lives here once instead of in each preset file.
|
|
68
|
-
*
|
|
69
|
-
* Omitting `whatDescription` defines a **paramless** preset: the prompt scopes itself (the triage
|
|
70
|
-
* and PM presets read the repo's own tickets or plans), so there is no blank to fill and the
|
|
71
|
-
* template renders verbatim. That case used to have a second near-identical factory, and six
|
|
72
|
-
* further presets hand-rolled it using neither — one optional argument covers all three.
|
|
73
|
-
*
|
|
74
|
-
* A blank/omitted `what` falls back to the default, so a dashboard button runs with zero input; a
|
|
75
|
-
* passed value is trimmed first. The default is itself rendered (#874): `${{ }}` has always been
|
|
76
|
-
* JS-evaluated, but the default was the one string that never went through the evaluator, so a
|
|
77
|
-
* `${{ }}` inside it reached the prompt as literal text. Rendering it against the same context is
|
|
78
|
-
* what lets the default depend on the session the preset was launched from.
|
|
79
|
-
*/
|
|
80
|
-
export declare function definePreset(spec: PresetSpec): PresetDef;
|
|
81
|
-
//# sourceMappingURL=preset-prompt.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"preset-prompt.d.ts","sourceRoot":"","sources":["../src/preset-prompt.ts"],"names":[],"mappings":"AAGA;;;;GAIG;AACH,eAAO,MAAM,YAAY,kDAAgD,CAAA;AAEzE,uEAAuE;AACvE,MAAM,WAAW,WAAW;IAC1B,IAAI,EAAE,MAAM,CAAA;IACZ,iFAAiF;IACjF,OAAO,EAAE,MAAM,CAAA;IACf,WAAW,EAAE,MAAM,CAAA;CACpB;AAED;;;;GAIG;AACH,MAAM,WAAW,mBAAmB;IAClC,2DAA2D;IAC3D,YAAY,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IACjC,iGAAiG;IACjG,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE;QAAE,QAAQ,EAAE,MAAM,CAAA;KAAE,CAAC,GAAG,SAAS,CAAA;CAC3D;AAOD;;;GAGG;AACH,wBAAgB,WAAW,CAAC,GAAG,GAAE,mBAAwB,GAAG,MAAM,CAEjE;AAED,6FAA6F;AAC7F,MAAM,WAAW,UAAU;IACzB,4EAA4E;IAC5E,IAAI,EAAE,MAAM,CAAA;IACZ,6DAA6D;IAC7D,QAAQ,EAAE,MAAM,CAAA;IAChB,6EAA6E;IAC7E,IAAI,CAAC,EAAE,MAAM,CAAA;IACb;;;;OAIG;IACH,KAAK,EAAE,MAAM,CAAA;IACb,yFAAyF;IACzF,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB;;;;;;OAMG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB;AAED,4FAA4F;AAC5F,MAAM,WAAW,SAAU,SAAQ,UAAU;IAC3C,sEAAsE;IACtE,MAAM,EAAE,SAAS,WAAW,EAAE,CAAA;IAC9B,8GAA8G;IAC9G,MAAM,EAAE,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,GAAG,CAAC,EAAE,mBAAmB,KAAK,MAAM,CAAA;CAC7D;AAED;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,YAAY,CAAC,IAAI,EAAE,UAAU,GAAG,SAAS,CAaxD"}
|
package/dist/preset-prompt.js
DELETED
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
import { renderTemplate } from './prompt-template.js';
|
|
2
|
-
import { presetContext } from './preset-registry.js';
|
|
3
|
-
/**
|
|
4
|
-
* The default target a preset runs against (#874): the session it was launched from, falling back
|
|
5
|
-
* to the whole codebase when there is no session yet. A template, not a plain string — see
|
|
6
|
-
* {@link definePreset} for why that distinction matters.
|
|
7
|
-
*/
|
|
8
|
-
export const DEFAULT_WHAT = '${{ tf.session_name || "entire codebase" }}';
|
|
9
|
-
/** The `tf` a preset renders against. `presets` defaults so a template never throws. */
|
|
10
|
-
function tfFrom(ctx) {
|
|
11
|
-
return { session_name: ctx.session_name, presets: ctx.presets ?? presetContext() };
|
|
12
|
-
}
|
|
13
|
-
/**
|
|
14
|
-
* {@link DEFAULT_WHAT}, rendered. Exported so a caller that *labels* an agent (the CLI's log title)
|
|
15
|
-
* says the same thing the prompt targets, instead of keeping its own copy of the default.
|
|
16
|
-
*/
|
|
17
|
-
export function defaultWhat(ctx = {}) {
|
|
18
|
-
return renderTemplate(DEFAULT_WHAT, { tf: { ...tfFrom(ctx), params: {} } });
|
|
19
|
-
}
|
|
20
|
-
/**
|
|
21
|
-
* Define a preset (#326/#330) from the three things that actually differ between them: the
|
|
22
|
-
* run-kind name, the prompt template, and what the one `what` param means. Every preset has the
|
|
23
|
-
* identical shape, so that shape lives here once instead of in each preset file.
|
|
24
|
-
*
|
|
25
|
-
* Omitting `whatDescription` defines a **paramless** preset: the prompt scopes itself (the triage
|
|
26
|
-
* and PM presets read the repo's own tickets or plans), so there is no blank to fill and the
|
|
27
|
-
* template renders verbatim. That case used to have a second near-identical factory, and six
|
|
28
|
-
* further presets hand-rolled it using neither — one optional argument covers all three.
|
|
29
|
-
*
|
|
30
|
-
* A blank/omitted `what` falls back to the default, so a dashboard button runs with zero input; a
|
|
31
|
-
* passed value is trimmed first. The default is itself rendered (#874): `${{ }}` has always been
|
|
32
|
-
* JS-evaluated, but the default was the one string that never went through the evaluator, so a
|
|
33
|
-
* `${{ }}` inside it reached the prompt as literal text. Rendering it against the same context is
|
|
34
|
-
* what lets the default depend on the session the preset was launched from.
|
|
35
|
-
*/
|
|
36
|
-
export function definePreset(spec) {
|
|
37
|
-
const { template, what } = spec;
|
|
38
|
-
// Paramless: nothing to fill, so the template is the prompt.
|
|
39
|
-
if (what === undefined)
|
|
40
|
-
return { ...spec, params: [], render: () => template };
|
|
41
|
-
return {
|
|
42
|
-
...spec,
|
|
43
|
-
params: [{ name: 'what', default: DEFAULT_WHAT, description: what }],
|
|
44
|
-
render: (value, ctx = {}) => {
|
|
45
|
-
// The default renders with an empty `params`: it can read the session, but not itself.
|
|
46
|
-
const target = value?.trim() || defaultWhat(ctx);
|
|
47
|
-
return renderTemplate(template, { tf: { ...tfFrom(ctx), params: { what: target } } });
|
|
48
|
-
},
|
|
49
|
-
};
|
|
50
|
-
}
|
|
51
|
-
//# sourceMappingURL=preset-prompt.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"preset-prompt.js","sourceRoot":"","sources":["../src/preset-prompt.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAA;AACrD,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAA;AAEpD;;;;GAIG;AACH,MAAM,CAAC,MAAM,YAAY,GAAG,6CAA6C,CAAA;AAsBzE,wFAAwF;AACxF,SAAS,MAAM,CAAC,GAAwB;IACtC,OAAO,EAAE,YAAY,EAAE,GAAG,CAAC,YAAY,EAAE,OAAO,EAAE,GAAG,CAAC,OAAO,IAAI,aAAa,EAAE,EAAE,CAAA;AACpF,CAAC;AAED;;;GAGG;AACH,MAAM,UAAU,WAAW,CAAC,GAAG,GAAwB,EAAE;IACvD,OAAO,cAAc,CAAC,YAAY,EAAE,EAAE,EAAE,EAAE,EAAE,GAAG,MAAM,CAAC,GAAG,CAAC,EAAE,MAAM,EAAE,EAAE,EAAE,EAAE,CAAC,CAAA;AAC7E,CAAC;AAoCD;;;;;;;;;;;;;;;GAeG;AACH,MAAM,UAAU,YAAY,CAAC,IAAgB;IAC3C,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,GAAG,IAAI,CAAA;IAC/B,6DAA6D;IAC7D,IAAI,IAAI,KAAK,SAAS;QAAE,OAAO,EAAE,GAAG,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,EAAE,GAAG,EAAE,CAAC,QAAQ,EAAE,CAAA;IAC9E,OAAO;QACL,GAAG,IAAI;QACP,MAAM,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,YAAY,EAAE,WAAW,EAAE,IAAI,EAAE,CAAC;QACpE,MAAM,EAAE,CAAC,KAAK,EAAE,GAAG,GAAG,EAAE,EAAE,EAAE;YAC1B,uFAAuF;YACvF,MAAM,MAAM,GAAG,KAAK,EAAE,IAAI,EAAE,IAAI,WAAW,CAAC,GAAG,CAAC,CAAA;YAChD,OAAO,cAAc,CAAC,QAAQ,EAAE,EAAE,EAAE,EAAE,EAAE,GAAG,MAAM,CAAC,GAAG,CAAC,EAAE,MAAM,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,CAAC,CAAA;QACvF,CAAC;KACF,CAAA;AACH,CAAC"}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Where the quality presets land on disk (#326), split out of `presets.ts` (#874) so it stays
|
|
3
|
-
* free of `node:*` — a preset's own template can reference `tf.presets.<name>.filePath`, and
|
|
4
|
-
* presets render in the browser (#520).
|
|
5
|
-
*
|
|
6
|
-
* Membership is *stems only*: the templates live in the catalog (`preset-catalog.ts`), which
|
|
7
|
-
* is the one table of presets. This module cannot hold them without forking that table — it
|
|
8
|
-
* sits below `preset-prompt.ts` (which reads {@link presetContext}), and the catalog sits
|
|
9
|
-
* above it, so importing the catalog from here would cycle. `presets.ts` joins the two on the
|
|
10
|
-
* node side, and its `PRESETS` export derives from the catalog rather than re-binding the
|
|
11
|
-
* generated constants a second time.
|
|
12
|
-
*/
|
|
13
|
-
/**
|
|
14
|
-
* The file stems of the presets that materialize to disk. The stem is both the on-disk name
|
|
15
|
-
* and the `tf.presets.<stem>` key the prompts read: `tf.presets.security_audit.filePath` uses
|
|
16
|
-
* the underscore file stem, not the hyphenated run-kind name (`security-audit`).
|
|
17
|
-
*/
|
|
18
|
-
export declare const PRESET_STEMS: readonly ['maintainability', 'readability', 'security_audit', 'research', 'ux', 'maintenance'];
|
|
19
|
-
/** Where the materialized presets live under a repo's `.the-framework/` (#326). */
|
|
20
|
-
export declare const PRESET_DIR = ".the-framework/presets";
|
|
21
|
-
/**
|
|
22
|
-
* The workspace-relative path a materialized preset lives at, e.g.
|
|
23
|
-
* `.the-framework/presets/maintainability.md`. A TODO entry carries this as
|
|
24
|
-
* `tf.presets.<name>.filePath`, and the agent opens it. Workspace-relative, because that
|
|
25
|
-
* is the agent's cwd.
|
|
26
|
-
*/
|
|
27
|
-
export declare function presetFilePath(name: string): string;
|
|
28
|
-
/** The `tf.presets` map the prompts read: stem -> `{ filePath }`. */
|
|
29
|
-
export declare function presetContext(): Record<string, {
|
|
30
|
-
filePath: string;
|
|
31
|
-
}>;
|
|
32
|
-
//# sourceMappingURL=preset-registry.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"preset-registry.d.ts","sourceRoot":"","sources":["../src/preset-registry.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;;GAWG;AAEH;;;;GAIG;AACH,eAAO,MAAM,YAAY,YAAI,iBAAiB,EAAE,aAAa,EAAE,gBAAgB,EAAE,UAAU,EAAE,IAAI,EAAE,aAAa,CAAU,CAAA;AAE1H,mFAAmF;AACnF,eAAO,MAAM,UAAU,2BAAiC,CAAA;AAExD;;;;;GAKG;AACH,wBAAgB,cAAc,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAEnD;AAED,qEAAqE;AACrE,wBAAgB,aAAa,IAAI,MAAM,CAAC,MAAM,EAAE;IAAE,QAAQ,EAAE,MAAM,CAAA;CAAE,CAAC,CAEpE"}
|
package/dist/preset-registry.js
DELETED
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { THE_FRAMEWORK_DIR } from './framework-dir.js';
|
|
2
|
-
/**
|
|
3
|
-
* Where the quality presets land on disk (#326), split out of `presets.ts` (#874) so it stays
|
|
4
|
-
* free of `node:*` — a preset's own template can reference `tf.presets.<name>.filePath`, and
|
|
5
|
-
* presets render in the browser (#520).
|
|
6
|
-
*
|
|
7
|
-
* Membership is *stems only*: the templates live in the catalog (`preset-catalog.ts`), which
|
|
8
|
-
* is the one table of presets. This module cannot hold them without forking that table — it
|
|
9
|
-
* sits below `preset-prompt.ts` (which reads {@link presetContext}), and the catalog sits
|
|
10
|
-
* above it, so importing the catalog from here would cycle. `presets.ts` joins the two on the
|
|
11
|
-
* node side, and its `PRESETS` export derives from the catalog rather than re-binding the
|
|
12
|
-
* generated constants a second time.
|
|
13
|
-
*/
|
|
14
|
-
/**
|
|
15
|
-
* The file stems of the presets that materialize to disk. The stem is both the on-disk name
|
|
16
|
-
* and the `tf.presets.<stem>` key the prompts read: `tf.presets.security_audit.filePath` uses
|
|
17
|
-
* the underscore file stem, not the hyphenated run-kind name (`security-audit`).
|
|
18
|
-
*/
|
|
19
|
-
export const PRESET_STEMS = ['maintainability', 'readability', 'security_audit', 'research', 'ux', 'maintenance'];
|
|
20
|
-
/** Where the materialized presets live under a repo's `.the-framework/` (#326). */
|
|
21
|
-
export const PRESET_DIR = `${THE_FRAMEWORK_DIR}/presets`;
|
|
22
|
-
/**
|
|
23
|
-
* The workspace-relative path a materialized preset lives at, e.g.
|
|
24
|
-
* `.the-framework/presets/maintainability.md`. A TODO entry carries this as
|
|
25
|
-
* `tf.presets.<name>.filePath`, and the agent opens it. Workspace-relative, because that
|
|
26
|
-
* is the agent's cwd.
|
|
27
|
-
*/
|
|
28
|
-
export function presetFilePath(name) {
|
|
29
|
-
return `${PRESET_DIR}/${name}.md`;
|
|
30
|
-
}
|
|
31
|
-
/** The `tf.presets` map the prompts read: stem -> `{ filePath }`. */
|
|
32
|
-
export function presetContext() {
|
|
33
|
-
return Object.fromEntries(PRESET_STEMS.map(name => [name, { filePath: presetFilePath(name) }]));
|
|
34
|
-
}
|
|
35
|
-
//# sourceMappingURL=preset-registry.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"preset-registry.js","sourceRoot":"","sources":["../src/preset-registry.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAA;AAEtD;;;;;;;;;;;GAWG;AAEH;;;;GAIG;AACH,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,iBAAiB,EAAE,aAAa,EAAE,gBAAgB,EAAE,UAAU,EAAE,IAAI,EAAE,aAAa,CAAU,CAAA;AAE1H,mFAAmF;AACnF,MAAM,CAAC,MAAM,UAAU,GAAG,GAAG,iBAAiB,UAAU,CAAA;AAExD;;;;;GAKG;AACH,MAAM,UAAU,cAAc,CAAC,IAAY;IACzC,OAAO,GAAG,UAAU,IAAI,IAAI,KAAK,CAAA;AACnC,CAAC;AAED,qEAAqE;AACrE,MAAM,UAAU,aAAa;IAC3B,OAAO,MAAM,CAAC,WAAW,CAAC,YAAY,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC,IAAI,EAAE,EAAE,QAAQ,EAAE,cAAc,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC,CAAC,CAAA;AACjG,CAAC"}
|
package/dist/presets.d.ts
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { type StoreFs } from './store/index.js';
|
|
2
|
-
export { PRESET_DIR, PRESET_STEMS, presetFilePath, presetContext } from './preset-registry.js';
|
|
3
|
-
/**
|
|
4
|
-
* The materialized presets by file stem, derived from the catalog — the registry names the
|
|
5
|
-
* stems, the catalog owns the templates, and this join is the only place the two meet. It
|
|
6
|
-
* used to be a second hand-maintained table re-binding the same generated constants, so a
|
|
7
|
-
* seventh quality preset was two edits with nothing checking they agreed; now a stem with no
|
|
8
|
-
* catalog row simply vanishes from this map, which `presets.test.ts`'s exact key-set
|
|
9
|
-
* assertion turns into a failure.
|
|
10
|
-
*/
|
|
11
|
-
export declare const PRESETS: Readonly<Record<string, string>>;
|
|
12
|
-
/**
|
|
13
|
-
* Materialize every preset into `<cwd>/.the-framework/presets/<name>.md` so an on-before-mergeable
|
|
14
|
-
* TODO entry's `filePath` resolves to a real file the agent can open (#326). The files keep
|
|
15
|
-
* the `${{ tf.params.what }}` blank unrendered: the entry tells the agent what to set it to.
|
|
16
|
-
* The package ships the presets compiled (`files: ["dist"]`), so they land on disk only once
|
|
17
|
-
* written here. Overwrites, so a re-install refreshes them to the installed framework version.
|
|
18
|
-
*/
|
|
19
|
-
export declare function materializePresets(cwd: string, fs?: StoreFs): Promise<void>;
|
|
20
|
-
//# sourceMappingURL=presets.d.ts.map
|
package/dist/presets.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"presets.d.ts","sourceRoot":"","sources":["../src/presets.ts"],"names":[],"mappings":"AAGA,OAAO,EAAe,KAAK,OAAO,EAAE,MAAM,kBAAkB,CAAA;AAK5D,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAA;AAE9F;;;;;;;GAOG;AACH,eAAO,MAAM,OAAO,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAIpD,CAAA;AAED;;;;;;GAMG;AACH,wBAAsB,kBAAkB,CAAC,GAAG,EAAE,MAAM,EAAE,EAAE,GAAE,OAAuB,GAAG,OAAO,CAAC,IAAI,CAAC,CAKhG"}
|
package/dist/presets.js
DELETED
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { join } from 'node:path';
|
|
2
|
-
import { PRESET_DIR, PRESET_STEMS } from './preset-registry.js';
|
|
3
|
-
import { presets } from './preset-catalog.js';
|
|
4
|
-
import { nodeStoreFs } from './store/index.js';
|
|
5
|
-
// The registry moved to `preset-registry.ts` (#874) to keep it free of `node:*`, since a preset
|
|
6
|
-
// template can now read `tf.presets.<name>.filePath` and presets render in the browser (#520).
|
|
7
|
-
// Re-exported here so every existing import site keeps working.
|
|
8
|
-
export { PRESET_DIR, PRESET_STEMS, presetFilePath, presetContext } from './preset-registry.js';
|
|
9
|
-
/**
|
|
10
|
-
* The materialized presets by file stem, derived from the catalog — the registry names the
|
|
11
|
-
* stems, the catalog owns the templates, and this join is the only place the two meet. It
|
|
12
|
-
* used to be a second hand-maintained table re-binding the same generated constants, so a
|
|
13
|
-
* seventh quality preset was two edits with nothing checking they agreed; now a stem with no
|
|
14
|
-
* catalog row simply vanishes from this map, which `presets.test.ts`'s exact key-set
|
|
15
|
-
* assertion turns into a failure.
|
|
16
|
-
*/
|
|
17
|
-
export const PRESETS = Object.fromEntries(Object.values(presets)
|
|
18
|
-
.map(def => [def.name.replace(/-/g, '_'), def.template])
|
|
19
|
-
.filter(([stem]) => PRESET_STEMS.includes(stem)));
|
|
20
|
-
/**
|
|
21
|
-
* Materialize every preset into `<cwd>/.the-framework/presets/<name>.md` so an on-before-mergeable
|
|
22
|
-
* TODO entry's `filePath` resolves to a real file the agent can open (#326). The files keep
|
|
23
|
-
* the `${{ tf.params.what }}` blank unrendered: the entry tells the agent what to set it to.
|
|
24
|
-
* The package ships the presets compiled (`files: ["dist"]`), so they land on disk only once
|
|
25
|
-
* written here. Overwrites, so a re-install refreshes them to the installed framework version.
|
|
26
|
-
*/
|
|
27
|
-
export async function materializePresets(cwd, fs = nodeStoreFs()) {
|
|
28
|
-
await fs.mkdir(join(cwd, PRESET_DIR));
|
|
29
|
-
for (const [name, text] of Object.entries(PRESETS)) {
|
|
30
|
-
await fs.write(join(cwd, PRESET_DIR, `${name}.md`), text);
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
//# sourceMappingURL=presets.js.map
|
package/dist/presets.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"presets.js","sourceRoot":"","sources":["../src/presets.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAA;AAChC,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;AAC/D,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAA;AAC7C,OAAO,EAAE,WAAW,EAAgB,MAAM,kBAAkB,CAAA;AAE5D,gGAAgG;AAChG,+FAA+F;AAC/F,gEAAgE;AAChE,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAA;AAE9F;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,OAAO,GAAqC,MAAM,CAAC,WAAW,CACzE,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC;KACnB,GAAG,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,GAAG,CAAC,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,GAAG,CAAC,EAAE,GAAG,CAAC,QAAQ,CAAU,CAAC;KAChE,MAAM,CAAC,CAAC,CAAC,IAAI,CAAC,EAAE,EAAE,CAAE,YAAkC,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,CAC1E,CAAA;AAED;;;;;;GAMG;AACH,MAAM,CAAC,KAAK,UAAU,kBAAkB,CAAC,GAAW,EAAE,EAAE,GAAY,WAAW,EAAE;IAC/E,MAAM,EAAE,CAAC,KAAK,CAAC,IAAI,CAAC,GAAG,EAAE,UAAU,CAAC,CAAC,CAAA;IACrC,KAAK,MAAM,CAAC,IAAI,EAAE,IAAI,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,OAAO,CAAC,EAAE,CAAC;QACnD,MAAM,EAAE,CAAC,KAAK,CAAC,IAAI,CAAC,GAAG,EAAE,UAAU,EAAE,GAAG,IAAI,KAAK,CAAC,EAAE,IAAI,CAAC,CAAA;IAC3D,CAAC;AACH,CAAC"}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import type { PreviewHandlers } from './dashboard/telefunc-serve.js';
|
|
2
|
-
/** Inputs to {@link createPreviewRuntime}. */
|
|
3
|
-
export interface PreviewRuntimeOptions {
|
|
4
|
-
/** The daemon's home id, so a request with no project id targets the home workspace. */
|
|
5
|
-
homeId: string;
|
|
6
|
-
/** Resolve a project id to its checkout path (or the home `cwd`); shared with the run runtime. */
|
|
7
|
-
resolveProject: (id: string | undefined) => Promise<string | undefined>;
|
|
8
|
-
}
|
|
9
|
-
/** The preview surface the dashboard drives, plus the teardown that outlives the daemon. */
|
|
10
|
-
export interface PreviewRuntime {
|
|
11
|
-
/** The Preview handler set (#475/#797), handed to the dashboard as one value so `runId` survives. */
|
|
12
|
-
preview: PreviewHandlers;
|
|
13
|
-
/** Stop every live preview so their dev servers do not outlive the daemon (#475). */
|
|
14
|
-
dispose: () => Promise<void>;
|
|
15
|
-
}
|
|
16
|
-
/**
|
|
17
|
-
* On-demand app preview (#475), one long-lived preview process per project (plus one per session that
|
|
18
|
-
* asks, #797), kept alive across the request that opens it and the Stop that closes it. Split out of
|
|
19
|
-
* the project runtime because it shares nothing with the run half but the project resolver and the
|
|
20
|
-
* key scheme: previews know nothing about runs, and the run half reaches in only to stop a finished
|
|
21
|
-
* run's preview.
|
|
22
|
-
*
|
|
23
|
-
* Track a preview under its key and evict it the moment it stops serving (stop, or a self-exit: crash
|
|
24
|
-
* / build error / the user killing it), so status never reports a dead URL and the idempotent open
|
|
25
|
-
* below never hands back a corpse instead of restarting.
|
|
26
|
-
*
|
|
27
|
-
* Since #797 the key carries the session too, because a session serves its OWN worktree: one preview
|
|
28
|
-
* per project as before, plus one per session that asks for it, each pointing at the tree it belongs
|
|
29
|
-
* to. Keyed by project alone, a session's Serve booted the project's checkout and showed you code
|
|
30
|
-
* that session never wrote.
|
|
31
|
-
*/
|
|
32
|
-
export declare function createPreviewRuntime({ homeId, resolveProject }: PreviewRuntimeOptions): PreviewRuntime;
|
|
33
|
-
//# sourceMappingURL=preview-runtime.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"preview-runtime.d.ts","sourceRoot":"","sources":["../src/preview-runtime.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAA;AAIpE,8CAA8C;AAC9C,MAAM,WAAW,qBAAqB;IACpC,wFAAwF;IACxF,MAAM,EAAE,MAAM,CAAA;IACd,kGAAkG;IAClG,cAAc,EAAE,CAAC,EAAE,EAAE,MAAM,GAAG,SAAS,KAAK,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAAA;CACxE;AAED,4FAA4F;AAC5F,MAAM,WAAW,cAAc;IAC7B,qGAAqG;IACrG,OAAO,EAAE,eAAe,CAAA;IACxB,qFAAqF;IACrF,OAAO,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAA;CAC7B;AAED;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,oBAAoB,CAAC,EAAE,MAAM,EAAE,cAAc,EAAE,EAAE,qBAAqB,GAAG,cAAc,CAqEtG"}
|
package/dist/preview-runtime.js
DELETED
|
@@ -1,96 +0,0 @@
|
|
|
1
|
-
import { resolveRunCheckout } from './store/index.js';
|
|
2
|
-
import { startPreview, detectServeTargets } from './preview.js';
|
|
3
|
-
import { scopedKey } from './runtime-keys.js';
|
|
4
|
-
import { errorMessage } from './error-message.js';
|
|
5
|
-
/**
|
|
6
|
-
* On-demand app preview (#475), one long-lived preview process per project (plus one per session that
|
|
7
|
-
* asks, #797), kept alive across the request that opens it and the Stop that closes it. Split out of
|
|
8
|
-
* the project runtime because it shares nothing with the run half but the project resolver and the
|
|
9
|
-
* key scheme: previews know nothing about runs, and the run half reaches in only to stop a finished
|
|
10
|
-
* run's preview.
|
|
11
|
-
*
|
|
12
|
-
* Track a preview under its key and evict it the moment it stops serving (stop, or a self-exit: crash
|
|
13
|
-
* / build error / the user killing it), so status never reports a dead URL and the idempotent open
|
|
14
|
-
* below never hands back a corpse instead of restarting.
|
|
15
|
-
*
|
|
16
|
-
* Since #797 the key carries the session too, because a session serves its OWN worktree: one preview
|
|
17
|
-
* per project as before, plus one per session that asks for it, each pointing at the tree it belongs
|
|
18
|
-
* to. Keyed by project alone, a session's Serve booted the project's checkout and showed you code
|
|
19
|
-
* that session never wrote.
|
|
20
|
-
*/
|
|
21
|
-
export function createPreviewRuntime({ homeId, resolveProject }) {
|
|
22
|
-
const activePreviews = new Map();
|
|
23
|
-
const trackPreview = (key, handle) => {
|
|
24
|
-
activePreviews.set(key, handle);
|
|
25
|
-
void handle.exited.then(() => {
|
|
26
|
-
if (activePreviews.get(key) === handle)
|
|
27
|
-
activePreviews.delete(key);
|
|
28
|
-
});
|
|
29
|
-
};
|
|
30
|
-
// The app the user last served per project (#651), so re-serving a monorepo picks it again
|
|
31
|
-
// without re-choosing. In-memory: a live preview already rehydrates via onPreviewStatus, and
|
|
32
|
-
// the pick resets on daemon restart (the picker still lists everything).
|
|
33
|
-
const lastServeTarget = new Map();
|
|
34
|
-
const onServeTargets = async (targetProjectId, runId) => {
|
|
35
|
-
const projectCwd = await resolveProject(targetProjectId);
|
|
36
|
-
if (!projectCwd)
|
|
37
|
-
return [];
|
|
38
|
-
// Detected in the checkout that will actually be served: a session's branch may have added or
|
|
39
|
-
// removed a servable package, and offering the project's list would offer apps it cannot serve.
|
|
40
|
-
const serveCwd = await resolveRunCheckout(projectCwd, runId);
|
|
41
|
-
return detectServeTargets(serveCwd).catch(() => []);
|
|
42
|
-
};
|
|
43
|
-
const onPreview = async (targetProjectId, targetId, runId) => {
|
|
44
|
-
const projectKey = targetProjectId ?? homeId;
|
|
45
|
-
const key = scopedKey(projectKey, runId);
|
|
46
|
-
const existing = activePreviews.get(key);
|
|
47
|
-
if (existing)
|
|
48
|
-
return { ok: true, url: existing.url, command: existing.command };
|
|
49
|
-
const projectCwd = await resolveProject(targetProjectId);
|
|
50
|
-
if (!projectCwd)
|
|
51
|
-
return { ok: false, error: `unknown project: ${targetProjectId}` };
|
|
52
|
-
const serveCwd = await resolveRunCheckout(projectCwd, runId);
|
|
53
|
-
try {
|
|
54
|
-
// Resolve the pick: an explicit choice, else the one remembered from last time. Both are
|
|
55
|
-
// matched against the live target list so a stale/unknown id falls back to the root default.
|
|
56
|
-
// The memory is per project, not per session: which app you serve is a property of the repo.
|
|
57
|
-
const wantId = targetId ?? lastServeTarget.get(projectKey);
|
|
58
|
-
const target = wantId ? (await detectServeTargets(serveCwd).catch(() => [])).find(t => t.id === wantId) : undefined;
|
|
59
|
-
const handle = await startPreview(target ? { cwd: serveCwd, target } : { cwd: serveCwd });
|
|
60
|
-
// A racing second open won the slot while we were booting: keep theirs, drop ours.
|
|
61
|
-
const raced = activePreviews.get(key);
|
|
62
|
-
if (raced) {
|
|
63
|
-
await handle.stop().catch(() => { });
|
|
64
|
-
return { ok: true, url: raced.url, command: raced.command };
|
|
65
|
-
}
|
|
66
|
-
if (target)
|
|
67
|
-
lastServeTarget.set(projectKey, target.id);
|
|
68
|
-
trackPreview(key, handle);
|
|
69
|
-
return { ok: true, url: handle.url, command: handle.command };
|
|
70
|
-
}
|
|
71
|
-
catch (err) {
|
|
72
|
-
return { ok: false, error: errorMessage(err) };
|
|
73
|
-
}
|
|
74
|
-
};
|
|
75
|
-
const onStopPreview = async (targetProjectId, runId) => {
|
|
76
|
-
const key = scopedKey(targetProjectId ?? homeId, runId);
|
|
77
|
-
const handle = activePreviews.get(key);
|
|
78
|
-
if (!handle)
|
|
79
|
-
return;
|
|
80
|
-
activePreviews.delete(key);
|
|
81
|
-
await handle.stop().catch(() => { });
|
|
82
|
-
};
|
|
83
|
-
const onPreviewStatus = (targetProjectId, runId) => {
|
|
84
|
-
const handle = activePreviews.get(scopedKey(targetProjectId ?? homeId, runId));
|
|
85
|
-
return handle ? { running: true, url: handle.url, command: handle.command } : { running: false };
|
|
86
|
-
};
|
|
87
|
-
const dispose = async () => {
|
|
88
|
-
await Promise.all([...activePreviews.values()].map(p => p.stop().catch(() => { })));
|
|
89
|
-
activePreviews.clear();
|
|
90
|
-
};
|
|
91
|
-
return {
|
|
92
|
-
preview: { start: onPreview, targets: onServeTargets, stop: onStopPreview, status: onPreviewStatus },
|
|
93
|
-
dispose,
|
|
94
|
-
};
|
|
95
|
-
}
|
|
96
|
-
//# sourceMappingURL=preview-runtime.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"preview-runtime.js","sourceRoot":"","sources":["../src/preview-runtime.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,M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