agor-live 0.17.0 → 0.17.2

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 (369) hide show
  1. package/dist/core/api/index.d.cts +2 -2
  2. package/dist/core/api/index.d.ts +2 -2
  3. package/dist/core/client/index.cjs +5 -0
  4. package/dist/core/client/index.d.cts +5 -5
  5. package/dist/core/client/index.d.ts +5 -5
  6. package/dist/core/client/index.js +4 -0
  7. package/dist/core/config/browser.cjs +5 -0
  8. package/dist/core/config/browser.d.cts +20 -4
  9. package/dist/core/config/browser.d.ts +20 -4
  10. package/dist/core/config/browser.js +4 -0
  11. package/dist/core/config/index.cjs +5 -0
  12. package/dist/core/config/index.d.cts +6 -6
  13. package/dist/core/config/index.d.ts +6 -6
  14. package/dist/core/config/index.js +4 -0
  15. package/dist/core/{config-manager-BqXXvlih.d.ts → config-manager-DTrsj6G3.d.ts} +1 -1
  16. package/dist/core/{config-manager-C8zzUrMs.d.cts → config-manager-TxxjFMRd.d.cts} +1 -1
  17. package/dist/core/{config-services-4zjcxc8Z.d.ts → config-services-DcO2GRgh.d.ts} +1 -1
  18. package/dist/core/{config-services-CXe0OHq7.d.cts → config-services-YEZ4DwCD.d.cts} +1 -1
  19. package/dist/core/db/index.d.cts +1 -1
  20. package/dist/core/db/index.d.ts +1 -1
  21. package/dist/core/environment/render-snapshot.d.cts +1 -1
  22. package/dist/core/environment/render-snapshot.d.ts +1 -1
  23. package/dist/core/environment/variable-resolver.d.cts +1 -1
  24. package/dist/core/environment/variable-resolver.d.ts +1 -1
  25. package/dist/core/{feathers-BK9CCjVG.d.ts → feathers-C5QP3fwJ.d.ts} +1 -1
  26. package/dist/core/{feathers-DnypeNDM.d.cts → feathers-ChZyv3Kj.d.cts} +1 -1
  27. package/dist/core/git/index.d.cts +4 -4
  28. package/dist/core/git/index.d.ts +4 -4
  29. package/dist/core/index.cjs +5 -0
  30. package/dist/core/index.d.cts +6 -6
  31. package/dist/core/index.d.ts +6 -6
  32. package/dist/core/index.js +4 -0
  33. package/dist/core/{repo-BcPbf8Ck.d.ts → repo-84E0A2gV.d.ts} +23 -1
  34. package/dist/core/{repo-CVyROjO4.d.cts → repo-Ckl-vaAk.d.cts} +23 -1
  35. package/dist/core/templates/session-context.d.cts +1 -1
  36. package/dist/core/templates/session-context.d.ts +1 -1
  37. package/dist/core/types/index.d.cts +3 -3
  38. package/dist/core/types/index.d.ts +3 -3
  39. package/dist/core/{types-BsvM6vfZ.d.cts → types-DNqfdt1z.d.cts} +2 -2
  40. package/dist/core/{types-DuWSldjW.d.ts → types-DqPMmTad.d.ts} +2 -2
  41. package/dist/core/unix/index.d.cts +3 -3
  42. package/dist/core/unix/index.d.ts +3 -3
  43. package/dist/daemon/index.js +7 -3
  44. package/dist/daemon/main.js +7 -3
  45. package/dist/daemon/register-services.js +7 -3
  46. package/dist/daemon/services/mcp-servers.d.ts +2 -7
  47. package/dist/daemon/services/repos.d.ts +1 -1
  48. package/dist/daemon/services/repos.js +7 -3
  49. package/dist/executor/cli.d.ts +0 -0
  50. package/dist/executor/cli.d.ts.map +0 -0
  51. package/dist/executor/cli.js +0 -0
  52. package/dist/executor/commands/git.d.ts +0 -0
  53. package/dist/executor/commands/git.d.ts.map +0 -0
  54. package/dist/executor/commands/git.js +0 -0
  55. package/dist/executor/commands/index.d.ts +0 -0
  56. package/dist/executor/commands/index.d.ts.map +0 -0
  57. package/dist/executor/commands/index.js +0 -0
  58. package/dist/executor/commands/unix.d.ts +0 -0
  59. package/dist/executor/commands/unix.d.ts.map +0 -0
  60. package/dist/executor/commands/unix.js +0 -0
  61. package/dist/executor/commands/zellij.d.ts +0 -0
  62. package/dist/executor/commands/zellij.d.ts.map +0 -0
  63. package/dist/executor/commands/zellij.js +0 -0
  64. package/dist/executor/config.d.ts +0 -0
  65. package/dist/executor/config.d.ts.map +0 -0
  66. package/dist/executor/config.js +0 -0
  67. package/dist/executor/db/feathers-repositories.d.ts +0 -0
  68. package/dist/executor/db/feathers-repositories.d.ts.map +0 -0
  69. package/dist/executor/db/feathers-repositories.js +0 -0
  70. package/dist/executor/handlers/sdk/base-executor.d.ts +0 -0
  71. package/dist/executor/handlers/sdk/base-executor.d.ts.map +0 -0
  72. package/dist/executor/handlers/sdk/base-executor.js +0 -0
  73. package/dist/executor/handlers/sdk/claude.d.ts +0 -0
  74. package/dist/executor/handlers/sdk/claude.d.ts.map +0 -0
  75. package/dist/executor/handlers/sdk/claude.js +0 -0
  76. package/dist/executor/handlers/sdk/codex.d.ts +0 -0
  77. package/dist/executor/handlers/sdk/codex.d.ts.map +0 -0
  78. package/dist/executor/handlers/sdk/codex.js +0 -0
  79. package/dist/executor/handlers/sdk/gemini.d.ts +0 -0
  80. package/dist/executor/handlers/sdk/gemini.d.ts.map +0 -0
  81. package/dist/executor/handlers/sdk/gemini.js +0 -0
  82. package/dist/executor/handlers/sdk/opencode.d.ts +0 -0
  83. package/dist/executor/handlers/sdk/opencode.d.ts.map +0 -0
  84. package/dist/executor/handlers/sdk/opencode.js +0 -0
  85. package/dist/executor/handlers/sdk/tool-registry.d.ts +0 -0
  86. package/dist/executor/handlers/sdk/tool-registry.d.ts.map +0 -0
  87. package/dist/executor/handlers/sdk/tool-registry.js +0 -0
  88. package/dist/executor/index.d.ts +0 -0
  89. package/dist/executor/index.d.ts.map +0 -0
  90. package/dist/executor/index.js +0 -0
  91. package/dist/executor/payload-types.d.ts +0 -0
  92. package/dist/executor/payload-types.d.ts.map +0 -0
  93. package/dist/executor/payload-types.js +0 -0
  94. package/dist/executor/permissions/permission-manager.d.ts +0 -0
  95. package/dist/executor/permissions/permission-manager.d.ts.map +0 -0
  96. package/dist/executor/permissions/permission-manager.js +0 -0
  97. package/dist/executor/permissions/permission-service.d.ts +0 -0
  98. package/dist/executor/permissions/permission-service.d.ts.map +0 -0
  99. package/dist/executor/permissions/permission-service.js +0 -0
  100. package/dist/executor/sdk-handlers/base/index.d.ts +0 -0
  101. package/dist/executor/sdk-handlers/base/index.d.ts.map +0 -0
  102. package/dist/executor/sdk-handlers/base/index.js +0 -0
  103. package/dist/executor/sdk-handlers/base/mcp-scoping.d.ts +0 -0
  104. package/dist/executor/sdk-handlers/base/mcp-scoping.d.ts.map +0 -0
  105. package/dist/executor/sdk-handlers/base/mcp-scoping.js +0 -0
  106. package/dist/executor/sdk-handlers/base/normalizer.interface.d.ts +0 -0
  107. package/dist/executor/sdk-handlers/base/normalizer.interface.d.ts.map +0 -0
  108. package/dist/executor/sdk-handlers/base/normalizer.interface.js +0 -0
  109. package/dist/executor/sdk-handlers/base/tool.interface.d.ts +0 -0
  110. package/dist/executor/sdk-handlers/base/tool.interface.d.ts.map +0 -0
  111. package/dist/executor/sdk-handlers/base/tool.interface.js +0 -0
  112. package/dist/executor/sdk-handlers/base/types.d.ts +0 -0
  113. package/dist/executor/sdk-handlers/base/types.d.ts.map +0 -0
  114. package/dist/executor/sdk-handlers/base/types.js +0 -0
  115. package/dist/executor/sdk-handlers/claude/claude-tool.d.ts +0 -0
  116. package/dist/executor/sdk-handlers/claude/claude-tool.d.ts.map +0 -0
  117. package/dist/executor/sdk-handlers/claude/claude-tool.js +0 -0
  118. package/dist/executor/sdk-handlers/claude/import/load-session.d.ts +0 -0
  119. package/dist/executor/sdk-handlers/claude/import/load-session.d.ts.map +0 -0
  120. package/dist/executor/sdk-handlers/claude/import/load-session.js +0 -0
  121. package/dist/executor/sdk-handlers/claude/import/message-converter.d.ts +0 -0
  122. package/dist/executor/sdk-handlers/claude/import/message-converter.d.ts.map +0 -0
  123. package/dist/executor/sdk-handlers/claude/import/message-converter.js +0 -0
  124. package/dist/executor/sdk-handlers/claude/import/task-extractor.d.ts +0 -0
  125. package/dist/executor/sdk-handlers/claude/import/task-extractor.d.ts.map +0 -0
  126. package/dist/executor/sdk-handlers/claude/import/task-extractor.js +0 -0
  127. package/dist/executor/sdk-handlers/claude/import/transcript-parser.d.ts +0 -0
  128. package/dist/executor/sdk-handlers/claude/import/transcript-parser.d.ts.map +0 -0
  129. package/dist/executor/sdk-handlers/claude/import/transcript-parser.js +0 -0
  130. package/dist/executor/sdk-handlers/claude/index.d.ts +0 -0
  131. package/dist/executor/sdk-handlers/claude/index.d.ts.map +0 -0
  132. package/dist/executor/sdk-handlers/claude/index.js +0 -0
  133. package/dist/executor/sdk-handlers/claude/message-builder.d.ts +0 -0
  134. package/dist/executor/sdk-handlers/claude/message-builder.d.ts.map +0 -0
  135. package/dist/executor/sdk-handlers/claude/message-builder.js +0 -0
  136. package/dist/executor/sdk-handlers/claude/message-processor.d.ts +0 -0
  137. package/dist/executor/sdk-handlers/claude/message-processor.d.ts.map +0 -0
  138. package/dist/executor/sdk-handlers/claude/message-processor.js +0 -0
  139. package/dist/executor/sdk-handlers/claude/models.d.ts +0 -0
  140. package/dist/executor/sdk-handlers/claude/models.d.ts.map +0 -0
  141. package/dist/executor/sdk-handlers/claude/models.js +0 -0
  142. package/dist/executor/sdk-handlers/claude/normalizer.d.ts +0 -0
  143. package/dist/executor/sdk-handlers/claude/normalizer.d.ts.map +0 -0
  144. package/dist/executor/sdk-handlers/claude/normalizer.js +0 -0
  145. package/dist/executor/sdk-handlers/claude/permissions/permission-hooks.d.ts +0 -0
  146. package/dist/executor/sdk-handlers/claude/permissions/permission-hooks.d.ts.map +0 -0
  147. package/dist/executor/sdk-handlers/claude/permissions/permission-hooks.js +0 -0
  148. package/dist/executor/sdk-handlers/claude/prompt-service.d.ts +0 -0
  149. package/dist/executor/sdk-handlers/claude/prompt-service.d.ts.map +0 -0
  150. package/dist/executor/sdk-handlers/claude/prompt-service.js +0 -0
  151. package/dist/executor/sdk-handlers/claude/query-builder.d.ts +0 -0
  152. package/dist/executor/sdk-handlers/claude/query-builder.d.ts.map +0 -0
  153. package/dist/executor/sdk-handlers/claude/query-builder.js +0 -0
  154. package/dist/executor/sdk-handlers/claude/safe-message-service.d.ts +0 -0
  155. package/dist/executor/sdk-handlers/claude/safe-message-service.d.ts.map +0 -0
  156. package/dist/executor/sdk-handlers/claude/safe-message-service.js +0 -0
  157. package/dist/executor/sdk-handlers/claude/session-context.d.ts +0 -0
  158. package/dist/executor/sdk-handlers/claude/session-context.d.ts.map +0 -0
  159. package/dist/executor/sdk-handlers/claude/session-context.js +0 -0
  160. package/dist/executor/sdk-handlers/claude/thinking-detector.d.ts +0 -0
  161. package/dist/executor/sdk-handlers/claude/thinking-detector.d.ts.map +0 -0
  162. package/dist/executor/sdk-handlers/claude/thinking-detector.js +0 -0
  163. package/dist/executor/sdk-handlers/codex/codex-tool.d.ts +0 -0
  164. package/dist/executor/sdk-handlers/codex/codex-tool.d.ts.map +0 -0
  165. package/dist/executor/sdk-handlers/codex/codex-tool.js +0 -0
  166. package/dist/executor/sdk-handlers/codex/index.d.ts +0 -0
  167. package/dist/executor/sdk-handlers/codex/index.d.ts.map +0 -0
  168. package/dist/executor/sdk-handlers/codex/index.js +0 -0
  169. package/dist/executor/sdk-handlers/codex/models.d.ts +0 -0
  170. package/dist/executor/sdk-handlers/codex/models.d.ts.map +0 -0
  171. package/dist/executor/sdk-handlers/codex/models.js +0 -0
  172. package/dist/executor/sdk-handlers/codex/normalizer.d.ts +0 -0
  173. package/dist/executor/sdk-handlers/codex/normalizer.d.ts.map +0 -0
  174. package/dist/executor/sdk-handlers/codex/normalizer.js +0 -0
  175. package/dist/executor/sdk-handlers/codex/prompt-service.d.ts +0 -0
  176. package/dist/executor/sdk-handlers/codex/prompt-service.d.ts.map +0 -0
  177. package/dist/executor/sdk-handlers/codex/prompt-service.js +0 -0
  178. package/dist/executor/sdk-handlers/codex/usage.d.ts +0 -0
  179. package/dist/executor/sdk-handlers/codex/usage.d.ts.map +0 -0
  180. package/dist/executor/sdk-handlers/codex/usage.js +0 -0
  181. package/dist/executor/sdk-handlers/gemini/conversation-converter.d.ts +0 -0
  182. package/dist/executor/sdk-handlers/gemini/conversation-converter.d.ts.map +0 -0
  183. package/dist/executor/sdk-handlers/gemini/conversation-converter.js +0 -0
  184. package/dist/executor/sdk-handlers/gemini/gemini-tool.d.ts +0 -0
  185. package/dist/executor/sdk-handlers/gemini/gemini-tool.d.ts.map +0 -0
  186. package/dist/executor/sdk-handlers/gemini/gemini-tool.js +0 -0
  187. package/dist/executor/sdk-handlers/gemini/index.d.ts +0 -0
  188. package/dist/executor/sdk-handlers/gemini/index.d.ts.map +0 -0
  189. package/dist/executor/sdk-handlers/gemini/index.js +0 -0
  190. package/dist/executor/sdk-handlers/gemini/models.d.ts +0 -0
  191. package/dist/executor/sdk-handlers/gemini/models.d.ts.map +0 -0
  192. package/dist/executor/sdk-handlers/gemini/models.js +0 -0
  193. package/dist/executor/sdk-handlers/gemini/normalizer.d.ts +0 -0
  194. package/dist/executor/sdk-handlers/gemini/normalizer.d.ts.map +0 -0
  195. package/dist/executor/sdk-handlers/gemini/normalizer.js +0 -0
  196. package/dist/executor/sdk-handlers/gemini/permission-mapper.d.ts +0 -0
  197. package/dist/executor/sdk-handlers/gemini/permission-mapper.d.ts.map +0 -0
  198. package/dist/executor/sdk-handlers/gemini/permission-mapper.js +0 -0
  199. package/dist/executor/sdk-handlers/gemini/prompt-service.d.ts +0 -0
  200. package/dist/executor/sdk-handlers/gemini/prompt-service.d.ts.map +0 -0
  201. package/dist/executor/sdk-handlers/gemini/prompt-service.js +0 -0
  202. package/dist/executor/sdk-handlers/gemini/usage.d.ts +0 -0
  203. package/dist/executor/sdk-handlers/gemini/usage.d.ts.map +0 -0
  204. package/dist/executor/sdk-handlers/gemini/usage.js +0 -0
  205. package/dist/executor/sdk-handlers/models.d.ts +0 -0
  206. package/dist/executor/sdk-handlers/models.d.ts.map +0 -0
  207. package/dist/executor/sdk-handlers/models.js +0 -0
  208. package/dist/executor/sdk-handlers/normalizer-factory.d.ts +0 -0
  209. package/dist/executor/sdk-handlers/normalizer-factory.d.ts.map +0 -0
  210. package/dist/executor/sdk-handlers/normalizer-factory.js +0 -0
  211. package/dist/executor/sdk-handlers/opencode/index.d.ts +0 -0
  212. package/dist/executor/sdk-handlers/opencode/index.d.ts.map +0 -0
  213. package/dist/executor/sdk-handlers/opencode/index.js +0 -0
  214. package/dist/executor/sdk-handlers/opencode/opencode-tool.d.ts +0 -0
  215. package/dist/executor/sdk-handlers/opencode/opencode-tool.d.ts.map +0 -0
  216. package/dist/executor/sdk-handlers/opencode/opencode-tool.js +0 -0
  217. package/dist/executor/services/feathers-client.d.ts +0 -0
  218. package/dist/executor/services/feathers-client.d.ts.map +0 -0
  219. package/dist/executor/services/feathers-client.js +0 -0
  220. package/dist/executor/types/sdk-response.d.ts +0 -0
  221. package/dist/executor/types/sdk-response.d.ts.map +0 -0
  222. package/dist/executor/types/sdk-response.js +0 -0
  223. package/dist/executor/types/token-usage.d.ts +0 -0
  224. package/dist/executor/types/token-usage.d.ts.map +0 -0
  225. package/dist/executor/types/token-usage.js +0 -0
  226. package/dist/executor/types.d.ts +0 -0
  227. package/dist/executor/types.d.ts.map +0 -0
  228. package/dist/executor/types.js +0 -0
  229. package/dist/ui/assets/{CodeEditor.inner-bDJMowpz.js → CodeEditor.inner-CO-5PAnZ.js} +1 -1
  230. package/dist/ui/assets/CodeEditor.inner-CO-5PAnZ.js.gz +0 -0
  231. package/dist/ui/assets/{_basePickBy-Bp06Otx8.js → _basePickBy-DfxojsEt.js} +1 -1
  232. package/dist/ui/assets/_basePickBy-DfxojsEt.js.gz +0 -0
  233. package/dist/ui/assets/{_baseUniq-BfcctmWO.js → _baseUniq-DWFPJOTC.js} +1 -1
  234. package/dist/ui/assets/_baseUniq-DWFPJOTC.js.gz +0 -0
  235. package/dist/ui/assets/{arc-CNqJvXfe.js → arc-vMZ_XGSI.js} +1 -1
  236. package/dist/ui/assets/arc-vMZ_XGSI.js.gz +0 -0
  237. package/dist/ui/assets/{architectureDiagram-VXUJARFQ-Lda-Lg4v.js → architectureDiagram-VXUJARFQ-DGpk_uOD.js} +1 -1
  238. package/dist/ui/assets/architectureDiagram-VXUJARFQ-DGpk_uOD.js.gz +0 -0
  239. package/dist/ui/assets/{base-80a1f760-If1fxi5k.js → base-80a1f760-BsVlOKqO.js} +1 -1
  240. package/dist/ui/assets/{blockDiagram-VD42YOAC-CziS0xWd.js → blockDiagram-VD42YOAC-BkRnxc94.js} +1 -1
  241. package/dist/ui/assets/blockDiagram-VD42YOAC-BkRnxc94.js.gz +0 -0
  242. package/dist/ui/assets/{c4Diagram-YG6GDRKO-Cu_7Cpwg.js → c4Diagram-YG6GDRKO-Dcf-anJy.js} +1 -1
  243. package/dist/ui/assets/c4Diagram-YG6GDRKO-Dcf-anJy.js.gz +0 -0
  244. package/dist/ui/assets/channel-B9aI4bYN.js +1 -0
  245. package/dist/ui/assets/{chunk-4BX2VUAB-CL7awCKO.js → chunk-4BX2VUAB-C4oVWDo8.js} +1 -1
  246. package/dist/ui/assets/{chunk-55IACEB6-CdEpihRe.js → chunk-55IACEB6-CsBbTu57.js} +1 -1
  247. package/dist/ui/assets/{chunk-B4BG7PRW-CJZNfnap.js → chunk-B4BG7PRW-DtkeCZab.js} +1 -1
  248. package/dist/ui/assets/chunk-B4BG7PRW-DtkeCZab.js.gz +0 -0
  249. package/dist/ui/assets/{chunk-DI55MBZ5-CVxoCWqP.js → chunk-DI55MBZ5-BQ_asW-1.js} +1 -1
  250. package/dist/ui/assets/chunk-DI55MBZ5-BQ_asW-1.js.gz +0 -0
  251. package/dist/ui/assets/{chunk-FMBD7UC4-DP03W4uO.js → chunk-FMBD7UC4-DAdcLNG-.js} +1 -1
  252. package/dist/ui/assets/{chunk-QN33PNHL-BAZubWUQ.js → chunk-QN33PNHL-Do2zad3m.js} +1 -1
  253. package/dist/ui/assets/{chunk-QZHKN3VN-BzRHvECc.js → chunk-QZHKN3VN-CyhMmSdC.js} +1 -1
  254. package/dist/ui/assets/{chunk-TZMSLE5B-iEWip6lm.js → chunk-TZMSLE5B-DlPypnIq.js} +1 -1
  255. package/dist/ui/assets/chunk-TZMSLE5B-DlPypnIq.js.gz +0 -0
  256. package/dist/ui/assets/classDiagram-2ON5EDUG-p-68WO4Z.js +1 -0
  257. package/dist/ui/assets/classDiagram-v2-WZHVMYZB-p-68WO4Z.js +1 -0
  258. package/dist/ui/assets/clone-DzK5ogfn.js +1 -0
  259. package/dist/ui/assets/{consoleHook-59e792cb-CVUkgtJ5.js → consoleHook-59e792cb-DHYIclEd.js} +1 -1
  260. package/dist/ui/assets/consoleHook-59e792cb-DHYIclEd.js.gz +0 -0
  261. package/dist/ui/assets/{cose-bilkent-S5V4N54A-CaNMYr_q.js → cose-bilkent-S5V4N54A-DotJH9qH.js} +1 -1
  262. package/dist/ui/assets/cose-bilkent-S5V4N54A-DotJH9qH.js.gz +0 -0
  263. package/dist/ui/assets/{dagre-6UL2VRFP-PgKTEyMg.js → dagre-6UL2VRFP-Btssr8QF.js} +1 -1
  264. package/dist/ui/assets/dagre-6UL2VRFP-Btssr8QF.js.gz +0 -0
  265. package/dist/ui/assets/{diagram-PSM6KHXK-Bbakw1vV.js → diagram-PSM6KHXK-D5_Jkog3.js} +1 -1
  266. package/dist/ui/assets/diagram-PSM6KHXK-D5_Jkog3.js.gz +0 -0
  267. package/dist/ui/assets/{diagram-QEK2KX5R-DORE6MDc.js → diagram-QEK2KX5R-DlPEVSL5.js} +1 -1
  268. package/dist/ui/assets/diagram-QEK2KX5R-DlPEVSL5.js.gz +0 -0
  269. package/dist/ui/assets/{diagram-S2PKOQOG-CWMSw88L.js → diagram-S2PKOQOG-CjO1k8aG.js} +1 -1
  270. package/dist/ui/assets/diagram-S2PKOQOG-CjO1k8aG.js.gz +0 -0
  271. package/dist/ui/assets/{erDiagram-Q2GNP2WA-ClUb9rMg.js → erDiagram-Q2GNP2WA-3cO02-K3.js} +1 -1
  272. package/dist/ui/assets/erDiagram-Q2GNP2WA-3cO02-K3.js.gz +0 -0
  273. package/dist/ui/assets/{flowDiagram-NV44I4VS-NGGzalyO.js → flowDiagram-NV44I4VS-CajTpSxI.js} +1 -1
  274. package/dist/ui/assets/flowDiagram-NV44I4VS-CajTpSxI.js.gz +0 -0
  275. package/dist/ui/assets/{ganttDiagram-LVOFAZNH-BD2QM47F.js → ganttDiagram-LVOFAZNH-CnY_bV3o.js} +1 -1
  276. package/dist/ui/assets/ganttDiagram-LVOFAZNH-CnY_bV3o.js.gz +0 -0
  277. package/dist/ui/assets/{gitGraphDiagram-NY62KEGX-IuwPjdlq.js → gitGraphDiagram-NY62KEGX-CH16bg-j.js} +1 -1
  278. package/dist/ui/assets/gitGraphDiagram-NY62KEGX-CH16bg-j.js.gz +0 -0
  279. package/dist/ui/assets/{graph-mTd64UTw.js → graph-IQoZvE3o.js} +1 -1
  280. package/dist/ui/assets/graph-IQoZvE3o.js.gz +0 -0
  281. package/dist/ui/assets/{index-599aeaf7-C31VkrEQ.js → index-599aeaf7-RUCkgwsg.js} +1 -1
  282. package/dist/ui/assets/index-599aeaf7-RUCkgwsg.js.gz +0 -0
  283. package/dist/ui/assets/{index-BmF5q3WZ.js → index-B3AvIgqP.js} +296 -296
  284. package/dist/ui/assets/index-B3AvIgqP.js.gz +0 -0
  285. package/dist/ui/assets/{index-DlWtzMCo.js → index-C-quzPWC.js} +1 -1
  286. package/dist/ui/assets/index-C-quzPWC.js.gz +0 -0
  287. package/dist/ui/assets/{index-cfuYAmaV.js → index-ChmRuj_T.js} +1 -1
  288. package/dist/ui/assets/index-ChmRuj_T.js.gz +0 -0
  289. package/dist/ui/assets/{index-DlTdTyWM.js → index-QV5-5yA2.js} +1 -1
  290. package/dist/ui/assets/index-QV5-5yA2.js.gz +0 -0
  291. package/dist/ui/assets/{infoDiagram-ER5ION4S-DPQFLihF.js → infoDiagram-ER5ION4S-2e4gZVGT.js} +1 -1
  292. package/dist/ui/assets/{journeyDiagram-XKPGCS4Q-DTcUc9R_.js → journeyDiagram-XKPGCS4Q-B5bgV3GH.js} +1 -1
  293. package/dist/ui/assets/journeyDiagram-XKPGCS4Q-B5bgV3GH.js.gz +0 -0
  294. package/dist/ui/assets/{kanban-definition-3W4ZIXB7-BS9ZD8g6.js → kanban-definition-3W4ZIXB7-Bp-aWRSc.js} +1 -1
  295. package/dist/ui/assets/kanban-definition-3W4ZIXB7-Bp-aWRSc.js.gz +0 -0
  296. package/dist/ui/assets/{layout-BjEUAE2D.js → layout-BH-2XJZq.js} +1 -1
  297. package/dist/ui/assets/layout-BH-2XJZq.js.gz +0 -0
  298. package/dist/ui/assets/{linear-CLcpJ4o5.js → linear-DCYXhl_f.js} +1 -1
  299. package/dist/ui/assets/linear-DCYXhl_f.js.gz +0 -0
  300. package/dist/ui/assets/{mermaid.core-Br1XtbEr.js → mermaid.core-BAuL6kgQ.js} +5 -5
  301. package/dist/ui/assets/mermaid.core-BAuL6kgQ.js.gz +0 -0
  302. package/dist/ui/assets/{mindmap-definition-VGOIOE7T-0S9U22YV.js → mindmap-definition-VGOIOE7T-DpH5N-N0.js} +1 -1
  303. package/dist/ui/assets/mindmap-definition-VGOIOE7T-DpH5N-N0.js.gz +0 -0
  304. package/dist/ui/assets/{pieDiagram-ADFJNKIX-4yBZb57e.js → pieDiagram-ADFJNKIX-BB8fBxj1.js} +1 -1
  305. package/dist/ui/assets/pieDiagram-ADFJNKIX-BB8fBxj1.js.gz +0 -0
  306. package/dist/ui/assets/{quadrantDiagram-AYHSOK5B-BGdI-z0e.js → quadrantDiagram-AYHSOK5B-D6oZLdUD.js} +1 -1
  307. package/dist/ui/assets/quadrantDiagram-AYHSOK5B-D6oZLdUD.js.gz +0 -0
  308. package/dist/ui/assets/{requirementDiagram-UZGBJVZJ-CfZa19uA.js → requirementDiagram-UZGBJVZJ-B4uGPp8w.js} +1 -1
  309. package/dist/ui/assets/requirementDiagram-UZGBJVZJ-B4uGPp8w.js.gz +0 -0
  310. package/dist/ui/assets/{sankeyDiagram-TZEHDZUN-uFBRhhPF.js → sankeyDiagram-TZEHDZUN-MXhIjhme.js} +1 -1
  311. package/dist/ui/assets/sankeyDiagram-TZEHDZUN-MXhIjhme.js.gz +0 -0
  312. package/dist/ui/assets/{sequenceDiagram-WL72ISMW-BdGgfhvi.js → sequenceDiagram-WL72ISMW-Cm53TYug.js} +1 -1
  313. package/dist/ui/assets/sequenceDiagram-WL72ISMW-Cm53TYug.js.gz +0 -0
  314. package/dist/ui/assets/{stateDiagram-FKZM4ZOC-DKkzcGoH.js → stateDiagram-FKZM4ZOC-BVuxUkj5.js} +1 -1
  315. package/dist/ui/assets/stateDiagram-FKZM4ZOC-BVuxUkj5.js.gz +0 -0
  316. package/dist/ui/assets/stateDiagram-v2-4FDKWEC3-8Jeww6Dc.js +1 -0
  317. package/dist/ui/assets/{timeline-definition-IT6M3QCI-BDzprIh8.js → timeline-definition-IT6M3QCI-CMypNiEP.js} +1 -1
  318. package/dist/ui/assets/timeline-definition-IT6M3QCI-CMypNiEP.js.gz +0 -0
  319. package/dist/ui/assets/{treemap-KMMF4GRG-BjxPgjXQ.js → treemap-KMMF4GRG-BEtnV3BT.js} +1 -1
  320. package/dist/ui/assets/{treemap-KMMF4GRG-BjxPgjXQ.js.gz → treemap-KMMF4GRG-BEtnV3BT.js.gz} +0 -0
  321. package/dist/ui/assets/{xychartDiagram-PRI3JC2R-DVGB7LfP.js → xychartDiagram-PRI3JC2R-BnioEYUM.js} +1 -1
  322. package/dist/ui/assets/xychartDiagram-PRI3JC2R-BnioEYUM.js.gz +0 -0
  323. package/dist/ui/index.html +1 -1
  324. package/package.json +7 -7
  325. package/dist/ui/assets/CodeEditor.inner-bDJMowpz.js.gz +0 -0
  326. package/dist/ui/assets/_basePickBy-Bp06Otx8.js.gz +0 -0
  327. package/dist/ui/assets/_baseUniq-BfcctmWO.js.gz +0 -0
  328. package/dist/ui/assets/arc-CNqJvXfe.js.gz +0 -0
  329. package/dist/ui/assets/architectureDiagram-VXUJARFQ-Lda-Lg4v.js.gz +0 -0
  330. package/dist/ui/assets/blockDiagram-VD42YOAC-CziS0xWd.js.gz +0 -0
  331. package/dist/ui/assets/c4Diagram-YG6GDRKO-Cu_7Cpwg.js.gz +0 -0
  332. package/dist/ui/assets/channel-CTywVsey.js +0 -1
  333. package/dist/ui/assets/chunk-B4BG7PRW-CJZNfnap.js.gz +0 -0
  334. package/dist/ui/assets/chunk-DI55MBZ5-CVxoCWqP.js.gz +0 -0
  335. package/dist/ui/assets/chunk-TZMSLE5B-iEWip6lm.js.gz +0 -0
  336. package/dist/ui/assets/classDiagram-2ON5EDUG-DZGEyZn1.js +0 -1
  337. package/dist/ui/assets/classDiagram-v2-WZHVMYZB-DZGEyZn1.js +0 -1
  338. package/dist/ui/assets/clone-DTzUqr7D.js +0 -1
  339. package/dist/ui/assets/consoleHook-59e792cb-CVUkgtJ5.js.gz +0 -0
  340. package/dist/ui/assets/cose-bilkent-S5V4N54A-CaNMYr_q.js.gz +0 -0
  341. package/dist/ui/assets/dagre-6UL2VRFP-PgKTEyMg.js.gz +0 -0
  342. package/dist/ui/assets/diagram-PSM6KHXK-Bbakw1vV.js.gz +0 -0
  343. package/dist/ui/assets/diagram-QEK2KX5R-DORE6MDc.js.gz +0 -0
  344. package/dist/ui/assets/diagram-S2PKOQOG-CWMSw88L.js.gz +0 -0
  345. package/dist/ui/assets/erDiagram-Q2GNP2WA-ClUb9rMg.js.gz +0 -0
  346. package/dist/ui/assets/flowDiagram-NV44I4VS-NGGzalyO.js.gz +0 -0
  347. package/dist/ui/assets/ganttDiagram-LVOFAZNH-BD2QM47F.js.gz +0 -0
  348. package/dist/ui/assets/gitGraphDiagram-NY62KEGX-IuwPjdlq.js.gz +0 -0
  349. package/dist/ui/assets/graph-mTd64UTw.js.gz +0 -0
  350. package/dist/ui/assets/index-599aeaf7-C31VkrEQ.js.gz +0 -0
  351. package/dist/ui/assets/index-BmF5q3WZ.js.gz +0 -0
  352. package/dist/ui/assets/index-DlTdTyWM.js.gz +0 -0
  353. package/dist/ui/assets/index-DlWtzMCo.js.gz +0 -0
  354. package/dist/ui/assets/index-cfuYAmaV.js.gz +0 -0
  355. package/dist/ui/assets/journeyDiagram-XKPGCS4Q-DTcUc9R_.js.gz +0 -0
  356. package/dist/ui/assets/kanban-definition-3W4ZIXB7-BS9ZD8g6.js.gz +0 -0
  357. package/dist/ui/assets/layout-BjEUAE2D.js.gz +0 -0
  358. package/dist/ui/assets/linear-CLcpJ4o5.js.gz +0 -0
  359. package/dist/ui/assets/mermaid.core-Br1XtbEr.js.gz +0 -0
  360. package/dist/ui/assets/mindmap-definition-VGOIOE7T-0S9U22YV.js.gz +0 -0
  361. package/dist/ui/assets/pieDiagram-ADFJNKIX-4yBZb57e.js.gz +0 -0
  362. package/dist/ui/assets/quadrantDiagram-AYHSOK5B-BGdI-z0e.js.gz +0 -0
  363. package/dist/ui/assets/requirementDiagram-UZGBJVZJ-CfZa19uA.js.gz +0 -0
  364. package/dist/ui/assets/sankeyDiagram-TZEHDZUN-uFBRhhPF.js.gz +0 -0
  365. package/dist/ui/assets/sequenceDiagram-WL72ISMW-BdGgfhvi.js.gz +0 -0
  366. package/dist/ui/assets/stateDiagram-FKZM4ZOC-DKkzcGoH.js.gz +0 -0
  367. package/dist/ui/assets/stateDiagram-v2-4FDKWEC3-DL2_q_1s.js +0 -1
  368. package/dist/ui/assets/timeline-definition-IT6M3QCI-BDzprIh8.js.gz +0 -0
  369. package/dist/ui/assets/xychartDiagram-PRI3JC2R-DVGB7LfP.js.gz +0 -0
