agor-live 0.16.2 → 0.16.4

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 (346) hide show
  1. package/bin/agor-daemon.js +1 -1
  2. package/dist/cli/base-command.d.ts +1 -1
  3. package/dist/cli/base-command.js +8 -7
  4. package/dist/cli/commands/auth/login.js +2 -2
  5. package/dist/cli/commands/board/add-session.d.ts +1 -1
  6. package/dist/cli/commands/board/add-session.js +15 -17
  7. package/dist/cli/commands/board/clone.d.ts +1 -1
  8. package/dist/cli/commands/board/clone.js +8 -7
  9. package/dist/cli/commands/board/export.d.ts +1 -1
  10. package/dist/cli/commands/board/export.js +8 -7
  11. package/dist/cli/commands/board/import.d.ts +1 -1
  12. package/dist/cli/commands/board/import.js +8 -7
  13. package/dist/cli/commands/board/list.d.ts +1 -1
  14. package/dist/cli/commands/board/list.js +15 -13
  15. package/dist/cli/commands/daemon/logs.js +71 -6
  16. package/dist/cli/commands/daemon/restart.js +43 -6
  17. package/dist/cli/commands/daemon/start.d.ts +6 -0
  18. package/dist/cli/commands/daemon/start.js +208 -133
  19. package/dist/cli/commands/daemon/status.js +5 -2
  20. package/dist/cli/commands/daemon/stop.js +3 -0
  21. package/dist/cli/commands/init.js +1 -1
  22. package/dist/cli/commands/login.js +2 -2
  23. package/dist/cli/commands/mcp/add.d.ts +1 -1
  24. package/dist/cli/commands/mcp/add.js +8 -7
  25. package/dist/cli/commands/mcp/list.d.ts +1 -1
  26. package/dist/cli/commands/mcp/list.js +9 -9
  27. package/dist/cli/commands/mcp/remove.d.ts +1 -1
  28. package/dist/cli/commands/mcp/remove.js +9 -9
  29. package/dist/cli/commands/mcp/show.d.ts +1 -1
  30. package/dist/cli/commands/mcp/show.js +9 -9
  31. package/dist/cli/commands/open.js +2 -2
  32. package/dist/cli/commands/repo/add-local.d.ts +1 -1
  33. package/dist/cli/commands/repo/add-local.js +8 -7
  34. package/dist/cli/commands/repo/add.d.ts +1 -1
  35. package/dist/cli/commands/repo/add.js +9 -8
  36. package/dist/cli/commands/repo/list.d.ts +1 -1
  37. package/dist/cli/commands/repo/list.js +9 -9
  38. package/dist/cli/commands/repo/rm.d.ts +1 -1
  39. package/dist/cli/commands/repo/rm.js +9 -9
  40. package/dist/cli/commands/session/list.d.ts +1 -1
  41. package/dist/cli/commands/session/list.js +9 -10
  42. package/dist/cli/commands/session/load-claude.d.ts +1 -1
  43. package/dist/cli/commands/session/load-claude.js +10 -10
  44. package/dist/cli/commands/user/create.d.ts +1 -1
  45. package/dist/cli/commands/user/create.js +8 -7
  46. package/dist/cli/commands/user/delete.d.ts +1 -1
  47. package/dist/cli/commands/user/delete.js +9 -9
  48. package/dist/cli/commands/user/update.d.ts +1 -1
  49. package/dist/cli/commands/user/update.js +9 -9
  50. package/dist/cli/commands/worktree/add.d.ts +1 -1
  51. package/dist/cli/commands/worktree/add.js +9 -9
  52. package/dist/cli/commands/worktree/archive.d.ts +1 -1
  53. package/dist/cli/commands/worktree/archive.js +10 -10
  54. package/dist/cli/commands/worktree/cd.d.ts +1 -1
  55. package/dist/cli/commands/worktree/cd.js +8 -7
  56. package/dist/cli/commands/worktree/env/restart.d.ts +1 -1
  57. package/dist/cli/commands/worktree/env/restart.js +9 -8
  58. package/dist/cli/commands/worktree/env/start.d.ts +1 -1
  59. package/dist/cli/commands/worktree/env/start.js +9 -8
  60. package/dist/cli/commands/worktree/env/status.d.ts +1 -1
  61. package/dist/cli/commands/worktree/env/status.js +9 -8
  62. package/dist/cli/commands/worktree/env/stop.d.ts +1 -1
  63. package/dist/cli/commands/worktree/env/stop.js +9 -8
  64. package/dist/cli/commands/worktree/list.d.ts +1 -1
  65. package/dist/cli/commands/worktree/list.js +12 -15
  66. package/dist/cli/commands/worktree/rm.d.ts +1 -1
  67. package/dist/cli/commands/worktree/rm.js +10 -10
  68. package/dist/cli/commands/worktree/show.d.ts +1 -1
  69. package/dist/cli/commands/worktree/show.js +10 -10
  70. package/dist/cli/commands/worktree/unarchive.d.ts +1 -1
  71. package/dist/cli/commands/worktree/unarchive.js +10 -10
  72. package/dist/cli/commands/worktree/update.d.ts +1 -1
  73. package/dist/cli/commands/worktree/update.js +9 -8
  74. package/dist/cli/lib/context.d.ts +7 -1
  75. package/dist/cli/lib/context.js +13 -0
  76. package/dist/cli/lib/daemon-manager.d.ts +15 -2
  77. package/dist/cli/lib/daemon-manager.js +106 -7
  78. package/dist/cli/lib/daemon-manager.test.d.ts +2 -0
  79. package/dist/cli/lib/daemon-manager.test.js +17355 -0
  80. package/dist/cli/lib/help.js +2 -2
  81. package/dist/core/{agentic-tool-1L19ixPC.d.ts → agentic-tool-B6RT-ZX5.d.ts} +1 -1
  82. package/dist/core/{agentic-tool-3oiAj9Lg.d.cts → agentic-tool-Cs4nK-CC.d.cts} +1 -1
  83. package/dist/core/api/index.cjs +90 -4
  84. package/dist/core/api/index.d.cts +61 -18
  85. package/dist/core/api/index.d.ts +61 -18
  86. package/dist/core/api/index.js +88 -3
  87. package/dist/core/{artifact-B5MFR79G.d.ts → artifact-CIQzxjNP.d.ts} +2 -2
  88. package/dist/core/{artifact-Bi-1jifF.d.cts → artifact-DaHQPZVX.d.cts} +2 -2
  89. package/dist/core/{board-B9Xnux_i.d.ts → board-DG--dAS_.d.ts} +2 -2
  90. package/dist/core/{board-CPZGf5wF.d.cts → board-DogjFoWy.d.cts} +2 -2
  91. package/dist/core/{board-comment-BoDqwrnL.d.ts → board-comment-9ORrSlA1.d.ts} +1 -1
  92. package/dist/core/{board-comment-BQKnob6r.d.cts → board-comment-WzJC3SuF.d.cts} +1 -1
  93. package/dist/core/claude/index.cjs +9 -8
  94. package/dist/core/claude/index.d.cts +3 -3
  95. package/dist/core/claude/index.d.ts +3 -3
  96. package/dist/core/claude/index.js +9 -8
  97. package/dist/core/{client-HEOUNaCs.d.ts → client-NFCS0H8T.d.ts} +5 -5
  98. package/dist/core/{client-BC_18M7T.d.cts → client-XpghdMQL.d.cts} +5 -5
  99. package/dist/core/config/browser.d.cts +7 -7
  100. package/dist/core/config/browser.d.ts +7 -7
  101. package/dist/core/config/index.cjs +1 -0
  102. package/dist/core/config/index.d.cts +13 -13
  103. package/dist/core/config/index.d.ts +13 -13
  104. package/dist/core/config/index.js +1 -0
  105. package/dist/core/{config-manager-DK1LMXEc.d.cts → config-manager-BbMvB3Lz.d.cts} +1 -1
  106. package/dist/core/{config-manager-YrO9mG5j.d.ts → config-manager-etFWO6Wo.d.ts} +1 -1
  107. package/dist/core/{config-services-DrHSgUEm.d.ts → config-services-C848cfbD.d.ts} +4 -4
  108. package/dist/core/{config-services-CuhBWSs_.d.cts → config-services-CDhfaNpd.d.cts} +4 -4
  109. package/dist/core/db/index.cjs +13 -10
  110. package/dist/core/db/index.d.cts +16 -16
  111. package/dist/core/db/index.d.ts +16 -16
  112. package/dist/core/db/index.js +13 -10
  113. package/dist/core/db/session-guard.d.cts +8 -8
  114. package/dist/core/db/session-guard.d.ts +8 -8
  115. package/dist/core/environment/variable-resolver.d.cts +2 -2
  116. package/dist/core/environment/variable-resolver.d.ts +2 -2
  117. package/dist/core/{feathers-CzuSOZgY.d.ts → feathers--R3ml98e.d.cts} +12 -4
  118. package/dist/core/{feathers-CYAHFZ05.d.cts → feathers-C8PkF35p.d.ts} +12 -4
  119. package/dist/core/gateway/index.d.cts +5 -5
  120. package/dist/core/gateway/index.d.ts +5 -5
  121. package/dist/core/{gateway-Ci8LcUxK.d.ts → gateway-BYCTTJVJ.d.ts} +4 -4
  122. package/dist/core/{gateway-gHbaS6qt.d.cts → gateway-D5me_jjo.d.cts} +4 -4
  123. package/dist/core/git/index.d.cts +8 -8
  124. package/dist/core/git/index.d.ts +8 -8
  125. package/dist/core/{id-Cv3ntaTJ.d.cts → id-2oR2NdLp.d.cts} +17 -1
  126. package/dist/core/{id-Cv3ntaTJ.d.ts → id-2oR2NdLp.d.ts} +17 -1
  127. package/dist/core/index.cjs +95 -4
  128. package/dist/core/index.d.cts +19 -19
  129. package/dist/core/index.d.ts +19 -19
  130. package/dist/core/index.js +93 -4
  131. package/dist/core/mcp/index.d.cts +2 -2
  132. package/dist/core/mcp/index.d.ts +2 -2
  133. package/dist/core/{mcp-VhU-PMHo.d.ts → mcp-D7eTnVUO.d.ts} +1 -1
  134. package/dist/core/{mcp-CtC1DFEm.d.cts → mcp-DUrvGUDS.d.cts} +1 -1
  135. package/dist/core/{message-CbD99EwO.d.cts → message-BbDSJvyl.d.cts} +1 -1
  136. package/dist/core/{message-Cwhx2ItQ.d.ts → message-C4Bb-L6c.d.ts} +1 -1
  137. package/dist/core/permissions/index.d.cts +2 -2
  138. package/dist/core/permissions/index.d.ts +2 -2
  139. package/dist/core/{repo-j12tCmyK.d.ts → repo-DaP4omZL.d.ts} +1 -1
  140. package/dist/core/{repo-CcvhnJDf.d.cts → repo-zg1xnWQQ.d.cts} +1 -1
  141. package/dist/core/seed/index.cjs +13 -10
  142. package/dist/core/seed/index.d.cts +1 -1
  143. package/dist/core/seed/index.d.ts +1 -1
  144. package/dist/core/seed/index.js +13 -10
  145. package/dist/core/{session-DEU5FS0N.d.cts → session-C7mvs-rD.d.cts} +2 -2
  146. package/dist/core/{session-Bw8_FN2l.d.ts → session-elEYFVev.d.ts} +2 -2
  147. package/dist/core/{session-guard-CJ7sfOF1.d.ts → session-guard-D7hUa4D2.d.ts} +3 -3
  148. package/dist/core/{session-guard-BjHxMpvV.d.cts → session-guard-DOQgVFL6.d.cts} +3 -3
  149. package/dist/core/{task-CKHC1gPj.d.ts → task-C8SPRSHg.d.ts} +8 -1
  150. package/dist/core/{task-DCPYEXlG.d.cts → task-DJMxZTv4.d.cts} +8 -1
  151. package/dist/core/templates/session-context.d.cts +5 -5
  152. package/dist/core/templates/session-context.d.ts +5 -5
  153. package/dist/core/tools/mcp/jwt-auth.d.cts +2 -2
  154. package/dist/core/tools/mcp/jwt-auth.d.ts +2 -2
  155. package/dist/core/types/index.cjs +7 -0
  156. package/dist/core/types/index.d.cts +16 -16
  157. package/dist/core/types/index.d.ts +16 -16
  158. package/dist/core/types/index.js +6 -0
  159. package/dist/core/{types-BE6DTpRe.d.cts → types-BQRGoDkg.d.cts} +1 -1
  160. package/dist/core/{types-BvYoeNhO.d.ts → types-CvXKxTNP.d.ts} +1 -1
  161. package/dist/core/unix/index.cjs +5 -2
  162. package/dist/core/unix/index.d.cts +8 -8
  163. package/dist/core/unix/index.d.ts +8 -8
  164. package/dist/core/unix/index.js +5 -2
  165. package/dist/core/{user-pO3lB_da.d.ts → user-C9UDwwtA.d.ts} +3 -3
  166. package/dist/core/{user-BpKIlt04.d.cts → user-wScngdUE.d.cts} +3 -3
  167. package/dist/core/utils/board-placement.d.cts +3 -3
  168. package/dist/core/utils/board-placement.d.ts +3 -3
  169. package/dist/core/utils/permission-mode-mapper.d.cts +3 -3
  170. package/dist/core/utils/permission-mode-mapper.d.ts +3 -3
  171. package/dist/core/utils/url.cjs +8 -2
  172. package/dist/core/utils/url.d.cts +1 -1
  173. package/dist/core/utils/url.d.ts +1 -1
  174. package/dist/core/utils/url.js +8 -2
  175. package/dist/daemon/index.d.ts +34 -1
  176. package/dist/daemon/index.js +36 -13
  177. package/dist/daemon/main.d.ts +2 -0
  178. package/dist/daemon/main.js +32581 -0
  179. package/dist/daemon/register-routes.js +15 -0
  180. package/dist/daemon/register-services.js +4 -1
  181. package/dist/daemon/startup.d.ts +2 -0
  182. package/dist/daemon/startup.js +8 -4
  183. package/dist/executor/db/feathers-repositories.d.ts +1 -0
  184. package/dist/executor/db/feathers-repositories.d.ts.map +1 -1
  185. package/dist/executor/db/feathers-repositories.js +1 -0
  186. package/dist/executor/handlers/sdk/base-executor.d.ts.map +1 -1
  187. package/dist/executor/handlers/sdk/base-executor.js +33 -21
  188. package/dist/executor/handlers/sdk/claude.d.ts.map +1 -1
  189. package/dist/executor/handlers/sdk/claude.js +1 -1
  190. package/dist/executor/handlers/sdk/codex.d.ts.map +1 -1
  191. package/dist/executor/handlers/sdk/codex.js +1 -1
  192. package/dist/executor/sdk-handlers/base/diff-enrichment.d.ts +20 -1
  193. package/dist/executor/sdk-handlers/base/diff-enrichment.d.ts.map +1 -1
  194. package/dist/executor/sdk-handlers/base/diff-enrichment.js +264 -26
  195. package/dist/executor/sdk-handlers/claude/claude-tool.d.ts +9 -1
  196. package/dist/executor/sdk-handlers/claude/claude-tool.d.ts.map +1 -1
  197. package/dist/executor/sdk-handlers/claude/claude-tool.js +17 -7
  198. package/dist/executor/sdk-handlers/codex/codex-tool.d.ts +19 -7
  199. package/dist/executor/sdk-handlers/codex/codex-tool.d.ts.map +1 -1
  200. package/dist/executor/sdk-handlers/codex/codex-tool.js +166 -38
  201. package/dist/executor/sdk-handlers/codex/context-window-fallback.d.ts +12 -0
  202. package/dist/executor/sdk-handlers/codex/context-window-fallback.d.ts.map +1 -0
  203. package/dist/executor/sdk-handlers/codex/context-window-fallback.js +72 -0
  204. package/dist/executor/sdk-handlers/codex/prompt-service.d.ts +12 -1
  205. package/dist/executor/sdk-handlers/codex/prompt-service.d.ts.map +1 -1
  206. package/dist/executor/sdk-handlers/codex/prompt-service.js +124 -18
  207. package/dist/executor/sdk-handlers/codex/usage.d.ts +35 -0
  208. package/dist/executor/sdk-handlers/codex/usage.d.ts.map +1 -1
  209. package/dist/executor/sdk-handlers/codex/usage.js +90 -0
  210. package/dist/ui/assets/{_basePickBy-By_woBZB.js → _basePickBy-CQZh_v13.js} +1 -1
  211. package/dist/ui/assets/_basePickBy-CQZh_v13.js.gz +0 -0
  212. package/dist/ui/assets/{_baseUniq-C2jLj-Al.js → _baseUniq-Cgf5LtCM.js} +1 -1
  213. package/dist/ui/assets/_baseUniq-Cgf5LtCM.js.gz +0 -0
  214. package/dist/ui/assets/{arc-DADMFVbt.js → arc-DnTl2a4f.js} +1 -1
  215. package/dist/ui/assets/arc-DnTl2a4f.js.gz +0 -0
  216. package/dist/ui/assets/{architectureDiagram-VXUJARFQ-rNJ5lYJQ.js → architectureDiagram-VXUJARFQ-DZHKQxRL.js} +1 -1
  217. package/dist/ui/assets/{architectureDiagram-VXUJARFQ-rNJ5lYJQ.js.gz → architectureDiagram-VXUJARFQ-DZHKQxRL.js.gz} +0 -0
  218. package/dist/ui/assets/{base-80a1f760-BVsv_T1S.js → base-80a1f760-pDLzaKJY.js} +1 -1
  219. package/dist/ui/assets/{blockDiagram-VD42YOAC-CezN66iB.js → blockDiagram-VD42YOAC-BAOUMLja.js} +1 -1
  220. package/dist/ui/assets/blockDiagram-VD42YOAC-BAOUMLja.js.gz +0 -0
  221. package/dist/ui/assets/{c4Diagram-YG6GDRKO-Dze59YuK.js → c4Diagram-YG6GDRKO-C0xcWHxz.js} +1 -1
  222. package/dist/ui/assets/c4Diagram-YG6GDRKO-C0xcWHxz.js.gz +0 -0
  223. package/dist/ui/assets/channel-DpHH4gqH.js +1 -0
  224. package/dist/ui/assets/{chunk-4BX2VUAB-CXL-V_XA.js → chunk-4BX2VUAB-DCYNUaJZ.js} +1 -1
  225. package/dist/ui/assets/{chunk-55IACEB6-CI3h0xTl.js → chunk-55IACEB6-DU3b1X7p.js} +1 -1
  226. package/dist/ui/assets/{chunk-B4BG7PRW-CFohiEqO.js → chunk-B4BG7PRW-BJlNsfTo.js} +1 -1
  227. package/dist/ui/assets/chunk-B4BG7PRW-BJlNsfTo.js.gz +0 -0
  228. package/dist/ui/assets/{chunk-DI55MBZ5-BbF4fGKj.js → chunk-DI55MBZ5-CKQY-IiF.js} +1 -1
  229. package/dist/ui/assets/chunk-DI55MBZ5-CKQY-IiF.js.gz +0 -0
  230. package/dist/ui/assets/{chunk-FMBD7UC4-C5x6cpDg.js → chunk-FMBD7UC4-DmjQ-Dzu.js} +1 -1
  231. package/dist/ui/assets/{chunk-QN33PNHL-CEDiC29y.js → chunk-QN33PNHL-Bps50N51.js} +1 -1
  232. package/dist/ui/assets/{chunk-QZHKN3VN-DPo28cCF.js → chunk-QZHKN3VN-CNDKr6Xh.js} +1 -1
  233. package/dist/ui/assets/{chunk-TZMSLE5B-C94jSlIG.js → chunk-TZMSLE5B-R2Vz5IHZ.js} +1 -1
  234. package/dist/ui/assets/chunk-TZMSLE5B-R2Vz5IHZ.js.gz +0 -0
  235. package/dist/ui/assets/classDiagram-2ON5EDUG-CbDCU4XU.js +1 -0
  236. package/dist/ui/assets/classDiagram-v2-WZHVMYZB-CbDCU4XU.js +1 -0
  237. package/dist/ui/assets/clone-DSMLFNzW.js +1 -0
  238. package/dist/ui/assets/{consoleHook-59e792cb-cpS6JVM4.js → consoleHook-59e792cb-MfGBgEJx.js} +1 -1
  239. package/dist/ui/assets/consoleHook-59e792cb-MfGBgEJx.js.gz +0 -0
  240. package/dist/ui/assets/{cose-bilkent-S5V4N54A-CcoEg_Ct.js → cose-bilkent-S5V4N54A-Bkbv_h_w.js} +1 -1
  241. package/dist/ui/assets/cose-bilkent-S5V4N54A-Bkbv_h_w.js.gz +0 -0
  242. package/dist/ui/assets/{dagre-6UL2VRFP-DWAyqs2B.js → dagre-6UL2VRFP-DUoxEnB9.js} +1 -1
  243. package/dist/ui/assets/dagre-6UL2VRFP-DUoxEnB9.js.gz +0 -0
  244. package/dist/ui/assets/{diagram-PSM6KHXK-C7J2MNfc.js → diagram-PSM6KHXK-BUdRu7ma.js} +1 -1
  245. package/dist/ui/assets/diagram-PSM6KHXK-BUdRu7ma.js.gz +0 -0
  246. package/dist/ui/assets/{diagram-QEK2KX5R-6KZjqziN.js → diagram-QEK2KX5R-DEoZ3bpF.js} +1 -1
  247. package/dist/ui/assets/diagram-QEK2KX5R-DEoZ3bpF.js.gz +0 -0
  248. package/dist/ui/assets/{diagram-S2PKOQOG-DIL01325.js → diagram-S2PKOQOG-CxM9wSuL.js} +1 -1
  249. package/dist/ui/assets/diagram-S2PKOQOG-CxM9wSuL.js.gz +0 -0
  250. package/dist/ui/assets/{erDiagram-Q2GNP2WA-D5j4CetG.js → erDiagram-Q2GNP2WA-D5VuZpBE.js} +1 -1
  251. package/dist/ui/assets/erDiagram-Q2GNP2WA-D5VuZpBE.js.gz +0 -0
  252. package/dist/ui/assets/{flowDiagram-NV44I4VS-Bxx2iEi-.js → flowDiagram-NV44I4VS-uuzmVpS4.js} +1 -1
  253. package/dist/ui/assets/flowDiagram-NV44I4VS-uuzmVpS4.js.gz +0 -0
  254. package/dist/ui/assets/{ganttDiagram-LVOFAZNH-BtBi1ZfT.js → ganttDiagram-LVOFAZNH-7spsgOUT.js} +1 -1
  255. package/dist/ui/assets/ganttDiagram-LVOFAZNH-7spsgOUT.js.gz +0 -0
  256. package/dist/ui/assets/{gitGraphDiagram-NY62KEGX-CY1TKvzA.js → gitGraphDiagram-NY62KEGX-DJDE3D90.js} +1 -1
  257. package/dist/ui/assets/gitGraphDiagram-NY62KEGX-DJDE3D90.js.gz +0 -0
  258. package/dist/ui/assets/{graph-DC6eH7AX.js → graph-BmWYHUOg.js} +1 -1
  259. package/dist/ui/assets/graph-BmWYHUOg.js.gz +0 -0
  260. package/dist/ui/assets/{index-599aeaf7-Dh_oObwY.js → index-599aeaf7-C76CG5K3.js} +1 -1
  261. package/dist/ui/assets/index-599aeaf7-C76CG5K3.js.gz +0 -0
  262. package/dist/ui/assets/index-B0lOKf7g.js +4 -0
  263. package/dist/ui/assets/index-B0lOKf7g.js.gz +0 -0
  264. package/dist/ui/assets/{index-DJLnZ-9H.js → index-CMrDOI5G.js} +294 -298
  265. package/dist/ui/assets/index-CMrDOI5G.js.gz +0 -0
  266. package/dist/ui/assets/{index-DQn7RJ8z.js → index-CuMJFr7K.js} +1 -1
  267. package/dist/ui/assets/index-CuMJFr7K.js.gz +0 -0
  268. package/dist/ui/assets/{index-CxWOjjRu.js → index-fQo-B6L6.js} +1 -1
  269. package/dist/ui/assets/index-fQo-B6L6.js.gz +0 -0
  270. package/dist/ui/assets/{infoDiagram-ER5ION4S-COpJ37pc.js → infoDiagram-ER5ION4S--dZLWvYP.js} +1 -1
  271. package/dist/ui/assets/{journeyDiagram-XKPGCS4Q-CpODBkng.js → journeyDiagram-XKPGCS4Q-C-Mzd3Ky.js} +1 -1
  272. package/dist/ui/assets/journeyDiagram-XKPGCS4Q-C-Mzd3Ky.js.gz +0 -0
  273. package/dist/ui/assets/{kanban-definition-3W4ZIXB7-DWShJ5Su.js → kanban-definition-3W4ZIXB7-DoDzQCSc.js} +1 -1
  274. package/dist/ui/assets/kanban-definition-3W4ZIXB7-DoDzQCSc.js.gz +0 -0
  275. package/dist/ui/assets/{layout-ttMTfXMb.js → layout-BmSvKYXZ.js} +1 -1
  276. package/dist/ui/assets/layout-BmSvKYXZ.js.gz +0 -0
  277. package/dist/ui/assets/{linear-DD8VTncp.js → linear-BnPF1K20.js} +1 -1
  278. package/dist/ui/assets/linear-BnPF1K20.js.gz +0 -0
  279. package/dist/ui/assets/{mermaid.core-BlvxruUX.js → mermaid.core-Suk7MkfT.js} +5 -5
  280. package/dist/ui/assets/mermaid.core-Suk7MkfT.js.gz +0 -0
  281. package/dist/ui/assets/{mindmap-definition-VGOIOE7T-CR0ESdqM.js → mindmap-definition-VGOIOE7T-Bj9HZQA9.js} +1 -1
  282. package/dist/ui/assets/mindmap-definition-VGOIOE7T-Bj9HZQA9.js.gz +0 -0
  283. package/dist/ui/assets/{pieDiagram-ADFJNKIX-B94eVYhY.js → pieDiagram-ADFJNKIX-BIcJ5ee8.js} +1 -1
  284. package/dist/ui/assets/pieDiagram-ADFJNKIX-BIcJ5ee8.js.gz +0 -0
  285. package/dist/ui/assets/{quadrantDiagram-AYHSOK5B-C4tNKfCm.js → quadrantDiagram-AYHSOK5B-CJm5QQ8N.js} +1 -1
  286. package/dist/ui/assets/quadrantDiagram-AYHSOK5B-CJm5QQ8N.js.gz +0 -0
  287. package/dist/ui/assets/{requirementDiagram-UZGBJVZJ-CuG3A95Q.js → requirementDiagram-UZGBJVZJ-Bg6r943V.js} +1 -1
  288. package/dist/ui/assets/requirementDiagram-UZGBJVZJ-Bg6r943V.js.gz +0 -0
  289. package/dist/ui/assets/{sankeyDiagram-TZEHDZUN-BCfc7mLC.js → sankeyDiagram-TZEHDZUN-C2XnZZZp.js} +1 -1
  290. package/dist/ui/assets/sankeyDiagram-TZEHDZUN-C2XnZZZp.js.gz +0 -0
  291. package/dist/ui/assets/{sequenceDiagram-WL72ISMW-D8tVuIkx.js → sequenceDiagram-WL72ISMW-DOg-bBN1.js} +1 -1
  292. package/dist/ui/assets/sequenceDiagram-WL72ISMW-DOg-bBN1.js.gz +0 -0
  293. package/dist/ui/assets/{stateDiagram-FKZM4ZOC-DvM8so2A.js → stateDiagram-FKZM4ZOC-DgZgPM-o.js} +1 -1
  294. package/dist/ui/assets/stateDiagram-FKZM4ZOC-DgZgPM-o.js.gz +0 -0
  295. package/dist/ui/assets/stateDiagram-v2-4FDKWEC3-C_0TAQGU.js +1 -0
  296. package/dist/ui/assets/{timeline-definition-IT6M3QCI-CP2O8vqw.js → timeline-definition-IT6M3QCI-CmkWt6nL.js} +1 -1
  297. package/dist/ui/assets/timeline-definition-IT6M3QCI-CmkWt6nL.js.gz +0 -0
  298. package/dist/ui/assets/{treemap-KMMF4GRG-SGJAEegj.js → treemap-KMMF4GRG-CV8wwXTM.js} +1 -1
  299. package/dist/ui/assets/treemap-KMMF4GRG-CV8wwXTM.js.gz +0 -0
  300. package/dist/ui/assets/{xychartDiagram-PRI3JC2R-CpwYBSmP.js → xychartDiagram-PRI3JC2R-CvuPvlyn.js} +1 -1
  301. package/dist/ui/assets/xychartDiagram-PRI3JC2R-CvuPvlyn.js.gz +0 -0
  302. package/dist/ui/index.html +1 -1
  303. package/package.json +2 -1
  304. package/dist/ui/assets/_basePickBy-By_woBZB.js.gz +0 -0
  305. package/dist/ui/assets/_baseUniq-C2jLj-Al.js.gz +0 -0
  306. package/dist/ui/assets/arc-DADMFVbt.js.gz +0 -0
  307. package/dist/ui/assets/blockDiagram-VD42YOAC-CezN66iB.js.gz +0 -0
  308. package/dist/ui/assets/c4Diagram-YG6GDRKO-Dze59YuK.js.gz +0 -0
  309. package/dist/ui/assets/channel-B2nSdT47.js +0 -1
  310. package/dist/ui/assets/chunk-B4BG7PRW-CFohiEqO.js.gz +0 -0
  311. package/dist/ui/assets/chunk-DI55MBZ5-BbF4fGKj.js.gz +0 -0
  312. package/dist/ui/assets/chunk-TZMSLE5B-C94jSlIG.js.gz +0 -0
  313. package/dist/ui/assets/classDiagram-2ON5EDUG-lwQJA5v0.js +0 -1
  314. package/dist/ui/assets/classDiagram-v2-WZHVMYZB-lwQJA5v0.js +0 -1
  315. package/dist/ui/assets/clone-DmZ98vg9.js +0 -1
  316. package/dist/ui/assets/consoleHook-59e792cb-cpS6JVM4.js.gz +0 -0
  317. package/dist/ui/assets/cose-bilkent-S5V4N54A-CcoEg_Ct.js.gz +0 -0
  318. package/dist/ui/assets/dagre-6UL2VRFP-DWAyqs2B.js.gz +0 -0
  319. package/dist/ui/assets/diagram-PSM6KHXK-C7J2MNfc.js.gz +0 -0
  320. package/dist/ui/assets/diagram-QEK2KX5R-6KZjqziN.js.gz +0 -0
  321. package/dist/ui/assets/diagram-S2PKOQOG-DIL01325.js.gz +0 -0
  322. package/dist/ui/assets/erDiagram-Q2GNP2WA-D5j4CetG.js.gz +0 -0
  323. package/dist/ui/assets/flowDiagram-NV44I4VS-Bxx2iEi-.js.gz +0 -0
  324. package/dist/ui/assets/ganttDiagram-LVOFAZNH-BtBi1ZfT.js.gz +0 -0
  325. package/dist/ui/assets/gitGraphDiagram-NY62KEGX-CY1TKvzA.js.gz +0 -0
  326. package/dist/ui/assets/graph-DC6eH7AX.js.gz +0 -0
  327. package/dist/ui/assets/index-599aeaf7-Dh_oObwY.js.gz +0 -0
  328. package/dist/ui/assets/index-CxWOjjRu.js.gz +0 -0
  329. package/dist/ui/assets/index-DJLnZ-9H.js.gz +0 -0
  330. package/dist/ui/assets/index-DQn7RJ8z.js.gz +0 -0
  331. package/dist/ui/assets/journeyDiagram-XKPGCS4Q-CpODBkng.js.gz +0 -0
  332. package/dist/ui/assets/kanban-definition-3W4ZIXB7-DWShJ5Su.js.gz +0 -0
  333. package/dist/ui/assets/layout-ttMTfXMb.js.gz +0 -0
  334. package/dist/ui/assets/linear-DD8VTncp.js.gz +0 -0
  335. package/dist/ui/assets/mermaid.core-BlvxruUX.js.gz +0 -0
  336. package/dist/ui/assets/mindmap-definition-VGOIOE7T-CR0ESdqM.js.gz +0 -0
  337. package/dist/ui/assets/pieDiagram-ADFJNKIX-B94eVYhY.js.gz +0 -0
  338. package/dist/ui/assets/quadrantDiagram-AYHSOK5B-C4tNKfCm.js.gz +0 -0
  339. package/dist/ui/assets/requirementDiagram-UZGBJVZJ-CuG3A95Q.js.gz +0 -0
  340. package/dist/ui/assets/sankeyDiagram-TZEHDZUN-BCfc7mLC.js.gz +0 -0
  341. package/dist/ui/assets/sequenceDiagram-WL72ISMW-D8tVuIkx.js.gz +0 -0
  342. package/dist/ui/assets/stateDiagram-FKZM4ZOC-DvM8so2A.js.gz +0 -0
  343. package/dist/ui/assets/stateDiagram-v2-4FDKWEC3-kQ-gZX7K.js +0 -1
  344. package/dist/ui/assets/timeline-definition-IT6M3QCI-CP2O8vqw.js.gz +0 -0
  345. package/dist/ui/assets/treemap-KMMF4GRG-SGJAEegj.js.gz +0 -0
  346. package/dist/ui/assets/xychartDiagram-PRI3JC2R-CpwYBSmP.js.gz +0 -0
