@qwen-code/qwen-code 0.22.3 → 0.23.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (497) hide show
  1. package/README.md +30 -0
  2. package/bundled/computer-use/SKILL.md +116 -180
  3. package/bundled/goal-draft/SKILL.md +5 -1
  4. package/bundled/qc-helper/docs/common-workflow.md +32 -0
  5. package/bundled/qc-helper/docs/configuration/auth.md +6 -6
  6. package/bundled/qc-helper/docs/configuration/model-providers.md +8 -2
  7. package/bundled/qc-helper/docs/configuration/settings.md +63 -58
  8. package/bundled/qc-helper/docs/extension/introduction.md +1 -1
  9. package/bundled/qc-helper/docs/features/_meta.ts +1 -0
  10. package/bundled/qc-helper/docs/features/approval-mode.md +3 -0
  11. package/bundled/qc-helper/docs/features/auto-mode.md +34 -17
  12. package/bundled/qc-helper/docs/features/channels/dingtalk.md +4 -2
  13. package/bundled/qc-helper/docs/features/channels/dws.md +6 -2
  14. package/bundled/qc-helper/docs/features/channels/overview.md +5 -2
  15. package/bundled/qc-helper/docs/features/code-review.md +2 -2
  16. package/bundled/qc-helper/docs/features/commands.md +79 -1
  17. package/bundled/qc-helper/docs/features/computer-use.md +2 -2
  18. package/bundled/qc-helper/docs/features/goals.md +9 -3
  19. package/bundled/qc-helper/docs/features/headless.md +16 -1
  20. package/bundled/qc-helper/docs/features/hooks.md +8 -3
  21. package/bundled/qc-helper/docs/features/memory.md +1 -0
  22. package/bundled/qc-helper/docs/features/output-styles.md +38 -0
  23. package/bundled/qc-helper/docs/qwen-serve-deploy-local.md +17 -7
  24. package/bundled/qc-helper/docs/qwen-serve.md +74 -55
  25. package/bundled/review/SKILL.md +16 -7
  26. package/bundled/review/references/posting.md +3 -3
  27. package/chunks/MaxSizedBox-B3D7545A.js +111 -0
  28. package/chunks/{StandaloneSessionPicker-2FJAOLGG.js → StandaloneSessionPicker-QUMO4LLQ.js} +88 -86
  29. package/chunks/{acp-startup-profiler-GNYAL6LI.js → acp-startup-profiler-M4X5F3VK.js} +2 -2
  30. package/chunks/{acpAgent-2ZMIJAFV.js → acpAgent-2GTFCIEP.js} +2041 -444
  31. package/chunks/{agent-X5WX3L2I.js → agent-XKF5SZWU.js} +46 -46
  32. package/chunks/agent-headless-OC2IB55D.js +85 -0
  33. package/chunks/{anthropicContentGenerator-YVTB6QX7.js → anthropicContentGenerator-L76MR5OR.js} +53 -20
  34. package/chunks/{artifact-tool-XSMPHZBT.js → artifact-tool-MYCL2QCS.js} +3 -4
  35. package/chunks/{askUserQuestion-4SWJY65V.js → askUserQuestion-THQZMG44.js} +45 -7
  36. package/chunks/bridge-IHSBI2YJ.js +118 -0
  37. package/chunks/{build-INBK7IXX.js → build-63BIOYWK.js} +1 -1
  38. package/chunks/{ca-7HPYOYSZ.js → ca-BNU7YNDE.js} +3 -0
  39. package/chunks/{channel-management-service-HQ6KDS7C.js → channel-management-service-4MTCEGJB.js} +4 -4
  40. package/chunks/channel-settings-store-BVKWAI2T.js +121 -0
  41. package/chunks/{channel-worker-group-6NA6BBZV.js → channel-worker-group-47F4ISUZ.js} +7 -7
  42. package/chunks/{channel-worker-manager-NEZ2J6RK.js → channel-worker-manager-I5Y44GYR.js} +51 -10
  43. package/chunks/{channel-worker-supervisor-FKU7DIHJ.js → channel-worker-supervisor-6VCLUXFE.js} +4 -4
  44. package/chunks/{chunk-PPKZ7JOE.js → chunk-22UH7VTP.js} +1 -1
  45. package/chunks/chunk-24FVUD5P.js +49 -0
  46. package/chunks/{chunk-MZCJWS5Y.js → chunk-2M3EWQNG.js} +20 -0
  47. package/chunks/{chunk-7T52W4SW.js → chunk-32LU3APX.js} +1 -1
  48. package/chunks/{chunk-42IDLQWS.js → chunk-373DQUVA.js} +48 -13
  49. package/chunks/{chunk-MSBO7X2W.js → chunk-37JFWFCD.js} +1 -1
  50. package/chunks/{chunk-3JXM2CVW.js → chunk-3AKCBZVW.js} +3 -3
  51. package/chunks/{chunk-TVC6HQ2U.js → chunk-3JQZVCBI.js} +2 -2
  52. package/chunks/{chunk-2LNNVAUV.js → chunk-3L724BJ5.js} +246 -15
  53. package/chunks/{chunk-E7REAOTN.js → chunk-47ECGEJC.js} +4 -0
  54. package/chunks/{chunk-WNPDGUJO.js → chunk-47RYEQW5.js} +2 -3
  55. package/chunks/{chunk-TZBSGJ6C.js → chunk-4BGDFKQE.js} +7 -7
  56. package/chunks/{chunk-PZ66FRIC.js → chunk-4F7GQGXB.js} +11772 -4773
  57. package/chunks/{chunk-DMLVSW7L.js → chunk-4HVH57J3.js} +713 -9
  58. package/chunks/{chunk-CMHFCLBU.js → chunk-4LIFGNI4.js} +1 -1
  59. package/chunks/{chunk-3SZC4VP4.js → chunk-4M24B5J5.js} +88 -49
  60. package/chunks/{chunk-BOWFGCEU.js → chunk-4PSDSCW3.js} +3 -3
  61. package/chunks/chunk-4UANMABT.js +1026 -0
  62. package/chunks/{chunk-M3QRM3DE.js → chunk-54C6PIGT.js} +5 -5
  63. package/chunks/{chunk-HP5LR5HL.js → chunk-5EIOJGCR.js} +4 -4
  64. package/chunks/{chunk-64REQJJ2.js → chunk-5H5S4UY5.js} +3 -3
  65. package/chunks/chunk-5IENVM7Z.js +35 -0
  66. package/chunks/{chunk-I6LYRJPB.js → chunk-5Q5RC2WE.js} +2 -2
  67. package/chunks/{chunk-WGY3AVGM.js → chunk-5RTTI4GE.js} +79 -5
  68. package/chunks/{chunk-KID24ZFN.js → chunk-64QH2UC6.js} +13 -1
  69. package/chunks/{chunk-MF7HCQWZ.js → chunk-65HWLGA7.js} +3 -3
  70. package/chunks/{chunk-OU5APVWO.js → chunk-6A2D4QSO.js} +13 -7
  71. package/chunks/chunk-6HUXPLB5.js +110 -0
  72. package/chunks/{chunk-VQUGEVGR.js → chunk-7IKXTGZT.js} +1 -1
  73. package/chunks/{chunk-UTLCH2FK.js → chunk-7JMGTOH7.js} +437 -136
  74. package/chunks/{chunk-7LOELM2I.js → chunk-7RB56BRJ.js} +3 -3
  75. package/chunks/{chunk-NIFYWDYN.js → chunk-7TBU7PU2.js} +1 -1
  76. package/chunks/{chunk-V2NDP3I4.js → chunk-7XL4WRXM.js} +2 -2
  77. package/chunks/chunk-ADJD4LZF.js +210 -0
  78. package/chunks/{chunk-T7KMERIX.js → chunk-ADYN7P2Y.js} +2 -2
  79. package/chunks/{chunk-TPI7O7HR.js → chunk-AHYTURFB.js} +1 -1
  80. package/chunks/{chunk-LUEHOUHM.js → chunk-AI35S34R.js} +3 -3
  81. package/chunks/{chunk-CIZCL2MW.js → chunk-ALUYNJPM.js} +1486 -2172
  82. package/chunks/{chunk-ABS25QER.js → chunk-ANVG3BVV.js} +1 -1
  83. package/chunks/{chunk-6ZPDLGHN.js → chunk-AZJLY2XZ.js} +5 -5
  84. package/chunks/{chunk-A3LWD5MK.js → chunk-BA4WJC4L.js} +1 -1
  85. package/chunks/{chunk-W3JH33JE.js → chunk-BFY33IB4.js} +18 -10
  86. package/chunks/{chunk-N4X7G4J2.js → chunk-BHTYRHJF.js} +1 -1
  87. package/chunks/{chunk-TEBDFQBZ.js → chunk-BJXCYUGM.js} +11 -6
  88. package/chunks/{chunk-7VMIMAVB.js → chunk-C2VWOXHS.js} +8 -8
  89. package/chunks/{chunk-XHF7WQ6B.js → chunk-C4TIXFDZ.js} +16 -5
  90. package/chunks/chunk-CHEIIBT3.js +40 -0
  91. package/chunks/chunk-CVX63TFJ.js +348 -0
  92. package/chunks/{chunk-RXFQM6FQ.js → chunk-DMEUXLSS.js} +16 -1
  93. package/chunks/{chunk-EKSCLBBF.js → chunk-DQCKVAF5.js} +23 -5
  94. package/chunks/{chunk-734C6JGI.js → chunk-DSX7KQPM.js} +5195 -666
  95. package/chunks/{chunk-4CMJKUND.js → chunk-DTVQSSNM.js} +67 -2
  96. package/chunks/{chunk-BKWNKLZB.js → chunk-DYTW3QVG.js} +24 -9
  97. package/chunks/{chunk-C2X7KY45.js → chunk-E4JNFXNI.js} +3 -3
  98. package/chunks/{chunk-UHQFIS7N.js → chunk-EAHOJF6V.js} +28 -4
  99. package/chunks/{chunk-YLSQLSH7.js → chunk-EBDGRBZX.js} +24 -16
  100. package/chunks/{chunk-DJBQCO2E.js → chunk-EFTPIZIC.js} +412 -3
  101. package/chunks/{chunk-6DIGWMGT.js → chunk-EIJT2PQ6.js} +2 -2
  102. package/chunks/{chunk-4TT3IVGA.js → chunk-EIY7SUPZ.js} +1 -1
  103. package/chunks/{chunk-XQFT3QUF.js → chunk-ENYUKMFK.js} +1 -1
  104. package/chunks/{chunk-ZWJDJ6RU.js → chunk-EVFDRBUM.js} +157 -153
  105. package/chunks/{chunk-4VPCTGH6.js → chunk-EWRW2WQC.js} +15 -9
  106. package/chunks/{chunk-VBCPNIQD.js → chunk-F33GFWPR.js} +47 -184
  107. package/chunks/{chunk-ERFDKH32.js → chunk-F47DITLZ.js} +19 -8
  108. package/chunks/{chunk-73RM4POK.js → chunk-F7NF2IOE.js} +7 -7
  109. package/chunks/{chunk-EB6QRGHM.js → chunk-FD5SJOWT.js} +10 -7
  110. package/chunks/{chunk-SS5SDCD3.js → chunk-FRICLXCZ.js} +7 -7
  111. package/chunks/{chunk-NU7RKEZR.js → chunk-FUO5V5KI.js} +14 -7
  112. package/chunks/{chunk-G6FECKTJ.js → chunk-G5PBOQWI.js} +9 -6
  113. package/chunks/{chunk-CAJTKR6W.js → chunk-G7HBEEX7.js} +15 -9
  114. package/chunks/{chunk-4QHPPXK2.js → chunk-GB4UKWY5.js} +2 -2
  115. package/chunks/{chunk-QYMAKPY5.js → chunk-GH2S4GD5.js} +350 -12
  116. package/chunks/{chunk-LHBUKJG2.js → chunk-GXUTFQXK.js} +28 -25
  117. package/chunks/{chunk-KJO2LBUK.js → chunk-H43PSPYS.js} +5 -5
  118. package/chunks/{chunk-XSG6G3G6.js → chunk-HJBHMANB.js} +12 -14
  119. package/chunks/chunk-HRPFBHW7.js +336 -0
  120. package/chunks/{chunk-6PJOTWAN.js → chunk-HT5S5TRQ.js} +1 -1
  121. package/chunks/{chunk-HCOBAG2L.js → chunk-HWVUSYSN.js} +3 -8
  122. package/chunks/{chunk-2OUD5T67.js → chunk-I2TMJPCV.js} +213 -185
  123. package/chunks/{chunk-CLWO3B77.js → chunk-I4NRYS6A.js} +11 -11
  124. package/chunks/{chunk-V7EESTJV.js → chunk-I5N4EAS6.js} +1 -1
  125. package/chunks/{chunk-K5KXUXWC.js → chunk-IG4W5SJR.js} +3 -3
  126. package/chunks/{chunk-FROAFEFB.js → chunk-IPATA3T2.js} +3 -3
  127. package/chunks/{chunk-NKLP3DCK.js → chunk-IQAFKVXS.js} +1 -1
  128. package/chunks/{chunk-AYHQZBJ4.js → chunk-IRKQ4YYX.js} +3 -3
  129. package/chunks/{chunk-J3NNHTV6.js → chunk-J5TTWBZK.js} +6 -0
  130. package/chunks/{chunk-QFCDF5PL.js → chunk-JHN7UIDW.js} +1 -1
  131. package/chunks/{chunk-AVNATYLY.js → chunk-JJKNYRFY.js} +1 -1
  132. package/chunks/{chunk-CQH5KTKC.js → chunk-JR42V4UY.js} +1 -1
  133. package/chunks/chunk-JS73NNWF.js +30 -0
  134. package/chunks/{chunk-NV55WWD6.js → chunk-JUARRUMA.js} +802 -2011
  135. package/chunks/chunk-JX6XHPTX.js +26 -0
  136. package/chunks/{chunk-5JTIYALA.js → chunk-JZWOCUZ3.js} +1 -1
  137. package/chunks/{chunk-P2G476QN.js → chunk-KEVYJSI4.js} +13 -13
  138. package/chunks/{chunk-B466ZSHZ.js → chunk-KFN2IZYR.js} +3 -3
  139. package/chunks/{chunk-JWALNCLT.js → chunk-KGV55H53.js} +1 -1
  140. package/chunks/{chunk-23RFD54N.js → chunk-KHP66DFN.js} +1 -1
  141. package/chunks/{chunk-2SXSLSQE.js → chunk-KM3XVTMO.js} +12 -6
  142. package/chunks/{chunk-GPGU4S2N.js → chunk-KMU3ZHH4.js} +3 -3
  143. package/chunks/chunk-KOGW3YWJ.js +2054 -0
  144. package/chunks/{chunk-NMOD2FXQ.js → chunk-L26ONV2Y.js} +8 -8
  145. package/chunks/chunk-L34XSHIZ.js +28 -0
  146. package/chunks/{chunk-SEONHUS3.js → chunk-LAUEEBDL.js} +2 -0
  147. package/chunks/{chunk-3WK3QDNV.js → chunk-LB3WQQJK.js} +2 -2
  148. package/chunks/{chunk-URE3QBBB.js → chunk-LEPCWS5A.js} +3 -3
  149. package/chunks/{chunk-36GSQ3MM.js → chunk-LHBNR6EU.js} +2 -2
  150. package/chunks/{chunk-V4264FEG.js → chunk-LKODFJRD.js} +1 -1
  151. package/chunks/{chunk-PADPMMYM.js → chunk-LOBDDFYK.js} +5 -29
  152. package/chunks/{chunk-BXDAPVQU.js → chunk-LU77UT4D.js} +28 -4
  153. package/chunks/{chunk-RFIDDFAL.js → chunk-M4KFODIP.js} +1 -1
  154. package/chunks/{chunk-CFJY4DGX.js → chunk-M4LBBSVP.js} +4 -2
  155. package/chunks/{chunk-KYWTPLBJ.js → chunk-MOF6VZN2.js} +2 -2
  156. package/chunks/{chunk-DJPASAUV.js → chunk-MP6YZ4RK.js} +4829 -3638
  157. package/chunks/{chunk-T26EAKDL.js → chunk-N2TNM3QB.js} +2 -6
  158. package/chunks/{chunk-2TNL5KPM.js → chunk-N4QWUPDM.js} +7 -0
  159. package/chunks/{chunk-7S226YTK.js → chunk-NFIDVZND.js} +11 -1
  160. package/chunks/{chunk-ZEYFMJQA.js → chunk-NQ4L2CMD.js} +83 -18
  161. package/chunks/{chunk-ZZUKP7HV.js → chunk-NRL5CUZT.js} +1 -1
  162. package/chunks/{chunk-WXEA74YB.js → chunk-NSUKQ4DN.js} +9 -3
  163. package/chunks/chunk-NUHOLAQ6.js +59 -0
  164. package/chunks/{chunk-DJEZ55D4.js → chunk-NVVJTUSL.js} +336 -140
  165. package/chunks/{chunk-3XKLXHGK.js → chunk-NXKOVOM5.js} +9 -9
  166. package/chunks/{chunk-5Q372OFJ.js → chunk-O4KNCAX4.js} +57 -10
  167. package/chunks/{chunk-GOXKNSDZ.js → chunk-O5CD7T4T.js} +40 -9
  168. package/chunks/{chunk-XIQ5HQ2F.js → chunk-OBTWL6ZW.js} +1 -1
  169. package/chunks/{chunk-PDQGMSZK.js → chunk-ODZF64DM.js} +1 -1
  170. package/chunks/{chunk-5MK45KZ3.js → chunk-OHOO527W.js} +1 -1
  171. package/chunks/{chunk-36LGBEM6.js → chunk-OHU2H5CS.js} +1 -1
  172. package/chunks/{chunk-JB4JIVTJ.js → chunk-OKTNXDVO.js} +1 -1
  173. package/chunks/{chunk-CETB5XY4.js → chunk-ORFIYTI2.js} +1 -1
  174. package/chunks/{chunk-7E7UCJHS.js → chunk-OSHQMOBS.js} +18 -17
  175. package/chunks/chunk-OSSTATJF.js +1310 -0
  176. package/chunks/chunk-P6UIF2OW.js +400 -0
  177. package/chunks/{chunk-U54AYGEC.js → chunk-PB7JBAHF.js} +15 -49
  178. package/chunks/{chunk-Y5S7LBOZ.js → chunk-PCRBLMIN.js} +17 -3
  179. package/chunks/{chunk-WAOIHTJS.js → chunk-PDAKFU7M.js} +1 -1
  180. package/chunks/{chunk-YTDVNSUQ.js → chunk-QAK5475D.js} +1 -1
  181. package/chunks/{chunk-ST5MDGH3.js → chunk-QI27MKNQ.js} +27 -19
  182. package/chunks/{chunk-MK2GIB46.js → chunk-QJGYU5PG.js} +1 -1
  183. package/chunks/{chunk-SMPR7SPO.js → chunk-QJNDUTOL.js} +45 -239
  184. package/chunks/{chunk-MQM5PJML.js → chunk-QJVZLILI.js} +1 -1
  185. package/chunks/{chunk-B5PHIJGI.js → chunk-QKDNS6FU.js} +2 -2
  186. package/chunks/{chunk-ZU4UDIWX.js → chunk-QQD2GART.js} +15 -9
  187. package/chunks/{chunk-62GQFYID.js → chunk-RAFQIHN2.js} +3 -3
  188. package/chunks/{chunk-MO3FC2WT.js → chunk-RJUVTJEZ.js} +1 -1
  189. package/chunks/{chunk-M6FOJXW3.js → chunk-RKW36UWC.js} +1 -1
  190. package/chunks/{chunk-GBJBJ4HX.js → chunk-RM4WT2XB.js} +4 -26
  191. package/chunks/{chunk-VGIFXISB.js → chunk-RN3YGDCA.js} +7 -5
  192. package/chunks/{chunk-DYXFD5RO.js → chunk-S2T7H5MI.js} +1 -1
  193. package/chunks/{chunk-FTF2YIZ5.js → chunk-S6H3ELPG.js} +1 -1
  194. package/chunks/{chunk-4NDLQAY2.js → chunk-SI7WDR3U.js} +524 -16
  195. package/chunks/{chunk-2YOHKHYR.js → chunk-SRF4KTAG.js} +6 -6
  196. package/chunks/{chunk-ZZMSC3RG.js → chunk-STCVJXQB.js} +24 -24
  197. package/chunks/{chunk-ST5V3ZOC.js → chunk-SULZPKTA.js} +3 -3
  198. package/chunks/{chunk-6X7EU5TI.js → chunk-SX2QIMJV.js} +9 -7
  199. package/chunks/{chunk-V5J4J5TP.js → chunk-TJYRTS4S.js} +2 -20
  200. package/chunks/{chunk-C3PEFRKD.js → chunk-TMKTOTMQ.js} +5 -5
  201. package/chunks/{chunk-ISKH4QX3.js → chunk-TQHPVKO6.js} +4 -4
  202. package/chunks/{chunk-HVC3PNVC.js → chunk-TSZSGQ3N.js} +1 -1
  203. package/chunks/{chunk-ICURCKIU.js → chunk-U4DJ5XB3.js} +594 -91
  204. package/chunks/{chunk-TTX2JUE6.js → chunk-U6D2PPMN.js} +1 -1
  205. package/chunks/{chunk-GVIVASYK.js → chunk-UAKRDON5.js} +4 -4
  206. package/chunks/{chunk-D5LUXLUH.js → chunk-UJ4DUYIH.js} +18 -4
  207. package/chunks/{chunk-VTHREBQM.js → chunk-UKYXYWI2.js} +2 -2
  208. package/chunks/{chunk-ZYMLPEZQ.js → chunk-UM2FFKXN.js} +3 -3
  209. package/chunks/{chunk-2OBKDPZZ.js → chunk-UPFRILIL.js} +2 -2
  210. package/chunks/{chunk-2HYKTO7V.js → chunk-UUASLXHW.js} +55 -6
  211. package/chunks/chunk-V5U2NZNJ.js +29 -0
  212. package/chunks/{chunk-P5Y23G2L.js → chunk-V7RNNPGC.js} +1 -18
  213. package/chunks/{chunk-Q2MSPKIJ.js → chunk-VBWD6C27.js} +1 -1
  214. package/chunks/chunk-VGHZT6JR.js +51 -0
  215. package/chunks/{chunk-MPNBVAEU.js → chunk-VNAYZAFX.js} +4 -4
  216. package/chunks/chunk-VPSIC437.js +780 -0
  217. package/chunks/{chunk-AIAOIFY4.js → chunk-VWTSRH6C.js} +92 -17
  218. package/chunks/{chunk-4K7KNVWH.js → chunk-VYIUNFEA.js} +3 -3
  219. package/chunks/{chunk-EQSBPBZ3.js → chunk-WP4AX3XD.js} +5 -7
  220. package/chunks/{chunk-BFPESSTR.js → chunk-XEAAO654.js} +1 -1
  221. package/chunks/{chunk-RU7BK6B3.js → chunk-XLXAZLDR.js} +3 -3
  222. package/chunks/{chunk-EFWRMA2I.js → chunk-YPWZTR7F.js} +3 -3
  223. package/chunks/{chunk-XF63PKEN.js → chunk-ZDFQGHZH.js} +1 -1
  224. package/chunks/{chunk-OZ6KS6KW.js → chunk-ZGCKTAL5.js} +6 -1
  225. package/chunks/chunk-ZHO2CW6D.js +205 -0
  226. package/chunks/chunk-ZJ2LM2SI.js +198 -0
  227. package/chunks/{chunk-AYFA7MZV.js → chunk-ZKFTS3OV.js} +6 -6
  228. package/chunks/{chunk-HMJ2P3SV.js → chunk-ZL4HFSL6.js} +91 -29
  229. package/chunks/{chunk-DJECZIJX.js → chunk-ZTPGUFQV.js} +30 -8
  230. package/chunks/{chunk-7EQQR46F.js → chunk-ZVP4PWBU.js} +1 -1
  231. package/chunks/chunk-bdqvmfwv-ZTSOWAFE.js +17446 -0
  232. package/chunks/config-utils-LVSYDLHZ.js +114 -0
  233. package/chunks/contextCommand-TZD7UAJK.js +107 -0
  234. package/chunks/{core-runtime-AXB6SK5D.js → core-runtime-B4UKKIAQ.js} +63 -62
  235. package/chunks/{create-sub-session-23ITIELI.js → create-sub-session-LUPWEUHR.js} +3 -3
  236. package/chunks/{create-sub-session-4QNE64MR.js → create-sub-session-NJ24B4US.js} +94 -66
  237. package/chunks/{cron-create-KJ4IY6PP.js → cron-create-CRSPET3H.js} +4 -4
  238. package/chunks/{cron-delete-MBLQCAYY.js → cron-delete-DB77SZTU.js} +4 -4
  239. package/chunks/{cron-list-DWH2PQ47.js → cron-list-U2JNYWV6.js} +4 -4
  240. package/chunks/{daemon-3GNHB3M2.js → daemon-RKDGBFLK.js} +613 -102
  241. package/chunks/{daemon-git-worktree-guard-IVAJJWYK.js → daemon-git-worktree-guard-O2HPOBAB.js} +62 -61
  242. package/chunks/daemon-status-provider-GRRVCJFW.js +117 -0
  243. package/chunks/daemon-trust-policy-YJL442BK.js +113 -0
  244. package/chunks/{daemon-trust-policy-monitor-KGGROSIV.js → daemon-trust-policy-monitor-JL7F4Y4Q.js} +68 -67
  245. package/chunks/{de-X6HLSIFE.js → de-T4BLOKEC.js} +3 -0
  246. package/chunks/deferred-core-runtime-S32AYVZI.js +115 -0
  247. package/chunks/{devtools-JCG4K2NZ.js → devtools-VDRJYPZF.js} +1 -1
  248. package/chunks/{discovery-X2NV535U.js → discovery-TUM3ZQ6U.js} +2 -2
  249. package/chunks/{display-image-BE7I6ZB6.js → display-image-73C7XNRK.js} +5 -5
  250. package/chunks/{dist-LVZCXVPF.js → dist-62OZ7QXB.js} +44 -26
  251. package/chunks/{dist-GFN5DCBX.js → dist-EDHQIBYD.js} +152 -63
  252. package/chunks/{dist-N6W6E753.js → dist-GT64AAUR.js} +135 -26
  253. package/chunks/{dist-6BPYWHVD.js → dist-JVXT4VUJ.js} +14 -7
  254. package/chunks/{dist-4WXLCBDR.js → dist-L6URO6CK.js} +12 -5
  255. package/chunks/{dist-5VXFRTWU.js → dist-LXFYIJNG.js} +866 -172
  256. package/chunks/{dist-SWQMYP2Q.js → dist-PDGNRVPY.js} +27 -8
  257. package/chunks/{dist-NSV4NBPK.js → dist-QAF5DO3Y.js} +380 -83
  258. package/chunks/{dist-HZNT6GQS.js → dist-ZCJLKQSP.js} +28 -14
  259. package/chunks/earlyInputCapture-BBPCIVZG.js +108 -0
  260. package/chunks/{edit-LEQLAGPZ.js → edit-SUGXY63Y.js} +47 -47
  261. package/chunks/{en-YLXBXM4Z.js → en-2RATMNX7.js} +5 -0
  262. package/chunks/{enter-worktree-35QCAAFP.js → enter-worktree-B6USKSIK.js} +7 -7
  263. package/chunks/{enterPlanMode-ONQN3WHE.js → enterPlanMode-MDX4RVVL.js} +48 -48
  264. package/chunks/{environment-UANTR7A4.js → environment-VN6RXDVN.js} +63 -62
  265. package/chunks/errors-UEY36PIT.js +114 -0
  266. package/chunks/{exit-worktree-XQD6D543.js → exit-worktree-DLQ73SJH.js} +10 -8
  267. package/chunks/exitPlanMode-EPHIEDAA.js +83 -0
  268. package/chunks/{fast-path-WUL7UZ6H.js → fast-path-Y73R42LV.js} +8 -7
  269. package/chunks/{fast-path-settings-XH426LUU.js → fast-path-settings-MFUR3IWK.js} +3 -3
  270. package/chunks/{fr-FTZWF462.js → fr-BGHGYX6A.js} +3 -0
  271. package/chunks/{glob-Y54QUWDY.js → glob-DMGH7EZN.js} +47 -47
  272. package/chunks/goal-tools-3RF3PXCL.js +99 -0
  273. package/chunks/{grep-5GPICQBU.js → grep-AJVLCVXC.js} +9 -7
  274. package/chunks/handleAutoUpdate-HVWQT2AU.js +110 -0
  275. package/chunks/i18n-5OR7NTRZ.js +125 -0
  276. package/chunks/{image-gen-J6FDGUZP.js → image-gen-VOIDOHOB.js} +8 -8
  277. package/chunks/initializer-JE5RQSOE.js +114 -0
  278. package/chunks/installationInfo-KO3CCSCK.js +108 -0
  279. package/chunks/{ja-2GL5FKYJ.js → ja-G3FTD5XE.js} +3 -0
  280. package/chunks/{keychain-token-storage-37XPR34V.js → keychain-token-storage-REZVMJA6.js} +2 -2
  281. package/chunks/list-3IORSFIY.js +117 -0
  282. package/chunks/list-agents-SBMONIUK.js +128 -0
  283. package/chunks/{llm-NSAVK5V3.js → llm-K26SUDVK.js} +223 -140
  284. package/chunks/{llm-content-generator-AY2QKXHE.js → llm-content-generator-TT6EAUD4.js} +11 -12
  285. package/chunks/loadedSettingsAdapter-KLLFZF3M.js +111 -0
  286. package/chunks/{loggingContentGenerator-DSFQHXIF.js → loggingContentGenerator-EYQBA4M4.js} +66 -65
  287. package/chunks/{loop-wakeup-XJFONSQ7.js → loop-wakeup-QA6SHCZT.js} +5 -5
  288. package/chunks/{ls-3VAT2J7A.js → ls-HEJNCEYO.js} +4 -4
  289. package/chunks/{lsp-5W7IRUBH.js → lsp-WOQKNZP6.js} +2 -2
  290. package/chunks/{managed-npm-update-TSWENTK5.js → managed-npm-update-HIJTODQT.js} +61 -60
  291. package/chunks/mcp-A2UEHETW.js +111 -0
  292. package/chunks/{monitor-RW4GWJHB.js → monitor-DKNZQAB2.js} +46 -46
  293. package/chunks/{node-QKLNSZMX.js → node-UETAYMMO.js} +3 -3
  294. package/chunks/nonInteractiveCli-YA47F2F4.js +190 -0
  295. package/chunks/{notebook-edit-CQNYS5OR.js → notebook-edit-MGHTRL2D.js} +47 -47
  296. package/chunks/{open-with-auth-YN3QZHVM.js → open-with-auth-D6JD6LDS.js} +3 -3
  297. package/chunks/{openaiContentGenerator-J6QIF7EX.js → openaiContentGenerator-ZJIEQ3ZJ.js} +26 -28
  298. package/chunks/pidfile-ETHAZNMY.js +112 -0
  299. package/chunks/{processUtils-GPHNANKZ.js → processUtils-UY3SAJJZ.js} +2 -2
  300. package/chunks/prompt-terminal-ledger-GZ747VYE.js +106 -0
  301. package/chunks/{pt-XN2YWJVM.js → pt-D73IFYT7.js} +3 -0
  302. package/chunks/{qwenContentGenerator-WWDXPYQI.js → qwenContentGenerator-VI4KATRY.js} +58 -58
  303. package/chunks/{qwenOAuth2-OF5WRBQT.js → qwenOAuth2-7AOCKSOQ.js} +7 -7
  304. package/chunks/{read-file-FQUQHC6N.js → read-file-P7F4P7LV.js} +11 -13
  305. package/chunks/{read-mcp-resource-XD257PGJ.js → read-mcp-resource-GLAGB6R7.js} +2 -2
  306. package/chunks/{record-artifact-VW23GS4F.js → record-artifact-SWVR7NSU.js} +4 -4
  307. package/chunks/renderer-selection-M4UN63VJ.js +99 -0
  308. package/chunks/{report-findings-AO5VYFLR.js → report-findings-AL5YW3KI.js} +5 -5
  309. package/chunks/{request-shutdown-BCLA3JV2.js → request-shutdown-5YK4IZ54.js} +8 -7
  310. package/chunks/resumeHistoryUtils-DPZKFW24.js +119 -0
  311. package/chunks/ripGrep-C7LJKUPZ.js +37 -0
  312. package/chunks/{ru-OLTMFJEW.js → ru-QMISLKRH.js} +3 -0
  313. package/chunks/{run-qwen-serve-5X6IDZER.js → run-qwen-serve-OGTEEUR2.js} +589 -251
  314. package/chunks/{runtime-HK27GMPF.js → runtime-LNBLEMZS.js} +73 -72
  315. package/chunks/scheduled-tasks-FLDYZQOF.js +128 -0
  316. package/chunks/{scheduler-WD4MHMO5.js → scheduler-73YXGUGW.js} +62 -61
  317. package/chunks/{sdk-exporters-grpc-G5IT4XS4.js → sdk-exporters-grpc-MXTVSE3C.js} +2 -2
  318. package/chunks/{sdk-exporters-http-TTU2CHBU.js → sdk-exporters-http-3JO5TJNU.js} +4 -4
  319. package/chunks/{sdk-impl-UUMVYMAL.js → sdk-impl-HZAUUTHJ.js} +6 -6
  320. package/chunks/{send-message-AJ4OCUBV.js → send-message-JC7NJTY6.js} +166 -35
  321. package/chunks/serve-3UR2H4CV.js +119 -0
  322. package/chunks/{server-GO2N5DH7.js → server-AOYZVVOM.js} +2904 -860
  323. package/chunks/{session-IFNHTUBT.js → session-UAWFNFGI.js} +119 -114
  324. package/chunks/session-attachments-root-ZCGXQQTR.js +104 -0
  325. package/chunks/{session-pr-refresh-I3UBWMVP.js → session-pr-refresh-CT2INROL.js} +157 -88
  326. package/chunks/{settings-L6N54CU6.js → settings-BHRGDASJ.js} +67 -66
  327. package/chunks/{shell-4Y5LLW6N.js → shell-YHOGC7TO.js} +46 -46
  328. package/chunks/{skill-YOWTRAKQ.js → skill-ZGBKNCHQ.js} +131 -97
  329. package/chunks/skill-settings-AKSP665O.js +119 -0
  330. package/chunks/spawnChannel-N25MBB6F.js +112 -0
  331. package/chunks/standalone-update-XGPWJDRN.js +119 -0
  332. package/chunks/start-opentui-ui-FZ4USOU7.js +55342 -0
  333. package/chunks/{startInteractiveUI-XDFSHBZD.js → startInteractiveUI-E2WQJUOA.js} +3509 -4706
  334. package/chunks/{syntheticOutput-ML43GEFN.js → syntheticOutput-HJNZSEHN.js} +3 -3
  335. package/chunks/{task-create-QN4LYRSE.js → task-create-6RSD54S5.js} +12 -12
  336. package/chunks/{task-list-JPLGK45U.js → task-list-IQSACPOM.js} +34 -11
  337. package/chunks/{task-stop-CXEH5L2D.js → task-stop-HE2LRQNW.js} +2 -2
  338. package/chunks/{task-update-IWEOJFV2.js → task-update-XAJ2NYOA.js} +13 -14
  339. package/chunks/{team-create-OOPXCDBA.js → team-create-SOKMYSQU.js} +54 -55
  340. package/chunks/{team-delete-RZVVSGCY.js → team-delete-NGNNKGMG.js} +25 -8
  341. package/chunks/{team-plan-approval-DSX5EWAT.js → team-plan-approval-U7ZWXYAY.js} +46 -46
  342. package/chunks/terminal-image-renderer-KKM4OBLO.js +117 -0
  343. package/chunks/theme-manager-GQHF3A7T.js +103 -0
  344. package/chunks/{todoWrite-WDJNQEMW.js → todoWrite-5UTVUXHA.js} +39 -9
  345. package/chunks/{tool-search-J5Q6U7DN.js → tool-search-IAI2RVWT.js} +21 -19
  346. package/chunks/total-session-admission-G4CGCSTG.js +113 -0
  347. package/chunks/trustedFolders-D2I3FDPB.js +123 -0
  348. package/chunks/{update-relaunch-SIKHLHVR.js → update-relaunch-5RWKZAL3.js} +5 -5
  349. package/chunks/updateCheck-ZXOQDFEI.js +119 -0
  350. package/chunks/useAutoAcceptIndicator-6EK4QGAH.js +121 -0
  351. package/chunks/{validateNonInterActiveAuth-JUDQP6V4.js → validateNonInterActiveAuth-QPFEKATS.js} +113 -109
  352. package/chunks/{version-C63GDDWN.js → version-JKNG7YDH.js} +1 -1
  353. package/chunks/{web-fetch-FOQZMNSC.js → web-fetch-X3AHIIHW.js} +16 -19
  354. package/chunks/{web-search-PUJTBFUC.js → web-search-K2FMOGS5.js} +10 -11
  355. package/chunks/{web-shell-static-HNB4FDOE.js → web-shell-static-POZHGGXE.js} +5 -4
  356. package/chunks/{workflow-Y5IPINVH.js → workflow-TOLPAK5G.js} +213 -119
  357. package/chunks/workspace-providers-status-PCJK3RC7.js +115 -0
  358. package/chunks/{workspace-registration-store-SMJWI2AI.js → workspace-registration-store-KQWVVW4Y.js} +2 -1
  359. package/chunks/workspace-registry-YNIOB6HJ.js +122 -0
  360. package/chunks/workspace-runtime-coordinator-WG2RNEN7.js +123 -0
  361. package/chunks/workspace-service-G4ZNBOFH.js +127 -0
  362. package/chunks/workspace-skills-status-FMTPPMWC.js +114 -0
  363. package/chunks/{workspace-trust-reconciler-PLIDLJZX.js → workspace-trust-reconciler-IBDFQBQS.js} +76 -77
  364. package/chunks/wrapper-JH3IFHT2.js +35 -0
  365. package/chunks/write-file-YTLFY2S5.js +88 -0
  366. package/chunks/{zh-UNY63FR3.js → zh-25DF7OGK.js} +5 -0
  367. package/chunks/{zh-TW-RPTMRTHG.js → zh-TW-5EDMZVGK.js} +5 -0
  368. package/chunks/{zoom-image-LYQD7BQA.js → zoom-image-IFXSN74N.js} +11 -13
  369. package/cli.js +131 -90
  370. package/locales/ca.js +6 -0
  371. package/locales/de.js +6 -0
  372. package/locales/en.js +9 -0
  373. package/locales/fr.js +6 -0
  374. package/locales/ja.js +6 -0
  375. package/locales/pt.js +6 -0
  376. package/locales/ru.js +6 -0
  377. package/locales/zh-TW.js +9 -0
  378. package/locales/zh.js +9 -0
  379. package/package.json +3 -3
  380. package/web-shell/assets/{abnfDiagram-VCTEODGH-TRCMSA_6.js → abnfDiagram-VCTEODGH-Cxf7xE_Z.js} +1 -1
  381. package/web-shell/assets/{arc-D9Uls5b3.js → arc-ESi1eNkE.js} +1 -1
  382. package/web-shell/assets/{architectureDiagram-5GKGNRK7-Bwb8jPXg.js → architectureDiagram-5GKGNRK7-D9l7-bDo.js} +1 -1
  383. package/web-shell/assets/{blockDiagram-NRAW4CY4-DHj71TSX.js → blockDiagram-NRAW4CY4-Bc8DEasw.js} +1 -1
  384. package/web-shell/assets/{c4Diagram-UCG6FXSJ-uKBBdbyr.js → c4Diagram-UCG6FXSJ-Dimb2Hmh.js} +1 -1
  385. package/web-shell/assets/channel-B7ohGDil.js +1 -0
  386. package/web-shell/assets/{chunk-2Q5K7J3B-BZd0Phrl.js → chunk-2Q5K7J3B-jVDmOpAQ.js} +1 -1
  387. package/web-shell/assets/{chunk-5VM5RSS4-7KNeNBqN.js → chunk-5VM5RSS4-DbG_SwdB.js} +1 -1
  388. package/web-shell/assets/{chunk-F27PBJKO-BeboS7Fi.js → chunk-F27PBJKO-QEc4cY1v.js} +1 -1
  389. package/web-shell/assets/{chunk-G27WJ6UU-RV3JONoj.js → chunk-G27WJ6UU-iJ36lQ3X.js} +1 -1
  390. package/web-shell/assets/{chunk-JWPE2WC7-Yw9FCFsP.js → chunk-JWPE2WC7-DuArnVtF.js} +1 -1
  391. package/web-shell/assets/{chunk-LCL6LL3I-GIMnydDe.js → chunk-LCL6LL3I-DxOf1zwL.js} +1 -1
  392. package/web-shell/assets/{chunk-POPQ4Y6H-Cfrux7bL.js → chunk-POPQ4Y6H-lVLu9Ild.js} +1 -1
  393. package/web-shell/assets/{chunk-SVP7TREG-BlvIN0CO.js → chunk-SVP7TREG-C6XYlIer.js} +1 -1
  394. package/web-shell/assets/{chunk-XXDRQBXY-DMs7Rr4t.js → chunk-XXDRQBXY-CiG2j2Ji.js} +1 -1
  395. package/web-shell/assets/classDiagram-DTDB5LWJ-DdFpqpfD.js +1 -0
  396. package/web-shell/assets/classDiagram-v2-JRS7N3AN-DdFpqpfD.js +1 -0
  397. package/web-shell/assets/{cose-bilkent-JH36ORCC-DNGqTNwI.js → cose-bilkent-JH36ORCC-DGVHMMVm.js} +1 -1
  398. package/web-shell/assets/{cynefin-OW5HDTMX-CojMpaoH.js → cynefin-OW5HDTMX-D6cgpCnH.js} +1 -1
  399. package/web-shell/assets/{cynefinDiagram-5FMLGOSQ-DF07YXGo.js → cynefinDiagram-5FMLGOSQ-BKv4Z-UX.js} +1 -1
  400. package/web-shell/assets/{dagre-3AP2YEHR-17-4WtCH.js → dagre-3AP2YEHR-B4ABMIG-.js} +1 -1
  401. package/web-shell/assets/{diagram-S7CK7UJ4-G3Wuyz9m.js → diagram-S7CK7UJ4-DgCkp_Lm.js} +1 -1
  402. package/web-shell/assets/{diagram-UQ7AKVKN-nyWIKZ8P.js → diagram-UQ7AKVKN-FG0FNokz.js} +1 -1
  403. package/web-shell/assets/{diagram-VSXAHHWV-tKHhmYSC.js → diagram-VSXAHHWV-JgkP9qg-.js} +1 -1
  404. package/web-shell/assets/{diagram-VX7I27RA-CpDf1hYk.js → diagram-VX7I27RA-ADh2x83l.js} +1 -1
  405. package/web-shell/assets/{diagram-Z3DM3KII-Cah2IFXG.js → diagram-Z3DM3KII-yXqoYF1J.js} +1 -1
  406. package/web-shell/assets/{ebnfDiagram-PWID7BFC-DNaCkgxy.js → ebnfDiagram-PWID7BFC-Duk83Ek_.js} +1 -1
  407. package/web-shell/assets/{erDiagram-SSCWMZ5O-CAdRgcf1.js → erDiagram-SSCWMZ5O-DMdvxySG.js} +1 -1
  408. package/web-shell/assets/{flowDiagram-A5DVABFB-CMUJAShL.js → flowDiagram-A5DVABFB-DHjVgSji.js} +1 -1
  409. package/web-shell/assets/{ganttDiagram-EL5Y4UJY-o-_MUNey.js → ganttDiagram-EL5Y4UJY-DMM9DkCE.js} +1 -1
  410. package/web-shell/assets/{gitGraphDiagram-WWUBYQGX-_aG-2Z7O.js → gitGraphDiagram-WWUBYQGX-t_ug9vO8.js} +1 -1
  411. package/web-shell/assets/index-BGZRqbRo.css +36 -0
  412. package/web-shell/assets/index-DRri_6_x.js +2067 -0
  413. package/web-shell/assets/{index-BK_NKxiJ.js → index-zqvnpGHv.js} +1 -1
  414. package/web-shell/assets/{infoDiagram-RXCK75RN-qJPeZbGP.js → infoDiagram-RXCK75RN-eT1fANNm.js} +1 -1
  415. package/web-shell/assets/{ishikawaDiagram-5VMMS53U-7Om4vNo1.js → ishikawaDiagram-5VMMS53U-k3evzZNn.js} +1 -1
  416. package/web-shell/assets/{journeyDiagram-EYS64GPL-BNtXqmBW.js → journeyDiagram-EYS64GPL-CGim3EAi.js} +1 -1
  417. package/web-shell/assets/{kanban-definition-3QL26DDD-COgFec8P.js → kanban-definition-3QL26DDD-WHfJo-22.js} +1 -1
  418. package/web-shell/assets/{layout-B9n81PC9.js → layout-DkqIaFlJ.js} +1 -1
  419. package/web-shell/assets/{linear-Bb6nXZQq.js → linear-Bdkd3mCz.js} +1 -1
  420. package/web-shell/assets/{mermaid.core-Cgrm3JVT.js → mermaid.core-CGw0LkT_.js} +6 -6
  421. package/web-shell/assets/{mindmap-definition-FBJOCRG2-TKwLTjnG.js → mindmap-definition-FBJOCRG2-C9V4rBvo.js} +1 -1
  422. package/web-shell/assets/{pegDiagram-XKGWAZYB-BJPuvlpi.js → pegDiagram-XKGWAZYB-CwoI2T5G.js} +1 -1
  423. package/web-shell/assets/{pieDiagram-E7YTZNPT-D01VkNsW.js → pieDiagram-E7YTZNPT-DaTmBmPG.js} +1 -1
  424. package/web-shell/assets/{quadrantDiagram-AXDQQJYC-C4hHsiv-.js → quadrantDiagram-AXDQQJYC-plh6MyGI.js} +1 -1
  425. package/web-shell/assets/{railroadDiagram-O6MQD6OU-CuEO4xK2.js → railroadDiagram-O6MQD6OU-D_b-S0iK.js} +1 -1
  426. package/web-shell/assets/{requirementDiagram-EFPCY7ZU-D5J_vIo5.js → requirementDiagram-EFPCY7ZU-zUzTN7VE.js} +1 -1
  427. package/web-shell/assets/{sankeyDiagram-P5KCCOFB-DQKY223V.js → sankeyDiagram-P5KCCOFB-m6AhoD0l.js} +1 -1
  428. package/web-shell/assets/{sequenceDiagram-WJ2MYXX4-D27YV_cm.js → sequenceDiagram-WJ2MYXX4-Cwhzsine.js} +1 -1
  429. package/web-shell/assets/{sizeCapture-X5ZJPWSS-TJg8UcwV.js → sizeCapture-X5ZJPWSS-CcZuKIae.js} +1 -1
  430. package/web-shell/assets/{stateDiagram-HBIQ2CUA-CmnPzUIx.js → stateDiagram-HBIQ2CUA-CFoiJwD_.js} +1 -1
  431. package/web-shell/assets/stateDiagram-v2-4QOOHH4V--H8HdEmk.js +1 -0
  432. package/web-shell/assets/{swimlanes-XN3QIQJK-ByeP3_Nu.js → swimlanes-XN3QIQJK-CgS9hcaV.js} +1 -1
  433. package/web-shell/assets/swimlanesDiagram-VK2B7HYN-ShE9OIgf.js +8 -0
  434. package/web-shell/assets/{timeline-definition-24CTP7MA-BsFA5juR.js → timeline-definition-24CTP7MA-Dzzc05t9.js} +1 -1
  435. package/web-shell/assets/{vennDiagram-4TSXK5OY-DREP2ECo.js → vennDiagram-4TSXK5OY-DemK0f7Y.js} +1 -1
  436. package/web-shell/assets/{wardleyDiagram-VM6X3IG4-iyd9lKi2.js → wardleyDiagram-VM6X3IG4-CquLxtMr.js} +1 -1
  437. package/web-shell/assets/{xychartDiagram-S5SC5T6Z-CVr1_j9q.js → xychartDiagram-S5SC5T6Z-BTBKTM5g.js} +1 -1
  438. package/web-shell/index.html +196 -2
  439. package/chunks/MaxSizedBox-X42SXBJH.js +0 -110
  440. package/chunks/agent-headless-IZM25LJA.js +0 -85
  441. package/chunks/bridge-ME6QXZNA.js +0 -119
  442. package/chunks/channel-settings-store-PEOI7XCG.js +0 -120
  443. package/chunks/chunk-7J6OTNGO.js +0 -424
  444. package/chunks/chunk-BWORX6FA.js +0 -135
  445. package/chunks/chunk-CPBF7KYF.js +0 -51
  446. package/chunks/chunk-H72BQNM3.js +0 -645
  447. package/chunks/chunk-JHYH6PYQ.js +0 -3096
  448. package/chunks/chunk-SS4MRMKE.js +0 -3525
  449. package/chunks/chunk-T4EFG2P5.js +0 -113
  450. package/chunks/chunk-XZA32HII.js +0 -19
  451. package/chunks/chunk-ZYNTSXWK.js +0 -32
  452. package/chunks/config-utils-R6M3TA34.js +0 -113
  453. package/chunks/contextCommand-ZCAP23J6.js +0 -106
  454. package/chunks/daemon-status-provider-K3SJ5C2U.js +0 -117
  455. package/chunks/daemon-trust-policy-DOR3YG62.js +0 -112
  456. package/chunks/deferred-core-runtime-WOYLUQQ7.js +0 -114
  457. package/chunks/earlyInputCapture-OHBEVO4K.js +0 -107
  458. package/chunks/errors-WAK6KFBC.js +0 -113
  459. package/chunks/exitPlanMode-UEYBG6P5.js +0 -83
  460. package/chunks/goal-tools-PTD3MBA7.js +0 -411
  461. package/chunks/handleAutoUpdate-FP3NWNSG.js +0 -109
  462. package/chunks/i18n-INIU5X7A.js +0 -124
  463. package/chunks/initializer-TYODV6GE.js +0 -113
  464. package/chunks/installationInfo-AAPKYDSZ.js +0 -107
  465. package/chunks/list-TUODDN6J.js +0 -116
  466. package/chunks/list-agents-DI3YFTDT.js +0 -80
  467. package/chunks/loadedSettingsAdapter-KJCLZ3C4.js +0 -110
  468. package/chunks/mcp-MWSAPFOL.js +0 -110
  469. package/chunks/nonInteractiveCli-JXKL343Q.js +0 -185
  470. package/chunks/pidfile-QOIQZFT2.js +0 -111
  471. package/chunks/prompt-terminal-ledger-FOMFTYOM.js +0 -105
  472. package/chunks/resumeHistoryUtils-NSGF3UCB.js +0 -118
  473. package/chunks/ripGrep-4CAT6SKV.js +0 -39
  474. package/chunks/scheduled-tasks-MN2ZZ5P6.js +0 -127
  475. package/chunks/serve-2XCHPPGG.js +0 -118
  476. package/chunks/skill-settings-ZL4JY5UE.js +0 -118
  477. package/chunks/spawnChannel-ZST6XJVJ.js +0 -112
  478. package/chunks/standalone-update-THVU3OKY.js +0 -118
  479. package/chunks/terminal-image-renderer-KS25G33E.js +0 -114
  480. package/chunks/theme-manager-YMZNG45F.js +0 -102
  481. package/chunks/total-session-admission-PVN64JVV.js +0 -114
  482. package/chunks/trustedFolders-FATSC4YI.js +0 -122
  483. package/chunks/updateCheck-D3YG2WCD.js +0 -118
  484. package/chunks/useAutoAcceptIndicator-ILINOSAS.js +0 -120
  485. package/chunks/workspace-providers-status-IJ4VHFMB.js +0 -114
  486. package/chunks/workspace-registry-BTGZIMPK.js +0 -123
  487. package/chunks/workspace-service-SIN67ITC.js +0 -126
  488. package/chunks/workspace-skills-status-F3RKCUIX.js +0 -113
  489. package/chunks/write-file-PAIGB33C.js +0 -88
  490. package/web-shell/assets/channel-CXjVLaBa.js +0 -1
  491. package/web-shell/assets/classDiagram-DTDB5LWJ-DANEijO3.js +0 -1
  492. package/web-shell/assets/classDiagram-v2-JRS7N3AN-DANEijO3.js +0 -1
  493. package/web-shell/assets/index-Ci-z4zWY.js +0 -1913
  494. package/web-shell/assets/index-LDlXZRHA.css +0 -36
  495. package/web-shell/assets/stateDiagram-v2-4QOOHH4V-DNKPyrDc.js +0 -1
  496. package/web-shell/assets/swimlanesDiagram-VK2B7HYN-ZL1HPC6w.js +0 -8
  497. /package/chunks/{chunk-FOGQO4FG.js → chunk-JA5CBKRP.js} +0 -0
