@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.
Files changed (279) hide show
  1. package/chunks/{MaxSizedBox-SUYPYRBN.js → MaxSizedBox-VP25QGME.js} +18 -18
  2. package/chunks/{StandaloneSessionPicker-BCKO4L6S.js → StandaloneSessionPicker-AXIM3BD3.js} +32 -32
  3. package/chunks/{acp-subagent-executor-5LXVJNPU.js → acp-subagent-executor-6R2L4TW4.js} +23 -23
  4. package/chunks/{acpAgent-Z7ZNFWDZ.js → acpAgent-ANIVCBU3.js} +68 -155
  5. package/chunks/{agent-6SYYNHSZ.js → agent-WINHBR34.js} +9 -9
  6. package/chunks/{agent-headless-Q2YFS6PA.js → agent-headless-A5K4MW5N.js} +9 -9
  7. package/chunks/{anthropicContentGenerator-AJCHMLEF.js → anthropicContentGenerator-32MSDQUP.js} +3 -3
  8. package/chunks/{askUserQuestion-RYGNEYFC.js → askUserQuestion-C2GAWACN.js} +1 -1
  9. package/chunks/{bridge-ZRMHGUUN.js → bridge-HPCI3VIX.js} +22 -22
  10. package/chunks/{channel-settings-store-RRFC7WBW.js → channel-settings-store-THO2BU2E.js} +23 -23
  11. package/chunks/{channel-worker-group-JQVH6YXZ.js → channel-worker-group-OXNNU6H7.js} +2 -2
  12. package/chunks/{channel-worker-manager-6GRAAS5P.js → channel-worker-manager-WVBU5ABS.js} +2 -2
  13. package/chunks/{chunk-EJKIUYN6.js → chunk-2UK4NN6N.js} +3 -3
  14. package/chunks/{chunk-OW5IVLET.js → chunk-2WYISDSZ.js} +12 -12
  15. package/chunks/{chunk-2EDB3IUV.js → chunk-3JHSUEQN.js} +30 -30
  16. package/chunks/{chunk-GPSDZNPN.js → chunk-3MYXEXVX.js} +1 -1
  17. package/chunks/{chunk-QNSERHKY.js → chunk-3T7YUINK.js} +1 -1
  18. package/chunks/{chunk-KQW7W6WZ.js → chunk-3UOPPEN5.js} +1 -1
  19. package/chunks/{chunk-JMBSWY6V.js → chunk-3XH7WS7C.js} +1 -1
  20. package/chunks/{chunk-XDRKURPF.js → chunk-44LWSWTY.js} +4 -4
  21. package/chunks/{chunk-ITY5NM7C.js → chunk-4HIQNJMZ.js} +2 -2
  22. package/chunks/{chunk-7LG2FNVG.js → chunk-4VLVXV4E.js} +3 -3
  23. package/chunks/{chunk-H36V5QMB.js → chunk-5JDABAZR.js} +41 -16
  24. package/chunks/{chunk-XGU276ID.js → chunk-5S2PLWHB.js} +3 -3
  25. package/chunks/{chunk-4KJK3FGR.js → chunk-647NOM2H.js} +1 -1
  26. package/chunks/{chunk-PUWHPTYG.js → chunk-6SFODSTA.js} +5 -5
  27. package/chunks/{chunk-75TGCLYE.js → chunk-7MJKFPGJ.js} +1 -1
  28. package/chunks/{chunk-YUFDLWK7.js → chunk-7OQL6UOC.js} +1 -1
  29. package/chunks/{chunk-UVINHQWX.js → chunk-7UWZX65L.js} +5 -5
  30. package/chunks/{chunk-AYE2T7RX.js → chunk-A4IJR5S6.js} +210 -21
  31. package/chunks/{chunk-L7TJUPNR.js → chunk-A4MRRFBI.js} +5 -0
  32. package/chunks/{chunk-BINMG6CG.js → chunk-ADQSGJV5.js} +2 -2
  33. package/chunks/{chunk-DHQZXQ4K.js → chunk-ADXJQFDY.js} +10 -10
  34. package/chunks/{chunk-GIHJK4FJ.js → chunk-B3VUYOPR.js} +1 -1
  35. package/chunks/{chunk-4BSQW4CG.js → chunk-B5GKOUHJ.js} +10 -10
  36. package/chunks/{chunk-YVLRK2WW.js → chunk-C4B5ZCE5.js} +3 -3
  37. package/chunks/{chunk-UQ4WDEGV.js → chunk-CBJBLKDH.js} +6 -6
  38. package/chunks/{chunk-DAIWLFBL.js → chunk-CGDPJBVR.js} +1 -1
  39. package/chunks/{chunk-75GB4FOU.js → chunk-CT6GGM4O.js} +3 -3
  40. package/chunks/{chunk-CYRXE53T.js → chunk-DARAVO2F.js} +3 -3
  41. package/chunks/{chunk-QTGYWDIB.js → chunk-DHM2SAA3.js} +6 -6
  42. package/chunks/{chunk-ZUTZ3PSU.js → chunk-DIJ4SN6P.js} +2 -2
  43. package/chunks/{chunk-R7MRLQZT.js → chunk-DOG4JYVA.js} +1 -1
  44. package/chunks/{chunk-CQKBWZ5E.js → chunk-E3BHICIC.js} +24 -44
  45. package/chunks/{chunk-KT7ZUSTE.js → chunk-EE5L2LJI.js} +1 -1
  46. package/chunks/{chunk-NO4M2IFY.js → chunk-ET3ETUJS.js} +11 -11
  47. package/chunks/{chunk-DDFUMJDY.js → chunk-FHL2YO3J.js} +3 -3
  48. package/chunks/{chunk-KWALNYOO.js → chunk-FIC4SULR.js} +1 -1
  49. package/chunks/{chunk-EUEDQORS.js → chunk-FUZESLZQ.js} +1 -1
  50. package/chunks/{chunk-7MUWTUOX.js → chunk-FVLDT6YJ.js} +12 -12
  51. package/chunks/{chunk-3YIPZRXZ.js → chunk-GJV3UMRE.js} +1 -1
  52. package/chunks/{chunk-MMRGG6R4.js → chunk-H32AKV4B.js} +1 -1
  53. package/chunks/{chunk-PJBHT5HP.js → chunk-HAYKZNOJ.js} +40 -40
  54. package/chunks/{chunk-3WTPIIX3.js → chunk-HISXBKXU.js} +2 -2
  55. package/chunks/{chunk-KLL4GCCM.js → chunk-HVXNAVUO.js} +9 -3
  56. package/chunks/{chunk-VFPYR2QH.js → chunk-ICWTEQBN.js} +7 -2
  57. package/chunks/{chunk-RPGUFXRL.js → chunk-IDJYUSKS.js} +1 -1
  58. package/chunks/{chunk-SASDWMJO.js → chunk-IDT4P6XO.js} +22 -22
  59. package/chunks/{chunk-6GEPBMZ2.js → chunk-IHTXJ34C.js} +3 -3
  60. package/chunks/{chunk-7S2BGPWN.js → chunk-J6QWYIXU.js} +222 -96
  61. package/chunks/{chunk-FIGVLM7P.js → chunk-JDS6RRHY.js} +37 -2
  62. package/chunks/{chunk-B77LIFIP.js → chunk-JL7NMSOU.js} +0 -14
  63. package/chunks/{chunk-WD54GZTM.js → chunk-JNCTEVLS.js} +1 -1
  64. package/chunks/{chunk-YQS35MQS.js → chunk-JSKHW2K5.js} +5 -5
  65. package/chunks/{chunk-JYY3FCLA.js → chunk-JXSZU3MK.js} +3 -3
  66. package/chunks/{chunk-ABWRIA3H.js → chunk-KGPIAV25.js} +1 -1
  67. package/chunks/{chunk-I4EFTUMC.js → chunk-KNTOORZV.js} +76 -8
  68. package/chunks/{chunk-6GNUSS3I.js → chunk-KPRD727P.js} +4 -4
  69. package/chunks/{chunk-RFO537EW.js → chunk-KZADFPIV.js} +1 -1
  70. package/chunks/{chunk-FCN22GWX.js → chunk-MJFPRGEQ.js} +5 -5
  71. package/chunks/{chunk-ZPLLLCRC.js → chunk-MQD3FY7L.js} +1 -1
  72. package/chunks/{chunk-R5F4XPOL.js → chunk-MUREOC7V.js} +3 -3
  73. package/chunks/{chunk-XO32NLJ5.js → chunk-MZJANQV6.js} +4 -4
  74. package/chunks/{chunk-RQHXUQ5M.js → chunk-NCAZON2B.js} +7 -7
  75. package/chunks/{chunk-BKODW5LP.js → chunk-NIXL6GCQ.js} +1 -1
  76. package/chunks/{chunk-Z7ECDVYK.js → chunk-NM2N7ZFI.js} +1 -1
  77. package/chunks/{chunk-OS2B6VJ3.js → chunk-O62LF7MT.js} +2 -2
  78. package/chunks/{chunk-YVXI3U3W.js → chunk-ORC4JFM2.js} +3 -3
  79. package/chunks/{chunk-YXHY6BKS.js → chunk-OY4DP3XV.js} +14 -1
  80. package/chunks/{chunk-7M3FEMY6.js → chunk-P6FFA7BC.js} +3 -3
  81. package/chunks/{chunk-YFARICYJ.js → chunk-PESOPZ2F.js} +1 -1
  82. package/chunks/{chunk-MJPA5NKS.js → chunk-QBCQIJ5K.js} +2 -2
  83. package/chunks/{chunk-IVE5Z4RU.js → chunk-QEOLKEN7.js} +19 -27
  84. package/chunks/{chunk-BB27YK6O.js → chunk-QXYC7SNQ.js} +1 -1
  85. package/chunks/{chunk-YM7MHAIC.js → chunk-QZECTXG4.js} +1 -1
  86. package/chunks/{chunk-7WGWBWL7.js → chunk-RUWHZMXW.js} +1 -1
  87. package/chunks/{chunk-S4XNJ5FH.js → chunk-S4XLNZOV.js} +2 -2
  88. package/chunks/{chunk-OL2AT23B.js → chunk-S6JKXUFG.js} +3 -3
  89. package/chunks/{chunk-5ULLRZQ5.js → chunk-S7Z7UUYJ.js} +2 -2
  90. package/chunks/{chunk-YKMY5UTC.js → chunk-SMWV3EVV.js} +2 -2
  91. package/chunks/{chunk-F3XBI3C5.js → chunk-SR22PJAJ.js} +1 -1
  92. package/chunks/{chunk-N7FGOVMP.js → chunk-SWT6XVJE.js} +2 -2
  93. package/chunks/{chunk-RRUAHBYV.js → chunk-SZ4UJWEJ.js} +3 -3
  94. package/chunks/{chunk-PJELH5NF.js → chunk-TG246JMY.js} +4 -4
  95. package/chunks/{chunk-GI4KLI5I.js → chunk-TUKPBUHT.js} +1 -1
  96. package/chunks/{chunk-PHNKFEX3.js → chunk-U6SF7GWW.js} +2 -2
  97. package/chunks/{chunk-OZ5Z45DG.js → chunk-UE5VCGKO.js} +1 -1
  98. package/chunks/{chunk-SENYKRII.js → chunk-UM4V7562.js} +1 -1
  99. package/chunks/{chunk-PBCCDC5C.js → chunk-UO447HYN.js} +3 -3
  100. package/chunks/{chunk-O7LUZE4E.js → chunk-UX6ROE5I.js} +1 -1
  101. package/chunks/{chunk-MW4O5XZQ.js → chunk-VMTAPCG3.js} +1 -1
  102. package/chunks/{chunk-63TM3IYQ.js → chunk-VPE6VNNU.js} +1 -1
  103. package/chunks/{chunk-2EUGBE47.js → chunk-WTMM54T4.js} +4 -4
  104. package/chunks/{chunk-4E6SGS3A.js → chunk-WUOYMIIY.js} +4 -4
  105. package/chunks/{chunk-FRDYCOU2.js → chunk-XEUHI5QA.js} +2 -2
  106. package/chunks/{chunk-OCOPMZMJ.js → chunk-Y5IALOXP.js} +3 -3
  107. package/chunks/{chunk-DVP56LAM.js → chunk-YJHAAGEJ.js} +7 -7
  108. package/chunks/{chunk-7W72PCKP.js → chunk-Z5MSVVHR.js} +5 -5
  109. package/chunks/{chunk-AWS3EGSN.js → chunk-ZCBBV4LJ.js} +1 -1
  110. package/chunks/{chunk-KJMYVDYW.js → chunk-ZHBCAABR.js} +3 -3
  111. package/chunks/{codex-subagent-executor-UN4TVQLG.js → codex-subagent-executor-ZWGUSD5U.js} +23 -23
  112. package/chunks/{config-utils-DWN5B6HN.js → config-utils-XLPSLGT7.js} +18 -18
  113. package/chunks/{contextCommand-25BGZY4S.js → contextCommand-KE2557UZ.js} +20 -20
  114. package/chunks/{core-runtime-E7GY7FQL.js → core-runtime-7YAFJG7V.js} +18 -18
  115. package/chunks/{create-sub-session-BAIKTJZ4.js → create-sub-session-LTVMBDOG.js} +20 -20
  116. package/chunks/{daemon-E4MVZ7AP.js → daemon-LKIZ3HNV.js} +1 -1
  117. package/chunks/{daemon-git-worktree-guard-ZTAV4HQB.js → daemon-git-worktree-guard-EN4SNZZC.js} +18 -18
  118. package/chunks/{daemon-status-provider-VLRPWZZH.js → daemon-status-provider-R3OHAHXV.js} +27 -27
  119. package/chunks/{daemon-trust-policy-OTUBDFHQ.js → daemon-trust-policy-DJNNV3HE.js} +23 -23
  120. package/chunks/{daemon-trust-policy-monitor-W52NWLO5.js → daemon-trust-policy-monitor-2ZSYXRY3.js} +23 -23
  121. package/chunks/{deferred-core-runtime-P4EIIL7M.js → deferred-core-runtime-B7BBNY7B.js} +18 -18
  122. package/chunks/{edit-FJFHUIY4.js → edit-XY623A63.js} +10 -10
  123. package/chunks/{enterPlanMode-WGDUBIGO.js → enterPlanMode-VGKHLQVD.js} +9 -9
  124. package/chunks/{environment-DNHGPK7Q.js → environment-RGWXBPFA.js} +20 -20
  125. package/chunks/{errors-3FKGIKNN.js → errors-XLKJ7JAN.js} +20 -20
  126. package/chunks/{execution-tool-GSOYRE7M.js → execution-tool-LGCWZ5JC.js} +10 -10
  127. package/chunks/{execution-worker-TWQ2YF42.js → execution-worker-3AA3OGWV.js} +13 -13
  128. package/chunks/{exitPlanMode-3GA5VWWB.js → exitPlanMode-AGRSXL5M.js} +9 -9
  129. package/chunks/{fast-path-XF5YGYNO.js → fast-path-FS4CO72C.js} +2 -2
  130. package/chunks/{glob-M2TXMH5Q.js → glob-KMXCAZRN.js} +9 -9
  131. package/chunks/{goal-tools-D523PJR5.js → goal-tools-52S6IYSS.js} +9 -9
  132. package/chunks/{handleAutoUpdate-RRYCWRZ2.js → handleAutoUpdate-6EGQYSNX.js} +21 -21
  133. package/chunks/{i18n-TUYCRMFW.js → i18n-BVX7GWVL.js} +18 -18
  134. package/chunks/{initializer-6BJ7YAF5.js → initializer-YMBTVCPZ.js} +23 -23
  135. package/chunks/{installationInfo-KD366W45.js → installationInfo-YUODJVWE.js} +18 -18
  136. package/chunks/{list-L7MZF2AZ.js → list-4Y32CIK4.js} +26 -26
  137. package/chunks/{llm-HDLU6CTT.js → llm-DBL6E66T.js} +52 -52
  138. package/chunks/{llm-content-generator-MYYFDSFV.js → llm-content-generator-IXWLZ4HX.js} +3 -3
  139. package/chunks/{loadedSettingsAdapter-H6GUNXJ2.js → loadedSettingsAdapter-5JNMUP3T.js} +23 -23
  140. package/chunks/{local-execution-environment-JLIO4YKC.js → local-execution-environment-JIXYT7RU.js} +13 -13
  141. package/chunks/{loggingContentGenerator-5AUS3FRD.js → loggingContentGenerator-ORTEE7AH.js} +10 -10
  142. package/chunks/{managed-npm-update-SXZ2U3AX.js → managed-npm-update-RRIST4P4.js} +18 -18
  143. package/chunks/{mcp-6CD76FID.js → mcp-3WQIHJPV.js} +23 -23
  144. package/chunks/{model-call-collection-TON6MSCF.js → model-call-collection-NNN4RJL2.js} +1 -1
  145. package/chunks/{model-configuration-4Z25DEWC.js → model-configuration-LOEF5WVW.js} +23 -23
  146. package/chunks/{modelConfigUtils-RLZ47FPZ.js → modelConfigUtils-UDCM5BQO.js} +19 -19
  147. package/chunks/{monitor-VXQ7KYEJ.js → monitor-AMX4GGO4.js} +9 -9
  148. package/chunks/{nonInteractiveCli-ZXWKMKWC.js → nonInteractiveCli-HODI6ON6.js} +49 -49
  149. package/chunks/{nonInteractiveToolExecutor-KBUF3BTR.js → nonInteractiveToolExecutor-IZ3L3ZUR.js} +10 -10
  150. package/chunks/{notebook-edit-QH7FXG4T.js → notebook-edit-VZ3HDVGJ.js} +10 -10
  151. package/chunks/{omni-32DW7DAU.js → omni-J44KEAF2.js} +7 -7
  152. package/chunks/{openaiContentGenerator-53HJMYFV.js → openaiContentGenerator-WNTCGOOP.js} +6 -6
  153. package/chunks/{openaiResponsesContentGenerator-2SLR5YSO.js → openaiResponsesContentGenerator-EXCS4CPS.js} +2 -2
  154. package/chunks/{pidfile-HFMNLERX.js → pidfile-MO4VIRCZ.js} +18 -18
  155. package/chunks/{process-registry-7LAPI3ZB.js → process-registry-MDKO6QY2.js} +1 -1
  156. package/chunks/{processUtils-G4YV5PUL.js → processUtils-PTWIWCBV.js} +2 -2
  157. package/chunks/{prompt-terminal-ledger-7SM2SBVV.js → prompt-terminal-ledger-OJQFCVY7.js} +19 -19
  158. package/chunks/{qwenContentGenerator-JYZK4UZJ.js → qwenContentGenerator-CEHDHYS7.js} +11 -11
  159. package/chunks/{reactive-degrade-SJQJUSWE.js → reactive-degrade-N2GKSQDU.js} +6 -6
  160. package/chunks/{read-file-FSGLCFTS.js → read-file-MGTENCNH.js} +2 -2
  161. package/chunks/{resumeHistoryUtils-VSPCHBW6.js → resumeHistoryUtils-D7HKDUH5.js} +20 -20
  162. package/chunks/{ripGrep-YVM3DMMW.js → ripGrep-GY3USA7L.js} +3 -3
  163. package/chunks/{run-qwen-serve-ZQJ3SE3I.js → run-qwen-serve-BYDSQGXR.js} +49 -49
  164. package/chunks/{runtime-GW2XGK5X.js → runtime-2VYDGP5Q.js} +24 -24
  165. package/chunks/{sandbox-5RKHRAFD.js → sandbox-DEDZKXWQ.js} +25 -25
  166. package/chunks/{sandboxConfig-F6ZRJB5C.js → sandboxConfig-KKO5NHYT.js} +18 -18
  167. package/chunks/{scheduled-tasks-YOGLJMWV.js → scheduled-tasks-SBK77VA3.js} +26 -26
  168. package/chunks/{scheduler-JCT6ARET.js → scheduler-WFLBJDYN.js} +20 -20
  169. package/chunks/{serve-ATWHQIZC.js → serve-Z25BL7HQ.js} +23 -23
  170. package/chunks/{server-BL7NBKQO.js → server-PN5WV25I.js} +372 -90
  171. package/chunks/{session-SKCALDL6.js → session-OCQ6TJAW.js} +50 -50
  172. package/chunks/{session-attachments-root-I2DLMEGC.js → session-attachments-root-KQDWFXMV.js} +18 -18
  173. package/chunks/{session-pr-refresh-J5O3ECBZ.js → session-pr-refresh-TPCBGPHC.js} +24 -24
  174. package/chunks/{settings-4APYRYEP.js → settings-7B5BGXUM.js} +22 -22
  175. package/chunks/{shell-BRLSIRIJ.js → shell-OHI4FUG7.js} +9 -9
  176. package/chunks/{skill-ANJV3QCO.js → skill-3VAIVEQN.js} +3 -3
  177. package/chunks/{skill-settings-5OEAPNUN.js → skill-settings-V3CDB6OM.js} +23 -23
  178. package/chunks/{spawnChannel-L22VQQG6.js → spawnChannel-I3W24E2N.js} +21 -21
  179. package/chunks/{standalone-update-JCDSJXRD.js → standalone-update-25IAVDS4.js} +19 -19
  180. package/chunks/{start-opentui-ui-UZZMEAMN.js → start-opentui-ui-54TLE52K.js} +57 -57
  181. package/chunks/{startInteractiveUI-76WHKIMU.js → startInteractiveUI-6O4AE46W.js} +60 -60
  182. package/chunks/{team-create-KWEJO6TE.js → team-create-ED6VAG37.js} +9 -9
  183. package/chunks/{team-plan-approval-VXHTSKHR.js → team-plan-approval-LDAEETXQ.js} +9 -9
  184. package/chunks/{terminal-image-renderer-TOK5UHDG.js → terminal-image-renderer-WQW44MKO.js} +18 -18
  185. package/chunks/{theme-manager-ZV4RR26I.js → theme-manager-5COG22M3.js} +18 -18
  186. package/chunks/{tool-result-media-GQOZVVL2.js → tool-result-media-LWY3EMBX.js} +7 -7
  187. package/chunks/{tool-search-ZF4TSSBS.js → tool-search-5RPYPGFG.js} +2 -2
  188. package/chunks/{total-session-admission-TU776YQY.js → total-session-admission-VK6OEGTQ.js} +23 -23
  189. package/chunks/{trustedFolders-SBXCVRQG.js → trustedFolders-AXSP2EBB.js} +19 -19
  190. package/chunks/{update-relaunch-QQBSIE5C.js → update-relaunch-XO6DITTA.js} +5 -5
  191. package/chunks/{updateCheck-L5W4XUFI.js → updateCheck-XXUEDPUG.js} +18 -18
  192. package/chunks/{upload-config-JNZAPCF6.js → upload-config-PE3LJBUR.js} +4 -4
  193. package/chunks/{useAutoAcceptIndicator-5JQS2R2M.js → useAutoAcceptIndicator-ZHUEUC5M.js} +25 -25
  194. package/chunks/{validateNonInterActiveAuth-QQGBHCWE.js → validateNonInterActiveAuth-QLGYQ3U6.js} +47 -47
  195. package/chunks/{version-5MCFLBNP.js → version-6WI5GKX6.js} +1 -1
  196. package/chunks/{web-fetch-6IQOTXM2.js → web-fetch-WVJPQMBM.js} +2 -2
  197. package/chunks/{web-search-TY4ODCXK.js → web-search-MLYZQUGL.js} +4 -4
  198. package/chunks/{web-shell-static-7D6SWOB2.js → web-shell-static-Y7Q6BKAX.js} +3 -3
  199. package/chunks/{workflow-ZLOBJFVU.js → workflow-AQ74SHPL.js} +10 -10
  200. package/chunks/{workspace-providers-status-DO45VCTP.js → workspace-providers-status-XJEFMVE4.js} +28 -28
  201. package/chunks/{workspace-registration-store-BTQLDHIJ.js → workspace-registration-store-ZQT3LZZS.js} +1 -1
  202. package/chunks/{workspace-registry-U5TYWDJX.js → workspace-registry-TVK2R2Z2.js} +23 -23
  203. package/chunks/{workspace-runtime-coordinator-PSL3IYT5.js → workspace-runtime-coordinator-GC5P3UDU.js} +23 -23
  204. package/chunks/{workspace-service-HCPAODRG.js → workspace-service-65RQN5D7.js} +26 -26
  205. package/chunks/{workspace-skills-status-KD2JXJUU.js → workspace-skills-status-JKWIQAI2.js} +26 -26
  206. package/chunks/{workspace-trust-reconciler-WAIHZHDY.js → workspace-trust-reconciler-BQ6QIZNQ.js} +28 -28
  207. package/chunks/{write-file-Z35R7HTD.js → write-file-BJ5NTPQB.js} +10 -10
  208. package/chunks/{zoom-image-MRU6WPE6.js → zoom-image-7INIHGVL.js} +2 -2
  209. package/cli.js +12 -12
  210. package/execution-worker.js +1 -1
  211. package/export-transcript-document.css +1 -1
  212. package/export-transcript-document.js +2 -2
  213. package/package.json +3 -3
  214. package/web-shell/assets/{abnfDiagram-VCTEODGH-DM0yb8lz.js → abnfDiagram-VCTEODGH-BkQBgBMY.js} +1 -1
  215. package/web-shell/assets/{arc-Cw2773LR.js → arc-Br3zpBwP.js} +1 -1
  216. package/web-shell/assets/{architectureDiagram-5GKGNRK7-D4uzC2Js.js → architectureDiagram-5GKGNRK7-hfIGqSc7.js} +1 -1
  217. package/web-shell/assets/{blockDiagram-NRAW4CY4-D4itI8GP.js → blockDiagram-NRAW4CY4-BLvXFxuL.js} +1 -1
  218. package/web-shell/assets/{c4Diagram-UCG6FXSJ-DyJzA_Bk.js → c4Diagram-UCG6FXSJ-B0ySRqbF.js} +1 -1
  219. package/web-shell/assets/channel-B2iKEcGd.js +1 -0
  220. package/web-shell/assets/{chunk-2Q5K7J3B-CldzFLZi.js → chunk-2Q5K7J3B-Cir7zOVC.js} +1 -1
  221. package/web-shell/assets/{chunk-5VM5RSS4-Cq0Kj0gV.js → chunk-5VM5RSS4-CDD4SztQ.js} +1 -1
  222. package/web-shell/assets/{chunk-F27PBJKO-DZ7ToIX3.js → chunk-F27PBJKO-asK4yFXN.js} +1 -1
  223. package/web-shell/assets/{chunk-G27WJ6UU-DVdybDaB.js → chunk-G27WJ6UU-Duv3kKeG.js} +1 -1
  224. package/web-shell/assets/{chunk-JWPE2WC7-DJJV9ycO.js → chunk-JWPE2WC7-CxLgEAVC.js} +1 -1
  225. package/web-shell/assets/{chunk-LCL6LL3I-UvX8t_CL.js → chunk-LCL6LL3I-C272Eh40.js} +1 -1
  226. package/web-shell/assets/{chunk-POPQ4Y6H-BtIY5nH0.js → chunk-POPQ4Y6H-BEa9L8Rf.js} +1 -1
  227. package/web-shell/assets/{chunk-SVP7TREG-D2s5PV-v.js → chunk-SVP7TREG-Du7ekG8H.js} +1 -1
  228. package/web-shell/assets/{chunk-XXDRQBXY-BrmMihIw.js → chunk-XXDRQBXY-D1NXTUyy.js} +1 -1
  229. package/web-shell/assets/classDiagram-DTDB5LWJ-mSbS1rbo.js +1 -0
  230. package/web-shell/assets/classDiagram-v2-JRS7N3AN-mSbS1rbo.js +1 -0
  231. package/web-shell/assets/{cose-bilkent-JH36ORCC-CIZPu3iQ.js → cose-bilkent-JH36ORCC-DfpxBocn.js} +1 -1
  232. package/web-shell/assets/{cynefin-OW5HDTMX-B5CmaWVW.js → cynefin-OW5HDTMX-DaA3nwgS.js} +1 -1
  233. package/web-shell/assets/{cynefinDiagram-5FMLGOSQ-CTmnEsXe.js → cynefinDiagram-5FMLGOSQ-aTwGPwXr.js} +1 -1
  234. package/web-shell/assets/{dagre-3AP2YEHR-CRoxYPJt.js → dagre-3AP2YEHR-BPQureZ2.js} +1 -1
  235. package/web-shell/assets/{diagram-S7CK7UJ4-DuCtZhZh.js → diagram-S7CK7UJ4-B9l9YMYC.js} +1 -1
  236. package/web-shell/assets/{diagram-UQ7AKVKN-D1boncaV.js → diagram-UQ7AKVKN-BINF0OVO.js} +1 -1
  237. package/web-shell/assets/{diagram-VSXAHHWV-MCS6BnZC.js → diagram-VSXAHHWV-CiZZUkn4.js} +1 -1
  238. package/web-shell/assets/{diagram-VX7I27RA-D0jCmhgd.js → diagram-VX7I27RA-DSryZ82r.js} +1 -1
  239. package/web-shell/assets/{diagram-Z3DM3KII-BbyNb0kV.js → diagram-Z3DM3KII-DVVmSiV6.js} +1 -1
  240. package/web-shell/assets/{ebnfDiagram-PWID7BFC-CuuKfOpk.js → ebnfDiagram-PWID7BFC-DlyDLz4E.js} +1 -1
  241. package/web-shell/assets/{erDiagram-SSCWMZ5O-COET38hE.js → erDiagram-SSCWMZ5O-CKzUW1DF.js} +1 -1
  242. package/web-shell/assets/{flowDiagram-A5DVABFB-IkjK_VjX.js → flowDiagram-A5DVABFB-BJbhb4Ms.js} +1 -1
  243. package/web-shell/assets/{ganttDiagram-EL5Y4UJY-DpQN5T1N.js → ganttDiagram-EL5Y4UJY-C3MvAYYH.js} +1 -1
  244. package/web-shell/assets/{gitGraphDiagram-WWUBYQGX-D-3mZZJY.js → gitGraphDiagram-WWUBYQGX-WAlEYhpV.js} +1 -1
  245. package/web-shell/assets/{index-C6ChX65S.js → index-B-m7jwUn.js} +487 -475
  246. package/web-shell/assets/index-C6EbTEEX.css +36 -0
  247. package/web-shell/assets/{index-CbEDnx9Y.js → index-D-0jw_Mv.js} +1 -1
  248. package/web-shell/assets/{infoDiagram-RXCK75RN-BZr1NPqN.js → infoDiagram-RXCK75RN-lCSiGsnv.js} +1 -1
  249. package/web-shell/assets/{ishikawaDiagram-5VMMS53U-BVOIXK6O.js → ishikawaDiagram-5VMMS53U-DO2Phifr.js} +1 -1
  250. package/web-shell/assets/{journeyDiagram-EYS64GPL-CSSCt0VS.js → journeyDiagram-EYS64GPL-CMopttgZ.js} +1 -1
  251. package/web-shell/assets/{kanban-definition-3QL26DDD-D8184eaV.js → kanban-definition-3QL26DDD-C9fCgZW7.js} +1 -1
  252. package/web-shell/assets/{layout-D6Y-BU4T.js → layout-jwnqp6Nz.js} +1 -1
  253. package/web-shell/assets/{linear-BqHctGnD.js → linear-BzQI00gV.js} +1 -1
  254. package/web-shell/assets/{mermaid.core-RZhKRR9u.js → mermaid.core-D8V71OO3.js} +6 -6
  255. package/web-shell/assets/{mindmap-definition-FBJOCRG2-BYy6nzI2.js → mindmap-definition-FBJOCRG2-BLUH8tli.js} +1 -1
  256. package/web-shell/assets/{pegDiagram-XKGWAZYB-BCXU9jS6.js → pegDiagram-XKGWAZYB-BO0qnSfj.js} +1 -1
  257. package/web-shell/assets/{pieDiagram-E7YTZNPT-C7x0HkCZ.js → pieDiagram-E7YTZNPT-e4Cjh-6j.js} +1 -1
  258. package/web-shell/assets/{quadrantDiagram-AXDQQJYC-CTt2Pns5.js → quadrantDiagram-AXDQQJYC-BwTHa_JF.js} +1 -1
  259. package/web-shell/assets/{railroadDiagram-O6MQD6OU-BnfVnVX1.js → railroadDiagram-O6MQD6OU-B-KW5-Sx.js} +1 -1
  260. package/web-shell/assets/{requirementDiagram-EFPCY7ZU-CrvMFYqe.js → requirementDiagram-EFPCY7ZU-D54hNSnQ.js} +1 -1
  261. package/web-shell/assets/{sankeyDiagram-P5KCCOFB-DryWc6Dy.js → sankeyDiagram-P5KCCOFB-CBBp5lR9.js} +1 -1
  262. package/web-shell/assets/{sequenceDiagram-WJ2MYXX4-Bi6HpYxU.js → sequenceDiagram-WJ2MYXX4-OqoAVsuX.js} +1 -1
  263. package/web-shell/assets/{sizeCapture-X5ZJPWSS-BvMmSrhI.js → sizeCapture-X5ZJPWSS-D8TpQJlP.js} +1 -1
  264. package/web-shell/assets/{stateDiagram-HBIQ2CUA-D1AsHfqC.js → stateDiagram-HBIQ2CUA-BU9Ei757.js} +1 -1
  265. package/web-shell/assets/stateDiagram-v2-4QOOHH4V-67Q7WT5I.js +1 -0
  266. package/web-shell/assets/{swimlanes-XN3QIQJK-DA1zkU-G.js → swimlanes-XN3QIQJK-BpN3knRL.js} +1 -1
  267. package/web-shell/assets/swimlanesDiagram-VK2B7HYN-Dh3LDQRv.js +8 -0
  268. package/web-shell/assets/{timeline-definition-24CTP7MA-EJFf20Qm.js → timeline-definition-24CTP7MA-B_Qj6PLG.js} +1 -1
  269. package/web-shell/assets/{vennDiagram-4TSXK5OY-BxC8R6yI.js → vennDiagram-4TSXK5OY-USf6WC_3.js} +1 -1
  270. package/web-shell/assets/{wardleyDiagram-VM6X3IG4-CBdJFwR_.js → wardleyDiagram-VM6X3IG4-DhXuNigR.js} +1 -1
  271. package/web-shell/assets/{xychartDiagram-S5SC5T6Z-CebGvlJK.js → xychartDiagram-S5SC5T6Z-64GH9bS_.js} +1 -1
  272. package/web-shell/index.html +2 -2
  273. package/web-shell/sw.js +1 -1
  274. package/web-shell/assets/channel-C-4jYruO.js +0 -1
  275. package/web-shell/assets/classDiagram-DTDB5LWJ-DmEJKKvg.js +0 -1
  276. package/web-shell/assets/classDiagram-v2-JRS7N3AN-DmEJKKvg.js +0 -1
  277. package/web-shell/assets/index-Cdqf5uSF.css +0 -36
  278. package/web-shell/assets/stateDiagram-v2-4QOOHH4V-DIDerJcb.js +0 -1
  279. package/web-shell/assets/swimlanesDiagram-VK2B7HYN-h2E4ETv7.js +0 -8
