@qwen-code/qwen-code 0.19.11 → 0.19.12-preview.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/bundled/batch/SKILL.md +6 -0
- package/bundled/qc-helper/docs/configuration/model-providers.md +11 -0
- package/bundled/qc-helper/docs/configuration/settings.md +11 -10
- package/bundled/qc-helper/docs/features/channels/overview.md +66 -11
- package/bundled/qc-helper/docs/features/sub-agents.md +8 -8
- package/bundled/qc-helper/docs/features/worktree.md +2 -2
- package/bundled/qc-helper/docs/qwen-serve-deploy-local.md +42 -7
- package/bundled/qc-helper/docs/qwen-serve.md +102 -40
- package/bundled/qc-helper/docs/reference/keyboard-shortcuts.md +1 -1
- package/bundled/review/SKILL.md +60 -49
- package/bundled/simplify/SKILL.md +1 -1
- package/chunks/{MaxSizedBox-L6TGYDM3.js → MaxSizedBox-3KIWAU6Z.js} +31 -32
- package/chunks/{StandaloneSessionPicker-AKEQHU5P.js → StandaloneSessionPicker-TF626NO7.js} +45 -46
- package/chunks/acp-startup-profiler-N3RHHXJ3.js +25 -0
- package/chunks/{acpAgent-PTNBGJDN.js → acpAgent-JDVJXVBO.js} +1863 -507
- package/chunks/{agent-AJOMOZPJ.js → agent-BONWC4VY.js} +26 -27
- package/chunks/{agent-headless-CYKOMAXS.js → agent-headless-H7HKMGLZ.js} +26 -27
- package/chunks/{anthropicContentGenerator-HBRXJSP4.js → anthropicContentGenerator-ZZRGFEES.js} +35 -12
- package/chunks/{artifact-tool-MIZLXBLF.js → artifact-tool-PHO5XEGZ.js} +5 -5
- package/chunks/{askUserQuestion-XMJVPNWM.js → askUserQuestion-CEPBT47X.js} +2 -47
- package/chunks/{bridge-QKISWPCI.js → bridge-ATN2TLWJ.js} +31 -32
- package/chunks/{ca-CODEN7TD.js → ca-2SL2BXTK.js} +3 -2
- package/chunks/{channel-worker-group-SOUWTFHC.js → channel-worker-group-S3H5QHTI.js} +4 -4
- package/chunks/{channel-worker-manager-LOVSV3WW.js → channel-worker-manager-ZJ4HTMO2.js} +4 -4
- package/chunks/{channel-worker-supervisor-XW6MHJBQ.js → channel-worker-supervisor-JA6VZ5V5.js} +3 -3
- package/chunks/{chunk-ZIXOTAPZ.js → chunk-2DZ7E27L.js} +92 -3
- package/chunks/{chunk-L5U3ELZX.js → chunk-335ECZTA.js} +1 -1
- package/chunks/{chunk-2FO5GFKZ.js → chunk-3DJY4IFO.js} +1 -1
- package/chunks/{chunk-4AGTGMCQ.js → chunk-3PE7OY2G.js} +12 -12
- package/chunks/{chunk-QOTQH4CB.js → chunk-4AGBO6RB.js} +27 -10
- package/chunks/{chunk-Y66VOBRP.js → chunk-4CA4WUMS.js} +2 -2
- package/chunks/{chunk-LQIDP6K5.js → chunk-4CHDYDG3.js} +1 -1
- package/chunks/{chunk-574PTLMU.js → chunk-4OVECYBM.js} +407 -92
- package/chunks/{chunk-TV6K2FB4.js → chunk-4RPARQ5D.js} +2 -2
- package/chunks/{chunk-TL4R5TRK.js → chunk-4W55BHOC.js} +2 -2
- package/chunks/{chunk-RCEEXIOO.js → chunk-4XCVGEEX.js} +3 -3
- package/chunks/{chunk-3DWIFU7L.js → chunk-53UMEONK.js} +1 -1
- package/chunks/{chunk-AU3MFJPL.js → chunk-54KPEDM2.js} +8 -8
- package/chunks/{chunk-T76DGHGG.js → chunk-66F4IJ4L.js} +5 -5
- package/chunks/{chunk-YLSSEUAM.js → chunk-675SVDMD.js} +354 -278
- package/chunks/{chunk-NVTQZXR7.js → chunk-6QGZVKOO.js} +91 -52
- package/chunks/{chunk-NJOFRXTM.js → chunk-6TDA4EVC.js} +4200 -3450
- package/chunks/{chunk-BYH2JRK3.js → chunk-6WZZHJSZ.js} +5 -5
- package/chunks/{chunk-7X7TEQNX.js → chunk-76BFY7AF.js} +13 -0
- package/chunks/chunk-7KS72E2N.js +883 -0
- package/chunks/{chunk-CF5VJRGC.js → chunk-7LMAKIWE.js} +1 -1
- package/chunks/{chunk-WMNXXRGL.js → chunk-7O7WZH7N.js} +31 -31
- package/chunks/{chunk-7ZYHLN67.js → chunk-7OZGMFHC.js} +26 -75
- package/chunks/{chunk-6WPJRYLZ.js → chunk-7SX6WZNO.js} +3 -3
- package/chunks/{chunk-JGUT3LWZ.js → chunk-ANRANWVE.js} +4 -1
- package/chunks/{chunk-JD44PNGJ.js → chunk-AWOU24F6.js} +10 -5
- package/chunks/{chunk-6WGZDD67.js → chunk-BEFQGC6H.js} +2 -2
- package/chunks/{chunk-KXYJPRT5.js → chunk-BEZPRKD3.js} +28 -6
- package/chunks/{chunk-FYQ22K62.js → chunk-CHVH4DVN.js} +6 -5
- package/chunks/{chunk-LS56TX3M.js → chunk-CMHJEUVB.js} +1 -1
- package/chunks/{chunk-FXKOAEXP.js → chunk-CXWUXRD5.js} +14 -14
- package/chunks/{chunk-CAHY5ABC.js → chunk-DULSE2SH.js} +1 -1
- package/chunks/{chunk-SQ5BK3GO.js → chunk-DYUPBU7H.js} +1 -1
- package/chunks/{chunk-FNX3LGAK.js → chunk-E655RDRL.js} +1 -1
- package/chunks/{chunk-N5VIZTND.js → chunk-EWPLL4OT.js} +1 -1
- package/chunks/{chunk-FSA7ERJ2.js → chunk-F2RR4HO2.js} +1 -1
- package/chunks/{chunk-S63Z5V42.js → chunk-F2YCCUXI.js} +4 -4
- package/chunks/{chunk-3AYLDB6B.js → chunk-FEZXQXW2.js} +1 -1
- package/chunks/{chunk-OWT2CAEQ.js → chunk-GEHSF7MS.js} +105 -12
- package/chunks/{chunk-LXLTBIDP.js → chunk-HCCR43AY.js} +1 -1
- package/chunks/{chunk-7NMU22Q3.js → chunk-HQ7MDVBO.js} +18 -7
- package/chunks/{chunk-KSZKSE23.js → chunk-HVWPSGDY.js} +1 -1
- package/chunks/{chunk-YFVO2HOR.js → chunk-HZXU6YZW.js} +5 -5
- package/chunks/{chunk-HASK4LMI.js → chunk-IKLWU6YS.js} +13 -6
- package/chunks/{chunk-GNBBAQ6J.js → chunk-ILQ42UG6.js} +111 -40
- package/chunks/{chunk-THXDQSTA.js → chunk-IQRQVPGN.js} +49 -154
- package/chunks/{chunk-SPJQO2CE.js → chunk-J2MKYJKZ.js} +2 -2
- package/chunks/{chunk-SUARMD4Q.js → chunk-J6NT5YTN.js} +28 -2
- package/chunks/{chunk-TYLOFD2U.js → chunk-JCJPZMJV.js} +1 -1
- package/chunks/{chunk-BYB3GF2T.js → chunk-JCYMQU5F.js} +133 -6
- package/chunks/{chunk-6EDDYPI3.js → chunk-JUNVFQVY.js} +4 -4
- package/chunks/{chunk-CH2XVB47.js → chunk-K7P34F2J.js} +3 -3
- package/chunks/{chunk-5VWYKIMW.js → chunk-KANTXY7B.js} +2 -2
- package/chunks/{chunk-K7VD4XLT.js → chunk-LHEQDKAR.js} +1 -1
- package/chunks/{chunk-A2HWMJVO.js → chunk-LKR7QQ63.js} +3 -3
- package/chunks/{chunk-4HUDDSO5.js → chunk-LLIGYAQU.js} +4 -4
- package/chunks/{chunk-5Z452MMD.js → chunk-LODZMRXC.js} +154 -83
- package/chunks/{chunk-FBU7WRZI.js → chunk-LPHGXXZX.js} +6 -1
- package/chunks/{chunk-CPFIQVZJ.js → chunk-LYFDJTXE.js} +1 -1
- package/chunks/{chunk-TIOE2OPE.js → chunk-MCYZTKBV.js} +2 -2
- package/chunks/{chunk-ZQIYGQCG.js → chunk-MHEZV3OY.js} +506 -143
- package/chunks/{chunk-JWICTOXS.js → chunk-NGTQA57Y.js} +2 -2
- package/chunks/{chunk-5CNYZ7TN.js → chunk-NJQPQ4IO.js} +7 -7
- package/chunks/chunk-NSZJQACR.js +45 -0
- package/chunks/{chunk-DOPUYNXO.js → chunk-NUHSLBJZ.js} +7 -7
- package/chunks/{chunk-CITWNIXJ.js → chunk-NVUGS23Y.js} +5 -5
- package/chunks/{chunk-2Z5UX4KI.js → chunk-OSSDHJDU.js} +1 -1
- package/chunks/{chunk-YUZI3WAC.js → chunk-OWAK7LMW.js} +7 -0
- package/chunks/{chunk-Y3KFTWVX.js → chunk-OZWJAFFE.js} +6 -6
- package/chunks/{chunk-YGYSMY2R.js → chunk-PSISZNIT.js} +1629 -1142
- package/chunks/{chunk-4ROQY23C.js → chunk-PTXVHS2O.js} +7 -7
- package/chunks/{chunk-OKAIGAYW.js → chunk-QGONRHUS.js} +3 -3
- package/chunks/{chunk-PZL23GTM.js → chunk-QR6U5QPP.js} +8 -0
- package/chunks/chunk-QSG4ZFG4.js +257 -0
- package/chunks/{chunk-BXBDC476.js → chunk-R32BTEZY.js} +5 -5
- package/chunks/{chunk-AVEOWVOM.js → chunk-R3VWUU2E.js} +1 -1
- package/chunks/{chunk-RP5R7MB6.js → chunk-R4RIMOJL.js} +12 -12
- package/chunks/{chunk-ARKANCNX.js → chunk-SGPFJMRP.js} +1 -1
- package/chunks/{chunk-3M75MSVA.js → chunk-SMASS3CY.js} +1 -1
- package/chunks/{chunk-4IJMTYCB.js → chunk-SNONG66P.js} +818 -29
- package/chunks/chunk-TDKQP3M6.js +201 -0
- package/chunks/{chunk-VFX7EZIR.js → chunk-TFV3XVAZ.js} +8 -1
- package/chunks/{chunk-4LD5APFL.js → chunk-TYQMGACW.js} +1 -0
- package/chunks/{chunk-7NFB7LBQ.js → chunk-UE5TZ55T.js} +8 -0
- package/chunks/{chunk-F333XEAU.js → chunk-UOA2IHRI.js} +4 -3
- package/chunks/{chunk-VRR65QYW.js → chunk-V4PCIS25.js} +5 -1
- package/chunks/{chunk-WIEO4CWB.js → chunk-VAJS2E2D.js} +1 -1
- package/chunks/{chunk-GLNHPRZT.js → chunk-W4DFAUAO.js} +1 -1
- package/chunks/{chunk-STZQCNN3.js → chunk-W7H223ZZ.js} +1 -1
- package/chunks/{chunk-6Y6ORE2G.js → chunk-WACI4VES.js} +288 -20
- package/chunks/{chunk-WTNZ6DXB.js → chunk-WEPXQKGP.js} +1 -1
- package/chunks/{chunk-4BJVSIS3.js → chunk-WHQNBBWW.js} +2 -2
- package/chunks/{chunk-QDJ2R4CM.js → chunk-WTHRMVKB.js} +3 -3
- package/chunks/{chunk-L4Y55KIS.js → chunk-X6YQWCIJ.js} +1 -1
- package/chunks/{chunk-Q6TUALBE.js → chunk-XAAEDML2.js} +1 -1
- package/chunks/{chunk-BUAXJVNP.js → chunk-XACBIZJB.js} +3 -3
- package/chunks/{chunk-2OG646IN.js → chunk-XFJU7SVP.js} +4 -4
- package/chunks/{chunk-KKRTYONM.js → chunk-XSPFQQRE.js} +3 -3
- package/chunks/{chunk-V2DXTLUE.js → chunk-Y5UDBQYF.js} +3 -3
- package/chunks/{chunk-MQOVXZAF.js → chunk-YN2I5I42.js} +529 -61
- package/chunks/{chunk-FMNYGWOD.js → chunk-Z4ZCVYJ5.js} +14 -8
- package/chunks/{chunk-SY7NEYX4.js → chunk-ZFHHBRRA.js} +2 -2
- package/chunks/{chunk-QYG4BY6Q.js → chunk-ZPVGEMVC.js} +1 -1
- package/chunks/{computer-use-VZZMJEQ7.js → computer-use-UY4A72X7.js} +26 -27
- package/chunks/{config-utils-IQQT3GCI.js → config-utils-KWTRFP7D.js} +3 -3
- package/chunks/{contextCommand-PORKIZSY.js → contextCommand-3DZ2SVH6.js} +30 -31
- package/chunks/{create-sub-session-EAB2U5XW.js → create-sub-session-DIJOV6HV.js} +2 -2
- package/chunks/{create-sub-session-XVFKHAFW.js → create-sub-session-OT7WXLDO.js} +27 -28
- package/chunks/{cron-create-GMVKSXZT.js → cron-create-X462ERYA.js} +4 -4
- package/chunks/{cron-delete-VDZKUAVK.js → cron-delete-SL5UJUM3.js} +4 -4
- package/chunks/{cron-list-UG7C7RAR.js → cron-list-3MD6SVXI.js} +4 -4
- package/chunks/{daemon-IHR6WSPB.js → daemon-ZW6LHOXT.js} +91 -14
- package/chunks/{daemon-status-provider-ABLBA3UJ.js → daemon-status-provider-GTZOYSBO.js} +35 -36
- package/chunks/{de-NOXPCSYN.js → de-I7ZIYXZC.js} +3 -2
- package/chunks/{dist-PX2ERZ6I.js → dist-HCUUS6IH.js} +2 -2
- package/chunks/{dist-VYWUKURL.js → dist-O2IP3G5D.js} +1 -1
- package/chunks/{dist-GXJVCOS7.js → dist-RZBJT5O2.js} +2 -1
- package/chunks/{dist-V2YVLYOW.js → dist-Y54RURGT.js} +3 -1
- package/chunks/{dist-DOPL5LSQ.js → dist-YTPTCUAD.js} +1 -1
- package/chunks/{dist-4WCQEZIN.js → dist-ZJHKKWUD.js} +1 -1
- package/chunks/{earlyInputCapture-DJCU5SPU.js → earlyInputCapture-GGWVGBZ7.js} +27 -28
- package/chunks/{edit-O4VV5AO6.js → edit-JN467GIR.js} +27 -28
- package/chunks/{en-JFVULHTB.js → en-XE34GKAA.js} +7 -3
- package/chunks/{enter-worktree-XQYDDI2I.js → enter-worktree-MMO4VBQE.js} +26 -27
- package/chunks/{enterPlanMode-CESVMQBV.js → enterPlanMode-BRZOG4DB.js} +27 -30
- package/chunks/{environment-5KXOLZNR.js → environment-LOCDCWMZ.js} +29 -30
- package/chunks/{errors-EBUTCBAQ.js → errors-XXSL5HGG.js} +29 -30
- package/chunks/{exit-worktree-MWGNSPNX.js → exit-worktree-UD7PI5H5.js} +26 -27
- package/chunks/exitPlanMode-EIUETQI6.js +389 -0
- package/chunks/{fast-path-6V73F2T2.js → fast-path-ULGAEUVK.js} +2 -2
- package/chunks/{fr-HVFNU42H.js → fr-X7KDVZIY.js} +3 -2
- package/chunks/{gemini-TEFJZCIZ.js → gemini-KW3APZ4P.js} +133 -80
- package/chunks/{geminiContentGenerator-M56BEXWI.js → geminiContentGenerator-4BQ5QHPR.js} +5 -5
- package/chunks/{glob-DMYFEEAZ.js → glob-FPKAMR6B.js} +32 -28
- package/chunks/{grep-GYE47MD4.js → grep-MOGRCYB4.js} +32 -28
- package/chunks/{handleAutoUpdate-OLUY4L7L.js → handleAutoUpdate-QUMRZZOS.js} +33 -34
- package/chunks/{i18n-462JC7IY.js → i18n-F3W6YUYP.js} +28 -29
- package/chunks/{initializer-Y7WD4D2I.js → initializer-KLU2KAIZ.js} +33 -34
- package/chunks/{installationInfo-I2Z3BKCE.js → installationInfo-P3ZP2SIZ.js} +27 -28
- package/chunks/{ja-PY5AF544.js → ja-2ICT3KXF.js} +3 -2
- package/chunks/{keychain-token-storage-AU22CQI6.js → keychain-token-storage-K23CFKGN.js} +2 -2
- package/chunks/{list-XQ5MSAXP.js → list-4X6D5JD2.js} +35 -36
- package/chunks/{loadedSettingsAdapter-TQOWYE7C.js → loadedSettingsAdapter-446B6WKA.js} +32 -33
- package/chunks/{loop-wakeup-QXWZSCYM.js → loop-wakeup-6H7OENTB.js} +5 -5
- package/chunks/{ls-2OUTG3IZ.js → ls-APTSOOS5.js} +4 -4
- package/chunks/{lsp-4VMNXZW6.js → lsp-HPACPJAN.js} +2 -2
- package/chunks/{mcp-22LLEEVM.js → mcp-JYVOJZOD.js} +32 -33
- package/chunks/{monitor-VKG324X3.js → monitor-KY7YH7TL.js} +26 -27
- package/chunks/nonInteractiveCli-EK35TLVJ.js +129 -0
- package/chunks/{notebook-edit-FJJRBQ3S.js → notebook-edit-IHGW42QK.js} +27 -28
- package/chunks/{openaiContentGenerator-4T2OGTR5.js → openaiContentGenerator-FURUCKQJ.js} +13 -14
- package/chunks/{pidfile-XL3MDCBM.js → pidfile-WKUVXDMR.js} +27 -28
- package/chunks/{processUtils-7UCFN34D.js → processUtils-LHSRN76X.js} +2 -2
- package/chunks/{pt-A3PRQXMU.js → pt-JJ4XPIBP.js} +3 -2
- package/chunks/{qwenContentGenerator-PQUXJDIZ.js → qwenContentGenerator-NRLM7R36.js} +30 -31
- package/chunks/{qwenOAuth2-LEYOU7RU.js → qwenOAuth2-5FNX3AWH.js} +22 -5
- package/chunks/{read-file-3EYQML7E.js → read-file-VLEAEXFP.js} +9 -10
- package/chunks/{read-mcp-resource-JUFHCKSC.js → read-mcp-resource-C6NT52T6.js} +2 -2
- package/chunks/{record-artifact-DWSMBXYY.js → record-artifact-ENCU7QCL.js} +2 -2
- package/chunks/{ripGrep-S6WPGQNA.js → ripGrep-MT23EIDD.js} +26 -27
- package/chunks/{ru-IBCWUTOC.js → ru-STR4KTW7.js} +3 -2
- package/chunks/{run-qwen-serve-NSKBT3HU.js → run-qwen-serve-5HWOQFLI.js} +63 -47
- package/chunks/{runtime-LG5ZZ3VH.js → runtime-6IVKJSLW.js} +38 -37
- package/chunks/{scheduler-PLX3VVTB.js → scheduler-63GJG75U.js} +26 -27
- package/chunks/{send-message-JZ752NWD.js → send-message-5GZ4FX2V.js} +3 -3
- package/chunks/{serve-S2ZLRZZR.js → serve-3LL7RRDP.js} +32 -33
- package/chunks/{server-5ECMV4TM.js → server-AA24QLPA.js} +1672 -615
- package/chunks/{session-ILSONWG4.js → session-LRVCFQQQ.js} +102 -75
- package/chunks/{settings-BOE7WWSA.js → settings-ZX3OKUT4.js} +36 -37
- package/chunks/{shell-VW664JIZ.js → shell-KR3IMYH6.js} +26 -27
- package/chunks/{skill-COHV6625.js → skill-QLM2LSF7.js} +11 -12
- package/chunks/{spawnChannel-5UUR5XOZ.js → spawnChannel-6WFOK3SA.js} +28 -29
- package/chunks/{src-XPKFZ3RN.js → src-ADLNIPHD.js} +101 -72
- package/chunks/{standalone-update-IOOJ2NZQ.js → standalone-update-C54OTJWJ.js} +29 -30
- package/chunks/{startInteractiveUI-3NGJGXXS.js → startInteractiveUI-KFAOS6HC.js} +2342 -1796
- package/chunks/{stdioHelpers-UMY72QRP.js → stdioHelpers-HGIYTWAY.js} +3 -1
- package/chunks/{syntheticOutput-LELY6HAI.js → syntheticOutput-ULOVVLY4.js} +3 -3
- package/chunks/{task-create-QY3BIMNM.js → task-create-DUE2PMNI.js} +7 -7
- package/chunks/{task-list-D2U47WBJ.js → task-list-WVPNX7BZ.js} +5 -5
- package/chunks/{task-stop-N6E5IYLH.js → task-stop-CPEQWOT6.js} +2 -2
- package/chunks/{task-update-HJCQILLB.js → task-update-HY2LNFFB.js} +7 -7
- package/chunks/{team-create-UPLVZQFX.js → team-create-Q5B5M7UD.js} +26 -27
- package/chunks/{team-delete-RCWYDRF4.js → team-delete-JJV6IUOA.js} +5 -5
- package/chunks/{team-plan-approval-F5F432RO.js → team-plan-approval-J55PXNY2.js} +26 -27
- package/chunks/{theme-manager-JJE4BJ67.js → theme-manager-QWTDRPHV.js} +27 -28
- package/chunks/todoWrite-JHHIDOIV.js +358 -0
- package/chunks/{tool-search-LRXI4JLZ.js → tool-search-LSSKWZKH.js} +10 -11
- package/chunks/{total-session-admission-I4DHN6UP.js → total-session-admission-S6ATY5HY.js} +32 -33
- package/chunks/{trustedFolders-SEH7LNX2.js → trustedFolders-CY4TUPDJ.js} +28 -29
- package/chunks/turndown.cjs-FZHGMUTY.js +17670 -0
- package/chunks/{update-relaunch-T6ZKBUA6.js → update-relaunch-IOKOUV3K.js} +6 -6
- package/chunks/{updateCheck-FWLXZPRO.js → updateCheck-YNRFE4V7.js} +30 -31
- package/chunks/{validateNonInterActiveAuth-X6K2VWYT.js → validateNonInterActiveAuth-OXTECS4B.js} +68 -68
- package/chunks/{version-LIFSOGSE.js → version-2CZQQDL5.js} +1 -1
- package/chunks/web-fetch-7QTEGJI5.js +938 -0
- package/chunks/{workflow-NX2DFWGD.js → workflow-G3CZU256.js} +29 -30
- package/chunks/{workspace-providers-status-VYD6M2NE.js → workspace-providers-status-UHQOIPAZ.js} +35 -36
- package/chunks/{workspace-registration-store-2Y6PWOEL.js → workspace-registration-store-5WPCMX4F.js} +1 -1
- package/chunks/{workspace-registry-PKBDBWCA.js → workspace-registry-LAQCRQTH.js} +32 -33
- package/chunks/{workspace-service-HHORUHTS.js → workspace-service-6ZEUJY2Z.js} +38 -39
- package/chunks/{workspace-skills-status-O5Q26LIY.js → workspace-skills-status-YG6OITSM.js} +33 -34
- package/chunks/{write-file-NVAEZ3J2.js → write-file-E7T3PU3B.js} +60 -28
- package/chunks/{zh-PAUNIMHQ.js → zh-6ANG2HTL.js} +7 -3
- package/chunks/{zh-TW-GNEUIUFF.js → zh-TW-4RR3YHNN.js} +7 -3
- package/cli-entry.js +37 -2
- package/cli.js +17 -11
- package/locales/ca.js +3 -2
- package/locales/de.js +3 -2
- package/locales/en.js +10 -5
- package/locales/fr.js +3 -2
- package/locales/ja.js +3 -2
- package/locales/pt.js +3 -2
- package/locales/ru.js +3 -2
- package/locales/zh-TW.js +9 -3
- package/locales/zh.js +9 -3
- package/package.json +3 -3
- package/web-shell/assets/{arc-H74fE8UR.js → arc-_dVIKMdB.js} +1 -1
- package/web-shell/assets/{architectureDiagram-3BPJPVTR-DN3kEq-I.js → architectureDiagram-3BPJPVTR-MuN3nKpL.js} +1 -1
- package/web-shell/assets/{blockDiagram-GPEHLZMM-BrqbsFUF.js → blockDiagram-GPEHLZMM-BtmvJjzx.js} +1 -1
- package/web-shell/assets/{c4Diagram-AAUBKEIU-ClFhU1P-.js → c4Diagram-AAUBKEIU-Dvi58_BU.js} +1 -1
- package/web-shell/assets/channel-Bi5TehaT.js +1 -0
- package/web-shell/assets/{chunk-2J33WTMH-jCIcG0_M.js → chunk-2J33WTMH-YqxOVhS1.js} +1 -1
- package/web-shell/assets/{chunk-4BX2VUAB-DSkGe62-.js → chunk-4BX2VUAB-DoBgbC9z.js} +1 -1
- package/web-shell/assets/{chunk-55IACEB6-BxBHOGTd.js → chunk-55IACEB6-3NEQrBAr.js} +1 -1
- package/web-shell/assets/{chunk-727SXJPM-v_DS7dH7.js → chunk-727SXJPM-DrCZQxp0.js} +1 -1
- package/web-shell/assets/{chunk-AQP2D5EJ-1RzEKRPq.js → chunk-AQP2D5EJ-m_g3zjgv.js} +1 -1
- package/web-shell/assets/{chunk-FMBD7UC4-DyrSbLOX.js → chunk-FMBD7UC4-D1_crABJ.js} +1 -1
- package/web-shell/assets/{chunk-ND2GUHAM-BCmdsZiy.js → chunk-ND2GUHAM-BdhgVtBx.js} +1 -1
- package/web-shell/assets/{chunk-QZHKN3VN-CphHGW2D.js → chunk-QZHKN3VN-BlmThhm-.js} +1 -1
- package/web-shell/assets/classDiagram-4FO5ZUOK-BKhhRdd1.js +1 -0
- package/web-shell/assets/classDiagram-v2-Q7XG4LA2-BKhhRdd1.js +1 -0
- package/web-shell/assets/{cose-bilkent-S5V4N54A-D5kRC7Fi.js → cose-bilkent-S5V4N54A-Cbjm_00Z.js} +1 -1
- package/web-shell/assets/{dagre-BM42HDAG-DIiyJJ0U.js → dagre-BM42HDAG-C39QNVgC.js} +1 -1
- package/web-shell/assets/{diagram-2AECGRRQ-BOcuB8xU.js → diagram-2AECGRRQ-DNXSAixC.js} +1 -1
- package/web-shell/assets/{diagram-5GNKFQAL-CMgiZ4d3.js → diagram-5GNKFQAL-BCbGUPEA.js} +1 -1
- package/web-shell/assets/{diagram-KO2AKTUF-Ctx8pfN0.js → diagram-KO2AKTUF-1eujKSDC.js} +1 -1
- package/web-shell/assets/{diagram-LMA3HP47-BT5REAWC.js → diagram-LMA3HP47-DUMKXgql.js} +1 -1
- package/web-shell/assets/{diagram-OG6HWLK6-CJkUqXcp.js → diagram-OG6HWLK6-BFktU3_u.js} +1 -1
- package/web-shell/assets/{erDiagram-TEJ5UH35-DyvNNX6v.js → erDiagram-TEJ5UH35-BvJC7DLk.js} +1 -1
- package/web-shell/assets/{flowDiagram-I6XJVG4X-VBf8_My8.js → flowDiagram-I6XJVG4X-Cgu3PlOt.js} +1 -1
- package/web-shell/assets/{ganttDiagram-6RSMTGT7-CviJnR7B.js → ganttDiagram-6RSMTGT7-DLNXN5Xh.js} +1 -1
- package/web-shell/assets/{gitGraphDiagram-PVQCEYII-BY66_Oze.js → gitGraphDiagram-PVQCEYII-BQFRDv6R.js} +1 -1
- package/web-shell/assets/index-C_ouplMQ.js +1187 -0
- package/web-shell/assets/{index-DhYuvi3j.js → index-CdC3pjP3.js} +1 -1
- package/web-shell/assets/index-XGDFJE-X.css +5 -0
- package/web-shell/assets/{infoDiagram-5YYISTIA-D2jaewWZ.js → infoDiagram-5YYISTIA-DT2mOSvp.js} +1 -1
- package/web-shell/assets/{ishikawaDiagram-YF4QCWOH-BpnNTyi5.js → ishikawaDiagram-YF4QCWOH-9fy_K4bd.js} +1 -1
- package/web-shell/assets/{journeyDiagram-JHISSGLW-CA55GNZF.js → journeyDiagram-JHISSGLW-CoGSEuhE.js} +1 -1
- package/web-shell/assets/{kanban-definition-UN3LZRKU-DyiSl_Ts.js → kanban-definition-UN3LZRKU-BP9hHYIj.js} +1 -1
- package/web-shell/assets/{linear-B-sN3dkV.js → linear-uIroDsmp.js} +1 -1
- package/web-shell/assets/{mermaid.core-xf9SXDdb.js → mermaid.core-BUwoStsA.js} +5 -5
- package/web-shell/assets/{mindmap-definition-RKZ34NQL-DXhr2kRk.js → mindmap-definition-RKZ34NQL-DZB-FWim.js} +1 -1
- package/web-shell/assets/{pieDiagram-4H26LBE5-DUXpbfGQ.js → pieDiagram-4H26LBE5-YPptloKl.js} +1 -1
- package/web-shell/assets/{quadrantDiagram-W4KKPZXB-NeDQYeWw.js → quadrantDiagram-W4KKPZXB-dgk3DSzm.js} +1 -1
- package/web-shell/assets/{requirementDiagram-4Y6WPE33-BSbFRL1A.js → requirementDiagram-4Y6WPE33-BH2En2i9.js} +1 -1
- package/web-shell/assets/{sankeyDiagram-5OEKKPKP-gg27cAaN.js → sankeyDiagram-5OEKKPKP-BB98feeI.js} +1 -1
- package/web-shell/assets/{sequenceDiagram-3UESZ5HK-Bi_1TSs4.js → sequenceDiagram-3UESZ5HK-CunAIGh8.js} +1 -1
- package/web-shell/assets/{stateDiagram-AJRCARHV-CboCCRaf.js → stateDiagram-AJRCARHV-DTJs_-I2.js} +1 -1
- package/web-shell/assets/stateDiagram-v2-BHNVJYJU-DrfFMYta.js +1 -0
- package/web-shell/assets/{timeline-definition-PNZ67QCA-DrGpF_jn.js → timeline-definition-PNZ67QCA-Cd4AN7O0.js} +1 -1
- package/web-shell/assets/{vennDiagram-CIIHVFJN-DCaJU67x.js → vennDiagram-CIIHVFJN-xIG-rUU9.js} +1 -1
- package/web-shell/assets/{wardley-L42UT6IY-p0QcW1aP.js → wardley-L42UT6IY-D1UyjIcG.js} +1 -1
- package/web-shell/assets/{wardleyDiagram-YWT4CUSO-DiEVxj1W.js → wardleyDiagram-YWT4CUSO-BVM0Mb99.js} +1 -1
- package/web-shell/assets/{xychartDiagram-2RQKCTM6-iQB8nSlA.js → xychartDiagram-2RQKCTM6-BX31JDSz.js} +1 -1
- package/web-shell/index.html +2 -2
- package/chunks/chunk-2HRYPZT5.js +0 -25
- package/chunks/chunk-QAW7PIHT.js +0 -168
- package/chunks/chunk-RTV5TUYB.js +0 -143
- package/chunks/chunk-ZPAHLFZU.js +0 -172
- package/chunks/exitPlanMode-HYQL4XMB.js +0 -909
- package/chunks/nonInteractiveCli-UMYUT643.js +0 -129
- package/chunks/todoWrite-FKCGATPJ.js +0 -531
- package/chunks/web-fetch-CFCWTCAP.js +0 -5673
- package/web-shell/assets/channel-NFC5ADAa.js +0 -1
- package/web-shell/assets/classDiagram-4FO5ZUOK-DHgwjz3X.js +0 -1
- package/web-shell/assets/classDiagram-v2-Q7XG4LA2-DHgwjz3X.js +0 -1
- package/web-shell/assets/index-8xIBbHV3.js +0 -1143
- package/web-shell/assets/index-DLyhlZZO.css +0 -5
- package/web-shell/assets/stateDiagram-v2-BHNVJYJU-CXRqms6P.js +0 -1
|
@@ -1,8 +1,5 @@
|
|
|
1
1
|
// Force strict mode and setup for ESM
|
|
2
2
|
"use strict";
|
|
3
|
-
import {
|
|
4
|
-
contextCommand
|
|
5
|
-
} from "./chunk-FMNYGWOD.js";
|
|
6
3
|
import {
|
|
7
4
|
ExtensionRefreshState,
|
|
8
5
|
clearSkillArgs,
|
|
@@ -12,7 +9,13 @@ import {
|
|
|
12
9
|
staleArgsWarning,
|
|
13
10
|
validateAuthMethod,
|
|
14
11
|
writeSkillArgs
|
|
15
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-PSISZNIT.js";
|
|
13
|
+
import {
|
|
14
|
+
isKittyProtocolEnabled
|
|
15
|
+
} from "./chunk-5DTTYNB7.js";
|
|
16
|
+
import {
|
|
17
|
+
contextCommand
|
|
18
|
+
} from "./chunk-Z4ZCVYJ5.js";
|
|
16
19
|
import {
|
|
17
20
|
VSCODE_SHIFT_ENTER_SEQUENCE,
|
|
18
21
|
calculateCost,
|
|
@@ -24,53 +27,48 @@ import {
|
|
|
24
27
|
levelLabel,
|
|
25
28
|
useKeypress,
|
|
26
29
|
writeOsc52
|
|
27
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-6QGZVKOO.js";
|
|
28
31
|
import {
|
|
29
32
|
Text
|
|
30
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-GEHSF7MS.js";
|
|
31
34
|
import {
|
|
32
|
-
|
|
33
|
-
} from "./chunk-
|
|
34
|
-
import {
|
|
35
|
-
isTerminalGoalStatusKind
|
|
36
|
-
} from "./chunk-7X7TEQNX.js";
|
|
37
|
-
import {
|
|
38
|
-
require_react
|
|
39
|
-
} from "./chunk-HTHUX2T5.js";
|
|
35
|
+
themeManager
|
|
36
|
+
} from "./chunk-XAAEDML2.js";
|
|
40
37
|
import {
|
|
41
38
|
getInstallationInfo
|
|
42
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-4W55BHOC.js";
|
|
43
40
|
import {
|
|
44
41
|
rollbackStandaloneUpdate
|
|
45
|
-
} from "./chunk-
|
|
46
|
-
import {
|
|
47
|
-
themeManager
|
|
48
|
-
} from "./chunk-Q6TUALBE.js";
|
|
42
|
+
} from "./chunk-Y5UDBQYF.js";
|
|
49
43
|
import {
|
|
50
44
|
GITHUB_WORKFLOW_PATHS,
|
|
51
45
|
INSIGHT_CSS,
|
|
52
46
|
INSIGHT_JS,
|
|
53
47
|
collectSessionData,
|
|
54
48
|
generateExportFilename,
|
|
49
|
+
installGoalTerminalObserver,
|
|
55
50
|
normalizeSessionData,
|
|
56
51
|
setupGithub,
|
|
57
52
|
toHtml,
|
|
58
53
|
toJson,
|
|
59
54
|
toJsonl,
|
|
60
55
|
toMarkdown
|
|
61
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-WACI4VES.js";
|
|
62
57
|
import {
|
|
63
58
|
stripUnsafeCharacters,
|
|
64
59
|
toCodePoints
|
|
65
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-J6NT5YTN.js";
|
|
61
|
+
import {
|
|
62
|
+
require_react
|
|
63
|
+
} from "./chunk-HTHUX2T5.js";
|
|
66
64
|
import {
|
|
67
65
|
getErrorMessage as getErrorMessage2
|
|
68
|
-
} from "./chunk-
|
|
66
|
+
} from "./chunk-LLIGYAQU.js";
|
|
69
67
|
import {
|
|
70
68
|
getExtendedSystemInfo,
|
|
71
69
|
getGitVersion,
|
|
72
70
|
getNpmVersion
|
|
73
|
-
} from "./chunk-
|
|
71
|
+
} from "./chunk-F2YCCUXI.js";
|
|
74
72
|
import {
|
|
75
73
|
formatDuration,
|
|
76
74
|
formatMemoryUsage,
|
|
@@ -79,7 +77,7 @@ import {
|
|
|
79
77
|
import {
|
|
80
78
|
isInlineModelOverrideAllowed,
|
|
81
79
|
parseAcpModelOption
|
|
82
|
-
} from "./chunk-
|
|
80
|
+
} from "./chunk-2DZ7E27L.js";
|
|
83
81
|
import {
|
|
84
82
|
formatUnsupportedVoiceModelMessage,
|
|
85
83
|
getVoiceSettingsScope,
|
|
@@ -87,7 +85,7 @@ import {
|
|
|
87
85
|
isVoiceEnabled,
|
|
88
86
|
readVoiceMode,
|
|
89
87
|
readVoiceModel
|
|
90
|
-
} from "./chunk-
|
|
88
|
+
} from "./chunk-SMASS3CY.js";
|
|
91
89
|
import {
|
|
92
90
|
OUTPUT_LANGUAGE_AUTO,
|
|
93
91
|
getAllSettingKeys,
|
|
@@ -96,10 +94,10 @@ import {
|
|
|
96
94
|
getPersistScopeForModelSelection,
|
|
97
95
|
getSettingDefinition,
|
|
98
96
|
isAutoLanguage,
|
|
99
|
-
|
|
97
|
+
resolveOutputLanguageOrPreserveAuto,
|
|
100
98
|
validateSettingValue,
|
|
101
99
|
writeOutputLanguageAndRegisterPath
|
|
102
|
-
} from "./chunk-
|
|
100
|
+
} from "./chunk-ILQ42UG6.js";
|
|
103
101
|
import {
|
|
104
102
|
SUPPORTED_LANGUAGES,
|
|
105
103
|
getCurrentLanguage,
|
|
@@ -107,11 +105,11 @@ import {
|
|
|
107
105
|
resolveSupportedLanguage,
|
|
108
106
|
setLanguageAsync,
|
|
109
107
|
t
|
|
110
|
-
} from "./chunk-
|
|
108
|
+
} from "./chunk-3PE7OY2G.js";
|
|
111
109
|
import {
|
|
112
110
|
isFolderTrustEnabled,
|
|
113
111
|
loadTrustedFolders
|
|
114
|
-
} from "./chunk-
|
|
112
|
+
} from "./chunk-XFJU7SVP.js";
|
|
115
113
|
import {
|
|
116
114
|
require_strip_json_comments
|
|
117
115
|
} from "./chunk-ALGGS7UH.js";
|
|
@@ -179,27 +177,28 @@ import {
|
|
|
179
177
|
require_toml,
|
|
180
178
|
resolveModelId,
|
|
181
179
|
runForkedAgent,
|
|
182
|
-
setGoalTerminalObserver,
|
|
183
|
-
setLastGoalTerminal,
|
|
184
180
|
stripStartupContext,
|
|
185
181
|
tryGenerateSessionTitle,
|
|
186
182
|
unregisterGoalHook
|
|
187
|
-
} from "./chunk-
|
|
183
|
+
} from "./chunk-6TDA4EVC.js";
|
|
188
184
|
import {
|
|
189
185
|
external_exports
|
|
190
186
|
} from "./chunk-H6XPXXMH.js";
|
|
191
187
|
import {
|
|
192
188
|
APPROVAL_MODES,
|
|
193
189
|
FORK_SUBAGENT_TYPE
|
|
194
|
-
} from "./chunk-
|
|
190
|
+
} from "./chunk-UOA2IHRI.js";
|
|
195
191
|
import {
|
|
196
192
|
applySkillAllowedTools,
|
|
197
193
|
buildSkillLlmContent
|
|
198
|
-
} from "./chunk-
|
|
194
|
+
} from "./chunk-OSSDHJDU.js";
|
|
199
195
|
import {
|
|
200
196
|
HookEventName,
|
|
201
197
|
sanitizeUserPromptExpansionAdditionalContext
|
|
202
|
-
} from "./chunk-
|
|
198
|
+
} from "./chunk-SGPFJMRP.js";
|
|
199
|
+
import {
|
|
200
|
+
openBrowserSecurely
|
|
201
|
+
} from "./chunk-JESCGQM3.js";
|
|
203
202
|
import {
|
|
204
203
|
IdeConnectionEvent,
|
|
205
204
|
formatTokenUsageSummaryAsCsv,
|
|
@@ -212,21 +211,16 @@ import {
|
|
|
212
211
|
read,
|
|
213
212
|
recordSkillInvocation,
|
|
214
213
|
resolveOpenAILogDir,
|
|
214
|
+
runSideQuery,
|
|
215
215
|
uiTelemetryService
|
|
216
|
-
} from "./chunk-
|
|
217
|
-
import {
|
|
218
|
-
runSideQuery
|
|
219
|
-
} from "./chunk-RTV5TUYB.js";
|
|
216
|
+
} from "./chunk-YN2I5I42.js";
|
|
220
217
|
import {
|
|
221
218
|
getAutoMemoryRoot
|
|
222
|
-
} from "./chunk-
|
|
219
|
+
} from "./chunk-LPHGXXZX.js";
|
|
223
220
|
import {
|
|
224
221
|
ToolNames,
|
|
225
222
|
isShellProgressData
|
|
226
|
-
} from "./chunk-
|
|
227
|
-
import {
|
|
228
|
-
openBrowserSecurely
|
|
229
|
-
} from "./chunk-JESCGQM3.js";
|
|
223
|
+
} from "./chunk-ANRANWVE.js";
|
|
230
224
|
import {
|
|
231
225
|
REASONING_EFFORT_TIERS,
|
|
232
226
|
normalizeReasoningEffort
|
|
@@ -239,12 +233,12 @@ import {
|
|
|
239
233
|
isSubpath,
|
|
240
234
|
resolvePath,
|
|
241
235
|
updateSymlink
|
|
242
|
-
} from "./chunk-
|
|
236
|
+
} from "./chunk-UE5TZ55T.js";
|
|
243
237
|
import {
|
|
244
238
|
isCpuProfileRecording,
|
|
245
239
|
startCpuProfile,
|
|
246
240
|
stopCpuProfile
|
|
247
|
-
} from "./chunk-
|
|
241
|
+
} from "./chunk-ZPVGEMVC.js";
|
|
248
242
|
import {
|
|
249
243
|
init_esbuild_shims
|
|
250
244
|
} from "./chunk-5O2XNYP6.js";
|
|
@@ -6093,104 +6087,6 @@ var extensionsCommand = {
|
|
|
6093
6087
|
|
|
6094
6088
|
// packages/cli/src/ui/commands/goalCommand.ts
|
|
6095
6089
|
init_esbuild_shims();
|
|
6096
|
-
|
|
6097
|
-
// packages/cli/src/ui/utils/restoreGoal.ts
|
|
6098
|
-
init_esbuild_shims();
|
|
6099
|
-
function findGoalToRestore(history) {
|
|
6100
|
-
for (let i = history.length - 1; i >= 0; i--) {
|
|
6101
|
-
const item = history[i];
|
|
6102
|
-
if (item?.type !== "goal_status" /* GOAL_STATUS */) continue;
|
|
6103
|
-
const goal = item;
|
|
6104
|
-
if (goal.kind === "set" || goal.kind === "checking") {
|
|
6105
|
-
return { condition: goal.condition, iterations: goal.iterations ?? 0 };
|
|
6106
|
-
}
|
|
6107
|
-
return null;
|
|
6108
|
-
}
|
|
6109
|
-
return null;
|
|
6110
|
-
}
|
|
6111
|
-
__name(findGoalToRestore, "findGoalToRestore");
|
|
6112
|
-
function findLastTerminalGoal(history) {
|
|
6113
|
-
for (let i = history.length - 1; i >= 0; i--) {
|
|
6114
|
-
const item = history[i];
|
|
6115
|
-
if (item?.type !== "goal_status" /* GOAL_STATUS */) continue;
|
|
6116
|
-
const goal = item;
|
|
6117
|
-
if (!isTerminalGoalStatusKind(goal.kind)) continue;
|
|
6118
|
-
return {
|
|
6119
|
-
kind: goal.kind,
|
|
6120
|
-
condition: goal.condition,
|
|
6121
|
-
iterations: goal.iterations ?? 0,
|
|
6122
|
-
durationMs: goal.durationMs ?? 0,
|
|
6123
|
-
lastReason: goal.lastReason
|
|
6124
|
-
};
|
|
6125
|
-
}
|
|
6126
|
-
return null;
|
|
6127
|
-
}
|
|
6128
|
-
__name(findLastTerminalGoal, "findLastTerminalGoal");
|
|
6129
|
-
function goalTerminalEventToHistoryItem(event) {
|
|
6130
|
-
return {
|
|
6131
|
-
type: "goal_status" /* GOAL_STATUS */,
|
|
6132
|
-
kind: event.kind,
|
|
6133
|
-
condition: event.condition,
|
|
6134
|
-
iterations: event.iterations,
|
|
6135
|
-
durationMs: event.durationMs,
|
|
6136
|
-
lastReason: event.lastReason ?? event.systemMessage
|
|
6137
|
-
};
|
|
6138
|
-
}
|
|
6139
|
-
__name(goalTerminalEventToHistoryItem, "goalTerminalEventToHistoryItem");
|
|
6140
|
-
function recordGoalStatusItem(config, item, rawCommand = "/goal") {
|
|
6141
|
-
try {
|
|
6142
|
-
config.getChatRecordingService?.()?.recordSlashCommand({
|
|
6143
|
-
phase: "result",
|
|
6144
|
-
rawCommand,
|
|
6145
|
-
outputHistoryItems: [{ ...item }]
|
|
6146
|
-
});
|
|
6147
|
-
} catch {
|
|
6148
|
-
}
|
|
6149
|
-
}
|
|
6150
|
-
__name(recordGoalStatusItem, "recordGoalStatusItem");
|
|
6151
|
-
function installGoalTerminalObserver(args) {
|
|
6152
|
-
const { sessionId, config, addItem } = args;
|
|
6153
|
-
setGoalTerminalObserver(sessionId, (event) => {
|
|
6154
|
-
const item = goalTerminalEventToHistoryItem(event);
|
|
6155
|
-
addItem(item, Date.now());
|
|
6156
|
-
recordGoalStatusItem(config, item);
|
|
6157
|
-
});
|
|
6158
|
-
}
|
|
6159
|
-
__name(installGoalTerminalObserver, "installGoalTerminalObserver");
|
|
6160
|
-
function restoreGoalFromHistory(history, config, addItem) {
|
|
6161
|
-
const sessionId = config.getSessionId();
|
|
6162
|
-
const lastTerminal = findLastTerminalGoal(history);
|
|
6163
|
-
setLastGoalTerminal(sessionId, lastTerminal ?? void 0);
|
|
6164
|
-
const restorable = findGoalToRestore(history);
|
|
6165
|
-
if (restorable === null) {
|
|
6166
|
-
unregisterGoalHook(config, sessionId);
|
|
6167
|
-
return { restored: false };
|
|
6168
|
-
}
|
|
6169
|
-
if (!config.isTrustedFolder() || config.getDisableAllHooks()) {
|
|
6170
|
-
unregisterGoalHook(config, sessionId);
|
|
6171
|
-
return { restored: false };
|
|
6172
|
-
}
|
|
6173
|
-
if (!config.getHookSystem()) {
|
|
6174
|
-
unregisterGoalHook(config, sessionId);
|
|
6175
|
-
return { restored: false };
|
|
6176
|
-
}
|
|
6177
|
-
registerGoalHook({
|
|
6178
|
-
config,
|
|
6179
|
-
sessionId,
|
|
6180
|
-
condition: restorable.condition,
|
|
6181
|
-
tokensAtStart: 0,
|
|
6182
|
-
// Resume the iteration count so MAX_GOAL_ITERATIONS is a cross-resume cap,
|
|
6183
|
-
// not a per-resume one.
|
|
6184
|
-
initialIterations: restorable.iterations
|
|
6185
|
-
});
|
|
6186
|
-
if (addItem) {
|
|
6187
|
-
installGoalTerminalObserver({ sessionId, config, addItem });
|
|
6188
|
-
}
|
|
6189
|
-
return { restored: true, condition: restorable.condition };
|
|
6190
|
-
}
|
|
6191
|
-
__name(restoreGoalFromHistory, "restoreGoalFromHistory");
|
|
6192
|
-
|
|
6193
|
-
// packages/cli/src/ui/commands/goalCommand.ts
|
|
6194
6090
|
var CLEAR_KEYWORDS = /* @__PURE__ */ new Set([
|
|
6195
6091
|
"clear",
|
|
6196
6092
|
"stop",
|
|
@@ -7938,7 +7834,7 @@ init_esbuild_shims();
|
|
|
7938
7834
|
var debugLogger9 = createDebugLogger("LANGUAGE_COMMAND");
|
|
7939
7835
|
function getCurrentOutputLanguage(context) {
|
|
7940
7836
|
const settingValue = context?.services?.settings?.merged?.general?.outputLanguage || OUTPUT_LANGUAGE_AUTO;
|
|
7941
|
-
const resolved =
|
|
7837
|
+
const resolved = resolveOutputLanguageOrPreserveAuto(settingValue);
|
|
7942
7838
|
return { setting: settingValue, resolved };
|
|
7943
7839
|
}
|
|
7944
7840
|
__name(getCurrentOutputLanguage, "getCurrentOutputLanguage");
|
|
@@ -7998,7 +7894,7 @@ __name(setUiLanguage, "setUiLanguage");
|
|
|
7998
7894
|
async function setOutputLanguage(context, language) {
|
|
7999
7895
|
try {
|
|
8000
7896
|
const isAuto = isAutoLanguage(language);
|
|
8001
|
-
const resolved =
|
|
7897
|
+
const resolved = resolveOutputLanguageOrPreserveAuto(language);
|
|
8002
7898
|
const settingValue = isAuto ? OUTPUT_LANGUAGE_AUTO : resolved;
|
|
8003
7899
|
writeOutputLanguageAndRegisterPath(settingValue, context.services.config);
|
|
8004
7900
|
if (context.services.settings?.setValue) {
|
|
@@ -8024,7 +7920,7 @@ async function setOutputLanguage(context, language) {
|
|
|
8024
7920
|
);
|
|
8025
7921
|
}
|
|
8026
7922
|
}
|
|
8027
|
-
const displayLang = isAuto ?
|
|
7923
|
+
const displayLang = isAuto ? t("Auto (follow user input)") : resolved;
|
|
8028
7924
|
return {
|
|
8029
7925
|
type: "message",
|
|
8030
7926
|
messageType: "info",
|
|
@@ -8092,7 +7988,7 @@ var languageCommand = {
|
|
|
8092
7988
|
}
|
|
8093
7989
|
const currentUiLang = getCurrentLanguage();
|
|
8094
7990
|
const { setting: outputSetting, resolved: outputResolved } = getCurrentOutputLanguage(context);
|
|
8095
|
-
const outputLangDisplay = isAutoLanguage(outputSetting) ?
|
|
7991
|
+
const outputLangDisplay = isAutoLanguage(outputSetting) ? t("Auto (follow user input)") : outputResolved;
|
|
8096
7992
|
return {
|
|
8097
7993
|
type: "message",
|
|
8098
7994
|
messageType: "info",
|
|
@@ -13149,10 +13045,10 @@ var updateCommand = {
|
|
|
13149
13045
|
{ performStandaloneUpdate },
|
|
13150
13046
|
installationInfo
|
|
13151
13047
|
] = await Promise.all([
|
|
13152
|
-
import("./updateCheck-
|
|
13153
|
-
import("./processUtils-
|
|
13154
|
-
import("./standalone-update-
|
|
13155
|
-
import("./installationInfo-
|
|
13048
|
+
import("./updateCheck-YNRFE4V7.js"),
|
|
13049
|
+
import("./processUtils-LHSRN76X.js"),
|
|
13050
|
+
import("./standalone-update-C54OTJWJ.js"),
|
|
13051
|
+
import("./installationInfo-P3ZP2SIZ.js")
|
|
13156
13052
|
]);
|
|
13157
13053
|
const { formatUpdateInstructions, getInstallationInfo: getInstallationInfo2 } = installationInfo;
|
|
13158
13054
|
const settings = context.services.settings;
|
|
@@ -15352,12 +15248,11 @@ export {
|
|
|
15352
15248
|
hasSlashCommandPathSeparator,
|
|
15353
15249
|
isSlashCommand,
|
|
15354
15250
|
isBtwCommand,
|
|
15251
|
+
copyToClipboard,
|
|
15355
15252
|
isMidInputCompletableCommand,
|
|
15356
15253
|
findMidInputSlashCommand,
|
|
15357
15254
|
getBestSlashCommandMatch,
|
|
15358
15255
|
findSlashCommandTokens,
|
|
15359
|
-
recordGoalStatusItem,
|
|
15360
|
-
restoreGoalFromHistory,
|
|
15361
15256
|
getTranslatedSourceDisplayMap,
|
|
15362
15257
|
DISPLAY_HOOK_EVENTS,
|
|
15363
15258
|
supportsMatchers,
|
|
@@ -5,11 +5,11 @@ import {
|
|
|
5
5
|
} from "./chunk-VGC4I5JJ.js";
|
|
6
6
|
import {
|
|
7
7
|
atomicWriteJSON
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-VAJS2E2D.js";
|
|
9
9
|
import {
|
|
10
10
|
Storage,
|
|
11
11
|
getProjectHash
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-UE5TZ55T.js";
|
|
13
13
|
import {
|
|
14
14
|
init_esbuild_shims
|
|
15
15
|
} from "./chunk-5O2XNYP6.js";
|
|
@@ -149,6 +149,31 @@ var getCachedStringWidth = /* @__PURE__ */ __name((str) => {
|
|
|
149
149
|
stringWidthCache.set(str, width);
|
|
150
150
|
return width;
|
|
151
151
|
}, "getCachedStringWidth");
|
|
152
|
+
var graphemeSegmenter = new Intl.Segmenter(void 0, {
|
|
153
|
+
granularity: "grapheme"
|
|
154
|
+
});
|
|
155
|
+
function truncateToWidth(text, maxWidth) {
|
|
156
|
+
if (maxWidth <= 0) {
|
|
157
|
+
return "";
|
|
158
|
+
}
|
|
159
|
+
if (getCachedStringWidth(text) <= maxWidth) {
|
|
160
|
+
return text;
|
|
161
|
+
}
|
|
162
|
+
const ellipsis = "\u2026";
|
|
163
|
+
const budget = Math.max(0, maxWidth - getCachedStringWidth(ellipsis));
|
|
164
|
+
let width = 0;
|
|
165
|
+
let result = "";
|
|
166
|
+
for (const { segment } of graphemeSegmenter.segment(text)) {
|
|
167
|
+
const segmentWidth = getCachedStringWidth(segment);
|
|
168
|
+
if (width + segmentWidth > budget) {
|
|
169
|
+
break;
|
|
170
|
+
}
|
|
171
|
+
result += segment;
|
|
172
|
+
width += segmentWidth;
|
|
173
|
+
}
|
|
174
|
+
return `${result}${ellipsis}`;
|
|
175
|
+
}
|
|
176
|
+
__name(truncateToWidth, "truncateToWidth");
|
|
152
177
|
function wrapToVisualLines(text, width) {
|
|
153
178
|
if (width <= 0) {
|
|
154
179
|
return [""];
|
|
@@ -285,8 +310,8 @@ function sanitizeSensitiveText(text, maxLength = 200) {
|
|
|
285
310
|
return result;
|
|
286
311
|
}
|
|
287
312
|
__name(sanitizeSensitiveText, "sanitizeSensitiveText");
|
|
288
|
-
var FILENAME_CONTROL_CHARS_REGEX = /[\x00-\x1f\x7f-\x9f]/g;
|
|
289
|
-
var MULTILINE_CONTROL_CHARS_REGEX = /[\x00-\x08\x0b-\x1f\x7f-\x9f]/g;
|
|
313
|
+
var FILENAME_CONTROL_CHARS_REGEX = /[\x00-\x1f\x7f-\x9f\u202a-\u202e\u2066-\u2069]/g;
|
|
314
|
+
var MULTILINE_CONTROL_CHARS_REGEX = /[\x00-\x08\x0b-\x1f\x7f-\x9f\u202a-\u202e\u2066-\u2069]/g;
|
|
290
315
|
function escapeControlChar(ch) {
|
|
291
316
|
switch (ch) {
|
|
292
317
|
case "\b":
|
|
@@ -329,6 +354,7 @@ export {
|
|
|
329
354
|
cpSlice,
|
|
330
355
|
stripUnsafeCharacters,
|
|
331
356
|
getCachedStringWidth,
|
|
357
|
+
truncateToWidth,
|
|
332
358
|
wrapToVisualLines,
|
|
333
359
|
sanitizeTerminalText,
|
|
334
360
|
escapeAnsiCtrlCodes,
|
|
@@ -2,19 +2,19 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
import {
|
|
4
4
|
getEffectiveSupportedModes
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-6QGZVKOO.js";
|
|
6
6
|
import {
|
|
7
7
|
require_jsx_runtime
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-GEHSF7MS.js";
|
|
9
|
+
import {
|
|
10
|
+
getCachedStringWidth
|
|
11
|
+
} from "./chunk-J6NT5YTN.js";
|
|
9
12
|
import {
|
|
10
13
|
require_react
|
|
11
14
|
} from "./chunk-HTHUX2T5.js";
|
|
12
|
-
import {
|
|
13
|
-
getCachedStringWidth
|
|
14
|
-
} from "./chunk-SUARMD4Q.js";
|
|
15
15
|
import {
|
|
16
16
|
uiTelemetryService
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-YN2I5I42.js";
|
|
18
18
|
import {
|
|
19
19
|
init_esbuild_shims
|
|
20
20
|
} from "./chunk-5O2XNYP6.js";
|
|
@@ -555,6 +555,129 @@ function fitPendingSlice(allLines, contentWidth, budget, tableClampRows) {
|
|
|
555
555
|
}
|
|
556
556
|
__name(fitPendingSlice, "fitPendingSlice");
|
|
557
557
|
|
|
558
|
+
// packages/cli/src/ui/utils/markdownUtilities.ts
|
|
559
|
+
init_esbuild_shims();
|
|
560
|
+
var findNextFence = /* @__PURE__ */ __name((content, from) => {
|
|
561
|
+
const backtick = content.indexOf("```", from);
|
|
562
|
+
const tilde = content.indexOf("~~~", from);
|
|
563
|
+
if (backtick === -1 && tilde === -1) return null;
|
|
564
|
+
let index;
|
|
565
|
+
let char;
|
|
566
|
+
if (tilde === -1 || backtick !== -1 && backtick < tilde) {
|
|
567
|
+
index = backtick;
|
|
568
|
+
char = "`";
|
|
569
|
+
} else {
|
|
570
|
+
index = tilde;
|
|
571
|
+
char = "~";
|
|
572
|
+
}
|
|
573
|
+
let length = 0;
|
|
574
|
+
while (content[index + length] === char) length++;
|
|
575
|
+
return { index, char, length };
|
|
576
|
+
}, "findNextFence");
|
|
577
|
+
var getEnclosingFence = /* @__PURE__ */ __name((content, indexToTest) => {
|
|
578
|
+
let open = null;
|
|
579
|
+
let searchPos = 0;
|
|
580
|
+
while (searchPos < content.length) {
|
|
581
|
+
const fence = findNextFence(content, searchPos);
|
|
582
|
+
if (!fence || fence.index >= indexToTest) break;
|
|
583
|
+
if (!open) {
|
|
584
|
+
open = { char: fence.char, len: fence.length, index: fence.index };
|
|
585
|
+
} else if (fence.char === open.char && fence.length >= open.len) {
|
|
586
|
+
open = null;
|
|
587
|
+
}
|
|
588
|
+
searchPos = fence.index + fence.length;
|
|
589
|
+
}
|
|
590
|
+
if (!open) return null;
|
|
591
|
+
const newlineIndex = content.indexOf("\n", open.index);
|
|
592
|
+
const fenceLineEnd = newlineIndex === -1 ? content.length : newlineIndex;
|
|
593
|
+
return {
|
|
594
|
+
startIndex: open.index,
|
|
595
|
+
delimiter: content.slice(open.index, open.index + open.len),
|
|
596
|
+
infoString: content.slice(open.index + open.len, fenceLineEnd)
|
|
597
|
+
};
|
|
598
|
+
}, "getEnclosingFence");
|
|
599
|
+
var isIndexInsideCodeBlock = /* @__PURE__ */ __name((content, index) => getEnclosingFence(content, index) !== null, "isIndexInsideCodeBlock");
|
|
600
|
+
var findEnclosingCodeBlockStart = /* @__PURE__ */ __name((content, index) => getEnclosingFence(content, index)?.startIndex ?? -1, "findEnclosingCodeBlockStart");
|
|
601
|
+
var getEnclosingFenceInfo = /* @__PURE__ */ __name((content, index) => {
|
|
602
|
+
const fence = getEnclosingFence(content, index);
|
|
603
|
+
return fence ? parseCodeFenceInfo(fence.infoString) : null;
|
|
604
|
+
}, "getEnclosingFenceInfo");
|
|
605
|
+
var findLastSafeSplitPoint = /* @__PURE__ */ __name((content, idealMaxLength) => {
|
|
606
|
+
const hasLengthCap = idealMaxLength !== void 0;
|
|
607
|
+
const searchEnd = hasLengthCap ? Math.min(Math.max(idealMaxLength, 0), content.length) : content.length;
|
|
608
|
+
if (hasLengthCap && content.length <= searchEnd) {
|
|
609
|
+
return content.length;
|
|
610
|
+
}
|
|
611
|
+
const enclosingBlockStart = findEnclosingCodeBlockStart(content, searchEnd);
|
|
612
|
+
if (enclosingBlockStart !== -1) {
|
|
613
|
+
return hasLengthCap && enclosingBlockStart === 0 ? searchEnd : enclosingBlockStart;
|
|
614
|
+
}
|
|
615
|
+
let searchStartIndex = searchEnd;
|
|
616
|
+
while (searchStartIndex >= 0) {
|
|
617
|
+
const dnlIndex = content.lastIndexOf("\n\n", searchStartIndex);
|
|
618
|
+
if (dnlIndex === -1) {
|
|
619
|
+
break;
|
|
620
|
+
}
|
|
621
|
+
const potentialSplitPoint = dnlIndex + 2;
|
|
622
|
+
if (potentialSplitPoint <= searchEnd && !isIndexInsideCodeBlock(content, potentialSplitPoint)) {
|
|
623
|
+
return potentialSplitPoint;
|
|
624
|
+
}
|
|
625
|
+
searchStartIndex = dnlIndex - 1;
|
|
626
|
+
}
|
|
627
|
+
if (hasLengthCap) {
|
|
628
|
+
searchStartIndex = searchEnd;
|
|
629
|
+
while (searchStartIndex >= 0) {
|
|
630
|
+
const nlIndex = content.lastIndexOf("\n", searchStartIndex);
|
|
631
|
+
if (nlIndex === -1) {
|
|
632
|
+
break;
|
|
633
|
+
}
|
|
634
|
+
const potentialSplitPoint = nlIndex + 1;
|
|
635
|
+
if (potentialSplitPoint <= searchEnd && !isIndexInsideCodeBlock(content, potentialSplitPoint)) {
|
|
636
|
+
return potentialSplitPoint;
|
|
637
|
+
}
|
|
638
|
+
searchStartIndex = nlIndex - 1;
|
|
639
|
+
}
|
|
640
|
+
}
|
|
641
|
+
return hasLengthCap ? searchEnd : content.length;
|
|
642
|
+
}, "findLastSafeSplitPoint");
|
|
643
|
+
var START_LINE_DIRECTIVE_RE = /\s*\bqwen-code:start-line=(\d+)\b/;
|
|
644
|
+
var parseCodeFenceInfo = /* @__PURE__ */ __name((info) => {
|
|
645
|
+
const raw = info ?? "";
|
|
646
|
+
const directive = raw.match(START_LINE_DIRECTIVE_RE);
|
|
647
|
+
const startLine = directive ? Math.max(1, Number(directive[1])) : 1;
|
|
648
|
+
const lang = raw.replace(START_LINE_DIRECTIVE_RE, "").trim().split(/\s+/)[0];
|
|
649
|
+
return { lang: lang || null, startLine };
|
|
650
|
+
}, "parseCodeFenceInfo");
|
|
651
|
+
var countHeadContentLines = /* @__PURE__ */ __name((content, fenceStartIndex, splitPoint) => {
|
|
652
|
+
const headFromFence = content.slice(fenceStartIndex, splitPoint);
|
|
653
|
+
const newlineCount = (headFromFence.match(/\n/g) || []).length;
|
|
654
|
+
return headFromFence.endsWith("\n") ? newlineCount - 1 : newlineCount;
|
|
655
|
+
}, "countHeadContentLines");
|
|
656
|
+
var splitFencedMarkdown = /* @__PURE__ */ __name((content, splitPoint) => {
|
|
657
|
+
const before = content.slice(0, splitPoint);
|
|
658
|
+
const after = content.slice(splitPoint);
|
|
659
|
+
if (splitPoint <= 0 || splitPoint >= content.length) {
|
|
660
|
+
return { before, after };
|
|
661
|
+
}
|
|
662
|
+
const fence = getEnclosingFence(content, splitPoint);
|
|
663
|
+
if (!fence) {
|
|
664
|
+
return { before, after };
|
|
665
|
+
}
|
|
666
|
+
const closingFence = fence.delimiter;
|
|
667
|
+
const { startLine: headStart } = parseCodeFenceInfo(fence.infoString);
|
|
668
|
+
const tailStart = headStart + countHeadContentLines(content, fence.startIndex, splitPoint);
|
|
669
|
+
const baseInfo = fence.infoString.replace(START_LINE_DIRECTIVE_RE, "").replace(/\s+$/, "");
|
|
670
|
+
const directive = `qwen-code:start-line=${tailStart}`;
|
|
671
|
+
const reopeningFence = `${fence.delimiter}${baseInfo ? `${baseInfo} ${directive}` : directive}`;
|
|
672
|
+
const beforeWithClose = before.endsWith("\n") ? `${before}${closingFence}
|
|
673
|
+
` : `${before}
|
|
674
|
+
${closingFence}
|
|
675
|
+
`;
|
|
676
|
+
const afterWithReopen = `${reopeningFence}
|
|
677
|
+
${after}`;
|
|
678
|
+
return { before: beforeWithClose, after: afterWithReopen };
|
|
679
|
+
}, "splitFencedMarkdown");
|
|
680
|
+
|
|
558
681
|
export {
|
|
559
682
|
TABLE_MAX_ROW_LINES,
|
|
560
683
|
TABLE_ROW_RE,
|
|
@@ -562,6 +685,10 @@ export {
|
|
|
562
685
|
CODE_FENCE_RE,
|
|
563
686
|
splitMarkdownTableRow,
|
|
564
687
|
fitPendingSlice,
|
|
688
|
+
getEnclosingFenceInfo,
|
|
689
|
+
findLastSafeSplitPoint,
|
|
690
|
+
parseCodeFenceInfo,
|
|
691
|
+
splitFencedMarkdown,
|
|
565
692
|
SessionStatsProvider,
|
|
566
693
|
useSessionStats,
|
|
567
694
|
getCommandSourceBadge,
|
|
@@ -3,17 +3,17 @@
|
|
|
3
3
|
import {
|
|
4
4
|
getGitVersion,
|
|
5
5
|
getNpmVersion
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-F2YCCUXI.js";
|
|
7
7
|
import {
|
|
8
8
|
buildEnvStatusFromEnv,
|
|
9
9
|
snapshotProcessEnv
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-ZFHHBRRA.js";
|
|
11
11
|
import {
|
|
12
12
|
mapDomainErrorToErrorKind
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-TFV3XVAZ.js";
|
|
14
14
|
import {
|
|
15
15
|
canUseRipgrep
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-6TDA4EVC.js";
|
|
17
17
|
import {
|
|
18
18
|
init_esbuild_shims
|
|
19
19
|
} from "./chunk-5O2XNYP6.js";
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
import {
|
|
4
4
|
t
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-3PE7OY2G.js";
|
|
6
6
|
import {
|
|
7
7
|
writeStderrLine
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-OWAK7LMW.js";
|
|
9
9
|
import {
|
|
10
10
|
createDebugLogger
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-UE5TZ55T.js";
|
|
12
12
|
import {
|
|
13
13
|
init_esbuild_shims
|
|
14
14
|
} from "./chunk-5O2XNYP6.js";
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
import {
|
|
4
4
|
escapeAnsiCtrlCodes
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-J6NT5YTN.js";
|
|
6
6
|
import {
|
|
7
7
|
wrapper_default
|
|
8
8
|
} from "./chunk-TYAMGABM.js";
|
|
9
9
|
import {
|
|
10
10
|
createDebugLogger
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-UE5TZ55T.js";
|
|
12
12
|
import {
|
|
13
13
|
init_esbuild_shims
|
|
14
14
|
} from "./chunk-5O2XNYP6.js";
|