@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,15 +0,0 @@
1
- import { FakeDriver, type FakeTurn } from 'agent-driver';
2
- /**
3
- * The deterministic fake scenario: a small Vike + Prisma orders app.
4
- * It wires a {@link FakeDriver} whose scripted turns walk the exact prompt order
5
- * the flow issues — one build turn (#1372: with no preset and no serve config
6
- * nothing reviews the build, so the build is the whole loop) — so the flow runs
7
- * offline with no CLI and no model, driven entirely *through* the driver seam.
8
- */
9
- /** The default intent the fake demo builds. */
10
- export declare const FAKE_INTENT = "A paginated orders page backed by an orders table, with sign-in.";
11
- /** Scripted turns for the demo, optionally routed through a turn-boundary gate. */
12
- export declare function demoTurns(awaitMode: string | undefined): FakeTurn[];
13
- /** Build the scripted {@link FakeDriver} for the demo. */
14
- export declare function fakeDriver(): FakeDriver;
15
- //# sourceMappingURL=fake-script.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"fake-script.d.ts","sourceRoot":"","sources":["../src/fake-script.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,KAAK,QAAQ,EAAE,MAAM,cAAc,CAAA;AAExD;;;;;;GAMG;AAEH,+CAA+C;AAC/C,eAAO,MAAM,WAAW,qEAAqE,CAAA;AAwC7F,mFAAmF;AACnF,wBAAgB,SAAS,CAAC,SAAS,EAAE,MAAM,GAAG,SAAS,GAAG,QAAQ,EAAE,CASnE;AAED,0DAA0D;AAC1D,wBAAgB,UAAU,IAAI,UAAU,CAEvC"}
@@ -1,58 +0,0 @@
1
- import { FakeDriver } from 'agent-driver';
2
- /**
3
- * The deterministic fake scenario: a small Vike + Prisma orders app.
4
- * It wires a {@link FakeDriver} whose scripted turns walk the exact prompt order
5
- * the flow issues — one build turn (#1372: with no preset and no serve config
6
- * nothing reviews the build, so the build is the whole loop) — so the flow runs
7
- * offline with no CLI and no model, driven entirely *through* the driver seam.
8
- */
9
- /** The default intent the fake demo builds. */
10
- export const FAKE_INTENT = 'A paginated orders page backed by an orders table, with sign-in.';
11
- // A small, plausible per-turn usage so the demo shows spend accumulating (#322).
12
- const FAKE_USAGE = { costUsd: 0.02, inputTokens: 1800, outputTokens: 600, cacheReadTokens: 12000, cacheCreationTokens: 800 };
13
- const BUILD_TURN = {
14
- text: 'Built the orders app: an orders schema and migration, a paginated /orders page, and a sign-in stub.',
15
- actions: ['Write', 'Write', 'Bash'],
16
- usage: FAKE_USAGE,
17
- };
18
- const TURNS = [BUILD_TURN];
19
- // Demo variants that make the build stop to ask, so the turn-boundary gates (#337
20
- // single-select / #339 multi-select checklist) can be seen offline. The build turn ends
21
- // with an await block; the framework shows the gate, waits, then re-prompts (RESUME_TURN),
22
- // and the agent continues as usual. Needs the dashboard on (so requestChoice is
23
- // wired); selected via FRAMEWORK_FAKE_AWAIT=choices|multiselect|confirmation.
24
- const AWAIT_CHOICES_TURN = {
25
- text: 'I need one decision before wiring auth.\n```await-choices\n' +
26
- '{ "title": "Which auth approach for the orders page?", "options": [{ "label": "Session cookies", "detail": "simple, server-side" }, { "label": "JWT", "detail": "stateless, more moving parts" }], "recommended": "Session cookies" }\n```',
27
- actions: ['Read'],
28
- usage: FAKE_USAGE,
29
- };
30
- const AWAIT_MULTISELECT_TURN = {
31
- text: 'Rated the problems by how clear the optimal solution is.\n```await-choices\n' +
32
- '{ "title": "Which problems should I deep-dive for alternatives?", "multi": true, "options": [{ "label": "auth model", "detail": "rated 3/10", "default": true }, { "label": "pagination", "detail": "rated 7/10" }, { "label": "orders schema", "detail": "rated 2/10", "default": true }] }\n```',
33
- actions: ['Read', 'Grep'],
34
- usage: FAKE_USAGE,
35
- };
36
- const AWAIT_CONFIRMATION_TURN = {
37
- text: 'The scope is large, so I wrote a plan first.\n```await-choices\n' +
38
- '{ "title": "Approve the plan for the orders app?", "file": "PLAN_fake-orders-app.agent.md", "options": [{ "label": "Approve" }, { "label": "Decline", "stop": true }], "recommended": "Approve" }\n```',
39
- actions: ['Write'],
40
- usage: FAKE_USAGE,
41
- };
42
- const RESUME_TURN = { text: 'Applied your answer and finished building the orders app.', actions: ['Write', 'Bash'], usage: FAKE_USAGE };
43
- /** Scripted turns for the demo, optionally routed through a turn-boundary gate. */
44
- export function demoTurns(awaitMode) {
45
- const askTurn = awaitMode === 'choices' ? AWAIT_CHOICES_TURN
46
- : awaitMode === 'multiselect' ? AWAIT_MULTISELECT_TURN
47
- : awaitMode === 'confirmation' ? AWAIT_CONFIRMATION_TURN
48
- : undefined;
49
- if (!askTurn)
50
- return TURNS;
51
- // The build asks (askTurn), the gate resolves, the framework re-prompts (RESUME_TURN).
52
- return [askTurn, RESUME_TURN];
53
- }
54
- /** Build the scripted {@link FakeDriver} for the demo. */
55
- export function fakeDriver() {
56
- return new FakeDriver({ turns: demoTurns(process.env.FRAMEWORK_FAKE_AWAIT), sessionId: 'fake-orders-app' });
57
- }
58
- //# sourceMappingURL=fake-script.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"fake-script.js","sourceRoot":"","sources":["../src/fake-script.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAiB,MAAM,cAAc,CAAA;AAExD;;;;;;GAMG;AAEH,+CAA+C;AAC/C,MAAM,CAAC,MAAM,WAAW,GAAG,kEAAkE,CAAA;AAE7F,iFAAiF;AACjF,MAAM,UAAU,GAAG,EAAE,OAAO,EAAE,IAAI,EAAE,WAAW,EAAE,IAAI,EAAE,YAAY,EAAE,GAAG,EAAE,eAAe,EAAE,KAAK,EAAE,mBAAmB,EAAE,GAAG,EAAE,CAAA;AAE5H,MAAM,UAAU,GAAa;IAC3B,IAAI,EAAE,qGAAqG;IAC3G,OAAO,EAAE,CAAC,OAAO,EAAE,OAAO,EAAE,MAAM,CAAC;IACnC,KAAK,EAAE,UAAU;CAClB,CAAA;AACD,MAAM,KAAK,GAAe,CAAC,UAAU,CAAC,CAAA;AAEtC,kFAAkF;AAClF,wFAAwF;AACxF,2FAA2F;AAC3F,gFAAgF;AAChF,8EAA8E;AAC9E,MAAM,kBAAkB,GAAa;IACnC,IAAI,EACF,6DAA6D;QAC7D,4OAA4O;IAC9O,OAAO,EAAE,CAAC,MAAM,CAAC;IACjB,KAAK,EAAE,UAAU;CAClB,CAAA;AACD,MAAM,sBAAsB,GAAa;IACvC,IAAI,EACF,8EAA8E;QAC9E,mSAAmS;IACrS,OAAO,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC;IACzB,KAAK,EAAE,UAAU;CAClB,CAAA;AACD,MAAM,uBAAuB,GAAa;IACxC,IAAI,EACF,kEAAkE;QAClE,wMAAwM;IAC1M,OAAO,EAAE,CAAC,OAAO,CAAC;IAClB,KAAK,EAAE,UAAU;CAClB,CAAA;AACD,MAAM,WAAW,GAAa,EAAE,IAAI,EAAE,2DAA2D,EAAE,OAAO,EAAE,CAAC,OAAO,EAAE,MAAM,CAAC,EAAE,KAAK,EAAE,UAAU,EAAE,CAAA;AAElJ,mFAAmF;AACnF,MAAM,UAAU,SAAS,CAAC,SAA6B;IACrD,MAAM,OAAO,GACX,SAAS,KAAK,SAAS,CAAC,CAAC,CAAC,kBAAkB;QAC5C,CAAC,CAAC,SAAS,KAAK,aAAa,CAAC,CAAC,CAAC,sBAAsB;YACtD,CAAC,CAAC,SAAS,KAAK,cAAc,CAAC,CAAC,CAAC,uBAAuB;gBACxD,CAAC,CAAC,SAAS,CAAA;IACb,IAAI,CAAC,OAAO;QAAE,OAAO,KAAK,CAAA;IAC1B,uFAAuF;IACvF,OAAO,CAAC,OAAO,EAAE,WAAW,CAAC,CAAA;AAC/B,CAAC;AAED,0DAA0D;AAC1D,MAAM,UAAU,UAAU;IACxB,OAAO,IAAI,UAAU,CAAC,EAAE,KAAK,EAAE,SAAS,CAAC,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,EAAE,SAAS,EAAE,iBAAiB,EAAE,CAAC,CAAA;AAC7G,CAAC"}
@@ -1,11 +0,0 @@
1
- /**
2
- * The directory, under a project root, that holds The Framework's own files.
3
- *
4
- * Its own module so every reader and writer of the directory (the hooks file, the project's saved
5
- * prompts, the activation's `.gitignore`, a run's card, diary and inbox) spells it the same way.
6
- *
7
- * Nothing of the product's rides on a branch of its own any more: the agent archives are the
8
- * `logs` skill's runs, on the shared `agent-data` branch that `@openagt/agent-data` names (#1769).
9
- */
10
- export declare const THE_FRAMEWORK_DIR = ".the-framework";
11
- //# sourceMappingURL=framework-dir.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"framework-dir.d.ts","sourceRoot":"","sources":["../src/framework-dir.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,eAAO,MAAM,iBAAiB,mBAAmB,CAAA"}
@@ -1,11 +0,0 @@
1
- /**
2
- * The directory, under a project root, that holds The Framework's own files.
3
- *
4
- * Its own module so every reader and writer of the directory (the hooks file, the project's saved
5
- * prompts, the activation's `.gitignore`, a run's card, diary and inbox) spells it the same way.
6
- *
7
- * Nothing of the product's rides on a branch of its own any more: the agent archives are the
8
- * `logs` skill's runs, on the shared `agent-data` branch that `@openagt/agent-data` names (#1769).
9
- */
10
- export const THE_FRAMEWORK_DIR = '.the-framework';
11
- //# sourceMappingURL=framework-dir.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"framework-dir.js","sourceRoot":"","sources":["../src/framework-dir.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAAG,gBAAgB,CAAA"}
@@ -1,12 +0,0 @@
1
- /**
2
- * The `.the-framework/.gitignore` (#313): one file, one content, written at install.
3
- *
4
- * Everything under `.the-framework/` is this machine's or transient: a run's live files, the
5
- * hooks file. The lasting records (the runs, the `logs` skill's) live on the data branch
6
- * (#1582/#1769), so nothing but this file is tracked: main is 100% code.
7
- */
8
- /** The `.gitignore` path under `cwd`'s `.the-framework/`. */
9
- export declare function gitignorePath(cwd: string): string;
10
- /** The whole file: everything under `.the-framework/` stays out of git (#1582). */
11
- export declare function frameworkGitignore(): string;
12
- //# sourceMappingURL=framework-gitignore.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"framework-gitignore.d.ts","sourceRoot":"","sources":["../src/framework-gitignore.ts"],"names":[],"mappings":"AAIA;;;;;;GAMG;AAEH,6DAA6D;AAC7D,wBAAgB,aAAa,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAEjD;AAED,mFAAmF;AACnF,wBAAgB,kBAAkB,IAAI,MAAM,CAE3C"}
@@ -1,19 +0,0 @@
1
- import { join } from 'node:path';
2
- import { DATA_BRANCH } from '@openagt/agent-data/names';
3
- import { THE_FRAMEWORK_DIR } from './framework-dir.js';
4
- /**
5
- * The `.the-framework/.gitignore` (#313): one file, one content, written at install.
6
- *
7
- * Everything under `.the-framework/` is this machine's or transient: a run's live files, the
8
- * hooks file. The lasting records (the runs, the `logs` skill's) live on the data branch
9
- * (#1582/#1769), so nothing but this file is tracked: main is 100% code.
10
- */
11
- /** The `.gitignore` path under `cwd`'s `.the-framework/`. */
12
- export function gitignorePath(cwd) {
13
- return join(cwd, THE_FRAMEWORK_DIR, '.gitignore');
14
- }
15
- /** The whole file: everything under `.the-framework/` stays out of git (#1582). */
16
- export function frameworkGitignore() {
17
- return `# The Framework: agent state is transient; the lasting records live on the ${DATA_BRANCH} branch.\n*\n!.gitignore\n`;
18
- }
19
- //# sourceMappingURL=framework-gitignore.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"framework-gitignore.js","sourceRoot":"","sources":["../src/framework-gitignore.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAA;AAChC,OAAO,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAA;AACvD,OAAO,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAA;AAEtD;;;;;;GAMG;AAEH,6DAA6D;AAC7D,MAAM,UAAU,aAAa,CAAC,GAAW;IACvC,OAAO,IAAI,CAAC,GAAG,EAAE,iBAAiB,EAAE,YAAY,CAAC,CAAA;AACnD,CAAC;AAED,mFAAmF;AACnF,MAAM,UAAU,kBAAkB;IAChC,OAAO,8EAA8E,WAAW,4BAA4B,CAAA;AAC9H,CAAC"}
@@ -1,47 +0,0 @@
1
- /**
2
- * Holds the Node event loop open while the agent is parked on the user (#1359).
3
- *
4
- * A daemon-spawned agent has nothing ref'd at a parked gate: the daemon spawns it detached with
5
- * every stdio ignored and `--no-dashboard` (so no server), the claude-code driver spawns and
6
- * reaps a child per prompt (so nothing runs between turns), and the control watcher is
7
- * deliberately unref'd so steering alone never keeps a finished agent alive (#344). The moment
8
- * `requestChoice` parked a bare Promise between turns, the event loop was empty and Node exited
9
- * 0 mid-await — no `end` event, empty stderr, and picks landing in `control.jsonl` that nothing
10
- * would ever read. The same silently-unwired-channel family as #905/#922, one layer down: the
11
- * channel was wired, but the process waiting on it was not held.
12
- *
13
- * This is the narrow inverse of the watcher's unref: a ref'd (but idle) interval that exists
14
- * only while at least one held promise is pending. Waiting for the answer IS the agent's work at
15
- * that moment, so holding the loop is correct exactly there — and nowhere else, which is why the
16
- * watcher itself stays unref'd (the actions-abort hang is what unref'ing it fixed).
17
- */
18
- /** The slice of a timer handle the keepalive needs; `hasRef` is what a test asserts on. */
19
- export interface KeepaliveTimer {
20
- hasRef?(): boolean;
21
- }
22
- /** The timer seam, injected by tests so nothing waits on real time. */
23
- export interface KeepaliveTimers {
24
- /** Start the loop-holding timer. Must return a ref'd handle. */
25
- start(): KeepaliveTimer;
26
- /** Stop a timer {@link start} returned. */
27
- stop(timer: KeepaliveTimer): void;
28
- }
29
- /**
30
- * The real timers: a ref'd no-op interval (`setInterval` refs by default — the ref IS the
31
- * fix, so a test asserts `hasRef()` on what `start` returns rather than trusting this comment).
32
- */
33
- export declare const nodeKeepaliveTimers: KeepaliveTimers;
34
- /** A live keepalive. One per agent process; every parked wait shares it. */
35
- export interface GateKeepalive {
36
- /** Pass a parked promise through; the loop is held until it settles (resolve or reject). */
37
- hold<T>(pending: Promise<T>): Promise<T>;
38
- /** How many holds are currently pending. */
39
- held(): number;
40
- }
41
- /**
42
- * Create the agent's keepalive. Counter-based: the first pending hold starts one ref'd idle
43
- * timer, overlapping holds share it, and the last one to settle stops it — so the process can
44
- * exit the moment nothing is parked, exactly as before this existed.
45
- */
46
- export declare function createGateKeepalive(timers?: KeepaliveTimers): GateKeepalive;
47
- //# sourceMappingURL=gate-keepalive.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"gate-keepalive.d.ts","sourceRoot":"","sources":["../src/gate-keepalive.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,2FAA2F;AAC3F,MAAM,WAAW,cAAc;IAC7B,MAAM,CAAC,IAAI,OAAO,CAAA;CACnB;AAED,uEAAuE;AACvE,MAAM,WAAW,eAAe;IAC9B,gEAAgE;IAChE,KAAK,IAAI,cAAc,CAAA;IACvB,2CAA2C;IAC3C,IAAI,CAAC,KAAK,EAAE,cAAc,GAAG,IAAI,CAAA;CAClC;AAQD;;;GAGG;AACH,eAAO,MAAM,mBAAmB,EAAE,eAGjC,CAAA;AAED,4EAA4E;AAC5E,MAAM,WAAW,aAAa;IAC5B,4FAA4F;IAC5F,IAAI,CAAC,CAAC,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC,GAAG,OAAO,CAAC,CAAC,CAAC,CAAA;IACxC,4CAA4C;IAC5C,IAAI,IAAI,MAAM,CAAA;CACf;AAED;;;;GAIG;AACH,wBAAgB,mBAAmB,CAAC,MAAM,GAAE,eAAqC,GAAG,aAAa,CAuBhG"}
@@ -1,62 +0,0 @@
1
- /**
2
- * Holds the Node event loop open while the agent is parked on the user (#1359).
3
- *
4
- * A daemon-spawned agent has nothing ref'd at a parked gate: the daemon spawns it detached with
5
- * every stdio ignored and `--no-dashboard` (so no server), the claude-code driver spawns and
6
- * reaps a child per prompt (so nothing runs between turns), and the control watcher is
7
- * deliberately unref'd so steering alone never keeps a finished agent alive (#344). The moment
8
- * `requestChoice` parked a bare Promise between turns, the event loop was empty and Node exited
9
- * 0 mid-await — no `end` event, empty stderr, and picks landing in `control.jsonl` that nothing
10
- * would ever read. The same silently-unwired-channel family as #905/#922, one layer down: the
11
- * channel was wired, but the process waiting on it was not held.
12
- *
13
- * This is the narrow inverse of the watcher's unref: a ref'd (but idle) interval that exists
14
- * only while at least one held promise is pending. Waiting for the answer IS the agent's work at
15
- * that moment, so holding the loop is correct exactly there — and nowhere else, which is why the
16
- * watcher itself stays unref'd (the actions-abort hang is what unref'ing it fixed).
17
- */
18
- /**
19
- * The idle interval's period. The callback never matters — only the ref does — so it is set far
20
- * beyond any run's life to make the no-op wakeups free.
21
- */
22
- const IDLE_INTERVAL_MS = 2 ** 30;
23
- /**
24
- * The real timers: a ref'd no-op interval (`setInterval` refs by default — the ref IS the
25
- * fix, so a test asserts `hasRef()` on what `start` returns rather than trusting this comment).
26
- */
27
- export const nodeKeepaliveTimers = {
28
- start: () => setInterval(() => { }, IDLE_INTERVAL_MS),
29
- stop: timer => clearInterval(timer),
30
- };
31
- /**
32
- * Create the agent's keepalive. Counter-based: the first pending hold starts one ref'd idle
33
- * timer, overlapping holds share it, and the last one to settle stops it — so the process can
34
- * exit the moment nothing is parked, exactly as before this existed.
35
- */
36
- export function createGateKeepalive(timers = nodeKeepaliveTimers) {
37
- let held = 0;
38
- let timer;
39
- const acquire = () => {
40
- if (held++ === 0)
41
- timer = timers.start();
42
- };
43
- const release = () => {
44
- if (--held === 0 && timer) {
45
- timers.stop(timer);
46
- timer = undefined;
47
- }
48
- };
49
- return {
50
- held: () => held,
51
- async hold(pending) {
52
- acquire();
53
- try {
54
- return await pending;
55
- }
56
- finally {
57
- release();
58
- }
59
- },
60
- };
61
- }
62
- //# sourceMappingURL=gate-keepalive.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"gate-keepalive.js","sourceRoot":"","sources":["../src/gate-keepalive.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAeH;;;GAGG;AACH,MAAM,gBAAgB,GAAG,CAAC,IAAI,EAAE,CAAA;AAEhC;;;GAGG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAAoB;IAClD,KAAK,EAAE,GAAG,EAAE,CAAC,WAAW,CAAC,GAAG,EAAE,GAAE,CAAC,EAAE,gBAAgB,CAAC;IACpD,IAAI,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,CAAC,KAAuB,CAAC;CACtD,CAAA;AAUD;;;;GAIG;AACH,MAAM,UAAU,mBAAmB,CAAC,MAAM,GAAoB,mBAAmB;IAC/E,IAAI,IAAI,GAAG,CAAC,CAAA;IACZ,IAAI,KAAiC,CAAA;IACrC,MAAM,OAAO,GAAG,GAAS,EAAE;QACzB,IAAI,IAAI,EAAE,KAAK,CAAC;YAAE,KAAK,GAAG,MAAM,CAAC,KAAK,EAAE,CAAA;IAC1C,CAAC,CAAA;IACD,MAAM,OAAO,GAAG,GAAS,EAAE;QACzB,IAAI,EAAE,IAAI,KAAK,CAAC,IAAI,KAAK,EAAE,CAAC;YAC1B,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAA;YAClB,KAAK,GAAG,SAAS,CAAA;QACnB,CAAC;IACH,CAAC,CAAA;IACD,OAAO;QACL,IAAI,EAAE,GAAG,EAAE,CAAC,IAAI;QAChB,KAAK,CAAC,IAAI,CAAC,OAAO;YAChB,OAAO,EAAE,CAAA;YACT,IAAI,CAAC;gBACH,OAAO,MAAM,OAAO,CAAA;YACtB,CAAC;oBAAS,CAAC;gBACT,OAAO,EAAE,CAAA;YACX,CAAC;QACH,CAAC;KACF,CAAA;AACH,CAAC"}
@@ -1,11 +0,0 @@
1
- import { type NodeFs } from './node-fs.js';
2
- import { type GitRunner } from './project.js';
3
- /**
4
- * Append one ignore rule to the repository's `info/exclude` — the ignore file that is git's, not
5
- * the project's, so no tracked file changes and no user ever sees a diff. The rule goes in the
6
- * *common* git dir because git resolves excludes from there; a per-worktree copy looks right and
7
- * is silently never read. One rule there covers every worktree of the repo. Idempotent. Throws on
8
- * a non-repo or unwritable git dir — callers decide whether that is fatal (so far, never).
9
- */
10
- export declare function excludeFromGit(repo: string, rule: string, fs?: NodeFs, git?: GitRunner): Promise<void>;
11
- //# sourceMappingURL=git-exclude.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"git-exclude.d.ts","sourceRoot":"","sources":["../src/git-exclude.ts"],"names":[],"mappings":"AACA,OAAO,EAAU,KAAK,MAAM,EAAE,MAAM,cAAc,CAAA;AAClD,OAAO,EAAiB,KAAK,SAAS,EAAE,MAAM,cAAc,CAAA;AAE5D;;;;;;GAMG;AACH,wBAAsB,cAAc,CAClC,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,MAAM,EACZ,EAAE,GAAE,MAAiB,EACrB,GAAG,GAAE,SAA2B,GAC/B,OAAO,CAAC,IAAI,CAAC,CASf"}
@@ -1,23 +0,0 @@
1
- import { join, isAbsolute } from 'node:path';
2
- import { nodeFs } from './node-fs.js';
3
- import { nodeGitRunner } from './project.js';
4
- /**
5
- * Append one ignore rule to the repository's `info/exclude` — the ignore file that is git's, not
6
- * the project's, so no tracked file changes and no user ever sees a diff. The rule goes in the
7
- * *common* git dir because git resolves excludes from there; a per-worktree copy looks right and
8
- * is silently never read. One rule there covers every worktree of the repo. Idempotent. Throws on
9
- * a non-repo or unwritable git dir — callers decide whether that is fatal (so far, never).
10
- */
11
- export async function excludeFromGit(repo, rule, fs = nodeFs(), git = nodeGitRunner()) {
12
- const common = (await git(['rev-parse', '--git-common-dir'], repo)).trim();
13
- if (!common)
14
- return;
15
- const infoDir = join(isAbsolute(common) ? common : join(repo, common), 'info');
16
- const path = join(infoDir, 'exclude');
17
- const current = await fs.read(path).catch(() => '');
18
- if (current.split('\n').some(line => line.trim() === rule))
19
- return;
20
- await fs.mkdir(infoDir);
21
- await fs.append(path, (current && !current.endsWith('\n') ? '\n' : '') + rule + '\n');
22
- }
23
- //# sourceMappingURL=git-exclude.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"git-exclude.js","sourceRoot":"","sources":["../src/git-exclude.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,WAAW,CAAA;AAC5C,OAAO,EAAE,MAAM,EAAe,MAAM,cAAc,CAAA;AAClD,OAAO,EAAE,aAAa,EAAkB,MAAM,cAAc,CAAA;AAE5D;;;;;;GAMG;AACH,MAAM,CAAC,KAAK,UAAU,cAAc,CAClC,IAAY,EACZ,IAAY,EACZ,EAAE,GAAW,MAAM,EAAE,EACrB,GAAG,GAAc,aAAa,EAAE;IAEhC,MAAM,MAAM,GAAG,CAAC,MAAM,GAAG,CAAC,CAAC,WAAW,EAAE,kBAAkB,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC,IAAI,EAAE,CAAA;IAC1E,IAAI,CAAC,MAAM;QAAE,OAAM;IACnB,MAAM,OAAO,GAAG,IAAI,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,EAAE,MAAM,CAAC,EAAE,MAAM,CAAC,CAAA;IAC9E,MAAM,IAAI,GAAG,IAAI,CAAC,OAAO,EAAE,SAAS,CAAC,CAAA;IACrC,MAAM,OAAO,GAAG,MAAM,EAAE,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,GAAG,EAAE,CAAC,EAAE,CAAC,CAAA;IACnD,IAAI,OAAO,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,IAAI,EAAE,KAAK,IAAI,CAAC;QAAE,OAAM;IAClE,MAAM,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,CAAA;IACvB,MAAM,EAAE,CAAC,MAAM,CAAC,IAAI,EAAE,CAAC,OAAO,IAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,GAAG,IAAI,GAAG,IAAI,CAAC,CAAA;AACvF,CAAC"}
@@ -1,56 +0,0 @@
1
- /**
2
- * What a session hands back when it finishes (#1102/#1216) — one ordinal, not three booleans (B5).
3
- *
4
- * These are strictly nested stages of one pipeline: push the branch, then open a PR for it, then
5
- * merge that PR. As three independent booleans they described eight states of which four were
6
- * reachable, and the implication had to be written in a doc comment because the type could not
7
- * express it — `autoOpenPr` "implies `autoPushBranch`", so "PR without push" was never a state a
8
- * session could honour. It used to resolve that contradiction by turning push back *on*, which
9
- * meant a launcher offering "publish nothing" could not deliver it (#1379).
10
- *
11
- * One ordinal has exactly the four real states, and the implication is structural: a rung includes
12
- * every rung under it, so the impossible combinations stop being representable.
13
- *
14
- * Node-free, like `run-location.ts`: the dashboard, the registry and the repo file all name this,
15
- * and none of them should reach further than a leaf to do it.
16
- */
17
- /** How far a finished session publishes itself. Each rung includes the ones below it. */
18
- export type HandoffLevel = 'local' | 'push' | 'pr' | 'merge';
19
- /** Every rung, lowest first — the order is the ladder. */
20
- export declare const HANDOFF_LEVELS: readonly ['local', 'push', 'pr', 'merge'];
21
- /**
22
- * Where the ladder sits when nobody has said.
23
- *
24
- * `pr`, because that is what makes the handoff zero-config: a session left alone pushes its branch
25
- * and opens a draft PR, so the work never sits on a local branch nobody is told about (#1102).
26
- * Merging is the one rung above it, and landing on the default branch has to be asked for (#1216).
27
- */
28
- export declare const DEFAULT_HANDOFF: HandoffLevel;
29
- /** Whether `value` names a rung. */
30
- export declare function isHandoffLevel(value: unknown): value is HandoffLevel;
31
- /** True when `level` reaches `rung` or beyond — the ladder's one comparison. */
32
- export declare function handoffReaches(level: HandoffLevel, rung: HandoffLevel): boolean;
33
- /**
34
- * The ladder as the three questions the agent and the UI actually ask of it.
35
- *
36
- * Derived rather than stored: this is a view of the ordinal, so a caller can keep saying "is the
37
- * push armed" without any of them being able to disagree with each other.
38
- */
39
- export declare function handoffStages(level: HandoffLevel): {
40
- push: boolean;
41
- pr: boolean;
42
- merge: boolean;
43
- };
44
- /**
45
- * The rung a set of stage answers means, for a surface that offers them as separate checkboxes.
46
- *
47
- * The inverse of {@link handoffStages}, and the reason an impossible answer cannot survive: the
48
- * highest rung whose own box is ticked *and* whose every rung below is ticked too wins, so
49
- * "PR without push" resolves down to `local` rather than silently turning the push back on.
50
- */
51
- export declare function handoffFromStages(stages: {
52
- push?: boolean;
53
- pr?: boolean;
54
- merge?: boolean;
55
- }): HandoffLevel;
56
- //# sourceMappingURL=handoff-level.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"handoff-level.d.ts","sourceRoot":"","sources":["../src/handoff-level.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,yFAAyF;AACzF,MAAM,MAAM,YAAY,GAAG,OAAO,GAAG,MAAM,GAAG,IAAI,GAAG,OAAO,CAAA;AAE5D,0DAA0D;AAC1D,eAAO,MAAM,cAAc,YAAI,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,OAAO,CAAU,CAAA;AAEvE;;;;;;GAMG;AACH,eAAO,MAAM,eAAe,EAAE,YAAmB,CAAA;AAEjD,oCAAoC;AACpC,wBAAgB,cAAc,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,YAAY,CAEpE;AAED,gFAAgF;AAChF,wBAAgB,cAAc,CAAC,KAAK,EAAE,YAAY,EAAE,IAAI,EAAE,YAAY,GAAG,OAAO,CAE/E;AAED;;;;;GAKG;AACH,wBAAgB,aAAa,CAAC,KAAK,EAAE,YAAY,GAAG;IAAE,IAAI,EAAE,OAAO,CAAC;IAAC,EAAE,EAAE,OAAO,CAAC;IAAC,KAAK,EAAE,OAAO,CAAA;CAAE,CAMjG;AAED;;;;;;GAMG;AACH,wBAAgB,iBAAiB,CAAC,MAAM,EAAE;IAAE,IAAI,CAAC,EAAE,OAAO,CAAC;IAAC,EAAE,CAAC,EAAE,OAAO,CAAC;IAAC,KAAK,CAAC,EAAE,OAAO,CAAA;CAAE,GAAG,YAAY,CAIzG"}
@@ -1,62 +0,0 @@
1
- /**
2
- * What a session hands back when it finishes (#1102/#1216) — one ordinal, not three booleans (B5).
3
- *
4
- * These are strictly nested stages of one pipeline: push the branch, then open a PR for it, then
5
- * merge that PR. As three independent booleans they described eight states of which four were
6
- * reachable, and the implication had to be written in a doc comment because the type could not
7
- * express it — `autoOpenPr` "implies `autoPushBranch`", so "PR without push" was never a state a
8
- * session could honour. It used to resolve that contradiction by turning push back *on*, which
9
- * meant a launcher offering "publish nothing" could not deliver it (#1379).
10
- *
11
- * One ordinal has exactly the four real states, and the implication is structural: a rung includes
12
- * every rung under it, so the impossible combinations stop being representable.
13
- *
14
- * Node-free, like `run-location.ts`: the dashboard, the registry and the repo file all name this,
15
- * and none of them should reach further than a leaf to do it.
16
- */
17
- /** Every rung, lowest first — the order is the ladder. */
18
- export const HANDOFF_LEVELS = ['local', 'push', 'pr', 'merge'];
19
- /**
20
- * Where the ladder sits when nobody has said.
21
- *
22
- * `pr`, because that is what makes the handoff zero-config: a session left alone pushes its branch
23
- * and opens a draft PR, so the work never sits on a local branch nobody is told about (#1102).
24
- * Merging is the one rung above it, and landing on the default branch has to be asked for (#1216).
25
- */
26
- export const DEFAULT_HANDOFF = 'pr';
27
- /** Whether `value` names a rung. */
28
- export function isHandoffLevel(value) {
29
- return typeof value === 'string' && HANDOFF_LEVELS.includes(value);
30
- }
31
- /** True when `level` reaches `rung` or beyond — the ladder's one comparison. */
32
- export function handoffReaches(level, rung) {
33
- return HANDOFF_LEVELS.indexOf(level) >= HANDOFF_LEVELS.indexOf(rung);
34
- }
35
- /**
36
- * The ladder as the three questions the agent and the UI actually ask of it.
37
- *
38
- * Derived rather than stored: this is a view of the ordinal, so a caller can keep saying "is the
39
- * push armed" without any of them being able to disagree with each other.
40
- */
41
- export function handoffStages(level) {
42
- return {
43
- push: handoffReaches(level, 'push'),
44
- pr: handoffReaches(level, 'pr'),
45
- merge: handoffReaches(level, 'merge'),
46
- };
47
- }
48
- /**
49
- * The rung a set of stage answers means, for a surface that offers them as separate checkboxes.
50
- *
51
- * The inverse of {@link handoffStages}, and the reason an impossible answer cannot survive: the
52
- * highest rung whose own box is ticked *and* whose every rung below is ticked too wins, so
53
- * "PR without push" resolves down to `local` rather than silently turning the push back on.
54
- */
55
- export function handoffFromStages(stages) {
56
- if (!stages.push)
57
- return 'local';
58
- if (!stages.pr)
59
- return 'push';
60
- return stages.merge ? 'merge' : 'pr';
61
- }
62
- //# sourceMappingURL=handoff-level.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"handoff-level.js","sourceRoot":"","sources":["../src/handoff-level.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAKH,0DAA0D;AAC1D,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,OAAO,CAAU,CAAA;AAEvE;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,eAAe,GAAiB,IAAI,CAAA;AAEjD,oCAAoC;AACpC,MAAM,UAAU,cAAc,CAAC,KAAc;IAC3C,OAAO,OAAO,KAAK,KAAK,QAAQ,IAAK,cAAoC,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAA;AAC3F,CAAC;AAED,gFAAgF;AAChF,MAAM,UAAU,cAAc,CAAC,KAAmB,EAAE,IAAkB;IACpE,OAAO,cAAc,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,cAAc,CAAC,OAAO,CAAC,IAAI,CAAC,CAAA;AACtE,CAAC;AAED;;;;;GAKG;AACH,MAAM,UAAU,aAAa,CAAC,KAAmB;IAC/C,OAAO;QACL,IAAI,EAAE,cAAc,CAAC,KAAK,EAAE,MAAM,CAAC;QACnC,EAAE,EAAE,cAAc,CAAC,KAAK,EAAE,IAAI,CAAC;QAC/B,KAAK,EAAE,cAAc,CAAC,KAAK,EAAE,OAAO,CAAC;KACtC,CAAA;AACH,CAAC;AAED;;;;;;GAMG;AACH,MAAM,UAAU,iBAAiB,CAAC,MAAyD;IACzF,IAAI,CAAC,MAAM,CAAC,IAAI;QAAE,OAAO,OAAO,CAAA;IAChC,IAAI,CAAC,MAAM,CAAC,EAAE;QAAE,OAAO,MAAM,CAAA;IAC7B,OAAO,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,IAAI,CAAA;AACtC,CAAC"}
@@ -1,21 +0,0 @@
1
- import type { DeployExecutor } from '@gemstack/ai-autopilot';
2
- /** Options for {@link hostExecutor}. */
3
- export interface HostExecutorOptions {
4
- /** Base environment for every command. Default `process.env`. */
5
- env?: NodeJS.ProcessEnv;
6
- /** Max stdout/stderr bytes to buffer per command. Default 16 MiB. */
7
- maxBuffer?: number;
8
- }
9
- /**
10
- * A {@link DeployExecutor} that runs shell commands on the host, in the
11
- * workspace the wrapped agent built (its `cwd`). This is what lets a real deploy
12
- * target (e.g. `cloudflareTarget`) install / build / run `wrangler` against the
13
- * code Claude Code just wrote, since the runner seam's `LocalRunner` cannot: it
14
- * mkdtemps a fresh workspace and deletes it on dispose.
15
- *
16
- * Never rejects: a non-zero exit or a spawn error resolves to an {@link ExecResult}
17
- * with the exit code and captured output, matching the runner-session contract
18
- * the deploy targets expect.
19
- */
20
- export declare function hostExecutor(cwd: string, opts?: HostExecutorOptions): DeployExecutor;
21
- //# sourceMappingURL=host-exec.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"host-exec.d.ts","sourceRoot":"","sources":["../src/host-exec.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAA2B,MAAM,wBAAwB,CAAA;AAErF,wCAAwC;AACxC,MAAM,WAAW,mBAAmB;IAClC,iEAAiE;IACjE,GAAG,CAAC,EAAE,MAAM,CAAC,UAAU,CAAA;IACvB,qEAAqE;IACrE,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,YAAY,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,GAAE,mBAAwB,GAAG,cAAc,CAmBxF"}
package/dist/host-exec.js DELETED
@@ -1,30 +0,0 @@
1
- import { exec as cpExec } from 'node:child_process';
2
- import { isAbsolute, join } from 'node:path';
3
- /**
4
- * A {@link DeployExecutor} that runs shell commands on the host, in the
5
- * workspace the wrapped agent built (its `cwd`). This is what lets a real deploy
6
- * target (e.g. `cloudflareTarget`) install / build / run `wrangler` against the
7
- * code Claude Code just wrote, since the runner seam's `LocalRunner` cannot: it
8
- * mkdtemps a fresh workspace and deletes it on dispose.
9
- *
10
- * Never rejects: a non-zero exit or a spawn error resolves to an {@link ExecResult}
11
- * with the exit code and captured output, matching the runner-session contract
12
- * the deploy targets expect.
13
- */
14
- export function hostExecutor(cwd, opts = {}) {
15
- const baseEnv = opts.env ?? process.env;
16
- const maxBuffer = opts.maxBuffer ?? 16 * 1024 * 1024;
17
- return {
18
- exec(command, execOpts = {}) {
19
- const dir = execOpts.cwd ? (isAbsolute(execOpts.cwd) ? execOpts.cwd : join(cwd, execOpts.cwd)) : cwd;
20
- const env = execOpts.env ? { ...baseEnv, ...execOpts.env } : baseEnv;
21
- return new Promise(resolvePromise => {
22
- cpExec(command, { cwd: dir, env, timeout: execOpts.timeoutMs ?? 0, maxBuffer }, (err, stdout, stderr) => {
23
- const exitCode = err ? (typeof err.code === 'number' ? err.code : 1) : 0;
24
- resolvePromise({ stdout: String(stdout), stderr: String(stderr), exitCode });
25
- });
26
- });
27
- },
28
- };
29
- }
30
- //# sourceMappingURL=host-exec.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"host-exec.js","sourceRoot":"","sources":["../src/host-exec.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,IAAI,MAAM,EAAE,MAAM,oBAAoB,CAAA;AACnD,OAAO,EAAE,UAAU,EAAE,IAAI,EAAE,MAAM,WAAW,CAAA;AAW5C;;;;;;;;;;GAUG;AACH,MAAM,UAAU,YAAY,CAAC,GAAW,EAAE,OAA4B,EAAE;IACtE,MAAM,OAAO,GAAG,IAAI,CAAC,GAAG,IAAI,OAAO,CAAC,GAAG,CAAA;IACvC,MAAM,SAAS,GAAG,IAAI,CAAC,SAAS,IAAI,EAAE,GAAG,IAAI,GAAG,IAAI,CAAA;IACpD,OAAO;QACL,IAAI,CAAC,OAAe,EAAE,WAAwB,EAAE;YAC9C,MAAM,GAAG,GAAG,QAAQ,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,UAAU,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,QAAQ,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,CAAA;YACpG,MAAM,GAAG,GAAG,QAAQ,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,GAAG,OAAO,EAAE,GAAG,QAAQ,CAAC,GAAG,EAAE,CAAC,CAAC,CAAC,OAAO,CAAA;YACpE,OAAO,IAAI,OAAO,CAAa,cAAc,CAAC,EAAE;gBAC9C,MAAM,CACJ,OAAO,EACP,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,OAAO,EAAE,QAAQ,CAAC,SAAS,IAAI,CAAC,EAAE,SAAS,EAAE,EAC9D,CAAC,GAAG,EAAE,MAAM,EAAE,MAAM,EAAE,EAAE;oBACtB,MAAM,QAAQ,GAAG,GAAG,CAAC,CAAC,CAAC,CAAC,OAAO,GAAG,CAAC,IAAI,KAAK,QAAQ,CAAC,CAAC,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;oBACxE,cAAc,CAAC,EAAE,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,EAAE,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,EAAE,QAAQ,EAAE,CAAC,CAAA;gBAC9E,CAAC,CACF,CAAA;YACH,CAAC,CAAC,CAAA;QACJ,CAAC;KACF,CAAA;AACH,CAAC"}
package/dist/layout.d.ts DELETED
@@ -1,41 +0,0 @@
1
- import { type StoreFs } from './store/index.js';
2
- /**
3
- * The layout gate (#1575): a build refuses to run in a repo whose recorded bookkeeping layout
4
- * differs from its own.
5
- *
6
- * The failure this closes was caught live (#1574): the cloud environment installs the framework
7
- * from npm, the last published build predated the `sessions/` → `agents/` rename, and the web
8
- * run's bookkeeping landed under the old name — a wrong-layout commit that main's guard test
9
- * rejects, hours after the session could have said it will not work. Same philosophy as the
10
- * extension gate (#1519): a skewed build half-works, so it is refused outright with both sides
11
- * named, no degraded mode.
12
- *
13
- * The repo's half is a tracked marker file whose content is *derived from the build's own layout
14
- * constants*, so a rename changes the derivation by itself and the lockstep test fails the rename
15
- * PR until the checked-in marker is regenerated — nothing to remember to bump. A repo without the
16
- * marker is ungated, the way an absent `expectedExtensionVersion` leaves the bridge ungated:
17
- * install writes it, so every newly activated repo is gated from the start.
18
- */
19
- /** The marker's name under `.the-framework/`. Tracked, so every worktree and clone carries it. */
20
- export declare const LAYOUT_FILE = "LAYOUT";
21
- /** The marker path under `cwd`'s `.the-framework/`. */
22
- export declare function layoutMarkerPath(cwd: string): string;
23
- /**
24
- * The layout this build writes, as one comparable string: every name a committed artifact's path
25
- * hangs off. Pure data — a comment line would put message wording into the equality.
26
- */
27
- export declare function layoutMarker(): string;
28
- /** The outcome of {@link checkLayout}. A failure is a value carrying the refusal, never a throw. */
29
- export type LayoutCheck = {
30
- ok: true;
31
- } | {
32
- ok: false;
33
- error: string;
34
- };
35
- /**
36
- * Compare the repo's recorded layout against this build's. A missing marker passes (an unmarked
37
- * repo is ungated); a present-but-different one refuses with both sides named and the fix for
38
- * each direction — the stale-published-build case this exists for, and the older-repo case.
39
- */
40
- export declare function checkLayout(cwd: string, fs?: StoreFs): Promise<LayoutCheck>;
41
- //# sourceMappingURL=layout.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"layout.d.ts","sourceRoot":"","sources":["../src/layout.ts"],"names":[],"mappings":"AAEA,OAAO,EAAuC,KAAK,OAAO,EAAE,MAAM,kBAAkB,CAAA;AAMpF;;;;;;;;;;;;;;;;GAgBG;AAEH,kGAAkG;AAClG,eAAO,MAAM,WAAW,WAAW,CAAA;AAEnC,uDAAuD;AACvD,wBAAgB,gBAAgB,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAEpD;AAED;;;GAGG;AACH,wBAAgB,YAAY,IAAI,MAAM,CAWrC;AAED,oGAAoG;AACpG,MAAM,MAAM,WAAW,GAAG;IAAE,EAAE,EAAE,IAAI,CAAA;CAAE,GAAG;IAAE,EAAE,EAAE,KAAK,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,CAAA;AAErE;;;;GAIG;AACH,wBAAsB,WAAW,CAAC,GAAG,EAAE,MAAM,EAAE,EAAE,GAAE,OAAuB,GAAG,OAAO,CAAC,WAAW,CAAC,CAehG"}