@openagt/dashboard 0.8.0 → 0.10.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (965) hide show
  1. package/README.md +14 -17
  2. package/dist/agent-view.d.ts +3 -3
  3. package/dist/bridge-browser.d.ts +4 -4
  4. package/dist/bridge-browser.d.ts.map +1 -1
  5. package/dist/bridge-browser.js +8 -8
  6. package/dist/bridge-browser.js.map +1 -1
  7. package/dist/built-in.d.ts +45 -14
  8. package/dist/built-in.d.ts.map +1 -1
  9. package/dist/built-in.js +122 -27
  10. package/dist/built-in.js.map +1 -1
  11. package/dist/chrome-extension/background.js +11 -11
  12. package/dist/chrome-extension/content.js +37 -37
  13. package/dist/chrome-extension/driver-plan.js +1 -1
  14. package/dist/chrome-extension/fingerprint.js +1 -1
  15. package/dist/chrome-extension/manifest.json +3 -3
  16. package/dist/chrome-extension/options.html +4 -4
  17. package/dist/chrome-extension/options.js +4 -4
  18. package/dist/cli.d.ts +1 -1
  19. package/dist/cli.js +7 -7
  20. package/dist/cli.js.map +1 -1
  21. package/dist/client.d.ts +1 -1
  22. package/dist/client.js +2 -2
  23. package/dist/cloud-run-state.d.ts +1 -1
  24. package/dist/cloud-scratch-refs.js +7 -7
  25. package/dist/cloud-scratch-refs.js.map +1 -1
  26. package/dist/cloud-work.js +2 -2
  27. package/dist/daemon-runtime.d.ts +5 -4
  28. package/dist/daemon-runtime.d.ts.map +1 -1
  29. package/dist/daemon-runtime.js +59 -10
  30. package/dist/daemon-runtime.js.map +1 -1
  31. package/dist/daemon-services.d.ts +4 -3
  32. package/dist/daemon-services.d.ts.map +1 -1
  33. package/dist/daemon-services.js +14 -8
  34. package/dist/daemon-services.js.map +1 -1
  35. package/dist/daemon-tick.js +1 -1
  36. package/dist/daemon.d.ts +1 -12
  37. package/dist/daemon.d.ts.map +1 -1
  38. package/dist/daemon.js +9 -32
  39. package/dist/daemon.js.map +1 -1
  40. package/dist/dashboard/agent-handoff.d.ts +4 -4
  41. package/dist/dashboard/agent-handoff.js +7 -7
  42. package/dist/dashboard/agent-handoff.js.map +1 -1
  43. package/dist/dashboard/bridge-endpoints.d.ts +3 -3
  44. package/dist/dashboard/bridge-endpoints.js +3 -3
  45. package/dist/dashboard/content-type.js +1 -1
  46. package/dist/dashboard/docs.d.ts +1 -1
  47. package/dist/dashboard/docs.js +1 -1
  48. package/dist/dashboard/git-status.d.ts +1 -1
  49. package/dist/dashboard/index.d.ts +1 -1
  50. package/dist/dashboard/index.d.ts.map +1 -1
  51. package/dist/dashboard/interventions.d.ts +2 -2
  52. package/dist/dashboard/open-in-app.d.ts +3 -3
  53. package/dist/dashboard/open-in-app.js +4 -4
  54. package/dist/dashboard/open-questions.d.ts +2 -2
  55. package/dist/dashboard/projects.d.ts +6 -5
  56. package/dist/dashboard/projects.d.ts.map +1 -1
  57. package/dist/dashboard/projects.js.map +1 -1
  58. package/dist/dashboard/pull-requests.d.ts +5 -5
  59. package/dist/dashboard/pull-requests.d.ts.map +1 -1
  60. package/dist/dashboard/pull-requests.js +2 -2
  61. package/dist/dashboard/pull-requests.js.map +1 -1
  62. package/dist/dashboard/relay-endpoints.d.ts +3 -3
  63. package/dist/dashboard/relay-endpoints.js +1 -1
  64. package/dist/dashboard/remote-run.d.ts +5 -5
  65. package/dist/dashboard/remote-run.js +3 -3
  66. package/dist/dashboard/rpc-serve.d.ts +7 -4
  67. package/dist/dashboard/rpc-serve.d.ts.map +1 -1
  68. package/dist/dashboard/rpc-serve.js.map +1 -1
  69. package/dist/dashboard/run-inbox.d.ts +2 -2
  70. package/dist/dashboard/run-inbox.js +4 -4
  71. package/dist/dashboard/run-inbox.js.map +1 -1
  72. package/dist/dashboard/server.d.ts +6 -4
  73. package/dist/dashboard/server.d.ts.map +1 -1
  74. package/dist/dashboard/server.js +3 -2
  75. package/dist/dashboard/server.js.map +1 -1
  76. package/dist/dashboard/start-branch.d.ts +32 -0
  77. package/dist/dashboard/start-branch.d.ts.map +1 -0
  78. package/dist/dashboard/start-branch.js +47 -0
  79. package/dist/dashboard/start-branch.js.map +1 -0
  80. package/dist/dashboard/static.js +1 -1
  81. package/dist/dashboard/types.d.ts +29 -3
  82. package/dist/dashboard/types.d.ts.map +1 -1
  83. package/dist/dashboard/web-start-endpoints.d.ts +1 -1
  84. package/dist/dashboard/web-start-endpoints.d.ts.map +1 -1
  85. package/dist/dashboard/web-start-endpoints.js +1 -1
  86. package/dist/dashboard/web-start-endpoints.js.map +1 -1
  87. package/dist/dashboard-bundle/assets/main-Q7JMdMJI.css +2 -0
  88. package/dist/dashboard-bundle/assets/main-fDZWGOub.js +140 -0
  89. package/dist/dashboard-bundle/assets/{module-jASZmfSB.js → module-gKz-ZvkG.js} +4 -4
  90. package/dist/dashboard-bundle/host/module.js +1 -1
  91. package/dist/dashboard-bundle/index.html +6 -6
  92. package/dist/dashboard-rpc/context.d.ts +2 -0
  93. package/dist/dashboard-rpc/context.d.ts.map +1 -1
  94. package/dist/dashboard-rpc/context.js +4 -0
  95. package/dist/dashboard-rpc/context.js.map +1 -1
  96. package/dist/dashboard-rpc/control.d.ts +1 -1
  97. package/dist/dashboard-rpc/control.js +3 -3
  98. package/dist/dashboard-rpc/control.js.map +1 -1
  99. package/dist/dashboard-rpc/events.d.ts +3 -3
  100. package/dist/dashboard-rpc/index.d.ts +2 -1
  101. package/dist/dashboard-rpc/index.d.ts.map +1 -1
  102. package/dist/dashboard-rpc/index.js +4 -2
  103. package/dist/dashboard-rpc/index.js.map +1 -1
  104. package/dist/dashboard-rpc/modules.d.ts +8 -6
  105. package/dist/dashboard-rpc/modules.d.ts.map +1 -1
  106. package/dist/dashboard-rpc/modules.js +8 -6
  107. package/dist/dashboard-rpc/modules.js.map +1 -1
  108. package/dist/dashboard-rpc/preferences.d.ts +2 -2
  109. package/dist/dashboard-rpc/preferences.d.ts.map +1 -1
  110. package/dist/dashboard-rpc/preferences.js +2 -2
  111. package/dist/dashboard-rpc/preferences.js.map +1 -1
  112. package/dist/dashboard-rpc/projects.d.ts +29 -3
  113. package/dist/dashboard-rpc/projects.d.ts.map +1 -1
  114. package/dist/dashboard-rpc/projects.js +57 -8
  115. package/dist/dashboard-rpc/projects.js.map +1 -1
  116. package/dist/dashboard-rpc/reads.d.ts +3 -3
  117. package/dist/dashboard-rpc/reads.js +1 -1
  118. package/dist/dashboard-rpc/skills.d.ts +80 -0
  119. package/dist/dashboard-rpc/skills.d.ts.map +1 -0
  120. package/dist/dashboard-rpc/skills.js +84 -0
  121. package/dist/dashboard-rpc/skills.js.map +1 -0
  122. package/dist/dashboard-rpc/test-context.d.ts.map +1 -1
  123. package/dist/dashboard-rpc/test-context.js +4 -3
  124. package/dist/dashboard-rpc/test-context.js.map +1 -1
  125. package/dist/event-stream.d.ts +1 -1
  126. package/dist/event-stream.js +1 -1
  127. package/dist/events.d.ts +8 -8
  128. package/dist/events.d.ts.map +1 -1
  129. package/dist/index.d.ts +3 -2
  130. package/dist/index.d.ts.map +1 -1
  131. package/dist/install.d.ts +9 -7
  132. package/dist/install.d.ts.map +1 -1
  133. package/dist/install.js +28 -14
  134. package/dist/install.js.map +1 -1
  135. package/dist/module-server.d.ts +1 -1
  136. package/dist/module-types/dashboard/components/ui/switch.d.ts +7 -0
  137. package/dist/module-types/dashboard/lib/route.d.ts +2 -1
  138. package/dist/module-types/dashboard/lib/use-modules.d.ts +4 -3
  139. package/dist/module-types/dashboard/module/index.d.ts +6 -5
  140. package/dist/module-types/src/agent-view.d.ts +3 -3
  141. package/dist/module-types/src/bridge-browser.d.ts +4 -4
  142. package/dist/module-types/src/built-in.d.ts +45 -14
  143. package/dist/module-types/src/client.d.ts +1 -1
  144. package/dist/module-types/src/cloud-run-state.d.ts +1 -1
  145. package/dist/module-types/src/dashboard/agent-handoff.d.ts +4 -4
  146. package/dist/module-types/src/dashboard/bridge-endpoints.d.ts +3 -3
  147. package/dist/module-types/src/dashboard/docs.d.ts +1 -1
  148. package/dist/module-types/src/dashboard/git-status.d.ts +1 -1
  149. package/dist/module-types/src/dashboard/interventions.d.ts +2 -2
  150. package/dist/module-types/src/dashboard/open-in-app.d.ts +3 -3
  151. package/dist/module-types/src/dashboard/open-questions.d.ts +2 -2
  152. package/dist/module-types/src/dashboard/projects.d.ts +6 -5
  153. package/dist/module-types/src/dashboard/pull-requests.d.ts +5 -5
  154. package/dist/module-types/src/dashboard/remote-run.d.ts +5 -5
  155. package/dist/module-types/src/dashboard/rpc-serve.d.ts +7 -4
  156. package/dist/module-types/src/dashboard/run-inbox.d.ts +2 -2
  157. package/dist/module-types/src/dashboard/start-branch.d.ts +31 -0
  158. package/dist/module-types/src/dashboard/types.d.ts +29 -3
  159. package/dist/module-types/src/dashboard-rpc/context.d.ts +2 -0
  160. package/dist/module-types/src/dashboard-rpc/control.d.ts +1 -1
  161. package/dist/module-types/src/dashboard-rpc/events.d.ts +3 -3
  162. package/dist/module-types/src/dashboard-rpc/index.d.ts +2 -1
  163. package/dist/module-types/src/dashboard-rpc/modules.d.ts +8 -6
  164. package/dist/module-types/src/dashboard-rpc/preferences.d.ts +2 -2
  165. package/dist/module-types/src/dashboard-rpc/projects.d.ts +29 -3
  166. package/dist/module-types/src/dashboard-rpc/reads.d.ts +3 -3
  167. package/dist/module-types/src/dashboard-rpc/skills.d.ts +79 -0
  168. package/dist/module-types/src/event-stream.d.ts +1 -1
  169. package/dist/module-types/src/events.d.ts +8 -8
  170. package/dist/module-types/src/index.d.ts +3 -2
  171. package/dist/module-types/src/open-choices.d.ts +2 -2
  172. package/dist/module-types/src/openagent-dir.d.ts +8 -0
  173. package/dist/module-types/src/openagent-gitignore.d.ts +11 -0
  174. package/dist/module-types/src/project-commands.d.ts +5 -1
  175. package/dist/module-types/src/project-errors.d.ts +11 -7
  176. package/dist/module-types/src/project-hooks.d.ts +12 -9
  177. package/dist/module-types/src/project-modules.d.ts +9 -7
  178. package/dist/module-types/src/project-presets.d.ts +4 -4
  179. package/dist/module-types/src/project.d.ts +6 -6
  180. package/dist/module-types/src/publish-levels.d.ts +4 -4
  181. package/dist/module-types/src/quota-boundary.d.ts +2 -2
  182. package/dist/module-types/src/registry.d.ts +13 -7
  183. package/dist/module-types/src/store/agent-checkout.d.ts +1 -1
  184. package/dist/module-types/src/store/agent-store.d.ts +6 -6
  185. package/dist/module-types/src/store/branches.d.ts +8 -8
  186. package/dist/module-types/src/store/git-host.d.ts +8 -8
  187. package/dist/module-types/src/store/provided.d.ts +3 -3
  188. package/dist/module-types/src/store/queue.d.ts +9 -9
  189. package/dist/module-types/src/store/repository.d.ts +2 -2
  190. package/dist/module-types/src/store/run-record.d.ts +10 -10
  191. package/dist/module-types/src/store/runs.d.ts +7 -7
  192. package/dist/module-types/src/store/tickets.d.ts +8 -8
  193. package/dist/module-types/src/terminal.d.ts +3 -3
  194. package/dist/open-choices.d.ts +2 -2
  195. package/dist/openagent-dir.d.ts +9 -0
  196. package/dist/openagent-dir.d.ts.map +1 -0
  197. package/dist/openagent-dir.js +9 -0
  198. package/dist/openagent-dir.js.map +1 -0
  199. package/dist/openagent-gitignore.d.ts +12 -0
  200. package/dist/openagent-gitignore.d.ts.map +1 -0
  201. package/dist/openagent-gitignore.js +19 -0
  202. package/dist/openagent-gitignore.js.map +1 -0
  203. package/dist/pick-directory.js +2 -2
  204. package/dist/pick-directory.js.map +1 -1
  205. package/dist/project-commands.d.ts +5 -1
  206. package/dist/project-commands.d.ts.map +1 -1
  207. package/dist/project-commands.js +1 -1
  208. package/dist/project-commands.js.map +1 -1
  209. package/dist/project-errors.d.ts +11 -7
  210. package/dist/project-errors.d.ts.map +1 -1
  211. package/dist/project-errors.js +10 -8
  212. package/dist/project-errors.js.map +1 -1
  213. package/dist/project-hooks.d.ts +12 -9
  214. package/dist/project-hooks.d.ts.map +1 -1
  215. package/dist/project-hooks.js +17 -14
  216. package/dist/project-hooks.js.map +1 -1
  217. package/dist/project-modules.d.ts +9 -7
  218. package/dist/project-modules.d.ts.map +1 -1
  219. package/dist/project-modules.js +7 -13
  220. package/dist/project-modules.js.map +1 -1
  221. package/dist/project-presets.d.ts +4 -4
  222. package/dist/project-presets.d.ts.map +1 -1
  223. package/dist/project-presets.js +9 -9
  224. package/dist/project-presets.js.map +1 -1
  225. package/dist/project.d.ts +6 -6
  226. package/dist/project.d.ts.map +1 -1
  227. package/dist/project.js +6 -7
  228. package/dist/project.js.map +1 -1
  229. package/dist/publish-levels.d.ts +4 -4
  230. package/dist/publish-levels.d.ts.map +1 -1
  231. package/dist/publish-levels.js +7 -5
  232. package/dist/publish-levels.js.map +1 -1
  233. package/dist/quota-boundary.d.ts +2 -2
  234. package/dist/quota-boundary.js +2 -2
  235. package/dist/registry.d.ts +13 -7
  236. package/dist/registry.d.ts.map +1 -1
  237. package/dist/registry.js +19 -3
  238. package/dist/registry.js.map +1 -1
  239. package/dist/remove-files.d.ts +24 -0
  240. package/dist/remove-files.d.ts.map +1 -0
  241. package/dist/remove-files.js +98 -0
  242. package/dist/remove-files.js.map +1 -0
  243. package/dist/store/agent-checkout.d.ts +1 -1
  244. package/dist/store/agent-checkout.js +3 -3
  245. package/dist/store/agent-checkout.js.map +1 -1
  246. package/dist/store/agent-store.d.ts +6 -6
  247. package/dist/store/agent-store.js +8 -8
  248. package/dist/store/agent-store.js.map +1 -1
  249. package/dist/store/branches.d.ts +8 -8
  250. package/dist/store/branches.d.ts.map +1 -1
  251. package/dist/store/branches.js +2 -2
  252. package/dist/store/branches.js.map +1 -1
  253. package/dist/store/git-host.d.ts +8 -8
  254. package/dist/store/git-host.d.ts.map +1 -1
  255. package/dist/store/git-host.js +3 -3
  256. package/dist/store/git-host.js.map +1 -1
  257. package/dist/store/provided.d.ts +3 -3
  258. package/dist/store/provided.d.ts.map +1 -1
  259. package/dist/store/provided.js +3 -3
  260. package/dist/store/provided.js.map +1 -1
  261. package/dist/store/queue.d.ts +9 -9
  262. package/dist/store/queue.d.ts.map +1 -1
  263. package/dist/store/queue.js +2 -2
  264. package/dist/store/queue.js.map +1 -1
  265. package/dist/store/repository.d.ts +2 -2
  266. package/dist/store/run-record.d.ts +10 -10
  267. package/dist/store/run-record.d.ts.map +1 -1
  268. package/dist/store/run-record.js +7 -7
  269. package/dist/store/run-record.js.map +1 -1
  270. package/dist/store/runs.d.ts +7 -7
  271. package/dist/store/runs.d.ts.map +1 -1
  272. package/dist/store/runs.js +3 -3
  273. package/dist/store/runs.js.map +1 -1
  274. package/dist/store/test-branches.d.ts +0 -8
  275. package/dist/store/test-branches.d.ts.map +1 -1
  276. package/dist/store/test-branches.js +0 -24
  277. package/dist/store/test-branches.js.map +1 -1
  278. package/dist/store/tickets.d.ts +8 -8
  279. package/dist/store/tickets.d.ts.map +1 -1
  280. package/dist/store/tickets.js +2 -2
  281. package/dist/store/tickets.js.map +1 -1
  282. package/dist/terminal.d.ts +3 -3
  283. package/dist/terminal.js +3 -3
  284. package/package.json +23 -20
  285. package/dist/agent-archive.d.ts +0 -35
  286. package/dist/agent-archive.d.ts.map +0 -1
  287. package/dist/agent-archive.js +0 -67
  288. package/dist/agent-archive.js.map +0 -1
  289. package/dist/agent-commit.d.ts +0 -140
  290. package/dist/agent-commit.d.ts.map +0 -1
  291. package/dist/agent-commit.js +0 -254
  292. package/dist/agent-commit.js.map +0 -1
  293. package/dist/agent-driver.d.ts +0 -28
  294. package/dist/agent-driver.d.ts.map +0 -1
  295. package/dist/agent-driver.js +0 -18
  296. package/dist/agent-driver.js.map +0 -1
  297. package/dist/agent-location.d.ts +0 -11
  298. package/dist/agent-location.d.ts.map +0 -1
  299. package/dist/agent-location.js +0 -10
  300. package/dist/agent-location.js.map +0 -1
  301. package/dist/agent-messages.d.ts +0 -55
  302. package/dist/agent-messages.d.ts.map +0 -1
  303. package/dist/agent-messages.js +0 -73
  304. package/dist/agent-messages.js.map +0 -1
  305. package/dist/agent-names.d.ts +0 -24
  306. package/dist/agent-names.d.ts.map +0 -1
  307. package/dist/agent-names.js +0 -33
  308. package/dist/agent-names.js.map +0 -1
  309. package/dist/agent-options.d.ts +0 -45
  310. package/dist/agent-options.d.ts.map +0 -1
  311. package/dist/agent-options.js +0 -83
  312. package/dist/agent-options.js.map +0 -1
  313. package/dist/agent-spec.d.ts +0 -56
  314. package/dist/agent-spec.d.ts.map +0 -1
  315. package/dist/agent-spec.js +0 -56
  316. package/dist/agent-spec.js.map +0 -1
  317. package/dist/agent-telemetry.d.ts +0 -88
  318. package/dist/agent-telemetry.d.ts.map +0 -1
  319. package/dist/agent-telemetry.js +0 -97
  320. package/dist/agent-telemetry.js.map +0 -1
  321. package/dist/agent.d.ts +0 -113
  322. package/dist/agent.d.ts.map +0 -1
  323. package/dist/agent.js +0 -168
  324. package/dist/agent.js.map +0 -1
  325. package/dist/archived-agent-patch.d.ts +0 -14
  326. package/dist/archived-agent-patch.d.ts.map +0 -1
  327. package/dist/archived-agent-patch.js +0 -22
  328. package/dist/archived-agent-patch.js.map +0 -1
  329. package/dist/auto-pm.d.ts +0 -538
  330. package/dist/auto-pm.d.ts.map +0 -1
  331. package/dist/auto-pm.js +0 -707
  332. package/dist/auto-pm.js.map +0 -1
  333. package/dist/await-gate.d.ts +0 -184
  334. package/dist/await-gate.d.ts.map +0 -1
  335. package/dist/await-gate.js +0 -252
  336. package/dist/await-gate.js.map +0 -1
  337. package/dist/branch-links-pass.d.ts +0 -15
  338. package/dist/branch-links-pass.d.ts.map +0 -1
  339. package/dist/branch-links-pass.js +0 -13
  340. package/dist/branch-links-pass.js.map +0 -1
  341. package/dist/branch-links.d.ts +0 -53
  342. package/dist/branch-links.d.ts.map +0 -1
  343. package/dist/branch-links.js +0 -94
  344. package/dist/branch-links.js.map +0 -1
  345. package/dist/branch-names.d.ts +0 -57
  346. package/dist/branch-names.d.ts.map +0 -1
  347. package/dist/branch-names.js +0 -72
  348. package/dist/branch-names.js.map +0 -1
  349. package/dist/ci-watch.d.ts +0 -123
  350. package/dist/ci-watch.d.ts.map +0 -1
  351. package/dist/ci-watch.js +0 -228
  352. package/dist/ci-watch.js.map +0 -1
  353. package/dist/claude-trust.d.ts +0 -16
  354. package/dist/claude-trust.d.ts.map +0 -1
  355. package/dist/claude-trust.js +0 -72
  356. package/dist/claude-trust.js.map +0 -1
  357. package/dist/cli-exec.d.ts +0 -36
  358. package/dist/cli-exec.d.ts.map +0 -1
  359. package/dist/cli-exec.js +0 -44
  360. package/dist/cli-exec.js.map +0 -1
  361. package/dist/closing-keywords.d.ts +0 -28
  362. package/dist/closing-keywords.d.ts.map +0 -1
  363. package/dist/closing-keywords.js +0 -49
  364. package/dist/closing-keywords.js.map +0 -1
  365. package/dist/config-layers.d.ts +0 -62
  366. package/dist/config-layers.d.ts.map +0 -1
  367. package/dist/config-layers.js +0 -70
  368. package/dist/config-layers.js.map +0 -1
  369. package/dist/config.d.ts +0 -54
  370. package/dist/config.d.ts.map +0 -1
  371. package/dist/config.js +0 -78
  372. package/dist/config.js.map +0 -1
  373. package/dist/consumption-guard.d.ts +0 -53
  374. package/dist/consumption-guard.d.ts.map +0 -1
  375. package/dist/consumption-guard.js +0 -69
  376. package/dist/consumption-guard.js.map +0 -1
  377. package/dist/control.d.ts +0 -75
  378. package/dist/control.d.ts.map +0 -1
  379. package/dist/control.js +0 -68
  380. package/dist/control.js.map +0 -1
  381. package/dist/conversation-commit.d.ts +0 -166
  382. package/dist/conversation-commit.d.ts.map +0 -1
  383. package/dist/conversation-commit.js +0 -309
  384. package/dist/conversation-commit.js.map +0 -1
  385. package/dist/conversations.d.ts +0 -93
  386. package/dist/conversations.d.ts.map +0 -1
  387. package/dist/conversations.js +0 -176
  388. package/dist/conversations.js.map +0 -1
  389. package/dist/daemon-writes.d.ts +0 -33
  390. package/dist/daemon-writes.d.ts.map +0 -1
  391. package/dist/daemon-writes.js +0 -45
  392. package/dist/daemon-writes.js.map +0 -1
  393. package/dist/dashboard/agent-tree.d.ts +0 -106
  394. package/dist/dashboard/agent-tree.d.ts.map +0 -1
  395. package/dist/dashboard/agent-tree.js +0 -180
  396. package/dist/dashboard/agent-tree.js.map +0 -1
  397. package/dist/dashboard/browser-proxy.d.ts +0 -41
  398. package/dist/dashboard/browser-proxy.d.ts.map +0 -1
  399. package/dist/dashboard/browser-proxy.js +0 -96
  400. package/dist/dashboard/browser-proxy.js.map +0 -1
  401. package/dist/dashboard/discord-webhook.d.ts +0 -17
  402. package/dist/dashboard/discord-webhook.d.ts.map +0 -1
  403. package/dist/dashboard/discord-webhook.js +0 -36
  404. package/dist/dashboard/discord-webhook.js.map +0 -1
  405. package/dist/dashboard/file-diff.d.ts +0 -67
  406. package/dist/dashboard/file-diff.d.ts.map +0 -1
  407. package/dist/dashboard/file-diff.js +0 -132
  408. package/dist/dashboard/file-diff.js.map +0 -1
  409. package/dist/dashboard/file-read.d.ts +0 -42
  410. package/dist/dashboard/file-read.d.ts.map +0 -1
  411. package/dist/dashboard/file-read.js +0 -69
  412. package/dist/dashboard/file-read.js.map +0 -1
  413. package/dist/dashboard/file-status.d.ts +0 -21
  414. package/dist/dashboard/file-status.d.ts.map +0 -1
  415. package/dist/dashboard/file-status.js +0 -37
  416. package/dist/dashboard/file-status.js.map +0 -1
  417. package/dist/dashboard/gh.d.ts +0 -131
  418. package/dist/dashboard/gh.d.ts.map +0 -1
  419. package/dist/dashboard/gh.js +0 -150
  420. package/dist/dashboard/gh.js.map +0 -1
  421. package/dist/dashboard/github.d.ts +0 -11
  422. package/dist/dashboard/github.d.ts.map +0 -1
  423. package/dist/dashboard/github.js +0 -33
  424. package/dist/dashboard/github.js.map +0 -1
  425. package/dist/dashboard/run-handoff.d.ts +0 -311
  426. package/dist/dashboard/run-handoff.d.ts.map +0 -1
  427. package/dist/dashboard/run-handoff.js +0 -485
  428. package/dist/dashboard/run-handoff.js.map +0 -1
  429. package/dist/dashboard/scheduler-state.d.ts +0 -73
  430. package/dist/dashboard/scheduler-state.d.ts.map +0 -1
  431. package/dist/dashboard/scheduler-state.js +0 -120
  432. package/dist/dashboard/scheduler-state.js.map +0 -1
  433. package/dist/dashboard/subagent-settings.d.ts +0 -26
  434. package/dist/dashboard/subagent-settings.d.ts.map +0 -1
  435. package/dist/dashboard/subagent-settings.js +0 -52
  436. package/dist/dashboard/subagent-settings.js.map +0 -1
  437. package/dist/dashboard/telefunc-serve.d.ts +0 -118
  438. package/dist/dashboard/telefunc-serve.d.ts.map +0 -1
  439. package/dist/dashboard/telefunc-serve.js +0 -108
  440. package/dist/dashboard/telefunc-serve.js.map +0 -1
  441. package/dist/dashboard/tickets.d.ts +0 -29
  442. package/dist/dashboard/tickets.d.ts.map +0 -1
  443. package/dist/dashboard/tickets.js +0 -38
  444. package/dist/dashboard/tickets.js.map +0 -1
  445. package/dist/dashboard/widget-serve.d.ts +0 -15
  446. package/dist/dashboard/widget-serve.d.ts.map +0 -1
  447. package/dist/dashboard/widget-serve.js +0 -45
  448. package/dist/dashboard/widget-serve.js.map +0 -1
  449. package/dist/dashboard-bundle/assets/main-B3HghPQy.css +0 -2
  450. package/dist/dashboard-bundle/assets/main-om0WOAku.js +0 -140
  451. package/dist/dashboard-client/assets/chunks/chunk-BF9pJudf.js +0 -4
  452. package/dist/dashboard-client/assets/entries/entry-client-routing.CT1e9F0o.js +0 -1
  453. package/dist/dashboard-client/assets/entries/pages_index.CkW5JQ8X.js +0 -428
  454. package/dist/dashboard-client/assets/static/layouts_tailwind-00e65532.8OjKGAbA.css +0 -2
  455. package/dist/dashboard-client/index.html +0 -27
  456. package/dist/dashboard-client/index.pageContext.json +0 -1
  457. package/dist/dashboard-client/logo-animated.svg +0 -34
  458. package/dist/dashboard-client/logo.svg +0 -16
  459. package/dist/dashboard-rpc/control.telefunc.d.ts +0 -176
  460. package/dist/dashboard-rpc/control.telefunc.d.ts.map +0 -1
  461. package/dist/dashboard-rpc/control.telefunc.js +0 -373
  462. package/dist/dashboard-rpc/control.telefunc.js.map +0 -1
  463. package/dist/dashboard-rpc/devices.telefunc.d.ts +0 -9
  464. package/dist/dashboard-rpc/devices.telefunc.d.ts.map +0 -1
  465. package/dist/dashboard-rpc/devices.telefunc.js +0 -12
  466. package/dist/dashboard-rpc/devices.telefunc.js.map +0 -1
  467. package/dist/dashboard-rpc/events.telefunc.d.ts +0 -36
  468. package/dist/dashboard-rpc/events.telefunc.d.ts.map +0 -1
  469. package/dist/dashboard-rpc/events.telefunc.js +0 -70
  470. package/dist/dashboard-rpc/events.telefunc.js.map +0 -1
  471. package/dist/dashboard-rpc/preferences.telefunc.d.ts +0 -97
  472. package/dist/dashboard-rpc/preferences.telefunc.d.ts.map +0 -1
  473. package/dist/dashboard-rpc/preferences.telefunc.js +0 -157
  474. package/dist/dashboard-rpc/preferences.telefunc.js.map +0 -1
  475. package/dist/dashboard-rpc/projects.telefunc.d.ts +0 -56
  476. package/dist/dashboard-rpc/projects.telefunc.d.ts.map +0 -1
  477. package/dist/dashboard-rpc/projects.telefunc.js +0 -96
  478. package/dist/dashboard-rpc/projects.telefunc.js.map +0 -1
  479. package/dist/dashboard-rpc/quota.telefunc.d.ts +0 -40
  480. package/dist/dashboard-rpc/quota.telefunc.d.ts.map +0 -1
  481. package/dist/dashboard-rpc/quota.telefunc.js +0 -84
  482. package/dist/dashboard-rpc/quota.telefunc.js.map +0 -1
  483. package/dist/dashboard-rpc/reads.telefunc.d.ts +0 -197
  484. package/dist/dashboard-rpc/reads.telefunc.d.ts.map +0 -1
  485. package/dist/dashboard-rpc/reads.telefunc.js +0 -403
  486. package/dist/dashboard-rpc/reads.telefunc.js.map +0 -1
  487. package/dist/dashboard-rpc/register.d.ts +0 -18
  488. package/dist/dashboard-rpc/register.d.ts.map +0 -1
  489. package/dist/dashboard-rpc/register.js +0 -66
  490. package/dist/dashboard-rpc/register.js.map +0 -1
  491. package/dist/dashboard-rpc/relay-run.d.ts +0 -9
  492. package/dist/dashboard-rpc/relay-run.d.ts.map +0 -1
  493. package/dist/dashboard-rpc/relay-run.js +0 -21
  494. package/dist/dashboard-rpc/relay-run.js.map +0 -1
  495. package/dist/dashboard-rpc/stream-channel.d.ts +0 -23
  496. package/dist/dashboard-rpc/stream-channel.d.ts.map +0 -1
  497. package/dist/dashboard-rpc/stream-channel.js +0 -52
  498. package/dist/dashboard-rpc/stream-channel.js.map +0 -1
  499. package/dist/dashboard-rpc/subagents.d.ts +0 -12
  500. package/dist/dashboard-rpc/subagents.d.ts.map +0 -1
  501. package/dist/dashboard-rpc/subagents.js +0 -13
  502. package/dist/dashboard-rpc/subagents.js.map +0 -1
  503. package/dist/dashboard-rpc/widgets.d.ts +0 -33
  504. package/dist/dashboard-rpc/widgets.d.ts.map +0 -1
  505. package/dist/dashboard-rpc/widgets.js +0 -54
  506. package/dist/dashboard-rpc/widgets.js.map +0 -1
  507. package/dist/data-branch.d.ts +0 -120
  508. package/dist/data-branch.d.ts.map +0 -1
  509. package/dist/data-branch.js +0 -319
  510. package/dist/data-branch.js.map +0 -1
  511. package/dist/discord/bot.d.ts +0 -61
  512. package/dist/discord/bot.d.ts.map +0 -1
  513. package/dist/discord/bot.js +0 -94
  514. package/dist/discord/bot.js.map +0 -1
  515. package/dist/discord/gateway.d.ts +0 -137
  516. package/dist/discord/gateway.d.ts.map +0 -1
  517. package/dist/discord/gateway.js +0 -315
  518. package/dist/discord/gateway.js.map +0 -1
  519. package/dist/discord/live-run.d.ts +0 -31
  520. package/dist/discord/live-run.d.ts.map +0 -1
  521. package/dist/discord/live-run.js +0 -57
  522. package/dist/discord/live-run.js.map +0 -1
  523. package/dist/discord/reply-mirror.d.ts +0 -83
  524. package/dist/discord/reply-mirror.d.ts.map +0 -1
  525. package/dist/discord/reply-mirror.js +0 -84
  526. package/dist/discord/reply-mirror.js.map +0 -1
  527. package/dist/discord/rest.d.ts +0 -20
  528. package/dist/discord/rest.d.ts.map +0 -1
  529. package/dist/discord/rest.js +0 -41
  530. package/dist/discord/rest.js.map +0 -1
  531. package/dist/discord/routing.d.ts +0 -81
  532. package/dist/discord/routing.d.ts.map +0 -1
  533. package/dist/discord/routing.js +0 -91
  534. package/dist/discord/routing.js.map +0 -1
  535. package/dist/discord-credentials-store.d.ts +0 -14
  536. package/dist/discord-credentials-store.d.ts.map +0 -1
  537. package/dist/discord-credentials-store.js +0 -53
  538. package/dist/discord-credentials-store.js.map +0 -1
  539. package/dist/discord-credentials.d.ts +0 -80
  540. package/dist/discord-credentials.d.ts.map +0 -1
  541. package/dist/discord-credentials.js +0 -55
  542. package/dist/discord-credentials.js.map +0 -1
  543. package/dist/driver/actions-zip.d.ts +0 -2
  544. package/dist/driver/actions-zip.d.ts.map +0 -1
  545. package/dist/driver/actions-zip.js +0 -70
  546. package/dist/driver/actions-zip.js.map +0 -1
  547. package/dist/driver/actions.d.ts +0 -130
  548. package/dist/driver/actions.d.ts.map +0 -1
  549. package/dist/driver/actions.js +0 -261
  550. package/dist/driver/actions.js.map +0 -1
  551. package/dist/driver/agent-cli.d.ts +0 -57
  552. package/dist/driver/agent-cli.d.ts.map +0 -1
  553. package/dist/driver/agent-cli.js +0 -134
  554. package/dist/driver/agent-cli.js.map +0 -1
  555. package/dist/driver/child-registry.d.ts +0 -25
  556. package/dist/driver/child-registry.d.ts.map +0 -1
  557. package/dist/driver/child-registry.js +0 -53
  558. package/dist/driver/child-registry.js.map +0 -1
  559. package/dist/driver/claude-code-quota.d.ts +0 -40
  560. package/dist/driver/claude-code-quota.d.ts.map +0 -1
  561. package/dist/driver/claude-code-quota.js +0 -144
  562. package/dist/driver/claude-code-quota.js.map +0 -1
  563. package/dist/driver/claude-code.d.ts +0 -104
  564. package/dist/driver/claude-code.d.ts.map +0 -1
  565. package/dist/driver/claude-code.js +0 -314
  566. package/dist/driver/claude-code.js.map +0 -1
  567. package/dist/driver/cli-session.d.ts +0 -57
  568. package/dist/driver/cli-session.d.ts.map +0 -1
  569. package/dist/driver/cli-session.js +0 -134
  570. package/dist/driver/cli-session.js.map +0 -1
  571. package/dist/driver/cloud.d.ts +0 -109
  572. package/dist/driver/cloud.d.ts.map +0 -1
  573. package/dist/driver/cloud.js +0 -232
  574. package/dist/driver/cloud.js.map +0 -1
  575. package/dist/driver/codex.d.ts +0 -99
  576. package/dist/driver/codex.d.ts.map +0 -1
  577. package/dist/driver/codex.js +0 -190
  578. package/dist/driver/codex.js.map +0 -1
  579. package/dist/driver/fake.d.ts +0 -54
  580. package/dist/driver/fake.d.ts.map +0 -1
  581. package/dist/driver/fake.js +0 -73
  582. package/dist/driver/fake.js.map +0 -1
  583. package/dist/driver/index.d.ts +0 -10
  584. package/dist/driver/index.d.ts.map +0 -1
  585. package/dist/driver/index.js +0 -14
  586. package/dist/driver/index.js.map +0 -1
  587. package/dist/driver/session-support.d.ts +0 -14
  588. package/dist/driver/session-support.d.ts.map +0 -1
  589. package/dist/driver/session-support.js +0 -37
  590. package/dist/driver/session-support.js.map +0 -1
  591. package/dist/driver/types.d.ts +0 -310
  592. package/dist/driver/types.d.ts.map +0 -1
  593. package/dist/driver/types.js +0 -5
  594. package/dist/driver/types.js.map +0 -1
  595. package/dist/driver-cli.d.ts +0 -61
  596. package/dist/driver-cli.d.ts.map +0 -1
  597. package/dist/driver-cli.js +0 -66
  598. package/dist/driver-cli.js.map +0 -1
  599. package/dist/fake-script.d.ts +0 -15
  600. package/dist/fake-script.d.ts.map +0 -1
  601. package/dist/fake-script.js +0 -58
  602. package/dist/fake-script.js.map +0 -1
  603. package/dist/framework-dir.d.ts +0 -11
  604. package/dist/framework-dir.d.ts.map +0 -1
  605. package/dist/framework-dir.js +0 -11
  606. package/dist/framework-dir.js.map +0 -1
  607. package/dist/framework-gitignore.d.ts +0 -12
  608. package/dist/framework-gitignore.d.ts.map +0 -1
  609. package/dist/framework-gitignore.js +0 -19
  610. package/dist/framework-gitignore.js.map +0 -1
  611. package/dist/gate-keepalive.d.ts +0 -47
  612. package/dist/gate-keepalive.d.ts.map +0 -1
  613. package/dist/gate-keepalive.js +0 -62
  614. package/dist/gate-keepalive.js.map +0 -1
  615. package/dist/git-exclude.d.ts +0 -11
  616. package/dist/git-exclude.d.ts.map +0 -1
  617. package/dist/git-exclude.js +0 -23
  618. package/dist/git-exclude.js.map +0 -1
  619. package/dist/handoff-level.d.ts +0 -56
  620. package/dist/handoff-level.d.ts.map +0 -1
  621. package/dist/handoff-level.js +0 -62
  622. package/dist/handoff-level.js.map +0 -1
  623. package/dist/host-exec.d.ts +0 -21
  624. package/dist/host-exec.d.ts.map +0 -1
  625. package/dist/host-exec.js +0 -30
  626. package/dist/host-exec.js.map +0 -1
  627. package/dist/layout.d.ts +0 -41
  628. package/dist/layout.d.ts.map +0 -1
  629. package/dist/layout.js +0 -69
  630. package/dist/layout.js.map +0 -1
  631. package/dist/logs.d.ts +0 -73
  632. package/dist/logs.d.ts.map +0 -1
  633. package/dist/logs.js +0 -218
  634. package/dist/logs.js.map +0 -1
  635. package/dist/maintenance.d.ts +0 -90
  636. package/dist/maintenance.d.ts.map +0 -1
  637. package/dist/maintenance.js +0 -141
  638. package/dist/maintenance.js.map +0 -1
  639. package/dist/merged-worktrees.d.ts +0 -74
  640. package/dist/merged-worktrees.d.ts.map +0 -1
  641. package/dist/merged-worktrees.js +0 -84
  642. package/dist/merged-worktrees.js.map +0 -1
  643. package/dist/module-types/src/dashboard/agent-tree.d.ts +0 -105
  644. package/dist/module-types/src/dashboard/file-diff.d.ts +0 -66
  645. package/dist/module-types/src/dashboard/file-read.d.ts +0 -41
  646. package/dist/module-types/src/dashboard/file-status.d.ts +0 -20
  647. package/dist/module-types/src/dashboard/scheduler-state.d.ts +0 -72
  648. package/dist/module-types/src/dashboard/subagent-settings.d.ts +0 -25
  649. package/dist/module-types/src/dashboard-rpc/subagents.d.ts +0 -11
  650. package/dist/module-types/src/framework-dir.d.ts +0 -10
  651. package/dist/module-types/src/framework-gitignore.d.ts +0 -11
  652. package/dist/module-types/src/subagent-settings.d.ts +0 -26
  653. package/dist/on-before-mergeable-prompt.d.ts +0 -32
  654. package/dist/on-before-mergeable-prompt.d.ts.map +0 -1
  655. package/dist/on-before-mergeable-prompt.js +0 -26
  656. package/dist/on-before-mergeable-prompt.js.map +0 -1
  657. package/dist/planned-quick-wins.d.ts +0 -102
  658. package/dist/planned-quick-wins.d.ts.map +0 -1
  659. package/dist/planned-quick-wins.js +0 -171
  660. package/dist/planned-quick-wins.js.map +0 -1
  661. package/dist/preflight.d.ts +0 -77
  662. package/dist/preflight.d.ts.map +0 -1
  663. package/dist/preflight.js +0 -91
  664. package/dist/preflight.js.map +0 -1
  665. package/dist/preset-catalog.d.ts +0 -98
  666. package/dist/preset-catalog.d.ts.map +0 -1
  667. package/dist/preset-catalog.js +0 -129
  668. package/dist/preset-catalog.js.map +0 -1
  669. package/dist/preset-prompt.d.ts +0 -81
  670. package/dist/preset-prompt.d.ts.map +0 -1
  671. package/dist/preset-prompt.js +0 -51
  672. package/dist/preset-prompt.js.map +0 -1
  673. package/dist/preset-registry.d.ts +0 -32
  674. package/dist/preset-registry.d.ts.map +0 -1
  675. package/dist/preset-registry.js +0 -35
  676. package/dist/preset-registry.js.map +0 -1
  677. package/dist/presets.d.ts +0 -20
  678. package/dist/presets.d.ts.map +0 -1
  679. package/dist/presets.js +0 -33
  680. package/dist/presets.js.map +0 -1
  681. package/dist/preview-runtime.d.ts +0 -33
  682. package/dist/preview-runtime.d.ts.map +0 -1
  683. package/dist/preview-runtime.js +0 -96
  684. package/dist/preview-runtime.js.map +0 -1
  685. package/dist/preview.d.ts +0 -78
  686. package/dist/preview.d.ts.map +0 -1
  687. package/dist/preview.js +0 -301
  688. package/dist/preview.js.map +0 -1
  689. package/dist/project-widgets.d.ts +0 -46
  690. package/dist/project-widgets.d.ts.map +0 -1
  691. package/dist/project-widgets.js +0 -93
  692. package/dist/project-widgets.js.map +0 -1
  693. package/dist/prompt-run.d.ts +0 -104
  694. package/dist/prompt-run.d.ts.map +0 -1
  695. package/dist/prompt-run.js +0 -112
  696. package/dist/prompt-run.js.map +0 -1
  697. package/dist/prompt-template.d.ts +0 -16
  698. package/dist/prompt-template.d.ts.map +0 -1
  699. package/dist/prompt-template.js +0 -56
  700. package/dist/prompt-template.js.map +0 -1
  701. package/dist/prompts.generated.d.ts +0 -53
  702. package/dist/prompts.generated.d.ts.map +0 -1
  703. package/dist/prompts.generated.js +0 -55
  704. package/dist/prompts.generated.js.map +0 -1
  705. package/dist/queue-promote.d.ts +0 -70
  706. package/dist/queue-promote.d.ts.map +0 -1
  707. package/dist/queue-promote.js +0 -118
  708. package/dist/queue-promote.js.map +0 -1
  709. package/dist/relay.d.ts +0 -84
  710. package/dist/relay.d.ts.map +0 -1
  711. package/dist/relay.js +0 -199
  712. package/dist/relay.js.map +0 -1
  713. package/dist/repos-directory.d.ts +0 -19
  714. package/dist/repos-directory.d.ts.map +0 -1
  715. package/dist/repos-directory.js +0 -23
  716. package/dist/repos-directory.js.map +0 -1
  717. package/dist/retired-project-settings.d.ts +0 -43
  718. package/dist/retired-project-settings.d.ts.map +0 -1
  719. package/dist/retired-project-settings.js +0 -125
  720. package/dist/retired-project-settings.js.map +0 -1
  721. package/dist/routine-locks.d.ts +0 -53
  722. package/dist/routine-locks.d.ts.map +0 -1
  723. package/dist/routine-locks.js +0 -125
  724. package/dist/routine-locks.js.map +0 -1
  725. package/dist/run-driver.d.ts +0 -26
  726. package/dist/run-driver.d.ts.map +0 -1
  727. package/dist/run-driver.js +0 -17
  728. package/dist/run-driver.js.map +0 -1
  729. package/dist/run-locks.d.ts +0 -3
  730. package/dist/run-locks.d.ts.map +0 -1
  731. package/dist/run-locks.js +0 -39
  732. package/dist/run-locks.js.map +0 -1
  733. package/dist/run-messages.d.ts +0 -64
  734. package/dist/run-messages.d.ts.map +0 -1
  735. package/dist/run-messages.js +0 -76
  736. package/dist/run-messages.js.map +0 -1
  737. package/dist/run-options.d.ts +0 -53
  738. package/dist/run-options.d.ts.map +0 -1
  739. package/dist/run-options.js +0 -110
  740. package/dist/run-options.js.map +0 -1
  741. package/dist/run-telemetry.d.ts +0 -115
  742. package/dist/run-telemetry.d.ts.map +0 -1
  743. package/dist/run-telemetry.js +0 -137
  744. package/dist/run-telemetry.js.map +0 -1
  745. package/dist/run-view.d.ts +0 -109
  746. package/dist/run-view.d.ts.map +0 -1
  747. package/dist/run-view.js +0 -118
  748. package/dist/run-view.js.map +0 -1
  749. package/dist/run.d.ts +0 -261
  750. package/dist/run.d.ts.map +0 -1
  751. package/dist/run.js +0 -420
  752. package/dist/run.js.map +0 -1
  753. package/dist/runtime-keys.d.ts +0 -17
  754. package/dist/runtime-keys.d.ts.map +0 -1
  755. package/dist/runtime-keys.js +0 -17
  756. package/dist/runtime-keys.js.map +0 -1
  757. package/dist/sandbox.d.ts +0 -27
  758. package/dist/sandbox.d.ts.map +0 -1
  759. package/dist/sandbox.js +0 -63
  760. package/dist/sandbox.js.map +0 -1
  761. package/dist/session-link.d.ts +0 -19
  762. package/dist/session-link.d.ts.map +0 -1
  763. package/dist/session-link.js +0 -26
  764. package/dist/session-link.js.map +0 -1
  765. package/dist/sessions.d.ts +0 -77
  766. package/dist/sessions.d.ts.map +0 -1
  767. package/dist/sessions.js +0 -146
  768. package/dist/sessions.js.map +0 -1
  769. package/dist/spike-locks.d.ts +0 -75
  770. package/dist/spike-locks.d.ts.map +0 -1
  771. package/dist/spike-locks.js +0 -208
  772. package/dist/spike-locks.js.map +0 -1
  773. package/dist/stale-branch.d.ts +0 -21
  774. package/dist/stale-branch.d.ts.map +0 -1
  775. package/dist/stale-branch.js +0 -32
  776. package/dist/stale-branch.js.map +0 -1
  777. package/dist/steps.d.ts +0 -9
  778. package/dist/steps.d.ts.map +0 -1
  779. package/dist/steps.js +0 -13
  780. package/dist/steps.js.map +0 -1
  781. package/dist/store/forge.d.ts +0 -110
  782. package/dist/store/forge.d.ts.map +0 -1
  783. package/dist/store/forge.js +0 -97
  784. package/dist/store/forge.js.map +0 -1
  785. package/dist/store/run-checkout.d.ts +0 -33
  786. package/dist/store/run-checkout.d.ts.map +0 -1
  787. package/dist/store/run-checkout.js +0 -59
  788. package/dist/store/run-checkout.js.map +0 -1
  789. package/dist/store/run-store.d.ts +0 -501
  790. package/dist/store/run-store.d.ts.map +0 -1
  791. package/dist/store/run-store.js +0 -806
  792. package/dist/store/run-store.js.map +0 -1
  793. package/dist/store/suspend.d.ts +0 -38
  794. package/dist/store/suspend.d.ts.map +0 -1
  795. package/dist/store/suspend.js +0 -45
  796. package/dist/store/suspend.js.map +0 -1
  797. package/dist/store/worktree-deps.d.ts +0 -30
  798. package/dist/store/worktree-deps.d.ts.map +0 -1
  799. package/dist/store/worktree-deps.js +0 -115
  800. package/dist/store/worktree-deps.js.map +0 -1
  801. package/dist/store/worktree.d.ts +0 -194
  802. package/dist/store/worktree.d.ts.map +0 -1
  803. package/dist/store/worktree.js +0 -331
  804. package/dist/store/worktree.js.map +0 -1
  805. package/dist/subagent-settings.d.ts +0 -27
  806. package/dist/subagent-settings.d.ts.map +0 -1
  807. package/dist/subagent-settings.js +0 -35
  808. package/dist/subagent-settings.js.map +0 -1
  809. package/dist/system-prompt-file.d.ts +0 -18
  810. package/dist/system-prompt-file.d.ts.map +0 -1
  811. package/dist/system-prompt-file.js +0 -28
  812. package/dist/system-prompt-file.js.map +0 -1
  813. package/dist/system-prompt.d.ts +0 -148
  814. package/dist/system-prompt.d.ts.map +0 -1
  815. package/dist/system-prompt.js +0 -170
  816. package/dist/system-prompt.js.map +0 -1
  817. package/dist/target-driver.d.ts +0 -28
  818. package/dist/target-driver.d.ts.map +0 -1
  819. package/dist/target-driver.js +0 -18
  820. package/dist/target-driver.js.map +0 -1
  821. package/dist/ticket-locks.d.ts +0 -61
  822. package/dist/ticket-locks.d.ts.map +0 -1
  823. package/dist/ticket-locks.js +0 -137
  824. package/dist/ticket-locks.js.map +0 -1
  825. package/dist/tickets-file.d.ts +0 -7
  826. package/dist/tickets-file.d.ts.map +0 -1
  827. package/dist/tickets-file.js +0 -21
  828. package/dist/tickets-file.js.map +0 -1
  829. package/dist/tickets.d.ts +0 -18
  830. package/dist/tickets.d.ts.map +0 -1
  831. package/dist/tickets.js +0 -23
  832. package/dist/tickets.js.map +0 -1
  833. package/dist/todo-loop.d.ts +0 -110
  834. package/dist/todo-loop.d.ts.map +0 -1
  835. package/dist/todo-loop.js +0 -175
  836. package/dist/todo-loop.js.map +0 -1
  837. package/dist/turn-gate.d.ts +0 -144
  838. package/dist/turn-gate.d.ts.map +0 -1
  839. package/dist/turn-gate.js +0 -217
  840. package/dist/turn-gate.js.map +0 -1
  841. package/dist/usage.d.ts +0 -32
  842. package/dist/usage.d.ts.map +0 -1
  843. package/dist/usage.js +0 -46
  844. package/dist/usage.js.map +0 -1
  845. package/dist/widget-types/dashboard/components/LinkActions.d.ts +0 -26
  846. package/dist/widget-types/dashboard/components/Markdown.d.ts +0 -4
  847. package/dist/widget-types/dashboard/components/StartAgentButton.d.ts +0 -39
  848. package/dist/widget-types/dashboard/components/ui/badge.d.ts +0 -2
  849. package/dist/widget-types/dashboard/components/ui/button.d.ts +0 -10
  850. package/dist/widget-types/dashboard/components/ui/card.d.ts +0 -5
  851. package/dist/widget-types/dashboard/components/ui/checkbox.d.ts +0 -7
  852. package/dist/widget-types/dashboard/components/ui/dropdown-menu.d.ts +0 -16
  853. package/dist/widget-types/dashboard/components/ui/input.d.ts +0 -2
  854. package/dist/widget-types/dashboard/components/ui/option-label.d.ts +0 -4
  855. package/dist/widget-types/dashboard/components/ui/popover.d.ts +0 -8
  856. package/dist/widget-types/dashboard/components/ui/scroll-area.d.ts +0 -10
  857. package/dist/widget-types/dashboard/components/ui/separator.d.ts +0 -3
  858. package/dist/widget-types/dashboard/components/ui/skeleton.d.ts +0 -2
  859. package/dist/widget-types/dashboard/components/ui/slider.d.ts +0 -9
  860. package/dist/widget-types/dashboard/components/ui/tooltip.d.ts +0 -11
  861. package/dist/widget-types/dashboard/lib/draft-handoff.d.ts +0 -15
  862. package/dist/widget-types/dashboard/lib/format-date.d.ts +0 -51
  863. package/dist/widget-types/dashboard/lib/host-services.d.ts +0 -12
  864. package/dist/widget-types/dashboard/lib/route.d.ts +0 -24
  865. package/dist/widget-types/dashboard/lib/rpc.d.ts +0 -31
  866. package/dist/widget-types/dashboard/lib/use-action.d.ts +0 -25
  867. package/dist/widget-types/dashboard/lib/use-async.d.ts +0 -39
  868. package/dist/widget-types/dashboard/lib/use-widgets.d.ts +0 -42
  869. package/dist/widget-types/dashboard/lib/utils.d.ts +0 -3
  870. package/dist/widget-types/dashboard/rpc/widgets.d.ts +0 -4
  871. package/dist/widget-types/dashboard/widget/index.d.ts +0 -207
  872. package/dist/widget-types/src/agent-id.d.ts +0 -12
  873. package/dist/widget-types/src/agent-locks.d.ts +0 -2
  874. package/dist/widget-types/src/agent-view.d.ts +0 -38
  875. package/dist/widget-types/src/bridge-browser.d.ts +0 -216
  876. package/dist/widget-types/src/browser-stream.d.ts +0 -19
  877. package/dist/widget-types/src/browser.d.ts +0 -15
  878. package/dist/widget-types/src/cli-exec.d.ts +0 -35
  879. package/dist/widget-types/src/cloud-run-state.d.ts +0 -26
  880. package/dist/widget-types/src/dashboard/activity.d.ts +0 -40
  881. package/dist/widget-types/src/dashboard/agent-handoff.d.ts +0 -211
  882. package/dist/widget-types/src/dashboard/agent-tree.d.ts +0 -105
  883. package/dist/widget-types/src/dashboard/bridge-endpoints.d.ts +0 -157
  884. package/dist/widget-types/src/dashboard/bridge-question.d.ts +0 -32
  885. package/dist/widget-types/src/dashboard/bridge-store.d.ts +0 -178
  886. package/dist/widget-types/src/dashboard/cache.d.ts +0 -46
  887. package/dist/widget-types/src/dashboard/content-type.d.ts +0 -2
  888. package/dist/widget-types/src/dashboard/dashboard.d.ts +0 -37
  889. package/dist/widget-types/src/dashboard/discord-webhook.d.ts +0 -16
  890. package/dist/widget-types/src/dashboard/docs.d.ts +0 -38
  891. package/dist/widget-types/src/dashboard/file-diff.d.ts +0 -66
  892. package/dist/widget-types/src/dashboard/file-read.d.ts +0 -41
  893. package/dist/widget-types/src/dashboard/file-status.d.ts +0 -20
  894. package/dist/widget-types/src/dashboard/gh.d.ts +0 -130
  895. package/dist/widget-types/src/dashboard/git-status.d.ts +0 -32
  896. package/dist/widget-types/src/dashboard/github.d.ts +0 -10
  897. package/dist/widget-types/src/dashboard/http.d.ts +0 -28
  898. package/dist/widget-types/src/dashboard/interventions.d.ts +0 -66
  899. package/dist/widget-types/src/dashboard/keys.d.ts +0 -30
  900. package/dist/widget-types/src/dashboard/models.d.ts +0 -24
  901. package/dist/widget-types/src/dashboard/open-in-app.d.ts +0 -42
  902. package/dist/widget-types/src/dashboard/open-questions.d.ts +0 -52
  903. package/dist/widget-types/src/dashboard/overview.d.ts +0 -77
  904. package/dist/widget-types/src/dashboard/projects.d.ts +0 -89
  905. package/dist/widget-types/src/dashboard/pull-requests.d.ts +0 -126
  906. package/dist/widget-types/src/dashboard/queue.d.ts +0 -16
  907. package/dist/widget-types/src/dashboard/quota.d.ts +0 -59
  908. package/dist/widget-types/src/dashboard/remote-run.d.ts +0 -94
  909. package/dist/widget-types/src/dashboard/rpc-serve.d.ts +0 -102
  910. package/dist/widget-types/src/dashboard/run-inbox.d.ts +0 -30
  911. package/dist/widget-types/src/dashboard/scheduler-state.d.ts +0 -64
  912. package/dist/widget-types/src/dashboard/tickets.d.ts +0 -28
  913. package/dist/widget-types/src/dashboard/types.d.ts +0 -99
  914. package/dist/widget-types/src/dashboard/widget-serve.d.ts +0 -14
  915. package/dist/widget-types/src/dashboard-rpc/context.d.ts +0 -53
  916. package/dist/widget-types/src/dashboard-rpc/control.d.ts +0 -108
  917. package/dist/widget-types/src/dashboard-rpc/devices.d.ts +0 -8
  918. package/dist/widget-types/src/dashboard-rpc/events-tail.d.ts +0 -53
  919. package/dist/widget-types/src/dashboard-rpc/events.d.ts +0 -29
  920. package/dist/widget-types/src/dashboard-rpc/index.d.ts +0 -28
  921. package/dist/widget-types/src/dashboard-rpc/models.d.ts +0 -3
  922. package/dist/widget-types/src/dashboard-rpc/preferences.d.ts +0 -40
  923. package/dist/widget-types/src/dashboard-rpc/projects.d.ts +0 -54
  924. package/dist/widget-types/src/dashboard-rpc/quota.d.ts +0 -26
  925. package/dist/widget-types/src/dashboard-rpc/reads.d.ts +0 -227
  926. package/dist/widget-types/src/dashboard-rpc/relay-agent.d.ts +0 -8
  927. package/dist/widget-types/src/dashboard-rpc/stream-forward.d.ts +0 -16
  928. package/dist/widget-types/src/dashboard-rpc/widgets.d.ts +0 -32
  929. package/dist/widget-types/src/discord-credentials.d.ts +0 -79
  930. package/dist/widget-types/src/driver-names.d.ts +0 -21
  931. package/dist/widget-types/src/error-message.d.ts +0 -7
  932. package/dist/widget-types/src/event-stream.d.ts +0 -32
  933. package/dist/widget-types/src/events.d.ts +0 -235
  934. package/dist/widget-types/src/framework-dir.d.ts +0 -10
  935. package/dist/widget-types/src/framework-gitignore.d.ts +0 -11
  936. package/dist/widget-types/src/index.d.ts +0 -42
  937. package/dist/widget-types/src/jsonl-tail.d.ts +0 -54
  938. package/dist/widget-types/src/loopback-host.d.ts +0 -19
  939. package/dist/widget-types/src/node-fs.d.ts +0 -32
  940. package/dist/widget-types/src/open-choices.d.ts +0 -14
  941. package/dist/widget-types/src/pick-directory.d.ts +0 -29
  942. package/dist/widget-types/src/preference-defaults.d.ts +0 -53
  943. package/dist/widget-types/src/project-commands.d.ts +0 -23
  944. package/dist/widget-types/src/project-errors.d.ts +0 -43
  945. package/dist/widget-types/src/project-hooks.d.ts +0 -133
  946. package/dist/widget-types/src/project-presets.d.ts +0 -29
  947. package/dist/widget-types/src/project-widgets.d.ts +0 -45
  948. package/dist/widget-types/src/project.d.ts +0 -28
  949. package/dist/widget-types/src/quota-boundary.d.ts +0 -115
  950. package/dist/widget-types/src/quota-poller.d.ts +0 -82
  951. package/dist/widget-types/src/registry.d.ts +0 -210
  952. package/dist/widget-types/src/store/agent-checkout.d.ts +0 -46
  953. package/dist/widget-types/src/store/agent-store.d.ts +0 -237
  954. package/dist/widget-types/src/store/branches.d.ts +0 -133
  955. package/dist/widget-types/src/store/forge.d.ts +0 -109
  956. package/dist/widget-types/src/store/git-host.d.ts +0 -111
  957. package/dist/widget-types/src/store/index.d.ts +0 -9
  958. package/dist/widget-types/src/store/provided.d.ts +0 -16
  959. package/dist/widget-types/src/store/queue.d.ts +0 -45
  960. package/dist/widget-types/src/store/run-record.d.ts +0 -21
  961. package/dist/widget-types/src/store/runs.d.ts +0 -101
  962. package/dist/widget-types/src/store/tickets.d.ts +0 -72
  963. package/dist/widget-types/src/tickets.d.ts +0 -17
  964. package/dist/widget-types/src/worktrees.d.ts +0 -89
  965. package/dist/widget.css +0 -50
@@ -1,28 +0,0 @@
1
- import type { IncomingMessage, ServerResponse } from 'node:http';
2
- /**
3
- * The plumbing every one of the daemon's non-RPC HTTP surfaces shares: the browser bridge
4
- * (`/_bridge`), the web-start queue (`/_web-start`) and the device relay (`/_relay`).
5
- *
6
- * All three answer plain-text statuses, JSON payloads, and read capped JSON request bodies, and
7
- * each carried its own copy — two body readers that differed only in which message they rejected
8
- * with, and three identical status responders.
9
- */
10
- /** Answer with a plain-text status line. */
11
- export declare function end(res: ServerResponse, status: number, message: string, headers?: Record<string, string>): void;
12
- /** Answer with a JSON payload. */
13
- export declare function sendJson(res: ServerResponse, payload: unknown, status?: number): void;
14
- /**
15
- * Read a JSON body, refusing anything past the cap rather than buffering it. Rejects with
16
- * `body too large` on overflow and `body must be JSON` on anything unparseable — the messages the
17
- * bridge and web-start routes answer 400 with, so a caller learns which of the two it hit.
18
- */
19
- export declare function readJsonBody(req: IncomingMessage, maxBytes: number): Promise<unknown>;
20
- /**
21
- * The preamble every POST route runs: refuse a non-POST, then read the body. Answers the request
22
- * itself on either failure and resolves `undefined`, so a caller's whole check is
23
- * `const body = await readPost(...); if (body === undefined) return`. JSON has no `undefined`, so
24
- * the sentinel cannot collide with a body that parsed.
25
- */
26
- export declare function readPost(req: IncomingMessage, res: ServerResponse, maxBytes: number): Promise<unknown>;
27
- /** Refuse anything but a GET, answering 405 itself. `false` means the request is already answered. */
28
- export declare function requireGet(req: IncomingMessage, res: ServerResponse): boolean;
@@ -1,66 +0,0 @@
1
- import { type LiveAgent, type AgentMeta } from '../store/index.js';
2
- import type { FrameworkEvent } from '../events.js';
3
- import type { ProjectSummary, ProjectionRead } from './projects.js';
4
- import { type BranchesFor } from '../store/branches.js';
5
- import { type PrLister } from './pull-requests.js';
6
- export { interventionKey } from './keys.js';
7
- /**
8
- * One item awaiting the human. Two kinds: an open `pr` to review/merge or close, and an
9
- * `awaiting` run paused on a choice gate. The card and the browser hook both iterate the flat
10
- * list, branching on `kind` for the fields that differ.
11
- */
12
- export interface Intervention {
13
- projectId: string;
14
- projectName: string;
15
- /**
16
- * `pr` = an open PR to review/merge or close; `awaiting` = a run waiting on the question it ended on (#636/#1774);
17
- * `unpushed` = a finished agent whose branch has commits that were never pushed (#860).
18
- */
19
- kind: 'pr' | 'awaiting' | 'unpushed';
20
- title: string;
21
- /** The PR on the git host (`pr` only): where a click takes the user. */
22
- url?: string;
23
- /** The PR number (`pr` only). */
24
- number?: number;
25
- /** The question's id (`awaiting` only) — its stable identity, so it notifies exactly once. */
26
- awaitId?: string;
27
- /** Which run this is about (`awaiting` #738 / `unpushed`): a project has several agents. */
28
- agentId?: string;
29
- /** The branch the work is sitting on (`unpushed` only). */
30
- branch?: string;
31
- /** How many commits are waiting (`unpushed` only). */
32
- commits?: number;
33
- /** When the PR was opened (`pr`) or the agent last updated (the other two), ISO, for ordering. */
34
- createdAt?: string;
35
- }
36
- /** Injectable seam so {@link buildInterventions} is unit-testable off disk. */
37
- export interface InterventionsDeps {
38
- prs?: PrLister;
39
- /** The reader of the runs that have a checkout (default {@link readLiveMetas}): a waiting run keeps its own; drives the `awaiting` source (#636). */
40
- liveAgents?: (cwd: string) => Promise<LiveAgent[]>;
41
- /** One run's events, by the project's path and the run's id (default {@link loadAgentEvents}): where a waiting run's question is read. */
42
- events?: (cwd: string, agentId: string) => Promise<FrameworkEvent[] | undefined>;
43
- /** The finished-agent reader (default {@link listAgents}); drives the `unpushed` source (#860). */
44
- agents?: (cwd: string) => Promise<AgentMeta[]>;
45
- /** The project's checkouts and branches (default the project's provider, {@link projectBranches}): where a branch's state is read; drives the `unpushed` source (#860). */
46
- branches?: BranchesFor;
47
- /**
48
- * How many of a project's most recent finished agents to inspect for unpushed work. Each one costs
49
- * a handful of git reads, and this runs on a poll, so old history is not re-walked every minute:
50
- * work that has sat unpushed for dozens of agents is not news, and the agent list stays the record.
51
- */
52
- handoffLimit?: number;
53
- }
54
- /**
55
- * Build the cross-project interventions queue: every registered project's open PRs, plus any run
56
- * currently paused on a choice gate (#636), newest first. Forgiving — a project with no remote
57
- * (or an unreadable one) simply contributes nothing. Hand-opened draft PRs are excluded: they are
58
- * not yet asking for review. A draft on an agent's branch is not (#1102): an agent publishes a
59
- * draft when a person should look first, and cloud work adoption opens its PRs as drafts.
60
- *
61
- * Which projects were read whole comes back alongside the items (#1623): forgiveness here is what
62
- * lets one unreachable project keep the queue useful, and it is also what would let that project's
63
- * whole backlog announce itself as new the moment it came back. The queue's panels ignore this;
64
- * the notification watcher is the caller that cannot.
65
- */
66
- export declare function buildInterventions(projects: ProjectSummary[], deps?: InterventionsDeps): Promise<ProjectionRead<Intervention>>;
@@ -1,30 +0,0 @@
1
- import type { Activity } from './activity.js';
2
- import type { Intervention } from './interventions.js';
3
- /**
4
- * The stable identity of a watched item, which the browser notifications dedupe on.
5
- *
6
- * A leaf module on purpose: `activity.ts` and `interventions.ts` build their items by reading the
7
- * store, so they import `node:*` and cannot be reached from the browser bundle. These functions
8
- * are pure and depend on nothing but the item, so they live here and are re-exported from
9
- * `client.ts` — which is what lets the dashboard share them instead of keeping a copy that could
10
- * drift from the item types.
11
- *
12
- * The type imports are erased at compile time, so they add no edge to the graph `client.test.ts`
13
- * walks.
14
- */
15
- /**
16
- * The stable identity of an intervention. A PR is its url (survives title edits and re-sorts);
17
- * the other two have no url and are keyed on the project plus the thing waiting — the agent and
18
- * the gate it is parked on, or the agent whose branch is unpushed.
19
- *
20
- * The agent is part of the awaiting key because a gate id is only unique within its own agent:
21
- * every agent's first gate is `await-choices`. Two agents running in one project (#736) and both
22
- * parked would otherwise share one identity, and the dedupe would announce only one of them.
23
- */
24
- export declare function interventionKey(item: Intervention): string;
25
- /**
26
- * The stable identity of an activity item: its kind + project + run. The kind is part of the key
27
- * so an agent's `started` and `finished` are two separate announcements (one when it kicks off, one
28
- * when it lands), each firing exactly once.
29
- */
30
- export declare function activityKey(item: Activity): string;
@@ -1,24 +0,0 @@
1
- import type { Driver, DriverModel } from 'agent-driver';
2
- import { type DriverName } from '../driver-names.js';
3
- /** What one coding agent offers: its models, or why it could not say. */
4
- export type DriverModels = {
5
- models: DriverModel[];
6
- } | {
7
- models: [];
8
- error: string;
9
- };
10
- /** The models of every coding agent a person can pick, by driver. */
11
- export type ModelsView = Record<DriverName, DriverModels>;
12
- /** Where the dashboard reads which models each coding agent offers. */
13
- export interface ModelsSource {
14
- read(): Promise<ModelsView>;
15
- }
16
- /**
17
- * Ask each coding agent for its models, once: the first read asks, every later read answers from
18
- * what it said, for the daemon's life. The list changes only with a new CLI version or a new
19
- * login, and each question starts a CLI, so a menu opened again never waits on one. An agent that
20
- * could not say is asked again at the next read, so a CLI installed or logged in since is found.
21
- */
22
- export declare function cachedModelsSource(drivers: Record<DriverName, Pick<Driver, 'listModels'>>): ModelsSource;
23
- /** The daemon's own source: the coding agents on this machine, asked as the person's own login. */
24
- export declare function defaultModelsSource(): ModelsSource;
@@ -1,42 +0,0 @@
1
- /** Which app to open the project in. */
2
- export type OpenTarget = 'files' | 'editor';
3
- /** A known editor: its launcher CLI plus a human label for the picker (#727). */
4
- export interface EditorInfo {
5
- bin: string;
6
- label: string;
7
- }
8
- /**
9
- * The editors the picker can offer (#727), probed by their CLI launcher on PATH. Order is the
10
- * display order. `$FRAMEWORK_EDITOR` and a hand-typed value stay valid beyond this list; this is
11
- * only what auto-detection looks for.
12
- */
13
- export declare const KNOWN_EDITORS: EditorInfo[];
14
- /** Whether an editor launcher is installed (on PATH). A seam so detection is unit-testable. */
15
- export type EditorProbe = (bin: string) => Promise<boolean>;
16
- /** The installed subset of {@link KNOWN_EDITORS}, in display order (#727). */
17
- export declare function detectEditors(probe?: EditorProbe): Promise<EditorInfo[]>;
18
- /** The outcome of an open attempt. */
19
- export type OpenResult = {
20
- ok: true;
21
- } | {
22
- ok: false;
23
- error: string;
24
- };
25
- /** Spawns a command, resolving once it launches (not on exit) and rejecting if it can't start. */
26
- export type SpawnRunner = (command: string, args: string[]) => Promise<void>;
27
- /** The OS command that reveals a path in the file manager. */
28
- export declare function fileManagerCommand(path: string, os?: NodeJS.Platform): {
29
- command: string;
30
- args: string[];
31
- };
32
- /** The command to open a path in an editor: `$FRAMEWORK_EDITOR` when set, else the VS Code CLI. */
33
- export declare function editorCommand(path: string, editor?: string | undefined): {
34
- command: string;
35
- args: string[];
36
- };
37
- /**
38
- * Open the project at `cwd` in the file manager or an editor. Failures are values, never throws.
39
- * `editor` (#727) is the stored preference; when unset {@link editorCommand} falls back to
40
- * `$FRAMEWORK_EDITOR`, then `code`.
41
- */
42
- export declare function openInApp(cwd: string, target: OpenTarget, agent?: SpawnRunner, editor?: string): Promise<OpenResult>;
@@ -1,52 +0,0 @@
1
- import { type AgentMeta, type LiveAgent } from '../store/index.js';
2
- import type { ChoiceRequest, FrameworkEvent } from '../events.js';
3
- import { type BridgeQuestion } from './bridge-question.js';
4
- import type { ProjectSummary } from './projects.js';
5
- /** One session's open question: the full gate, answerable from wherever it is rendered. */
6
- export interface OpenQuestion {
7
- projectId: string;
8
- projectName: string;
9
- agentId: string;
10
- /** What the agent was asked to do: the card's label. */
11
- intent?: string;
12
- /** When the agent last spoke, ISO: what the longest-waiting-first order sorts on. */
13
- updatedAt?: string;
14
- choice: ChoiceRequest;
15
- /**
16
- * Asked by a Claude web session and carried here by the browser bridge (#1237/#1554): the pick
17
- * goes back through `sendBridgeAnswer` on this session, not through the run's resume hook. The option
18
- * ids of {@link choice} are the labels, which is what the extension types.
19
- */
20
- bridge?: {
21
- sessionId: string;
22
- url: string;
23
- };
24
- }
25
- /** Injectable seams so {@link buildOpenQuestions} is unit-testable off disk. */
26
- export interface OpenQuestionsDeps {
27
- /** The reader of the runs that have a checkout (default {@link readLiveMetas}): a waiting run keeps its own. */
28
- liveAgents?: (cwd: string) => Promise<LiveAgent[]>;
29
- /** One run's events, by the project's path and the run's id (default {@link loadAgentEvents}). */
30
- events?: (cwd: string, agentId: string) => Promise<FrameworkEvent[] | undefined>;
31
- /**
32
- * The questions the browser bridge holds, minus those with an answer already on its way
33
- * (default: the daemon's bridge store).
34
- */
35
- bridged?: () => BridgeQuestion[];
36
- /**
37
- * Every agent of a project, archived included (default {@link readAllAgents}): a web agent is
38
- * `done` at its hand-off (#1231) and its checkout may be long gone, so the live reader alone
39
- * would never find the run a bridged question belongs to.
40
- */
41
- agents?: (cwd: string) => Promise<AgentMeta[]>;
42
- }
43
- /**
44
- * Every project's parked questions, longest-waiting first (#1455): an agent that has been blocked
45
- * on its human the longest is the one to unblock first.
46
- *
47
- * Forgiving throughout, like every cross-project rollup: an unreadable project, agent list or
48
- * event log contributes nothing rather than failing the read. A waiting run whose diary shows no
49
- * open question (log unreadable) is skipped — offering an answer the daemon would refuse is
50
- * worse than one card fewer.
51
- */
52
- export declare function buildOpenQuestions(projects: ProjectSummary[], deps?: OpenQuestionsDeps): Promise<OpenQuestion[]>;
@@ -1,77 +0,0 @@
1
- import { type LiveAgent, type AgentMeta, type AgentStatus } from '../store/index.js';
2
- import type { ProjectSummary } from './projects.js';
3
- import { type ProjectQueue } from './queue.js';
4
- /** One project's in-flight run, surfaced in the Overview's "working now" list. */
5
- export interface ActiveAgent {
6
- projectId: string;
7
- projectName: string;
8
- /** Which run this is (#738): a project can have several in flight, one per worktree. */
9
- agentId: string;
10
- /** The agent's own checkout, so its git/file status is read from the worktree it edits (#738). */
11
- cwd: string;
12
- status: AgentStatus;
13
- /** What the user asked to build (the agent's `scope` event). */
14
- intent?: string;
15
- scope?: string;
16
- /** ISO timestamp of the agent's last event. */
17
- updatedAt?: string;
18
- /**
19
- * A web run at work on its cloud side (#1668): in its session, or parked on a question the
20
- * bridge reported. Its local half is over, so it is not a live agent — it is listed because the
21
- * cloud side is the agent, and "no agents working" over a waiting cloud session was a lie.
22
- */
23
- cloud?: 'in-cloud' | 'waiting';
24
- /** The machine whose daemon started it (#1648), only when that is not this one. */
25
- host?: string;
26
- }
27
- /** One recently active project, most-recent first. */
28
- export interface RecentProject {
29
- projectId: string;
30
- projectName: string;
31
- lastActivityAt?: string;
32
- }
33
- /** The cross-project Overview payload. */
34
- export interface Overview {
35
- /** Projects with a running agent, most-recently-updated first. */
36
- active: ActiveAgent[];
37
- /** Total open TODO items across every project. */
38
- queueOpen: number;
39
- /** The most recently active projects (capped). */
40
- recent: RecentProject[];
41
- }
42
- /** One recent session, tagged with the project it belongs to, for the cross-project rail. */
43
- export interface RecentAgent {
44
- projectId: string;
45
- projectName: string;
46
- agent: AgentMeta;
47
- }
48
- /** Injectable reader so {@link buildRecentAgents} is unit-testable off disk. */
49
- export interface RecentAgentsDeps {
50
- agents?: (cwd: string) => Promise<AgentMeta[]>;
51
- }
52
- /**
53
- * Every project's sessions pooled and sorted newest-first (capped), so the shared sidebar (#shared-
54
- * shell) can show recents on the home/Overview where no single project is selected. Each row carries
55
- * the project it belongs to, so selecting it jumps into that project's session. Forgiving — a project
56
- * whose agents cannot be read simply contributes nothing.
57
- */
58
- export declare function buildRecentAgents(projects: ProjectSummary[], deps?: RecentAgentsDeps): Promise<RecentAgent[]>;
59
- /** Injectable readers so {@link buildOverview} is unit-testable off disk. */
60
- export interface OverviewDeps {
61
- liveAgents?: (cwd: string) => Promise<LiveAgent[]>;
62
- queue?: (projects: ProjectSummary[]) => Promise<ProjectQueue[]>;
63
- /** Every run of a project, archived included (default {@link readAllAgents}): where the web runs are. */
64
- agents?: (cwd: string) => Promise<AgentMeta[]>;
65
- /** Whether the bridge holds a question for that cloud session (default: the daemon's bridge store). */
66
- waiting?: (sessionId: string) => boolean;
67
- now?: () => number;
68
- /** This machine's hostname; `node:os` in production. */
69
- host?: string;
70
- }
71
- /**
72
- * Build the cross-project Overview: the running agents (every live agent of each project, one per
73
- * worktree since #736), the total of open queue entries (from {@link collectQueue}), and the most
74
- * recently active projects (by {@link ProjectSummary.lastActivityAt}). Forgiving — a project
75
- * with no live run, or none running, simply contributes nothing to `active`.
76
- */
77
- export declare function buildOverview(projects: ProjectSummary[], deps?: OverviewDeps): Promise<Overview>;
@@ -1,89 +0,0 @@
1
- import { type ProjectRecord } from '../registry.js';
2
- import { type AgentMeta } from '../store/index.js';
3
- import type { ProjectError } from '../project-errors.js';
4
- /**
5
- * The multi-project read side (#392): projects the daemon serves come from the registry (#390),
6
- * and every read resolves a project id to that project's path before running the per-cwd reader
7
- * underneath. One daemon serves them all, running as many agents per project as their own
8
- * concurrency allows (#736), each in its own checkout.
9
- */
10
- /** One project's summary for the Projects sidebar (#314). */
11
- export interface ProjectSummary {
12
- /** Registry id (stable, URL-safe). */
13
- id: string;
14
- /** Absolute repo path. */
15
- path: string;
16
- /** Display name (the path's basename). */
17
- name: string;
18
- /** True when the repo still has its `.the-framework/` marker. */
19
- activated: boolean;
20
- /** ISO timestamp of the project's newest activity: its most recent session. */
21
- lastActivityAt?: string;
22
- /**
23
- * What the daemon's background jobs currently find wrong with the project (#1500), oldest
24
- * first — absent when nothing is. Not part of the summary itself: the dashboard's project
25
- * list attaches it from the daemon's error state.
26
- */
27
- errors?: ProjectError[];
28
- }
29
- /**
30
- * A projection over the registered projects, together with the projects it could actually see.
31
- *
32
- * A project whose sources cannot be read contributes no items — which is exactly what a project
33
- * with nothing waiting contributes. `whole` is what tells the two apart (#1623). Only a caller
34
- * that keeps a baseline of what it has already announced needs the distinction; the panels that
35
- * simply render the list read `items` and ignore it.
36
- */
37
- export interface ProjectionRead<T> {
38
- /** What was found. Possibly only part of it, when some project could not be read. */
39
- items: T[];
40
- /** The ids of the projects every source answered for, so their share of `items` is all of it. */
41
- whole: string[];
42
- }
43
- /** Injectable readers so {@link summarizeProject} is unit-testable off disk. */
44
- export interface SummarizeDeps {
45
- isActivated?: (path: string) => Promise<boolean>;
46
- /** The project's runs (live + archived), newest-first. Defaults to {@link readAllAgents}. */
47
- readAgents?: (path: string) => Promise<AgentMeta[]>;
48
- }
49
- /** A project's runs, live prepended to the archived history. Forgiving: a failed read is `[]`. */
50
- /**
51
- * Derive a {@link ProjectSummary} from a registry record: its display name, whether
52
- * it is still activated, and its last activity. Forgiving: a failed read reads as an
53
- * inactive project with no activity, never a throw.
54
- *
55
- * Activity is the sessions themselves (B3). It used to be the newest of those and the latest
56
- * `LOGS.md` entry — a committed markdown re-narration of the same sessions, which could only ever
57
- * be older than the agent it described.
58
- */
59
- export declare function summarizeProject(record: ProjectRecord, deps?: SummarizeDeps): Promise<ProjectSummary>;
60
- /**
61
- * Reads the registry to serve the multi-project endpoints. The dashboard server
62
- * holds one of these; the daemon uses the default (the real registry), tests pass
63
- * a fake so the server is exercised without touching the user's registry.
64
- */
65
- export interface ProjectsProvider {
66
- /** Every registered project, summarized, for the projects read. */
67
- list(): Promise<ProjectSummary[]>;
68
- /** The absolute path for a registry id, or `undefined` when unknown. */
69
- resolvePath(id: string): Promise<string | undefined>;
70
- }
71
- /** Injectable readers so {@link defaultProjectsProvider} is unit-testable off the user's registry. */
72
- export interface ProviderDeps {
73
- /** The registry's records. Defaults to {@link listProjects}, forgiving. */
74
- listRecords?: () => Promise<ProjectRecord[]>;
75
- /** Whether a project's directory is on disk. Defaults to a directory stat. */
76
- isDirectory?: (path: string) => Promise<boolean>;
77
- /** Defaults to {@link summarizeProject}. */
78
- summarize?: (record: ProjectRecord) => Promise<ProjectSummary>;
79
- }
80
- /**
81
- * A {@link ProjectsProvider} backed by the global registry (#390).
82
- *
83
- * Only projects whose directory is still on disk are served (#1140): a repo the user renamed or
84
- * deleted used to stay in the sidebar as a grey "not activated" entry with no files (#1142),
85
- * indistinguishable from a repo that merely lost its marker, and with nothing to click to make it
86
- * go away. The registry itself is left alone — the record is skipped, not pruned — so a directory
87
- * that comes back (renamed back, a volume remounted) is a project again on the next read.
88
- */
89
- export declare function defaultProjectsProvider(deps?: ProviderDeps): ProjectsProvider;
@@ -1,126 +0,0 @@
1
- import { type GitHostFor, type GitHostRequest } from '../store/git-host.js';
2
- import { type Cached } from './cache.js';
3
- /**
4
- * The pull requests the dashboard reads (#1820), in one place, all through the project's git host
5
- * provider (`../store/git-host.ts`): a branch's request, a branch's whole request history, and the
6
- * project's open requests. Reads only: opening and landing are `agent-handoff.ts`'s, through the
7
- * same provider. The framework runs no git host tool; a project with no git host package has no pull
8
- * requests, and every read here answers "none" for it.
9
- *
10
- * The shapes are the framework's own ({@link LinkedPr}, {@link OpenPr}), copied out of what the
11
- * provider answers rather than passed through, so a field a provider adds cannot leak into what
12
- * callers store.
13
- */
14
- /** The PR opened for a branch, when there is one. */
15
- export interface LinkedPr {
16
- number: number;
17
- url: string;
18
- /** OPEN / MERGED / CLOSED, as the git host reports it; UNKNOWN for a recorded request no live read confirmed. */
19
- state: string;
20
- title: string;
21
- /** ISO creation time, when the read included it: what tells one agent's PR from a predecessor's. */
22
- createdAt?: string;
23
- /**
24
- * The head commit the PR covers, when the read included it (#1512): what tells "the branch's
25
- * PR already landed everything" from "the session kept working after its PR merged".
26
- */
27
- headRefOid?: string;
28
- /** The commit a merged PR landed as on the base branch, when the git host said. */
29
- mergeCommit?: string;
30
- }
31
- /** An open PR on the interventions queue (#632). */
32
- export interface OpenPr {
33
- number: number;
34
- title: string;
35
- url: string;
36
- /**
37
- * Draft PRs are generally left off the queue: a draft is not asking for review.
38
- *
39
- * The exception is a draft the framework opened for itself (#1102), which {@link headRefName}
40
- * is what tells apart.
41
- */
42
- isDraft: boolean;
43
- /** The branch the PR is from, so a session's own PR can be recognised as ours (#1102). */
44
- headRefName?: string;
45
- createdAt?: string;
46
- }
47
- /**
48
- * A best-effort PR lookup, for a named branch or for the checkout's current branch. One type for
49
- * both: the named-branch form is the general one, and "the current branch" is just omitting it.
50
- */
51
- export type PrLookup = (cwd: string, branch?: string) => Promise<LinkedPr | undefined>;
52
- /**
53
- * The branch-addressed form, for a caller that always names one (#799): a finished session's
54
- * worktree may be gone, so "the current branch" would silently be the project's, not the
55
- * session's. Narrower than {@link PrLookup} on purpose, so that invariant is in the type.
56
- */
57
- export type BranchPrLookup = (cwd: string, branch: string) => Promise<LinkedPr | undefined>;
58
- /** Lists a checkout's open PRs; rejects when the git host could not answer. */
59
- export type PrLister = (cwd: string) => Promise<OpenPr[]>;
60
- /** A provider's request as the framework keeps it: the state upper-cased, the head as the request's commit. */
61
- export declare function linkedPrOf(request: GitHostRequest): LinkedPr;
62
- /** A provider's open request as the interventions queue keeps it. */
63
- export declare function openPrOf(request: GitHostRequest): OpenPr;
64
- /**
65
- * Every PR a branch name has ever had, newest first (#1251).
66
- *
67
- * The newest request for a head *in any state* is what a single view would answer, so a session
68
- * whose prompt pins its branch name (`the-framework/triage-quick`) inherits a predecessor's
69
- * merged PR as its own. The list form keeps the whole history so {@link pickAgentPr} can decide
70
- * which entry, if any, belongs to the agent asking. Resolves `[]` when the project has no git host or
71
- * the git host could not answer — indistinguishable from "no PRs", which is what every caller would do
72
- * with a failure anyway.
73
- */
74
- export declare function prsForBranch(cwd: string, branch: string, gitHost?: GitHostFor): Promise<LinkedPr[]>;
75
- /**
76
- * {@link prsForBranch} for a caller about to *open* a PR (#1601): a listing the git host could not
77
- * answer throws instead of reading as "no PRs", because "none" and "could not tell" must not look
78
- * alike there — the difference is a second draft PR on a branch that already has one. A project
79
- * with no git host has none, truthfully.
80
- */
81
- export declare function prsForBranchOrThrow(cwd: string, branch: string, gitHost?: GitHostFor): Promise<LinkedPr[]>;
82
- /** The newest PR of `branch`, in any state, or undefined when it has none or the git host cannot tell. */
83
- export declare function prView(cwd: string, branch: string, gitHost?: GitHostFor): Promise<LinkedPr | undefined>;
84
- /**
85
- * The cached form of {@link prView} (#1028), and what the dashboard's panels use.
86
- *
87
- * A PR lookup costs a process where the git reads beside it cost ten milliseconds, and the answer
88
- * changes about as often as someone opens a PR. Cached per checkout and branch, shared between
89
- * the worktree bar and the handoff summary, and refreshed behind whoever asks. `pending` says the
90
- * answer is not known yet rather than that there is no PR — the difference matters to a caller
91
- * deciding whether to offer "Open PR". A read with no branch to ask about answers nothing at once.
92
- */
93
- export declare function cachedPrView(cwd: string, branch?: string): Promise<Cached<LinkedPr | undefined>>;
94
- /** Forget a branch's PR, after an action that changes whether it has one. */
95
- export declare function forgetPr(cwd: string, branch?: string): void;
96
- /** The cached form of {@link prsForBranch}, shared through the same read-through cache (#1028). */
97
- export declare function cachedPrsForBranch(cwd: string, branch: string): Promise<Cached<LinkedPr[]>>;
98
- /** Forget a branch's PR history, after an action that changes it (opening one). */
99
- export declare function forgetBranchPrs(cwd: string, branch: string): void;
100
- /**
101
- * The PR that belongs to an agent, out of every PR its branch name has had (#1251/#1255).
102
- *
103
- * An OPEN PR always counts: a git host allows one open PR per head branch, so whatever is open on the
104
- * run's branch is where its pushed commits land. A closed one counts only when it was created
105
- * after the agent started (`since`, the agent's `startedAt`) — the oldest such entry, which is the one
106
- * this agent's handoff opened. Anything older is a previous agent's PR wearing the same branch name,
107
- * which is exactly what showed a merged two-day-old PR as a fresh session's own. Without `since`
108
- * only an open PR is trusted.
109
- *
110
- * `order` exists for the one caller asking a different question (#1512). `'first'` answers
111
- * identity — which PR did *this agent* open, so a later agent's must not be the answer. `'latest'`
112
- * answers the handoff decision — which PR last saw the branch, so "did the session keep working
113
- * past it" is readable off that PR's `headRefOid`; there the oldest entry would call work that a
114
- * second PR already landed unlanded.
115
- */
116
- export declare function pickAgentPr(prs: LinkedPr[], since?: string, order?: 'first' | 'latest'): LinkedPr | undefined;
117
- /**
118
- * A project's open PRs, through its git host. Unlike the other reads here it *rejects* when the git host
119
- * could not answer — no remote, not logged in, the git host unreachable — instead of resolving `[]`.
120
- *
121
- * "No PRs are open" and "I could not look" are different answers, and its caller keeps a baseline
122
- * of what it has already announced (#1623): taking the second for the first makes the next
123
- * successful read announce every already-open PR as new. The caller decides what a failure costs;
124
- * it cannot decide what it never hears about. A project with no git host package has none open.
125
- */
126
- export declare function openPrs(cwd: string, gitHost?: GitHostFor): Promise<OpenPr[]>;
@@ -1,16 +0,0 @@
1
- import type { ProjectSummary } from './projects.js';
2
- import { type QueueFor } from '../store/queue.js';
3
- /** One project's queue, as the dashboard reads it. */
4
- export interface ProjectQueue {
5
- projectId: string;
6
- projectName: string;
7
- /** The open entries, in order of work: each the task a future agent is started with. */
8
- entries: string[];
9
- }
10
- /**
11
- * The queue of every project that has one, most entries first: a project one of whose packages
12
- * provides the queue is listed even with nothing queued (the card shows the projects it can speak
13
- * for), and a project with no provider is left out (it has no queue, so nothing is said about it).
14
- * `queueFor` is injectable so this is unit-testable off disk and processes.
15
- */
16
- export declare function collectQueue(projects: ProjectSummary[], queueFor?: QueueFor): Promise<ProjectQueue[]>;
@@ -1,59 +0,0 @@
1
- import { QuotaPoller } from '../quota-poller.js';
2
- import { type QuotaBoundaryStatus } from '../quota-boundary.js';
3
- import type { DriverQuotaUnavailableReason, DriverQuotaWindow } from 'agent-driver';
4
- /**
5
- * Everything the dashboard needs to draw the usage panel (#533): the account's
6
- * own windows, and where they stand against the quota boundary (#879).
7
- */
8
- export interface QuotaView {
9
- /**
10
- * The account's quota windows as the agent reported them (session, week, and
11
- * a week per model). Empty when we have no reading at all — check
12
- * {@link unavailable} before reading that as "nothing used".
13
- */
14
- windows: DriverQuotaWindow[];
15
- /** When the reading was taken, epoch ms. Absent when there has never been one. */
16
- readAt?: number;
17
- /**
18
- * Why there is no reading, when there isn't one. Present alongside stale
19
- * `windows` too: the last good reading is kept through a blip, and this says
20
- * the newest attempt failed, so the UI can mark it stale rather than blank it.
21
- */
22
- unavailable?: DriverQuotaUnavailableReason;
23
- /**
24
- * Where the account stands against its boundary (#879). Absent when there is no
25
- * reading, or when the week's reset could not be placed — which is "we don't
26
- * know", not "nothing is allowed".
27
- */
28
- boundary?: QuotaBoundaryStatus;
29
- }
30
- /** Where a dashboard reads the quota from. */
31
- export interface QuotaSource {
32
- read(): Promise<QuotaView>;
33
- /** Stop any polling behind it. */
34
- stop(): void;
35
- }
36
- /**
37
- * A {@link QuotaSource} backed by a live poller.
38
- *
39
- * The boundary is measured per read rather than captured: it moves with the clock, so a cached
40
- * one would be stale the moment the week's day rolls over. A read costs no reading of the
41
- * account: the poller's last good windows are measured again.
42
- *
43
- * The panel's boundary names no model on purpose: the bar is about the account (#879/#1619).
44
- */
45
- export declare function pollerQuotaSource(poller: QuotaPoller, now?: () => number,
46
- /** The slider's position, read per call so moving it shows without a restart (#960). */
47
- limitOffset?: () => number | Promise<number>): QuotaSource;
48
- /**
49
- * The daemon's own quota source: it polls for the whole life of the dashboard,
50
- * not just during an agent, because the panel has to show where the account stands
51
- * even when nothing is running.
52
- *
53
- * Separate from the reading an agent takes for itself: that one dies with the agent, and
54
- * nothing stops a running agent over quota anyway. This one exists to draw the bar and the line
55
- * unattended work stops at. That line is the schedulers' own spend offset, which `spendOffset`
56
- * reads off their state files (#960): the scheduler is what obeys it, so the bar draws what it
57
- * obeys. None named, or none readable, is the default cushion, which is the schedulers' default too.
58
- */
59
- export declare function defaultQuotaSource(spendOffset: () => Promise<number | undefined>): QuotaSource;