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
|
@@ -342,6 +342,25 @@ function applyJobOutcomeToTickets(store, ticketIds, outcome, now, opts) {
|
|
|
342
342
|
const ticket = store.tickets[String(tid)];
|
|
343
343
|
if (!ticket)
|
|
344
344
|
continue;
|
|
345
|
+
let effectState = ticket.metadata.specrails_outcome;
|
|
346
|
+
if (opts?.effectId) {
|
|
347
|
+
if (!effectState) {
|
|
348
|
+
effectState = {};
|
|
349
|
+
ticket.metadata.specrails_outcome = effectState;
|
|
350
|
+
}
|
|
351
|
+
// An exact replay is a no-op even if the user changed status afterwards.
|
|
352
|
+
if (effectState.applied_effect_id === opts.effectId)
|
|
353
|
+
continue;
|
|
354
|
+
// A newer launch owns the ticket. Never mutate that run's status. Keeping
|
|
355
|
+
// owner_id permanently (until the next launch replaces it) is O(1) and
|
|
356
|
+
// remains safe after arbitrarily many intervening executions.
|
|
357
|
+
if (!opts.causalOwnerConfirmed && effectState.owner_id && effectState.owner_id !== opts.effectId) {
|
|
358
|
+
continue;
|
|
359
|
+
}
|
|
360
|
+
// Legacy tickets have no owner; the first durable effect adopts them.
|
|
361
|
+
effectState.owner_id = opts.effectId;
|
|
362
|
+
effectState.applied_effect_id = opts.effectId;
|
|
363
|
+
}
|
|
345
364
|
if (outcome === 'completed') {
|
|
346
365
|
const promotable = ticket.status === 'todo' || ticket.status === 'in_progress';
|
|
347
366
|
const clearWarning = ticket.needs_review === true;
|
|
@@ -400,7 +419,10 @@ function extractTicketIdsFromCommand(command) {
|
|
|
400
419
|
const seen = new Set();
|
|
401
420
|
for (const match of command.matchAll(/#(\d+)/g)) {
|
|
402
421
|
const id = Number.parseInt(match[1], 10);
|
|
403
|
-
|
|
422
|
+
// Ticket ids are positive safe integers everywhere they cross the durable
|
|
423
|
+
// queue/recovery boundary. Reject 0 and overflow here so producers and
|
|
424
|
+
// replay validators can never disagree on the same command.
|
|
425
|
+
if (!Number.isSafeInteger(id) || id <= 0 || seen.has(id))
|
|
404
426
|
continue;
|
|
405
427
|
seen.add(id);
|
|
406
428
|
ids.push(id);
|
|
@@ -16,6 +16,7 @@ exports.killBackgroundProcessesForChat = killBackgroundProcessesForChat;
|
|
|
16
16
|
const tree_kill_1 = __importDefault(require("tree-kill"));
|
|
17
17
|
const child_process_1 = require("child_process");
|
|
18
18
|
const readline_1 = __importDefault(require("readline"));
|
|
19
|
+
const process_admission_1 = require("./process-admission");
|
|
19
20
|
/**
|
|
20
21
|
* Registry of fire-and-forget child processes that are NOT owned by a long-lived
|
|
21
22
|
* manager (QueueManager / ChatManager / SetupManager track their own). The Quick
|
|
@@ -58,6 +59,17 @@ function cloneLogLine(line) {
|
|
|
58
59
|
}
|
|
59
60
|
/** Track a child under a projectId; auto-removes itself on close. */
|
|
60
61
|
function trackTransientChild(projectId, child) {
|
|
62
|
+
try {
|
|
63
|
+
(0, process_admission_1.assertProcessAdmission)(projectId);
|
|
64
|
+
}
|
|
65
|
+
catch (err) {
|
|
66
|
+
// A continuation may have spawned immediately before observing the closed
|
|
67
|
+
// project epoch. Never leave that child unowned simply because registration
|
|
68
|
+
// lost the teardown race.
|
|
69
|
+
if (child.pid)
|
|
70
|
+
treeKillSafe(child.pid, 'SIGTERM');
|
|
71
|
+
throw err;
|
|
72
|
+
}
|
|
61
73
|
let set = byProject.get(projectId);
|
|
62
74
|
if (!set) {
|
|
63
75
|
set = new Set();
|
|
@@ -99,6 +111,7 @@ function killTransientChildren(projectId) {
|
|
|
99
111
|
}
|
|
100
112
|
}
|
|
101
113
|
function startBackgroundProcess(command, cwd, chatId, projectId, hooks) {
|
|
114
|
+
(0, process_admission_1.assertProcessAdmission)(projectId);
|
|
102
115
|
const child = (0, child_process_1.spawn)(command, {
|
|
103
116
|
cwd,
|
|
104
117
|
shell: true,
|
|
@@ -21,6 +21,7 @@
|
|
|
21
21
|
// `-p`/`--print` has no positional argument; codex `exec -` does the
|
|
22
22
|
// equivalent), and call spawnCli. POSIX is unchanged byte-for-byte.
|
|
23
23
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
24
|
+
exports.appendCodexHeadroomRelayOverride = appendCodexHeadroomRelayOverride;
|
|
24
25
|
exports.transformClaudeArgsForWindows = transformClaudeArgsForWindows;
|
|
25
26
|
exports.transformCodexArgsForWindows = transformCodexArgsForWindows;
|
|
26
27
|
exports.ensureStdinPipe = ensureStdinPipe;
|
|
@@ -30,6 +31,7 @@ exports.spawnGemini = spawnGemini;
|
|
|
30
31
|
exports.spawnAiCli = spawnAiCli;
|
|
31
32
|
const win_spawn_1 = require("./win-spawn");
|
|
32
33
|
const headroom_routing_1 = require("../headroom-routing");
|
|
34
|
+
const process_admission_1 = require("../process-admission");
|
|
33
35
|
// Per-call (not a frozen module const) so a test can flip the platform with a
|
|
34
36
|
// `process.platform` spy without re-importing this module — which removes a
|
|
35
37
|
// flaky vi.doMock + resetModules + dynamic-import dance in the spawn tests.
|
|
@@ -40,6 +42,17 @@ const CLAUDE_PROMPT_FLAGS = new Set([
|
|
|
40
42
|
'-p',
|
|
41
43
|
'--print',
|
|
42
44
|
]);
|
|
45
|
+
/**
|
|
46
|
+
* Codex's configured `model_provider` owns the request URL. Overriding only
|
|
47
|
+
* `openai_base_url` is therefore insufficient: a user-level custom provider can
|
|
48
|
+
* keep its own `model_providers.<name>.base_url` and bypass the trusted relay.
|
|
49
|
+
* Pin the built-in OpenAI provider AND its base URL as the final config values
|
|
50
|
+
* (later `-c` values win). Callers retain their original args.
|
|
51
|
+
*/
|
|
52
|
+
function appendCodexHeadroomRelayOverride(args, relayBaseUrl) {
|
|
53
|
+
const value = `openai_base_url=${JSON.stringify(`${relayBaseUrl}/v1`)}`;
|
|
54
|
+
return [...args, '-c', 'model_provider="openai"', '-c', value];
|
|
55
|
+
}
|
|
43
56
|
function transformClaudeArgsForWindows(args) {
|
|
44
57
|
const collected = [];
|
|
45
58
|
const out = [];
|
|
@@ -148,19 +161,27 @@ function ensureStdinPipe(stdio) {
|
|
|
148
161
|
* survive. POSIX call is identical to `spawnCli('claude', args, options)`.
|
|
149
162
|
*/
|
|
150
163
|
function spawnClaude(args, options = {}) {
|
|
164
|
+
(0, process_admission_1.assertProcessAdmission)();
|
|
151
165
|
options = (0, headroom_routing_1.withHeadroomSpawnEnv)('claude', options);
|
|
166
|
+
let child;
|
|
152
167
|
if (!isWin()) {
|
|
153
|
-
|
|
168
|
+
child = (0, win_spawn_1.spawnCli)('claude', args, options);
|
|
169
|
+
(0, headroom_routing_1.registerHeadroomRoutedChild)('claude', options.env, child);
|
|
170
|
+
return child;
|
|
154
171
|
}
|
|
155
172
|
/* c8 ignore start -- Windows-only branch; coverage runs on Linux/macOS */
|
|
156
173
|
const { args: winArgs, stdinPayload } = transformClaudeArgsForWindows(args);
|
|
157
174
|
if (stdinPayload === null) {
|
|
158
|
-
|
|
175
|
+
child = (0, win_spawn_1.spawnCli)('claude', winArgs, options);
|
|
176
|
+
(0, headroom_routing_1.registerHeadroomRoutedChild)('claude', options.env, child);
|
|
177
|
+
return child;
|
|
159
178
|
}
|
|
160
|
-
const
|
|
179
|
+
const spawnOptions = {
|
|
161
180
|
...options,
|
|
162
181
|
stdio: ensureStdinPipe(options.stdio),
|
|
163
|
-
}
|
|
182
|
+
};
|
|
183
|
+
child = (0, win_spawn_1.spawnCli)('claude', winArgs, spawnOptions);
|
|
184
|
+
(0, headroom_routing_1.registerHeadroomRoutedChild)('claude', spawnOptions.env, child);
|
|
164
185
|
if (child.stdin)
|
|
165
186
|
child.stdin.end(stdinPayload);
|
|
166
187
|
return child;
|
|
@@ -171,19 +192,30 @@ function spawnClaude(args, options = {}) {
|
|
|
171
192
|
* survive. POSIX call is identical to `spawnCli('codex', args, options)`.
|
|
172
193
|
*/
|
|
173
194
|
function spawnCodex(args, options = {}) {
|
|
195
|
+
(0, process_admission_1.assertProcessAdmission)();
|
|
174
196
|
options = (0, headroom_routing_1.withHeadroomSpawnEnv)('codex', options);
|
|
197
|
+
const relayBaseUrl = (0, headroom_routing_1.headroomRelayBaseUrlForBinary)('codex', options.env);
|
|
198
|
+
if (relayBaseUrl)
|
|
199
|
+
args = appendCodexHeadroomRelayOverride(args, relayBaseUrl);
|
|
200
|
+
let child;
|
|
175
201
|
if (!isWin()) {
|
|
176
|
-
|
|
202
|
+
child = (0, win_spawn_1.spawnCli)('codex', args, options);
|
|
203
|
+
(0, headroom_routing_1.registerHeadroomRoutedChild)('codex', options.env, child);
|
|
204
|
+
return child;
|
|
177
205
|
}
|
|
178
206
|
/* c8 ignore start -- Windows-only branch; coverage runs on Linux/macOS */
|
|
179
207
|
const { args: winArgs, stdinPayload } = transformCodexArgsForWindows(args);
|
|
180
208
|
if (stdinPayload === null) {
|
|
181
|
-
|
|
209
|
+
child = (0, win_spawn_1.spawnCli)('codex', winArgs, options);
|
|
210
|
+
(0, headroom_routing_1.registerHeadroomRoutedChild)('codex', options.env, child);
|
|
211
|
+
return child;
|
|
182
212
|
}
|
|
183
|
-
const
|
|
213
|
+
const spawnOptions = {
|
|
184
214
|
...options,
|
|
185
215
|
stdio: ensureStdinPipe(options.stdio),
|
|
186
|
-
}
|
|
216
|
+
};
|
|
217
|
+
child = (0, win_spawn_1.spawnCli)('codex', winArgs, spawnOptions);
|
|
218
|
+
(0, headroom_routing_1.registerHeadroomRoutedChild)('codex', spawnOptions.env, child);
|
|
187
219
|
if (child.stdin)
|
|
188
220
|
child.stdin.end(stdinPayload);
|
|
189
221
|
return child;
|
|
@@ -212,6 +244,7 @@ const GEMINI_AUTH_ENV_VARS = [
|
|
|
212
244
|
'GOOGLE_APPLICATION_CREDENTIALS',
|
|
213
245
|
];
|
|
214
246
|
function spawnGemini(args, options = {}) {
|
|
247
|
+
(0, process_admission_1.assertProcessAdmission)();
|
|
215
248
|
const env = { ...(options.env ?? process.env), GEMINI_CLI_TRUST_WORKSPACE: 'true' };
|
|
216
249
|
for (const key of GEMINI_AUTH_ENV_VARS) {
|
|
217
250
|
if (process.env[key] && env[key] === undefined)
|
|
@@ -225,6 +258,7 @@ function spawnGemini(args, options = {}) {
|
|
|
225
258
|
* the underlying spawnCli unchanged.
|
|
226
259
|
*/
|
|
227
260
|
function spawnAiCli(binary, args, options = {}) {
|
|
261
|
+
(0, process_admission_1.assertProcessAdmission)();
|
|
228
262
|
if (binary === 'claude')
|
|
229
263
|
return spawnClaude(args, options);
|
|
230
264
|
if (binary === 'codex')
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.readPrivateTextFile = readPrivateTextFile;
|
|
7
|
+
exports.writePrivateTextFile = writePrivateTextFile;
|
|
8
|
+
const fs_1 = __importDefault(require("fs"));
|
|
9
|
+
const path_1 = __importDefault(require("path"));
|
|
10
|
+
const crypto_1 = require("crypto");
|
|
11
|
+
function isPosix() {
|
|
12
|
+
return process.platform !== 'win32';
|
|
13
|
+
}
|
|
14
|
+
function assertOwnedRegularFile(stat, file) {
|
|
15
|
+
if (!stat.isFile())
|
|
16
|
+
throw new Error(`Refusing non-regular credential file: ${file}`);
|
|
17
|
+
if (isPosix() && typeof process.getuid === 'function' && stat.uid !== process.getuid()) {
|
|
18
|
+
throw new Error(`Refusing credential file owned by another user: ${file}`);
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Read a credential without following symlinks. Existing POSIX files are
|
|
23
|
+
* tightened to 0600 before their contents leave this boundary.
|
|
24
|
+
*/
|
|
25
|
+
function readPrivateTextFile(file) {
|
|
26
|
+
let fd = null;
|
|
27
|
+
try {
|
|
28
|
+
const noFollow = isPosix() ? (fs_1.default.constants.O_NOFOLLOW ?? 0) : 0;
|
|
29
|
+
fd = fs_1.default.openSync(file, fs_1.default.constants.O_RDONLY | noFollow);
|
|
30
|
+
const stat = fs_1.default.fstatSync(fd);
|
|
31
|
+
assertOwnedRegularFile(stat, file);
|
|
32
|
+
if (isPosix())
|
|
33
|
+
fs_1.default.fchmodSync(fd, 0o600);
|
|
34
|
+
return fs_1.default.readFileSync(fd, 'utf8');
|
|
35
|
+
}
|
|
36
|
+
catch (err) {
|
|
37
|
+
if (err.code === 'ENOENT')
|
|
38
|
+
return null;
|
|
39
|
+
throw err;
|
|
40
|
+
}
|
|
41
|
+
finally {
|
|
42
|
+
if (fd !== null) {
|
|
43
|
+
try {
|
|
44
|
+
fs_1.default.closeSync(fd);
|
|
45
|
+
}
|
|
46
|
+
catch { /* best effort */ }
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* Atomically replace a credential with a same-directory, exclusively-created
|
|
52
|
+
* 0600 file. rename replaces a hostile symlink instead of writing through it.
|
|
53
|
+
*/
|
|
54
|
+
function writePrivateTextFile(file, value) {
|
|
55
|
+
const dir = path_1.default.dirname(file);
|
|
56
|
+
fs_1.default.mkdirSync(dir, { recursive: true, mode: 0o700 });
|
|
57
|
+
if (isPosix())
|
|
58
|
+
fs_1.default.chmodSync(dir, 0o700);
|
|
59
|
+
const tmp = path_1.default.join(dir, `.${path_1.default.basename(file)}.${process.pid}.${(0, crypto_1.randomUUID)()}.tmp`);
|
|
60
|
+
let fd = null;
|
|
61
|
+
try {
|
|
62
|
+
fd = fs_1.default.openSync(tmp, fs_1.default.constants.O_WRONLY | fs_1.default.constants.O_CREAT | fs_1.default.constants.O_EXCL, 0o600);
|
|
63
|
+
fs_1.default.writeFileSync(fd, value, { encoding: 'utf8' });
|
|
64
|
+
fs_1.default.fsyncSync(fd);
|
|
65
|
+
fs_1.default.closeSync(fd);
|
|
66
|
+
fd = null;
|
|
67
|
+
fs_1.default.renameSync(tmp, file);
|
|
68
|
+
if (isPosix())
|
|
69
|
+
fs_1.default.chmodSync(file, 0o600);
|
|
70
|
+
}
|
|
71
|
+
catch (err) {
|
|
72
|
+
if (fd !== null) {
|
|
73
|
+
try {
|
|
74
|
+
fs_1.default.closeSync(fd);
|
|
75
|
+
}
|
|
76
|
+
catch { /* best effort */ }
|
|
77
|
+
}
|
|
78
|
+
try {
|
|
79
|
+
fs_1.default.unlinkSync(tmp);
|
|
80
|
+
}
|
|
81
|
+
catch { /* best effort */ }
|
|
82
|
+
throw err;
|
|
83
|
+
}
|
|
84
|
+
}
|
|
@@ -63,13 +63,21 @@ const child_process_1 = require("child_process");
|
|
|
63
63
|
const fs = __importStar(require("fs"));
|
|
64
64
|
const path = __importStar(require("path"));
|
|
65
65
|
const win_spawn_1 = require("./util/win-spawn");
|
|
66
|
+
const GIT_RUNNER_TIMEOUT_MS = 120_000;
|
|
66
67
|
exports.defaultGitRunner = {
|
|
67
68
|
run(args, cwd) {
|
|
68
69
|
return new Promise((resolve) => {
|
|
69
70
|
// SystemRoot/ComSpec backfill so worktree + PR-decision git ops don't fail
|
|
70
71
|
// to start under a pkg-stripped Windows sidecar env. No-op on POSIX.
|
|
71
72
|
const env = (0, win_spawn_1.windowsSpawnEnv)();
|
|
72
|
-
(0, child_process_1.execFile)('git', args, {
|
|
73
|
+
(0, child_process_1.execFile)('git', args, {
|
|
74
|
+
cwd,
|
|
75
|
+
env,
|
|
76
|
+
timeout: GIT_RUNNER_TIMEOUT_MS,
|
|
77
|
+
killSignal: 'SIGTERM',
|
|
78
|
+
maxBuffer: 16 * 1024 * 1024,
|
|
79
|
+
windowsHide: true,
|
|
80
|
+
}, (err, stdout, stderr) => {
|
|
73
81
|
const code = err && typeof err.code === 'number' ? err.code : err ? 1 : 0;
|
|
74
82
|
resolve({ code, stdout: stdout?.toString() ?? '', stderr: stderr?.toString() ?? '' });
|
|
75
83
|
});
|
|
@@ -167,9 +175,10 @@ async function fastForwardExistingBranch(git, repoDir, branch, baseRef, mountedW
|
|
|
167
175
|
await git.run(['update-ref', localRef, baseRef], repoDir).catch(() => { });
|
|
168
176
|
}
|
|
169
177
|
/**
|
|
170
|
-
* Create a fresh worktree+branch for a ticket. Idempotent-ish:
|
|
171
|
-
*
|
|
172
|
-
*
|
|
178
|
+
* Create a fresh worktree+branch for a ticket. Idempotent-ish: an existing
|
|
179
|
+
* branch or mount is resumed without rewriting it. Throws on git failure; only
|
|
180
|
+
* callers creating fresh work may choose shared cwd. PR continuations must fail
|
|
181
|
+
* closed because shared cwd cannot guarantee branch identity.
|
|
173
182
|
*/
|
|
174
183
|
async function createWorktree(git, input) {
|
|
175
184
|
const branch = input.branch ?? worktreeBranch(input.slug, input.ticketId);
|
|
@@ -197,7 +206,7 @@ async function createWorktree(git, input) {
|
|
|
197
206
|
await fastForwardExistingBranch(git, input.repoDir, branch, input.baseRef, wt);
|
|
198
207
|
}
|
|
199
208
|
await ensurePrNeverStageExcludes(git, wt);
|
|
200
|
-
return { branch: actualBranch, worktreePath: wt };
|
|
209
|
+
return { branch: actualBranch, worktreePath: wt, worktreeCreated: false, branchCreated: false };
|
|
201
210
|
}
|
|
202
211
|
const hasBranch = (await git.run(['rev-parse', '--verify', '--quiet', `refs/heads/${branch}`], input.repoDir)).code === 0;
|
|
203
212
|
if (hasBranch && input.refreshFromBaseRef) {
|
|
@@ -211,7 +220,7 @@ async function createWorktree(git, input) {
|
|
|
211
220
|
throw new Error(`git worktree add failed for ${branch}: ${res.stderr.trim() || res.stdout.trim() || `exit ${res.code}`}`);
|
|
212
221
|
}
|
|
213
222
|
await ensurePrNeverStageExcludes(git, wt);
|
|
214
|
-
return { branch, worktreePath: wt };
|
|
223
|
+
return { branch, worktreePath: wt, worktreeCreated: true, branchCreated: !hasBranch };
|
|
215
224
|
}
|
|
216
225
|
function gitFailure(result, fallback) {
|
|
217
226
|
return result.stderr.trim() || result.stdout.trim() || fallback;
|
|
@@ -232,8 +241,63 @@ async function gitRun(git, args, cwd) {
|
|
|
232
241
|
}
|
|
233
242
|
}
|
|
234
243
|
function commitPathspecs(excludePaths) {
|
|
235
|
-
|
|
236
|
-
|
|
244
|
+
return [
|
|
245
|
+
'--', '.',
|
|
246
|
+
...exports.PR_NEVER_STAGE_PATHS.map((p) => `:(exclude)${p}`),
|
|
247
|
+
// Overlay names originate in the workspace filesystem. Treat them as
|
|
248
|
+
// literal top-level paths so glob/pathspec metacharacters cannot broaden
|
|
249
|
+
// the never-commit surface.
|
|
250
|
+
...excludePaths.map((p) => `:(top,exclude,literal)${p}`),
|
|
251
|
+
];
|
|
252
|
+
}
|
|
253
|
+
const INDEX_AUDIT_ARGS = [
|
|
254
|
+
'diff', '--cached', '--name-only', '--no-renames', '-z',
|
|
255
|
+
'--diff-filter=ACDMRTUXB', '--',
|
|
256
|
+
];
|
|
257
|
+
const PR_NEVER_STAGE_ROOTS = [...new Set(exports.PR_NEVER_STAGE_PATHS.map((entry) => entry.endsWith('/**') ? entry.slice(0, -3) : entry))];
|
|
258
|
+
function normalizedGitPath(value) {
|
|
259
|
+
return path.sep === '\\' ? value.replaceAll('\\', '/') : value;
|
|
260
|
+
}
|
|
261
|
+
function isPathAtOrBelow(candidate, root) {
|
|
262
|
+
return candidate === root || candidate.startsWith(`${root}/`);
|
|
263
|
+
}
|
|
264
|
+
function forbiddenStagedPaths(staged, excludePaths) {
|
|
265
|
+
const overlayRoots = excludePaths.map(normalizedGitPath).filter(Boolean);
|
|
266
|
+
return staged.filter((candidate) => (PR_NEVER_STAGE_ROOTS.some((root) => isPathAtOrBelow(candidate, root))
|
|
267
|
+
|| overlayRoots.some((root) => isPathAtOrBelow(candidate, root))));
|
|
268
|
+
}
|
|
269
|
+
function parseNulTerminatedPaths(result, phase) {
|
|
270
|
+
if (result.code !== 0) {
|
|
271
|
+
return { paths: [], error: `${phase}: ${gitFailure(result, `git diff failed with exit ${result.code}`)}` };
|
|
272
|
+
}
|
|
273
|
+
if (result.stdout === '')
|
|
274
|
+
return { paths: [] };
|
|
275
|
+
if (!result.stdout.endsWith('\0')) {
|
|
276
|
+
return { paths: [], error: `${phase}: git returned a malformed non-NUL-terminated path list` };
|
|
277
|
+
}
|
|
278
|
+
const paths = result.stdout.slice(0, -1).split('\0');
|
|
279
|
+
if (paths.some((entry) => entry.length === 0)) {
|
|
280
|
+
return { paths: [], error: `${phase}: git returned a malformed path list containing an empty entry` };
|
|
281
|
+
}
|
|
282
|
+
return { paths };
|
|
283
|
+
}
|
|
284
|
+
async function auditStagedPaths(git, worktreePath, excludePaths, phase) {
|
|
285
|
+
const result = await gitRun(git, [...INDEX_AUDIT_ARGS], worktreePath);
|
|
286
|
+
const parsed = parseNulTerminatedPaths(result, phase);
|
|
287
|
+
if (parsed.error)
|
|
288
|
+
return { forbidden: [], error: parsed.error };
|
|
289
|
+
return { forbidden: forbiddenStagedPaths(parsed.paths, excludePaths) };
|
|
290
|
+
}
|
|
291
|
+
function forbiddenResetPathspecs(excludePaths) {
|
|
292
|
+
return [
|
|
293
|
+
'--',
|
|
294
|
+
...PR_NEVER_STAGE_ROOTS.map((entry) => `:(top,literal)${entry}`),
|
|
295
|
+
...excludePaths.map(normalizedGitPath).filter(Boolean).map((entry) => `:(top,literal)${entry}`),
|
|
296
|
+
];
|
|
297
|
+
}
|
|
298
|
+
function describeForbiddenPaths(paths) {
|
|
299
|
+
const shown = paths.slice(0, 5).map((entry) => JSON.stringify(entry)).join(', ');
|
|
300
|
+
return paths.length > 5 ? `${shown}, and ${paths.length - 5} more` : shown;
|
|
237
301
|
}
|
|
238
302
|
/**
|
|
239
303
|
* Commit the worktree's current deliverable changes to its branch and verify
|
|
@@ -244,24 +308,64 @@ function commitPathspecs(excludePaths) {
|
|
|
244
308
|
async function commitWorktreeAndVerify(git, worktreePath, message, excludePaths = []) {
|
|
245
309
|
const pathspecs = commitPathspecs(excludePaths);
|
|
246
310
|
const add = await gitRun(git, ['add', '-A', ...pathspecs], worktreePath);
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
311
|
+
let indexSafe = false;
|
|
312
|
+
let indexError;
|
|
313
|
+
if (add.code === 0) {
|
|
314
|
+
const initialAudit = await auditStagedPaths(git, worktreePath, excludePaths, 'git index audit failed before commit');
|
|
315
|
+
if (initialAudit.error) {
|
|
316
|
+
indexError = initialAudit.error;
|
|
317
|
+
}
|
|
318
|
+
else if (initialAudit.forbidden.length === 0) {
|
|
319
|
+
indexSafe = true;
|
|
320
|
+
}
|
|
321
|
+
else {
|
|
322
|
+
// Exclude pathspecs prevent newly-staged private/overlay files, but an
|
|
323
|
+
// earlier process may already have put them in the index. Reset only the
|
|
324
|
+
// prohibited roots back to HEAD: working files remain intact for recovery.
|
|
325
|
+
const reset = await gitRun(git, ['reset', '--quiet', ...forbiddenResetPathspecs(excludePaths)], worktreePath);
|
|
326
|
+
if (reset.code !== 0) {
|
|
327
|
+
indexError = `git could not safely unstage forbidden paths: ${gitFailure(reset, `git reset failed with exit ${reset.code}`)}`;
|
|
328
|
+
}
|
|
329
|
+
else {
|
|
330
|
+
const finalAudit = await auditStagedPaths(git, worktreePath, excludePaths, 'git index re-audit failed after unstaging forbidden paths');
|
|
331
|
+
if (finalAudit.error) {
|
|
332
|
+
indexError = finalAudit.error;
|
|
333
|
+
}
|
|
334
|
+
else if (finalAudit.forbidden.length > 0) {
|
|
335
|
+
indexError = `forbidden paths remain staged after safe unstage: ${describeForbiddenPaths(finalAudit.forbidden)}`;
|
|
336
|
+
}
|
|
337
|
+
else {
|
|
338
|
+
indexSafe = true;
|
|
339
|
+
}
|
|
340
|
+
}
|
|
341
|
+
}
|
|
342
|
+
}
|
|
343
|
+
// `--only` makes the allow/exclude pathspecs authoritative at commit time,
|
|
344
|
+
// not merely at the earlier `git add`/audit. This closes the remaining race
|
|
345
|
+
// where another process could stage a private path between audit and commit.
|
|
346
|
+
// Automated delivery also bypasses repository hooks: a pre-commit hook runs
|
|
347
|
+
// after our final audit and could otherwise stage an excluded secret into the
|
|
348
|
+
// commit. User working files and the ordinary index remain preserved.
|
|
349
|
+
const commit = add.code === 0 && indexSafe
|
|
350
|
+
? await gitRun(git, ['commit', '--no-verify', '--only', '-m', message, ...pathspecs], worktreePath)
|
|
351
|
+
: { code: 1, stdout: '', stderr: 'skipped commit because the index was not proven safe' };
|
|
250
352
|
const status = await gitRun(git, ['status', '--porcelain', '--untracked-files=all', ...pathspecs], worktreePath);
|
|
251
353
|
const dirty = status.code === 0
|
|
252
354
|
? status.stdout.split('\n').map((line) => line.trimEnd()).filter(Boolean)
|
|
253
355
|
: [];
|
|
254
356
|
const error = add.code !== 0
|
|
255
357
|
? gitFailure(add, `git add failed with exit ${add.code}`)
|
|
256
|
-
:
|
|
257
|
-
?
|
|
258
|
-
:
|
|
259
|
-
? gitFailure(
|
|
260
|
-
:
|
|
358
|
+
: indexError
|
|
359
|
+
? indexError
|
|
360
|
+
: status.code !== 0
|
|
361
|
+
? gitFailure(status, `git status failed with exit ${status.code}`)
|
|
362
|
+
: commit.code !== 0 && dirty.length > 0
|
|
363
|
+
? gitFailure(commit, `git commit failed with exit ${commit.code}`)
|
|
364
|
+
: undefined;
|
|
261
365
|
return {
|
|
262
366
|
staged: add.code === 0,
|
|
263
367
|
committed: commit.code === 0,
|
|
264
|
-
clean: status.code === 0 && dirty.length === 0,
|
|
368
|
+
clean: indexSafe && status.code === 0 && dirty.length === 0,
|
|
265
369
|
dirty,
|
|
266
370
|
...(error ? { error } : {}),
|
|
267
371
|
};
|
|
@@ -275,11 +379,12 @@ async function commitWorktreeAndVerify(git, worktreePath, message, excludePaths
|
|
|
275
379
|
async function commitWorktree(git, worktreePath, message, excludePaths = []) {
|
|
276
380
|
await commitWorktreeAndVerify(git, worktreePath, message, excludePaths);
|
|
277
381
|
}
|
|
278
|
-
/** Remove a worktree
|
|
279
|
-
*
|
|
280
|
-
*
|
|
382
|
+
/** Remove a worktree and optionally delete its branch. Explicit cleanup keeps
|
|
383
|
+
* the historical force default; automatic cleanup opts out. Removal failures
|
|
384
|
+
* throw so callers do not mark the ledger released while it is still mounted.
|
|
385
|
+
* Branch deletion remains best-effort. */
|
|
281
386
|
async function removeWorktree(git, input) {
|
|
282
|
-
const removed = await git.run(['worktree', 'remove', '--force', input.worktreePath], input.repoDir);
|
|
387
|
+
const removed = await git.run(['worktree', 'remove', ...(input.force === false ? [] : ['--force']), input.worktreePath], input.repoDir);
|
|
283
388
|
if (removed.code !== 0) {
|
|
284
389
|
throw new Error(`git worktree remove failed for ${input.worktreePath}: ${gitFailure(removed, `exit ${removed.code}`)}`);
|
|
285
390
|
}
|