@qwen-code/qwen-code 0.22.3-nightly.20260831.3a0c4c6108 → 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 (381) 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/configuration/model-providers.md +4 -0
  5. package/bundled/qc-helper/docs/configuration/settings.md +53 -50
  6. package/bundled/qc-helper/docs/features/_meta.ts +1 -0
  7. package/bundled/qc-helper/docs/features/channels/dingtalk.md +4 -2
  8. package/bundled/qc-helper/docs/features/channels/dws.md +6 -2
  9. package/bundled/qc-helper/docs/features/channels/overview.md +1 -0
  10. package/bundled/qc-helper/docs/features/commands.md +38 -1
  11. package/bundled/qc-helper/docs/features/computer-use.md +2 -2
  12. package/bundled/qc-helper/docs/features/goals.md +9 -3
  13. package/bundled/qc-helper/docs/features/headless.md +16 -1
  14. package/bundled/qc-helper/docs/features/hooks.md +2 -1
  15. package/bundled/qc-helper/docs/features/output-styles.md +38 -0
  16. package/bundled/qc-helper/docs/qwen-serve.md +15 -0
  17. package/bundled/review/SKILL.md +5 -5
  18. package/bundled/review/references/posting.md +2 -2
  19. package/chunks/{MaxSizedBox-IHRTWGSY.js → MaxSizedBox-B3D7545A.js} +41 -45
  20. package/chunks/{StandaloneSessionPicker-TLVWVTJ7.js → StandaloneSessionPicker-QUMO4LLQ.js} +64 -67
  21. package/chunks/{acpAgent-7I5LLPP3.js → acpAgent-2GTFCIEP.js} +771 -248
  22. package/chunks/{agent-4Z4NTJXD.js → agent-XKF5SZWU.js} +26 -30
  23. package/chunks/{agent-headless-TVUJXQWU.js → agent-headless-OC2IB55D.js} +26 -30
  24. package/chunks/{anthropicContentGenerator-VSSPG7XV.js → anthropicContentGenerator-L76MR5OR.js} +14 -14
  25. package/chunks/{artifact-tool-TEYW6I4A.js → artifact-tool-MYCL2QCS.js} +2 -3
  26. package/chunks/{askUserQuestion-PYNBWV63.js → askUserQuestion-THQZMG44.js} +2 -2
  27. package/chunks/{bridge-EVURP4NO.js → bridge-IHSBI2YJ.js} +42 -46
  28. package/chunks/{build-INBK7IXX.js → build-63BIOYWK.js} +1 -1
  29. package/chunks/{channel-management-service-IDBNYSFW.js → channel-management-service-4MTCEGJB.js} +4 -4
  30. package/chunks/{channel-settings-store-MZNXRKVI.js → channel-settings-store-BVKWAI2T.js} +50 -54
  31. package/chunks/{channel-worker-group-ZLP5SJHT.js → channel-worker-group-47F4ISUZ.js} +6 -6
  32. package/chunks/{channel-worker-manager-FG5377T2.js → channel-worker-manager-I5Y44GYR.js} +50 -9
  33. package/chunks/{channel-worker-supervisor-HDVE4ADS.js → channel-worker-supervisor-6VCLUXFE.js} +4 -4
  34. package/chunks/{chunk-3452WXOK.js → chunk-2M3EWQNG.js} +17 -0
  35. package/chunks/{chunk-HDMKCJHI.js → chunk-32LU3APX.js} +1 -1
  36. package/chunks/{chunk-BSJOBW4U.js → chunk-37JFWFCD.js} +1 -1
  37. package/chunks/{chunk-AN3KFCNH.js → chunk-3JQZVCBI.js} +2 -2
  38. package/chunks/{chunk-RGEV5AUD.js → chunk-3L724BJ5.js} +11 -8
  39. package/chunks/{chunk-GCUR24KK.js → chunk-47RYEQW5.js} +2 -2
  40. package/chunks/{chunk-CM4F4JBB.js → chunk-4BGDFKQE.js} +5 -5
  41. package/chunks/{chunk-ZBDYI7VM.js → chunk-4F7GQGXB.js} +10961 -4033
  42. package/chunks/{chunk-JMRE4WJQ.js → chunk-4HVH57J3.js} +81 -17
  43. package/chunks/{chunk-26SIKQIC.js → chunk-4LIFGNI4.js} +1 -1
  44. package/chunks/{chunk-U5RTYI7D.js → chunk-4M24B5J5.js} +13 -13
  45. package/chunks/{chunk-7XICSE62.js → chunk-4PSDSCW3.js} +3 -3
  46. package/chunks/{chunk-AYYKUUKP.js → chunk-4UANMABT.js} +73 -19
  47. package/chunks/{chunk-GS7XT345.js → chunk-54C6PIGT.js} +3 -3
  48. package/chunks/{chunk-UKB2TZAO.js → chunk-5EIOJGCR.js} +4 -4
  49. package/chunks/{chunk-64REQJJ2.js → chunk-5H5S4UY5.js} +3 -3
  50. package/chunks/chunk-5IENVM7Z.js +35 -0
  51. package/chunks/{chunk-JOWQD4LO.js → chunk-5Q5RC2WE.js} +1 -1
  52. package/chunks/{chunk-3NQCZMUB.js → chunk-5RTTI4GE.js} +73 -73
  53. package/chunks/{chunk-J4Y3QJHF.js → chunk-64QH2UC6.js} +11 -1
  54. package/chunks/{chunk-I75VKFCJ.js → chunk-65HWLGA7.js} +1 -1
  55. package/chunks/{chunk-W7KWB6AH.js → chunk-6A2D4QSO.js} +8 -5
  56. package/chunks/{chunk-OTTNXUT5.js → chunk-7IKXTGZT.js} +1 -1
  57. package/chunks/{chunk-LYSZVCCD.js → chunk-7JMGTOH7.js} +427 -129
  58. package/chunks/{chunk-YOFULAHO.js → chunk-7RB56BRJ.js} +3 -3
  59. package/chunks/{chunk-6VHIWUJP.js → chunk-ADYN7P2Y.js} +2 -2
  60. package/chunks/{chunk-7DDTI7Q3.js → chunk-AHYTURFB.js} +1 -1
  61. package/chunks/{chunk-TNMOFNT4.js → chunk-ALUYNJPM.js} +1395 -2079
  62. package/chunks/{chunk-H2A2GJGL.js → chunk-AZJLY2XZ.js} +5 -5
  63. package/chunks/{chunk-BE5FGT5Z.js → chunk-BA4WJC4L.js} +1 -1
  64. package/chunks/{chunk-H5GPPDGY.js → chunk-BFY33IB4.js} +16 -8
  65. package/chunks/{chunk-RY7DL5IF.js → chunk-BJXCYUGM.js} +1 -1
  66. package/chunks/{chunk-ND7TQQPE.js → chunk-C2VWOXHS.js} +6 -6
  67. package/chunks/{chunk-T4RMUTTT.js → chunk-C4TIXFDZ.js} +2 -2
  68. package/chunks/{chunk-B2RIIK3K.js → chunk-CVX63TFJ.js} +3 -1
  69. package/chunks/{chunk-SMJYTKTB.js → chunk-DQCKVAF5.js} +1 -1
  70. package/chunks/{chunk-RLSPPTWH.js → chunk-DSX7KQPM.js} +438 -181
  71. package/chunks/{chunk-PNIGAVY6.js → chunk-DTVQSSNM.js} +2 -2
  72. package/chunks/{chunk-67AY5D3M.js → chunk-DYTW3QVG.js} +23 -8
  73. package/chunks/{chunk-3CZGSTZX.js → chunk-EBDGRBZX.js} +22 -14
  74. package/chunks/{chunk-DJBQCO2E.js → chunk-EFTPIZIC.js} +412 -3
  75. package/chunks/{chunk-QE7DTCLX.js → chunk-EIY7SUPZ.js} +1 -1
  76. package/chunks/{chunk-6OO7QEWV.js → chunk-EVFDRBUM.js} +97 -77
  77. package/chunks/{chunk-QTMPM6RC.js → chunk-EWRW2WQC.js} +3 -3
  78. package/chunks/{chunk-IIFL7QDN.js → chunk-F33GFWPR.js} +34 -11
  79. package/chunks/{chunk-YPISTYEI.js → chunk-F47DITLZ.js} +11 -1
  80. package/chunks/{chunk-OE5AQVNB.js → chunk-F7NF2IOE.js} +6 -6
  81. package/chunks/{chunk-RT4QNQ5P.js → chunk-FD5SJOWT.js} +8 -5
  82. package/chunks/{chunk-ACZ4YRYK.js → chunk-FRICLXCZ.js} +3 -3
  83. package/chunks/{chunk-IBMUI5EV.js → chunk-FUO5V5KI.js} +11 -4
  84. package/chunks/{chunk-T3TL6S3B.js → chunk-G5PBOQWI.js} +8 -5
  85. package/chunks/{chunk-D7D3HSYQ.js → chunk-G7HBEEX7.js} +12 -7
  86. package/chunks/{chunk-FXUSWLBF.js → chunk-GH2S4GD5.js} +133 -8
  87. package/chunks/{chunk-XPDKSOVW.js → chunk-GXUTFQXK.js} +42 -44
  88. package/chunks/{chunk-OSTQZIOY.js → chunk-H43PSPYS.js} +2 -2
  89. package/chunks/{chunk-UVYKCRJZ.js → chunk-HJBHMANB.js} +11 -13
  90. package/chunks/{chunk-WLEYH7CD.js → chunk-HRPFBHW7.js} +4 -0
  91. package/chunks/{chunk-DBTMP3P4.js → chunk-I2TMJPCV.js} +1 -1
  92. package/chunks/{chunk-EU2B4P3D.js → chunk-I4NRYS6A.js} +4 -4
  93. package/chunks/{chunk-JPKTAQS3.js → chunk-I5N4EAS6.js} +1 -1
  94. package/chunks/{chunk-W4BDHLRT.js → chunk-IG4W5SJR.js} +2 -2
  95. package/chunks/{chunk-BXNKREX7.js → chunk-IPATA3T2.js} +2 -2
  96. package/chunks/{chunk-NKLP3DCK.js → chunk-IQAFKVXS.js} +1 -1
  97. package/chunks/{chunk-AYHQZBJ4.js → chunk-IRKQ4YYX.js} +3 -3
  98. package/chunks/{chunk-J3NNHTV6.js → chunk-J5TTWBZK.js} +6 -0
  99. package/chunks/{chunk-AVNATYLY.js → chunk-JJKNYRFY.js} +1 -1
  100. package/chunks/{chunk-ERHAMGAA.js → chunk-JR42V4UY.js} +1 -1
  101. package/chunks/{chunk-NT7LXVV5.js → chunk-JUARRUMA.js} +362 -1084
  102. package/chunks/{chunk-OKMDOATP.js → chunk-KEVYJSI4.js} +11 -11
  103. package/chunks/{chunk-AF3QB6OL.js → chunk-KGV55H53.js} +1 -1
  104. package/chunks/{chunk-SDCHI64N.js → chunk-KM3XVTMO.js} +10 -4
  105. package/chunks/{chunk-ERRJA23L.js → chunk-KMU3ZHH4.js} +1 -1
  106. package/chunks/chunk-KOGW3YWJ.js +2054 -0
  107. package/chunks/{chunk-6NWPR2EB.js → chunk-L26ONV2Y.js} +5 -5
  108. package/chunks/chunk-L34XSHIZ.js +28 -0
  109. package/chunks/{chunk-UXEW7TQS.js → chunk-LB3WQQJK.js} +1 -1
  110. package/chunks/{chunk-YNG7XAJU.js → chunk-LEPCWS5A.js} +1 -1
  111. package/chunks/{chunk-XLENZQXH.js → chunk-LHBNR6EU.js} +2 -2
  112. package/chunks/{chunk-AKNQMSL2.js → chunk-LOBDDFYK.js} +4 -28
  113. package/chunks/{chunk-L6CUJZDG.js → chunk-LU77UT4D.js} +2 -2
  114. package/chunks/{chunk-3EGEBDTW.js → chunk-M4KFODIP.js} +1 -1
  115. package/chunks/{chunk-JLSZT354.js → chunk-M4LBBSVP.js} +2 -0
  116. package/chunks/{chunk-YOMKOM7E.js → chunk-MP6YZ4RK.js} +6580 -5992
  117. package/chunks/chunk-N2TNM3QB.js +9 -0
  118. package/chunks/{chunk-GDXSXL3H.js → chunk-NFIDVZND.js} +1 -1
  119. package/chunks/{chunk-NT5XIL5H.js → chunk-NQ4L2CMD.js} +51 -6
  120. package/chunks/{chunk-OQYXJK2V.js → chunk-NRL5CUZT.js} +1 -1
  121. package/chunks/{chunk-FIWZOMBF.js → chunk-NSUKQ4DN.js} +6 -0
  122. package/chunks/chunk-NUHOLAQ6.js +59 -0
  123. package/chunks/{chunk-BBYTY46C.js → chunk-NVVJTUSL.js} +266 -105
  124. package/chunks/{chunk-CAZADEU7.js → chunk-NXKOVOM5.js} +9 -9
  125. package/chunks/{chunk-5Q372OFJ.js → chunk-O4KNCAX4.js} +57 -10
  126. package/chunks/{chunk-GOXKNSDZ.js → chunk-O5CD7T4T.js} +40 -9
  127. package/chunks/{chunk-XIQ5HQ2F.js → chunk-OBTWL6ZW.js} +1 -1
  128. package/chunks/{chunk-5MK45KZ3.js → chunk-OHOO527W.js} +1 -1
  129. package/chunks/{chunk-CETB5XY4.js → chunk-ORFIYTI2.js} +1 -1
  130. package/chunks/{chunk-7E7UCJHS.js → chunk-OSHQMOBS.js} +18 -17
  131. package/chunks/{chunk-YDQ4OCDK.js → chunk-OSSTATJF.js} +89 -1
  132. package/chunks/chunk-P6UIF2OW.js +400 -0
  133. package/chunks/{chunk-V4HN35IF.js → chunk-PCRBLMIN.js} +16 -2
  134. package/chunks/{chunk-L2OKAIUK.js → chunk-QI27MKNQ.js} +23 -15
  135. package/chunks/{chunk-FHPYRXRH.js → chunk-QJGYU5PG.js} +1 -1
  136. package/chunks/{chunk-IVUWTA2D.js → chunk-QJVZLILI.js} +1 -1
  137. package/chunks/{chunk-TBJ3SNS3.js → chunk-QKDNS6FU.js} +1 -1
  138. package/chunks/{chunk-YKADANK6.js → chunk-QQD2GART.js} +10 -3
  139. package/chunks/{chunk-ED7DD7MV.js → chunk-RAFQIHN2.js} +1 -1
  140. package/chunks/{chunk-TV7BJ7TX.js → chunk-RJUVTJEZ.js} +1 -1
  141. package/chunks/{chunk-RVCGAHC7.js → chunk-RM4WT2XB.js} +4 -4
  142. package/chunks/{chunk-6YXNJXQW.js → chunk-RN3YGDCA.js} +3 -3
  143. package/chunks/{chunk-SMRDCANI.js → chunk-S6H3ELPG.js} +1 -1
  144. package/chunks/{chunk-MBZ5ORJB.js → chunk-SI7WDR3U.js} +281 -2
  145. package/chunks/{chunk-5FGWVPCM.js → chunk-SRF4KTAG.js} +4 -4
  146. package/chunks/{chunk-LFAR7CPW.js → chunk-STCVJXQB.js} +23 -23
  147. package/chunks/{chunk-JDIO45X7.js → chunk-SULZPKTA.js} +1 -1
  148. package/chunks/{chunk-KUDI54QQ.js → chunk-SX2QIMJV.js} +5 -5
  149. package/chunks/{chunk-VYSZUQGU.js → chunk-TJYRTS4S.js} +2 -2
  150. package/chunks/{chunk-JOTYTYYW.js → chunk-TMKTOTMQ.js} +3 -3
  151. package/chunks/{chunk-FPMQT2YY.js → chunk-TQHPVKO6.js} +4 -4
  152. package/chunks/{chunk-GN422P4J.js → chunk-TSZSGQ3N.js} +1 -1
  153. package/chunks/{chunk-IXEZHTDR.js → chunk-U4DJ5XB3.js} +292 -38
  154. package/chunks/{chunk-MZ5A5PQW.js → chunk-UAKRDON5.js} +4 -4
  155. package/chunks/{chunk-NGKLMNWN.js → chunk-UM2FFKXN.js} +2 -2
  156. package/chunks/{chunk-5ICKESC3.js → chunk-UPFRILIL.js} +2 -2
  157. package/chunks/{chunk-RAEEQEC5.js → chunk-UUASLXHW.js} +54 -5
  158. package/chunks/chunk-V5U2NZNJ.js +29 -0
  159. package/chunks/{chunk-P5Y23G2L.js → chunk-V7RNNPGC.js} +1 -18
  160. package/chunks/{chunk-ZYPJ7HVZ.js → chunk-VBWD6C27.js} +1 -1
  161. package/chunks/{chunk-MJBHSZEJ.js → chunk-VNAYZAFX.js} +3 -3
  162. package/chunks/chunk-VPSIC437.js +780 -0
  163. package/chunks/{chunk-AAX236AR.js → chunk-VWTSRH6C.js} +52 -11
  164. package/chunks/{chunk-PDXYZBBQ.js → chunk-VYIUNFEA.js} +2 -2
  165. package/chunks/{chunk-BY24DZ4J.js → chunk-WP4AX3XD.js} +5 -7
  166. package/chunks/{chunk-X7C7KFWA.js → chunk-XLXAZLDR.js} +1 -1
  167. package/chunks/{chunk-ZQ3FKEWA.js → chunk-YPWZTR7F.js} +3 -3
  168. package/chunks/{chunk-IXHV5MIC.js → chunk-ZDFQGHZH.js} +1 -1
  169. package/chunks/chunk-ZJ2LM2SI.js +198 -0
  170. package/chunks/{chunk-PWR2NQBS.js → chunk-ZKFTS3OV.js} +3 -3
  171. package/chunks/{chunk-HMJ2P3SV.js → chunk-ZL4HFSL6.js} +91 -29
  172. package/chunks/{chunk-ID33ZRWH.js → chunk-ZTPGUFQV.js} +28 -6
  173. package/chunks/chunk-bdqvmfwv-ZTSOWAFE.js +17446 -0
  174. package/chunks/{config-utils-NNUPVGEC.js → config-utils-LVSYDLHZ.js} +42 -46
  175. package/chunks/{contextCommand-S3TPCDM5.js → contextCommand-TZD7UAJK.js} +40 -44
  176. package/chunks/{core-runtime-NASPCSQX.js → core-runtime-B4UKKIAQ.js} +42 -46
  177. package/chunks/{create-sub-session-36TNCHCP.js → create-sub-session-LUPWEUHR.js} +2 -2
  178. package/chunks/{create-sub-session-DS4BJLYZ.js → create-sub-session-NJ24B4US.js} +41 -44
  179. package/chunks/{cron-create-QXHTYUTO.js → cron-create-CRSPET3H.js} +1 -1
  180. package/chunks/{cron-delete-WV2BM42M.js → cron-delete-DB77SZTU.js} +1 -1
  181. package/chunks/{cron-list-7KVNBLZ7.js → cron-list-U2JNYWV6.js} +1 -1
  182. package/chunks/{daemon-UCVUHPJD.js → daemon-RKDGBFLK.js} +385 -19
  183. package/chunks/{daemon-git-worktree-guard-ATXVQPS3.js → daemon-git-worktree-guard-O2HPOBAB.js} +40 -44
  184. package/chunks/{daemon-status-provider-UI3GBTMO.js → daemon-status-provider-GRRVCJFW.js} +47 -51
  185. package/chunks/{daemon-trust-policy-SUCBJ2CA.js → daemon-trust-policy-YJL442BK.js} +46 -50
  186. package/chunks/{daemon-trust-policy-monitor-3LM5RQNS.js → daemon-trust-policy-monitor-JL7F4Y4Q.js} +46 -50
  187. package/chunks/{deferred-core-runtime-SCOJLVYG.js → deferred-core-runtime-S32AYVZI.js} +39 -43
  188. package/chunks/{devtools-JCG4K2NZ.js → devtools-VDRJYPZF.js} +1 -1
  189. package/chunks/{discovery-X2NV535U.js → discovery-TUM3ZQ6U.js} +2 -2
  190. package/chunks/{display-image-Z4VBQDEJ.js → display-image-73C7XNRK.js} +3 -3
  191. package/chunks/{dist-7WDZYMWV.js → dist-62OZ7QXB.js} +2 -2
  192. package/chunks/{dist-FLJLHASF.js → dist-EDHQIBYD.js} +7 -7
  193. package/chunks/{dist-S3BKCTWF.js → dist-GT64AAUR.js} +1 -1
  194. package/chunks/{dist-GPSRNVVP.js → dist-JVXT4VUJ.js} +2 -2
  195. package/chunks/{dist-LY66XNUL.js → dist-L6URO6CK.js} +3 -3
  196. package/chunks/{dist-5423MG3D.js → dist-LXFYIJNG.js} +734 -128
  197. package/chunks/{dist-SDKHGH5O.js → dist-PDGNRVPY.js} +4 -4
  198. package/chunks/{dist-WAUO5OMN.js → dist-QAF5DO3Y.js} +363 -73
  199. package/chunks/{dist-WIVVPE7M.js → dist-ZCJLKQSP.js} +1 -1
  200. package/chunks/{earlyInputCapture-INWJ2STR.js → earlyInputCapture-BBPCIVZG.js} +38 -42
  201. package/chunks/{edit-B7ZRRGAE.js → edit-SUGXY63Y.js} +26 -30
  202. package/chunks/{en-E4AYTX6H.js → en-2RATMNX7.js} +2 -0
  203. package/chunks/{enter-worktree-SPZHEETQ.js → enter-worktree-B6USKSIK.js} +5 -5
  204. package/chunks/{enterPlanMode-S554IKJ2.js → enterPlanMode-MDX4RVVL.js} +26 -30
  205. package/chunks/{environment-25ADH4Y6.js → environment-VN6RXDVN.js} +41 -45
  206. package/chunks/{errors-G2I6LFTW.js → errors-UEY36PIT.js} +40 -44
  207. package/chunks/{exit-worktree-AWUXAMAM.js → exit-worktree-DLQ73SJH.js} +8 -6
  208. package/chunks/{exitPlanMode-ZFH4OYPM.js → exitPlanMode-EPHIEDAA.js} +26 -30
  209. package/chunks/{fast-path-WZHVZ2ER.js → fast-path-Y73R42LV.js} +3 -3
  210. package/chunks/{fast-path-settings-NILM6QZL.js → fast-path-settings-MFUR3IWK.js} +3 -3
  211. package/chunks/{glob-UOVDMBUP.js → glob-DMGH7EZN.js} +27 -31
  212. package/chunks/goal-tools-3RF3PXCL.js +99 -0
  213. package/chunks/{grep-LHYJ5V2N.js → grep-AJVLCVXC.js} +2 -2
  214. package/chunks/{handleAutoUpdate-4MZ45DZY.js → handleAutoUpdate-HVWQT2AU.js} +42 -46
  215. package/chunks/{i18n-KWUEI4DS.js → i18n-5OR7NTRZ.js} +39 -43
  216. package/chunks/{image-gen-YZDVO5YS.js → image-gen-VOIDOHOB.js} +1 -1
  217. package/chunks/{initializer-2NBROGMG.js → initializer-JE5RQSOE.js} +46 -50
  218. package/chunks/{installationInfo-YKUSY3ZB.js → installationInfo-KO3CCSCK.js} +38 -42
  219. package/chunks/{list-W2WV3COM.js → list-3IORSFIY.js} +49 -53
  220. package/chunks/{list-agents-PMVMHNY7.js → list-agents-SBMONIUK.js} +3 -3
  221. package/chunks/{llm-NPPHLIJI.js → llm-K26SUDVK.js} +155 -99
  222. package/chunks/{llm-content-generator-YK3WN6XW.js → llm-content-generator-TT6EAUD4.js} +5 -6
  223. package/chunks/{loadedSettingsAdapter-2P7DFWUR.js → loadedSettingsAdapter-KLLFZF3M.js} +46 -50
  224. package/chunks/{loggingContentGenerator-QYYYGU6V.js → loggingContentGenerator-EYQBA4M4.js} +43 -47
  225. package/chunks/{loop-wakeup-EBM4F5MZ.js → loop-wakeup-QA6SHCZT.js} +2 -2
  226. package/chunks/{ls-F6TRX3DD.js → ls-HEJNCEYO.js} +1 -1
  227. package/chunks/{lsp-QYTOS2FI.js → lsp-WOQKNZP6.js} +1 -1
  228. package/chunks/{managed-npm-update-UMC4NBWW.js → managed-npm-update-HIJTODQT.js} +38 -42
  229. package/chunks/{mcp-OFI6XDP2.js → mcp-A2UEHETW.js} +46 -50
  230. package/chunks/{monitor-QX3BM3JY.js → monitor-DKNZQAB2.js} +28 -32
  231. package/chunks/{node-QKLNSZMX.js → node-UETAYMMO.js} +3 -3
  232. package/chunks/{nonInteractiveCli-NVRMD5MN.js → nonInteractiveCli-YA47F2F4.js} +86 -89
  233. package/chunks/{notebook-edit-AAILDPSV.js → notebook-edit-MGHTRL2D.js} +26 -30
  234. package/chunks/{openaiContentGenerator-53PB3CMN.js → openaiContentGenerator-ZJIEQ3ZJ.js} +15 -17
  235. package/chunks/{pidfile-5ACKG2LI.js → pidfile-ETHAZNMY.js} +38 -42
  236. package/chunks/{processUtils-2BCDO3DZ.js → processUtils-UY3SAJJZ.js} +2 -2
  237. package/chunks/{prompt-terminal-ledger-3RKW73A2.js → prompt-terminal-ledger-GZ747VYE.js} +39 -43
  238. package/chunks/{qwenContentGenerator-N4LLWDPH.js → qwenContentGenerator-VI4KATRY.js} +39 -43
  239. package/chunks/{read-file-DPAKXHYE.js → read-file-P7F4P7LV.js} +6 -8
  240. package/chunks/{read-mcp-resource-R4NO75DW.js → read-mcp-resource-GLAGB6R7.js} +1 -1
  241. package/chunks/{record-artifact-2EAYLAL5.js → record-artifact-SWVR7NSU.js} +3 -3
  242. package/chunks/renderer-selection-M4UN63VJ.js +99 -0
  243. package/chunks/{report-findings-Y4MSHDS3.js → report-findings-AL5YW3KI.js} +4 -4
  244. package/chunks/{request-shutdown-DWRMGTMB.js → request-shutdown-5YK4IZ54.js} +5 -5
  245. package/chunks/{resumeHistoryUtils-3JQORXAK.js → resumeHistoryUtils-DPZKFW24.js} +44 -48
  246. package/chunks/{ripGrep-AHF5QCI7.js → ripGrep-C7LJKUPZ.js} +9 -11
  247. package/chunks/{run-qwen-serve-3LKV7KDC.js → run-qwen-serve-OGTEEUR2.js} +132 -81
  248. package/chunks/{runtime-66F4W3IA.js → runtime-LNBLEMZS.js} +51 -55
  249. package/chunks/{scheduled-tasks-2NVKS5Q2.js → scheduled-tasks-FLDYZQOF.js} +44 -48
  250. package/chunks/{scheduler-JNV7T3ZO.js → scheduler-73YXGUGW.js} +40 -44
  251. package/chunks/{sdk-exporters-grpc-G5IT4XS4.js → sdk-exporters-grpc-MXTVSE3C.js} +2 -2
  252. package/chunks/{sdk-exporters-http-MFIWD23D.js → sdk-exporters-http-3JO5TJNU.js} +3 -3
  253. package/chunks/{sdk-impl-2RXJ4Q6X.js → sdk-impl-HZAUUTHJ.js} +5 -5
  254. package/chunks/{send-message-WPZRCJOB.js → send-message-JC7NJTY6.js} +7 -7
  255. package/chunks/{serve-GP2UNRP7.js → serve-3UR2H4CV.js} +46 -50
  256. package/chunks/{server-7W6C3SOW.js → server-AOYZVVOM.js} +1736 -502
  257. package/chunks/{session-PZLBAQGG.js → session-UAWFNFGI.js} +90 -93
  258. package/chunks/session-attachments-root-ZCGXQQTR.js +104 -0
  259. package/chunks/{session-pr-refresh-OIVL3U3Z.js → session-pr-refresh-CT2INROL.js} +131 -65
  260. package/chunks/{settings-ZOHIQWYK.js → settings-BHRGDASJ.js} +45 -49
  261. package/chunks/{shell-FWZT6IUR.js → shell-YHOGC7TO.js} +26 -30
  262. package/chunks/{skill-RTQC2YGA.js → skill-ZGBKNCHQ.js} +71 -49
  263. package/chunks/{skill-settings-AKMIXFSJ.js → skill-settings-AKSP665O.js} +45 -49
  264. package/chunks/{spawnChannel-ZP23JL6O.js → spawnChannel-N25MBB6F.js} +40 -44
  265. package/chunks/{standalone-update-P2Q5H4ZU.js → standalone-update-XGPWJDRN.js} +40 -44
  266. package/chunks/start-opentui-ui-FZ4USOU7.js +55342 -0
  267. package/chunks/{startInteractiveUI-NSA6QPQZ.js → startInteractiveUI-E2WQJUOA.js} +2920 -4542
  268. package/chunks/{syntheticOutput-5URSQLIS.js → syntheticOutput-HJNZSEHN.js} +2 -2
  269. package/chunks/{task-create-3EXVDG3G.js → task-create-6RSD54S5.js} +7 -7
  270. package/chunks/{task-list-PIBYNSE7.js → task-list-IQSACPOM.js} +31 -7
  271. package/chunks/{task-stop-IV3BYWJC.js → task-stop-HE2LRQNW.js} +1 -1
  272. package/chunks/{task-update-H5BPDS5Y.js → task-update-XAJ2NYOA.js} +7 -7
  273. package/chunks/{team-create-53T42W37.js → team-create-SOKMYSQU.js} +28 -32
  274. package/chunks/{team-delete-X3WPELS6.js → team-delete-NGNNKGMG.js} +1 -1
  275. package/chunks/{team-plan-approval-D45ZC5OE.js → team-plan-approval-U7ZWXYAY.js} +26 -30
  276. package/chunks/{terminal-image-renderer-FCRUWT6C.js → terminal-image-renderer-KKM4OBLO.js} +40 -44
  277. package/chunks/{theme-manager-MHNPEDP7.js → theme-manager-GQHF3A7T.js} +38 -42
  278. package/chunks/{todoWrite-A5IOZZ3P.js → todoWrite-5UTVUXHA.js} +36 -6
  279. package/chunks/{tool-search-6RPBGGUX.js → tool-search-IAI2RVWT.js} +10 -12
  280. package/chunks/{total-session-admission-MGV56XDK.js → total-session-admission-G4CGCSTG.js} +43 -47
  281. package/chunks/{trustedFolders-QJYEFMTU.js → trustedFolders-D2I3FDPB.js} +39 -43
  282. package/chunks/{update-relaunch-ZDMQX63C.js → update-relaunch-5RWKZAL3.js} +5 -5
  283. package/chunks/{updateCheck-4QZWCGP6.js → updateCheck-ZXOQDFEI.js} +42 -46
  284. package/chunks/{useAutoAcceptIndicator-DLIQN256.js → useAutoAcceptIndicator-6EK4QGAH.js} +49 -53
  285. package/chunks/{validateNonInterActiveAuth-HGTG7AEK.js → validateNonInterActiveAuth-QPFEKATS.js} +82 -86
  286. package/chunks/{version-CPAZMC4B.js → version-JKNG7YDH.js} +1 -1
  287. package/chunks/{web-fetch-N4K5M3M4.js → web-fetch-X3AHIIHW.js} +8 -11
  288. package/chunks/{web-search-4VZKM5SF.js → web-search-K2FMOGS5.js} +6 -7
  289. package/chunks/{web-shell-static-PW7OEDQO.js → web-shell-static-POZHGGXE.js} +4 -4
  290. package/chunks/{workflow-2ALQKTHG.js → workflow-TOLPAK5G.js} +38 -38
  291. package/chunks/{workspace-providers-status-5JM4CB6R.js → workspace-providers-status-PCJK3RC7.js} +50 -54
  292. package/chunks/{workspace-registration-store-RNMFVCH7.js → workspace-registration-store-KQWVVW4Y.js} +1 -1
  293. package/chunks/{workspace-registry-6EULAPZC.js → workspace-registry-YNIOB6HJ.js} +43 -47
  294. package/chunks/{workspace-runtime-coordinator-IRI2DRCJ.js → workspace-runtime-coordinator-WG2RNEN7.js} +43 -47
  295. package/chunks/{workspace-service-SETHN4WE.js → workspace-service-G4ZNBOFH.js} +51 -55
  296. package/chunks/{workspace-skills-status-4D4EUEQU.js → workspace-skills-status-FMTPPMWC.js} +47 -51
  297. package/chunks/{workspace-trust-reconciler-4LR3CDL4.js → workspace-trust-reconciler-IBDFQBQS.js} +53 -57
  298. package/chunks/wrapper-JH3IFHT2.js +35 -0
  299. package/chunks/{write-file-45GWPSOI.js → write-file-YTLFY2S5.js} +28 -32
  300. package/chunks/{zh-2BQ7P6OD.js → zh-25DF7OGK.js} +2 -0
  301. package/chunks/{zh-TW-UFXRZTXX.js → zh-TW-5EDMZVGK.js} +2 -0
  302. package/chunks/{zoom-image-K6IQUKRC.js → zoom-image-IFXSN74N.js} +6 -8
  303. package/cli.js +17 -13
  304. package/locales/en.js +3 -0
  305. package/locales/zh-TW.js +3 -0
  306. package/locales/zh.js +3 -0
  307. package/package.json +3 -3
  308. package/web-shell/assets/{abnfDiagram-VCTEODGH-C80OZcPP.js → abnfDiagram-VCTEODGH-Cxf7xE_Z.js} +1 -1
  309. package/web-shell/assets/{arc-AUqStYgf.js → arc-ESi1eNkE.js} +1 -1
  310. package/web-shell/assets/{architectureDiagram-5GKGNRK7-CQYOdYla.js → architectureDiagram-5GKGNRK7-D9l7-bDo.js} +1 -1
  311. package/web-shell/assets/{blockDiagram-NRAW4CY4-lYKlFysy.js → blockDiagram-NRAW4CY4-Bc8DEasw.js} +1 -1
  312. package/web-shell/assets/{c4Diagram-UCG6FXSJ-BoS23iIp.js → c4Diagram-UCG6FXSJ-Dimb2Hmh.js} +1 -1
  313. package/web-shell/assets/channel-B7ohGDil.js +1 -0
  314. package/web-shell/assets/{chunk-2Q5K7J3B-DLLooL1E.js → chunk-2Q5K7J3B-jVDmOpAQ.js} +1 -1
  315. package/web-shell/assets/{chunk-5VM5RSS4-kPfJxScY.js → chunk-5VM5RSS4-DbG_SwdB.js} +1 -1
  316. package/web-shell/assets/{chunk-F27PBJKO-CVGFBqkD.js → chunk-F27PBJKO-QEc4cY1v.js} +1 -1
  317. package/web-shell/assets/{chunk-G27WJ6UU-CnM_kOVV.js → chunk-G27WJ6UU-iJ36lQ3X.js} +1 -1
  318. package/web-shell/assets/{chunk-JWPE2WC7-Cj-ajOkT.js → chunk-JWPE2WC7-DuArnVtF.js} +1 -1
  319. package/web-shell/assets/{chunk-LCL6LL3I-8L5c-wFo.js → chunk-LCL6LL3I-DxOf1zwL.js} +1 -1
  320. package/web-shell/assets/{chunk-POPQ4Y6H-DsXTxpvL.js → chunk-POPQ4Y6H-lVLu9Ild.js} +1 -1
  321. package/web-shell/assets/{chunk-SVP7TREG-DU5GE1_z.js → chunk-SVP7TREG-C6XYlIer.js} +1 -1
  322. package/web-shell/assets/{chunk-XXDRQBXY-D2IIWZKt.js → chunk-XXDRQBXY-CiG2j2Ji.js} +1 -1
  323. package/web-shell/assets/classDiagram-DTDB5LWJ-DdFpqpfD.js +1 -0
  324. package/web-shell/assets/classDiagram-v2-JRS7N3AN-DdFpqpfD.js +1 -0
  325. package/web-shell/assets/{cose-bilkent-JH36ORCC-CF_txUJr.js → cose-bilkent-JH36ORCC-DGVHMMVm.js} +1 -1
  326. package/web-shell/assets/{cynefin-OW5HDTMX-DEZ-My-Z.js → cynefin-OW5HDTMX-D6cgpCnH.js} +1 -1
  327. package/web-shell/assets/{cynefinDiagram-5FMLGOSQ-BV7EKUS6.js → cynefinDiagram-5FMLGOSQ-BKv4Z-UX.js} +1 -1
  328. package/web-shell/assets/{dagre-3AP2YEHR-JGIX0G4H.js → dagre-3AP2YEHR-B4ABMIG-.js} +1 -1
  329. package/web-shell/assets/{diagram-S7CK7UJ4-DdUY7q6A.js → diagram-S7CK7UJ4-DgCkp_Lm.js} +1 -1
  330. package/web-shell/assets/{diagram-UQ7AKVKN-fhzRZ19v.js → diagram-UQ7AKVKN-FG0FNokz.js} +1 -1
  331. package/web-shell/assets/{diagram-VSXAHHWV-BOgOex6q.js → diagram-VSXAHHWV-JgkP9qg-.js} +1 -1
  332. package/web-shell/assets/{diagram-VX7I27RA-C0NknIz6.js → diagram-VX7I27RA-ADh2x83l.js} +1 -1
  333. package/web-shell/assets/{diagram-Z3DM3KII-C__3mUBX.js → diagram-Z3DM3KII-yXqoYF1J.js} +1 -1
  334. package/web-shell/assets/{ebnfDiagram-PWID7BFC-BvPhqycH.js → ebnfDiagram-PWID7BFC-Duk83Ek_.js} +1 -1
  335. package/web-shell/assets/{erDiagram-SSCWMZ5O-BqzoNoL9.js → erDiagram-SSCWMZ5O-DMdvxySG.js} +1 -1
  336. package/web-shell/assets/{flowDiagram-A5DVABFB-CJKOre47.js → flowDiagram-A5DVABFB-DHjVgSji.js} +1 -1
  337. package/web-shell/assets/{ganttDiagram-EL5Y4UJY-C5xZjrp0.js → ganttDiagram-EL5Y4UJY-DMM9DkCE.js} +1 -1
  338. package/web-shell/assets/{gitGraphDiagram-WWUBYQGX-C0EjwuPK.js → gitGraphDiagram-WWUBYQGX-t_ug9vO8.js} +1 -1
  339. package/web-shell/assets/index-BGZRqbRo.css +36 -0
  340. package/web-shell/assets/index-DRri_6_x.js +2067 -0
  341. package/web-shell/assets/{index-C5M93syE.js → index-zqvnpGHv.js} +1 -1
  342. package/web-shell/assets/{infoDiagram-RXCK75RN-BUwzsYOs.js → infoDiagram-RXCK75RN-eT1fANNm.js} +1 -1
  343. package/web-shell/assets/{ishikawaDiagram-5VMMS53U-EDJ_DH3V.js → ishikawaDiagram-5VMMS53U-k3evzZNn.js} +1 -1
  344. package/web-shell/assets/{journeyDiagram-EYS64GPL-BnfcOsS0.js → journeyDiagram-EYS64GPL-CGim3EAi.js} +1 -1
  345. package/web-shell/assets/{kanban-definition-3QL26DDD-D_ofTVGu.js → kanban-definition-3QL26DDD-WHfJo-22.js} +1 -1
  346. package/web-shell/assets/{layout-CBuQFdfZ.js → layout-DkqIaFlJ.js} +1 -1
  347. package/web-shell/assets/{linear-DRIHtmGv.js → linear-Bdkd3mCz.js} +1 -1
  348. package/web-shell/assets/{mermaid.core-CmR5wZH6.js → mermaid.core-CGw0LkT_.js} +6 -6
  349. package/web-shell/assets/{mindmap-definition-FBJOCRG2-BV374olC.js → mindmap-definition-FBJOCRG2-C9V4rBvo.js} +1 -1
  350. package/web-shell/assets/{pegDiagram-XKGWAZYB-Bpy1SplK.js → pegDiagram-XKGWAZYB-CwoI2T5G.js} +1 -1
  351. package/web-shell/assets/{pieDiagram-E7YTZNPT-CeZx4hR2.js → pieDiagram-E7YTZNPT-DaTmBmPG.js} +1 -1
  352. package/web-shell/assets/{quadrantDiagram-AXDQQJYC-COYKs14h.js → quadrantDiagram-AXDQQJYC-plh6MyGI.js} +1 -1
  353. package/web-shell/assets/{railroadDiagram-O6MQD6OU-5g2pOeTs.js → railroadDiagram-O6MQD6OU-D_b-S0iK.js} +1 -1
  354. package/web-shell/assets/{requirementDiagram-EFPCY7ZU-Yn8uPGtF.js → requirementDiagram-EFPCY7ZU-zUzTN7VE.js} +1 -1
  355. package/web-shell/assets/{sankeyDiagram-P5KCCOFB-CTayAGq6.js → sankeyDiagram-P5KCCOFB-m6AhoD0l.js} +1 -1
  356. package/web-shell/assets/{sequenceDiagram-WJ2MYXX4-BFWDKzUU.js → sequenceDiagram-WJ2MYXX4-Cwhzsine.js} +1 -1
  357. package/web-shell/assets/{sizeCapture-X5ZJPWSS-CtErUbj4.js → sizeCapture-X5ZJPWSS-CcZuKIae.js} +1 -1
  358. package/web-shell/assets/{stateDiagram-HBIQ2CUA-Co3HFzOd.js → stateDiagram-HBIQ2CUA-CFoiJwD_.js} +1 -1
  359. package/web-shell/assets/stateDiagram-v2-4QOOHH4V--H8HdEmk.js +1 -0
  360. package/web-shell/assets/{swimlanes-XN3QIQJK-CDZuxzOj.js → swimlanes-XN3QIQJK-CgS9hcaV.js} +1 -1
  361. package/web-shell/assets/swimlanesDiagram-VK2B7HYN-ShE9OIgf.js +8 -0
  362. package/web-shell/assets/{timeline-definition-24CTP7MA-UcNHj8At.js → timeline-definition-24CTP7MA-Dzzc05t9.js} +1 -1
  363. package/web-shell/assets/{vennDiagram-4TSXK5OY-JKR9pVFG.js → vennDiagram-4TSXK5OY-DemK0f7Y.js} +1 -1
  364. package/web-shell/assets/{wardleyDiagram-VM6X3IG4-C4SU-yIW.js → wardleyDiagram-VM6X3IG4-CquLxtMr.js} +1 -1
  365. package/web-shell/assets/{xychartDiagram-S5SC5T6Z-D_yoWGZ4.js → xychartDiagram-S5SC5T6Z-BTBKTM5g.js} +1 -1
  366. package/web-shell/index.html +2 -2
  367. package/chunks/chunk-4P7PPAHN.js +0 -3097
  368. package/chunks/chunk-7J6OTNGO.js +0 -424
  369. package/chunks/chunk-LMMHS3RS.js +0 -135
  370. package/chunks/chunk-MZYWNU66.js +0 -149
  371. package/chunks/chunk-T4EFG2P5.js +0 -113
  372. package/chunks/chunk-XZA32HII.js +0 -19
  373. package/chunks/goal-tools-7TNK5ZHC.js +0 -411
  374. package/web-shell/assets/channel-B0ovOJeK.js +0 -1
  375. package/web-shell/assets/classDiagram-DTDB5LWJ-DMll2-6_.js +0 -1
  376. package/web-shell/assets/classDiagram-v2-JRS7N3AN-DMll2-6_.js +0 -1
  377. package/web-shell/assets/index-B_IPzA0h.js +0 -2020
  378. package/web-shell/assets/index-D1OKGQlM.css +0 -36
  379. package/web-shell/assets/stateDiagram-v2-4QOOHH4V-C3gdRjPm.js +0 -1
  380. package/web-shell/assets/swimlanesDiagram-VK2B7HYN-C34TGCPZ.js +0 -8
  381. /package/chunks/{chunk-FOGQO4FG.js → chunk-JA5CBKRP.js} +0 -0
