specrails-desktop 2.20.1 → 2.22.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (540) hide show
  1. package/README.md +3 -2
  2. package/client/dist/assets/{ActivityFeedPage-3WSqRYVx.js → ActivityFeedPage-roDyKGuv.js} +1 -1
  3. package/client/dist/assets/AgentBrowserCapture-BsXnWa4j.js +1 -0
  4. package/client/dist/assets/{AgentModeCodePane-Cnsea6eZ.js → AgentModeCodePane-o97EJvbJ.js} +2 -2
  5. package/client/dist/assets/AgentModeJobsPane-CLtpPxPM.js +1 -0
  6. package/client/dist/assets/AgentsPage-eNSo_ZcC.js +86 -0
  7. package/client/dist/assets/AnalyticsPage-cAJ60_Ex.js +1 -0
  8. package/client/dist/assets/{BarChart-C6If656N.js → BarChart-NLtK7xAY.js} +1 -1
  9. package/client/dist/assets/CodePage-B5rum8ZB.js +2 -0
  10. package/client/dist/assets/DesktopAnalyticsPage-DSuvG6Tq.js +1 -0
  11. package/client/dist/assets/DocsDialog-Bo38G3Yc.js +11 -0
  12. package/client/dist/assets/DocsPage-BNkiBBrC.js +11 -0
  13. package/client/dist/assets/{ExportDropdown-CezTK0EX.js → ExportDropdown-DCV8PN4-.js} +1 -1
  14. package/client/dist/assets/IntegrationsPage-BMJOzpPz.js +3 -0
  15. package/client/dist/assets/InteractiveJobComposer-aLduNs5R.js +19 -0
  16. package/client/dist/assets/JobDetailModal-kpkUWJIS.js +1 -0
  17. package/client/dist/assets/JobDetailPage-CFeqlrPU.js +1 -0
  18. package/client/dist/assets/JobsPage-fuwhXy2I.js +1 -0
  19. package/client/dist/assets/LoopBuilderPage-DP66322C.js +7 -0
  20. package/client/dist/assets/LoopPreviewModal-CpmBhE31.js +1 -0
  21. package/client/dist/assets/LoopsPage-CvQ18VUx.js +1 -0
  22. package/client/dist/assets/ProjectSettingsDialog-Deq4pwvq.js +1 -0
  23. package/client/dist/assets/TemplatePreviewModal-DziOj2Ct.js +1 -0
  24. package/client/dist/assets/agent-Csh4kP2S.js +1 -0
  25. package/client/dist/assets/agent-Cz_jgQX32.js +1 -0
  26. package/client/dist/assets/agent-D3vcIvaz2.js +1 -0
  27. package/client/dist/assets/agent-Dnbt0V4e.js +1 -0
  28. package/client/dist/assets/agent-HolR7QrZ.js +1 -0
  29. package/client/dist/assets/agent-Ka0rRWJy.js +1 -0
  30. package/client/dist/assets/agent-Te3yysMd.js +1 -0
  31. package/client/dist/assets/agent-vM4_iLDk2.js +1 -0
  32. package/client/dist/assets/{upload-CRtTj4Co.js → brain-kFJuEDNH.js} +1 -1
  33. package/client/dist/assets/{browser-DEEO-OSi.js → browser-BPkhILSJ.js} +1 -1
  34. package/client/dist/assets/{browser-BTivfZKE2.js → browser-BijVYG0Y2.js} +1 -1
  35. package/client/dist/assets/{browser-bpO3onlS.js → browser-BqLqJVVT.js} +1 -1
  36. package/client/dist/assets/{browser-DlSXtfu5.js → browser-Cc0iDqUi.js} +1 -1
  37. package/client/dist/assets/browser-CdS6O1Qb.js +1 -0
  38. package/client/dist/assets/{browser-BKP6hqQC2.js → browser-Cvg-QHvd2.js} +1 -1
  39. package/client/dist/assets/{browser-INCUyduh.js → browser-FRv8P02E.js} +1 -1
  40. package/client/dist/assets/{browser-DlKLfT612.js → browser-rWKj-RR_2.js} +1 -1
  41. package/client/dist/assets/code-BRcDlze52.js +1 -0
  42. package/client/dist/assets/code-BdMy3Ffq.js +1 -0
  43. package/client/dist/assets/code-CeQ0FZpC.js +1 -0
  44. package/client/dist/assets/code-CqCcRThR.js +1 -0
  45. package/client/dist/assets/code-DgeHz9CB.js +1 -0
  46. package/client/dist/assets/code-DzC1rMk12.js +1 -0
  47. package/client/dist/assets/code-UPVvmAKM2.js +1 -0
  48. package/client/dist/assets/code-thSEptMx.js +1 -0
  49. package/client/dist/assets/{common-QjVnq9XP2.js → common-BM3LFLCE2.js} +1 -1
  50. package/client/dist/assets/{common-CeQUwuHt2.js → common-Bwafujnc2.js} +1 -1
  51. package/client/dist/assets/{common-Bb64s3Bm.js → common-C-vU-j-I.js} +1 -1
  52. package/client/dist/assets/{common-KbQuTSGg.js → common-C5HKSbbz.js} +1 -1
  53. package/client/dist/assets/{common-BPQQkgJZ.js → common-CYaT2yHp.js} +1 -1
  54. package/client/dist/assets/{common-DPxotRK9.js → common-DhWTkocg.js} +1 -1
  55. package/client/dist/assets/{common-k5MTOHpn.js → common-DiPTT7V_2.js} +1 -1
  56. package/client/dist/assets/{common-C8ZD5upH2.js → common-DmqBPwZG.js} +1 -1
  57. package/client/dist/assets/{cssMode-DsArsSCT.js → cssMode-DBHbkBvI.js} +1 -1
  58. package/client/dist/assets/dashboard-BaStj_a_.js +1 -0
  59. package/client/dist/assets/dashboard-Bi6ugu5Q.js +1 -0
  60. package/client/dist/assets/dashboard-BmqTn3L02.js +1 -0
  61. package/client/dist/assets/dashboard-CvT8lOCT.js +1 -0
  62. package/client/dist/assets/dashboard-D7Pmeavq2.js +1 -0
  63. package/client/dist/assets/dashboard-DAnWdAac2.js +1 -0
  64. package/client/dist/assets/dashboard-JnYy2WLg.js +1 -0
  65. package/client/dist/assets/dashboard-L47YsFS_.js +1 -0
  66. package/client/dist/assets/{dist-js-BQn4yxaw.js → dist-js-BZSiJDbG.js} +1 -1
  67. package/client/dist/assets/{dist-js-BAWSqVtr.js → dist-js-DKpmIJlQ.js} +1 -1
  68. package/client/dist/assets/{editor.main-G3Sl9C67.js → editor.main-C9J2ikJK.js} +2 -2
  69. package/client/dist/assets/{freemarker2-pBzQNgFi.js → freemarker2-J5iIIIK-.js} +1 -1
  70. package/client/dist/assets/{handlebars-CtBTCnBI.js → handlebars-DSw1l_tw.js} +1 -1
  71. package/client/dist/assets/{html-Dx3DYBzY.js → html-h2-wE1Lj.js} +1 -1
  72. package/client/dist/assets/{htmlMode-In7frFOo.js → htmlMode-Cc_ij7lW.js} +1 -1
  73. package/client/dist/assets/index-DM6heiGa.js +155 -0
  74. package/client/dist/assets/index-DPX6_xIC.css +2 -0
  75. package/client/dist/assets/{javascript-BKcn-YkN.js → javascript-C1q3xv6N.js} +1 -1
  76. package/client/dist/assets/jira-B3613-gj.js +1 -0
  77. package/client/dist/assets/jira-BHAKtc4B.js +1 -0
  78. package/client/dist/assets/jira-Be369RIR2.js +1 -0
  79. package/client/dist/assets/jira-CPpgA-5z2.js +1 -0
  80. package/client/dist/assets/jira-D5efgwp_.js +1 -0
  81. package/client/dist/assets/jira-DS7ownDy.js +1 -0
  82. package/client/dist/assets/jira-bDs7Im2C.js +1 -0
  83. package/client/dist/assets/jira-uNH1gETL2.js +1 -0
  84. package/client/dist/assets/jobs-1GV2-4zd2.js +1 -0
  85. package/client/dist/assets/jobs-26F9gGcE.js +1 -0
  86. package/client/dist/assets/jobs-BgQzB0Sx2.js +1 -0
  87. package/client/dist/assets/jobs-BqWui9_f.js +1 -0
  88. package/client/dist/assets/jobs-CE8qeIYj.js +1 -0
  89. package/client/dist/assets/jobs-D5sZzgLs.js +1 -0
  90. package/client/dist/assets/jobs-DzeuASRf.js +1 -0
  91. package/client/dist/assets/jobs-Wh7dn28q2.js +1 -0
  92. package/client/dist/assets/{jsonMode-jNREoQ3C.js → jsonMode-CeaCdEhr.js} +1 -1
  93. package/client/dist/assets/{lib-C-g8QbZl.js → lib-B2nCKzmA.js} +1 -1
  94. package/client/dist/assets/{liquid-CtRkGqBu.js → liquid-eFsVK0V-.js} +1 -1
  95. package/client/dist/assets/loops-BvEenWBy.js +1 -0
  96. package/client/dist/assets/loops-CBiWd9Hf.js +1 -0
  97. package/client/dist/assets/loops-DNGiYKll2.js +1 -0
  98. package/client/dist/assets/{loops-Y3FQsUCh.js → loops-DjOtVXRo.js} +1 -1
  99. package/client/dist/assets/loops-HTHf-xu32.js +1 -0
  100. package/client/dist/assets/loops-YYV2bwjd.js +1 -0
  101. package/client/dist/assets/loops-hXgncEpF2.js +1 -0
  102. package/client/dist/assets/loops-kYbydDyN.js +1 -0
  103. package/client/dist/assets/{lspLanguageFeatures-Cl3gvD_W.js → lspLanguageFeatures-DT3-bbhn.js} +1 -1
  104. package/client/dist/assets/{mdx-B_nJldHz.js → mdx-Fuwnh1cX.js} +1 -1
  105. package/client/dist/assets/{monaco.contribution-PUeaZk8T.js → monaco.contribution-Desq7oq4.js} +2 -2
  106. package/client/dist/assets/{python-DS1Ce-A6.js → python-BgoEs6Cj.js} +1 -1
  107. package/client/dist/assets/{razor-L41Qg9OK.js → razor-CM1sPMMq.js} +1 -1
  108. package/client/dist/assets/{settings-BPq9nCJm.js → settings-BOHOmHkb.js} +1 -1
  109. package/client/dist/assets/{settings-r8Qq2Gzp2.js → settings-BlEA_7h02.js} +1 -1
  110. package/client/dist/assets/{settings-C-m3yEZ2.js → settings-BsJMsWGc.js} +1 -1
  111. package/client/dist/assets/{settings-zZr7NzuB.js → settings-D6qY9_UI.js} +1 -1
  112. package/client/dist/assets/{settings-VgCsjaYf.js → settings-DZJeXoRV.js} +1 -1
  113. package/client/dist/assets/settings-Mr7MnJbf.js +1 -0
  114. package/client/dist/assets/{settings-BWHGtmU12.js → settings-TNga5gIF2.js} +1 -1
  115. package/client/dist/assets/{settings-DZj7Uqy32.js → settings-lFoaYT-s2.js} +1 -1
  116. package/client/dist/assets/setup-B590KsTX.js +1 -0
  117. package/client/dist/assets/setup-BkyGoby6.js +1 -0
  118. package/client/dist/assets/setup-CEj6uY3-2.js +1 -0
  119. package/client/dist/assets/setup-CbIerFGf2.js +1 -0
  120. package/client/dist/assets/setup-CmU6bTCV2.js +1 -0
  121. package/client/dist/assets/setup-D674kWQH.js +1 -0
  122. package/client/dist/assets/setup-VNqXyB6Y.js +1 -0
  123. package/client/dist/assets/setup-iY8vH8pB.js +1 -0
  124. package/client/dist/assets/specs-C9Sd7BhH2.js +1 -0
  125. package/client/dist/assets/specs-CBDvEYKv.js +1 -0
  126. package/client/dist/assets/specs-CIPr9reA2.js +1 -0
  127. package/client/dist/assets/specs-CWtKcVDC.js +1 -0
  128. package/client/dist/assets/specs-CmEZY57v.js +1 -0
  129. package/client/dist/assets/specs-D2clrt2c2.js +1 -0
  130. package/client/dist/assets/specs-DTplt2XM.js +1 -0
  131. package/client/dist/assets/specs-PozUNhqb.js +1 -0
  132. package/client/dist/assets/{tsMode-BC1g186U.js → tsMode-BmT8WogI.js} +1 -1
  133. package/client/dist/assets/{typescript-BGlRGvJW.js → typescript-CQrQPsoW.js} +1 -1
  134. package/client/dist/assets/upload-CLAzW1mS.js +1 -0
  135. package/client/dist/assets/{value-D9aLbxw-.js → value-DSwzyyWR.js} +1 -1
  136. package/client/dist/assets/{workers-CXcXtO3b.js → workers-U0UXyLUf.js} +1 -1
  137. package/client/dist/assets/{xml-JdZZaIhJ.js → xml-WRxJs8_I.js} +1 -1
  138. package/client/dist/assets/{yaml-Cm82BVBt.js → yaml-CjpSTjJU.js} +1 -1
  139. package/client/dist/index.html +14 -14
  140. package/docs/customizing.md +2 -2
  141. package/docs/gemini.md +15 -4
  142. package/docs/guide/de/insights/3-code-explorer.md +6 -0
  143. package/docs/guide/de/integrations/3-jira-integration.md +1 -1
  144. package/docs/guide/de/integrations/6-agent-chat.md +5 -0
  145. package/docs/guide/de/pipeline/1-rails-and-jobs.md +6 -6
  146. package/docs/guide/de/pipeline/2-the-job-detail-view.md +27 -2
  147. package/docs/guide/de/pipeline/3-batch-implement-and-multi-feature.md +9 -5
  148. package/docs/guide/de/pipeline/5-the-loop-builder.md +1 -1
  149. package/docs/guide/de/specs/1-specs-and-the-backlog.md +3 -2
  150. package/docs/guide/en/insights/3-code-explorer.md +6 -0
  151. package/docs/guide/en/integrations/3-jira-integration.md +1 -1
  152. package/docs/guide/en/integrations/6-agent-chat.md +5 -0
  153. package/docs/guide/en/pipeline/1-rails-and-jobs.md +6 -6
  154. package/docs/guide/en/pipeline/2-the-job-detail-view.md +27 -2
  155. package/docs/guide/en/pipeline/3-batch-implement-and-multi-feature.md +10 -4
  156. package/docs/guide/en/pipeline/5-the-loop-builder.md +1 -1
  157. package/docs/guide/en/specs/1-specs-and-the-backlog.md +3 -2
  158. package/docs/guide/es/insights/3-code-explorer.md +6 -0
  159. package/docs/guide/es/integrations/3-jira-integration.md +1 -1
  160. package/docs/guide/es/integrations/6-agent-chat.md +5 -0
  161. package/docs/guide/es/pipeline/1-rails-and-jobs.md +6 -6
  162. package/docs/guide/es/pipeline/2-the-job-detail-view.md +27 -2
  163. package/docs/guide/es/pipeline/3-batch-implement-and-multi-feature.md +9 -5
  164. package/docs/guide/es/pipeline/5-the-loop-builder.md +1 -1
  165. package/docs/guide/es/specs/1-specs-and-the-backlog.md +3 -2
  166. package/docs/guide/fr/insights/3-code-explorer.md +6 -0
  167. package/docs/guide/fr/integrations/3-jira-integration.md +1 -1
  168. package/docs/guide/fr/integrations/6-agent-chat.md +5 -0
  169. package/docs/guide/fr/pipeline/1-rails-and-jobs.md +6 -6
  170. package/docs/guide/fr/pipeline/2-the-job-detail-view.md +27 -2
  171. package/docs/guide/fr/pipeline/3-batch-implement-and-multi-feature.md +9 -5
  172. package/docs/guide/fr/pipeline/5-the-loop-builder.md +1 -1
  173. package/docs/guide/fr/specs/1-specs-and-the-backlog.md +3 -2
  174. package/docs/guide/it/insights/3-code-explorer.md +6 -0
  175. package/docs/guide/it/integrations/3-jira-integration.md +1 -1
  176. package/docs/guide/it/integrations/6-agent-chat.md +5 -0
  177. package/docs/guide/it/pipeline/1-rails-and-jobs.md +6 -6
  178. package/docs/guide/it/pipeline/2-the-job-detail-view.md +27 -2
  179. package/docs/guide/it/pipeline/3-batch-implement-and-multi-feature.md +10 -6
  180. package/docs/guide/it/pipeline/5-the-loop-builder.md +1 -1
  181. package/docs/guide/it/specs/1-specs-and-the-backlog.md +3 -2
  182. package/docs/guide/ja/insights/3-code-explorer.md +6 -0
  183. package/docs/guide/ja/integrations/3-jira-integration.md +1 -1
  184. package/docs/guide/ja/integrations/6-agent-chat.md +5 -0
  185. package/docs/guide/ja/pipeline/1-rails-and-jobs.md +6 -6
  186. package/docs/guide/ja/pipeline/2-the-job-detail-view.md +27 -2
  187. package/docs/guide/ja/pipeline/3-batch-implement-and-multi-feature.md +9 -5
  188. package/docs/guide/ja/pipeline/5-the-loop-builder.md +1 -1
  189. package/docs/guide/ja/specs/1-specs-and-the-backlog.md +3 -2
  190. package/docs/guide/pt/insights/3-code-explorer.md +6 -0
  191. package/docs/guide/pt/integrations/3-jira-integration.md +1 -1
  192. package/docs/guide/pt/integrations/6-agent-chat.md +5 -0
  193. package/docs/guide/pt/pipeline/1-rails-and-jobs.md +6 -6
  194. package/docs/guide/pt/pipeline/2-the-job-detail-view.md +27 -2
  195. package/docs/guide/pt/pipeline/3-batch-implement-and-multi-feature.md +9 -5
  196. package/docs/guide/pt/pipeline/5-the-loop-builder.md +1 -1
  197. package/docs/guide/pt/specs/1-specs-and-the-backlog.md +3 -2
  198. package/docs/guide/zh/insights/3-code-explorer.md +6 -0
  199. package/docs/guide/zh/integrations/3-jira-integration.md +1 -1
  200. package/docs/guide/zh/integrations/6-agent-chat.md +5 -0
  201. package/docs/guide/zh/pipeline/1-rails-and-jobs.md +6 -6
  202. package/docs/guide/zh/pipeline/2-the-job-detail-view.md +27 -2
  203. package/docs/guide/zh/pipeline/3-batch-implement-and-multi-feature.md +10 -6
  204. package/docs/guide/zh/pipeline/5-the-loop-builder.md +1 -1
  205. package/docs/guide/zh/specs/1-specs-and-the-backlog.md +3 -2
  206. package/docs/internals/README.md +5 -0
  207. package/docs/internals/adding-a-provider.md +15 -3
  208. package/docs/internals/api-reference.md +6 -5
  209. package/docs/internals/browser-capture-performance.md +93 -0
  210. package/docs/internals/code-explorer-story.md +135 -0
  211. package/docs/internals/gemini-mcp-registration.md +53 -0
  212. package/docs/internals/interactive-jobs.md +212 -0
  213. package/docs/internals/loop-step-log-explorer.md +146 -0
  214. package/docs/internals/safe-pr-review-flow.md +367 -0
  215. package/docs/mcp.md +1 -1
  216. package/docs/running-pipelines.md +6 -2
  217. package/package.json +1 -1
  218. package/server/dist/agent-chat-manager.js +211 -0
  219. package/server/dist/agent-chat-registry.js +20 -0
  220. package/server/dist/agent-chat-router.js +22 -0
  221. package/server/dist/agent-mcp-config.js +45 -4
  222. package/server/dist/agent-operator-prompt.js +149 -56
  223. package/server/dist/agent-store.js +25 -0
  224. package/server/dist/agent-tier.js +6 -1
  225. package/server/dist/browser-capture-manager.js +184 -34
  226. package/server/dist/browser-playwright.js +98 -13
  227. package/server/dist/code-explorer-router.js +92 -0
  228. package/server/dist/db.js +102 -0
  229. package/server/dist/file-provenance.js +54 -1
  230. package/server/dist/file-story-manager.js +170 -0
  231. package/server/dist/file-story.js +148 -0
  232. package/server/dist/file-summary-generator.js +5 -4
  233. package/server/dist/git-guardrails.js +62 -0
  234. package/server/dist/index.js +5 -0
  235. package/server/dist/integration-branch.js +63 -0
  236. package/server/dist/interactive-job-session.js +226 -18
  237. package/server/dist/jira/jira-adf.js +9 -0
  238. package/server/dist/jira/jira-materializer.js +27 -4
  239. package/server/dist/jira/jira-status-resolver.js +12 -4
  240. package/server/dist/jira/jira-sync-manager.js +130 -2
  241. package/server/dist/jira-router.js +1 -1
  242. package/server/dist/loop-effect.js +12 -0
  243. package/server/dist/loop-executors.js +92 -22
  244. package/server/dist/loop-run-manager.js +354 -28
  245. package/server/dist/mcp/guide.js +18 -7
  246. package/server/dist/mcp/tools/jira.js +1 -1
  247. package/server/dist/mcp/tools/jobs.js +14 -5
  248. package/server/dist/mcp/tools/rails.js +137 -12
  249. package/server/dist/mcp/tools/specs.js +35 -9
  250. package/server/dist/mcp/tools/types.js +49 -0
  251. package/server/dist/mobile/mobile-ws.js +4 -0
  252. package/server/dist/path-resolver.js +46 -0
  253. package/server/dist/pr-body.js +240 -0
  254. package/server/dist/pr-naming.js +210 -0
  255. package/server/dist/pr-publisher.js +68 -0
  256. package/server/dist/project-registry.js +77 -17
  257. package/server/dist/project-router-jobs.js +53 -13
  258. package/server/dist/project-router-settings.js +33 -0
  259. package/server/dist/project-router-terminals.js +16 -0
  260. package/server/dist/project-router-tickets.js +57 -3
  261. package/server/dist/project-router.js +52 -13
  262. package/server/dist/queue-manager.js +268 -83
  263. package/server/dist/rail-isolated-launch.js +324 -34
  264. package/server/dist/rail-isolation.js +32 -5
  265. package/server/dist/rail-pr-decision.js +519 -0
  266. package/server/dist/rail-pr-delivery.js +75 -0
  267. package/server/dist/rail-pr-store.js +175 -0
  268. package/server/dist/rail-worktrees-store.js +18 -0
  269. package/server/dist/rails-router.js +241 -17
  270. package/server/dist/rails-store.js +78 -1
  271. package/server/dist/setup-prerequisites.js +105 -0
  272. package/server/dist/smash-runner.js +3 -1
  273. package/server/dist/ticket-store.js +7 -3
  274. package/server/dist/workspace-resolution.js +27 -0
  275. package/server/dist/worktree-manager.js +42 -7
  276. package/server/dist/worktree-overlay.js +261 -0
  277. package/client/dist/assets/AgentBrowserCapture-BlGDZahz.js +0 -1
  278. package/client/dist/assets/AgentModeJobsPane-CyNR-9BO.js +0 -1
  279. package/client/dist/assets/AgentsPage-dNsEsY_x.js +0 -86
  280. package/client/dist/assets/AnalyticsPage-BAxmR0HQ.js +0 -1
  281. package/client/dist/assets/CodePage-Crc4BBQN.js +0 -2
  282. package/client/dist/assets/DesktopAnalyticsPage-IXSnbCce.js +0 -1
  283. package/client/dist/assets/DocsDialog-Bc4hx7oW.js +0 -11
  284. package/client/dist/assets/DocsPage-bEU4t9c6.js +0 -11
  285. package/client/dist/assets/IntegrationsPage-wq2CezEL.js +0 -3
  286. package/client/dist/assets/JobDetailPage-BBcPk3j8.js +0 -1
  287. package/client/dist/assets/JobsPage-DXrSPlwa.js +0 -1
  288. package/client/dist/assets/LogViewer-BoYbwvbU.js +0 -16
  289. package/client/dist/assets/LoopBuilderPage-CiUMAuWz.js +0 -7
  290. package/client/dist/assets/LoopsPage-Xrp6W5XW.js +0 -1
  291. package/client/dist/assets/ProjectSettingsDialog-BU98L5JD.js +0 -1
  292. package/client/dist/assets/agent-B7GdHP3Z.js +0 -1
  293. package/client/dist/assets/agent-BHmcgoJf.js +0 -1
  294. package/client/dist/assets/agent-BdY_fii4.js +0 -1
  295. package/client/dist/assets/agent-C32FOi9v.js +0 -1
  296. package/client/dist/assets/agent-CiFQxoaZ2.js +0 -1
  297. package/client/dist/assets/agent-CtAag7V6.js +0 -1
  298. package/client/dist/assets/agent-DE4Mp1fY2.js +0 -1
  299. package/client/dist/assets/agent-DK8qovyG2.js +0 -1
  300. package/client/dist/assets/browser-ZB1afzjZ.js +0 -1
  301. package/client/dist/assets/code-BFxE1Yt62.js +0 -1
  302. package/client/dist/assets/code-BefYOm5Q.js +0 -1
  303. package/client/dist/assets/code-BkXpJt99.js +0 -1
  304. package/client/dist/assets/code-C6Sq7_t8.js +0 -1
  305. package/client/dist/assets/code-CGj3w-2N.js +0 -1
  306. package/client/dist/assets/code-Dfsxc9o82.js +0 -1
  307. package/client/dist/assets/code-Y5urks5s2.js +0 -1
  308. package/client/dist/assets/code-wtcs0ivb.js +0 -1
  309. package/client/dist/assets/dashboard-B8032psZ.js +0 -1
  310. package/client/dist/assets/dashboard-BHGKtxty2.js +0 -1
  311. package/client/dist/assets/dashboard-CXnoUgN22.js +0 -1
  312. package/client/dist/assets/dashboard-Ccyxqy7d.js +0 -1
  313. package/client/dist/assets/dashboard-CoED_41r.js +0 -1
  314. package/client/dist/assets/dashboard-Dc5ZAgMN.js +0 -1
  315. package/client/dist/assets/dashboard-JMY8ueD3.js +0 -1
  316. package/client/dist/assets/dashboard-tkWr1aHD2.js +0 -1
  317. package/client/dist/assets/index-BHPbzyg6.css +0 -2
  318. package/client/dist/assets/index-n2PmJGF6.js +0 -152
  319. package/client/dist/assets/jira-BcZzX9122.js +0 -1
  320. package/client/dist/assets/jira-CTYs7LA12.js +0 -1
  321. package/client/dist/assets/jira-D2nN39e92.js +0 -1
  322. package/client/dist/assets/jira-DJxmIkyr.js +0 -1
  323. package/client/dist/assets/jira-DXMoAKWD.js +0 -1
  324. package/client/dist/assets/jira-IhC1ROIc.js +0 -1
  325. package/client/dist/assets/jira-Iw575fN8.js +0 -1
  326. package/client/dist/assets/jira-kbWZY7jH.js +0 -1
  327. package/client/dist/assets/jobs-BqF79kHz2.js +0 -1
  328. package/client/dist/assets/jobs-C1XM5urS.js +0 -1
  329. package/client/dist/assets/jobs-C5UjG0262.js +0 -1
  330. package/client/dist/assets/jobs-DBfaHTxC.js +0 -1
  331. package/client/dist/assets/jobs-DM4BDPdg.js +0 -1
  332. package/client/dist/assets/jobs-Da5OkZmf2.js +0 -1
  333. package/client/dist/assets/jobs-JJdnuQ03.js +0 -1
  334. package/client/dist/assets/jobs-SI34ML8I.js +0 -1
  335. package/client/dist/assets/loops-BR4FmOv12.js +0 -1
  336. package/client/dist/assets/loops-BgX_uudn.js +0 -1
  337. package/client/dist/assets/loops-Bpl2j2LP.js +0 -1
  338. package/client/dist/assets/loops-CQuuMlyZ.js +0 -1
  339. package/client/dist/assets/loops-DW8hSMdS2.js +0 -1
  340. package/client/dist/assets/loops-Q2muu8hW2.js +0 -1
  341. package/client/dist/assets/loops-q7CNDvfK.js +0 -1
  342. package/client/dist/assets/settings-CY8udi0e.js +0 -1
  343. package/client/dist/assets/setup-CNMdCHHt2.js +0 -1
  344. package/client/dist/assets/setup-Cag4XrbL2.js +0 -1
  345. package/client/dist/assets/setup-D9IHGoWU.js +0 -1
  346. package/client/dist/assets/setup-Dg6Ba3JT.js +0 -1
  347. package/client/dist/assets/setup-DyK36RIW.js +0 -1
  348. package/client/dist/assets/setup-G4ZvDKxX.js +0 -1
  349. package/client/dist/assets/setup-aTlGxuwi2.js +0 -1
  350. package/client/dist/assets/setup-kWsoAeHQ.js +0 -1
  351. package/client/dist/assets/specs-BFSUPa122.js +0 -1
  352. package/client/dist/assets/specs-BMzip1WY2.js +0 -1
  353. package/client/dist/assets/specs-BYeAbIEy.js +0 -1
  354. package/client/dist/assets/specs-C-mtLcXw.js +0 -1
  355. package/client/dist/assets/specs-CAzpvADd2.js +0 -1
  356. package/client/dist/assets/specs-CyRIw_IR.js +0 -1
  357. package/client/dist/assets/specs-DMm7gB_l.js +0 -1
  358. package/client/dist/assets/specs-DuottM0Z.js +0 -1
  359. /package/client/dist/assets/{abap-CpHUwCVK.js → abap-D0E4FfVW.js} +0 -0
  360. /package/client/dist/assets/{activity-DemHQS7l.js → activity--iN4Ad2R2.js} +0 -0
  361. /package/client/dist/assets/{activity-B_71BWg3.js → activity-6hM_ZSg9.js} +0 -0
  362. /package/client/dist/assets/{activity-DHv2V5Oi.js → activity-BZNfOdiS.js} +0 -0
  363. /package/client/dist/assets/{activity-D0rfjQzT2.js → activity-BuVo5sPB.js} +0 -0
  364. /package/client/dist/assets/{activity-BpTTj_PH.js → activity-CIOLxGvh.js} +0 -0
  365. /package/client/dist/assets/{activity-D2e62vbV2.js → activity-D2r2h3SE2.js} +0 -0
  366. /package/client/dist/assets/{activity-Ch-wbr0C2.js → activity-DtxrAUMo2.js} +0 -0
  367. /package/client/dist/assets/{addon-image-Ba-TY3wr.js → addon-image-CwoZj17F.js} +0 -0
  368. /package/client/dist/assets/{addon-ligatures-T4ARLiuu.js → addon-ligatures-CWDrED80.js} +0 -0
  369. /package/client/dist/assets/{addon-webgl-Cd73n8eh.js → addon-webgl-DMbGeI_u.js} +0 -0
  370. /package/client/dist/assets/{addspec-xwRX_Pnf.js → addspec-BMtLZLW62.js} +0 -0
  371. /package/client/dist/assets/{addspec-l_zU5gla.js → addspec-CP0HRuxY.js} +0 -0
  372. /package/client/dist/assets/{addspec-Dio-H5z0.js → addspec-CRuvWn8d.js} +0 -0
  373. /package/client/dist/assets/{addspec-D6L4ZteP.js → addspec-D-JLDsUV.js} +0 -0
  374. /package/client/dist/assets/{addspec-CrEm6Fzr2.js → addspec-DfhDbg5c.js} +0 -0
  375. /package/client/dist/assets/{addspec-B6Ns8KU02.js → addspec-bsNDdqRm2.js} +0 -0
  376. /package/client/dist/assets/{addspec-qGyH7MHy2.js → addspec-mgPOt5q02.js} +0 -0
  377. /package/client/dist/assets/{agents-OzxCLVW1.js → agents-78bTZGZh.js} +0 -0
  378. /package/client/dist/assets/{agents-hv3sqmPm2.js → agents-BLhWCmDS2.js} +0 -0
  379. /package/client/dist/assets/{agents-CHgCudUV.js → agents-BUdEi3-N.js} +0 -0
  380. /package/client/dist/assets/{agents-Dumx4JiM2.js → agents-BpoUaoW92.js} +0 -0
  381. /package/client/dist/assets/{agents-CnaPeSyw.js → agents-CWo-KyAB.js} +0 -0
  382. /package/client/dist/assets/{agents-Xh-zYHUx2.js → agents-DDtCJ5M02.js} +0 -0
  383. /package/client/dist/assets/{agents-DuhLEaQ_.js → agents-bvyRLczL.js} +0 -0
  384. /package/client/dist/assets/{agentstudio-CCthUdzR.js → agentstudio-BMQxc_bz.js} +0 -0
  385. /package/client/dist/assets/{agentstudio-CcH8Ckql2.js → agentstudio-COZriimI2.js} +0 -0
  386. /package/client/dist/assets/{agentstudio-Bo91kfUd2.js → agentstudio-CWgXG5W52.js} +0 -0
  387. /package/client/dist/assets/{agentstudio-VJOa_NVO.js → agentstudio-C_Jq8Tl4.js} +0 -0
  388. /package/client/dist/assets/{agentstudio-BIxikDf_.js → agentstudio-Dtq3dGYk.js} +0 -0
  389. /package/client/dist/assets/{agentstudio-Bz8cP8_c.js → agentstudio-jKMTdT70.js} +0 -0
  390. /package/client/dist/assets/{agentstudio-DARgYg5Z2.js → agentstudio-sI27TpBu2.js} +0 -0
  391. /package/client/dist/assets/{aiedit-5ZXN4cep2.js → aiedit-6CHdb_iv2.js} +0 -0
  392. /package/client/dist/assets/{aiedit-B7gAJZVC.js → aiedit-B03pD_Na.js} +0 -0
  393. /package/client/dist/assets/{aiedit-D92V-kUW.js → aiedit-BtRqRxML.js} +0 -0
  394. /package/client/dist/assets/{aiedit-D9ualLVJ.js → aiedit-eMN4eQPF.js} +0 -0
  395. /package/client/dist/assets/{aiedit-h48tJU0V2.js → aiedit-hknZlly82.js} +0 -0
  396. /package/client/dist/assets/{aiedit-xkA_mR2a2.js → aiedit-igmw-ZoZ2.js} +0 -0
  397. /package/client/dist/assets/{aiedit-7B2dvCv-.js → aiedit-pc5JDUq1.js} +0 -0
  398. /package/client/dist/assets/{analytics-slx4X1mu2.js → analytics-BWMUZ2Pq2.js} +0 -0
  399. /package/client/dist/assets/{analytics-uRNP6yAJ.js → analytics-Bj-SmKHa.js} +0 -0
  400. /package/client/dist/assets/{analytics-WF1I49ln.js → analytics-C5dpiS0o.js} +0 -0
  401. /package/client/dist/assets/{analytics-CBvaxOId.js → analytics-CCprAqk3.js} +0 -0
  402. /package/client/dist/assets/{analytics-BakymH7Z2.js → analytics-CR1TJqUi2.js} +0 -0
  403. /package/client/dist/assets/{analytics-B7bPj6u_2.js → analytics-DfNdXR0y2.js} +0 -0
  404. /package/client/dist/assets/{analytics-DZ74aQ54.js → analytics-rmHuJv0V.js} +0 -0
  405. /package/client/dist/assets/{apex-DlD7oJX6.js → apex-D_X_8J4d.js} +0 -0
  406. /package/client/dist/assets/{atom-one-dark-BrRN8wBy.js → atom-one-dark-BMDPFwRZ.js} +0 -0
  407. /package/client/dist/assets/{attachments-C11tOKZ_.js → attachments-BgBNSqQd.js} +0 -0
  408. /package/client/dist/assets/{attachments-Bnbyj2PN.js → attachments-BjyMmrwE.js} +0 -0
  409. /package/client/dist/assets/{attachments-CIeLa8l12.js → attachments-C9GTTJsx2.js} +0 -0
  410. /package/client/dist/assets/{attachments-DslHfa-L.js → attachments-DCZOL1RU.js} +0 -0
  411. /package/client/dist/assets/{attachments-C-gyrCOb.js → attachments-DL-bPy9E.js} +0 -0
  412. /package/client/dist/assets/{attachments-Cxrs0pyL2.js → attachments-DPCmkFZu2.js} +0 -0
  413. /package/client/dist/assets/{attachments-TTPsc0a52.js → attachments-rNn1ekRy2.js} +0 -0
  414. /package/client/dist/assets/{azcli-CmXFAbc-.js → azcli-PZLnZ3jH.js} +0 -0
  415. /package/client/dist/assets/{bat-DdNJq4hH.js → bat-KlBOxpO4.js} +0 -0
  416. /package/client/dist/assets/{bicep-Bppz7WOA.js → bicep-CgG9oF3V.js} +0 -0
  417. /package/client/dist/assets/{cameligo-0MRMdSmg.js → cameligo-6R45j6Ph.js} +0 -0
  418. /package/client/dist/assets/{chat-BvHrebKC2.js → chat-BgL3zv6x2.js} +0 -0
  419. /package/client/dist/assets/{chat-CZyiLJvQ.js → chat-Bh3NdgJs.js} +0 -0
  420. /package/client/dist/assets/{chat-DKYP7NnC.js → chat-Bom6bqK3.js} +0 -0
  421. /package/client/dist/assets/{chat-5mdg_YIc2.js → chat-DdwZjT8K2.js} +0 -0
  422. /package/client/dist/assets/{chat-wkTIy9rX.js → chat-Dnwg-NpQ.js} +0 -0
  423. /package/client/dist/assets/{chat-BpYxnkr4.js → chat-DsbwJhus.js} +0 -0
  424. /package/client/dist/assets/{chat-BGax2nV62.js → chat-vylxqR0P2.js} +0 -0
  425. /package/client/dist/assets/{clojure-B5dKj863.js → clojure-CLAAMO7J.js} +0 -0
  426. /package/client/dist/assets/{clsx-1dnHRn8W.js → clsx-CNmW0Nip.js} +0 -0
  427. /package/client/dist/assets/{coffee-DSbWjzk7.js → coffee-AruSygo-.js} +0 -0
  428. /package/client/dist/assets/{commands-uz_uKT242.js → commands-C4Y3C-PF2.js} +0 -0
  429. /package/client/dist/assets/{commands-Bb7MnPqn2.js → commands-CSDs9q_2.js} +0 -0
  430. /package/client/dist/assets/{commands-C_7zZwJf.js → commands-DkU0qliq.js} +0 -0
  431. /package/client/dist/assets/{commands-D_6B8lfU.js → commands-JWMfGDmr.js} +0 -0
  432. /package/client/dist/assets/{commands-DBc5llLi2.js → commands-RHOchN4n2.js} +0 -0
  433. /package/client/dist/assets/{commands-CQkdthjF.js → commands-u-4eEHCN.js} +0 -0
  434. /package/client/dist/assets/{commands-DhZNhSbl.js → commands-xHDDGfcP2.js} +0 -0
  435. /package/client/dist/assets/{cpp-SBF8SAh9.js → cpp-DEE5r4Pw.js} +0 -0
  436. /package/client/dist/assets/{csharp-Lzuq_1t-.js → csharp-BVXJUvbK.js} +0 -0
  437. /package/client/dist/assets/{csp-BEzxZqi1.js → csp-cXOF0JoV.js} +0 -0
  438. /package/client/dist/assets/{css-C3D3PKln.js → css-C_zQuAoy.js} +0 -0
  439. /package/client/dist/assets/{cypher-CQ3dEPmv.js → cypher-t95m_Q-O.js} +0 -0
  440. /package/client/dist/assets/{dart-DCPmxolI.js → dart-B4r1Tg-e.js} +0 -0
  441. /package/client/dist/assets/{dockerfile-B_2_aaTO.js → dockerfile-6mt7zHQw.js} +0 -0
  442. /package/client/dist/assets/{ecl-rADUeXsV.js → ecl-DEY_Fz_Q.js} +0 -0
  443. /package/client/dist/assets/{editor.api2-T7u8kQWG.js → editor.api2-C3B0tp2x.js} +0 -0
  444. /package/client/dist/assets/{elixir-DOd-TuJO.js → elixir-R6-q1c5t.js} +0 -0
  445. /package/client/dist/assets/{explore-BHEhNekP2.js → explore-B7fblXBb2.js} +0 -0
  446. /package/client/dist/assets/{explore-DAsroA482.js → explore-BHtEpoNN2.js} +0 -0
  447. /package/client/dist/assets/{explore-UwHHj2ux.js → explore-C0k8HrkN.js} +0 -0
  448. /package/client/dist/assets/{explore-DaXiW9-6.js → explore-CNBzrEPS.js} +0 -0
  449. /package/client/dist/assets/{explore-CWlAXx0f2.js → explore-D_mWBYCS2.js} +0 -0
  450. /package/client/dist/assets/{explore-DG1CtYqT.js → explore-Dahc1lOx.js} +0 -0
  451. /package/client/dist/assets/{explore-DMSGAnhK.js → explore-UvW1jEMa.js} +0 -0
  452. /package/client/dist/assets/{flow9-Bf7zg_j0.js → flow9-CNQvHBOt.js} +0 -0
  453. /package/client/dist/assets/{format-command-BHymDa4r.js → format-command-CuWuRvka.js} +0 -0
  454. /package/client/dist/assets/{fsharp-BqROZjbA.js → fsharp-vPZkFXwv.js} +0 -0
  455. /package/client/dist/assets/{go-oQTP5uLe.js → go-KUzBMYJ_.js} +0 -0
  456. /package/client/dist/assets/{graphql-CSHfTU3q.js → graphql-C3W0rCsD.js} +0 -0
  457. /package/client/dist/assets/{hcl-CeG-RoFJ.js → hcl-BOOMFSNX.js} +0 -0
  458. /package/client/dist/assets/{ini-B2Dv4ohc.js → ini-CFat1WJr.js} +0 -0
  459. /package/client/dist/assets/{integrations-CAF21FbQ.js → integrations-4KZnYECp.js} +0 -0
  460. /package/client/dist/assets/{integrations-CHCgning2.js → integrations-7W266oqF2.js} +0 -0
  461. /package/client/dist/assets/{integrations-B-JVE1_D.js → integrations-BNuauK3o.js} +0 -0
  462. /package/client/dist/assets/{integrations-BAujIDoE.js → integrations-CHy8tnpV.js} +0 -0
  463. /package/client/dist/assets/{integrations-DS5FFMes.js → integrations-Cl_wD5AI.js} +0 -0
  464. /package/client/dist/assets/{integrations-axZN4--n2.js → integrations-Cy8nZ_dv2.js} +0 -0
  465. /package/client/dist/assets/{integrations-CtsOpq2D2.js → integrations-zMqY4VU12.js} +0 -0
  466. /package/client/dist/assets/{java-aUDDeufb.js → java-Dee-CNAM.js} +0 -0
  467. /package/client/dist/assets/{julia-C5LbruO5.js → julia-CGNlLYuU.js} +0 -0
  468. /package/client/dist/assets/{kotlin-C6mOuSKk.js → kotlin-CY7lhknJ.js} +0 -0
  469. /package/client/dist/assets/{less-D5qC3caW.js → less-D0KN7hfJ.js} +0 -0
  470. /package/client/dist/assets/{lexon-Dr2La-fj.js → lexon-CuRJufPs.js} +0 -0
  471. /package/client/dist/assets/{lua-Zy6u5z6Z.js → lua-DHvH62Zf.js} +0 -0
  472. /package/client/dist/assets/{m3-C7XHeDz_.js → m3-tlthQ8Fo.js} +0 -0
  473. /package/client/dist/assets/{markdown-PiF7r-2h.js → markdown-Dbx1LgUZ.js} +0 -0
  474. /package/client/dist/assets/{mcp-B_nWlxZa2.js → mcp-CjVKXAhD2.js} +0 -0
  475. /package/client/dist/assets/{mcp-B8omp_Cd.js → mcp-Dcl-XxkR.js} +0 -0
  476. /package/client/dist/assets/{mcp-DTCCrYHz2.js → mcp-DtbxuH3V2.js} +0 -0
  477. /package/client/dist/assets/{mcp-DytBbASZ.js → mcp-H-gnQUdN.js} +0 -0
  478. /package/client/dist/assets/{mcp-D_oPS6Zc.js → mcp-N1nzp8oL.js} +0 -0
  479. /package/client/dist/assets/{mcp-Cb2jtHP72.js → mcp-XJNRfxVp2.js} +0 -0
  480. /package/client/dist/assets/{mcp-DPqm2C8-.js → mcp-sRmWE8WJ.js} +0 -0
  481. /package/client/dist/assets/{mips-nn07GiyE.js → mips-D_O3IUz_.js} +0 -0
  482. /package/client/dist/assets/{msdax-DaKFVMST.js → msdax-C_ZmCnRt.js} +0 -0
  483. /package/client/dist/assets/{mysql-C6d6xrbU.js → mysql-C-dCEYSX.js} +0 -0
  484. /package/client/dist/assets/{nav-Cibp2KWF.js → nav-40HzpIFb.js} +0 -0
  485. /package/client/dist/assets/{nav-DtTnF9xd.js → nav-8yPhBn00.js} +0 -0
  486. /package/client/dist/assets/{nav-Danf5sRf2.js → nav-B6PkGfTk2.js} +0 -0
  487. /package/client/dist/assets/{nav-Bqhyfbcj2.js → nav-BHqMLrS72.js} +0 -0
  488. /package/client/dist/assets/{nav-CQb9y1km.js → nav-CGy4yx3C.js} +0 -0
  489. /package/client/dist/assets/{nav-BAsYcqdw2.js → nav-CXEDcRdv2.js} +0 -0
  490. /package/client/dist/assets/{nav-BRrNlZkr.js → nav-EI_OhEAo.js} +0 -0
  491. /package/client/dist/assets/{objective-c-B6KMtI-k.js → objective-c-DZY9Aqxd.js} +0 -0
  492. /package/client/dist/assets/{pascal-DYr8MPE7.js → pascal-BVHLXoor.js} +0 -0
  493. /package/client/dist/assets/{pascaligo-B3pd-jJ_.js → pascaligo-XdG_6u3k.js} +0 -0
  494. /package/client/dist/assets/{perl-z2xUzoaL.js → perl-b9QV0BcD.js} +0 -0
  495. /package/client/dist/assets/{pgsql-DUvT-09-.js → pgsql-Du5FDOgT.js} +0 -0
  496. /package/client/dist/assets/{php-CGyOmJfy.js → php-WJD0z2Z_.js} +0 -0
  497. /package/client/dist/assets/{pla-CMqgvyD0.js → pla-CbciTf2w.js} +0 -0
  498. /package/client/dist/assets/{postiats-Dx5LUn4Z.js → postiats-C1QxmvVq.js} +0 -0
  499. /package/client/dist/assets/{powerquery-DazYxvJ6.js → powerquery-BEYDhPLZ.js} +0 -0
  500. /package/client/dist/assets/{powershell-B3nwlDka.js → powershell-CfaYw4XL.js} +0 -0
  501. /package/client/dist/assets/{protobuf-BGuu2u2s.js → protobuf-pwZEDOYa.js} +0 -0
  502. /package/client/dist/assets/{pug-Dbte1MXA.js → pug-5ftqSPVe.js} +0 -0
  503. /package/client/dist/assets/{qsharp-DJLwBOvG.js → qsharp-uI6qZMq4.js} +0 -0
  504. /package/client/dist/assets/{r-DmGBRSHj.js → r-BK54P1EG.js} +0 -0
  505. /package/client/dist/assets/{redis-VvUYn0a4.js → redis-DI0yd7kN.js} +0 -0
  506. /package/client/dist/assets/{redshift-6GdDrxg3.js → redshift-Dov26eyI.js} +0 -0
  507. /package/client/dist/assets/{restructuredtext-CfAB8aRU.js → restructuredtext-QqJ_1dC-.js} +0 -0
  508. /package/client/dist/assets/{ruby-CIYK6MXY.js → ruby-5WjveeVb.js} +0 -0
  509. /package/client/dist/assets/{rust-CTHZfjj9.js → rust-BzVSfqFH.js} +0 -0
  510. /package/client/dist/assets/{sb-CkKTdkz_.js → sb-DMIUfT-3.js} +0 -0
  511. /package/client/dist/assets/{scala-Bx-Wr9TM.js → scala-CSKA7lqt.js} +0 -0
  512. /package/client/dist/assets/{scheme-Dcfi6f83.js → scheme-CojOP2Qc.js} +0 -0
  513. /package/client/dist/assets/{scss-ByL-7PFQ.js → scss-DoBZGJG6.js} +0 -0
  514. /package/client/dist/assets/{shell-Csnb9Yqd.js → shell-YOaE4udl.js} +0 -0
  515. /package/client/dist/assets/{solidity-Dbw5-0QP.js → solidity-l3jSyVLu.js} +0 -0
  516. /package/client/dist/assets/{sophia-ZQ3saZQx.js → sophia-BhSGTaQJ.js} +0 -0
  517. /package/client/dist/assets/{sparql-BEtOel8u.js → sparql-qhk6QD9w.js} +0 -0
  518. /package/client/dist/assets/{sql-DGPDbzB7.js → sql-DoO3y21-.js} +0 -0
  519. /package/client/dist/assets/{st-GeW2MOgh.js → st-ChZAY8oG.js} +0 -0
  520. /package/client/dist/assets/{swift-BVYTN8jq.js → swift-D290Tr7_.js} +0 -0
  521. /package/client/dist/assets/{systemverilog-Deg2a8Lr.js → systemverilog-DsxzgJ-o.js} +0 -0
  522. /package/client/dist/assets/{tcl-6DnLmROF.js → tcl-BKDUHAAR.js} +0 -0
  523. /package/client/dist/assets/{terminal-CDiOAmBd2.js → terminal-BRm03iFA2.js} +0 -0
  524. /package/client/dist/assets/{terminal-CJN-mQMc.js → terminal-De2Brd23.js} +0 -0
  525. /package/client/dist/assets/{terminal-CYB4TiAd.js → terminal-DxQWCqSD2.js} +0 -0
  526. /package/client/dist/assets/{terminal-DsaDTq5N2.js → terminal-WSAvHXoU.js} +0 -0
  527. /package/client/dist/assets/{terminal-DTQ_dPqi2.js → terminal-Z7KsDM_n.js} +0 -0
  528. /package/client/dist/assets/{terminal-58ReNaya.js → terminal-cqfd3EDV.js} +0 -0
  529. /package/client/dist/assets/{terminal-DawP8xNL.js → terminal-xGbCZJHg.js} +0 -0
  530. /package/client/dist/assets/{tickets-DoRTUYRT.js → tickets-B7zT4IRf.js} +0 -0
  531. /package/client/dist/assets/{tickets-DBfFePwk2.js → tickets-BoXom7l8.js} +0 -0
  532. /package/client/dist/assets/{tickets-DvohTziT2.js → tickets-C3b8cHhd2.js} +0 -0
  533. /package/client/dist/assets/{tickets-Da15iaRw.js → tickets-CFXnJsYF.js} +0 -0
  534. /package/client/dist/assets/{tickets-CujsZvkf.js → tickets-CWYFvx1W2.js} +0 -0
  535. /package/client/dist/assets/{tickets-Df6pee-O2.js → tickets-DTHo9c3C.js} +0 -0
  536. /package/client/dist/assets/{tickets-CNvIilmP.js → tickets-SuX_HkK4.js} +0 -0
  537. /package/client/dist/assets/{twig-XbbXW9Yz.js → twig-UpZQaM8G.js} +0 -0
  538. /package/client/dist/assets/{typespec-CRlV8GhI.js → typespec-DzaKvN8i.js} +0 -0
  539. /package/client/dist/assets/{vb-BHE2izPH.js → vb-CZpbb7tk.js} +0 -0
  540. /package/client/dist/assets/{wgsl-Bf5vkfmY.js → wgsl-CNt3OIvl.js} +0 -0