@@ -1,7 +1,7 @@
1
- import { A as AgenticToolName, c as CodexSandboxMode, d as CodexApprovalPolicy } from './agentic-tool-1L19ixPC.js';
2
- import { U as UUID, W as WorktreeID, c as UserID, b as SessionID } from './id-Cv3ntaTJ.js';
3
- import { P as PermissionMode } from './session-Bw8_FN2l.js';
4
- import { D as DefaultModelConfig } from './user-pO3lB_da.js';
1
+ import { A as AgenticToolName, c as CodexSandboxMode, d as CodexApprovalPolicy } from './agentic-tool-B6RT-ZX5.js';
2
+ import { U as UUID, W as WorktreeID, d as UserID, b as SessionID } from './id-2oR2NdLp.js';
3
+ import { P as PermissionMode } from './session-elEYFVev.js';
4
+ import { D as DefaultModelConfig } from './user-C9UDwwtA.js';
5
5
 
6
6
  /**
7
7
  * Gateway Service Types
@@ -1,7 +1,7 @@
1
- import { A as AgenticToolName, c as CodexSandboxMode, d as CodexApprovalPolicy } from './agentic-tool-3oiAj9Lg.cjs';
2
- import { U as UUID, W as WorktreeID, c as UserID, b as SessionID } from './id-Cv3ntaTJ.cjs';
3
- import { P as PermissionMode } from './session-DEU5FS0N.cjs';
4
- import { D as DefaultModelConfig } from './user-BpKIlt04.cjs';
1
+ import { A as AgenticToolName, c as CodexSandboxMode, d as CodexApprovalPolicy } from './agentic-tool-Cs4nK-CC.cjs';
2
+ import { U as UUID, W as WorktreeID, d as UserID, b as SessionID } from './id-2oR2NdLp.cjs';
3
+ import { P as PermissionMode } from './session-C7mvs-rD.cjs';
4
+ import { D as DefaultModelConfig } from './user-wScngdUE.cjs';
5
5
 
6
6
  /**
7
7
  * Gateway Service Types
@@ -1,13 +1,13 @@
1
1
  export { simpleGit } from 'simple-git';
2
- export { w as getReposDir, y as getWorktreePath, x as getWorktreesDir } from '../config-manager-DK1LMXEc.cjs';
3
- import '../types-BE6DTpRe.cjs';
4
- import '../config-services-CuhBWSs_.cjs';
5
- import '../agentic-tool-3oiAj9Lg.cjs';
6
- import '../id-Cv3ntaTJ.cjs';
7
- import '../repo-CcvhnJDf.cjs';
8
- import '../session-DEU5FS0N.cjs';
2
+ export { w as getReposDir, y as getWorktreePath, x as getWorktreesDir } from '../config-manager-BbMvB3Lz.cjs';
3
+ import '../types-BQRGoDkg.cjs';
4
+ import '../config-services-CDhfaNpd.cjs';
5
+ import '../agentic-tool-Cs4nK-CC.cjs';
6
+ import '../id-2oR2NdLp.cjs';
7
+ import '../repo-zg1xnWQQ.cjs';
8
+ import '../session-C7mvs-rD.cjs';
9
9
  import '../context-ByxGjp5l.cjs';
10
- import '../user-BpKIlt04.cjs';
10
+ import '../user-wScngdUE.cjs';
11
11
 
12
12
  /**
13
13
  * Git Utils for Agor
@@ -1,13 +1,13 @@
1
1
  export { simpleGit } from 'simple-git';
2
- export { w as getReposDir, y as getWorktreePath, x as getWorktreesDir } from '../config-manager-YrO9mG5j.js';
3
- import '../types-BvYoeNhO.js';
4
- import '../config-services-DrHSgUEm.js';
5
- import '../agentic-tool-1L19ixPC.js';
6
- import '../id-Cv3ntaTJ.js';
7
- import '../repo-j12tCmyK.js';
8
- import '../session-Bw8_FN2l.js';
2
+ export { w as getReposDir, y as getWorktreePath, x as getWorktreesDir } from '../config-manager-etFWO6Wo.js';
3
+ import '../types-CvXKxTNP.js';
4
+ import '../config-services-C848cfbD.js';
5
+ import '../agentic-tool-B6RT-ZX5.js';
6
+ import '../id-2oR2NdLp.js';
7
+ import '../repo-DaP4omZL.js';
8
+ import '../session-elEYFVev.js';
9
9
  import '../context-ByxGjp5l.js';
10
- import '../user-pO3lB_da.js';
10
+ import '../user-C9UDwwtA.js';
11
11
 
12
12
  /**
13
13
  * Git Utils for Agor
@@ -64,6 +64,22 @@ type IDPrefix = string;
64
64
  * const input: IdInput = "01933e4a-7b89-7c35-a8f3-9d2e1c4b5a6f"; // full UUID
65
65
  */