@@ -8,7 +8,7 @@ import {
8
8
  staleArgsWarning,
9
9
  validateAuthMethod,
10
10
  writeSkillArgs
11
- } from "./chunk-YOMKOM7E.js";
11
+ } from "./chunk-MP6YZ4RK.js";
12
12
  import {
13
13
  calculateCost,
14
14
  computeSessionStats,
@@ -19,7 +19,11 @@ import {
19
19
  getCompressionFailureStatusText,
20
20
  getSystemInfoFields,
21
21
  levelLabel
22
- } from "./chunk-3NQCZMUB.js";
22
+ } from "./chunk-5RTTI4GE.js";
23
+ import {
24
+ formatDuration,
25
+ formatTokenCount
26
+ } from "./chunk-3SH53ANB.js";
23
27
  import {
24
28
  isKittyProtocolEnabled
25
29
  } from "./chunk-NYX53SV4.js";
@@ -27,23 +31,19 @@ import {
27
31
  VSCODE_SHIFT_ENTER_SEQUENCE,
28
32
  isWaylandSession,
29
33
  writeOsc52
30
- } from "./chunk-JLSZT354.js";
34
+ } from "./chunk-M4LBBSVP.js";
31
35
  import {
32
36
  contextCommand
33
- } from "./chunk-KUDI54QQ.js";
34
- import {
35
- formatDuration,
36
- formatTokenCount
37
- } from "./chunk-3SH53ANB.js";
38
- import {
39
- rollbackStandaloneUpdate
40
- } from "./chunk-NGKLMNWN.js";
37
+ } from "./chunk-SX2QIMJV.js";
41
38
  import {
42
39
  themeManager
43
40
  } from "./chunk-JHN7UIDW.js";