@@ -1,8 +1,8 @@
1
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, ApiKeyName, BLOCKED_ENV_PATTERNS, BLOCKED_ENV_VARS, ENV_VAR_CONSTRAINTS, FilterEnvResult, KeyResolutionContext, KeyResolutionResult, ParsedRepoConfig, ParsedResourcesConfig, ParsedUserConfig, ParsedWorktreeConfig, RawStoredEnvVar, RepoAction, ResolveSecurityOptions, ResolveUserEnvOptions, ResolvedCors, ResolvedCsp, ResolvedPassword, ResolvedSecurity, ResourceValidationError, SANDPACK_CSP_FRAME_SRC, SANDPACK_CSP_WORKER_SRC, StoredEnvVar, UserAction, V05_SCOPES, ValidationError, WorktreeAction, assertV05Scope, buildSlugToRepoIdMap, createUserProcessEnvironment, daemonResourcesConfigSchema, determineRepoAction, determineUserAction, determineWorktreeAction, enforcedAgentConfigSchema, filterEnv, formatValidationError, formatValidationErrors, getEnvVarBlockReason, isEnvVarAllowed, isValid, isValidV05Scope, normalizeStoredEnvMap, normalizeStoredEnvVar, parseAgorYml, resolveApiKey, resolveApiKeySync, resolvePassword, resolveSecurity, resolveSystemEnvironment, resolveUserEnvironment, resourceRepoConfigSchema, resourceUserConfigSchema, resourceWorktreeConfigSchema, validateEnvVar, validateResourceCrossReferences, withUserEnvironment, withUserEnvironmentSync, writeAgorYml } from './config/index.cjs';
3
- export { P as PublicBaseUrlNotConfiguredError, e as ensureCodexHome, a as expandHomePath, g as getAgorHome, b as getBaseUrl, c as getConfigPath, d as getConfigValue, f as getCredential, h as getDaemonUrl, i as getDaemonUser, j as getDataHome, k as getDataHomeAsync, l as getDefaultConfig, m as getReposDir, n as getReposDirAsync, o as getWorktreePath, p as getWorktreesDir, q as getWorktreesDirAsync, r as initConfig, s as isUnixImpersonationEnabled, t as isWorktreeRbacEnabled, u as loadConfig, v as loadConfigFromFile, w as loadConfigSync, x as requireDaemonUser, y as requirePublicBaseUrl, z as resolveCodexHome, A as saveConfig, B as setConfigValue, C as unsetConfigValue } from './config-manager-C8zzUrMs.cjs';
4
- export { AgorYmlSchema, DAEMON, DATABASE, ENVIRONMENT, GIT, MCP_TOKEN, PAGINATION, REPO_SLUG_PATTERN, RepoReference, RepoReferenceOption, SESSION, WEBSOCKET, YamlVariant, extractSlugFromUrl, formatRepoReference, getDefaultRepoReference, getGroupedRepoReferenceOptions, getRepoReferenceOptions, isValidGitUrl, isValidSlug, parseAgorYmlString, parseRepoReference, resolveRepoReference, resolveVariant, resolveVariantOrThrow, validateAgorYmlSchema, validateExtends, validateRepoEnvironment } from './config/browser.cjs';
5
- export { A as AgorCodexSettings, a as AgorConfig, b as AgorCorsMode, c as AgorCorsSettings, d as AgorCredentials, e as AgorCspDirectives, f as AgorCspSettings, g as AgorDaemonSettings, h as AgorDatabaseSettings, i as AgorDefaults, j as AgorDisplaySettings, k as AgorExecutionSettings, l as AgorOnboardingSettings, m as AgorOpenCodeSettings, n as AgorPathSettings, o as AgorSecuritySettings, p as AgorUISettings, q as AgorWorktreesSettings, C as ConfigKey, r as CredentialKey, M as ManagedEnvsMinimumRole, U as UnixUserMode, s as UnknownJson } from './types-BsvM6vfZ.cjs';
3
+ export { P as PublicBaseUrlNotConfiguredError, e as ensureCodexHome, a as expandHomePath, g as getAgorHome, b as getBaseUrl, c as getConfigPath, d as getConfigValue, f as getCredential, h as getDaemonUrl, i as getDaemonUser, j as getDataHome, k as getDataHomeAsync, l as getDefaultConfig, m as getReposDir, n as getReposDirAsync, o as getWorktreePath, p as getWorktreesDir, q as getWorktreesDirAsync, r as initConfig, s as isUnixImpersonationEnabled, t as isWorktreeRbacEnabled, u as loadConfig, v as loadConfigFromFile, w as loadConfigSync, x as requireDaemonUser, y as requirePublicBaseUrl, z as resolveCodexHome, A as saveConfig, B as setConfigValue, C as unsetConfigValue } from './config-manager-TxxjFMRd.cjs';
4
+ export { AgorYmlSchema, DAEMON, DATABASE, ENVIRONMENT, GIT, MCP_TOKEN, PAGINATION, REPO_SLUG_PATTERN, RepoReference, RepoReferenceOption, SESSION, WEBSOCKET, YamlVariant, extractSlugFromUrl, formatRepoReference, getDefaultRepoReference, getGroupedRepoReferenceOptions, getRepoReferenceOptions, isValidGitUrl, isValidSlug, normalizeRepoUrl, parseAgorYmlString, parseRepoReference, resolveRepoReference, resolveVariant, resolveVariantOrThrow, validateAgorYmlSchema, validateExtends, validateRepoEnvironment } from './config/browser.cjs';
5
+ export { A as AgorCodexSettings, a as AgorConfig, b as AgorCorsMode, c as AgorCorsSettings, d as AgorCredentials, e as AgorCspDirectives, f as AgorCspSettings, g as AgorDaemonSettings, h as AgorDatabaseSettings, i as AgorDefaults, j as AgorDisplaySettings, k as AgorExecutionSettings, l as AgorOnboardingSettings, m as AgorOpenCodeSettings, n as AgorPathSettings, o as AgorSecuritySettings, p as AgorUISettings, q as AgorWorktreesSettings, C as ConfigKey, r as CredentialKey, M as ManagedEnvsMinimumRole, U as UnixUserMode, s as UnknownJson } from './types-DNqfdt1z.cjs';
6
6
  export { ArtifactRepository, BoardCommentsRepository, BoardObjectRepository, BoardRepository, CardRepository, CardTypeRepository, CreateUserData, DEFAULT_ADMIN_USER, DateBucket, GatewayChannelRepository, IdResolutionError, InsertValues, MCPServerRepository, MessagesRepository, MigrationError, MutationResult, PendingMigrationsInfo, RawQueryResult, RepoRepository, SaveTokenInput, SerializedSession, SerializedSessionRepository, SerializedSessionStatus, SessionEnvSelectionRepository, 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, dateTruncUtc, decryptApiKey, deleteFrom, encryptApiKey, executeAll, executeGet, executeRaw, executeRun, formatPendingMigrationsMessage, formatShortId, gatewayChannels, generateId, generateSlug, generateUniqueSlug, getOne, getUserByEmail, hash, identifyUrlParam, initializeDatabase, insert, insertOne, isEncrypted, isPostgresDatabase, isSQLiteDatabase, isSQLiteUrl, isShortId, jsonExtract, lockRowForUpdate, mcpServers, messages, repos, resolveShortId, runMigrations, seedInitialData, select, serializedSessions, sessionEnvSelections, sessionMcpServers, sessions, tasks, threadSessionMap, txAsDb, update, userApiKeys, userExists, userMcpOauthTokens, users, worktreeOwners, worktrees } from './db/index.cjs';