@@ -8,40 +8,42 @@ import {
8
8
  staleArgsWarning,
9
9
  validateAuthMethod,
10
10
  writeSkillArgs
11
- } from "./chunk-DJPASAUV.js";
12
- import {
13
- isKittyProtocolEnabled
14
- } from "./chunk-NYX53SV4.js";
15
- import {
16
- contextCommand
17
- } from "./chunk-6X7EU5TI.js";
11
+ } from "./chunk-MP6YZ4RK.js";
18
12
  import {
19
13
  calculateCost,
20
14
  computeSessionStats,
21
15
  diffCommand,
22
16
  filterCommandsForMode,
23
17
  findInlineMathExpressions,
18
+ formatCompressionTokenCount,
19
+ getCompressionFailureStatusText,
24
20
  getSystemInfoFields,
25
21
  levelLabel
26
- } from "./chunk-WGY3AVGM.js";
27
- import {
28
- VSCODE_SHIFT_ENTER_SEQUENCE,
29
- isWaylandSession,
30
- writeOsc52
31
- } from "./chunk-CFJY4DGX.js";
22
+ } from "./chunk-5RTTI4GE.js";
32
23
  import {
33
24
  formatDuration,
34
25
  formatTokenCount
35
26
  } from "./chunk-3SH53ANB.js";