41
+ import {
42
+ rollbackStandaloneUpdate
43
+ } from "./chunk-UM2FFKXN.js";
44
44
  import {
45
45
  getErrorMessage as getErrorMessage2
46
- } from "./chunk-MJBHSZEJ.js";
46
+ } from "./chunk-VNAYZAFX.js";
47
47
  import {
48
48
  GITHUB_WORKFLOW_PATHS,
49
49
  INSIGHT_CSS,
@@ -56,7 +56,7 @@ import {
56
56
  toJson,
57
57
  toJsonl,
58
58
  toMarkdown
59
- } from "./chunk-L2OKAIUK.js";
59
+ } from "./chunk-QI27MKNQ.js";
60
60
  import {
61
61
  stripUnsafeCharacters,
62
62
  toCodePoints,
@@ -72,16 +72,19 @@ import {
72
72
  isVoiceEnabled,
73
73
  readVoiceMode,
74
74
  readVoiceModel
75
- } from "./chunk-BE5FGT5Z.js";
75
+ } from "./chunk-BA4WJC4L.js";
76
76
  import {
77
77
  getExtendedSystemInfo,
78
78
  getGitVersion,
79
79
  getNpmVersion
80
- } from "./chunk-6YXNJXQW.js";
80
+ } from "./chunk-RN3YGDCA.js";
81
81
  import {
82
82
  isInlineModelOverrideAllowed,
83
83
  parseAcpModelOption
84
- } from "./chunk-W7KWB6AH.js";
84
+ } from "./chunk-6A2D4QSO.js";
85
+ import {
86
+ getInstallationInfo
87
+ } from "./chunk-7XL4WRXM.js";
85
88
  import {
86
89
  OUTPUT_LANGUAGE_AUTO,
87
90
  getAllSettingKeys,
@@ -93,24 +96,21 @@ import {
93
96
  resolveOutputLanguageOrPreserveAuto,
94
97
  validateSettingValue,
95
98
  writeOutputLanguageAndRegisterPath
96
- } from "./chunk-AAX236AR.js";
99
+ } from "./chunk-VWTSRH6C.js";
97
100
  import {
98
101
  getCurrentLanguage,
99
102
  setLanguageAsync,
100
103
  t
101
- } from "./chunk-EU2B4P3D.js";
104
+ } from "./chunk-I4NRYS6A.js";
102
105
  import {
103
106
  SUPPORTED_LANGUAGES,
104
107
  getSupportedLanguageIds,
105
108
  resolveSupportedLanguage
106
109
  } from "./chunk-5EJZE3FP.js";
