@openagt/dashboard 0.8.0 → 0.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (940) hide show
  1. package/README.md +6 -6
  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 +13 -4
  8. package/dist/built-in.d.ts.map +1 -1
  9. package/dist/built-in.js +45 -4
  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 -9
  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/static.js +1 -1
  77. package/dist/dashboard/types.d.ts +29 -3
  78. package/dist/dashboard/types.d.ts.map +1 -1
  79. package/dist/dashboard/web-start-endpoints.d.ts +1 -1
  80. package/dist/dashboard/web-start-endpoints.d.ts.map +1 -1
  81. package/dist/dashboard/web-start-endpoints.js +1 -1
  82. package/dist/dashboard/web-start-endpoints.js.map +1 -1
  83. package/dist/dashboard-bundle/assets/{main-om0WOAku.js → main-B98UOA3_.js} +48 -48
  84. package/dist/dashboard-bundle/assets/main-ByRjbCiA.css +2 -0
  85. package/dist/dashboard-bundle/assets/{module-jASZmfSB.js → module-v213KWfH.js} +4 -4
  86. package/dist/dashboard-bundle/host/module.js +1 -1
  87. package/dist/dashboard-bundle/index.html +6 -6
  88. package/dist/dashboard-rpc/context.d.ts +2 -0
  89. package/dist/dashboard-rpc/context.d.ts.map +1 -1
  90. package/dist/dashboard-rpc/context.js +4 -0
  91. package/dist/dashboard-rpc/context.js.map +1 -1
  92. package/dist/dashboard-rpc/control.d.ts +1 -1
  93. package/dist/dashboard-rpc/control.js +3 -3
  94. package/dist/dashboard-rpc/control.js.map +1 -1
  95. package/dist/dashboard-rpc/events.d.ts +3 -3
  96. package/dist/dashboard-rpc/index.d.ts +1 -1
  97. package/dist/dashboard-rpc/index.d.ts.map +1 -1
  98. package/dist/dashboard-rpc/index.js +1 -1
  99. package/dist/dashboard-rpc/index.js.map +1 -1
  100. package/dist/dashboard-rpc/modules.d.ts +8 -6
  101. package/dist/dashboard-rpc/modules.d.ts.map +1 -1
  102. package/dist/dashboard-rpc/modules.js +8 -6
  103. package/dist/dashboard-rpc/modules.js.map +1 -1
  104. package/dist/dashboard-rpc/preferences.d.ts +2 -2
  105. package/dist/dashboard-rpc/preferences.d.ts.map +1 -1
  106. package/dist/dashboard-rpc/preferences.js +2 -2
  107. package/dist/dashboard-rpc/preferences.js.map +1 -1
  108. package/dist/dashboard-rpc/projects.d.ts +29 -3
  109. package/dist/dashboard-rpc/projects.d.ts.map +1 -1
  110. package/dist/dashboard-rpc/projects.js +49 -7
  111. package/dist/dashboard-rpc/projects.js.map +1 -1
  112. package/dist/dashboard-rpc/reads.d.ts +3 -3
  113. package/dist/dashboard-rpc/reads.js +1 -1
  114. package/dist/dashboard-rpc/test-context.d.ts.map +1 -1
  115. package/dist/dashboard-rpc/test-context.js +4 -3
  116. package/dist/dashboard-rpc/test-context.js.map +1 -1
  117. package/dist/event-stream.d.ts +1 -1
  118. package/dist/event-stream.js +1 -1
  119. package/dist/events.d.ts +8 -8
  120. package/dist/events.d.ts.map +1 -1
  121. package/dist/index.d.ts +3 -2
  122. package/dist/index.d.ts.map +1 -1
  123. package/dist/install.d.ts +9 -7
  124. package/dist/install.d.ts.map +1 -1
  125. package/dist/install.js +28 -14
  126. package/dist/install.js.map +1 -1
  127. package/dist/module-server.d.ts +1 -1
  128. package/dist/module-types/dashboard/lib/route.d.ts +2 -1
  129. package/dist/module-types/dashboard/lib/use-modules.d.ts +4 -3
  130. package/dist/module-types/dashboard/module/index.d.ts +5 -5
  131. package/dist/module-types/src/agent-view.d.ts +3 -3
  132. package/dist/module-types/src/bridge-browser.d.ts +4 -4
  133. package/dist/module-types/src/built-in.d.ts +13 -4
  134. package/dist/module-types/src/client.d.ts +1 -1
  135. package/dist/module-types/src/cloud-run-state.d.ts +1 -1
  136. package/dist/module-types/src/dashboard/agent-handoff.d.ts +4 -4
  137. package/dist/module-types/src/dashboard/bridge-endpoints.d.ts +3 -3
  138. package/dist/module-types/src/dashboard/docs.d.ts +1 -1
  139. package/dist/module-types/src/dashboard/git-status.d.ts +1 -1
  140. package/dist/module-types/src/dashboard/interventions.d.ts +2 -2
  141. package/dist/module-types/src/dashboard/open-in-app.d.ts +3 -3
  142. package/dist/module-types/src/dashboard/open-questions.d.ts +2 -2
  143. package/dist/module-types/src/dashboard/projects.d.ts +6 -5
  144. package/dist/module-types/src/dashboard/pull-requests.d.ts +5 -5
  145. package/dist/module-types/src/dashboard/remote-run.d.ts +5 -5
  146. package/dist/module-types/src/dashboard/rpc-serve.d.ts +7 -4
  147. package/dist/module-types/src/dashboard/run-inbox.d.ts +2 -2
  148. package/dist/module-types/src/dashboard/types.d.ts +29 -3
  149. package/dist/module-types/src/dashboard-rpc/context.d.ts +2 -0
  150. package/dist/module-types/src/dashboard-rpc/control.d.ts +1 -1
  151. package/dist/module-types/src/dashboard-rpc/events.d.ts +3 -3
  152. package/dist/module-types/src/dashboard-rpc/index.d.ts +1 -1
  153. package/dist/module-types/src/dashboard-rpc/modules.d.ts +8 -6
  154. package/dist/module-types/src/dashboard-rpc/preferences.d.ts +2 -2
  155. package/dist/module-types/src/dashboard-rpc/projects.d.ts +29 -3
  156. package/dist/module-types/src/dashboard-rpc/reads.d.ts +3 -3
  157. package/dist/module-types/src/event-stream.d.ts +1 -1
  158. package/dist/module-types/src/events.d.ts +8 -8
  159. package/dist/module-types/src/index.d.ts +3 -2
  160. package/dist/module-types/src/open-choices.d.ts +2 -2
  161. package/dist/module-types/src/{framework-dir.d.ts → openagent-dir.d.ts} +2 -2
  162. package/dist/module-types/src/openagent-gitignore.d.ts +11 -0
  163. package/dist/module-types/src/project-commands.d.ts +1 -1
  164. package/dist/module-types/src/project-errors.d.ts +11 -7
  165. package/dist/module-types/src/project-hooks.d.ts +4 -4
  166. package/dist/module-types/src/project-modules.d.ts +5 -5
  167. package/dist/module-types/src/project-presets.d.ts +4 -4
  168. package/dist/module-types/src/project.d.ts +6 -6
  169. package/dist/module-types/src/publish-levels.d.ts +4 -4
  170. package/dist/module-types/src/quota-boundary.d.ts +2 -2
  171. package/dist/module-types/src/registry.d.ts +13 -7
  172. package/dist/module-types/src/store/agent-checkout.d.ts +1 -1
  173. package/dist/module-types/src/store/agent-store.d.ts +6 -6
  174. package/dist/module-types/src/store/branches.d.ts +7 -7
  175. package/dist/module-types/src/store/git-host.d.ts +7 -7
  176. package/dist/module-types/src/store/provided.d.ts +3 -3
  177. package/dist/module-types/src/store/queue.d.ts +8 -8
  178. package/dist/module-types/src/store/repository.d.ts +2 -2
  179. package/dist/module-types/src/store/run-record.d.ts +10 -10
  180. package/dist/module-types/src/store/runs.d.ts +6 -6
  181. package/dist/module-types/src/store/tickets.d.ts +7 -7
  182. package/dist/module-types/src/terminal.d.ts +3 -3
  183. package/dist/open-choices.d.ts +2 -2
  184. package/dist/{framework-dir.js → openagent-dir.d.ts} +3 -3
  185. package/dist/openagent-dir.d.ts.map +1 -0
  186. package/dist/{framework-dir.d.ts → openagent-dir.js} +3 -3
  187. package/dist/openagent-dir.js.map +1 -0
  188. package/dist/openagent-gitignore.d.ts +12 -0
  189. package/dist/openagent-gitignore.d.ts.map +1 -0
  190. package/dist/openagent-gitignore.js +19 -0
  191. package/dist/openagent-gitignore.js.map +1 -0
  192. package/dist/pick-directory.js +2 -2
  193. package/dist/pick-directory.js.map +1 -1
  194. package/dist/project-commands.d.ts +1 -1
  195. package/dist/project-commands.js +1 -1
  196. package/dist/project-errors.d.ts +11 -7
  197. package/dist/project-errors.d.ts.map +1 -1
  198. package/dist/project-errors.js +10 -8
  199. package/dist/project-errors.js.map +1 -1
  200. package/dist/project-hooks.d.ts +4 -4
  201. package/dist/project-hooks.d.ts.map +1 -1
  202. package/dist/project-hooks.js +8 -8
  203. package/dist/project-hooks.js.map +1 -1
  204. package/dist/project-modules.d.ts +5 -5
  205. package/dist/project-modules.js +2 -2
  206. package/dist/project-presets.d.ts +4 -4
  207. package/dist/project-presets.d.ts.map +1 -1
  208. package/dist/project-presets.js +9 -9
  209. package/dist/project-presets.js.map +1 -1
  210. package/dist/project.d.ts +6 -6
  211. package/dist/project.js +6 -6
  212. package/dist/publish-levels.d.ts +4 -4
  213. package/dist/publish-levels.d.ts.map +1 -1
  214. package/dist/publish-levels.js +7 -5
  215. package/dist/publish-levels.js.map +1 -1
  216. package/dist/quota-boundary.d.ts +2 -2
  217. package/dist/quota-boundary.js +2 -2
  218. package/dist/registry.d.ts +13 -7
  219. package/dist/registry.d.ts.map +1 -1
  220. package/dist/registry.js +19 -3
  221. package/dist/registry.js.map +1 -1
  222. package/dist/remove-files.d.ts +24 -0
  223. package/dist/remove-files.d.ts.map +1 -0
  224. package/dist/remove-files.js +98 -0
  225. package/dist/remove-files.js.map +1 -0
  226. package/dist/store/agent-checkout.d.ts +1 -1
  227. package/dist/store/agent-checkout.js +3 -3
  228. package/dist/store/agent-checkout.js.map +1 -1
  229. package/dist/store/agent-store.d.ts +6 -6
  230. package/dist/store/agent-store.js +8 -8
  231. package/dist/store/agent-store.js.map +1 -1
  232. package/dist/store/branches.d.ts +7 -7
  233. package/dist/store/branches.d.ts.map +1 -1
  234. package/dist/store/branches.js +1 -1
  235. package/dist/store/branches.js.map +1 -1
  236. package/dist/store/git-host.d.ts +7 -7
  237. package/dist/store/git-host.d.ts.map +1 -1
  238. package/dist/store/git-host.js +1 -1
  239. package/dist/store/git-host.js.map +1 -1
  240. package/dist/store/provided.d.ts +3 -3
  241. package/dist/store/provided.d.ts.map +1 -1
  242. package/dist/store/provided.js +3 -3
  243. package/dist/store/provided.js.map +1 -1
  244. package/dist/store/queue.d.ts +8 -8
  245. package/dist/store/queue.d.ts.map +1 -1
  246. package/dist/store/queue.js +1 -1
  247. package/dist/store/queue.js.map +1 -1
  248. package/dist/store/repository.d.ts +2 -2
  249. package/dist/store/run-record.d.ts +10 -10
  250. package/dist/store/run-record.d.ts.map +1 -1
  251. package/dist/store/run-record.js +7 -7
  252. package/dist/store/run-record.js.map +1 -1
  253. package/dist/store/runs.d.ts +6 -6
  254. package/dist/store/runs.d.ts.map +1 -1
  255. package/dist/store/runs.js +2 -2
  256. package/dist/store/runs.js.map +1 -1
  257. package/dist/store/tickets.d.ts +7 -7
  258. package/dist/store/tickets.d.ts.map +1 -1
  259. package/dist/store/tickets.js +1 -1
  260. package/dist/store/tickets.js.map +1 -1
  261. package/dist/terminal.d.ts +3 -3
  262. package/dist/terminal.js +3 -3
  263. package/package.json +19 -19
  264. package/dist/agent-archive.d.ts +0 -35
  265. package/dist/agent-archive.d.ts.map +0 -1
  266. package/dist/agent-archive.js +0 -67
  267. package/dist/agent-archive.js.map +0 -1
  268. package/dist/agent-commit.d.ts +0 -140
  269. package/dist/agent-commit.d.ts.map +0 -1
  270. package/dist/agent-commit.js +0 -254
  271. package/dist/agent-commit.js.map +0 -1
  272. package/dist/agent-driver.d.ts +0 -28
  273. package/dist/agent-driver.d.ts.map +0 -1
  274. package/dist/agent-driver.js +0 -18
  275. package/dist/agent-driver.js.map +0 -1
  276. package/dist/agent-location.d.ts +0 -11
  277. package/dist/agent-location.d.ts.map +0 -1
  278. package/dist/agent-location.js +0 -10
  279. package/dist/agent-location.js.map +0 -1
  280. package/dist/agent-messages.d.ts +0 -55
  281. package/dist/agent-messages.d.ts.map +0 -1
  282. package/dist/agent-messages.js +0 -73
  283. package/dist/agent-messages.js.map +0 -1
  284. package/dist/agent-names.d.ts +0 -24
  285. package/dist/agent-names.d.ts.map +0 -1
  286. package/dist/agent-names.js +0 -33
  287. package/dist/agent-names.js.map +0 -1
  288. package/dist/agent-options.d.ts +0 -45
  289. package/dist/agent-options.d.ts.map +0 -1
  290. package/dist/agent-options.js +0 -83
  291. package/dist/agent-options.js.map +0 -1
  292. package/dist/agent-spec.d.ts +0 -56
  293. package/dist/agent-spec.d.ts.map +0 -1
  294. package/dist/agent-spec.js +0 -56
  295. package/dist/agent-spec.js.map +0 -1
  296. package/dist/agent-telemetry.d.ts +0 -88
  297. package/dist/agent-telemetry.d.ts.map +0 -1
  298. package/dist/agent-telemetry.js +0 -97
  299. package/dist/agent-telemetry.js.map +0 -1
  300. package/dist/agent.d.ts +0 -113
  301. package/dist/agent.d.ts.map +0 -1
  302. package/dist/agent.js +0 -168
  303. package/dist/agent.js.map +0 -1
  304. package/dist/archived-agent-patch.d.ts +0 -14
  305. package/dist/archived-agent-patch.d.ts.map +0 -1
  306. package/dist/archived-agent-patch.js +0 -22
  307. package/dist/archived-agent-patch.js.map +0 -1
  308. package/dist/auto-pm.d.ts +0 -538
  309. package/dist/auto-pm.d.ts.map +0 -1
  310. package/dist/auto-pm.js +0 -707
  311. package/dist/auto-pm.js.map +0 -1
  312. package/dist/await-gate.d.ts +0 -184
  313. package/dist/await-gate.d.ts.map +0 -1
  314. package/dist/await-gate.js +0 -252
  315. package/dist/await-gate.js.map +0 -1
  316. package/dist/branch-links-pass.d.ts +0 -15
  317. package/dist/branch-links-pass.d.ts.map +0 -1
  318. package/dist/branch-links-pass.js +0 -13
  319. package/dist/branch-links-pass.js.map +0 -1
  320. package/dist/branch-links.d.ts +0 -53
  321. package/dist/branch-links.d.ts.map +0 -1
  322. package/dist/branch-links.js +0 -94
  323. package/dist/branch-links.js.map +0 -1
  324. package/dist/branch-names.d.ts +0 -57
  325. package/dist/branch-names.d.ts.map +0 -1
  326. package/dist/branch-names.js +0 -72
  327. package/dist/branch-names.js.map +0 -1
  328. package/dist/ci-watch.d.ts +0 -123
  329. package/dist/ci-watch.d.ts.map +0 -1
  330. package/dist/ci-watch.js +0 -228
  331. package/dist/ci-watch.js.map +0 -1
  332. package/dist/claude-trust.d.ts +0 -16
  333. package/dist/claude-trust.d.ts.map +0 -1
  334. package/dist/claude-trust.js +0 -72
  335. package/dist/claude-trust.js.map +0 -1
  336. package/dist/cli-exec.d.ts +0 -36
  337. package/dist/cli-exec.d.ts.map +0 -1
  338. package/dist/cli-exec.js +0 -44
  339. package/dist/cli-exec.js.map +0 -1
  340. package/dist/closing-keywords.d.ts +0 -28
  341. package/dist/closing-keywords.d.ts.map +0 -1
  342. package/dist/closing-keywords.js +0 -49
  343. package/dist/closing-keywords.js.map +0 -1
  344. package/dist/config-layers.d.ts +0 -62
  345. package/dist/config-layers.d.ts.map +0 -1
  346. package/dist/config-layers.js +0 -70
  347. package/dist/config-layers.js.map +0 -1
  348. package/dist/config.d.ts +0 -54
  349. package/dist/config.d.ts.map +0 -1
  350. package/dist/config.js +0 -78
  351. package/dist/config.js.map +0 -1
  352. package/dist/consumption-guard.d.ts +0 -53
  353. package/dist/consumption-guard.d.ts.map +0 -1
  354. package/dist/consumption-guard.js +0 -69
  355. package/dist/consumption-guard.js.map +0 -1
  356. package/dist/control.d.ts +0 -75
  357. package/dist/control.d.ts.map +0 -1
  358. package/dist/control.js +0 -68
  359. package/dist/control.js.map +0 -1
  360. package/dist/conversation-commit.d.ts +0 -166
  361. package/dist/conversation-commit.d.ts.map +0 -1
  362. package/dist/conversation-commit.js +0 -309
  363. package/dist/conversation-commit.js.map +0 -1
  364. package/dist/conversations.d.ts +0 -93
  365. package/dist/conversations.d.ts.map +0 -1
  366. package/dist/conversations.js +0 -176
  367. package/dist/conversations.js.map +0 -1
  368. package/dist/daemon-writes.d.ts +0 -33
  369. package/dist/daemon-writes.d.ts.map +0 -1
  370. package/dist/daemon-writes.js +0 -45
  371. package/dist/daemon-writes.js.map +0 -1
  372. package/dist/dashboard/agent-tree.d.ts +0 -106
  373. package/dist/dashboard/agent-tree.d.ts.map +0 -1
  374. package/dist/dashboard/agent-tree.js +0 -180
  375. package/dist/dashboard/agent-tree.js.map +0 -1
  376. package/dist/dashboard/browser-proxy.d.ts +0 -41
  377. package/dist/dashboard/browser-proxy.d.ts.map +0 -1
  378. package/dist/dashboard/browser-proxy.js +0 -96
  379. package/dist/dashboard/browser-proxy.js.map +0 -1
  380. package/dist/dashboard/discord-webhook.d.ts +0 -17
  381. package/dist/dashboard/discord-webhook.d.ts.map +0 -1
  382. package/dist/dashboard/discord-webhook.js +0 -36
  383. package/dist/dashboard/discord-webhook.js.map +0 -1
  384. package/dist/dashboard/file-diff.d.ts +0 -67
  385. package/dist/dashboard/file-diff.d.ts.map +0 -1
  386. package/dist/dashboard/file-diff.js +0 -132
  387. package/dist/dashboard/file-diff.js.map +0 -1
  388. package/dist/dashboard/file-read.d.ts +0 -42
  389. package/dist/dashboard/file-read.d.ts.map +0 -1
  390. package/dist/dashboard/file-read.js +0 -69
  391. package/dist/dashboard/file-read.js.map +0 -1
  392. package/dist/dashboard/file-status.d.ts +0 -21
  393. package/dist/dashboard/file-status.d.ts.map +0 -1
  394. package/dist/dashboard/file-status.js +0 -37
  395. package/dist/dashboard/file-status.js.map +0 -1
  396. package/dist/dashboard/gh.d.ts +0 -131
  397. package/dist/dashboard/gh.d.ts.map +0 -1
  398. package/dist/dashboard/gh.js +0 -150
  399. package/dist/dashboard/gh.js.map +0 -1
  400. package/dist/dashboard/github.d.ts +0 -11
  401. package/dist/dashboard/github.d.ts.map +0 -1
  402. package/dist/dashboard/github.js +0 -33
  403. package/dist/dashboard/github.js.map +0 -1
  404. package/dist/dashboard/run-handoff.d.ts +0 -311
  405. package/dist/dashboard/run-handoff.d.ts.map +0 -1
  406. package/dist/dashboard/run-handoff.js +0 -485
  407. package/dist/dashboard/run-handoff.js.map +0 -1
  408. package/dist/dashboard/scheduler-state.d.ts +0 -73
  409. package/dist/dashboard/scheduler-state.d.ts.map +0 -1
  410. package/dist/dashboard/scheduler-state.js +0 -120
  411. package/dist/dashboard/scheduler-state.js.map +0 -1
  412. package/dist/dashboard/subagent-settings.d.ts +0 -26
  413. package/dist/dashboard/subagent-settings.d.ts.map +0 -1
  414. package/dist/dashboard/subagent-settings.js +0 -52
  415. package/dist/dashboard/subagent-settings.js.map +0 -1
  416. package/dist/dashboard/telefunc-serve.d.ts +0 -118
  417. package/dist/dashboard/telefunc-serve.d.ts.map +0 -1
  418. package/dist/dashboard/telefunc-serve.js +0 -108
  419. package/dist/dashboard/telefunc-serve.js.map +0 -1
  420. package/dist/dashboard/tickets.d.ts +0 -29
  421. package/dist/dashboard/tickets.d.ts.map +0 -1
  422. package/dist/dashboard/tickets.js +0 -38
  423. package/dist/dashboard/tickets.js.map +0 -1
  424. package/dist/dashboard/widget-serve.d.ts +0 -15
  425. package/dist/dashboard/widget-serve.d.ts.map +0 -1
  426. package/dist/dashboard/widget-serve.js +0 -45
  427. package/dist/dashboard/widget-serve.js.map +0 -1
  428. package/dist/dashboard-bundle/assets/main-B3HghPQy.css +0 -2
  429. package/dist/dashboard-client/assets/chunks/chunk-BF9pJudf.js +0 -4
  430. package/dist/dashboard-client/assets/entries/entry-client-routing.CT1e9F0o.js +0 -1
  431. package/dist/dashboard-client/assets/entries/pages_index.CkW5JQ8X.js +0 -428
  432. package/dist/dashboard-client/assets/static/layouts_tailwind-00e65532.8OjKGAbA.css +0 -2
  433. package/dist/dashboard-client/index.html +0 -27
  434. package/dist/dashboard-client/index.pageContext.json +0 -1
  435. package/dist/dashboard-client/logo-animated.svg +0 -34
  436. package/dist/dashboard-client/logo.svg +0 -16
  437. package/dist/dashboard-rpc/control.telefunc.d.ts +0 -176
  438. package/dist/dashboard-rpc/control.telefunc.d.ts.map +0 -1
  439. package/dist/dashboard-rpc/control.telefunc.js +0 -373
  440. package/dist/dashboard-rpc/control.telefunc.js.map +0 -1
  441. package/dist/dashboard-rpc/devices.telefunc.d.ts +0 -9
  442. package/dist/dashboard-rpc/devices.telefunc.d.ts.map +0 -1
  443. package/dist/dashboard-rpc/devices.telefunc.js +0 -12
  444. package/dist/dashboard-rpc/devices.telefunc.js.map +0 -1
  445. package/dist/dashboard-rpc/events.telefunc.d.ts +0 -36
  446. package/dist/dashboard-rpc/events.telefunc.d.ts.map +0 -1
  447. package/dist/dashboard-rpc/events.telefunc.js +0 -70
  448. package/dist/dashboard-rpc/events.telefunc.js.map +0 -1
  449. package/dist/dashboard-rpc/preferences.telefunc.d.ts +0 -97
  450. package/dist/dashboard-rpc/preferences.telefunc.d.ts.map +0 -1
  451. package/dist/dashboard-rpc/preferences.telefunc.js +0 -157
  452. package/dist/dashboard-rpc/preferences.telefunc.js.map +0 -1
  453. package/dist/dashboard-rpc/projects.telefunc.d.ts +0 -56
  454. package/dist/dashboard-rpc/projects.telefunc.d.ts.map +0 -1
  455. package/dist/dashboard-rpc/projects.telefunc.js +0 -96
  456. package/dist/dashboard-rpc/projects.telefunc.js.map +0 -1
  457. package/dist/dashboard-rpc/quota.telefunc.d.ts +0 -40
  458. package/dist/dashboard-rpc/quota.telefunc.d.ts.map +0 -1
  459. package/dist/dashboard-rpc/quota.telefunc.js +0 -84
  460. package/dist/dashboard-rpc/quota.telefunc.js.map +0 -1
  461. package/dist/dashboard-rpc/reads.telefunc.d.ts +0 -197
  462. package/dist/dashboard-rpc/reads.telefunc.d.ts.map +0 -1
  463. package/dist/dashboard-rpc/reads.telefunc.js +0 -403
  464. package/dist/dashboard-rpc/reads.telefunc.js.map +0 -1
  465. package/dist/dashboard-rpc/register.d.ts +0 -18
  466. package/dist/dashboard-rpc/register.d.ts.map +0 -1
  467. package/dist/dashboard-rpc/register.js +0 -66
  468. package/dist/dashboard-rpc/register.js.map +0 -1
  469. package/dist/dashboard-rpc/relay-run.d.ts +0 -9
  470. package/dist/dashboard-rpc/relay-run.d.ts.map +0 -1
  471. package/dist/dashboard-rpc/relay-run.js +0 -21
  472. package/dist/dashboard-rpc/relay-run.js.map +0 -1
  473. package/dist/dashboard-rpc/stream-channel.d.ts +0 -23
  474. package/dist/dashboard-rpc/stream-channel.d.ts.map +0 -1
  475. package/dist/dashboard-rpc/stream-channel.js +0 -52
  476. package/dist/dashboard-rpc/stream-channel.js.map +0 -1
  477. package/dist/dashboard-rpc/subagents.d.ts +0 -12
  478. package/dist/dashboard-rpc/subagents.d.ts.map +0 -1
  479. package/dist/dashboard-rpc/subagents.js +0 -13
  480. package/dist/dashboard-rpc/subagents.js.map +0 -1
  481. package/dist/dashboard-rpc/widgets.d.ts +0 -33
  482. package/dist/dashboard-rpc/widgets.d.ts.map +0 -1
  483. package/dist/dashboard-rpc/widgets.js +0 -54
  484. package/dist/dashboard-rpc/widgets.js.map +0 -1
  485. package/dist/data-branch.d.ts +0 -120
  486. package/dist/data-branch.d.ts.map +0 -1
  487. package/dist/data-branch.js +0 -319
  488. package/dist/data-branch.js.map +0 -1
  489. package/dist/discord/bot.d.ts +0 -61
  490. package/dist/discord/bot.d.ts.map +0 -1
  491. package/dist/discord/bot.js +0 -94
  492. package/dist/discord/bot.js.map +0 -1
  493. package/dist/discord/gateway.d.ts +0 -137
  494. package/dist/discord/gateway.d.ts.map +0 -1
  495. package/dist/discord/gateway.js +0 -315
  496. package/dist/discord/gateway.js.map +0 -1
  497. package/dist/discord/live-run.d.ts +0 -31
  498. package/dist/discord/live-run.d.ts.map +0 -1
  499. package/dist/discord/live-run.js +0 -57
  500. package/dist/discord/live-run.js.map +0 -1
  501. package/dist/discord/reply-mirror.d.ts +0 -83
  502. package/dist/discord/reply-mirror.d.ts.map +0 -1
  503. package/dist/discord/reply-mirror.js +0 -84
  504. package/dist/discord/reply-mirror.js.map +0 -1
  505. package/dist/discord/rest.d.ts +0 -20
  506. package/dist/discord/rest.d.ts.map +0 -1
  507. package/dist/discord/rest.js +0 -41
  508. package/dist/discord/rest.js.map +0 -1
  509. package/dist/discord/routing.d.ts +0 -81
  510. package/dist/discord/routing.d.ts.map +0 -1
  511. package/dist/discord/routing.js +0 -91
  512. package/dist/discord/routing.js.map +0 -1
  513. package/dist/discord-credentials-store.d.ts +0 -14
  514. package/dist/discord-credentials-store.d.ts.map +0 -1
  515. package/dist/discord-credentials-store.js +0 -53
  516. package/dist/discord-credentials-store.js.map +0 -1
  517. package/dist/discord-credentials.d.ts +0 -80
  518. package/dist/discord-credentials.d.ts.map +0 -1
  519. package/dist/discord-credentials.js +0 -55
  520. package/dist/discord-credentials.js.map +0 -1
  521. package/dist/driver/actions-zip.d.ts +0 -2
  522. package/dist/driver/actions-zip.d.ts.map +0 -1
  523. package/dist/driver/actions-zip.js +0 -70
  524. package/dist/driver/actions-zip.js.map +0 -1
  525. package/dist/driver/actions.d.ts +0 -130
  526. package/dist/driver/actions.d.ts.map +0 -1
  527. package/dist/driver/actions.js +0 -261
  528. package/dist/driver/actions.js.map +0 -1
  529. package/dist/driver/agent-cli.d.ts +0 -57
  530. package/dist/driver/agent-cli.d.ts.map +0 -1
  531. package/dist/driver/agent-cli.js +0 -134
  532. package/dist/driver/agent-cli.js.map +0 -1
  533. package/dist/driver/child-registry.d.ts +0 -25
  534. package/dist/driver/child-registry.d.ts.map +0 -1
  535. package/dist/driver/child-registry.js +0 -53
  536. package/dist/driver/child-registry.js.map +0 -1
  537. package/dist/driver/claude-code-quota.d.ts +0 -40
  538. package/dist/driver/claude-code-quota.d.ts.map +0 -1
  539. package/dist/driver/claude-code-quota.js +0 -144
  540. package/dist/driver/claude-code-quota.js.map +0 -1
  541. package/dist/driver/claude-code.d.ts +0 -104
  542. package/dist/driver/claude-code.d.ts.map +0 -1
  543. package/dist/driver/claude-code.js +0 -314
  544. package/dist/driver/claude-code.js.map +0 -1
  545. package/dist/driver/cli-session.d.ts +0 -57
  546. package/dist/driver/cli-session.d.ts.map +0 -1
  547. package/dist/driver/cli-session.js +0 -134
  548. package/dist/driver/cli-session.js.map +0 -1
  549. package/dist/driver/cloud.d.ts +0 -109
  550. package/dist/driver/cloud.d.ts.map +0 -1
  551. package/dist/driver/cloud.js +0 -232
  552. package/dist/driver/cloud.js.map +0 -1
  553. package/dist/driver/codex.d.ts +0 -99
  554. package/dist/driver/codex.d.ts.map +0 -1
  555. package/dist/driver/codex.js +0 -190
  556. package/dist/driver/codex.js.map +0 -1
  557. package/dist/driver/fake.d.ts +0 -54
  558. package/dist/driver/fake.d.ts.map +0 -1
  559. package/dist/driver/fake.js +0 -73
  560. package/dist/driver/fake.js.map +0 -1
  561. package/dist/driver/index.d.ts +0 -10
  562. package/dist/driver/index.d.ts.map +0 -1
  563. package/dist/driver/index.js +0 -14
  564. package/dist/driver/index.js.map +0 -1
  565. package/dist/driver/session-support.d.ts +0 -14
  566. package/dist/driver/session-support.d.ts.map +0 -1
  567. package/dist/driver/session-support.js +0 -37
  568. package/dist/driver/session-support.js.map +0 -1
  569. package/dist/driver/types.d.ts +0 -310
  570. package/dist/driver/types.d.ts.map +0 -1
  571. package/dist/driver/types.js +0 -5
  572. package/dist/driver/types.js.map +0 -1
  573. package/dist/driver-cli.d.ts +0 -61
  574. package/dist/driver-cli.d.ts.map +0 -1
  575. package/dist/driver-cli.js +0 -66
  576. package/dist/driver-cli.js.map +0 -1
  577. package/dist/fake-script.d.ts +0 -15
  578. package/dist/fake-script.d.ts.map +0 -1
  579. package/dist/fake-script.js +0 -58
  580. package/dist/fake-script.js.map +0 -1
  581. package/dist/framework-dir.d.ts.map +0 -1
  582. package/dist/framework-dir.js.map +0 -1
  583. package/dist/framework-gitignore.d.ts +0 -12
  584. package/dist/framework-gitignore.d.ts.map +0 -1
  585. package/dist/framework-gitignore.js +0 -19
  586. package/dist/framework-gitignore.js.map +0 -1
  587. package/dist/gate-keepalive.d.ts +0 -47
  588. package/dist/gate-keepalive.d.ts.map +0 -1
  589. package/dist/gate-keepalive.js +0 -62
  590. package/dist/gate-keepalive.js.map +0 -1
  591. package/dist/git-exclude.d.ts +0 -11
  592. package/dist/git-exclude.d.ts.map +0 -1
  593. package/dist/git-exclude.js +0 -23
  594. package/dist/git-exclude.js.map +0 -1
  595. package/dist/handoff-level.d.ts +0 -56
  596. package/dist/handoff-level.d.ts.map +0 -1
  597. package/dist/handoff-level.js +0 -62
  598. package/dist/handoff-level.js.map +0 -1
  599. package/dist/host-exec.d.ts +0 -21
  600. package/dist/host-exec.d.ts.map +0 -1
  601. package/dist/host-exec.js +0 -30
  602. package/dist/host-exec.js.map +0 -1
  603. package/dist/layout.d.ts +0 -41
  604. package/dist/layout.d.ts.map +0 -1
  605. package/dist/layout.js +0 -69
  606. package/dist/layout.js.map +0 -1
  607. package/dist/logs.d.ts +0 -73
  608. package/dist/logs.d.ts.map +0 -1
  609. package/dist/logs.js +0 -218
  610. package/dist/logs.js.map +0 -1
  611. package/dist/maintenance.d.ts +0 -90
  612. package/dist/maintenance.d.ts.map +0 -1
  613. package/dist/maintenance.js +0 -141
  614. package/dist/maintenance.js.map +0 -1
  615. package/dist/merged-worktrees.d.ts +0 -74
  616. package/dist/merged-worktrees.d.ts.map +0 -1
  617. package/dist/merged-worktrees.js +0 -84
  618. package/dist/merged-worktrees.js.map +0 -1
  619. package/dist/module-types/src/dashboard/agent-tree.d.ts +0 -105
  620. package/dist/module-types/src/dashboard/file-diff.d.ts +0 -66
  621. package/dist/module-types/src/dashboard/file-read.d.ts +0 -41
  622. package/dist/module-types/src/dashboard/file-status.d.ts +0 -20
  623. package/dist/module-types/src/dashboard/scheduler-state.d.ts +0 -72
  624. package/dist/module-types/src/dashboard/subagent-settings.d.ts +0 -25
  625. package/dist/module-types/src/dashboard-rpc/subagents.d.ts +0 -11
  626. package/dist/module-types/src/framework-gitignore.d.ts +0 -11
  627. package/dist/module-types/src/subagent-settings.d.ts +0 -26
  628. package/dist/on-before-mergeable-prompt.d.ts +0 -32
  629. package/dist/on-before-mergeable-prompt.d.ts.map +0 -1
  630. package/dist/on-before-mergeable-prompt.js +0 -26
  631. package/dist/on-before-mergeable-prompt.js.map +0 -1
  632. package/dist/planned-quick-wins.d.ts +0 -102
  633. package/dist/planned-quick-wins.d.ts.map +0 -1
  634. package/dist/planned-quick-wins.js +0 -171
  635. package/dist/planned-quick-wins.js.map +0 -1
  636. package/dist/preflight.d.ts +0 -77
  637. package/dist/preflight.d.ts.map +0 -1
  638. package/dist/preflight.js +0 -91
  639. package/dist/preflight.js.map +0 -1
  640. package/dist/preset-catalog.d.ts +0 -98
  641. package/dist/preset-catalog.d.ts.map +0 -1
  642. package/dist/preset-catalog.js +0 -129
  643. package/dist/preset-catalog.js.map +0 -1
  644. package/dist/preset-prompt.d.ts +0 -81
  645. package/dist/preset-prompt.d.ts.map +0 -1
  646. package/dist/preset-prompt.js +0 -51
  647. package/dist/preset-prompt.js.map +0 -1
  648. package/dist/preset-registry.d.ts +0 -32
  649. package/dist/preset-registry.d.ts.map +0 -1
  650. package/dist/preset-registry.js +0 -35
  651. package/dist/preset-registry.js.map +0 -1
  652. package/dist/presets.d.ts +0 -20
  653. package/dist/presets.d.ts.map +0 -1
  654. package/dist/presets.js +0 -33
  655. package/dist/presets.js.map +0 -1
  656. package/dist/preview-runtime.d.ts +0 -33
  657. package/dist/preview-runtime.d.ts.map +0 -1
  658. package/dist/preview-runtime.js +0 -96
  659. package/dist/preview-runtime.js.map +0 -1
  660. package/dist/preview.d.ts +0 -78
  661. package/dist/preview.d.ts.map +0 -1
  662. package/dist/preview.js +0 -301
  663. package/dist/preview.js.map +0 -1
  664. package/dist/project-widgets.d.ts +0 -46
  665. package/dist/project-widgets.d.ts.map +0 -1
  666. package/dist/project-widgets.js +0 -93
  667. package/dist/project-widgets.js.map +0 -1
  668. package/dist/prompt-run.d.ts +0 -104
  669. package/dist/prompt-run.d.ts.map +0 -1
  670. package/dist/prompt-run.js +0 -112
  671. package/dist/prompt-run.js.map +0 -1
  672. package/dist/prompt-template.d.ts +0 -16
  673. package/dist/prompt-template.d.ts.map +0 -1
  674. package/dist/prompt-template.js +0 -56
  675. package/dist/prompt-template.js.map +0 -1
  676. package/dist/prompts.generated.d.ts +0 -53
  677. package/dist/prompts.generated.d.ts.map +0 -1
  678. package/dist/prompts.generated.js +0 -55
  679. package/dist/prompts.generated.js.map +0 -1
  680. package/dist/queue-promote.d.ts +0 -70
  681. package/dist/queue-promote.d.ts.map +0 -1
  682. package/dist/queue-promote.js +0 -118
  683. package/dist/queue-promote.js.map +0 -1
  684. package/dist/relay.d.ts +0 -84
  685. package/dist/relay.d.ts.map +0 -1
  686. package/dist/relay.js +0 -199
  687. package/dist/relay.js.map +0 -1
  688. package/dist/repos-directory.d.ts +0 -19
  689. package/dist/repos-directory.d.ts.map +0 -1
  690. package/dist/repos-directory.js +0 -23
  691. package/dist/repos-directory.js.map +0 -1
  692. package/dist/retired-project-settings.d.ts +0 -43
  693. package/dist/retired-project-settings.d.ts.map +0 -1
  694. package/dist/retired-project-settings.js +0 -125
  695. package/dist/retired-project-settings.js.map +0 -1
  696. package/dist/routine-locks.d.ts +0 -53
  697. package/dist/routine-locks.d.ts.map +0 -1
  698. package/dist/routine-locks.js +0 -125
  699. package/dist/routine-locks.js.map +0 -1
  700. package/dist/run-driver.d.ts +0 -26
  701. package/dist/run-driver.d.ts.map +0 -1
  702. package/dist/run-driver.js +0 -17
  703. package/dist/run-driver.js.map +0 -1
  704. package/dist/run-locks.d.ts +0 -3
  705. package/dist/run-locks.d.ts.map +0 -1
  706. package/dist/run-locks.js +0 -39
  707. package/dist/run-locks.js.map +0 -1
  708. package/dist/run-messages.d.ts +0 -64
  709. package/dist/run-messages.d.ts.map +0 -1
  710. package/dist/run-messages.js +0 -76
  711. package/dist/run-messages.js.map +0 -1
  712. package/dist/run-options.d.ts +0 -53
  713. package/dist/run-options.d.ts.map +0 -1
  714. package/dist/run-options.js +0 -110
  715. package/dist/run-options.js.map +0 -1
  716. package/dist/run-telemetry.d.ts +0 -115
  717. package/dist/run-telemetry.d.ts.map +0 -1
  718. package/dist/run-telemetry.js +0 -137
  719. package/dist/run-telemetry.js.map +0 -1
  720. package/dist/run-view.d.ts +0 -109
  721. package/dist/run-view.d.ts.map +0 -1
  722. package/dist/run-view.js +0 -118
  723. package/dist/run-view.js.map +0 -1
  724. package/dist/run.d.ts +0 -261
  725. package/dist/run.d.ts.map +0 -1
  726. package/dist/run.js +0 -420
  727. package/dist/run.js.map +0 -1
  728. package/dist/runtime-keys.d.ts +0 -17
  729. package/dist/runtime-keys.d.ts.map +0 -1
  730. package/dist/runtime-keys.js +0 -17
  731. package/dist/runtime-keys.js.map +0 -1
  732. package/dist/sandbox.d.ts +0 -27
  733. package/dist/sandbox.d.ts.map +0 -1
  734. package/dist/sandbox.js +0 -63
  735. package/dist/sandbox.js.map +0 -1
  736. package/dist/session-link.d.ts +0 -19
  737. package/dist/session-link.d.ts.map +0 -1
  738. package/dist/session-link.js +0 -26
  739. package/dist/session-link.js.map +0 -1
  740. package/dist/sessions.d.ts +0 -77
  741. package/dist/sessions.d.ts.map +0 -1
  742. package/dist/sessions.js +0 -146
  743. package/dist/sessions.js.map +0 -1
  744. package/dist/spike-locks.d.ts +0 -75
  745. package/dist/spike-locks.d.ts.map +0 -1
  746. package/dist/spike-locks.js +0 -208
  747. package/dist/spike-locks.js.map +0 -1
  748. package/dist/stale-branch.d.ts +0 -21
  749. package/dist/stale-branch.d.ts.map +0 -1
  750. package/dist/stale-branch.js +0 -32
  751. package/dist/stale-branch.js.map +0 -1
  752. package/dist/steps.d.ts +0 -9
  753. package/dist/steps.d.ts.map +0 -1
  754. package/dist/steps.js +0 -13
  755. package/dist/steps.js.map +0 -1
  756. package/dist/store/forge.d.ts +0 -110
  757. package/dist/store/forge.d.ts.map +0 -1
  758. package/dist/store/forge.js +0 -97
  759. package/dist/store/forge.js.map +0 -1
  760. package/dist/store/run-checkout.d.ts +0 -33
  761. package/dist/store/run-checkout.d.ts.map +0 -1
  762. package/dist/store/run-checkout.js +0 -59
  763. package/dist/store/run-checkout.js.map +0 -1
  764. package/dist/store/run-store.d.ts +0 -501
  765. package/dist/store/run-store.d.ts.map +0 -1
  766. package/dist/store/run-store.js +0 -806
  767. package/dist/store/run-store.js.map +0 -1
  768. package/dist/store/suspend.d.ts +0 -38
  769. package/dist/store/suspend.d.ts.map +0 -1
  770. package/dist/store/suspend.js +0 -45
  771. package/dist/store/suspend.js.map +0 -1
  772. package/dist/store/worktree-deps.d.ts +0 -30
  773. package/dist/store/worktree-deps.d.ts.map +0 -1
  774. package/dist/store/worktree-deps.js +0 -115
  775. package/dist/store/worktree-deps.js.map +0 -1
  776. package/dist/store/worktree.d.ts +0 -194
  777. package/dist/store/worktree.d.ts.map +0 -1
  778. package/dist/store/worktree.js +0 -331
  779. package/dist/store/worktree.js.map +0 -1
  780. package/dist/subagent-settings.d.ts +0 -27
  781. package/dist/subagent-settings.d.ts.map +0 -1
  782. package/dist/subagent-settings.js +0 -35
  783. package/dist/subagent-settings.js.map +0 -1
  784. package/dist/system-prompt-file.d.ts +0 -18
  785. package/dist/system-prompt-file.d.ts.map +0 -1
  786. package/dist/system-prompt-file.js +0 -28
  787. package/dist/system-prompt-file.js.map +0 -1
  788. package/dist/system-prompt.d.ts +0 -148
  789. package/dist/system-prompt.d.ts.map +0 -1
  790. package/dist/system-prompt.js +0 -170
  791. package/dist/system-prompt.js.map +0 -1
  792. package/dist/target-driver.d.ts +0 -28
  793. package/dist/target-driver.d.ts.map +0 -1
  794. package/dist/target-driver.js +0 -18
  795. package/dist/target-driver.js.map +0 -1
  796. package/dist/ticket-locks.d.ts +0 -61
  797. package/dist/ticket-locks.d.ts.map +0 -1
  798. package/dist/ticket-locks.js +0 -137
  799. package/dist/ticket-locks.js.map +0 -1
  800. package/dist/tickets-file.d.ts +0 -7
  801. package/dist/tickets-file.d.ts.map +0 -1
  802. package/dist/tickets-file.js +0 -21
  803. package/dist/tickets-file.js.map +0 -1
  804. package/dist/tickets.d.ts +0 -18
  805. package/dist/tickets.d.ts.map +0 -1
  806. package/dist/tickets.js +0 -23
  807. package/dist/tickets.js.map +0 -1
  808. package/dist/todo-loop.d.ts +0 -110
  809. package/dist/todo-loop.d.ts.map +0 -1
  810. package/dist/todo-loop.js +0 -175
  811. package/dist/todo-loop.js.map +0 -1
  812. package/dist/turn-gate.d.ts +0 -144
  813. package/dist/turn-gate.d.ts.map +0 -1
  814. package/dist/turn-gate.js +0 -217
  815. package/dist/turn-gate.js.map +0 -1
  816. package/dist/usage.d.ts +0 -32
  817. package/dist/usage.d.ts.map +0 -1
  818. package/dist/usage.js +0 -46
  819. package/dist/usage.js.map +0 -1
  820. package/dist/widget-types/dashboard/components/LinkActions.d.ts +0 -26
  821. package/dist/widget-types/dashboard/components/Markdown.d.ts +0 -4
  822. package/dist/widget-types/dashboard/components/StartAgentButton.d.ts +0 -39
  823. package/dist/widget-types/dashboard/components/ui/badge.d.ts +0 -2
  824. package/dist/widget-types/dashboard/components/ui/button.d.ts +0 -10
  825. package/dist/widget-types/dashboard/components/ui/card.d.ts +0 -5
  826. package/dist/widget-types/dashboard/components/ui/checkbox.d.ts +0 -7
  827. package/dist/widget-types/dashboard/components/ui/dropdown-menu.d.ts +0 -16
  828. package/dist/widget-types/dashboard/components/ui/input.d.ts +0 -2
  829. package/dist/widget-types/dashboard/components/ui/option-label.d.ts +0 -4
  830. package/dist/widget-types/dashboard/components/ui/popover.d.ts +0 -8
  831. package/dist/widget-types/dashboard/components/ui/scroll-area.d.ts +0 -10
  832. package/dist/widget-types/dashboard/components/ui/separator.d.ts +0 -3
  833. package/dist/widget-types/dashboard/components/ui/skeleton.d.ts +0 -2
  834. package/dist/widget-types/dashboard/components/ui/slider.d.ts +0 -9
  835. package/dist/widget-types/dashboard/components/ui/tooltip.d.ts +0 -11
  836. package/dist/widget-types/dashboard/lib/draft-handoff.d.ts +0 -15
  837. package/dist/widget-types/dashboard/lib/format-date.d.ts +0 -51
  838. package/dist/widget-types/dashboard/lib/host-services.d.ts +0 -12
  839. package/dist/widget-types/dashboard/lib/route.d.ts +0 -24
  840. package/dist/widget-types/dashboard/lib/rpc.d.ts +0 -31
  841. package/dist/widget-types/dashboard/lib/use-action.d.ts +0 -25
  842. package/dist/widget-types/dashboard/lib/use-async.d.ts +0 -39
  843. package/dist/widget-types/dashboard/lib/use-widgets.d.ts +0 -42
  844. package/dist/widget-types/dashboard/lib/utils.d.ts +0 -3
  845. package/dist/widget-types/dashboard/rpc/widgets.d.ts +0 -4
  846. package/dist/widget-types/dashboard/widget/index.d.ts +0 -207
  847. package/dist/widget-types/src/agent-id.d.ts +0 -12
  848. package/dist/widget-types/src/agent-locks.d.ts +0 -2
  849. package/dist/widget-types/src/agent-view.d.ts +0 -38
  850. package/dist/widget-types/src/bridge-browser.d.ts +0 -216
  851. package/dist/widget-types/src/browser-stream.d.ts +0 -19
  852. package/dist/widget-types/src/browser.d.ts +0 -15
  853. package/dist/widget-types/src/cli-exec.d.ts +0 -35
  854. package/dist/widget-types/src/cloud-run-state.d.ts +0 -26
  855. package/dist/widget-types/src/dashboard/activity.d.ts +0 -40
  856. package/dist/widget-types/src/dashboard/agent-handoff.d.ts +0 -211
  857. package/dist/widget-types/src/dashboard/agent-tree.d.ts +0 -105
  858. package/dist/widget-types/src/dashboard/bridge-endpoints.d.ts +0 -157
  859. package/dist/widget-types/src/dashboard/bridge-question.d.ts +0 -32
  860. package/dist/widget-types/src/dashboard/bridge-store.d.ts +0 -178
  861. package/dist/widget-types/src/dashboard/cache.d.ts +0 -46
  862. package/dist/widget-types/src/dashboard/content-type.d.ts +0 -2
  863. package/dist/widget-types/src/dashboard/dashboard.d.ts +0 -37
  864. package/dist/widget-types/src/dashboard/discord-webhook.d.ts +0 -16
  865. package/dist/widget-types/src/dashboard/docs.d.ts +0 -38
  866. package/dist/widget-types/src/dashboard/file-diff.d.ts +0 -66
  867. package/dist/widget-types/src/dashboard/file-read.d.ts +0 -41
  868. package/dist/widget-types/src/dashboard/file-status.d.ts +0 -20
  869. package/dist/widget-types/src/dashboard/gh.d.ts +0 -130
  870. package/dist/widget-types/src/dashboard/git-status.d.ts +0 -32
  871. package/dist/widget-types/src/dashboard/github.d.ts +0 -10
  872. package/dist/widget-types/src/dashboard/http.d.ts +0 -28
  873. package/dist/widget-types/src/dashboard/interventions.d.ts +0 -66
  874. package/dist/widget-types/src/dashboard/keys.d.ts +0 -30
  875. package/dist/widget-types/src/dashboard/models.d.ts +0 -24
  876. package/dist/widget-types/src/dashboard/open-in-app.d.ts +0 -42
  877. package/dist/widget-types/src/dashboard/open-questions.d.ts +0 -52
  878. package/dist/widget-types/src/dashboard/overview.d.ts +0 -77
  879. package/dist/widget-types/src/dashboard/projects.d.ts +0 -89
  880. package/dist/widget-types/src/dashboard/pull-requests.d.ts +0 -126
  881. package/dist/widget-types/src/dashboard/queue.d.ts +0 -16
  882. package/dist/widget-types/src/dashboard/quota.d.ts +0 -59
  883. package/dist/widget-types/src/dashboard/remote-run.d.ts +0 -94
  884. package/dist/widget-types/src/dashboard/rpc-serve.d.ts +0 -102
  885. package/dist/widget-types/src/dashboard/run-inbox.d.ts +0 -30
  886. package/dist/widget-types/src/dashboard/scheduler-state.d.ts +0 -64
  887. package/dist/widget-types/src/dashboard/tickets.d.ts +0 -28
  888. package/dist/widget-types/src/dashboard/types.d.ts +0 -99
  889. package/dist/widget-types/src/dashboard/widget-serve.d.ts +0 -14
  890. package/dist/widget-types/src/dashboard-rpc/context.d.ts +0 -53
  891. package/dist/widget-types/src/dashboard-rpc/control.d.ts +0 -108
  892. package/dist/widget-types/src/dashboard-rpc/devices.d.ts +0 -8
  893. package/dist/widget-types/src/dashboard-rpc/events-tail.d.ts +0 -53
  894. package/dist/widget-types/src/dashboard-rpc/events.d.ts +0 -29
  895. package/dist/widget-types/src/dashboard-rpc/index.d.ts +0 -28
  896. package/dist/widget-types/src/dashboard-rpc/models.d.ts +0 -3
  897. package/dist/widget-types/src/dashboard-rpc/preferences.d.ts +0 -40
  898. package/dist/widget-types/src/dashboard-rpc/projects.d.ts +0 -54
  899. package/dist/widget-types/src/dashboard-rpc/quota.d.ts +0 -26
  900. package/dist/widget-types/src/dashboard-rpc/reads.d.ts +0 -227
  901. package/dist/widget-types/src/dashboard-rpc/relay-agent.d.ts +0 -8
  902. package/dist/widget-types/src/dashboard-rpc/stream-forward.d.ts +0 -16
  903. package/dist/widget-types/src/dashboard-rpc/widgets.d.ts +0 -32
  904. package/dist/widget-types/src/discord-credentials.d.ts +0 -79
  905. package/dist/widget-types/src/driver-names.d.ts +0 -21
  906. package/dist/widget-types/src/error-message.d.ts +0 -7
  907. package/dist/widget-types/src/event-stream.d.ts +0 -32
  908. package/dist/widget-types/src/events.d.ts +0 -235
  909. package/dist/widget-types/src/framework-dir.d.ts +0 -10
  910. package/dist/widget-types/src/framework-gitignore.d.ts +0 -11
  911. package/dist/widget-types/src/index.d.ts +0 -42
  912. package/dist/widget-types/src/jsonl-tail.d.ts +0 -54
  913. package/dist/widget-types/src/loopback-host.d.ts +0 -19
  914. package/dist/widget-types/src/node-fs.d.ts +0 -32
  915. package/dist/widget-types/src/open-choices.d.ts +0 -14
  916. package/dist/widget-types/src/pick-directory.d.ts +0 -29
  917. package/dist/widget-types/src/preference-defaults.d.ts +0 -53
  918. package/dist/widget-types/src/project-commands.d.ts +0 -23
  919. package/dist/widget-types/src/project-errors.d.ts +0 -43
  920. package/dist/widget-types/src/project-hooks.d.ts +0 -133
  921. package/dist/widget-types/src/project-presets.d.ts +0 -29
  922. package/dist/widget-types/src/project-widgets.d.ts +0 -45
  923. package/dist/widget-types/src/project.d.ts +0 -28
  924. package/dist/widget-types/src/quota-boundary.d.ts +0 -115
  925. package/dist/widget-types/src/quota-poller.d.ts +0 -82
  926. package/dist/widget-types/src/registry.d.ts +0 -210
  927. package/dist/widget-types/src/store/agent-checkout.d.ts +0 -46
  928. package/dist/widget-types/src/store/agent-store.d.ts +0 -237
  929. package/dist/widget-types/src/store/branches.d.ts +0 -133
  930. package/dist/widget-types/src/store/forge.d.ts +0 -109
  931. package/dist/widget-types/src/store/git-host.d.ts +0 -111
  932. package/dist/widget-types/src/store/index.d.ts +0 -9
  933. package/dist/widget-types/src/store/provided.d.ts +0 -16
  934. package/dist/widget-types/src/store/queue.d.ts +0 -45
  935. package/dist/widget-types/src/store/run-record.d.ts +0 -21
  936. package/dist/widget-types/src/store/runs.d.ts +0 -101
  937. package/dist/widget-types/src/store/tickets.d.ts +0 -72
  938. package/dist/widget-types/src/tickets.d.ts +0 -17
  939. package/dist/widget-types/src/worktrees.d.ts +0 -89
  940. package/dist/widget.css +0 -50