36
27
  import {
37
- rollbackStandaloneUpdate
38
- } from "./chunk-ZYMLPEZQ.js";
28
+ isKittyProtocolEnabled
29
+ } from "./chunk-NYX53SV4.js";
30
+ import {
31
+ VSCODE_SHIFT_ENTER_SEQUENCE,
32
+ isWaylandSession,
33
+ writeOsc52
34
+ } from "./chunk-M4LBBSVP.js";
35
+ import {
36
+ contextCommand
37
+ } from "./chunk-SX2QIMJV.js";
39
38
  import {
40
39
  themeManager
41
- } from "./chunk-QFCDF5PL.js";
40
+ } from "./chunk-JHN7UIDW.js";
41
+ import {
42
+ rollbackStandaloneUpdate
43
+ } from "./chunk-UM2FFKXN.js";
42
44
  import {
43
45
  getErrorMessage as getErrorMessage2
44
- } from "./chunk-MPNBVAEU.js";
46
+ } from "./chunk-VNAYZAFX.js";
45
47
  import {
46
48
  GITHUB_WORKFLOW_PATHS,
47
49
  INSIGHT_CSS,
@@ -54,12 +56,12 @@ import {
54
56
  toJson,
55
57
  toJsonl,
56
58
  toMarkdown
57
- } from "./chunk-ST5MDGH3.js";
59
+ } from "./chunk-QI27MKNQ.js";
58
60
  import {
59
61
  stripUnsafeCharacters,
60
62
  toCodePoints,
61
63
  truncateToWidth
62
- } from "./chunk-E7REAOTN.js";
64
+ } from "./chunk-47ECGEJC.js";
63
65
  import {
64
66
  isValidSessionId
65
67
  } from "./chunk-ZEZKIS2K.js";