107
- import {
108
- getInstallationInfo
109
- } from "./chunk-7XL4WRXM.js";
110
110
  import {
111
111
  isFolderTrustEnabled,
112
112
  loadTrustedFolders
113
- } from "./chunk-I75VKFCJ.js";
113
+ } from "./chunk-65HWLGA7.js";
114
114
  import {
115
115
  require_strip_json_comments
116
116
  } from "./chunk-NPQ5ZKRP.js";
@@ -134,24 +134,25 @@ import {
134
134
  isWsl,
135
135
  parseLearnVideoInput,
136
136
  readPathFromWorkspace
137
- } from "./chunk-NT7LXVV5.js";
137
+ } from "./chunk-JUARRUMA.js";
138
138
  import {
139
139
  listSavedWorkflows,
140
140
  listWorkflowSnapshots
141
- } from "./chunk-DBTMP3P4.js";
141
+ } from "./chunk-I2TMJPCV.js";
142
142
  import {
143
143
  canonicalizeMsgId,
144
144
  describeHoldCause,
145
145
  flattenPeerLabel
146
- } from "./chunk-AYYKUUKP.js";
146
+ } from "./chunk-4UANMABT.js";
147
147
  import {
148
148
  resolveOpenAILogDir
149
- } from "./chunk-JDIO45X7.js";
149
+ } from "./chunk-SULZPKTA.js";
150
150
  import {
151
151
  ArenaManager,
152
152
  ConditionalRulesRegistry,
153
153
  EXTENSIONS_CONFIG_FILENAME,
154
154
  ExtensionManager,
155
+ GoalPersistenceUnavailableError,
155
156
  IdeClient,
156
157
  QWEN_CODE_COMPANION_EXTENSION_NAME,
157
158
  SESSION_TITLE_MAX_LENGTH,
@@ -160,6 +161,7 @@ import {
160
161
  appendToLastTextPart,
161
162
  buildBackgroundEntryLabel,
162
163
  collectMemoryDiagnostics,
164
+ emptyGoalSnapshot,
163
165
  flatMapTextParts,
164
166
  getExtensionDescription,
165
167
  getExtensionDisplayName,
@@ -184,7 +186,7 @@ import {
184
186
  resolveSlimmingConfig,
185
187
  runForkedAgent,
186
188
  tryGenerateSessionTitle
187
- } from "./chunk-ZBDYI7VM.js";
189
+ } from "./chunk-4F7GQGXB.js";
188
190
  import {
189
191
  external_exports
190
192
  } from "./chunk-CQ35AJ4Z.js";
@@ -194,11 +196,21 @@ import {
194
196
  stripRuntimeSnapshotPrefix
195
197
  } from "./chunk-OKTNXDVO.js";
196
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,
197
206
  getArenaSystemReminder,
207
+ getBuiltInOutputStyle,
198
208
  getInsightPrompt,
199
209
  getPlanModeSystemReminder,
200
- getProjectSummaryPrompt
201
- } from "./chunk-YDQ4OCDK.js";
210
+ getProjectSummaryPrompt,
211
+ isSystemMdActive,
212
+ resolveMainSessionOutputStyle
213
+ } from "./chunk-OSSTATJF.js";
202
214
  import {
203
215
  getAutoSkillCuratorStatus,
204
216
  parse,
@@ -206,30 +218,20 @@ import {
206
218
  restoreArchivedAutoSkill,
207
219
  runAutoSkillCurator,
208
220
  setAutoSkillPinned
209
- } from "./chunk-OSTQZIOY.js";
221
+ } from "./chunk-H43PSPYS.js";
210
222
  import {
211
223
  HookEventName,
212
224
  sanitizeUserPromptExpansionAdditionalContext
213
225
  } from "./chunk-U6D2PPMN.js";