@@ -155,7 +155,7 @@ import {
155
155
  stringify,
156
156
  validateGoalProposalReason,
157
157
  validateSkillName
158
- } from "./chunk-ZPLLLCRC.js";
158
+ } from "./chunk-MQD3FY7L.js";
159
159
  import {
160
160
  canUseRipgrep
161
161
  } from "./chunk-KMPZCA4L.js";
@@ -265,7 +265,7 @@ import {
265
265
  } from "./chunk-6C3D7BKK.js";
266
266
  import {
267
267
  isOmniDeliveryActive
268
- } from "./chunk-YM7MHAIC.js";
268
+ } from "./chunk-QZECTXG4.js";
269
269
  import {
270
270
  MediaResourceRegistry,
271
271
  evaluateMediaPolicyToolCall,
@@ -286,7 +286,7 @@ import {
286
286
  resolveEffectiveOutputStyle,
287
287
  resolveInteractionMode,
288
288
  resolveMainSessionOutputStyle
289
- } from "./chunk-I4EFTUMC.js";
289
+ } from "./chunk-KNTOORZV.js";
290
290
  import {
291
291
  NO_EXEC_CONFIG,
292
292
  findGitRoot,
@@ -333,7 +333,7 @@ import {
333
333
  import {
334
334
  DashScopeOpenAICompatibleProvider,
335
335
  selectDashScopeThinkingKnob
336
- } from "./chunk-3WTPIIX3.js";
336
+ } from "./chunk-HISXBKXU.js";
337
337
  import {
338
338
  InvalidStreamError,
339
339
  getToolCallPreparations,
@@ -437,7 +437,7 @@ import {
437
437
  resolveReasoningForModel,
438
438
  stripRuntimeSnapshotPrefix,
439
439
  validateReasoningCapabilities
440
- } from "./chunk-EUEDQORS.js";
440
+ } from "./chunk-FUZESLZQ.js";
441
441
  import {
442
442
  openBrowserSecurely,
443
443
  shouldAttemptBrowserLaunch
@@ -563,7 +563,7 @@ import {
563
563
  updateMCPServerStatus,
564
564
  writeLine,
565
565
  writeLineSync
566
- } from "./chunk-KQW7W6WZ.js";
566
+ } from "./chunk-3UOPPEN5.js";
567
567
  import {
568
568
  getInvocationContext,
569
569
  runWithInvocationContext
@@ -667,7 +667,7 @@ import {
667
667
  resolveContentGeneratorConfigWithSources,
668
668
  setGeneratorReasoningEffort,
669
669
  tokenLimit
670
- } from "./chunk-UQ4WDEGV.js";
670
+ } from "./chunk-CBJBLKDH.js";
671
671
  import {
672
672
  DEFAULT_QWEN_MODEL
673
673
  } from "./chunk-XZA32HII.js";
@@ -34324,6 +34324,15 @@ function findRunningLegacyGoalCard(records) {
34324
34324
  return running;
34325
34325
  }
34326
34326
  __name(findRunningLegacyGoalCard, "findRunningLegacyGoalCard");
34327
+ var GOAL_CARD_KINDS = /* @__PURE__ */ new Set([
34328
+ "set",
34329
+ "achieved",
34330
+ "cleared",
34331
+ "failed",
34332
+ "aborted",
34333
+ "paused",
34334
+ "checking"
34335
+ ]);
34327
34336
  function isRunningKind(kind) {
34328
34337
  return kind === "set" || kind === "checking";
34329
34338
  }
@@ -34345,7 +34354,9 @@ function legacyGoalCards(record4) {
34345
34354
  if (raw["type"] !== "goal_status") continue;
34346
34355
  const kind = raw["kind"];
34347
34356
  const condition = raw["condition"];
34348
- if (typeof kind !== "string" || typeof condition !== "string") continue;
34357
+ if (typeof kind !== "string" || !GOAL_CARD_KINDS.has(kind) || typeof condition !== "string") {
34358
+ continue;
34359
+ }
34349
34360
  const iterations = finiteNumber(raw["iterations"]);
34350
34361
  const setAt = finiteNumber(raw["setAt"]);
34351
34362
  cards.push({
@@ -43925,7 +43936,7 @@ var LlmChat = class {
43925
43936
  const degradeAttempt = omniMediaDegradeAttempts++;
43926
43937
  let degradeOutcome;
43927
43938
  try {
43928
- const { degradeOmniMediaAfterServerReject } = await import("./reactive-degrade-SJQJUSWE.js");
43939
+ const { degradeOmniMediaAfterServerReject } = await import("./reactive-degrade-N2GKSQDU.js");
43929
43940
  degradeOutcome = await degradeOmniMediaAfterServerReject(
43930
43941
  self2.config,
43931
43942
  self2.history,
@@ -68217,7 +68228,7 @@ var CoreToolScheduler = class _CoreToolScheduler {
68217
68228
  const notices = [];
68218
68229
  let omniProcessed = responseParts;
68219
68230
  if (this.config.isOmniEnabled?.()) {
68220
- const { processToolResultOmniMedia } = await import("./tool-result-media-GQOZVVL2.js");
68231
+ const { processToolResultOmniMedia } = await import("./tool-result-media-LWY3EMBX.js");
68221
68232
  omniProcessed = await processToolResultOmniMedia(
68222
68233
  responseParts,
68223
68234
  this.config,
@@ -71254,7 +71265,7 @@ ${body}
71254
71265
  artifacts: toolResult.artifacts
71255
71266
  } : void 0;
71256
71267
  if (policyArtifacts && policyArtifacts.executionOrigin.kind !== "fixed_policy" && scheduledCall.tool.mediaPolicyDescriptor) {
71257
- const { collectModelPolicyCall } = await import("./model-call-collection-TON6MSCF.js");
71268
+ const { collectModelPolicyCall } = await import("./model-call-collection-NNN4RJL2.js");
71258
71269
  await collectModelPolicyCall({
71259
71270
  config: this.config,
71260
71271
  batch: policyArtifacts,
@@ -90234,7 +90245,8 @@ function getMainSessionBaseSystemPrompt(config3) {
90234
90245
  // section, and a session must not be reminded of one it lacks.
90235
90246
  resolveMainSessionOutputStyle(config3),
90236
90247
  config3.isTodoWriteEnabled(),
90237
- config3.getCodeModeOnly()
90248
+ config3.getCodeModeOnly(),
90249
+ { declaredTools: config3.getPromptToolSnapshot?.() }
90238
90250
  );
90239
90251
  }
90240
90252
  __name(getMainSessionBaseSystemPrompt, "getMainSessionBaseSystemPrompt");
@@ -91683,6 +91695,11 @@ var LlmClient = class _LlmClient {
91683
91695
  profiler.timeSync("deferred_tool_preload", () => {
91684
91696
  this.preloadDeferredToolsWithinBudget();
91685
91697
  });
91698
+ this.config.setPromptToolSnapshot?.(
91699
+ new Set(
91700
+ toolRegistry.getFunctionDeclarations().map((declaration) => declaration.name).filter((name) => Boolean(name))
91701
+ )
91702
+ );
91686
91703
  const deferredTools = profiler.timeSync("deferred_reminder_setup", () => {
91687
91704
  const resolved = this.resolveDeferredToolsForReminder(deferredSummary);
91688
91705
  this.rememberAnnouncedDeferredTools(resolved);
@@ -152188,6 +152205,49 @@ var ExtensionManager = class _ExtensionManager {
152188
152205
  }
152189
152206
  return snapshot;
152190
152207
  }
152208
+ /**
152209
+ * Loads the extension catalog — identity fields only (id, name, version,
152210
+ * install metadata, activation policy) — and returns it with the store's
152211
+ * snapshot. Skills, commands, agents, hooks, and context files are NOT
152212
+ * loaded, so this costs one manifest read per extension instead of a full
152213
+ * subresource scan. The inclusion set matches the full load exactly: the
152214
+ * manifest head rejects the same manifests the full load's catch rejects.
152215
+ *
152216
+ * Unlike `refreshCacheWithSnapshot`, this touches no manager state: no
152217
+ * `extensionCache` write (the entries carry no subresources, so caching
152218
+ * them would poison a shared manager) and no fingerprint baseline commit
152219
+ * (which would make a later `refreshCacheIfSourcesChanged` on a shared
152220
+ * manager report "unchanged" over a manifest-only cache). That also keeps
152221
+ * the per-request cost down — no fingerprint walk on this path.
152222
+ *
152223
+ * The fingerprint still governs invalidation for full refreshes and is
152224
+ * unaffected by this method: it covers only install metadata and manifests
152225
+ * — never skill files — so a skill-only edit does not change the catalog's
152226
+ * inputs either, which is exactly the desired behavior.
152227
+ */
152228
+ async refreshCatalogSnapshot(options2) {
152229
+ const requestedNames = options2?.names?.filter(Boolean) ?? [];
152230
+ const { value: extensions, snapshot } = await this.extensionStore.readConsistent(async () => {
152231
+ const loadedAll = await this.loadExtensionsFromExtensionsDir(
152232
+ this.configDir,
152233
+ this.workspaceDir,
152234
+ { manifestOnly: true }
152235
+ );
152236
+ const loaded = requestedNames.length > 0 ? loadedAll.filter(
152237
+ (extension) => requestedNames.some(
152238
+ (name) => name.toLowerCase() === extension.name.toLowerCase()
152239
+ )
152240
+ ) : loadedAll;
152241
+ return {
152242
+ value: loaded,
152243
+ extensions: loaded.map((extension) => ({
152244
+ id: extension.id,
152245
+ name: extension.name
152246
+ }))
152247
+ };
152248
+ });
152249
+ return { snapshot, extensions };
152250
+ }
152191
152251
  static stampPath(target, followSymlinks = true) {
152192
152252
  try {
152193
152253
  const stats = followSymlinks ? fs73.statSync(target) : fs73.lstatSync(target);
@@ -152342,7 +152402,7 @@ var ExtensionManager = class _ExtensionManager {
152342
152402
  dir
152343
152403
  );
152344
152404
  }
152345
- async loadExtensionsFromExtensionsDir(extensionsDir, workspaceDir) {
152405
+ async loadExtensionsFromExtensionsDir(extensionsDir, workspaceDir, options2 = {}) {
152346
152406
  let subdirs;
152347
152407
  try {
152348
152408
  subdirs = fs73.readdirSync(extensionsDir);
@@ -152352,70 +152412,114 @@ var ExtensionManager = class _ExtensionManager {
152352
152412
  const extensions = [];
152353
152413
  for (const subdir of subdirs) {
152354
152414
  const extensionDir = path72.join(extensionsDir, subdir);
152355
- const extension = await this.loadExtension({
152356
- extensionDir,
152357
- workspaceDir
152358
- });
152415
+ const extension = await this.loadExtension(
152416
+ { extensionDir, workspaceDir },
152417
+ { manifestOnly: options2.manifestOnly }
152418
+ );
152359
152419
  if (extension != null) {
152360
152420
  extensions.push(extension);
152361
152421
  }
152362
152422
  }
152363
152423
  return extensions;
152364
152424
  }
152365
- async loadExtension(context2, options2 = {}) {
152366
- const { extensionDir, workspaceDir } = context2;
152367
- if (!fs73.statSync(extensionDir).isDirectory()) {
152368
- return null;
152369
- }
152425
+ /**
152426
+ * Loads everything an extension's manifest itself provides: install
152427
+ * metadata, the parsed (and env-resolved) config, the extension id, and the
152428
+ * base `Extension` object. Everything sourced from subresource directories
152429
+ * (skills, commands, agents, hooks, context files) is left to the caller.
152430
+ *
152431
+ * The agent-plugins-v1 MCP load always runs here because its throws are
152432
+ * part of this head's rejection set — skipping it would change which
152433
+ * extensions a caller sees. With `createDataDir` (the default) a
152434
+ * successful load also mkdirs the plugin data root; catalog-style callers
152435
+ * pass `false` so a read-only refresh performs no write.
152436
+ */
152437
+ async loadExtensionManifestHead(context2, options2 = {}) {
152438
+ const { extensionDir } = context2;
152370
152439
  const installMetadata = this.loadInstallMetadata(extensionDir);
152371
152440
  let effectiveExtensionPath = extensionDir;
152372
152441
  if (installMetadata?.type === "link" && typeof installMetadata.source === "string" && installMetadata.source.length > 0) {
152373
152442
  effectiveExtensionPath = installMetadata.source;
152374
152443
  }
152375
152444
  try {
152376
- const loadedManifest = this.loadExtensionManifest({
152377
- extensionDir: effectiveExtensionPath,
152378
- workspaceDir
152379
- });
152380
- let config3 = loadedManifest.config;
152381
- if (loadedManifest.format === "qwen") {
152382
- config3 = resolveEnvVarsInObject(config3);
152383
- }
152384
- const extensionId = getExtensionId(config3, installMetadata);
152385
- if (loadedManifest.format === "agent-plugins-v1") {
152386
- config3 = {
152387
- ...config3,
152388
- mcpServers: await loadAgentPluginMcpServers(
152389
- effectiveExtensionPath,
152390
- this.extensionStore.agentPluginDataRoot(extensionId),
152391
- { createDataDir: true }
152392
- )
152393
- };
152394
- }
152395
- const extension = {
152396
- id: extensionId,
152397
- name: config3.name,
152398
- displayName: config3.displayName,
152399
- version: config3.version || installMetadata?.marketplaceConfig?.metadata?.version || "1.0.0",
152400
- path: effectiveExtensionPath,
152401
- format: loadedManifest.format,
152445
+ return await this.loadExtensionManifestHeadResolved(
152446
+ context2,
152402
152447
  installMetadata,
152403
- isActive: this.isEnabled(config3.name, this.workspaceDir),
152404
- config: config3,
152405
- settings: config3.settings,
152406
- contextFiles: []
152407
- };
152408
- if (config3.mcpServers) {
152409
- extension.mcpServers = Object.fromEntries(
152410
- Object.entries(config3.mcpServers).map(([key, value]) => [
152411
- key,
152412
- filterMcpConfig(value)
152413
- ])
152414
- );
152448
+ effectiveExtensionPath,
152449
+ options2
152450
+ );
152451
+ } catch (error3) {
152452
+ const withManifestPath = error3;
152453
+ if (!withManifestPath.manifestPath) {
152454
+ withManifestPath.manifestPath = effectiveExtensionPath;
152415
152455
  }
152416
- if (loadedManifest.format === "qwen" && config3.channels) {
152417
- extension.channels = config3.channels;
152456
+ throw error3;
152457
+ }
152458
+ }
152459
+ async loadExtensionManifestHeadResolved(context2, installMetadata, effectiveExtensionPath, options2) {
152460
+ const { workspaceDir } = context2;
152461
+ const loadedManifest = this.loadExtensionManifest({
152462
+ extensionDir: effectiveExtensionPath,
152463
+ workspaceDir
152464
+ });
152465
+ let config3 = loadedManifest.config;
152466
+ if (loadedManifest.format === "qwen") {
152467
+ config3 = resolveEnvVarsInObject(config3);
152468
+ }
152469
+ const extensionId = getExtensionId(config3, installMetadata);
152470
+ if (loadedManifest.format === "agent-plugins-v1") {
152471
+ config3 = {
152472
+ ...config3,
152473
+ mcpServers: await loadAgentPluginMcpServers(
152474
+ effectiveExtensionPath,
152475
+ this.extensionStore.agentPluginDataRoot(extensionId),
152476
+ { createDataDir: options2.createDataDir !== false }
152477
+ )
152478
+ };
152479
+ }
152480
+ const extension = {
152481
+ id: extensionId,
152482
+ name: config3.name,
152483
+ displayName: config3.displayName,
152484
+ version: config3.version || installMetadata?.marketplaceConfig?.metadata?.version || "1.0.0",
152485
+ path: effectiveExtensionPath,
152486
+ format: loadedManifest.format,
152487
+ installMetadata,
152488
+ isActive: this.isEnabled(config3.name, this.workspaceDir),
152489
+ config: config3,
152490
+ settings: config3.settings,
152491
+ contextFiles: []
152492
+ };
152493
+ if (config3.mcpServers) {
152494
+ extension.mcpServers = Object.fromEntries(
152495
+ Object.entries(config3.mcpServers).map(([key, value]) => [
152496
+ key,
152497
+ filterMcpConfig(value)
152498
+ ])
152499
+ );
152500
+ }
152501
+ if (loadedManifest.format === "qwen" && config3.channels) {
152502
+ extension.channels = config3.channels;
152503
+ }
152504
+ return { extension, loadedManifest };
152505
+ }
152506
+ async loadExtension(context2, options2 = {}) {
152507
+ const { extensionDir } = context2;
152508
+ if (!fs73.statSync(extensionDir).isDirectory()) {
152509
+ return null;
152510
+ }
152511
+ let extension;
152512
+ try {
152513
+ const head = await this.loadExtensionManifestHead(context2, {
152514
+ createDataDir: !options2.manifestOnly
152515
+ });
152516
+ extension = head.extension;
152517
+ if (options2.manifestOnly) {
152518
+ return extension;
152418
152519
  }
152520
+ const { loadedManifest } = head;
152521
+ const config3 = extension.config;
152522
+ const effectiveExtensionPath = extension.path;
152419
152523
  if (loadedManifest.format === "agent-plugins-v1") {
152420
152524
  extension.commands = [];
152421
152525
  extension.skills = await loadAgentPluginSkills(effectiveExtensionPath);
@@ -152479,7 +152583,7 @@ var ExtensionManager = class _ExtensionManager {
152479
152583
  } catch (e) {
152480
152584
  if (options2.throwOnError) throw e;
152481
152585
  debugLogger105.warn(
152482
- `Warning: Skipping extension in ${effectiveExtensionPath}: ${getErrorMessage(
152586
+ `Warning: Skipping extension in ${e.manifestPath ?? extension?.path ?? extensionDir}: ${getErrorMessage(
152483
152587
  e
152484
152588
  )}`
152485
152589
  );
@@ -163882,6 +163986,11 @@ var Config = class _Config {
163882
163986
  * single-block layout when it doesn't match the request's system text.
163883
163987
  */
163884
163988
  staticSystemPrefix;
163989
+ /**
163990
+ * Tool names declared to the model when this session's system prompt was
163991
+ * built. See {@link getPromptToolSnapshot}.
163992
+ */
163993
+ promptToolSnapshot;
163885
163994
  /**
163886
163995
  * Volatile system-prompt layer: the managed auto-memory section
163887
163996
  * (instructions + MEMORY.md indexes). Kept separate from `userMemory`
@@ -164677,7 +164786,7 @@ var Config = class _Config {
164677
164786
  await this.proxyDispatcherReady;
164678
164787
  options2?.signal?.throwIfAborted();
164679
164788
  if (this.isOmniEnabled()) {
164680
- const { normalizeDedicatedOmniUploadConfig } = await import("./upload-config-JNZAPCF6.js");
164789
+ const { normalizeDedicatedOmniUploadConfig } = await import("./upload-config-PE3LJBUR.js");
164681
164790
  this.omniUploadConfig = normalizeDedicatedOmniUploadConfig({
164682
164791
  baseUrl: this.omniUploadBaseUrl,
164683
164792
  apiKeyEnv: this.omniUploadApiKeyEnv,
@@ -167765,6 +167874,23 @@ var Config = class _Config {
167765
167874
  setStaticSystemPrefix(prefix) {
167766
167875
  this.staticSystemPrefix = prefix;
167767
167876
  }
167877
+ /**
167878
+ * The tool names declared to the model when this session's system prompt was
167879
+ * built. The prompt gates its tool-specific text on this set (#12032), and
167880
+ * `/context` reads the same set so its system-prompt row describes the text
167881
+ * the request actually carries rather than what the registry holds now — the
167882
+ * two genuinely diverge after a mid-session ToolSearch reveal, because a
167883
+ * reveal rewrites the declarations without rebuilding the prompt.
167884
+ *
167885
+ * `undefined` until `startChat` records it, which the prompt builder reads as
167886
+ * "every tool is declared" and renders exactly as it did before gating.
167887
+ */
167888
+ getPromptToolSnapshot() {
167889
+ return this.promptToolSnapshot;
167890
+ }
167891
+ setPromptToolSnapshot(names) {
167892
+ this.promptToolSnapshot = names;
167893
+ }
167768
167894
  /**
167769
167895
  * The managed auto-memory section of the system prompt (volatile layer).
167770
167896
  * Empty when managed memory is unavailable. Callers assembling a system
@@ -168550,7 +168676,7 @@ var Config = class _Config {
168550
168676
  return this.omniPolicyTools;
168551
168677
  }
168552
168678
  async loadOmniMediaReader() {
168553
- return import("./omni-32DW7DAU.js");
168679
+ return import("./omni-J44KEAF2.js");
168554
168680
  }
168555
168681
  /** Normalized `omni.processing` view. Undefined until tool warmup
168556
168682
  * completes (or when omni is disabled). */
@@ -170083,7 +170209,7 @@ var Config = class _Config {
170083
170209
  async registerWorkflowTool(registry3) {
170084
170210
  if (registry3.getAllToolNames().includes(ToolNames.WORKFLOW)) return true;
170085
170211
  await this.registerLazyTool(registry3, ToolNames.WORKFLOW, async () => {
170086
- const { WorkflowTool } = await import("./workflow-ZLOBJFVU.js");
170212
+ const { WorkflowTool } = await import("./workflow-AQ74SHPL.js");
170087
170213
  return new WorkflowTool(this);
170088
170214
  });
170089
170215
  return registry3.getAllToolNames().includes(ToolNames.WORKFLOW);
@@ -170159,8 +170285,8 @@ var Config = class _Config {
170159
170285
  );
170160
170286
  }
170161
170287
  const [{ createExecutionTools }, { wrapExecutionTool }] = await Promise.all([
170162
- import("./local-execution-environment-JLIO4YKC.js"),
170163
- import("./execution-tool-GSOYRE7M.js")
170288
+ import("./local-execution-environment-JIXYT7RU.js"),
170289
+ import("./execution-tool-LGCWZ5JC.js")
170164
170290
  ]);
170165
170291
  for (const [name, tool] of createExecutionTools(this)) {
170166
170292
  if (name === ToolNames.LS && !this.isLsToolEnabled()) continue;
@@ -170170,7 +170296,7 @@ var Config = class _Config {
170170
170296
  );
170171
170297
  }
170172
170298
  await registerLazy(ToolNames.TOOL_SEARCH, async () => {
170173
- const { ToolSearchTool } = await import("./tool-search-ZF4TSSBS.js");
170299
+ const { ToolSearchTool } = await import("./tool-search-5RPYPGFG.js");
170174
170300
  return new ToolSearchTool(this);
170175
170301
  });
170176
170302
  return registry3;
@@ -170187,16 +170313,16 @@ var Config = class _Config {
170187
170313
  const registerGoalWorkerTools = /* @__PURE__ */ __name(async () => {
170188
170314
  if (options2?.forSubAgent) return;
170189
170315
  await registerLazy(ToolNames.GET_GOAL, async () => {
170190
- const { GetGoalTool: GetGoalTool2 } = await import("./goal-tools-D523PJR5.js");
170316
+ const { GetGoalTool: GetGoalTool2 } = await import("./goal-tools-52S6IYSS.js");
170191
170317
  return new GetGoalTool2(this);
170192
170318
  });
170193
170319
  await registerLazy(ToolNames.UPDATE_GOAL, async () => {
170194
- const { UpdateGoalTool: UpdateGoalTool2 } = await import("./goal-tools-D523PJR5.js");
170320
+ const { UpdateGoalTool: UpdateGoalTool2 } = await import("./goal-tools-52S6IYSS.js");
170195
170321
  return new UpdateGoalTool2(this);
170196
170322
  });
170197
170323
  if (this.getModelProposedGoals() !== "disabled" && (resolveInteractionMode(this) === "interactive" || this.goalProposalHostSupported)) {
170198
170324
  await registerLazy(ToolNames.PROPOSE_GOAL, async () => {
170199
- const { ProposeGoalTool: ProposeGoalTool2 } = await import("./goal-tools-D523PJR5.js");
170325
+ const { ProposeGoalTool: ProposeGoalTool2 } = await import("./goal-tools-52S6IYSS.js");
170200
170326
  return new ProposeGoalTool2(this);
170201
170327
  });
170202
170328
  }
@@ -170210,19 +170336,19 @@ var Config = class _Config {
170210
170336
  }, "registerExecIfEnabled");
170211
170337
  if (this.getBareMode()) {
170212
170338
  await registerLazy(ToolNames.READ_FILE, async () => {
170213
- const { ReadFileTool } = await import("./read-file-FSGLCFTS.js");
170339
+ const { ReadFileTool } = await import("./read-file-MGTENCNH.js");
170214
170340
  return new ReadFileTool(this);
170215
170341
  });
170216
170342
  await registerLazy(ToolNames.EDIT, async () => {
170217
- const { EditTool } = await import("./edit-FJFHUIY4.js");
170343
+ const { EditTool } = await import("./edit-XY623A63.js");
170218
170344
  return new EditTool(this);
170219
170345
  });
170220
170346
  await registerLazy(ToolNames.NOTEBOOK_EDIT, async () => {
170221
- const { NotebookEditTool } = await import("./notebook-edit-QH7FXG4T.js");
170347
+ const { NotebookEditTool } = await import("./notebook-edit-VZ3HDVGJ.js");
170222
170348
  return new NotebookEditTool(this);
170223
170349
  });
170224
170350
  await registerLazy(ToolNames.SHELL, async () => {
170225
- const { ShellTool: ShellTool2 } = await import("./shell-BRLSIRIJ.js");
170351
+ const { ShellTool: ShellTool2 } = await import("./shell-OHI4FUG7.js");
170226
170352
  return new ShellTool2(this);
170227
170353
  });
170228
170354
  await registerGoalWorkerTools();
@@ -170236,7 +170362,7 @@ var Config = class _Config {
170236
170362
  await registerExecIfEnabled();
170237
170363
  await registerGoalWorkerTools();
170238
170364
  await registerLazy(ToolNames.TOOL_SEARCH, async () => {
170239
- const { ToolSearchTool } = await import("./tool-search-ZF4TSSBS.js");
170365
+ const { ToolSearchTool } = await import("./tool-search-5RPYPGFG.js");
170240
170366
  return new ToolSearchTool(this);
170241
170367
  });
170242
170368
  await registerLazy(ToolNames.READ_MCP_RESOURCE, async () => {
@@ -170244,7 +170370,7 @@ var Config = class _Config {
170244
170370
  return new ReadMcpResourceTool(this);
170245
170371
  });
170246
170372
  await registerLazy(ToolNames.AGENT, async () => {
170247
- const { AgentTool: AgentTool2 } = await import("./agent-6SYYNHSZ.js");
170373
+ const { AgentTool: AgentTool2 } = await import("./agent-WINHBR34.js");
170248
170374
  return new AgentTool2(this);
170249
170375
  });
170250
170376
  await registerLazy(ToolNames.LIST_AGENTS, async () => {
@@ -170260,7 +170386,7 @@ var Config = class _Config {
170260
170386
  return new SendMessageTool(this);
170261
170387
  });
170262
170388
  await registerLazy(ToolNames.SKILL, async () => {
170263
- const { SkillTool } = await import("./skill-ANJV3QCO.js");
170389
+ const { SkillTool } = await import("./skill-3VAIVEQN.js");
170264
170390
  return new SkillTool(this);
170265
170391
  });
170266
170392
  if (this.isLsToolEnabled()) {
@@ -170270,11 +170396,11 @@ var Config = class _Config {
170270
170396
  });
170271
170397
  }
170272
170398
  await registerLazy(ToolNames.READ_FILE, async () => {
170273
- const { ReadFileTool } = await import("./read-file-FSGLCFTS.js");
170399
+ const { ReadFileTool } = await import("./read-file-MGTENCNH.js");
170274
170400
  return new ReadFileTool(this);
170275
170401
  });
170276
170402
  await registerLazy(ToolNames.ZOOM_IMAGE, async () => {
170277
- const { ZoomImageTool } = await import("./zoom-image-MRU6WPE6.js");
170403
+ const { ZoomImageTool } = await import("./zoom-image-7INIHGVL.js");
170278
170404
  return new ZoomImageTool(this);
170279
170405
  });
170280
170406
  if (this.getUseRipgrep()) {
@@ -170289,7 +170415,7 @@ var Config = class _Config {
170289
170415
  recordStartupEvent("config_initialize_ripgrep_probe_end");
170290
170416
  if (useRipgrep) {
170291
170417
  await registerLazy(ToolNames.GREP, async () => {
170292
- const { RipGrepTool } = await import("./ripGrep-YVM3DMMW.js");
170418
+ const { RipGrepTool } = await import("./ripGrep-GY3USA7L.js");
170293
170419
  return new RipGrepTool(this);
170294
170420
  });
170295
170421
  } else {
@@ -170315,23 +170441,23 @@ var Config = class _Config {
170315
170441
  });
170316
170442
  }
170317
170443
  await registerLazy(ToolNames.GLOB, async () => {
170318
- const { GlobTool } = await import("./glob-M2TXMH5Q.js");
170444
+ const { GlobTool } = await import("./glob-KMXCAZRN.js");
170319
170445
  return new GlobTool(this);
170320
170446
  });
170321
170447
  await registerLazy(ToolNames.EDIT, async () => {
170322
- const { EditTool } = await import("./edit-FJFHUIY4.js");
170448
+ const { EditTool } = await import("./edit-XY623A63.js");
170323
170449
  return new EditTool(this);
170324
170450
  });
170325
170451
  await registerLazy(ToolNames.NOTEBOOK_EDIT, async () => {
170326
- const { NotebookEditTool } = await import("./notebook-edit-QH7FXG4T.js");
170452
+ const { NotebookEditTool } = await import("./notebook-edit-VZ3HDVGJ.js");
170327
170453
  return new NotebookEditTool(this);
170328
170454
  });
170329
170455
  await registerLazy(ToolNames.WRITE_FILE, async () => {
170330
- const { WriteFileTool } = await import("./write-file-Z35R7HTD.js");
170456
+ const { WriteFileTool } = await import("./write-file-BJ5NTPQB.js");
170331
170457
  return new WriteFileTool(this);
170332
170458
  });
170333
170459
  await registerLazy(ToolNames.SHELL, async () => {
170334
- const { ShellTool: ShellTool2 } = await import("./shell-BRLSIRIJ.js");
170460
+ const { ShellTool: ShellTool2 } = await import("./shell-OHI4FUG7.js");
170335
170461
  return new ShellTool2(this);
170336
170462
  });
170337
170463
  if (this.isTodoWriteEnabled()) {
@@ -170347,19 +170473,19 @@ var Config = class _Config {
170347
170473
  const supportsUserInteraction = resolveInteractionMode(this) !== "headless";
170348
170474
  if (supportsUserInteraction) {
170349
170475
  await registerLazy(ToolNames.ASK_USER_QUESTION, async () => {
170350
- const { AskUserQuestionTool: AskUserQuestionTool2 } = await import("./askUserQuestion-RYGNEYFC.js");
170476
+ const { AskUserQuestionTool: AskUserQuestionTool2 } = await import("./askUserQuestion-C2GAWACN.js");
170351
170477
  return new AskUserQuestionTool2(this);
170352
170478
  });
170353
170479
  }
170354
170480
  if (!this.sdkMode && (supportsUserInteraction || options2?.forSubAgent)) {
170355
170481
  await registerLazy(ToolNames.EXIT_PLAN_MODE, async () => {
170356
- const { ExitPlanModeTool: ExitPlanModeTool2 } = await import("./exitPlanMode-3GA5VWWB.js");
170482
+ const { ExitPlanModeTool: ExitPlanModeTool2 } = await import("./exitPlanMode-AGRSXL5M.js");
170357
170483
  return new ExitPlanModeTool2(this);
170358
170484
  });
170359
170485
  }
170360
170486
  if (!this.sdkMode && supportsUserInteraction) {
170361
170487
  await registerLazy(ToolNames.ENTER_PLAN_MODE, async () => {
170362
- const { EnterPlanModeTool } = await import("./enterPlanMode-WGDUBIGO.js");
170488
+ const { EnterPlanModeTool } = await import("./enterPlanMode-VGKHLQVD.js");
170363
170489
  return new EnterPlanModeTool(this);
170364
170490
  });
170365
170491
  }
@@ -170372,7 +170498,7 @@ var Config = class _Config {
170372
170498
  return new ExitWorktreeTool(this);
170373
170499
  });
170374
170500
  await registerLazy(ToolNames.WEB_FETCH, async () => {
170375
- const { WebFetchTool } = await import("./web-fetch-6IQOTXM2.js");
170501
+ const { WebFetchTool } = await import("./web-fetch-WVJPQMBM.js");
170376
170502
  return new WebFetchTool(this);
170377
170503
  });
170378
170504
  if (resolveInteractionMode(this) === "interactive" && !this.sdkMode && !this.getScreenReader() && !options2?.forSubAgent) {
@@ -170383,11 +170509,11 @@ var Config = class _Config {
170383
170509
  }
170384
170510
  const hasExplicitWebSearchBackend = !!this.webSearchSettings?.model?.trim() || !!this.webSearchSettings?.baseUrl;
170385
170511
  if (!this.getBareMode() && !this.isSafeMode() && this.webSearchSettings?.enabled !== false && (this.webSearchSettings?.enabled === true || !hasExplicitWebSearchBackend)) {
170386
- const { evaluateWebSearchGate } = await import("./web-search-TY4ODCXK.js");
170512
+ const { evaluateWebSearchGate } = await import("./web-search-MLYZQUGL.js");
170387
170513
  const gate = evaluateWebSearchGate(this);
170388
170514
  if (gate.ok) {
170389
170515
  await registerLazy(ToolNames.WEB_SEARCH, async () => {
170390
- const { WebSearchTool } = await import("./web-search-TY4ODCXK.js");
170516
+ const { WebSearchTool } = await import("./web-search-MLYZQUGL.js");
170391
170517
  return new WebSearchTool(this);
170392
170518
  });
170393
170519
  } else if (!gate.silent && !this.webSearchNoticeEmitted && !options2?.forSubAgent) {
@@ -170444,7 +170570,7 @@ var Config = class _Config {
170444
170570
  }
170445
170571
  if (this.isAgentTeamEnabled()) {
170446
170572
  await registerLazy(ToolNames.TEAM_CREATE, async () => {
170447
- const { TeamCreateTool } = await import("./team-create-KWEJO6TE.js");
170573
+ const { TeamCreateTool } = await import("./team-create-ED6VAG37.js");
170448
170574
  return new TeamCreateTool(this);
170449
170575
  });
170450
170576
  await registerLazy(ToolNames.TEAM_DELETE, async () => {
@@ -170452,7 +170578,7 @@ var Config = class _Config {
170452
170578
  return new TeamDeleteTool(this);
170453
170579
  });
170454
170580
  await registerLazy(ToolNames.TEAM_PLAN_APPROVAL, async () => {
170455
- const { TeamPlanApprovalTool } = await import("./team-plan-approval-VXHTSKHR.js");
170581
+ const { TeamPlanApprovalTool } = await import("./team-plan-approval-LDAEETXQ.js");
170456
170582
  return new TeamPlanApprovalTool(this);
170457
170583
  });
170458
170584
  if (!options2?.forSubAgent) {
@@ -170548,7 +170674,7 @@ var Config = class _Config {
170548
170674
  }
170549
170675
  }
170550
170676
  await registerLazy(ToolNames.MONITOR, async () => {
170551
- const { MonitorTool } = await import("./monitor-VXQ7KYEJ.js");
170677
+ const { MonitorTool } = await import("./monitor-AMX4GGO4.js");
170552
170678
  return new MonitorTool(this);
170553
170679
  });
170554
170680
  if (this.pendingMcpBudgetCallback) {