specrails-desktop 2.29.1 → 2.29.3
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.
- package/client/dist/assets/ActivityFeedPage-CFB4UBhT.js +1 -0
- package/client/dist/assets/AgentBrowserCapture-C-T0r16B.js +1 -0
- package/client/dist/assets/AgentModeCodePane-IljV5FOQ.js +2 -0
- package/client/dist/assets/AgentModeJobsPane-B5miH10_.js +1 -0
- package/client/dist/assets/AgentsPage-BgYQrAcH.js +86 -0
- package/client/dist/assets/AnalyticsPage-BtVCuNjL.js +1 -0
- package/client/dist/assets/BarChart-nBOMNfiy.js +33 -0
- package/client/dist/assets/CodePage-Cb_jAjSV.js +2 -0
- package/client/dist/assets/DesktopAnalyticsPage-s_Cc_JL1.js +1 -0
- package/client/dist/assets/DocsDialog-Cr47QI9L.js +11 -0
- package/client/dist/assets/DocsPage-C_WPRuG_.js +11 -0
- package/client/dist/assets/ExportDropdown-BrtfWzEG.js +1 -0
- package/client/dist/assets/IntegrationsPage-Bs00_tl4.js +1 -0
- package/client/dist/assets/InteractiveJobComposer-NfFOciRB.js +19 -0
- package/client/dist/assets/JobDetailModal-DqEW7Z7K.js +1 -0
- package/client/dist/assets/JobDetailPage-D4ppEpDE.js +1 -0
- package/client/dist/assets/JobsPage-DStSoMyq.js +1 -0
- package/client/dist/assets/LoopBuilderPage-DltCwS4P.js +7 -0
- package/client/dist/assets/LoopPreviewModal-BWaiAbUq.js +1 -0
- package/client/dist/assets/LoopsPage-BqjbXuBZ.js +1 -0
- package/client/dist/assets/MinimizedChatsContext--o3JAM9F.js +1 -0
- package/client/dist/assets/PluginsPage-B-UOmzXw.js +2 -0
- package/client/dist/assets/ProjectSettingsDialog-DkGajIxE.js +1 -0
- package/client/dist/assets/TemplatePreviewModal-5CUXlkw7.js +1 -0
- package/client/dist/assets/TicketDetailModal-B_igqmti.js +14 -0
- package/client/dist/assets/Trans-DDMIBBUd.js +1 -0
- package/client/dist/assets/activity-DiyjsgQV.js +1 -0
- package/client/dist/assets/addon-image-BRmmRHgQ.js +1 -0
- package/client/dist/assets/addon-ligatures-qIZUPvRV.js +2 -0
- package/client/dist/assets/{addon-webgl-DMbGeI_u.js → addon-webgl-C2d7lriQ.js} +3 -3
- package/client/dist/assets/addspec-Rw8uVBC1.js +1 -0
- package/client/dist/assets/agent-BXc59ARK2.js +1 -0
- package/client/dist/assets/agent-BbIFXdDq.js +1 -0
- package/client/dist/assets/agent-BqEfA5u5.js +1 -0
- package/client/dist/assets/agent-BtGzgTC4.js +1 -0
- package/client/dist/assets/agent-CIhys_5d.js +1 -0
- package/client/dist/assets/agent-CJPaqsVR.js +1 -0
- package/client/dist/assets/agent-n-hY4GuL.js +1 -0
- package/client/dist/assets/agent-tJ-efa3_2.js +1 -0
- package/client/dist/assets/agents-DhG7mg6-.js +1 -0
- package/client/dist/assets/agentstudio-BIUe1Im2.js +1 -0
- package/client/dist/assets/aiedit-iIjz2_Qk.js +1 -0
- package/client/dist/assets/analytics-DZ8Aoq3I.js +1 -0
- package/client/dist/assets/api-B2M7CtDw.js +1 -0
- package/client/dist/assets/arrow-left-CpIR4j7G.js +1 -0
- package/client/dist/assets/arrow-up-right-9DoMn7fD.js +1 -0
- package/client/dist/assets/attachments-B53PG733.js +1 -0
- package/client/dist/assets/brain-DI9lHkKY.js +1 -0
- package/client/dist/assets/browser-CXUcnTMI.js +1 -0
- package/client/dist/assets/button-BUIIBQPT.js +1 -0
- package/client/dist/assets/chat-BGD7MXAy.js +1 -0
- package/client/dist/assets/chevron-right-CViMxucY.js +1 -0
- package/client/dist/assets/chunk-KS7C4IRE-Cx5sqopX.js +3 -0
- package/client/dist/assets/circle-x-CMYsN4ZH.js +1 -0
- package/client/dist/assets/code-BDXEM4ml.js +1 -0
- package/client/dist/assets/commands-DyUZQ1FI.js +1 -0
- package/client/dist/assets/common-6MLbD-jM.js +1 -0
- package/client/dist/assets/common-BKGEu4rm.js +1 -0
- package/client/dist/assets/common-BNbnv8cE2.js +1 -0
- package/client/dist/assets/common-BqGWtDbt.js +1 -0
- package/client/dist/assets/common-DBtTzeYm2.js +1 -0
- package/client/dist/assets/common-DEW3Nr8n.js +1 -0
- package/client/dist/assets/common-DHsv9N5d.js +1 -0
- package/client/dist/assets/common-mkrEcW-Y.js +1 -0
- package/client/dist/assets/createLucideIcon-Bjbbp_KS.js +1 -0
- package/client/dist/assets/{css.worker-Wv5dxAWO.js → css.worker-yKcq13f2.js} +13 -13
- package/client/dist/assets/{cssMode-DBHbkBvI.js → cssMode-BM4z9OX0.js} +1 -1
- package/client/dist/assets/dashboard-BYzxom0L.js +1 -0
- package/client/dist/assets/dashboard-BmDZmHyY.js +1 -0
- package/client/dist/assets/dashboard-CnNtJBQ5.js +1 -0
- package/client/dist/assets/dashboard-D4Uj-XWc2.js +1 -0
- package/client/dist/assets/dashboard-D57uRaGw2.js +1 -0
- package/client/dist/assets/dashboard-DAr6F9et.js +1 -0
- package/client/dist/assets/dashboard-vAcsn0L3.js +1 -0
- package/client/dist/assets/dashboard-vrjZvxWy.js +1 -0
- package/client/dist/assets/dialog-CzIekCw0.js +45 -0
- package/client/dist/assets/dist-Cez5CRkX.js +1 -0
- package/client/dist/assets/dist-bVqfYmby.js +1 -0
- package/client/dist/assets/{dist-js-CgpP6tKI.js → dist-js-BCUhGUXS.js} +1 -1
- package/client/dist/assets/{dist-js-DHiN-A_E.js → dist-js-DcoXTnEI.js} +1 -1
- package/client/dist/assets/download-CFHyyHcw.js +1 -0
- package/client/dist/assets/editor.api2-4ndOupAA.js +872 -0
- package/client/dist/assets/{editor.main-C9J2ikJK.js → editor.main-DxrmGfoq.js} +2 -2
- package/client/dist/assets/editor.worker-tytyn86m.js +26 -0
- package/client/dist/assets/explore-DgBACn39.js +1 -0
- package/client/dist/assets/external-link-BcU5EWZp.js +1 -0
- package/client/dist/assets/file-text-CFT-xXKN.js +1 -0
- package/client/dist/assets/formatDistanceToNow-DP3Ab6fX.js +1 -0
- package/client/dist/assets/{freemarker2-J5iIIIK-.js → freemarker2-CELlTDJ2.js} +1 -1
- package/client/dist/assets/getTimezoneOffsetInMilliseconds-DdKKL8Fx.js +1 -0
- package/client/dist/assets/git-branch-BRM0F5GN.js +1 -0
- package/client/dist/assets/{handlebars-DSw1l_tw.js → handlebars-NEjHJ7o_.js} +1 -1
- package/client/dist/assets/{html-h2-wE1Lj.js → html-CA10zN5A.js} +1 -1
- package/client/dist/assets/{html.worker-CQP8QQsS.js → html.worker-DSJ9zmd7.js} +12 -12
- package/client/dist/assets/{htmlMode-Cc_ij7lW.js → htmlMode-89rPYiyq.js} +1 -1
- package/client/dist/assets/i18n-DREQCE2F.js +2 -0
- package/client/dist/assets/index-B784m8RT.js +76 -0
- package/client/dist/assets/index-CQBIemiz.css +2 -0
- package/client/dist/assets/integrations-mB-7zoyT.js +1 -0
- package/client/dist/assets/{javascript-C1q3xv6N.js → javascript-B1gDmwzS.js} +1 -1
- package/client/dist/assets/jira-CmKWERE0.js +1 -0
- package/client/dist/assets/jira-api-BgFIr8eD.js +1 -0
- package/client/dist/assets/job-time-BCL7wee9.js +1 -0
- package/client/dist/assets/jobs-B-sDHEay2.js +1 -0
- package/client/dist/assets/jobs-BCtGfgUA.js +1 -0
- package/client/dist/assets/jobs-BHR_EnDI.js +1 -0
- package/client/dist/assets/jobs-BMbZJjJJ.js +1 -0
- package/client/dist/assets/jobs-CVFD8rar.js +1 -0
- package/client/dist/assets/jobs-DoSaFzAa.js +1 -0
- package/client/dist/assets/jobs-DzSIR8V62.js +1 -0
- package/client/dist/assets/jobs-lk1_Dq1U.js +1 -0
- package/client/dist/assets/json.worker-Oa9UrkKE.js +58 -0
- package/client/dist/assets/{jsonMode-CeaCdEhr.js → jsonMode-xHLMfzhF.js} +1 -1
- package/client/dist/assets/jsx-runtime-zu2_FqZY.js +1 -0
- package/client/dist/assets/lib-C7Mhm-gT.js +7 -0
- package/client/dist/assets/lib-CGdyxIWg.js +29 -0
- package/client/dist/assets/{liquid-eFsVK0V-.js → liquid-BY6hCUXG.js} +1 -1
- package/client/dist/assets/loader-circle-DcygOQpC.js +1 -0
- package/client/dist/assets/loops-BzfXWEwO.js +1 -0
- package/client/dist/assets/{lspLanguageFeatures-DT3-bbhn.js → lspLanguageFeatures-ira2aEJh.js} +1 -1
- package/client/dist/assets/mcp-uDkXYu4L.js +1 -0
- package/client/dist/assets/{mdx-Fuwnh1cX.js → mdx-BNx0xr3N.js} +1 -1
- package/client/dist/assets/monaco.contribution-Bt92R3Vw.js +2 -0
- package/client/dist/assets/nav-myFaXRHD.js +1 -0
- package/client/dist/assets/pencil-C9RkrIPZ.js +1 -0
- package/client/dist/assets/play-DNlrawbS.js +1 -0
- package/client/dist/assets/plus-CsnjfkmX.js +1 -0
- package/client/dist/assets/preload-helper-Czpn1I53.js +1 -0
- package/client/dist/assets/{python-BgoEs6Cj.js → python-DLdbtmNw.js} +1 -1
- package/client/dist/assets/{razor-CM1sPMMq.js → razor-B9gdhAbR.js} +1 -1
- package/client/dist/assets/react-dom-DiWzBDP9.js +1 -0
- package/client/dist/assets/rolldown-runtime-CNC7AqOf.js +1 -0
- package/client/dist/assets/save-28sIlCdr.js +1 -0
- package/client/dist/assets/search-Cq_gE3Ik.js +1 -0
- package/client/dist/assets/settings-B0ypw9uw.js +1 -0
- package/client/dist/assets/setup-CmK87LuS.js +1 -0
- package/client/dist/assets/sparkles-DrY8hb0X.js +1 -0
- package/client/dist/assets/specs-DII0C8gw.js +1 -0
- package/client/dist/assets/spending-CtY7yYes.js +1 -0
- package/client/dist/assets/terminal-BFRZnMPP.js +1 -0
- package/client/dist/assets/tickets-B8BuAaj5.js +1 -0
- package/client/dist/assets/tickets-B_yh4qQk.js +1 -0
- package/client/dist/assets/tickets-Bs37scwY2.js +1 -0
- package/client/dist/assets/tickets-CFk2n2Or.js +1 -0
- package/client/dist/assets/tickets-DQp7JS2R2.js +1 -0
- package/client/dist/assets/tickets-D_yDquEw.js +1 -0
- package/client/dist/assets/tickets-DpmdE8tv2.js +1 -0
- package/client/dist/assets/tickets-pAUJkDTu.js +1 -0
- package/client/dist/assets/trash-2-BOU3WdZZ.js +1 -0
- package/client/dist/assets/triangle-alert-H9T4jAmh.js +1 -0
- package/client/dist/assets/{ts.worker-METxwbDZ.js → ts.worker-BtjBFNHX.js} +48 -33
- package/client/dist/assets/{tsMode-BmT8WogI.js → tsMode-DEjSThU9.js} +1 -1
- package/client/dist/assets/{typescript-CQrQPsoW.js → typescript-CRRnD2Ts.js} +1 -1
- package/client/dist/assets/upload-DYMjAQ6M.js +1 -0
- package/client/dist/assets/useBrowserCaptureSession-BFBdW59q.js +1 -0
- package/client/dist/assets/useDesktop-uWVZ8eia.js +1 -0
- package/client/dist/assets/useSharedWebSocket-DaPh7QBL.js +1 -0
- package/client/dist/assets/utils-BC4DHlz2.js +1 -0
- package/client/dist/assets/value-s-gzBeyF.js +1 -0
- package/client/dist/assets/{workers-U0UXyLUf.js → workers-uOo7WLaa.js} +1 -1
- package/client/dist/assets/x-CBMI9ejn.js +1 -0
- package/client/dist/assets/{xml-WRxJs8_I.js → xml-EDREH2X7.js} +1 -1
- package/client/dist/assets/{yaml-CjpSTjJU.js → yaml-BjaDVX1E.js} +1 -1
- package/client/dist/assets/zap-CHo3aCD1.js +1 -0
- package/client/dist/index.html +73 -32
- package/docs/guide/en/integrations/5-mcp-server.md +2 -2
- package/docs/internals/safe-pr-review-flow.md +382 -141
- package/docs/mcp.md +15 -5
- package/package.json +11 -7
- package/server/dist/active-pr-continuation.js +250 -50
- package/server/dist/agent-chat-manager.js +387 -191
- package/server/dist/agent-cwd-manager.js +52 -8
- package/server/dist/agent-generator.js +90 -48
- package/server/dist/agent-mcp-config.js +69 -36
- package/server/dist/agent-operator-prompt.js +3 -2
- package/server/dist/agent-refine-manager.js +47 -6
- package/server/dist/agent-store.js +19 -4
- package/server/dist/agent-tier.js +13 -11
- package/server/dist/artifact-registry.js +33 -2
- package/server/dist/auth.js +5 -4
- package/server/dist/browser-capture-manager.js +92 -29
- package/server/dist/chat-manager.js +302 -46
- package/server/dist/contract-refine-runner.js +19 -6
- package/server/dist/db.js +686 -8
- package/server/dist/desktop-router.js +1 -2
- package/server/dist/headroom-manager.js +1310 -121
- package/server/dist/headroom-routing.js +120 -2
- package/server/dist/index.js +48 -13
- package/server/dist/interactive-job-session.js +237 -82
- package/server/dist/jira/jira-adf.js +10 -0
- package/server/dist/jira/jira-db.js +15 -3
- package/server/dist/jira/jira-sync-manager.js +182 -13
- package/server/dist/job-listing.js +140 -0
- package/server/dist/job-spawn-idempotency.js +67 -0
- package/server/dist/loop-run-manager.js +508 -98
- package/server/dist/loop-runs-store.js +266 -13
- package/server/dist/mcp/agent-capability.js +71 -0
- package/server/dist/mcp/guide.js +5 -2
- package/server/dist/mcp/mcp-server.js +5 -10
- package/server/dist/mcp/mcp-token.js +5 -5
- package/server/dist/mcp/tools/jobs.js +20 -13
- package/server/dist/mcp/tools/types.js +20 -42
- package/server/dist/mobile/mobile-router.js +1 -1
- package/server/dist/pr-lifecycle.js +169 -0
- package/server/dist/pr-publisher.js +94 -27
- package/server/dist/process-admission.js +82 -0
- package/server/dist/project-git.js +62 -2
- package/server/dist/project-registry.js +572 -174
- package/server/dist/project-router-git.js +13 -2
- package/server/dist/project-router-jobs.js +111 -55
- package/server/dist/project-router-tickets.js +32 -2
- package/server/dist/providers/claude-adapter.js +21 -13
- package/server/dist/queue-manager.js +2332 -623
- package/server/dist/rail-isolated-launch.js +1679 -296
- package/server/dist/rail-isolation.js +4 -2
- package/server/dist/rail-pr-decision.js +1665 -307
- package/server/dist/rail-pr-delivery.js +2 -1
- package/server/dist/rail-pr-recovery-git.js +235 -0
- package/server/dist/rail-pr-store.js +429 -19
- package/server/dist/rail-pr-ticket-effects.js +328 -0
- package/server/dist/rail-worktree-release.js +305 -3
- package/server/dist/rails-router.js +238 -120
- package/server/dist/rails-store.js +106 -3
- package/server/dist/ticket-store.js +23 -1
- package/server/dist/transient-children.js +13 -0
- package/server/dist/util/cli-prompt.js +42 -8
- package/server/dist/util/secure-token-file.js +84 -0
- package/server/dist/worktree-manager.js +126 -21
- package/server/dist/worktree-overlay.js +166 -4
- package/client/dist/assets/ActivityFeedPage-D8RKRRoM.js +0 -1
- package/client/dist/assets/AgentBrowserCapture-BUHPHNSN.js +0 -1
- package/client/dist/assets/AgentModeCodePane-GZc8bNGT.js +0 -2
- package/client/dist/assets/AgentModeJobsPane-DWtQqj3k.js +0 -1
- package/client/dist/assets/AgentsPage-CKPtHkRP.js +0 -86
- package/client/dist/assets/AnalyticsPage-CZW8c77k.js +0 -1
- package/client/dist/assets/BarChart-DugEoe2q.js +0 -33
- package/client/dist/assets/CodePage-CQ-uKETG.js +0 -2
- package/client/dist/assets/DesktopAnalyticsPage-Bgo4SyCH.js +0 -1
- package/client/dist/assets/DocsDialog-DxpWw_La.js +0 -11
- package/client/dist/assets/DocsPage-CmcOkK19.js +0 -11
- package/client/dist/assets/ExportDropdown-DvTS2wc7.js +0 -1
- package/client/dist/assets/IntegrationsPage-B72WxJ3Z.js +0 -1
- package/client/dist/assets/InteractiveJobComposer-B5gh4Qoy.js +0 -19
- package/client/dist/assets/JobDetailModal-D-BeqsJ6.js +0 -1
- package/client/dist/assets/JobDetailPage-DwdozwLO.js +0 -1
- package/client/dist/assets/JobsPage-BDkinklt.js +0 -1
- package/client/dist/assets/LoopBuilderPage-CclJ3VZA.js +0 -7
- package/client/dist/assets/LoopPreviewModal-Dw4UgoLu.js +0 -1
- package/client/dist/assets/LoopsPage-D7ac4M24.js +0 -1
- package/client/dist/assets/PluginsPage-wdC-qa40.js +0 -2
- package/client/dist/assets/ProjectSettingsDialog-BlTlRtGI.js +0 -1
- package/client/dist/assets/TemplatePreviewModal-CeMx2Red.js +0 -1
- package/client/dist/assets/activity-Dbl71S-E.js +0 -1
- package/client/dist/assets/addon-image-CwoZj17F.js +0 -1
- package/client/dist/assets/addon-ligatures-CWDrED80.js +0 -2
- package/client/dist/assets/addspec-DrXqP8ip.js +0 -1
- package/client/dist/assets/agent-B8BXmlUQ2.js +0 -1
- package/client/dist/assets/agent-BEXYxDbs.js +0 -1
- package/client/dist/assets/agent-BYc3-6Ln2.js +0 -1
- package/client/dist/assets/agent-BbJorPdT.js +0 -1
- package/client/dist/assets/agent-CewFImgL.js +0 -1
- package/client/dist/assets/agent-DfhYoUmp.js +0 -1
- package/client/dist/assets/agent-TK_rrK4d.js +0 -1
- package/client/dist/assets/agent-bHjA9R_j2.js +0 -1
- package/client/dist/assets/agents-CGDn_3kB.js +0 -1
- package/client/dist/assets/agentstudio-Dxe_94PK.js +0 -1
- package/client/dist/assets/aiedit-DrfHQnlz.js +0 -1
- package/client/dist/assets/analytics-CxDYcBl9.js +0 -1
- package/client/dist/assets/attachments-DvxQbBTC.js +0 -1
- package/client/dist/assets/brain-C92rjjYP.js +0 -1
- package/client/dist/assets/browser-DM8G151q.js +0 -1
- package/client/dist/assets/chat-0dg5hOo_.js +0 -1
- package/client/dist/assets/chunk-BNv3lrIs.js +0 -1
- package/client/dist/assets/code-B62fClk-.js +0 -1
- package/client/dist/assets/commands-DCJ-R9E4.js +0 -1
- package/client/dist/assets/common-BM3LFLCE2.js +0 -1
- package/client/dist/assets/common-Bwafujnc2.js +0 -1
- package/client/dist/assets/common-C-vU-j-I.js +0 -1
- package/client/dist/assets/common-C5HKSbbz.js +0 -1
- package/client/dist/assets/common-DXrmj6WD.js +0 -1
- package/client/dist/assets/common-DhWTkocg.js +0 -1
- package/client/dist/assets/common-DiPTT7V_2.js +0 -1
- package/client/dist/assets/common-DmqBPwZG.js +0 -1
- package/client/dist/assets/dashboard-B5ang-ZS.js +0 -1
- package/client/dist/assets/dashboard-CHHcOWVL2.js +0 -1
- package/client/dist/assets/dashboard-DBD4wPGY2.js +0 -1
- package/client/dist/assets/dashboard-DBuLfWo9.js +0 -1
- package/client/dist/assets/dashboard-DSnztwWH.js +0 -1
- package/client/dist/assets/dashboard-D_aP_InU.js +0 -1
- package/client/dist/assets/dashboard-DmBcdl1B.js +0 -1
- package/client/dist/assets/dashboard-RIcUKY1Y2.js +0 -1
- package/client/dist/assets/editor.api2-C3B0tp2x.js +0 -872
- package/client/dist/assets/editor.worker-Bd9IXS8d.js +0 -26
- package/client/dist/assets/explore-_XyU5e7R.js +0 -1
- package/client/dist/assets/index-BVbgKXUu.css +0 -2
- package/client/dist/assets/index-DyY1QyIn.js +0 -158
- package/client/dist/assets/integrations-By80EBkf.js +0 -1
- package/client/dist/assets/jira-DeIjwCK3.js +0 -1
- package/client/dist/assets/jobs-1GV2-4zd2.js +0 -1
- package/client/dist/assets/jobs-26F9gGcE.js +0 -1
- package/client/dist/assets/jobs-BgQzB0Sx2.js +0 -1
- package/client/dist/assets/jobs-BqWui9_f.js +0 -1
- package/client/dist/assets/jobs-CE8qeIYj.js +0 -1
- package/client/dist/assets/jobs-DrYmsKy5.js +0 -1
- package/client/dist/assets/jobs-DzeuASRf.js +0 -1
- package/client/dist/assets/jobs-Wh7dn28q2.js +0 -1
- package/client/dist/assets/json.worker-DzV-CpCQ.js +0 -58
- package/client/dist/assets/lib-0PFDyMxJ.js +0 -7
- package/client/dist/assets/loops-CO6q75W8.js +0 -1
- package/client/dist/assets/mcp-HwBbQDk0.js +0 -1
- package/client/dist/assets/monaco.contribution-Desq7oq4.js +0 -2
- package/client/dist/assets/nav-BTg8s-cD.js +0 -1
- package/client/dist/assets/preload-helper-DSXbuxSR.js +0 -1
- package/client/dist/assets/settings-cJNynGIZ.js +0 -1
- package/client/dist/assets/setup-D2CmgAro.js +0 -1
- package/client/dist/assets/specs-PGIOzMtc.js +0 -1
- package/client/dist/assets/terminal-CFt56A5f.js +0 -1
- package/client/dist/assets/tickets-B7zT4IRf.js +0 -1
- package/client/dist/assets/tickets-BHv3ewvq.js +0 -1
- package/client/dist/assets/tickets-BoXom7l8.js +0 -1
- package/client/dist/assets/tickets-C3b8cHhd2.js +0 -1
- package/client/dist/assets/tickets-CFXnJsYF.js +0 -1
- package/client/dist/assets/tickets-CWYFvx1W2.js +0 -1
- package/client/dist/assets/tickets-DTHo9c3C.js +0 -1
- package/client/dist/assets/tickets-SuX_HkK4.js +0 -1
- package/client/dist/assets/upload-CmR4h9H1.js +0 -1
- package/client/dist/assets/value-JA3bf47v.js +0 -1
- /package/client/dist/assets/{abap-D0E4FfVW.js → abap-08VXUWAP.js} +0 -0
- /package/client/dist/assets/{activity--iN4Ad2R2.js → activity-B-rp4h_v.js} +0 -0
- /package/client/dist/assets/{activity-6hM_ZSg9.js → activity-C6kJpm9q2.js} +0 -0
- /package/client/dist/assets/{activity-CIOLxGvh.js → activity-CGx4kb_j.js} +0 -0
- /package/client/dist/assets/{activity-BZNfOdiS.js → activity-CnoX2bH7.js} +0 -0
- /package/client/dist/assets/{activity-BuVo5sPB.js → activity-DAyekdlt2.js} +0 -0
- /package/client/dist/assets/{activity-D2r2h3SE2.js → activity-DCxtpT7j.js} +0 -0
- /package/client/dist/assets/{activity-DtxrAUMo2.js → activity-JzwRaWPD.js} +0 -0
- /package/client/dist/assets/{addspec-BMtLZLW62.js → addspec-BXjvkh5q.js} +0 -0
- /package/client/dist/assets/{addspec-CRuvWn8d.js → addspec-C4bwrmpi.js} +0 -0
- /package/client/dist/assets/{addspec-D-JLDsUV.js → addspec-CArHXUDM.js} +0 -0
- /package/client/dist/assets/{addspec-mgPOt5q02.js → addspec-DTKJcXiR.js} +0 -0
- /package/client/dist/assets/{addspec-DfhDbg5c.js → addspec-DbNBbrha2.js} +0 -0
- /package/client/dist/assets/{addspec-CP0HRuxY.js → addspec-htHGZHOe2.js} +0 -0
- /package/client/dist/assets/{addspec-bsNDdqRm2.js → addspec-lr_LP6jk.js} +0 -0
- /package/client/dist/assets/{agents-78bTZGZh.js → agents-6ZOJXWVk2.js} +0 -0
- /package/client/dist/assets/{agents-DDtCJ5M02.js → agents-BZ0XQKjg.js} +0 -0
- /package/client/dist/assets/{agents-CWo-KyAB.js → agents-BqWklnHR.js} +0 -0
- /package/client/dist/assets/{agents-BUdEi3-N.js → agents-Bz-thHkB2.js} +0 -0
- /package/client/dist/assets/{agents-bvyRLczL.js → agents-CJclElx6.js} +0 -0
- /package/client/dist/assets/{agents-BpoUaoW92.js → agents-D_l9L0VA.js} +0 -0
- /package/client/dist/assets/{agents-BLhWCmDS2.js → agents-u_C0jPB5.js} +0 -0
- /package/client/dist/assets/{agentstudio-BMQxc_bz.js → agentstudio-BF19hbXj.js} +0 -0
- /package/client/dist/assets/{agentstudio-C_Jq8Tl4.js → agentstudio-BLGvxWBx2.js} +0 -0
- /package/client/dist/assets/{agentstudio-Dtq3dGYk.js → agentstudio-D9UKiWTj2.js} +0 -0
- /package/client/dist/assets/{agentstudio-CWgXG5W52.js → agentstudio-Drs37nIM.js} +0 -0
- /package/client/dist/assets/{agentstudio-sI27TpBu2.js → agentstudio-nEnKkcXM.js} +0 -0
- /package/client/dist/assets/{agentstudio-jKMTdT70.js → agentstudio-pyFcSBKy.js} +0 -0
- /package/client/dist/assets/{agentstudio-COZriimI2.js → agentstudio-zfTzQh3U.js} +0 -0
- /package/client/dist/assets/{aiedit-hknZlly82.js → aiedit-B0KUbpB6.js} +0 -0
- /package/client/dist/assets/{aiedit-eMN4eQPF.js → aiedit-BoG24nlg2.js} +0 -0
- /package/client/dist/assets/{aiedit-pc5JDUq1.js → aiedit-CjlSRQVP.js} +0 -0
- /package/client/dist/assets/{aiedit-B03pD_Na.js → aiedit-DCjA7jLJ.js} +0 -0
- /package/client/dist/assets/{aiedit-6CHdb_iv2.js → aiedit-DNXxq_Dr.js} +0 -0
- /package/client/dist/assets/{aiedit-igmw-ZoZ2.js → aiedit-DQ-0_pvE.js} +0 -0
- /package/client/dist/assets/{aiedit-BtRqRxML.js → aiedit-olnv3QSt2.js} +0 -0
- /package/client/dist/assets/{analytics-CCprAqk3.js → analytics-BC7mwR4s.js} +0 -0
- /package/client/dist/assets/{analytics-CR1TJqUi2.js → analytics-BiNg8edP.js} +0 -0
- /package/client/dist/assets/{analytics-Bj-SmKHa.js → analytics-C0s_T2GN.js} +0 -0
- /package/client/dist/assets/{analytics-C5dpiS0o.js → analytics-CdsAPAwZ2.js} +0 -0
- /package/client/dist/assets/{analytics-BWMUZ2Pq2.js → analytics-Cr1_q-lC.js} +0 -0
- /package/client/dist/assets/{analytics-DfNdXR0y2.js → analytics-IEsKZvpW2.js} +0 -0
- /package/client/dist/assets/{analytics-rmHuJv0V.js → analytics-SRPf84OT.js} +0 -0
- /package/client/dist/assets/{apex-D_X_8J4d.js → apex-BWPQTe0t.js} +0 -0
- /package/client/dist/assets/{atom-one-dark-BMDPFwRZ.js → atom-one-dark-qiGhVQxg.js} +0 -0
- /package/client/dist/assets/{attachments-BgBNSqQd.js → attachments-D0wXXt9T2.js} +0 -0
- /package/client/dist/assets/{attachments-C9GTTJsx2.js → attachments-DenIjuVI.js} +0 -0
- /package/client/dist/assets/{attachments-BjyMmrwE.js → attachments-DhO7LPfy.js} +0 -0
- /package/client/dist/assets/{attachments-DPCmkFZu2.js → attachments-DoH5w0x4.js} +0 -0
- /package/client/dist/assets/{attachments-DCZOL1RU.js → attachments-Q9yNtiEM.js} +0 -0
- /package/client/dist/assets/{attachments-rNn1ekRy2.js → attachments-V_WZAYXx2.js} +0 -0
- /package/client/dist/assets/{attachments-DL-bPy9E.js → attachments-eaeScpjM.js} +0 -0
- /package/client/dist/assets/{auth-DpZq5p1e.js → auth-D_5bQv5W.js} +0 -0
- /package/client/dist/assets/{azcli-PZLnZ3jH.js → azcli-Bc_sGQ0U.js} +0 -0
- /package/client/dist/assets/{bat-KlBOxpO4.js → bat-i0X4ZdIN.js} +0 -0
- /package/client/dist/assets/{bicep-CgG9oF3V.js → bicep-B5-_aFwp.js} +0 -0
- /package/client/dist/assets/{browser-BPkhILSJ.js → browser-C25DkQiO.js} +0 -0
- /package/client/dist/assets/{browser-BqLqJVVT.js → browser-CiJ7-L32.js} +0 -0
- /package/client/dist/assets/{browser-rWKj-RR_2.js → browser-CvgDySd9.js} +0 -0
- /package/client/dist/assets/{browser-Cvg-QHvd2.js → browser-CyR1Kp3m2.js} +0 -0
- /package/client/dist/assets/{browser-FRv8P02E.js → browser-DwZljcRh2.js} +0 -0
- /package/client/dist/assets/{browser-Cc0iDqUi.js → browser-DxP-alBK.js} +0 -0
- /package/client/dist/assets/{browser-BijVYG0Y2.js → browser-rRCwi7Y7.js} +0 -0
- /package/client/dist/assets/{cameligo-6R45j6Ph.js → cameligo-DMUM7wLl.js} +0 -0
- /package/client/dist/assets/{chat-Bom6bqK3.js → chat-2rIB8HhT.js} +0 -0
- /package/client/dist/assets/{chat-vylxqR0P2.js → chat-BR8oe53x2.js} +0 -0
- /package/client/dist/assets/{chat-Dnwg-NpQ.js → chat-Bua03tty.js} +0 -0
- /package/client/dist/assets/{chat-BgL3zv6x2.js → chat-CZpAQan1.js} +0 -0
- /package/client/dist/assets/{chat-DsbwJhus.js → chat-CdY5SGvS.js} +0 -0
- /package/client/dist/assets/{chat-Bh3NdgJs.js → chat-DZyu3ImY2.js} +0 -0
- /package/client/dist/assets/{chat-DdwZjT8K2.js → chat-D_I7nU5K.js} +0 -0
- /package/client/dist/assets/{clojure-CLAAMO7J.js → clojure-Cm7r79vr.js} +0 -0
- /package/client/dist/assets/{clsx-CNmW0Nip.js → clsx-CjueKrWZ.js} +0 -0
- /package/client/dist/assets/{code-UPVvmAKM2.js → code-76gS0IdL.js} +0 -0
- /package/client/dist/assets/{code-BRcDlze52.js → code-C1VwxlML.js} +0 -0
- /package/client/dist/assets/{code-CeQ0FZpC.js → code-CnMZyJpr.js} +0 -0
- /package/client/dist/assets/{code-DgeHz9CB.js → code-D20ef9Cf2.js} +0 -0
- /package/client/dist/assets/{code-DzC1rMk12.js → code-DdOXaWRY.js} +0 -0
- /package/client/dist/assets/{code-CwnBPPyA.js → code-Duohuf9l.js} +0 -0
- /package/client/dist/assets/{code-BdMy3Ffq.js → code-geHmknB92.js} +0 -0
- /package/client/dist/assets/{coffee-AruSygo-.js → coffee-Ba7i2nA0.js} +0 -0
- /package/client/dist/assets/{commands-DkU0qliq.js → commands-B9RZO4qS.js} +0 -0
- /package/client/dist/assets/{commands-u-4eEHCN.js → commands-BEwbAjtD2.js} +0 -0
- /package/client/dist/assets/{commands-JWMfGDmr.js → commands-Bbxu8kLU.js} +0 -0
- /package/client/dist/assets/{commands-C4Y3C-PF2.js → commands-CDU3qv68.js} +0 -0
- /package/client/dist/assets/{commands-xHDDGfcP2.js → commands-CzezgtQj.js} +0 -0
- /package/client/dist/assets/{commands-CSDs9q_2.js → commands-DTQBF_q52.js} +0 -0
- /package/client/dist/assets/{commands-RHOchN4n2.js → commands-hOtKuOXc.js} +0 -0
- /package/client/dist/assets/{cpp-DEE5r4Pw.js → cpp-C7h46wYY.js} +0 -0
- /package/client/dist/assets/{csharp-BVXJUvbK.js → csharp-BKxtCVv1.js} +0 -0
- /package/client/dist/assets/{csp-cXOF0JoV.js → csp-bTuwJoIa.js} +0 -0
- /package/client/dist/assets/{css-C_zQuAoy.js → css-DIMkf-bt.js} +0 -0
- /package/client/dist/assets/{cypher-t95m_Q-O.js → cypher-CVaqCwHa.js} +0 -0
- /package/client/dist/assets/{dart-B4r1Tg-e.js → dart-onAF5SnQ.js} +0 -0
- /package/client/dist/assets/{dockerfile-6mt7zHQw.js → dockerfile-DZFCIeNp.js} +0 -0
- /package/client/dist/assets/{ecl-DEY_Fz_Q.js → ecl-D05T4iGw.js} +0 -0
- /package/client/dist/assets/{elixir-R6-q1c5t.js → elixir-6RTg0lbw.js} +0 -0
- /package/client/dist/assets/{explore-B7fblXBb2.js → explore-BG99VGpL.js} +0 -0
- /package/client/dist/assets/{explore-CNBzrEPS.js → explore-C0TjprJW2.js} +0 -0
- /package/client/dist/assets/{explore-C0k8HrkN.js → explore-C2dgEo7q.js} +0 -0
- /package/client/dist/assets/{explore-BHtEpoNN2.js → explore-C8NDHbob.js} +0 -0
- /package/client/dist/assets/{explore-Dahc1lOx.js → explore-CWWgzQGR.js} +0 -0
- /package/client/dist/assets/{explore-D_mWBYCS2.js → explore-CcQXpdtS.js} +0 -0
- /package/client/dist/assets/{explore-UvW1jEMa.js → explore-DsXAgnmJ2.js} +0 -0
- /package/client/dist/assets/{flow9-CNQvHBOt.js → flow9-C5_-GSwl.js} +0 -0
- /package/client/dist/assets/{format-command-CuWuRvka.js → format-command-Dfa1o2d-.js} +0 -0
- /package/client/dist/assets/{fsharp-vPZkFXwv.js → fsharp-C8Ef5oNN.js} +0 -0
- /package/client/dist/assets/{go-KUzBMYJ_.js → go-C-y9NEjX.js} +0 -0
- /package/client/dist/assets/{graphql-C3W0rCsD.js → graphql-fmXr3nnJ.js} +0 -0
- /package/client/dist/assets/{hcl-BOOMFSNX.js → hcl-CpzslTdj.js} +0 -0
- /package/client/dist/assets/{ini-CFat1WJr.js → ini-sBoK_t0W.js} +0 -0
- /package/client/dist/assets/{integrations-TAcYNh0b.js → integrations-CH0zy1Mw2.js} +0 -0
- /package/client/dist/assets/{integrations-C1ThkTC52.js → integrations-CIAjhd7L.js} +0 -0
- /package/client/dist/assets/{integrations-2YcNyAl3.js → integrations-CZdwOe8A.js} +0 -0
- /package/client/dist/assets/{integrations-BXCvXUlG2.js → integrations-Ct7omMld.js} +0 -0
- /package/client/dist/assets/{integrations-Crk2rFhL2.js → integrations-D6MSxy3-.js} +0 -0
- /package/client/dist/assets/{integrations-Dn4JiGtW.js → integrations-DbZa-Zyc.js} +0 -0
- /package/client/dist/assets/{integrations-D9YrJ_Ep.js → integrations-b8pH-vfl2.js} +0 -0
- /package/client/dist/assets/{java-Dee-CNAM.js → java-BEtHBSE6.js} +0 -0
- /package/client/dist/assets/{jira-D5efgwp_.js → jira-BySfUuQZ.js} +0 -0
- /package/client/dist/assets/{jira-bDs7Im2C.js → jira-Byw2C0F8.js} +0 -0
- /package/client/dist/assets/{jira-BHAKtc4B.js → jira-CNeYi06w2.js} +0 -0
- /package/client/dist/assets/{jira-Be369RIR2.js → jira-D11gPhxz.js} +0 -0
- /package/client/dist/assets/{jira-CPpgA-5z2.js → jira-D38Gj7AT.js} +0 -0
- /package/client/dist/assets/{jira-uNH1gETL2.js → jira-gAvOyije.js} +0 -0
- /package/client/dist/assets/{jira-DS7ownDy.js → jira-pRaL7JQo2.js} +0 -0
- /package/client/dist/assets/{julia-CGNlLYuU.js → julia-Bri6UV-V.js} +0 -0
- /package/client/dist/assets/{kotlin-CY7lhknJ.js → kotlin-BOotOW0E.js} +0 -0
- /package/client/dist/assets/{less-D0KN7hfJ.js → less-B9JPFI3C.js} +0 -0
- /package/client/dist/assets/{lexon-CuRJufPs.js → lexon-CfSJPG6W.js} +0 -0
- /package/client/dist/assets/{loops-LIgO_-eM.js → loops-CPpgMapU.js} +0 -0
- /package/client/dist/assets/{loops-DJNhp17p2.js → loops-CWWbKuVL.js} +0 -0
- /package/client/dist/assets/{loops-D6D3XHjj.js → loops-Crc9It8o2.js} +0 -0
- /package/client/dist/assets/{loops-CvOWsi5r.js → loops-DH2hZcbK2.js} +0 -0
- /package/client/dist/assets/{loops-vhJdbcz92.js → loops-DS5TmvIU2.js} +0 -0
- /package/client/dist/assets/{loops-K5_HXfJa.js → loops-P2f0cN8-.js} +0 -0
- /package/client/dist/assets/{loops-BvqQ-bHR2.js → loops-fJV-9hH7.js} +0 -0
- /package/client/dist/assets/{lua-DHvH62Zf.js → lua-CsQS60Ue.js} +0 -0
- /package/client/dist/assets/{m3-tlthQ8Fo.js → m3-D-oSqn_W.js} +0 -0
- /package/client/dist/assets/{markdown-Dbx1LgUZ.js → markdown-Cimd5fb3.js} +0 -0
- /package/client/dist/assets/{mcp-Dcl-XxkR.js → mcp-Czd_iyp02.js} +0 -0
- /package/client/dist/assets/{mcp-XJNRfxVp2.js → mcp-D2pc5GGx.js} +0 -0
- /package/client/dist/assets/{mcp-sRmWE8WJ.js → mcp-D4ZjtIx32.js} +0 -0
- /package/client/dist/assets/{mcp-DtbxuH3V2.js → mcp-DIfBUv2D2.js} +0 -0
- /package/client/dist/assets/{mcp-H-gnQUdN.js → mcp-DsTwmjST.js} +0 -0
- /package/client/dist/assets/{mcp-N1nzp8oL.js → mcp-SMkn8boG.js} +0 -0
- /package/client/dist/assets/{mcp-CjVKXAhD2.js → mcp-fSfiVYAc.js} +0 -0
- /package/client/dist/assets/{mips-D_O3IUz_.js → mips-CIPQ_RoX.js} +0 -0
- /package/client/dist/assets/{msdax-C_ZmCnRt.js → msdax-DauUninz.js} +0 -0
- /package/client/dist/assets/{mysql-C-dCEYSX.js → mysql-SOo6toE5.js} +0 -0
- /package/client/dist/assets/{nav-BElxljIF2.js → nav-BRJBxaGt2.js} +0 -0
- /package/client/dist/assets/{nav-COu2E_-L.js → nav-CAGKv3_F.js} +0 -0
- /package/client/dist/assets/{nav-BXO7PJJG2.js → nav-CNskRJKQ2.js} +0 -0
- /package/client/dist/assets/{nav-CW9pxWfC2.js → nav-DY93irBL.js} +0 -0
- /package/client/dist/assets/{nav-CXHUA4uf.js → nav-DhjvYgqt.js} +0 -0
- /package/client/dist/assets/{nav-DdHF5VWJ.js → nav-Gb-r4wop.js} +0 -0
- /package/client/dist/assets/{nav-C8kOuGh8.js → nav-TvumAFD22.js} +0 -0
- /package/client/dist/assets/{objective-c-DZY9Aqxd.js → objective-c-FvmIjYaQ.js} +0 -0
- /package/client/dist/assets/{pascal-BVHLXoor.js → pascal-DrH0SRf2.js} +0 -0
- /package/client/dist/assets/{pascaligo-XdG_6u3k.js → pascaligo-D-ptJ9y-.js} +0 -0
- /package/client/dist/assets/{perl-b9QV0BcD.js → perl-oz_6vUea.js} +0 -0
- /package/client/dist/assets/{pgsql-Du5FDOgT.js → pgsql-DTj74zXo.js} +0 -0
- /package/client/dist/assets/{php-WJD0z2Z_.js → php-nr791fC2.js} +0 -0
- /package/client/dist/assets/{pla-CbciTf2w.js → pla-CopQ2nXW.js} +0 -0
- /package/client/dist/assets/{postiats-C1QxmvVq.js → postiats-43DmfD33.js} +0 -0
- /package/client/dist/assets/{powerquery-BEYDhPLZ.js → powerquery-D3hlyOfw.js} +0 -0
- /package/client/dist/assets/{powershell-CfaYw4XL.js → powershell-DmHpPYUd.js} +0 -0
- /package/client/dist/assets/{protobuf-pwZEDOYa.js → protobuf-C531GsRP.js} +0 -0
- /package/client/dist/assets/{pug-5ftqSPVe.js → pug-Z5eAx3Zn.js} +0 -0
- /package/client/dist/assets/{qsharp-uI6qZMq4.js → qsharp-DkqhCAOL.js} +0 -0
- /package/client/dist/assets/{r-BK54P1EG.js → r-BwWrilGY.js} +0 -0
- /package/client/dist/assets/{redis-DI0yd7kN.js → redis-ClamHrr6.js} +0 -0
- /package/client/dist/assets/{redshift-Dov26eyI.js → redshift-DT7zqm-g.js} +0 -0
- /package/client/dist/assets/{restructuredtext-QqJ_1dC-.js → restructuredtext-BYgofb2h.js} +0 -0
- /package/client/dist/assets/{ruby-5WjveeVb.js → ruby-DezsRK8O.js} +0 -0
- /package/client/dist/assets/{rust-BzVSfqFH.js → rust-DdL9SqIa.js} +0 -0
- /package/client/dist/assets/{sb-DMIUfT-3.js → sb-CcwsVR0C.js} +0 -0
- /package/client/dist/assets/{scala-CSKA7lqt.js → scala-DHpiXF5c.js} +0 -0
- /package/client/dist/assets/{scheme-CojOP2Qc.js → scheme-BeGwcela.js} +0 -0
- /package/client/dist/assets/{scss-DoBZGJG6.js → scss-gp-XZpBa.js} +0 -0
- /package/client/dist/assets/{settings-1w1O5Og82.js → settings-B9ilOSYO.js} +0 -0
- /package/client/dist/assets/{settings-Jc46vUhd.js → settings-BqlWHRHA.js} +0 -0
- /package/client/dist/assets/{settings-BSihkr0e.js → settings-D8dlqt4d.js} +0 -0
- /package/client/dist/assets/{settings-BiDOB3hV2.js → settings-DAZqjX2a2.js} +0 -0
- /package/client/dist/assets/{settings-DNL68KTE.js → settings-DRh39v1S2.js} +0 -0
- /package/client/dist/assets/{settings-BoubJhDP2.js → settings-Mj1OJbfd2.js} +0 -0
- /package/client/dist/assets/{settings-CB-EZ_W8.js → settings-lRReaSYm.js} +0 -0
- /package/client/dist/assets/{setup-D84y3wx-.js → setup-CGZjy2IF2.js} +0 -0
- /package/client/dist/assets/{setup-BuQNKztt2.js → setup-CXa0Sx16.js} +0 -0
- /package/client/dist/assets/{setup-BwMovM9z2.js → setup-D2ktKKMF2.js} +0 -0
- /package/client/dist/assets/{setup-DU0ULX8q2.js → setup-DG2H7ha5.js} +0 -0
- /package/client/dist/assets/{setup-BXpw07r-.js → setup-DK5bHDUq2.js} +0 -0
- /package/client/dist/assets/{setup-7J8TjG4O.js → setup-DrWlIQTZ.js} +0 -0
- /package/client/dist/assets/{setup-BiduSX9d.js → setup-rzHUVgAu.js} +0 -0
- /package/client/dist/assets/{shell-YOaE4udl.js → shell-CC2rA5mh.js} +0 -0
- /package/client/dist/assets/{solidity-l3jSyVLu.js → solidity-BEEn4gHE.js} +0 -0
- /package/client/dist/assets/{sophia-BhSGTaQJ.js → sophia-CRfGWb83.js} +0 -0
- /package/client/dist/assets/{sparql-qhk6QD9w.js → sparql-D_Lu-MrJ.js} +0 -0
- /package/client/dist/assets/{specs-CWtKcVDC.js → specs-BcyxaCwf2.js} +0 -0
- /package/client/dist/assets/{specs-DTplt2XM.js → specs-C1q9geAi.js} +0 -0
- /package/client/dist/assets/{specs-PozUNhqb.js → specs-CLZKysq-2.js} +0 -0
- /package/client/dist/assets/{specs-C9Sd7BhH2.js → specs-DZMS9o54.js} +0 -0
- /package/client/dist/assets/{specs-D2clrt2c2.js → specs-Dm6zUI-R.js} +0 -0
- /package/client/dist/assets/{specs-CBDvEYKv.js → specs-V3TvhKLX.js} +0 -0
- /package/client/dist/assets/{specs-CIPr9reA2.js → specs-dV3Mq5Mu2.js} +0 -0
- /package/client/dist/assets/{sql-DoO3y21-.js → sql-NEE52Syq.js} +0 -0
- /package/client/dist/assets/{st-ChZAY8oG.js → st-DbInun42.js} +0 -0
- /package/client/dist/assets/{swift-D290Tr7_.js → swift-Bxkupp3x.js} +0 -0
- /package/client/dist/assets/{systemverilog-DsxzgJ-o.js → systemverilog-Bz4Y3fRF.js} +0 -0
- /package/client/dist/assets/{tcl-BKDUHAAR.js → tcl-DISqw1ZD.js} +0 -0
- /package/client/dist/assets/{terminal-De2Brd23.js → terminal-BZiIu3rf.js} +0 -0
- /package/client/dist/assets/{terminal-cqfd3EDV.js → terminal-C2NAd7BW2.js} +0 -0
- /package/client/dist/assets/{terminal-WSAvHXoU.js → terminal-IahE4LW92.js} +0 -0
- /package/client/dist/assets/{terminal-Z7KsDM_n.js → terminal-QpXZU2Bn2.js} +0 -0
- /package/client/dist/assets/{terminal-xGbCZJHg.js → terminal-ScjyXNxQ.js} +0 -0
- /package/client/dist/assets/{terminal-BRm03iFA2.js → terminal-d7GadXbN.js} +0 -0
- /package/client/dist/assets/{terminal-DxQWCqSD2.js → terminal-tITa81iz.js} +0 -0
- /package/client/dist/assets/{twig-UpZQaM8G.js → twig-De2hgUGE.js} +0 -0
- /package/client/dist/assets/{typespec-DzaKvN8i.js → typespec-B8J7ngcE.js} +0 -0
- /package/client/dist/assets/{vb-CZpbb7tk.js → vb-DV3o63ZY.js} +0 -0
- /package/client/dist/assets/{wgsl-CNt3OIvl.js → wgsl-DpFanUEy.js} +0 -0
package/docs/mcp.md
CHANGED
|
@@ -207,6 +207,12 @@ codex mcp add specrails -- <bridge command from Settings ▸ MCP>
|
|
|
207
207
|
network ingress; an MCP client must run on the same machine.
|
|
208
208
|
- **Tiers, not blanket access.** Even with a valid token, an agent can only do
|
|
209
209
|
what the enabled tiers allow (read by default). High-risk actions stay opt-in.
|
|
210
|
+
- **Loopback is not identity.** The scoped MCP token identifies an external local
|
|
211
|
+
client; it cannot impersonate the embedded Agent Mode by adding tier, project,
|
|
212
|
+
or conversation headers. For each Agent Mode turn, Specrails mints a private,
|
|
213
|
+
short-lived capability bound server-side to that conversation, pinned project,
|
|
214
|
+
and permission level, transports it through an app-owned `0600` file, and
|
|
215
|
+
revokes it when the turn ends.
|
|
210
216
|
- **The app must be running.** The MCP server is embedded in the desktop app's
|
|
211
217
|
process — there is no standalone daemon. The Tauri shell keeps it alive even
|
|
212
218
|
when you close the main window: closing the window **minimizes to the system
|
|
@@ -217,12 +223,16 @@ codex mcp add specrails -- <bridge command from Settings ▸ MCP>
|
|
|
217
223
|
|
|
218
224
|
## v1 limitations — what is *not* exposed
|
|
219
225
|
|
|
220
|
-
The tool catalog deliberately leaves the highest-risk execution vectors
|
|
221
|
-
v1. None of these are reachable
|
|
226
|
+
The public tool catalog deliberately leaves the highest-risk execution vectors
|
|
227
|
+
out of v1. None of these are reachable by an external MCP client authenticated
|
|
228
|
+
only with the scoped MCP token:
|
|
222
229
|
|
|
223
|
-
- **
|
|
224
|
-
|
|
225
|
-
|
|
230
|
+
- **Raw terminal shell execution.** The built-in terminal panel is not exposed
|
|
231
|
+
to external MCP clients. `background_start` and `background_kill` are a
|
|
232
|
+
private Agent Mode path: they require a live server-minted capability,
|
|
233
|
+
Autonomous permission, and explicit confirmation for the exact command.
|
|
234
|
+
Supplying legacy context headers or enabling the external Destructive tier
|
|
235
|
+
does not grant access to that path.
|
|
226
236
|
- **Browser capture.** No browser navigation / screenshot / capture tool.
|
|
227
237
|
- **In-app file write.** The code explorer is **read-only** over MCP — there is
|
|
228
238
|
no source-file overwrite tool (`code_write_file`). An agent can read files and
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "specrails-desktop",
|
|
3
|
-
"version": "2.29.
|
|
3
|
+
"version": "2.29.3",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"cross-spawn": "^7.0.6",
|
|
52
52
|
"diff": "^9.0.0",
|
|
53
53
|
"express": "^5.2.1",
|
|
54
|
-
"multer": "^2.
|
|
54
|
+
"multer": "^2.2.0",
|
|
55
55
|
"node-pty": "^1.0.0",
|
|
56
56
|
"pdf-parse": "^2.4.5",
|
|
57
57
|
"playwright": "^1.60.0",
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
"selfsigned": "^5.5.0",
|
|
60
60
|
"tree-kill": "^1.2.2",
|
|
61
61
|
"werift": "^0.23.0",
|
|
62
|
-
"ws": "^8.
|
|
62
|
+
"ws": "^8.21.0",
|
|
63
63
|
"zod": "^3.25.76"
|
|
64
64
|
},
|
|
65
65
|
"devDependencies": {
|
|
@@ -74,12 +74,16 @@
|
|
|
74
74
|
"@types/pdf-parse": "^1.1.5",
|
|
75
75
|
"@types/supertest": "^7.2.0",
|
|
76
76
|
"@types/ws": "^8.5.0",
|
|
77
|
-
"@vitest/coverage-v8": "^4.1.
|
|
77
|
+
"@vitest/coverage-v8": "^4.1.10",
|
|
78
78
|
"concurrently": "^9.2.1",
|
|
79
|
-
"esbuild": "^0.28.
|
|
79
|
+
"esbuild": "^0.28.1",
|
|
80
80
|
"supertest": "^7.2.2",
|
|
81
|
-
"tsx": "^4.
|
|
81
|
+
"tsx": "^4.23.0",
|
|
82
82
|
"typescript": "^5.4.0",
|
|
83
|
-
"vitest": "^4.1.
|
|
83
|
+
"vitest": "^4.1.10"
|
|
84
|
+
},
|
|
85
|
+
"overrides": {
|
|
86
|
+
"ip": "npm:@eggjs/ip@2.1.0",
|
|
87
|
+
"shell-quote": "1.9.0"
|
|
84
88
|
}
|
|
85
89
|
}
|
|
@@ -1,12 +1,48 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
2
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
36
|
exports.resolveActivePrContinuationTargets = resolveActivePrContinuationTargets;
|
|
4
37
|
const jira_db_1 = require("./jira/jira-db");
|
|
5
38
|
const rail_pr_store_1 = require("./rail-pr-store");
|
|
6
39
|
const integration_branch_1 = require("./integration-branch");
|
|
40
|
+
const rail_worktrees_store_1 = require("./rail-worktrees-store");
|
|
41
|
+
const pr_lifecycle_1 = require("./pr-lifecycle");
|
|
42
|
+
const fs = __importStar(require("fs"));
|
|
43
|
+
const COMMIT_SHA_RE = /^[0-9a-f]{40,64}$/i;
|
|
7
44
|
const PR_MATCH_RANK = {
|
|
8
|
-
'
|
|
9
|
-
'ticket-ref': 2,
|
|
45
|
+
'jira-key': 1,
|
|
10
46
|
'pr-number': 3,
|
|
11
47
|
};
|
|
12
48
|
function parsePrNumber(prUrl) {
|
|
@@ -15,28 +51,18 @@ function parsePrNumber(prUrl) {
|
|
|
15
51
|
const m = /\/pull\/(\d+)/.exec(prUrl);
|
|
16
52
|
return m ? parseInt(m[1], 10) : null;
|
|
17
53
|
}
|
|
18
|
-
function
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
return normalizedText(v)
|
|
23
|
-
.replace(/[^a-z0-9]+/g, ' ')
|
|
24
|
-
.split(/\s+/)
|
|
25
|
-
.filter((w) => w.length >= 4);
|
|
26
|
-
}
|
|
27
|
-
function ticketRefs(db, ticketId, spec) {
|
|
28
|
-
const refs = new Set([`#${ticketId}`, `[${ticketId}]`, `ticket ${ticketId}`, `spec ${ticketId}`]);
|
|
29
|
-
let jiraKey = spec?.jira_key ?? null;
|
|
54
|
+
function jiraRefs(db, ticketId, spec) {
|
|
55
|
+
const refs = new Set();
|
|
56
|
+
if (spec?.jira_key?.trim())
|
|
57
|
+
refs.add(spec.jira_key.trim());
|
|
30
58
|
try {
|
|
31
59
|
const link = (0, jira_db_1.getLinkByLocalId)(db, ticketId);
|
|
32
60
|
if (link && !link.tombstoned && link.jiraKey)
|
|
33
|
-
|
|
61
|
+
refs.add(link.jiraKey);
|
|
34
62
|
}
|
|
35
63
|
catch {
|
|
36
64
|
/* tolerated */
|
|
37
65
|
}
|
|
38
|
-
if (jiraKey?.trim())
|
|
39
|
-
refs.add(jiraKey.trim());
|
|
40
66
|
return [...refs];
|
|
41
67
|
}
|
|
42
68
|
function mentionedPrNumbers(spec) {
|
|
@@ -66,23 +92,13 @@ function prMatchKind(db, ticketId, spec, pr) {
|
|
|
66
92
|
const prNumber = typeof pr.number === 'number' ? pr.number : parsePrNumber(pr.url);
|
|
67
93
|
if (prNumber !== null && mentionedPrs.has(prNumber))
|
|
68
94
|
return 'pr-number';
|
|
69
|
-
const haystack = `${pr.title ?? ''}\n${pr.body ?? ''}\n${pr.headRefName ?? ''}
|
|
70
|
-
for (const
|
|
71
|
-
const
|
|
72
|
-
if (
|
|
73
|
-
|
|
74
|
-
return 'ticket-ref';
|
|
75
|
-
}
|
|
76
|
-
else if (new RegExp(`(^|[^a-z0-9])${needle.replace(/[.*+?^${}()|[\]\\]/g, '\\$&')}([^a-z0-9]|$)`, 'i').test(haystack)) {
|
|
77
|
-
return 'ticket-ref';
|
|
78
|
-
}
|
|
95
|
+
const haystack = `${pr.title ?? ''}\n${pr.body ?? ''}\n${pr.headRefName ?? ''}`;
|
|
96
|
+
for (const key of jiraRefs(db, ticketId, spec)) {
|
|
97
|
+
const escaped = key.replace(/[.*+?^${}()|[\]\\]/g, '\\$&');
|
|
98
|
+
if (new RegExp(`(^|[^a-z0-9])${escaped}([^a-z0-9]|$)`, 'i').test(haystack))
|
|
99
|
+
return 'jira-key';
|
|
79
100
|
}
|
|
80
|
-
|
|
81
|
-
if (titleWords.length < 3)
|
|
82
|
-
return null;
|
|
83
|
-
const prWords = new Set(words(`${pr.title ?? ''} ${pr.body ?? ''}`));
|
|
84
|
-
const hits = titleWords.filter((w) => prWords.has(w)).length;
|
|
85
|
-
return hits >= Math.max(3, Math.ceil(titleWords.length * 0.7)) ? 'title-similarity' : null;
|
|
101
|
+
return null;
|
|
86
102
|
}
|
|
87
103
|
function canProbeGithubForContinuation(db, ticketId, spec) {
|
|
88
104
|
if (spec?.status === 'on_review')
|
|
@@ -92,11 +108,6 @@ function canProbeGithubForContinuation(db, ticketId, spec) {
|
|
|
92
108
|
// Jira-linked ticket and later only accept explicit PR references.
|
|
93
109
|
return spec?.status === 'in_progress' && hasJiraRef(db, ticketId, spec);
|
|
94
110
|
}
|
|
95
|
-
function matchAllowedForTicket(spec, kind) {
|
|
96
|
-
if (spec?.status === 'on_review')
|
|
97
|
-
return true;
|
|
98
|
-
return kind !== 'title-similarity';
|
|
99
|
-
}
|
|
100
111
|
async function localBranchExists(git, repoDir, branch) {
|
|
101
112
|
const r = await git.run(['rev-parse', '--verify', '--quiet', `refs/heads/${branch}`], repoDir);
|
|
102
113
|
return r.code === 0;
|
|
@@ -105,7 +116,21 @@ async function remoteBranchExists(git, repoDir, branch) {
|
|
|
105
116
|
const r = await git.run(['rev-parse', '--verify', '--quiet', `refs/remotes/origin/${branch}`], repoDir);
|
|
106
117
|
return r.code === 0;
|
|
107
118
|
}
|
|
108
|
-
async function
|
|
119
|
+
async function observeRef(git, repoDir, ref) {
|
|
120
|
+
try {
|
|
121
|
+
const result = await git.run(['rev-parse', '--verify', '--quiet', ref], repoDir);
|
|
122
|
+
if (result.code === 1)
|
|
123
|
+
return { state: 'missing' };
|
|
124
|
+
if (result.code !== 0)
|
|
125
|
+
return { state: 'invalid' };
|
|
126
|
+
const sha = result.stdout.trim().toLowerCase();
|
|
127
|
+
return COMMIT_SHA_RE.test(sha) ? { state: 'exact', sha } : { state: 'invalid' };
|
|
128
|
+
}
|
|
129
|
+
catch {
|
|
130
|
+
return { state: 'invalid' };
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
async function materializeTarget(git, repoDir, fetchOk, ticketId, branch, baseBranch, prUrl, prNumber, isDraft, deliverySha, deliveryId, source) {
|
|
109
134
|
const head = branch?.trim();
|
|
110
135
|
const base = baseBranch?.trim();
|
|
111
136
|
if (!head || !base || head === base)
|
|
@@ -114,35 +139,135 @@ async function materializeTarget(git, repoDir, fetchOk, ticketId, branch, baseBr
|
|
|
114
139
|
return null;
|
|
115
140
|
const remoteRef = fetchOk && await remoteBranchExists(git, repoDir, head) ? `origin/${head}` : undefined;
|
|
116
141
|
if (await localBranchExists(git, repoDir, head)) {
|
|
117
|
-
return { ticketId, branch: head, baseBranch: base, baseRef: remoteRef, prUrl, prNumber, isDraft, source };
|
|
142
|
+
return { ticketId, deliveryId, branch: head, baseBranch: base, baseRef: remoteRef, prUrl, prNumber, isDraft, deliverySha, source };
|
|
118
143
|
}
|
|
119
144
|
if (remoteRef)
|
|
120
|
-
return { ticketId, branch: head, baseBranch: base, baseRef: remoteRef, prUrl, prNumber, isDraft, source };
|
|
145
|
+
return { ticketId, deliveryId, branch: head, baseBranch: base, baseRef: remoteRef, prUrl, prNumber, isDraft, deliverySha, source };
|
|
121
146
|
return null;
|
|
122
147
|
}
|
|
123
|
-
function
|
|
148
|
+
function hasRetainedOrUnsettledWorktree(db, worktreeIds) {
|
|
149
|
+
return worktreeIds.some((id) => {
|
|
150
|
+
const worktree = (0, rail_worktrees_store_1.getRailWorktree)(db, id);
|
|
151
|
+
if (!worktree)
|
|
152
|
+
return false;
|
|
153
|
+
return !['released', 'merged', 'failed'].includes(worktree.merge_state) || fs.existsSync(worktree.worktree_path);
|
|
154
|
+
});
|
|
155
|
+
}
|
|
156
|
+
function internalDeliveryTargets(db, rows, ticketIds) {
|
|
124
157
|
const wanted = new Set(ticketIds);
|
|
125
158
|
const out = new Map();
|
|
126
|
-
for (const row of
|
|
159
|
+
for (const row of rows) {
|
|
127
160
|
const snap = (0, rail_pr_store_1.toPrDeliverySnapshot)(row);
|
|
128
161
|
if (!snap.prUrl || !snap.branch)
|
|
129
162
|
continue;
|
|
163
|
+
// A still-mounted or unsettled prior worktree can contain bytes not
|
|
164
|
+
// represented by delivery_sha. Never let the next agent iteration absorb
|
|
165
|
+
// them merely because HEAD/ref still happen to match the remote PR.
|
|
166
|
+
if (hasRetainedOrUnsettledWorktree(db, snap.worktreeIds))
|
|
167
|
+
continue;
|
|
130
168
|
for (const ticketId of snap.ticketIds) {
|
|
131
169
|
if (!wanted.has(ticketId) || out.has(ticketId))
|
|
132
170
|
continue;
|
|
133
171
|
out.set(ticketId, {
|
|
134
172
|
ticketId,
|
|
173
|
+
deliveryId: row.id,
|
|
135
174
|
branch: snap.branch,
|
|
136
175
|
baseBranch: snap.baseBranch,
|
|
137
176
|
prUrl: snap.prUrl,
|
|
138
177
|
prNumber: snap.prNumber,
|
|
139
178
|
isDraft: snap.decision === 'pr_draft',
|
|
179
|
+
deliverySha: snap.deliverySha,
|
|
140
180
|
source: 'rail-pr-delivery',
|
|
141
181
|
});
|
|
142
182
|
}
|
|
143
183
|
}
|
|
144
184
|
return out;
|
|
145
185
|
}
|
|
186
|
+
function ticketTargetKey(ticketIds) {
|
|
187
|
+
if (ticketIds.length === 0)
|
|
188
|
+
return null;
|
|
189
|
+
const seen = new Set();
|
|
190
|
+
for (const value of ticketIds) {
|
|
191
|
+
if (typeof value === 'number' && Number.isSafeInteger(value) && value > 0)
|
|
192
|
+
seen.add(value);
|
|
193
|
+
}
|
|
194
|
+
return seen.size > 0 ? [...seen].sort((a, b) => a - b).join(',') : null;
|
|
195
|
+
}
|
|
196
|
+
function exactTicketTargetKey(ticketIds) {
|
|
197
|
+
const key = ticketTargetKey(ticketIds);
|
|
198
|
+
if (!key || key.split(',').length !== ticketIds.length)
|
|
199
|
+
return null;
|
|
200
|
+
return key;
|
|
201
|
+
}
|
|
202
|
+
/** Recover only the newest terminal generation for the exact launch target.
|
|
203
|
+
* A newer fresh/other generation intentionally prevents an older continuation
|
|
204
|
+
* from lending its PR. Of terminal continuations, only an explicitly discarded
|
|
205
|
+
* one can be resumed: merged/completed/superseded history remains history. */
|
|
206
|
+
function latestHistoricalContinuation(db, ticketIds) {
|
|
207
|
+
const targetKey = exactTicketTargetKey(ticketIds);
|
|
208
|
+
if (!targetKey)
|
|
209
|
+
return { ownsTarget: false, candidate: null };
|
|
210
|
+
const latest = (0, rail_pr_store_1.getLatestTerminalPrDeliveryTouchingTicketSet)(db, ticketIds);
|
|
211
|
+
if (!latest)
|
|
212
|
+
return { ownsTarget: false, candidate: null };
|
|
213
|
+
// The newest exact-target generation is authoritative even when it is a
|
|
214
|
+
// fresh lineage. It must shadow every older continuation and also prevent a
|
|
215
|
+
// fuzzy GitHub/Jira fallback from rediscovering that stale PR.
|
|
216
|
+
if (latest.is_continuation !== 1)
|
|
217
|
+
return { ownsTarget: true, candidate: null };
|
|
218
|
+
if (latest.decision !== 'discarded')
|
|
219
|
+
return { ownsTarget: true, candidate: null };
|
|
220
|
+
const snap = (0, rail_pr_store_1.toPrDeliverySnapshot)(latest);
|
|
221
|
+
if (exactTicketTargetKey(snap.ticketIds) !== targetKey || latest.operation_token !== null) {
|
|
222
|
+
return { ownsTarget: true, candidate: null };
|
|
223
|
+
}
|
|
224
|
+
if (hasRetainedOrUnsettledWorktree(db, snap.worktreeIds)) {
|
|
225
|
+
return { ownsTarget: true, candidate: null };
|
|
226
|
+
}
|
|
227
|
+
const branch = snap.branch;
|
|
228
|
+
const baseBranch = snap.baseBranch;
|
|
229
|
+
const prUrl = snap.prUrl;
|
|
230
|
+
const deliverySha = snap.deliverySha?.toLowerCase() ?? null;
|
|
231
|
+
if (!branch || branch.trim() !== branch || !(0, integration_branch_1.isValidBranchName)(branch) ||
|
|
232
|
+
!baseBranch || baseBranch.trim() !== baseBranch || !(0, integration_branch_1.isValidBranchName)(baseBranch) ||
|
|
233
|
+
branch === baseBranch ||
|
|
234
|
+
!prUrl || prUrl.trim() !== prUrl ||
|
|
235
|
+
snap.prNumber === null || parsePrNumber(prUrl) !== snap.prNumber ||
|
|
236
|
+
!deliverySha || !COMMIT_SHA_RE.test(deliverySha))
|
|
237
|
+
return { ownsTarget: true, candidate: null };
|
|
238
|
+
return {
|
|
239
|
+
ownsTarget: true,
|
|
240
|
+
candidate: { deliveryId: latest.id, branch, baseBranch, prUrl, prNumber: snap.prNumber, deliverySha },
|
|
241
|
+
};
|
|
242
|
+
}
|
|
243
|
+
/** Historical recovery is stricter than ordinary active continuation
|
|
244
|
+
* materialization. Every available fetched/local ref must still name the exact
|
|
245
|
+
* immutable GitHub head; a stale, ahead, diverged, or unreadable ref fails
|
|
246
|
+
* closed rather than allowing worktree allocation to infer or rewrite it. */
|
|
247
|
+
async function materializeHistoricalContinuation(input, candidate, isDraft) {
|
|
248
|
+
const local = await observeRef(input.git, input.repoDir, `refs/heads/${candidate.branch}`);
|
|
249
|
+
if (local.state === 'invalid' || (local.state === 'exact' && local.sha !== candidate.deliverySha))
|
|
250
|
+
return null;
|
|
251
|
+
const remote = input.fetchOk
|
|
252
|
+
? await observeRef(input.git, input.repoDir, `refs/remotes/origin/${candidate.branch}`)
|
|
253
|
+
: { state: 'missing' };
|
|
254
|
+
if (remote.state === 'invalid' || (remote.state === 'exact' && remote.sha !== candidate.deliverySha))
|
|
255
|
+
return null;
|
|
256
|
+
if (local.state !== 'exact' && remote.state !== 'exact')
|
|
257
|
+
return null;
|
|
258
|
+
return new Map(input.ticketIds.map((ticketId) => [ticketId, {
|
|
259
|
+
ticketId,
|
|
260
|
+
deliveryId: candidate.deliveryId,
|
|
261
|
+
branch: candidate.branch,
|
|
262
|
+
baseBranch: candidate.baseBranch,
|
|
263
|
+
...(remote.state === 'exact' ? { baseRef: `origin/${candidate.branch}` } : {}),
|
|
264
|
+
prUrl: candidate.prUrl,
|
|
265
|
+
prNumber: candidate.prNumber,
|
|
266
|
+
isDraft,
|
|
267
|
+
deliverySha: candidate.deliverySha,
|
|
268
|
+
source: 'rail-pr-delivery',
|
|
269
|
+
}]));
|
|
270
|
+
}
|
|
146
271
|
const PR_JSON_FIELDS = 'number,title,body,headRefName,baseRefName,url,isDraft,state';
|
|
147
272
|
async function listOpenPrs(exec, repoDir) {
|
|
148
273
|
const r = await exec.run('gh', ['pr', 'list', '--state', 'open', '--limit', '200', '--json', PR_JSON_FIELDS], repoDir);
|
|
@@ -197,18 +322,77 @@ function mergeOpenPrs(prs) {
|
|
|
197
322
|
/**
|
|
198
323
|
* Detects tickets whose next implementation pass should continue an already
|
|
199
324
|
* open PR branch instead of creating fresh work from the integration branch.
|
|
200
|
-
*
|
|
201
|
-
*
|
|
325
|
+
* External discovery is fail-open when no durable Specrails lineage exists.
|
|
326
|
+
* Once an active or newest overlapping historical generation owns the target,
|
|
327
|
+
* however, missing/ambiguous GitHub or ref evidence is authoritative negative
|
|
328
|
+
* evidence and blocks fuzzy fallback to a different PR.
|
|
202
329
|
*/
|
|
203
330
|
async function resolveActivePrContinuationTargets(input) {
|
|
204
331
|
const out = new Map();
|
|
205
|
-
const
|
|
332
|
+
const activeRows = (0, rail_pr_store_1.listActivePrDeliveries)(input.db);
|
|
333
|
+
const internal = internalDeliveryTargets(input.db, activeRows, input.ticketIds);
|
|
334
|
+
const lifecycleByUrl = new Map();
|
|
206
335
|
for (const [ticketId, target] of internal) {
|
|
207
|
-
|
|
336
|
+
if (!target.prUrl)
|
|
337
|
+
continue;
|
|
338
|
+
let lifecycle = lifecycleByUrl.get(target.prUrl);
|
|
339
|
+
if (!lifecycle) {
|
|
340
|
+
lifecycle = (0, pr_lifecycle_1.observePrLifecycle)(input.exec, input.repoDir, target.prUrl, target.deliverySha);
|
|
341
|
+
lifecycleByUrl.set(target.prUrl, lifecycle);
|
|
342
|
+
}
|
|
343
|
+
const observed = await lifecycle;
|
|
344
|
+
// A ledger row is only a hint. GitHub remains lifecycle authority: a stale
|
|
345
|
+
// draft/ready row for a CLOSED/MERGED or different head/base PR must not be
|
|
346
|
+
// superseded and must not lend its branch to another implementation run.
|
|
347
|
+
if (!target.deliverySha || !observed.ok ||
|
|
348
|
+
!(0, pr_lifecycle_1.isExactOpenPr)(observed, target.branch, target.baseBranch) ||
|
|
349
|
+
observed.includesExpectedSha !== true ||
|
|
350
|
+
observed.headRefOid?.toLowerCase() !== target.deliverySha.toLowerCase())
|
|
351
|
+
continue;
|
|
352
|
+
const materialized = await materializeTarget(input.git, input.repoDir, input.fetchOk, ticketId, target.branch, target.baseBranch, target.prUrl, target.prNumber, observed.isDraft, target.deliverySha, target.deliveryId, 'rail-pr-delivery');
|
|
208
353
|
if (materialized)
|
|
209
354
|
out.set(ticketId, materialized);
|
|
210
355
|
}
|
|
211
|
-
|
|
356
|
+
// Dismiss/Discard closes the continuation generation but deliberately keeps
|
|
357
|
+
// its borrowed PR alive. Recover that exact target only when no active row
|
|
358
|
+
// owns any requested ticket and the latest terminal generation for the whole
|
|
359
|
+
// target is the discarded continuation. Failed historical verification is
|
|
360
|
+
// still authoritative negative evidence: do not fall through to fuzzy PR
|
|
361
|
+
// discovery and accidentally borrow a same-Jira foreign PR.
|
|
362
|
+
const wanted = new Set(input.ticketIds);
|
|
363
|
+
const activeTouchesTarget = activeRows.some((row) => ((0, rail_pr_store_1.toPrDeliverySnapshot)(row).ticketIds.some((ticketId) => wanted.has(ticketId))));
|
|
364
|
+
const historicalOwned = new Set();
|
|
365
|
+
const activeOwned = new Set();
|
|
366
|
+
if (activeTouchesTarget)
|
|
367
|
+
input.ticketIds.forEach((ticketId) => activeOwned.add(ticketId));
|
|
368
|
+
if (!activeTouchesTarget && out.size === 0) {
|
|
369
|
+
const historical = latestHistoricalContinuation(input.db, input.ticketIds);
|
|
370
|
+
if (historical.ownsTarget)
|
|
371
|
+
input.ticketIds.forEach((ticketId) => historicalOwned.add(ticketId));
|
|
372
|
+
if (historical.candidate) {
|
|
373
|
+
const candidate = historical.candidate;
|
|
374
|
+
let lifecycle = lifecycleByUrl.get(candidate.prUrl);
|
|
375
|
+
if (!lifecycle) {
|
|
376
|
+
lifecycle = (0, pr_lifecycle_1.observePrLifecycle)(input.exec, input.repoDir, candidate.prUrl, candidate.deliverySha);
|
|
377
|
+
lifecycleByUrl.set(candidate.prUrl, lifecycle);
|
|
378
|
+
}
|
|
379
|
+
const observed = await lifecycle;
|
|
380
|
+
if (observed.ok &&
|
|
381
|
+
(0, pr_lifecycle_1.isExactOpenPr)(observed, candidate.branch, candidate.baseBranch) &&
|
|
382
|
+
observed.headRefOid?.toLowerCase() === candidate.deliverySha &&
|
|
383
|
+
observed.includesExpectedSha === true) {
|
|
384
|
+
const materialized = await materializeHistoricalContinuation(input, candidate, observed.isDraft);
|
|
385
|
+
if (materialized) {
|
|
386
|
+
for (const [ticketId, target] of materialized)
|
|
387
|
+
out.set(ticketId, target);
|
|
388
|
+
}
|
|
389
|
+
}
|
|
390
|
+
}
|
|
391
|
+
}
|
|
392
|
+
// A durable Specrails delivery that fails exact verification must never be
|
|
393
|
+
// downgraded into an inferred "external" match for the same ticket/PR. The
|
|
394
|
+
// visible delivery card owns reconciliation of that stale immutable SHA.
|
|
395
|
+
const remaining = input.ticketIds.filter((id) => (!out.has(id) && !internal.has(id) && !historicalOwned.has(id) && !activeOwned.has(id)));
|
|
212
396
|
const candidateIds = remaining.filter((id) => canProbeGithubForContinuation(input.db, id, input.getTicketSpec(id)));
|
|
213
397
|
if (candidateIds.length === 0)
|
|
214
398
|
return out;
|
|
@@ -225,7 +409,7 @@ async function resolveActivePrContinuationTargets(input) {
|
|
|
225
409
|
const spec = input.getTicketSpec(ticketId);
|
|
226
410
|
const matches = openPrs.flatMap((pr) => {
|
|
227
411
|
const kind = prMatchKind(input.db, ticketId, spec, pr);
|
|
228
|
-
return kind
|
|
412
|
+
return kind ? [{ pr, kind }] : [];
|
|
229
413
|
});
|
|
230
414
|
if (matches.length === 0)
|
|
231
415
|
continue;
|
|
@@ -234,7 +418,23 @@ async function resolveActivePrContinuationTargets(input) {
|
|
|
234
418
|
if (best.length !== 1)
|
|
235
419
|
continue;
|
|
236
420
|
const pr = best[0].pr;
|
|
237
|
-
const
|
|
421
|
+
const prUrl = pr.url?.trim();
|
|
422
|
+
const branch = pr.headRefName?.trim();
|
|
423
|
+
const baseBranch = pr.baseRefName?.trim() || input.integrationBranch;
|
|
424
|
+
if (!prUrl || !branch || !baseBranch)
|
|
425
|
+
continue;
|
|
426
|
+
let lifecycle = lifecycleByUrl.get(prUrl);
|
|
427
|
+
if (!lifecycle) {
|
|
428
|
+
lifecycle = (0, pr_lifecycle_1.observePrLifecycle)(input.exec, input.repoDir, prUrl);
|
|
429
|
+
lifecycleByUrl.set(prUrl, lifecycle);
|
|
430
|
+
}
|
|
431
|
+
const observed = await lifecycle;
|
|
432
|
+
// `gh pr list` is discovery evidence only. Freeze the exact live remote
|
|
433
|
+
// head through an authoritative view before borrowing any local branch;
|
|
434
|
+
// otherwise an unrelated local-ahead commit could be carried into the PR.
|
|
435
|
+
if (!observed.ok || !observed.headRefOid || !(0, pr_lifecycle_1.isExactOpenPr)(observed, branch, baseBranch))
|
|
436
|
+
continue;
|
|
437
|
+
const materialized = await materializeTarget(input.git, input.repoDir, input.fetchOk, ticketId, branch, baseBranch, prUrl, typeof pr.number === 'number' ? pr.number : parsePrNumber(prUrl), observed.isDraft, observed.headRefOid, null, 'github-open-pr');
|
|
238
438
|
if (materialized)
|
|
239
439
|
out.set(ticketId, materialized);
|
|
240
440
|
}
|