package/package.json CHANGED
@@ -1,26 +1,26 @@
1
1
  {
2
2
  "name": "@openagt/dashboard",
3
- "version": "0.8.0",
4
- "description": "The (AI) Framework: a local dashboard and daemon for coding agents. It starts an agent through the project's own start hook and shows every agent from the files it keeps; it runs no coding agent itself.",
3
+ "version": "0.9.0",
4
+ "description": "OpenAgent: a local dashboard and daemon for coding agents. It starts an agent through the project's own start hook and shows every agent from the files it keeps; it runs no coding agent itself.",
5
5
  "keywords": [
6
6
  "ai",
7
7
  "agent",
8
8
  "claude-code",
9
9
  "orchestration",
10
- "framework",
10
+ "openagent",
11
11
  "codegen",
12
12
  "cli",
13
13
  "turnkey"
14
14
  ],
15
15
  "license": "MIT",
16
- "homepage": "https://github.com/framework/the-framework/tree/main/packages/framework#readme",
16
+ "homepage": "https://github.com/openagt/openagent/tree/main/packages/openagent#readme",
17
17
  "bugs": {
18
- "url": "https://github.com/framework/the-framework/issues"
18
+ "url": "https://github.com/openagt/openagent/issues"
19
19
  },
20
20
  "repository": {
21
21
  "type": "git",
22
- "url": "git+https://github.com/framework/the-framework.git",
23
- "directory": "packages/framework"
22
+ "url": "git+https://github.com/openagt/openagent.git",
23
+ "directory": "packages/openagent"
24
24
  },
25
25
  "type": "module",
26
26
  "engines": {
@@ -59,15 +59,15 @@
59
59
  "tailwind-merge": "^2.6.0",
60
60
  "tiptap-markdown": "^0.8.10",
61
61
  "yaml": "^2.5.0",
62
- "@openagt/agent-driver-claude": "0.0.1",
63
- "@openagt/skill-branches": "0.0.1",
64
- "@openagt/skill-github": "0.0.1",
65
- "@openagt/skill-logs": "0.0.1",
66
- "@openagt/agent-driver-codex": "0.0.1",
67
- "@openagt/agent-data": "0.0.1",
68
- "@openagt/agent-driver": "0.0.1",
69
- "@openagt/files": "0.0.1",
70
- "@openagt/agent-runner": "0.0.1"
62
+ "@openagt/agent-driver-claude": "0.0.2",
63
+ "@openagt/agent-driver-codex": "0.0.2",
64
+ "@openagt/agent-data": "0.0.2",
65
+ "@openagt/files": "0.0.2",
66
+ "@openagt/skill-github": "0.0.2",
67
+ "@openagt/skill-logs": "0.0.2",
68
+ "@openagt/agent-driver": "0.0.2",
69
+ "@openagt/agent-runner": "0.0.2",
70
+ "@openagt/skill-branches": "0.0.2"
71
71
  },
72
72
  "devDependencies": {
73
73
  "@tailwindcss/vite": "^4.0.0",
@@ -83,8 +83,8 @@
83
83
  "typescript": "^7.0.2",
84
84
  "vite": "^8.0.0",
85
85
  "vitest": "^4.1.10",
86
- "@openagt/skill-queue": "0.0.1",
87
- "@openagt/skill-tickets": "0.0.1"
86
+ "@openagt/skill-queue": "0.0.2",
87
+ "@openagt/skill-tickets": "0.0.2"
88
88
  },
89
89
  "author": "Suleiman Shahbari",
90
90
  "publishConfig": {
@@ -95,7 +95,7 @@
95
95
  "preview": "node dist/bin.js",
96
96
  "dev": "tsc -p tsconfig.build.json --watch",
97
97
  "dev:dashboard": "cd dashboard && vite",
98
- "dev:daemon": "cd dashboard && FRAMEWORK_DEV_DAEMON=1 vite",
98
+ "dev:daemon": "cd dashboard && OPENAGENT_DEV_DAEMON=1 vite",
99
99
  "design:build": "tsx dashboard/design/build.mts",
100
100
  "typecheck": "tsc --noEmit && tsc --noEmit -p dashboard/tsconfig.json",
101
101
  "test": "pnpm test:node && pnpm test:dashboard",
@@ -1,35 +0,0 @@
1
- import { ARCHIVE_DIR } from './store/index.js';
2
- import { type GitRunner } from '@gemstack/agent-data';
3
- /**
4
- * Committed session history (#1179): where a project's finished agents are archived so they survive
5
- * the repo being cleaned.
6
- *
7
- * The bug this exists for: agent state was written to `.the-framework/agents/`, which the install-time
8
- * `.gitignore` keeps untracked, so `git clean -fdx` — an ordinary thing to do to a repo — deleted
9
- * every session a project had ever run. Nothing was recoverable, because nothing had ever been
10
- * committed. Since #1582 the lasting copy lives on the `agents-logs` branch (#1748), as `agents/<user>/`.
11
- *
12
- * Scoped per user rather than one shared directory. Two people working the same repo would
13
- * otherwise write the same paths from different machines and conflict on every merge; under their
14
- * own directory their histories simply sit side by side. The list being visible to the whole team
15
- * is the intended outcome, not a leak — see the issue.
16
- *
17
- * The identity is the git `user.email` already configured in the repo, so there is nothing new to
18
- * set up and the directory matches the name on the commits.
19
- */
20
- /** The directory, under a user's own directory, that holds their archived agents. */
21
- export { ARCHIVE_DIR };
22
- /** Where an agent's history goes when git has no identity configured. */
23
- export declare const ANONYMOUS_USER_DIR = "anonymous";
24
- /**
25
- * An email as a directory name: lowercased, with anything outside a conservative set replaced by
26
- * `-`. The result must start with a letter or digit, which is what rules out `.`, `..` and dotfile
27
- * names — this value comes from repo configuration and is joined onto a path, so a name that could
28
- * climb out of the directory is the one thing that must be impossible. Anything that cannot be made
29
- * to fit falls back to {@link ANONYMOUS_USER_DIR} rather than to a guess.
30
- */
31
- export declare function userDirName(email: string | undefined): string;
32
- export declare function resolveUserDir(cwd: string, git?: GitRunner): Promise<string>;
33
- /** Drop the {@link resolveUserDir} cache. For tests, and for a daemon that outlives a config change. */
34
- export declare function forgetUserDirs(): void;
35
- //# sourceMappingURL=agent-archive.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"agent-archive.d.ts","sourceRoot":"","sources":["../src/agent-archive.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAA;AAC9C,OAAO,EAAiB,KAAK,SAAS,EAAE,MAAM,sBAAsB,CAAA;AACpE;;;;;;;;;;;;;;;;GAgBG;AAEH,qFAAqF;AACrF,OAAO,EAAE,WAAW,EAAE,CAAA;AAEtB,yEAAyE;AACzE,eAAO,MAAM,kBAAkB,cAAc,CAAA;AAQ7C;;;;;;GAMG;AACH,wBAAgB,WAAW,CAAC,KAAK,EAAE,MAAM,GAAG,SAAS,GAAG,MAAM,CAQ7D;AAYD,wBAAsB,cAAc,CAAC,GAAG,EAAE,MAAM,EAAE,GAAG,GAAE,SAA2B,GAAG,OAAO,CAAC,MAAM,CAAC,CAOnG;AAED,wGAAwG;AACxG,wBAAgB,cAAc,IAAI,IAAI,CAErC"}
@@ -1,67 +0,0 @@
1
- import { ARCHIVE_DIR } from './store/index.js';
2
- import { nodeGitRunner } from '@gemstack/agent-data';
3
- /**
4
- * Committed session history (#1179): where a project's finished agents are archived so they survive
5
- * the repo being cleaned.
6
- *
7
- * The bug this exists for: agent state was written to `.the-framework/agents/`, which the install-time
8
- * `.gitignore` keeps untracked, so `git clean -fdx` — an ordinary thing to do to a repo — deleted
9
- * every session a project had ever run. Nothing was recoverable, because nothing had ever been
10
- * committed. Since #1582 the lasting copy lives on the `agents-logs` branch (#1748), as `agents/<user>/`.
11
- *
12
- * Scoped per user rather than one shared directory. Two people working the same repo would
13
- * otherwise write the same paths from different machines and conflict on every merge; under their
14
- * own directory their histories simply sit side by side. The list being visible to the whole team
15
- * is the intended outcome, not a leak — see the issue.
16
- *
17
- * The identity is the git `user.email` already configured in the repo, so there is nothing new to
18
- * set up and the directory matches the name on the commits.
19
- */
20
- /** The directory, under a user's own directory, that holds their archived agents. */
21
- export { ARCHIVE_DIR };
22
- /** Where an agent's history goes when git has no identity configured. */
23
- export const ANONYMOUS_USER_DIR = 'anonymous';
24
- /**
25
- * Longest directory name we will make from an email. Well past any real address, and short enough
26
- * that the archive paths under it stay inside the path limits of every platform we run on.
27
- */
28
- const MAX_USER_DIR = 64;
29
- /**
30
- * An email as a directory name: lowercased, with anything outside a conservative set replaced by
31
- * `-`. The result must start with a letter or digit, which is what rules out `.`, `..` and dotfile
32
- * names — this value comes from repo configuration and is joined onto a path, so a name that could
33
- * climb out of the directory is the one thing that must be impossible. Anything that cannot be made
34
- * to fit falls back to {@link ANONYMOUS_USER_DIR} rather than to a guess.
35
- */
36
- export function userDirName(email) {
37
- const cleaned = (email ?? '')
38
- .trim()
39
- .toLowerCase()
40
- .replace(/[^a-z0-9@._+-]/g, '-');
41
- return cleaned.length > 0 && cleaned.length <= MAX_USER_DIR && /^[a-z0-9][a-z0-9@._+-]*$/.test(cleaned)
42
- ? cleaned
43
- : ANONYMOUS_USER_DIR;
44
- }
45
- /**
46
- * The directory name for the identity this repo commits under, from `git config user.email`.
47
- *
48
- * Cached per repo for the process's life: it is read on every archive, it changes about as often
49
- * as a git identity does, and an agent that outlived a config change would only mean the next agent
50
- * files itself correctly. A missing or unreadable identity yields {@link ANONYMOUS_USER_DIR}, so
51
- * history is still kept — filing it under a placeholder is strictly better than dropping it.
52
- */
53
- const cache = new Map();
54
- export async function resolveUserDir(cwd, git = nodeGitRunner()) {
55
- const hit = cache.get(cwd);
56
- if (hit !== undefined)
57
- return hit;
58
- const email = await git(['config', 'user.email'], cwd).catch(() => '');
59
- const dir = userDirName(email.trim());
60
- cache.set(cwd, dir);
61
- return dir;
62
- }
63
- /** Drop the {@link resolveUserDir} cache. For tests, and for a daemon that outlives a config change. */
64
- export function forgetUserDirs() {
65
- cache.clear();
66
- }
67
- //# sourceMappingURL=agent-archive.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"agent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AK,CAAC,GAAG,CAAC,GAAG,EAAE,GAAG,CAAC,CAAA;IACnB,OAAO,GAAG,CAAA;AACZ,CAAC;AAED,wGAAwG;AACxG,MAAM,UAAU,cAAc;IAC5B,KAAK,CAAC,KAAK,EAAE,CAAA;AACf,CAAC"}
@@ -1,140 +0,0 @@
1
- import type { ProjectSummary } from './dashboard/projects.js';
2
- import type { GitRunner } from './project.js';
3
- /**
4
- * Committing the agent archives the daemon writes (#912/#1179) into the project checkout.
5
- *
6
- * An agent's own worktree sweeps its archive on teardown (`store/worktree.ts`). The main checkout has
7
- * no such path — `install.ts` commits once at activation and nothing after — so an archive written
8
- * there sat as a working-tree change until a human happened to commit it. That is the gap between
9
- * "the history is in Git" and "the history reaches Git by itself".
10
- *
11
- * It used to carry a second pathspec, the per-agent conversation markdown, and the machinery for
12
- * choosing between them: a pathspec matching no file aborts the whole `git add`, so every project
13
- * that had sessions but had never recorded a chat needed the other pattern dropped. With one
14
- * record (B3) there is one pathspec and nothing to choose.
15
- *
16
- * Two rules shape the whole module, both about writing into a repo somebody else is using.
17
- *
18
- * Path-scoped, never `git add -A`. The pathspec names the archives and nothing else, the way
19
- * `queue-promote.ts` names the queue file, so whatever the user has in progress cannot ride along
20
- * in our commit. A pathspec commit also leaves their index alone: what they had staged is still
21
- * staged afterwards.
22
- *
23
- * Debounced on an idle window rather than committed per write. Archives land seconds apart, and a
24
- * commit each would bury the project's real history under noise. A poll that sees the same pending
25
- * set twice running treats it as settled and commits the batch; a burst keeps resetting it.
26
- * {@link AgentCommitterOptions.maxWaitMs} caps that, so a project that never goes idle still
27
- * lands instead of being starved forever.
28
- *
29
- * Tolerates not being alone (the question (#605) this waited on). One daemon per machine is the rule
30
- * today (#393), but the committer never assumes it: a locked index or a rebase/merge in progress
31
- * means somebody else is mid-operation, so it skips rather than commits into their work, and a
32
- * failed commit is swallowed and retried on the next window.
33
- */
34
- /**
35
- * The committed agent archives (#1179), under every user's own directory.
36
- *
37
- * `:(glob)` magic so the `*` stops at a path separator — a plain pathspec wildcard matches `/` too,
38
- * and would reach further down `.the-framework/` than this means to.
39
- *
40
- * The trailing `/**` is load-bearing, and its absence is silent: glob magic matches the pattern
41
- * against each file's whole path rather than treating a directory as a prefix, so
42
- * `.the-framework/*​/sessions` matches no *file* and `git add` fails with "did not match any files"
43
- * — a committer that commits nothing, every time. Only a real repo shows this.
44
- */
45
- export declare const ARCHIVE_PATHSPEC = ":(glob).the-framework/*/agents/**";
46
- /** How long writes may keep arriving before the batch is committed anyway. */
47
- export declare const COMMIT_MAX_WAIT_MS: number;
48
- /** What one attempt did, or why it did nothing. */
49
- export type CommitOutcome = {
50
- committed: true;
51
- files: string[];
52
- } | {
53
- committed: false;
54
- reason: string;
55
- };
56
- /** Whether a path exists. Injectable so the busy check is testable without real lock files. */
57
- export type PathProbe = (path: string) => Promise<boolean>;
58
- /** A {@link PathProbe} over `fs.access`. */
59
- export declare function nodePathProbe(): PathProbe;
60
- /**
61
- * The commit message a batch writes. Names what moved, so the log line stands alone.
62
- *
63
- * Counted by run, not by file: one archived agent is a `<id>.json` and a `<id>.jsonl`, and
64
- * "2 sessions" for a single session would be a lie told by the batch's own commit message.
65
- */
66
- export declare function commitMessage(files: string[]): string;
67
- /**
68
- * The archive files with uncommitted changes, as repo-relative paths, sorted so the result is
69
- * a stable fingerprint the debounce can compare across polls.
70
- *
71
- * `--porcelain` v1 is parsed rather than `--short` because its two status columns are fixed-width
72
- * and its paths are quoted consistently. A rename (`R old -> new`) reports the destination, which
73
- * is the path we would commit. Anything unreadable — not a repo, no git — reads as no changes.
74
- *
75
- * `-uall` is load-bearing, not a detail. By default git collapses a wholly-untracked directory into
76
- * one entry instead of naming the files under it, which makes the fingerprint identical whether one
77
- * archive is being written or ten. The debounce compares fingerprints, so without this the idle
78
- * window could never see a burst and would commit straight through the middle of one. Only a real
79
- * repo shows this; a per-file fake does not.
80
- */
81
- export declare function pendingAgents(cwd: string, git?: GitRunner): Promise<string[]>;
82
- /**
83
- * Why the repo is in no state to be committed into, or `undefined` when it is fine.
84
- *
85
- * The git dir is resolved through git rather than assumed to be `<cwd>/.git`, so this is right in a
86
- * linked worktree, where `.git` is a file pointing elsewhere and the markers live in the real dir.
87
- */
88
- export declare function gitBusy(cwd: string, git?: GitRunner, exists?: PathProbe): Promise<string | undefined>;
89
- /**
90
- * Stage and commit the pending agent archives under `cwd`, scoped to {@link ARCHIVE_PATHSPEC}.
91
- *
92
- * `add` before `commit` because a brand-new archive is untracked, and `git commit -- <path>` only
93
- * knows paths git already knows. Both are pathspec-scoped, so the staging is as narrow as the
94
- * commit and the user's own staged work is neither swept in nor disturbed. Nothing pending returns
95
- * early: a pathspec matching no file is a hard error to git, and "no session has been archived here
96
- * yet" is not an error at all.
97
- *
98
- * Never throws: this runs on a background tick with nothing to catch it.
99
- */
100
- export declare function commitAgents(cwd: string, git?: GitRunner, exists?: PathProbe): Promise<CommitOutcome>;
101
- /** A running committer; call {@link AgentCommitter.stop} to end it. */
102
- export interface AgentCommitter {
103
- stop: () => void;
104
- /** Run one poll now. Exposed so the daemon and tests can drive it deterministically. */
105
- poll: () => Promise<void>;
106
- /**
107
- * Commit every project's pending agent archives now, skipping the idle window. For shutdown: the
108
- * daemon is going away, so waiting for quiet would just defer the work to the next boot. Returns
109
- * how many projects committed.
110
- */
111
- flush: () => Promise<number>;
112
- }
113
- /** Options for {@link startAgentCommitter}. */
114
- export interface AgentCommitterOptions {
115
- /** The projects to sweep each poll (the daemon passes the registry, mapped to summaries). */
116
- projects: () => Promise<ProjectSummary[]>;
117
- /** Commit anyway once a project has been pending this long, ms. Default {@link COMMIT_MAX_WAIT_MS}. */
118
- maxWaitMs?: number;
119
- /** Injectable git (tests). */
120
- git?: GitRunner;
121
- /** Injectable existence probe for the busy check (tests). */
122
- exists?: PathProbe;
123
- /** Clock, injectable for the max-wait cap (tests). */
124
- now?: () => number;
125
- /** Where a committed batch is announced. */
126
- log?: (message: string) => void;
127
- }
128
- /**
129
- * Start committing settled agent archives, and return the handle that stops it.
130
- *
131
- * The idle window is the poll itself: a project whose pending set is byte-identical to the previous
132
- * poll's has stopped being written to, so its batch is committed. Anything still moving is recorded
133
- * and reconsidered next time, unless it has been dirty past `maxWaitMs`, which forces it through.
134
- *
135
- * Forgiving throughout — a failed project scan, a busy repo or a rejected commit costs one window
136
- * and is retried, never a throw. Owns no timer (E4): the daemon's one clock calls {@link
137
- * AgentCommitter.poll}, and the window it debounces on is that cadence.
138
- */
139
- export declare function startAgentCommitter(opts: AgentCommitterOptions): AgentCommitter;
140
- //# sourceMappingURL=agent-commit.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"agent-commit.d.ts","sourceRoot":"","sources":["../src/agent-commit.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAA;AAG7D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AAI7C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AAEH;;;;;;;;;;GAUG;AACH,eAAO,MAAM,gBAAgB,sCAAoD,CAAA;AAEjF,8EAA8E;AAC9E,eAAO,MAAM,kBAAkB,QAAa,CAAA;AAE5C,mDAAmD;AACnD,MAAM,MAAM,aAAa,GACrB;IAAE,SAAS,EAAE,IAAI,CAAC;IAAC,KAAK,EAAE,MAAM,EAAE,CAAA;CAAE,GACpC;IAAE,SAAS,EAAE,KAAK,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAAE,CAAA;AAExC,+FAA+F;AAC/F,MAAM,MAAM,SAAS,GAAG,CAAC,IAAI,EAAE,MAAM,KAAK,OAAO,CAAC,OAAO,CAAC,CAAA;AAE1D,4CAA4C;AAC5C,wBAAgB,aAAa,IAAI,SAAS,CAQzC;AAED;;;;;GAKG;AACH,wBAAgB,aAAa,CAAC,KAAK,EAAE,MAAM,EAAE,GAAG,MAAM,CAGrD;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAsB,aAAa,CAAC,GAAG,EAAE,MAAM,EAAE,GAAG,GAAE,SAA2B,GAAG,OAAO,CAAC,MAAM,EAAE,CAAC,CAWpG;AA0BD;;;;;GAKG;AACH,wBAAsB,OAAO,CAC3B,GAAG,EAAE,MAAM,EACX,GAAG,GAAE,SAA2B,EAChC,MAAM,GAAE,SAA2B,GAClC,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAU7B;AAKD;;;;;;;;;;GAUG;AACH,wBAAsB,YAAY,CAChC,GAAG,EAAE,MAAM,EACX,GAAG,GAAE,SAA2B,EAChC,MAAM,GAAE,SAA2B,GAClC,OAAO,CAAC,aAAa,CAAC,CAcxB;AAED,uEAAuE;AACvE,MAAM,WAAW,cAAc;IAC7B,IAAI,EAAE,MAAM,IAAI,CAAA;IAChB,wFAAwF;IACxF,IAAI,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAA;IACzB;;;;OAIG;IACH,KAAK,EAAE,MAAM,OAAO,CAAC,MAAM,CAAC,CAAA;CAC7B;AAED,+CAA+C;AAC/C,MAAM,WAAW,qBAAqB;IACpC,6FAA6F;IAC7F,QAAQ,EAAE,MAAM,OAAO,CAAC,cAAc,EAAE,CAAC,CAAA;IACzC,uGAAuG;IACvG,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,8BAA8B;IAC9B,GAAG,CAAC,EAAE,SAAS,CAAA;IACf,6DAA6D;IAC7D,MAAM,CAAC,EAAE,SAAS,CAAA;IAClB,sDAAsD;IACtD,GAAG,CAAC,EAAE,MAAM,MAAM,CAAA;IAClB,4CAA4C;IAC5C,GAAG,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAA;CAChC;AAeD;;;;;;;;;;GAUG;AACH,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,qBAAqB,GAAG,cAAc,CA4E/E"}
@@ -1,254 +0,0 @@
1
- import { join } from 'node:path';
2
- import { ARCHIVE_DIR } from './store/index.js';
3
- import { THE_FRAMEWORK_DIR } from './framework-dir.js';
4
- import { nodeGitRunner } from './project.js';
5
- import { errorMessage } from './error-message.js';
6
- /**
7
- * Committing the agent archives the daemon writes (#912/#1179) into the project checkout.
8
- *
9
- * An agent's own worktree sweeps its archive on teardown (`store/worktree.ts`). The main checkout has
10
- * no such path — `install.ts` commits once at activation and nothing after — so an archive written
11
- * there sat as a working-tree change until a human happened to commit it. That is the gap between
12
- * "the history is in Git" and "the history reaches Git by itself".
13
- *
14
- * It used to carry a second pathspec, the per-agent conversation markdown, and the machinery for
15
- * choosing between them: a pathspec matching no file aborts the whole `git add`, so every project
16
- * that had sessions but had never recorded a chat needed the other pattern dropped. With one
17
- * record (B3) there is one pathspec and nothing to choose.
18
- *
19
- * Two rules shape the whole module, both about writing into a repo somebody else is using.
20
- *
21
- * Path-scoped, never `git add -A`. The pathspec names the archives and nothing else, the way
22
- * `queue-promote.ts` names the queue file, so whatever the user has in progress cannot ride along
23
- * in our commit. A pathspec commit also leaves their index alone: what they had staged is still
24
- * staged afterwards.
25
- *
26
- * Debounced on an idle window rather than committed per write. Archives land seconds apart, and a
27
- * commit each would bury the project's real history under noise. A poll that sees the same pending
28
- * set twice running treats it as settled and commits the batch; a burst keeps resetting it.
29
- * {@link AgentCommitterOptions.maxWaitMs} caps that, so a project that never goes idle still
30
- * lands instead of being starved forever.
31
- *
32
- * Tolerates not being alone (the question (#605) this waited on). One daemon per machine is the rule
33
- * today (#393), but the committer never assumes it: a locked index or a rebase/merge in progress
34
- * means somebody else is mid-operation, so it skips rather than commits into their work, and a
35
- * failed commit is swallowed and retried on the next window.
36
- */
37
- /**
38
- * The committed agent archives (#1179), under every user's own directory.
39
- *
40
- * `:(glob)` magic so the `*` stops at a path separator — a plain pathspec wildcard matches `/` too,
41
- * and would reach further down `.the-framework/` than this means to.
42
- *
43
- * The trailing `/**` is load-bearing, and its absence is silent: glob magic matches the pattern
44
- * against each file's whole path rather than treating a directory as a prefix, so
45
- * `.the-framework/*​/sessions` matches no *file* and `git add` fails with "did not match any files"
46
- * — a committer that commits nothing, every time. Only a real repo shows this.
47
- */
48
- export const ARCHIVE_PATHSPEC = `:(glob)${THE_FRAMEWORK_DIR}/*/${ARCHIVE_DIR}/**`;
49
- /** How long writes may keep arriving before the batch is committed anyway. */
50
- export const COMMIT_MAX_WAIT_MS = 5 * 60_000;
51
- /** A {@link PathProbe} over `fs.access`. */
52
- export function nodePathProbe() {
53
- return async (path) => {
54
- const { access } = await import('node:fs/promises');
55
- return access(path).then(() => true, () => false);
56
- };
57
- }
58
- /**
59
- * The commit message a batch writes. Names what moved, so the log line stands alone.
60
- *
61
- * Counted by run, not by file: one archived agent is a `<id>.json` and a `<id>.jsonl`, and
62
- * "2 sessions" for a single session would be a lie told by the batch's own commit message.
63
- */
64
- export function commitMessage(files) {
65
- const agents = new Set(files.map(file => file.replace(/\.[^./]+$/, ''))).size;
66
- return `[The Framework] ${agents === 1 ? 'a session' : `${agents} sessions`}`;
67
- }
68
- /**
69
- * The archive files with uncommitted changes, as repo-relative paths, sorted so the result is
70
- * a stable fingerprint the debounce can compare across polls.
71
- *
72
- * `--porcelain` v1 is parsed rather than `--short` because its two status columns are fixed-width
73
- * and its paths are quoted consistently. A rename (`R old -> new`) reports the destination, which
74
- * is the path we would commit. Anything unreadable — not a repo, no git — reads as no changes.
75
- *
76
- * `-uall` is load-bearing, not a detail. By default git collapses a wholly-untracked directory into
77
- * one entry instead of naming the files under it, which makes the fingerprint identical whether one
78
- * archive is being written or ten. The debounce compares fingerprints, so without this the idle
79
- * window could never see a burst and would commit straight through the middle of one. Only a real
80
- * repo shows this; a per-file fake does not.
81
- */
82
- export async function pendingAgents(cwd, git = nodeGitRunner()) {
83
- const out = await git(['status', '--porcelain', '-uall', '--', ARCHIVE_PATHSPEC], cwd).catch(() => '');
84
- const files = new Set();
85
- for (const line of out.split('\n')) {
86
- if (line.length < 4)
87
- continue;
88
- // Columns 0-1 are the status codes, 2 is a space, the path starts at 3.
89
- const entry = line.slice(3);
90
- const arrow = entry.indexOf(' -> ');
91
- files.add(unquotePath(arrow === -1 ? entry : entry.slice(arrow + ' -> '.length)));
92
- }
93
- return [...files].sort();
94
- }
95
- /**
96
- * Undo git's C-style quoting of a path holding non-ASCII or special characters. Only the escapes
97
- * git actually emits are handled; anything else is left as written rather than mangled.
98
- */
99
- function unquotePath(entry) {
100
- if (!entry.startsWith('"') || !entry.endsWith('"'))
101
- return entry;
102
- return entry
103
- .slice(1, -1)
104
- .replace(/\\([\\"])/g, '$1')
105
- .replace(/\\t/g, '\t')
106
- .replace(/\\n/g, '\n');
107
- }
108
- /** The markers that mean another git operation owns this repo right now. */
109
- const BUSY_MARKERS = [
110
- ['index.lock', 'another git process holds the index lock'],
111
- ['rebase-merge', 'a rebase is in progress'],
112
- ['rebase-apply', 'a rebase is in progress'],
113
- ['MERGE_HEAD', 'a merge is in progress'],
114
- ['CHERRY_PICK_HEAD', 'a cherry-pick is in progress'],
115
- ['REVERT_HEAD', 'a revert is in progress'],
116
- ['BISECT_LOG', 'a bisect is in progress'],
117
- ];
118
- /**
119
- * Why the repo is in no state to be committed into, or `undefined` when it is fine.
120
- *
121
- * The git dir is resolved through git rather than assumed to be `<cwd>/.git`, so this is right in a
122
- * linked worktree, where `.git` is a file pointing elsewhere and the markers live in the real dir.
123
- */
124
- export async function gitBusy(cwd, git = nodeGitRunner(), exists = nodePathProbe()) {
125
- const gitDir = await git(['rev-parse', '--absolute-git-dir'], cwd).then(out => out.trim(), () => '');
126
- if (!gitDir)
127
- return 'not a git repository';
128
- for (const [name, reason] of BUSY_MARKERS) {
129
- if (await exists(join(gitDir, name)))
130
- return reason;
131
- }
132
- return undefined;
133
- }
134
- /** The everyday no-op outcome. Named so the poller can tell it apart from a real failure. */
135
- const NOTHING_PENDING = 'no session changes';
136
- /**
137
- * Stage and commit the pending agent archives under `cwd`, scoped to {@link ARCHIVE_PATHSPEC}.
138
- *
139
- * `add` before `commit` because a brand-new archive is untracked, and `git commit -- <path>` only
140
- * knows paths git already knows. Both are pathspec-scoped, so the staging is as narrow as the
141
- * commit and the user's own staged work is neither swept in nor disturbed. Nothing pending returns
142
- * early: a pathspec matching no file is a hard error to git, and "no session has been archived here
143
- * yet" is not an error at all.
144
- *
145
- * Never throws: this runs on a background tick with nothing to catch it.
146
- */
147
- export async function commitAgents(cwd, git = nodeGitRunner(), exists = nodePathProbe()) {
148
- const busy = await gitBusy(cwd, git, exists);
149
- if (busy)
150
- return { committed: false, reason: busy };
151
- const files = await pendingAgents(cwd, git);
152
- if (files.length === 0)
153
- return { committed: false, reason: NOTHING_PENDING };
154
- try {
155
- await git(['add', '--', ARCHIVE_PATHSPEC], cwd);
156
- await git(['commit', '-m', commitMessage(files), '--', ARCHIVE_PATHSPEC], cwd);
157
- return { committed: true, files };
158
- }
159
- catch (err) {
160
- return { committed: false, reason: errorMessage(err) };
161
- }
162
- }
163
- /**
164
- * Start committing settled agent archives, and return the handle that stops it.
165
- *
166
- * The idle window is the poll itself: a project whose pending set is byte-identical to the previous
167
- * poll's has stopped being written to, so its batch is committed. Anything still moving is recorded
168
- * and reconsidered next time, unless it has been dirty past `maxWaitMs`, which forces it through.
169
- *
170
- * Forgiving throughout — a failed project scan, a busy repo or a rejected commit costs one window
171
- * and is retried, never a throw. Owns no timer (E4): the daemon's one clock calls {@link
172
- * AgentCommitter.poll}, and the window it debounces on is that cadence.
173
- */
174
- export function startAgentCommitter(opts) {
175
- const git = opts.git ?? nodeGitRunner();
176
- const exists = opts.exists ?? nodePathProbe();
177
- const now = opts.now ?? Date.now;
178
- const maxWaitMs = opts.maxWaitMs ?? COMMIT_MAX_WAIT_MS;
179
- const pending = new Map();
180
- let stopped = false;
181
- let running = false;
182
- const poll = async () => {
183
- if (stopped || running)
184
- return;
185
- running = true;
186
- try {
187
- const projects = await opts.projects().catch(() => []);
188
- const seen = new Set();
189
- for (const project of projects) {
190
- if (stopped)
191
- break;
192
- seen.add(project.path);
193
- const files = await pendingAgents(project.path, git).catch(() => []);
194
- if (files.length === 0) {
195
- pending.delete(project.path);
196
- continue;
197
- }
198
- const fingerprint = files.join('\n');
199
- const previous = pending.get(project.path);
200
- const since = previous?.since ?? now();
201
- // Settled (nothing changed since the last poll), or dirty long enough that waiting for
202
- // quiet is no longer worth it.
203
- const settled = previous?.fingerprint === fingerprint || now() - since >= maxWaitMs;
204
- const loggedReason = previous?.loggedReason;
205
- if (!settled) {
206
- pending.set(project.path, { fingerprint, since, loggedReason });
207
- continue;
208
- }
209
- const outcome = await commitAgents(project.path, git, exists);
210
- if (outcome.committed) {
211
- pending.delete(project.path);
212
- opts.log?.(`[framework] committed ${outcome.files.length} session file(s) in ${project.name}`);
213
- }
214
- else {
215
- // A busy repo or a rejected commit keeps its place, so the next window retries it
216
- // rather than starting the idle count over.
217
- const reason = outcome.reason === NOTHING_PENDING ? undefined : outcome.reason;
218
- // Announced on change only: this is a poll, so logging every failure would repeat the
219
- // same line forever while a project stays stuck.
220
- if (reason !== undefined && reason !== loggedReason) {
221
- opts.log?.(`[framework] session commit failed in ${project.name}: ${reason}`);
222
- }
223
- pending.set(project.path, { fingerprint, since, loggedReason: reason });
224
- }
225
- }
226
- // Drop state for projects that went away, so the map cannot grow without bound.
227
- for (const path of [...pending.keys()])
228
- if (!seen.has(path))
229
- pending.delete(path);
230
- }
231
- finally {
232
- running = false;
233
- }
234
- };
235
- const flush = async () => {
236
- let committed = 0;
237
- for (const project of await opts.projects().catch(() => [])) {
238
- const outcome = await commitAgents(project.path, git, exists);
239
- if (outcome.committed) {
240
- pending.delete(project.path);
241
- committed++;
242
- }
243
- }
244
- return committed;
245
- };
246
- return {
247
- stop: () => {
248
- stopped = true;
249
- },
250
- poll,
251
- flush,
252
- };
253
- }
254
- //# sourceMappingURL=agent-commit.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"agent-commit.js","sourceRoot":"","sources":["../src/agent-commit.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAA;AAEhC,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAA;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AC7D,IAAI,OAAO,CAAC,SAAS,EAAE,CAAC;gBACtB,OAAO,CAAC,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,CAAA;gBAC5B,SAAS,EAAE,CAAA;YACb,CAAC;QACH,CAAC;QACD,OAAO,SAAS,CAAA;IAClB,CAAC,CAAA;IAED,OAAO;QACL,IAAI,EAAE,GAAG,EAAE;YACT,OAAO,GAAG,IAAI,CAAA;QAChB,CAAC;QACD,IAAI;QACJ,KAAK;KACN,CAAA;AACH,CAAC"}
@@ -1,28 +0,0 @@
1
- import type { AgentLocation } from './agent-location.js';
2
- import { type CreateDriverOptions } from './driver-cli.js';
3
- import { type ActionsDriverOptions, type Driver } from 'agent-driver';
4
- import { type CloudDriverOptions } from './driver/cloud.js';
5
- /**
6
- * Build the {@link Driver} for an agent's *target* (#1050): where the turn runs, on top of the agent
7
- * axis {@link createDriver} owns. `actions` returns an {@link ActionsDriver} (#934) built from the
8
- * resolved owner/repo/token; `web` returns a {@link CloudDriver} (#610), which hands the task to a
9
- * Claude Code cloud session; anything else falls through to the local agent driver — byte-identical
10
- * to today.
11
- *
12
- * Kept off {@link createDriver} on purpose: ActionsDriver's owner/repo/token do not fit
13
- * {@link CreateDriverOptions}, and folding them in would push GitHub config onto every local agent.
14
- */
15
- export interface CreateAgentDriverOptions extends CreateDriverOptions {
16
- /**
17
- * Where the agent executes: `local` (this device, the default), `actions` (a GitHub Actions
18
- * runner, #1050) or `web` (a Claude Code cloud session, #610).
19
- */
20
- target?: AgentLocation;
21
- /** The Actions runner config, required when {@link target} is `actions`. */
22
- actionsConfig?: ActionsDriverOptions;
23
- /** The cloud-session config used when {@link target} is `web`. Every field has a default. */
24
- cloudConfig?: CloudDriverOptions;
25
- }
26
- /** The one place an agent path turns `--run-on` into a real driver. */
27
- export declare function createAgentDriver(opts: CreateAgentDriverOptions): Driver;
28
- //# sourceMappingURL=agent-driver.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"agent-driver.d.ts","sourceRoot":"","sources":["../src/agent-driver.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAA;AACxD,OAAO,EAAgB,KAAK,mBAAmB,EAAE,MAAM,iBAAiB,CAAA;AACxE,OAAO,EAAiB,KAAK,oBAAoB,EAAE,KAAK,MAAM,EAAE,MAAM,cAAc,CAAA;AACpF,OAAO,EAAe,KAAK,kBAAkB,EAAE,MAAM,mBAAmB,CAAA;AAExE;;;;;;;;;GASG;AACH,MAAM,WAAW,wBAAyB,SAAQ,mBAAmB;IACnE;;;OAGG;IACH,MAAM,CAAC,EAAE,aAAa,CAAA;IACtB,4EAA4E;IAC5E,aAAa,CAAC,EAAE,oBAAoB,CAAA;IACpC,6FAA6F;IAC7F,WAAW,CAAC,EAAE,kBAAkB,CAAA;CACjC;AAED,uEAAuE;AACvE,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,wBAAwB,GAAG,MAAM,CAWxE"}