@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,46 +0,0 @@
1
- import { type BranchesFor, type Checkout } from './branches.js';
2
- import { type AnyDiaryLine, type RunsFor } from './runs.js';
3
- /**
4
- * A run's checkout, as the project's branches provider lists it, or `undefined` when it lists
5
- * none for the id. The provider's list is shared for a few seconds; a run that is not in it may
6
- * have started a moment ago, so a miss asks once more, fresh (`branches.ts` bounds how fresh).
7
- */
8
- export declare function findCheckout(projectCwd: string, agentId: string, branches: BranchesFor): Promise<Checkout | undefined>;
9
- /**
10
- * The checkout an agent id resolves to (#738/#797): the agent's own checkout while the project's
11
- * branches provider lists one for it, else the project root. The list is asked fresh on a miss:
12
- * a run that just started has its checkout before its tool has written the card (#766), and the
13
- * event stream resolves its path once, when the browser opens it.
14
- *
15
- * An unknown or finished `agentId` falls back to the project root rather than failing: the
16
- * run's checkout may already be gone, and the project's own state is still the sane thing to
17
- * act on. This is the one resolution every run-addressed surface shares — the daemon's serve
18
- * targets and previews, and each dashboard RPC — so the fallback rules cannot drift apart.
19
- */
20
- export declare function resolveAgentCheckout(projectCwd: string, agentId: string | undefined, branches?: BranchesFor): Promise<string>;
21
- /**
22
- * Where a run's diary is, for a reader that follows it: a file while the run has a checkout, the
23
- * finished run's lines once it has none, or nowhere yet (`pending`): the run was started a moment
24
- * ago and its tool has not made the checkout, so the reader asks again shortly.
25
- */
26
- export type AgentDiarySource = {
27
- file: string;
28
- } | {
29
- finished: AnyDiaryLine[];
30
- } | {
31
- pending: true;
32
- };
33
- /**
34
- * The diary a run-scoped subscribe should follow (#1472, #1774): the run's own `<id>.jsonl`.
35
- * While the run has a checkout it is a file there, under the checkout's `.the-framework/`,
36
- * written by the run's tool as the agent works. Once the run is recorded and its checkout
37
- * reclaimed, it is the finished run's diary, whole, from the project's runs provider. A run that
38
- * has neither yet was started a moment ago: its tool has not made the checkout, so the diary is
39
- * nowhere yet, and the tail asks again (`../dashboard-rpc/events-tail.ts`). A project with no
40
- * runs provider answers the same for a finished run: nowhere, where nothing more comes.
41
- *
42
- * Only the events tails resolve here; every other run-addressed surface keeps
43
- * {@link resolveAgentCheckout}'s root fallback, where the project's own state is the sane
44
- * thing to act on.
45
- */
46
- export declare function resolveAgentDiary(projectCwd: string, agentId: string | undefined, runs?: RunsFor, branches?: BranchesFor): Promise<AgentDiarySource | undefined>;
@@ -1,237 +0,0 @@
1
- import type { FrameworkEvent } from '../events.js';
2
- import { type BranchesFor, type Checkout } from './branches.js';
3
- import { type AnyDiaryLine, type RunsFor } from './runs.js';
4
- /**
5
- * The read side of a project's runs (#1774). The daemon runs no agent and writes no run: a run's
6
- * tool keeps the run's card (`<id>.json`) and diary (`<id>.jsonl`) under the `.the-framework/`
7
- * of the run's own checkout while it works, and a finished run is whatever the project's runs
8
- * provider answers (`runs.ts`), when one of its packages provides them. The dashboard is a
9
- * projection of those files and that answer.
10
- */
11
- export type AgentStatus = 'running' | 'done' | 'stopped' | 'failed' | 'waiting';
12
- /**
13
- * A queryable snapshot of the agent, derived entirely from the event log. Lets the
14
- * dashboard render a header (and a future agent list) without parsing every line.
15
- */
16
- export interface AgentMeta {
17
- status: AgentStatus;
18
- /** Stable, path-safe id for this agent (derived from {@link startedAt}). */
19
- id: string;
20
- /** ISO timestamp the store was opened (run start). */
21
- startedAt: string;
22
- /** ISO timestamp of the last event written. */
23
- updatedAt: string;
24
- /** ISO timestamp the run ended (the `end` event), absent while it is going. The skill's card field. */
25
- endedAt?: string;
26
- /** What the run cost so far in US dollars, summed over its `usage` events; absent until one says. The skill's card field. */
27
- cost?: number;
28
- /**
29
- * The OS pid of the process running this run, on {@link host} — whatever process the project's
30
- * start hook began. Recorded on the card so Stop has something to signal, and so a reader can
31
- * tell a run that is working from one whose process died without recording an ending (#716).
32
- */
33
- pid?: number;
34
- /** The host the owning {@link pid} lives on, so a pid probe only trusts a match (#716). */
35
- host?: string;
36
- /** What this session was asked for (from the `intent` event). */
37
- intent?: string;
38
- /** The wrapped agent (from the `session` event). */
39
- driver?: string;
40
- /** The workspace the agent builds in (from the `session` event). */
41
- workspace?: string;
42
- /** The wrapped agent's real session id, once it reports one. */
43
- sessionId?: string;
44
- /** The link shown to jump into the live agent session. */
45
- sessionLink?: string;
46
- /**
47
- * The branch the agent's work is on: the card's, and for a run with a checkout the branch that
48
- * checkout has checked out right now (the branches provider reads it), since the agent renames
49
- * its branch itself while the card learns the new name only when the run ends.
50
- *
51
- * Recorded, not derived: a clean agent loses its checkout, and the agent renames its branch
52
- * itself (#1725), so no name built from the run's id is guaranteed to be the one holding the
53
- * commits.
54
- */
55
- branch?: string;
56
- /**
57
- * The hand-off anchor a cloud run pushed for its session to clone at (#1601): an empty commit
58
- * unique to this run, folded from the `cloud-anchor` event. The session works on a `claude/*`
59
- * branch of the cloud's own naming, and this is the ancestor by which the daemon's adoption
60
- * pass recognizes which of origin's `claude/*` heads is this run's. Absent on non-web runs
61
- * and on web runs whose pre-hand-off push failed.
62
- */
63
- cloudAnchor?: string;
64
- /**
65
- * The pull request this session's work is on (E6), recorded when one is opened rather than
66
- * re-derived from branch names and timestamps by every surface that wants it.
67
- */
68
- pr?: {
69
- number: number;
70
- url: string;
71
- };
72
- /**
73
- * What this session's end-of-session handoff is armed to do (#1102): push its branch, and open
74
- * a draft PR for it. Both start on.
75
- *
76
- * On the meta because the checkboxes that show it live in a different process from the agent that
77
- * obeys it, and a tab opened after the agent started has no event history to fold — the same
78
- * reason {@link browserStreamPort} is here. Absent means an older agent, which the reader treats
79
- * as armed, matching what that agent will actually do.
80
- *
81
- * `merge` mirrors the auto-merge arming (#1216, #1382) — display-only, like the rest of this
82
- * field: the agent merges off its own config, never off the meta. Absent on records from before
83
- * #1382, which the reader treats as off.
84
- */
85
- handoff?: {
86
- push: boolean;
87
- pr: boolean;
88
- merge?: boolean;
89
- };
90
- /**
91
- * How the handoff's merge half went (#1418), folded from the `handoff` event's `merge` field.
92
- *
93
- * What the daemon's CI watch scans for: `watched` is a PR waiting for green that *this* side
94
- * must merge (the repo could not arm the git host's auto-merge), `auto-armed` one the git host will land by
95
- * itself but whose checks going red is still ours to notice. On the meta because the watch
96
- * reads metas, not event logs, and must survive both the agent's process and the daemon's.
97
- * Absent on runs from before this field, and on every agent whose handoff had no merge to report.
98
- */
99
- mergeOutcome?: 'auto-armed' | 'merged' | 'watched' | 'withheld' | 'failed';
100
- /**
101
- * The choice gate the agent is currently parked on (#636): set when a `choice` event fires and
102
- * cleared when its `choice-resolved` (or the agent's `end`) arrives. Present means the agent is
103
- * paused waiting for the user's answer — the second "needs you" source after open PRs (#624).
104
- */
105
- pendingChoice?: {
106
- id: string;
107
- title: string;
108
- };
109
- /**
110
- * The browser bridge holds a question this run's cloud session is parked on (#1668). Not stored:
111
- * the daemon annotates a web run's record on the way to the dashboard, the way a relayed run's
112
- * label is, because the bridge store is in memory and the archive on disk knows nothing of it.
113
- */
114
- cloudWaiting?: boolean;
115
- /**
116
- * The run was started by another machine's daemon (#1648): its {@link host} is not this one.
117
- * Not stored either — annotated on the way to the dashboard like {@link cloudWaiting}, since
118
- * the shared data branch shows every machine's runs here and only this daemon knows which host
119
- * it is.
120
- */
121
- otherHost?: boolean;
122
- /**
123
- * The run ended clean and its process is still alive on this host: the tool that runs it is
124
- * still saving its record and cleaning up its checkout, the window every surface says "saving…" for.
125
- * Not stored: annotated on the way to the dashboard like {@link otherHost}, since only this
126
- * machine can ask whether the process is alive.
127
- */
128
- saving?: boolean;
129
- /**
130
- * The loopback port the agent's browser preview is listening on (#813), or absent when the agent
131
- * has no browser. What lets the daemon proxy the pane: the port is allocated per agent and the
132
- * dashboard is a different process, so meta is the only place it can learn it.
133
- */
134
- browserStreamPort?: number;
135
- /**
136
- * Where this run executes (#1050/#1053/#610): `actions` for a GitHub Actions run, `web` for a
137
- * Claude Code cloud session, `remote` when relayed to a connected device (#1067), absent for a
138
- * local run. Persisted so the agent view can tell a burst-mode Actions run from a stalled live
139
- * feed, show a cloud agent's session link after a reload, and gate the browser pane off (#1053).
140
- */
141
- target?: 'local' | 'actions' | 'remote' | 'web';
142
- /** The connected device a remote agent (#1067) executes on, for the session list + notice after a reload. */
143
- remoteLabel?: string;
144
- /**
145
- * The flow this agent started under (#1467): `build` for the scope→build orchestration, `prompt`
146
- * for the direct-prompt path (research and transparent runs record `prompt` too). Persisted so a
147
- * continuation (#762) can re-enter the flow its first leg ran — the composer's Resume always
148
- * arrives as a `prompt` start, and without this record a resumed build agent ended as a bare
149
- * prompt session (no synthesize framing, no backlog offer). Absent on records from before this
150
- * field, which a reader treats as unknown (the continuation then keeps the prompt path).
151
- */
152
- kind?: 'build' | 'prompt';
153
- /**
154
- * The model id the current leg's agent was started with (#1438), folded from each leg's
155
- * `session` event — a continuation (#762) may run a different model than the first leg, so
156
- * the latest leg wins rather than the first pinning it. Absent when the leg left the agent
157
- * on its own default (and on records from before this field).
158
- */
159
- model?: string;
160
- }
161
- /**
162
- * The slice of a filesystem the store's reads need: the logic is testable with an in-memory fs,
163
- * and only {@link nodeStoreFs} touches disk.
164
- */
165
- export interface StoreFs {
166
- read(path: string): Promise<string>;
167
- write(path: string, contents: string): Promise<void>;
168
- append(path: string, contents: string): Promise<void>;
169
- exists(path: string): Promise<boolean>;
170
- mkdir(path: string): Promise<void>;
171
- /** List a directory's entries (names only). Missing dir yields `[]`. */
172
- readdir(path: string): Promise<string[]>;
173
- }
174
- /**
175
- * A project's finished runs, most-recent first: what its runs provider answers, unfolded into the
176
- * framework's meta. No provider, or one that cannot be read, is no runs, never a throw.
177
- *
178
- * `since` (epoch ms) is for a caller that only wants recent runs — a poll on a cadence, not the
179
- * history list. `fresh` asks the provider past its last answer: the caller knows a run just finished.
180
- */
181
- export declare function listAgents(cwd: string, runs?: RunsFor, opts?: {
182
- since?: number;
183
- fresh?: boolean;
184
- }): Promise<AgentMeta[]>;
185
- /**
186
- * One finished run's whole diary, from the project's runs provider: for a reader that follows a
187
- * run past its checkout. `undefined` for an unknown or unsafe id, a project with no provider, and
188
- * a record that still says `running` — the marker a run's tool may leave as it starts, before its
189
- * checkout exists: that run is not finished, its diary is still to come in the checkout.
190
- */
191
- export declare function readFinishedDiary(cwd: string, agentId: string, runs?: RunsFor): Promise<AnyDiaryLine[] | undefined>;
192
- /**
193
- * Whether `pid` is a live process on this host. `process.kill(pid, 0)` sends no signal but
194
- * throws `ESRCH` once the process is gone; `EPERM` means it exists under another user (still
195
- * alive). A pid on a *different* host is unknowable here, so callers guard on {@link AgentMeta.host}
196
- * before trusting a result. A recycled pid (another process reusing a dead agent's number) reads as
197
- * alive — an accepted, vanishingly rare miss on a single dev box.
198
- */
199
- export declare function isPidAlive(pid: number): boolean;
200
- /**
201
- * The run a checkout holds, off its live card, `<id>.json` under the checkout's `.the-framework/`:
202
- * the shape agent-driver's log writes, read as the meta the card unfolds to, `running` or not (a
203
- * run that ended waiting on a question keeps its checkout), on the branch the checkout is on now
204
- * (the provider read it), since the agent renames its branch itself while its card learns the new
205
- * name only when the run ends. `undefined` when there is no card.
206
- * Never healed here: the tool that started the run sweeps its own dead runs.
207
- */
208
- export declare function readLiveMeta(checkout: Checkout, fs?: StoreFs): Promise<AgentMeta | undefined>;
209
- /** A run with a checkout, plus that checkout (#738): where to read the run's git and file status from. */
210
- export interface LiveAgent extends AgentMeta {
211
- /** The run's own checkout, a worktree under `.branches/`. */
212
- cwd: string;
213
- }
214
- /**
215
- * Every run of a project that has a checkout (#738): each checkout the project's branches
216
- * provider lists, its card through {@link readLiveMeta}. Newest first, by id. Never throws: a
217
- * project with no provider has no checkouts, and an unreadable checkout is skipped.
218
- */
219
- export declare function readLiveMetas(cwd: string, fs?: StoreFs, branches?: BranchesFor): Promise<LiveAgent[]>;
220
- /**
221
- * One run's events, for a reader that replays them: the diary in the run's checkout while it has
222
- * one (it is the newer of the two), else the finished run's diary from the runs provider.
223
- * `undefined` for an unknown or unsafe id.
224
- */
225
- export declare function loadAgentEvents(cwd: string, id: string, fs?: StoreFs, runs?: RunsFor, branches?: BranchesFor): Promise<FrameworkEvent[] | undefined>;
226
- /** A {@link StoreFs} backed by `node:fs/promises`. See {@link nodeFs}. */
227
- export declare function nodeStoreFs(): StoreFs;
228
- /**
229
- * A project's runs: the ones with a checkout prepended to the finished ones, newest-first.
230
- * Forgiving — a side that cannot be read simply contributes nothing.
231
- *
232
- * The checkout's card wins over the recorded one (#768): a resumed run has a record from its
233
- * first leg AND is going again, and the record alone would show a running agent as finished.
234
- */
235
- export declare function readAllAgents(cwd: string, fs?: StoreFs, runs?: RunsFor, branches?: BranchesFor): Promise<AgentMeta[]>;
236
- /** One run's meta by id, the checkout's card winning over the record: {@link readAllAgents}'s rule for a single row. */
237
- export declare function findAgent(cwd: string, agentId: string, fs?: StoreFs, runs?: RunsFor, branches?: BranchesFor): Promise<AgentMeta | undefined>;
@@ -1,133 +0,0 @@
1
- /**
2
- * The checkouts and the branches, as the framework reads and acts on them (#1774). The framework
3
- * keeps no checkout and imports no branches package: a project's checkouts come from whichever of
4
- * its packages declares that it provides them — `"framework": { "branches": "<command>" }` in the
5
- * package's own package.json — and the framework reads and moves them by running that command.
6
- * Swap the package for another that answers the same command line and prints the same shapes,
7
- * and nothing here changes. No package declares it: the project has no checkouts, so no run with
8
- * one, no branch to hand off, nothing to remove.
9
- *
10
- * The command line a provider answers, each printing one JSON document and exiting 0 (a refusal
11
- * exits 1 with its reason on stderr):
12
- * `<command> list [--sizes]` every checkout, as an array of {@link Checkout}
13
- * `<command> show <branch>...` what each branch holds and where it stands, as an array of {@link BranchState}, in the order asked
14
- * `<command> push --branch <b>` push the branch to the remote; a branch only the remote has is answered as it is
15
- * `<command> remove <id> [--discard]` reclaim a run's checkout once the remote has everything; `--discard` drops uncommitted work
16
- * `list` and `show` read this machine, no network: the framework polls. `show` answers the branch's
17
- * git facts only; its pull request is the git host provider's (`git-host.ts`), as every pull request is.
18
- *
19
- * That is the whole contract: git, and nothing beyond it (#1820). The framework reads checkouts to
20
- * find the runs that have one, and a branch's state for what it composes: the run page's handoff,
21
- * the Human Queue's unpushed rows. Opening a pull request is the push here, then the git host
22
- * provider's `open`. What a checkout is, where it lives, how a branch is pushed is the package's.
23
- *
24
- * The shapes, owned here: {@link Checkout}, {@link BranchState}.
25
- */
26
- /** A run's checkout: where it works, as a provider lists it. */
27
- export interface Checkout {
28
- /** The run's id. */
29
- id: string;
30
- /** The checkout's directory, absolute. */
31
- path: string;
32
- /** The branch it is on; absent for a checkout on none, or one git no longer knows. */
33
- branch?: string;
34
- /** The name the agent gave its work, as the provider answers it; absent while the run has not named it. Drawn where a branch would be drawn as a name. */
35
- name?: string;
36
- /** Its size on disk, when sizes were asked for. */
37
- sizeBytes?: number;
38
- }
39
- /** One commit a branch holds beyond its base. */
40
- export interface BranchCommit {
41
- sha: string;
42
- subject: string;
43
- }
44
- /** One file a branch changed against its base. */
45
- export interface BranchFile {
46
- path: string;
47
- insertions: number;
48
- deletions: number;
49
- /** A binary file, where line counts mean nothing. */
50
- binary: boolean;
51
- }
52
- /** What a branch holds and where it stands, as a provider answers `show`: git facts, no pull request. */
53
- export interface BranchState {
54
- branch: string;
55
- /** The name the agent gave its work, as the provider answers it; absent while the run has not named it. */
56
- name?: string;
57
- /** The branch exists on this machine. Gone: every list below is empty, and only the remote can say more. */
58
- exists: boolean;
59
- /** What it is measured against, the project's default branch, when one was found. */
60
- base?: string;
61
- /** The branch's own commits beyond the base, newest first. */
62
- commits: BranchCommit[];
63
- /** What it changed since it left the base. */
64
- files: BranchFile[];
65
- /** The project has a remote to push to. */
66
- hasRemote: boolean;
67
- /** The remote has the branch at this same tip. */
68
- pushed: boolean;
69
- /** The base already contains it. */
70
- merged: boolean;
71
- /** The uncommitted paths in the checkout that is on this branch; absent when no checkout is. */
72
- pendingFiles?: string[];
73
- }
74
- /** What pushing a branch did: `pushed` is false when only the remote had it, so there was nothing here to push. */
75
- export type PushOutcome = {
76
- ok: true;
77
- pushed: boolean;
78
- } | {
79
- ok: false;
80
- error: string;
81
- };
82
- /** What reclaiming a checkout did: done, with the branches that went with it when any did, or the provider's reason it stayed. */
83
- export type RemoveOutcome = {
84
- ok: true;
85
- branchesDeleted?: string[];
86
- } | {
87
- ok: false;
88
- error: string;
89
- };
90
- /** A project's checkouts and branches: what a provider answers, read and moved by the framework. */
91
- export interface BranchesSource {
92
- /**
93
- * Every checkout; `[]` when none can be read. `fresh` asks past a list read within the window:
94
- * the caller is looking for a checkout that may have just appeared. A list read less than
95
- * {@link FRESH_MS} ago still answers, so a caller asking every second for a run that has no
96
- * checkout is not a process every second.
97
- */
98
- list(opts?: {
99
- sizes?: boolean;
100
- fresh?: boolean;
101
- }): Promise<Checkout[]>;
102
- /** Each branch's state, in the order asked; a branch the provider did not answer for is missing. `[]` when nothing can be read. */
103
- show(branches: readonly string[]): Promise<BranchState[]>;
104
- /** Push a branch to the remote: the checkout on it under its clean rule, else the branch itself. */
105
- push(branch: string): Promise<PushOutcome>;
106
- /** Reclaim a run's checkout, or why it stayed. `discard` drops its uncommitted work instead of refusing over it. */
107
- remove(id: string, opts?: {
108
- discard?: boolean;
109
- }): Promise<RemoveOutcome>;
110
- }
111
- /** The checkouts of the project at `root`, or `undefined` when none of its packages provides them. */
112
- export type BranchesFor = (root: string) => Promise<BranchesSource | undefined>;
113
- /** A {@link BranchesFor} that also forgets what it read of one project, for when a widget or a run just wrote there. */
114
- export type BranchesReader = BranchesFor & {
115
- changed(root: string): void;
116
- };
117
- /** The rows read back from a provider's `list`: the objects with an id and a path, everything else as printed; anything else is no checkout. */
118
- export declare function parseCheckouts(output: unknown): Checkout[];
119
- /** The states read back from a provider's `show`: the objects with a branch and the three verdicts, lists cleaned; anything else is no state. */
120
- export declare function parseBranchStates(output: unknown): BranchState[];
121
- /**
122
- * The production {@link BranchesReader}: the project's provider, looked up by its package.json,
123
- * one source per project kept while the same command provides — so the cache holds across the
124
- * many reads of one poll, and a project that installs, swaps or drops its provider is read the new
125
- * way within {@link CACHE_MS}. `changed(root)` forgets that project's reads, so the next read runs
126
- * the command again: a run just started there, or a widget's command just ran, and a checkout may
127
- * have come or gone.
128
- */
129
- export declare function providedBranches(now?: () => number): BranchesReader;
130
- /** The framework's one reader of the checkouts, shared by every caller so they share its cache. */
131
- export declare const projectBranches: BranchesReader;
132
- /** A {@link BranchesFor} for a project with no provider: no checkouts. */
133
- export declare const noBranches: BranchesFor;
@@ -1,109 +0,0 @@
1
- /**
2
- * The project's forge, as the framework reads and acts on it (#1820): the pull requests of the
3
- * project, opening one, landing one, and the project's page there. The framework names no forge
4
- * and runs no forge tool: a project's forge comes from whichever of its packages declares that it
5
- * provides it — `"framework": { "forge": "<command>" }` in the package's own package.json — and
6
- * the framework asks by running that command. Swap the package for another that answers the same
7
- * command line and prints the same shapes, and nothing here changes. No package declares it: the
8
- * project has no forge, so no pull requests, and a finished run's last step is the push.
9
- *
10
- * The command line a provider answers, each printing one JSON document and exiting 0 (a refusal
11
- * exits 1 with its reason on stderr):
12
- * `<command> requests [--branch <b>] [--state open|merged|all] [--since <iso>]`
13
- * the project's pull requests, newest first, as an array of {@link ForgeRequest}
14
- * `<command> open --branch <b> --title <t> [--body <text>] [--draft]`
15
- * open the branch's pull request; an open one is answered as it is (`existing`)
16
- * `<command> merge <number>` land the pull request: armed to merge on green, or merged at once
17
- * `<command> home` the project's page on the forge, and the forge's name
18
- * The branch `open` is asked for must already be on the remote: pushing is the branches
19
- * provider's step, and the framework runs it first.
20
- *
21
- * The shapes, owned here: {@link ForgeRequest}, {@link ForgeHome}.
22
- */
23
- /** A pull request, as a provider lists it. */
24
- export interface ForgeRequest {
25
- number: number;
26
- url: string;
27
- state: 'open' | 'merged' | 'closed';
28
- title: string;
29
- draft: boolean;
30
- /** The branch the request is from. */
31
- branch: string;
32
- /** The commit the request's head is at. */
33
- head: string;
34
- /** ISO creation time. */
35
- createdAt: string;
36
- /** ISO merge time, for a merged request. */
37
- mergedAt?: string;
38
- }
39
- /** The project's page on the forge, and what the forge is called: what a link is drawn from. */
40
- export interface ForgeHome {
41
- url: string;
42
- name: string;
43
- }
44
- /** What asking for requests answered: the list, or why there is none: "none" and "could not tell" are different answers. */
45
- export type RequestsOutcome = {
46
- ok: true;
47
- requests: ForgeRequest[];
48
- } | {
49
- ok: false;
50
- error: string;
51
- };
52
- /** What opening a pull request left: the request, and whether it was open already. */
53
- export type OpenOutcome = {
54
- ok: true;
55
- request: {
56
- number: number;
57
- url: string;
58
- };
59
- existing: boolean;
60
- } | {
61
- ok: false;
62
- error: string;
63
- };
64
- /** What landing a pull request did: armed to merge on green, merged at once, or the provider watching its checks. */
65
- export type MergeOutcome = {
66
- ok: true;
67
- outcome: 'auto-armed' | 'merged' | 'watching';
68
- } | {
69
- ok: false;
70
- error: string;
71
- };
72
- /** A project's forge: what a provider answers, read and moved by the framework. */
73
- export interface ForgeSource {
74
- /** The project's pull requests, newest first: all, or one branch's, or by state, or since a time. */
75
- requests(opts?: {
76
- branch?: string;
77
- state?: 'open' | 'merged' | 'all';
78
- since?: string;
79
- }): Promise<RequestsOutcome>;
80
- /** Open a branch's pull request, or answer the open one. */
81
- open(branch: string, opts: {
82
- title: string;
83
- body?: string;
84
- draft?: boolean;
85
- }): Promise<OpenOutcome>;
86
- /** Land a pull request. */
87
- merge(number: number): Promise<MergeOutcome>;
88
- /** The project's page on the forge; `undefined` when the provider cannot tell (no remote there). */
89
- home(): Promise<ForgeHome | undefined>;
90
- }
91
- /** The forge of the project at `root`, or `undefined` when none of its packages provides one. */
92
- export type ForgeFor = (root: string) => Promise<ForgeSource | undefined>;
93
- /** A {@link ForgeFor} that also forgets what it knows of one project. */
94
- export type ForgeReader = ForgeFor & {
95
- changed(root: string): void;
96
- };
97
- /** The rows read back from a provider's `requests`: the objects with the facts a request needs; anything else is no request. */
98
- export declare function parseRequests(output: unknown): ForgeRequest[];
99
- /**
100
- * The production {@link ForgeReader}: the project's provider, looked up by its package.json, one
101
- * source per project kept while the same command provides, so a project that installs, swaps or
102
- * drops its forge is read the new way within {@link CACHE_MS}. `changed(root)` forgets the
103
- * project, so the next ask looks its provider up again.
104
- */
105
- export declare function providedForge(now?: () => number): ForgeReader;
106
- /** The framework's one reader of the forge, shared by every caller. */
107
- export declare const projectForge: ForgeReader;
108
- /** A {@link ForgeFor} for a project with no forge package. */
109
- export declare const noForge: ForgeFor;
@@ -1,111 +0,0 @@
1
- /**
2
- * The project's git host, as the framework reads and acts on it (#1820): the pull requests of the
3
- * project, opening one, landing one, and the project's page there. The framework names no git host
4
- * and runs no git host tool: a project's git host comes from whichever of its packages declares that it
5
- * provides it — `"framework": { "git-host": "<command>" }` in the package's own package.json — and
6
- * the framework asks by running that command. Swap the package for another that answers the same
7
- * command line and prints the same shapes, and nothing here changes. No package declares it: the
8
- * project has no git host, so no pull requests, and a finished run's last step is the push.
9
- *
10
- * The command line a provider answers, each printing one JSON document and exiting 0 (a refusal
11
- * exits 1 with its reason on stderr):
12
- * `<command> requests [--branch <b>] [--state open|merged|all] [--since <iso>]`
13
- * the project's pull requests, newest first, as an array of {@link GitHostRequest}
14
- * `<command> open --branch <b> --title <t> [--body <text>] [--draft]`
15
- * open the branch's pull request; an open one is answered as it is (`existing`)
16
- * `<command> merge <number>` land the pull request: armed to merge on green, or merged at once
17
- * `<command> home` the project's page on the git host, and the git host's name
18
- * The branch `open` is asked for must already be on the remote: pushing is the branches
19
- * provider's step, and the framework runs it first.
20
- *
21
- * The shapes, owned here: {@link GitHostRequest}, {@link GitHostHome}.
22
- */
23
- /** A pull request, as a provider lists it. */
24
- export interface GitHostRequest {
25
- number: number;
26
- url: string;
27
- state: 'open' | 'merged' | 'closed';
28
- title: string;
29
- draft: boolean;
30
- /** The branch the request is from. */
31
- branch: string;
32
- /** The commit the request's head is at. */
33
- head: string;
34
- /** ISO creation time. */
35
- createdAt: string;
36
- /** ISO merge time, for a merged request. */
37
- mergedAt?: string;
38
- /** The commit a merged request landed as on the base branch. */
39
- mergeCommit?: string;
40
- }
41
- /** The project's page on the git host, and what the git host is called: what a link is drawn from. */
42
- export interface GitHostHome {
43
- url: string;
44
- name: string;
45
- }
46
- /** What asking for requests answered: the list, or why there is none: "none" and "could not tell" are different answers. */
47
- export type RequestsOutcome = {
48
- ok: true;
49
- requests: GitHostRequest[];
50
- } | {
51
- ok: false;
52
- error: string;
53
- };
54
- /** What opening a pull request left: the request, and whether it was open already. */
55
- export type OpenOutcome = {
56
- ok: true;
57
- request: {
58
- number: number;
59
- url: string;
60
- };
61
- existing: boolean;
62
- } | {
63
- ok: false;
64
- error: string;
65
- };
66
- /** What landing a pull request did: armed to merge on green, merged at once, or the provider watching its checks. */
67
- export type MergeOutcome = {
68
- ok: true;
69
- outcome: 'auto-armed' | 'merged' | 'watching';
70
- } | {
71
- ok: false;
72
- error: string;
73
- };
74
- /** A project's git host: what a provider answers, read and moved by the framework. */
75
- export interface GitHostSource {
76
- /** The project's pull requests, newest first: all, or one branch's, or by state, or since a time. */
77
- requests(opts?: {
78
- branch?: string;
79
- state?: 'open' | 'merged' | 'all';
80
- since?: string;
81
- }): Promise<RequestsOutcome>;
82
- /** Open a branch's pull request, or answer the open one. */
83
- open(branch: string, opts: {
84
- title: string;
85
- body?: string;
86
- draft?: boolean;
87
- }): Promise<OpenOutcome>;
88
- /** Land a pull request. */
89
- merge(number: number): Promise<MergeOutcome>;
90
- /** The project's page on the git host; `undefined` when the provider cannot tell (no remote there). */
91
- home(): Promise<GitHostHome | undefined>;
92
- }
93
- /** The git host of the project at `root`, or `undefined` when none of its packages provides one. */
94
- export type GitHostFor = (root: string) => Promise<GitHostSource | undefined>;
95
- /** A {@link GitHostFor} that also forgets what it knows of one project. */
96
- export type GitHostReader = GitHostFor & {
97
- changed(root: string): void;
98
- };
99
- /** The rows read back from a provider's `requests`: the objects with the facts a request needs; anything else is no request. */
100
- export declare function parseRequests(output: unknown): GitHostRequest[];
101
- /**
102
- * The production {@link GitHostReader}: the project's provider, looked up by its package.json, one
103
- * source per project kept while the same command provides, so a project that installs, swaps or
104
- * drops its git host is read the new way within {@link CACHE_MS}. `changed(root)` forgets the
105
- * project, so the next ask looks its provider up again.
106
- */
107
- export declare function providedGitHost(now?: () => number): GitHostReader;
108
- /** The framework's one reader of the git host, shared by every caller. */
109
- export declare const projectGitHost: GitHostReader;
110
- /** A {@link GitHostFor} for a project with no git host package. */
111
- export declare const noGitHost: GitHostFor;
@@ -1,9 +0,0 @@
1
- export { nodeStoreFs, listAgents, readAllAgents, findAgent, isPidAlive, readLiveMeta, loadAgentEvents, readLiveMetas, readFinishedDiary, type StoreFs, type AgentMeta, type LiveAgent, type AgentStatus, } from './agent-store.js';
2
- export { findCheckout, resolveAgentCheckout, resolveAgentDiary, type AgentDiarySource } from './agent-checkout.js';
3
- export { projectRuns, providedRuns, noRuns, parseRunCard, isRunId, type RunsFor, type RunsReader, type RunsSource, type RunsWrite, type RunCard, type RunPatch, type RunStatus, type AnyDiaryLine, type FinishedRun } from './runs.js';
4
- export { projectBranches, providedBranches, noBranches, parseCheckouts, parseBranchStates, type BranchesFor, type BranchesReader, type BranchesSource, type RemoveOutcome as BranchRemoveOutcome, type Checkout, type BranchState, type BranchCommit, type BranchFile, type PushOutcome as BranchPushOutcome } from './branches.js';
5
- export { projectGitHost, providedGitHost, noGitHost, parseRequests, type GitHostFor, type GitHostReader, type GitHostSource, type GitHostRequest, type GitHostHome, type RequestsOutcome as GitHostRequestsOutcome, type OpenOutcome as GitHostOpenOutcome, type MergeOutcome as GitHostMergeOutcome } from './git-host.js';
6
- export { projectQueue, providedQueue, noQueue, parseQueueEntries, type QueueFor, type QueueReader, type QueueSource } from './queue.js';
7
- export { providedDataChanged } from './provided.js';
8
- export { fromRunCard, fromDiaryLine, eventsOf } from './run-record.js';
9
- export { agentIdFromStartedAt, startedAtFromAgentId } from '../agent-id.js';