66
66
  type IdInput = string;
67
+ /**
68
+ * Any ID-like input accepted by short-id helpers.
69
+ *
70
+ * Useful at API boundaries where callers may provide:
71
+ * - full UUIDs
72
+ * - short prefixes
73
+ * - plain string IDs not yet branded
74
+ */
75
+ type AnyShortId = UUID | ShortID | string;
76
+ /**
77
+ * Extract short ID prefix from a UUID-like string.
78
+ *
79
+ * Removes hyphens and truncates to the requested length (max 32).
80
+ * Shared by core and client surfaces to keep short-ID behavior consistent.
81
+ */
82
+ declare function toShortId(id: AnyShortId, length?: number): ShortID;
67
83
  /**
68
84
  * Session identifier
69
85
  *
@@ -158,4 +174,4 @@ type CommentID = UUID;
158
174
  */
159
175
  type ArtifactID = UUID;
160
176
 
161
- export type { AgenticToolID as A, BoardID as B, CommentID as C, IDPrefix as I, MessageID as M, RepoID as R, ShortID as S, TaskID as T, UUID as U, WorktreeID as W, IdInput as a, SessionID as b, UserID as c, ArtifactID as d };
177
+ export { type AnyShortId as A, type BoardID as B, type CommentID as C, type IDPrefix as I, type MessageID as M, type RepoID as R, type ShortID as S, type TaskID as T, type UUID as U, type WorktreeID as W, type IdInput as a, type SessionID as b, type AgenticToolID as c, type UserID as d, type ArtifactID as e, toShortId as t };
@@ -64,6 +64,22 @@ type IDPrefix = string;
64
64
  * const input: IdInput = "01933e4a-7b89-7c35-a8f3-9d2e1c4b5a6f"; // full UUID