@@ -19,7 +19,7 @@ function jobsTools() {
19
19
  name: 'specrails_jobs',
20
20
  title: 'Jobs & Queue',
21
21
  description: 'Manage a project\'s AI-pipeline job queue and individual jobs. ' +
22
- 'Actions: list, get, queue, spawn (ai-spawn — enqueues an arbitrary slash-command job, returns {jobId,position}, async), ' +
22
+ 'Actions: list, get, queue, spawn (ai-spawn — enqueues an arbitrary slash-command job, returns {jobId,position}, async; from the in-app agent chat the engine defaults to your conversation\'s provider — pass aiEngine to override), ' +
23
23
  'cancel (destructive — cancels a running/queued job or deletes a terminal one), ' +
24
24
  'purge (destructive — bulk-delete persisted job rows in a date range), ' +
25
25
  'pause / resume (queue), reorder (queued-job order), priority (change a queued job\'s priority), ' +
@@ -27,8 +27,8 @@ function jobsTools() {
27
27
  'diagnostic (binary ZIP — returns a note, not the bytes), run_state (project run state), ' +
28
28
  'pipeline (read a pipeline\'s jobs + statuses — use after composing dependent spawns), ' +
29
29
  'activity (recent activity feed), stats, metrics, default_spec_model, ' +
30
- 'interactive_turn (ai-spawn — send one more prompt to a running interactive Freestyle/ultracode job), ' +
31
- 'finalize (finalize a running interactive job).',
30
+ 'interactive_turn (ai-spawn — send a steering prompt to any running interactive job; claude jobs are interactive by default), ' +
31
+ 'finalize (settle a running interactive job now — Freestyle jobs otherwise wait for it, others auto-settle).',
32
32
  hintTier: 'read',
33
33
  tier: (a) => {
34
34
  const action = a.action;
@@ -91,7 +91,7 @@ function jobsTools() {
91
91
  .string()
92
92
  .optional()
93
93
  .describe('Agent profile for spawn (omit = default resolution; pass empty/null upstream forces legacy)'),
94
- aiEngine: zod_1.z.string().optional().describe('Per-job provider override for spawn (must be installed on the project)'),
94
+ aiEngine: zod_1.z.string().optional().describe('Per-job provider override for spawn (must be installed on the project). From the in-app agent chat, omitting it defaults to the launching conversation\'s provider.'),
95
95
  // ── reorder ──
96
96
  jobIds: zod_1.z
97
97
  .array(zod_1.z.string())
@@ -135,13 +135,22 @@ function jobsTools() {
135
135
  const command = args.command;
136
136
  if (!command || !command.trim())
137
137
  throw new Error('spawn requires a "command".');
138
+ // Engine default (STRUCTURAL, never prompt-dependent): a spawn
139
+ // driven by the in-app agent without an explicit aiEngine runs on
140
+ // the LAUNCHING CONVERSATION's provider — not silently on the
141
+ // project primary. Explicit aiEngine always wins; the router still
142
+ // validates installed-ness (its clear 400 surfaces as the tool
143
+ // error). No origin conversation (dashboard / external MCP client)
144
+ // or an unknown id → no default, byte-identical to before.
145
+ // (/spawn has no reasoning_effort field, so only the engine defaults.)
146
+ const aiEngine = args.aiEngine ?? (0, types_1.originConversationDefaults)(ctx).provider;
138
147
  const r = await (0, types_1.apiCall)(ctx, 'POST', `${base}/spawn`, {
139
148
  command,
140
149
  priority: args.priority,
141
150
  dependsOnJobId: args.dependsOnJobId,
142
151
  pipelineId: args.pipelineId,
143
152
  profileName: args.profileName,
144
- aiEngine: args.aiEngine,
153
+ aiEngine,
145
154
  });
146
155
  return {
147
156
  ...r,
@@ -3,6 +3,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.railsTools = railsTools;
4
4
  const zod_1 = require("zod");
5
5
  const types_1 = require("./types");
6
+ /** Launch-route contract (rails-router VALID_REASONING_EFFORTS): conversation
7
+ * efforts outside it (codex 'minimal', claude 'xhigh') are never defaulted —
8
+ * a default must not 400 a launch that would succeed without it. */
9
+ const RAIL_REASONING_EFFORTS = new Set(['low', 'medium', 'high']);
6
10
  /**
7
11
  * Rails domain facade. A "rail" is a numbered launch slot per project: it holds
8
12
  * a set of assigned ticket IDs plus a mode/profile/engine/name, and launching it
@@ -18,25 +22,29 @@ function railsTools() {
18
22
  name: 'specrails_rails',
19
23
  title: 'Rails',
20
24
  description: 'List and configure a project\'s rail launch slots, then launch or stop the AI pipeline for a rail. ' +
21
- 'A rail holds assigned ticket IDs plus a mode/profile/engine/name. ' +
22
- 'Actions: list (rails + active jobs/loop runs), set_tickets (assign ticket IDs), set_profile (default agent profile, null=legacy), ' +
25
+ 'A rail holds assigned ticket IDs plus a mode/profile/engine/name. Rails are DYNAMIC: create_rail adds a new slot (up to 12), so when every rail is busy or holds other work, create a fresh one and proceed — never wait for a slot. ' +
26
+ 'Launching several rails in parallel is safe and normal: each launch runs in its own isolated git worktree. ' +
27
+ 'Actions: list (rails + active jobs/loop runs), create_rail (add a new rail slot; returns its railIndex), set_tickets (assign ticket IDs), set_profile (default agent profile, null=legacy), ' +
23
28
  'set_engine (provider override, null=primary), set_name (display label, null clears), ' +
24
29
  'launch (ai-spawn — spawns claude/codex/gemini CLI job(s) that WRITE CODE, RUN TESTS, COMMIT, and INCUR TOKEN COST; returns 202 with jobId/jobIds/loopRunIds), ' +
25
- 'stop (destructive — kills all active jobs and loop runs for the rail).',
30
+ 'launch_all (ai-spawn — launches EVERY rail that has tickets and no active run/pending PR decision, in parallel, using each rail\'s stored mode/engine/profile; returns per-rail outcomes with skip reasons), ' +
31
+ 'stop (destructive — kills all active jobs and loop runs for the rail). ' +
32
+ 'When launched from the in-app agent chat without an explicit aiEngine, the engine defaults to your conversation\'s provider (pass aiEngine to override; launch_all always uses each rail\'s stored engine). ' +
33
+ 'NAMING: railIndex is the 0-BASED internal identity; the dashboard shows rails 1-based ("Rail N" = railIndex N-1). When talking to the user, ALWAYS say "Rail <railIndex + 1>" (or the rail\'s custom name) — results include railLabel with the correct user-facing label.',
26
34
  hintTier: 'read',
27
35
  tier: (a) => {
28
36
  const action = a.action;
29
37
  if (action === 'stop')
30
38
  return 'destructive';
31
- if (action === 'launch')
39
+ if (action === 'launch' || action === 'launch_all')
32
40
  return 'ai-spawn';
33
- if (action === 'set_tickets' || action === 'set_profile' || action === 'set_engine' || action === 'set_name')
41
+ if (action === 'set_tickets' || action === 'set_profile' || action === 'set_engine' || action === 'set_name' || action === 'create_rail')
34
42
  return 'write';
35
43
  return 'read';
36
44
  },
37
45
  inputSchema: {
38
46
  action: zod_1.z
39
- .enum(['list', 'set_tickets', 'set_profile', 'set_engine', 'set_name', 'launch', 'stop'])
47
+ .enum(['list', 'create_rail', 'set_tickets', 'set_profile', 'set_engine', 'set_name', 'launch', 'launch_all', 'stop'])
40
48
  .describe('Operation to perform'),
41
49
  projectId: zod_1.z.string().optional().describe('Project id (defaults to the active project)'),
42
50
  railIndex: zod_1.z
@@ -44,7 +52,7 @@ function railsTools() {
44
52
  .int()
45
53
  .min(0)
46
54
  .optional()
47
- .describe('Rail slot index (required for every action except list)'),
55
+ .describe('Rail slot index, 0-BASED (required for every action except list). The dashboard labels rails 1-based: UI "Rail N" = railIndex N-1.'),
48
56
  // set_tickets
49
57
  ticketIds: zod_1.z
50
58
  .array(zod_1.z.number().int())
@@ -61,13 +69,13 @@ function railsTools() {
61
69
  .string()
62
70
  .nullable()
63
71
  .optional()
64
- .describe('AI engine/provider override; null = project primary (set_engine; also optional override for launch). Must be an installed provider.'),
65
- // set_name
72
+ .describe('AI engine/provider override; null = project primary (set_engine; also optional override for launch). Must be an installed provider. For launch from the in-app agent chat, omitting it defaults to the launching conversation\'s provider (overriding any stored rail engine) — pass a string or null explicitly to control it.'),
73
+ // set_name / create_rail
66
74
  name: zod_1.z
67
75
  .string()
68
76
  .nullable()
69
77
  .optional()
70
- .describe('Rail display label (<=60 chars); null/empty clears to default (set_name)'),
78
+ .describe('Rail display label (<=60 chars); null/empty clears to default (set_name). Also the optional initial name for create_rail.'),
71
79
  // launch
72
80
  mode: zod_1.z
73
81
  .enum(['implement', 'batch-implement', 'ultracode', 'loop'])
@@ -88,7 +96,7 @@ function railsTools() {
88
96
  reasoning_effort: zod_1.z
89
97
  .enum(['low', 'medium', 'high'])
90
98
  .optional()
91
- .describe('Reasoning-effort tier for loop launches (launch, loop mode)'),
99
+ .describe('Reasoning-effort tier for loop launches (launch, loop mode). From the in-app agent chat, omitting it defaults to the launching conversation\'s effort when that is low/medium/high.'),
92
100
  },
93
101
  async handler(ctx, args) {
94
102
  const base = `${(0, types_1.projectPath)(ctx, args.projectId)}/rails`;
@@ -103,6 +111,19 @@ function railsTools() {
103
111
  switch (action) {
104
112
  case 'list':
105
113
  return (0, types_1.apiCall)(ctx, 'GET', base);
114
+ case 'create_rail': {
115
+ const body = {};
116
+ if (typeof args.name === 'string' && args.name.trim())
117
+ body.name = args.name.trim();
118
+ const r = await (0, types_1.apiCall)(ctx, 'POST', base, body);
119
+ const created = r.rail;
120
+ const label = typeof created?.railIndex === 'number' ? `Rail ${created.railIndex + 1}` : undefined;
121
+ return {
122
+ ...r,
123
+ ...(label ? { railLabel: label } : {}),
124
+ hint: `Rail created${label ? ` — the user sees it as "${label}" (railIndex is 0-based, UI labels are 1-based; refer to it as "${label}" when talking to the user)` : ''}. Assign tickets with set_tickets on the returned railIndex, then launch. Up to 12 rails per project.`,
125
+ };
126
+ }
106
127
  case 'set_tickets': {
107
128
  const railIndex = requireRailIndex();
108
129
  const ticketIds = args.ticketIds;
@@ -162,10 +183,114 @@ function railsTools() {
162
183
  body.loopId = args.loopId;
163
184
  if (args.reasoning_effort !== undefined)
164
185
  body.reasoning_effort = args.reasoning_effort;
186
+ // Origin link (safe-pr-review-flow): a launch driven by the in-app
187
+ // agent carries its conversation id (from the loopback header, via
188
+ // ctx) so the PR decision card is posted back into that conversation.
189
+ // apiCall forwards no custom headers, so the id rides the JSON body.
190
+ if (ctx.originConversationId) {
191
+ body.originConversationId = ctx.originConversationId;
192
+ body.originSurface = 'agent-chat';
193
+ }
194
+ // Engine default (STRUCTURAL, never prompt-dependent): a launch
195
+ // driven by the in-app agent without an explicit aiEngine runs on
196
+ // the LAUNCHING CONVERSATION's provider — a codex conversation must
197
+ // not silently launch claude via the router's rail/primary
198
+ // fall-through. Explicit aiEngine (string OR null) always wins; the
199
+ // router still validates installed-ness (clear 400 back). The
200
+ // conversation's reasoning effort rides along only when it fits the
201
+ // launch contract (low|medium|high). Dashboard / external-client
202
+ // calls (no origin conversation) are byte-identical to before.
203
+ const defaults = (0, types_1.originConversationDefaults)(ctx);
204
+ if (body.aiEngine === undefined && defaults.provider) {
205
+ body.aiEngine = defaults.provider;
206
+ }
207
+ if (body.reasoning_effort === undefined && defaults.reasoningEffort && RAIL_REASONING_EFFORTS.has(defaults.reasoningEffort)) {
208
+ body.reasoning_effort = defaults.reasoningEffort;
209
+ }
165
210
  const r = await (0, types_1.apiCall)(ctx, 'POST', `${base}/${railIndex}/launch`, body);
166
211
  return {
167
212
  ...r,
168
- hint: 'Launch accepted (202). Use specrails_watch with the returned jobId/jobIds (or loopRunIds for loop mode) to await completion. Live output streams over the job WS. Rails run for minutes; pass untilMs up to 600000 and re-watch on timeout.',
213
+ railLabel: `Rail ${railIndex + 1}`,
214
+ hint: `Launch accepted (202) on railIndex ${railIndex} — tell the user it runs on "Rail ${railIndex + 1}" (UI labels are 1-based). Use specrails_watch with the returned jobId/jobIds (or loopRunIds for loop mode) to await completion. Live output streams over the job WS. Rails run for minutes; pass untilMs up to 600000 and re-watch on timeout.`,
215
+ };
216
+ }
217
+ case 'launch_all': {
218
+ // Server-side fan-out: launch every eligible rail IN PARALLEL — safe
219
+ // because each launch isolates its work in per-ticket git worktrees
220
+ // (allocation is serialized per repo by the launch path itself).
221
+ // Eligibility mirrors the dashboard's Launch-all control: the rail
222
+ // must hold tickets, have no active job/loop run, and no undecided
223
+ // PR delivery. Each rail launches with its OWN stored config
224
+ // (mode/engine/profile) — conversation-provider defaults do NOT
225
+ // apply here (they would clobber per-rail engines).
226
+ const snapshot = (await (0, types_1.apiCall)(ctx, 'GET', base));
227
+ const rails = snapshot.rails ?? [];
228
+ const activeJobs = snapshot.activeJobs ?? {};
229
+ const activeLoopRuns = snapshot.activeLoopRuns ?? {};
230
+ const prDeliveries = snapshot.prDeliveries ?? {};
231
+ const results = [];
232
+ const launches = [];
233
+ for (const rail of rails) {
234
+ const idx = rail.railIndex;
235
+ const key = String(idx);
236
+ const ticketIds = Array.isArray(rail.ticketIds) ? rail.ticketIds : [];
237
+ if (ticketIds.length === 0) {
238
+ results.push({ railIndex: idx, outcome: 'skipped', reason: 'empty' });
239
+ continue;
240
+ }
241
+ if (key in activeJobs || key in activeLoopRuns) {
242
+ results.push({ railIndex: idx, outcome: 'skipped', reason: 'already-running', ticketIds });
243
+ continue;
244
+ }
245
+ if (key in prDeliveries) {
246
+ results.push({ railIndex: idx, outcome: 'skipped', reason: 'pr-decision-pending', ticketIds });
247
+ continue;
248
+ }
249
+ const body = {};
250
+ if (rail.mode)
251
+ body.mode = rail.mode;
252
+ if (ctx.originConversationId) {
253
+ body.originConversationId = ctx.originConversationId;
254
+ body.originSurface = 'agent-chat';
255
+ }
256
+ launches.push((0, types_1.apiCall)(ctx, 'POST', `${base}/${idx}/launch`, body)
257
+ .then((r) => {
258
+ const data = r;
259
+ results.push({
260
+ railIndex: idx, outcome: 'launched', ticketIds,
261
+ mode: typeof data.mode === 'string' ? data.mode : rail.mode,
262
+ ...(typeof data.jobId === 'string' ? { jobId: data.jobId } : {}),
263
+ ...(Array.isArray(data.jobIds) ? { jobIds: data.jobIds } : {}),
264
+ ...(Array.isArray(data.loopRunIds) ? { loopRunIds: data.loopRunIds } : {}),
265
+ });
266
+ })
267
+ .catch((err) => {
268
+ // Race-safe: a 409 raised between the snapshot and the launch
269
+ // maps back to its skip reason instead of a hard failure.
270
+ const message = err instanceof Error ? err.message : String(err);
271
+ if (message.includes('pr_decision_pending')) {
272
+ results.push({ railIndex: idx, outcome: 'skipped', reason: 'pr-decision-pending', ticketIds });
273
+ }
274
+ else if (message.includes('tickets_in_flight')) {
275
+ results.push({ railIndex: idx, outcome: 'skipped', reason: 'tickets-in-flight', ticketIds });
276
+ }
277
+ else {
278
+ results.push({ railIndex: idx, outcome: 'failed', ticketIds, error: message });
279
+ }
280
+ }));
281
+ }
282
+ await Promise.allSettled(launches);
283
+ results.sort((a, b) => a.railIndex - b.railIndex);
284
+ for (const r of results)
285
+ r.railLabel = `Rail ${r.railIndex + 1}`;
286
+ const launched = results.filter((r) => r.outcome === 'launched').length;
287
+ const skipped = results.filter((r) => r.outcome === 'skipped').length;
288
+ const failed = results.filter((r) => r.outcome === 'failed').length;
289
+ return {
290
+ launched, skipped, failed, results,
291
+ hint: launched > 0
292
+ ? 'Launches accepted (202) and running IN PARALLEL in isolated worktrees. Report the per-rail ids verbatim and release the turn — progress streams live; re-check later with specrails_jobs(get) or specrails_watch on request.'
293
+ : 'No rail was launched — see per-rail reasons. Assign tickets with set_tickets (create_rail if no free rail) and retry.',
169
294
  };
170
295
  }
171
296
  case 'stop': {
@@ -9,8 +9,10 @@ const DESTRUCTIVE_ACTIONS = new Set(['delete', 'smash_undo', 'delete_epic_childr
9
9
  // match the app's "Add Spec → Quick" flow — hence ai-spawn, not write.
10
10
  const AI_SPAWN_ACTIONS = new Set(['create', 'generate', 'ai_edit', 'contract_refine', 'smash']);
11
11
  // `commit_draft` (POST /tickets/from-draft) may fire-and-forget a Contract
12
- // Refine spawn as a side-effect, but the call itself is a synchronous store
13
- // mutation (a write), so it is classified as `write`.
12
+ // Refine spawn as a side-effect (Explore-origin flips per the conversation's
13
+ // scope; agent-authored inserts by the facade's default-ON `contractRefine` —
14
+ // opt out per call with `contractRefine: false`), but the call itself is a
15
+ // synchronous store mutation (a write), so it is classified as `write`.
14
16
  const WRITE_ACTIONS = new Set([
15
17
  'update', 'from_prompt', 'save_draft', 'commit_draft', 'cancel_ai_edit',
16
18
  ]);
@@ -43,14 +45,17 @@ function specsTools() {
43
45
  'from_prompt (verbatim insert, no AI — use ONLY when you already have a complete finished spec to store as-is; ' +
44
46
  'cannot set acceptanceCriteria or shortSummary — prefer commit_draft for structured specs), ' +
45
47
  'save_draft (persist an Explore conversation as a draft), ' +
46
- 'commit_draft (write, no AI — TWO uses: (a) flip an Explore draft to a real spec, passing conversationId from ' +
48
+ 'commit_draft (write — TWO uses: (a) flip an Explore draft to a real spec, passing conversationId from ' +
47
49
  'specrails_chat and/or draftTicketId; (b) with NO conversationId/draftTicketId, insert a COMPLETE spec you ' +
48
50
  'authored in ONE call: title (required), description, acceptanceCriteria, priority, labels, shortSummary, ' +
49
51
  'assignee, prerequisites, metadata. THE canonical way to persist a spec refined in conversation — do NOT route ' +
50
- 'a finished spec through create/generate, which re-generate the content with AI and lossily rewrite it), ' +
52
+ 'a finished spec through create/generate, which re-generate the content with AI and lossily rewrite it. ' +
53
+ 'Agent-authored inserts (use b) are enriched with a Contract Layer BY DEFAULT via one short background AI pass ' +
54
+ '— pass contractRefine: false to skip it, e.g. when the user declined it), ' +
51
55
  'generate (same as create but takes a pre-formed idea string; both accept contextScope/attachments/createLocal), ' +
52
56
  'ai_edit (ai-spawn, AI-edit a ticket title+description), ' +
53
- 'cancel_ai_edit (abort an in-flight ai-edit), contract_refine (ai-spawn, append a Contract Layer — Claude-only), ' +
57
+ 'cancel_ai_edit (abort an in-flight ai-edit), contract_refine (ai-spawn, append/re-fire a Contract Layer — Claude-only; ' +
58
+ 'works on Explore-origin AND agent-authored/Quick specs), ' +
54
59
  'smash (ai-spawn, decompose a spec into N child sub-specs under an epic — Claude-only), ' +
55
60
  'smash_undo (destructive, reverse a prior SMASH), delete_epic_children (destructive, delete all children of an epic), ' +
56
61
  'spending_summary (per-ticket AI spend), files_touched (provenance of files an AI job touched for this ticket), ' +
@@ -93,7 +98,7 @@ function specsTools() {
93
98
  status: zod_1.z
94
99
  .string()
95
100
  .optional()
96
- .describe('list: CSV status filter (draft|todo|in_progress|done|cancelled). update: set ticket status — note job outcomes set in_progress/done automatically; do not fight the pipeline.'),
101
+ .describe('list: CSV status filter (draft|todo|in_progress|on_review|done|cancelled). update: set ticket status — note job outcomes set in_progress/on_review/done automatically (on_review = implemented, awaiting PR review); do not fight the pipeline.'),
97
102
  label: zod_1.z.string().optional().describe('list: filter by label (CSV)'),
98
103
  q: zod_1.z.string().optional().describe('list: free-text search over title + description'),
99
104
  // ── create / update / from_prompt / commit_draft fields ──────────
@@ -141,7 +146,10 @@ function specsTools() {
141
146
  .record(zod_1.z.unknown())
142
147
  .optional()
143
148
  .describe('create/generate: context-awareness flags {specrails,openspec,full,mcp,userMcp,contractRefine}'),
144
- contractRefine: zod_1.z.boolean().optional().describe('create/generate: enrich the spec with a Contract Layer (Claude-only)'),
149
+ contractRefine: zod_1.z
150
+ .boolean()
151
+ .optional()
152
+ .describe('create/generate/commit_draft: enrich the spec with a Contract Layer post-persist (Claude-only). DEFAULTS TO TRUE — pass false to opt out (e.g. the user asked for no contract layer)'),
145
153
  attachmentIds: zod_1.z.array(zod_1.z.string()).optional().describe('create/generate/ai_edit: attachment ids (create/generate require pendingSpecId)'),
146
154
  // ── ai_edit ──────────────────────────────────────────────────────
147
155
  instructions: zod_1.z.string().optional().describe('ai_edit: natural-language editing instructions (required)'),
@@ -172,12 +180,15 @@ function specsTools() {
172
180
  // (POST /tickets/generate-spec): `create` derives the idea from
173
181
  // title/description, `generate` takes it pre-formed. Both forward the
174
182
  // full option set (undefined fields are dropped by JSON.stringify).
183
+ // Contract Layer enrichment defaults ON ("super specs by default" —
184
+ // matching the Explore Desktop preset); an explicit `contractRefine:
185
+ // false` opts out. The server force-skips it on non-claude engines.
175
186
  const buildGenerateSpecBody = (idea) => ({
176
187
  idea,
177
188
  model: args.model,
178
189
  aiEngine: args.aiEngine,
179
190
  contextScope: args.contextScope,
180
- contractRefine: args.contractRefine,
191
+ contractRefine: typeof args.contractRefine === 'boolean' ? args.contractRefine : true,
181
192
  attachmentIds: args.attachmentIds,
182
193
  pendingSpecId: args.pendingSpecId,
183
194
  createLocal: args.createLocal,
@@ -274,7 +285,20 @@ function specsTools() {
274
285
  editTicketId: args.editTicketId,
275
286
  });
276
287
  }
277
- case 'commit_draft':
288
+ case 'commit_draft': {
289
+ // Agent-authored inserts (no Explore origin) default the Contract
290
+ // Layer enrichment ON — the same post-persist pass the app's Add
291
+ // Spec runs — so conversationally-refined specs land as "super
292
+ // specs" without extra plumbing. Explicit `contractRefine` always
293
+ // wins (false = the user declined it). Explore-origin flips
294
+ // (conversationId/draftTicketId present) are NOT defaulted: the
295
+ // origin conversation's stored contextScope governs there.
296
+ const agentAuthored = !args.conversationId && args.draftTicketId === undefined;
297
+ const contractRefine = typeof args.contractRefine === 'boolean'
298
+ ? args.contractRefine
299
+ : agentAuthored
300
+ ? true
301
+ : undefined;
278
302
  return (0, types_1.apiCall)(ctx, 'POST', `${base}/tickets/from-draft`, {
279
303
  title: args.title,
280
304
  description: args.description,
@@ -289,7 +313,9 @@ function specsTools() {
289
313
  prerequisites: args.prerequisites,
290
314
  metadata: args.metadata,
291
315
  createLocal: args.createLocal,
316
+ contractRefine,
292
317
  });
318
+ }
293
319
  case 'cancel_ai_edit': {
294
320
  if (!args.requestId)
295
321
  throw new Error('cancel_ai_edit requires a "requestId".');
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.apiCall = apiCall;
4
4
  exports.projectPath = projectPath;
5
+ exports.originConversationDefaults = originConversationDefaults;
5
6
  exports.requireProject = requireProject;
6
7
  exports.setActiveProject = setActiveProject;
7
8
  exports.getActiveProject = getActiveProject;
@@ -9,6 +10,10 @@ exports.registerTieredTool = registerTieredTool;
9
10
  const mcp_tiers_1 = require("../mcp-tiers");
10
11
  const auth_1 = require("../../auth");
11
12
  const agent_tier_1 = require("../../agent-tier");
13
+ const agent_store_1 = require("../../agent-store");
14
+ /** Launch-route contract for an origin conversation id — must match the
15
+ * rails-router validation so a sanitized id is never 400'd downstream. */
16
+ const ORIGIN_CONVERSATION_ID_RE = /^[A-Za-z0-9-]{1,64}$/;
12
17
  /**
13
18
  * Calls the app's own REST API over loopback using the MASTER token (held
14
19
  * server-side, never exposed to the MCP client). This reuses every router's
@@ -44,6 +49,35 @@ async function apiCall(ctx, method, path, body) {
44
49
  function projectPath(ctx, projectId) {
45
50
  return `/projects/${requireProject(ctx, projectId).project.id}`;
46
51
  }
52
+ /**
53
+ * Launch defaults derived from the LAUNCHING agent-chat conversation (the
54
+ * origin header carried on `ctx.originConversationId`). When the in-app agent
55
+ * drives a rail launch / job spawn WITHOUT an explicit engine, the job must
56
+ * run on the CONVERSATION's provider — a codex conversation asking to
57
+ * implement must not silently launch claude via the router's fall-through to
58
+ * the project primary. This is STRUCTURAL (looked up from the agent store),
59
+ * never prompt-dependent; explicit args always win at the callsite, and
60
+ * provider validation stays with the router (an uninstalled provider surfaces
61
+ * its existing clear 400 as the tool error). No origin conversation
62
+ * (dashboard / external MCP client), an unknown/malformed id, or a store
63
+ * failure all yield `{}` — those calls proceed byte-identically to before.
64
+ */
65
+ function originConversationDefaults(ctx) {
66
+ if (!ctx.originConversationId)
67
+ return {};
68
+ try {
69
+ const conv = (0, agent_store_1.getAgentConversation)(ctx.desktopDb, ctx.originConversationId);
70
+ if (!conv)
71
+ return {};
72
+ return {
73
+ ...(conv.provider ? { provider: conv.provider } : {}),
74
+ ...(conv.reasoning_effort ? { reasoningEffort: conv.reasoning_effort } : {}),
75
+ };
76
+ }
77
+ catch {
78
+ return {};
79
+ }
80
+ }
47
81
  /** Resolve a per-project context or throw a clear, LLM-readable error. */
48
82
  function requireProject(ctx, projectId) {
49
83
  const id = projectId ?? getActiveProject(ctx);
@@ -139,6 +173,21 @@ function registerTieredTool(server, ctx, spec) {
139
173
  if (typeof pid === 'string' && pid.trim())
140
174
  callCtx = { ...ctx, requestProjectId: pid.trim() };
141
175
  }
176
+ // Origin link (safe-pr-review-flow): the in-app agent's bridge forwards its
177
+ // conversation id so a rail launched by THIS CALL can be tagged with its
178
+ // origin. Same per-call copy discipline as the project header — and it must
179
+ // spread callCtx (not ctx) so a coexisting project pin is never dropped.
180
+ // Malformed ids sanitize to null (never throw — the launch degrades to
181
+ // untagged rather than failing the tool call).
182
+ const convHeader = extra?.requestInfo?.headers?.[agent_tier_1.AGENT_CONVERSATION_HEADER];
183
+ if (convHeader != null) {
184
+ const cid = Array.isArray(convHeader) ? convHeader[0] : convHeader;
185
+ const trimmed = typeof cid === 'string' ? cid.trim() : '';
186
+ callCtx = {
187
+ ...callCtx,
188
+ originConversationId: trimmed && ORIGIN_CONVERSATION_ID_RE.test(trimmed) ? trimmed : null,
189
+ };
190
+ }
142
191
  const tier = typeof spec.tier === 'function' ? spec.tier(args ?? {}) : spec.tier;
143
192
  // In-app agent: when the request carries the loopback-only agent-tier header,
144
193
  // enforce the cumulative ladder instead of the external Settings checkboxes
@@ -28,6 +28,10 @@ function topicFor(type) {
28
28
  case 'rail.job_stopped':
29
29
  case 'rail.job_completed':
30
30
  case 'rail.updated':
31
+ // Dynamic rails: a deleted rail slot. Same frozen-safe reasoning as the
32
+ // loop.run_* family below — an old v1 client ignores the unknown type,
33
+ // a new client drops the slot from its mirror.
34
+ case 'rail.removed':
31
35
  // rails-as-loops: loop runs (no queue job) report their lifecycle via the
32
36
  // loop.run_* family. Map them onto the EXISTING 'rails' topic (frozen-safe —
33
37
  // the companion's subscribe set is unchanged; an old v1 client ignores the
@@ -24,6 +24,8 @@ const BUNDLED_PATH_ENV_VARS = [
24
24
  'SPECRAILS_BUNDLED_RUNTIMES_PATH',
25
25
  'SPECRAILS_BUNDLED_CORE_PATH',
26
26
  'SPECRAILS_BUNDLED_OPENSPEC_PATH',
27
+ 'SPECRAILS_BUNDLED_MCP_BRIDGE_PATH',
28
+ 'SPECRAILS_BUNDLED_DOCS_PATH',
27
29
  ];
28
30
  /**
29
31
  * Backfill the Windows shell-critical environment into `process.env` ONCE at
@@ -103,6 +105,19 @@ function resolveBundledBinDirs(runtimesPath) {
103
105
  }
104
106
  return { nodeBinDir, gitBinDir };
105
107
  }
108
+ /**
109
+ * Bin dir of the bundled GitHub CLI (`runtimes/gh/bin/gh[.exe]`), or null.
110
+ * Unlike node/git, gh is a SYSTEM-FIRST tool: the user's own gh (with their
111
+ * auth/hosts config, GHES setups, aliases) must always win, so this dir is
112
+ * APPENDED to the END of PATH — it only resolves when no system gh exists.
113
+ * It also never participates in the bundle-activation gate (node+git only).
114
+ */
115
+ function resolveBundledGhBinDir(runtimesPath) {
116
+ const bin = process.platform === 'win32'
117
+ ? path_1.default.join(runtimesPath, 'gh', 'bin', 'gh.exe')
118
+ : path_1.default.join(runtimesPath, 'gh', 'bin', 'gh');
119
+ return fileExists(bin) ? path_1.default.join(runtimesPath, 'gh', 'bin') : null;
120
+ }
106
121
  function getDelimiter() {
107
122
  return process.platform === 'win32' ? ';' : ':';
108
123
  }
@@ -211,6 +226,37 @@ function resolveBundledNodeExe() {
211
226
  * Records the resulting segments and their sources for diagnostic reporting.
212
227
  */
213
228
  function resolveStartupPath() {
229
+ resolveStartupPathBase();
230
+ appendBundledGhDir();
231
+ }
232
+ /**
233
+ * Desktop mode: append the bundled gh bin dir to the END of `process.env.PATH`
234
+ * so a system-installed gh (earlier in PATH) always wins and the bundled one is
235
+ * pure fallback. Runs AFTER the base resolution regardless of which branch it
236
+ * took (active bundle, partial bundle, non-desktop no-op). Later login-shell
237
+ * augmentation only PREPENDS, so the appended dir stays last.
238
+ */
239
+ function appendBundledGhDir() {
240
+ if (process.env.SPECRAILS_IS_DESKTOP !== '1')
241
+ return;
242
+ const runtimesPath = process.env.SPECRAILS_BUNDLED_RUNTIMES_PATH;
243
+ if (!runtimesPath)
244
+ return;
245
+ const ghBinDir = resolveBundledGhBinDir(runtimesPath);
246
+ if (!ghBinDir)
247
+ return;
248
+ const current = splitPath(process.env.PATH);
249
+ if (current.includes(ghBinDir))
250
+ return;
251
+ const merged = [...current, ghBinDir];
252
+ process.env.PATH = joinPath(merged);
253
+ diagnostic = {
254
+ pathSegments: merged,
255
+ pathSources: [...diagnostic.pathSources, 'bundled'],
256
+ loginShellStatus: diagnostic.loginShellStatus,
257
+ };
258
+ }
259
+ function resolveStartupPathBase() {
214
260
  // Desktop mode: bundled runtimes win when present. We existence-gate every
215
261
  // candidate dir so a runtimes-less or partially-extracted build degrades to
216
262
  // normal system PATH discovery instead of prepending dead dirs and disabling