7
7
  export { RenderRepoInput, RenderWorktreeInput, RenderedEnvironmentSnapshot, renderWorktreeSnapshot } from './environment/render-snapshot.cjs';
8
8
  export { CloneOptions, CloneProgress, CloneResult, RestoreWorktreeResult, WorktreeInfo, buildWorktreeAddArgs, cleanWorktree, cloneRepo, createWorktree, deleteBranch, deleteRepoDirectory, deleteWorktreeDirectory, extractRepoName, getCurrentBranch, getCurrentSha, getDefaultBranch, getGitState, getRemoteBranches, getRemoteUrl, hasRemoteBranch, isClean, isGitRepo, isLikelyGitToken, isValidGitRepo, listWorktrees, pruneWorktrees, removeWorktree, restoreWorktreeFilesystem, validateGitRef } from './git/index.cjs';
@@ -12,15 +12,15 @@ export { A as AGENTIC_TOOL_CAPABILITIES, a as AgenticTool, b as AgenticToolCapab
12
12
  export { A as Artifact, a as ArtifactBuildStatus, b as ArtifactConsoleEntry, c as ArtifactPayload, d as ArtifactStatus, S as SandpackError, e as SandpackManifest } from './artifact-B2AqjUMb.cjs';
13
13
  export { A as AppBoardObject, a as ArtifactBoardObject, B as Board, b as BoardEntityObject, c as BoardEntityType, d as BoardExportBlob, e as BoardObject, f as BoardObjectType, g as BoardPosition, C as Card, h as CardID, i as CardType, j as CardTypeID, k as CardWithType, M as MarkdownBoardObject, S as SandpackTemplate, T as TextBoardObject, Z as ZoneBoardObject, l as ZoneTrigger, m as ZoneTriggerBehavior } from './board-D7SnPqp-.cjs';
14
14
  export { B as BoardComment, a as BoardCommentCreate, b as BoardCommentPatch, C as CommentAttachmentType, c as CommentReaction, R as ReactionSummary, g as getCommentAttachmentType, d as groupReactions, i as isReply, e as isResolvable, f as isThreadRoot } from './board-comment-DIdOJrSF.cjs';
15
- export { A as ALLOWED_SERVICE_TIERS, D as DEFAULT_SERVICE_TIER, a as DaemonResourcesConfig, b as DaemonServicesConfig, E as EnforcedAgentConfig, R as ResourceRepoConfig, c as ResourceUserConfig, d as ResourceWorktreeConfig, S as SERVICE_DEPENDENCIES, e as SERVICE_GROUP_NAMES, f as SERVICE_GROUP_TO_MCP_DOMAINS, g as SERVICE_TIERS, h as SERVICE_TIER_RANK, i as ServiceDependencyViolation, j as ServiceGroupName, k as ServiceTier, l as ServiceTierViolation, m as autoPromoteDependencies, n as getServiceTier, o as isServiceEnabled, p as isServiceExternallyAccessible, q as isServiceFullAccess, v as validateAllowedTiers, r as validateServiceDependencies } from './config-services-CXe0OHq7.cjs';
15
+ export { A as ALLOWED_SERVICE_TIERS, D as DEFAULT_SERVICE_TIER, a as DaemonResourcesConfig, b as DaemonServicesConfig, E as EnforcedAgentConfig, R as ResourceRepoConfig, c as ResourceUserConfig, d as ResourceWorktreeConfig, S as SERVICE_DEPENDENCIES, e as SERVICE_GROUP_NAMES, f as SERVICE_GROUP_TO_MCP_DOMAINS, g as SERVICE_TIERS, h as SERVICE_TIER_RANK, i as ServiceDependencyViolation, j as ServiceGroupName, k as ServiceTier, l as ServiceTierViolation, m as autoPromoteDependencies, n as getServiceTier, o as isServiceEnabled, p as isServiceExternallyAccessible, q as isServiceFullAccess, v as validateAllowedTiers, r as validateServiceDependencies } from './config-services-YEZ4DwCD.cjs';
16
16
  export { C as ContextFileDetail, a as ContextFileListItem, b as ContextFilePath } from './context-BpkCELpO.cjs';
17
- 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-DnypeNDM.cjs';
17
+ 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-ChZyv3Kj.cjs';
18
18
  export { ActiveUser, CreateInput, CursorLeaveEvent, CursorMoveEvent, CursorMovedEvent, DeepReadonly, FileDetail, FileListItem, FileListResponse, FilePath, FlattenObject, PaginatedResult, PartialKeys, RemoteCursor, RequireKeys, SessionViewMode, UpdateInput, isDefined, isNonEmptyString } from './types/index.cjs';
19
19
  export { C as ChannelType, G as GatewayAgenticConfig, a as GatewayChannel, b as GatewayChannelID, c as GatewayEnvVar, T as ThreadSessionMap, d as ThreadSessionMapID, e as ThreadStatus } from './gateway-BnOlAelY.cjs';
20
20
  export { A as AgenticToolID, a as AnyShortId, b as ArtifactID, B as BoardID, C as CommentID, I as IDPrefix, c as IdInput, M as MessageID, R as RepoID, S as SessionID, d as ShortID, T as TaskID, U as URL_SHORT_ID_LENGTH, e as UUID, f as UserID, W as WorktreeID, g as findByShortIdPrefix, t as toShortId } from './id-CoIbY_uc.cjs';
21
21
  export { C as CreateMCPServerInput, J as JSONSchema, M as MCPAuth, a as MCPCapabilities, b as MCPConfigFile, c as MCPPrompt, d as MCPResource, e as MCPScope, f as MCPServer, g as MCPServerFilters, h as MCPServerID, i as MCPServersConfig, j as MCPSource, k as MCPTestResult, l as MCPTool, m as MCPTransport, n as MCP_TOKEN_AUDIENCE, o as MCP_TOKEN_ISSUER, P as PromptArgument, S as SessionMCPServer, T as ToolPermission, U as UpdateMCPServerInput } from './mcp-DC7GLAg2.cjs';
22
22
  export { C as ContentBlock, D as DiffEnrichment, F as FileDiff, I as InputRequestContent, a as InputRequestOption, b as InputRequestQuestion, c as InputRequestStatus, M as Message, d as MessageCreate, e as MessageRole, f as MessageSource, g as MessageStatus, h as MessageType, P as PermissionRequestContent, i as PermissionScope, j as PermissionStatus, S as StreamingEventType, k as StructuredPatchHunk, T as ToolUse } from './message-DinITA7a.cjs';
23
- export { A as AssistantConfig, P as PersistedAgentConfig, R as Repo, a as RepoEnvironment, b as RepoEnvironmentConfig, c as RepoEnvironmentConfigV1, d as RepoEnvironmentVariant, e as RepoSlug, f as RepoType, W as WORKTREE_PERMISSION_LEVELS, g as Worktree, h as WorktreeConfig, i as WorktreeEnvironmentInstance, j as WorktreeName, k as WorktreePermissionLevel, l as WorktreeScheduleConfig, m as getAssistantConfig, n as getPersistedAgentConfig, o as isAssistant, p as isPersistedAgent } from './repo-CVyROjO4.cjs';
23
+ export { A as AssistantConfig, C as CreateLocalRepoRequest, a as CreateRepoRequest, P as PersistedAgentConfig, R as Repo, b as RepoEnvironment, c as RepoEnvironmentConfig, d as RepoEnvironmentConfigV1, e as RepoEnvironmentVariant, f as RepoSlug, g as RepoType, W as WORKTREE_PERMISSION_LEVELS, h as Worktree, i as WorktreeConfig, j as WorktreeEnvironmentInstance, k as WorktreeName, l as WorktreePermissionLevel, m as WorktreeScheduleConfig, n as getAssistantConfig, o as getPersistedAgentConfig, p as isAssistant, q as isPersistedAgent } from './repo-Ckl-vaAk.cjs';
24
24
  export { R as Report, a as ReportPath, b as ReportTemplate, T as Task, c as TaskStatus, i as isNaturalCompletion } from './task-wht1RJEL.cjs';
25
25
  export { E as EffortLevel, G as GatewaySource, P as PermissionMode, S as ScheduledRunMetadata, a as Session, b as SessionStatus, c as SessionType, d as SpawnConfig, g as getDefaultPermissionMode, e as getGatewaySource, f as getSessionType, i as isGatewaySession } from './session-MNU4BQv4.cjs';
26
26
  export { A as AudioPreferences, B as BaseUserFields, C as ChimeSound, a as CreateUserInput, D as DefaultAgenticConfig, b as DefaultAgenticToolConfig, c as DefaultModelConfig, E as ENV_VAR_SCOPES_V05, d as EnvVarMetadata, e as EnvVarScope, f as EventStreamPreferences, O as OnboardingState, R as ROLES, S as SessionEnvSelection, U as UpdateUserInput, g as User, h as UserApiKey, i as UserPreferences, j as UserRole, k as hasMinimumRole, n as normalizeRole } from './user-DkNdeFoz.cjs';
@@ -1,8 +1,8 @@
1
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, ApiKeyName, BLOCKED_ENV_PATTERNS, BLOCKED_ENV_VARS, ENV_VAR_CONSTRAINTS, FilterEnvResult, KeyResolutionContext, KeyResolutionResult, ParsedRepoConfig, ParsedResourcesConfig, ParsedUserConfig, ParsedWorktreeConfig, RawStoredEnvVar, RepoAction, ResolveSecurityOptions, ResolveUserEnvOptions, ResolvedCors, ResolvedCsp, ResolvedPassword, ResolvedSecurity, ResourceValidationError, SANDPACK_CSP_FRAME_SRC, SANDPACK_CSP_WORKER_SRC, StoredEnvVar, UserAction, V05_SCOPES, ValidationError, WorktreeAction, assertV05Scope, buildSlugToRepoIdMap, createUserProcessEnvironment, daemonResourcesConfigSchema, determineRepoAction, determineUserAction, determineWorktreeAction, enforcedAgentConfigSchema, filterEnv, formatValidationError, formatValidationErrors, getEnvVarBlockReason, isEnvVarAllowed, isValid, isValidV05Scope, normalizeStoredEnvMap, normalizeStoredEnvVar, parseAgorYml, resolveApiKey, resolveApiKeySync, resolvePassword, resolveSecurity, resolveSystemEnvironment, resolveUserEnvironment, resourceRepoConfigSchema, resourceUserConfigSchema, resourceWorktreeConfigSchema, validateEnvVar, validateResourceCrossReferences, withUserEnvironment, withUserEnvironmentSync, writeAgorYml } from './config/index.js';
3
- export { P as PublicBaseUrlNotConfiguredError, e as ensureCodexHome, a as expandHomePath, g as getAgorHome, b as getBaseUrl, c as getConfigPath, d as getConfigValue, f as getCredential, h as getDaemonUrl, i as getDaemonUser, j as getDataHome, k as getDataHomeAsync, l as getDefaultConfig, m as getReposDir, n as getReposDirAsync, o as getWorktreePath, p as getWorktreesDir, q as getWorktreesDirAsync, r as initConfig, s as isUnixImpersonationEnabled, t as isWorktreeRbacEnabled, u as loadConfig, v as loadConfigFromFile, w as loadConfigSync, x as requireDaemonUser, y as requirePublicBaseUrl, z as resolveCodexHome, A as saveConfig, B as setConfigValue, C as unsetConfigValue } from './config-manager-BqXXvlih.js';
4
- export { AgorYmlSchema, DAEMON, DATABASE, ENVIRONMENT, GIT, MCP_TOKEN, PAGINATION, REPO_SLUG_PATTERN, RepoReference, RepoReferenceOption, SESSION, WEBSOCKET, YamlVariant, extractSlugFromUrl, formatRepoReference, getDefaultRepoReference, getGroupedRepoReferenceOptions, getRepoReferenceOptions, isValidGitUrl, isValidSlug, parseAgorYmlString, parseRepoReference, resolveRepoReference, resolveVariant, resolveVariantOrThrow, validateAgorYmlSchema, validateExtends, validateRepoEnvironment } from './config/browser.js';
5
- export { A as AgorCodexSettings, a as AgorConfig, b as AgorCorsMode, c as AgorCorsSettings, d as AgorCredentials, e as AgorCspDirectives, f as AgorCspSettings, g as AgorDaemonSettings, h as AgorDatabaseSettings, i as AgorDefaults, j as AgorDisplaySettings, k as AgorExecutionSettings, l as AgorOnboardingSettings, m as AgorOpenCodeSettings, n as AgorPathSettings, o as AgorSecuritySettings, p as AgorUISettings, q as AgorWorktreesSettings, C as ConfigKey, r as CredentialKey, M as ManagedEnvsMinimumRole, U as UnixUserMode, s as UnknownJson } from './types-DuWSldjW.js';
3
+ export { P as PublicBaseUrlNotConfiguredError, e as ensureCodexHome, a as expandHomePath, g as getAgorHome, b as getBaseUrl, c as getConfigPath, d as getConfigValue, f as getCredential, h as getDaemonUrl, i as getDaemonUser, j as getDataHome, k as getDataHomeAsync, l as getDefaultConfig, m as getReposDir, n as getReposDirAsync, o as getWorktreePath, p as getWorktreesDir, q as getWorktreesDirAsync, r as initConfig, s as isUnixImpersonationEnabled, t as isWorktreeRbacEnabled, u as loadConfig, v as loadConfigFromFile, w as loadConfigSync, x as requireDaemonUser, y as requirePublicBaseUrl, z as resolveCodexHome, A as saveConfig, B as setConfigValue, C as unsetConfigValue } from './config-manager-DTrsj6G3.js';
4
+ export { AgorYmlSchema, DAEMON, DATABASE, ENVIRONMENT, GIT, MCP_TOKEN, PAGINATION, REPO_SLUG_PATTERN, RepoReference, RepoReferenceOption, SESSION, WEBSOCKET, YamlVariant, extractSlugFromUrl, formatRepoReference, getDefaultRepoReference, getGroupedRepoReferenceOptions, getRepoReferenceOptions, isValidGitUrl, isValidSlug, normalizeRepoUrl, parseAgorYmlString, parseRepoReference, resolveRepoReference, resolveVariant, resolveVariantOrThrow, validateAgorYmlSchema, validateExtends, validateRepoEnvironment } from './config/browser.js';
5
+ export { A as AgorCodexSettings, a as AgorConfig, b as AgorCorsMode, c as AgorCorsSettings, d as AgorCredentials, e as AgorCspDirectives, f as AgorCspSettings, g as AgorDaemonSettings, h as AgorDatabaseSettings, i as AgorDefaults, j as AgorDisplaySettings, k as AgorExecutionSettings, l as AgorOnboardingSettings, m as AgorOpenCodeSettings, n as AgorPathSettings, o as AgorSecuritySettings, p as AgorUISettings, q as AgorWorktreesSettings, C as ConfigKey, r as CredentialKey, M as ManagedEnvsMinimumRole, U as UnixUserMode, s as UnknownJson } from './types-DqPMmTad.js';
6
6
  export { ArtifactRepository, BoardCommentsRepository, BoardObjectRepository, BoardRepository, CardRepository, CardTypeRepository, CreateUserData, DEFAULT_ADMIN_USER, DateBucket, GatewayChannelRepository, IdResolutionError, InsertValues, MCPServerRepository, MessagesRepository, MigrationError, MutationResult, PendingMigrationsInfo, RawQueryResult, RepoRepository, SaveTokenInput, SerializedSession, SerializedSessionRepository, SerializedSessionStatus, SessionEnvSelectionRepository, 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, dateTruncUtc, decryptApiKey, deleteFrom, encryptApiKey, executeAll, executeGet, executeRaw, executeRun, formatPendingMigrationsMessage, formatShortId, gatewayChannels, generateId, generateSlug, generateUniqueSlug, getOne, getUserByEmail, hash, identifyUrlParam, initializeDatabase, insert, insertOne, isEncrypted, isPostgresDatabase, isSQLiteDatabase, isSQLiteUrl, isShortId, jsonExtract, lockRowForUpdate, mcpServers, messages, repos, resolveShortId, runMigrations, seedInitialData, select, serializedSessions, sessionEnvSelections, sessionMcpServers, sessions, tasks, threadSessionMap, txAsDb, update, userApiKeys, userExists, userMcpOauthTokens, users, worktreeOwners, worktrees } from './db/index.js';
