@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,197 +0,0 @@
1
- import { type RunMeta } from '../store/index.js';
2
- import { type LogEntry } from '../logs.js';
3
- import { type WorkspaceDoc } from '../dashboard/docs.js';
4
- import { type WorkspaceTicket, type WorkspaceTicketDetail, type TicketsMeta } from '../dashboard/tickets.js';
5
- import { type ProjectQueue } from '../dashboard/queue.js';
6
- import { type Overview, type RecentRun, type HotTicket, type ProjectTickets } from '../dashboard/overview.js';
7
- import { type Intervention } from '../dashboard/interventions.js';
8
- import { type OpenQuestion } from '../dashboard/open-questions.js';
9
- import { type Activity } from '../dashboard/activity.js';
10
- import { type DashboardData } from '../dashboard/dashboard.js';
11
- import { type GitStatus } from '../dashboard/git-status.js';
12
- import { type RunHandoff } from '../dashboard/run-handoff.js';
13
- import type { RunWorktree } from '../dashboard/types.js';
14
- import { type FileGitStatus } from '../dashboard/file-status.js';
15
- import { type FileDiff, type FileChange } from '../dashboard/file-diff.js';
16
- import { type FileContent } from '../dashboard/file-read.js';
17
- import type { FrameworkEvent } from '../events.js';
18
- import type { BridgeEvent, BridgeHello, BridgeQuestion } from '../dashboard/bridge-endpoints.js';
19
- import type { BridgeAnswer, BridgeContact } from '../dashboard/bridge-store.js';
20
- /**
21
- * The project's runs, most-recent first (or `[]`). The archived (finished) runs
22
- * from `runs/`, plus every live run prepended — so the sidebar shows an in-progress
23
- * run with a `running` status the moment it starts, not only after it closes.
24
- *
25
- * Since #736 a project has any number of live runs, each in its own worktree, so this reads
26
- * them all (#738) instead of the single one that used to sit at the project path. They come
27
- * back as {@link LiveRun}s, carrying the `cwd` of the checkout that run is editing.
28
- *
29
- * One row per id, and where both a live and an archived copy exist the live one wins (#768): a
30
- * continued run (#762) has an archive from its first leg while being live again, and the archive
31
- * would otherwise show a running run as finished. The status is not filtered on: `readLiveMeta`
32
- * may have just self-healed a dead run to `stopped` (#716), and that freshly-archived row can
33
- * lag `listRuns` by a poll — keeping it regardless leaves the row visible with no flicker.
34
- *
35
- * A run relayed to a connected device (#1067) lives only in the daemon's memory, never on disk, so
36
- * its in-memory stub is merged in too (#1077): that is what re-opens it after a dashboard reload
37
- * instead of losing it.
38
- */
39
- export declare function onRuns(projectId: string): Promise<RunMeta[]>;
40
- /**
41
- * The run ids that still have a worktree on disk (#737). A run that failed or was stopped keeps
42
- * its checkout so you can go look at what it was holding; this is how the dashboard knows which
43
- * finished run has one to offer removing. Live runs are excluded — their worktree is in use.
44
- */
45
- export declare function onRetainedWorktrees(projectId: string): Promise<string[]>;
46
- /**
47
- * Where a session is working (#798): the checkout it has, its branch, whether it is holding
48
- * uncommitted changes, and — once it is no longer live — what that checkout costs on disk.
49
- *
50
- * The dashboard could not answer "where is this session working". The git status bar reads the
51
- * *project*, so a session's own branch was visible nowhere, and a worktree a run kept (#737) was
52
- * a name in a list with no size and no way in.
53
- *
54
- * `own` separates a run with its own worktree from one that fell back to the main checkout (a
55
- * project with no git repo): "uncommitted changes" means something different there, since that
56
- * working tree is the user's, not the agent's.
57
- */
58
- export declare function onRunWorktree(projectId: string, runId: string): Promise<RunWorktree | null>;
59
- /** One archived run's event log for replay (or `[]` when the run or project is gone). */
60
- export declare function onRun(projectId: string, runId: string): Promise<FrameworkEvent[]>;
61
- /** The surfaced PLAN/TODO docs at the workspace root, in sidebar order (or `[]`). */
62
- export declare function onDocs(projectId: string): Promise<WorkspaceDoc[]>;
63
- /** The project's `tickets/*.md`, by filename (#697). `[]` when the repo has no `tickets/` yet. */
64
- export declare function onTickets(projectId: string): Promise<WorkspaceTicket[]>;
65
- /** One ticket's full text, for its own detail page (#1144). Null when it does not exist. */
66
- export declare function onTicket(projectId: string, file: string): Promise<WorkspaceTicketDetail | null>;
67
- /** When `tickets/` last caught up with GitHub (#1208), or `{}` when nothing has recorded it. */
68
- export declare function onTicketsMeta(projectId: string): Promise<TicketsMeta>;
69
- /** Every registered project's tickets, one list per project (#1144): the cross-project Tickets page. */
70
- export declare function onAllTickets(): Promise<ProjectTickets[]>;
71
- /** The committed `.the-framework/LOGS.md` entries, newest-first (or `[]`). */
72
- export declare function onProjectLog(projectId: string): Promise<LogEntry[]>;
73
- /** The aggregated open TODO queue across every registered project (#438), most-open first. */
74
- export declare function onQueue(): Promise<ProjectQueue[]>;
75
- /** The cross-project Overview (#437): what is running now, the queue size, and recent projects. */
76
- export declare function onOverview(): Promise<Overview>;
77
- /** Recent sessions pooled across every project (#shared-shell), newest first, for the home rail. */
78
- export declare function onRecentRuns(): Promise<RecentRun[]>;
79
- /** Hot tickets across every project (#1112): being worked on, likely next, and queued. */
80
- export declare function onHotTickets(): Promise<HotTicket[]>;
81
- /** The cross-project interventions queue (#632, Queue #624): open PRs that need review, newest first. */
82
- export declare function onInterventions(): Promise<Intervention[]>;
83
- /** Every session's open question with its full gate (#1455), longest-waiting first: the launcher's hub. */
84
- export declare function onOpenQuestions(): Promise<OpenQuestion[]>;
85
- /** The cross-project "New activity" feed (#627): recent run started/finished transitions, newest first. */
86
- export declare function onActivity(): Promise<Activity[]>;
87
- /** The Overview dashboard page (#471): the {@link onOverview} rollup plus run counts, run-status totals, and activity. */
88
- export declare function onDashboard(): Promise<DashboardData>;
89
- /**
90
- * The project's files for the `#` context picker (#504) and the panel tree (#492): every
91
- * file git sees (tracked + untracked, honoring .gitignore), repo-relative and sorted, via
92
- * `git ls-files`. Localhost-only by nature — the relay has no checkout, so it resolves `[]`.
93
- * Pass a live `runId` to list that run's worktree instead of the project root (#738).
94
- */
95
- export declare function onProjectFiles(projectId: string, runId?: string): Promise<string[]>;
96
- /**
97
- * Per-file git status for the tree's dots (#492): repo-relative path -> untracked/modified/
98
- * deleted, from `git status --porcelain`. `{}` when not a repo / on the relay (no checkout).
99
- * Pass a live `runId` to see that run's own worktree rather than the project root (#738).
100
- */
101
- export declare function onProjectFileStatus(projectId: string, runId?: string): Promise<Record<string, FileGitStatus>>;
102
- /**
103
- * One changed file's diff, for the tree's hover card (#816). Null when the path is not a changed
104
- * file, is unsafe (see `safeRepoPath`), or there is no checkout. Reads the run's own worktree when
105
- * `runId` names one, so it shows the same change the tree dotted (#815).
106
- *
107
- * The status comes from the same `git status` the dots do, rather than from the caller: a client
108
- * that thinks a file is untracked must not be able to make the server read it as one.
109
- */
110
- export declare function onFileDiff(projectId: string, path: string, runId?: string): Promise<FileDiff | null>;
111
- /**
112
- * What the session changed (#817): every changed file in its worktree with line counts, newest
113
- * state each poll. `[]` when nothing changed or there is no checkout.
114
- *
115
- * Derived from the worktree rather than from the agent's tool calls on purpose. The driver
116
- * surfaces a tool's name and not its arguments (#165) — we verify by outcome, not by watching
117
- * which tool the agent reached for — so reading git is both the honest source and the one that
118
- * works for every agent, not just the ones whose stream carries an edit payload.
119
- */
120
- export declare function onRunChanges(projectId: string, runId?: string): Promise<FileChange[]>;
121
- /**
122
- * One unchanged file's contents, for the tree's hover card (#828). Null when the path is unsafe
123
- * (see `safeRepoPath`), outside the checkout, or unreadable. Reads the run's own worktree when
124
- * `runId` names one, so it shows the copy the tree is listing (#815).
125
- *
126
- * The caller picks this or {@link onFileDiff} from the status the tree already holds; a changed
127
- * file has a diff worth seeing, an unchanged one has only itself.
128
- */
129
- export declare function onFileContent(projectId: string, path: string, runId?: string): Promise<FileContent | null>;
130
- /** The project's GitHub URL from its `origin` remote (#489), or null (no remote / not GitHub / relay). */
131
- export declare function onGithubUrl(projectId: string): Promise<string | null>;
132
- /**
133
- * The project's git status (#491): active branch, dirty flag, linked PR. Null when not a repo /
134
- * relay. Pass a live `runId` to read that run's worktree, which is the branch and the dirty
135
- * state that actually belong to it (#738). A run-scoped read is since-filtered (#1255): a run on
136
- * a reused pinned branch must not wear a predecessor's merged PR as its own badge.
137
- */
138
- export declare function onGitStatus(projectId: string, runId?: string): Promise<GitStatus | null>;
139
- /**
140
- * The end-of-session handoff (#799): the branch a finished session left its work on, what it
141
- * committed, what it changed, and whether that has been pushed or opened as a PR.
142
- *
143
- * Read from the *project* checkout against the session's branch, not from the session's worktree.
144
- * A clean run's worktree is removed when it finishes, and `resolveRunPath` then falls back to the
145
- * project root — so a worktree-addressed read reports the project's own branch and the user's own
146
- * uncommitted changes as though they were the session's. The branch is what outlives the run, so
147
- * the branch is what this asks about.
148
- */
149
- export declare function onRunHandoff(projectId: string, runId: string): Promise<RunHandoff | null>;
150
- /**
151
- * The project's own `SYSTEM.md` text, or null when it has none (#872). The prompt preview
152
- * claims to show the entire system prompt; composition takes this text as `opts.user`, but
153
- * reading it is Node-bound, so the browser needs this read to keep that claim true.
154
- */
155
- export declare function onSystemPromptUser(projectId: string): Promise<string | null>;
156
- /**
157
- * The question a Claude web session is parked on, as reported by the browser bridge (#1237).
158
- *
159
- * Keyed by cloud session id rather than run id because that is what the bridge can see: it reads
160
- * a claude.ai page, which knows its session and nothing about our runs. The run view already
161
- * derives that id from the run's own `cloud <url>` event, so the join happens on the client
162
- * without the daemon having to index runs by session.
163
- *
164
- * Returns null for anything unrecognised, so a run with no bridge, no question, or a target that
165
- * is not `web` renders exactly as it did before.
166
- */
167
- export declare function onBridgeQuestion(sessionId: string): Promise<BridgeQuestion | null>;
168
- /**
169
- * Whether anything has reached the browser bridge, and how it went (#1237).
170
- *
171
- * A misconfigured extension and an uninstalled one both leave no question behind, so "nothing is
172
- * showing" cannot be diagnosed from the questions alone. A refused request at least proves
173
- * something is trying, and its status says which half is wrong.
174
- */
175
- export declare function onBridgeStatus(): Promise<{
176
- lastContact: BridgeContact | null;
177
- questions: number;
178
- page: BridgeHello | null;
179
- }>;
180
- /**
181
- * The bridge token, for the setup step where a user pastes it into the extension (#1237).
182
- *
183
- * Only while the bridge is on, so a daemon with the feature off never hands the secret to a
184
- * page. Revealing it here is not a new exposure: anyone who can load this dashboard can already
185
- * start runs on this machine, and on a non-loopback bind their browser is holding the same token
186
- * as a cookie. What it replaces is the alternative, which was telling people to open
187
- * `~/.the-framework.json` and copy a field out of it.
188
- */
189
- export declare function onBridgeToken(): Promise<string | null>;
190
- /**
191
- * Where the answer picked for that session's question stands (#1237): queued for the
192
- * extension, delivered, or failed with the extension's reason. Null when nothing was picked.
193
- */
194
- export declare function onBridgeAnswer(sessionId: string): Promise<BridgeAnswer | null>;
195
- /** What a Claude web session has said so far, as scraped by the browser bridge (#1237). */
196
- export declare function onBridgeEvents(sessionId: string): Promise<BridgeEvent[]>;
197
- //# sourceMappingURL=reads.telefunc.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"reads.telefunc.d.ts","sourceRoot":"","sources":["../../src/dashboard-rpc/reads.telefunc.ts"],"names":[],"mappings":"AAAA,OAAO,EAAqG,KAAK,OAAO,EAAE,MAAM,mBAAmB,CAAA;AAGnJ,OAAO,EAAY,KAAK,QAAQ,EAAE,MAAM,YAAY,CAAA;AACpD,OAAO,EAAY,KAAK,YAAY,EAAE,MAAM,sBAAsB,CAAA;AAClE,OAAO,EAA4C,KAAK,eAAe,EAAE,KAAK,qBAAqB,EAAE,KAAK,WAAW,EAAE,MAAM,yBAAyB,CAAA;AACtJ,OAAO,EAAgB,KAAK,YAAY,EAAE,MAAM,uBAAuB,CAAA;AACvE,OAAO,EAAsE,KAAK,QAAQ,EAAE,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,KAAK,cAAc,EAAE,MAAM,0BAA0B,CAAA;AACjL,OAAO,EAAsB,KAAK,YAAY,EAAE,MAAM,+BAA+B,CAAA;AACrF,OAAO,EAAsB,KAAK,YAAY,EAAE,MAAM,gCAAgC,CAAA;AACtF,OAAO,EAAiB,KAAK,QAAQ,EAAE,MAAM,0BAA0B,CAAA;AACvE,OAAO,EAAkB,KAAK,aAAa,EAAE,MAAM,2BAA2B,CAAA;AAE9E,OAAO,EAAiB,KAAK,SAAS,EAAE,MAAM,4BAA4B,CAAA;AAC1E,OAAO,EAA8C,KAAK,UAAU,EAAE,M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AE,WAAW,GAAG,IAAI,CAAA;CAAE,CAAC,CAGlI;AAED;;;;;;;;GAQG;AACH,wBAAsB,aAAa,IAAI,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC,CAI5D;AAED;;;GAGG;AACH,wBAAsB,cAAc,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,YAAY,GAAG,IAAI,CAAC,CAGpF;AAED,2FAA2F;AAC3F,wBAAsB,cAAc,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,WAAW,EAAE,CAAC,CAG9E"}
@@ -1,403 +0,0 @@
1
- import { findRun, readLiveMetas, readAllRuns, loadRunEvents, worktreeSize, isSafeRunId, startedAtFromRunId } from '../store/index.js';
2
- import { loadUserSystemPrompt } from '../system-prompt-file.js';
3
- import { listProjectWorktrees } from '../worktrees.js';
4
- import { readLogs } from '../logs.js';
5
- import { readDocs } from '../dashboard/docs.js';
6
- import { readTickets, readTicket, readTicketsMeta } from '../dashboard/tickets.js';
7
- import { collectQueue } from '../dashboard/queue.js';
8
- import { buildOverview, buildRecentRuns, buildHotTickets, collectAllTickets } from '../dashboard/overview.js';
9
- import { buildInterventions } from '../dashboard/interventions.js';
10
- import { buildOpenQuestions } from '../dashboard/open-questions.js';
11
- import { buildActivity } from '../dashboard/activity.js';
12
- import { buildDashboard } from '../dashboard/dashboard.js';
13
- import { githubUrlFor } from '../dashboard/github.js';
14
- import { readGitStatus } from '../dashboard/git-status.js';
15
- import { readRunHandoff, resolveRunPr, runBranchFor } from '../dashboard/run-handoff.js';
16
- import { crawlRepoFiles } from '../project.js';
17
- import { readFileStatuses } from '../dashboard/file-status.js';
18
- import { readFileDiff, readFileChanges } from '../dashboard/file-diff.js';
19
- import { readFileContent } from '../dashboard/file-read.js';
20
- import { contextProjects, contextRemote, resolveProjectPath, resolveRunPath } from './context.js';
21
- import { relayOr } from './relay-run.js';
22
- import { bridgeQuestions } from '../dashboard/bridge-store.js';
23
- import { readDaemonToken, readPreferences } from '../registry.js';
24
- // The read model behind the new dashboard (#405): the run history, a run's replay, the
25
- // surfaced PLAN/TODO docs, and the committed LOGS.md — each keyed by project id and
26
- // backed by the same readers the daemon's legacy /api/* endpoints use, so the dashboard
27
- // stays a projection of the same files. These implementations live in @gemstack/the-framework
28
- // so the daemon can serve them in-process (the client imports them via re-export shims
29
- // in framework-dashboard, keeping the baked RPC keys `/server/reads.telefunc.ts`). The
30
- // live run stream is its own Telefunc Channel (events.telefunc.ts).
31
- /**
32
- * Resolve a project id and run a forgiving read against its workspace: an unknown project
33
- * or a failing read both fall back to `empty`. The uniform readers below are one call each
34
- * over this; the run history and null-returning git readers stay bespoke (extra logic or a
35
- * distinct empty).
36
- */
37
- async function withProject(projectId, read, empty) {
38
- const cwd = await resolveProjectPath(projectId);
39
- return cwd ? read(cwd).catch(() => empty) : empty;
40
- }
41
- /**
42
- * The `withProject` twin for a run-scoped read: resolve the checkout a `runId` names (its own
43
- * worktree while live, else the project root, #738), then read forgivingly. An absent project
44
- * or a failing read both fall back to `empty`.
45
- */
46
- async function withRunPath(projectId, runId, read, empty) {
47
- const cwd = await resolveRunPath(projectId, runId);
48
- return cwd ? read(cwd).catch(() => empty) : empty;
49
- }
50
- /** Run a cross-project rollup over every registered project, tolerating a failed registry read. */
51
- async function withProjects(build) {
52
- const projects = await contextProjects().list().catch(() => []);
53
- return build(projects);
54
- }
55
- /**
56
- * The project's runs, most-recent first (or `[]`). The archived (finished) runs
57
- * from `runs/`, plus every live run prepended — so the sidebar shows an in-progress
58
- * run with a `running` status the moment it starts, not only after it closes.
59
- *
60
- * Since #736 a project has any number of live runs, each in its own worktree, so this reads
61
- * them all (#738) instead of the single one that used to sit at the project path. They come
62
- * back as {@link LiveRun}s, carrying the `cwd` of the checkout that run is editing.
63
- *
64
- * One row per id, and where both a live and an archived copy exist the live one wins (#768): a
65
- * continued run (#762) has an archive from its first leg while being live again, and the archive
66
- * would otherwise show a running run as finished. The status is not filtered on: `readLiveMeta`
67
- * may have just self-healed a dead run to `stopped` (#716), and that freshly-archived row can
68
- * lag `listRuns` by a poll — keeping it regardless leaves the row visible with no flicker.
69
- *
70
- * A run relayed to a connected device (#1067) lives only in the daemon's memory, never on disk, so
71
- * its in-memory stub is merged in too (#1077): that is what re-opens it after a dashboard reload
72
- * instead of losing it.
73
- */
74
- export async function onRuns(projectId) {
75
- // Read the relayed-run stubs BEFORE any await (#1077): telefunc only exposes getContext()
76
- // synchronously at the top of a telefunction, so calling contextRemote() after an await loses
77
- // the request context and drops every remote run from the list on a reload.
78
- const remote = contextRemote()?.list(projectId) ?? [];
79
- const cwd = await resolveProjectPath(projectId);
80
- const local = cwd ? await readAllRuns(cwd) : [];
81
- if (remote.length === 0)
82
- return local;
83
- // A relayed run (#1067) lives only in the daemon's memory, not on disk; surface it in the list so
84
- // a reload re-opens it instead of losing it. Remote wins an id tie (it is the live authority).
85
- return [...remote, ...local.filter(run => !remote.some(r => r.id === run.id))];
86
- }
87
- /**
88
- * The run ids that still have a worktree on disk (#737). A run that failed or was stopped keeps
89
- * its checkout so you can go look at what it was holding; this is how the dashboard knows which
90
- * finished run has one to offer removing. Live runs are excluded — their worktree is in use.
91
- */
92
- export async function onRetainedWorktrees(projectId) {
93
- const cwd = await resolveProjectPath(projectId);
94
- if (!cwd)
95
- return [];
96
- // The CLI's `framework worktrees` builds the same view; one list, two surfaces (#752).
97
- const rows = await listProjectWorktrees(cwd, { sizes: false }).catch(() => []);
98
- return rows.filter(row => !row.live).map(row => row.runId);
99
- }
100
- /**
101
- * Where a session is working (#798): the checkout it has, its branch, whether it is holding
102
- * uncommitted changes, and — once it is no longer live — what that checkout costs on disk.
103
- *
104
- * The dashboard could not answer "where is this session working". The git status bar reads the
105
- * *project*, so a session's own branch was visible nowhere, and a worktree a run kept (#737) was
106
- * a name in a list with no size and no way in.
107
- *
108
- * `own` separates a run with its own worktree from one that fell back to the main checkout (a
109
- * project with no git repo): "uncommitted changes" means something different there, since that
110
- * working tree is the user's, not the agent's.
111
- */
112
- export async function onRunWorktree(projectId, runId) {
113
- return relayOr(runId, 'onRunWorktree', [projectId, runId], async () => {
114
- const root = await resolveProjectPath(projectId);
115
- if (!root || !isSafeRunId(runId))
116
- return null;
117
- const path = await resolveRunPath(projectId, runId);
118
- if (!path)
119
- return null;
120
- const own = path !== root;
121
- // Since-filtered like every run-scoped PR read (#1255): in the run's own worktree the
122
- // checkout's branch is the run's, but a reused pinned branch has a predecessor's PR history.
123
- const since = startedAtFromRunId(runId);
124
- const [status, live] = await Promise.all([
125
- readGitStatus(path, since !== undefined ? { since } : {}).catch(() => undefined),
126
- readLiveMetas(root).catch(() => []),
127
- ]);
128
- // Size is only read for a checkout nothing is writing to: a live run's tree changes under the
129
- // poll, and `du` over a build directory mid-build is a cost with no answer worth having.
130
- const running = live.some(run => run.id === runId && run.status === 'running');
131
- const size = own && !running ? await worktreeSize(path) : undefined;
132
- // In the run's own worktree, the checkout's branch is the run's, so the (since-filtered)
133
- // status read's PR is right. Once the worktree is gone the checkout is the project root, and
134
- // its current branch has nothing to do with this run (#1255) — resolve by the run's own
135
- // branch names instead.
136
- const run = own ? undefined : await findRun(root, runId).catch(() => undefined);
137
- const pr = own
138
- ? { value: status?.pr, pending: status?.prPending ?? false }
139
- : run
140
- ? await resolveRunPr(root, run).catch(() => ({ value: undefined, pending: false }))
141
- : { value: undefined, pending: false };
142
- return {
143
- path,
144
- own,
145
- dirty: status?.dirty ?? false,
146
- ...(status?.branch ? { branch: status.branch } : {}),
147
- ...(size !== undefined ? { sizeBytes: size } : {}),
148
- // A session's branch is exactly the thing that has a PR (#809), so the bar can show it
149
- // like the project's does.
150
- ...(pr.value ? { pr: pr.value } : {}),
151
- // Still being looked up rather than absent (#1028), so the bar can ask again shortly.
152
- ...(pr.pending ? { prPending: true } : {}),
153
- };
154
- }, null);
155
- }
156
- /** One archived run's event log for replay (or `[]` when the run or project is gone). */
157
- export async function onRun(projectId, runId) {
158
- return relayOr(runId, 'onRun', [projectId, runId], async () => {
159
- const cwd = await resolveProjectPath(projectId);
160
- if (!cwd)
161
- return [];
162
- return (await loadRunEvents(cwd, runId).catch(() => undefined)) ?? [];
163
- }, []);
164
- }
165
- /** The surfaced PLAN/TODO docs at the workspace root, in sidebar order (or `[]`). */
166
- export async function onDocs(projectId) {
167
- return withProject(projectId, readDocs, []);
168
- }
169
- /** The project's `tickets/*.md`, by filename (#697). `[]` when the repo has no `tickets/` yet. */
170
- export async function onTickets(projectId) {
171
- return withProject(projectId, readTickets, []);
172
- }
173
- /** One ticket's full text, for its own detail page (#1144). Null when it does not exist. */
174
- export async function onTicket(projectId, file) {
175
- return withProject(projectId, cwd => readTicket(cwd, file), null);
176
- }
177
- /** When `tickets/` last caught up with GitHub (#1208), or `{}` when nothing has recorded it. */
178
- export async function onTicketsMeta(projectId) {
179
- return withProject(projectId, readTicketsMeta, {});
180
- }
181
- /** Every registered project's tickets, one list per project (#1144): the cross-project Tickets page. */
182
- export async function onAllTickets() {
183
- return withProjects(collectAllTickets);
184
- }
185
- /** The committed `.the-framework/LOGS.md` entries, newest-first (or `[]`). */
186
- export async function onProjectLog(projectId) {
187
- return withProject(projectId, readLogs, []);
188
- }
189
- /** The aggregated open TODO queue across every registered project (#438), most-open first. */
190
- export async function onQueue() {
191
- return withProjects(collectQueue);
192
- }
193
- /** The cross-project Overview (#437): what is running now, the queue size, and recent projects. */
194
- export async function onOverview() {
195
- return withProjects(buildOverview);
196
- }
197
- /** Recent sessions pooled across every project (#shared-shell), newest first, for the home rail. */
198
- export async function onRecentRuns() {
199
- return withProjects(projects => buildRecentRuns(projects));
200
- }
201
- /** Hot tickets across every project (#1112): being worked on, likely next, and queued. */
202
- export async function onHotTickets() {
203
- return withProjects(projects => buildHotTickets(projects));
204
- }
205
- /** The cross-project interventions queue (#632, Queue #624): open PRs that need review, newest first. */
206
- export async function onInterventions() {
207
- return withProjects(buildInterventions);
208
- }
209
- /** Every session's open question with its full gate (#1455), longest-waiting first: the launcher's hub. */
210
- export async function onOpenQuestions() {
211
- return withProjects(buildOpenQuestions);
212
- }
213
- /** The cross-project "New activity" feed (#627): recent run started/finished transitions, newest first. */
214
- export async function onActivity() {
215
- return withProjects(buildActivity);
216
- }
217
- /** The Overview dashboard page (#471): the {@link onOverview} rollup plus run counts, run-status totals, and activity. */
218
- export async function onDashboard() {
219
- return withProjects(buildDashboard);
220
- }
221
- /**
222
- * The project's files for the `#` context picker (#504) and the panel tree (#492): every
223
- * file git sees (tracked + untracked, honoring .gitignore), repo-relative and sorted, via
224
- * `git ls-files`. Localhost-only by nature — the relay has no checkout, so it resolves `[]`.
225
- * Pass a live `runId` to list that run's worktree instead of the project root (#738).
226
- */
227
- export async function onProjectFiles(projectId, runId) {
228
- return relayOr(runId, 'onProjectFiles', [projectId, runId], () => withRunPath(projectId, runId, crawlRepoFiles, []), []);
229
- }
230
- /**
231
- * Per-file git status for the tree's dots (#492): repo-relative path -> untracked/modified/
232
- * deleted, from `git status --porcelain`. `{}` when not a repo / on the relay (no checkout).
233
- * Pass a live `runId` to see that run's own worktree rather than the project root (#738).
234
- */
235
- export async function onProjectFileStatus(projectId, runId) {
236
- return relayOr(runId, 'onProjectFileStatus', [projectId, runId], () => withRunPath(projectId, runId, readFileStatuses, {}), {});
237
- }
238
- /**
239
- * One changed file's diff, for the tree's hover card (#816). Null when the path is not a changed
240
- * file, is unsafe (see `safeRepoPath`), or there is no checkout. Reads the run's own worktree when
241
- * `runId` names one, so it shows the same change the tree dotted (#815).
242
- *
243
- * The status comes from the same `git status` the dots do, rather than from the caller: a client
244
- * that thinks a file is untracked must not be able to make the server read it as one.
245
- */
246
- export async function onFileDiff(projectId, path, runId) {
247
- return relayOr(runId, 'onFileDiff', [projectId, path, runId], async () => {
248
- const cwd = await resolveRunPath(projectId, runId);
249
- if (!cwd)
250
- return null;
251
- const statuses = await readFileStatuses(cwd).catch(() => ({}));
252
- const status = statuses[path];
253
- if (!status)
254
- return null;
255
- return readFileDiff(cwd, path, status).catch(() => null);
256
- }, null);
257
- }
258
- /**
259
- * What the session changed (#817): every changed file in its worktree with line counts, newest
260
- * state each poll. `[]` when nothing changed or there is no checkout.
261
- *
262
- * Derived from the worktree rather than from the agent's tool calls on purpose. The driver
263
- * surfaces a tool's name and not its arguments (#165) — we verify by outcome, not by watching
264
- * which tool the agent reached for — so reading git is both the honest source and the one that
265
- * works for every agent, not just the ones whose stream carries an edit payload.
266
- */
267
- export async function onRunChanges(projectId, runId) {
268
- return relayOr(runId, 'onRunChanges', [projectId, runId], async () => {
269
- const cwd = await resolveRunPath(projectId, runId);
270
- if (!cwd)
271
- return [];
272
- const statuses = await readFileStatuses(cwd).catch(() => ({}));
273
- return readFileChanges(cwd, statuses).catch(() => []);
274
- }, []);
275
- }
276
- /**
277
- * One unchanged file's contents, for the tree's hover card (#828). Null when the path is unsafe
278
- * (see `safeRepoPath`), outside the checkout, or unreadable. Reads the run's own worktree when
279
- * `runId` names one, so it shows the copy the tree is listing (#815).
280
- *
281
- * The caller picks this or {@link onFileDiff} from the status the tree already holds; a changed
282
- * file has a diff worth seeing, an unchanged one has only itself.
283
- */
284
- export async function onFileContent(projectId, path, runId) {
285
- return relayOr(runId, 'onFileContent', [projectId, path, runId], () => withRunPath(projectId, runId, cwd => readFileContent(cwd, path), null), null);
286
- }
287
- /** The project's GitHub URL from its `origin` remote (#489), or null (no remote / not GitHub / relay). */
288
- export async function onGithubUrl(projectId) {
289
- const cwd = await resolveProjectPath(projectId);
290
- if (!cwd)
291
- return null;
292
- return (await githubUrlFor(cwd)) ?? null;
293
- }
294
- /**
295
- * The project's git status (#491): active branch, dirty flag, linked PR. Null when not a repo /
296
- * relay. Pass a live `runId` to read that run's worktree, which is the branch and the dirty
297
- * state that actually belong to it (#738). A run-scoped read is since-filtered (#1255): a run on
298
- * a reused pinned branch must not wear a predecessor's merged PR as its own badge.
299
- */
300
- export async function onGitStatus(projectId, runId) {
301
- return relayOr(runId, 'onGitStatus', [projectId, runId], async () => {
302
- const cwd = await resolveRunPath(projectId, runId);
303
- if (!cwd)
304
- return null;
305
- const since = runId !== undefined ? startedAtFromRunId(runId) : undefined;
306
- return (await readGitStatus(cwd, since !== undefined ? { since } : {})) ?? null;
307
- }, null);
308
- }
309
- /**
310
- * The end-of-session handoff (#799): the branch a finished session left its work on, what it
311
- * committed, what it changed, and whether that has been pushed or opened as a PR.
312
- *
313
- * Read from the *project* checkout against the session's branch, not from the session's worktree.
314
- * A clean run's worktree is removed when it finishes, and `resolveRunPath` then falls back to the
315
- * project root — so a worktree-addressed read reports the project's own branch and the user's own
316
- * uncommitted changes as though they were the session's. The branch is what outlives the run, so
317
- * the branch is what this asks about.
318
- */
319
- export async function onRunHandoff(projectId, runId) {
320
- return relayOr(runId, 'onRunHandoff', [projectId, runId], async () => {
321
- const cwd = await resolveProjectPath(projectId);
322
- if (!cwd || !isSafeRunId(runId))
323
- return null;
324
- const run = await findRun(cwd, runId).catch(() => undefined);
325
- if (!run)
326
- return null;
327
- // Uncommitted work is the one thing the branch cannot answer (#1173), and it lives in the tree
328
- // the agent edited. Only when that is a checkout of the session's own: per the note above,
329
- // `resolveRunPath` falls back to the project root, whose dirt belongs to the user.
330
- const checkout = await resolveRunPath(projectId, runId);
331
- const deps = { since: run.startedAt, ...(checkout && checkout !== cwd ? { checkout } : {}) };
332
- return (await readRunHandoff(cwd, runBranchFor(run), deps).catch(() => undefined)) ?? null;
333
- }, null);
334
- }
335
- /**
336
- * The project's own `SYSTEM.md` text, or null when it has none (#872). The prompt preview
337
- * claims to show the entire system prompt; composition takes this text as `opts.user`, but
338
- * reading it is Node-bound, so the browser needs this read to keep that claim true.
339
- */
340
- export async function onSystemPromptUser(projectId) {
341
- const cwd = await resolveProjectPath(projectId);
342
- if (!cwd)
343
- return null;
344
- return (await loadUserSystemPrompt(cwd)) ?? null;
345
- }
346
- /**
347
- * The question a Claude web session is parked on, as reported by the browser bridge (#1237).
348
- *
349
- * Keyed by cloud session id rather than run id because that is what the bridge can see: it reads
350
- * a claude.ai page, which knows its session and nothing about our runs. The run view already
351
- * derives that id from the run's own `cloud <url>` event, so the join happens on the client
352
- * without the daemon having to index runs by session.
353
- *
354
- * Returns null for anything unrecognised, so a run with no bridge, no question, or a target that
355
- * is not `web` renders exactly as it did before.
356
- */
357
- export async function onBridgeQuestion(sessionId) {
358
- if (typeof sessionId !== 'string' || !/^session_[A-Za-z0-9]{1,128}$/.test(sessionId))
359
- return null;
360
- return bridgeQuestions().get(sessionId) ?? null;
361
- }
362
- /**
363
- * Whether anything has reached the browser bridge, and how it went (#1237).
364
- *
365
- * A misconfigured extension and an uninstalled one both leave no question behind, so "nothing is
366
- * showing" cannot be diagnosed from the questions alone. A refused request at least proves
367
- * something is trying, and its status says which half is wrong.
368
- */
369
- export async function onBridgeStatus() {
370
- const store = bridgeQuestions();
371
- return { lastContact: store.lastContact() ?? null, questions: store.list().length, page: store.hello() ?? null };
372
- }
373
- /**
374
- * The bridge token, for the setup step where a user pastes it into the extension (#1237).
375
- *
376
- * Only while the bridge is on, so a daemon with the feature off never hands the secret to a
377
- * page. Revealing it here is not a new exposure: anyone who can load this dashboard can already
378
- * start runs on this machine, and on a non-loopback bind their browser is holding the same token
379
- * as a cookie. What it replaces is the alternative, which was telling people to open
380
- * `~/.the-framework.json` and copy a field out of it.
381
- */
382
- export async function onBridgeToken() {
383
- const preferences = await readPreferences().catch(() => ({}));
384
- if (preferences.bridge !== true)
385
- return null;
386
- return (await readDaemonToken().catch(() => undefined)) ?? null;
387
- }
388
- /**
389
- * Where the answer picked for that session's question stands (#1237): queued for the
390
- * extension, delivered, or failed with the extension's reason. Null when nothing was picked.
391
- */
392
- export async function onBridgeAnswer(sessionId) {
393
- if (typeof sessionId !== 'string' || !/^session_[A-Za-z0-9]{1,128}$/.test(sessionId))
394
- return null;
395
- return bridgeQuestions().answer(sessionId) ?? null;
396
- }
397
- /** What a Claude web session has said so far, as scraped by the browser bridge (#1237). */
398
- export async function onBridgeEvents(sessionId) {
399
- if (typeof sessionId !== 'string' || !/^session_[A-Za-z0-9]{1,128}$/.test(sessionId))
400
- return [];
401
- return bridgeQuestions().events(sessionId);
402
- }
403
- //# sourceMappingURL=reads.telefunc.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"reads.telefunc.js","sourceRoot":"","sources":["../../src/dashboard-rpc/reads.telefunc.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,aAAa,EAAE,WAAW,EAAE,aAAa,EAAE,YAAY,EAAE,WAAW,EAAE,kBAAkB,EAAgB,MAAM,mBAAmB,CAAA;AACnJ,OAAO,EAAE,oBAAoB,EAAE,MAAM,0BAA0B,CAAA;AAC/D,OAAO,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAA;AACtD,OAAO,EAAE,QAAQ,EAAiB,MAAM,YAAY,CAAA;AACpD,OAAO,EAAE,QAAQ,EAAqB,MAAM,sBAAsB,CAAA;AAClE,OAAO,EAAE,WAAW,EAAE,UAAU,EAAE,eAAe,EAAsE,MAAM,yBAAyB,CAAA;AACtJ,OAAO,EAAE,YAAY,EAAqB,MAAM,uBAAuB,CAAA;AACvE,OAAO,EAAE,aAAa,EAAE,eAAe,EAAE,eAAe,EAAE,iBAAiB,EAAsE,MAAM,0BAA0B,CAAA;AACjL,OAAO,EAAE,kBAAkB,EAAqB,MAAM,+BAA+B,CAAA;AACrF,OAAO,EAAE,kBAAkB,EAAqB,MAAM,gCAAgC,CAAA;AACtF,OAAO,EAAE,aAAa,EAAiB,MAAM,0BAA0B,CAAA;AACvE,OAAO,EAAE,cAAc,EAAsB,MAAM,2BAA2B,CAAA;AAC9E,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAA;AACrD,OAAO,EAAE,aAAa,EAAkB,MAAM,4BAA4B,CAAA;AAC1E,OAAO,EAAE,cAAc,EAAE,YAAY,EAAE,YAAY,EAAmB,MAAM,6BAA6B,CAAA;AAEzG,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAA;AAC9C,OAAO,EAAE,gBAAgB,EAAsB,MAAM,6BAA6B,CAA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