65
65
  */
66
66
  type IdInput = string;
67
+ /**
68
+ * Any ID-like input accepted by short-id helpers.
69
+ *
70
+ * Useful at API boundaries where callers may provide:
71
+ * - full UUIDs
72
+ * - short prefixes
73
+ * - plain string IDs not yet branded
74
+ */
75
+ type AnyShortId = UUID | ShortID | string;
76
+ /**
77
+ * Extract short ID prefix from a UUID-like string.
78
+ *
79
+ * Removes hyphens and truncates to the requested length (max 32).
80
+ * Shared by core and client surfaces to keep short-ID behavior consistent.
81
+ */
82
+ declare function toShortId(id: AnyShortId, length?: number): ShortID;
67
83
  /**
68
84
  * Session identifier
69
85
  *
@@ -158,4 +174,4 @@ type CommentID = UUID;
158
174
  */
159
175
  type ArtifactID = UUID;
160
176
 
161
- export type { AgenticToolID as A, BoardID as B, CommentID as C, IDPrefix as I, MessageID as M, RepoID as R, ShortID as S, TaskID as T, UUID as U, WorktreeID as W, IdInput as a, SessionID as b, UserID as c, ArtifactID as d };
177
+ export { type AnyShortId as A, type BoardID as B, type CommentID as C, type IDPrefix as I, type MessageID as M, type RepoID as R, type ShortID as S, type TaskID as T, type UUID as U, type WorktreeID as W, type IdInput as a, type SessionID as b, type AgenticToolID as c, type UserID as d, type ArtifactID as e, toShortId as t };
@@ -1029,6 +1029,9 @@ var init_gateway = __esm({
1029
1029
  });
1030
1030
 
1031
1031
  // src/types/id.ts