7
7
  export { RenderRepoInput, RenderWorktreeInput, RenderedEnvironmentSnapshot, renderWorktreeSnapshot } from './environment/render-snapshot.js';
8
8
  export { CloneOptions, CloneProgress, CloneResult, RestoreWorktreeResult, WorktreeInfo, buildWorktreeAddArgs, cleanWorktree, cloneRepo, createWorktree, deleteBranch, deleteRepoDirectory, deleteWorktreeDirectory, extractRepoName, getCurrentBranch, getCurrentSha, getDefaultBranch, getGitState, getRemoteBranches, getRemoteUrl, hasRemoteBranch, isClean, isGitRepo, isLikelyGitToken, isValidGitRepo, listWorktrees, pruneWorktrees, removeWorktree, restoreWorktreeFilesystem, validateGitRef } from './git/index.js';
@@ -12,15 +12,15 @@ export { A as AGENTIC_TOOL_CAPABILITIES, a as AgenticTool, b as AgenticToolCapab
12
12
  export { A as Artifact, a as ArtifactBuildStatus, b as ArtifactConsoleEntry, c as ArtifactPayload, d as ArtifactStatus, S as SandpackError, e as SandpackManifest } from './artifact-bMxYKV3b.js';
13
13
  export { A as AppBoardObject, a as ArtifactBoardObject, B as Board, b as BoardEntityObject, c as BoardEntityType, d as BoardExportBlob, e as BoardObject, f as BoardObjectType, g as BoardPosition, C as Card, h as CardID, i as CardType, j as CardTypeID, k as CardWithType, M as MarkdownBoardObject, S as SandpackTemplate, T as TextBoardObject, Z as ZoneBoardObject, l as ZoneTrigger, m as ZoneTriggerBehavior } from './board-D3YJ0_ih.js';
14
14
  export { B as BoardComment, a as BoardCommentCreate, b as BoardCommentPatch, C as CommentAttachmentType, c as CommentReaction, R as ReactionSummary, g as getCommentAttachmentType, d as groupReactions, i as isReply, e as isResolvable, f as isThreadRoot } from './board-comment-3N-jSgsk.js';
15
- export { A as ALLOWED_SERVICE_TIERS, D as DEFAULT_SERVICE_TIER, a as DaemonResourcesConfig, b as DaemonServicesConfig, E as EnforcedAgentConfig, R as ResourceRepoConfig, c as ResourceUserConfig, d as ResourceWorktreeConfig, S as SERVICE_DEPENDENCIES, e as SERVICE_GROUP_NAMES, f as SERVICE_GROUP_TO_MCP_DOMAINS, g as SERVICE_TIERS, h as SERVICE_TIER_RANK, i as ServiceDependencyViolation, j as ServiceGroupName, k as ServiceTier, l as ServiceTierViolation, m as autoPromoteDependencies, n as getServiceTier, o as isServiceEnabled, p as isServiceExternallyAccessible, q as isServiceFullAccess, v as validateAllowedTiers, r as validateServiceDependencies } from './config-services-4zjcxc8Z.js';
15
+ export { A as ALLOWED_SERVICE_TIERS, D as DEFAULT_SERVICE_TIER, a as DaemonResourcesConfig, b as DaemonServicesConfig, E as EnforcedAgentConfig, R as ResourceRepoConfig, c as ResourceUserConfig, d as ResourceWorktreeConfig, S as SERVICE_DEPENDENCIES, e as SERVICE_GROUP_NAMES, f as SERVICE_GROUP_TO_MCP_DOMAINS, g as SERVICE_TIERS, h as SERVICE_TIER_RANK, i as ServiceDependencyViolation, j as ServiceGroupName, k as ServiceTier, l as ServiceTierViolation, m as autoPromoteDependencies, n as getServiceTier, o as isServiceEnabled, p as isServiceExternallyAccessible, q as isServiceFullAccess, v as validateAllowedTiers, r as validateServiceDependencies } from './config-services-DcO2GRgh.js';
16
16
  export { C as ContextFileDetail, a as ContextFileListItem, b as ContextFilePath } from './context-BpkCELpO.js';
17
- 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-BK9CCjVG.js';
17
+ 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-C5QP3fwJ.js';
18
18
  export { ActiveUser, CreateInput, CursorLeaveEvent, CursorMoveEvent, CursorMovedEvent, DeepReadonly, FileDetail, FileListItem, FileListResponse, FilePath, FlattenObject, PaginatedResult, PartialKeys, RemoteCursor, RequireKeys, SessionViewMode, UpdateInput, isDefined, isNonEmptyString } from './types/index.js';
19
19
  export { C as ChannelType, G as GatewayAgenticConfig, a as GatewayChannel, b as GatewayChannelID, c as GatewayEnvVar, T as ThreadSessionMap, d as ThreadSessionMapID, e as ThreadStatus } from './gateway-B_4X-v07.js';
20
20
  export { A as AgenticToolID, a as AnyShortId, b as ArtifactID, B as BoardID, C as CommentID, I as IDPrefix, c as IdInput, M as MessageID, R as RepoID, S as SessionID, d as ShortID, T as TaskID, U as URL_SHORT_ID_LENGTH, e as UUID, f as UserID, W as WorktreeID, g as findByShortIdPrefix, t as toShortId } from './id-CoIbY_uc.js';
21
21
  export { C as CreateMCPServerInput, J as JSONSchema, M as MCPAuth, a as MCPCapabilities, b as MCPConfigFile, c as MCPPrompt, d as MCPResource, e as MCPScope, f as MCPServer, g as MCPServerFilters, h as MCPServerID, i as MCPServersConfig, j as MCPSource, k as MCPTestResult, l as MCPTool, m as MCPTransport, n as MCP_TOKEN_AUDIENCE, o as MCP_TOKEN_ISSUER, P as PromptArgument, S as SessionMCPServer, T as ToolPermission, U as UpdateMCPServerInput } from './mcp-z5v19H-r.js';
22
22
  export { C as ContentBlock, D as DiffEnrichment, F as FileDiff, I as InputRequestContent, a as InputRequestOption, b as InputRequestQuestion, c as InputRequestStatus, M as Message, d as MessageCreate, e as MessageRole, f as MessageSource, g as MessageStatus, h as MessageType, P as PermissionRequestContent, i as PermissionScope, j as PermissionStatus, S as StreamingEventType, k as StructuredPatchHunk, T as ToolUse } from './message-CHUUP6OS.js';
23
- export { A as AssistantConfig, P as PersistedAgentConfig, R as Repo, a as RepoEnvironment, b as RepoEnvironmentConfig, c as RepoEnvironmentConfigV1, d as RepoEnvironmentVariant, e as RepoSlug, f as RepoType, W as WORKTREE_PERMISSION_LEVELS, g as Worktree, h as WorktreeConfig, i as WorktreeEnvironmentInstance, j as WorktreeName, k as WorktreePermissionLevel, l as WorktreeScheduleConfig, m as getAssistantConfig, n as getPersistedAgentConfig, o as isAssistant, p as isPersistedAgent } from './repo-BcPbf8Ck.js';
23
+ export { A as AssistantConfig, C as CreateLocalRepoRequest, a as CreateRepoRequest, P as PersistedAgentConfig, R as Repo, b as RepoEnvironment, c as RepoEnvironmentConfig, d as RepoEnvironmentConfigV1, e as RepoEnvironmentVariant, f as RepoSlug, g as RepoType, W as WORKTREE_PERMISSION_LEVELS, h as Worktree, i as WorktreeConfig, j as WorktreeEnvironmentInstance, k as WorktreeName, l as WorktreePermissionLevel, m as WorktreeScheduleConfig, n as getAssistantConfig, o as getPersistedAgentConfig, p as isAssistant, q as isPersistedAgent } from './repo-84E0A2gV.js';
24
24
  export { R as Report, a as ReportPath, b as ReportTemplate, T as Task, c as TaskStatus, i as isNaturalCompletion } from './task-BLPFCORT.js';
25
25
  export { E as EffortLevel, G as GatewaySource, P as PermissionMode, S as ScheduledRunMetadata, a as Session, b as SessionStatus, c as SessionType, d as SpawnConfig, g as getDefaultPermissionMode, e as getGatewaySource, f as getSessionType, i as isGatewaySession } from './session-CAfhv1qL.js';
26
26
  export { A as AudioPreferences, B as BaseUserFields, C as ChimeSound, a as CreateUserInput, D as DefaultAgenticConfig, b as DefaultAgenticToolConfig, c as DefaultModelConfig, E as ENV_VAR_SCOPES_V05, d as EnvVarMetadata, e as EnvVarScope, f as EventStreamPreferences, O as OnboardingState, R as ROLES, S as SessionEnvSelection, U as UpdateUserInput, g as User, h as UserApiKey, i as UserPreferences, j as UserRole, k as hasMinimumRole, n as normalizeRole } from './user-BfVWBmXA.js';
@@ -10787,6 +10787,9 @@ var REPO_SLUG_PATTERN = /^[a-zA-Z0-9._-]+\/[a-zA-Z0-9._-]+$/;
10787
10787
  function isValidSlug(slug) {
10788
10788
  return REPO_SLUG_PATTERN.test(slug);
10789
10789
  }
10790
+ function normalizeRepoUrl(url) {
10791
+ return url.replace(/\/+$/, "").replace(/\.git$/, "");
10792
+ }
10790
10793
  function isValidGitUrl(url) {
10791
10794
  const sshPattern = /^(ssh:\/\/)?git@[\w.-]+(:\d+)?[:/][\w./-]+$/;
10792
10795
  const httpsPattern = /^https?:\/\/[\w.-]+(:\d+)?\/[\w./-]+$/;
@@ -14979,6 +14982,7 @@ export {
14979
14982
  mcpServers3 as mcpServers,
14980
14983
  messages3 as messages,
14981
14984
  normalizeFindResult,
14985
+ normalizeRepoUrl,
14982
14986
  normalizeRole,
14983
14987
  normalizeStoredEnvMap,
14984
14988
  normalizeStoredEnvVar,
@@ -825,6 +825,28 @@ interface Repo {
825
825
  created_at: string;
826
826
  last_updated: string;
827
827
  }
828
+ /**
829
+ * Request shape for creating/cloning a remote repository from the UI.
830
+ *
831
+ * The UI validates and fills in `slug` and `default_branch` before dispatching,
832
+ * so these are required here. Lower-level service calls (e.g. the MCP
833
+ * `agor_repos_create_remote` tool and `reposService.cloneRepository`) accept
834
+ * a looser shape where slug is optional and derived server-side.
835
+ */
836
+ interface CreateRepoRequest {
837
+ url: string;
838
+ slug: string;
839
+ default_branch: string;
840
+ }
841
+ /**
842
+ * Request shape for registering an existing local git clone with Agor.
843
+ *
844
+ * Slug is optional — if omitted, the daemon derives it from the directory name.
845
+ */
846
+ interface CreateLocalRepoRequest {
847
+ path: string;
848
+ slug?: string;
849
+ }
828
850
  /**
829
851
  * Git worktree configuration
830
852
  *
@@ -890,4 +912,4 @@ interface WorktreeConfig {
890
912
  last_used: string;
891
913
  }
892
914
 
893
- export { type AssistantConfig as A, type PersistedAgentConfig as P, type Repo as R, WORKTREE_PERMISSION_LEVELS as W, type RepoEnvironment as a, type RepoEnvironmentConfig as b, type RepoEnvironmentConfigV1 as c, type RepoEnvironmentVariant as d, type RepoSlug as e, type RepoType as f, type Worktree as g, type WorktreeConfig as h, type WorktreeEnvironmentInstance as i, type WorktreeName as j, type WorktreePermissionLevel as k, type WorktreeScheduleConfig as l, getAssistantConfig as m, getPersistedAgentConfig as n, isAssistant as o, isPersistedAgent as p };
915
+ export { type AssistantConfig as A, type CreateLocalRepoRequest as C, type PersistedAgentConfig as P, type Repo as R, WORKTREE_PERMISSION_LEVELS as W, type CreateRepoRequest as a, type RepoEnvironment as b, type RepoEnvironmentConfig as c, type RepoEnvironmentConfigV1 as d, type RepoEnvironmentVariant as e, type RepoSlug as f, type RepoType as g, type Worktree as h, type WorktreeConfig as i, type WorktreeEnvironmentInstance as j, type WorktreeName as k, type WorktreePermissionLevel as l, type WorktreeScheduleConfig as m, getAssistantConfig as n, getPersistedAgentConfig as o, isAssistant as p, isPersistedAgent as q };
@@ -825,6 +825,28 @@ interface Repo {
825
825
  created_at: string;
826
826
  last_updated: string;
827
827
  }
828
+ /**
829
+ * Request shape for creating/cloning a remote repository from the UI.
830
+ *
831
+ * The UI validates and fills in `slug` and `default_branch` before dispatching,
832
+ * so these are required here. Lower-level service calls (e.g. the MCP
833
+ * `agor_repos_create_remote` tool and `reposService.cloneRepository`) accept
834
+ * a looser shape where slug is optional and derived server-side.
835
+ */
836
+ interface CreateRepoRequest {
837
+ url: string;
838
+ slug: string;
839
+ default_branch: string;
840
+ }
841
+ /**
842
+ * Request shape for registering an existing local git clone with Agor.
843
+ *
844
+ * Slug is optional — if omitted, the daemon derives it from the directory name.
845
+ */
846
+ interface CreateLocalRepoRequest {
847
+ path: string;
848
+ slug?: string;
849
+ }
828
850
  /**
829
851
  * Git worktree configuration
830
852
  *
@@ -890,4 +912,4 @@ interface WorktreeConfig {
890
912
  last_used: string;
891
913
  }
892
914
 
893
- export { type AssistantConfig as A, type PersistedAgentConfig as P, type Repo as R, WORKTREE_PERMISSION_LEVELS as W, type RepoEnvironment as a, type RepoEnvironmentConfig as b, type RepoEnvironmentConfigV1 as c, type RepoEnvironmentVariant as d, type RepoSlug as e, type RepoType as f, type Worktree as g, type WorktreeConfig as h, type WorktreeEnvironmentInstance as i, type WorktreeName as j, type WorktreePermissionLevel as k, type WorktreeScheduleConfig as l, getAssistantConfig as m, getPersistedAgentConfig as n, isAssistant as o, isPersistedAgent as p };
915
+ export { type AssistantConfig as A, type CreateLocalRepoRequest as C, type PersistedAgentConfig as P, type Repo as R, WORKTREE_PERMISSION_LEVELS as W, type CreateRepoRequest as a, type RepoEnvironment as b, type RepoEnvironmentConfig as c, type RepoEnvironmentConfigV1 as d, type RepoEnvironmentVariant as e, type RepoSlug as f, type RepoType as g, type Worktree as h, type WorktreeConfig as i, type WorktreeEnvironmentInstance as j, type WorktreeName as k, type WorktreePermissionLevel as l, type WorktreeScheduleConfig as m, getAssistantConfig as n, getPersistedAgentConfig as o, isAssistant as p, isPersistedAgent as q };
@@ -1,5 +1,5 @@
1
1
  import { S as SessionID, W as WorktreeID, e as UUID } from '../id-CoIbY_uc.cjs';
2
- import { g as Worktree, R as Repo } from '../repo-CVyROjO4.cjs';
2
+ import { h as Worktree, R as Repo } from '../repo-Ckl-vaAk.cjs';
3
3
  import { a as Session } from '../session-MNU4BQv4.cjs';
4
4
  import { g as User } from '../user-DkNdeFoz.cjs';
5
5
  import '../agentic-tool-BulhIUGb.cjs';
@@ -1,5 +1,5 @@
1
1
  import { S as SessionID, W as WorktreeID, e as UUID } from '../id-CoIbY_uc.js';
2
- import { g as Worktree, R as Repo } from '../repo-BcPbf8Ck.js';
2
+ import { h as Worktree, R as Repo } from '../repo-84E0A2gV.js';
3
3
  import { a as Session } from '../session-CAfhv1qL.js';
4
4
  import { g as User } from '../user-BfVWBmXA.js';
5
5
  import '../agentic-tool-cYqsU5i5.js';
@@ -3,9 +3,9 @@ export { A as AGENTIC_TOOL_CAPABILITIES, a as AgenticTool, b as AgenticToolCapab
3
3
  export { A as Artifact, a as ArtifactBuildStatus, b as ArtifactConsoleEntry, c as ArtifactPayload, d as ArtifactStatus, S as SandpackError, e as SandpackManifest } from '../artifact-B2AqjUMb.cjs';
4
4
  export { A as AppBoardObject, a as ArtifactBoardObject, B as Board, b as BoardEntityObject, c as BoardEntityType, d as BoardExportBlob, e as BoardObject, f as BoardObjectType, g as BoardPosition, C as Card, h as CardID, i as CardType, j as CardTypeID, k as CardWithType, M as MarkdownBoardObject, S as SandpackTemplate, T as TextBoardObject, Z as ZoneBoardObject, l as ZoneTrigger, m as ZoneTriggerBehavior } from '../board-D7SnPqp-.cjs';
5
5
  export { B as BoardComment, a as BoardCommentCreate, b as BoardCommentPatch, C as CommentAttachmentType, c as CommentReaction, R as ReactionSummary, g as getCommentAttachmentType, d as groupReactions, i as isReply, e as isResolvable, f as isThreadRoot } from '../board-comment-DIdOJrSF.cjs';
6
- export { A as ALLOWED_SERVICE_TIERS, D as DEFAULT_SERVICE_TIER, a as DaemonResourcesConfig, b as DaemonServicesConfig, E as EnforcedAgentConfig, R as ResourceRepoConfig, c as ResourceUserConfig, d as ResourceWorktreeConfig, S as SERVICE_DEPENDENCIES, e as SERVICE_GROUP_NAMES, f as SERVICE_GROUP_TO_MCP_DOMAINS, g as SERVICE_TIERS, h as SERVICE_TIER_RANK, i as ServiceDependencyViolation, j as ServiceGroupName, k as ServiceTier, l as ServiceTierViolation, m as autoPromoteDependencies, n as getServiceTier, o as isServiceEnabled, p as isServiceExternallyAccessible, q as isServiceFullAccess, v as validateAllowedTiers, r as validateServiceDependencies } from '../config-services-CXe0OHq7.cjs';
6
+ export { A as ALLOWED_SERVICE_TIERS, D as DEFAULT_SERVICE_TIER, a as DaemonResourcesConfig, b as DaemonServicesConfig, E as EnforcedAgentConfig, R as ResourceRepoConfig, c as ResourceUserConfig, d as ResourceWorktreeConfig, S as SERVICE_DEPENDENCIES, e as SERVICE_GROUP_NAMES, f as SERVICE_GROUP_TO_MCP_DOMAINS, g as SERVICE_TIERS, h as SERVICE_TIER_RANK, i as ServiceDependencyViolation, j as ServiceGroupName, k as ServiceTier, l as ServiceTierViolation, m as autoPromoteDependencies, n as getServiceTier, o as isServiceEnabled, p as isServiceExternallyAccessible, q as isServiceFullAccess, v as validateAllowedTiers, r as validateServiceDependencies } from '../config-services-YEZ4DwCD.cjs';
7
7
  export { C as ContextFileDetail, a as ContextFileListItem, b as ContextFilePath } from '../context-BpkCELpO.cjs';
8
- 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-DnypeNDM.cjs';
8
+ 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-ChZyv3Kj.cjs';
9
9
  export { C as ChannelType, G as GatewayAgenticConfig, a as GatewayChannel, b as GatewayChannelID, c as GatewayEnvVar, T as ThreadSessionMap, d as ThreadSessionMapID, e as ThreadStatus } from '../gateway-BnOlAelY.cjs';
10
10
  import { B as BoardID } from '../id-CoIbY_uc.cjs';
11
11
  export { A as AgenticToolID, a as AnyShortId, b as ArtifactID, C as CommentID, I as IDPrefix, c as IdInput, M as MessageID, R as RepoID, S as SessionID, d as ShortID, T as TaskID, U as URL_SHORT_ID_LENGTH, e as UUID, f as UserID, W as WorktreeID, g as findByShortIdPrefix, t as toShortId } from '../id-CoIbY_uc.cjs';
@@ -13,7 +13,7 @@ export { C as CreateMCPServerInput, J as JSONSchema, M as MCPAuth, a as MCPCapab
13
13
  export { C as ContentBlock, D as DiffEnrichment, F as FileDiff, I as InputRequestContent, a as InputRequestOption, b as InputRequestQuestion, c as InputRequestStatus, M as Message, d as MessageCreate, e as MessageRole, f as MessageSource, g as MessageStatus, h as MessageType, P as PermissionRequestContent, i as PermissionScope, j as PermissionStatus, S as StreamingEventType, k as StructuredPatchHunk, T as ToolUse } from '../message-DinITA7a.cjs';
14
14
  import { g as User } from '../user-DkNdeFoz.cjs';
15
15
  export { A as AudioPreferences, B as BaseUserFields, C as ChimeSound, a as CreateUserInput, D as DefaultAgenticConfig, b as DefaultAgenticToolConfig, c as DefaultModelConfig, E as ENV_VAR_SCOPES_V05, d as EnvVarMetadata, e as EnvVarScope, f as EventStreamPreferences, O as OnboardingState, R as ROLES, S as SessionEnvSelection, U as UpdateUserInput, h as UserApiKey, i as UserPreferences, j as UserRole, k as hasMinimumRole, n as normalizeRole } from '../user-DkNdeFoz.cjs';
16
- export { A as AssistantConfig, P as PersistedAgentConfig, R as Repo, a as RepoEnvironment, b as RepoEnvironmentConfig, c as RepoEnvironmentConfigV1, d as RepoEnvironmentVariant, e as RepoSlug, f as RepoType, W as WORKTREE_PERMISSION_LEVELS, g as Worktree, h as WorktreeConfig, i as WorktreeEnvironmentInstance, j as WorktreeName, k as WorktreePermissionLevel, l as WorktreeScheduleConfig, m as getAssistantConfig, n as getPersistedAgentConfig, o as isAssistant, p as isPersistedAgent } from '../repo-CVyROjO4.cjs';
16
+ export { A as AssistantConfig, C as CreateLocalRepoRequest, a as CreateRepoRequest, P as PersistedAgentConfig, R as Repo, b as RepoEnvironment, c as RepoEnvironmentConfig, d as RepoEnvironmentConfigV1, e as RepoEnvironmentVariant, f as RepoSlug, g as RepoType, W as WORKTREE_PERMISSION_LEVELS, h as Worktree, i as WorktreeConfig, j as WorktreeEnvironmentInstance, k as WorktreeName, l as WorktreePermissionLevel, m as WorktreeScheduleConfig, n as getAssistantConfig, o as getPersistedAgentConfig, p as isAssistant, q as isPersistedAgent } from '../repo-Ckl-vaAk.cjs';
17
17
  export { R as Report, a as ReportPath, b as ReportTemplate, T as Task, c as TaskStatus, i as isNaturalCompletion } from '../task-wht1RJEL.cjs';
18
18
  export { E as EffortLevel, G as GatewaySource, P as PermissionMode, S as ScheduledRunMetadata, a as Session, b as SessionStatus, c as SessionType, d as SpawnConfig, g as getDefaultPermissionMode, e as getGatewaySource, f as getSessionType, i as isGatewaySession } from '../session-MNU4BQv4.cjs';
19
19
  export { Id, NullableId, Paginated, Params, Service, ServiceMethods } from '@feathersjs/feathers';
@@ -3,9 +3,9 @@ export { A as AGENTIC_TOOL_CAPABILITIES, a as AgenticTool, b as AgenticToolCapab
3
3
  export { A as Artifact, a as ArtifactBuildStatus, b as ArtifactConsoleEntry, c as ArtifactPayload, d as ArtifactStatus, S as SandpackError, e as SandpackManifest } from '../artifact-bMxYKV3b.js';
4
4
  export { A as AppBoardObject, a as ArtifactBoardObject, B as Board, b as BoardEntityObject, c as BoardEntityType, d as BoardExportBlob, e as BoardObject, f as BoardObjectType, g as BoardPosition, C as Card, h as CardID, i as CardType, j as CardTypeID, k as CardWithType, M as MarkdownBoardObject, S as SandpackTemplate, T as TextBoardObject, Z as ZoneBoardObject, l as ZoneTrigger, m as ZoneTriggerBehavior } from '../board-D3YJ0_ih.js';
5
5
  export { B as BoardComment, a as BoardCommentCreate, b as BoardCommentPatch, C as CommentAttachmentType, c as CommentReaction, R as ReactionSummary, g as getCommentAttachmentType, d as groupReactions, i as isReply, e as isResolvable, f as isThreadRoot } from '../board-comment-3N-jSgsk.js';
6
- export { A as ALLOWED_SERVICE_TIERS, D as DEFAULT_SERVICE_TIER, a as DaemonResourcesConfig, b as DaemonServicesConfig, E as EnforcedAgentConfig, R as ResourceRepoConfig, c as ResourceUserConfig, d as ResourceWorktreeConfig, S as SERVICE_DEPENDENCIES, e as SERVICE_GROUP_NAMES, f as SERVICE_GROUP_TO_MCP_DOMAINS, g as SERVICE_TIERS, h as SERVICE_TIER_RANK, i as ServiceDependencyViolation, j as ServiceGroupName, k as ServiceTier, l as ServiceTierViolation, m as autoPromoteDependencies, n as getServiceTier, o as isServiceEnabled, p as isServiceExternallyAccessible, q as isServiceFullAccess, v as validateAllowedTiers, r as validateServiceDependencies } from '../config-services-4zjcxc8Z.js';
6
+ export { A as ALLOWED_SERVICE_TIERS, D as DEFAULT_SERVICE_TIER, a as DaemonResourcesConfig, b as DaemonServicesConfig, E as EnforcedAgentConfig, R as ResourceRepoConfig, c as ResourceUserConfig, d as ResourceWorktreeConfig, S as SERVICE_DEPENDENCIES, e as SERVICE_GROUP_NAMES, f as SERVICE_GROUP_TO_MCP_DOMAINS, g as SERVICE_TIERS, h as SERVICE_TIER_RANK, i as ServiceDependencyViolation, j as ServiceGroupName, k as ServiceTier, l as ServiceTierViolation, m as autoPromoteDependencies, n as getServiceTier, o as isServiceEnabled, p as isServiceExternallyAccessible, q as isServiceFullAccess, v as validateAllowedTiers, r as validateServiceDependencies } from '../config-services-DcO2GRgh.js';
7
7
  export { C as ContextFileDetail, a as ContextFileListItem, b as ContextFilePath } from '../context-BpkCELpO.js';
8
- 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-BK9CCjVG.js';
8
+ 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-C5QP3fwJ.js';
9
9
  export { C as ChannelType, G as GatewayAgenticConfig, a as GatewayChannel, b as GatewayChannelID, c as GatewayEnvVar, T as ThreadSessionMap, d as ThreadSessionMapID, e as ThreadStatus } from '../gateway-B_4X-v07.js';
10
10
  import { B as BoardID } from '../id-CoIbY_uc.js';
11
11
  export { A as AgenticToolID, a as AnyShortId, b as ArtifactID, C as CommentID, I as IDPrefix, c as IdInput, M as MessageID, R as RepoID, S as SessionID, d as ShortID, T as TaskID, U as URL_SHORT_ID_LENGTH, e as UUID, f as UserID, W as WorktreeID, g as findByShortIdPrefix, t as toShortId } from '../id-CoIbY_uc.js';
@@ -13,7 +13,7 @@ export { C as CreateMCPServerInput, J as JSONSchema, M as MCPAuth, a as MCPCapab
13
13
  export { C as ContentBlock, D as DiffEnrichment, F as FileDiff, I as InputRequestContent, a as InputRequestOption, b as InputRequestQuestion, c as InputRequestStatus, M as Message, d as MessageCreate, e as MessageRole, f as MessageSource, g as MessageStatus, h as MessageType, P as PermissionRequestContent, i as PermissionScope, j as PermissionStatus, S as StreamingEventType, k as StructuredPatchHunk, T as ToolUse } from '../message-CHUUP6OS.js';
14
14
  import { g as User } from '../user-BfVWBmXA.js';
15
15
  export { A as AudioPreferences, B as BaseUserFields, C as ChimeSound, a as CreateUserInput, D as DefaultAgenticConfig, b as DefaultAgenticToolConfig, c as DefaultModelConfig, E as ENV_VAR_SCOPES_V05, d as EnvVarMetadata, e as EnvVarScope, f as EventStreamPreferences, O as OnboardingState, R as ROLES, S as SessionEnvSelection, U as UpdateUserInput, h as UserApiKey, i as UserPreferences, j as UserRole, k as hasMinimumRole, n as normalizeRole } from '../user-BfVWBmXA.js';
16
- export { A as AssistantConfig, P as PersistedAgentConfig, R as Repo, a as RepoEnvironment, b as RepoEnvironmentConfig, c as RepoEnvironmentConfigV1, d as RepoEnvironmentVariant, e as RepoSlug, f as RepoType, W as WORKTREE_PERMISSION_LEVELS, g as Worktree, h as WorktreeConfig, i as WorktreeEnvironmentInstance, j as WorktreeName, k as WorktreePermissionLevel, l as WorktreeScheduleConfig, m as getAssistantConfig, n as getPersistedAgentConfig, o as isAssistant, p as isPersistedAgent } from '../repo-BcPbf8Ck.js';
16
+ export { A as AssistantConfig, C as CreateLocalRepoRequest, a as CreateRepoRequest, P as PersistedAgentConfig, R as Repo, b as RepoEnvironment, c as RepoEnvironmentConfig, d as RepoEnvironmentConfigV1, e as RepoEnvironmentVariant, f as RepoSlug, g as RepoType, W as WORKTREE_PERMISSION_LEVELS, h as Worktree, i as WorktreeConfig, j as WorktreeEnvironmentInstance, k as WorktreeName, l as WorktreePermissionLevel, m as WorktreeScheduleConfig, n as getAssistantConfig, o as getPersistedAgentConfig, p as isAssistant, q as isPersistedAgent } from '../repo-84E0A2gV.js';
17
17
  export { R as Report, a as ReportPath, b as ReportTemplate, T as Task, c as TaskStatus, i as isNaturalCompletion } from '../task-BLPFCORT.js';
18
18
  export { E as EffortLevel, G as GatewaySource, P as PermissionMode, S as ScheduledRunMetadata, a as Session, b as SessionStatus, c as SessionType, d as SpawnConfig, g as getDefaultPermissionMode, e as getGatewaySource, f as getSessionType, i as isGatewaySession } from '../session-CAfhv1qL.js';
19
19
  export { Id, NullableId, Paginated, Params, Service, ServiceMethods } from '@feathersjs/feathers';
@@ -1,6 +1,6 @@
1
- import { a as DaemonResourcesConfig, b as DaemonServicesConfig } from './config-services-CXe0OHq7.cjs';
1
+ import { a as DaemonResourcesConfig, b as DaemonServicesConfig } from './config-services-YEZ4DwCD.cjs';
2
2
  import { j as UserRole } from './user-DkNdeFoz.cjs';
3
- import { k as WorktreePermissionLevel } from './repo-CVyROjO4.cjs';
3
+ import { l as WorktreePermissionLevel } from './repo-Ckl-vaAk.cjs';
4
4
 
5
5
  /**
6
6
  * Minimum role allowed to trigger managed environment commands
@@ -1,6 +1,6 @@
1
- import { a as DaemonResourcesConfig, b as DaemonServicesConfig } from './config-services-4zjcxc8Z.js';
1
+ import { a as DaemonResourcesConfig, b as DaemonServicesConfig } from './config-services-DcO2GRgh.js';
2
2
  import { j as UserRole } from './user-BfVWBmXA.js';
3
- import { k as WorktreePermissionLevel } from './repo-BcPbf8Ck.js';
3
+ import { l as WorktreePermissionLevel } from './repo-84E0A2gV.js';
4
4
 
5
5
  /**
6
6
  * Minimum role allowed to trigger managed environment commands
@@ -1,8 +1,8 @@
1
1
  import { SpawnOptions, ChildProcess } from 'node:child_process';
2
2
  import { j as Database } from '../client-B5PyIvNc.cjs';
3
- import { g as Worktree } from '../repo-CVyROjO4.cjs';
3
+ import { h as Worktree } from '../repo-Ckl-vaAk.cjs';
4
4
  import { R as RepoID, W as WorktreeID, e as UUID, f as UserID } from '../id-CoIbY_uc.cjs';
5
- import { U as UnixUserMode } from '../types-BsvM6vfZ.cjs';
5
+ import { U as UnixUserMode } from '../types-DNqfdt1z.cjs';
6
6
  import 'drizzle-orm/libsql';
7
7
  import 'drizzle-orm/postgres-js';
8
8
  import 'drizzle-orm';
@@ -14,7 +14,7 @@ import '../context-BpkCELpO.cjs';
14
14
  import '../task-wht1RJEL.cjs';
15
15
  import 'drizzle-orm/pg-core';
16
16
  import 'drizzle-orm/sqlite-core';
17
- import '../config-services-CXe0OHq7.cjs';
17
+ import '../config-services-YEZ4DwCD.cjs';
18
18
  import '../user-DkNdeFoz.cjs';
19
19
 
20
20
  /**
@@ -1,8 +1,8 @@
1
1
  import { SpawnOptions, ChildProcess } from 'node:child_process';
2
2
  import { j as Database } from '../client-C1CsRi19.js';
3
- import { g as Worktree } from '../repo-BcPbf8Ck.js';
3
+ import { h as Worktree } from '../repo-84E0A2gV.js';
4
4
  import { R as RepoID, W as WorktreeID, e as UUID, f as UserID } from '../id-CoIbY_uc.js';
5
- import { U as UnixUserMode } from '../types-DuWSldjW.js';
5
+ import { U as UnixUserMode } from '../types-DqPMmTad.js';
6
6
  import 'drizzle-orm/libsql';
7
7
  import 'drizzle-orm/postgres-js';
8
8
  import 'drizzle-orm';
@@ -14,7 +14,7 @@ import '../context-BpkCELpO.js';
14
14
  import '../task-BLPFCORT.js';
15
15
  import 'drizzle-orm/pg-core';
16
16
  import 'drizzle-orm/sqlite-core';
17
- import '../config-services-4zjcxc8Z.js';
17
+ import '../config-services-DcO2GRgh.js';
18
18
  import '../user-BfVWBmXA.js';
19
19
 
20
20
  /**
@@ -28550,6 +28550,7 @@ import {
28550
28550
  isValidGitUrl as isValidGitUrl2,
28551
28551
  isValidSlug as isValidSlug2,
28552
28552
  isWorktreeRbacEnabled as isWorktreeRbacEnabled3,
28553
+ normalizeRepoUrl,
28553
28554
  PAGINATION as PAGINATION9,
28554
28555
  parseAgorYml,
28555
28556
  resolveUserEnvironment,
@@ -28647,13 +28648,16 @@ var ReposService = class extends DrizzleService {
28647
28648
  * Client receives 'repos.created' WebSocket event when complete.
28648
28649
  */
28649
28650
  async cloneRepository(data, params) {
28650
- const slug = data.slug ?? data.name;
28651
+ let slug = data.slug || data.name;
28651
28652
  if (!slug) {
28652
- throw new Error("Slug is required to clone a repository");
28653
+ slug = extractSlugFromUrl2(normalizeRepoUrl(data.url));
28654
+ }
28655
+ if (!slug || !isValidSlug2(slug)) {
28656
+ throw new Error("Could not derive a valid slug from URL. Please provide a slug.");
28653
28657
  }
28654
28658
  const existing = await this.repoRepo.findBySlug(slug);
28655
28659
  if (existing) {
28656
- return { status: "pending", slug };
28660
+ return { status: "exists", slug };
28657
28661
  }
28658
28662
  let userEnv = {};
28659
28663
  const userId = params?.user?.user_id;
@@ -28550,6 +28550,7 @@ import {
28550
28550
  isValidGitUrl as isValidGitUrl2,
28551
28551
  isValidSlug as isValidSlug2,
28552
28552
  isWorktreeRbacEnabled as isWorktreeRbacEnabled3,
28553
+ normalizeRepoUrl,
28553
28554
  PAGINATION as PAGINATION9,
28554
28555
  parseAgorYml,
28555
28556
  resolveUserEnvironment,
@@ -28647,13 +28648,16 @@ var ReposService = class extends DrizzleService {
28647
28648
  * Client receives 'repos.created' WebSocket event when complete.
28648
28649
  */
28649
28650
  async cloneRepository(data, params) {
28650
- const slug = data.slug ?? data.name;
28651
+ let slug = data.slug || data.name;
28651
28652
  if (!slug) {
28652
- throw new Error("Slug is required to clone a repository");
28653
+ slug = extractSlugFromUrl2(normalizeRepoUrl(data.url));
28654
+ }
28655
+ if (!slug || !isValidSlug2(slug)) {
28656
+ throw new Error("Could not derive a valid slug from URL. Please provide a slug.");
28653
28657
  }
28654
28658
  const existing = await this.repoRepo.findBySlug(slug);
28655
28659
  if (existing) {
28656
- return { status: "pending", slug };
28660
+ return { status: "exists", slug };
28657
28661
  }
28658
28662
  let userEnv = {};
28659
28663
  const userId = params?.user?.user_id;
@@ -4107,6 +4107,7 @@ import {
4107
4107
  isValidGitUrl,
4108
4108
  isValidSlug,
4109
4109
  isWorktreeRbacEnabled,
4110
+ normalizeRepoUrl,
4110
4111
  PAGINATION as PAGINATION9,
4111
4112
  parseAgorYml,
4112
4113
  resolveUserEnvironment,
@@ -4413,13 +4414,16 @@ var ReposService = class extends DrizzleService {
4413
4414
  * Client receives 'repos.created' WebSocket event when complete.
4414
4415
  */
4415
4416
  async cloneRepository(data, params) {
4416
- const slug = data.slug ?? data.name;
4417
+ let slug = data.slug || data.name;
4417
4418
  if (!slug) {
4418
- throw new Error("Slug is required to clone a repository");
4419
+ slug = extractSlugFromUrl(normalizeRepoUrl(data.url));
4420
+ }
4421
+ if (!slug || !isValidSlug(slug)) {
4422
+ throw new Error("Could not derive a valid slug from URL. Please provide a slug.");
4419
4423
  }
4420
4424
  const existing = await this.repoRepo.findBySlug(slug);
4421
4425
  if (existing) {
4422
- return { status: "pending", slug };
4426
+ return { status: "exists", slug };
4423
4427
  }
4424
4428
  let userEnv = {};
4425
4429
  const userId = params?.user?.user_id;
@@ -1,5 +1,5 @@
1
1
  import { Database } from '@agor/core/db';
2
- import { QueryParams, MCPServer, CreateMCPServerInput, UpdateMCPServerInput } from '@agor/core/types';
2
+ import { QueryParams, MCPServer, CreateMCPServerInput, UpdateMCPServerInput, Paginated } from '@agor/core/types';
3
3
  import { DrizzleService } from '../adapters/drizzle.js';
4
4
 
5
5
  /**
@@ -28,12 +28,7 @@ declare class MCPServersService extends DrizzleService<MCPServer, CreateMCPServe
28
28
  /**
29
29
  * Override find to support filter params
30
30
  */
31
- find(params?: MCPServerParams): Promise<MCPServer[] | {
32
- total: number;
33
- limit: number;
34
- skip: number;
35
- data: MCPServer[];
36
- }>;
31
+ find(params?: MCPServerParams): Promise<MCPServer[] | Paginated<MCPServer>>;
37
32
  /**
38
33
  * Custom method: Find by scope
39
34
  */
@@ -51,7 +51,7 @@ declare class ReposService extends DrizzleService<Repo, Partial<Repo>, RepoParam
51
51
  slug?: string;
52
52
  name?: string;
53
53
  }, params?: RepoParams): Promise<{
54
- status: 'pending';
54
+ status: 'pending' | 'exists';
55
55
  slug: string;
56
56
  }>;
57
57
  /**
@@ -7,6 +7,7 @@ import {
7
7
  isValidGitUrl,
8
8
  isValidSlug,
9
9
  isWorktreeRbacEnabled,
10
+ normalizeRepoUrl,
10
11
  PAGINATION,
11
12
  parseAgorYml,
12
13
  resolveUserEnvironment,
@@ -520,13 +521,16 @@ var ReposService = class extends DrizzleService {
520
521
  * Client receives 'repos.created' WebSocket event when complete.
521
522
  */
522
523
  async cloneRepository(data, params) {
523
- const slug = data.slug ?? data.name;
524
+ let slug = data.slug || data.name;
524
525
  if (!slug) {
525
- throw new Error("Slug is required to clone a repository");
526
+ slug = extractSlugFromUrl(normalizeRepoUrl(data.url));
527
+ }
528
+ if (!slug || !isValidSlug(slug)) {
529
+ throw new Error("Could not derive a valid slug from URL. Please provide a slug.");
526
530
  }
527
531
  const existing = await this.repoRepo.findBySlug(slug);
528
532
  if (existing) {
529
- return { status: "pending", slug };
533
+ return { status: "exists", slug };
530
534
  }
531
535
  let userEnv = {};
532
536
  const userId = params?.user?.user_id;
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes