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
|
@@ -0,0 +1,169 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PR_LIFECYCLE_JSON_FIELDS = void 0;
|
|
4
|
+
exports.verifyPushRemoteForPr = verifyPushRemoteForPr;
|
|
5
|
+
exports.observePrLifecycle = observePrLifecycle;
|
|
6
|
+
exports.matchesRecordedPrIdentity = matchesRecordedPrIdentity;
|
|
7
|
+
exports.isExactOpenPr = isExactOpenPr;
|
|
8
|
+
const SHA_RE = /^[0-9a-f]{40,64}$/i;
|
|
9
|
+
exports.PR_LIFECYCLE_JSON_FIELDS = 'state,isDraft,headRefName,baseRefName,isCrossRepository,headRefOid,mergeCommit,commits';
|
|
10
|
+
function firstLine(result) {
|
|
11
|
+
return (result.stderr.trim() || result.stdout.trim()).split('\n')[0].trim().slice(0, 512);
|
|
12
|
+
}
|
|
13
|
+
function oid(value) {
|
|
14
|
+
return typeof value === 'string' && SHA_RE.test(value) ? value.toLowerCase() : null;
|
|
15
|
+
}
|
|
16
|
+
function githubRepositoryIdentity(rawUrl, kind) {
|
|
17
|
+
const raw = rawUrl.trim();
|
|
18
|
+
if (!raw || raw.includes('\n') || raw.includes('\r'))
|
|
19
|
+
return null;
|
|
20
|
+
let host = '';
|
|
21
|
+
let pathname = '';
|
|
22
|
+
try {
|
|
23
|
+
const parsed = new URL(raw);
|
|
24
|
+
if (!['http:', 'https:', 'ssh:', 'git:'].includes(parsed.protocol))
|
|
25
|
+
return null;
|
|
26
|
+
// The verified target is later passed as an argv element. Never carry
|
|
27
|
+
// embedded credentials or token-like URL suffixes into a child process or
|
|
28
|
+
// its timeout/error diagnostics; credential helpers remain the only
|
|
29
|
+
// supported authentication channel. SSH's conventional `git` username is
|
|
30
|
+
// identity, not a secret, and is safe to retain.
|
|
31
|
+
if (parsed.password || parsed.search || parsed.hash)
|
|
32
|
+
return null;
|
|
33
|
+
if (parsed.username && !(parsed.protocol === 'ssh:' && parsed.username === 'git'))
|
|
34
|
+
return null;
|
|
35
|
+
host = parsed.hostname.toLowerCase();
|
|
36
|
+
pathname = parsed.pathname;
|
|
37
|
+
}
|
|
38
|
+
catch {
|
|
39
|
+
// SCP-style Git URL: git@github.com:owner/repository.git
|
|
40
|
+
const scp = /^(?:git@)?([^@:/\s]+):(.+)$/.exec(raw);
|
|
41
|
+
if (!scp)
|
|
42
|
+
return null;
|
|
43
|
+
host = scp[1].toLowerCase();
|
|
44
|
+
pathname = scp[2];
|
|
45
|
+
if (pathname.includes('?') || pathname.includes('#'))
|
|
46
|
+
return null;
|
|
47
|
+
}
|
|
48
|
+
const segments = pathname.replace(/^\/+|\/+$/g, '').split('/').filter(Boolean);
|
|
49
|
+
if (kind === 'pr') {
|
|
50
|
+
if (segments.length !== 4 || segments[2] !== 'pull' || !/^\d+$/.test(segments[3]))
|
|
51
|
+
return null;
|
|
52
|
+
}
|
|
53
|
+
else if (segments.length !== 2) {
|
|
54
|
+
return null;
|
|
55
|
+
}
|
|
56
|
+
const owner = segments[0]?.toLowerCase();
|
|
57
|
+
const repository = segments[1]?.replace(/\.git$/i, '').toLowerCase();
|
|
58
|
+
return host && owner && repository ? `${host}/${owner}/${repository}` : null;
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
* Prove that the local push remote names the repository that owns a same-repo
|
|
62
|
+
* PR. Branch names alone are insufficient: another clone may call its fork
|
|
63
|
+
* `origin`, which would otherwise receive the exact recovery refspec.
|
|
64
|
+
*/
|
|
65
|
+
async function verifyPushRemoteForPr(exec, repoDir, prUrl, remote = 'origin') {
|
|
66
|
+
const expected = githubRepositoryIdentity(prUrl, 'pr');
|
|
67
|
+
if (!expected)
|
|
68
|
+
return { ok: false, detail: 'the recorded PR URL does not identify an exact GitHub repository' };
|
|
69
|
+
let result;
|
|
70
|
+
try {
|
|
71
|
+
result = await exec.run('git', ['remote', 'get-url', '--push', '--all', remote], repoDir);
|
|
72
|
+
}
|
|
73
|
+
catch (err) {
|
|
74
|
+
return { ok: false, detail: `the ${remote} push remote could not be inspected: ${err instanceof Error ? err.message : String(err)}` };
|
|
75
|
+
}
|
|
76
|
+
if (result.code !== 0) {
|
|
77
|
+
return { ok: false, detail: `the ${remote} push remote could not be inspected: ${firstLine(result) || `exit ${result.code}`}` };
|
|
78
|
+
}
|
|
79
|
+
const pushTargets = result.stdout.split(/\r?\n/).map((value) => value.trim()).filter(Boolean);
|
|
80
|
+
if (pushTargets.length !== 1) {
|
|
81
|
+
return {
|
|
82
|
+
ok: false,
|
|
83
|
+
detail: `the ${remote} push remote must resolve to exactly one URL; found ${pushTargets.length}`,
|
|
84
|
+
};
|
|
85
|
+
}
|
|
86
|
+
const pushTarget = pushTargets[0];
|
|
87
|
+
const actual = githubRepositoryIdentity(pushTarget, 'remote');
|
|
88
|
+
if (!actual)
|
|
89
|
+
return { ok: false, detail: `the ${remote} push remote is not an unambiguous GitHub repository URL` };
|
|
90
|
+
if (actual !== expected) {
|
|
91
|
+
return { ok: false, detail: `the ${remote} push remote does not own the recorded PR repository` };
|
|
92
|
+
}
|
|
93
|
+
return { ok: true, identity: actual, pushTarget };
|
|
94
|
+
}
|
|
95
|
+
/**
|
|
96
|
+
* Observe one exact PR and, when requested, whether its immutable commit/merge
|
|
97
|
+
* evidence contains a delivery SHA. The helper never guesses from a ledger row:
|
|
98
|
+
* command failure, malformed JSON, and missing commit evidence remain explicit.
|
|
99
|
+
*/
|
|
100
|
+
async function observePrLifecycle(exec, repoDir, prUrl, expectedSha) {
|
|
101
|
+
let result;
|
|
102
|
+
try {
|
|
103
|
+
result = await exec.run('gh', ['pr', 'view', prUrl, '--json', exports.PR_LIFECYCLE_JSON_FIELDS], repoDir);
|
|
104
|
+
}
|
|
105
|
+
catch (err) {
|
|
106
|
+
return { ok: false, detail: (err instanceof Error ? err.message : String(err)).slice(0, 512) };
|
|
107
|
+
}
|
|
108
|
+
if (result.code !== 0)
|
|
109
|
+
return { ok: false, detail: firstLine(result) || `exit ${result.code}` };
|
|
110
|
+
try {
|
|
111
|
+
const parsed = JSON.parse(result.stdout);
|
|
112
|
+
const normalizedState = typeof parsed.state === 'string' ? parsed.state.toUpperCase() : '';
|
|
113
|
+
if (normalizedState !== 'OPEN' && normalizedState !== 'CLOSED' && normalizedState !== 'MERGED') {
|
|
114
|
+
return { ok: false, detail: `unrecognized PR state: ${normalizedState || 'missing'}` };
|
|
115
|
+
}
|
|
116
|
+
const headRefOid = oid(parsed.headRefOid);
|
|
117
|
+
const mergeCommitOid = oid(parsed.mergeCommit?.oid);
|
|
118
|
+
const commitsReturned = Array.isArray(parsed.commits);
|
|
119
|
+
const commitOids = commitsReturned
|
|
120
|
+
? [...new Set(parsed.commits.map((commit) => oid(commit?.oid)).filter((value) => value !== null))]
|
|
121
|
+
: [];
|
|
122
|
+
const expected = expectedSha && SHA_RE.test(expectedSha) ? expectedSha.toLowerCase() : null;
|
|
123
|
+
// A merged PR's live head branch can advance after the merge. Its current
|
|
124
|
+
// headRefOid is therefore NOT proof that the merge included that object.
|
|
125
|
+
// Only the PR's commit snapshot / merge commit are valid MERGED evidence.
|
|
126
|
+
// While OPEN, delivery verification is intentionally stronger than mere
|
|
127
|
+
// ancestry: the remote PR head itself must still be the frozen delivery
|
|
128
|
+
// object. Otherwise a concurrent writer could advance/substitute the head
|
|
129
|
+
// and a stale card would incorrectly report our exact push as verified.
|
|
130
|
+
// CLOSED/MERGED no longer have a mutable review head, so their immutable PR
|
|
131
|
+
// commit snapshot (or merge object) is the relevant inclusion evidence.
|
|
132
|
+
const observedOids = new Set((normalizedState === 'OPEN'
|
|
133
|
+
? [headRefOid]
|
|
134
|
+
: [mergeCommitOid, ...commitOids]).filter((value) => value !== null));
|
|
135
|
+
const includesExpectedSha = expected === null
|
|
136
|
+
? null
|
|
137
|
+
: observedOids.has(expected)
|
|
138
|
+
? true
|
|
139
|
+
: commitsReturned
|
|
140
|
+
? false
|
|
141
|
+
: null;
|
|
142
|
+
return {
|
|
143
|
+
ok: true,
|
|
144
|
+
state: normalizedState,
|
|
145
|
+
isDraft: parsed.isDraft === true,
|
|
146
|
+
headRefName: typeof parsed.headRefName === 'string' ? parsed.headRefName : null,
|
|
147
|
+
baseRefName: typeof parsed.baseRefName === 'string' ? parsed.baseRefName : null,
|
|
148
|
+
isCrossRepository: typeof parsed.isCrossRepository === 'boolean' ? parsed.isCrossRepository : null,
|
|
149
|
+
headRefOid,
|
|
150
|
+
mergeCommitOid,
|
|
151
|
+
commitOids,
|
|
152
|
+
includesExpectedSha,
|
|
153
|
+
};
|
|
154
|
+
}
|
|
155
|
+
catch {
|
|
156
|
+
return { ok: false, detail: 'unparseable gh pr view output' };
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
/** Head/base identity is required in every lifecycle state. A PR retargeted to
|
|
160
|
+
* another base must never satisfy delivery merely because it still lists the
|
|
161
|
+
* expected commit. */
|
|
162
|
+
function matchesRecordedPrIdentity(observation, branch, baseBranch) {
|
|
163
|
+
return observation.ok && observation.isCrossRepository === false &&
|
|
164
|
+
observation.headRefName === branch && observation.baseRefName === baseBranch;
|
|
165
|
+
}
|
|
166
|
+
/** OPEN is continuation-safe only for the same recorded head/base identity. */
|
|
167
|
+
function isExactOpenPr(observation, branch, baseBranch) {
|
|
168
|
+
return observation.ok && matchesRecordedPrIdentity(observation, branch, baseBranch) && observation.state === 'OPEN';
|
|
169
|
+
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.defaultExec = void 0;
|
|
3
|
+
exports.defaultExec = exports.PR_COMMAND_TIMEOUT_MS = void 0;
|
|
4
|
+
exports.createBoundedExec = createBoundedExec;
|
|
4
5
|
exports.parsePrUrl = parsePrUrl;
|
|
5
6
|
exports.pushBranch = pushBranch;
|
|
6
7
|
exports.publishDraftPr = publishDraftPr;
|
|
@@ -25,36 +26,97 @@ exports.publishDraftPr = publishDraftPr;
|
|
|
25
26
|
const child_process_1 = require("child_process");
|
|
26
27
|
const git_guardrails_1 = require("./git-guardrails");
|
|
27
28
|
const win_spawn_1 = require("./util/win-spawn");
|
|
28
|
-
exports.
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
29
|
+
exports.PR_COMMAND_TIMEOUT_MS = 120_000;
|
|
30
|
+
function createBoundedExec(timeoutMs = exports.PR_COMMAND_TIMEOUT_MS) {
|
|
31
|
+
const boundedTimeoutMs = Math.max(1, Math.floor(timeoutMs));
|
|
32
|
+
return {
|
|
33
|
+
run(cmd, args, cwd) {
|
|
34
|
+
return new Promise((resolve) => {
|
|
35
|
+
// `windowsSpawnEnv()` backfills SystemRoot / ComSpec / USERPROFILE, which a
|
|
36
|
+
// GUI-launched / pkg-stripped Windows sidecar can lack — without them the
|
|
37
|
+
// `git`/`gh` child (and the `sh -c` the `!gh …` credential helper runs) can
|
|
38
|
+
// fail to start. NOT `GIT_EXEC_ENV`: that hardened env disables credentials
|
|
39
|
+
// (GIT_ASKPASS=echo / GIT_TERMINAL_PROMPT=0), which the push must keep. No-op
|
|
40
|
+
// on POSIX (returns process.env), so mac/Linux behaviour is byte-identical.
|
|
41
|
+
const env = (0, win_spawn_1.windowsSpawnEnv)();
|
|
42
|
+
// These commands can run while holding the per-repository mutation lock.
|
|
43
|
+
// A wedged credential helper/network child must be reaped before the lock
|
|
44
|
+
// can be released; otherwise every later launch/decision/checkout hangs
|
|
45
|
+
// behind it forever. Two minutes is deliberately generous for push/gh.
|
|
46
|
+
(0, child_process_1.execFile)(cmd, args, {
|
|
47
|
+
cwd,
|
|
48
|
+
env,
|
|
49
|
+
maxBuffer: 16 * 1024 * 1024,
|
|
50
|
+
windowsHide: true,
|
|
51
|
+
timeout: boundedTimeoutMs,
|
|
52
|
+
killSignal: 'SIGTERM',
|
|
53
|
+
}, (err, stdout, stderr) => {
|
|
54
|
+
const code = err && typeof err.code === 'number' ? err.code : err ? 1 : 0;
|
|
55
|
+
const errorText = err ? err.message : '';
|
|
56
|
+
resolve({
|
|
57
|
+
code,
|
|
58
|
+
stdout: stdout?.toString() ?? '',
|
|
59
|
+
stderr: stderr?.toString() || errorText,
|
|
60
|
+
});
|
|
61
|
+
});
|
|
41
62
|
});
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
}
|
|
63
|
+
},
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
exports.defaultExec = createBoundedExec();
|
|
45
67
|
/** Extract the first PR URL gh prints (e.g. https://github.com/o/r/pull/12). */
|
|
46
68
|
function parsePrUrl(stdout) {
|
|
47
69
|
const m = stdout.match(/https?:\/\/\S+\/pull\/\d+/);
|
|
48
70
|
return m ? m[0] : undefined;
|
|
49
71
|
}
|
|
72
|
+
/**
|
|
73
|
+
* Recover an ambiguously-created PR by its exact remote identity. GitHub does
|
|
74
|
+
* not allow a second open PR for the same head in the common case, but we still
|
|
75
|
+
* require exactly one OPEN head/base match before adopting it: a fuzzy title or
|
|
76
|
+
* ticket match would attach the delivery to someone else's review.
|
|
77
|
+
*/
|
|
78
|
+
async function findExactOpenPr(exec, input) {
|
|
79
|
+
const lookup = await exec.run('gh', [
|
|
80
|
+
'pr', 'list', '--state', 'open', '--head', input.branch, '--base', input.baseBranch,
|
|
81
|
+
'--json', 'url,isDraft,headRefName,baseRefName,state',
|
|
82
|
+
], input.repoDir);
|
|
83
|
+
if (lookup.code !== 0)
|
|
84
|
+
return null;
|
|
85
|
+
try {
|
|
86
|
+
const parsed = JSON.parse(lookup.stdout);
|
|
87
|
+
if (!Array.isArray(parsed))
|
|
88
|
+
return null;
|
|
89
|
+
const exact = parsed.filter((candidate) => candidate.state === 'OPEN' &&
|
|
90
|
+
candidate.headRefName === input.branch &&
|
|
91
|
+
candidate.baseRefName === input.baseBranch &&
|
|
92
|
+
typeof candidate.url === 'string' &&
|
|
93
|
+
parsePrUrl(candidate.url) === candidate.url);
|
|
94
|
+
if (exact.length !== 1)
|
|
95
|
+
return null;
|
|
96
|
+
return {
|
|
97
|
+
prUrl: exact[0].url,
|
|
98
|
+
...(typeof exact[0].isDraft === 'boolean' ? { isDraft: exact[0].isDraft } : {}),
|
|
99
|
+
};
|
|
100
|
+
}
|
|
101
|
+
catch {
|
|
102
|
+
return null;
|
|
103
|
+
}
|
|
104
|
+
}
|
|
50
105
|
/** Push a committed delivery branch, including the gh-credential retry used by
|
|
51
106
|
* draft PR creation. This is also used for follow-up commits on an existing PR:
|
|
52
107
|
* that path must update the same remote PR branch without trying to create a
|
|
53
108
|
* second PR. */
|
|
54
109
|
async function pushBranch(exec, input) {
|
|
55
110
|
const remote = input.remote ?? 'origin';
|
|
56
|
-
const { repoDir, branch, baseBranch } = input;
|
|
57
|
-
|
|
111
|
+
const { repoDir, branch, baseBranch, sourceSha } = input;
|
|
112
|
+
if (sourceSha !== undefined && !/^[0-9a-f]{40,64}$/i.test(sourceSha)) {
|
|
113
|
+
return { state: 'local-only', branch, reason: 'invalid verified source commit' };
|
|
114
|
+
}
|
|
115
|
+
// A raw commit refspec deliberately omits `-u`: git cannot configure branch
|
|
116
|
+
// tracking from an object id, and an existing PR branch already has a remote.
|
|
117
|
+
const pushArgs = sourceSha
|
|
118
|
+
? ['push', remote, `${sourceSha}:refs/heads/${branch}`]
|
|
119
|
+
: ['push', '-u', remote, branch];
|
|
58
120
|
(0, git_guardrails_1.assertGitAllowed)('git', pushArgs, { protectedBranch: baseBranch });
|
|
59
121
|
let push = await exec.run('git', pushArgs, repoDir);
|
|
60
122
|
if (push.code !== 0 && isCredentialFailure(push)) {
|
|
@@ -71,19 +133,24 @@ async function publishDraftPr(exec, input) {
|
|
|
71
133
|
const { repoDir, branch, baseBranch } = input;
|
|
72
134
|
// 1. Push the branch (set upstream). Failure → local-only, never throw.
|
|
73
135
|
// Guardrail: never force-push, never push the integration branch itself.
|
|
74
|
-
const pushed = await pushBranch(exec, { repoDir, branch, baseBranch, remote });
|
|
136
|
+
const pushed = await pushBranch(exec, { repoDir, branch, baseBranch, remote, sourceSha: input.sourceSha });
|
|
75
137
|
if (pushed.state === 'local-only')
|
|
76
138
|
return pushed;
|
|
77
139
|
// 2. Open a DRAFT PR. Failure (no gh / not authed / perms) → pushed, never throw.
|
|
78
140
|
const pr = await exec.run('gh', ['pr', 'create', '--draft', '--base', baseBranch, '--head', branch, '--title', input.title, '--body', input.body], repoDir);
|
|
79
|
-
|
|
80
|
-
return { state: 'pushed', branch, reason: reasonFrom(pr) };
|
|
81
|
-
}
|
|
82
|
-
const prUrl = parsePrUrl(pr.stdout);
|
|
141
|
+
const prUrl = pr.code === 0 ? parsePrUrl(pr.stdout) : undefined;
|
|
83
142
|
if (!prUrl) {
|
|
84
|
-
// gh
|
|
85
|
-
// exists
|
|
86
|
-
|
|
143
|
+
// `gh pr create` can report success without a parseable URL, return an
|
|
144
|
+
// "already exists" error on a retry, or fail after GitHub accepted the
|
|
145
|
+
// request. Resolve every ambiguous outcome by exact head/base identity.
|
|
146
|
+
const existing = await findExactOpenPr(exec, { repoDir, branch, baseBranch });
|
|
147
|
+
if (existing)
|
|
148
|
+
return { state: 'pr-created', branch, ...existing };
|
|
149
|
+
return {
|
|
150
|
+
state: 'pushed',
|
|
151
|
+
branch,
|
|
152
|
+
reason: pr.code === 0 ? 'pr-created-no-url' : reasonFrom(pr),
|
|
153
|
+
};
|
|
87
154
|
}
|
|
88
155
|
return { state: 'pr-created', branch, prUrl };
|
|
89
156
|
}
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Process-wide and project-scoped admission barrier for subprocess work.
|
|
4
|
+
*
|
|
5
|
+
* Shutdown is not instantaneous: existing HTTP/WebSocket handlers can resume
|
|
6
|
+
* after their manager has been disposed. A generation lease lets those
|
|
7
|
+
* continuations prove that their project is still live before spawning or
|
|
8
|
+
* touching a DB, while the global barrier closes every generic AI-CLI wrapper
|
|
9
|
+
* at the beginning of process shutdown.
|
|
10
|
+
*/
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.ProcessAdmissionClosedError = void 0;
|
|
13
|
+
exports.assertProcessAdmission = assertProcessAdmission;
|
|
14
|
+
exports.captureProcessAdmission = captureProcessAdmission;
|
|
15
|
+
exports.beginAppProcessQuiescence = beginAppProcessQuiescence;
|
|
16
|
+
exports.beginProjectProcessQuiescence = beginProjectProcessQuiescence;
|
|
17
|
+
exports.openProjectProcessAdmission = openProjectProcessAdmission;
|
|
18
|
+
exports.resetProcessAdmissionForTests = resetProcessAdmissionForTests;
|
|
19
|
+
class ProcessAdmissionClosedError extends Error {
|
|
20
|
+
projectId;
|
|
21
|
+
code = 'PROCESS_ADMISSION_CLOSED';
|
|
22
|
+
constructor(projectId) {
|
|
23
|
+
super(projectId
|
|
24
|
+
? `Process admission is closed for project ${projectId}`
|
|
25
|
+
: 'Process admission is closed during application shutdown');
|
|
26
|
+
this.projectId = projectId;
|
|
27
|
+
this.name = 'ProcessAdmissionClosedError';
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
exports.ProcessAdmissionClosedError = ProcessAdmissionClosedError;
|
|
31
|
+
let appOpen = true;
|
|
32
|
+
let appGeneration = 0;
|
|
33
|
+
const projectGenerations = new Map();
|
|
34
|
+
const closedProjects = new Set();
|
|
35
|
+
function assertProcessAdmission(projectId) {
|
|
36
|
+
if (!appOpen || (projectId !== undefined && closedProjects.has(projectId))) {
|
|
37
|
+
throw new ProcessAdmissionClosedError(projectId);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
function captureProcessAdmission(projectId) {
|
|
41
|
+
assertProcessAdmission(projectId);
|
|
42
|
+
const capturedAppGeneration = appGeneration;
|
|
43
|
+
const capturedProjectGeneration = projectId === undefined
|
|
44
|
+
? 0
|
|
45
|
+
: (projectGenerations.get(projectId) ?? 0);
|
|
46
|
+
const isCurrent = () => appOpen &&
|
|
47
|
+
appGeneration === capturedAppGeneration &&
|
|
48
|
+
(projectId === undefined || (!closedProjects.has(projectId) &&
|
|
49
|
+
(projectGenerations.get(projectId) ?? 0) === capturedProjectGeneration));
|
|
50
|
+
return {
|
|
51
|
+
projectId,
|
|
52
|
+
isCurrent,
|
|
53
|
+
assertCurrent() {
|
|
54
|
+
if (!isCurrent())
|
|
55
|
+
throw new ProcessAdmissionClosedError(projectId);
|
|
56
|
+
},
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
/** Close app-wide admission before any shutdown await can yield. Idempotent. */
|
|
60
|
+
function beginAppProcessQuiescence() {
|
|
61
|
+
if (!appOpen)
|
|
62
|
+
return;
|
|
63
|
+
appOpen = false;
|
|
64
|
+
appGeneration += 1;
|
|
65
|
+
}
|
|
66
|
+
/** Invalidate all earlier continuations and reject new work for one project. */
|
|
67
|
+
function beginProjectProcessQuiescence(projectId) {
|
|
68
|
+
closedProjects.add(projectId);
|
|
69
|
+
projectGenerations.set(projectId, (projectGenerations.get(projectId) ?? 0) + 1);
|
|
70
|
+
}
|
|
71
|
+
/** Open a freshly hydrated project context with a new continuation epoch. */
|
|
72
|
+
function openProjectProcessAdmission(projectId) {
|
|
73
|
+
closedProjects.delete(projectId);
|
|
74
|
+
projectGenerations.set(projectId, (projectGenerations.get(projectId) ?? 0) + 1);
|
|
75
|
+
}
|
|
76
|
+
/** @internal Test isolation only; production shutdown is intentionally final. */
|
|
77
|
+
function resetProcessAdmissionForTests() {
|
|
78
|
+
appOpen = true;
|
|
79
|
+
appGeneration += 1;
|
|
80
|
+
projectGenerations.clear();
|
|
81
|
+
closedProjects.clear();
|
|
82
|
+
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.parseWorktreePorcelain = parseWorktreePorcelain;
|
|
4
|
+
exports.inspectProjectCheckoutCleanliness = inspectProjectCheckoutCleanliness;
|
|
4
5
|
exports.getProjectGitInfo = getProjectGitInfo;
|
|
5
6
|
exports.compactCheckoutError = compactCheckoutError;
|
|
6
7
|
exports.checkoutProjectBranch = checkoutProjectBranch;
|
|
@@ -17,6 +18,7 @@ const integration_branch_1 = require("./integration-branch");
|
|
|
17
18
|
// against `git branch` output, so no user string can smuggle flags or refs.
|
|
18
19
|
const GIT_TIMEOUT_MS = 10_000;
|
|
19
20
|
const GIT_MAX_BUFFER = 4 * 1024 * 1024;
|
|
21
|
+
const COMMIT_SHA_RE = /^[0-9a-f]{40,64}$/i;
|
|
20
22
|
function git(repoDir, args) {
|
|
21
23
|
return new Promise((resolve, reject) => {
|
|
22
24
|
(0, child_process_1.execFile)('git', args, { cwd: repoDir, env: file_provenance_1.GIT_EXEC_ENV, timeout: GIT_TIMEOUT_MS, maxBuffer: GIT_MAX_BUFFER, windowsHide: true }, (err, stdout, stderr) => {
|
|
@@ -57,6 +59,21 @@ async function listLocalBranches(repoDir) {
|
|
|
57
59
|
const out = await git(repoDir, ['branch', '--format=%(refname:short)']);
|
|
58
60
|
return out.split('\n').map((b) => b.trim()).filter(Boolean);
|
|
59
61
|
}
|
|
62
|
+
/** Lossless checkout preflight. Unlike the dashboard-oriented aggregate info,
|
|
63
|
+
* this result is tri-state: an unreadable status is never interpreted as a
|
|
64
|
+
* clean checkout. */
|
|
65
|
+
async function inspectProjectCheckoutCleanliness(repoDir) {
|
|
66
|
+
try {
|
|
67
|
+
const status = await git(repoDir, ['status', '--porcelain', '--untracked-files=all']);
|
|
68
|
+
return { ok: true, clean: status === '' };
|
|
69
|
+
}
|
|
70
|
+
catch (err) {
|
|
71
|
+
return {
|
|
72
|
+
ok: false,
|
|
73
|
+
detail: `Working tree cleanliness could not be verified: ${err instanceof Error ? err.message : String(err)}`,
|
|
74
|
+
};
|
|
75
|
+
}
|
|
76
|
+
}
|
|
60
77
|
async function getProjectGitInfo(repoDir) {
|
|
61
78
|
try {
|
|
62
79
|
await git(repoDir, ['rev-parse', '--is-inside-work-tree']);
|
|
@@ -159,11 +176,18 @@ async function remoteBranchExists(repoDir, branch) {
|
|
|
159
176
|
/** Checkout a PR/review branch into the user's main repo. Unlike the small
|
|
160
177
|
* AgentGitBar switcher, this path may materialize a local tracking branch from
|
|
161
178
|
* `origin/<branch>` because a PR delivery can be remote-only after worktree
|
|
162
|
-
* cleanup or a fresh clone.
|
|
163
|
-
|
|
179
|
+
* cleanup or a fresh clone. When supplied, `expectedSha` is an immutable
|
|
180
|
+
* delivery lease: a divergent local/remote branch is preserved and checkout
|
|
181
|
+
* succeeds only when the final branch HEAD equals that exact object. It never
|
|
182
|
+
* overwrites dirty local work. */
|
|
183
|
+
async function checkoutProjectReviewBranch(repoDir, branch, expectedSha) {
|
|
164
184
|
const target = branch.trim();
|
|
165
185
|
if (!(0, integration_branch_1.isValidBranchName)(target))
|
|
166
186
|
return { ok: false, error: `Invalid branch name: ${branch}` };
|
|
187
|
+
const expected = expectedSha?.trim().toLowerCase() ?? null;
|
|
188
|
+
if (expected !== null && !COMMIT_SHA_RE.test(expected)) {
|
|
189
|
+
return { ok: false, error: 'The verified delivery commit is invalid; checkout was not attempted.' };
|
|
190
|
+
}
|
|
167
191
|
let dirty = false;
|
|
168
192
|
try {
|
|
169
193
|
dirty = (await git(repoDir, ['status', '--porcelain'])) !== '';
|
|
@@ -185,9 +209,27 @@ async function checkoutProjectReviewBranch(repoDir, branch) {
|
|
|
185
209
|
}
|
|
186
210
|
try {
|
|
187
211
|
if (branches.includes(target)) {
|
|
212
|
+
if (expected) {
|
|
213
|
+
const localSha = (await git(repoDir, ['rev-parse', '--verify', `refs/heads/${target}`])).toLowerCase();
|
|
214
|
+
if (localSha !== expected) {
|
|
215
|
+
return {
|
|
216
|
+
ok: false,
|
|
217
|
+
error: `Local branch '${target}' points to ${localSha.slice(0, 8)}, not verified delivery ${expected.slice(0, 8)}. It was preserved and not checked out.`,
|
|
218
|
+
};
|
|
219
|
+
}
|
|
220
|
+
}
|
|
188
221
|
await git(repoDir, ['checkout', target]);
|
|
189
222
|
}
|
|
190
223
|
else if (await remoteBranchExists(repoDir, target)) {
|
|
224
|
+
if (expected) {
|
|
225
|
+
const remoteSha = (await git(repoDir, ['rev-parse', '--verify', `refs/remotes/origin/${target}`])).toLowerCase();
|
|
226
|
+
if (remoteSha !== expected) {
|
|
227
|
+
return {
|
|
228
|
+
ok: false,
|
|
229
|
+
error: `Remote branch 'origin/${target}' points to ${remoteSha.slice(0, 8)}, not verified delivery ${expected.slice(0, 8)}. Checkout was not attempted.`,
|
|
230
|
+
};
|
|
231
|
+
}
|
|
232
|
+
}
|
|
191
233
|
await git(repoDir, ['checkout', '-b', target, '--track', `origin/${target}`]);
|
|
192
234
|
}
|
|
193
235
|
else {
|
|
@@ -197,6 +239,24 @@ async function checkoutProjectReviewBranch(repoDir, branch) {
|
|
|
197
239
|
catch (err) {
|
|
198
240
|
return { ok: false, error: compactCheckoutError(err instanceof Error ? err.message : 'git checkout failed') };
|
|
199
241
|
}
|
|
242
|
+
if (expected) {
|
|
243
|
+
try {
|
|
244
|
+
const [currentBranch, currentSha] = await Promise.all([
|
|
245
|
+
git(repoDir, ['rev-parse', '--abbrev-ref', 'HEAD']),
|
|
246
|
+
git(repoDir, ['rev-parse', '--verify', 'HEAD']),
|
|
247
|
+
]);
|
|
248
|
+
if (currentBranch !== target || currentSha.toLowerCase() !== expected) {
|
|
249
|
+
return {
|
|
250
|
+
ok: false,
|
|
251
|
+
error: `Checkout changed concurrently and did not land on verified delivery ${expected.slice(0, 8)}. No reset or cleanup was performed.`,
|
|
252
|
+
};
|
|
253
|
+
}
|
|
254
|
+
return { ok: true };
|
|
255
|
+
}
|
|
256
|
+
catch (err) {
|
|
257
|
+
return { ok: false, error: compactCheckoutError(err instanceof Error ? err.message : 'git checkout verification failed') };
|
|
258
|
+
}
|
|
259
|
+
}
|
|
200
260
|
// A failed ff-only pull should not undo a successful checkout; the branch is
|
|
201
261
|
// already where the user can inspect/fix it. Surface only hard checkout errors.
|
|
202
262
|
await git(repoDir, ['pull', '--ff-only']).catch(() => { });
|