@openagt/dashboard 0.0.0-stage → 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/LICENSE +21 -0
- package/README.md +125 -2
- package/dist/agent-id.d.ts +13 -0
- package/dist/agent-id.d.ts.map +1 -0
- package/dist/agent-id.js +20 -0
- package/dist/agent-id.js.map +1 -0
- package/dist/agent-locks.d.ts +3 -0
- package/dist/agent-locks.d.ts.map +1 -0
- package/dist/agent-locks.js +40 -0
- package/dist/agent-locks.js.map +1 -0
- package/dist/agent-view.d.ts +39 -0
- package/dist/agent-view.d.ts.map +1 -0
- package/dist/agent-view.js +45 -0
- package/dist/agent-view.js.map +1 -0
- package/dist/bin.d.ts +3 -0
- package/dist/bin.d.ts.map +1 -0
- package/dist/bin.js +11 -0
- package/dist/bin.js.map +1 -0
- package/dist/branch-name.d.ts +8 -0
- package/dist/branch-name.d.ts.map +1 -0
- package/dist/branch-name.js +20 -0
- package/dist/branch-name.js.map +1 -0
- package/dist/bridge-browser.d.ts +217 -0
- package/dist/bridge-browser.d.ts.map +1 -0
- package/dist/bridge-browser.js +520 -0
- package/dist/bridge-browser.js.map +1 -0
- package/dist/browser-stream.d.ts +20 -0
- package/dist/browser-stream.d.ts.map +1 -0
- package/dist/browser-stream.js +51 -0
- package/dist/browser-stream.js.map +1 -0
- package/dist/browser.d.ts +16 -0
- package/dist/browser.d.ts.map +1 -0
- package/dist/browser.js +38 -0
- package/dist/browser.js.map +1 -0
- package/dist/built-in.d.ts +38 -0
- package/dist/built-in.d.ts.map +1 -0
- package/dist/built-in.js +119 -0
- package/dist/built-in.js.map +1 -0
- package/dist/chrome-extension/background.js +532 -0
- package/dist/chrome-extension/content.js +1475 -0
- package/dist/chrome-extension/driver-plan.js +41 -0
- package/dist/chrome-extension/fingerprint.js +43 -0
- package/dist/chrome-extension/manifest.json +31 -0
- package/dist/chrome-extension/options.html +48 -0
- package/dist/chrome-extension/options.js +122 -0
- package/dist/cli.d.ts +43 -0
- package/dist/cli.d.ts.map +1 -0
- package/dist/cli.js +186 -0
- package/dist/cli.js.map +1 -0
- package/dist/client.d.ts +16 -0
- package/dist/client.d.ts.map +1 -0
- package/dist/client.js +30 -0
- package/dist/client.js.map +1 -0
- package/dist/cloud-run-state.d.ts +27 -0
- package/dist/cloud-run-state.d.ts.map +1 -0
- package/dist/cloud-run-state.js +36 -0
- package/dist/cloud-run-state.js.map +1 -0
- package/dist/cloud-scratch-refs.d.ts +85 -0
- package/dist/cloud-scratch-refs.d.ts.map +1 -0
- package/dist/cloud-scratch-refs.js +275 -0
- package/dist/cloud-scratch-refs.js.map +1 -0
- package/dist/cloud-work.d.ts +66 -0
- package/dist/cloud-work.d.ts.map +1 -0
- package/dist/cloud-work.js +204 -0
- package/dist/cloud-work.js.map +1 -0
- package/dist/daemon-runtime.d.ts +42 -0
- package/dist/daemon-runtime.d.ts.map +1 -0
- package/dist/daemon-runtime.js +183 -0
- package/dist/daemon-runtime.js.map +1 -0
- package/dist/daemon-services.d.ts +37 -0
- package/dist/daemon-services.d.ts.map +1 -0
- package/dist/daemon-services.js +126 -0
- package/dist/daemon-services.js.map +1 -0
- package/dist/daemon-tick.d.ts +68 -0
- package/dist/daemon-tick.d.ts.map +1 -0
- package/dist/daemon-tick.js +97 -0
- package/dist/daemon-tick.js.map +1 -0
- package/dist/daemon.d.ts +65 -0
- package/dist/daemon.d.ts.map +1 -0
- package/dist/daemon.js +202 -0
- package/dist/daemon.js.map +1 -0
- package/dist/dashboard/activity.d.ts +41 -0
- package/dist/dashboard/activity.d.ts.map +1 -0
- package/dist/dashboard/activity.js +56 -0
- package/dist/dashboard/activity.js.map +1 -0
- package/dist/dashboard/agent-handoff.d.ts +244 -0
- package/dist/dashboard/agent-handoff.d.ts.map +1 -0
- package/dist/dashboard/agent-handoff.js +310 -0
- package/dist/dashboard/agent-handoff.js.map +1 -0
- package/dist/dashboard/bridge-endpoints.d.ts +158 -0
- package/dist/dashboard/bridge-endpoints.d.ts.map +1 -0
- package/dist/dashboard/bridge-endpoints.js +382 -0
- package/dist/dashboard/bridge-endpoints.js.map +1 -0
- package/dist/dashboard/bridge-question.d.ts +33 -0
- package/dist/dashboard/bridge-question.d.ts.map +1 -0
- package/dist/dashboard/bridge-question.js +20 -0
- package/dist/dashboard/bridge-question.js.map +1 -0
- package/dist/dashboard/bridge-sessions.d.ts +25 -0
- package/dist/dashboard/bridge-sessions.d.ts.map +1 -0
- package/dist/dashboard/bridge-sessions.js +46 -0
- package/dist/dashboard/bridge-sessions.js.map +1 -0
- package/dist/dashboard/bridge-starts.d.ts +61 -0
- package/dist/dashboard/bridge-starts.d.ts.map +1 -0
- package/dist/dashboard/bridge-starts.js +94 -0
- package/dist/dashboard/bridge-starts.js.map +1 -0
- package/dist/dashboard/bridge-store.d.ts +179 -0
- package/dist/dashboard/bridge-store.d.ts.map +1 -0
- package/dist/dashboard/bridge-store.js +262 -0
- package/dist/dashboard/bridge-store.js.map +1 -0
- package/dist/dashboard/bundle.d.ts +12 -0
- package/dist/dashboard/bundle.d.ts.map +1 -0
- package/dist/dashboard/bundle.js +22 -0
- package/dist/dashboard/bundle.js.map +1 -0
- package/dist/dashboard/cache.d.ts +47 -0
- package/dist/dashboard/cache.d.ts.map +1 -0
- package/dist/dashboard/cache.js +87 -0
- package/dist/dashboard/cache.js.map +1 -0
- package/dist/dashboard/content-type.d.ts +3 -0
- package/dist/dashboard/content-type.d.ts.map +1 -0
- package/dist/dashboard/content-type.js +31 -0
- package/dist/dashboard/content-type.js.map +1 -0
- package/dist/dashboard/dashboard.d.ts +38 -0
- package/dist/dashboard/dashboard.d.ts.map +1 -0
- package/dist/dashboard/dashboard.js +42 -0
- package/dist/dashboard/dashboard.js.map +1 -0
- package/dist/dashboard/docs.d.ts +39 -0
- package/dist/dashboard/docs.d.ts.map +1 -0
- package/dist/dashboard/docs.js +59 -0
- package/dist/dashboard/docs.js.map +1 -0
- package/dist/dashboard/git-status.d.ts +44 -0
- package/dist/dashboard/git-status.d.ts.map +1 -0
- package/dist/dashboard/git-status.js +37 -0
- package/dist/dashboard/git-status.js.map +1 -0
- package/dist/dashboard/http.d.ts +29 -0
- package/dist/dashboard/http.d.ts.map +1 -0
- package/dist/dashboard/http.js +74 -0
- package/dist/dashboard/http.js.map +1 -0
- package/dist/dashboard/index.d.ts +24 -0
- package/dist/dashboard/index.d.ts.map +1 -0
- package/dist/dashboard/index.js +23 -0
- package/dist/dashboard/index.js.map +1 -0
- package/dist/dashboard/interventions.d.ts +67 -0
- package/dist/dashboard/interventions.d.ts.map +1 -0
- package/dist/dashboard/interventions.js +169 -0
- package/dist/dashboard/interventions.js.map +1 -0
- package/dist/dashboard/keyed-watcher.d.ts +29 -0
- package/dist/dashboard/keyed-watcher.d.ts.map +1 -0
- package/dist/dashboard/keyed-watcher.js +42 -0
- package/dist/dashboard/keyed-watcher.js.map +1 -0
- package/dist/dashboard/keys.d.ts +31 -0
- package/dist/dashboard/keys.d.ts.map +1 -0
- package/dist/dashboard/keys.js +37 -0
- package/dist/dashboard/keys.js.map +1 -0
- package/dist/dashboard/models.d.ts +25 -0
- package/dist/dashboard/models.d.ts.map +1 -0
- package/dist/dashboard/models.js +30 -0
- package/dist/dashboard/models.js.map +1 -0
- package/dist/dashboard/module-host.d.ts +44 -0
- package/dist/dashboard/module-host.d.ts.map +1 -0
- package/dist/dashboard/module-host.js +91 -0
- package/dist/dashboard/module-host.js.map +1 -0
- package/dist/dashboard/module-serve.d.ts +15 -0
- package/dist/dashboard/module-serve.d.ts.map +1 -0
- package/dist/dashboard/module-serve.js +45 -0
- package/dist/dashboard/module-serve.js.map +1 -0
- package/dist/dashboard/open-in-app.d.ts +43 -0
- package/dist/dashboard/open-in-app.d.ts.map +1 -0
- package/dist/dashboard/open-in-app.js +98 -0
- package/dist/dashboard/open-in-app.js.map +1 -0
- package/dist/dashboard/open-questions.d.ts +45 -0
- package/dist/dashboard/open-questions.d.ts.map +1 -0
- package/dist/dashboard/open-questions.js +62 -0
- package/dist/dashboard/open-questions.js.map +1 -0
- package/dist/dashboard/overview.d.ts +78 -0
- package/dist/dashboard/overview.d.ts.map +1 -0
- package/dist/dashboard/overview.js +87 -0
- package/dist/dashboard/overview.js.map +1 -0
- package/dist/dashboard/projects.d.ts +101 -0
- package/dist/dashboard/projects.d.ts.map +1 -0
- package/dist/dashboard/projects.js +63 -0
- package/dist/dashboard/projects.js.map +1 -0
- package/dist/dashboard/pull-requests.d.ts +127 -0
- package/dist/dashboard/pull-requests.d.ts.map +1 -0
- package/dist/dashboard/pull-requests.js +137 -0
- package/dist/dashboard/pull-requests.js.map +1 -0
- package/dist/dashboard/queue.d.ts +17 -0
- package/dist/dashboard/queue.d.ts.map +1 -0
- package/dist/dashboard/queue.js +19 -0
- package/dist/dashboard/queue.js.map +1 -0
- package/dist/dashboard/quota.d.ts +53 -0
- package/dist/dashboard/quota.d.ts.map +1 -0
- package/dist/dashboard/quota.js +42 -0
- package/dist/dashboard/quota.js.map +1 -0
- package/dist/dashboard/relay-endpoints.d.ts +32 -0
- package/dist/dashboard/relay-endpoints.d.ts.map +1 -0
- package/dist/dashboard/relay-endpoints.js +115 -0
- package/dist/dashboard/relay-endpoints.js.map +1 -0
- package/dist/dashboard/remote-run.d.ts +95 -0
- package/dist/dashboard/remote-run.d.ts.map +1 -0
- package/dist/dashboard/remote-run.js +235 -0
- package/dist/dashboard/remote-run.js.map +1 -0
- package/dist/dashboard/rpc-serve.d.ts +106 -0
- package/dist/dashboard/rpc-serve.d.ts.map +1 -0
- package/dist/dashboard/rpc-serve.js +180 -0
- package/dist/dashboard/rpc-serve.js.map +1 -0
- package/dist/dashboard/run-inbox.d.ts +31 -0
- package/dist/dashboard/run-inbox.d.ts.map +1 -0
- package/dist/dashboard/run-inbox.js +51 -0
- package/dist/dashboard/run-inbox.js.map +1 -0
- package/dist/dashboard/server.d.ts +105 -0
- package/dist/dashboard/server.d.ts.map +1 -0
- package/dist/dashboard/server.js +231 -0
- package/dist/dashboard/server.js.map +1 -0
- package/dist/dashboard/static.d.ts +9 -0
- package/dist/dashboard/static.d.ts.map +1 -0
- package/dist/dashboard/static.js +54 -0
- package/dist/dashboard/static.js.map +1 -0
- package/dist/dashboard/types.d.ts +135 -0
- package/dist/dashboard/types.d.ts.map +1 -0
- package/dist/dashboard/types.js +2 -0
- package/dist/dashboard/types.js.map +1 -0
- package/dist/dashboard/web-start-endpoints.d.ts +32 -0
- package/dist/dashboard/web-start-endpoints.d.ts.map +1 -0
- package/dist/dashboard/web-start-endpoints.js +75 -0
- package/dist/dashboard/web-start-endpoints.js.map +1 -0
- package/dist/dashboard-bundle/assets/client-CbBRB9m4.js +9 -0
- package/dist/dashboard-bundle/assets/jsx-runtime-By8HlURe.js +1 -0
- package/dist/dashboard-bundle/assets/main-B98UOA3_.js +140 -0
- package/dist/dashboard-bundle/assets/main-ByRjbCiA.css +2 -0
- package/dist/dashboard-bundle/assets/module-v213KWfH.js +21 -0
- package/dist/dashboard-bundle/assets/react-CZI7_Jkm.js +1 -0
- package/dist/dashboard-bundle/assets/react-dom-cJyBB_A4.js +1 -0
- package/dist/dashboard-bundle/assets/rolldown-runtime-QTnfLwEv.js +1 -0
- package/dist/dashboard-bundle/host/module.js +1 -0
- package/dist/dashboard-bundle/host/react-dom-client.js +1 -0
- package/dist/dashboard-bundle/host/react-dom.js +1 -0
- package/dist/dashboard-bundle/host/react-jsx-runtime.js +1 -0
- package/dist/dashboard-bundle/host/react.js +1 -0
- package/dist/dashboard-bundle/index.html +42 -0
- package/dist/dashboard-bundle/logo-animated.svg +34 -0
- package/dist/dashboard-bundle/logo.svg +16 -0
- package/dist/dashboard-rpc/context.d.ts +56 -0
- package/dist/dashboard-rpc/context.d.ts.map +1 -0
- package/dist/dashboard-rpc/context.js +106 -0
- package/dist/dashboard-rpc/context.js.map +1 -0
- package/dist/dashboard-rpc/control.d.ts +124 -0
- package/dist/dashboard-rpc/control.d.ts.map +1 -0
- package/dist/dashboard-rpc/control.js +284 -0
- package/dist/dashboard-rpc/control.js.map +1 -0
- package/dist/dashboard-rpc/devices.d.ts +9 -0
- package/dist/dashboard-rpc/devices.d.ts.map +1 -0
- package/dist/dashboard-rpc/devices.js +12 -0
- package/dist/dashboard-rpc/devices.js.map +1 -0
- package/dist/dashboard-rpc/events-tail.d.ts +68 -0
- package/dist/dashboard-rpc/events-tail.d.ts.map +1 -0
- package/dist/dashboard-rpc/events-tail.js +257 -0
- package/dist/dashboard-rpc/events-tail.js.map +1 -0
- package/dist/dashboard-rpc/events.d.ts +39 -0
- package/dist/dashboard-rpc/events.d.ts.map +1 -0
- package/dist/dashboard-rpc/events.js +47 -0
- package/dist/dashboard-rpc/events.js.map +1 -0
- package/dist/dashboard-rpc/index.d.ts +29 -0
- package/dist/dashboard-rpc/index.d.ts.map +1 -0
- package/dist/dashboard-rpc/index.js +40 -0
- package/dist/dashboard-rpc/index.js.map +1 -0
- package/dist/dashboard-rpc/models.d.ts +4 -0
- package/dist/dashboard-rpc/models.d.ts.map +1 -0
- package/dist/dashboard-rpc/models.js +8 -0
- package/dist/dashboard-rpc/models.js.map +1 -0
- package/dist/dashboard-rpc/modules.d.ts +45 -0
- package/dist/dashboard-rpc/modules.d.ts.map +1 -0
- package/dist/dashboard-rpc/modules.js +79 -0
- package/dist/dashboard-rpc/modules.js.map +1 -0
- package/dist/dashboard-rpc/preferences.d.ts +41 -0
- package/dist/dashboard-rpc/preferences.d.ts.map +1 -0
- package/dist/dashboard-rpc/preferences.js +65 -0
- package/dist/dashboard-rpc/preferences.js.map +1 -0
- package/dist/dashboard-rpc/projects.d.ts +85 -0
- package/dist/dashboard-rpc/projects.d.ts.map +1 -0
- package/dist/dashboard-rpc/projects.js +129 -0
- package/dist/dashboard-rpc/projects.js.map +1 -0
- package/dist/dashboard-rpc/quota.d.ts +4 -0
- package/dist/dashboard-rpc/quota.d.ts.map +1 -0
- package/dist/dashboard-rpc/quota.js +15 -0
- package/dist/dashboard-rpc/quota.js.map +1 -0
- package/dist/dashboard-rpc/reads.d.ts +185 -0
- package/dist/dashboard-rpc/reads.d.ts.map +1 -0
- package/dist/dashboard-rpc/reads.js +370 -0
- package/dist/dashboard-rpc/reads.js.map +1 -0
- package/dist/dashboard-rpc/relay-agent.d.ts +9 -0
- package/dist/dashboard-rpc/relay-agent.d.ts.map +1 -0
- package/dist/dashboard-rpc/relay-agent.js +21 -0
- package/dist/dashboard-rpc/relay-agent.js.map +1 -0
- package/dist/dashboard-rpc/relay-dispatch.d.ts +9 -0
- package/dist/dashboard-rpc/relay-dispatch.d.ts.map +1 -0
- package/dist/dashboard-rpc/relay-dispatch.js +24 -0
- package/dist/dashboard-rpc/relay-dispatch.js.map +1 -0
- package/dist/dashboard-rpc/stream-forward.d.ts +17 -0
- package/dist/dashboard-rpc/stream-forward.d.ts.map +1 -0
- package/dist/dashboard-rpc/stream-forward.js +38 -0
- package/dist/dashboard-rpc/stream-forward.js.map +1 -0
- package/dist/dashboard-rpc/test-context.d.ts +23 -0
- package/dist/dashboard-rpc/test-context.d.ts.map +1 -0
- package/dist/dashboard-rpc/test-context.js +43 -0
- package/dist/dashboard-rpc/test-context.js.map +1 -0
- package/dist/driver-names.d.ts +22 -0
- package/dist/driver-names.d.ts.map +1 -0
- package/dist/driver-names.js +29 -0
- package/dist/driver-names.js.map +1 -0
- package/dist/error-message.d.ts +8 -0
- package/dist/error-message.d.ts.map +1 -0
- package/dist/error-message.js +10 -0
- package/dist/error-message.js.map +1 -0
- package/dist/event-stream.d.ts +33 -0
- package/dist/event-stream.d.ts.map +1 -0
- package/dist/event-stream.js +104 -0
- package/dist/event-stream.js.map +1 -0
- package/dist/events.d.ts +236 -0
- package/dist/events.d.ts.map +1 -0
- package/dist/events.js +5 -0
- package/dist/events.js.map +1 -0
- package/dist/format-bytes.d.ts +3 -0
- package/dist/format-bytes.d.ts.map +1 -0
- package/dist/format-bytes.js +18 -0
- package/dist/format-bytes.js.map +1 -0
- package/dist/has-remote.d.ts +8 -0
- package/dist/has-remote.d.ts.map +1 -0
- package/dist/has-remote.js +10 -0
- package/dist/has-remote.js.map +1 -0
- package/dist/index.d.ts +42 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +16 -0
- package/dist/index.js.map +1 -0
- package/dist/install.d.ts +31 -0
- package/dist/install.d.ts.map +1 -0
- package/dist/install.js +54 -0
- package/dist/install.js.map +1 -0
- package/dist/jsonl-tail.d.ts +59 -0
- package/dist/jsonl-tail.d.ts.map +1 -0
- package/dist/jsonl-tail.js +152 -0
- package/dist/jsonl-tail.js.map +1 -0
- package/dist/loopback-host.d.ts +20 -0
- package/dist/loopback-host.d.ts.map +1 -0
- package/dist/loopback-host.js +31 -0
- package/dist/loopback-host.js.map +1 -0
- package/dist/module-server.d.ts +56 -0
- package/dist/module-types/dashboard/components/DiffStat.d.ts +6 -0
- package/dist/module-types/dashboard/components/DriverModelMenu.d.ts +23 -0
- package/dist/module-types/dashboard/components/LinkActions.d.ts +26 -0
- package/dist/module-types/dashboard/components/Markdown.d.ts +4 -0
- package/dist/module-types/dashboard/components/SettingsRows.d.ts +37 -0
- package/dist/module-types/dashboard/components/StartAgentButton.d.ts +39 -0
- package/dist/module-types/dashboard/components/ui/badge.d.ts +2 -0
- package/dist/module-types/dashboard/components/ui/button.d.ts +10 -0
- package/dist/module-types/dashboard/components/ui/card.d.ts +5 -0
- package/dist/module-types/dashboard/components/ui/checkbox.d.ts +7 -0
- package/dist/module-types/dashboard/components/ui/dropdown-menu.d.ts +16 -0
- package/dist/module-types/dashboard/components/ui/input.d.ts +2 -0
- package/dist/module-types/dashboard/components/ui/option-label.d.ts +4 -0
- package/dist/module-types/dashboard/components/ui/popover.d.ts +8 -0
- package/dist/module-types/dashboard/components/ui/scroll-area.d.ts +10 -0
- package/dist/module-types/dashboard/components/ui/separator.d.ts +3 -0
- package/dist/module-types/dashboard/components/ui/skeleton.d.ts +2 -0
- package/dist/module-types/dashboard/components/ui/slider.d.ts +9 -0
- package/dist/module-types/dashboard/components/ui/tooltip.d.ts +11 -0
- package/dist/module-types/dashboard/lib/agent-settings.d.ts +2 -0
- package/dist/module-types/dashboard/lib/draft-handoff.d.ts +15 -0
- package/dist/module-types/dashboard/lib/format-date.d.ts +51 -0
- package/dist/module-types/dashboard/lib/host-services.d.ts +12 -0
- package/dist/module-types/dashboard/lib/models.d.ts +24 -0
- package/dist/module-types/dashboard/lib/route.d.ts +38 -0
- package/dist/module-types/dashboard/lib/rpc.d.ts +31 -0
- package/dist/module-types/dashboard/lib/use-action.d.ts +25 -0
- package/dist/module-types/dashboard/lib/use-async.d.ts +45 -0
- package/dist/module-types/dashboard/lib/use-modules.d.ts +79 -0
- package/dist/module-types/dashboard/lib/utils.d.ts +3 -0
- package/dist/module-types/dashboard/module/index.d.ts +335 -0
- package/dist/module-types/dashboard/rpc/models.d.ts +2 -0
- package/dist/module-types/dashboard/rpc/modules.d.ts +5 -0
- package/dist/module-types/src/agent-id.d.ts +12 -0
- package/dist/module-types/src/agent-locks.d.ts +2 -0
- package/dist/module-types/src/agent-view.d.ts +38 -0
- package/dist/module-types/src/bridge-browser.d.ts +216 -0
- package/dist/module-types/src/browser-stream.d.ts +19 -0
- package/dist/module-types/src/browser.d.ts +15 -0
- package/dist/module-types/src/built-in.d.ts +37 -0
- package/dist/module-types/src/client.d.ts +15 -0
- package/dist/module-types/src/cloud-run-state.d.ts +26 -0
- package/dist/module-types/src/dashboard/activity.d.ts +40 -0
- package/dist/module-types/src/dashboard/agent-handoff.d.ts +243 -0
- package/dist/module-types/src/dashboard/bridge-endpoints.d.ts +157 -0
- package/dist/module-types/src/dashboard/bridge-question.d.ts +32 -0
- package/dist/module-types/src/dashboard/bridge-store.d.ts +178 -0
- package/dist/module-types/src/dashboard/cache.d.ts +46 -0
- package/dist/module-types/src/dashboard/content-type.d.ts +2 -0
- package/dist/module-types/src/dashboard/dashboard.d.ts +37 -0
- package/dist/module-types/src/dashboard/docs.d.ts +38 -0
- package/dist/module-types/src/dashboard/git-status.d.ts +43 -0
- package/dist/module-types/src/dashboard/http.d.ts +28 -0
- package/dist/module-types/src/dashboard/interventions.d.ts +66 -0
- package/dist/module-types/src/dashboard/keyed-watcher.d.ts +28 -0
- package/dist/module-types/src/dashboard/keys.d.ts +30 -0
- package/dist/module-types/src/dashboard/models.d.ts +24 -0
- package/dist/module-types/src/dashboard/module-host.d.ts +43 -0
- package/dist/module-types/src/dashboard/module-serve.d.ts +14 -0
- package/dist/module-types/src/dashboard/open-in-app.d.ts +42 -0
- package/dist/module-types/src/dashboard/open-questions.d.ts +44 -0
- package/dist/module-types/src/dashboard/overview.d.ts +77 -0
- package/dist/module-types/src/dashboard/projects.d.ts +100 -0
- package/dist/module-types/src/dashboard/pull-requests.d.ts +126 -0
- package/dist/module-types/src/dashboard/queue.d.ts +16 -0
- package/dist/module-types/src/dashboard/quota.d.ts +52 -0
- package/dist/module-types/src/dashboard/remote-run.d.ts +94 -0
- package/dist/module-types/src/dashboard/rpc-serve.d.ts +105 -0
- package/dist/module-types/src/dashboard/run-inbox.d.ts +30 -0
- package/dist/module-types/src/dashboard/types.d.ts +134 -0
- package/dist/module-types/src/dashboard-rpc/context.d.ts +55 -0
- package/dist/module-types/src/dashboard-rpc/control.d.ts +123 -0
- package/dist/module-types/src/dashboard-rpc/devices.d.ts +8 -0
- package/dist/module-types/src/dashboard-rpc/events-tail.d.ts +67 -0
- package/dist/module-types/src/dashboard-rpc/events.d.ts +38 -0
- package/dist/module-types/src/dashboard-rpc/index.d.ts +28 -0
- package/dist/module-types/src/dashboard-rpc/models.d.ts +3 -0
- package/dist/module-types/src/dashboard-rpc/modules.d.ts +44 -0
- package/dist/module-types/src/dashboard-rpc/preferences.d.ts +40 -0
- package/dist/module-types/src/dashboard-rpc/projects.d.ts +84 -0
- package/dist/module-types/src/dashboard-rpc/quota.d.ts +3 -0
- package/dist/module-types/src/dashboard-rpc/reads.d.ts +184 -0
- package/dist/module-types/src/dashboard-rpc/relay-agent.d.ts +8 -0
- package/dist/module-types/src/dashboard-rpc/stream-forward.d.ts +16 -0
- package/dist/module-types/src/driver-names.d.ts +21 -0
- package/dist/module-types/src/error-message.d.ts +7 -0
- package/dist/module-types/src/event-stream.d.ts +32 -0
- package/dist/module-types/src/events.d.ts +235 -0
- package/dist/module-types/src/format-bytes.d.ts +2 -0
- package/dist/module-types/src/has-remote.d.ts +7 -0
- package/dist/module-types/src/index.d.ts +41 -0
- package/dist/module-types/src/jsonl-tail.d.ts +58 -0
- package/dist/module-types/src/loopback-host.d.ts +19 -0
- package/dist/module-types/src/node-fs.d.ts +32 -0
- package/dist/module-types/src/open-choices.d.ts +14 -0
- package/dist/module-types/src/openagent-dir.d.ts +10 -0
- package/dist/module-types/src/openagent-gitignore.d.ts +11 -0
- package/dist/module-types/src/pick-directory.d.ts +29 -0
- package/dist/module-types/src/preference-defaults.d.ts +42 -0
- package/dist/module-types/src/project-commands.d.ts +23 -0
- package/dist/module-types/src/project-errors.d.ts +59 -0
- package/dist/module-types/src/project-hooks.d.ts +129 -0
- package/dist/module-types/src/project-modules.d.ts +49 -0
- package/dist/module-types/src/project-presets.d.ts +29 -0
- package/dist/module-types/src/project.d.ts +28 -0
- package/dist/module-types/src/publish-levels.d.ts +32 -0
- package/dist/module-types/src/quota-boundary.d.ts +64 -0
- package/dist/module-types/src/quota-poller.d.ts +82 -0
- package/dist/module-types/src/registry.d.ts +226 -0
- package/dist/module-types/src/store/agent-checkout.d.ts +53 -0
- package/dist/module-types/src/store/agent-store.d.ts +266 -0
- package/dist/module-types/src/store/branches.d.ts +163 -0
- package/dist/module-types/src/store/git-host.d.ts +113 -0
- package/dist/module-types/src/store/index.d.ts +9 -0
- package/dist/module-types/src/store/provided.d.ts +16 -0
- package/dist/module-types/src/store/queue.d.ts +45 -0
- package/dist/module-types/src/store/repository.d.ts +32 -0
- package/dist/module-types/src/store/run-record.d.ts +21 -0
- package/dist/module-types/src/store/runs.d.ts +107 -0
- package/dist/module-types/src/store/tickets.d.ts +72 -0
- package/dist/module-types/src/terminal.d.ts +3 -0
- package/dist/module-types/src/worktrees.d.ts +89 -0
- package/dist/module.css +50 -0
- package/dist/node-fs.d.ts +33 -0
- package/dist/node-fs.d.ts.map +1 -0
- package/dist/node-fs.js +57 -0
- package/dist/node-fs.js.map +1 -0
- package/dist/open-choices.d.ts +15 -0
- package/dist/open-choices.d.ts.map +1 -0
- package/dist/open-choices.js +31 -0
- package/dist/open-choices.js.map +1 -0
- package/dist/openagent-dir.d.ts +11 -0
- package/dist/openagent-dir.d.ts.map +1 -0
- package/dist/openagent-dir.js +11 -0
- package/dist/openagent-dir.js.map +1 -0
- package/dist/openagent-gitignore.d.ts +12 -0
- package/dist/openagent-gitignore.d.ts.map +1 -0
- package/dist/openagent-gitignore.js +19 -0
- package/dist/openagent-gitignore.js.map +1 -0
- package/dist/pick-directory.d.ts +30 -0
- package/dist/pick-directory.d.ts.map +1 -0
- package/dist/pick-directory.js +102 -0
- package/dist/pick-directory.js.map +1 -0
- package/dist/preference-defaults.d.ts +43 -0
- package/dist/preference-defaults.d.ts.map +1 -0
- package/dist/preference-defaults.js +34 -0
- package/dist/preference-defaults.js.map +1 -0
- package/dist/project-commands.d.ts +24 -0
- package/dist/project-commands.d.ts.map +1 -0
- package/dist/project-commands.js +57 -0
- package/dist/project-commands.js.map +1 -0
- package/dist/project-errors.d.ts +60 -0
- package/dist/project-errors.d.ts.map +1 -0
- package/dist/project-errors.js +51 -0
- package/dist/project-errors.js.map +1 -0
- package/dist/project-hooks.d.ts +130 -0
- package/dist/project-hooks.d.ts.map +1 -0
- package/dist/project-hooks.js +232 -0
- package/dist/project-hooks.js.map +1 -0
- package/dist/project-modules.d.ts +50 -0
- package/dist/project-modules.d.ts.map +1 -0
- package/dist/project-modules.js +110 -0
- package/dist/project-modules.js.map +1 -0
- package/dist/project-pass.d.ts +32 -0
- package/dist/project-pass.d.ts.map +1 -0
- package/dist/project-pass.js +45 -0
- package/dist/project-pass.js.map +1 -0
- package/dist/project-presets.d.ts +30 -0
- package/dist/project-presets.d.ts.map +1 -0
- package/dist/project-presets.js +74 -0
- package/dist/project-presets.js.map +1 -0
- package/dist/project.d.ts +29 -0
- package/dist/project.d.ts.map +1 -0
- package/dist/project.js +41 -0
- package/dist/project.js.map +1 -0
- package/dist/publish-levels.d.ts +33 -0
- package/dist/publish-levels.d.ts.map +1 -0
- package/dist/publish-levels.js +53 -0
- package/dist/publish-levels.js.map +1 -0
- package/dist/quota-boundary.d.ts +65 -0
- package/dist/quota-boundary.d.ts.map +1 -0
- package/dist/quota-boundary.js +135 -0
- package/dist/quota-boundary.js.map +1 -0
- package/dist/quota-poller.d.ts +83 -0
- package/dist/quota-poller.d.ts.map +1 -0
- package/dist/quota-poller.js +118 -0
- package/dist/quota-poller.js.map +1 -0
- package/dist/registry.d.ts +227 -0
- package/dist/registry.d.ts.map +1 -0
- package/dist/registry.js +364 -0
- package/dist/registry.js.map +1 -0
- 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/request-path.d.ts +10 -0
- package/dist/request-path.d.ts.map +1 -0
- package/dist/request-path.js +16 -0
- package/dist/request-path.js.map +1 -0
- package/dist/store/agent-checkout.d.ts +54 -0
- package/dist/store/agent-checkout.d.ts.map +1 -0
- package/dist/store/agent-checkout.js +61 -0
- package/dist/store/agent-checkout.js.map +1 -0
- package/dist/store/agent-store.d.ts +267 -0
- package/dist/store/agent-store.d.ts.map +1 -0
- package/dist/store/agent-store.js +190 -0
- package/dist/store/agent-store.js.map +1 -0
- package/dist/store/branches.d.ts +164 -0
- package/dist/store/branches.d.ts.map +1 -0
- package/dist/store/branches.js +187 -0
- package/dist/store/branches.js.map +1 -0
- package/dist/store/git-host.d.ts +114 -0
- package/dist/store/git-host.d.ts.map +1 -0
- package/dist/store/git-host.js +103 -0
- package/dist/store/git-host.js.map +1 -0
- package/dist/store/index.d.ts +10 -0
- package/dist/store/index.d.ts.map +1 -0
- package/dist/store/index.js +10 -0
- package/dist/store/index.js.map +1 -0
- package/dist/store/provided.d.ts +17 -0
- package/dist/store/provided.d.ts.map +1 -0
- package/dist/store/provided.js +37 -0
- package/dist/store/provided.js.map +1 -0
- package/dist/store/queue.d.ts +46 -0
- package/dist/store/queue.d.ts.map +1 -0
- package/dist/store/queue.js +61 -0
- package/dist/store/queue.js.map +1 -0
- package/dist/store/repository.d.ts +33 -0
- package/dist/store/repository.d.ts.map +1 -0
- package/dist/store/repository.js +25 -0
- package/dist/store/repository.js.map +1 -0
- package/dist/store/run-record.d.ts +22 -0
- package/dist/store/run-record.d.ts.map +1 -0
- package/dist/store/run-record.js +108 -0
- package/dist/store/run-record.js.map +1 -0
- package/dist/store/runs.d.ts +108 -0
- package/dist/store/runs.d.ts.map +1 -0
- package/dist/store/runs.js +146 -0
- package/dist/store/runs.js.map +1 -0
- package/dist/store/test-branches.d.ts +18 -0
- package/dist/store/test-branches.d.ts.map +1 -0
- package/dist/store/test-branches.js +59 -0
- package/dist/store/test-branches.js.map +1 -0
- package/dist/store/test-runs.d.ts +15 -0
- package/dist/store/test-runs.d.ts.map +1 -0
- package/dist/store/test-runs.js +37 -0
- package/dist/store/test-runs.js.map +1 -0
- package/dist/store/tickets.d.ts +73 -0
- package/dist/store/tickets.d.ts.map +1 -0
- package/dist/store/tickets.js +67 -0
- package/dist/store/tickets.js.map +1 -0
- package/dist/terminal.d.ts +4 -0
- package/dist/terminal.d.ts.map +1 -0
- package/dist/terminal.js +97 -0
- package/dist/terminal.js.map +1 -0
- package/dist/update-check.d.ts +44 -0
- package/dist/update-check.d.ts.map +1 -0
- package/dist/update-check.js +71 -0
- package/dist/update-check.js.map +1 -0
- package/dist/worktrees.d.ts +90 -0
- package/dist/worktrees.d.ts.map +1 -0
- package/dist/worktrees.js +123 -0
- package/dist/worktrees.js.map +1 -0
- package/package.json +103 -3
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{t as e}from"./rolldown-runtime-QTnfLwEv.js";var t=e((e=>{var t=Symbol.for(`react.transitional.element`),n=Symbol.for(`react.portal`),r=Symbol.for(`react.fragment`),i=Symbol.for(`react.strict_mode`),a=Symbol.for(`react.profiler`),o=Symbol.for(`react.consumer`),s=Symbol.for(`react.context`),c=Symbol.for(`react.forward_ref`),l=Symbol.for(`react.suspense`),u=Symbol.for(`react.memo`),d=Symbol.for(`react.lazy`),f=Symbol.for(`react.activity`),p=Symbol.iterator;function m(e){return typeof e!=`object`||!e?null:(e=p&&e[p]||e[`@@iterator`],typeof e==`function`?e:null)}var h={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},g=Object.assign,_={};function v(e,t,n){this.props=e,this.context=t,this.refs=_,this.updater=n||h}v.prototype.isReactComponent={},v.prototype.setState=function(e,t){if(typeof e!=`object`&&typeof e!=`function`&&e!=null)throw Error(`takes an object of state variables to update or a function which returns an object of state variables.`);this.updater.enqueueSetState(this,e,t,`setState`)},v.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,`forceUpdate`)};function y(){}y.prototype=v.prototype;function b(e,t,n){this.props=e,this.context=t,this.refs=_,this.updater=n||h}var x=b.prototype=new y;x.constructor=b,g(x,v.prototype),x.isPureReactComponent=!0;var S=Array.isArray;function C(){}var w={H:null,A:null,T:null,S:null},T=Object.prototype.hasOwnProperty;function E(e,n,r){var i=r.ref;return{$$typeof:t,type:e,key:n,ref:i===void 0?null:i,props:r}}function D(e,t){return E(e.type,t,e.props)}function O(e){return typeof e==`object`&&!!e&&e.$$typeof===t}function k(e){var t={"=":`=0`,":":`=2`};return`$`+e.replace(/[=:]/g,function(e){return t[e]})}var A=/\/+/g;function j(e,t){return typeof e==`object`&&e&&e.key!=null?k(``+e.key):t.toString(36)}function M(e){switch(e.status){case`fulfilled`:return e.value;case`rejected`:throw e.reason;default:switch(typeof e.status==`string`?e.then(C,C):(e.status=`pending`,e.then(function(t){e.status===`pending`&&(e.status=`fulfilled`,e.value=t)},function(t){e.status===`pending`&&(e.status=`rejected`,e.reason=t)})),e.status){case`fulfilled`:return e.value;case`rejected`:throw e.reason}}throw e}function N(e,r,i,a,o){var s=typeof e;(s===`undefined`||s===`boolean`)&&(e=null);var c=!1;if(e===null)c=!0;else switch(s){case`bigint`:case`string`:case`number`:c=!0;break;case`object`:switch(e.$$typeof){case t:case n:c=!0;break;case d:return c=e._init,N(c(e._payload),r,i,a,o)}}if(c)return o=o(e),c=a===``?`.`+j(e,0):a,S(o)?(i=``,c!=null&&(i=c.replace(A,`$&/`)+`/`),N(o,r,i,``,function(e){return e})):o!=null&&(O(o)&&(o=D(o,i+(o.key==null||e&&e.key===o.key?``:(``+o.key).replace(A,`$&/`)+`/`)+c)),r.push(o)),1;c=0;var l=a===``?`.`:a+`:`;if(S(e))for(var u=0;u<e.length;u++)a=e[u],s=l+j(a,u),c+=N(a,r,i,s,o);else if(u=m(e),typeof u==`function`)for(e=u.call(e),u=0;!(a=e.next()).done;)a=a.value,s=l+j(a,u++),c+=N(a,r,i,s,o);else if(s===`object`){if(typeof e.then==`function`)return N(M(e),r,i,a,o);throw r=String(e),Error(`Objects are not valid as a React child (found: `+(r===`[object Object]`?`object with keys {`+Object.keys(e).join(`, `)+`}`:r)+`). If you meant to render a collection of children, use an array instead.`)}return c}function P(e,t,n){if(e==null)return e;var r=[],i=0;return N(e,r,``,``,function(e){return t.call(n,e,i++)}),r}function F(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(t){(e._status===0||e._status===-1)&&(e._status=1,e._result=t)},function(t){(e._status===0||e._status===-1)&&(e._status=2,e._result=t)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var I=typeof reportError==`function`?reportError:function(e){if(typeof window==`object`&&typeof window.ErrorEvent==`function`){var t=new window.ErrorEvent(`error`,{bubbles:!0,cancelable:!0,message:typeof e==`object`&&e&&typeof e.message==`string`?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process==`object`&&typeof process.emit==`function`){process.emit(`uncaughtException`,e);return}console.error(e)},L={map:P,forEach:function(e,t,n){P(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return P(e,function(){t++}),t},toArray:function(e){return P(e,function(e){return e})||[]},only:function(e){if(!O(e))throw Error(`React.Children.only expected to receive a single React element child.`);return e}};e.Activity=f,e.Children=L,e.Component=v,e.Fragment=r,e.Profiler=a,e.PureComponent=b,e.StrictMode=i,e.Suspense=l,e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=w,e.__COMPILER_RUNTIME={__proto__:null,c:function(e){return w.H.useMemoCache(e)}},e.cache=function(e){return function(){return e.apply(null,arguments)}},e.cacheSignal=function(){return null},e.cloneElement=function(e,t,n){if(e==null)throw Error(`The argument must be a React element, but you passed `+e+`.`);var r=g({},e.props),i=e.key;if(t!=null)for(a in t.key!==void 0&&(i=``+t.key),t)!T.call(t,a)||a===`key`||a===`__self`||a===`__source`||a===`ref`&&t.ref===void 0||(r[a]=t[a]);var a=arguments.length-2;if(a===1)r.children=n;else if(1<a){for(var o=Array(a),s=0;s<a;s++)o[s]=arguments[s+2];r.children=o}return E(e.type,i,r)},e.createContext=function(e){return e={$$typeof:s,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null},e.Provider=e,e.Consumer={$$typeof:o,_context:e},e},e.createElement=function(e,t,n){var r,i={},a=null;if(t!=null)for(r in t.key!==void 0&&(a=``+t.key),t)T.call(t,r)&&r!==`key`&&r!==`__self`&&r!==`__source`&&(i[r]=t[r]);var o=arguments.length-2;if(o===1)i.children=n;else if(1<o){for(var s=Array(o),c=0;c<o;c++)s[c]=arguments[c+2];i.children=s}if(e&&e.defaultProps)for(r in o=e.defaultProps,o)i[r]===void 0&&(i[r]=o[r]);return E(e,a,i)},e.createRef=function(){return{current:null}},e.forwardRef=function(e){return{$$typeof:c,render:e}},e.isValidElement=O,e.lazy=function(e){return{$$typeof:d,_payload:{_status:-1,_result:e},_init:F}},e.memo=function(e,t){return{$$typeof:u,type:e,compare:t===void 0?null:t}},e.startTransition=function(e){var t=w.T,n={};w.T=n;try{var r=e(),i=w.S;i!==null&&i(n,r),typeof r==`object`&&r&&typeof r.then==`function`&&r.then(C,I)}catch(e){I(e)}finally{t!==null&&n.types!==null&&(t.types=n.types),w.T=t}},e.unstable_useCacheRefresh=function(){return w.H.useCacheRefresh()},e.use=function(e){return w.H.use(e)},e.useActionState=function(e,t,n){return w.H.useActionState(e,t,n)},e.useCallback=function(e,t){return w.H.useCallback(e,t)},e.useContext=function(e){return w.H.useContext(e)},e.useDebugValue=function(){},e.useDeferredValue=function(e,t){return w.H.useDeferredValue(e,t)},e.useEffect=function(e,t){return w.H.useEffect(e,t)},e.useEffectEvent=function(e){return w.H.useEffectEvent(e)},e.useId=function(){return w.H.useId()},e.useImperativeHandle=function(e,t,n){return w.H.useImperativeHandle(e,t,n)},e.useInsertionEffect=function(e,t){return w.H.useInsertionEffect(e,t)},e.useLayoutEffect=function(e,t){return w.H.useLayoutEffect(e,t)},e.useMemo=function(e,t){return w.H.useMemo(e,t)},e.useOptimistic=function(e,t){return w.H.useOptimistic(e,t)},e.useReducer=function(e,t,n){return w.H.useReducer(e,t,n)},e.useRef=function(e){return w.H.useRef(e)},e.useState=function(e){return w.H.useState(e)},e.useSyncExternalStore=function(e,t,n){return w.H.useSyncExternalStore(e,t,n)},e.useTransition=function(){return w.H.useTransition()},e.version=`19.2.7`})),n=e(((e,n)=>{n.exports=t()}));export{n as t};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{t as e}from"./rolldown-runtime-QTnfLwEv.js";import{t}from"./react-CZI7_Jkm.js";var n=e((e=>{var n=t();function r(e){var t=`https://react.dev/errors/`+e;if(1<arguments.length){t+=`?args[]=`+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)t+=`&args[]=`+encodeURIComponent(arguments[n])}return`Minified React error #`+e+`; visit `+t+` for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`}function i(){}var a={d:{f:i,r:function(){throw Error(r(522))},D:i,C:i,L:i,m:i,X:i,S:i,M:i},p:0,findDOMNode:null},o=Symbol.for(`react.portal`);function s(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:o,key:r==null?null:``+r,children:e,containerInfo:t,implementation:n}}var c=n.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function l(e,t){if(e===`font`)return``;if(typeof t==`string`)return t===`use-credentials`?t:``}e.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=a,e.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)throw Error(r(299));return s(e,t,null,n)},e.flushSync=function(e){var t=c.T,n=a.p;try{if(c.T=null,a.p=2,e)return e()}finally{c.T=t,a.p=n,a.d.f()}},e.preconnect=function(e,t){typeof e==`string`&&(t?(t=t.crossOrigin,t=typeof t==`string`?t===`use-credentials`?t:``:void 0):t=null,a.d.C(e,t))},e.prefetchDNS=function(e){typeof e==`string`&&a.d.D(e)},e.preinit=function(e,t){if(typeof e==`string`&&t&&typeof t.as==`string`){var n=t.as,r=l(n,t.crossOrigin),i=typeof t.integrity==`string`?t.integrity:void 0,o=typeof t.fetchPriority==`string`?t.fetchPriority:void 0;n===`style`?a.d.S(e,typeof t.precedence==`string`?t.precedence:void 0,{crossOrigin:r,integrity:i,fetchPriority:o}):n===`script`&&a.d.X(e,{crossOrigin:r,integrity:i,fetchPriority:o,nonce:typeof t.nonce==`string`?t.nonce:void 0})}},e.preinitModule=function(e,t){if(typeof e==`string`)if(typeof t==`object`&&t){if(t.as==null||t.as===`script`){var n=l(t.as,t.crossOrigin);a.d.M(e,{crossOrigin:n,integrity:typeof t.integrity==`string`?t.integrity:void 0,nonce:typeof t.nonce==`string`?t.nonce:void 0})}}else t??a.d.M(e)},e.preload=function(e,t){if(typeof e==`string`&&typeof t==`object`&&t&&typeof t.as==`string`){var n=t.as,r=l(n,t.crossOrigin);a.d.L(e,n,{crossOrigin:r,integrity:typeof t.integrity==`string`?t.integrity:void 0,nonce:typeof t.nonce==`string`?t.nonce:void 0,type:typeof t.type==`string`?t.type:void 0,fetchPriority:typeof t.fetchPriority==`string`?t.fetchPriority:void 0,referrerPolicy:typeof t.referrerPolicy==`string`?t.referrerPolicy:void 0,imageSrcSet:typeof t.imageSrcSet==`string`?t.imageSrcSet:void 0,imageSizes:typeof t.imageSizes==`string`?t.imageSizes:void 0,media:typeof t.media==`string`?t.media:void 0})}},e.preloadModule=function(e,t){if(typeof e==`string`)if(t){var n=l(t.as,t.crossOrigin);a.d.m(e,{as:typeof t.as==`string`&&t.as!==`script`?t.as:void 0,crossOrigin:n,integrity:typeof t.integrity==`string`?t.integrity:void 0})}else a.d.m(e)},e.requestFormReset=function(e){a.d.r(e)},e.unstable_batchedUpdates=function(e,t){return e(t)},e.useFormState=function(e,t,n){return c.H.useFormState(e,t,n)},e.useFormStatus=function(){return c.H.useHostTransitionStatus()},e.version=`19.2.7`})),r=e(((e,t)=>{function r(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>`u`||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!=`function`))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(r)}catch(e){console.error(e)}}r(),t.exports=n()}));export{r as t};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var e=Object.create,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,i=Object.getPrototypeOf,a=Object.prototype.hasOwnProperty,o=(e,t)=>()=>(t||(e((t={exports:{}}).exports,t),e=null),t.exports),s=(e,n)=>{let r={};for(var i in e)t(r,i,{get:e[i],enumerable:!0});return n||t(r,Symbol.toStringTag,{value:`Module`}),r},c=(e,i,o,s)=>{if(i&&typeof i==`object`||typeof i==`function`)for(var c=r(i),l=0,u=c.length,d;l<u;l++)d=c[l],!a.call(e,d)&&d!==o&&t(e,d,{get:(e=>i[e]).bind(null,d),enumerable:!(s=n(i,d))||s.enumerable});return e},l=(n,r,a)=>(a=n==null?{}:e(i(n)),c(r||!n||!n.__esModule?t(a,`default`,{value:n,enumerable:!0}):a,n));export{s as n,l as r,o as t};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{B as e,C as t,E as n,F as r,G as i,Gt as a,H as o,Ht as s,J as c,K as l,L as u,Q as d,R as f,S as p,T as m,U as h,Ut as g,V as _,Vt as v,X as y,Xt as b,_ as x,a as S,b as C,c as w,dn as T,g as E,h as D,i as O,in as k,k as A,m as j,n as M,nn as N,nt as P,o as F,q as I,qt as L,r as R,rn as z,rt as B,s as V,t as H,v as U,w as W,x as G,y as K,z as q}from"../assets/module-v213KWfH.js";export{b as Badge,N as Button,G as Card,p as CardContent,t as CardHeader,W as CardTitle,m as Checkbox,D as DiffStat,l as DropdownMenu,I as DropdownMenuCheckboxItem,c as DropdownMenuContent,y as DropdownMenuItem,d as DropdownMenuSeparator,P as DropdownMenuTrigger,_ as Input,w as LinkActions,T as MAX_SPEND_OFFSET,n as Markdown,H as ModuleHostContext,U as Popover,K as PopoverContent,C as PopoverTrigger,E as PreviewCard,x as RangeSlider,B as ScrollArea,e as Separator,S as SettingsRow,F as SettingsSection,V as SettingsSelectRow,q as Skeleton,j as StartAgentButton,o as Tooltip,h as TooltipContent,i as TooltipTrigger,z as buttonVariants,k as cn,M as defineModule,r as forgetRemembered,s as formatAge,g as formatDateTime,a as formatDuration,L as formatRelative,R as moduleHost,v as useAction,A as useCodingAgents,u as useLoaded,O as useModuleHost,f as usePolled};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as e}from"../assets/rolldown-runtime-QTnfLwEv.js";import{t}from"../assets/client-CbBRB9m4.js";var n=e(t()),r=n.default,i=n.createRoot,a=n.hydrateRoot,o=`19.2.7`;export{i as createRoot,r as default,a as hydrateRoot,o as version};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as e}from"../assets/rolldown-runtime-QTnfLwEv.js";import{t}from"../assets/react-dom-cJyBB_A4.js";var n=e(t()),r=n.default,i=n.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,a=n.createPortal,o=n.flushSync,s=n.preconnect,c=n.prefetchDNS,l=n.preinit,u=n.preinitModule,d=n.preload,f=n.preloadModule,p=n.requestFormReset,m=n.unstable_batchedUpdates,h=n.useFormState,g=n.useFormStatus,_=`19.2.7`;export{i as __DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,a as createPortal,r as default,o as flushSync,s as preconnect,c as prefetchDNS,l as preinit,u as preinitModule,d as preload,f as preloadModule,p as requestFormReset,m as unstable_batchedUpdates,h as useFormState,g as useFormStatus,_ as version};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as e}from"../assets/rolldown-runtime-QTnfLwEv.js";import{t}from"../assets/jsx-runtime-By8HlURe.js";var n=e(t()),r=n.default,i=n.Fragment,a=n.jsx,o=n.jsxs;export{i as Fragment,r as default,a as jsx,o as jsxs};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as e}from"../assets/rolldown-runtime-QTnfLwEv.js";import{t}from"../assets/react-CZI7_Jkm.js";var n=e(t()),r=n.default,i=n.Activity,a=n.Children,o=n.Component,s=n.Fragment,c=n.Profiler,l=n.PureComponent,u=n.StrictMode,d=n.Suspense,f=n.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,p=n.__COMPILER_RUNTIME,m=n.cache,h=n.cacheSignal,g=n.cloneElement,_=n.createContext,v=n.createElement,y=n.createRef,b=n.forwardRef,x=n.isValidElement,S=n.lazy,C=n.memo,w=n.startTransition,T=n.unstable_useCacheRefresh,E=n.use,D=n.useActionState,O=n.useCallback,k=n.useContext,A=n.useDebugValue,j=n.useDeferredValue,M=n.useEffect,N=n.useEffectEvent,P=n.useId,F=n.useImperativeHandle,I=n.useInsertionEffect,L=n.useLayoutEffect,R=n.useMemo,z=n.useOptimistic,B=n.useReducer,V=n.useRef,H=n.useState,U=n.useSyncExternalStore,W=n.useTransition,G=`19.2.7`;export{i as Activity,a as Children,o as Component,s as Fragment,c as Profiler,l as PureComponent,u as StrictMode,d as Suspense,f as __CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,p as __COMPILER_RUNTIME,m as cache,h as cacheSignal,g as cloneElement,_ as createContext,v as createElement,y as createRef,r as default,b as forwardRef,x as isValidElement,S as lazy,C as memo,w as startTransition,T as unstable_useCacheRefresh,E as use,D as useActionState,O as useCallback,k as useContext,A as useDebugValue,j as useDeferredValue,M as useEffect,N as useEffectEvent,P as useId,F as useImperativeHandle,I as useInsertionEffect,L as useLayoutEffect,R as useMemo,z as useOptimistic,B as useReducer,V as useRef,H as useState,U as useSyncExternalStore,W as useTransition,G as version};
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
<!doctype html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
<meta charset="UTF-8" />
|
|
7
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
8
|
+
<title>OpenAgent</title>
|
|
9
|
+
<!-- The brand mark as the tab icon (#757). It carries its own dark-mode ramp inside the file:
|
|
10
|
+
a favicon sits on browser chrome, which follows the OS theme, not our in-app theme choice. -->
|
|
11
|
+
<link rel="icon" href="/logo.svg" />
|
|
12
|
+
<!-- The landing page's typeface (#1118) so the dashboard reads as the same product as
|
|
13
|
+
openagent.build: IBM Plex Sans for UI, IBM Plex Mono for code. Same Google Fonts links as
|
|
14
|
+
packages/openagent.build/pages/+Head.tsx. -->
|
|
15
|
+
<link rel="preconnect" href="https://fonts.googleapis.com" />
|
|
16
|
+
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
|
|
17
|
+
<link
|
|
18
|
+
href="https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500;600&display=swap"
|
|
19
|
+
rel="stylesheet"
|
|
20
|
+
/>
|
|
21
|
+
<script type="importmap">{
|
|
22
|
+
"imports": {
|
|
23
|
+
"react": "/host/react.js",
|
|
24
|
+
"react/jsx-runtime": "/host/react-jsx-runtime.js",
|
|
25
|
+
"react-dom": "/host/react-dom.js",
|
|
26
|
+
"react-dom/client": "/host/react-dom-client.js",
|
|
27
|
+
"@openagt/dashboard/module": "/host/module.js"
|
|
28
|
+
}
|
|
29
|
+
}</script>
|
|
30
|
+
<script type="module" crossorigin src="/assets/main-B98UOA3_.js"></script>
|
|
31
|
+
<link rel="modulepreload" crossorigin href="/assets/rolldown-runtime-QTnfLwEv.js">
|
|
32
|
+
<link rel="modulepreload" crossorigin href="/assets/react-CZI7_Jkm.js">
|
|
33
|
+
<link rel="modulepreload" crossorigin href="/assets/react-dom-cJyBB_A4.js">
|
|
34
|
+
<link rel="modulepreload" crossorigin href="/assets/client-CbBRB9m4.js">
|
|
35
|
+
<link rel="modulepreload" crossorigin href="/assets/jsx-runtime-By8HlURe.js">
|
|
36
|
+
<link rel="modulepreload" crossorigin href="/assets/module-v213KWfH.js">
|
|
37
|
+
<link rel="stylesheet" crossorigin href="/assets/main-ByRjbCiA.css">
|
|
38
|
+
</head>
|
|
39
|
+
<body>
|
|
40
|
+
<div id="root"></div>
|
|
41
|
+
</body>
|
|
42
|
+
</html>
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="-289 -326 578 651.9">
|
|
2
|
+
<defs>
|
|
3
|
+
<linearGradient id="hk-g0" gradientUnits="userSpaceOnUse" x1="-160" y1="-148.4" x2="-36.5" y2="121.5">
|
|
4
|
+
<stop offset="0" stop-color="#e69875"><animate attributeName="stop-color" dur="6s" repeatCount="indefinite" values="#e69875;#dbbc7f;#a7c080;#7fbbb3;#d699b6;#e67e80;#e69875"/></stop>
|
|
5
|
+
<stop offset="1" stop-color="#e67e80"><animate attributeName="stop-color" dur="6s" repeatCount="indefinite" values="#e67e80;#e69875;#dbbc7f;#a7c080;#7fbbb3;#d699b6;#e67e80"/></stop>
|
|
6
|
+
</linearGradient>
|
|
7
|
+
<linearGradient id="hk-g1" gradientUnits="userSpaceOnUse" x1="48.5" y1="-212.8" x2="-123.5" y2="29.2">
|
|
8
|
+
<stop offset="0" stop-color="#dbbc7f"><animate attributeName="stop-color" dur="6s" repeatCount="indefinite" values="#dbbc7f;#a7c080;#7fbbb3;#d699b6;#e67e80;#e69875;#dbbc7f"/></stop>
|
|
9
|
+
<stop offset="1" stop-color="#e69875"><animate attributeName="stop-color" dur="6s" repeatCount="indefinite" values="#e69875;#dbbc7f;#a7c080;#7fbbb3;#d699b6;#e67e80;#e69875"/></stop>
|
|
10
|
+
</linearGradient>
|
|
11
|
+
<linearGradient id="hk-g2" gradientUnits="userSpaceOnUse" x1="208.5" y1="-64.4" x2="-87" y2="-92.4">
|
|
12
|
+
<stop offset="0" stop-color="#a7c080"><animate attributeName="stop-color" dur="6s" repeatCount="indefinite" values="#a7c080;#7fbbb3;#d699b6;#e67e80;#e69875;#dbbc7f;#a7c080"/></stop>
|
|
13
|
+
<stop offset="1" stop-color="#dbbc7f"><animate attributeName="stop-color" dur="6s" repeatCount="indefinite" values="#dbbc7f;#a7c080;#7fbbb3;#d699b6;#e67e80;#e69875;#dbbc7f"/></stop>
|
|
14
|
+
</linearGradient>
|
|
15
|
+
<linearGradient id="hk-g3" gradientUnits="userSpaceOnUse" x1="160" y1="148.4" x2="36.5" y2="-121.5">
|
|
16
|
+
<stop offset="0" stop-color="#7fbbb3"><animate attributeName="stop-color" dur="6s" repeatCount="indefinite" values="#7fbbb3;#d699b6;#e67e80;#e69875;#dbbc7f;#a7c080;#7fbbb3"/></stop>
|
|
17
|
+
<stop offset="1" stop-color="#a7c080"><animate attributeName="stop-color" dur="6s" repeatCount="indefinite" values="#a7c080;#7fbbb3;#d699b6;#e67e80;#e69875;#dbbc7f;#a7c080"/></stop>
|
|
18
|
+
</linearGradient>
|
|
19
|
+
<linearGradient id="hk-g4" gradientUnits="userSpaceOnUse" x1="-48.5" y1="212.8" x2="123.5" y2="-29.2">
|
|
20
|
+
<stop offset="0" stop-color="#d699b6"><animate attributeName="stop-color" dur="6s" repeatCount="indefinite" values="#d699b6;#e67e80;#e69875;#dbbc7f;#a7c080;#7fbbb3;#d699b6"/></stop>
|
|
21
|
+
<stop offset="1" stop-color="#7fbbb3"><animate attributeName="stop-color" dur="6s" repeatCount="indefinite" values="#7fbbb3;#d699b6;#e67e80;#e69875;#dbbc7f;#a7c080;#7fbbb3"/></stop>
|
|
22
|
+
</linearGradient>
|
|
23
|
+
<linearGradient id="hk-g5" gradientUnits="userSpaceOnUse" x1="-208.5" y1="64.4" x2="87" y2="92.4">
|
|
24
|
+
<stop offset="0" stop-color="#e67e80"><animate attributeName="stop-color" dur="6s" repeatCount="indefinite" values="#e67e80;#e69875;#dbbc7f;#a7c080;#7fbbb3;#d699b6;#e67e80"/></stop>
|
|
25
|
+
<stop offset="1" stop-color="#d699b6"><animate attributeName="stop-color" dur="6s" repeatCount="indefinite" values="#d699b6;#e67e80;#e69875;#dbbc7f;#a7c080;#7fbbb3;#d699b6"/></stop>
|
|
26
|
+
</linearGradient>
|
|
27
|
+
</defs>
|
|
28
|
+
<path fill="url(#hk-g0)" d="M-160 -166.3 A10 10 0 0 0 -175 -174.9 L-234 -140.9 A10 10 0 0 0 -239 -132.2 L-239 34.1 A10 10 0 0 0 -234 42.7 L-72 136.3 A10 10 0 0 0 -62 136.3 L-21 112.6 A10 10 0 0 0 -21 95.3 L-173 7.5 A10 10 0 0 1 -178 -1.2 L-178 -97 A10 10 0 0 1 -173 -105.7 L-165 -110.3 A10 10 0 0 0 -160 -118.9 Z"/>
|
|
29
|
+
<path fill="url(#hk-g1)" d="M64 -221.7 A10 10 0 0 0 64 -239 L5 -273.1 A10 10 0 0 0 -5 -273.1 L-149 -189.9 A10 10 0 0 0 -154 -181.3 L-154 5.8 A10 10 0 0 0 -149 14.4 L-108 38.1 A10 10 0 0 0 -93 29.4 L-93 -146.1 A10 10 0 0 1 -88 -154.7 L-5 -202.6 A10 10 0 0 1 5 -202.6 L13 -198 A10 10 0 0 0 23 -198 Z"/>
|
|
30
|
+
<path fill="url(#hk-g2)" d="M224 -55.4 A10 10 0 0 0 239 -64.1 L239 -132.2 A10 10 0 0 0 234 -140.9 L90 -224 A10 10 0 0 0 80 -224 L-82 -130.5 A10 10 0 0 0 -87 -121.8 L-87 -74.5 A10 10 0 0 0 -72 -65.8 L80 -153.6 A10 10 0 0 1 90 -153.6 L173 -105.7 A10 10 0 0 1 178 -97 L178 -87.8 A10 10 0 0 0 183 -79.1 Z"/>
|
|
31
|
+
<path fill="url(#hk-g3)" d="M160 166.3 A10 10 0 0 0 175 174.9 L234 140.9 A10 10 0 0 0 239 132.2 L239 -34.1 A10 10 0 0 0 234 -42.7 L72 -136.3 A10 10 0 0 0 62 -136.3 L21 -112.6 A10 10 0 0 0 21 -95.3 L173 -7.5 A10 10 0 0 1 178 1.2 L178 97 A10 10 0 0 1 173 105.7 L165 110.3 A10 10 0 0 0 160 118.9 Z"/>
|
|
32
|
+
<path fill="url(#hk-g4)" d="M-64 221.7 A10 10 0 0 0 -64 239 L-5 273.1 A10 10 0 0 0 5 273.1 L149 189.9 A10 10 0 0 0 154 181.3 L154 -5.8 A10 10 0 0 0 149 -14.4 L108 -38.1 A10 10 0 0 0 93 -29.4 L93 146.1 A10 10 0 0 1 88 154.7 L5 202.6 A10 10 0 0 1 -5 202.6 L-13 198 A10 10 0 0 0 -23 198 Z"/>
|
|
33
|
+
<path fill="url(#hk-g5)" d="M-224 55.4 A10 10 0 0 0 -239 64.1 L-239 132.2 A10 10 0 0 0 -234 140.9 L-90 224 A10 10 0 0 0 -80 224 L82 130.5 A10 10 0 0 0 87 121.8 L87 74.5 A10 10 0 0 0 72 65.8 L-80 153.6 A10 10 0 0 1 -90 153.6 L-173 105.7 A10 10 0 0 1 -178 97 L-178 87.8 A10 10 0 0 0 -183 79.1 Z"/>
|
|
34
|
+
</svg>
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="-289 -326 578 651.9">
|
|
2
|
+
<style>
|
|
3
|
+
@media (prefers-color-scheme: dark) { .s1 { fill: #fafafa; } }
|
|
4
|
+
@media (prefers-color-scheme: dark) { .s2 { fill: #ededed; } }
|
|
5
|
+
@media (prefers-color-scheme: dark) { .s3 { fill: #d4d4d4; } }
|
|
6
|
+
@media (prefers-color-scheme: dark) { .s4 { fill: #a3a3a3; } }
|
|
7
|
+
@media (prefers-color-scheme: dark) { .s5 { fill: #8a8a8a; } }
|
|
8
|
+
@media (prefers-color-scheme: dark) { .s6 { fill: #737373; } }
|
|
9
|
+
</style>
|
|
10
|
+
<path class="s1" fill="#0a0a0a" d="M-160 -166.3 A10 10 0 0 0 -175 -174.9 L-234 -140.9 A10 10 0 0 0 -239 -132.2 L-239 34.1 A10 10 0 0 0 -234 42.7 L-72 136.3 A10 10 0 0 0 -62 136.3 L-21 112.6 A10 10 0 0 0 -21 95.3 L-173 7.5 A10 10 0 0 1 -178 -1.2 L-178 -97 A10 10 0 0 1 -173 -105.7 L-165 -110.3 A10 10 0 0 0 -160 -118.9 Z"/>
|
|
11
|
+
<path class="s2" fill="#171717" d="M64 -221.7 A10 10 0 0 0 64 -239 L5 -273.1 A10 10 0 0 0 -5 -273.1 L-149 -189.9 A10 10 0 0 0 -154 -181.3 L-154 5.8 A10 10 0 0 0 -149 14.4 L-108 38.1 A10 10 0 0 0 -93 29.4 L-93 -146.1 A10 10 0 0 1 -88 -154.7 L-5 -202.6 A10 10 0 0 1 5 -202.6 L13 -198 A10 10 0 0 0 23 -198 Z"/>
|
|
12
|
+
<path class="s3" fill="#262626" d="M224 -55.4 A10 10 0 0 0 239 -64.1 L239 -132.2 A10 10 0 0 0 234 -140.9 L90 -224 A10 10 0 0 0 80 -224 L-82 -130.5 A10 10 0 0 0 -87 -121.8 L-87 -74.5 A10 10 0 0 0 -72 -65.8 L80 -153.6 A10 10 0 0 1 90 -153.6 L173 -105.7 A10 10 0 0 1 178 -97 L178 -87.8 A10 10 0 0 0 183 -79.1 Z"/>
|
|
13
|
+
<path class="s4" fill="#404040" d="M160 166.3 A10 10 0 0 0 175 174.9 L234 140.9 A10 10 0 0 0 239 132.2 L239 -34.1 A10 10 0 0 0 234 -42.7 L72 -136.3 A10 10 0 0 0 62 -136.3 L21 -112.6 A10 10 0 0 0 21 -95.3 L173 -7.5 A10 10 0 0 1 178 1.2 L178 97 A10 10 0 0 1 173 105.7 L165 110.3 A10 10 0 0 0 160 118.9 Z"/>
|
|
14
|
+
<path class="s5" fill="#525252" d="M-64 221.7 A10 10 0 0 0 -64 239 L-5 273.1 A10 10 0 0 0 5 273.1 L149 189.9 A10 10 0 0 0 154 181.3 L154 -5.8 A10 10 0 0 0 149 -14.4 L108 -38.1 A10 10 0 0 0 93 -29.4 L93 146.1 A10 10 0 0 1 88 154.7 L5 202.6 A10 10 0 0 1 -5 202.6 L-13 198 A10 10 0 0 0 -23 198 Z"/>
|
|
15
|
+
<path class="s6" fill="#737373" d="M-224 55.4 A10 10 0 0 0 -239 64.1 L-239 132.2 A10 10 0 0 0 -234 140.9 L-90 224 A10 10 0 0 0 -80 224 L82 130.5 A10 10 0 0 0 87 121.8 L87 74.5 A10 10 0 0 0 72 65.8 L-80 153.6 A10 10 0 0 1 -90 153.6 L-173 105.7 A10 10 0 0 1 -178 97 L-178 87.8 A10 10 0 0 0 -183 79.1 Z"/>
|
|
16
|
+
</svg>
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { type ProjectsProvider } from '../dashboard/projects.js';
|
|
2
|
+
import type { DashboardContext, EventsSource, RemoteAgents } from '../dashboard/rpc-serve.js';
|
|
3
|
+
import type { PreferencesStore } from '../registry.js';
|
|
4
|
+
import type { QuotaSource } from '../dashboard/quota.js';
|
|
5
|
+
import type { ModelsSource } from '../dashboard/models.js';
|
|
6
|
+
import type { ProjectErrorsReader } from '../project-errors.js';
|
|
7
|
+
import type { BridgeBrowserOwner } from '../bridge-browser.js';
|
|
8
|
+
/** Wire the dashboard's capabilities. The daemon calls this once at start-up; a test calls it per case. */
|
|
9
|
+
export declare function setDashboardContext(context: DashboardContext): void;
|
|
10
|
+
/** The projects every RPC resolves a project id against: the global registry. */
|
|
11
|
+
export declare function contextProjects(): ProjectsProvider;
|
|
12
|
+
/** The workspace path for a project id, or undefined when no project has that id. */
|
|
13
|
+
export declare function resolveProjectPath(projectId: string): Promise<string | undefined>;
|
|
14
|
+
/**
|
|
15
|
+
* The checkout a call should act on: a live agent's own worktree when `agentId` names one (#738/#749),
|
|
16
|
+
* else the project root. Since #736 an agent reads and writes inside its worktree — its event log,
|
|
17
|
+
* its control log, its working tree — so anything addressed at a *run* has to resolve here, not
|
|
18
|
+
* at the project path, or it reads an empty log and steers an agent that is not listening. The
|
|
19
|
+
* resolution itself (and its #766 first-seconds subtlety) lives in the store's
|
|
20
|
+
* {@link resolveAgentCheckout}, shared with the daemon; this adds only the project-id lookup.
|
|
21
|
+
*/
|
|
22
|
+
export declare function resolveAgentPath(projectId: string, agentId?: string): Promise<string | undefined>;
|
|
23
|
+
/**
|
|
24
|
+
* The in-memory {@link EventsSource} (#426). It answers only for a run this daemon is relaying
|
|
25
|
+
* from a connected device (#1067) — such a run has no diary on this machine, since it works in a
|
|
26
|
+
* checkout over there — and returns undefined for an ordinary local run, whose diary `onEvents`
|
|
27
|
+
* tails off disk.
|
|
28
|
+
*/
|
|
29
|
+
export declare function contextEventsSource(): EventsSource;
|
|
30
|
+
/**
|
|
31
|
+
* The relayed-agent lookup (#1067 slice 2). A run-scoped RPC uses it to tell an ordinary local agent
|
|
32
|
+
* (resolve a local checkout) from one running on a connected device (forward the call there).
|
|
33
|
+
*
|
|
34
|
+
* The one accessor with a default rather than a throw, because "unwired" has a real meaning here:
|
|
35
|
+
* a call arriving over `/_relay/rpc` is the *device* side of the relay, and the agent it names is
|
|
36
|
+
* local to that device. Forwarding it onward would be a loop, so the honest answer there is that
|
|
37
|
+
* nothing is relayed from here.
|
|
38
|
+
*/
|
|
39
|
+
export declare function contextRemote(): RemoteAgents;
|
|
40
|
+
/** The user-preferences store (#410), over the registry file. */
|
|
41
|
+
export declare function contextPreferences(): PreferencesStore;
|
|
42
|
+
/** The quota source behind the usage panel (#533). */
|
|
43
|
+
export declare function contextQuota(): QuotaSource;
|
|
44
|
+
/** Which models each coding agent offers. */
|
|
45
|
+
export declare function contextModels(): ModelsSource;
|
|
46
|
+
/** What a project currently suffers from (#1500), as the daemon's background jobs last recorded it. */
|
|
47
|
+
export declare function contextProjectErrors(): ProjectErrorsReader;
|
|
48
|
+
/** The daemon's own bridge browser (#1332). */
|
|
49
|
+
export declare function contextBridgeBrowser(): BridgeBrowserOwner;
|
|
50
|
+
/** The daemon's own `startAgent`, so a start from the dashboard is the same start the CLI makes. */
|
|
51
|
+
export declare function contextStartAgent(): DashboardContext['startAgent'];
|
|
52
|
+
/** Install + register a repo (#433), which only the daemon can do. */
|
|
53
|
+
export declare function contextAddProject(): DashboardContext['addProject'];
|
|
54
|
+
/** Take a project off the list, which only the daemon can do: it runs the project's close hooks first. */
|
|
55
|
+
export declare function contextRemoveProject(): DashboardContext['removeProject'];
|
|
56
|
+
//# sourceMappingURL=context.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../src/dashboard-rpc/context.ts"],"names":[],"mappings":"AACA,OAAO,EAA2B,KAAK,gBAAgB,EAAE,MAAM,0BAA0B,CAAA;AACzF,OAAO,KAAK,EAAE,gBAAgB,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAA;AAC7F,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAA;AACtD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAA;AACxD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAA;AAC1D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAA;AAC/D,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAA;AAe9D,2GAA2G;AAC3G,wBAAgB,mBAAmB,CAAC,OAAO,EAAE,gBAAgB,GAAG,IAAI,CAEnE;AAiBD,iFAAiF;AACjF,wBAAgB,eAAe,IAAI,gBAAgB,CAElD;AAED,qFAAqF;AACrF,wBAAgB,kBAAkB,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAEjF;AAED;;;;;;;GAOG;AACH,wBAAsB,gBAAgB,CAAC,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAGvG;AAED;;;;;GAKG;AACH,wBAAgB,mBAAmB,IAAI,YAAY,CAElD;AAED;;;;;;;;GAQG;AACH,wBAAgB,aAAa,IAAI,YAAY,CAE5C;AAED,iEAAiE;AACjE,wBAAgB,kBAAkB,IAAI,gBAAgB,CAErD;AAED,sDAAsD;AACtD,wBAAgB,YAAY,IAAI,WAAW,CAE1C;AAED,6CAA6C;AAC7C,wBAAgB,aAAa,IAAI,YAAY,CAE5C;AAED,uGAAuG;AACvG,wBAAgB,oBAAoB,IAAI,mBAAmB,CAE1D;AAED,+CAA+C;AAC/C,wBAAgB,oBAAoB,IAAI,kBAAkB,CAEzD;AAED,oGAAoG;AACpG,wBAAgB,iBAAiB,IAAI,gBAAgB,CAAC,YAAY,CAAC,CAElE;AAED,sEAAsE;AACtE,wBAAgB,iBAAiB,IAAI,gBAAgB,CAAC,YAAY,CAAC,CAElE;AAED,0GAA0G;AAC1G,wBAAgB,oBAAoB,IAAI,gBAAgB,CAAC,eAAe,CAAC,CAExE"}
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
import { resolveAgentCheckout } from '../store/index.js';
|
|
2
|
+
import { defaultProjectsProvider } from '../dashboard/projects.js';
|
|
3
|
+
/**
|
|
4
|
+
* What the dashboard's RPCs act through: the daemon's own closures, set once when it comes up.
|
|
5
|
+
*
|
|
6
|
+
* A module-level value, not a per-request one. It used to ride Telefunc's request context, read
|
|
7
|
+
* back through `getContext()` inside an AsyncLocalStorage — machinery for a per-caller context
|
|
8
|
+
* that never varied per caller. Two rounds of simplification got it here: three hosts wired
|
|
9
|
+
* different subsets, so every accessor returned `T | undefined` and every RPC branched on the
|
|
10
|
+
* absent case (D3 left one host, which wires all of it); and the request scoping itself was only
|
|
11
|
+
* ever carrying process-wide wiring (F3). What is left is what it always was — the daemon's
|
|
12
|
+
* capabilities, set at boot.
|
|
13
|
+
*/
|
|
14
|
+
let wired;
|
|
15
|
+
/** Wire the dashboard's capabilities. The daemon calls this once at start-up; a test calls it per case. */
|
|
16
|
+
export function setDashboardContext(context) {
|
|
17
|
+
wired = context;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Read one capability.
|
|
21
|
+
*
|
|
22
|
+
* Unwired is a bug rather than a degraded host, so it throws and names the field instead of
|
|
23
|
+
* silently answering as if nothing were configured.
|
|
24
|
+
*/
|
|
25
|
+
function fromContext(key) {
|
|
26
|
+
const value = wired?.[key];
|
|
27
|
+
if (value === undefined)
|
|
28
|
+
throw new Error(`the dashboard's RPC context has no ${String(key)}`);
|
|
29
|
+
return value;
|
|
30
|
+
}
|
|
31
|
+
/** No run is relayed from here — see {@link contextRemote}. */
|
|
32
|
+
const NO_RELAYED_RUNS = { target: () => undefined, list: () => [] };
|
|
33
|
+
/** The projects every RPC resolves a project id against: the global registry. */
|
|
34
|
+
export function contextProjects() {
|
|
35
|
+
return defaultProjectsProvider();
|
|
36
|
+
}
|
|
37
|
+
/** The workspace path for a project id, or undefined when no project has that id. */
|
|
38
|
+
export function resolveProjectPath(projectId) {
|
|
39
|
+
return contextProjects().resolvePath(projectId);
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* The checkout a call should act on: a live agent's own worktree when `agentId` names one (#738/#749),
|
|
43
|
+
* else the project root. Since #736 an agent reads and writes inside its worktree — its event log,
|
|
44
|
+
* its control log, its working tree — so anything addressed at a *run* has to resolve here, not
|
|
45
|
+
* at the project path, or it reads an empty log and steers an agent that is not listening. The
|
|
46
|
+
* resolution itself (and its #766 first-seconds subtlety) lives in the store's
|
|
47
|
+
* {@link resolveAgentCheckout}, shared with the daemon; this adds only the project-id lookup.
|
|
48
|
+
*/
|
|
49
|
+
export async function resolveAgentPath(projectId, agentId) {
|
|
50
|
+
const cwd = await resolveProjectPath(projectId);
|
|
51
|
+
return cwd ? resolveAgentCheckout(cwd, agentId) : undefined;
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* The in-memory {@link EventsSource} (#426). It answers only for a run this daemon is relaying
|
|
55
|
+
* from a connected device (#1067) — such a run has no diary on this machine, since it works in a
|
|
56
|
+
* checkout over there — and returns undefined for an ordinary local run, whose diary `onEvents`
|
|
57
|
+
* tails off disk.
|
|
58
|
+
*/
|
|
59
|
+
export function contextEventsSource() {
|
|
60
|
+
return fromContext('eventsSource');
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* The relayed-agent lookup (#1067 slice 2). A run-scoped RPC uses it to tell an ordinary local agent
|
|
64
|
+
* (resolve a local checkout) from one running on a connected device (forward the call there).
|
|
65
|
+
*
|
|
66
|
+
* The one accessor with a default rather than a throw, because "unwired" has a real meaning here:
|
|
67
|
+
* a call arriving over `/_relay/rpc` is the *device* side of the relay, and the agent it names is
|
|
68
|
+
* local to that device. Forwarding it onward would be a loop, so the honest answer there is that
|
|
69
|
+
* nothing is relayed from here.
|
|
70
|
+
*/
|
|
71
|
+
export function contextRemote() {
|
|
72
|
+
return wired?.remote ?? NO_RELAYED_RUNS;
|
|
73
|
+
}
|
|
74
|
+
/** The user-preferences store (#410), over the registry file. */
|
|
75
|
+
export function contextPreferences() {
|
|
76
|
+
return fromContext('preferences');
|
|
77
|
+
}
|
|
78
|
+
/** The quota source behind the usage panel (#533). */
|
|
79
|
+
export function contextQuota() {
|
|
80
|
+
return fromContext('quota');
|
|
81
|
+
}
|
|
82
|
+
/** Which models each coding agent offers. */
|
|
83
|
+
export function contextModels() {
|
|
84
|
+
return fromContext('models');
|
|
85
|
+
}
|
|
86
|
+
/** What a project currently suffers from (#1500), as the daemon's background jobs last recorded it. */
|
|
87
|
+
export function contextProjectErrors() {
|
|
88
|
+
return fromContext('projectErrors');
|
|
89
|
+
}
|
|
90
|
+
/** The daemon's own bridge browser (#1332). */
|
|
91
|
+
export function contextBridgeBrowser() {
|
|
92
|
+
return fromContext('bridgeBrowser');
|
|
93
|
+
}
|
|
94
|
+
/** The daemon's own `startAgent`, so a start from the dashboard is the same start the CLI makes. */
|
|
95
|
+
export function contextStartAgent() {
|
|
96
|
+
return fromContext('startAgent');
|
|
97
|
+
}
|
|
98
|
+
/** Install + register a repo (#433), which only the daemon can do. */
|
|
99
|
+
export function contextAddProject() {
|
|
100
|
+
return fromContext('addProject');
|
|
101
|
+
}
|
|
102
|
+
/** Take a project off the list, which only the daemon can do: it runs the project's close hooks first. */
|
|
103
|
+
export function contextRemoveProject() {
|
|
104
|
+
return fromContext('removeProject');
|
|
105
|
+
}
|
|
106
|
+
//# sourceMappingURL=context.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"context.js","sourceRoot":"","sources":["../../src/dashboard-rpc/context.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAA;AACxD,OAAO,EAAE,uBAAuB,EAAyB,MAAM,0BAA0B,CAAA;AAQzF;;;;;;;;;;GAUG;AACH,IAAI,KAAmC,CAAA;AAEvC,2GAA2G;AAC3G,MAAM,UAAU,mBAAmB,CAAC,OAAyB;IAC3D,KAAK,GAAG,OAAO,CAAA;AACjB,CAAC;AAED;;;;;GAKG;AACH,SAAS,WAAW,CAAmC,GAAM;IAC3D,MAAM,KAAK,GAAG,KAAK,EAAE,CAAC,GAAG,CAAC,CAAA;IAC1B,IAAI,KAAK,KAAK,SAAS;QAAE,MAAM,IAAI,KAAK,CAAC,sCAAsC,MAAM,CAAC,GAAG,CAAC,EAAE,CAAC,CAAA;IAC7F,OAAO,KAAK,CAAA;AACd,CAAC;AAED,+DAA+D;AAC/D,MAAM,eAAe,GAAiB,EAAE,MAAM,EAAE,GAAG,EAAE,CAAC,SAAS,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,EAAE,EAAE,CAAA;AAEjF,iFAAiF;AACjF,MAAM,UAAU,eAAe;IAC7B,OAAO,uBAAuB,EAAE,CAAA;AAClC,CAAC;AAED,qFAAqF;AACrF,MAAM,UAAU,kBAAkB,CAAC,SAAiB;IAClD,OAAO,eAAe,EAAE,CAAC,WAAW,CAAC,SAAS,CAAC,CAAA;AACjD,CAAC;AAED;;;;;;;GAOG;AACH,MAAM,CAAC,KAAK,UAAU,gBAAgB,CAAC,SAAiB,EAAE,OAAgB;IACxE,MAAM,GAAG,GAAG,MAAM,kBAAkB,CAAC,SAAS,CAAC,CAAA;IAC/C,OAAO,GAAG,CAAC,CAAC,CAAC,oBAAoB,CAAC,GAAG,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,CAAA;AAC7D,CAAC;AAED;;;;;GAKG;AACH,MAAM,UAAU,mBAAmB;IACjC,OAAO,WAAW,CAAC,cAAc,CAAC,CAAA;AACpC,CAAC;AAED;;;;;;;;GAQG;AACH,MAAM,UAAU,aAAa;IAC3B,OAAO,KAAK,EAAE,MAAM,IAAI,eAAe,CAAA;AACzC,CAAC;AAED,iEAAiE;AACjE,MAAM,UAAU,kBAAkB;IAChC,OAAO,WAAW,CAAC,aAAa,CAAC,CAAA;AACnC,CAAC;AAED,sDAAsD;AACtD,MAAM,UAAU,YAAY;IAC1B,OAAO,WAAW,CAAC,OAAO,CAAC,CAAA;AAC7B,CAAC;AAED,6CAA6C;AAC7C,MAAM,UAAU,aAAa;IAC3B,OAAO,WAAW,CAAC,QAAQ,CAAC,CAAA;AAC9B,CAAC;AAED,uGAAuG;AACvG,MAAM,UAAU,oBAAoB;IAClC,OAAO,WAAW,CAAC,eAAe,CAAC,CAAA;AACrC,CAAC;AAED,+CAA+C;AAC/C,MAAM,UAAU,oBAAoB;IAClC,OAAO,WAAW,CAAC,eAAe,CAAC,CAAA;AACrC,CAAC;AAED,oGAAoG;AACpG,MAAM,UAAU,iBAAiB;IAC/B,OAAO,WAAW,CAAC,YAAY,CAAC,CAAA;AAClC,CAAC;AAED,sEAAsE;AACtE,MAAM,UAAU,iBAAiB;IAC/B,OAAO,WAAW,CAAC,YAAY,CAAC,CAAA;AAClC,CAAC;AAED,0GAA0G;AAC1G,MAAM,UAAU,oBAAoB;IAClC,OAAO,WAAW,CAAC,eAAe,CAAC,CAAA;AACrC,CAAC"}
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
import { type SteerResult } from '../dashboard/run-inbox.js';
|
|
2
|
+
export type { SteerResult };
|
|
3
|
+
import { type OpenTarget, type OpenResult } from '../dashboard/open-in-app.js';
|
|
4
|
+
import type { BridgeBrowserAction } from '../bridge-browser.js';
|
|
5
|
+
import { type HandoffResult } from '../dashboard/agent-handoff.js';
|
|
6
|
+
import { type CreateRepositoryResult } from '../store/repository.js';
|
|
7
|
+
import type { DeleteAgentResult, RemoveWorktreeResult, StartAgentOptions, StartAgentResult } from '../dashboard/types.js';
|
|
8
|
+
/**
|
|
9
|
+
* The key every action on one run locks under (`agent-locks.ts`): a Remove, a Delete and an Open
|
|
10
|
+
* PR on the same run each run their own git; serialized, whichever runs second finds the state
|
|
11
|
+
* the first one left and acts on that. The project and the run's id, not the checkout's path:
|
|
12
|
+
* the path is the branches provider's to know, and an Open PR on a run whose checkout is gone
|
|
13
|
+
* still locks the run.
|
|
14
|
+
*/
|
|
15
|
+
export declare function agentLockKey(cwd: string, agentId: string): string;
|
|
16
|
+
/**
|
|
17
|
+
* Stop a live agent (the Stop button): SIGINT to the process the run's own card names, when it is
|
|
18
|
+
* this machine's and alive. The card is the file the dashboard shows the run from, and its pid is
|
|
19
|
+
* whoever runs the agent; OpenAgent names no tool. Nothing else: a run without a live pid
|
|
20
|
+
* here has nothing to stop.
|
|
21
|
+
*/
|
|
22
|
+
export declare function sendStop(projectId: string, agentId?: string): Promise<void>;
|
|
23
|
+
/**
|
|
24
|
+
* Answer the question a run stopped on (#304, #1774). `pick` is one option id, or the chosen
|
|
25
|
+
* subset of a multi-select; the answer handed to the run is the chosen labels, read off the
|
|
26
|
+
* question as the run's own diary holds it, so only what the agent offered can be answered.
|
|
27
|
+
*/
|
|
28
|
+
export declare function sendChoice(projectId: string, id: string, pick: string | string[], agentId?: string): Promise<SteerResult>;
|
|
29
|
+
/**
|
|
30
|
+
* Queue the user's pick for the question a Claude web session is parked on (#1237).
|
|
31
|
+
*
|
|
32
|
+
* Not a line for a run like {@link sendChoice}: a cloud agent has no run here to hand it to, so
|
|
33
|
+
* the pick goes to the bridge store, where the browser extension collects it, types
|
|
34
|
+
* it into the session's composer and submits. Only labels of the currently parked question are
|
|
35
|
+
* accepted — one, or a multi-select's subset — and the daemon composes the text typed from them,
|
|
36
|
+
* so this can never put arbitrary text in front of another product's agent. Local only, no
|
|
37
|
+
* relay: the bridge lives on the daemon the extension talks to.
|
|
38
|
+
*/
|
|
39
|
+
export declare function sendBridgeAnswer(sessionId: string, labels: string[]): Promise<{
|
|
40
|
+
ok: boolean;
|
|
41
|
+
error?: string;
|
|
42
|
+
}>;
|
|
43
|
+
/** Withdraw a queued bridge answer (#1237). A no-op once the extension has delivered it. */
|
|
44
|
+
export declare function sendBridgeAnswerCancel(sessionId: string): Promise<void>;
|
|
45
|
+
/**
|
|
46
|
+
* Say something to a run (#714, #1774): the person's own words, the next prompt of the same
|
|
47
|
+
* conversation. A run that is working takes them when its turn ends; an ended run is resumed
|
|
48
|
+
* with them. Empty messages are dropped.
|
|
49
|
+
*/
|
|
50
|
+
export declare function sendMessage(projectId: string, text: string, agentId?: string): Promise<SteerResult>;
|
|
51
|
+
/**
|
|
52
|
+
* Remove a retained worktree (#737). An agent that failed or was stopped keeps its checkout so you
|
|
53
|
+
* can inspect it; this is the explicit cleanup for one, since nothing removes them on a timer.
|
|
54
|
+
*
|
|
55
|
+
* The checks and the removal are {@link removeProjectWorktree}'s, shared with the CLI's removal
|
|
56
|
+
* path (#982) so the surfaces cannot drift again; this adds only the agent lock around them.
|
|
57
|
+
*/
|
|
58
|
+
export declare function sendRemoveWorktree(projectId: string, agentId: string): Promise<RemoveWorktreeResult>;
|
|
59
|
+
/**
|
|
60
|
+
* Delete a session (#1032): remove it from the dashboard, records and all — the sibling of
|
|
61
|
+
* {@link sendRemoveWorktree}, and the one destructive-of-history action, so its surface confirms
|
|
62
|
+
* first. The checks, the worktree removal and what it leaves behind (the branch and its
|
|
63
|
+
* commits) are all {@link deleteProjectAgent}'s; this adds only the agent lock around them.
|
|
64
|
+
*/
|
|
65
|
+
export declare function sendDeleteAgent(projectId: string, agentId: string): Promise<DeleteAgentResult>;
|
|
66
|
+
/**
|
|
67
|
+
* Start a run in the project (#405, #1774): the project's own `start` hook line, reached through
|
|
68
|
+
* the daemon's wired `startAgent` (which relays to a connected device when the options name
|
|
69
|
+
* one). Answers the id of the run the hook began, or why there is none: a project without the
|
|
70
|
+
* line cannot start a run from here.
|
|
71
|
+
*/
|
|
72
|
+
export declare function sendStart(projectId: string, prompt: string, options?: StartAgentOptions): Promise<StartAgentResult>;
|
|
73
|
+
/**
|
|
74
|
+
* Open a project in the OS file manager or an editor (#490). Localhost-only: the daemon
|
|
75
|
+
* spawns a local command against the project's own registered path. A public host has no
|
|
76
|
+
* local path to resolve, so it returns an error rather than spawning anything.
|
|
77
|
+
*
|
|
78
|
+
* With a `agentId` it opens that session's own checkout instead (#798) — the whole point of
|
|
79
|
+
* opening it is to look at what the agent is doing, which is not in the project's tree.
|
|
80
|
+
*/
|
|
81
|
+
export declare function sendOpenInApp(projectId: string, target: OpenTarget, agentId?: string): Promise<OpenResult>;
|
|
82
|
+
/**
|
|
83
|
+
* Open a PR for a finished session's branch (#799): the project's branches provider pushes it
|
|
84
|
+
* first if the remote lacks it (#1774).
|
|
85
|
+
*
|
|
86
|
+
* The title and body come from what the agent already recorded: the branch the agent named its
|
|
87
|
+
* work with and the intent the user asked for. Nothing new is invented and nothing extra is asked
|
|
88
|
+
* of the user, which is the point of "offer the next step rather than describe it".
|
|
89
|
+
*/
|
|
90
|
+
export declare function sendOpenPullRequest(projectId: string, agentId: string, options?: {
|
|
91
|
+
draft?: boolean;
|
|
92
|
+
}): Promise<HandoffResult>;
|
|
93
|
+
/**
|
|
94
|
+
* The user's Publish branch action (#1820): push a finished run's branch and open no pull request,
|
|
95
|
+
* the last step where the project has no git host package. Under the agent lock, as Open PR is, so the push cannot race a Remove.
|
|
96
|
+
*/
|
|
97
|
+
export declare function sendPush(projectId: string, agentId: string): Promise<HandoffResult>;
|
|
98
|
+
/**
|
|
99
|
+
* The user's "Create a repository" action, for a project with no remote: the project's repository
|
|
100
|
+
* provider creates it private, sets it as the origin and pushes. The git host is looked up again
|
|
101
|
+
* afterwards: the project has a page there now.
|
|
102
|
+
*/
|
|
103
|
+
export declare function sendCreateRepository(projectId: string): Promise<CreateRepositoryResult>;
|
|
104
|
+
/**
|
|
105
|
+
* The user's "Merge into main" action: merge a finished run's branch into the project's default
|
|
106
|
+
* branch on this machine, for a project with no remote to push to. Under the agent lock, as the
|
|
107
|
+
* push is, so the merge cannot race a Remove.
|
|
108
|
+
*/
|
|
109
|
+
export declare function sendMergeBranch(projectId: string, agentId: string): Promise<HandoffResult>;
|
|
110
|
+
/**
|
|
111
|
+
* The user's Merge action (#1391): merge a finished run's open pull request, directly. A run
|
|
112
|
+
* that is still working has no Merge: its agent is still writing its branch, and the button comes
|
|
113
|
+
* with the ended view.
|
|
114
|
+
*/
|
|
115
|
+
export declare function sendMerge(projectId: string, agentId: string): Promise<HandoffResult>;
|
|
116
|
+
/**
|
|
117
|
+
* Ask the daemon's bridge browser to show its window (for the one-time sign-in), hide it again,
|
|
118
|
+
* or restart (#1332). Anything else is refused; a browser that is not running ignores show/hide.
|
|
119
|
+
*/
|
|
120
|
+
export declare function sendBridgeBrowser(action: BridgeBrowserAction): Promise<{
|
|
121
|
+
ok: boolean;
|
|
122
|
+
error?: string;
|
|
123
|
+
}>;
|
|
124
|
+
//# sourceMappingURL=control.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"control.d.ts","sourceRoot":"","sources":["../../src/dashboard-rpc/control.ts"],"names":[],"mappings":"AAAA,OAAO,EAAY,KAAK,WAAW,EAAE,MAAM,2BAA2B,CAAA;AACtE,YAAY,EAAE,WAAW,EAAE,CAAA;AAE3B,OAAO,EAAa,KAAK,UAAU,EAAE,KAAK,UAAU,EAAE,MAAM,6BAA6B,CAAA;AAEzF,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAA;AAM/D,OAAO,EAAyE,KAAK,aAAa,EAAE,MAAM,+BAA+B,CAAA;AAEzI,OAAO,EAAoB,KAAK,sBAAsB,EAAE,MAAM,wBAAwB,CAAA;AAEtF,OAAO,KAAK,EACV,iBAAiB,EACjB,oBAAoB,EACpB,iBAAiB,EACjB,gBAAgB,EACjB,MAAM,uBAAuB,CAAA;AAG9B;;;;;;GAMG;AACH,wBAAgB,YAAY,CAAC,GAAG,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,MAAM,CAEjE;AAQD;;;;;GAKG;AACH,wBAAsB,QAAQ,CAAC,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAYjF;AAED;;;;GAIG;AACH,wBAAsB,UAAU,CAAC,SAAS,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,MAAM,EAAE,EAAE,OAAO,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,WAAW,CAAC,CAY/H;AAED;;;;;;;;;GASG;AACH,wBAAsB,gBAAgB,CAAC,SAAS,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC;IAAE,EAAE,EAAE,OAAO,CAAC;IAAC,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC,CAKpH;AAED,4FAA4F;AAC5F,wBAAsB,sBAAsB,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAG7E;AAED;;;;GAIG;AACH,wBAAsB,WAAW,CAAC,SAAS,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,WAAW,CAAC,CAQzG;AAED;;;;;;GAMG;AACH,wBAAsB,kBAAkB,CAAC,SAAS,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,oBAAoB,CAAC,CAE1G;AAeD;;;;;GAKG;AACH,wBAAsB,eAAe,CAAC,SAAS,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,iBAAiB,CAAC,CAEpG;AAED;;;;;GAKG;AACH,wBAAsB,SAAS,CAAC,SAAS,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,GAAE,iBAAsB,GAAG,OAAO,CAAC,gBAAgB,CAAC,CAO7H;AAED;;;;;;;GAOG;AACH,wBAAsB,aAAa,CAAC,SAAS,EAAE,MAAM,EAAE,MAAM,EAAE,UAAU,EAAE,OAAO,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,UAAU,CAAC,CAOhH;AAmBD;;;;;;;GAOG;AACH,wBAAsB,mBAAmB,CAAC,SAAS,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,OAAO,GAAE;IAAE,KAAK,CAAC,EAAE,OAAO,CAAA;CAAO,GAAG,OAAO,CAAC,aAAa,CAAC,CAgBvI;AAED;;;GAGG;AACH,wBAAsB,QAAQ,CAAC,SAAS,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,aAAa,CAAC,CAOzF;AAED;;;;GAIG;AACH,wBAAsB,oBAAoB,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,sBAAsB,CAAC,CAM7F;AAED;;;;GAIG;AACH,wBAAsB,eAAe,CAAC,SAAS,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,aAAa,CAAC,CAOhG;AAED;;;;GAIG;AACH,wBAAsB,SAAS,CAAC,SAAS,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,aAAa,CAAC,CAO1F;AAED;;;GAGG;AACH,wBAAsB,iBAAiB,CAAC,MAAM,EAAE,mBAAmB,GAAG,OAAO,CAAC;IAAE,EAAE,EAAE,OAAO,CAAC;IAAC,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC,CAI7G"}
|