@@ -70,16 +72,19 @@ import {
70
72
  isVoiceEnabled,
71
73
  readVoiceMode,
72
74
  readVoiceModel
73
- } from "./chunk-A3LWD5MK.js";
75
+ } from "./chunk-BA4WJC4L.js";
74
76
  import {
75
77
  getExtendedSystemInfo,
76
78
  getGitVersion,
77
79
  getNpmVersion
78
- } from "./chunk-VGIFXISB.js";
80
+ } from "./chunk-RN3YGDCA.js";
79
81
  import {
80
82
  isInlineModelOverrideAllowed,
81
83
  parseAcpModelOption
82
- } from "./chunk-OU5APVWO.js";
84
+ } from "./chunk-6A2D4QSO.js";
85
+ import {
86
+ getInstallationInfo
87
+ } from "./chunk-7XL4WRXM.js";
83
88
  import {
84
89
  OUTPUT_LANGUAGE_AUTO,
85
90
  getAllSettingKeys,
@@ -91,24 +96,21 @@ import {
91
96
  resolveOutputLanguageOrPreserveAuto,
92
97
  validateSettingValue,
93
98
  writeOutputLanguageAndRegisterPath
94
- } from "./chunk-AIAOIFY4.js";
99
+ } from "./chunk-VWTSRH6C.js";
95
100
  import {
96
101
  getCurrentLanguage,
97
102
  setLanguageAsync,
98
103
  t
99
- } from "./chunk-CLWO3B77.js";
104
+ } from "./chunk-I4NRYS6A.js";
100
105
  import {
101
106
  SUPPORTED_LANGUAGES,
102
107
  getSupportedLanguageIds,
103
108
  resolveSupportedLanguage
104
109
  } from "./chunk-5EJZE3FP.js";
