@qwen-code/qwen-code 0.24.1-preview.2 → 0.24.1
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/chunks/{MaxSizedBox-SUYPYRBN.js → MaxSizedBox-VP25QGME.js} +18 -18
- package/chunks/{StandaloneSessionPicker-BCKO4L6S.js → StandaloneSessionPicker-AXIM3BD3.js} +32 -32
- package/chunks/{acp-subagent-executor-5LXVJNPU.js → acp-subagent-executor-6R2L4TW4.js} +23 -23
- package/chunks/{acpAgent-Z7ZNFWDZ.js → acpAgent-ANIVCBU3.js} +68 -155
- package/chunks/{agent-6SYYNHSZ.js → agent-WINHBR34.js} +9 -9
- package/chunks/{agent-headless-Q2YFS6PA.js → agent-headless-A5K4MW5N.js} +9 -9
- package/chunks/{anthropicContentGenerator-AJCHMLEF.js → anthropicContentGenerator-32MSDQUP.js} +3 -3
- package/chunks/{askUserQuestion-RYGNEYFC.js → askUserQuestion-C2GAWACN.js} +1 -1
- package/chunks/{bridge-ZRMHGUUN.js → bridge-HPCI3VIX.js} +22 -22
- package/chunks/{channel-settings-store-RRFC7WBW.js → channel-settings-store-THO2BU2E.js} +23 -23
- package/chunks/{channel-worker-group-JQVH6YXZ.js → channel-worker-group-OXNNU6H7.js} +2 -2
- package/chunks/{channel-worker-manager-6GRAAS5P.js → channel-worker-manager-WVBU5ABS.js} +2 -2
- package/chunks/{chunk-EJKIUYN6.js → chunk-2UK4NN6N.js} +3 -3
- package/chunks/{chunk-OW5IVLET.js → chunk-2WYISDSZ.js} +12 -12
- package/chunks/{chunk-2EDB3IUV.js → chunk-3JHSUEQN.js} +30 -30
- package/chunks/{chunk-GPSDZNPN.js → chunk-3MYXEXVX.js} +1 -1
- package/chunks/{chunk-QNSERHKY.js → chunk-3T7YUINK.js} +1 -1
- package/chunks/{chunk-KQW7W6WZ.js → chunk-3UOPPEN5.js} +1 -1
- package/chunks/{chunk-JMBSWY6V.js → chunk-3XH7WS7C.js} +1 -1
- package/chunks/{chunk-XDRKURPF.js → chunk-44LWSWTY.js} +4 -4
- package/chunks/{chunk-ITY5NM7C.js → chunk-4HIQNJMZ.js} +2 -2
- package/chunks/{chunk-7LG2FNVG.js → chunk-4VLVXV4E.js} +3 -3
- package/chunks/{chunk-H36V5QMB.js → chunk-5JDABAZR.js} +41 -16
- package/chunks/{chunk-XGU276ID.js → chunk-5S2PLWHB.js} +3 -3
- package/chunks/{chunk-4KJK3FGR.js → chunk-647NOM2H.js} +1 -1
- package/chunks/{chunk-PUWHPTYG.js → chunk-6SFODSTA.js} +5 -5
- package/chunks/{chunk-75TGCLYE.js → chunk-7MJKFPGJ.js} +1 -1
- package/chunks/{chunk-YUFDLWK7.js → chunk-7OQL6UOC.js} +1 -1
- package/chunks/{chunk-UVINHQWX.js → chunk-7UWZX65L.js} +5 -5
- package/chunks/{chunk-AYE2T7RX.js → chunk-A4IJR5S6.js} +210 -21
- package/chunks/{chunk-L7TJUPNR.js → chunk-A4MRRFBI.js} +5 -0
- package/chunks/{chunk-BINMG6CG.js → chunk-ADQSGJV5.js} +2 -2
- package/chunks/{chunk-DHQZXQ4K.js → chunk-ADXJQFDY.js} +10 -10
- package/chunks/{chunk-GIHJK4FJ.js → chunk-B3VUYOPR.js} +1 -1
- package/chunks/{chunk-4BSQW4CG.js → chunk-B5GKOUHJ.js} +10 -10
- package/chunks/{chunk-YVLRK2WW.js → chunk-C4B5ZCE5.js} +3 -3
- package/chunks/{chunk-UQ4WDEGV.js → chunk-CBJBLKDH.js} +6 -6
- package/chunks/{chunk-DAIWLFBL.js → chunk-CGDPJBVR.js} +1 -1
- package/chunks/{chunk-75GB4FOU.js → chunk-CT6GGM4O.js} +3 -3
- package/chunks/{chunk-CYRXE53T.js → chunk-DARAVO2F.js} +3 -3
- package/chunks/{chunk-QTGYWDIB.js → chunk-DHM2SAA3.js} +6 -6
- package/chunks/{chunk-ZUTZ3PSU.js → chunk-DIJ4SN6P.js} +2 -2
- package/chunks/{chunk-R7MRLQZT.js → chunk-DOG4JYVA.js} +1 -1
- package/chunks/{chunk-CQKBWZ5E.js → chunk-E3BHICIC.js} +24 -44
- package/chunks/{chunk-KT7ZUSTE.js → chunk-EE5L2LJI.js} +1 -1
- package/chunks/{chunk-NO4M2IFY.js → chunk-ET3ETUJS.js} +11 -11
- package/chunks/{chunk-DDFUMJDY.js → chunk-FHL2YO3J.js} +3 -3
- package/chunks/{chunk-KWALNYOO.js → chunk-FIC4SULR.js} +1 -1
- package/chunks/{chunk-EUEDQORS.js → chunk-FUZESLZQ.js} +1 -1
- package/chunks/{chunk-7MUWTUOX.js → chunk-FVLDT6YJ.js} +12 -12
- package/chunks/{chunk-3YIPZRXZ.js → chunk-GJV3UMRE.js} +1 -1
- package/chunks/{chunk-MMRGG6R4.js → chunk-H32AKV4B.js} +1 -1
- package/chunks/{chunk-PJBHT5HP.js → chunk-HAYKZNOJ.js} +40 -40
- package/chunks/{chunk-3WTPIIX3.js → chunk-HISXBKXU.js} +2 -2
- package/chunks/{chunk-KLL4GCCM.js → chunk-HVXNAVUO.js} +9 -3
- package/chunks/{chunk-VFPYR2QH.js → chunk-ICWTEQBN.js} +7 -2
- package/chunks/{chunk-RPGUFXRL.js → chunk-IDJYUSKS.js} +1 -1
- package/chunks/{chunk-SASDWMJO.js → chunk-IDT4P6XO.js} +22 -22
- package/chunks/{chunk-6GEPBMZ2.js → chunk-IHTXJ34C.js} +3 -3
- package/chunks/{chunk-7S2BGPWN.js → chunk-J6QWYIXU.js} +222 -96
- package/chunks/{chunk-FIGVLM7P.js → chunk-JDS6RRHY.js} +37 -2
- package/chunks/{chunk-B77LIFIP.js → chunk-JL7NMSOU.js} +0 -14
- package/chunks/{chunk-WD54GZTM.js → chunk-JNCTEVLS.js} +1 -1
- package/chunks/{chunk-YQS35MQS.js → chunk-JSKHW2K5.js} +5 -5
- package/chunks/{chunk-JYY3FCLA.js → chunk-JXSZU3MK.js} +3 -3
- package/chunks/{chunk-ABWRIA3H.js → chunk-KGPIAV25.js} +1 -1
- package/chunks/{chunk-I4EFTUMC.js → chunk-KNTOORZV.js} +76 -8
- package/chunks/{chunk-6GNUSS3I.js → chunk-KPRD727P.js} +4 -4
- package/chunks/{chunk-RFO537EW.js → chunk-KZADFPIV.js} +1 -1
- package/chunks/{chunk-FCN22GWX.js → chunk-MJFPRGEQ.js} +5 -5
- package/chunks/{chunk-ZPLLLCRC.js → chunk-MQD3FY7L.js} +1 -1
- package/chunks/{chunk-R5F4XPOL.js → chunk-MUREOC7V.js} +3 -3
- package/chunks/{chunk-XO32NLJ5.js → chunk-MZJANQV6.js} +4 -4
- package/chunks/{chunk-RQHXUQ5M.js → chunk-NCAZON2B.js} +7 -7
- package/chunks/{chunk-BKODW5LP.js → chunk-NIXL6GCQ.js} +1 -1
- package/chunks/{chunk-Z7ECDVYK.js → chunk-NM2N7ZFI.js} +1 -1
- package/chunks/{chunk-OS2B6VJ3.js → chunk-O62LF7MT.js} +2 -2
- package/chunks/{chunk-YVXI3U3W.js → chunk-ORC4JFM2.js} +3 -3
- package/chunks/{chunk-YXHY6BKS.js → chunk-OY4DP3XV.js} +14 -1
- package/chunks/{chunk-7M3FEMY6.js → chunk-P6FFA7BC.js} +3 -3
- package/chunks/{chunk-YFARICYJ.js → chunk-PESOPZ2F.js} +1 -1
- package/chunks/{chunk-MJPA5NKS.js → chunk-QBCQIJ5K.js} +2 -2
- package/chunks/{chunk-IVE5Z4RU.js → chunk-QEOLKEN7.js} +19 -27
- package/chunks/{chunk-BB27YK6O.js → chunk-QXYC7SNQ.js} +1 -1
- package/chunks/{chunk-YM7MHAIC.js → chunk-QZECTXG4.js} +1 -1
- package/chunks/{chunk-7WGWBWL7.js → chunk-RUWHZMXW.js} +1 -1
- package/chunks/{chunk-S4XNJ5FH.js → chunk-S4XLNZOV.js} +2 -2
- package/chunks/{chunk-OL2AT23B.js → chunk-S6JKXUFG.js} +3 -3
- package/chunks/{chunk-5ULLRZQ5.js → chunk-S7Z7UUYJ.js} +2 -2
- package/chunks/{chunk-YKMY5UTC.js → chunk-SMWV3EVV.js} +2 -2
- package/chunks/{chunk-F3XBI3C5.js → chunk-SR22PJAJ.js} +1 -1
- package/chunks/{chunk-N7FGOVMP.js → chunk-SWT6XVJE.js} +2 -2
- package/chunks/{chunk-RRUAHBYV.js → chunk-SZ4UJWEJ.js} +3 -3
- package/chunks/{chunk-PJELH5NF.js → chunk-TG246JMY.js} +4 -4
- package/chunks/{chunk-GI4KLI5I.js → chunk-TUKPBUHT.js} +1 -1
- package/chunks/{chunk-PHNKFEX3.js → chunk-U6SF7GWW.js} +2 -2
- package/chunks/{chunk-OZ5Z45DG.js → chunk-UE5VCGKO.js} +1 -1
- package/chunks/{chunk-SENYKRII.js → chunk-UM4V7562.js} +1 -1
- package/chunks/{chunk-PBCCDC5C.js → chunk-UO447HYN.js} +3 -3
- package/chunks/{chunk-O7LUZE4E.js → chunk-UX6ROE5I.js} +1 -1
- package/chunks/{chunk-MW4O5XZQ.js → chunk-VMTAPCG3.js} +1 -1
- package/chunks/{chunk-63TM3IYQ.js → chunk-VPE6VNNU.js} +1 -1
- package/chunks/{chunk-2EUGBE47.js → chunk-WTMM54T4.js} +4 -4
- package/chunks/{chunk-4E6SGS3A.js → chunk-WUOYMIIY.js} +4 -4
- package/chunks/{chunk-FRDYCOU2.js → chunk-XEUHI5QA.js} +2 -2
- package/chunks/{chunk-OCOPMZMJ.js → chunk-Y5IALOXP.js} +3 -3
- package/chunks/{chunk-DVP56LAM.js → chunk-YJHAAGEJ.js} +7 -7
- package/chunks/{chunk-7W72PCKP.js → chunk-Z5MSVVHR.js} +5 -5
- package/chunks/{chunk-AWS3EGSN.js → chunk-ZCBBV4LJ.js} +1 -1
- package/chunks/{chunk-KJMYVDYW.js → chunk-ZHBCAABR.js} +3 -3
- package/chunks/{codex-subagent-executor-UN4TVQLG.js → codex-subagent-executor-ZWGUSD5U.js} +23 -23
- package/chunks/{config-utils-DWN5B6HN.js → config-utils-XLPSLGT7.js} +18 -18
- package/chunks/{contextCommand-25BGZY4S.js → contextCommand-KE2557UZ.js} +20 -20
- package/chunks/{core-runtime-E7GY7FQL.js → core-runtime-7YAFJG7V.js} +18 -18
- package/chunks/{create-sub-session-BAIKTJZ4.js → create-sub-session-LTVMBDOG.js} +20 -20
- package/chunks/{daemon-E4MVZ7AP.js → daemon-LKIZ3HNV.js} +1 -1
- package/chunks/{daemon-git-worktree-guard-ZTAV4HQB.js → daemon-git-worktree-guard-EN4SNZZC.js} +18 -18
- package/chunks/{daemon-status-provider-VLRPWZZH.js → daemon-status-provider-R3OHAHXV.js} +27 -27
- package/chunks/{daemon-trust-policy-OTUBDFHQ.js → daemon-trust-policy-DJNNV3HE.js} +23 -23
- package/chunks/{daemon-trust-policy-monitor-W52NWLO5.js → daemon-trust-policy-monitor-2ZSYXRY3.js} +23 -23
- package/chunks/{deferred-core-runtime-P4EIIL7M.js → deferred-core-runtime-B7BBNY7B.js} +18 -18
- package/chunks/{edit-FJFHUIY4.js → edit-XY623A63.js} +10 -10
- package/chunks/{enterPlanMode-WGDUBIGO.js → enterPlanMode-VGKHLQVD.js} +9 -9
- package/chunks/{environment-DNHGPK7Q.js → environment-RGWXBPFA.js} +20 -20
- package/chunks/{errors-3FKGIKNN.js → errors-XLKJ7JAN.js} +20 -20
- package/chunks/{execution-tool-GSOYRE7M.js → execution-tool-LGCWZ5JC.js} +10 -10
- package/chunks/{execution-worker-TWQ2YF42.js → execution-worker-3AA3OGWV.js} +13 -13
- package/chunks/{exitPlanMode-3GA5VWWB.js → exitPlanMode-AGRSXL5M.js} +9 -9
- package/chunks/{fast-path-XF5YGYNO.js → fast-path-FS4CO72C.js} +2 -2
- package/chunks/{glob-M2TXMH5Q.js → glob-KMXCAZRN.js} +9 -9
- package/chunks/{goal-tools-D523PJR5.js → goal-tools-52S6IYSS.js} +9 -9
- package/chunks/{handleAutoUpdate-RRYCWRZ2.js → handleAutoUpdate-6EGQYSNX.js} +21 -21
- package/chunks/{i18n-TUYCRMFW.js → i18n-BVX7GWVL.js} +18 -18
- package/chunks/{initializer-6BJ7YAF5.js → initializer-YMBTVCPZ.js} +23 -23
- package/chunks/{installationInfo-KD366W45.js → installationInfo-YUODJVWE.js} +18 -18
- package/chunks/{list-L7MZF2AZ.js → list-4Y32CIK4.js} +26 -26
- package/chunks/{llm-HDLU6CTT.js → llm-DBL6E66T.js} +52 -52
- package/chunks/{llm-content-generator-MYYFDSFV.js → llm-content-generator-IXWLZ4HX.js} +3 -3
- package/chunks/{loadedSettingsAdapter-H6GUNXJ2.js → loadedSettingsAdapter-5JNMUP3T.js} +23 -23
- package/chunks/{local-execution-environment-JLIO4YKC.js → local-execution-environment-JIXYT7RU.js} +13 -13
- package/chunks/{loggingContentGenerator-5AUS3FRD.js → loggingContentGenerator-ORTEE7AH.js} +10 -10
- package/chunks/{managed-npm-update-SXZ2U3AX.js → managed-npm-update-RRIST4P4.js} +18 -18
- package/chunks/{mcp-6CD76FID.js → mcp-3WQIHJPV.js} +23 -23
- package/chunks/{model-call-collection-TON6MSCF.js → model-call-collection-NNN4RJL2.js} +1 -1
- package/chunks/{model-configuration-4Z25DEWC.js → model-configuration-LOEF5WVW.js} +23 -23
- package/chunks/{modelConfigUtils-RLZ47FPZ.js → modelConfigUtils-UDCM5BQO.js} +19 -19
- package/chunks/{monitor-VXQ7KYEJ.js → monitor-AMX4GGO4.js} +9 -9
- package/chunks/{nonInteractiveCli-ZXWKMKWC.js → nonInteractiveCli-HODI6ON6.js} +49 -49
- package/chunks/{nonInteractiveToolExecutor-KBUF3BTR.js → nonInteractiveToolExecutor-IZ3L3ZUR.js} +10 -10
- package/chunks/{notebook-edit-QH7FXG4T.js → notebook-edit-VZ3HDVGJ.js} +10 -10
- package/chunks/{omni-32DW7DAU.js → omni-J44KEAF2.js} +7 -7
- package/chunks/{openaiContentGenerator-53HJMYFV.js → openaiContentGenerator-WNTCGOOP.js} +6 -6
- package/chunks/{openaiResponsesContentGenerator-2SLR5YSO.js → openaiResponsesContentGenerator-EXCS4CPS.js} +2 -2
- package/chunks/{pidfile-HFMNLERX.js → pidfile-MO4VIRCZ.js} +18 -18
- package/chunks/{process-registry-7LAPI3ZB.js → process-registry-MDKO6QY2.js} +1 -1
- package/chunks/{processUtils-G4YV5PUL.js → processUtils-PTWIWCBV.js} +2 -2
- package/chunks/{prompt-terminal-ledger-7SM2SBVV.js → prompt-terminal-ledger-OJQFCVY7.js} +19 -19
- package/chunks/{qwenContentGenerator-JYZK4UZJ.js → qwenContentGenerator-CEHDHYS7.js} +11 -11
- package/chunks/{reactive-degrade-SJQJUSWE.js → reactive-degrade-N2GKSQDU.js} +6 -6
- package/chunks/{read-file-FSGLCFTS.js → read-file-MGTENCNH.js} +2 -2
- package/chunks/{resumeHistoryUtils-VSPCHBW6.js → resumeHistoryUtils-D7HKDUH5.js} +20 -20
- package/chunks/{ripGrep-YVM3DMMW.js → ripGrep-GY3USA7L.js} +3 -3
- package/chunks/{run-qwen-serve-ZQJ3SE3I.js → run-qwen-serve-BYDSQGXR.js} +49 -49
- package/chunks/{runtime-GW2XGK5X.js → runtime-2VYDGP5Q.js} +24 -24
- package/chunks/{sandbox-5RKHRAFD.js → sandbox-DEDZKXWQ.js} +25 -25
- package/chunks/{sandboxConfig-F6ZRJB5C.js → sandboxConfig-KKO5NHYT.js} +18 -18
- package/chunks/{scheduled-tasks-YOGLJMWV.js → scheduled-tasks-SBK77VA3.js} +26 -26
- package/chunks/{scheduler-JCT6ARET.js → scheduler-WFLBJDYN.js} +20 -20
- package/chunks/{serve-ATWHQIZC.js → serve-Z25BL7HQ.js} +23 -23
- package/chunks/{server-BL7NBKQO.js → server-PN5WV25I.js} +372 -90
- package/chunks/{session-SKCALDL6.js → session-OCQ6TJAW.js} +50 -50
- package/chunks/{session-attachments-root-I2DLMEGC.js → session-attachments-root-KQDWFXMV.js} +18 -18
- package/chunks/{session-pr-refresh-J5O3ECBZ.js → session-pr-refresh-TPCBGPHC.js} +24 -24
- package/chunks/{settings-4APYRYEP.js → settings-7B5BGXUM.js} +22 -22
- package/chunks/{shell-BRLSIRIJ.js → shell-OHI4FUG7.js} +9 -9
- package/chunks/{skill-ANJV3QCO.js → skill-3VAIVEQN.js} +3 -3
- package/chunks/{skill-settings-5OEAPNUN.js → skill-settings-V3CDB6OM.js} +23 -23
- package/chunks/{spawnChannel-L22VQQG6.js → spawnChannel-I3W24E2N.js} +21 -21
- package/chunks/{standalone-update-JCDSJXRD.js → standalone-update-25IAVDS4.js} +19 -19
- package/chunks/{start-opentui-ui-UZZMEAMN.js → start-opentui-ui-54TLE52K.js} +57 -57
- package/chunks/{startInteractiveUI-76WHKIMU.js → startInteractiveUI-6O4AE46W.js} +60 -60
- package/chunks/{team-create-KWEJO6TE.js → team-create-ED6VAG37.js} +9 -9
- package/chunks/{team-plan-approval-VXHTSKHR.js → team-plan-approval-LDAEETXQ.js} +9 -9
- package/chunks/{terminal-image-renderer-TOK5UHDG.js → terminal-image-renderer-WQW44MKO.js} +18 -18
- package/chunks/{theme-manager-ZV4RR26I.js → theme-manager-5COG22M3.js} +18 -18
- package/chunks/{tool-result-media-GQOZVVL2.js → tool-result-media-LWY3EMBX.js} +7 -7
- package/chunks/{tool-search-ZF4TSSBS.js → tool-search-5RPYPGFG.js} +2 -2
- package/chunks/{total-session-admission-TU776YQY.js → total-session-admission-VK6OEGTQ.js} +23 -23
- package/chunks/{trustedFolders-SBXCVRQG.js → trustedFolders-AXSP2EBB.js} +19 -19
- package/chunks/{update-relaunch-QQBSIE5C.js → update-relaunch-XO6DITTA.js} +5 -5
- package/chunks/{updateCheck-L5W4XUFI.js → updateCheck-XXUEDPUG.js} +18 -18
- package/chunks/{upload-config-JNZAPCF6.js → upload-config-PE3LJBUR.js} +4 -4
- package/chunks/{useAutoAcceptIndicator-5JQS2R2M.js → useAutoAcceptIndicator-ZHUEUC5M.js} +25 -25
- package/chunks/{validateNonInterActiveAuth-QQGBHCWE.js → validateNonInterActiveAuth-QLGYQ3U6.js} +47 -47
- package/chunks/{version-5MCFLBNP.js → version-6WI5GKX6.js} +1 -1
- package/chunks/{web-fetch-6IQOTXM2.js → web-fetch-WVJPQMBM.js} +2 -2
- package/chunks/{web-search-TY4ODCXK.js → web-search-MLYZQUGL.js} +4 -4
- package/chunks/{web-shell-static-7D6SWOB2.js → web-shell-static-Y7Q6BKAX.js} +3 -3
- package/chunks/{workflow-ZLOBJFVU.js → workflow-AQ74SHPL.js} +10 -10
- package/chunks/{workspace-providers-status-DO45VCTP.js → workspace-providers-status-XJEFMVE4.js} +28 -28
- package/chunks/{workspace-registration-store-BTQLDHIJ.js → workspace-registration-store-ZQT3LZZS.js} +1 -1
- package/chunks/{workspace-registry-U5TYWDJX.js → workspace-registry-TVK2R2Z2.js} +23 -23
- package/chunks/{workspace-runtime-coordinator-PSL3IYT5.js → workspace-runtime-coordinator-GC5P3UDU.js} +23 -23
- package/chunks/{workspace-service-HCPAODRG.js → workspace-service-65RQN5D7.js} +26 -26
- package/chunks/{workspace-skills-status-KD2JXJUU.js → workspace-skills-status-JKWIQAI2.js} +26 -26
- package/chunks/{workspace-trust-reconciler-WAIHZHDY.js → workspace-trust-reconciler-BQ6QIZNQ.js} +28 -28
- package/chunks/{write-file-Z35R7HTD.js → write-file-BJ5NTPQB.js} +10 -10
- package/chunks/{zoom-image-MRU6WPE6.js → zoom-image-7INIHGVL.js} +2 -2
- package/cli.js +12 -12
- package/execution-worker.js +1 -1
- package/export-transcript-document.css +1 -1
- package/export-transcript-document.js +2 -2
- package/package.json +3 -3
- package/web-shell/assets/{abnfDiagram-VCTEODGH-DM0yb8lz.js → abnfDiagram-VCTEODGH-BkQBgBMY.js} +1 -1
- package/web-shell/assets/{arc-Cw2773LR.js → arc-Br3zpBwP.js} +1 -1
- package/web-shell/assets/{architectureDiagram-5GKGNRK7-D4uzC2Js.js → architectureDiagram-5GKGNRK7-hfIGqSc7.js} +1 -1
- package/web-shell/assets/{blockDiagram-NRAW4CY4-D4itI8GP.js → blockDiagram-NRAW4CY4-BLvXFxuL.js} +1 -1
- package/web-shell/assets/{c4Diagram-UCG6FXSJ-DyJzA_Bk.js → c4Diagram-UCG6FXSJ-B0ySRqbF.js} +1 -1
- package/web-shell/assets/channel-B2iKEcGd.js +1 -0
- package/web-shell/assets/{chunk-2Q5K7J3B-CldzFLZi.js → chunk-2Q5K7J3B-Cir7zOVC.js} +1 -1
- package/web-shell/assets/{chunk-5VM5RSS4-Cq0Kj0gV.js → chunk-5VM5RSS4-CDD4SztQ.js} +1 -1
- package/web-shell/assets/{chunk-F27PBJKO-DZ7ToIX3.js → chunk-F27PBJKO-asK4yFXN.js} +1 -1
- package/web-shell/assets/{chunk-G27WJ6UU-DVdybDaB.js → chunk-G27WJ6UU-Duv3kKeG.js} +1 -1
- package/web-shell/assets/{chunk-JWPE2WC7-DJJV9ycO.js → chunk-JWPE2WC7-CxLgEAVC.js} +1 -1
- package/web-shell/assets/{chunk-LCL6LL3I-UvX8t_CL.js → chunk-LCL6LL3I-C272Eh40.js} +1 -1
- package/web-shell/assets/{chunk-POPQ4Y6H-BtIY5nH0.js → chunk-POPQ4Y6H-BEa9L8Rf.js} +1 -1
- package/web-shell/assets/{chunk-SVP7TREG-D2s5PV-v.js → chunk-SVP7TREG-Du7ekG8H.js} +1 -1
- package/web-shell/assets/{chunk-XXDRQBXY-BrmMihIw.js → chunk-XXDRQBXY-D1NXTUyy.js} +1 -1
- package/web-shell/assets/classDiagram-DTDB5LWJ-mSbS1rbo.js +1 -0
- package/web-shell/assets/classDiagram-v2-JRS7N3AN-mSbS1rbo.js +1 -0
- package/web-shell/assets/{cose-bilkent-JH36ORCC-CIZPu3iQ.js → cose-bilkent-JH36ORCC-DfpxBocn.js} +1 -1
- package/web-shell/assets/{cynefin-OW5HDTMX-B5CmaWVW.js → cynefin-OW5HDTMX-DaA3nwgS.js} +1 -1
- package/web-shell/assets/{cynefinDiagram-5FMLGOSQ-CTmnEsXe.js → cynefinDiagram-5FMLGOSQ-aTwGPwXr.js} +1 -1
- package/web-shell/assets/{dagre-3AP2YEHR-CRoxYPJt.js → dagre-3AP2YEHR-BPQureZ2.js} +1 -1
- package/web-shell/assets/{diagram-S7CK7UJ4-DuCtZhZh.js → diagram-S7CK7UJ4-B9l9YMYC.js} +1 -1
- package/web-shell/assets/{diagram-UQ7AKVKN-D1boncaV.js → diagram-UQ7AKVKN-BINF0OVO.js} +1 -1
- package/web-shell/assets/{diagram-VSXAHHWV-MCS6BnZC.js → diagram-VSXAHHWV-CiZZUkn4.js} +1 -1
- package/web-shell/assets/{diagram-VX7I27RA-D0jCmhgd.js → diagram-VX7I27RA-DSryZ82r.js} +1 -1
- package/web-shell/assets/{diagram-Z3DM3KII-BbyNb0kV.js → diagram-Z3DM3KII-DVVmSiV6.js} +1 -1
- package/web-shell/assets/{ebnfDiagram-PWID7BFC-CuuKfOpk.js → ebnfDiagram-PWID7BFC-DlyDLz4E.js} +1 -1
- package/web-shell/assets/{erDiagram-SSCWMZ5O-COET38hE.js → erDiagram-SSCWMZ5O-CKzUW1DF.js} +1 -1
- package/web-shell/assets/{flowDiagram-A5DVABFB-IkjK_VjX.js → flowDiagram-A5DVABFB-BJbhb4Ms.js} +1 -1
- package/web-shell/assets/{ganttDiagram-EL5Y4UJY-DpQN5T1N.js → ganttDiagram-EL5Y4UJY-C3MvAYYH.js} +1 -1
- package/web-shell/assets/{gitGraphDiagram-WWUBYQGX-D-3mZZJY.js → gitGraphDiagram-WWUBYQGX-WAlEYhpV.js} +1 -1
- package/web-shell/assets/{index-C6ChX65S.js → index-B-m7jwUn.js} +487 -475
- package/web-shell/assets/index-C6EbTEEX.css +36 -0
- package/web-shell/assets/{index-CbEDnx9Y.js → index-D-0jw_Mv.js} +1 -1
- package/web-shell/assets/{infoDiagram-RXCK75RN-BZr1NPqN.js → infoDiagram-RXCK75RN-lCSiGsnv.js} +1 -1
- package/web-shell/assets/{ishikawaDiagram-5VMMS53U-BVOIXK6O.js → ishikawaDiagram-5VMMS53U-DO2Phifr.js} +1 -1
- package/web-shell/assets/{journeyDiagram-EYS64GPL-CSSCt0VS.js → journeyDiagram-EYS64GPL-CMopttgZ.js} +1 -1
- package/web-shell/assets/{kanban-definition-3QL26DDD-D8184eaV.js → kanban-definition-3QL26DDD-C9fCgZW7.js} +1 -1
- package/web-shell/assets/{layout-D6Y-BU4T.js → layout-jwnqp6Nz.js} +1 -1
- package/web-shell/assets/{linear-BqHctGnD.js → linear-BzQI00gV.js} +1 -1
- package/web-shell/assets/{mermaid.core-RZhKRR9u.js → mermaid.core-D8V71OO3.js} +6 -6
- package/web-shell/assets/{mindmap-definition-FBJOCRG2-BYy6nzI2.js → mindmap-definition-FBJOCRG2-BLUH8tli.js} +1 -1
- package/web-shell/assets/{pegDiagram-XKGWAZYB-BCXU9jS6.js → pegDiagram-XKGWAZYB-BO0qnSfj.js} +1 -1
- package/web-shell/assets/{pieDiagram-E7YTZNPT-C7x0HkCZ.js → pieDiagram-E7YTZNPT-e4Cjh-6j.js} +1 -1
- package/web-shell/assets/{quadrantDiagram-AXDQQJYC-CTt2Pns5.js → quadrantDiagram-AXDQQJYC-BwTHa_JF.js} +1 -1
- package/web-shell/assets/{railroadDiagram-O6MQD6OU-BnfVnVX1.js → railroadDiagram-O6MQD6OU-B-KW5-Sx.js} +1 -1
- package/web-shell/assets/{requirementDiagram-EFPCY7ZU-CrvMFYqe.js → requirementDiagram-EFPCY7ZU-D54hNSnQ.js} +1 -1
- package/web-shell/assets/{sankeyDiagram-P5KCCOFB-DryWc6Dy.js → sankeyDiagram-P5KCCOFB-CBBp5lR9.js} +1 -1
- package/web-shell/assets/{sequenceDiagram-WJ2MYXX4-Bi6HpYxU.js → sequenceDiagram-WJ2MYXX4-OqoAVsuX.js} +1 -1
- package/web-shell/assets/{sizeCapture-X5ZJPWSS-BvMmSrhI.js → sizeCapture-X5ZJPWSS-D8TpQJlP.js} +1 -1
- package/web-shell/assets/{stateDiagram-HBIQ2CUA-D1AsHfqC.js → stateDiagram-HBIQ2CUA-BU9Ei757.js} +1 -1
- package/web-shell/assets/stateDiagram-v2-4QOOHH4V-67Q7WT5I.js +1 -0
- package/web-shell/assets/{swimlanes-XN3QIQJK-DA1zkU-G.js → swimlanes-XN3QIQJK-BpN3knRL.js} +1 -1
- package/web-shell/assets/swimlanesDiagram-VK2B7HYN-Dh3LDQRv.js +8 -0
- package/web-shell/assets/{timeline-definition-24CTP7MA-EJFf20Qm.js → timeline-definition-24CTP7MA-B_Qj6PLG.js} +1 -1
- package/web-shell/assets/{vennDiagram-4TSXK5OY-BxC8R6yI.js → vennDiagram-4TSXK5OY-USf6WC_3.js} +1 -1
- package/web-shell/assets/{wardleyDiagram-VM6X3IG4-CBdJFwR_.js → wardleyDiagram-VM6X3IG4-DhXuNigR.js} +1 -1
- package/web-shell/assets/{xychartDiagram-S5SC5T6Z-CebGvlJK.js → xychartDiagram-S5SC5T6Z-64GH9bS_.js} +1 -1
- package/web-shell/index.html +2 -2
- package/web-shell/sw.js +1 -1
- package/web-shell/assets/channel-C-4jYruO.js +0 -1
- package/web-shell/assets/classDiagram-DTDB5LWJ-DmEJKKvg.js +0 -1
- package/web-shell/assets/classDiagram-v2-JRS7N3AN-DmEJKKvg.js +0 -1
- package/web-shell/assets/index-Cdqf5uSF.css +0 -36
- package/web-shell/assets/stateDiagram-v2-4QOOHH4V-DIDerJcb.js +0 -1
- package/web-shell/assets/swimlanesDiagram-VK2B7HYN-h2E4ETv7.js +0 -8
|
@@ -1786,6 +1786,13 @@ var DaemonClient = class {
|
|
|
1786
1786
|
{ mode: "rest" }
|
|
1787
1787
|
);
|
|
1788
1788
|
}
|
|
1789
|
+
runtimeStopOptions() {
|
|
1790
|
+
return this.jsonRequest(
|
|
1791
|
+
"/workspaces/runtime-stop-options",
|
|
1792
|
+
"GET /workspaces/runtime-stop-options",
|
|
1793
|
+
{ mode: "rest" }
|
|
1794
|
+
);
|
|
1795
|
+
}
|
|
1789
1796
|
async ensureWorkspaceRuntime() {
|
|
1790
1797
|
return await this.jsonRequest(
|
|
1791
1798
|
"/workspace/runtime/ensure",
|
|
@@ -5486,6 +5493,19 @@ var WorkspaceDaemonClient = class {
|
|
|
5486
5493
|
}
|
|
5487
5494
|
);
|
|
5488
5495
|
}
|
|
5496
|
+
stopRuntime(confirmation) {
|
|
5497
|
+
return this.client.workspaceJsonRequest(
|
|
5498
|
+
this.workspaceSelector,
|
|
5499
|
+
"/runtime/stop",
|
|
5500
|
+
"POST /workspaces/:workspace/runtime/stop",
|
|
5501
|
+
{
|
|
5502
|
+
method: "POST",
|
|
5503
|
+
body: confirmation,
|
|
5504
|
+
timeoutMs: WORKSPACE_RUNTIME_ENSURE_TIMEOUT_MS,
|
|
5505
|
+
mode: "rest"
|
|
5506
|
+
}
|
|
5507
|
+
);
|
|
5508
|
+
}
|
|
5489
5509
|
ensureRuntime() {
|
|
5490
5510
|
return this.client.workspaceJsonRequest(
|
|
5491
5511
|
this.workspaceSelector,
|
|
@@ -8451,7 +8471,7 @@ function isSessionDiedData(value) {
|
|
|
8451
8471
|
}
|
|
8452
8472
|
__name(isSessionDiedData, "isSessionDiedData");
|
|
8453
8473
|
function isSessionClosedData(value) {
|
|
8454
|
-
return isRecord(value) && isNonEmptyString(value["sessionId"]) && isNonEmptyString(value["reason"]) && isOptionalStringOrNull(value["closedBy"]);
|
|
8474
|
+
return isRecord(value) && isNonEmptyString(value["sessionId"]) && isNonEmptyString(value["reason"]) && isOptionalStringOrNull(value["closedBy"]) && isOptionalNumberOrNull(value["exitCode"]) && isOptionalStringOrNull(value["signalCode"]) && (value["cause"] === void 0 || typeof value["cause"] === "string") && (value["persistenceUnconfirmed"] === void 0 || typeof value["persistenceUnconfirmed"] === "boolean");
|
|
8455
8475
|
}
|
|
8456
8476
|
__name(isSessionClosedData, "isSessionClosedData");
|
|
8457
8477
|
function isSessionMetadataUpdatedData(value) {
|
|
@@ -9657,6 +9677,11 @@ var MCP_RESTART_REFUSED_REASONS2 = /* @__PURE__ */ new Set([
|
|
|
9657
9677
|
var MALFORMED_MEMORY_CHANGED = "malformed memory_changed payload";
|
|
9658
9678
|
var SESSION_RECORDING_DEGRADED_MESSAGE = "Session recording stopped after a write failure. New messages for the affected session will not be saved. Check disk space and permissions, then start a new session to resume recording.";
|
|
9659
9679
|
var ATTACHMENT_UNAVAILABLE_TEXT = "[Attachment is no longer available]";
|
|
9680
|
+
var SESSION_CLOSED_REASON_COPY = {
|
|
9681
|
+
client_close: "Session closed",
|
|
9682
|
+
last_client_detached: "Session closed after the last client detached",
|
|
9683
|
+
idle_timeout: "Session closed after idle timeout"
|
|
9684
|
+
};
|
|
9660
9685
|
function normalizeDaemonEvent(event, opts = {}) {
|
|
9661
9686
|
const base = createBase(event, opts);
|
|
9662
9687
|
switch (event.type) {
|
|
@@ -9710,11 +9735,21 @@ function normalizeDaemonEvent(event, opts = {}) {
|
|
|
9710
9735
|
];
|
|
9711
9736
|
}
|
|
9712
9737
|
case "session_closed":
|
|
9738
|
+
if (isRecord2(event.data) && event.data["persistenceUnconfirmed"] === true) {
|
|
9739
|
+
return [
|
|
9740
|
+
{
|
|
9741
|
+
...base,
|
|
9742
|
+
type: "error",
|
|
9743
|
+
recoverable: false,
|
|
9744
|
+
text: "Workspace runtime stopped; session persistence is unconfirmed."
|
|
9745
|
+
}
|
|
9746
|
+
];
|
|
9747
|
+
}
|
|
9713
9748
|
return [
|
|
9714
9749
|
{
|
|
9715
9750
|
...base,
|
|
9716
9751
|
type: "status",
|
|
9717
|
-
text:
|
|
9752
|
+
text: getString2(event.data, "cause") === "workspace_runtime_stop" ? "Workspace runtime stopped." : SESSION_CLOSED_REASON_COPY[getString2(event.data, "reason") ?? ""] ?? "Session closed"
|
|
9718
9753
|
}
|
|
9719
9754
|
];
|
|
9720
9755
|
case "session_recording_degraded": {
|
|
@@ -9,23 +9,9 @@ import {
|
|
|
9
9
|
|
|
10
10
|
// packages/cli/src/ui/types.ts
|
|
11
11
|
init_esbuild_shims();
|
|
12
|
-
var GOAL_STATUS_KINDS = [
|
|
13
|
-
"set",
|
|
14
|
-
"achieved",
|
|
15
|
-
"cleared",
|
|
16
|
-
"failed",
|
|
17
|
-
"aborted",
|
|
18
|
-
"paused",
|
|
19
|
-
"checking"
|
|
20
|
-
];
|
|
21
|
-
function isGoalStatusKind(value) {
|
|
22
|
-
return typeof value === "string" && GOAL_STATUS_KINDS.includes(value);
|
|
23
|
-
}
|
|
24
|
-
__name(isGoalStatusKind, "isGoalStatusKind");
|
|
25
12
|
var isHistoryItemVisibleAfterRestore = /* @__PURE__ */ __name((item) => !item.display?.suppressOnRestore, "isHistoryItemVisibleAfterRestore");
|
|
26
13
|
|
|
27
14
|
export {
|
|
28
|
-
isGoalStatusKind,
|
|
29
15
|
isHistoryItemVisibleAfterRestore
|
|
30
16
|
};
|
|
31
17
|
/**
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
resolveStreamIdleTimeoutMs,
|
|
8
8
|
resolveStreamMaxLifetimeMs,
|
|
9
9
|
withStreamGuards
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-VMTAPCG3.js";
|
|
11
11
|
import {
|
|
12
12
|
OpenAIContentConverter,
|
|
13
13
|
TaggedThinkingParser,
|
|
@@ -32,7 +32,7 @@ import {
|
|
|
32
32
|
import {
|
|
33
33
|
DashScopeOpenAICompatibleProvider,
|
|
34
34
|
DefaultOpenAICompatibleProvider
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-HISXBKXU.js";
|
|
36
36
|
import {
|
|
37
37
|
InvalidStreamError,
|
|
38
38
|
getToolCallPreparations,
|
|
@@ -51,7 +51,7 @@ import {
|
|
|
51
51
|
getEffectiveReasoning,
|
|
52
52
|
isOpenRouterHostname,
|
|
53
53
|
resolveReasoningForModel
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-FUZESLZQ.js";
|
|
55
55
|
import {
|
|
56
56
|
getRateLimitErrorDetails,
|
|
57
57
|
getTransportCode
|
|
@@ -62,7 +62,7 @@ import {
|
|
|
62
62
|
import {
|
|
63
63
|
ProtocolTagSanitizedEvent,
|
|
64
64
|
logProtocolTagSanitized
|
|
65
|
-
} from "./chunk-
|
|
65
|
+
} from "./chunk-3UOPPEN5.js";
|
|
66
66
|
import {
|
|
67
67
|
REASONING_EFFORT_TIERS,
|
|
68
68
|
getGptReasoningCapabilities,
|
|
@@ -70,7 +70,7 @@ import {
|
|
|
70
70
|
isReasoningEffortPlaceholder,
|
|
71
71
|
isTieredEffortWireModel,
|
|
72
72
|
reconcileMaxTokens
|
|
73
|
-
} from "./chunk-
|
|
73
|
+
} from "./chunk-CBJBLKDH.js";
|
|
74
74
|
import {
|
|
75
75
|
redactProxyError
|
|
76
76
|
} from "./chunk-SBP43AO6.js";
|
|
@@ -36,11 +36,11 @@ import {
|
|
|
36
36
|
} from "./chunk-GOVIASFS.js";
|
|
37
37
|
import {
|
|
38
38
|
isGoalCheckpointBookkeepingRecord
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-E3BHICIC.js";
|
|
40
40
|
import {
|
|
41
41
|
GoalPersistenceUnavailableError,
|
|
42
42
|
getToolResponseDisplayText
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-J6QWYIXU.js";
|
|
44
44
|
import {
|
|
45
45
|
stripAnsi
|
|
46
46
|
} from "./chunk-TWPJO254.js";
|
|
@@ -49,7 +49,7 @@ import {
|
|
|
49
49
|
} from "./chunk-ANKISCKU.js";
|
|
50
50
|
import {
|
|
51
51
|
parseGoalStateRecordPayloadV2
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-MQD3FY7L.js";
|
|
53
53
|
import {
|
|
54
54
|
ToolDisplayNames
|
|
55
55
|
} from "./chunk-DSJQYGJZ.js";
|
|
@@ -276,6 +276,70 @@ function getCustomSystemPrompt(customInstruction, userMemory, appendInstruction)
|
|
|
276
276
|
});
|
|
277
277
|
}
|
|
278
278
|
__name(getCustomSystemPrompt, "getCustomSystemPrompt");
|
|
279
|
+
var TOOL_GUIDANCE_LINE_GATES = [
|
|
280
|
+
{ prefix: "- **Prefer Dedicated Tools:**", tools: [ToolNames.SHELL] },
|
|
281
|
+
{ prefix: " - To read files use", tools: [ToolNames.READ_FILE] },
|
|
282
|
+
{ prefix: " - To edit files use", tools: [ToolNames.EDIT] },
|
|
283
|
+
{ prefix: " - To create files use", tools: [ToolNames.WRITE_FILE] },
|
|
284
|
+
{ prefix: " - To search for files use", tools: [ToolNames.GLOB] },
|
|
285
|
+
{ prefix: " - To search the content of files", tools: [ToolNames.GREP] },
|
|
286
|
+
{ prefix: " - Reserve using the", tools: [ToolNames.SHELL] },
|
|
287
|
+
{ prefix: "- **Task Management:**", tools: [ToolNames.TODO_WRITE] },
|
|
288
|
+
{
|
|
289
|
+
prefix: "- **File Paths:**",
|
|
290
|
+
tools: [ToolNames.READ_FILE, ToolNames.WRITE_FILE]
|
|
291
|
+
},
|
|
292
|
+
{ prefix: "- **Background Processes:**", tools: [ToolNames.SHELL] },
|
|
293
|
+
{ prefix: "- **Interactive Commands:**", tools: [ToolNames.SHELL] },
|
|
294
|
+
{ prefix: "- **Subagent Delegation:**", tools: [ToolNames.AGENT] },
|
|
295
|
+
{
|
|
296
|
+
prefix: "- **Codebase Search:**",
|
|
297
|
+
tools: [ToolNames.AGENT, ToolNames.GREP, ToolNames.GLOB]
|
|
298
|
+
}
|
|
299
|
+
];
|
|
300
|
+
var PREFER_DEDICATED_TOOLS_PREFIX = "- **Prefer Dedicated Tools:**";
|
|
301
|
+
function gateToolGuidance(section, surface) {
|
|
302
|
+
const declared = surface?.declaredTools;
|
|
303
|
+
if (!declared) return section;
|
|
304
|
+
const kept = section.split("\n").filter((line) => {
|
|
305
|
+
const gate = TOOL_GUIDANCE_LINE_GATES.find(
|
|
306
|
+
(entry) => line.startsWith(entry.prefix)
|
|
307
|
+
);
|
|
308
|
+
return !gate || gate.tools.every((tool) => declared.has(tool));
|
|
309
|
+
});
|
|
310
|
+
const parentIndex = kept.findIndex(
|
|
311
|
+
(line) => line.startsWith(PREFER_DEDICATED_TOOLS_PREFIX)
|
|
312
|
+
);
|
|
313
|
+
if (parentIndex !== -1 && !kept[parentIndex + 1]?.startsWith(" - To ") && !kept[parentIndex + 1]?.startsWith(" - Reserve using the")) {
|
|
314
|
+
kept.splice(parentIndex, 1);
|
|
315
|
+
}
|
|
316
|
+
return kept.join("\n");
|
|
317
|
+
}
|
|
318
|
+
__name(gateToolGuidance, "gateToolGuidance");
|
|
319
|
+
var TOOL_CALL_IN_EXAMPLE = /\[tool_call:\s*([A-Za-z0-9_]+)|<function=([A-Za-z0-9_]+)>|"name":\s*"([A-Za-z0-9_]+)",\s*"arguments"|<\|tool_call>call:([A-Za-z0-9_]+)/g;
|
|
320
|
+
function exampleToolNames(block) {
|
|
321
|
+
return [...block.matchAll(TOOL_CALL_IN_EXAMPLE)].map(
|
|
322
|
+
(match) => match[1] ?? match[2] ?? match[3] ?? match[4]
|
|
323
|
+
);
|
|
324
|
+
}
|
|
325
|
+
__name(exampleToolNames, "exampleToolNames");
|
|
326
|
+
var EXAMPLE_BLOCK = /<example>[\s\S]*?<\/example>\n*/g;
|
|
327
|
+
function filterToolCallExamples(examples, surface) {
|
|
328
|
+
const declared = surface?.declaredTools;
|
|
329
|
+
if (!declared) return examples;
|
|
330
|
+
let keptExamples = 0;
|
|
331
|
+
const filtered = examples.replace(EXAMPLE_BLOCK, (block) => {
|
|
332
|
+
const callsUndeclared = exampleToolNames(block).some(
|
|
333
|
+
(name) => !declared.has(name)
|
|
334
|
+
);
|
|
335
|
+
if (callsUndeclared) return "";
|
|
336
|
+
keptExamples++;
|
|
337
|
+
return block;
|
|
338
|
+
});
|
|
339
|
+
if (keptExamples === 0) return "";
|
|
340
|
+
return filtered.replace(/\n{3,}/g, "\n\n").trimEnd();
|
|
341
|
+
}
|
|
342
|
+
__name(filterToolCallExamples, "filterToolCallExamples");
|
|
279
343
|
function getSoftwareEngineeringTasksSection(todoWriteEnabled) {
|
|
280
344
|
const planGuidance = todoWriteEnabled ? `Use '${ToolNames.TODO_WRITE}' for complex, ambiguous, or multi-step work when visible progress tracking adds value. Keep the plan short and outcome-oriented; skip it for simple tasks unless the user explicitly requests a plan.` : "For complex, ambiguous, or multi-step work, form a concise, outcome-oriented approach and revise it as you learn. Skip formal planning for simple tasks unless the user explicitly requests a plan.";
|
|
281
345
|
const todoAdaptationGuidance = todoWriteEnabled ? " If a todo list exists, keep it current as the scope or approach changes." : "";
|
|
@@ -293,7 +357,7 @@ When requested to perform tasks like fixing bugs, adding features, refactoring,
|
|
|
293
357
|
`;
|
|
294
358
|
}
|
|
295
359
|
__name(getSoftwareEngineeringTasksSection, "getSoftwareEngineeringTasksSection");
|
|
296
|
-
function getToolGuidanceSection(questions, codeModeOnly, todoWriteEnabled) {
|
|
360
|
+
function getToolGuidanceSection(questions, codeModeOnly, todoWriteEnabled, surface) {
|
|
297
361
|
const taskManagementToolGuidance = todoWriteEnabled ? `- **Task Management:** Use '${ToolNames.TODO_WRITE}' only when explicit tracking adds value. Keep plans concise, outcome-oriented, and current; do not create a todo list for simple or single-step work unless the user explicitly requests one.
|
|
298
362
|
` : "";
|
|
299
363
|
const directControls = todoWriteEnabled ? `'${ToolNames.TODO_WRITE}', '${ToolNames.AGENT}' and the other direct controls` : `'${ToolNames.AGENT}' and the other direct controls`;
|
|
@@ -319,7 +383,7 @@ ${taskManagementToolGuidance}- **File Paths:** Always use absolute paths when re
|
|
|
319
383
|
- **Respect Tool Decisions:** Tool permissions are enforced by the runtime. If a call is denied or canceled, respect that decision and do _not_ try the same action through another path. Retry only if the user subsequently requests that action.
|
|
320
384
|
`.trim();
|
|
321
385
|
}
|
|
322
|
-
|
|
386
|
+
const directGuidance = `
|
|
323
387
|
## Using Your Tools
|
|
324
388
|
- **Prefer Dedicated Tools:** Do NOT use the '${ToolNames.SHELL}' to run commands when a relevant dedicated tool is provided. Using dedicated tools allows the user to better understand and review your work. This is CRITICAL to assisting the user:
|
|
325
389
|
- To read files use '${ToolNames.READ_FILE}' instead of cat, head, tail, or sed
|
|
@@ -338,9 +402,10 @@ ${taskManagementToolGuidance}- **Parallel Tool Calls:** You can call multiple to
|
|
|
338
402
|
- **Codebase Search:** For simple, directed codebase searches (e.g. for a specific file/class/function) use the '${ToolNames.GREP}' or '${ToolNames.GLOB}' tools directly. For broader codebase exploration and deep research, use the '${ToolNames.AGENT}' tool with subagent_type=Explore. This is slower than using '${ToolNames.GREP}' or '${ToolNames.GLOB}' directly, so use this only when a simple, directed search proves to be insufficient or when your task will clearly require more than 3 queries.
|
|
339
403
|
- **Respect Tool Decisions:** Tool permissions are enforced by the runtime. If a call is denied or canceled, respect that decision and do _not_ try the same action through another path. Retry only if the user subsequently requests that action.
|
|
340
404
|
`.trim();
|
|
405
|
+
return gateToolGuidance(directGuidance, surface);
|
|
341
406
|
}
|
|
342
407
|
__name(getToolGuidanceSection, "getToolGuidanceSection");
|
|
343
|
-
function buildDefaultBasePrompt(interaction, model, outputStyle, todoWriteEnabled = false, codeModeOnly = false) {
|
|
408
|
+
function buildDefaultBasePrompt(interaction, model, outputStyle, todoWriteEnabled = false, codeModeOnly = false, surface) {
|
|
344
409
|
const softwareEngineeringTasks = outputStyle?.keepCodingInstructions === false ? "" : getSoftwareEngineeringTasksSection(todoWriteEnabled);
|
|
345
410
|
const taskManagementSection = todoWriteEnabled ? `# Task Management
|
|
346
411
|
You have access to the ${ToolNames.TODO_WRITE} tool to keep user-visible progress for work that benefits from explicit tracking. Use it for complex, ambiguous, or multi-phase tasks or requests with multiple independent outcomes. Do not use it for simple or single-step queries that you can answer or complete immediately unless the user explicitly asks for a plan.
|
|
@@ -356,7 +421,8 @@ When you create a todo list:
|
|
|
356
421
|
const toolGuidance = getToolGuidanceSection(
|
|
357
422
|
interaction.questions,
|
|
358
423
|
codeModeOnly,
|
|
359
|
-
todoWriteEnabled
|
|
424
|
+
todoWriteEnabled,
|
|
425
|
+
surface
|
|
360
426
|
);
|
|
361
427
|
return `
|
|
362
428
|
${coreIdentity}
|
|
@@ -472,7 +538,7 @@ ${function() {
|
|
|
472
538
|
return "";
|
|
473
539
|
}()}
|
|
474
540
|
|
|
475
|
-
${codeModeOnly ? codeModeToolCallExamples : getToolCallExamples(model || "")}
|
|
541
|
+
${codeModeOnly ? codeModeToolCallExamples : filterToolCallExamples(getToolCallExamples(model || ""), surface)}
|
|
476
542
|
|
|
477
543
|
# Final Reminder
|
|
478
544
|
Your core function is efficient and safe assistance. Balance conciseness with the crucial need for clarity, especially regarding safety and potential system modifications. Always prioritize user control and project conventions. Never make assumptions about the contents of files; instead use '${ToolNames.READ_FILE}' to ensure you aren't making broad assumptions. Finally, you are an agent - please keep going until the user's query is completely resolved.
|
|
@@ -492,7 +558,7 @@ function resolveMainSessionOutputStyle(config) {
|
|
|
492
558
|
return resolveEffectiveOutputStyle(style, resolveInteractionMode(config));
|
|
493
559
|
}
|
|
494
560
|
__name(resolveMainSessionOutputStyle, "resolveMainSessionOutputStyle");
|
|
495
|
-
function getCoreSystemPrompt(userMemory, model, appendInstruction, interactionMode = "interactive", outputStyle, todoWriteEnabled = false, codeModeOnly = false) {
|
|
561
|
+
function getCoreSystemPrompt(userMemory, model, appendInstruction, interactionMode = "interactive", outputStyle, todoWriteEnabled = false, codeModeOnly = false, options) {
|
|
496
562
|
const effectiveOutputStyle = resolveEffectiveOutputStyle(
|
|
497
563
|
outputStyle,
|
|
498
564
|
interactionMode
|
|
@@ -516,7 +582,8 @@ function getCoreSystemPrompt(userMemory, model, appendInstruction, interactionMo
|
|
|
516
582
|
model,
|
|
517
583
|
effectiveOutputStyle,
|
|
518
584
|
todoWriteEnabled,
|
|
519
|
-
codeModeOnly
|
|
585
|
+
codeModeOnly,
|
|
586
|
+
options
|
|
520
587
|
);
|
|
521
588
|
const writeSystemMdResolution = resolvePathFromEnv(
|
|
522
589
|
process.env["QWEN_WRITE_SYSTEM_MD"]
|
|
@@ -531,7 +598,8 @@ function getCoreSystemPrompt(userMemory, model, appendInstruction, interactionMo
|
|
|
531
598
|
model,
|
|
532
599
|
void 0,
|
|
533
600
|
todoWriteEnabled,
|
|
534
|
-
codeModeOnly
|
|
601
|
+
codeModeOnly,
|
|
602
|
+
options
|
|
535
603
|
)
|
|
536
604
|
);
|
|
537
605
|
}
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
import {
|
|
8
8
|
customDeepMerge,
|
|
9
9
|
getSettingsSchema
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-2UK4NN6N.js";
|
|
11
11
|
import {
|
|
12
12
|
t
|
|
13
13
|
} from "./chunk-GOVIASFS.js";
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
getHomeEnvFallbackVars,
|
|
20
20
|
loadEnvironment,
|
|
21
21
|
preResolveHomeEnvOverrides
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-JNCTEVLS.js";
|
|
23
23
|
import {
|
|
24
24
|
CONSOLIDATED_DISABLE_KEYS,
|
|
25
25
|
V1_INDICATOR_KEYS,
|
|
@@ -38,7 +38,7 @@ import {
|
|
|
38
38
|
import {
|
|
39
39
|
isWorkspaceTrusted,
|
|
40
40
|
updateSettingsFilePreservingFormat
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-UE5VCGKO.js";
|
|
42
42
|
import {
|
|
43
43
|
require_strip_json_comments
|
|
44
44
|
} from "./chunk-NPQ5ZKRP.js";
|
|
@@ -47,7 +47,7 @@ import {
|
|
|
47
47
|
} from "./chunk-65I7S4Z3.js";
|
|
48
48
|
import {
|
|
49
49
|
stripRuntimeSnapshotPrefix
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-FUZESLZQ.js";
|
|
51
51
|
import {
|
|
52
52
|
Storage,
|
|
53
53
|
createDebugLogger
|
|
@@ -5,22 +5,22 @@ import {
|
|
|
5
5
|
parseChannelDelivery,
|
|
6
6
|
scheduledTaskRunSessionName,
|
|
7
7
|
scheduledTaskRunSourceId
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-ADQSGJV5.js";
|
|
9
9
|
import {
|
|
10
10
|
parseCallerSuppliedSessionId
|
|
11
11
|
} from "./chunk-ZEZKIS2K.js";
|
|
12
12
|
import {
|
|
13
13
|
createSessionOrganizationService
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-GJV3UMRE.js";
|
|
15
15
|
import {
|
|
16
16
|
isInternalWorkspaceRuntime
|
|
17
17
|
} from "./chunk-NYWWQ437.js";
|
|
18
18
|
import {
|
|
19
19
|
SCHEDULED_TASK_RUN_SOURCE_TYPE
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-A4IJR5S6.js";
|
|
21
21
|
import {
|
|
22
22
|
SessionNotFoundError
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-OY4DP3XV.js";
|
|
24
24
|
import {
|
|
25
25
|
canonicalizeWorkspace
|
|
26
26
|
} from "./chunk-6PLDPT2C.js";
|
|
@@ -33,7 +33,7 @@ import {
|
|
|
33
33
|
import {
|
|
34
34
|
SessionService,
|
|
35
35
|
stripTerminalControlSequences
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-J6QWYIXU.js";
|
|
37
37
|
import {
|
|
38
38
|
MAX_JOBS,
|
|
39
39
|
nextDurableFireMs
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
estimateRawResourceTokens,
|
|
15
15
|
runFixedPolicies,
|
|
16
16
|
runOmniGcOnce
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-EE5L2LJI.js";
|
|
18
18
|
import {
|
|
19
19
|
MEDIA_DETECTOR_VERSION,
|
|
20
20
|
MediaMemoryService
|
|
@@ -27,10 +27,10 @@ import {
|
|
|
27
27
|
} from "./chunk-6C3D7BKK.js";
|
|
28
28
|
import {
|
|
29
29
|
isOmniDeliveryActive
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-QZECTXG4.js";
|
|
31
31
|
import {
|
|
32
32
|
requireEffectiveOmniUploadConfig
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-RUWHZMXW.js";
|
|
34
34
|
import {
|
|
35
35
|
DEFAULT_UPLOAD_CACHE_TTL_HOURS,
|
|
36
36
|
OmniUploadCache
|
|
@@ -4,16 +4,16 @@ import {
|
|
|
4
4
|
LoadedSettings,
|
|
5
5
|
getNestedProperty,
|
|
6
6
|
getPersistScopeForModelSelection
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-KPRD727P.js";
|
|
8
8
|
import {
|
|
9
9
|
getHomeEnvFallbackVars
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-JNCTEVLS.js";
|
|
11
11
|
import {
|
|
12
12
|
writeWithBackupSync
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-UE5VCGKO.js";
|
|
14
14
|
import {
|
|
15
15
|
preserveModelProviderPlaceholders
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-E3BHICIC.js";
|
|
17
17
|
import {
|
|
18
18
|
resolveEnvVarsInObject
|
|
19
19
|
} from "./chunk-65I7S4Z3.js";
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
import {
|
|
7
7
|
SessionReferenceService,
|
|
8
8
|
readManyFiles
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-E3BHICIC.js";
|
|
10
10
|
import {
|
|
11
11
|
emptyMcpResourceText,
|
|
12
12
|
formatMcpResourceContents,
|
|
@@ -15,13 +15,13 @@ import {
|
|
|
15
15
|
import {
|
|
16
16
|
SessionService,
|
|
17
17
|
stripTerminalControlSequences
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-J6QWYIXU.js";
|
|
19
19
|
import {
|
|
20
20
|
qualifySkillName
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-MQD3FY7L.js";
|
|
22
22
|
import {
|
|
23
23
|
shouldRunVisionBridge
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-3UOPPEN5.js";
|
|
25
25
|
import {
|
|
26
26
|
Storage,
|
|
27
27
|
isSubpath,
|
|
@@ -433,7 +433,7 @@ async function resolveAtCommandQuery({
|
|
|
433
433
|
}
|
|
434
434
|
const pathName = originalAtPath.substring(1);
|
|
435
435
|
if (/^https?:\/\//i.test(pathName) && config.isOmniEnabled?.()) {
|
|
436
|
-
const omni = await import("./omni-
|
|
436
|
+
const omni = await import("./omni-J44KEAF2.js");
|
|
437
437
|
if (omni.isOmniDeliveryActive(config) && omni.parseHttpUrlRef(pathName)) {
|
|
438
438
|
if (!urlMediaRefs.some((r) => r.url === pathName)) {
|
|
439
439
|
urlMediaRefs.push({ originalAtPath, url: pathName });
|
|
@@ -569,7 +569,7 @@ async function resolveAtCommandQuery({
|
|
|
569
569
|
if (!resolvedSuccessfully && sawNotFound) {
|
|
570
570
|
let reanchored = false;
|
|
571
571
|
if (config.isOmniEnabled?.()) {
|
|
572
|
-
const { reanchorRememberedMedia } = await import("./omni-
|
|
572
|
+
const { reanchorRememberedMedia } = await import("./omni-J44KEAF2.js");
|
|
573
573
|
for (const dir of config.getWorkspaceContext().getDirectories()) {
|
|
574
574
|
const anchor = await reanchorRememberedMedia(
|
|
575
575
|
config,
|
|
@@ -651,7 +651,7 @@ ${messages.join("\n")}`;
|
|
|
651
651
|
const urlMediaDisplays = [];
|
|
652
652
|
const urlMediaLabels = [];
|
|
653
653
|
if (urlMediaRefs.length > 0) {
|
|
654
|
-
const core = await import("./omni-
|
|
654
|
+
const core = await import("./omni-J44KEAF2.js");
|
|
655
655
|
for (let i = 0; i < urlMediaRefs.length; i++) {
|
|
656
656
|
const ref = urlMediaRefs[i];
|
|
657
657
|
const callId = `client-url-media-${userMessageTimestamp}-${i}`;
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
import {
|
|
4
4
|
BaseJsonOutputAdapter
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-WUOYMIIY.js";
|
|
6
6
|
import {
|
|
7
7
|
observeHeadlessJsonToolResultWire
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-QEOLKEN7.js";
|
|
9
9
|
import {
|
|
10
10
|
init_esbuild_shims
|
|
11
11
|
} from "./chunk-5O2XNYP6.js";
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
estimateContextTextTokens,
|
|
9
9
|
formatContextFileDisplayPath,
|
|
10
10
|
getMainSessionBaseSystemPrompt
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-J6QWYIXU.js";
|
|
12
12
|
import {
|
|
13
13
|
isMediaPolicyToolHiddenFromModel
|
|
14
14
|
} from "./chunk-MNU36NGH.js";
|
|
@@ -18,13 +18,13 @@ import {
|
|
|
18
18
|
import {
|
|
19
19
|
DiscoveredMCPTool,
|
|
20
20
|
uiTelemetryService
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-3UOPPEN5.js";
|
|
22
22
|
import {
|
|
23
23
|
ToolNames
|
|
24
24
|
} from "./chunk-DSJQYGJZ.js";
|
|
25
25
|
import {
|
|
26
26
|
DEFAULT_TOKEN_LIMIT
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-CBJBLKDH.js";
|
|
28
28
|
import {
|
|
29
29
|
init_esbuild_shims
|
|
30
30
|
} from "./chunk-5O2XNYP6.js";
|
|
@@ -509,6 +509,18 @@ var McpAuthenticationInProgressError = class extends Error {
|
|
|
509
509
|
this.name = "McpAuthenticationInProgressError";
|
|
510
510
|
}
|
|
511
511
|
};
|
|
512
|
+
var WorkspaceRuntimeStopError = class extends Error {
|
|
513
|
+
constructor(code) {
|
|
514
|
+
super(
|
|
515
|
+
code === "workspace_runtime_stop_stale" ? "The workspace changed. Refresh and confirm the affected sessions again." : "The workspace cannot be stopped while other runtime work is pending."
|
|
516
|
+
);
|
|
517
|
+
this.code = code;
|
|
518
|
+
this.name = "WorkspaceRuntimeStopError";
|
|
519
|
+
}
|
|
520
|
+
static {
|
|
521
|
+
__name(this, "WorkspaceRuntimeStopError");
|
|
522
|
+
}
|
|
523
|
+
};
|
|
512
524
|
|
|
513
525
|
export {
|
|
514
526
|
NOT_CURRENTLY_GENERATING_CANCEL_MESSAGE,
|
|
@@ -548,7 +560,8 @@ export {
|
|
|
548
560
|
BranchWhilePromptActiveError,
|
|
549
561
|
CdWhilePromptActiveError,
|
|
550
562
|
SessionResetPendingError,
|
|
551
|
-
McpAuthenticationInProgressError
|
|
563
|
+
McpAuthenticationInProgressError,
|
|
564
|
+
WorkspaceRuntimeStopError
|
|
552
565
|
};
|
|
553
566
|
/**
|
|
554
567
|
* @license
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
import {
|
|
4
4
|
JsonFormatter
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-E3BHICIC.js";
|
|
6
6
|
import {
|
|
7
7
|
parseAndFormatApiError
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-J6QWYIXU.js";
|
|
9
9
|
import {
|
|
10
10
|
stripAnsiAndControl
|
|
11
11
|
} from "./chunk-PJQVFPOF.js";
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
} from "./chunk-S34QJ6IR.js";
|
|
20
20
|
import {
|
|
21
21
|
runExitCleanup
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-SR22PJAJ.js";
|
|
23
23
|
import {
|
|
24
24
|
writeStderrLine
|
|
25
25
|
} from "./chunk-7FA2II6K.js";
|
|
@@ -5,11 +5,11 @@ import {
|
|
|
5
5
|
} from "./chunk-Y3Q5OK4D.js";
|
|
6
6
|
import {
|
|
7
7
|
getWritableScopes
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-KPRD727P.js";
|
|
9
9
|
import {
|
|
10
10
|
isImageGenerationCapable,
|
|
11
11
|
tryResolveModelProtocol
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-FUZESLZQ.js";
|
|
13
13
|
import {
|
|
14
14
|
init_esbuild_shims
|
|
15
15
|
} from "./chunk-5O2XNYP6.js";
|