214
226
  import {
215
227
  canUseRipgrep
216
- } from "./chunk-PDXYZBBQ.js";
217
- import {
218
- glob
219
- } from "./chunk-QJNDUTOL.js";
228
+ } from "./chunk-VYIUNFEA.js";
220
229
  import {
221
230
  checkArgumentSafety,
222
231
  checkCommandPermissions,
223
232
  escapeShellArg,
224
233
  getShellConfiguration
225
- } from "./chunk-AF3QB6OL.js";
226
- import {
227
- GoalPersistenceUnavailableError,
228
- emptyGoalSnapshot
229
- } from "./chunk-4P7PPAHN.js";
230
- import {
231
- projectUserTranscriptForDisplay
232
- } from "./chunk-7J6OTNGO.js";
234
+ } from "./chunk-KGV55H53.js";
233
235
  import {
234
236
  escapeJsonTagCharacters,
235
237
  formatMemoryUsage
@@ -256,38 +258,37 @@ import {
256
258
  queryTokenUsage,
257
259
  read,
258
260
  recordSkillInvocation,
261
+ runSideQuery,
259
262
  uiTelemetryService
260
- } from "./chunk-FXUSWLBF.js";
263
+ } from "./chunk-GH2S4GD5.js";
261
264
  import {
262
265
  getCurrentMemoryFilename
263
- } from "./chunk-67AY5D3M.js";
266
+ } from "./chunk-DYTW3QVG.js";
264
267
  import {
265
268
  getAutoMemoryRoot
266
269
  } from "./chunk-HT5S5TRQ.js";
267
- import {
268
- runSideQuery
269
- } from "./chunk-LMMHS3RS.js";
270
270
  import {
271
271
  AuthType
272
272
  } from "./chunk-22UH7VTP.js";
273
273
  import {
274
274
  normalizeContent,
275
275
  redactUrlCredentials
276
- } from "./chunk-TBJ3SNS3.js";
276
+ } from "./chunk-QKDNS6FU.js";
277
277
  import {
278
278
  FORK_SUBAGENT_TYPE,
279
279
  stripStartupContext
280
- } from "./chunk-D7D3HSYQ.js";
280
+ } from "./chunk-G7HBEEX7.js";
281
281
  import {
282
282
  applySkillAllowedTools,
283
- buildSkillLlmContent
284
- } from "./chunk-YKADANK6.js";
283
+ buildSkillLlmContent,
284
+ canApplySkillSideEffects
285
+ } from "./chunk-QQD2GART.js";
285
286
  import {
286
287
  ToolDisplayNamesMigration,
287
288
  ToolNames,
288
289
  canonicalToolName,
289
290
  isShellProgressData
290
- } from "./chunk-LYSZVCCD.js";
291
+ } from "./chunk-7JMGTOH7.js";
291
292
  import {
292
293
  Storage,
293
294
  createDebugLogger,
@@ -301,7 +302,7 @@ import {
301
302
  isCpuProfileRecording,
302
303
  startCpuProfile,
303
304
  stopCpuProfile
304
- } from "./chunk-FHPYRXRH.js";
305
+ } from "./chunk-QJGYU5PG.js";
305
306
  import {
306
307
  init_esbuild_shims
307
308
  } from "./chunk-5O2XNYP6.js";
@@ -2450,7 +2451,7 @@ var approvalModeCommand = {
2450
2451
  };
2451
2452
  }
2452
2453
  }
