specrails-desktop 2.20.1 → 2.22.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -2
- package/client/dist/assets/{ActivityFeedPage-3WSqRYVx.js → ActivityFeedPage-roDyKGuv.js} +1 -1
- package/client/dist/assets/AgentBrowserCapture-BsXnWa4j.js +1 -0
- package/client/dist/assets/{AgentModeCodePane-Cnsea6eZ.js → AgentModeCodePane-o97EJvbJ.js} +2 -2
- package/client/dist/assets/AgentModeJobsPane-CLtpPxPM.js +1 -0
- package/client/dist/assets/AgentsPage-eNSo_ZcC.js +86 -0
- package/client/dist/assets/AnalyticsPage-cAJ60_Ex.js +1 -0
- package/client/dist/assets/{BarChart-C6If656N.js → BarChart-NLtK7xAY.js} +1 -1
- package/client/dist/assets/CodePage-B5rum8ZB.js +2 -0
- package/client/dist/assets/DesktopAnalyticsPage-DSuvG6Tq.js +1 -0
- package/client/dist/assets/DocsDialog-Bo38G3Yc.js +11 -0
- package/client/dist/assets/DocsPage-BNkiBBrC.js +11 -0
- package/client/dist/assets/{ExportDropdown-CezTK0EX.js → ExportDropdown-DCV8PN4-.js} +1 -1
- package/client/dist/assets/IntegrationsPage-BMJOzpPz.js +3 -0
- package/client/dist/assets/InteractiveJobComposer-aLduNs5R.js +19 -0
- package/client/dist/assets/JobDetailModal-kpkUWJIS.js +1 -0
- package/client/dist/assets/JobDetailPage-CFeqlrPU.js +1 -0
- package/client/dist/assets/JobsPage-fuwhXy2I.js +1 -0
- package/client/dist/assets/LoopBuilderPage-DP66322C.js +7 -0
- package/client/dist/assets/LoopPreviewModal-CpmBhE31.js +1 -0
- package/client/dist/assets/LoopsPage-CvQ18VUx.js +1 -0
- package/client/dist/assets/ProjectSettingsDialog-Deq4pwvq.js +1 -0
- package/client/dist/assets/TemplatePreviewModal-DziOj2Ct.js +1 -0
- package/client/dist/assets/agent-Csh4kP2S.js +1 -0
- package/client/dist/assets/agent-Cz_jgQX32.js +1 -0
- package/client/dist/assets/agent-D3vcIvaz2.js +1 -0
- package/client/dist/assets/agent-Dnbt0V4e.js +1 -0
- package/client/dist/assets/agent-HolR7QrZ.js +1 -0
- package/client/dist/assets/agent-Ka0rRWJy.js +1 -0
- package/client/dist/assets/agent-Te3yysMd.js +1 -0
- package/client/dist/assets/agent-vM4_iLDk2.js +1 -0
- package/client/dist/assets/{upload-CRtTj4Co.js → brain-kFJuEDNH.js} +1 -1
- package/client/dist/assets/{browser-DEEO-OSi.js → browser-BPkhILSJ.js} +1 -1
- package/client/dist/assets/{browser-BTivfZKE2.js → browser-BijVYG0Y2.js} +1 -1
- package/client/dist/assets/{browser-bpO3onlS.js → browser-BqLqJVVT.js} +1 -1
- package/client/dist/assets/{browser-DlSXtfu5.js → browser-Cc0iDqUi.js} +1 -1
- package/client/dist/assets/browser-CdS6O1Qb.js +1 -0
- package/client/dist/assets/{browser-BKP6hqQC2.js → browser-Cvg-QHvd2.js} +1 -1
- package/client/dist/assets/{browser-INCUyduh.js → browser-FRv8P02E.js} +1 -1
- package/client/dist/assets/{browser-DlKLfT612.js → browser-rWKj-RR_2.js} +1 -1
- package/client/dist/assets/code-BRcDlze52.js +1 -0
- package/client/dist/assets/code-BdMy3Ffq.js +1 -0
- package/client/dist/assets/code-CeQ0FZpC.js +1 -0
- package/client/dist/assets/code-CqCcRThR.js +1 -0
- package/client/dist/assets/code-DgeHz9CB.js +1 -0
- package/client/dist/assets/code-DzC1rMk12.js +1 -0
- package/client/dist/assets/code-UPVvmAKM2.js +1 -0
- package/client/dist/assets/code-thSEptMx.js +1 -0
- package/client/dist/assets/{common-QjVnq9XP2.js → common-BM3LFLCE2.js} +1 -1
- package/client/dist/assets/{common-CeQUwuHt2.js → common-Bwafujnc2.js} +1 -1
- package/client/dist/assets/{common-Bb64s3Bm.js → common-C-vU-j-I.js} +1 -1
- package/client/dist/assets/{common-KbQuTSGg.js → common-C5HKSbbz.js} +1 -1
- package/client/dist/assets/{common-BPQQkgJZ.js → common-CYaT2yHp.js} +1 -1
- package/client/dist/assets/{common-DPxotRK9.js → common-DhWTkocg.js} +1 -1
- package/client/dist/assets/{common-k5MTOHpn.js → common-DiPTT7V_2.js} +1 -1
- package/client/dist/assets/{common-C8ZD5upH2.js → common-DmqBPwZG.js} +1 -1
- package/client/dist/assets/{cssMode-DsArsSCT.js → cssMode-DBHbkBvI.js} +1 -1
- package/client/dist/assets/dashboard-BaStj_a_.js +1 -0
- package/client/dist/assets/dashboard-Bi6ugu5Q.js +1 -0
- package/client/dist/assets/dashboard-BmqTn3L02.js +1 -0
- package/client/dist/assets/dashboard-CvT8lOCT.js +1 -0
- package/client/dist/assets/dashboard-D7Pmeavq2.js +1 -0
- package/client/dist/assets/dashboard-DAnWdAac2.js +1 -0
- package/client/dist/assets/dashboard-JnYy2WLg.js +1 -0
- package/client/dist/assets/dashboard-L47YsFS_.js +1 -0
- package/client/dist/assets/{dist-js-BQn4yxaw.js → dist-js-BZSiJDbG.js} +1 -1
- package/client/dist/assets/{dist-js-BAWSqVtr.js → dist-js-DKpmIJlQ.js} +1 -1
- package/client/dist/assets/{editor.main-G3Sl9C67.js → editor.main-C9J2ikJK.js} +2 -2
- package/client/dist/assets/{freemarker2-pBzQNgFi.js → freemarker2-J5iIIIK-.js} +1 -1
- package/client/dist/assets/{handlebars-CtBTCnBI.js → handlebars-DSw1l_tw.js} +1 -1
- package/client/dist/assets/{html-Dx3DYBzY.js → html-h2-wE1Lj.js} +1 -1
- package/client/dist/assets/{htmlMode-In7frFOo.js → htmlMode-Cc_ij7lW.js} +1 -1
- package/client/dist/assets/index-DM6heiGa.js +155 -0
- package/client/dist/assets/index-DPX6_xIC.css +2 -0
- package/client/dist/assets/{javascript-BKcn-YkN.js → javascript-C1q3xv6N.js} +1 -1
- package/client/dist/assets/jira-B3613-gj.js +1 -0
- package/client/dist/assets/jira-BHAKtc4B.js +1 -0
- package/client/dist/assets/jira-Be369RIR2.js +1 -0
- package/client/dist/assets/jira-CPpgA-5z2.js +1 -0
- package/client/dist/assets/jira-D5efgwp_.js +1 -0
- package/client/dist/assets/jira-DS7ownDy.js +1 -0
- package/client/dist/assets/jira-bDs7Im2C.js +1 -0
- package/client/dist/assets/jira-uNH1gETL2.js +1 -0
- package/client/dist/assets/jobs-1GV2-4zd2.js +1 -0
- package/client/dist/assets/jobs-26F9gGcE.js +1 -0
- package/client/dist/assets/jobs-BgQzB0Sx2.js +1 -0
- package/client/dist/assets/jobs-BqWui9_f.js +1 -0
- package/client/dist/assets/jobs-CE8qeIYj.js +1 -0
- package/client/dist/assets/jobs-D5sZzgLs.js +1 -0
- package/client/dist/assets/jobs-DzeuASRf.js +1 -0
- package/client/dist/assets/jobs-Wh7dn28q2.js +1 -0
- package/client/dist/assets/{jsonMode-jNREoQ3C.js → jsonMode-CeaCdEhr.js} +1 -1
- package/client/dist/assets/{lib-C-g8QbZl.js → lib-B2nCKzmA.js} +1 -1
- package/client/dist/assets/{liquid-CtRkGqBu.js → liquid-eFsVK0V-.js} +1 -1
- package/client/dist/assets/loops-BvEenWBy.js +1 -0
- package/client/dist/assets/loops-CBiWd9Hf.js +1 -0
- package/client/dist/assets/loops-DNGiYKll2.js +1 -0
- package/client/dist/assets/{loops-Y3FQsUCh.js → loops-DjOtVXRo.js} +1 -1
- package/client/dist/assets/loops-HTHf-xu32.js +1 -0
- package/client/dist/assets/loops-YYV2bwjd.js +1 -0
- package/client/dist/assets/loops-hXgncEpF2.js +1 -0
- package/client/dist/assets/loops-kYbydDyN.js +1 -0
- package/client/dist/assets/{lspLanguageFeatures-Cl3gvD_W.js → lspLanguageFeatures-DT3-bbhn.js} +1 -1
- package/client/dist/assets/{mdx-B_nJldHz.js → mdx-Fuwnh1cX.js} +1 -1
- package/client/dist/assets/{monaco.contribution-PUeaZk8T.js → monaco.contribution-Desq7oq4.js} +2 -2
- package/client/dist/assets/{python-DS1Ce-A6.js → python-BgoEs6Cj.js} +1 -1
- package/client/dist/assets/{razor-L41Qg9OK.js → razor-CM1sPMMq.js} +1 -1
- package/client/dist/assets/{settings-BPq9nCJm.js → settings-BOHOmHkb.js} +1 -1
- package/client/dist/assets/{settings-r8Qq2Gzp2.js → settings-BlEA_7h02.js} +1 -1
- package/client/dist/assets/{settings-C-m3yEZ2.js → settings-BsJMsWGc.js} +1 -1
- package/client/dist/assets/{settings-zZr7NzuB.js → settings-D6qY9_UI.js} +1 -1
- package/client/dist/assets/{settings-VgCsjaYf.js → settings-DZJeXoRV.js} +1 -1
- package/client/dist/assets/settings-Mr7MnJbf.js +1 -0
- package/client/dist/assets/{settings-BWHGtmU12.js → settings-TNga5gIF2.js} +1 -1
- package/client/dist/assets/{settings-DZj7Uqy32.js → settings-lFoaYT-s2.js} +1 -1
- package/client/dist/assets/setup-B590KsTX.js +1 -0
- package/client/dist/assets/setup-BkyGoby6.js +1 -0
- package/client/dist/assets/setup-CEj6uY3-2.js +1 -0
- package/client/dist/assets/setup-CbIerFGf2.js +1 -0
- package/client/dist/assets/setup-CmU6bTCV2.js +1 -0
- package/client/dist/assets/setup-D674kWQH.js +1 -0
- package/client/dist/assets/setup-VNqXyB6Y.js +1 -0
- package/client/dist/assets/setup-iY8vH8pB.js +1 -0
- package/client/dist/assets/specs-C9Sd7BhH2.js +1 -0
- package/client/dist/assets/specs-CBDvEYKv.js +1 -0
- package/client/dist/assets/specs-CIPr9reA2.js +1 -0
- package/client/dist/assets/specs-CWtKcVDC.js +1 -0
- package/client/dist/assets/specs-CmEZY57v.js +1 -0
- package/client/dist/assets/specs-D2clrt2c2.js +1 -0
- package/client/dist/assets/specs-DTplt2XM.js +1 -0
- package/client/dist/assets/specs-PozUNhqb.js +1 -0
- package/client/dist/assets/{tsMode-BC1g186U.js → tsMode-BmT8WogI.js} +1 -1
- package/client/dist/assets/{typescript-BGlRGvJW.js → typescript-CQrQPsoW.js} +1 -1
- package/client/dist/assets/upload-CLAzW1mS.js +1 -0
- package/client/dist/assets/{value-D9aLbxw-.js → value-DSwzyyWR.js} +1 -1
- package/client/dist/assets/{workers-CXcXtO3b.js → workers-U0UXyLUf.js} +1 -1
- package/client/dist/assets/{xml-JdZZaIhJ.js → xml-WRxJs8_I.js} +1 -1
- package/client/dist/assets/{yaml-Cm82BVBt.js → yaml-CjpSTjJU.js} +1 -1
- package/client/dist/index.html +14 -14
- package/docs/customizing.md +2 -2
- package/docs/gemini.md +15 -4
- package/docs/guide/de/insights/3-code-explorer.md +6 -0
- package/docs/guide/de/integrations/3-jira-integration.md +1 -1
- package/docs/guide/de/integrations/6-agent-chat.md +5 -0
- package/docs/guide/de/pipeline/1-rails-and-jobs.md +6 -6
- package/docs/guide/de/pipeline/2-the-job-detail-view.md +27 -2
- package/docs/guide/de/pipeline/3-batch-implement-and-multi-feature.md +9 -5
- package/docs/guide/de/pipeline/5-the-loop-builder.md +1 -1
- package/docs/guide/de/specs/1-specs-and-the-backlog.md +3 -2
- package/docs/guide/en/insights/3-code-explorer.md +6 -0
- package/docs/guide/en/integrations/3-jira-integration.md +1 -1
- package/docs/guide/en/integrations/6-agent-chat.md +5 -0
- package/docs/guide/en/pipeline/1-rails-and-jobs.md +6 -6
- package/docs/guide/en/pipeline/2-the-job-detail-view.md +27 -2
- package/docs/guide/en/pipeline/3-batch-implement-and-multi-feature.md +10 -4
- package/docs/guide/en/pipeline/5-the-loop-builder.md +1 -1
- package/docs/guide/en/specs/1-specs-and-the-backlog.md +3 -2
- package/docs/guide/es/insights/3-code-explorer.md +6 -0
- package/docs/guide/es/integrations/3-jira-integration.md +1 -1
- package/docs/guide/es/integrations/6-agent-chat.md +5 -0
- package/docs/guide/es/pipeline/1-rails-and-jobs.md +6 -6
- package/docs/guide/es/pipeline/2-the-job-detail-view.md +27 -2
- package/docs/guide/es/pipeline/3-batch-implement-and-multi-feature.md +9 -5
- package/docs/guide/es/pipeline/5-the-loop-builder.md +1 -1
- package/docs/guide/es/specs/1-specs-and-the-backlog.md +3 -2
- package/docs/guide/fr/insights/3-code-explorer.md +6 -0
- package/docs/guide/fr/integrations/3-jira-integration.md +1 -1
- package/docs/guide/fr/integrations/6-agent-chat.md +5 -0
- package/docs/guide/fr/pipeline/1-rails-and-jobs.md +6 -6
- package/docs/guide/fr/pipeline/2-the-job-detail-view.md +27 -2
- package/docs/guide/fr/pipeline/3-batch-implement-and-multi-feature.md +9 -5
- package/docs/guide/fr/pipeline/5-the-loop-builder.md +1 -1
- package/docs/guide/fr/specs/1-specs-and-the-backlog.md +3 -2
- package/docs/guide/it/insights/3-code-explorer.md +6 -0
- package/docs/guide/it/integrations/3-jira-integration.md +1 -1
- package/docs/guide/it/integrations/6-agent-chat.md +5 -0
- package/docs/guide/it/pipeline/1-rails-and-jobs.md +6 -6
- package/docs/guide/it/pipeline/2-the-job-detail-view.md +27 -2
- package/docs/guide/it/pipeline/3-batch-implement-and-multi-feature.md +10 -6
- package/docs/guide/it/pipeline/5-the-loop-builder.md +1 -1
- package/docs/guide/it/specs/1-specs-and-the-backlog.md +3 -2
- package/docs/guide/ja/insights/3-code-explorer.md +6 -0
- package/docs/guide/ja/integrations/3-jira-integration.md +1 -1
- package/docs/guide/ja/integrations/6-agent-chat.md +5 -0
- package/docs/guide/ja/pipeline/1-rails-and-jobs.md +6 -6
- package/docs/guide/ja/pipeline/2-the-job-detail-view.md +27 -2
- package/docs/guide/ja/pipeline/3-batch-implement-and-multi-feature.md +9 -5
- package/docs/guide/ja/pipeline/5-the-loop-builder.md +1 -1
- package/docs/guide/ja/specs/1-specs-and-the-backlog.md +3 -2
- package/docs/guide/pt/insights/3-code-explorer.md +6 -0
- package/docs/guide/pt/integrations/3-jira-integration.md +1 -1
- package/docs/guide/pt/integrations/6-agent-chat.md +5 -0
- package/docs/guide/pt/pipeline/1-rails-and-jobs.md +6 -6
- package/docs/guide/pt/pipeline/2-the-job-detail-view.md +27 -2
- package/docs/guide/pt/pipeline/3-batch-implement-and-multi-feature.md +9 -5
- package/docs/guide/pt/pipeline/5-the-loop-builder.md +1 -1
- package/docs/guide/pt/specs/1-specs-and-the-backlog.md +3 -2
- package/docs/guide/zh/insights/3-code-explorer.md +6 -0
- package/docs/guide/zh/integrations/3-jira-integration.md +1 -1
- package/docs/guide/zh/integrations/6-agent-chat.md +5 -0
- package/docs/guide/zh/pipeline/1-rails-and-jobs.md +6 -6
- package/docs/guide/zh/pipeline/2-the-job-detail-view.md +27 -2
- package/docs/guide/zh/pipeline/3-batch-implement-and-multi-feature.md +10 -6
- package/docs/guide/zh/pipeline/5-the-loop-builder.md +1 -1
- package/docs/guide/zh/specs/1-specs-and-the-backlog.md +3 -2
- package/docs/internals/README.md +5 -0
- package/docs/internals/adding-a-provider.md +15 -3
- package/docs/internals/api-reference.md +6 -5
- package/docs/internals/browser-capture-performance.md +93 -0
- package/docs/internals/code-explorer-story.md +135 -0
- package/docs/internals/gemini-mcp-registration.md +53 -0
- package/docs/internals/interactive-jobs.md +212 -0
- package/docs/internals/loop-step-log-explorer.md +146 -0
- package/docs/internals/safe-pr-review-flow.md +367 -0
- package/docs/mcp.md +1 -1
- package/docs/running-pipelines.md +6 -2
- package/package.json +1 -1
- package/server/dist/agent-chat-manager.js +211 -0
- package/server/dist/agent-chat-registry.js +20 -0
- package/server/dist/agent-chat-router.js +22 -0
- package/server/dist/agent-mcp-config.js +45 -4
- package/server/dist/agent-operator-prompt.js +149 -56
- package/server/dist/agent-store.js +25 -0
- package/server/dist/agent-tier.js +6 -1
- package/server/dist/browser-capture-manager.js +184 -34
- package/server/dist/browser-playwright.js +98 -13
- package/server/dist/code-explorer-router.js +92 -0
- package/server/dist/db.js +102 -0
- package/server/dist/file-provenance.js +54 -1
- package/server/dist/file-story-manager.js +170 -0
- package/server/dist/file-story.js +148 -0
- package/server/dist/file-summary-generator.js +5 -4
- package/server/dist/git-guardrails.js +62 -0
- package/server/dist/index.js +5 -0
- package/server/dist/integration-branch.js +63 -0
- package/server/dist/interactive-job-session.js +226 -18
- package/server/dist/jira/jira-adf.js +9 -0
- package/server/dist/jira/jira-materializer.js +27 -4
- package/server/dist/jira/jira-status-resolver.js +12 -4
- package/server/dist/jira/jira-sync-manager.js +130 -2
- package/server/dist/jira-router.js +1 -1
- package/server/dist/loop-effect.js +12 -0
- package/server/dist/loop-executors.js +92 -22
- package/server/dist/loop-run-manager.js +354 -28
- package/server/dist/mcp/guide.js +18 -7
- package/server/dist/mcp/tools/jira.js +1 -1
- package/server/dist/mcp/tools/jobs.js +14 -5
- package/server/dist/mcp/tools/rails.js +137 -12
- package/server/dist/mcp/tools/specs.js +35 -9
- package/server/dist/mcp/tools/types.js +49 -0
- package/server/dist/mobile/mobile-ws.js +4 -0
- package/server/dist/path-resolver.js +46 -0
- package/server/dist/pr-body.js +240 -0
- package/server/dist/pr-naming.js +210 -0
- package/server/dist/pr-publisher.js +68 -0
- package/server/dist/project-registry.js +77 -17
- package/server/dist/project-router-jobs.js +53 -13
- package/server/dist/project-router-settings.js +33 -0
- package/server/dist/project-router-terminals.js +16 -0
- package/server/dist/project-router-tickets.js +57 -3
- package/server/dist/project-router.js +52 -13
- package/server/dist/queue-manager.js +268 -83
- package/server/dist/rail-isolated-launch.js +324 -34
- package/server/dist/rail-isolation.js +32 -5
- package/server/dist/rail-pr-decision.js +519 -0
- package/server/dist/rail-pr-delivery.js +75 -0
- package/server/dist/rail-pr-store.js +175 -0
- package/server/dist/rail-worktrees-store.js +18 -0
- package/server/dist/rails-router.js +241 -17
- package/server/dist/rails-store.js +78 -1
- package/server/dist/setup-prerequisites.js +105 -0
- package/server/dist/smash-runner.js +3 -1
- package/server/dist/ticket-store.js +7 -3
- package/server/dist/workspace-resolution.js +27 -0
- package/server/dist/worktree-manager.js +42 -7
- package/server/dist/worktree-overlay.js +261 -0
- package/client/dist/assets/AgentBrowserCapture-BlGDZahz.js +0 -1
- package/client/dist/assets/AgentModeJobsPane-CyNR-9BO.js +0 -1
- package/client/dist/assets/AgentsPage-dNsEsY_x.js +0 -86
- package/client/dist/assets/AnalyticsPage-BAxmR0HQ.js +0 -1
- package/client/dist/assets/CodePage-Crc4BBQN.js +0 -2
- package/client/dist/assets/DesktopAnalyticsPage-IXSnbCce.js +0 -1
- package/client/dist/assets/DocsDialog-Bc4hx7oW.js +0 -11
- package/client/dist/assets/DocsPage-bEU4t9c6.js +0 -11
- package/client/dist/assets/IntegrationsPage-wq2CezEL.js +0 -3
- package/client/dist/assets/JobDetailPage-BBcPk3j8.js +0 -1
- package/client/dist/assets/JobsPage-DXrSPlwa.js +0 -1
- package/client/dist/assets/LogViewer-BoYbwvbU.js +0 -16
- package/client/dist/assets/LoopBuilderPage-CiUMAuWz.js +0 -7
- package/client/dist/assets/LoopsPage-Xrp6W5XW.js +0 -1
- package/client/dist/assets/ProjectSettingsDialog-BU98L5JD.js +0 -1
- package/client/dist/assets/agent-B7GdHP3Z.js +0 -1
- package/client/dist/assets/agent-BHmcgoJf.js +0 -1
- package/client/dist/assets/agent-BdY_fii4.js +0 -1
- package/client/dist/assets/agent-C32FOi9v.js +0 -1
- package/client/dist/assets/agent-CiFQxoaZ2.js +0 -1
- package/client/dist/assets/agent-CtAag7V6.js +0 -1
- package/client/dist/assets/agent-DE4Mp1fY2.js +0 -1
- package/client/dist/assets/agent-DK8qovyG2.js +0 -1
- package/client/dist/assets/browser-ZB1afzjZ.js +0 -1
- package/client/dist/assets/code-BFxE1Yt62.js +0 -1
- package/client/dist/assets/code-BefYOm5Q.js +0 -1
- package/client/dist/assets/code-BkXpJt99.js +0 -1
- package/client/dist/assets/code-C6Sq7_t8.js +0 -1
- package/client/dist/assets/code-CGj3w-2N.js +0 -1
- package/client/dist/assets/code-Dfsxc9o82.js +0 -1
- package/client/dist/assets/code-Y5urks5s2.js +0 -1
- package/client/dist/assets/code-wtcs0ivb.js +0 -1
- package/client/dist/assets/dashboard-B8032psZ.js +0 -1
- package/client/dist/assets/dashboard-BHGKtxty2.js +0 -1
- package/client/dist/assets/dashboard-CXnoUgN22.js +0 -1
- package/client/dist/assets/dashboard-Ccyxqy7d.js +0 -1
- package/client/dist/assets/dashboard-CoED_41r.js +0 -1
- package/client/dist/assets/dashboard-Dc5ZAgMN.js +0 -1
- package/client/dist/assets/dashboard-JMY8ueD3.js +0 -1
- package/client/dist/assets/dashboard-tkWr1aHD2.js +0 -1
- package/client/dist/assets/index-BHPbzyg6.css +0 -2
- package/client/dist/assets/index-n2PmJGF6.js +0 -152
- package/client/dist/assets/jira-BcZzX9122.js +0 -1
- package/client/dist/assets/jira-CTYs7LA12.js +0 -1
- package/client/dist/assets/jira-D2nN39e92.js +0 -1
- package/client/dist/assets/jira-DJxmIkyr.js +0 -1
- package/client/dist/assets/jira-DXMoAKWD.js +0 -1
- package/client/dist/assets/jira-IhC1ROIc.js +0 -1
- package/client/dist/assets/jira-Iw575fN8.js +0 -1
- package/client/dist/assets/jira-kbWZY7jH.js +0 -1
- package/client/dist/assets/jobs-BqF79kHz2.js +0 -1
- package/client/dist/assets/jobs-C1XM5urS.js +0 -1
- package/client/dist/assets/jobs-C5UjG0262.js +0 -1
- package/client/dist/assets/jobs-DBfaHTxC.js +0 -1
- package/client/dist/assets/jobs-DM4BDPdg.js +0 -1
- package/client/dist/assets/jobs-Da5OkZmf2.js +0 -1
- package/client/dist/assets/jobs-JJdnuQ03.js +0 -1
- package/client/dist/assets/jobs-SI34ML8I.js +0 -1
- package/client/dist/assets/loops-BR4FmOv12.js +0 -1
- package/client/dist/assets/loops-BgX_uudn.js +0 -1
- package/client/dist/assets/loops-Bpl2j2LP.js +0 -1
- package/client/dist/assets/loops-CQuuMlyZ.js +0 -1
- package/client/dist/assets/loops-DW8hSMdS2.js +0 -1
- package/client/dist/assets/loops-Q2muu8hW2.js +0 -1
- package/client/dist/assets/loops-q7CNDvfK.js +0 -1
- package/client/dist/assets/settings-CY8udi0e.js +0 -1
- package/client/dist/assets/setup-CNMdCHHt2.js +0 -1
- package/client/dist/assets/setup-Cag4XrbL2.js +0 -1
- package/client/dist/assets/setup-D9IHGoWU.js +0 -1
- package/client/dist/assets/setup-Dg6Ba3JT.js +0 -1
- package/client/dist/assets/setup-DyK36RIW.js +0 -1
- package/client/dist/assets/setup-G4ZvDKxX.js +0 -1
- package/client/dist/assets/setup-aTlGxuwi2.js +0 -1
- package/client/dist/assets/setup-kWsoAeHQ.js +0 -1
- package/client/dist/assets/specs-BFSUPa122.js +0 -1
- package/client/dist/assets/specs-BMzip1WY2.js +0 -1
- package/client/dist/assets/specs-BYeAbIEy.js +0 -1
- package/client/dist/assets/specs-C-mtLcXw.js +0 -1
- package/client/dist/assets/specs-CAzpvADd2.js +0 -1
- package/client/dist/assets/specs-CyRIw_IR.js +0 -1
- package/client/dist/assets/specs-DMm7gB_l.js +0 -1
- package/client/dist/assets/specs-DuottM0Z.js +0 -1
- /package/client/dist/assets/{abap-CpHUwCVK.js → abap-D0E4FfVW.js} +0 -0
- /package/client/dist/assets/{activity-DemHQS7l.js → activity--iN4Ad2R2.js} +0 -0
- /package/client/dist/assets/{activity-B_71BWg3.js → activity-6hM_ZSg9.js} +0 -0
- /package/client/dist/assets/{activity-DHv2V5Oi.js → activity-BZNfOdiS.js} +0 -0
- /package/client/dist/assets/{activity-D0rfjQzT2.js → activity-BuVo5sPB.js} +0 -0
- /package/client/dist/assets/{activity-BpTTj_PH.js → activity-CIOLxGvh.js} +0 -0
- /package/client/dist/assets/{activity-D2e62vbV2.js → activity-D2r2h3SE2.js} +0 -0
- /package/client/dist/assets/{activity-Ch-wbr0C2.js → activity-DtxrAUMo2.js} +0 -0
- /package/client/dist/assets/{addon-image-Ba-TY3wr.js → addon-image-CwoZj17F.js} +0 -0
- /package/client/dist/assets/{addon-ligatures-T4ARLiuu.js → addon-ligatures-CWDrED80.js} +0 -0
- /package/client/dist/assets/{addon-webgl-Cd73n8eh.js → addon-webgl-DMbGeI_u.js} +0 -0
- /package/client/dist/assets/{addspec-xwRX_Pnf.js → addspec-BMtLZLW62.js} +0 -0
- /package/client/dist/assets/{addspec-l_zU5gla.js → addspec-CP0HRuxY.js} +0 -0
- /package/client/dist/assets/{addspec-Dio-H5z0.js → addspec-CRuvWn8d.js} +0 -0
- /package/client/dist/assets/{addspec-D6L4ZteP.js → addspec-D-JLDsUV.js} +0 -0
- /package/client/dist/assets/{addspec-CrEm6Fzr2.js → addspec-DfhDbg5c.js} +0 -0
- /package/client/dist/assets/{addspec-B6Ns8KU02.js → addspec-bsNDdqRm2.js} +0 -0
- /package/client/dist/assets/{addspec-qGyH7MHy2.js → addspec-mgPOt5q02.js} +0 -0
- /package/client/dist/assets/{agents-OzxCLVW1.js → agents-78bTZGZh.js} +0 -0
- /package/client/dist/assets/{agents-hv3sqmPm2.js → agents-BLhWCmDS2.js} +0 -0
- /package/client/dist/assets/{agents-CHgCudUV.js → agents-BUdEi3-N.js} +0 -0
- /package/client/dist/assets/{agents-Dumx4JiM2.js → agents-BpoUaoW92.js} +0 -0
- /package/client/dist/assets/{agents-CnaPeSyw.js → agents-CWo-KyAB.js} +0 -0
- /package/client/dist/assets/{agents-Xh-zYHUx2.js → agents-DDtCJ5M02.js} +0 -0
- /package/client/dist/assets/{agents-DuhLEaQ_.js → agents-bvyRLczL.js} +0 -0
- /package/client/dist/assets/{agentstudio-CCthUdzR.js → agentstudio-BMQxc_bz.js} +0 -0
- /package/client/dist/assets/{agentstudio-CcH8Ckql2.js → agentstudio-COZriimI2.js} +0 -0
- /package/client/dist/assets/{agentstudio-Bo91kfUd2.js → agentstudio-CWgXG5W52.js} +0 -0
- /package/client/dist/assets/{agentstudio-VJOa_NVO.js → agentstudio-C_Jq8Tl4.js} +0 -0
- /package/client/dist/assets/{agentstudio-BIxikDf_.js → agentstudio-Dtq3dGYk.js} +0 -0
- /package/client/dist/assets/{agentstudio-Bz8cP8_c.js → agentstudio-jKMTdT70.js} +0 -0
- /package/client/dist/assets/{agentstudio-DARgYg5Z2.js → agentstudio-sI27TpBu2.js} +0 -0
- /package/client/dist/assets/{aiedit-5ZXN4cep2.js → aiedit-6CHdb_iv2.js} +0 -0
- /package/client/dist/assets/{aiedit-B7gAJZVC.js → aiedit-B03pD_Na.js} +0 -0
- /package/client/dist/assets/{aiedit-D92V-kUW.js → aiedit-BtRqRxML.js} +0 -0
- /package/client/dist/assets/{aiedit-D9ualLVJ.js → aiedit-eMN4eQPF.js} +0 -0
- /package/client/dist/assets/{aiedit-h48tJU0V2.js → aiedit-hknZlly82.js} +0 -0
- /package/client/dist/assets/{aiedit-xkA_mR2a2.js → aiedit-igmw-ZoZ2.js} +0 -0
- /package/client/dist/assets/{aiedit-7B2dvCv-.js → aiedit-pc5JDUq1.js} +0 -0
- /package/client/dist/assets/{analytics-slx4X1mu2.js → analytics-BWMUZ2Pq2.js} +0 -0
- /package/client/dist/assets/{analytics-uRNP6yAJ.js → analytics-Bj-SmKHa.js} +0 -0
- /package/client/dist/assets/{analytics-WF1I49ln.js → analytics-C5dpiS0o.js} +0 -0
- /package/client/dist/assets/{analytics-CBvaxOId.js → analytics-CCprAqk3.js} +0 -0
- /package/client/dist/assets/{analytics-BakymH7Z2.js → analytics-CR1TJqUi2.js} +0 -0
- /package/client/dist/assets/{analytics-B7bPj6u_2.js → analytics-DfNdXR0y2.js} +0 -0
- /package/client/dist/assets/{analytics-DZ74aQ54.js → analytics-rmHuJv0V.js} +0 -0
- /package/client/dist/assets/{apex-DlD7oJX6.js → apex-D_X_8J4d.js} +0 -0
- /package/client/dist/assets/{atom-one-dark-BrRN8wBy.js → atom-one-dark-BMDPFwRZ.js} +0 -0
- /package/client/dist/assets/{attachments-C11tOKZ_.js → attachments-BgBNSqQd.js} +0 -0
- /package/client/dist/assets/{attachments-Bnbyj2PN.js → attachments-BjyMmrwE.js} +0 -0
- /package/client/dist/assets/{attachments-CIeLa8l12.js → attachments-C9GTTJsx2.js} +0 -0
- /package/client/dist/assets/{attachments-DslHfa-L.js → attachments-DCZOL1RU.js} +0 -0
- /package/client/dist/assets/{attachments-C-gyrCOb.js → attachments-DL-bPy9E.js} +0 -0
- /package/client/dist/assets/{attachments-Cxrs0pyL2.js → attachments-DPCmkFZu2.js} +0 -0
- /package/client/dist/assets/{attachments-TTPsc0a52.js → attachments-rNn1ekRy2.js} +0 -0
- /package/client/dist/assets/{azcli-CmXFAbc-.js → azcli-PZLnZ3jH.js} +0 -0
- /package/client/dist/assets/{bat-DdNJq4hH.js → bat-KlBOxpO4.js} +0 -0
- /package/client/dist/assets/{bicep-Bppz7WOA.js → bicep-CgG9oF3V.js} +0 -0
- /package/client/dist/assets/{cameligo-0MRMdSmg.js → cameligo-6R45j6Ph.js} +0 -0
- /package/client/dist/assets/{chat-BvHrebKC2.js → chat-BgL3zv6x2.js} +0 -0
- /package/client/dist/assets/{chat-CZyiLJvQ.js → chat-Bh3NdgJs.js} +0 -0
- /package/client/dist/assets/{chat-DKYP7NnC.js → chat-Bom6bqK3.js} +0 -0
- /package/client/dist/assets/{chat-5mdg_YIc2.js → chat-DdwZjT8K2.js} +0 -0
- /package/client/dist/assets/{chat-wkTIy9rX.js → chat-Dnwg-NpQ.js} +0 -0
- /package/client/dist/assets/{chat-BpYxnkr4.js → chat-DsbwJhus.js} +0 -0
- /package/client/dist/assets/{chat-BGax2nV62.js → chat-vylxqR0P2.js} +0 -0
- /package/client/dist/assets/{clojure-B5dKj863.js → clojure-CLAAMO7J.js} +0 -0
- /package/client/dist/assets/{clsx-1dnHRn8W.js → clsx-CNmW0Nip.js} +0 -0
- /package/client/dist/assets/{coffee-DSbWjzk7.js → coffee-AruSygo-.js} +0 -0
- /package/client/dist/assets/{commands-uz_uKT242.js → commands-C4Y3C-PF2.js} +0 -0
- /package/client/dist/assets/{commands-Bb7MnPqn2.js → commands-CSDs9q_2.js} +0 -0
- /package/client/dist/assets/{commands-C_7zZwJf.js → commands-DkU0qliq.js} +0 -0
- /package/client/dist/assets/{commands-D_6B8lfU.js → commands-JWMfGDmr.js} +0 -0
- /package/client/dist/assets/{commands-DBc5llLi2.js → commands-RHOchN4n2.js} +0 -0
- /package/client/dist/assets/{commands-CQkdthjF.js → commands-u-4eEHCN.js} +0 -0
- /package/client/dist/assets/{commands-DhZNhSbl.js → commands-xHDDGfcP2.js} +0 -0
- /package/client/dist/assets/{cpp-SBF8SAh9.js → cpp-DEE5r4Pw.js} +0 -0
- /package/client/dist/assets/{csharp-Lzuq_1t-.js → csharp-BVXJUvbK.js} +0 -0
- /package/client/dist/assets/{csp-BEzxZqi1.js → csp-cXOF0JoV.js} +0 -0
- /package/client/dist/assets/{css-C3D3PKln.js → css-C_zQuAoy.js} +0 -0
- /package/client/dist/assets/{cypher-CQ3dEPmv.js → cypher-t95m_Q-O.js} +0 -0
- /package/client/dist/assets/{dart-DCPmxolI.js → dart-B4r1Tg-e.js} +0 -0
- /package/client/dist/assets/{dockerfile-B_2_aaTO.js → dockerfile-6mt7zHQw.js} +0 -0
- /package/client/dist/assets/{ecl-rADUeXsV.js → ecl-DEY_Fz_Q.js} +0 -0
- /package/client/dist/assets/{editor.api2-T7u8kQWG.js → editor.api2-C3B0tp2x.js} +0 -0
- /package/client/dist/assets/{elixir-DOd-TuJO.js → elixir-R6-q1c5t.js} +0 -0
- /package/client/dist/assets/{explore-BHEhNekP2.js → explore-B7fblXBb2.js} +0 -0
- /package/client/dist/assets/{explore-DAsroA482.js → explore-BHtEpoNN2.js} +0 -0
- /package/client/dist/assets/{explore-UwHHj2ux.js → explore-C0k8HrkN.js} +0 -0
- /package/client/dist/assets/{explore-DaXiW9-6.js → explore-CNBzrEPS.js} +0 -0
- /package/client/dist/assets/{explore-CWlAXx0f2.js → explore-D_mWBYCS2.js} +0 -0
- /package/client/dist/assets/{explore-DG1CtYqT.js → explore-Dahc1lOx.js} +0 -0
- /package/client/dist/assets/{explore-DMSGAnhK.js → explore-UvW1jEMa.js} +0 -0
- /package/client/dist/assets/{flow9-Bf7zg_j0.js → flow9-CNQvHBOt.js} +0 -0
- /package/client/dist/assets/{format-command-BHymDa4r.js → format-command-CuWuRvka.js} +0 -0
- /package/client/dist/assets/{fsharp-BqROZjbA.js → fsharp-vPZkFXwv.js} +0 -0
- /package/client/dist/assets/{go-oQTP5uLe.js → go-KUzBMYJ_.js} +0 -0
- /package/client/dist/assets/{graphql-CSHfTU3q.js → graphql-C3W0rCsD.js} +0 -0
- /package/client/dist/assets/{hcl-CeG-RoFJ.js → hcl-BOOMFSNX.js} +0 -0
- /package/client/dist/assets/{ini-B2Dv4ohc.js → ini-CFat1WJr.js} +0 -0
- /package/client/dist/assets/{integrations-CAF21FbQ.js → integrations-4KZnYECp.js} +0 -0
- /package/client/dist/assets/{integrations-CHCgning2.js → integrations-7W266oqF2.js} +0 -0
- /package/client/dist/assets/{integrations-B-JVE1_D.js → integrations-BNuauK3o.js} +0 -0
- /package/client/dist/assets/{integrations-BAujIDoE.js → integrations-CHy8tnpV.js} +0 -0
- /package/client/dist/assets/{integrations-DS5FFMes.js → integrations-Cl_wD5AI.js} +0 -0
- /package/client/dist/assets/{integrations-axZN4--n2.js → integrations-Cy8nZ_dv2.js} +0 -0
- /package/client/dist/assets/{integrations-CtsOpq2D2.js → integrations-zMqY4VU12.js} +0 -0
- /package/client/dist/assets/{java-aUDDeufb.js → java-Dee-CNAM.js} +0 -0
- /package/client/dist/assets/{julia-C5LbruO5.js → julia-CGNlLYuU.js} +0 -0
- /package/client/dist/assets/{kotlin-C6mOuSKk.js → kotlin-CY7lhknJ.js} +0 -0
- /package/client/dist/assets/{less-D5qC3caW.js → less-D0KN7hfJ.js} +0 -0
- /package/client/dist/assets/{lexon-Dr2La-fj.js → lexon-CuRJufPs.js} +0 -0
- /package/client/dist/assets/{lua-Zy6u5z6Z.js → lua-DHvH62Zf.js} +0 -0
- /package/client/dist/assets/{m3-C7XHeDz_.js → m3-tlthQ8Fo.js} +0 -0
- /package/client/dist/assets/{markdown-PiF7r-2h.js → markdown-Dbx1LgUZ.js} +0 -0
- /package/client/dist/assets/{mcp-B_nWlxZa2.js → mcp-CjVKXAhD2.js} +0 -0
- /package/client/dist/assets/{mcp-B8omp_Cd.js → mcp-Dcl-XxkR.js} +0 -0
- /package/client/dist/assets/{mcp-DTCCrYHz2.js → mcp-DtbxuH3V2.js} +0 -0
- /package/client/dist/assets/{mcp-DytBbASZ.js → mcp-H-gnQUdN.js} +0 -0
- /package/client/dist/assets/{mcp-D_oPS6Zc.js → mcp-N1nzp8oL.js} +0 -0
- /package/client/dist/assets/{mcp-Cb2jtHP72.js → mcp-XJNRfxVp2.js} +0 -0
- /package/client/dist/assets/{mcp-DPqm2C8-.js → mcp-sRmWE8WJ.js} +0 -0
- /package/client/dist/assets/{mips-nn07GiyE.js → mips-D_O3IUz_.js} +0 -0
- /package/client/dist/assets/{msdax-DaKFVMST.js → msdax-C_ZmCnRt.js} +0 -0
- /package/client/dist/assets/{mysql-C6d6xrbU.js → mysql-C-dCEYSX.js} +0 -0
- /package/client/dist/assets/{nav-Cibp2KWF.js → nav-40HzpIFb.js} +0 -0
- /package/client/dist/assets/{nav-DtTnF9xd.js → nav-8yPhBn00.js} +0 -0
- /package/client/dist/assets/{nav-Danf5sRf2.js → nav-B6PkGfTk2.js} +0 -0
- /package/client/dist/assets/{nav-Bqhyfbcj2.js → nav-BHqMLrS72.js} +0 -0
- /package/client/dist/assets/{nav-CQb9y1km.js → nav-CGy4yx3C.js} +0 -0
- /package/client/dist/assets/{nav-BAsYcqdw2.js → nav-CXEDcRdv2.js} +0 -0
- /package/client/dist/assets/{nav-BRrNlZkr.js → nav-EI_OhEAo.js} +0 -0
- /package/client/dist/assets/{objective-c-B6KMtI-k.js → objective-c-DZY9Aqxd.js} +0 -0
- /package/client/dist/assets/{pascal-DYr8MPE7.js → pascal-BVHLXoor.js} +0 -0
- /package/client/dist/assets/{pascaligo-B3pd-jJ_.js → pascaligo-XdG_6u3k.js} +0 -0
- /package/client/dist/assets/{perl-z2xUzoaL.js → perl-b9QV0BcD.js} +0 -0
- /package/client/dist/assets/{pgsql-DUvT-09-.js → pgsql-Du5FDOgT.js} +0 -0
- /package/client/dist/assets/{php-CGyOmJfy.js → php-WJD0z2Z_.js} +0 -0
- /package/client/dist/assets/{pla-CMqgvyD0.js → pla-CbciTf2w.js} +0 -0
- /package/client/dist/assets/{postiats-Dx5LUn4Z.js → postiats-C1QxmvVq.js} +0 -0
- /package/client/dist/assets/{powerquery-DazYxvJ6.js → powerquery-BEYDhPLZ.js} +0 -0
- /package/client/dist/assets/{powershell-B3nwlDka.js → powershell-CfaYw4XL.js} +0 -0
- /package/client/dist/assets/{protobuf-BGuu2u2s.js → protobuf-pwZEDOYa.js} +0 -0
- /package/client/dist/assets/{pug-Dbte1MXA.js → pug-5ftqSPVe.js} +0 -0
- /package/client/dist/assets/{qsharp-DJLwBOvG.js → qsharp-uI6qZMq4.js} +0 -0
- /package/client/dist/assets/{r-DmGBRSHj.js → r-BK54P1EG.js} +0 -0
- /package/client/dist/assets/{redis-VvUYn0a4.js → redis-DI0yd7kN.js} +0 -0
- /package/client/dist/assets/{redshift-6GdDrxg3.js → redshift-Dov26eyI.js} +0 -0
- /package/client/dist/assets/{restructuredtext-CfAB8aRU.js → restructuredtext-QqJ_1dC-.js} +0 -0
- /package/client/dist/assets/{ruby-CIYK6MXY.js → ruby-5WjveeVb.js} +0 -0
- /package/client/dist/assets/{rust-CTHZfjj9.js → rust-BzVSfqFH.js} +0 -0
- /package/client/dist/assets/{sb-CkKTdkz_.js → sb-DMIUfT-3.js} +0 -0
- /package/client/dist/assets/{scala-Bx-Wr9TM.js → scala-CSKA7lqt.js} +0 -0
- /package/client/dist/assets/{scheme-Dcfi6f83.js → scheme-CojOP2Qc.js} +0 -0
- /package/client/dist/assets/{scss-ByL-7PFQ.js → scss-DoBZGJG6.js} +0 -0
- /package/client/dist/assets/{shell-Csnb9Yqd.js → shell-YOaE4udl.js} +0 -0
- /package/client/dist/assets/{solidity-Dbw5-0QP.js → solidity-l3jSyVLu.js} +0 -0
- /package/client/dist/assets/{sophia-ZQ3saZQx.js → sophia-BhSGTaQJ.js} +0 -0
- /package/client/dist/assets/{sparql-BEtOel8u.js → sparql-qhk6QD9w.js} +0 -0
- /package/client/dist/assets/{sql-DGPDbzB7.js → sql-DoO3y21-.js} +0 -0
- /package/client/dist/assets/{st-GeW2MOgh.js → st-ChZAY8oG.js} +0 -0
- /package/client/dist/assets/{swift-BVYTN8jq.js → swift-D290Tr7_.js} +0 -0
- /package/client/dist/assets/{systemverilog-Deg2a8Lr.js → systemverilog-DsxzgJ-o.js} +0 -0
- /package/client/dist/assets/{tcl-6DnLmROF.js → tcl-BKDUHAAR.js} +0 -0
- /package/client/dist/assets/{terminal-CDiOAmBd2.js → terminal-BRm03iFA2.js} +0 -0
- /package/client/dist/assets/{terminal-CJN-mQMc.js → terminal-De2Brd23.js} +0 -0
- /package/client/dist/assets/{terminal-CYB4TiAd.js → terminal-DxQWCqSD2.js} +0 -0
- /package/client/dist/assets/{terminal-DsaDTq5N2.js → terminal-WSAvHXoU.js} +0 -0
- /package/client/dist/assets/{terminal-DTQ_dPqi2.js → terminal-Z7KsDM_n.js} +0 -0
- /package/client/dist/assets/{terminal-58ReNaya.js → terminal-cqfd3EDV.js} +0 -0
- /package/client/dist/assets/{terminal-DawP8xNL.js → terminal-xGbCZJHg.js} +0 -0
- /package/client/dist/assets/{tickets-DoRTUYRT.js → tickets-B7zT4IRf.js} +0 -0
- /package/client/dist/assets/{tickets-DBfFePwk2.js → tickets-BoXom7l8.js} +0 -0
- /package/client/dist/assets/{tickets-DvohTziT2.js → tickets-C3b8cHhd2.js} +0 -0
- /package/client/dist/assets/{tickets-Da15iaRw.js → tickets-CFXnJsYF.js} +0 -0
- /package/client/dist/assets/{tickets-CujsZvkf.js → tickets-CWYFvx1W2.js} +0 -0
- /package/client/dist/assets/{tickets-Df6pee-O2.js → tickets-DTHo9c3C.js} +0 -0
- /package/client/dist/assets/{tickets-CNvIilmP.js → tickets-SuX_HkK4.js} +0 -0
- /package/client/dist/assets/{twig-XbbXW9Yz.js → twig-UpZQaM8G.js} +0 -0
- /package/client/dist/assets/{typespec-CRlV8GhI.js → typespec-DzaKvN8i.js} +0 -0
- /package/client/dist/assets/{vb-BHE2izPH.js → vb-CZpbb7tk.js} +0 -0
- /package/client/dist/assets/{wgsl-Bf5vkfmY.js → wgsl-CNt3OIvl.js} +0 -0
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.repoDefaultBranch = repoDefaultBranch;
|
|
4
|
+
exports.currentBranch = currentBranch;
|
|
5
|
+
exports.isValidBranchName = isValidBranchName;
|
|
6
|
+
exports.resolveIntegrationBranch = resolveIntegrationBranch;
|
|
7
|
+
/** The repo's default branch via `origin/HEAD` → the bare branch name, or null. */
|
|
8
|
+
async function repoDefaultBranch(git, repoDir) {
|
|
9
|
+
const r = await git.run(['symbolic-ref', '--quiet', 'refs/remotes/origin/HEAD'], repoDir);
|
|
10
|
+
if (r.code === 0) {
|
|
11
|
+
const ref = r.stdout.trim(); // e.g. refs/remotes/origin/main
|
|
12
|
+
const m = ref.match(/^refs\/remotes\/origin\/(.+)$/);
|
|
13
|
+
if (m && m[1])
|
|
14
|
+
return m[1];
|
|
15
|
+
}
|
|
16
|
+
return null;
|
|
17
|
+
}
|
|
18
|
+
/** The currently checked-out branch, or null when detached (`HEAD`) / unresolvable. */
|
|
19
|
+
async function currentBranch(git, repoDir) {
|
|
20
|
+
const r = await git.run(['rev-parse', '--abbrev-ref', 'HEAD'], repoDir);
|
|
21
|
+
if (r.code === 0) {
|
|
22
|
+
const b = r.stdout.trim();
|
|
23
|
+
if (b && b !== 'HEAD')
|
|
24
|
+
return b; // 'HEAD' == detached
|
|
25
|
+
}
|
|
26
|
+
return null;
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* Conservative git branch-name validator. The integration branch flows into
|
|
30
|
+
* `git worktree add -b <branch> <path> <base>` as `<base>`, so a value starting
|
|
31
|
+
* with `-` or containing whitespace/control chars would be an argument-injection
|
|
32
|
+
* vector. We allow only a safe subset (letters, digits, `._/-`), reject a leading
|
|
33
|
+
* `-`, `..`, a trailing `/` or `.lock`, and cap the length. This is stricter than
|
|
34
|
+
* git's own rules on purpose — it is an input-boundary guard, not a git parser.
|
|
35
|
+
*/
|
|
36
|
+
function isValidBranchName(name) {
|
|
37
|
+
if (typeof name !== 'string')
|
|
38
|
+
return false;
|
|
39
|
+
const n = name.trim();
|
|
40
|
+
if (!n || n.length > 255)
|
|
41
|
+
return false;
|
|
42
|
+
if (n.startsWith('-') || n.startsWith('/') || n.endsWith('/'))
|
|
43
|
+
return false;
|
|
44
|
+
if (n.includes('..') || n.includes('//') || n.endsWith('.lock'))
|
|
45
|
+
return false;
|
|
46
|
+
return /^[A-Za-z0-9._/-]+$/.test(n);
|
|
47
|
+
}
|
|
48
|
+
async function resolveIntegrationBranch(git, input) {
|
|
49
|
+
const explicit = input.explicit?.trim();
|
|
50
|
+
if (explicit)
|
|
51
|
+
return { branch: explicit, source: 'explicit' };
|
|
52
|
+
const setting = input.projectSetting?.trim();
|
|
53
|
+
if (setting)
|
|
54
|
+
return { branch: setting, source: 'project-setting' };
|
|
55
|
+
const def = await repoDefaultBranch(git, input.repoDir);
|
|
56
|
+
if (def)
|
|
57
|
+
return { branch: def, source: 'repo-default' };
|
|
58
|
+
const cur = await currentBranch(git, input.repoDir);
|
|
59
|
+
if (cur)
|
|
60
|
+
return { branch: cur, source: 'head-fallback' };
|
|
61
|
+
// Detached / no remote / unresolvable → the literal HEAD (legacy-identical).
|
|
62
|
+
return { branch: 'HEAD', source: 'head-fallback' };
|
|
63
|
+
}
|
|
@@ -1,28 +1,83 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
// Interactive
|
|
2
|
+
// Interactive job sessions (resident persistent-stdin transport).
|
|
3
3
|
//
|
|
4
|
-
// A standard
|
|
5
|
-
//
|
|
6
|
-
//
|
|
7
|
-
//
|
|
4
|
+
// A standard job spawns `claude -p <prompt>` once and settles when the child
|
|
5
|
+
// closes. An INTERACTIVE job instead keeps ONE `claude -p --input-format
|
|
6
|
+
// stream-json` child resident across many user turns (the same transport
|
|
7
|
+
// ExploreStdinSessions uses for Explore chat): each user prompt is a
|
|
8
8
|
// newline-delimited stream-json message written to stdin, the agent works, and
|
|
9
|
-
// the turn ends on a `result` event WITHOUT killing the child.
|
|
10
|
-
//
|
|
11
|
-
//
|
|
12
|
-
//
|
|
13
|
-
//
|
|
9
|
+
// the turn ends on a `result` event WITHOUT killing the child. Two settle modes:
|
|
10
|
+
//
|
|
11
|
+
// 'finalize' (ultracode) — the session idles between turns until the user
|
|
12
|
+
// explicitly finalizes (SIGTERM), at which point QueueManager flips the job
|
|
13
|
+
// to a terminal status. Byte-identical to the original interactive-ultracode
|
|
14
|
+
// behaviour.
|
|
15
|
+
// 'auto' (every other command — the default-interactive flip) — the session
|
|
16
|
+
// settles ITSELF the moment it goes QUIESCENT: a turn `result` arrived and
|
|
17
|
+
// nothing is queued behind it. A user message that lands mid-stream still
|
|
18
|
+
// queues and extends the session ("ask questions / steer, but the job tends
|
|
19
|
+
// to finish its plan"); an explicit finalize() still settles immediately;
|
|
20
|
+
// a child that produces NO output for `zombieTimeoutMs` is treated as
|
|
21
|
+
// wedged and settles 'crashed' (mirrors the one-shot zombie timeout).
|
|
22
|
+
//
|
|
23
|
+
// Every turn's REAL token usage is summed into the job row as it completes, so
|
|
24
|
+
// the live Job Detail totals are honest (never an estimate) and the settled job
|
|
25
|
+
// carries the full conversation's spend.
|
|
14
26
|
//
|
|
15
27
|
// This module owns the transport + per-turn streaming/persistence/accounting.
|
|
16
28
|
// QueueManager owns spawn-arg construction and the terminal settle (slot release,
|
|
17
29
|
// rail/ticket completion, ai_invocations) via the onSettle callback.
|
|
18
30
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
19
|
-
exports.InteractiveJobSession = void 0;
|
|
31
|
+
exports.InteractiveJobSession = exports.UNKNOWN_COMMAND_RE = void 0;
|
|
32
|
+
exports.isModelWorkEvent = isModelWorkEvent;
|
|
33
|
+
exports.isZeroWorkSettle = isZeroWorkSettle;
|
|
20
34
|
const node_readline_1 = require("node:readline");
|
|
21
35
|
const cli_prompt_1 = require("./util/cli-prompt");
|
|
22
36
|
const explore_stdin_session_1 = require("./explore-stdin-session");
|
|
23
37
|
const result_event_1 = require("./result-event");
|
|
24
38
|
const db_1 = require("./db");
|
|
25
39
|
const stream_display_1 = require("./util/stream-display");
|
|
40
|
+
/** The claude CLI's synthetic no-op marker: the result text of a frame emitted
|
|
41
|
+
* for a command the CLI could not resolve (nothing was sent to the model). */
|
|
42
|
+
exports.UNKNOWN_COMMAND_RE = /^Unknown command:/;
|
|
43
|
+
/** True when an adapter event indicates the model actually did work. `result`
|
|
44
|
+
* frames do NOT count (the synthetic no-op frame is itself a result), nor do
|
|
45
|
+
* session-started/error frames — only assistant-derived events do. */
|
|
46
|
+
function isModelWorkEvent(ev) {
|
|
47
|
+
if (ev.kind === 'text-delta' || ev.kind === 'tool-use')
|
|
48
|
+
return true;
|
|
49
|
+
// A claude `assistant` frame with no text/tool block still surfaces as
|
|
50
|
+
// {kind:'other', type:'assistant'} (and usually carries a usage snapshot).
|
|
51
|
+
if (ev.kind === 'other' && ev.type === 'assistant')
|
|
52
|
+
return true;
|
|
53
|
+
if (ev.kind === 'result' || ev.kind === 'session-started' || ev.kind === 'error')
|
|
54
|
+
return false;
|
|
55
|
+
// Any other event carrying a per-assistant-event usage snapshot counts.
|
|
56
|
+
const usage = ev.usage;
|
|
57
|
+
return usage != null && typeof usage === 'object';
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* A settle is ZERO-WORK when the session/step consumed no model work across
|
|
61
|
+
* its WHOLE life: accumulated `num_turns === 0` AND no assistant events AND
|
|
62
|
+
* zero usage tokens — all signals, exactly what the synthetic frame carries.
|
|
63
|
+
* Belt-and-braces: a final result text matching `Unknown command:` marks
|
|
64
|
+
* zero-work even when the numeric accounting drifted, PROVIDED no assistant
|
|
65
|
+
* event was ever seen — a multi-turn session that did real work earlier and
|
|
66
|
+
* merely ended on a synthetic frame (e.g. the user sent `/help` late) is NOT
|
|
67
|
+
* zero-work, because real turns always emit assistant events.
|
|
68
|
+
*/
|
|
69
|
+
function isZeroWorkSettle(signals) {
|
|
70
|
+
if (signals.sawAssistantEvent)
|
|
71
|
+
return false;
|
|
72
|
+
if (signals.resultText !== null && exports.UNKNOWN_COMMAND_RE.test(signals.resultText.trim())) {
|
|
73
|
+
return true;
|
|
74
|
+
}
|
|
75
|
+
return (signals.numTurns === 0 &&
|
|
76
|
+
signals.tokensIn === 0 &&
|
|
77
|
+
signals.tokensOut === 0 &&
|
|
78
|
+
signals.tokensCacheRead === 0 &&
|
|
79
|
+
signals.tokensCacheCreate === 0);
|
|
80
|
+
}
|
|
26
81
|
function zeroUsage() {
|
|
27
82
|
return {
|
|
28
83
|
tokens_in: 0,
|
|
@@ -42,6 +97,9 @@ class InteractiveJobSession {
|
|
|
42
97
|
_adapter;
|
|
43
98
|
_broadcast;
|
|
44
99
|
_onSettle;
|
|
100
|
+
_settleMode;
|
|
101
|
+
_zombieTimeoutMs;
|
|
102
|
+
_nextEventSeq;
|
|
45
103
|
_spawn;
|
|
46
104
|
_child = null;
|
|
47
105
|
_stdoutReader = null;
|
|
@@ -65,6 +123,13 @@ class InteractiveJobSession {
|
|
|
65
123
|
_accum = zeroUsage();
|
|
66
124
|
_model = null;
|
|
67
125
|
_sessionId = null;
|
|
126
|
+
/** Last completed turn's `result` payload (output chaining — see SettleInfo). */
|
|
127
|
+
_resultText = null;
|
|
128
|
+
/** True once ANY assistant-derived event was observed across the whole
|
|
129
|
+
* session life (isModelWorkEvent). Feeds the zero-work settle predicate:
|
|
130
|
+
* real turns always emit assistant events; the synthetic `Unknown command:`
|
|
131
|
+
* frame never does. */
|
|
132
|
+
_sawModelWork = false;
|
|
68
133
|
/** Previous turn's CUMULATIVE `total_cost_usd` / `num_turns` reading. The
|
|
69
134
|
* persistent stream-json transport reports both cumulatively per turn, so we
|
|
70
135
|
* accumulate deltas against these baselines (HIGH-2). Reset to 0 when the
|
|
@@ -84,6 +149,8 @@ class InteractiveJobSession {
|
|
|
84
149
|
_settled = false;
|
|
85
150
|
_disposed = false;
|
|
86
151
|
_killTimer = null;
|
|
152
|
+
/** Auto-mode wedge detector (see InteractiveJobSessionDeps.zombieTimeoutMs). */
|
|
153
|
+
_zombieTimer = null;
|
|
87
154
|
constructor(deps) {
|
|
88
155
|
this._jobId = deps.jobId;
|
|
89
156
|
this._projectId = deps.projectId;
|
|
@@ -91,6 +158,9 @@ class InteractiveJobSession {
|
|
|
91
158
|
this._adapter = deps.adapter;
|
|
92
159
|
this._broadcast = deps.broadcast;
|
|
93
160
|
this._onSettle = deps.onSettle;
|
|
161
|
+
this._settleMode = deps.settleMode ?? 'finalize';
|
|
162
|
+
this._zombieTimeoutMs = deps.zombieTimeoutMs ?? 0;
|
|
163
|
+
this._nextEventSeq = deps.nextEventSeq ?? null;
|
|
94
164
|
this._spawn = deps.spawn ?? cli_prompt_1.spawnAiCli;
|
|
95
165
|
}
|
|
96
166
|
/** Spawn the resident child and run the first turn (the ultracode prompt). */
|
|
@@ -116,6 +186,15 @@ class InteractiveJobSession {
|
|
|
116
186
|
this._stderrReader.on('line', (line) => this._handleStderrLine(line));
|
|
117
187
|
}
|
|
118
188
|
child.on('close', (code) => this._handleClose(code));
|
|
189
|
+
// Auto-mode wedge detector: reset on ANY raw output ('data' — synchronous
|
|
190
|
+
// under fake timers, mirroring the one-shot path's zombie timer) and fire
|
|
191
|
+
// when the child stays silent for the whole budget. Finalize mode never
|
|
192
|
+
// arms a timer (idling awaiting the human is by design).
|
|
193
|
+
if (this._settleMode === 'auto' && this._zombieTimeoutMs > 0) {
|
|
194
|
+
child.stdout?.on('data', () => this._resetZombieTimer());
|
|
195
|
+
child.stderr?.on('data', () => this._resetZombieTimer());
|
|
196
|
+
this._resetZombieTimer();
|
|
197
|
+
}
|
|
119
198
|
// Fresh child ⇒ fresh cumulative baselines (HIGH-2). Field initializers
|
|
120
199
|
// already zero these, but reset explicitly so a future respawn is safe.
|
|
121
200
|
this._baselineCost = 0;
|
|
@@ -167,6 +246,12 @@ class InteractiveJobSession {
|
|
|
167
246
|
isStreaming() {
|
|
168
247
|
return this._streaming;
|
|
169
248
|
}
|
|
249
|
+
/** The session's settle mode ('finalize' = idles awaiting an explicit human
|
|
250
|
+
* finalize; 'auto' = settles itself on quiescence). Surfaced on GET /jobs/:id
|
|
251
|
+
* so the client can phrase the composer truthfully (Finalize vs wrap-up). */
|
|
252
|
+
getSettleMode() {
|
|
253
|
+
return this._settleMode;
|
|
254
|
+
}
|
|
170
255
|
getTotals() {
|
|
171
256
|
return { ...this._accum };
|
|
172
257
|
}
|
|
@@ -176,6 +261,7 @@ class InteractiveJobSession {
|
|
|
176
261
|
if (this._finalizing || this._settled)
|
|
177
262
|
return;
|
|
178
263
|
this._finalizing = true;
|
|
264
|
+
this._clearZombieTimer();
|
|
179
265
|
const child = this._child;
|
|
180
266
|
if (!child || child.killed || !child.pid) {
|
|
181
267
|
this._settle('finalized');
|
|
@@ -198,12 +284,47 @@ class InteractiveJobSession {
|
|
|
198
284
|
this._settle('finalized');
|
|
199
285
|
}, FINALIZE_KILL_GRACE_MS);
|
|
200
286
|
}
|
|
287
|
+
/** Programmatic teardown that SETTLES 'crashed' after folding any in-flight
|
|
288
|
+
* turn (loop step timeout / run cancel). Unlike dispose(), the onSettle
|
|
289
|
+
* callback fires — an owner AWAITING the settle (the loop engine) is
|
|
290
|
+
* released with the partial work accounted. Unlike finalize(), the session
|
|
291
|
+
* is not counted as a clean completion. No-op when already settled/disposed
|
|
292
|
+
* or when a finalize is in flight (its own settle wins — this avoids a
|
|
293
|
+
* double-kill race between the two teardown paths). */
|
|
294
|
+
abort(note) {
|
|
295
|
+
if (this._settled || this._disposed || this._finalizing)
|
|
296
|
+
return;
|
|
297
|
+
if (note) {
|
|
298
|
+
this._persistLog('stderr', note);
|
|
299
|
+
this._emitLog('stderr', note);
|
|
300
|
+
}
|
|
301
|
+
const child = this._child;
|
|
302
|
+
try {
|
|
303
|
+
if (child && !child.killed)
|
|
304
|
+
child.kill('SIGTERM');
|
|
305
|
+
}
|
|
306
|
+
catch { /* gone */ }
|
|
307
|
+
// Escalate to SIGKILL after the grace window if the child survives SIGTERM.
|
|
308
|
+
// NOT stored in _killTimer — _settle below clears that slot, and this
|
|
309
|
+
// escalation must outlive the settle. unref'd so it never holds the process.
|
|
310
|
+
const escalate = setTimeout(() => {
|
|
311
|
+
try {
|
|
312
|
+
if (this._child && !this._child.killed)
|
|
313
|
+
this._child.kill('SIGKILL');
|
|
314
|
+
}
|
|
315
|
+
catch { /* gone */ }
|
|
316
|
+
}, FINALIZE_KILL_GRACE_MS);
|
|
317
|
+
if (typeof escalate.unref === 'function')
|
|
318
|
+
escalate.unref();
|
|
319
|
+
this._settle('crashed');
|
|
320
|
+
}
|
|
201
321
|
/** Teardown without settling (project removal / shutdown). */
|
|
202
322
|
dispose() {
|
|
203
323
|
if (this._disposed)
|
|
204
324
|
return;
|
|
205
325
|
this._disposed = true;
|
|
206
326
|
this._clearKillTimer();
|
|
327
|
+
this._clearZombieTimer();
|
|
207
328
|
this._closeReaders();
|
|
208
329
|
try {
|
|
209
330
|
if (this._child && !this._child.killed)
|
|
@@ -246,11 +367,14 @@ class InteractiveJobSession {
|
|
|
246
367
|
}
|
|
247
368
|
catch { /* plain text */ }
|
|
248
369
|
const adapterEv = this._adapter.parseStreamLine(line);
|
|
249
|
-
if (adapterEv)
|
|
370
|
+
if (adapterEv) {
|
|
250
371
|
this._turnEvents.push(adapterEv);
|
|
372
|
+
if (!this._sawModelWork && isModelWorkEvent(adapterEv))
|
|
373
|
+
this._sawModelWork = true;
|
|
374
|
+
}
|
|
251
375
|
if (parsed) {
|
|
252
376
|
const eventType = parsed.type ?? 'unknown';
|
|
253
|
-
this._persistEvent(eventType, line);
|
|
377
|
+
const seq = this._persistEvent(eventType, line);
|
|
254
378
|
this._broadcast({
|
|
255
379
|
type: 'event',
|
|
256
380
|
jobId: this._jobId,
|
|
@@ -258,7 +382,7 @@ class InteractiveJobSession {
|
|
|
258
382
|
source: 'stdout',
|
|
259
383
|
payload: line,
|
|
260
384
|
timestamp: new Date().toISOString(),
|
|
261
|
-
seq
|
|
385
|
+
seq,
|
|
262
386
|
});
|
|
263
387
|
if (eventType === 'result') {
|
|
264
388
|
this._onTurnResult(parsed);
|
|
@@ -283,7 +407,7 @@ class InteractiveJobSession {
|
|
|
283
407
|
this._persistLog('stderr', line);
|
|
284
408
|
this._emitLog('stderr', line);
|
|
285
409
|
}
|
|
286
|
-
_onTurnResult(
|
|
410
|
+
_onTurnResult(parsed) {
|
|
287
411
|
// Count a result only for the in-flight turn, exactly once (BUG-INTJOB-03).
|
|
288
412
|
// `_awaitingResult` alone is insufficient: after a turn settles, the next
|
|
289
413
|
// queued prompt re-arms `_awaitingResult`, so a stray/duplicate result for the
|
|
@@ -303,6 +427,11 @@ class InteractiveJobSession {
|
|
|
303
427
|
this._activeDurationMs += Math.max(0, Date.now() - this._turnStartMs);
|
|
304
428
|
this._turnStartMs = null;
|
|
305
429
|
}
|
|
430
|
+
// Capture the turn's result text for output chaining (mirrors the one-shot
|
|
431
|
+
// path's lastResultEvent.result). The LAST completed turn wins.
|
|
432
|
+
if (typeof parsed.result === 'string') {
|
|
433
|
+
this._resultText = parsed.result;
|
|
434
|
+
}
|
|
306
435
|
const { result: normalised } = (0, result_event_1.finaliseInvocationResult)(this._adapter, this._turnEvents, {});
|
|
307
436
|
// COST-ACCOUNTING-AUDIT HIGH-2: this ONE resident `claude -p --input-format
|
|
308
437
|
// stream-json` child reports `total_cost_usd` and `num_turns` CUMULATIVELY
|
|
@@ -375,12 +504,35 @@ class InteractiveJobSession {
|
|
|
375
504
|
}
|
|
376
505
|
});
|
|
377
506
|
}
|
|
507
|
+
else if (this._settleMode === 'auto' && !this._finalizing) {
|
|
508
|
+
// AUTO settle-mode: the turn finished with nothing queued behind it —
|
|
509
|
+
// the session is QUIESCENT, so it settles itself (reason 'finalized' →
|
|
510
|
+
// QueueManager stamps 'completed'). Deferred to a microtask so anything
|
|
511
|
+
// in the same synchronous stdout batch is observed first; the re-check
|
|
512
|
+
// keeps the session alive when a user prompt slipped in meanwhile (a
|
|
513
|
+
// queued or freshly-written turn extends the session instead).
|
|
514
|
+
queueMicrotask(() => {
|
|
515
|
+
if (this._disposed || this._settled || this._finalizing)
|
|
516
|
+
return;
|
|
517
|
+
if (this._streaming || this._pending.length > 0)
|
|
518
|
+
return;
|
|
519
|
+
this.finalize();
|
|
520
|
+
});
|
|
521
|
+
}
|
|
378
522
|
}
|
|
523
|
+
/** Draw the next event seq — from the shared allocator when the job row has
|
|
524
|
+
* other event writers (loop engine), else the private per-session counter. */
|
|
525
|
+
_takeSeq() {
|
|
526
|
+
return this._nextEventSeq ? this._nextEventSeq() : this._eventSeq++;
|
|
527
|
+
}
|
|
528
|
+
/** Persist one raw provider event. Returns the seq it was written under so
|
|
529
|
+
* the caller's WS broadcast carries the same ordinal. */
|
|
379
530
|
_persistEvent(eventType, payload) {
|
|
531
|
+
const seq = this._takeSeq();
|
|
380
532
|
if (!this._db)
|
|
381
|
-
return;
|
|
533
|
+
return seq;
|
|
382
534
|
try {
|
|
383
|
-
(0, db_1.appendEvent)(this._db, this._jobId,
|
|
535
|
+
(0, db_1.appendEvent)(this._db, this._jobId, seq, {
|
|
384
536
|
event_type: eventType,
|
|
385
537
|
source: 'stdout',
|
|
386
538
|
payload,
|
|
@@ -389,12 +541,14 @@ class InteractiveJobSession {
|
|
|
389
541
|
catch (err) {
|
|
390
542
|
console.error('[interactive-job] persist event failed:', err);
|
|
391
543
|
}
|
|
544
|
+
return seq;
|
|
392
545
|
}
|
|
393
546
|
_persistLog(source, line) {
|
|
547
|
+
const seq = this._takeSeq();
|
|
394
548
|
if (!this._db)
|
|
395
549
|
return;
|
|
396
550
|
try {
|
|
397
|
-
(0, db_1.appendEvent)(this._db, this._jobId,
|
|
551
|
+
(0, db_1.appendEvent)(this._db, this._jobId, seq, {
|
|
398
552
|
event_type: 'log',
|
|
399
553
|
source,
|
|
400
554
|
payload: JSON.stringify({ line }),
|
|
@@ -490,6 +644,37 @@ class InteractiveJobSession {
|
|
|
490
644
|
return;
|
|
491
645
|
this._settle(this._finalizing ? 'finalized' : 'crashed');
|
|
492
646
|
}
|
|
647
|
+
// ─── Auto-mode wedge detector ────────────────────────────────────────────────
|
|
648
|
+
_resetZombieTimer() {
|
|
649
|
+
if (this._zombieTimeoutMs <= 0)
|
|
650
|
+
return;
|
|
651
|
+
if (this._settled || this._disposed || this._finalizing)
|
|
652
|
+
return;
|
|
653
|
+
if (this._zombieTimer !== null)
|
|
654
|
+
clearTimeout(this._zombieTimer);
|
|
655
|
+
this._zombieTimer = setTimeout(() => {
|
|
656
|
+
this._zombieTimer = null;
|
|
657
|
+
this._onZombieTimeout();
|
|
658
|
+
}, this._zombieTimeoutMs);
|
|
659
|
+
}
|
|
660
|
+
_clearZombieTimer() {
|
|
661
|
+
if (this._zombieTimer !== null) {
|
|
662
|
+
clearTimeout(this._zombieTimer);
|
|
663
|
+
this._zombieTimer = null;
|
|
664
|
+
}
|
|
665
|
+
}
|
|
666
|
+
/** The child produced NO output for the whole zombie budget — treat it as
|
|
667
|
+
* wedged: surface a note, SIGTERM the child (best-effort SIGKILL escalation),
|
|
668
|
+
* fold the in-flight turn and settle 'crashed' (via abort). The later 'close'
|
|
669
|
+
* is a no-op (settle is idempotent). */
|
|
670
|
+
_onZombieTimeout() {
|
|
671
|
+
if (this._settled || this._disposed || this._finalizing)
|
|
672
|
+
return;
|
|
673
|
+
const timeoutSec = Math.round(this._zombieTimeoutMs / 1000);
|
|
674
|
+
const note = `[zombie-detection] Interactive job ${this._jobId} produced no output for ${timeoutSec}s — auto-terminating`;
|
|
675
|
+
console.error(note);
|
|
676
|
+
this.abort(note);
|
|
677
|
+
}
|
|
493
678
|
_settle(reason) {
|
|
494
679
|
if (this._settled)
|
|
495
680
|
return;
|
|
@@ -500,6 +685,7 @@ class InteractiveJobSession {
|
|
|
500
685
|
this._streaming = false;
|
|
501
686
|
this._awaitingResult = false;
|
|
502
687
|
this._clearKillTimer();
|
|
688
|
+
this._clearZombieTimer();
|
|
503
689
|
this._closeReaders();
|
|
504
690
|
// The child is gone — any prompts still queued (turn died without a `result`,
|
|
505
691
|
// or the user finalized mid-turn) can never run. Surface them in the
|
|
@@ -510,6 +696,26 @@ class InteractiveJobSession {
|
|
|
510
696
|
this._emitLog('stderr', note);
|
|
511
697
|
this._pending = [];
|
|
512
698
|
}
|
|
699
|
+
// Zero-work strictness: judge the WHOLE session's accumulated signals (a
|
|
700
|
+
// multi-turn session where only the LAST turn was synthetic did real work
|
|
701
|
+
// and is NOT zero-work). Owners flip a zero-work 'finalized' settle to a
|
|
702
|
+
// FAILED terminal status; surface WHY here as a visible stderr-style line
|
|
703
|
+
// (the synthetic frame's result text never reaches the log otherwise —
|
|
704
|
+
// extractDisplayText drops `result` frames).
|
|
705
|
+
const zeroWork = isZeroWorkSettle({
|
|
706
|
+
numTurns: this._accum.num_turns,
|
|
707
|
+
tokensIn: this._accum.tokens_in,
|
|
708
|
+
tokensOut: this._accum.tokens_out,
|
|
709
|
+
tokensCacheRead: this._accum.tokens_cache_read,
|
|
710
|
+
tokensCacheCreate: this._accum.tokens_cache_create,
|
|
711
|
+
sawAssistantEvent: this._sawModelWork,
|
|
712
|
+
resultText: this._resultText,
|
|
713
|
+
});
|
|
714
|
+
if (zeroWork && reason === 'finalized') {
|
|
715
|
+
const note = `✖ Zero work performed — the command never ran${this._resultText ? `: ${this._resultText}` : ''}`;
|
|
716
|
+
this._persistLog('stderr', note);
|
|
717
|
+
this._emitLog('stderr', note);
|
|
718
|
+
}
|
|
513
719
|
this._onSettle({
|
|
514
720
|
reason,
|
|
515
721
|
totals: { ...this._accum },
|
|
@@ -517,6 +723,8 @@ class InteractiveJobSession {
|
|
|
517
723
|
sessionId: this._sessionId,
|
|
518
724
|
estimated: this._inflightEstimated,
|
|
519
725
|
activeDurationMs: this._activeDurationMs,
|
|
726
|
+
resultText: this._resultText,
|
|
727
|
+
zeroWork,
|
|
520
728
|
});
|
|
521
729
|
}
|
|
522
730
|
_clearKillTimer() {
|
|
@@ -11,6 +11,7 @@ exports.textToAdf = textToAdf;
|
|
|
11
11
|
exports.bodyForDeployment = bodyForDeployment;
|
|
12
12
|
exports.commentMarker = commentMarker;
|
|
13
13
|
exports.discardCommentMarker = discardCommentMarker;
|
|
14
|
+
exports.prMergedCommentMarker = prMergedCommentMarker;
|
|
14
15
|
exports.bodyContainsMarker = bodyContainsMarker;
|
|
15
16
|
exports.commentHasMarker = commentHasMarker;
|
|
16
17
|
exports.adfToText = adfToText;
|
|
@@ -53,6 +54,14 @@ function commentMarker(jobId, ticketId) {
|
|
|
53
54
|
function discardCommentMarker(ticketId, nonce) {
|
|
54
55
|
return `[specrails:discard=${nonce}:ticket=${ticketId}]`;
|
|
55
56
|
}
|
|
57
|
+
/**
|
|
58
|
+
* Idempotency marker for the "PR merged" comment posted when a delivery PR is
|
|
59
|
+
* observed merged. Deterministic per (delivery, ticket) so a retry/re-poll
|
|
60
|
+
* never double-posts.
|
|
61
|
+
*/
|
|
62
|
+
function prMergedCommentMarker(refId, ticketId) {
|
|
63
|
+
return `[specrails:pr-merged=${refId}:ticket=${ticketId}]`;
|
|
64
|
+
}
|
|
56
65
|
/** True when an ADF doc or wiki string already contains the given marker. */
|
|
57
66
|
function bodyContainsMarker(body, marker) {
|
|
58
67
|
if (typeof body === 'string')
|
|
@@ -36,15 +36,26 @@ function issueStatusCategory(issue) {
|
|
|
36
36
|
const k = issue.fields.status?.statusCategory?.key;
|
|
37
37
|
return k === 'new' || k === 'done' ? k : 'indeterminate';
|
|
38
38
|
}
|
|
39
|
-
/**
|
|
40
|
-
|
|
39
|
+
/**
|
|
40
|
+
* Map a Jira issue's status to a Specrails ticket status. When the connection
|
|
41
|
+
* has an explicit `statusMap.on_review` and the issue's status NAME equals it
|
|
42
|
+
* (case-insensitive), the inbound status is preserved as `on_review` — the
|
|
43
|
+
* category fallback alone would flatten it to `in_progress` and silently revert
|
|
44
|
+
* a ticket parked at on_review once its outbox transition drains (the frozen
|
|
45
|
+
* guard only protects the pending window). Unconfigured ⇒ byte-identical
|
|
46
|
+
* category mapping.
|
|
47
|
+
*/
|
|
48
|
+
function mapStatus(issue, statusMap) {
|
|
49
|
+
const name = (issue.fields.status?.name ?? '').toLowerCase();
|
|
50
|
+
const onReviewTarget = statusMap?.on_review;
|
|
51
|
+
if (onReviewTarget && name && name === onReviewTarget.toLowerCase())
|
|
52
|
+
return 'on_review';
|
|
41
53
|
const cat = issueStatusCategory(issue);
|
|
42
54
|
if (cat === 'new')
|
|
43
55
|
return 'todo';
|
|
44
56
|
if (cat === 'indeterminate')
|
|
45
57
|
return 'in_progress';
|
|
46
58
|
// done category: distinguish a cancelled/rejected resolution from a real ship.
|
|
47
|
-
const name = (issue.fields.status?.name ?? '').toLowerCase();
|
|
48
59
|
return nameIsCancel(name) ? 'cancelled' : 'done';
|
|
49
60
|
}
|
|
50
61
|
/** Map a Jira priority name to a Specrails priority (best-effort, defaults medium). */
|
|
@@ -115,7 +126,7 @@ function mapIssueToTicket(issue, localId, conn, existing) {
|
|
|
115
126
|
id: localId,
|
|
116
127
|
title: issue.fields.summary || `(${issue.key})`,
|
|
117
128
|
description: (0, jira_adf_1.adfToText)(issue.fields.description),
|
|
118
|
-
status: mapStatus(issue),
|
|
129
|
+
status: mapStatus(issue, conn.statusMap),
|
|
119
130
|
priority: mapPriority(issue.fields.priority?.name),
|
|
120
131
|
labels: issue.fields.labels ?? [],
|
|
121
132
|
assignee: issue.fields.assignee?.displayName ?? issue.fields.assignee?.emailAddress ?? null,
|
|
@@ -139,6 +150,9 @@ function mapIssueToTicket(issue, localId, conn, existing) {
|
|
|
139
150
|
jira_sprint_id: sprint.id,
|
|
140
151
|
jira_sprint_name: sprint.name,
|
|
141
152
|
jira_sprint_state: sprint.state,
|
|
153
|
+
// RAW workflow status name (Jira-owned, flows through even for frozen ids —
|
|
154
|
+
// it reflects Jira's reality, unlike the locally-authoritative `status`).
|
|
155
|
+
jira_status: issue.fields.status?.name ?? null,
|
|
142
156
|
};
|
|
143
157
|
}
|
|
144
158
|
/** Compare the Jira-derived content of two tickets, ignoring updated_at. */
|
|
@@ -155,6 +169,10 @@ function sameJiraContent(a, b) {
|
|
|
155
169
|
(a.jira_sprint_id ?? null) === (b.jira_sprint_id ?? null) &&
|
|
156
170
|
(a.jira_sprint_name ?? null) === (b.jira_sprint_name ?? null) &&
|
|
157
171
|
(a.jira_sprint_state ?? null) === (b.jira_sprint_state ?? null) &&
|
|
172
|
+
// A raw-status-only move (two Jira statuses mapping to the SAME logical
|
|
173
|
+
// state, e.g. "In Progress" → "Code Review") must still write + broadcast
|
|
174
|
+
// so the board's Jira-status filter counts stay live.
|
|
175
|
+
(a.jira_status ?? null) === (b.jira_status ?? null) &&
|
|
158
176
|
a.labels.length === b.labels.length &&
|
|
159
177
|
a.labels.every((l, i) => l === b.labels[i]));
|
|
160
178
|
}
|
|
@@ -169,6 +187,11 @@ function sameJiraContent(a, b) {
|
|
|
169
187
|
function applyFrozen(mapped, existing, frozen) {
|
|
170
188
|
if (existing && frozen) {
|
|
171
189
|
mapped.status = existing.status;
|
|
190
|
+
// The RAW Jira status name is frozen WITH the logical status so the pair
|
|
191
|
+
// never disagrees on the board mid-window; the high-water mark does not
|
|
192
|
+
// advance past frozen issues, so the suppressed raw change is re-fetched
|
|
193
|
+
// (and applied) on the first poll after the outbox op drains.
|
|
194
|
+
mapped.jira_status = existing.jira_status ?? null;
|
|
172
195
|
mapped.priority = existing.priority ?? mapped.priority;
|
|
173
196
|
mapped.title = existing.title;
|
|
174
197
|
mapped.description = existing.description;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// Status / transition resolution — the hard part of the integration.
|
|
3
3
|
//
|
|
4
4
|
// Jira issues have no settable `status`; you must apply workflow-gated
|
|
5
|
-
// transitions, and the customer's workflow is arbitrary. The
|
|
5
|
+
// transitions, and the customer's workflow is arbitrary. The 5 logical Specrails
|
|
6
6
|
// states map onto N customer statuses across only 3 stable categories
|
|
7
7
|
// (new / indeterminate / done). Strategy:
|
|
8
8
|
// 1. Explicit per-project status map (user picks the target status) wins.
|
|
@@ -33,6 +33,7 @@ function targetCategoryFor(state) {
|
|
|
33
33
|
case 'todo':
|
|
34
34
|
return 'new';
|
|
35
35
|
case 'in_progress':
|
|
36
|
+
case 'on_review':
|
|
36
37
|
return 'indeterminate';
|
|
37
38
|
case 'done':
|
|
38
39
|
case 'cancelled':
|
|
@@ -191,12 +192,19 @@ function buildTransitionFields(transition, state) {
|
|
|
191
192
|
/**
|
|
192
193
|
* Walk the transition graph from the current category to the target category for
|
|
193
194
|
* `state`, applying edges per hop (you can only see the current status's
|
|
194
|
-
* outgoing edges). Idempotency-first: if already in the target category, no-op
|
|
195
|
+
* outgoing edges). Idempotency-first: if already in the target category, no-op —
|
|
196
|
+
* UNLESS an explicit target status is configured and the issue is not already
|
|
197
|
+
* sitting on it (see `currentStatusName`).
|
|
195
198
|
*/
|
|
196
199
|
async function walkToCategory(args) {
|
|
197
200
|
const target = targetCategoryFor(args.state);
|
|
198
|
-
if (args.currentCategory === target)
|
|
199
|
-
|
|
201
|
+
if (args.currentCategory === target) {
|
|
202
|
+
const alreadyAtExplicit = !args.explicitTarget ||
|
|
203
|
+
(args.currentStatusName !== undefined &&
|
|
204
|
+
args.currentStatusName.toLowerCase() === args.explicitTarget.toLowerCase());
|
|
205
|
+
if (alreadyAtExplicit)
|
|
206
|
+
return { status: 'noop' };
|
|
207
|
+
}
|
|
200
208
|
const maxHops = args.maxHops ?? 5;
|
|
201
209
|
const visited = new Set();
|
|
202
210
|
const applied = [];
|