1032
+ function toShortId(id, length = 8) {
1033
+ return id.replace(/-/g, "").slice(0, Math.min(length, 32));
1034
+ }
1032
1035
  var init_id = __esm({
1033
1036
  "src/types/id.ts"() {
1034
1037
  "use strict";
@@ -2770,8 +2773,7 @@ function isValidShortID(value) {
2770
2773
  return /^[0-9a-f]{8,32}$/i.test(value);
2771
2774
  }
2772
2775
  function shortId(uuid, length = 8) {
2773
- const cleanUuid = uuid.replace(/-/g, "");
2774
- return cleanUuid.slice(0, Math.min(length, 32));
2776
+ return toShortId(uuid, length);
2775
2777
  }
2776
2778
  function formatShortId(uuid, length = 8) {
2777
2779
  return shortId(uuid, length);
@@ -2883,6 +2885,7 @@ var init_ids = __esm({
2883
2885
  "use strict";
2884
2886
  init_cjs_shims();
2885
2887
  import_uuid = require("uuid");
2888
+ init_id();
2886
2889
  IdResolutionError = class extends Error {
2887
2890
  constructor(message, type, prefix, candidates) {
2888
2891
  super(message);
@@ -3142,6 +3145,7 @@ __export(src_exports, {
3142
3145
  lockRowForUpdate: () => lockRowForUpdate,
3143
3146
  mcpServers: () => mcpServers3,
3144
3147
  messages: () => messages3,
3148
+ normalizeFindResult: () => normalizeFindResult,
3145
3149
  normalizeRole: () => normalizeRole,
3146
3150
  or: () => import_drizzle_orm25.or,
3147
3151
  parseAgorYml: () => parseAgorYml,
@@ -3182,6 +3186,7 @@ __export(src_exports, {
3182
3186
  sql: () => import_drizzle_orm25.sql,
3183
3187
  tasks: () => tasks3,
3184
3188
  threadSessionMap: () => threadSessionMap3,
3189
+ toShortId: () => toShortId,
3185
3190
  txAsDb: () => txAsDb,
3186
3191
  unixUserExists: () => unixUserExists,
3187
3192
  unpatchConsole: () => unpatchConsole,
@@ -3217,6 +3222,9 @@ init_constants();
3217
3222
  var import_authentication_client2 = __toESM(require("@feathersjs/authentication-client"), 1);
3218
3223
  var DEFAULT_DAEMON_URL = `http://${DAEMON.DEFAULT_HOST}:${DAEMON.DEFAULT_PORT}`;
3219
3224
  var BOARDS_SERVICE_EXTENDED = Symbol("agor.boardsServiceExtended");
3225
+ var SERVICE_FIND_ALL_EXTENDED = Symbol("agor.serviceFindAllExtended");
3226
+ var CLIENT_SERVICE_FACTORY_EXTENDED = Symbol("agor.clientServiceFactoryExtended");
3227
+ var CLIENT_SESSIONS_HELPERS_EXTENDED = Symbol("agor.clientSessionsHelpersExtended");
3220
3228
  function extendBoardsService(client) {
3221
3229
  const boardsService = client.service("boards");
3222
3230
  if (boardsService[BOARDS_SERVICE_EXTENDED]) {
@@ -3275,6 +3283,82 @@ function extendBoardsService(client) {
3275
3283
  }
3276
3284
  boardsService[BOARDS_SERVICE_EXTENDED] = true;
3277
3285
  }
3286
+ function normalizeFindResult(result) {
3287
+ return Array.isArray(result) ? result : result.data;
3288
+ }
3289
+ function isPaginatedResult(result) {
3290
+ return !Array.isArray(result) && typeof result === "object" && result !== null && Array.isArray(result.data);
3291
+ }
3292
+ function extendFindAllOnService(service) {
3293
+ const findAllService = service;
3294
+ if (findAllService[SERVICE_FIND_ALL_EXTENDED]) {
3295
+ return;
3296
+ }
3297
+ findAllService.findAll = async (params) => {
3298
+ const firstResult = await service.find(params);
3299
+ if (!isPaginatedResult(firstResult)) {
3300
+ return firstResult;
3301
+ }
3302
+ const allData = [...firstResult.data];
3303
+ let total = firstResult.total;
3304
+ let nextSkip = firstResult.skip + firstResult.data.length;
3305
+ const pageLimit = typeof firstResult.limit === "number" && firstResult.limit > 0 ? firstResult.limit : firstResult.data.length;
3306
+ if (!Number.isFinite(total) || pageLimit <= 0) {
3307
+ return allData;
3308
+ }
3309
+ const baseQuery = params?.query && typeof params.query === "object" ? { ...params.query } : void 0;
3310
+ while (allData.length < total) {
3311
+ const nextParams = {
3312
+ ...params ?? {},
3313
+ query: {
3314
+ ...baseQuery ?? {},
3315
+ $skip: nextSkip,
3316
+ $limit: pageLimit
3317
+ }
3318
+ };
3319
+ const nextResult = await service.find(nextParams);
3320
+ if (!isPaginatedResult(nextResult)) {
3321
+ allData.push(...nextResult);
3322
+ break;
3323
+ }
3324
+ if (nextResult.data.length === 0) {
3325
+ break;
3326
+ }
3327
+ allData.push(...nextResult.data);
3328
+ nextSkip = nextResult.skip + nextResult.data.length;
3329
+ total = nextResult.total;
3330
+ }
3331
+ return allData;
3332
+ };
3333
+ findAllService[SERVICE_FIND_ALL_EXTENDED] = true;
3334
+ }
3335
+ function extendServiceFactory(client) {
3336
+ const augmentedClient = client;
3337
+ if (augmentedClient[CLIENT_SERVICE_FACTORY_EXTENDED]) {
3338
+ return;
3339
+ }
3340
+ const rawService = client.service.bind(client);
3341
+ augmentedClient.service = ((path2) => {
3342
+ const service = rawService(path2);
3343
+ extendFindAllOnService(service);
3344
+ return service;
3345
+ });
3346
+ augmentedClient[CLIENT_SERVICE_FACTORY_EXTENDED] = true;
3347
+ }
3348
+ function extendSessionsHelpers(client) {
3349
+ const augmentedClient = client;
3350
+ if (augmentedClient[CLIENT_SESSIONS_HELPERS_EXTENDED]) {
3351
+ return;
3352
+ }
3353
+ client.sessions = {
3354
+ prompt: async (sessionId, prompt, options) => {
3355
+ const { params, ...requestOptions } = options ?? {};
3356
+ const response = await client.service(`sessions/${sessionId}/prompt`).create({ prompt, ...requestOptions }, params);
3357
+ return response;
3358
+ }
3359
+ };
3360
+ augmentedClient[CLIENT_SESSIONS_HELPERS_EXTENDED] = true;
3361
+ }
3278
3362
  function getApiKeyFromEnv() {
3279
3363
  const key = typeof process !== "undefined" ? process.env?.AGOR_API_KEY : null;
3280
3364
  if (key?.startsWith("agor_sk_")) {
@@ -3284,12 +3368,13 @@ function getApiKeyFromEnv() {
3284
3368
  }
3285
3369
  async function createRestClient(url = DEFAULT_DAEMON_URL, apiKey) {
3286
3370
  const client = (0, import_feathers.feathers)();
3371
+ const fetchImpl = globalThis.fetch.bind(globalThis);
3287
3372
  const { default: rest } = await import("@feathersjs/rest-client");
3288
3373
  const fetchFn = apiKey ? (input, init) => {
3289
3374
  const headers = new Headers(init?.headers);
3290
3375
  headers.set("Authorization", `Bearer ${apiKey}`);
3291
- return fetch(input, { ...init, headers });
3292
- } : fetch;
3376
+ return fetchImpl(input, { ...init, headers });
3377
+ } : fetchImpl;
3293
3378
  client.configure(rest(url).fetch(fetchFn));
3294
3379
  client.configure((0, import_authentication_client.default)({ storage: void 0 }));
3295
3380
  client.io = {
@@ -3299,7 +3384,9 @@ async function createRestClient(url = DEFAULT_DAEMON_URL, apiKey) {
3299
3384
  },
3300
3385
  io: { opts: {} }
3301
3386
  };
3387
+ extendServiceFactory(client);
3302
3388
  extendBoardsService(client);
3389
+ extendSessionsHelpers(client);
3303
3390
  return client;
3304
3391
  }
3305
3392
  function createClient(url = DEFAULT_DAEMON_URL, autoConnect = true, options) {
@@ -3347,7 +3434,9 @@ function createClient(url = DEFAULT_DAEMON_URL, autoConnect = true, options) {
3347
3434
  const storage = typeof globalThis !== "undefined" && "localStorage" in globalThis ? globalThis.localStorage : void 0;
3348
3435
  client.configure((0, import_authentication_client.default)({ storage }));
3349
3436
  client.io = socket;
3437
+ extendServiceFactory(client);
3350
3438
  extendBoardsService(client);
3439
+ extendSessionsHelpers(client);
3351
3440
  return client;
3352
3441
  }
3353
3442
  async function isDaemonRunning(url = DEFAULT_DAEMON_URL) {
@@ -13268,6 +13357,7 @@ function unpatchConsole() {
13268
13357
  lockRowForUpdate,
13269
13358
  mcpServers,
13270
13359
  messages,
13360
+ normalizeFindResult,
13271
13361
  normalizeRole,
13272
13362
  or,
13273
13363
  parseAgorYml,
@@ -13308,6 +13398,7 @@ function unpatchConsole() {
13308
13398
  sql,
13309
13399
  tasks,
13310
13400
  threadSessionMap,
13401
+ toShortId,
13311
13402
  txAsDb,
13312
13403
  unixUserExists,
13313
13404
  unpatchConsole,
@@ -1,34 +1,34 @@
1
- export { AgorClient, AgorService, BoardsService, MessagesService, ReposLocalService, ReposService, ServiceTypes, SessionsService, TasksService, WorktreesService, createClient, createRestClient, getApiKeyFromEnv, isDaemonRunning } from './api/index.cjs';
1
+ export { AgorClient, AgorService, BoardsService, ClientInput, CreatePayload, FindResult, MessagesService, PatchPayload, QueuedSessionPromptResult, ReposLocalService, ReposService, RunningSessionPromptResult, ServiceTypes, SessionPromptOptions, SessionPromptRequest, SessionPromptResult, SessionsClientHelpers, SessionsService, TasksService, UpdatePayload, WorktreesService, createClient, createRestClient, getApiKeyFromEnv, isDaemonRunning, normalizeFindResult } from './api/index.cjs';
2
2
  export { AGOR_INTERNAL_ENV_VARS, AGOR_USER_ENV_KEYS_VAR, ALLOWED_ENV_PREFIXES, ALLOWED_ENV_VARS, AgorYmlSchema, ApiKeyName, BLOCKED_ENV_VARS, ENV_VAR_CONSTRAINTS, KeyResolutionContext, KeyResolutionResult, ParsedRepoConfig, ParsedResourcesConfig, ParsedUserConfig, ParsedWorktreeConfig, RepoAction, ResolvedPassword, ResourceValidationError, UserAction, ValidationError, WorktreeAction, buildSlugToRepoIdMap, createUserProcessEnvironment, daemonResourcesConfigSchema, determineRepoAction, determineUserAction, determineWorktreeAction, enforcedAgentConfigSchema, formatValidationError, formatValidationErrors, getEnvVarBlockReason, isEnvVarAllowed, isValid, parseAgorYml, resolveApiKey, resolveApiKeySync, resolvePassword, resolveSystemEnvironment, resolveUserEnvironment, resourceRepoConfigSchema, resourceUserConfigSchema, resourceWorktreeConfigSchema, validateEnvVar, validateResourceCrossReferences, withUserEnvironment, withUserEnvironmentSync, writeAgorYml } from './config/index.cjs';
3
- export { d as ensureCodexHome, e as expandHomePath, g as getAgorHome, k as getBaseUrl, a as getConfigPath, f as getConfigValue, n as getCredential, j as getDaemonUrl, o as getDaemonUser, v as getDataHome, z as getDataHomeAsync, c as getDefaultConfig, w as getReposDir, A as getReposDirAsync, y as getWorktreePath, x as getWorktreesDir, B as getWorktreesDirAsync, i as initConfig, t as isUnixImpersonationEnabled, q as isWorktreeRbacEnabled, l as loadConfig, b as loadConfigFromFile, m as loadConfigSync, p as requireDaemonUser, r as resolveCodexHome, s as saveConfig, h as setConfigValue, u as unsetConfigValue } from './config-manager-DK1LMXEc.cjs';
3
+ export { d as ensureCodexHome, e as expandHomePath, g as getAgorHome, k as getBaseUrl, a as getConfigPath, f as getConfigValue, n as getCredential, j as getDaemonUrl, o as getDaemonUser, v as getDataHome, z as getDataHomeAsync, c as getDefaultConfig, w as getReposDir, A as getReposDirAsync, y as getWorktreePath, x as getWorktreesDir, B as getWorktreesDirAsync, i as initConfig, t as isUnixImpersonationEnabled, q as isWorktreeRbacEnabled, l as loadConfig, b as loadConfigFromFile, m as loadConfigSync, p as requireDaemonUser, r as resolveCodexHome, s as saveConfig, h as setConfigValue, u as unsetConfigValue } from './config-manager-BbMvB3Lz.cjs';
4
4
  export { DAEMON, DATABASE, ENVIRONMENT, GIT, PAGINATION, REPO_SLUG_PATTERN, RepoReference, RepoReferenceOption, SESSION, WEBSOCKET, extractSlugFromUrl, formatRepoReference, getDefaultRepoReference, getGroupedRepoReferenceOptions, getRepoReferenceOptions, isValidGitUrl, isValidSlug, parseRepoReference, resolveRepoReference } from './config/browser.cjs';
5
- export { f as AgorCodexSettings, k as AgorConfig, i as AgorCredentials, b as AgorDaemonSettings, e as AgorDatabaseSettings, A as AgorDefaults, a as AgorDisplaySettings, g as AgorExecutionSettings, j as AgorOnboardingSettings, d as AgorOpenCodeSettings, h as AgorPathSettings, c as AgorUISettings, l as ConfigKey, C as CredentialKey, U as UnknownJson } from './types-BE6DTpRe.cjs';
5
+ export { f as AgorCodexSettings, k as AgorConfig, i as AgorCredentials, b as AgorDaemonSettings, e as AgorDatabaseSettings, A as AgorDefaults, a as AgorDisplaySettings, g as AgorExecutionSettings, j as AgorOnboardingSettings, d as AgorOpenCodeSettings, h as AgorPathSettings, c as AgorUISettings, l as ConfigKey, C as CredentialKey, U as UnknownJson } from './types-BQRGoDkg.cjs';
6
6
  export { ArtifactRepository, BoardCommentsRepository, BoardObjectRepository, BoardRepository, CardRepository, CardTypeRepository, CreateUserData, DEFAULT_ADMIN_USER, GatewayChannelRepository, IdResolutionError, InsertValues, MCPServerRepository, MessagesRepository, MigrationError, MutationResult, RawQueryResult, RepoRepository, SessionMCPServerRepository, TaskRepository, ThreadSessionMapRepository, UnifiedQuery, UnifiedReturning, UserApiKeyPublic, UserApiKeyRow, UserApiKeysRepository, UserMCPOAuthToken, UserMCPOAuthTokenRepository, UsersRepository, WorktreeRepository, WorktreeSessionActivity, WorktreeWithZone, WorktreeWithZoneAndSessions, artifacts, boardComments, boardObjects, boards, cardTypes, cards, checkMigrationStatus, compare, createDefaultAdminUser, createUser, decryptApiKey, deleteFrom, encryptApiKey, executeAll, executeGet, executeRaw, executeRun, formatShortId, gatewayChannels, generateId, generateSlug, generateUniqueSlug, getOne, getUserByEmail, hash, identifyUrlParam, initializeDatabase, insert, insertOne, isEncrypted, isPostgresDatabase, isSQLiteDatabase, isShortId, jsonExtract, lockRowForUpdate, mcpServers, messages, repos, resolveShortId, runMigrations, seedInitialData, select, sessionMcpServers, sessions, tasks, threadSessionMap, txAsDb, update, userApiKeys, userExists, userMcpOauthTokens, users, worktreeOwners, worktrees } from './db/index.cjs';
7
7
  export { CloneOptions, CloneProgress, CloneResult, WorktreeInfo, cleanWorktree, cloneRepo, createWorktree, deleteBranch, deleteRepoDirectory, deleteWorktreeDirectory, extractRepoName, getCurrentBranch, getCurrentSha, getDefaultBranch, getGitState, getRemoteBranches, getRemoteUrl, hasRemoteBranch, isClean, isGitRepo, isValidGitRepo, listWorktrees, pruneWorktrees, removeWorktree } from './git/index.cjs';
8
8
  export { MCPTemplateContext, MCPTemplateResolutionResult, buildMCPTemplateContextFromEnv, resolveMcpServerEnv, resolveMcpServerTemplates, resolveMcpServersTemplates } from './mcp/index.cjs';
9
9
  export { PermissionDecision, PermissionRequest } from './permissions/index.cjs';
10
- export { h as AGENTIC_TOOL_CAPABILITIES, b as AgenticTool, g as AgenticToolCapabilities, A as AgenticToolName, C as ClaudeCodePermissionMode, d as CodexApprovalPolicy, e as CodexNetworkAccess, a as CodexPermissionMode, c as CodexSandboxMode, f as CopilotPermissionMode, G as GeminiPermissionMode, O as OpenCodePermissionMode } from './agentic-tool-3oiAj9Lg.cjs';
11
- export { a as Artifact, A as ArtifactBuildStatus, c as ArtifactConsoleEntry, b as ArtifactPayload, d as ArtifactStatus, S as SandpackManifest } from './artifact-Bi-1jifF.cjs';
12
- export { A as AppBoardObject, f as ArtifactBoardObject, h as Board, c as BoardEntityObject, b as BoardEntityType, i as BoardExportBlob, g as BoardObject, a as BoardObjectType, B as BoardPosition, l as Card, C as CardID, k as CardType, j as CardTypeID, m as CardWithType, M as MarkdownBoardObject, S as SandpackTemplate, T as TextBoardObject, e as ZoneBoardObject, d as ZoneTrigger, Z as ZoneTriggerBehavior } from './board-CPZGf5wF.cjs';
13
- export { B as BoardComment, b as BoardCommentCreate, c as BoardCommentPatch, a as CommentAttachmentType, C as CommentReaction, R as ReactionSummary, g as getCommentAttachmentType, f as groupReactions, d as isReply, e as isResolvable, i as isThreadRoot } from './board-comment-BQKnob6r.cjs';
14
- export { A as ALLOWED_SERVICE_TIERS, i as DEFAULT_SERVICE_TIER, D as DaemonResourcesConfig, e as DaemonServicesConfig, E as EnforcedAgentConfig, R as ResourceRepoConfig, b as ResourceUserConfig, a as ResourceWorktreeConfig, h as SERVICE_DEPENDENCIES, g as SERVICE_GROUP_NAMES, j as SERVICE_GROUP_TO_MCP_DOMAINS, S as SERVICE_TIERS, d as SERVICE_TIER_RANK, p as ServiceDependencyViolation, f as ServiceGroupName, c as ServiceTier, o as ServiceTierViolation, r as autoPromoteDependencies, k as getServiceTier, l as isServiceEnabled, m as isServiceExternallyAccessible, n as isServiceFullAccess, v as validateAllowedTiers, q as validateServiceDependencies } from './config-services-CuhBWSs_.cjs';
10
+ export { h as AGENTIC_TOOL_CAPABILITIES, b as AgenticTool, g as AgenticToolCapabilities, A as AgenticToolName, C as ClaudeCodePermissionMode, d as CodexApprovalPolicy, e as CodexNetworkAccess, a as CodexPermissionMode, c as CodexSandboxMode, f as CopilotPermissionMode, G as GeminiPermissionMode, O as OpenCodePermissionMode } from './agentic-tool-Cs4nK-CC.cjs';
11
+ export { a as Artifact, A as ArtifactBuildStatus, c as ArtifactConsoleEntry, b as ArtifactPayload, d as ArtifactStatus, S as SandpackManifest } from './artifact-DaHQPZVX.cjs';
12
+ export { A as AppBoardObject, f as ArtifactBoardObject, h as Board, c as BoardEntityObject, b as BoardEntityType, i as BoardExportBlob, g as BoardObject, a as BoardObjectType, B as BoardPosition, l as Card, C as CardID, k as CardType, j as CardTypeID, m as CardWithType, M as MarkdownBoardObject, S as SandpackTemplate, T as TextBoardObject, e as ZoneBoardObject, d as ZoneTrigger, Z as ZoneTriggerBehavior } from './board-DogjFoWy.cjs';
13
+ export { B as BoardComment, b as BoardCommentCreate, c as BoardCommentPatch, a as CommentAttachmentType, C as CommentReaction, R as ReactionSummary, g as getCommentAttachmentType, f as groupReactions, d as isReply, e as isResolvable, i as isThreadRoot } from './board-comment-WzJC3SuF.cjs';
14
+ export { A as ALLOWED_SERVICE_TIERS, i as DEFAULT_SERVICE_TIER, D as DaemonResourcesConfig, e as DaemonServicesConfig, E as EnforcedAgentConfig, R as ResourceRepoConfig, b as ResourceUserConfig, a as ResourceWorktreeConfig, h as SERVICE_DEPENDENCIES, g as SERVICE_GROUP_NAMES, j as SERVICE_GROUP_TO_MCP_DOMAINS, S as SERVICE_TIERS, d as SERVICE_TIER_RANK, p as ServiceDependencyViolation, f as ServiceGroupName, c as ServiceTier, o as ServiceTierViolation, r as autoPromoteDependencies, k as getServiceTier, l as isServiceEnabled, m as isServiceExternallyAccessible, n as isServiceFullAccess, v as validateAllowedTiers, q as validateServiceDependencies } from './config-services-CDhfaNpd.cjs';
15
15
  export { b as ContextFileDetail, a as ContextFileListItem, C as ContextFilePath } from './context-ByxGjp5l.cjs';
16
- export { a as AuthenticatedParams, A as AuthenticatedUser, b as AuthenticationResult, B as BaseService, C as CreateHookContext, H as HookContext, Q as QueryParams, R as RBACParams, S as ServiceWithEvents } from './feathers-CYAHFZ05.cjs';
16
+ export { a as AuthenticatedParams, A as AuthenticatedUser, b as AuthenticationResult, B as BaseService, C as CreateHookContext, H as HookContext, Q as QueryParams, R as RBACParams, S as ServiceWithEvents } from './feathers--R3ml98e.cjs';
17
17
  export { ActiveUser, CreateInput, CursorLeaveEvent, CursorMoveEvent, CursorMovedEvent, DeepReadonly, FileDetail, FileListItem, FileListResponse, FilePath, FlattenObject, PaginatedResult, PartialKeys, RemoteCursor, RequireKeys, SessionViewMode, UpdateInput, isDefined, isNonEmptyString } from './types/index.cjs';
18
- export { C as ChannelType, c as GatewayAgenticConfig, d as GatewayChannel, G as GatewayChannelID, b as GatewayEnvVar, e as ThreadSessionMap, T as ThreadSessionMapID, a as ThreadStatus } from './gateway-gHbaS6qt.cjs';
19
- export { A as AgenticToolID, d as ArtifactID, B as BoardID, C as CommentID, I as IDPrefix, a as IdInput, M as MessageID, R as RepoID, b as SessionID, S as ShortID, T as TaskID, U as UUID, c as UserID, W as WorktreeID } from './id-Cv3ntaTJ.cjs';
20
- export { C as CreateMCPServerInput, J as JSONSchema, d as MCPAuth, h as MCPCapabilities, l as MCPConfigFile, g as MCPPrompt, f as MCPResource, b as MCPScope, i as MCPServer, j as MCPServerFilters, M as MCPServerID, m as MCPServersConfig, c as MCPSource, k as MCPTestResult, e as MCPTool, a as MCPTransport, P as PromptArgument, S as SessionMCPServer, T as ToolPermission, U as UpdateMCPServerInput } from './mcp-CtC1DFEm.cjs';
21
- export { C as ContentBlock, D as DiffEnrichment, F as FileDiff, h as InputRequestContent, f as InputRequestOption, g as InputRequestQuestion, I as InputRequestStatus, i as Message, j as MessageCreate, M as MessageRole, b as MessageSource, a as MessageStatus, c as MessageType, e as PermissionRequestContent, P as PermissionScope, d as PermissionStatus, k as StreamingEventType, S as StructuredPatchHunk, T as ToolUse } from './message-CbD99EwO.cjs';
22
- export { A as AssistantConfig, P as PersistedAgentConfig, b as Repo, i as RepoEnvironmentConfig, R as RepoSlug, a as RepoType, e as WORKTREE_PERMISSION_LEVELS, d as Worktree, c as WorktreeConfig, h as WorktreeEnvironmentInstance, W as WorktreeName, f as WorktreePermissionLevel, g as WorktreeScheduleConfig, l as getAssistantConfig, m as getPersistedAgentConfig, j as isAssistant, k as isPersistedAgent } from './repo-CcvhnJDf.cjs';
23
- export { b as Report, R as ReportPath, a as ReportTemplate, c as Task, T as TaskStatus } from './task-DCPYEXlG.cjs';
24
- export { G as GatewaySource, P as PermissionMode, e as ScheduledRunMetadata, a as Session, S as SessionStatus, c as SessionType, f as SpawnConfig, g as getDefaultPermissionMode, b as getGatewaySource, d as getSessionType, i as isGatewaySession } from './session-DEU5FS0N.cjs';
25
- export { A as AudioPreferences, B as BaseUserFields, C as ChimeSound, f as CreateUserInput, b as DefaultAgenticConfig, a as DefaultAgenticToolConfig, D as DefaultModelConfig, E as EventStreamPreferences, O as OnboardingState, R as ROLES, g as UpdateUserInput, d as User, e as UserApiKey, c as UserPreferences, U as UserRole, h as hasMinimumRole, n as normalizeRole } from './user-BpKIlt04.cjs';
18
+ export { C as ChannelType, c as GatewayAgenticConfig, d as GatewayChannel, G as GatewayChannelID, b as GatewayEnvVar, e as ThreadSessionMap, T as ThreadSessionMapID, a as ThreadStatus } from './gateway-D5me_jjo.cjs';
19
+ export { c as AgenticToolID, A as AnyShortId, e as ArtifactID, B as BoardID, C as CommentID, I as IDPrefix, a as IdInput, M as MessageID, R as RepoID, b as SessionID, S as ShortID, T as TaskID, U as UUID, d as UserID, W as WorktreeID, t as toShortId } from './id-2oR2NdLp.cjs';
20
+ export { C as CreateMCPServerInput, J as JSONSchema, d as MCPAuth, h as MCPCapabilities, l as MCPConfigFile, g as MCPPrompt, f as MCPResource, b as MCPScope, i as MCPServer, j as MCPServerFilters, M as MCPServerID, m as MCPServersConfig, c as MCPSource, k as MCPTestResult, e as MCPTool, a as MCPTransport, P as PromptArgument, S as SessionMCPServer, T as ToolPermission, U as UpdateMCPServerInput } from './mcp-DUrvGUDS.cjs';
21
+ export { C as ContentBlock, D as DiffEnrichment, F as FileDiff, h as InputRequestContent, f as InputRequestOption, g as InputRequestQuestion, I as InputRequestStatus, i as Message, j as MessageCreate, M as MessageRole, b as MessageSource, a as MessageStatus, c as MessageType, e as PermissionRequestContent, P as PermissionScope, d as PermissionStatus, k as StreamingEventType, S as StructuredPatchHunk, T as ToolUse } from './message-BbDSJvyl.cjs';
22
+ export { A as AssistantConfig, P as PersistedAgentConfig, b as Repo, i as RepoEnvironmentConfig, R as RepoSlug, a as RepoType, e as WORKTREE_PERMISSION_LEVELS, d as Worktree, c as WorktreeConfig, h as WorktreeEnvironmentInstance, W as WorktreeName, f as WorktreePermissionLevel, g as WorktreeScheduleConfig, l as getAssistantConfig, m as getPersistedAgentConfig, j as isAssistant, k as isPersistedAgent } from './repo-zg1xnWQQ.cjs';
23
+ export { b as Report, R as ReportPath, a as ReportTemplate, c as Task, T as TaskStatus } from './task-DJMxZTv4.cjs';
24
+ export { G as GatewaySource, P as PermissionMode, e as ScheduledRunMetadata, a as Session, S as SessionStatus, c as SessionType, f as SpawnConfig, g as getDefaultPermissionMode, b as getGatewaySource, d as getSessionType, i as isGatewaySession } from './session-C7mvs-rD.cjs';
25
+ export { A as AudioPreferences, B as BaseUserFields, C as ChimeSound, f as CreateUserInput, b as DefaultAgenticConfig, a as DefaultAgenticToolConfig, D as DefaultModelConfig, E as EventStreamPreferences, O as OnboardingState, R as ROLES, g as UpdateUserInput, d as User, e as UserApiKey, c as UserPreferences, U as UserRole, h as hasMinimumRole, n as normalizeRole } from './user-wScngdUE.cjs';
26
26
  export { AGOR_DEFAULT_SHELL, AGOR_HOME_BASE, AGOR_USERS_GROUP, AGOR_WORKTREES_DIR, AGOR_ZELLIJ_CONFIG, BuildSpawnArgsOptions, CommandError, CommandExecutor, CommandResult, CreateExecutorOptions, DirectExecutor, DryRunExecutor, EnvironmentCommandType, ExecWithInputOptions, ImpersonationResult, LoggingExecutor, NoOpExecutor, REPO_GIT_PERMISSION_MODE, ResolveImpersonationOptions, RunAsUserOptions, SpawnEnvironmentCommandOptions, SudoCliExecutor, SudoCliExecutorConfig, SudoDirectExecutor, SymlinkCommands, ThrowingExecutor, UnixGroupCommands, UnixIntegrationConfig, UnixIntegrationService, UnixOperationResult, UnixUserCommands, UnixUserMode, UnixUserNotFoundError, WorktreePermissionModes, WorktreeSymlinkInfo, buildSpawnArgs, buildSymlinkInfo, checkAsUser, createAdminExecutor, createExecutor, escapeShellArg, generateRepoGroupName, generateUnixUsername, generateWorktreeGroupName, getGidFromGroupName, getUidFromUsername, getUserHomeDir, getUserWorktreesDir, getWorktreePermissionMode, getWorktreeSymlinkPath, isAutoGeneratedUsername, isValidRepoGroupName, isValidUnixUsername, isValidWorktreeGroupName, parseRepoGroupName, parseUnixUsername, parseWorktreeGroupName, resolveUnixUserForImpersonation, runAsUser, spawnEnvironmentCommand, unixUserExists, validateResolvedUnixUser } from './unix/index.cjs';
27
27
  export { patchConsole, unpatchConsole } from './utils/logger.cjs';
28
28
  export { default as authenticationClient } from '@feathersjs/authentication-client';
29
29
  export { SQL, and, asc, desc, eq, inArray, like, or, sql } from 'drizzle-orm';
30
- export { h as ArtifactInsert, A as ArtifactRow, F as BoardCommentInsert, E as BoardCommentRow, l as BoardInsert, z as BoardObjectInsert, y as BoardObjectRow, B as BoardRow, x as CardInsert, w as CardRow, v as CardTypeInsert, C as CardTypeRow, e as DEFAULT_DB_PATH, d as Database, a as DatabaseConnectionError, D as DbConfig, H as GatewayChannelInsert, G as GatewayChannelRow, q as MCPServerInsert, p as MCPServerRow, k as MessageInsert, M as MessageRow, m as RepoInsert, R as RepoRow, i as SessionInsert, s as SessionMCPServerInsert, r as SessionMCPServerRow, S as SessionRow, j as TaskInsert, T as TaskRow, J as ThreadSessionMapInsert, I as ThreadSessionMapRow, o as UserInsert, u as UserMCPOAuthTokenInsert, t as UserMCPOAuthTokenRow, U as UserRow, n as WorktreeInsert, W as WorktreeRow, c as createDatabase, b as createDatabaseAsync, f as createLocalDatabase, g as getDatabaseUrl, K as sessionsRelations, L as worktreesRelations } from './client-BC_18M7T.cjs';
31
- export { A as AmbiguousIdError, B as BaseRepository, E as EntityNotFoundError, R as RepositoryError, a as SessionRepository, S as SessionWithLastMessage, i as isForeignKeyConstraintError, w as withSessionGuard } from './session-guard-BjHxMpvV.cjs';
30
+ export { h as ArtifactInsert, A as ArtifactRow, F as BoardCommentInsert, E as BoardCommentRow, l as BoardInsert, z as BoardObjectInsert, y as BoardObjectRow, B as BoardRow, x as CardInsert, w as CardRow, v as CardTypeInsert, C as CardTypeRow, e as DEFAULT_DB_PATH, d as Database, a as DatabaseConnectionError, D as DbConfig, H as GatewayChannelInsert, G as GatewayChannelRow, q as MCPServerInsert, p as MCPServerRow, k as MessageInsert, M as MessageRow, m as RepoInsert, R as RepoRow, i as SessionInsert, s as SessionMCPServerInsert, r as SessionMCPServerRow, S as SessionRow, j as TaskInsert, T as TaskRow, J as ThreadSessionMapInsert, I as ThreadSessionMapRow, o as UserInsert, u as UserMCPOAuthTokenInsert, t as UserMCPOAuthTokenRow, U as UserRow, n as WorktreeInsert, W as WorktreeRow, c as createDatabase, b as createDatabaseAsync, f as createLocalDatabase, g as getDatabaseUrl, K as sessionsRelations, L as worktreesRelations } from './client-XpghdMQL.cjs';
31
+ export { A as AmbiguousIdError, B as BaseRepository, E as EntityNotFoundError, R as RepositoryError, a as SessionRepository, S as SessionWithLastMessage, i as isForeignKeyConstraintError, w as withSessionGuard } from './session-guard-DOQgVFL6.cjs';
32
32
  export { simpleGit } from 'simple-git';
33
33
  export { Id, NullableId, Paginated, Params, Service, ServiceMethods } from '@feathersjs/feathers';
34
34
  import 'socket.io-client';
@@ -1,34 +1,34 @@
1
- export { AgorClient, AgorService, BoardsService, MessagesService, ReposLocalService, ReposService, ServiceTypes, SessionsService, TasksService, WorktreesService, createClient, createRestClient, getApiKeyFromEnv, isDaemonRunning } from './api/index.js';
1
+ export { AgorClient, AgorService, BoardsService, ClientInput, CreatePayload, FindResult, MessagesService, PatchPayload, QueuedSessionPromptResult, ReposLocalService, ReposService, RunningSessionPromptResult, ServiceTypes, SessionPromptOptions, SessionPromptRequest, SessionPromptResult, SessionsClientHelpers, SessionsService, TasksService, UpdatePayload, WorktreesService, createClient, createRestClient, getApiKeyFromEnv, isDaemonRunning, normalizeFindResult } from './api/index.js';
2
2
  export { AGOR_INTERNAL_ENV_VARS, AGOR_USER_ENV_KEYS_VAR, ALLOWED_ENV_PREFIXES, ALLOWED_ENV_VARS, AgorYmlSchema, ApiKeyName, BLOCKED_ENV_VARS, ENV_VAR_CONSTRAINTS, KeyResolutionContext, KeyResolutionResult, ParsedRepoConfig, ParsedResourcesConfig, ParsedUserConfig, ParsedWorktreeConfig, RepoAction, ResolvedPassword, ResourceValidationError, UserAction, ValidationError, WorktreeAction, buildSlugToRepoIdMap, createUserProcessEnvironment, daemonResourcesConfigSchema, determineRepoAction, determineUserAction, determineWorktreeAction, enforcedAgentConfigSchema, formatValidationError, formatValidationErrors, getEnvVarBlockReason, isEnvVarAllowed, isValid, parseAgorYml, resolveApiKey, resolveApiKeySync, resolvePassword, resolveSystemEnvironment, resolveUserEnvironment, resourceRepoConfigSchema, resourceUserConfigSchema, resourceWorktreeConfigSchema, validateEnvVar, validateResourceCrossReferences, withUserEnvironment, withUserEnvironmentSync, writeAgorYml } from './config/index.js';
3
- export { d as ensureCodexHome, e as expandHomePath, g as getAgorHome, k as getBaseUrl, a as getConfigPath, f as getConfigValue, n as getCredential, j as getDaemonUrl, o as getDaemonUser, v as getDataHome, z as getDataHomeAsync, c as getDefaultConfig, w as getReposDir, A as getReposDirAsync, y as getWorktreePath, x as getWorktreesDir, B as getWorktreesDirAsync, i as initConfig, t as isUnixImpersonationEnabled, q as isWorktreeRbacEnabled, l as loadConfig, b as loadConfigFromFile, m as loadConfigSync, p as requireDaemonUser, r as resolveCodexHome, s as saveConfig, h as setConfigValue, u as unsetConfigValue } from './config-manager-YrO9mG5j.js';
3
+ export { d as ensureCodexHome, e as expandHomePath, g as getAgorHome, k as getBaseUrl, a as getConfigPath, f as getConfigValue, n as getCredential, j as getDaemonUrl, o as getDaemonUser, v as getDataHome, z as getDataHomeAsync, c as getDefaultConfig, w as getReposDir, A as getReposDirAsync, y as getWorktreePath, x as getWorktreesDir, B as getWorktreesDirAsync, i as initConfig, t as isUnixImpersonationEnabled, q as isWorktreeRbacEnabled, l as loadConfig, b as loadConfigFromFile, m as loadConfigSync, p as requireDaemonUser, r as resolveCodexHome, s as saveConfig, h as setConfigValue, u as unsetConfigValue } from './config-manager-etFWO6Wo.js';
4
4
  export { DAEMON, DATABASE, ENVIRONMENT, GIT, PAGINATION, REPO_SLUG_PATTERN, RepoReference, RepoReferenceOption, SESSION, WEBSOCKET, extractSlugFromUrl, formatRepoReference, getDefaultRepoReference, getGroupedRepoReferenceOptions, getRepoReferenceOptions, isValidGitUrl, isValidSlug, parseRepoReference, resolveRepoReference } from './config/browser.js';
5
- export { f as AgorCodexSettings, k as AgorConfig, i as AgorCredentials, b as AgorDaemonSettings, e as AgorDatabaseSettings, A as AgorDefaults, a as AgorDisplaySettings, g as AgorExecutionSettings, j as AgorOnboardingSettings, d as AgorOpenCodeSettings, h as AgorPathSettings, c as AgorUISettings, l as ConfigKey, C as CredentialKey, U as UnknownJson } from './types-BvYoeNhO.js';
5
+ export { f as AgorCodexSettings, k as AgorConfig, i as AgorCredentials, b as AgorDaemonSettings, e as AgorDatabaseSettings, A as AgorDefaults, a as AgorDisplaySettings, g as AgorExecutionSettings, j as AgorOnboardingSettings, d as AgorOpenCodeSettings, h as AgorPathSettings, c as AgorUISettings, l as ConfigKey, C as CredentialKey, U as UnknownJson } from './types-CvXKxTNP.js';
6
6
  export { ArtifactRepository, BoardCommentsRepository, BoardObjectRepository, BoardRepository, CardRepository, CardTypeRepository, CreateUserData, DEFAULT_ADMIN_USER, GatewayChannelRepository, IdResolutionError, InsertValues, MCPServerRepository, MessagesRepository, MigrationError, MutationResult, RawQueryResult, RepoRepository, SessionMCPServerRepository, TaskRepository, ThreadSessionMapRepository, UnifiedQuery, UnifiedReturning, UserApiKeyPublic, UserApiKeyRow, UserApiKeysRepository, UserMCPOAuthToken, UserMCPOAuthTokenRepository, UsersRepository, WorktreeRepository, WorktreeSessionActivity, WorktreeWithZone, WorktreeWithZoneAndSessions, artifacts, boardComments, boardObjects, boards, cardTypes, cards, checkMigrationStatus, compare, createDefaultAdminUser, createUser, decryptApiKey, deleteFrom, encryptApiKey, executeAll, executeGet, executeRaw, executeRun, formatShortId, gatewayChannels, generateId, generateSlug, generateUniqueSlug, getOne, getUserByEmail, hash, identifyUrlParam, initializeDatabase, insert, insertOne, isEncrypted, isPostgresDatabase, isSQLiteDatabase, isShortId, jsonExtract, lockRowForUpdate, mcpServers, messages, repos, resolveShortId, runMigrations, seedInitialData, select, sessionMcpServers, sessions, tasks, threadSessionMap, txAsDb, update, userApiKeys, userExists, userMcpOauthTokens, users, worktreeOwners, worktrees } from './db/index.js';
7
7
  export { CloneOptions, CloneProgress, CloneResult, WorktreeInfo, cleanWorktree, cloneRepo, createWorktree, deleteBranch, deleteRepoDirectory, deleteWorktreeDirectory, extractRepoName, getCurrentBranch, getCurrentSha, getDefaultBranch, getGitState, getRemoteBranches, getRemoteUrl, hasRemoteBranch, isClean, isGitRepo, isValidGitRepo, listWorktrees, pruneWorktrees, removeWorktree } from './git/index.js';
8
8
  export { MCPTemplateContext, MCPTemplateResolutionResult, buildMCPTemplateContextFromEnv, resolveMcpServerEnv, resolveMcpServerTemplates, resolveMcpServersTemplates } from './mcp/index.js';
9
9
  export { PermissionDecision, PermissionRequest } from './permissions/index.js';
10
- export { h as AGENTIC_TOOL_CAPABILITIES, b as AgenticTool, g as AgenticToolCapabilities, A as AgenticToolName, C as ClaudeCodePermissionMode, d as CodexApprovalPolicy, e as CodexNetworkAccess, a as CodexPermissionMode, c as CodexSandboxMode, f as CopilotPermissionMode, G as GeminiPermissionMode, O as OpenCodePermissionMode } from './agentic-tool-1L19ixPC.js';
11
- export { a as Artifact, A as ArtifactBuildStatus, c as ArtifactConsoleEntry, b as ArtifactPayload, d as ArtifactStatus, S as SandpackManifest } from './artifact-B5MFR79G.js';
12
- export { A as AppBoardObject, f as ArtifactBoardObject, h as Board, c as BoardEntityObject, b as BoardEntityType, i as BoardExportBlob, g as BoardObject, a as BoardObjectType, B as BoardPosition, l as Card, C as CardID, k as CardType, j as CardTypeID, m as CardWithType, M as MarkdownBoardObject, S as SandpackTemplate, T as TextBoardObject, e as ZoneBoardObject, d as ZoneTrigger, Z as ZoneTriggerBehavior } from './board-B9Xnux_i.js';
13
- export { B as BoardComment, b as BoardCommentCreate, c as BoardCommentPatch, a as CommentAttachmentType, C as CommentReaction, R as ReactionSummary, g as getCommentAttachmentType, f as groupReactions, d as isReply, e as isResolvable, i as isThreadRoot } from './board-comment-BoDqwrnL.js';
14
- export { A as ALLOWED_SERVICE_TIERS, i as DEFAULT_SERVICE_TIER, D as DaemonResourcesConfig, e as DaemonServicesConfig, E as EnforcedAgentConfig, R as ResourceRepoConfig, b as ResourceUserConfig, a as ResourceWorktreeConfig, h as SERVICE_DEPENDENCIES, g as SERVICE_GROUP_NAMES, j as SERVICE_GROUP_TO_MCP_DOMAINS, S as SERVICE_TIERS, d as SERVICE_TIER_RANK, p as ServiceDependencyViolation, f as ServiceGroupName, c as ServiceTier, o as ServiceTierViolation, r as autoPromoteDependencies, k as getServiceTier, l as isServiceEnabled, m as isServiceExternallyAccessible, n as isServiceFullAccess, v as validateAllowedTiers, q as validateServiceDependencies } from './config-services-DrHSgUEm.js';
10
+ export { h as AGENTIC_TOOL_CAPABILITIES, b as AgenticTool, g as AgenticToolCapabilities, A as AgenticToolName, C as ClaudeCodePermissionMode, d as CodexApprovalPolicy, e as CodexNetworkAccess, a as CodexPermissionMode, c as CodexSandboxMode, f as CopilotPermissionMode, G as GeminiPermissionMode, O as OpenCodePermissionMode } from './agentic-tool-B6RT-ZX5.js';
11
+ export { a as Artifact, A as ArtifactBuildStatus, c as ArtifactConsoleEntry, b as ArtifactPayload, d as ArtifactStatus, S as SandpackManifest } from './artifact-CIQzxjNP.js';
12
+ export { A as AppBoardObject, f as ArtifactBoardObject, h as Board, c as BoardEntityObject, b as BoardEntityType, i as BoardExportBlob, g as BoardObject, a as BoardObjectType, B as BoardPosition, l as Card, C as CardID, k as CardType, j as CardTypeID, m as CardWithType, M as MarkdownBoardObject, S as SandpackTemplate, T as TextBoardObject, e as ZoneBoardObject, d as ZoneTrigger, Z as ZoneTriggerBehavior } from './board-DG--dAS_.js';
13
+ export { B as BoardComment, b as BoardCommentCreate, c as BoardCommentPatch, a as CommentAttachmentType, C as CommentReaction, R as ReactionSummary, g as getCommentAttachmentType, f as groupReactions, d as isReply, e as isResolvable, i as isThreadRoot } from './board-comment-9ORrSlA1.js';
14
+ export { A as ALLOWED_SERVICE_TIERS, i as DEFAULT_SERVICE_TIER, D as DaemonResourcesConfig, e as DaemonServicesConfig, E as EnforcedAgentConfig, R as ResourceRepoConfig, b as ResourceUserConfig, a as ResourceWorktreeConfig, h as SERVICE_DEPENDENCIES, g as SERVICE_GROUP_NAMES, j as SERVICE_GROUP_TO_MCP_DOMAINS, S as SERVICE_TIERS, d as SERVICE_TIER_RANK, p as ServiceDependencyViolation, f as ServiceGroupName, c as ServiceTier, o as ServiceTierViolation, r as autoPromoteDependencies, k as getServiceTier, l as isServiceEnabled, m as isServiceExternallyAccessible, n as isServiceFullAccess, v as validateAllowedTiers, q as validateServiceDependencies } from './config-services-C848cfbD.js';
15
15
  export { b as ContextFileDetail, a as ContextFileListItem, C as ContextFilePath } from './context-ByxGjp5l.js';
16
- export { a as AuthenticatedParams, A as AuthenticatedUser, b as AuthenticationResult, B as BaseService, C as CreateHookContext, H as HookContext, Q as QueryParams, R as RBACParams, S as ServiceWithEvents } from './feathers-CzuSOZgY.js';
16
+ export { a as AuthenticatedParams, A as AuthenticatedUser, b as AuthenticationResult, B as BaseService, C as CreateHookContext, H as HookContext, Q as QueryParams, R as RBACParams, S as ServiceWithEvents } from './feathers-C8PkF35p.js';
17
17
  export { ActiveUser, CreateInput, CursorLeaveEvent, CursorMoveEvent, CursorMovedEvent, DeepReadonly, FileDetail, FileListItem, FileListResponse, FilePath, FlattenObject, PaginatedResult, PartialKeys, RemoteCursor, RequireKeys, SessionViewMode, UpdateInput, isDefined, isNonEmptyString } from './types/index.js';
18
- export { C as ChannelType, c as GatewayAgenticConfig, d as GatewayChannel, G as GatewayChannelID, b as GatewayEnvVar, e as ThreadSessionMap, T as ThreadSessionMapID, a as ThreadStatus } from './gateway-Ci8LcUxK.js';
19
- export { A as AgenticToolID, d as ArtifactID, B as BoardID, C as CommentID, I as IDPrefix, a as IdInput, M as MessageID, R as RepoID, b as SessionID, S as ShortID, T as TaskID, U as UUID, c as UserID, W as WorktreeID } from './id-Cv3ntaTJ.js';
20
- export { C as CreateMCPServerInput, J as JSONSchema, d as MCPAuth, h as MCPCapabilities, l as MCPConfigFile, g as MCPPrompt, f as MCPResource, b as MCPScope, i as MCPServer, j as MCPServerFilters, M as MCPServerID, m as MCPServersConfig, c as MCPSource, k as MCPTestResult, e as MCPTool, a as MCPTransport, P as PromptArgument, S as SessionMCPServer, T as ToolPermission, U as UpdateMCPServerInput } from './mcp-VhU-PMHo.js';
21
- export { C as ContentBlock, D as DiffEnrichment, F as FileDiff, h as InputRequestContent, f as InputRequestOption, g as InputRequestQuestion, I as InputRequestStatus, i as Message, j as MessageCreate, M as MessageRole, b as MessageSource, a as MessageStatus, c as MessageType, e as PermissionRequestContent, P as PermissionScope, d as PermissionStatus, k as StreamingEventType, S as StructuredPatchHunk, T as ToolUse } from './message-Cwhx2ItQ.js';
22
- export { A as AssistantConfig, P as PersistedAgentConfig, b as Repo, i as RepoEnvironmentConfig, R as RepoSlug, a as RepoType, e as WORKTREE_PERMISSION_LEVELS, d as Worktree, c as WorktreeConfig, h as WorktreeEnvironmentInstance, W as WorktreeName, f as WorktreePermissionLevel, g as WorktreeScheduleConfig, l as getAssistantConfig, m as getPersistedAgentConfig, j as isAssistant, k as isPersistedAgent } from './repo-j12tCmyK.js';
23
- export { b as Report, R as ReportPath, a as ReportTemplate, c as Task, T as TaskStatus } from './task-CKHC1gPj.js';
24
- export { G as GatewaySource, P as PermissionMode, e as ScheduledRunMetadata, a as Session, S as SessionStatus, c as SessionType, f as SpawnConfig, g as getDefaultPermissionMode, b as getGatewaySource, d as getSessionType, i as isGatewaySession } from './session-Bw8_FN2l.js';
25
- export { A as AudioPreferences, B as BaseUserFields, C as ChimeSound, f as CreateUserInput, b as DefaultAgenticConfig, a as DefaultAgenticToolConfig, D as DefaultModelConfig, E as EventStreamPreferences, O as OnboardingState, R as ROLES, g as UpdateUserInput, d as User, e as UserApiKey, c as UserPreferences, U as UserRole, h as hasMinimumRole, n as normalizeRole } from './user-pO3lB_da.js';
18
+ export { C as ChannelType, c as GatewayAgenticConfig, d as GatewayChannel, G as GatewayChannelID, b as GatewayEnvVar, e as ThreadSessionMap, T as ThreadSessionMapID, a as ThreadStatus } from './gateway-BYCTTJVJ.js';
19
+ export { c as AgenticToolID, A as AnyShortId, e as ArtifactID, B as BoardID, C as CommentID, I as IDPrefix, a as IdInput, M as MessageID, R as RepoID, b as SessionID, S as ShortID, T as TaskID, U as UUID, d as UserID, W as WorktreeID, t as toShortId } from './id-2oR2NdLp.js';
20
+ export { C as CreateMCPServerInput, J as JSONSchema, d as MCPAuth, h as MCPCapabilities, l as MCPConfigFile, g as MCPPrompt, f as MCPResource, b as MCPScope, i as MCPServer, j as MCPServerFilters, M as MCPServerID, m as MCPServersConfig, c as MCPSource, k as MCPTestResult, e as MCPTool, a as MCPTransport, P as PromptArgument, S as SessionMCPServer, T as ToolPermission, U as UpdateMCPServerInput } from './mcp-D7eTnVUO.js';
21
+ export { C as ContentBlock, D as DiffEnrichment, F as FileDiff, h as InputRequestContent, f as InputRequestOption, g as InputRequestQuestion, I as InputRequestStatus, i as Message, j as MessageCreate, M as MessageRole, b as MessageSource, a as MessageStatus, c as MessageType, e as PermissionRequestContent, P as PermissionScope, d as PermissionStatus, k as StreamingEventType, S as StructuredPatchHunk, T as ToolUse } from './message-C4Bb-L6c.js';
22
+ export { A as AssistantConfig, P as PersistedAgentConfig, b as Repo, i as RepoEnvironmentConfig, R as RepoSlug, a as RepoType, e as WORKTREE_PERMISSION_LEVELS, d as Worktree, c as WorktreeConfig, h as WorktreeEnvironmentInstance, W as WorktreeName, f as WorktreePermissionLevel, g as WorktreeScheduleConfig, l as getAssistantConfig, m as getPersistedAgentConfig, j as isAssistant, k as isPersistedAgent } from './repo-DaP4omZL.js';
23
+ export { b as Report, R as ReportPath, a as ReportTemplate, c as Task, T as TaskStatus } from './task-C8SPRSHg.js';
24
+ export { G as GatewaySource, P as PermissionMode, e as ScheduledRunMetadata, a as Session, S as SessionStatus, c as SessionType, f as SpawnConfig, g as getDefaultPermissionMode, b as getGatewaySource, d as getSessionType, i as isGatewaySession } from './session-elEYFVev.js';
25
+ export { A as AudioPreferences, B as BaseUserFields, C as ChimeSound, f as CreateUserInput, b as DefaultAgenticConfig, a as DefaultAgenticToolConfig, D as DefaultModelConfig, E as EventStreamPreferences, O as OnboardingState, R as ROLES, g as UpdateUserInput, d as User, e as UserApiKey, c as UserPreferences, U as UserRole, h as hasMinimumRole, n as normalizeRole } from './user-C9UDwwtA.js';
26
26
  export { AGOR_DEFAULT_SHELL, AGOR_HOME_BASE, AGOR_USERS_GROUP, AGOR_WORKTREES_DIR, AGOR_ZELLIJ_CONFIG, BuildSpawnArgsOptions, CommandError, CommandExecutor, CommandResult, CreateExecutorOptions, DirectExecutor, DryRunExecutor, EnvironmentCommandType, ExecWithInputOptions, ImpersonationResult, LoggingExecutor, NoOpExecutor, REPO_GIT_PERMISSION_MODE, ResolveImpersonationOptions, RunAsUserOptions, SpawnEnvironmentCommandOptions, SudoCliExecutor, SudoCliExecutorConfig, SudoDirectExecutor, SymlinkCommands, ThrowingExecutor, UnixGroupCommands, UnixIntegrationConfig, UnixIntegrationService, UnixOperationResult, UnixUserCommands, UnixUserMode, UnixUserNotFoundError, WorktreePermissionModes, WorktreeSymlinkInfo, buildSpawnArgs, buildSymlinkInfo, checkAsUser, createAdminExecutor, createExecutor, escapeShellArg, generateRepoGroupName, generateUnixUsername, generateWorktreeGroupName, getGidFromGroupName, getUidFromUsername, getUserHomeDir, getUserWorktreesDir, getWorktreePermissionMode, getWorktreeSymlinkPath, isAutoGeneratedUsername, isValidRepoGroupName, isValidUnixUsername, isValidWorktreeGroupName, parseRepoGroupName, parseUnixUsername, parseWorktreeGroupName, resolveUnixUserForImpersonation, runAsUser, spawnEnvironmentCommand, unixUserExists, validateResolvedUnixUser } from './unix/index.js';
27
27
  export { patchConsole, unpatchConsole } from './utils/logger.js';
28
28
  export { default as authenticationClient } from '@feathersjs/authentication-client';
29
29
  export { SQL, and, asc, desc, eq, inArray, like, or, sql } from 'drizzle-orm';
30
- export { h as ArtifactInsert, A as ArtifactRow, F as BoardCommentInsert, E as BoardCommentRow, l as BoardInsert, z as BoardObjectInsert, y as BoardObjectRow, B as BoardRow, x as CardInsert, w as CardRow, v as CardTypeInsert, C as CardTypeRow, e as DEFAULT_DB_PATH, d as Database, a as DatabaseConnectionError, D as DbConfig, H as GatewayChannelInsert, G as GatewayChannelRow, q as MCPServerInsert, p as MCPServerRow, k as MessageInsert, M as MessageRow, m as RepoInsert, R as RepoRow, i as SessionInsert, s as SessionMCPServerInsert, r as SessionMCPServerRow, S as SessionRow, j as TaskInsert, T as TaskRow, J as ThreadSessionMapInsert, I as ThreadSessionMapRow, o as UserInsert, u as UserMCPOAuthTokenInsert, t as UserMCPOAuthTokenRow, U as UserRow, n as WorktreeInsert, W as WorktreeRow, c as createDatabase, b as createDatabaseAsync, f as createLocalDatabase, g as getDatabaseUrl, K as sessionsRelations, L as worktreesRelations } from './client-HEOUNaCs.js';
31
- export { A as AmbiguousIdError, B as BaseRepository, E as EntityNotFoundError, R as RepositoryError, a as SessionRepository, S as SessionWithLastMessage, i as isForeignKeyConstraintError, w as withSessionGuard } from './session-guard-CJ7sfOF1.js';
30
+ export { h as ArtifactInsert, A as ArtifactRow, F as BoardCommentInsert, E as BoardCommentRow, l as BoardInsert, z as BoardObjectInsert, y as BoardObjectRow, B as BoardRow, x as CardInsert, w as CardRow, v as CardTypeInsert, C as CardTypeRow, e as DEFAULT_DB_PATH, d as Database, a as DatabaseConnectionError, D as DbConfig, H as GatewayChannelInsert, G as GatewayChannelRow, q as MCPServerInsert, p as MCPServerRow, k as MessageInsert, M as MessageRow, m as RepoInsert, R as RepoRow, i as SessionInsert, s as SessionMCPServerInsert, r as SessionMCPServerRow, S as SessionRow, j as TaskInsert, T as TaskRow, J as ThreadSessionMapInsert, I as ThreadSessionMapRow, o as UserInsert, u as UserMCPOAuthTokenInsert, t as UserMCPOAuthTokenRow, U as UserRow, n as WorktreeInsert, W as WorktreeRow, c as createDatabase, b as createDatabaseAsync, f as createLocalDatabase, g as getDatabaseUrl, K as sessionsRelations, L as worktreesRelations } from './client-NFCS0H8T.js';
31
+ export { A as AmbiguousIdError, B as BaseRepository, E as EntityNotFoundError, R as RepositoryError, a as SessionRepository, S as SessionWithLastMessage, i as isForeignKeyConstraintError, w as withSessionGuard } from './session-guard-D7hUa4D2.js';
32
32
  export { simpleGit } from 'simple-git';
33
33
  export { Id, NullableId, Paginated, Params, Service, ServiceMethods } from '@feathersjs/feathers';
34
34
  import 'socket.io-client';