2453
- const autoModeNotices = mode === "auto" /* AUTO */ && priorMode !== "auto" /* AUTO */ && config ? await import("./useAutoAcceptIndicator-DLIQN256.js") : void 0;
2454
+ const autoModeNotices = mode === "auto" /* AUTO */ && priorMode !== "auto" /* AUTO */ && config ? await import("./useAutoAcceptIndicator-6EK4QGAH.js") : void 0;
2454
2455
  if (config) {
2455
2456
  try {
2456
2457
  config.setApprovalMode(mode);
@@ -2574,9 +2575,10 @@ __name(preview, "preview");
2574
2575
  function formatHeldList(held) {
2575
2576
  if (held.length === 0) return "No messages from other sessions are waiting.";
2576
2577
  const lines = held.map((entry) => {
2577
- const who = flattenPeerLabel(
2578
- 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")
2579
2580
  );
2581
+ const who = `${entry.selfSent ? "[own process]" : "[peer]"} ${peerLabel}`;
2580
2582
  const handle = flattenPeerLabel(displayHandle(entry, held));
2581
2583
  return ` ${handle} ${who}
2582
2584
  ${preview(entry.frame.message.content)}
@@ -7445,7 +7447,7 @@ var expandNowCommand = {
7445
7447
  content: t("History is already expanded in this session.")
7446
7448
  };
7447
7449
  }
7448
- const { expandCollapsedHistory } = await import("./resumeHistoryUtils-3JQORXAK.js");
7450
+ const { expandCollapsedHistory } = await import("./resumeHistoryUtils-DPZKFW24.js");
7449
7451
  const updated = expandCollapsedHistory(history);
7450
7452
  loadHistory(updated);
7451
7453
  refreshStatic();
@@ -8905,7 +8907,7 @@ var initCommand = {
8905
8907
  if (existing && existing.trim().length > 0) {
8906
8908
  if (!context.overwriteConfirmed) {
8907
8909
  const [{ Text }, { default: React }] = await Promise.all([
8908
- import("./build-INBK7IXX.js"),
8910
+ import("./build-63BIOYWK.js"),
8909
8911
  import("./react-SG7JAQSZ.js")
8910
8912
  ]);
8911
8913
  return {
@@ -10303,6 +10305,155 @@ ${formatNonVisionModelWarning(modelName2)}`;
10303
10305
  }, "action")
10304
10306
  };
10305
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
+
10306
10457
  // packages/cli/src/ui/commands/rememberCommand.ts
10307
10458
  init_esbuild_shims();
10308
10459
  var rememberCommand = {
@@ -10545,7 +10696,7 @@ init_esbuild_shims();
10545
10696
 
10546
10697
  // packages/cli/src/config/extension-runtime-reload.ts
10547
10698
  init_esbuild_shims();
10548
- var debugLogger12 = createDebugLogger("EXTENSION_RUNTIME_RELOAD");
10699
+ var debugLogger13 = createDebugLogger("EXTENSION_RUNTIME_RELOAD");
10549
10700
  async function reloadPluginsRuntime(options) {
10550
10701
  if (options.config.isSafeMode()) {
10551
10702
  throw new Error("Extension reload is disabled in safe mode.");
@@ -10565,7 +10716,7 @@ async function refreshExtensionContentRuntime(options) {
10565
10716
  await manager.refreshCache();
10566
10717
  } catch (error) {
10567
10718
  errors.push(error);
10568
- debugLogger12.warn(
10719
+ debugLogger13.warn(
10569
10720
  "refreshExtensionContentRuntime: refreshCache failed:",
10570
10721
  error
10571
10722
  );
@@ -10578,7 +10729,7 @@ async function refreshExtensionContentRuntime(options) {
10578
10729
  for (const result of settled) {
10579
10730
  if (result.status === "rejected") {
10580
10731
  errors.push(result.reason);
10581
- debugLogger12.warn(
10732
+ debugLogger13.warn(
10582
10733
  "refreshExtensionContentRuntime: a refresh leg failed:",
10583
10734
  result.reason
10584
10735
  );
@@ -12386,7 +12537,7 @@ import * as os4 from "node:os";
12386
12537
  import * as path13 from "node:path";
12387
12538
  import { exec } from "node:child_process";
12388
12539
  import { promisify } from "node:util";
12389
- var debugLogger13 = createDebugLogger("TERMINAL_SETUP");
12540
+ var debugLogger14 = createDebugLogger("TERMINAL_SETUP");
12390
12541
  var execAsync = promisify(exec);
12391
12542
  function stripJsonComments2(content) {
12392
12543
  return content.replace(/^\s*\/\/.*$/gm, "");
@@ -12419,7 +12570,7 @@ async function detectTerminal() {
12419
12570
  if (parentName.includes("trae") || parentName.includes("Trae"))
12420
12571
  return "trae";
12421
12572
  } catch (error) {
12422
- debugLogger13.debug("Parent process detection failed:", error);
12573
+ debugLogger14.debug("Parent process detection failed:", error);
12423
12574
  }
12424
12575
  }
12425
12576
  return null;
@@ -12431,7 +12582,7 @@ async function backupFile(filePath) {
12431
12582
  const backupPath = `${filePath}.backup.${timestamp}`;
12432
12583
  await fs10.copyFile(filePath, backupPath);
12433
12584
  } catch (error) {
12434
- debugLogger13.warn(`Failed to create backup of ${filePath}:`, error);
12585
+ debugLogger14.warn(`Failed to create backup of ${filePath}:`, error);
12435
12586
  }
12436
12587
  }
12437
12588
  __name(backupFile, "backupFile");
@@ -14758,10 +14909,10 @@ var updateCommand = {
14758
14909
  { performStandaloneUpdate },
14759
14910
  installationInfo
14760
14911
  ] = await Promise.all([
14761
- import("./updateCheck-4QZWCGP6.js"),
14762
- import("./processUtils-2BCDO3DZ.js"),
14763
- import("./standalone-update-P2Q5H4ZU.js"),
14764
- import("./installationInfo-YKUSY3ZB.js")
14912
+ import("./updateCheck-ZXOQDFEI.js"),
14913
+ import("./processUtils-UY3SAJJZ.js"),
14914
+ import("./standalone-update-XGPWJDRN.js"),
14915
+ import("./installationInfo-KO3CCSCK.js")
14765
14916
  ]);
14766
14917
  const { formatUpdateInstructions, getInstallationInfo: getInstallationInfo2 } = installationInfo;
14767
14918
  const settings = context.services.settings;
@@ -14956,6 +15107,7 @@ var BuiltinCommandLoader = class {
14956
15107
  goalCommand,
14957
15108
  memoryCommand,
14958
15109
  modelCommand,
15110
+ outputStyleCommand,
14959
15111
  rememberCommand,
14960
15112
  planCommand,
14961
15113
  permissionsCommand,
@@ -14995,7 +15147,7 @@ var BuiltinCommandLoader = class {
14995
15147
  // packages/cli/src/services/BundledSkillLoader.ts
14996
15148
  init_esbuild_shims();
14997
15149
  import { dirname as dirname2 } from "node:path";
14998
- var debugLogger14 = createDebugLogger("BUNDLED_SKILL_LOADER");
15150
+ var debugLogger15 = createDebugLogger("BUNDLED_SKILL_LOADER");
14999
15151
  var BundledSkillLoader = class {
15000
15152
  constructor(config) {
15001
15153
  this.config = config;
@@ -15005,12 +15157,12 @@ var BundledSkillLoader = class {
15005
15157
  }
15006
15158
  async loadCommands(_signal) {
15007
15159
  if (this.config?.getBareMode?.()) {
15008
- debugLogger14.debug("Bare mode enabled, skipping bundled skills");
15160
+ debugLogger15.debug("Bare mode enabled, skipping bundled skills");
15009
15161
  return [];
15010
15162
  }
15011
15163
  const skillManager = this.config?.getSkillManager();
15012
15164
  if (!skillManager) {
15013
- debugLogger14.debug("SkillManager not available, skipping bundled skills");
15165
+ debugLogger15.debug("SkillManager not available, skipping bundled skills");
15014
15166
  return [];
15015
15167
  }
15016
15168
  try {
@@ -15018,7 +15170,7 @@ var BundledSkillLoader = class {
15018
15170
  const cronEnabled = this.config?.isCronEnabled() ?? false;
15019
15171
  const cronVisible = allSkills.filter((skill) => {
15020
15172
  if (!cronEnabled && skill.allowedTools?.some((t2) => t2.startsWith("cron_"))) {
15021
- debugLogger14.debug(
15173
+ debugLogger15.debug(
15022
15174
  `Hiding skill "${skill.name}" because cron is not enabled`
15023
15175
  );
15024
15176
  return false;
@@ -15029,7 +15181,7 @@ var BundledSkillLoader = class {
15029
15181
  const skills = cronVisible.filter(
15030
15182
  (skill) => !disabled.has(skill.name.toLowerCase())
15031
15183
  );
15032
- debugLogger14.debug(
15184
+ debugLogger15.debug(
15033
15185
  `Loaded ${skills.length} bundled skill(s) as slash commands; ${cronVisible.length - skills.length} hidden by skills.disabled`
15034
15186
  );
15035
15187
  return skills.map((skill) => ({
@@ -15091,7 +15243,7 @@ ${body}`;
15091
15243
  }, "action")
15092
15244
  }));
15093
15245
  } catch (error) {
15094
- debugLogger14.error("Failed to load bundled skills:", error);
15246
+ debugLogger15.error("Failed to load bundled skills:", error);
15095
15247
  return [];
15096
15248
  }
15097
15249
  }
@@ -15371,7 +15523,7 @@ var ShellProcessor = class {
15371
15523
 
15372
15524
  // packages/cli/src/services/prompt-processors/atFileProcessor.ts
15373
15525
  init_esbuild_shims();
15374
- var debugLogger15 = createDebugLogger("AT_FILE_PROCESSOR");
15526
+ var debugLogger16 = createDebugLogger("AT_FILE_PROCESSOR");
15375
15527
  var AtFileProcessor = class {
15376
15528
  constructor(commandName) {
15377
15529
  this.commandName = commandName;
@@ -15417,7 +15569,7 @@ var AtFileProcessor = class {
15417
15569
  } catch (error) {
15418
15570
  const message2 = error instanceof Error ? error.message : String(error);
15419
15571
  const uiMessage = `Failed to inject content for '@{${pathStr}}': ${message2}`;
15420
- debugLogger15.error(
15572
+ debugLogger16.error(
15421
15573
  `[AtFileProcessor] ${uiMessage}. Leaving placeholder in prompt.`
15422
15574
  );
15423
15575
  context.ui.addItem(
@@ -15442,7 +15594,7 @@ var AtFileProcessor = class {
15442
15594
  };
15443
15595
 
15444
15596
  // packages/cli/src/services/command-factory.ts
15445
- var debugLogger16 = createDebugLogger("COMMAND_FACTORY");
15597
+ var debugLogger17 = createDebugLogger("COMMAND_FACTORY");
15446
15598
  function createSlashCommandFromDefinition(filePath, baseDir, definition, extensionName, fileExtension) {
15447
15599
  const relativePathWithExt = path16.relative(baseDir, filePath);
15448
15600
  const relativePath = relativePathWithExt.substring(
@@ -15486,7 +15638,7 @@ function createSlashCommandFromDefinition(filePath, baseDir, definition, extensi
15486
15638
  whenToUse: definition.whenToUse,
15487
15639
  action: /* @__PURE__ */ __name(async (context, _args) => {
15488
15640
  if (!context.invocation) {
15489
- debugLogger16.error(
15641
+ debugLogger17.error(
15490
15642
  `[FileCommandLoader] Critical error: Command '${baseCommandName}' was executed without invocation context.`
15491
15643
  );
15492
15644
  return {
@@ -15524,7 +15676,7 @@ function createSlashCommandFromDefinition(filePath, baseDir, definition, extensi
15524
15676
  __name(createSlashCommandFromDefinition, "createSlashCommandFromDefinition");
15525
15677
 
15526
15678
  // packages/cli/src/services/FileCommandLoader.ts
15527
- var debugLogger17 = createDebugLogger("FILE_COMMAND_LOADER");
15679
+ var debugLogger18 = createDebugLogger("FILE_COMMAND_LOADER");
15528
15680
  var TomlCommandDefSchema = external_exports.object({
15529
15681
  prompt: external_exports.string({
15530
15682
  required_error: "The 'prompt' field is required.",
@@ -15558,7 +15710,7 @@ var FileCommandLoader = class {
15558
15710
  */
15559
15711
  async loadCommands(signal) {
15560
15712
  if (this.config?.getBareMode?.()) {
15561
- debugLogger17.debug("Bare mode enabled, skipping auto-discovered commands");
15713
+ debugLogger18.debug("Bare mode enabled, skipping auto-discovered commands");
15562
15714
  return [];
15563
15715
  }
15564
15716
  const allCommands = [];
@@ -15602,7 +15754,7 @@ var FileCommandLoader = class {
15602
15754
  const isEnoent = error.code === "ENOENT";
15603
15755
  const isAbortError = error instanceof Error && error.name === "AbortError";
15604
15756
  if (!isEnoent && !isAbortError) {
15605
- debugLogger17.error(
15757
+ debugLogger18.error(
15606
15758
  `[FileCommandLoader] Error loading commands from ${dirInfo.path}:`,
15607
15759
  error
15608
15760
  );
@@ -15661,7 +15813,7 @@ var FileCommandLoader = class {
15661
15813
  }
15662
15814
  }
15663
15815
  } catch (error) {
15664
- debugLogger17.warn(
15816
+ debugLogger18.warn(
15665
15817
  `Failed to read extension config for ${ext.name}:`,
15666
15818
  error
15667
15819
  );
@@ -15687,7 +15839,7 @@ var FileCommandLoader = class {
15687
15839
  try {
15688
15840
  fileContent = await fs13.readFile(filePath, "utf-8");
15689
15841
  } catch (error) {
15690
- debugLogger17.error(
15842
+ debugLogger18.error(
15691
15843
  `[FileCommandLoader] Failed to read file ${filePath}:`,
15692
15844
  error instanceof Error ? error.message : String(error)
15693
15845
  );
@@ -15697,7 +15849,7 @@ var FileCommandLoader = class {
15697
15849
  try {
15698
15850
  parsed = import_toml.default.parse(fileContent);
15699
15851
  } catch (error) {
15700
- debugLogger17.error(
15852
+ debugLogger18.error(
15701
15853
  `[FileCommandLoader] Failed to parse TOML file ${filePath}:`,
15702
15854
  error instanceof Error ? error.message : String(error)
15703
15855
  );
@@ -15705,7 +15857,7 @@ var FileCommandLoader = class {
15705
15857
  }
15706
15858
  const validationResult = TomlCommandDefSchema.safeParse(parsed);
15707
15859
  if (!validationResult.success) {
15708
- debugLogger17.error(
15860
+ debugLogger18.error(
15709
15861
  `[FileCommandLoader] Skipping invalid command file: ${filePath}. Validation errors:`,
15710
15862
  validationResult.error.flatten()
15711
15863
  );
@@ -15732,7 +15884,7 @@ var FileCommandLoader = class {
15732
15884
  try {
15733
15885
  fileContent = await fs13.readFile(filePath, "utf-8");
15734
15886
  } catch (error) {
15735
- debugLogger17.error(
15887
+ debugLogger18.error(
15736
15888
  `[FileCommandLoader] Failed to read file ${filePath}:`,
15737
15889
  error instanceof Error ? error.message : String(error)
15738
15890
  );
@@ -15742,7 +15894,7 @@ var FileCommandLoader = class {
15742
15894
  try {
15743
15895
  parsed = parseMarkdownCommand(fileContent);
15744
15896
  } catch (error) {
15745
- debugLogger17.error(
15897
+ debugLogger18.error(
15746
15898
  `[FileCommandLoader] Failed to parse Markdown file ${filePath}:`,
15747
15899
  error instanceof Error ? error.message : String(error)
15748
15900
  );
@@ -15750,7 +15902,7 @@ var FileCommandLoader = class {
15750
15902
  }
15751
15903
  const validationResult = MarkdownCommandDefSchema.safeParse(parsed);
15752
15904
  if (!validationResult.success) {
15753
- debugLogger17.error(
15905
+ debugLogger18.error(
15754
15906
  `[FileCommandLoader] Skipping invalid command file: ${filePath}. Validation errors:`,
15755
15907
  validationResult.error.flatten()
15756
15908
  );
@@ -15776,7 +15928,7 @@ var FileCommandLoader = class {
15776
15928
 
15777
15929
  // packages/cli/src/services/saved-workflow-loader.ts
15778
15930
  init_esbuild_shims();
15779
- var debugLogger18 = createDebugLogger("SavedWorkflowLoader");
15931
+ var debugLogger19 = createDebugLogger("SavedWorkflowLoader");
15780
15932
  var SavedWorkflowLoader = class {
15781
15933
  constructor(config) {
15782
15934
  this.config = config;
@@ -15795,7 +15947,7 @@ var SavedWorkflowLoader = class {
15795
15947
  try {
15796
15948
  entries = await listSavedWorkflows(this.config);
15797
15949
  } catch (e) {
15798
- debugLogger18.debug(`listSavedWorkflows failed: ${e}`);
15950
+ debugLogger19.debug(`listSavedWorkflows failed: ${e}`);
15799
15951
  return [];
15800
15952
  }
15801
15953
  if (signal.aborted) return [];
@@ -16111,7 +16263,7 @@ var McpPromptLoader = class {
16111
16263
  // packages/cli/src/services/SkillCommandLoader.ts
16112
16264
  init_esbuild_shims();
16113
16265
  import { dirname as dirname3 } from "node:path";
16114
- var debugLogger19 = createDebugLogger("SKILL_COMMAND_LOADER");
16266
+ var debugLogger20 = createDebugLogger("SKILL_COMMAND_LOADER");
16115
16267
  async function recordAutoSkillCommandUsage(config, command) {
16116
16268
  const detail = command.skillDetail;
16117
16269
  if (!config || detail?.level !== "project" || !detail.filePath) {
@@ -16124,7 +16276,7 @@ async function recordAutoSkillCommandUsage(config, command) {
16124
16276
  filePath: detail.filePath
16125
16277
  });
16126
16278
  } catch (error) {
16127
- debugLogger19.warn(
16279
+ debugLogger20.warn(
16128
16280
  `Failed to record auto-skill command usage: ${error instanceof Error ? error.message : String(error)}`
16129
16281
  );
16130
16282
  }
@@ -16139,12 +16291,12 @@ var SkillCommandLoader = class {
16139
16291
  }
16140
16292
  async loadCommands(_signal) {
16141
16293
  if (this.config?.getBareMode?.()) {
16142
- debugLogger19.debug("Bare mode enabled, skipping skill commands");
16294
+ debugLogger20.debug("Bare mode enabled, skipping skill commands");
16143
16295
  return [];
16144
16296
  }
16145
16297
  const skillManager = this.config?.getSkillManager();
16146
16298
  if (!skillManager) {
16147
- debugLogger19.debug("SkillManager not available, skipping skill commands");
16299
+ debugLogger20.debug("SkillManager not available, skipping skill commands");
16148
16300
  return [];
16149
16301
  }
16150
16302
  try {
@@ -16160,7 +16312,7 @@ var SkillCommandLoader = class {
16160
16312
  const nonUserInvocableCount = visibleSkills.filter(
16161
16313
  (skill) => skill.userInvocable === false
16162
16314
  ).length;
16163
- debugLogger19.debug(
16315
+ debugLogger20.debug(
16164
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`
16165
16317
  );
16166
16318
  return visibleSkills.map((skill) => {
@@ -16195,10 +16347,17 @@ var SkillCommandLoader = class {
16195
16347
  content: `Skill "${skill.name}" is disabled.`
16196
16348
  };
16197
16349
  }
16198
- applySkillAllowedTools(
16199
- this.config?.getPermissionManager(),
16200
- skill.allowedTools
16201
- );
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
+ }
16202
16361
  const body = buildSkillLlmContent(
16203
16362
  dirname3(skill.filePath),
16204
16363
  skill.body
@@ -16224,7 +16383,7 @@ var SkillCommandLoader = class {
16224
16383
  };
16225
16384
  });
16226
16385
  } catch (error) {
16227
- debugLogger19.error("Failed to load skill commands:", error);
16386
+ debugLogger20.error("Failed to load skill commands:", error);
16228
16387
  return [];
16229
16388
  }
16230
16389
  }
@@ -16299,7 +16458,7 @@ function formatUserPromptExpansionBlockedMessage(reason) {
16299
16458
  __name(formatUserPromptExpansionBlockedMessage, "formatUserPromptExpansionBlockedMessage");
16300
16459
 
16301
16460
  // packages/cli/src/nonInteractiveCliCommands.ts
16302
- var debugLogger20 = createDebugLogger("NON_INTERACTIVE_COMMANDS");
16461
+ var debugLogger21 = createDebugLogger("NON_INTERACTIVE_COMMANDS");
16303
16462
  function getSkillCommandName(command) {
16304
16463
  return command.skillDetail?.name ?? command.name;
16305
16464
  }
@@ -16763,14 +16922,14 @@ var getAvailableCommands = /* @__PURE__ */ __name(async (config, abortSignal, mo
16763
16922
  (command) => isCommandAllowedByPolicy(command, executionPolicy)
16764
16923
  );
16765
16924
  } catch (error) {
16766
- debugLogger20.error("Error loading available commands:", error);
16925
+ debugLogger21.error("Error loading available commands:", error);
16767
16926
  return [];
16768
16927
  }
16769
16928
  }, "getAvailableCommands");
16770
16929
 
16771
16930
  // packages/cli/src/nonInteractive/nonInteractiveHelpers.ts
16772
16931
  init_esbuild_shims();
16773
- var debugLogger21 = createDebugLogger("NON_INTERACTIVE");
16932
+ var debugLogger22 = createDebugLogger("NON_INTERACTIVE");
16774
16933
  function extractPartsFromUserMessage(message2) {
16775
16934
  if (!message2) {
16776
16935
  return null;
@@ -16853,7 +17012,7 @@ async function loadSlashCommandNames(config) {
16853
17012
  );
16854
17013
  return commands.map((cmd) => cmd.name).sort();
16855
17014
  } catch (error) {
16856
- debugLogger21.error(
17015
+ debugLogger22.error(
16857
17016
  "[buildSystemMessage] Failed to load slash commands:",
16858
17017
  error
16859
17018
  );
@@ -16878,7 +17037,7 @@ async function buildSystemMessage(config, sessionId, permissionMode) {
16878
17037
  const subagents = await subagentManager.listSubagents();
16879
17038
  agentNames = subagents.map((subagent) => subagent.name);
16880
17039
  } catch (error) {
16881
- debugLogger21.error("[buildSystemMessage] Failed to load subagents:", error);
17040
+ debugLogger22.error("[buildSystemMessage] Failed to load subagents:", error);
16882
17041
  }
16883
17042
  const systemMessage = {
16884
17043
  type: "system",
@@ -17076,6 +17235,8 @@ export {
17076
17235
  recordDaemonSessionModel,
17077
17236
  restoreSessionModelThenAuthenticate,
17078
17237
  isPickerOnlyModelInvocation,
17238
+ resolveOutputStyleChoice,
17239
+ applyOutputStyleSelection,
17079
17240
  refreshExtensionContentRuntime,
17080
17241
  dayKey,
17081
17242
  parseDayKey,