@qwen-code/qwen-code 0.21.8 → 0.21.9-nightly.20260811.8c90697ace
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 +2 -1
- package/bundled/qc-helper/docs/configuration/settings.md +32 -30
- package/bundled/qc-helper/docs/extension/introduction.md +15 -1
- package/bundled/qc-helper/docs/features/code-review.md +2 -0
- package/bundled/qc-helper/docs/qwen-serve-deploy-local.md +1 -1
- package/bundled/qc-helper/docs/qwen-serve.md +42 -39
- package/bundled/review/SKILL.md +11 -7
- package/chunks/{MaxSizedBox-7PM6BGJ5.js → MaxSizedBox-VG33A4GE.js} +9 -9
- package/chunks/{StandaloneSessionPicker-3UQHM7GV.js → StandaloneSessionPicker-TAAASLHC.js} +28 -25
- package/chunks/{acpAgent-5UWLFV6V.js → acpAgent-K6SEWBOB.js} +1433 -706
- package/chunks/{agent-624T2BLO.js → agent-KZXOG44R.js} +8 -8
- package/chunks/{agent-headless-2EE5J2KX.js → agent-headless-ETAHVYUE.js} +8 -8
- package/chunks/{bridge-JENKGFFP.js → bridge-F2WX5XXK.js} +13 -13
- package/chunks/{channel-management-service-DDWUPHMU.js → channel-management-service-PHELKOW2.js} +4 -4
- package/chunks/{channel-settings-store-SA6JZSPH.js → channel-settings-store-P34AA3M7.js} +17 -15
- package/chunks/{channel-worker-group-E67EN3RV.js → channel-worker-group-MSHT6CWR.js} +6 -6
- package/chunks/{channel-worker-manager-SW4C45CF.js → channel-worker-manager-XXD3GDSK.js} +6 -6
- package/chunks/{channel-worker-supervisor-5SRD24FG.js → channel-worker-supervisor-IVSDIMI4.js} +4 -4
- package/chunks/{chunk-5ZGR6RKJ.js → chunk-2FNGGBFZ.js} +3 -3
- package/chunks/{chunk-2M4K4KYS.js → chunk-2I6VLN3S.js} +4 -4
- package/chunks/{chunk-ZCLLJARV.js → chunk-2MXUGRK5.js} +10 -10
- package/chunks/{chunk-4WU6NY7F.js → chunk-32EBDJJY.js} +2 -2
- package/chunks/{chunk-E4ZBKMSF.js → chunk-3LFASJS7.js} +6 -6
- package/chunks/{chunk-GXSNGY5M.js → chunk-4FKFSCWR.js} +1677 -1307
- package/chunks/chunk-4JRM2BSM.js +48 -0
- package/chunks/{chunk-L4N6TIP7.js → chunk-4TRQPFDP.js} +4 -2
- package/chunks/{chunk-XZKQT2B2.js → chunk-4YJMR4CO.js} +5 -5
- package/chunks/{chunk-NVRDQFCX.js → chunk-5C75SN7B.js} +1 -1
- package/chunks/chunk-5EJZE3FP.js +140 -0
- package/chunks/{chunk-B52AWKBB.js → chunk-5KWNG4VL.js} +16 -5
- package/chunks/{chunk-VXZ5HAOV.js → chunk-5U5QAXXF.js} +1 -1
- package/chunks/{chunk-KJZ26VBX.js → chunk-67EWJE77.js} +1 -1
- package/chunks/{chunk-TE3ZAJE7.js → chunk-6Q5ABMTU.js} +1 -1
- package/chunks/{chunk-Y4TETC74.js → chunk-6QFSODTN.js} +4 -4
- package/chunks/{chunk-FWBXMANW.js → chunk-A2YOIB54.js} +3 -3
- package/chunks/{chunk-7VUERJHS.js → chunk-A5WXNIKX.js} +325 -104
- package/chunks/{chunk-TKSZJ5BV.js → chunk-AKJQSWV4.js} +3 -3
- package/chunks/{chunk-EIVICVHM.js → chunk-AVBBC6J3.js} +4 -4
- package/chunks/{chunk-QQWD7LZV.js → chunk-BFNIFUVA.js} +4 -4
- package/chunks/{chunk-C5VWPTGT.js → chunk-BPNTCELE.js} +1 -1
- package/chunks/{chunk-AKA24BGO.js → chunk-BT6GQIEJ.js} +1 -1
- package/chunks/{chunk-2M5N3DHY.js → chunk-CMOBWHWW.js} +1 -1
- package/chunks/{chunk-NLREQJFK.js → chunk-DA4HRSBW.js} +15 -0
- package/chunks/{chunk-DIWZNWZT.js → chunk-DX3RGJMS.js} +13 -2
- package/chunks/{chunk-PLFATELK.js → chunk-DZUO626D.js} +1 -1
- package/chunks/{chunk-NGYI5EF5.js → chunk-E2FPSSKP.js} +8 -8
- package/chunks/{chunk-OHKJVAKG.js → chunk-E4CNGIE6.js} +20 -1977
- package/chunks/{chunk-757GB46F.js → chunk-EBGVLYHD.js} +1 -1
- package/chunks/{chunk-DX5W5AON.js → chunk-EC2ONBQS.js} +3 -3
- package/chunks/{chunk-U5SLIG7E.js → chunk-ECFTGH3V.js} +1 -1
- package/chunks/{chunk-WV5J6Q6N.js → chunk-EMSJLNR6.js} +1 -1
- package/chunks/{chunk-DQSDACD2.js → chunk-G7WYGCLR.js} +1 -1
- package/chunks/{chunk-IBYULW65.js → chunk-GO65LMNV.js} +145 -10
- package/chunks/{chunk-GQCEQPYQ.js → chunk-GTSC3A2W.js} +3 -3
- package/chunks/{chunk-ZHA242R4.js → chunk-HEAFZDIF.js} +2 -2
- package/chunks/chunk-HHOZX4JK.js +1995 -0
- package/chunks/{chunk-VWMUDKLC.js → chunk-HWWTDYPI.js} +4 -4
- package/chunks/{chunk-RPWVIXDB.js → chunk-I5VM3SKY.js} +4 -4
- package/chunks/{chunk-3SE7J4DR.js → chunk-IA3P24DQ.js} +3 -3
- package/chunks/{chunk-ZPLALRXZ.js → chunk-IIAHLI57.js} +4 -137
- package/chunks/{chunk-HA3SAB64.js → chunk-INLGFX4E.js} +1 -1
- package/chunks/{chunk-M3STHEMM.js → chunk-J2UI6QMU.js} +5 -5
- package/chunks/{chunk-YEF7XEO2.js → chunk-JH6KBXVQ.js} +3 -3
- package/chunks/{chunk-IUQ52YJK.js → chunk-JXMVMT2I.js} +1 -1
- package/chunks/{chunk-2ILAOM2I.js → chunk-JYIOTOI3.js} +17 -16
- package/chunks/{chunk-YHJFF7KH.js → chunk-KIMYR73R.js} +147 -47
- package/chunks/{chunk-KAQCJO6Y.js → chunk-KTKYGS2P.js} +35 -9
- package/chunks/{chunk-6M26GBKX.js → chunk-L2AFWWJE.js} +42 -3
- package/chunks/{chunk-HWX5HPUG.js → chunk-L54HLBQG.js} +108 -11
- package/chunks/{chunk-PG62DFWD.js → chunk-LGDFDMKS.js} +6 -127
- package/chunks/{chunk-QXVSWG66.js → chunk-LHEC5V6G.js} +2 -2
- package/chunks/{chunk-J26HHFI5.js → chunk-LP2QGNSP.js} +32 -2
- package/chunks/{chunk-KTJFU7RT.js → chunk-MFDYOYZZ.js} +2 -2
- package/chunks/{chunk-S3Y3GBFD.js → chunk-MGVZ2G5J.js} +2 -2
- package/chunks/{chunk-KKDVZLGL.js → chunk-MLWGCAYF.js} +1 -1
- package/chunks/{chunk-IYES5WOT.js → chunk-NIHBA6TB.js} +2 -2
- package/chunks/{chunk-EN2TKTFH.js → chunk-NV3F44FL.js} +6 -2
- package/chunks/{chunk-6TR7CFXH.js → chunk-OSRN3W7Q.js} +1 -1
- package/chunks/{chunk-3WNQOYHQ.js → chunk-OY646OOU.js} +74 -31
- package/chunks/{chunk-UFALT4LK.js → chunk-PBRVUF5B.js} +1 -1
- package/chunks/{chunk-FN6YXJOP.js → chunk-PBYQ237D.js} +1 -1
- package/chunks/{chunk-LKRMNRSN.js → chunk-PDPFQ2FO.js} +2 -0
- package/chunks/{chunk-4ALIARFY.js → chunk-PRPTFC2C.js} +1 -1
- package/chunks/{chunk-77QVBFCU.js → chunk-QOPMYRZI.js} +3 -3
- package/chunks/{chunk-GBDINRIL.js → chunk-RXC4NR7Z.js} +3 -3
- package/chunks/{chunk-WG6542MA.js → chunk-SDN7MSWG.js} +1 -1
- package/chunks/{chunk-NPUXXRJI.js → chunk-SPNNHXH2.js} +1 -1
- package/chunks/chunk-TQOF5KBL.js +71 -0
- package/chunks/{chunk-FYAXKJK7.js → chunk-TRXUCXTM.js} +692 -106
- package/chunks/{chunk-YOM7DEGB.js → chunk-TXTAWILR.js} +2 -2
- package/chunks/{chunk-BF52U4XJ.js → chunk-UWSAJBEG.js} +1 -1
- package/chunks/chunk-VFMASYQA.js +389 -0
- package/chunks/chunk-VGHZT6JR.js +51 -0
- package/chunks/{chunk-ZWBUH5UP.js → chunk-VKJ4KTPJ.js} +1 -1
- package/chunks/{chunk-QGHSP65Z.js → chunk-VNNWAZSI.js} +2 -2
- package/chunks/{chunk-7DVT4LVV.js → chunk-WGCPXKHL.js} +3 -3
- package/chunks/{chunk-SNRT2TJJ.js → chunk-XNW2FWIT.js} +3 -3
- package/chunks/{chunk-BF224XHL.js → chunk-Y23ZYDTK.js} +2 -2
- package/chunks/{chunk-3PY4LPJF.js → chunk-YGT2AUJ7.js} +84 -4
- package/chunks/{chunk-XHD7CRP2.js → chunk-YISRVXCC.js} +2 -2
- package/chunks/{chunk-4DU3NCHG.js → chunk-YTFDX4PR.js} +8 -3
- package/chunks/{chunk-OA4JVLSA.js → chunk-Z7VOMGDC.js} +22 -1
- package/chunks/{chunk-GOEVOFQI.js → chunk-ZBTIULMU.js} +3 -3
- package/chunks/chunk-ZLBIFIMV.js +1099 -0
- package/chunks/{computer-use-ESQYJ3JY.js → computer-use-CVNUGKHJ.js} +8 -8
- package/chunks/{config-utils-XQHBJP7G.js → config-utils-ULCSRMWD.js} +4 -4
- package/chunks/{contextCommand-CX3YF4ZE.js → contextCommand-HGAKTL4A.js} +11 -10
- package/chunks/{core-runtime-DIAU7JMG.js → core-runtime-HFGKCQIL.js} +8 -8
- package/chunks/{create-sub-session-HDPD6HOA.js → create-sub-session-W747JVWQ.js} +9 -9
- package/chunks/{daemon-VZBGJUNL.js → daemon-POSQPD3G.js} +115 -7
- package/chunks/{daemon-status-provider-H6O4UQ4F.js → daemon-status-provider-UCSIF57H.js} +18 -18
- package/chunks/{daemon-trust-policy-BNUXG6MT.js → daemon-trust-policy-QPCLBGOW.js} +16 -14
- package/chunks/{daemon-trust-policy-monitor-E4EQ7GF4.js → daemon-trust-policy-monitor-6WB65V3K.js} +16 -14
- package/chunks/{deferred-core-runtime-CBMSHPAU.js → deferred-core-runtime-AWCOISW3.js} +8 -8
- package/chunks/{dist-KVISB2O2.js → dist-3NTTUAHT.js} +1 -1
- package/chunks/{dist-RCH3I7SS.js → dist-6BMOAE3Z.js} +2 -2
- package/chunks/{dist-IRL7WA5Z.js → dist-B2CGTW6T.js} +1 -1
- package/chunks/{dist-TUSWNE2I.js → dist-EWW3J4HQ.js} +1 -1
- package/chunks/{dist-HIACTZEK.js → dist-EZE3V3Q7.js} +1 -1
- package/chunks/{dist-EEEQGCZA.js → dist-J47AXBZC.js} +1 -1
- package/chunks/{dist-MKX5OSFF.js → dist-OTUO3AS2.js} +4 -1088
- package/chunks/{dist-MBF3I5MX.js → dist-Z3CS4OVP.js} +1 -1
- package/chunks/{earlyInputCapture-UIOP7OIN.js → earlyInputCapture-D3VPWMJD.js} +8 -8
- package/chunks/{edit-ITMZYFKA.js → edit-VS2JBKGF.js} +10 -8
- package/chunks/{enter-worktree-S4PL5UV6.js → enter-worktree-QD6AENIW.js} +8 -8
- package/chunks/{enterPlanMode-YV52NNJT.js → enterPlanMode-2AJCFTYN.js} +8 -8
- package/chunks/{environment-NGOWPRZV.js → environment-4UGPDUXQ.js} +11 -11
- package/chunks/{errors-BU26DTDX.js → errors-XEU7J2CZ.js} +10 -10
- package/chunks/{exit-worktree-XRM6LH5F.js → exit-worktree-NFMLPDG7.js} +8 -8
- package/chunks/{exitPlanMode-ZLI5F7KR.js → exitPlanMode-W4WU7TQZ.js} +8 -8
- package/chunks/{fast-path-UJWORIED.js → fast-path-N7HGKOMV.js} +4 -3
- package/chunks/{fast-path-settings-37WQD5B2.js → fast-path-settings-RPAVBD7P.js} +2 -2
- package/chunks/{gemini-ZSKNDUMU.js → gemini-4WJWPUE3.js} +56 -60
- package/chunks/{geminiContentGenerator-YGEXOEKD.js → geminiContentGenerator-YTGQQV2J.js} +1 -1
- package/chunks/{glob-7KZG44BR.js → glob-TTYIXMWN.js} +8 -8
- package/chunks/{grep-6ZFC7RJ5.js → grep-C5EGT7ZI.js} +8 -8
- package/chunks/{handleAutoUpdate-KSEL3TQS.js → handleAutoUpdate-MCBBEZZ3.js} +13 -12
- package/chunks/{i18n-ZIUXBW5V.js → i18n-NTHNBLTB.js} +13 -11
- package/chunks/{image-gen-AUIZJJNK.js → image-gen-JOAJCYXS.js} +1 -1
- package/chunks/{initializer-7AHY3N6Q.js → initializer-R5YRZYQS.js} +16 -14
- package/chunks/{installationInfo-VGBXMYLY.js → installationInfo-7Z6KDPOI.js} +9 -9
- package/chunks/{list-PSFKQHLB.js → list-VKPLYH2M.js} +19 -17
- package/chunks/{loadedSettingsAdapter-FTMRCTOF.js → loadedSettingsAdapter-YQLZBHHC.js} +16 -14
- package/chunks/{loggingContentGenerator-MZAN52UV.js → loggingContentGenerator-T5BKWQX5.js} +6 -6
- package/chunks/main-PXAUXNF2.js +8 -0
- package/chunks/{managed-npm-update-O4NHK45X.js → managed-npm-update-CM5QN7AZ.js} +9 -9
- package/chunks/{mcp-6CFP2AYQ.js → mcp-ORCXSXET.js} +16 -14
- package/chunks/{monitor-DAKD6OU4.js → monitor-UZE6JT63.js} +18 -14
- package/chunks/{nonInteractiveCli-RC7VIUZL.js → nonInteractiveCli-XRIIHTE6.js} +51 -49
- package/chunks/{notebook-edit-474DPMRL.js → notebook-edit-DONWUDKH.js} +9 -8
- package/chunks/{openaiContentGenerator-2NFY2MWO.js → openaiContentGenerator-MPDO54DK.js} +5 -5
- package/chunks/{pidfile-KBFVDNQP.js → pidfile-5BMIO7KB.js} +8 -8
- package/chunks/{processUtils-6GRYH4Y3.js → processUtils-2CB6QR4T.js} +2 -2
- package/chunks/{qwenContentGenerator-KAHU6IZY.js → qwenContentGenerator-UUHH3NGB.js} +9 -9
- package/chunks/{qwenOAuth2-RRQTCP4W.js → qwenOAuth2-XWZW6WUZ.js} +1 -1
- package/chunks/{read-file-3M6WXDXP.js → read-file-4DWNUR67.js} +4 -4
- package/chunks/{resumeHistoryUtils-D6TAY3HX.js → resumeHistoryUtils-5XRITUJZ.js} +13 -12
- package/chunks/{ripGrep-PLPENT3E.js → ripGrep-ZJN5WNT4.js} +8 -8
- package/chunks/{run-qwen-serve-ZAFIJKJC.js → run-qwen-serve-JTTU77UQ.js} +169 -68
- package/chunks/{runtime-ZED7CYOZ.js → runtime-DLSO3IOK.js} +21 -19
- package/chunks/{scheduler-MD3AL2W5.js → scheduler-W6DFPVSL.js} +135 -15
- package/chunks/{sdk-exporters-http-KHAB5JSD.js → sdk-exporters-http-XVTZQRCE.js} +2 -2
- package/chunks/{sdk-impl-KD7FSTC3.js → sdk-impl-7W7AKCS4.js} +7 -3
- package/chunks/{serve-E3VUDRZN.js → serve-ZQ6RIKOV.js} +18 -14
- package/chunks/{server-OWMEMAKR.js → server-WTJNUXA3.js} +1229 -1098
- package/chunks/{session-HZ57QK7K.js → session-NNW6CTUW.js} +55 -53
- package/chunks/{settings-V7BR3RKP.js → settings-NTP72IY3.js} +15 -13
- package/chunks/{shell-23OMNMW6.js → shell-QO4J4QKC.js} +8 -8
- package/chunks/{skill-6HBDYZRS.js → skill-CSVKSHBM.js} +5 -5
- package/chunks/{skill-settings-HWJLTU7M.js → skill-settings-H6IUSJ37.js} +15 -13
- package/chunks/{spawnChannel-N6KKUW5B.js → spawnChannel-3O7PJ5P5.js} +11 -11
- package/chunks/{standalone-update-QGIKHATD.js → standalone-update-7FBXFKJN.js} +11 -10
- package/chunks/{startInteractiveUI-GX2CRL42.js → startInteractiveUI-KTTI22PN.js} +86 -75
- package/chunks/{team-create-CFFKU7KL.js → team-create-VHOI4QX5.js} +8 -8
- package/chunks/{team-plan-approval-6EFOKR6A.js → team-plan-approval-6OYFTEYS.js} +8 -8
- package/chunks/{terminal-image-renderer-TLDNACQY.js → terminal-image-renderer-UHCDFUDT.js} +8 -8
- package/chunks/{theme-manager-5LJ3H7VO.js → theme-manager-XWTMOPER.js} +8 -8
- package/chunks/{tool-search-UJV3A24H.js → tool-search-2U26L7MU.js} +4 -4
- package/chunks/{total-session-admission-D63QYXGO.js → total-session-admission-VVSCHYXI.js} +16 -15
- package/chunks/{trustedFolders-KZCOB53W.js → trustedFolders-FLRRXJG2.js} +9 -9
- package/chunks/{types-ML3TRJQ5.js → types-WYCFCEHR.js} +5 -3
- package/chunks/{update-relaunch-IFILM3SA.js → update-relaunch-N2T6LG73.js} +5 -5
- package/chunks/{updateCheck-YZ2CRCFC.js → updateCheck-O5D7VX32.js} +12 -11
- package/chunks/{useAutoAcceptIndicator-AXEVNA3Q.js → useAutoAcceptIndicator-V7RYMAPM.js} +18 -16
- package/chunks/{validateNonInterActiveAuth-3WTOJFWA.js → validateNonInterActiveAuth-FZO3SMU2.js} +48 -46
- package/chunks/{version-GXK7OHZY.js → version-DIFQK633.js} +1 -1
- package/chunks/{web-fetch-ILB4GAVR.js → web-fetch-BZM7CHPV.js} +4 -4
- package/chunks/{web-search-HKRPGPZZ.js → web-search-5MTRTB3E.js} +4 -3
- package/chunks/{workflow-FXIPRQQA.js → workflow-SOW7AB4T.js} +170 -137
- package/chunks/{workspace-providers-status-NYHC7HSR.js → workspace-providers-status-57KAWSRW.js} +19 -17
- package/chunks/{workspace-registration-store-AKEB7OMW.js → workspace-registration-store-HSA2XRE6.js} +1 -1
- package/chunks/{workspace-registry-CDAS5TVZ.js → workspace-registry-IR33TE3F.js} +16 -15
- package/chunks/{workspace-service-PAMUKMAV.js → workspace-service-5GJY2S4V.js} +26 -22
- package/chunks/{workspace-skills-status-YQSHCCMS.js → workspace-skills-status-IWIFWQGQ.js} +17 -15
- package/chunks/{workspace-trust-reconciler-RPTXOIY2.js → workspace-trust-reconciler-USLHJXOG.js} +24 -21
- package/chunks/{write-file-CGS57TS4.js → write-file-GU4Q4ENR.js} +8 -8
- package/chunks/{zoom-image-E7D72GYV.js → zoom-image-WHXBY3VS.js} +4 -4
- package/cli.js +12 -12
- package/package.json +3 -3
- package/web-shell/assets/{arc-DybZaz32.js → arc-CHY4saMJ.js} +1 -1
- package/web-shell/assets/{architectureDiagram-3BPJPVTR-jN3qBd19.js → architectureDiagram-3BPJPVTR-Bu6CwvHj.js} +1 -1
- package/web-shell/assets/{blockDiagram-GPEHLZMM-Ct5DZPrj.js → blockDiagram-GPEHLZMM-XGt6iGf_.js} +1 -1
- package/web-shell/assets/{c4Diagram-AAUBKEIU-CUAFMlUG.js → c4Diagram-AAUBKEIU-CBbYl19W.js} +1 -1
- package/web-shell/assets/channel-B40srHOa.js +1 -0
- package/web-shell/assets/{chunk-2J33WTMH-CuV8n90B.js → chunk-2J33WTMH-BEhmVrdx.js} +1 -1
- package/web-shell/assets/{chunk-4BX2VUAB-BUzl_kls.js → chunk-4BX2VUAB-fQLyE0Bg.js} +1 -1
- package/web-shell/assets/{chunk-55IACEB6-BnDBLX6A.js → chunk-55IACEB6-yGdtyx4a.js} +1 -1
- package/web-shell/assets/{chunk-727SXJPM-B83uTOjm.js → chunk-727SXJPM-DYbX2GLo.js} +1 -1
- package/web-shell/assets/{chunk-AQP2D5EJ-DM3HLgpT.js → chunk-AQP2D5EJ-DyKTEsYn.js} +1 -1
- package/web-shell/assets/{chunk-FMBD7UC4-CSQ5hgyb.js → chunk-FMBD7UC4-D8Uy_GzX.js} +1 -1
- package/web-shell/assets/{chunk-ND2GUHAM-BWOF4SxX.js → chunk-ND2GUHAM-C8wNR2K7.js} +1 -1
- package/web-shell/assets/{chunk-QZHKN3VN-BsOH9LMi.js → chunk-QZHKN3VN-BnybNxnt.js} +1 -1
- package/web-shell/assets/classDiagram-4FO5ZUOK-qumcXQW_.js +1 -0
- package/web-shell/assets/classDiagram-v2-Q7XG4LA2-qumcXQW_.js +1 -0
- package/web-shell/assets/{cose-bilkent-S5V4N54A-IENqH2iJ.js → cose-bilkent-S5V4N54A-jq4uiFRp.js} +1 -1
- package/web-shell/assets/{dagre-BM42HDAG--dyzDTGo.js → dagre-BM42HDAG-Bs7oye1U.js} +1 -1
- package/web-shell/assets/{diagram-2AECGRRQ-BE7Dcqof.js → diagram-2AECGRRQ-BHGGJNyM.js} +1 -1
- package/web-shell/assets/{diagram-5GNKFQAL-Cr8-5OTj.js → diagram-5GNKFQAL-BJezVLGT.js} +1 -1
- package/web-shell/assets/{diagram-KO2AKTUF-Bzey3uAY.js → diagram-KO2AKTUF-5JzQN_rL.js} +1 -1
- package/web-shell/assets/{diagram-LMA3HP47-sErl28Xb.js → diagram-LMA3HP47-BlPYOgY9.js} +1 -1
- package/web-shell/assets/{diagram-OG6HWLK6-Dq30ATIo.js → diagram-OG6HWLK6-CtMHEaFK.js} +1 -1
- package/web-shell/assets/{erDiagram-TEJ5UH35-BkCoEfVW.js → erDiagram-TEJ5UH35-CRNdq2AB.js} +1 -1
- package/web-shell/assets/{flowDiagram-I6XJVG4X-DHwO0rrI.js → flowDiagram-I6XJVG4X-De1WwLzu.js} +1 -1
- package/web-shell/assets/{ganttDiagram-6RSMTGT7-s7vAPxWq.js → ganttDiagram-6RSMTGT7-YbWfL5Zn.js} +1 -1
- package/web-shell/assets/{gitGraphDiagram-PVQCEYII-CQxhwPOU.js → gitGraphDiagram-PVQCEYII-DzCN8bmd.js} +1 -1
- package/web-shell/assets/index-BDOGGGaN.css +5 -0
- package/web-shell/assets/{index-CF4wApWp.js → index-CocPvF9Q.js} +1 -1
- package/web-shell/assets/index-DSH2KrMc.js +1771 -0
- package/web-shell/assets/{infoDiagram-5YYISTIA-BnFrD0bq.js → infoDiagram-5YYISTIA-DLHoopnE.js} +1 -1
- package/web-shell/assets/{ishikawaDiagram-YF4QCWOH-Bf9zK5NK.js → ishikawaDiagram-YF4QCWOH-XnbU04SS.js} +1 -1
- package/web-shell/assets/{journeyDiagram-JHISSGLW-CyGAhsxi.js → journeyDiagram-JHISSGLW-CipPyEeJ.js} +1 -1
- package/web-shell/assets/{kanban-definition-UN3LZRKU-CbsK5akB.js → kanban-definition-UN3LZRKU-DrSeyE5d.js} +1 -1
- package/web-shell/assets/{linear-cQsF4P8D.js → linear-LrBKnAo_.js} +1 -1
- package/web-shell/assets/{mermaid.core-Z4HVqrKY.js → mermaid.core-C3U9UVmf.js} +5 -5
- package/web-shell/assets/{mindmap-definition-RKZ34NQL-CYnrBo_f.js → mindmap-definition-RKZ34NQL-DqRWgC9H.js} +1 -1
- package/web-shell/assets/{pieDiagram-4H26LBE5-CBzOfhrs.js → pieDiagram-4H26LBE5-BNXY5p6H.js} +1 -1
- package/web-shell/assets/{quadrantDiagram-W4KKPZXB-D4LK1Ebn.js → quadrantDiagram-W4KKPZXB-Ccj9QzE4.js} +1 -1
- package/web-shell/assets/{requirementDiagram-4Y6WPE33-Bzti2Lcj.js → requirementDiagram-4Y6WPE33-CjPM2_gx.js} +1 -1
- package/web-shell/assets/{sankeyDiagram-5OEKKPKP-yTBw5Z2s.js → sankeyDiagram-5OEKKPKP-C0RsvKbj.js} +1 -1
- package/web-shell/assets/{sequenceDiagram-3UESZ5HK-D07UVRiZ.js → sequenceDiagram-3UESZ5HK-ClN1P5z7.js} +1 -1
- package/web-shell/assets/{stateDiagram-AJRCARHV-UE_lHsTn.js → stateDiagram-AJRCARHV-By0eiB2Y.js} +1 -1
- package/web-shell/assets/stateDiagram-v2-BHNVJYJU-Ds0WlK3F.js +1 -0
- package/web-shell/assets/{timeline-definition-PNZ67QCA-DRvYdiTs.js → timeline-definition-PNZ67QCA-g_iaSQgv.js} +1 -1
- package/web-shell/assets/{vennDiagram-CIIHVFJN-CQLIXs0u.js → vennDiagram-CIIHVFJN-y9ZqJ-TD.js} +1 -1
- package/web-shell/assets/{wardley-L42UT6IY-JZz_Xqse.js → wardley-L42UT6IY-BVVfaxpF.js} +1 -1
- package/web-shell/assets/{wardleyDiagram-YWT4CUSO--i7BiJwB.js → wardleyDiagram-YWT4CUSO-D3ooZKZT.js} +1 -1
- package/web-shell/assets/{xychartDiagram-2RQKCTM6-Bkc-bW0S.js → xychartDiagram-2RQKCTM6-6GXrY6M1.js} +1 -1
- package/web-shell/index.html +2 -2
- package/chunks/chunk-RXFQM6FQ.js +0 -42
- package/chunks/chunk-UA5H3DS2.js +0 -203
- package/web-shell/assets/channel-BMwLrwLW.js +0 -1
- package/web-shell/assets/classDiagram-4FO5ZUOK-BGDv98jY.js +0 -1
- package/web-shell/assets/classDiagram-v2-Q7XG4LA2-BGDv98jY.js +0 -1
- package/web-shell/assets/index-Bckpjr-I.css +0 -5
- package/web-shell/assets/index-DwEr9HEW.js +0 -1768
- package/web-shell/assets/stateDiagram-v2-BHNVJYJU-DC6xgXjX.js +0 -1
- /package/chunks/{chunk-VXZBKKQR.js → chunk-NTTBXH7U.js} +0 -0
- /package/chunks/{chunk-GRC5HGPI.js → chunk-OIBUG24X.js} +0 -0
|
@@ -3,13 +3,12 @@
|
|
|
3
3
|
import {
|
|
4
4
|
ExtensionRefreshState,
|
|
5
5
|
clearSkillArgs,
|
|
6
|
-
isValidSessionId,
|
|
7
6
|
skillArgsNote,
|
|
8
7
|
skillArgsPath,
|
|
9
8
|
staleArgsWarning,
|
|
10
9
|
validateAuthMethod,
|
|
11
10
|
writeSkillArgs
|
|
12
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-A5WXNIKX.js";
|
|
13
12
|
import {
|
|
14
13
|
calculateCost,
|
|
15
14
|
computeSessionStats,
|
|
@@ -18,26 +17,27 @@ import {
|
|
|
18
17
|
findInlineMathExpressions,
|
|
19
18
|
getSystemInfoFields,
|
|
20
19
|
levelLabel
|
|
21
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-YISRVXCC.js";
|
|
22
21
|
import {
|
|
23
22
|
isKittyProtocolEnabled
|
|
24
23
|
} from "./chunk-NYX53SV4.js";
|
|
25
24
|
import {
|
|
26
25
|
VSCODE_SHIFT_ENTER_SEQUENCE,
|
|
26
|
+
isWaylandSession,
|
|
27
27
|
writeOsc52
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-NV3F44FL.js";
|
|
29
29
|
import {
|
|
30
30
|
contextCommand
|
|
31
|
-
} from "./chunk-
|
|
32
|
-
import {
|
|
33
|
-
rollbackStandaloneUpdate
|
|
34
|
-
} from "./chunk-ZHA242R4.js";
|
|
31
|
+
} from "./chunk-ZBTIULMU.js";
|
|
35
32
|
import {
|
|
36
33
|
themeManager
|
|
37
34
|
} from "./chunk-CTJLZLB5.js";
|
|
35
|
+
import {
|
|
36
|
+
rollbackStandaloneUpdate
|
|
37
|
+
} from "./chunk-HEAFZDIF.js";
|
|
38
38
|
import {
|
|
39
39
|
getErrorMessage as getErrorMessage2
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-NIHBA6TB.js";
|
|
41
41
|
import {
|
|
42
42
|
GITHUB_WORKFLOW_PATHS,
|
|
43
43
|
INSIGHT_CSS,
|
|
@@ -51,15 +51,15 @@ import {
|
|
|
51
51
|
toJson,
|
|
52
52
|
toJsonl,
|
|
53
53
|
toMarkdown
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-2I6VLN3S.js";
|
|
55
55
|
import {
|
|
56
56
|
stripUnsafeCharacters,
|
|
57
|
-
toCodePoints
|
|
57
|
+
toCodePoints,
|
|
58
|
+
truncateToWidth
|
|
58
59
|
} from "./chunk-4NFY2S7N.js";
|
|
59
60
|
import {
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
} from "./chunk-GBDINRIL.js";
|
|
61
|
+
isValidSessionId
|
|
62
|
+
} from "./chunk-TQOF5KBL.js";
|
|
63
63
|
import {
|
|
64
64
|
formatUnsupportedVoiceModelMessage,
|
|
65
65
|
getVoiceSettingsScope,
|
|
@@ -67,16 +67,20 @@ import {
|
|
|
67
67
|
isVoiceEnabled,
|
|
68
68
|
readVoiceMode,
|
|
69
69
|
readVoiceModel
|
|
70
|
-
} from "./chunk-
|
|
70
|
+
} from "./chunk-BPNTCELE.js";
|
|
71
71
|
import {
|
|
72
72
|
getExtendedSystemInfo,
|
|
73
73
|
getGitVersion,
|
|
74
74
|
getNpmVersion
|
|
75
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-IA3P24DQ.js";
|
|
76
76
|
import {
|
|
77
77
|
formatDuration,
|
|
78
78
|
formatTokenCount
|
|
79
79
|
} from "./chunk-3SH53ANB.js";
|
|
80
|
+
import {
|
|
81
|
+
isInlineModelOverrideAllowed,
|
|
82
|
+
parseAcpModelOption
|
|
83
|
+
} from "./chunk-RXC4NR7Z.js";
|
|
80
84
|
import {
|
|
81
85
|
OUTPUT_LANGUAGE_AUTO,
|
|
82
86
|
getAllSettingKeys,
|
|
@@ -88,22 +92,24 @@ import {
|
|
|
88
92
|
resolveOutputLanguageOrPreserveAuto,
|
|
89
93
|
validateSettingValue,
|
|
90
94
|
writeOutputLanguageAndRegisterPath
|
|
91
|
-
} from "./chunk-
|
|
95
|
+
} from "./chunk-HHOZX4JK.js";
|
|
92
96
|
import {
|
|
93
|
-
SUPPORTED_LANGUAGES,
|
|
94
97
|
getCurrentLanguage,
|
|
95
|
-
getSupportedLanguageIds,
|
|
96
|
-
resolveSupportedLanguage,
|
|
97
98
|
setLanguageAsync,
|
|
98
99
|
t
|
|
99
|
-
} from "./chunk-
|
|
100
|
+
} from "./chunk-LGDFDMKS.js";
|
|
101
|
+
import {
|
|
102
|
+
SUPPORTED_LANGUAGES,
|
|
103
|
+
getSupportedLanguageIds,
|
|
104
|
+
resolveSupportedLanguage
|
|
105
|
+
} from "./chunk-5EJZE3FP.js";
|
|
100
106
|
import {
|
|
101
107
|
getInstallationInfo
|
|
102
|
-
} from "./chunk-
|
|
108
|
+
} from "./chunk-JXMVMT2I.js";
|
|
103
109
|
import {
|
|
104
110
|
isFolderTrustEnabled,
|
|
105
111
|
loadTrustedFolders
|
|
106
|
-
} from "./chunk-
|
|
112
|
+
} from "./chunk-INLGFX4E.js";
|
|
107
113
|
import {
|
|
108
114
|
require_strip_json_comments
|
|
109
115
|
} from "./chunk-NPQ5ZKRP.js";
|
|
@@ -177,13 +183,13 @@ import {
|
|
|
177
183
|
runForkedAgent,
|
|
178
184
|
tryGenerateSessionTitle,
|
|
179
185
|
unregisterGoalHook
|
|
180
|
-
} from "./chunk-
|
|
186
|
+
} from "./chunk-4FKFSCWR.js";
|
|
181
187
|
import {
|
|
182
188
|
external_exports
|
|
183
189
|
} from "./chunk-H6XPXXMH.js";
|
|
184
190
|
import {
|
|
185
191
|
resolveModelId
|
|
186
|
-
} from "./chunk-
|
|
192
|
+
} from "./chunk-5U5QAXXF.js";
|
|
187
193
|
import {
|
|
188
194
|
getAutoSkillCuratorStatus,
|
|
189
195
|
parse,
|
|
@@ -204,7 +210,7 @@ import {
|
|
|
204
210
|
} from "./chunk-WAUGQKUU.js";
|
|
205
211
|
import {
|
|
206
212
|
resolveOpenAILogDir
|
|
207
|
-
} from "./chunk-
|
|
213
|
+
} from "./chunk-DZUO626D.js";
|
|
208
214
|
import {
|
|
209
215
|
FORK_SUBAGENT_TYPE,
|
|
210
216
|
stripStartupContext
|
|
@@ -232,7 +238,7 @@ import {
|
|
|
232
238
|
read,
|
|
233
239
|
recordSkillInvocation,
|
|
234
240
|
uiTelemetryService
|
|
235
|
-
} from "./chunk-
|
|
241
|
+
} from "./chunk-YGT2AUJ7.js";
|
|
236
242
|
import {
|
|
237
243
|
getAutoMemoryRoot
|
|
238
244
|
} from "./chunk-FVKHVJZQ.js";
|
|
@@ -256,7 +262,7 @@ import {
|
|
|
256
262
|
isCpuProfileRecording,
|
|
257
263
|
startCpuProfile,
|
|
258
264
|
stopCpuProfile
|
|
259
|
-
} from "./chunk-
|
|
265
|
+
} from "./chunk-UWSAJBEG.js";
|
|
260
266
|
import {
|
|
261
267
|
init_esbuild_shims
|
|
262
268
|
} from "./chunk-5O2XNYP6.js";
|
|
@@ -404,7 +410,9 @@ var isBtwCommand = /* @__PURE__ */ __name((query) => {
|
|
|
404
410
|
return trimmed.length > 0 && BTW_COMMAND_RE.test(trimmed);
|
|
405
411
|
}, "isBtwCommand");
|
|
406
412
|
var debugLogger = createDebugLogger("COMMAND_UTILS");
|
|
413
|
+
var formatCommandFailure = /* @__PURE__ */ __name((error, command) => error instanceof Error && error.code === "ENOENT" ? `${command} not found` : error instanceof Error ? error.message : String(error), "formatCommandFailure");
|
|
407
414
|
var copyToClipboard = /* @__PURE__ */ __name(async (text) => {
|
|
415
|
+
let wlCopyError;
|
|
408
416
|
const run = /* @__PURE__ */ __name((cmd, args, options) => new Promise((resolve4, reject) => {
|
|
409
417
|
const child = options ? spawn(cmd, args, options) : spawn(cmd, args);
|
|
410
418
|
let stderr = "";
|
|
@@ -436,6 +444,20 @@ var copyToClipboard = /* @__PURE__ */ __name(async (text) => {
|
|
|
436
444
|
case "darwin":
|
|
437
445
|
return run("pbcopy", []);
|
|
438
446
|
case "linux":
|
|
447
|
+
if (isWaylandSession()) {
|
|
448
|
+
try {
|
|
449
|
+
await run("wl-copy", ["-t", "text/plain"], {
|
|
450
|
+
stdio: ["pipe", "inherit", "ignore"]
|
|
451
|
+
});
|
|
452
|
+
return;
|
|
453
|
+
} catch (error) {
|
|
454
|
+
wlCopyError = error;
|
|
455
|
+
debugLogger.debug(
|
|
456
|
+
"wl-copy failed; falling back to other clipboard methods:",
|
|
457
|
+
error
|
|
458
|
+
);
|
|
459
|
+
}
|
|
460
|
+
}
|
|
439
461
|
try {
|
|
440
462
|
await run("xclip", ["-selection", "clipboard"], linuxOptions);
|
|
441
463
|
} catch (primaryError) {
|
|
@@ -444,25 +466,20 @@ var copyToClipboard = /* @__PURE__ */ __name(async (text) => {
|
|
|
444
466
|
} catch (fallbackError) {
|
|
445
467
|
const xclipNotFound = primaryError instanceof Error && primaryError.code === "ENOENT";
|
|
446
468
|
const xselNotFound = fallbackError instanceof Error && fallbackError.code === "ENOENT";
|
|
469
|
+
const wlCopyFailure = wlCopyError === void 0 ? "" : `wl-copy failed ("${formatCommandFailure(wlCopyError, "wl-copy")}"); `;
|
|
447
470
|
if (xclipNotFound && xselNotFound) {
|
|
448
471
|
if (!writeOsc52(text)) {
|
|
449
472
|
throw new Error(
|
|
450
|
-
|
|
473
|
+
`Clipboard unavailable: ${wlCopyFailure}xclip/xsel not found and OSC 52 requires a TTY. Try running inside a terminal emulator.`
|
|
451
474
|
);
|
|
452
475
|
}
|
|
453
476
|
return;
|
|
454
477
|
}
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
primaryMsg = `xclip not found`;
|
|
458
|
-
}
|
|
459
|
-
let fallbackMsg = fallbackError instanceof Error ? fallbackError.message : String(fallbackError);
|
|
460
|
-
if (xselNotFound) {
|
|
461
|
-
fallbackMsg = `xsel not found`;
|
|
462
|
-
}
|
|
478
|
+
const primaryMsg = formatCommandFailure(primaryError, "xclip");
|
|
479
|
+
const fallbackMsg = formatCommandFailure(fallbackError, "xsel");
|
|
463
480
|
if (writeOsc52(text)) return;
|
|
464
481
|
throw new Error(
|
|
465
|
-
`Clipboard unavailable: xclip/xsel failed ("${primaryMsg}", "${fallbackMsg}") and OSC 52 requires a TTY. Try running inside a terminal emulator.`
|
|
482
|
+
`Clipboard unavailable: ${wlCopyFailure}xclip/xsel failed ("${primaryMsg}", "${fallbackMsg}") and OSC 52 requires a TTY. Try running inside a terminal emulator.`
|
|
466
483
|
);
|
|
467
484
|
}
|
|
468
485
|
}
|
|
@@ -2035,7 +2052,7 @@ var approvalModeCommand = {
|
|
|
2035
2052
|
};
|
|
2036
2053
|
}
|
|
2037
2054
|
}
|
|
2038
|
-
const autoModeNotices = mode === "auto" /* AUTO */ && priorMode !== "auto" /* AUTO */ && config ? await import("./useAutoAcceptIndicator-
|
|
2055
|
+
const autoModeNotices = mode === "auto" /* AUTO */ && priorMode !== "auto" /* AUTO */ && config ? await import("./useAutoAcceptIndicator-V7RYMAPM.js") : void 0;
|
|
2039
2056
|
if (config) {
|
|
2040
2057
|
try {
|
|
2041
2058
|
config.setApprovalMode(mode);
|
|
@@ -2802,6 +2819,88 @@ function resetBackgroundStateForSessionSwitch(config) {
|
|
|
2802
2819
|
config.getWorkflowRunRegistry().reset();
|
|
2803
2820
|
}
|
|
2804
2821
|
__name(resetBackgroundStateForSessionSwitch, "resetBackgroundStateForSessionSwitch");
|
|
2822
|
+
var MAX_LISTED_BLOCKING_ENTRIES = 10;
|
|
2823
|
+
var MAX_BLOCKING_LABEL_WIDTH = 80;
|
|
2824
|
+
function describeBlockingBackgroundWork(config) {
|
|
2825
|
+
const now = Date.now();
|
|
2826
|
+
const entries = [];
|
|
2827
|
+
for (const entry of config.getBackgroundTaskRegistry().getAll()) {
|
|
2828
|
+
if (!entry.isBackgrounded || entry.status !== "running") continue;
|
|
2829
|
+
entries.push({
|
|
2830
|
+
startTime: entry.startTime,
|
|
2831
|
+
id: entry.agentId,
|
|
2832
|
+
label: buildBackgroundEntryLabel(entry),
|
|
2833
|
+
status: entry.status,
|
|
2834
|
+
isWorkflowRun: false
|
|
2835
|
+
});
|
|
2836
|
+
}
|
|
2837
|
+
for (const entry of config.getMonitorRegistry().getRunning()) {
|
|
2838
|
+
entries.push({
|
|
2839
|
+
startTime: entry.startTime,
|
|
2840
|
+
id: entry.monitorId,
|
|
2841
|
+
label: entry.description,
|
|
2842
|
+
status: entry.status,
|
|
2843
|
+
isWorkflowRun: false
|
|
2844
|
+
});
|
|
2845
|
+
}
|
|
2846
|
+
for (const entry of config.getBackgroundShellRegistry().getAll()) {
|
|
2847
|
+
if (entry.status !== "running") continue;
|
|
2848
|
+
entries.push({
|
|
2849
|
+
startTime: entry.startTime,
|
|
2850
|
+
id: entry.shellId,
|
|
2851
|
+
label: entry.command,
|
|
2852
|
+
status: entry.status,
|
|
2853
|
+
isWorkflowRun: false
|
|
2854
|
+
});
|
|
2855
|
+
}
|
|
2856
|
+
for (const entry of config.getWorkflowRunRegistry().list()) {
|
|
2857
|
+
if (entry.status !== "running" && entry.status !== "pausing") continue;
|
|
2858
|
+
entries.push({
|
|
2859
|
+
startTime: entry.startTime,
|
|
2860
|
+
id: entry.runId,
|
|
2861
|
+
label: entry.meta?.name ?? entry.runId,
|
|
2862
|
+
status: entry.status,
|
|
2863
|
+
isWorkflowRun: true
|
|
2864
|
+
});
|
|
2865
|
+
}
|
|
2866
|
+
if (entries.length === 0) return void 0;
|
|
2867
|
+
entries.sort((a, b) => a.startTime - b.startTime);
|
|
2868
|
+
const listed = entries.slice(0, MAX_LISTED_BLOCKING_ENTRIES);
|
|
2869
|
+
const lines = listed.map((entry) => {
|
|
2870
|
+
const label = truncateToWidth(
|
|
2871
|
+
stripUnsafeCharacters(entry.label).replace(/[\r\n]+/g, " "),
|
|
2872
|
+
MAX_BLOCKING_LABEL_WIDTH
|
|
2873
|
+
);
|
|
2874
|
+
return ` [${entry.id}] ${label} (${entry.status} ${formatDuration(
|
|
2875
|
+
now - entry.startTime,
|
|
2876
|
+
{ hideTrailingZeros: true }
|
|
2877
|
+
)})`;
|
|
2878
|
+
});
|
|
2879
|
+
const overflow = entries.length - listed.length;
|
|
2880
|
+
if (overflow > 0) {
|
|
2881
|
+
lines.push(` \u2026and ${overflow} more`);
|
|
2882
|
+
}
|
|
2883
|
+
return {
|
|
2884
|
+
lines,
|
|
2885
|
+
hasTaskEntries: entries.some((entry) => !entry.isWorkflowRun),
|
|
2886
|
+
hasWorkflowRuns: entries.some((entry) => entry.isWorkflowRun)
|
|
2887
|
+
};
|
|
2888
|
+
}
|
|
2889
|
+
__name(describeBlockingBackgroundWork, "describeBlockingBackgroundWork");
|
|
2890
|
+
function buildBackgroundWorkBlockedMessage(config, baseMessage) {
|
|
2891
|
+
const blocking = describeBlockingBackgroundWork(config);
|
|
2892
|
+
if (!blocking) return baseMessage;
|
|
2893
|
+
const surfaces = [
|
|
2894
|
+
...blocking.hasTaskEntries ? ["/tasks"] : [],
|
|
2895
|
+
...blocking.hasWorkflowRuns ? ["/workflows"] : []
|
|
2896
|
+
].join(" and ");
|
|
2897
|
+
return [
|
|
2898
|
+
baseMessage,
|
|
2899
|
+
...blocking.lines,
|
|
2900
|
+
`Use ${surfaces} to inspect them, then retry.`
|
|
2901
|
+
].join("\n");
|
|
2902
|
+
}
|
|
2903
|
+
__name(buildBackgroundWorkBlockedMessage, "buildBackgroundWorkBlockedMessage");
|
|
2805
2904
|
|
|
2806
2905
|
// packages/cli/src/ui/commands/clearCommand.ts
|
|
2807
2906
|
import process2 from "node:process";
|
|
@@ -2824,12 +2923,12 @@ var clearCommand = {
|
|
|
2824
2923
|
}
|
|
2825
2924
|
if (config) {
|
|
2826
2925
|
if (hasBlockingBackgroundWork(config)) {
|
|
2827
|
-
const
|
|
2828
|
-
context.ui.setDebugMessage(
|
|
2926
|
+
const baseMessage = "Stop the current session's running background tasks before starting a new session.";
|
|
2927
|
+
context.ui.setDebugMessage(baseMessage);
|
|
2829
2928
|
return {
|
|
2830
2929
|
type: "message",
|
|
2831
2930
|
messageType: "error",
|
|
2832
|
-
content
|
|
2931
|
+
content: buildBackgroundWorkBlockedMessage(config, baseMessage)
|
|
2833
2932
|
};
|
|
2834
2933
|
}
|
|
2835
2934
|
config.getHookSystem()?.fireSessionEndEvent("clear" /* Clear */).catch((err) => {
|
|
@@ -6773,7 +6872,7 @@ var expandNowCommand = {
|
|
|
6773
6872
|
content: t("History is already expanded in this session.")
|
|
6774
6873
|
};
|
|
6775
6874
|
}
|
|
6776
|
-
const { expandCollapsedHistory } = await import("./resumeHistoryUtils-
|
|
6875
|
+
const { expandCollapsedHistory } = await import("./resumeHistoryUtils-5XRITUJZ.js");
|
|
6777
6876
|
const updated = expandCollapsedHistory(history);
|
|
6778
6877
|
loadHistory(updated);
|
|
6779
6878
|
refreshStatic();
|
|
@@ -14009,10 +14108,10 @@ var updateCommand = {
|
|
|
14009
14108
|
{ performStandaloneUpdate },
|
|
14010
14109
|
installationInfo
|
|
14011
14110
|
] = await Promise.all([
|
|
14012
|
-
import("./updateCheck-
|
|
14013
|
-
import("./processUtils-
|
|
14014
|
-
import("./standalone-update-
|
|
14015
|
-
import("./installationInfo-
|
|
14111
|
+
import("./updateCheck-O5D7VX32.js"),
|
|
14112
|
+
import("./processUtils-2CB6QR4T.js"),
|
|
14113
|
+
import("./standalone-update-7FBXFKJN.js"),
|
|
14114
|
+
import("./installationInfo-7Z6KDPOI.js")
|
|
14016
14115
|
]);
|
|
14017
14116
|
const { formatUpdateInstructions, getInstallationInfo: getInstallationInfo2 } = installationInfo;
|
|
14018
14117
|
const settings = context.services.settings;
|
|
@@ -16266,6 +16365,7 @@ export {
|
|
|
16266
16365
|
formatApprovalModeDescription,
|
|
16267
16366
|
hasBlockingBackgroundWork,
|
|
16268
16367
|
resetBackgroundStateForSessionSwitch,
|
|
16368
|
+
buildBackgroundWorkBlockedMessage,
|
|
16269
16369
|
isAtCommand,
|
|
16270
16370
|
hasSlashCommandPathSeparator,
|
|
16271
16371
|
isSlashCommand,
|
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
// Force strict mode and setup for ESM
|
|
2
2
|
"use strict";
|
|
3
3
|
import {
|
|
4
|
-
|
|
5
|
-
} from "./chunk-
|
|
4
|
+
parseToolWriteOriginMeta
|
|
5
|
+
} from "./chunk-VGHZT6JR.js";
|
|
6
|
+
import {
|
|
7
|
+
isLoopbackBind,
|
|
8
|
+
normalizeSessionIdForLookup
|
|
9
|
+
} from "./chunk-TQOF5KBL.js";
|
|
6
10
|
import {
|
|
7
11
|
MAX_CHILD_HEAP_MB,
|
|
8
12
|
MIN_CHILD_HEAP_MB,
|
|
@@ -831,12 +835,19 @@ function buildAuditContext(params, route) {
|
|
|
831
835
|
};
|
|
832
836
|
}
|
|
833
837
|
__name(buildAuditContext, "buildAuditContext");
|
|
834
|
-
function createBridgeFileSystemAdapter(factory) {
|
|
838
|
+
function createBridgeFileSystemAdapter(factory, options = {}) {
|
|
835
839
|
return {
|
|
836
840
|
async writeText(params) {
|
|
837
|
-
const
|
|
838
|
-
|
|
839
|
-
|
|
841
|
+
const ctx = buildAuditContext(params, ACP_WRITE_ROUTE);
|
|
842
|
+
if (options.allowSameHostToolWritesOutsideWorkspace === true && parseToolWriteOriginMeta(params._meta) !== void 0 && factory.writeSameHostToolText !== void 0) {
|
|
843
|
+
await factory.writeSameHostToolText(ctx, {
|
|
844
|
+
path: params.path,
|
|
845
|
+
content: params.content,
|
|
846
|
+
...sanitizeWriteMeta(params._meta)
|
|
847
|
+
});
|
|
848
|
+
return {};
|
|
849
|
+
}
|
|
850
|
+
const wfs = factory.forRequest(ctx);
|
|
840
851
|
const resolved = await wfs.resolve(params.path, "write");
|
|
841
852
|
await wfs.writeTextOverwrite(resolved, params.content);
|
|
842
853
|
return {};
|
|
@@ -857,6 +868,20 @@ function createBridgeFileSystemAdapter(factory) {
|
|
|
857
868
|
};
|
|
858
869
|
}
|
|
859
870
|
__name(createBridgeFileSystemAdapter, "createBridgeFileSystemAdapter");
|
|
871
|
+
function sanitizeWriteMeta(meta) {
|
|
872
|
+
const sanitized = {};
|
|
873
|
+
if (typeof meta?.["bom"] === "boolean") {
|
|
874
|
+
sanitized.bom = meta["bom"];
|
|
875
|
+
}
|
|
876
|
+
if (typeof meta?.["encoding"] === "string") {
|
|
877
|
+
sanitized.encoding = meta["encoding"];
|
|
878
|
+
}
|
|
879
|
+
if (meta?.["lineEnding"] === "lf" || meta?.["lineEnding"] === "crlf") {
|
|
880
|
+
sanitized.lineEnding = meta["lineEnding"];
|
|
881
|
+
}
|
|
882
|
+
return Object.keys(sanitized).length > 0 ? { meta: sanitized } : {};
|
|
883
|
+
}
|
|
884
|
+
__name(sanitizeWriteMeta, "sanitizeWriteMeta");
|
|
860
885
|
|
|
861
886
|
// packages/cli/src/serve/fs/path-mutex-registry.ts
|
|
862
887
|
init_esbuild_shims();
|
|
@@ -1219,6 +1244,7 @@ var SERVE_CAPABILITY_REGISTRY = {
|
|
|
1219
1244
|
daemon_status: { since: "v1" },
|
|
1220
1245
|
capabilities: { since: "v1" },
|
|
1221
1246
|
session_create: { since: "v1" },
|
|
1247
|
+
session_id_override: { since: "v1" },
|
|
1222
1248
|
session_scope_override: { since: "v1" },
|
|
1223
1249
|
session_load: { since: "v1" },
|
|
1224
1250
|
session_resume: { since: "v1" },
|
|
@@ -1355,6 +1381,7 @@ var SERVE_CAPABILITY_REGISTRY = {
|
|
|
1355
1381
|
// (`tools.disabled` is consulted at `Config` construction time).
|
|
1356
1382
|
workspace_tool_toggle: { since: "v1" },
|
|
1357
1383
|
workspace_skill_toggle: { since: "v1" },
|
|
1384
|
+
workspace_skill_batch_toggle: { since: "v1" },
|
|
1358
1385
|
workspace_skill_manage: { since: "v1" },
|
|
1359
1386
|
workspace_settings: { since: "v1" },
|
|
1360
1387
|
// `GET /workspace/permissions` is always available when this tag is
|
|
@@ -1912,7 +1939,7 @@ function requireSessionId(req, res) {
|
|
|
1912
1939
|
res.status(400).json({ error: "`sessionId` route parameter is required" });
|
|
1913
1940
|
return null;
|
|
1914
1941
|
}
|
|
1915
|
-
return sessionId;
|
|
1942
|
+
return normalizeSessionIdForLookup(sessionId);
|
|
1916
1943
|
}
|
|
1917
1944
|
__name(requireSessionId, "requireSessionId");
|
|
1918
1945
|
function parseClientIdHeader(req, res) {
|
|
@@ -2073,8 +2100,7 @@ var WORKSPACE_QUALIFIED_ACP_PATH = /^\/workspaces\/[^/]+\/acp$/i;
|
|
|
2073
2100
|
function resolveTier(method, path, workspaceQualifiedAcpEnabled) {
|
|
2074
2101
|
const p = path.endsWith("/") && path.length > 1 ? path.slice(0, -1) : path;
|
|
2075
2102
|
if (method === "OPTIONS") return null;
|
|
2076
|
-
if ((method === "GET" || method === "HEAD") &&
|
|
2077
|
-
return null;
|
|
2103
|
+
if ((method === "GET" || method === "HEAD") && p === "/health") return null;
|
|
2078
2104
|
if (method === "POST" && p.startsWith("/session/") && p.endsWith("/heartbeat"))
|
|
2079
2105
|
return null;
|
|
2080
2106
|
if (method === "GET" && p.startsWith("/session/") && p.endsWith("/events"))
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
SPAN_TOOL_EXECUTION,
|
|
13
13
|
TOOL_FAILURE_KIND_ATTRIBUTE,
|
|
14
14
|
TOOL_FAILURE_KIND_CANCELLED
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-PDPFQ2FO.js";
|
|
16
16
|
import {
|
|
17
17
|
createDebugLogger,
|
|
18
18
|
getCurrentSessionId,
|
|
@@ -44,6 +44,7 @@ init_esbuild_shims();
|
|
|
44
44
|
init_esm();
|
|
45
45
|
var TOOL_CALL_COUNT = `${SERVICE_NAME}.tool.call.count`;
|
|
46
46
|
var TOOL_EXECUTION_COUNT = `${SERVICE_NAME}.tool.execution.count`;
|
|
47
|
+
var REPEATED_TOOL_FAILURE_GUARD_COUNT = `${SERVICE_NAME}.repeated_tool_failure_guard.count`;
|
|
47
48
|
var TOOL_CALL_LATENCY = `${SERVICE_NAME}.tool.call.latency`;
|
|
48
49
|
var API_REQUEST_COUNT = `${SERVICE_NAME}.api.request.count`;
|
|
49
50
|
var API_REQUEST_LATENCY = `${SERVICE_NAME}.api.request.latency`;
|
|
@@ -112,6 +113,12 @@ var COUNTER_DEFINITIONS = {
|
|
|
112
113
|
assign: /* @__PURE__ */ __name((c) => toolExecutionCounter = c, "assign"),
|
|
113
114
|
attributes: {}
|
|
114
115
|
},
|
|
116
|
+
[REPEATED_TOOL_FAILURE_GUARD_COUNT]: {
|
|
117
|
+
description: "Counts privacy-safe repeated tool execution failure guard transitions.",
|
|
118
|
+
valueType: ValueType.INT,
|
|
119
|
+
assign: /* @__PURE__ */ __name((c) => repeatedToolFailureGuardCounter = c, "assign"),
|
|
120
|
+
attributes: {}
|
|
121
|
+
},
|
|
115
122
|
[API_REQUEST_COUNT]: {
|
|
116
123
|
description: "Counts API requests, tagged by model and status.",
|
|
117
124
|
valueType: ValueType.INT,
|
|
@@ -272,6 +279,7 @@ var PERFORMANCE_HISTOGRAM_DEFINITIONS = {
|
|
|
272
279
|
var cliMeter;
|
|
273
280
|
var toolCallCounter;
|
|
274
281
|
var toolExecutionCounter;
|
|
282
|
+
var repeatedToolFailureGuardCounter;
|
|
275
283
|
var toolCallLatencyHistogram;
|
|
276
284
|
var apiRequestCounter;
|
|
277
285
|
var apiRequestLatencyHistogram;
|
|
@@ -478,6 +486,11 @@ function recordToolExecutionMetrics(config, attributes) {
|
|
|
478
486
|
});
|
|
479
487
|
}
|
|
480
488
|
__name(recordToolExecutionMetrics, "recordToolExecutionMetrics");
|
|
489
|
+
function recordRepeatedToolFailureGuardMetrics(attributes) {
|
|
490
|
+
if (!repeatedToolFailureGuardCounter || !isMetricsInitialized) return;
|
|
491
|
+
repeatedToolFailureGuardCounter.add(1, attributes);
|
|
492
|
+
}
|
|
493
|
+
__name(recordRepeatedToolFailureGuardMetrics, "recordRepeatedToolFailureGuardMetrics");
|
|
481
494
|
function recordTokenUsageMetrics(config, tokenCount, attributes) {
|
|
482
495
|
if (!tokenUsageCounter || !isMetricsInitialized) return;
|
|
483
496
|
tokenUsageCounter.add(tokenCount, {
|
|
@@ -852,6 +865,31 @@ var telemetryInitialized = false;
|
|
|
852
865
|
var telemetryInitPromise;
|
|
853
866
|
var telemetryShutdownPromise;
|
|
854
867
|
var activeMetricReader;
|
|
868
|
+
var OTEL_EXPORTER_ENV_VARS = [
|
|
869
|
+
"OTEL_TRACES_EXPORTER",
|
|
870
|
+
"OTEL_LOGS_EXPORTER",
|
|
871
|
+
"OTEL_METRICS_EXPORTER"
|
|
872
|
+
];
|
|
873
|
+
function startSdkWithExplicitExporters(currentSdk) {
|
|
874
|
+
const previousValues = /* @__PURE__ */ new Map();
|
|
875
|
+
for (const name of OTEL_EXPORTER_ENV_VARS) {
|
|
876
|
+
previousValues.set(name, process.env[name]);
|
|
877
|
+
delete process.env[name];
|
|
878
|
+
}
|
|
879
|
+
try {
|
|
880
|
+
currentSdk.start();
|
|
881
|
+
} finally {
|
|
882
|
+
for (const name of OTEL_EXPORTER_ENV_VARS) {
|
|
883
|
+
const previousValue = previousValues.get(name);
|
|
884
|
+
if (previousValue === void 0) {
|
|
885
|
+
delete process.env[name];
|
|
886
|
+
} else {
|
|
887
|
+
process.env[name] = previousValue;
|
|
888
|
+
}
|
|
889
|
+
}
|
|
890
|
+
}
|
|
891
|
+
}
|
|
892
|
+
__name(startSdkWithExplicitExporters, "startSdkWithExplicitExporters");
|
|
855
893
|
function isTelemetrySdkInitialized() {
|
|
856
894
|
return telemetryInitialized;
|
|
857
895
|
}
|
|
@@ -863,12 +901,12 @@ function initializeTelemetry(config) {
|
|
|
863
901
|
telemetryInitPromise ??= (async () => {
|
|
864
902
|
const debugLogger3 = createDebugLogger("OTEL");
|
|
865
903
|
try {
|
|
866
|
-
const { startTelemetrySdk } = await import("./sdk-impl-
|
|
904
|
+
const { startTelemetrySdk } = await import("./sdk-impl-7W7AKCS4.js");
|
|
867
905
|
if (telemetryInitialized) return;
|
|
868
906
|
const started = await startTelemetrySdk(config);
|
|
869
907
|
if (!started) return;
|
|
870
908
|
sdk = started.sdk;
|
|
871
|
-
sdk
|
|
909
|
+
startSdkWithExplicitExporters(sdk);
|
|
872
910
|
debugLogger3.debug("OpenTelemetry SDK started successfully.");
|
|
873
911
|
telemetryInitialized = true;
|
|
874
912
|
activeMetricReader = started.metricReader;
|
|
@@ -1989,6 +2027,7 @@ export {
|
|
|
1989
2027
|
recordChatCompressionMetrics,
|
|
1990
2028
|
recordToolCallMetrics,
|
|
1991
2029
|
recordToolExecutionMetrics,
|
|
2030
|
+
recordRepeatedToolFailureGuardMetrics,
|
|
1992
2031
|
recordTokenUsageMetrics,
|
|
1993
2032
|
recordApiResponseMetrics,
|
|
1994
2033
|
recordApiErrorMetrics,
|