105
- import {
106
- getInstallationInfo
107
- } from "./chunk-V2NDP3I4.js";
108
110
  import {
109
111
  isFolderTrustEnabled,
110
112
  loadTrustedFolders
111
- } from "./chunk-MF7HCQWZ.js";
113
+ } from "./chunk-65HWLGA7.js";
112
114
  import {
113
115
  require_strip_json_comments
114
116
  } from "./chunk-NPQ5ZKRP.js";
@@ -122,32 +124,35 @@ import {
122
124
  buildLearnSkillPrompt,
123
125
  buildLearnVideoSkillRequest,
124
126
  buildManagedRememberPrompt,
125
- canonicalizeMsgId,
126
- describeHoldCause,
127
127
  encodeInsightErrorMessage,
128
128
  encodeInsightProgressMessage,
129
129
  encodeInsightReadyMessage,
130
130
  findProviderByCredentials,
131
- flattenPeerLabel,
132
131
  generateSessionRecap,
133
132
  getIdeInstaller,
134
133
  getMCPServerPrompts,
135
134
  isWsl,
136
135
  parseLearnVideoInput,
137
136
  readPathFromWorkspace
138
- } from "./chunk-NV55WWD6.js";
137
+ } from "./chunk-JUARRUMA.js";
139
138
  import {
140
139
  listSavedWorkflows,
141
140
  listWorkflowSnapshots
142
- } from "./chunk-2OUD5T67.js";
141
+ } from "./chunk-I2TMJPCV.js";
142
+ import {
143
+ canonicalizeMsgId,
144
+ describeHoldCause,
145
+ flattenPeerLabel
146
+ } from "./chunk-4UANMABT.js";
143
147
  import {
144
148
  resolveOpenAILogDir
145
- } from "./chunk-ST5V3ZOC.js";
149
+ } from "./chunk-SULZPKTA.js";
146
150
  import {
147
151
  ArenaManager,
148
152
  ConditionalRulesRegistry,
149
153
  EXTENSIONS_CONFIG_FILENAME,
150
154
  ExtensionManager,
155
+ GoalPersistenceUnavailableError,
151
156
  IdeClient,
152
157
  QWEN_CODE_COMPANION_EXTENSION_NAME,
153
158
  SESSION_TITLE_MAX_LENGTH,
@@ -156,17 +161,14 @@ import {
156
161
  appendToLastTextPart,
157
162
  buildBackgroundEntryLabel,
158
163
  collectMemoryDiagnostics,
164
+ emptyGoalSnapshot,
159
165
  flatMapTextParts,
160
- formatMemoryUsage,
161
- getArenaSystemReminder,
162
166
  getExtensionDescription,
163
167
  getExtensionDisplayName,
164
- getInsightPrompt,
165
- getPlanModeSystemReminder,
166
- getProjectSummaryPrompt,
167
168
  hookEventSupportsMatcher,
168
169
  ideContextStore,
169
170
  isActiveWorkflowStatus,
171
+ isCompressionFailureStatus,
170
172
  isExtensionCommittedWithWarningsError,
171
173
  isImageGenerationCapable,
172
174
  isSignalTermination,
@@ -184,7 +186,7 @@ import {
184
186
  resolveSlimmingConfig,
185
187
  runForkedAgent,
186
188
  tryGenerateSessionTitle
187
- } from "./chunk-PZ66FRIC.js";
189
+ } from "./chunk-4F7GQGXB.js";
188
190
  import {
189
191
  external_exports
190
192
  } from "./chunk-CQ35AJ4Z.js";
@@ -192,7 +194,23 @@ import {
192
194
  buildRuntimeSnapshotId,
193
195
  resolveModelId,
194
196
  stripRuntimeSnapshotPrefix
195
- } from "./chunk-JB4JIVTJ.js";
197
+ } from "./chunk-OKTNXDVO.js";
198
+ import {
199
+ projectUserTranscriptForDisplay
200
+ } from "./chunk-EFTPIZIC.js";
201
+ import {
202
+ glob
203
+ } from "./chunk-QJNDUTOL.js";
204
+ import {
205
+ BUILT_IN_OUTPUT_STYLES,
206
+ getArenaSystemReminder,
207
+ getBuiltInOutputStyle,
208
+ getInsightPrompt,
209
+ getPlanModeSystemReminder,
210
+ getProjectSummaryPrompt,
211
+ isSystemMdActive,
212
+ resolveMainSessionOutputStyle
213
+ } from "./chunk-OSSTATJF.js";
196
214
  import {
197
215
  getAutoSkillCuratorStatus,
198
216
  parse,
@@ -200,33 +218,27 @@ import {
200
218
  restoreArchivedAutoSkill,
201
219
  runAutoSkillCurator,
202
220
  setAutoSkillPinned
203
- } from "./chunk-KJO2LBUK.js";
221
+ } from "./chunk-H43PSPYS.js";
204
222
  import {
205
223
  HookEventName,
206
224
  sanitizeUserPromptExpansionAdditionalContext
207
- } from "./chunk-TTX2JUE6.js";
225
+ } from "./chunk-U6D2PPMN.js";
208
226
  import {
209
227
  canUseRipgrep
210
- } from "./chunk-4K7KNVWH.js";
211
- import {
212
- glob
213
- } from "./chunk-SMPR7SPO.js";
228
+ } from "./chunk-VYIUNFEA.js";
214
229
  import {
215
230
  checkArgumentSafety,
216
231
  checkCommandPermissions,
217
232
  escapeShellArg,
218
233
  getShellConfiguration
219
- } from "./chunk-JWALNCLT.js";
234
+ } from "./chunk-KGV55H53.js";
220
235
  import {
221
- GoalPersistenceUnavailableError,
222
- emptyGoalSnapshot
223
- } from "./chunk-JHYH6PYQ.js";
224
- import {
225
- projectUserTranscriptForDisplay
226
- } from "./chunk-7J6OTNGO.js";
236
+ escapeJsonTagCharacters,
237
+ formatMemoryUsage
238
+ } from "./chunk-CHEIIBT3.js";
227
239
  import {
228
240
  APPROVAL_MODES
229
- } from "./chunk-V5J4J5TP.js";
241
+ } from "./chunk-JX6XHPTX.js";
230
242
  import {
231
243
  openBrowserSecurely
232
244
  } from "./chunk-NAVJD2PQ.js";
@@ -246,38 +258,37 @@ import {
246
258
  queryTokenUsage,
247
259
  read,
248
260
  recordSkillInvocation,
261
+ runSideQuery,
249
262
  uiTelemetryService
250
- } from "./chunk-QYMAKPY5.js";
263
+ } from "./chunk-GH2S4GD5.js";
251
264
  import {
252
265
  getCurrentMemoryFilename
253
- } from "./chunk-BKWNKLZB.js";
266
+ } from "./chunk-DYTW3QVG.js";
254
267
  import {
255
268
  getAutoMemoryRoot
256
- } from "./chunk-6PJOTWAN.js";
257
- import {
258
- runSideQuery
259
- } from "./chunk-BWORX6FA.js";
269
+ } from "./chunk-HT5S5TRQ.js";
260
270
  import {
261
271
  AuthType
262
- } from "./chunk-PPKZ7JOE.js";
272
+ } from "./chunk-22UH7VTP.js";
263
273
  import {
264
274
  normalizeContent,
265
275
  redactUrlCredentials
266
- } from "./chunk-B5PHIJGI.js";
276
+ } from "./chunk-QKDNS6FU.js";
267
277
  import {
268
278
  FORK_SUBAGENT_TYPE,
269
279
  stripStartupContext
270
- } from "./chunk-CAJTKR6W.js";
280
+ } from "./chunk-G7HBEEX7.js";
271
281
  import {
272
282
  applySkillAllowedTools,
273
- buildSkillLlmContent
274
- } from "./chunk-ZU4UDIWX.js";
283
+ buildSkillLlmContent,
284
+ canApplySkillSideEffects
285
+ } from "./chunk-QQD2GART.js";
275
286
  import {
276
287
  ToolDisplayNamesMigration,
277
288
  ToolNames,
278
289
  canonicalToolName,
279
290
  isShellProgressData
280
- } from "./chunk-UTLCH2FK.js";
291
+ } from "./chunk-7JMGTOH7.js";
281
292
  import {
282
293
  Storage,
283
294
  createDebugLogger,
@@ -286,12 +297,12 @@ import {
286
297
  isSubpath,
287
298
  resolvePath,
288
299
  updateSymlink
289
- } from "./chunk-UHQFIS7N.js";
300
+ } from "./chunk-EAHOJF6V.js";
290
301
  import {
291
302
  isCpuProfileRecording,
292
303
  startCpuProfile,
293
304
  stopCpuProfile
294
- } from "./chunk-MK2GIB46.js";
305
+ } from "./chunk-QJGYU5PG.js";
295
306
  import {
296
307
  init_esbuild_shims
297
308
  } from "./chunk-5O2XNYP6.js";
@@ -2440,7 +2451,7 @@ var approvalModeCommand = {
2440
2451
  };
2441
2452
  }
2442
2453
  }
2443
- const autoModeNotices = mode === "auto" /* AUTO */ && priorMode !== "auto" /* AUTO */ && config ? await import("./useAutoAcceptIndicator-ILINOSAS.js") : void 0;
2454
+ const autoModeNotices = mode === "auto" /* AUTO */ && priorMode !== "auto" /* AUTO */ && config ? await import("./useAutoAcceptIndicator-6EK4QGAH.js") : void 0;
2444
2455
  if (config) {
2445
2456
  try {
2446
2457
  config.setApprovalMode(mode);
@@ -2564,9 +2575,10 @@ __name(preview, "preview");
2564
2575
  function formatHeldList(held) {
2565
2576
  if (held.length === 0) return "No messages from other sessions are waiting.";
2566
2577
  const lines = held.map((entry) => {
2567
- const who = flattenPeerLabel(
2568
- entry.frame.fromName ?? entry.frame.from ?? "unknown session"
2578
+ const peerLabel = flattenPeerLabel(
2579
+ entry.frame.fromName ?? entry.frame.from ?? (entry.selfSent ? "this session" : "unknown session")
2569
2580
  );
2581
+ const who = `${entry.selfSent ? "[own process]" : "[peer]"} ${peerLabel}`;
2570
2582
  const handle = flattenPeerLabel(displayHandle(entry, held));
2571
2583
  return ` ${handle} ${who}
2572
2584
  ${preview(entry.frame.message.content)}
@@ -3423,6 +3435,16 @@ function describeBlockingBackgroundWork(config) {
3423
3435
  isWorkflowRun: true
3424
3436
  });
3425
3437
  }
3438
+ for (const runId of config.getWorkflowRunRegistry().listStartingRunIds()) {
3439
+ entries.push({
3440
+ startTime: now,
3441
+ id: runId,
3442
+ label: runId,
3443
+ status: "starting",
3444
+ isWorkflowRun: true,
3445
+ isStarting: true
3446
+ });
3447
+ }
3426
3448
  if (entries.length === 0) return void 0;
3427
3449
  entries.sort((a, b) => a.startTime - b.startTime);
3428
3450
  const listed = entries.slice(0, MAX_LISTED_BLOCKING_ENTRIES);
@@ -3431,6 +3453,7 @@ function describeBlockingBackgroundWork(config) {
3431
3453
  stripUnsafeCharacters(entry.label).replace(/[\r\n]+/g, " "),
3432
3454
  MAX_BLOCKING_LABEL_WIDTH
3433
3455
  );
3456
+ if (entry.isStarting) return ` [${entry.id}] (starting)`;
3434
3457
  return ` [${entry.id}] ${label} (${entry.status} ${formatDuration(
3435
3458
  now - entry.startTime,
3436
3459
  { hideTrailingZeros: true }
@@ -3443,7 +3466,10 @@ function describeBlockingBackgroundWork(config) {
3443
3466
  return {
3444
3467
  lines,
3445
3468
  hasTaskEntries: entries.some((entry) => !entry.isWorkflowRun),
3446
- hasWorkflowRuns: entries.some((entry) => entry.isWorkflowRun)
3469
+ hasInspectableWorkflowRuns: entries.some(
3470
+ (entry) => entry.isWorkflowRun && !entry.isStarting
3471
+ ),
3472
+ hasStartingWorkflowRuns: entries.some((entry) => entry.isStarting)
3447
3473
  };
3448
3474
  }
3449
3475
  __name(describeBlockingBackgroundWork, "describeBlockingBackgroundWork");
@@ -3452,12 +3478,13 @@ function buildBackgroundWorkBlockedMessage(config, baseMessage) {
3452
3478
  if (!blocking) return baseMessage;
3453
3479
  const surfaces = [
3454
3480
  ...blocking.hasTaskEntries ? ["/tasks"] : [],
3455
- ...blocking.hasWorkflowRuns ? ["/workflows"] : []
3481
+ ...blocking.hasInspectableWorkflowRuns ? ["/workflows"] : []
3456
3482
  ].join(" and ");
3457
3483
  return [
3458
3484
  baseMessage,
3459
3485
  ...blocking.lines,
3460
- `Use ${surfaces} to inspect them, then retry.`
3486
+ ...surfaces ? [`Use ${surfaces} to inspect them, then retry.`] : [],
3487
+ ...blocking.hasStartingWorkflowRuns ? ["Retry once the run has finished starting."] : []
3461
3488
  ].join("\n");
3462
3489
  }
3463
3490
  __name(buildBackgroundWorkBlockedMessage, "buildBackgroundWorkBlockedMessage");
@@ -3902,7 +3929,6 @@ var deleteCommand = {
3902
3929
  // packages/cli/src/ui/commands/compressCommand.ts
3903
3930
  init_esbuild_shims();
3904
3931
  var MAX_COMPRESS_INSTRUCTIONS_CHARS = 2e3;
3905
- var formatTokenCount2 = /* @__PURE__ */ __name((count, isEstimated) => isEstimated ? `~${count}` : String(count), "formatTokenCount");
3906
3932
  var compressCommand = {
3907
3933
  name: "compress",
3908
3934
  altNames: ["summarize"],
@@ -3972,16 +3998,19 @@ var compressCommand = {
3972
3998
  content: "Compressing context..."
3973
3999
  };
3974
4000
  const compressed = await doCompress();
3975
- if (!compressed) {
4001
+ if (!compressed || isCompressionFailureStatus(compressed.compressionStatus)) {
3976
4002
  yield {
3977
4003
  messageType: "error",
3978
- content: t("Failed to compress chat history.")
4004
+ content: compressed ? getCompressionFailureStatusText({
4005
+ compressionStatus: compressed.compressionStatus,
4006
+ originalTokenCount: compressed.originalTokenCount
4007
+ }) : t("Failed to compress chat history.")
3979
4008
  };
3980
4009
  return;
3981
4010
  }
3982
4011
  yield {
3983
4012
  messageType: "info",
3984
- content: `Context compressed (${formatTokenCount2(compressed.originalTokenCount, compressed.originalTokenCountIsEstimated)} -> ${formatTokenCount2(compressed.newTokenCount, compressed.newTokenCountIsEstimated)}).` + (compressed.warning ? `
4013
+ content: `Context compressed (${formatCompressionTokenCount(compressed.originalTokenCount, compressed.originalTokenCountIsEstimated)} -> ${formatCompressionTokenCount(compressed.newTokenCount, compressed.newTokenCountIsEstimated)}).` + (compressed.warning ? `
3985
4014
  \u26A0\uFE0F ${compressed.warning}` : "")
3986
4015
  };
3987
4016
  } catch (e) {
@@ -4009,7 +4038,7 @@ var compressCommand = {
4009
4038
  if (abortSignal?.aborted) {
4010
4039
  return;
4011
4040
  }
4012
- if (!compressed) {
4041
+ if (!compressed || executionMode !== "interactive" && isCompressionFailureStatus(compressed.compressionStatus)) {
4013
4042
  if (executionMode === "interactive") {
4014
4043
  ui.addItem(
4015
4044
  {
@@ -4023,7 +4052,10 @@ var compressCommand = {
4023
4052
  return {
4024
4053
  type: "message",
4025
4054
  messageType: "error",
4026
- content: t("Failed to compress chat history.")
4055
+ content: compressed ? getCompressionFailureStatusText({
4056
+ compressionStatus: compressed.compressionStatus,
4057
+ originalTokenCount: compressed.originalTokenCount
4058
+ }) : t("Failed to compress chat history.")
4027
4059
  };
4028
4060
  }
4029
4061
  if (executionMode === "interactive") {
@@ -4053,7 +4085,7 @@ var compressCommand = {
4053
4085
  return {
4054
4086
  type: "message",
4055
4087
  messageType: "info",
4056
- content: `${truncationNotice ? `${truncationNotice} ` : ""}Context compressed (${formatTokenCount2(compressed.originalTokenCount, compressed.originalTokenCountIsEstimated)} -> ${formatTokenCount2(compressed.newTokenCount, compressed.newTokenCountIsEstimated)}).` + (compressed.warning ? `
4088
+ content: `${truncationNotice ? `${truncationNotice} ` : ""}Context compressed (${formatCompressionTokenCount(compressed.originalTokenCount, compressed.originalTokenCountIsEstimated)} -> ${formatCompressionTokenCount(compressed.newTokenCount, compressed.newTokenCountIsEstimated)}).` + (compressed.warning ? `
4057
4089
  \u26A0\uFE0F ${compressed.warning}` : "")
4058
4090
  };
4059
4091
  } catch (e) {
@@ -4089,7 +4121,7 @@ var compressCommand = {
4089
4121
 
4090
4122
  // packages/cli/src/ui/commands/compressFastCommand.ts
4091
4123
  init_esbuild_shims();
4092
- var formatTokenCount3 = /* @__PURE__ */ __name((count, isEstimated) => isEstimated ? `~${count}` : String(count), "formatTokenCount");
4124
+ var formatTokenCount2 = /* @__PURE__ */ __name((count, isEstimated) => isEstimated ? `~${count}` : String(count), "formatTokenCount");
4093
4125
  var compressFastCommand = {
4094
4126
  name: "compress-fast",
4095
4127
  get description() {
@@ -4155,7 +4187,7 @@ var compressFastCommand = {
4155
4187
  }
4156
4188
  yield {
4157
4189
  messageType: "info",
4158
- content: `Context compressed (${formatTokenCount3(compressed.originalTokenCount, compressed.originalTokenCountIsEstimated)} -> ${formatTokenCount3(compressed.newTokenCount, compressed.newTokenCountIsEstimated)}).`
4190
+ content: `Context compressed (${formatTokenCount2(compressed.originalTokenCount, compressed.originalTokenCountIsEstimated)} -> ${formatTokenCount2(compressed.newTokenCount, compressed.newTokenCountIsEstimated)}).`
4159
4191
  };
4160
4192
  } catch (e) {
4161
4193
  yield {
@@ -4211,7 +4243,7 @@ var compressFastCommand = {
4211
4243
  return {
4212
4244
  type: "message",
4213
4245
  messageType: "info",
4214
- content: `Context compressed (${formatTokenCount3(compressed.originalTokenCount, compressed.originalTokenCountIsEstimated)} -> ${formatTokenCount3(compressed.newTokenCount, compressed.newTokenCountIsEstimated)}).`
4246
+ content: `Context compressed (${formatTokenCount2(compressed.originalTokenCount, compressed.originalTokenCountIsEstimated)} -> ${formatTokenCount2(compressed.newTokenCount, compressed.newTokenCountIsEstimated)}).`
4215
4247
  };
4216
4248
  } catch (e) {
4217
4249
  if (executionMode === "interactive") {
@@ -7415,7 +7447,7 @@ var expandNowCommand = {
7415
7447
  content: t("History is already expanded in this session.")
7416
7448
  };
7417
7449
  }
7418
- const { expandCollapsedHistory } = await import("./resumeHistoryUtils-NSGF3UCB.js");
7450
+ const { expandCollapsedHistory } = await import("./resumeHistoryUtils-DPZKFW24.js");
7419
7451
  const updated = expandCollapsedHistory(history);
7420
7452
  loadHistory(updated);
7421
7453
  refreshStatic();
@@ -8875,7 +8907,7 @@ var initCommand = {
8875
8907
  if (existing && existing.trim().length > 0) {
8876
8908
  if (!context.overwriteConfirmed) {
8877
8909
  const [{ Text }, { default: React }] = await Promise.all([
8878
- import("./build-INBK7IXX.js"),
8910
+ import("./build-63BIOYWK.js"),
8879
8911
  import("./react-SG7JAQSZ.js")
8880
8912
  ]);
8881
8913
  return {
@@ -10273,6 +10305,155 @@ ${formatNonVisionModelWarning(modelName2)}`;
10273
10305
  }, "action")
10274
10306
  };
10275
10307
 
10308
+ // packages/cli/src/ui/commands/output-style-command.ts
10309
+ init_esbuild_shims();
10310
+
10311
+ // packages/cli/src/ui/commands/output-style-utils.ts
10312
+ init_esbuild_shims();
10313
+ var debugLogger12 = createDebugLogger("OUTPUT_STYLE_COMMAND");
10314
+ var OUTPUT_STYLE_LIST = BUILT_IN_OUTPUT_STYLES.map(
10315
+ (style) => style.name
10316
+ ).join(", ");
10317
+ function resolveOutputStyleChoice(name) {
10318
+ if (name.trim().toLowerCase() === "default") {
10319
+ return void 0;
10320
+ }
10321
+ return getBuiltInOutputStyle(name) ?? null;
10322
+ }
10323
+ __name(resolveOutputStyleChoice, "resolveOutputStyleChoice");
10324
+ async function applyOutputStyleSelection(config, settings, style, options = {}) {
10325
+ if (config.getBareMode() || config.isSafeMode()) {
10326
+ throw new Error(
10327
+ t("Output styles are unavailable in --bare and --safe-mode.")
10328
+ );
10329
+ }
10330
+ const workspaceOwnsOutputStyle = settings.isTrusted && Object.prototype.hasOwnProperty.call(
10331
+ settings.workspace.settings.general ?? {},
10332
+ "outputStyle"
10333
+ );
10334
+ if (workspaceOwnsOutputStyle && options.allowWorkspaceSettingsWrite === false) {
10335
+ throw new Error(
10336
+ t("Project output style settings are not available in this session.")
10337
+ );
10338
+ }
10339
+ settings.setValue(
10340
+ workspaceOwnsOutputStyle ? "Workspace" /* Workspace */ : "User" /* User */,
10341
+ "general.outputStyle",
10342
+ style ? style.name : "default",
10343
+ void 0,
10344
+ { throwOnWriteFailure: true }
10345
+ );
10346
+ config.setOutputStyle(style);
10347
+ try {
10348
+ await config.getLlmClient().refreshSystemInstruction();
10349
+ } catch (error) {
10350
+ debugLogger12.warn(
10351
+ "Failed to apply output style to the running session:",
10352
+ error
10353
+ );
10354
+ }
10355
+ if (!style) {
10356
+ return t("Output style cleared; responses use the default style.");
10357
+ }
10358
+ let message2 = t("Output style set to {{name}}.", { name: style.name });
10359
+ if (!resolveMainSessionOutputStyle(config)) {
10360
+ message2 += config.getSystemPrompt() || isSystemMdActive() ? ` ${t(
10361
+ "It is saved but has no effect in this session because the system prompt is replaced (--system-prompt or QWEN_SYSTEM_MD)."
10362
+ )}` : ` ${t("It is saved but Learning is skipped in headless runs.")}`;
10363
+ }
10364
+ return message2;
10365
+ }
10366
+ __name(applyOutputStyleSelection, "applyOutputStyleSelection");
10367
+
10368
+ // packages/cli/src/ui/commands/output-style-command.ts
10369
+ var outputStyleCommand = {
10370
+ name: "output-style",
10371
+ get description() {
10372
+ return t(
10373
+ "Choose the output style that shapes how responses are written ({{styles}}).",
10374
+ { styles: OUTPUT_STYLE_LIST }
10375
+ );
10376
+ },
10377
+ // Styles show up as a placeholder rather than as autocompletion suggestions
10378
+ // for the same reason as /effort: bare `/output-style` should open the
10379
+ // picker with nothing auto-selected.
10380
+ argumentHint: "[Concise|Proactive|Explanatory|Learning|default]",
10381
+ kind: "built-in" /* BUILT_IN */,
10382
+ supportedModes: ["interactive", "non_interactive", "acp"],
10383
+ action: /* @__PURE__ */ __name(async (context, actionArgs) => {
10384
+ const { services } = context;
10385
+ const { config, settings } = services;
10386
+ if (!config) {
10387
+ return {
10388
+ type: "message",
10389
+ messageType: "error",
10390
+ content: t("Configuration not available.")
10391
+ };
10392
+ }
10393
+ if (config.getBareMode() || config.isSafeMode()) {
10394
+ return {
10395
+ type: "message",
10396
+ messageType: "error",
10397
+ content: t("Output styles are unavailable in --bare and --safe-mode.")
10398
+ };
10399
+ }
10400
+ const args = context.invocation?.args?.trim() || actionArgs.trim();
10401
+ if (!args) {
10402
+ if (context.executionMode === "interactive") {
10403
+ return { type: "dialog", dialog: "output-style" };
10404
+ }
10405
+ const current = resolveMainSessionOutputStyle(config);
10406
+ return {
10407
+ type: "message",
10408
+ messageType: "info",
10409
+ content: current ? t(
10410
+ 'Current output style: {{current}}\nAvailable: {{styles}}, default\nUse "/output-style <name>" to change it.',
10411
+ { current: current.name, styles: OUTPUT_STYLE_LIST }
10412
+ ) : t(
10413
+ 'Output style: default.\nAvailable: {{styles}}\nUse "/output-style <name>" to set one.',
10414
+ { styles: OUTPUT_STYLE_LIST }
10415
+ )
10416
+ };
10417
+ }
10418
+ const style = resolveOutputStyleChoice(args);
10419
+ if (style === null) {
10420
+ return {
10421
+ type: "message",
10422
+ messageType: "error",
10423
+ content: t(
10424
+ 'Unknown output style "{{value}}". Choose one of: {{styles}}, or "default" for no style.',
10425
+ { value: args, styles: OUTPUT_STYLE_LIST }
10426
+ )
10427
+ };
10428
+ }
10429
+ if (!settings) {
10430
+ return {
10431
+ type: "message",
10432
+ messageType: "error",
10433
+ content: t("Settings service not available.")
10434
+ };
10435
+ }
10436
+ try {
10437
+ return {
10438
+ type: "message",
10439
+ messageType: "info",
10440
+ content: await applyOutputStyleSelection(config, settings, style, {
10441
+ allowWorkspaceSettingsWrite: context.executionPolicy?.allowWorkspaceSettingsWrite
10442
+ })
10443
+ };
10444
+ } catch (error) {
10445
+ return {
10446
+ type: "message",
10447
+ messageType: "error",
10448
+ content: t('Failed to set "{{key}}": {{error}}', {
10449
+ key: "general.outputStyle",
10450
+ error: error instanceof Error ? error.message : String(error)
10451
+ })
10452
+ };
10453
+ }
10454
+ }, "action")
10455
+ };
10456
+
10276
10457
  // packages/cli/src/ui/commands/rememberCommand.ts
10277
10458
  init_esbuild_shims();
10278
10459
  var rememberCommand = {
@@ -10515,7 +10696,7 @@ init_esbuild_shims();
10515
10696
 
10516
10697
  // packages/cli/src/config/extension-runtime-reload.ts
10517
10698
  init_esbuild_shims();
10518
- var debugLogger12 = createDebugLogger("EXTENSION_RUNTIME_RELOAD");
10699
+ var debugLogger13 = createDebugLogger("EXTENSION_RUNTIME_RELOAD");
10519
10700
  async function reloadPluginsRuntime(options) {
10520
10701
  if (options.config.isSafeMode()) {
10521
10702
  throw new Error("Extension reload is disabled in safe mode.");
@@ -10535,7 +10716,7 @@ async function refreshExtensionContentRuntime(options) {
10535
10716
  await manager.refreshCache();
10536
10717
  } catch (error) {
10537
10718
  errors.push(error);
10538
- debugLogger12.warn(
10719
+ debugLogger13.warn(
10539
10720
  "refreshExtensionContentRuntime: refreshCache failed:",
10540
10721
  error
10541
10722
  );
@@ -10548,7 +10729,7 @@ async function refreshExtensionContentRuntime(options) {
10548
10729
  for (const result of settled) {
10549
10730
  if (result.status === "rejected") {
10550
10731
  errors.push(result.reason);
10551
- debugLogger12.warn(
10732
+ debugLogger13.warn(
10552
10733
  "refreshExtensionContentRuntime: a refresh leg failed:",
10553
10734
  result.reason
10554
10735
  );
@@ -11170,12 +11351,11 @@ var skillsCommand = {
11170
11351
  return { type: "dialog", dialog: "skills_manage" };
11171
11352
  }
11172
11353
  const skills = await skillManager.listSkills();
11173
- const disabled = context.services.config?.getDisabledSkillNames() ?? /* @__PURE__ */ new Set();
11174
11354
  const userInvocableSkills = skills.filter(
11175
11355
  (skill) => skill.userInvocable !== false
11176
11356
  );
11177
11357
  const visibleSkills = userInvocableSkills.filter(
11178
- (s) => !disabled.has(s.name.toLowerCase())
11358
+ (skill) => context.services.config?.isSkillEnabled(skill) ?? true
11179
11359
  );
11180
11360
  if (visibleSkills.length === 0) {
11181
11361
  const content = skills.length > 0 && userInvocableSkills.length === 0 ? t("All skills are marked as non-user-invocable.") : userInvocableSkills.length === 0 ? t("No skills are currently available.") : t(
@@ -12357,7 +12537,7 @@ import * as os4 from "node:os";
12357
12537
  import * as path13 from "node:path";
12358
12538
  import { exec } from "node:child_process";
12359
12539
  import { promisify } from "node:util";
12360
- var debugLogger13 = createDebugLogger("TERMINAL_SETUP");
12540
+ var debugLogger14 = createDebugLogger("TERMINAL_SETUP");
12361
12541
  var execAsync = promisify(exec);
12362
12542
  function stripJsonComments2(content) {
12363
12543
  return content.replace(/^\s*\/\/.*$/gm, "");
@@ -12390,7 +12570,7 @@ async function detectTerminal() {
12390
12570
  if (parentName.includes("trae") || parentName.includes("Trae"))
12391
12571
  return "trae";
12392
12572
  } catch (error) {
12393
- debugLogger13.debug("Parent process detection failed:", error);
12573
+ debugLogger14.debug("Parent process detection failed:", error);
12394
12574
  }
12395
12575
  }
12396
12576
  return null;
@@ -12402,7 +12582,7 @@ async function backupFile(filePath) {
12402
12582
  const backupPath = `${filePath}.backup.${timestamp}`;
12403
12583
  await fs10.copyFile(filePath, backupPath);
12404
12584
  } catch (error) {
12405
- debugLogger13.warn(`Failed to create backup of ${filePath}:`, error);
12585
+ debugLogger14.warn(`Failed to create backup of ${filePath}:`, error);
12406
12586
  }
12407
12587
  }
12408
12588
  __name(backupFile, "backupFile");
@@ -14187,7 +14367,7 @@ var TemplateRenderer = class {
14187
14367
  }
14188
14368
  // Render the complete HTML file
14189
14369
  async renderInsightHTML(insights) {
14190
- const insightJson = JSON.stringify(insights).replace(/</g, "\\u003c").replace(/\u2028/g, "\\u2028").replace(/\u2029/g, "\\u2029");
14370
+ const insightJson = escapeJsonTagCharacters(JSON.stringify(insights)).replace(/\u2028/g, "\\u2028").replace(/\u2029/g, "\\u2029");
14191
14371
  const html = `<!doctype html>
14192
14372
  <html lang="en">
14193
14373
  <head>
@@ -14729,10 +14909,10 @@ var updateCommand = {
14729
14909
  { performStandaloneUpdate },
14730
14910
  installationInfo
14731
14911
  ] = await Promise.all([
14732
- import("./updateCheck-D3YG2WCD.js"),
14733
- import("./processUtils-GPHNANKZ.js"),
14734
- import("./standalone-update-THVU3OKY.js"),
14735
- import("./installationInfo-AAPKYDSZ.js")
14912
+ import("./updateCheck-ZXOQDFEI.js"),
14913
+ import("./processUtils-UY3SAJJZ.js"),
14914
+ import("./standalone-update-XGPWJDRN.js"),
14915
+ import("./installationInfo-KO3CCSCK.js")
14736
14916
  ]);
14737
14917
  const { formatUpdateInstructions, getInstallationInfo: getInstallationInfo2 } = installationInfo;
14738
14918
  const settings = context.services.settings;
@@ -14927,6 +15107,7 @@ var BuiltinCommandLoader = class {
14927
15107
  goalCommand,
14928
15108
  memoryCommand,
14929
15109
  modelCommand,
15110
+ outputStyleCommand,
14930
15111
  rememberCommand,
14931
15112
  planCommand,
14932
15113
  permissionsCommand,
@@ -14966,7 +15147,7 @@ var BuiltinCommandLoader = class {
14966
15147
  // packages/cli/src/services/BundledSkillLoader.ts
14967
15148
  init_esbuild_shims();
14968
15149
  import { dirname as dirname2 } from "node:path";
14969
- var debugLogger14 = createDebugLogger("BUNDLED_SKILL_LOADER");
15150
+ var debugLogger15 = createDebugLogger("BUNDLED_SKILL_LOADER");
14970
15151
  var BundledSkillLoader = class {
14971
15152
  constructor(config) {
14972
15153
  this.config = config;
@@ -14976,12 +15157,12 @@ var BundledSkillLoader = class {
14976
15157
  }
14977
15158
  async loadCommands(_signal) {
14978
15159
  if (this.config?.getBareMode?.()) {
14979
- debugLogger14.debug("Bare mode enabled, skipping bundled skills");
15160
+ debugLogger15.debug("Bare mode enabled, skipping bundled skills");
14980
15161
  return [];
14981
15162
  }
14982
15163
  const skillManager = this.config?.getSkillManager();
14983
15164
  if (!skillManager) {
14984
- debugLogger14.debug("SkillManager not available, skipping bundled skills");
15165
+ debugLogger15.debug("SkillManager not available, skipping bundled skills");
14985
15166
  return [];
14986
15167
  }
14987
15168
  try {
@@ -14989,7 +15170,7 @@ var BundledSkillLoader = class {
14989
15170
  const cronEnabled = this.config?.isCronEnabled() ?? false;
14990
15171
  const cronVisible = allSkills.filter((skill) => {
14991
15172
  if (!cronEnabled && skill.allowedTools?.some((t2) => t2.startsWith("cron_"))) {
14992
- debugLogger14.debug(
15173
+ debugLogger15.debug(
14993
15174
  `Hiding skill "${skill.name}" because cron is not enabled`
14994
15175
  );
14995
15176
  return false;
@@ -15000,7 +15181,7 @@ var BundledSkillLoader = class {
15000
15181
  const skills = cronVisible.filter(
15001
15182
  (skill) => !disabled.has(skill.name.toLowerCase())
15002
15183
  );
15003
- debugLogger14.debug(
15184
+ debugLogger15.debug(
15004
15185
  `Loaded ${skills.length} bundled skill(s) as slash commands; ${cronVisible.length - skills.length} hidden by skills.disabled`
15005
15186
  );
15006
15187
  return skills.map((skill) => ({
@@ -15062,7 +15243,7 @@ ${body}`;
15062
15243
  }, "action")
15063
15244
  }));
15064
15245
  } catch (error) {
15065
- debugLogger14.error("Failed to load bundled skills:", error);
15246
+ debugLogger15.error("Failed to load bundled skills:", error);
15066
15247
  return [];
15067
15248
  }
15068
15249
  }
@@ -15342,7 +15523,7 @@ var ShellProcessor = class {
15342
15523
 
15343
15524
  // packages/cli/src/services/prompt-processors/atFileProcessor.ts
15344
15525
  init_esbuild_shims();
15345
- var debugLogger15 = createDebugLogger("AT_FILE_PROCESSOR");
15526
+ var debugLogger16 = createDebugLogger("AT_FILE_PROCESSOR");
15346
15527
  var AtFileProcessor = class {
15347
15528
  constructor(commandName) {
15348
15529
  this.commandName = commandName;
@@ -15388,7 +15569,7 @@ var AtFileProcessor = class {
15388
15569
  } catch (error) {
15389
15570
  const message2 = error instanceof Error ? error.message : String(error);
15390
15571
  const uiMessage = `Failed to inject content for '@{${pathStr}}': ${message2}`;
15391
- debugLogger15.error(
15572
+ debugLogger16.error(
15392
15573
  `[AtFileProcessor] ${uiMessage}. Leaving placeholder in prompt.`
15393
15574
  );
15394
15575
  context.ui.addItem(
@@ -15413,7 +15594,7 @@ var AtFileProcessor = class {
15413
15594
  };
15414
15595
 
15415
15596
  // packages/cli/src/services/command-factory.ts
15416
- var debugLogger16 = createDebugLogger("COMMAND_FACTORY");
15597
+ var debugLogger17 = createDebugLogger("COMMAND_FACTORY");
15417
15598
  function createSlashCommandFromDefinition(filePath, baseDir, definition, extensionName, fileExtension) {
15418
15599
  const relativePathWithExt = path16.relative(baseDir, filePath);
15419
15600
  const relativePath = relativePathWithExt.substring(
@@ -15457,7 +15638,7 @@ function createSlashCommandFromDefinition(filePath, baseDir, definition, extensi
15457
15638
  whenToUse: definition.whenToUse,
15458
15639
  action: /* @__PURE__ */ __name(async (context, _args) => {
15459
15640
  if (!context.invocation) {
15460
- debugLogger16.error(
15641
+ debugLogger17.error(
15461
15642
  `[FileCommandLoader] Critical error: Command '${baseCommandName}' was executed without invocation context.`
15462
15643
  );
15463
15644
  return {
@@ -15495,7 +15676,7 @@ function createSlashCommandFromDefinition(filePath, baseDir, definition, extensi
15495
15676
  __name(createSlashCommandFromDefinition, "createSlashCommandFromDefinition");
15496
15677
 
15497
15678
  // packages/cli/src/services/FileCommandLoader.ts
15498
- var debugLogger17 = createDebugLogger("FILE_COMMAND_LOADER");
15679
+ var debugLogger18 = createDebugLogger("FILE_COMMAND_LOADER");
15499
15680
  var TomlCommandDefSchema = external_exports.object({
15500
15681
  prompt: external_exports.string({
15501
15682
  required_error: "The 'prompt' field is required.",
@@ -15529,7 +15710,7 @@ var FileCommandLoader = class {
15529
15710
  */
15530
15711
  async loadCommands(signal) {
15531
15712
  if (this.config?.getBareMode?.()) {
15532
- debugLogger17.debug("Bare mode enabled, skipping auto-discovered commands");
15713
+ debugLogger18.debug("Bare mode enabled, skipping auto-discovered commands");
15533
15714
  return [];
15534
15715
  }
15535
15716
  const allCommands = [];
@@ -15573,7 +15754,7 @@ var FileCommandLoader = class {
15573
15754
  const isEnoent = error.code === "ENOENT";
15574
15755
  const isAbortError = error instanceof Error && error.name === "AbortError";
15575
15756
  if (!isEnoent && !isAbortError) {
15576
- debugLogger17.error(
15757
+ debugLogger18.error(
15577
15758
  `[FileCommandLoader] Error loading commands from ${dirInfo.path}:`,
15578
15759
  error
15579
15760
  );
@@ -15632,7 +15813,7 @@ var FileCommandLoader = class {
15632
15813
  }
15633
15814
  }
15634
15815
  } catch (error) {
15635
- debugLogger17.warn(
15816
+ debugLogger18.warn(
15636
15817
  `Failed to read extension config for ${ext.name}:`,
15637
15818
  error
15638
15819
  );
@@ -15658,7 +15839,7 @@ var FileCommandLoader = class {
15658
15839
  try {
15659
15840
  fileContent = await fs13.readFile(filePath, "utf-8");
15660
15841
  } catch (error) {
15661
- debugLogger17.error(
15842
+ debugLogger18.error(
15662
15843
  `[FileCommandLoader] Failed to read file ${filePath}:`,
15663
15844
  error instanceof Error ? error.message : String(error)
15664
15845
  );
@@ -15668,7 +15849,7 @@ var FileCommandLoader = class {
15668
15849
  try {
15669
15850
  parsed = import_toml.default.parse(fileContent);
15670
15851
  } catch (error) {
15671
- debugLogger17.error(
15852
+ debugLogger18.error(
15672
15853
  `[FileCommandLoader] Failed to parse TOML file ${filePath}:`,
15673
15854
  error instanceof Error ? error.message : String(error)
15674
15855
  );
@@ -15676,7 +15857,7 @@ var FileCommandLoader = class {
15676
15857
  }
15677
15858
  const validationResult = TomlCommandDefSchema.safeParse(parsed);
15678
15859
  if (!validationResult.success) {
15679
- debugLogger17.error(
15860
+ debugLogger18.error(
15680
15861
  `[FileCommandLoader] Skipping invalid command file: ${filePath}. Validation errors:`,
15681
15862
  validationResult.error.flatten()
15682
15863
  );
@@ -15703,7 +15884,7 @@ var FileCommandLoader = class {
15703
15884
  try {
15704
15885
  fileContent = await fs13.readFile(filePath, "utf-8");
15705
15886
  } catch (error) {
15706
- debugLogger17.error(
15887
+ debugLogger18.error(
15707
15888
  `[FileCommandLoader] Failed to read file ${filePath}:`,
15708
15889
  error instanceof Error ? error.message : String(error)
15709
15890
  );
@@ -15713,7 +15894,7 @@ var FileCommandLoader = class {
15713
15894
  try {
15714
15895
  parsed = parseMarkdownCommand(fileContent);
15715
15896
  } catch (error) {
15716
- debugLogger17.error(
15897
+ debugLogger18.error(
15717
15898
  `[FileCommandLoader] Failed to parse Markdown file ${filePath}:`,
15718
15899
  error instanceof Error ? error.message : String(error)
15719
15900
  );
@@ -15721,7 +15902,7 @@ var FileCommandLoader = class {
15721
15902
  }
15722
15903
  const validationResult = MarkdownCommandDefSchema.safeParse(parsed);
15723
15904
  if (!validationResult.success) {
15724
- debugLogger17.error(
15905
+ debugLogger18.error(
15725
15906
  `[FileCommandLoader] Skipping invalid command file: ${filePath}. Validation errors:`,
15726
15907
  validationResult.error.flatten()
15727
15908
  );
@@ -15747,7 +15928,7 @@ var FileCommandLoader = class {
15747
15928
 
15748
15929
  // packages/cli/src/services/saved-workflow-loader.ts
15749
15930
  init_esbuild_shims();
15750
- var debugLogger18 = createDebugLogger("SavedWorkflowLoader");
15931
+ var debugLogger19 = createDebugLogger("SavedWorkflowLoader");
15751
15932
  var SavedWorkflowLoader = class {
15752
15933
  constructor(config) {
15753
15934
  this.config = config;
@@ -15766,7 +15947,7 @@ var SavedWorkflowLoader = class {
15766
15947
  try {
15767
15948
  entries = await listSavedWorkflows(this.config);
15768
15949
  } catch (e) {
15769
- debugLogger18.debug(`listSavedWorkflows failed: ${e}`);
15950
+ debugLogger19.debug(`listSavedWorkflows failed: ${e}`);
15770
15951
  return [];
15771
15952
  }
15772
15953
  if (signal.aborted) return [];
@@ -16082,7 +16263,7 @@ var McpPromptLoader = class {
16082
16263
  // packages/cli/src/services/SkillCommandLoader.ts
16083
16264
  init_esbuild_shims();
16084
16265
  import { dirname as dirname3 } from "node:path";
16085
- var debugLogger19 = createDebugLogger("SKILL_COMMAND_LOADER");
16266
+ var debugLogger20 = createDebugLogger("SKILL_COMMAND_LOADER");
16086
16267
  async function recordAutoSkillCommandUsage(config, command) {
16087
16268
  const detail = command.skillDetail;
16088
16269
  if (!config || detail?.level !== "project" || !detail.filePath) {
@@ -16095,7 +16276,7 @@ async function recordAutoSkillCommandUsage(config, command) {
16095
16276
  filePath: detail.filePath
16096
16277
  });
16097
16278
  } catch (error) {
16098
- debugLogger19.warn(
16279
+ debugLogger20.warn(
16099
16280
  `Failed to record auto-skill command usage: ${error instanceof Error ? error.message : String(error)}`
16100
16281
  );
16101
16282
  }
@@ -16110,12 +16291,12 @@ var SkillCommandLoader = class {
16110
16291
  }
16111
16292
  async loadCommands(_signal) {
16112
16293
  if (this.config?.getBareMode?.()) {
16113
- debugLogger19.debug("Bare mode enabled, skipping skill commands");
16294
+ debugLogger20.debug("Bare mode enabled, skipping skill commands");
16114
16295
  return [];
16115
16296
  }
16116
16297
  const skillManager = this.config?.getSkillManager();
16117
16298
  if (!skillManager) {
16118
- debugLogger19.debug("SkillManager not available, skipping skill commands");
16299
+ debugLogger20.debug("SkillManager not available, skipping skill commands");
16119
16300
  return [];
16120
16301
  }
16121
16302
  try {
@@ -16125,15 +16306,14 @@ var SkillCommandLoader = class {
16125
16306
  skillManager.listSkills({ level: "extension" })
16126
16307
  ]);
16127
16308
  const allSkills = [...userSkills, ...projectSkills, ...extensionSkills];
16128
- const disabled = this.config?.getDisabledSkillNames() ?? /* @__PURE__ */ new Set();
16129
16309
  const visibleSkills = allSkills.filter(
16130
- (skill) => !disabled.has(skill.name.toLowerCase())
16310
+ (skill) => this.config?.isSkillEnabled(skill) ?? true
16131
16311
  );
16132
16312
  const nonUserInvocableCount = visibleSkills.filter(
16133
16313
  (skill) => skill.userInvocable === false
16134
16314
  ).length;
16135
- debugLogger19.debug(
16136
- `Loaded ${userSkills.length} user + ${projectSkills.length} project + ${extensionSkills.length} extension skill(s) as slash commands; ${allSkills.length - visibleSkills.length} hidden by skills.disabled; ${nonUserInvocableCount} marked non-user-invocable`
16315
+ debugLogger20.debug(
16316
+ `Loaded ${userSkills.length} user + ${projectSkills.length} project + ${extensionSkills.length} extension skill(s) as slash commands; ${allSkills.length - visibleSkills.length} disabled; ${nonUserInvocableCount} marked non-user-invocable`
16137
16317
  );
16138
16318
  return visibleSkills.map((skill) => {
16139
16319
  const isExtension = skill.level === "extension";
@@ -16160,10 +16340,24 @@ var SkillCommandLoader = class {
16160
16340
  ...isExtension && skill.extensionName ? { extensionName: skill.extensionName } : {}
16161
16341
  },
16162
16342
  action: /* @__PURE__ */ __name(async (context, _args) => {
16163
- applySkillAllowedTools(
16164
- this.config?.getPermissionManager(),
16165
- skill.allowedTools
16166
- );
16343
+ if (this.config && !this.config.isSkillEnabled(skill)) {
16344
+ return {
16345
+ type: "message",
16346
+ messageType: "error",
16347
+ content: `Skill "${skill.name}" is disabled.`
16348
+ };
16349
+ }
16350
+ if (this.config && canApplySkillSideEffects(skill, this.config)) {
16351
+ applySkillAllowedTools(
16352
+ this.config.getPermissionManager(),
16353
+ skill.allowedTools,
16354
+ { trustGated: skill.level === "project" }
16355
+ );
16356
+ } else if (skill.allowedTools?.length) {
16357
+ debugLogger20.warn(
16358
+ `Skill "${skill.name}" is a project skill in an untrusted folder; ignoring its allowedTools.`
16359
+ );
16360
+ }
16167
16361
  const body = buildSkillLlmContent(
16168
16362
  dirname3(skill.filePath),
16169
16363
  skill.body
@@ -16189,7 +16383,7 @@ var SkillCommandLoader = class {
16189
16383
  };
16190
16384
  });
16191
16385
  } catch (error) {
16192
- debugLogger19.error("Failed to load skill commands:", error);
16386
+ debugLogger20.error("Failed to load skill commands:", error);
16193
16387
  return [];
16194
16388
  }
16195
16389
  }
@@ -16264,7 +16458,7 @@ function formatUserPromptExpansionBlockedMessage(reason) {
16264
16458
  __name(formatUserPromptExpansionBlockedMessage, "formatUserPromptExpansionBlockedMessage");
16265
16459
 
16266
16460
  // packages/cli/src/nonInteractiveCliCommands.ts
16267
- var debugLogger20 = createDebugLogger("NON_INTERACTIVE_COMMANDS");
16461
+ var debugLogger21 = createDebugLogger("NON_INTERACTIVE_COMMANDS");
16268
16462
  function getSkillCommandName(command) {
16269
16463
  return command.skillDetail?.name ?? command.name;
16270
16464
  }
@@ -16728,14 +16922,14 @@ var getAvailableCommands = /* @__PURE__ */ __name(async (config, abortSignal, mo
16728
16922
  (command) => isCommandAllowedByPolicy(command, executionPolicy)
16729
16923
  );
16730
16924
  } catch (error) {
16731
- debugLogger20.error("Error loading available commands:", error);
16925
+ debugLogger21.error("Error loading available commands:", error);
16732
16926
  return [];
16733
16927
  }
16734
16928
  }, "getAvailableCommands");
16735
16929
 
16736
16930
  // packages/cli/src/nonInteractive/nonInteractiveHelpers.ts
16737
16931
  init_esbuild_shims();
16738
- var debugLogger21 = createDebugLogger("NON_INTERACTIVE");
16932
+ var debugLogger22 = createDebugLogger("NON_INTERACTIVE");
16739
16933
  function extractPartsFromUserMessage(message2) {
16740
16934
  if (!message2) {
16741
16935
  return null;
@@ -16818,7 +17012,7 @@ async function loadSlashCommandNames(config) {
16818
17012
  );
16819
17013
  return commands.map((cmd) => cmd.name).sort();
16820
17014
  } catch (error) {
16821
- debugLogger21.error(
17015
+ debugLogger22.error(
16822
17016
  "[buildSystemMessage] Failed to load slash commands:",
16823
17017
  error
16824
17018
  );
@@ -16843,7 +17037,7 @@ async function buildSystemMessage(config, sessionId, permissionMode) {
16843
17037
  const subagents = await subagentManager.listSubagents();
16844
17038
  agentNames = subagents.map((subagent) => subagent.name);
16845
17039
  } catch (error) {
16846
- debugLogger21.error("[buildSystemMessage] Failed to load subagents:", error);
17040
+ debugLogger22.error("[buildSystemMessage] Failed to load subagents:", error);
16847
17041
  }
16848
17042
  const systemMessage = {
16849
17043
  type: "system",
@@ -17041,6 +17235,8 @@ export {
17041
17235
  recordDaemonSessionModel,
17042
17236
  restoreSessionModelThenAuthenticate,
17043
17237
  isPickerOnlyModelInvocation,
17238
+ resolveOutputStyleChoice,
17239
+ applyOutputStyleSelection,
17044
17240
  refreshExtensionContentRuntime,
17045
17241
  dayKey,
17046
17242
  parseDayKey,