@qwen-code/qwen-code 0.21.1-simplify-system-prompt.0 → 0.21.2-nightly.20260801.bc382c3ff

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 (437) hide show
  1. package/bundled/qc-helper/docs/configuration/model-providers.md +2 -0
  2. package/bundled/qc-helper/docs/configuration/settings.md +42 -30
  3. package/bundled/qc-helper/docs/features/channels/_meta.ts +2 -0
  4. package/bundled/qc-helper/docs/features/channels/github.md +146 -0
  5. package/bundled/qc-helper/docs/features/channels/gitlab.md +177 -0
  6. package/bundled/qc-helper/docs/features/channels/overview.md +61 -6
  7. package/bundled/qc-helper/docs/features/code-review.md +21 -1
  8. package/bundled/qc-helper/docs/features/commands.md +1 -0
  9. package/bundled/qc-helper/docs/features/hooks.md +186 -32
  10. package/bundled/qc-helper/docs/features/mcp.md +9 -1
  11. package/bundled/qc-helper/docs/features/memory.md +27 -0
  12. package/bundled/qc-helper/docs/features/scheduled-tasks.md +3 -1
  13. package/bundled/qc-helper/docs/features/skills.md +14 -0
  14. package/bundled/qc-helper/docs/features/sub-agents.md +75 -8
  15. package/bundled/qc-helper/docs/features/tool-use-summaries.md +7 -7
  16. package/bundled/qc-helper/docs/qwen-serve.md +32 -8
  17. package/bundled/qc-helper/docs/reference/keyboard-shortcuts.md +4 -4
  18. package/bundled/qc-helper/docs/support/troubleshooting.md +2 -1
  19. package/bundled/review/DESIGN.md +19 -0
  20. package/bundled/review/SKILL.md +120 -61
  21. package/chunks/MaxSizedBox-CDHTDITS.js +89 -0
  22. package/chunks/{StandaloneSessionPicker-O6RKBPU4.js → StandaloneSessionPicker-L63HUAHP.js} +76 -73
  23. package/chunks/{acp-startup-profiler-RV3IV562.js → acp-startup-profiler-3RICG2YW.js} +2 -2
  24. package/chunks/{acpAgent-HYFVXVDR.js → acpAgent-6WVVT2P3.js} +2147 -1009
  25. package/chunks/agent-KDM4CBOU.js +85 -0
  26. package/chunks/agent-headless-AS7K2K57.js +79 -0
  27. package/chunks/{anthropicContentGenerator-LXUXMOE7.js → anthropicContentGenerator-WCBYB6JG.js} +388 -37
  28. package/chunks/{artifact-tool-Y5T7GG7F.js → artifact-tool-ANV4CFCR.js} +4 -4
  29. package/chunks/{askUserQuestion-2H6747FR.js → askUserQuestion-MALEB47H.js} +4 -4
  30. package/chunks/bridge-JNEW6FES.js +95 -0
  31. package/chunks/{build-RV63TIRH.js → build-GDBLPA24.js} +1 -1
  32. package/chunks/{ca-25EDXPFZ.js → ca-4OJN75WT.js} +52 -6
  33. package/chunks/{channel-management-service-G74LFADV.js → channel-management-service-QOO7TD3T.js} +21 -6
  34. package/chunks/channel-settings-store-4CSMTR4L.js +92 -0
  35. package/chunks/{channel-worker-group-PTJIJSKC.js → channel-worker-group-ERSUOPIR.js} +10 -6
  36. package/chunks/{channel-worker-manager-WIMGM2FD.js → channel-worker-manager-X247YDQ7.js} +10 -6
  37. package/chunks/{channel-worker-supervisor-KUFTR6P5.js → channel-worker-supervisor-ORJIEEPP.js} +6 -5
  38. package/chunks/{chunk-LNARWLZQ.js → chunk-25QQVOCG.js} +5 -5
  39. package/chunks/{chunk-2OM7GEXO.js → chunk-2A6MHYIA.js} +3 -3
  40. package/chunks/{chunk-ER5LWJR6.js → chunk-2CTKGIFR.js} +3 -3
  41. package/chunks/{chunk-SQBYH7PX.js → chunk-2DNKEBXY.js} +1 -1
  42. package/chunks/{chunk-6GMVPFB2.js → chunk-2IIJTXYF.js} +45 -16
  43. package/chunks/{chunk-BPJSQIJX.js → chunk-2J3OJGTL.js} +0 -2
  44. package/chunks/chunk-2M5N3DHY.js +378 -0
  45. package/chunks/{chunk-CC4N4M36.js → chunk-2PNQQ4UR.js} +2 -2
  46. package/chunks/{chunk-E5TUC6CA.js → chunk-2UISUFHQ.js} +3 -3
  47. package/chunks/{chunk-PWTZEM3C.js → chunk-33FNCQSY.js} +3 -37
  48. package/chunks/{chunk-J56UI34H.js → chunk-3LGZEYOF.js} +4 -2
  49. package/chunks/{chunk-66RMLJHC.js → chunk-3MHPWQ2M.js} +590 -212
  50. package/chunks/{chunk-NL7LTRLR.js → chunk-3RXUYQJI.js} +54 -74
  51. package/chunks/{chunk-E5Z2AVNV.js → chunk-3SH53ANB.js} +0 -11
  52. package/chunks/{chunk-XHRTVPG2.js → chunk-3WXMXT7C.js} +22 -11
  53. package/chunks/{chunk-C3NS4F2Q.js → chunk-42IKVPST.js} +1 -1
  54. package/chunks/{chunk-M5JM7OSF.js → chunk-432XCUHF.js} +2 -3
  55. package/chunks/{chunk-5U4IPFBR.js → chunk-433VD3HX.js} +4 -4
  56. package/chunks/chunk-434YCHSV.js +2196 -0
  57. package/chunks/{chunk-DHHOYAPR.js → chunk-4LKVQFHM.js} +7 -7
  58. package/chunks/{chunk-IPUUTYMV.js → chunk-4NFY2S7N.js} +0 -33
  59. package/chunks/{chunk-J6D3VXCC.js → chunk-5UJ6A3CH.js} +158 -12
  60. package/chunks/{chunk-N3FAY5CM.js → chunk-5UZITEHA.js} +158 -5
  61. package/chunks/{chunk-A4UCTEB5.js → chunk-5WV5S2GT.js} +0 -1
  62. package/chunks/chunk-6FMJLI5M.js +1591 -0
  63. package/chunks/{chunk-6FGBXPWM.js → chunk-6O5DVH27.js} +38 -44
  64. package/chunks/{chunk-2RFKHEXL.js → chunk-6PLDPT2C.js} +1 -1
  65. package/chunks/{chunk-52O2CIUL.js → chunk-7IYLHTTM.js} +130 -5
  66. package/chunks/{chunk-5THCYPLO.js → chunk-7K2WTPQO.js} +15 -8
  67. package/chunks/{chunk-2Q3OT4OV.js → chunk-7MY2AR5A.js} +204 -81
  68. package/chunks/{chunk-YH6G52F2.js → chunk-A2A34TSB.js} +4 -4
  69. package/chunks/{chunk-3QMGYBFN.js → chunk-A5YZ3FA2.js} +2 -80
  70. package/chunks/{chunk-K4XWPEWB.js → chunk-A6SX5TAH.js} +4 -33
  71. package/chunks/{chunk-VYPFXUCB.js → chunk-AKA24BGO.js} +1 -1
  72. package/chunks/chunk-AQ37AY7B.js +93 -0
  73. package/chunks/{chunk-PANH4R3B.js → chunk-AQEWCKX4.js} +18 -12
  74. package/chunks/{chunk-LG4GZIVV.js → chunk-AYB4HSBI.js} +4 -4
  75. package/chunks/{chunk-PJIZUQVC.js → chunk-AZQ3DT76.js} +2 -2
  76. package/chunks/{chunk-2JZBVYTU.js → chunk-BFHXDAR7.js} +1 -8
  77. package/chunks/{chunk-2W3OOD4W.js → chunk-BGXZBI5B.js} +7 -4
  78. package/chunks/{chunk-2YZJCM5T.js → chunk-BKUN5QHP.js} +7 -7
  79. package/chunks/{chunk-UUUTRMI2.js → chunk-BV4QX43X.js} +1 -1
  80. package/chunks/{chunk-4M377AZG.js → chunk-C4L2MEIT.js} +6 -6
  81. package/chunks/{chunk-VV6XU5L7.js → chunk-CHCLO3M7.js} +19 -14
  82. package/chunks/{chunk-TOFQCPDC.js → chunk-CWEIMFFW.js} +14 -8
  83. package/chunks/{chunk-XVNQMZ2I.js → chunk-DGEIYUC3.js} +0 -1
  84. package/chunks/{chunk-BPZALHVR.js → chunk-DI35ZN7T.js} +1 -1
  85. package/chunks/{chunk-WDSWXQU3.js → chunk-DUIJ2IXG.js} +5 -13
  86. package/chunks/{chunk-3MSHSCSN.js → chunk-DVGTU5TC.js} +94 -4
  87. package/chunks/{chunk-RHLZR4E5.js → chunk-DYA25Y7U.js} +1 -1
  88. package/chunks/{chunk-MUP3T3AD.js → chunk-E4WHKETF.js} +32 -38
  89. package/chunks/{chunk-WBL3FJEU.js → chunk-FC4KQFCS.js} +1 -1
  90. package/chunks/{chunk-V6VRAM7B.js → chunk-FJHA23GM.js} +12 -12
  91. package/chunks/chunk-FYJ7W2PI.js +194 -0
  92. package/chunks/{chunk-INADJJGW.js → chunk-G7XXKQYS.js} +2 -2
  93. package/chunks/{chunk-LZEMEFKY.js → chunk-GALUTA2C.js} +1 -1
  94. package/chunks/{chunk-ML52PL6O.js → chunk-GB3AB7TR.js} +4374 -3779
  95. package/chunks/{chunk-SASBXAQL.js → chunk-GHJM2C2T.js} +6 -8
  96. package/chunks/{chunk-LS77BEZP.js → chunk-GLCZKT5V.js} +1 -5
  97. package/chunks/chunk-GOFAQQZA.js +132 -0
  98. package/chunks/{chunk-BJX6ZSUK.js → chunk-GTM6IHBB.js} +2 -2
  99. package/chunks/{chunk-TF2X2WCT.js → chunk-GVISB2OH.js} +2 -2
  100. package/chunks/{chunk-OKY7HXPG.js → chunk-H36SETQS.js} +2 -2
  101. package/chunks/{chunk-7FZEBPKS.js → chunk-H4346YW5.js} +39 -22
  102. package/chunks/{chunk-LNURQEMZ.js → chunk-H4DSRWAS.js} +24 -13
  103. package/chunks/{chunk-3JAQDSXN.js → chunk-H6MC6VQX.js} +290 -179
  104. package/chunks/{chunk-GZXCZHCT.js → chunk-I3G5JWBV.js} +1 -1
  105. package/chunks/{chunk-PR75REBZ.js → chunk-I5GNT6ZS.js} +18 -82
  106. package/chunks/{chunk-MVS3NS2N.js → chunk-I6FAHB4N.js} +28 -5
  107. package/chunks/{chunk-ZOIFNCKL.js → chunk-I7JDGNG6.js} +3 -23
  108. package/chunks/{chunk-OJGCZBB7.js → chunk-II6WPWHY.js} +41 -36
  109. package/chunks/{chunk-UH3WSE5L.js → chunk-J26HHFI5.js} +2 -7
  110. package/chunks/{chunk-S3TWXGKA.js → chunk-JE7KQ2UP.js} +4 -2
  111. package/chunks/{chunk-ZD6UTE4A.js → chunk-JELIWHXD.js} +1 -1
  112. package/chunks/{chunk-6PSLCFQ2.js → chunk-JRIDA5HF.js} +18 -9
  113. package/chunks/{chunk-W4CQXHT6.js → chunk-K4CGQN4Q.js} +1 -1
  114. package/chunks/{chunk-G4WFQUYQ.js → chunk-K5Q62CGR.js} +1 -1
  115. package/chunks/{chunk-JCW2R7WC.js → chunk-K623ENWT.js} +3 -79
  116. package/chunks/{chunk-T2NCM2ET.js → chunk-K6KS3LTN.js} +2 -749
  117. package/chunks/{chunk-DN6ZX5AY.js → chunk-KG22G46Y.js} +62 -15
  118. package/chunks/{chunk-L5UHQJTJ.js → chunk-KKN2IE7Q.js} +1 -1
  119. package/chunks/{chunk-63P4EL5V.js → chunk-KVUBYJDM.js} +2 -2
  120. package/chunks/{chunk-E5WH5O3C.js → chunk-KXSYDCP2.js} +4 -4
  121. package/chunks/{chunk-JALU3ZDU.js → chunk-LAPK3GLC.js} +212 -16
  122. package/chunks/chunk-LBOVL47Y.js +29 -0
  123. package/chunks/{chunk-FQK6JAFG.js → chunk-LBWNSLJK.js} +4 -4
  124. package/chunks/{chunk-3IXOIAKE.js → chunk-LL4U3BSH.js} +30 -10
  125. package/chunks/{chunk-B7QDM6Z7.js → chunk-LRJWFR6L.js} +4 -4
  126. package/chunks/{chunk-RWS5VYWC.js → chunk-M2F5PLOW.js} +1018 -484
  127. package/chunks/{chunk-HIJQF5B5.js → chunk-M744OFVE.js} +1 -1
  128. package/chunks/{chunk-I7XZ3RY5.js → chunk-MBKPUM5Y.js} +1 -1
  129. package/chunks/chunk-MISUEWB4.js +8749 -0
  130. package/chunks/{chunk-FNQ6T3CV.js → chunk-MOHAWIAW.js} +10 -7
  131. package/chunks/{chunk-FODK6UMO.js → chunk-MPHPFVKK.js} +0 -2
  132. package/chunks/{chunk-QY5MMZ6O.js → chunk-MSIVKDRC.js} +4 -4
  133. package/chunks/{record-artifact-RQKFYO5B.js → chunk-MYT7N6QH.js} +22 -7
  134. package/chunks/{chunk-JESCGQM3.js → chunk-NAVJD2PQ.js} +8 -7
  135. package/chunks/{chunk-DM4Q4JJH.js → chunk-NGWYUZZO.js} +68794 -83526
  136. package/chunks/{chunk-6OUGMXDC.js → chunk-NWNEANAT.js} +7 -7
  137. package/chunks/{chunk-PQNHRFJC.js → chunk-NYX53SV4.js} +0 -2
  138. package/chunks/{chunk-Z5BLYMZM.js → chunk-NZB4NDJL.js} +10 -10
  139. package/chunks/{chunk-SRZ6DXVG.js → chunk-O2ZYHG33.js} +47 -138
  140. package/chunks/chunk-O6GEWCJA.js +21 -0
  141. package/chunks/{chunk-PHVR5UUY.js → chunk-OBAIHYFT.js} +1 -1
  142. package/chunks/chunk-OCPBI7J5.js +18 -0
  143. package/chunks/{chunk-P5V4T7NK.js → chunk-OCRM53TT.js} +11 -3
  144. package/chunks/{chunk-V7RNNPGC.js → chunk-P5Y23G2L.js} +18 -1
  145. package/chunks/{chunk-KU5XMLDK.js → chunk-PDDYAXL2.js} +7 -1
  146. package/chunks/{chunk-L26JL52R.js → chunk-PGEGUNH5.js} +108 -68
  147. package/chunks/{chunk-2JM6GZ5D.js → chunk-PGP7Y3RQ.js} +8 -13
  148. package/chunks/{chunk-VFSJ5VRH.js → chunk-PHODQP2V.js} +6 -6
  149. package/chunks/{chunk-PSWQZHEA.js → chunk-PXA5AWHY.js} +1 -1
  150. package/chunks/{chunk-VDDGDZMA.js → chunk-QHWCP53L.js} +14 -7
  151. package/chunks/chunk-QL4TN4HS.js +59 -0
  152. package/chunks/{chunk-USTWD7QV.js → chunk-QMBEW7EW.js} +26 -16
  153. package/chunks/{chunk-U4VTUMMK.js → chunk-QONSRAEV.js} +1 -1
  154. package/chunks/{chunk-NH6KE4JX.js → chunk-QYPT3QUD.js} +3 -3
  155. package/chunks/{chunk-GDIPH4JY.js → chunk-RGJ4JWSU.js} +133 -50
  156. package/chunks/{chunk-BO4XCS7P.js → chunk-RPYYTL7E.js} +77 -94
  157. package/chunks/{chunk-6AM5D4ME.js → chunk-S6LOFUVP.js} +0 -12
  158. package/chunks/{chunk-B4UMZKMU.js → chunk-SK2UKB45.js} +1 -1
  159. package/chunks/{chunk-QPDRAXDJ.js → chunk-SWEBEXPI.js} +1 -1
  160. package/chunks/chunk-T26EAKDL.js +13 -0
  161. package/chunks/chunk-T3CHYWJZ.js +758 -0
  162. package/chunks/{chunk-U7TXFVUN.js → chunk-TFFMATHX.js} +120 -95
  163. package/chunks/{chunk-M4UKFCZ2.js → chunk-TNVKFQXQ.js} +616 -217
  164. package/chunks/{chunk-5I2IWRSH.js → chunk-TYERNYH4.js} +2 -2
  165. package/chunks/{chunk-VAK25FTU.js → chunk-U25CMJYY.js} +1 -1
  166. package/chunks/{chunk-A5L3JMUA.js → chunk-UH7Z7Y45.js} +18 -4
  167. package/chunks/{chunk-BRRAJXPA.js → chunk-UHQ3L6GC.js} +1 -1
  168. package/chunks/{chunk-HV3G62R6.js → chunk-UHTJC7O3.js} +1 -1
  169. package/chunks/{chunk-3SJ43L4W.js → chunk-UKZEXS6K.js} +8 -0
  170. package/chunks/{chunk-DM22XS4K.js → chunk-UOFFZNXV.js} +361 -17
  171. package/chunks/{chunk-FY3M44RD.js → chunk-URN76TKR.js} +3 -3
  172. package/chunks/{chunk-MSLKI6C2.js → chunk-UWLG4UCE.js} +139 -31
  173. package/chunks/{chunk-A6UO2C7C.js → chunk-UWSXFI6E.js} +167 -81
  174. package/chunks/{chunk-BYFNTGKI.js → chunk-VS3GXRNZ.js} +3703 -1399
  175. package/chunks/{chunk-TQCBGUHN.js → chunk-VWF42XC6.js} +5 -5
  176. package/chunks/{chunk-32MVHM4T.js → chunk-W7XZ3KP5.js} +1 -1
  177. package/chunks/{chunk-B6ZJ7SI6.js → chunk-WISQLM4Q.js} +1526 -1420
  178. package/chunks/{chunk-H5FFA6TH.js → chunk-WK4TJUEA.js} +16 -3
  179. package/chunks/{chunk-3HBZKBMQ.js → chunk-WP4HGHFG.js} +5 -5
  180. package/chunks/{chunk-BIQWWWJN.js → chunk-XC2VAFVZ.js} +1 -1
  181. package/chunks/{chunk-EPDRMGT4.js → chunk-XC656O42.js} +4 -28
  182. package/chunks/{chunk-COH43MRJ.js → chunk-XCGIMOLN.js} +27 -1
  183. package/chunks/{chunk-YAF5VNU7.js → chunk-XCLLRKY5.js} +4 -5
  184. package/chunks/chunk-XFDPIC4P.js +319 -0
  185. package/chunks/{chunk-KIUFNBHR.js → chunk-XSA5EKTJ.js} +1 -1
  186. package/chunks/{chunk-OHNBB4XR.js → chunk-YAVY33G4.js} +1 -1
  187. package/chunks/{chunk-DLWL3Z7A.js → chunk-YXEVDA66.js} +3 -3
  188. package/chunks/chunk-Z4X5MTRT.js +133 -0
  189. package/chunks/{chunk-UW5EOVUN.js → chunk-ZBVS26BY.js} +4 -4
  190. package/chunks/{chunk-HTO4JFDZ.js → chunk-ZPJWUGCS.js} +0 -1
  191. package/chunks/{chunk-ZE5WPL4I.js → chunk-ZRFJ75D7.js} +3 -3
  192. package/chunks/{chunk-MK7VQDN3.js → chunk-ZTN6OA5J.js} +8 -6
  193. package/chunks/{computer-use-DOFAHZAB.js → computer-use-Z4NCIIJN.js} +54 -51
  194. package/chunks/{config-utils-VFQXVGNR.js → config-utils-64LM6OEQ.js} +4 -4
  195. package/chunks/contextCommand-HVM7XFCB.js +84 -0
  196. package/chunks/core-runtime-NL3ZBHBU.js +138 -0
  197. package/chunks/{create-sub-session-IWW2IZ2T.js → create-sub-session-AM32K2HD.js} +3 -3
  198. package/chunks/{create-sub-session-7543K2QA.js → create-sub-session-XHSCDYFU.js} +54 -51
  199. package/chunks/{cron-create-YIID5XAW.js → cron-create-HPXYE6C5.js} +6 -6
  200. package/chunks/{cron-delete-ZVHYCEP2.js → cron-delete-FPVNTKPK.js} +5 -5
  201. package/chunks/{cron-list-XEGS463Q.js → cron-list-ZEI6PAAV.js} +6 -6
  202. package/chunks/{daemon-VOMQW7KZ.js → daemon-PCNCI5YU.js} +239 -18
  203. package/chunks/daemon-status-provider-XD23SNAM.js +94 -0
  204. package/chunks/daemon-trust-policy-NOHK7IW5.js +89 -0
  205. package/chunks/daemon-trust-policy-monitor-ZBTSR333.js +176 -0
  206. package/chunks/{de-HGRCYDEJ.js → de-A6TI4LBB.js} +52 -6
  207. package/chunks/deferred-core-runtime-JJBHKM2C.js +93 -0
  208. package/chunks/{dist-RTJFMNEZ.js → dist-4LAMY2SK.js} +1449 -14
  209. package/chunks/{dist-NNVBBOGU.js → dist-4T4NCJFL.js} +2 -2
  210. package/chunks/dist-7KOL6OMD.js +13467 -0
  211. package/chunks/{dist-BRB6EXK4.js → dist-BH76AT7N.js} +3 -3
  212. package/chunks/dist-BXA3JXVQ.js +4749 -0
  213. package/chunks/{dist-KTYYJ2C5.js → dist-OEEFI6UU.js} +12 -9
  214. package/chunks/{dist-K6Y4E7FX.js → dist-SMLVOWKV.js} +5 -4
  215. package/chunks/{dist-ANLAT3GS.js → dist-V2RK6S6Q.js} +2 -1
  216. package/chunks/earlyInputCapture-KLAZDAIP.js +86 -0
  217. package/chunks/{edit-RIEOJWKB.js → edit-YQZWCISX.js} +53 -50
  218. package/chunks/{en-MTWBNGDO.js → en-RESOFG55.js} +55 -6
  219. package/chunks/{enter-worktree-OGK5FQ3R.js → enter-worktree-WLVWI3FP.js} +53 -50
  220. package/chunks/{enterPlanMode-IWZYALIB.js → enterPlanMode-6RYXFQUD.js} +53 -50
  221. package/chunks/environment-DXJTXSVT.js +106 -0
  222. package/chunks/errors-XGAGG2S2.js +92 -0
  223. package/chunks/esm-K5FARBNI.js +5548 -0
  224. package/chunks/{exit-worktree-4TEYVIVP.js → exit-worktree-C4276VPP.js} +53 -50
  225. package/chunks/exitPlanMode-MM5HIRUF.js +77 -0
  226. package/chunks/{fast-path-HYE7IFEV.js → fast-path-PIXYOHCH.js} +17 -3
  227. package/chunks/{fr-45RLL55O.js → fr-QF7RI5ZE.js} +52 -6
  228. package/chunks/{gemini-NGRQX3YJ.js → gemini-43RLVUNP.js} +171 -109
  229. package/chunks/{geminiContentGenerator-FQHPFZSR.js → geminiContentGenerator-PNQ4TSID.js} +7 -7
  230. package/chunks/{getMachineId-bsd-V7W3GODC.js → getMachineId-bsd-FG7IUY6U.js} +1 -1
  231. package/chunks/{getMachineId-darwin-TDO75DQP.js → getMachineId-darwin-GLCJI2RA.js} +1 -1
  232. package/chunks/{getMachineId-linux-TF43WQT2.js → getMachineId-linux-O6OPPAKO.js} +1 -1
  233. package/chunks/{getMachineId-unsupported-ZGUO3TXT.js → getMachineId-unsupported-S6CKYVGC.js} +1 -1
  234. package/chunks/{getMachineId-win-ECFYZZFQ.js → getMachineId-win-X5SRNEH7.js} +1 -1
  235. package/chunks/{glob-FRTM3X2E.js → glob-ZMBQKAU5.js} +53 -50
  236. package/chunks/goal-tools-Y767F7LZ.js +335 -0
  237. package/chunks/{grep-RKWVROCW.js → grep-HSV37W2Q.js} +55 -51
  238. package/chunks/handleAutoUpdate-QDHZPBAY.js +85 -0
  239. package/chunks/i18n-ME22A6RN.js +101 -0
  240. package/chunks/{image-gen-WIEM7KZA.js → image-gen-IFC7ZWSB.js} +12 -12
  241. package/chunks/initializer-J7H2CHVB.js +90 -0
  242. package/chunks/installationInfo-R7FXPQN5.js +84 -0
  243. package/chunks/{ja-B7DF7DFG.js → ja-URQESVGW.js} +52 -6
  244. package/chunks/{keychain-token-storage-MDTG3WRM.js → keychain-token-storage-7BT4TQ2A.js} +3 -3
  245. package/chunks/{kittyProtocolDetector-MBRTDRBK.js → kittyProtocolDetector-BFLAKYXH.js} +1 -1
  246. package/chunks/lib-RUF3WZA6.js +9 -0
  247. package/chunks/list-OYDIBA4N.js +93 -0
  248. package/chunks/{list-agents-5KJJHR6I.js → list-agents-GATIBBQQ.js} +3 -3
  249. package/chunks/loadedSettingsAdapter-OK6GK2GE.js +87 -0
  250. package/chunks/{loggingContentGenerator-WGM27QAW.js → loggingContentGenerator-U4ZEG4GL.js} +66 -50
  251. package/chunks/{loop-wakeup-FXKNNYSY.js → loop-wakeup-3DZMQQQQ.js} +15 -8
  252. package/chunks/{ls-NTK6VOQJ.js → ls-7F4GHXIH.js} +5 -5
  253. package/chunks/{lsp-2JI24STP.js → lsp-6FEHVBWI.js} +3 -3
  254. package/chunks/{managed-npm-update-JQ2CG3RH.js → managed-npm-update-PGKAJLLO.js} +52 -49
  255. package/chunks/mcp-S4DXJD2G.js +87 -0
  256. package/chunks/{monitor-7FEWXX5F.js → monitor-E5ZFMT74.js} +53 -50
  257. package/chunks/nonInteractiveCli-HNOHKEPE.js +149 -0
  258. package/chunks/{notebook-edit-JGJV2K6J.js → notebook-edit-6QDN6VZJ.js} +53 -50
  259. package/chunks/{openaiContentGenerator-JPVXDTAO.js → openaiContentGenerator-3NLB2C5O.js} +25 -27
  260. package/chunks/pidfile-ZMOIUGG6.js +90 -0
  261. package/chunks/process-registry-2CHQBXH5.js +157 -0
  262. package/chunks/{processUtils-V2LCK6T6.js → processUtils-E4QGQVWW.js} +2 -2
  263. package/chunks/{pt-22Q3FP73.js → pt-EEEQXRUI.js} +52 -6
  264. package/chunks/{qwenContentGenerator-TICV2W2Z.js → qwenContentGenerator-2LFRWJTM.js} +57 -54
  265. package/chunks/{qwenOAuth2-XGFI5XJG.js → qwenOAuth2-N32BUQDC.js} +10 -10
  266. package/chunks/read-file-GLDCWZBG.js +29 -0
  267. package/chunks/{read-mcp-resource-4DKQWGHD.js → read-mcp-resource-AFS3UKZO.js} +4 -4
  268. package/chunks/record-artifact-ECZSCEG5.js +21 -0
  269. package/chunks/resumeHistoryUtils-F5BE5QDW.js +95 -0
  270. package/chunks/ripGrep-T23Y4AGY.js +77 -0
  271. package/chunks/{ru-FZCNZHDC.js → ru-WGZDYQAB.js} +52 -6
  272. package/chunks/{run-qwen-serve-3VCV4I7E.js → run-qwen-serve-TI2HGLLU.js} +1155 -272
  273. package/chunks/runtime-WCWM3DO7.js +125 -0
  274. package/chunks/{scheduler-RS2I6RU5.js → scheduler-2QZO5AV5.js} +51 -48
  275. package/chunks/{sdk-exporters-grpc-AK3LGHNO.js → sdk-exporters-grpc-54L4LS5L.js} +4 -4
  276. package/chunks/{sdk-exporters-http-FS6ZV7MF.js → sdk-exporters-http-IKNWQJNV.js} +7 -7
  277. package/chunks/{sdk-impl-7FZSCSXB.js → sdk-impl-7CUUMQDB.js} +10 -10
  278. package/chunks/{send-message-Q6OOR6BR.js → send-message-X7G2JSII.js} +8 -13
  279. package/chunks/serve-DZOMYUFU.js +93 -0
  280. package/chunks/{server-HRZ23U7M.js → server-N4AJRKIQ.js} +5299 -1584
  281. package/chunks/{session-7XHZKTVV.js → session-GS6AKMN7.js} +167 -102
  282. package/chunks/{settings-7ZGZDXAS.js → settings-CUN3SELH.js} +56 -53
  283. package/chunks/shell-NGBFVXC5.js +87 -0
  284. package/chunks/{skill-LIWXNLDW.js → skill-SC2BSO75.js} +35 -23
  285. package/chunks/skill-settings-XVPCPW5K.js +95 -0
  286. package/chunks/spawnChannel-RILO4YY3.js +86 -0
  287. package/chunks/standalone-update-TMLT6LVJ.js +96 -0
  288. package/chunks/{startInteractiveUI-IW3CSKHA.js → startInteractiveUI-J45WOEOU.js} +1343 -1230
  289. package/chunks/{syntheticOutput-I3757IWH.js → syntheticOutput-FHRY3BPQ.js} +4 -4
  290. package/chunks/task-create-LAQXBIHC.js +26 -0
  291. package/chunks/{task-list-FOPULZEP.js → task-list-V6K5DRDH.js} +8 -8
  292. package/chunks/{task-stop-H6RHXFVQ.js → task-stop-LQXE52L6.js} +3 -3
  293. package/chunks/{task-update-M57TFZJT.js → task-update-NXRCXSPB.js} +13 -12
  294. package/chunks/{team-create-O2FROQ4R.js → team-create-W3EVWCTA.js} +55 -52
  295. package/chunks/{team-delete-QE2UXJL7.js → team-delete-Z4KGO7RC.js} +8 -8
  296. package/chunks/{team-plan-approval-Q6WDBXTQ.js → team-plan-approval-URYVKJF4.js} +53 -50
  297. package/chunks/theme-manager-CUAMS2NI.js +81 -0
  298. package/chunks/{todoWrite-VQ7FKOHL.js → todoWrite-OFIZDI7P.js} +34 -6
  299. package/chunks/{tool-search-APECNQ3Z.js → tool-search-DCICFL32.js} +21 -22
  300. package/chunks/total-session-admission-3ZTAXVUK.js +89 -0
  301. package/chunks/{tree-sitter-FS4VPMZA.js → tree-sitter-4D7QS7F6.js} +1 -1
  302. package/chunks/{tree-sitter-bash-6B46JJCV.js → tree-sitter-bash-VEJGF5XF.js} +1 -1
  303. package/chunks/trustedFolders-EVCN36O5.js +99 -0
  304. package/chunks/{update-relaunch-ON5MDJQG.js → update-relaunch-XLW46RHQ.js} +5 -5
  305. package/chunks/updateCheck-ZHVXDAIH.js +96 -0
  306. package/chunks/useAutoAcceptIndicator-ZGD6BJSP.js +97 -0
  307. package/chunks/{validateNonInterActiveAuth-JBLKBKRD.js → validateNonInterActiveAuth-R3BAQFDY.js} +102 -97
  308. package/chunks/{version-LTNUBQJY.js → version-PMWREGCG.js} +1 -1
  309. package/chunks/{web-fetch-L5UTI53V.js → web-fetch-PGN27SGF.js} +19 -21
  310. package/chunks/{web-search-KM33JOS3.js → web-search-KW4UNMRE.js} +13 -13
  311. package/chunks/{workflow-K7FAWV77.js → workflow-SN3TJBTJ.js} +374 -323
  312. package/chunks/workspace-providers-status-O3HUZGGR.js +90 -0
  313. package/chunks/{workspace-registration-store-6TGVDJV5.js → workspace-registration-store-M3FJ74RS.js} +2 -2
  314. package/chunks/workspace-registry-U7ISW23N.js +97 -0
  315. package/chunks/workspace-service-VH6IWADT.js +104 -0
  316. package/chunks/workspace-skills-status-XANARSZS.js +90 -0
  317. package/chunks/workspace-trust-reconciler-35EFR4GC.js +350 -0
  318. package/chunks/write-file-NCRSGUDT.js +79 -0
  319. package/chunks/xterm-headless-NTYVIBT3.js +3475 -0
  320. package/chunks/{zh-LUIGBD55.js → zh-OHX23Q44.js} +52 -6
  321. package/chunks/{zh-TW-F5KG2IYD.js → zh-TW-4G7YKDAQ.js} +52 -6
  322. package/chunks/zoom-image-X7CIADYC.js +224 -0
  323. package/cli.js +55 -48
  324. package/locales/ca.js +67 -6
  325. package/locales/de.js +69 -6
  326. package/locales/en.js +69 -6
  327. package/locales/fr.js +71 -6
  328. package/locales/ja.js +68 -6
  329. package/locales/pt.js +67 -6
  330. package/locales/ru.js +70 -6
  331. package/locales/zh-TW.js +62 -6
  332. package/locales/zh.js +62 -6
  333. package/package.json +5 -4
  334. package/web-shell/assets/{arc-BbHijhiN.js → arc-CaMTqKio.js} +1 -1
  335. package/web-shell/assets/{architectureDiagram-3BPJPVTR-Cb4B_JD0.js → architectureDiagram-3BPJPVTR-Bjxztij2.js} +1 -1
  336. package/web-shell/assets/{blockDiagram-GPEHLZMM-Dsjlh3H-.js → blockDiagram-GPEHLZMM-BYJzeHi9.js} +1 -1
  337. package/web-shell/assets/{c4Diagram-AAUBKEIU-Cp5AeR4U.js → c4Diagram-AAUBKEIU-fYAa-Eil.js} +1 -1
  338. package/web-shell/assets/channel-LEZei0-5.js +1 -0
  339. package/web-shell/assets/{chunk-2J33WTMH-CLcY7W2e.js → chunk-2J33WTMH-B1OTlTml.js} +1 -1
  340. package/web-shell/assets/{chunk-4BX2VUAB-BUhvY2LR.js → chunk-4BX2VUAB-DNj4uy6k.js} +1 -1
  341. package/web-shell/assets/{chunk-55IACEB6-kDIFC_71.js → chunk-55IACEB6-DAqNmg3c.js} +1 -1
  342. package/web-shell/assets/{chunk-727SXJPM-CIBO15f2.js → chunk-727SXJPM-BwB4ddxE.js} +1 -1
  343. package/web-shell/assets/{chunk-AQP2D5EJ-BJ_T_slV.js → chunk-AQP2D5EJ-DmHR_UZs.js} +1 -1
  344. package/web-shell/assets/{chunk-FMBD7UC4-BEkW35J8.js → chunk-FMBD7UC4-BlfOXumo.js} +1 -1
  345. package/web-shell/assets/{chunk-ND2GUHAM-GGPxofay.js → chunk-ND2GUHAM-BKogiSy7.js} +1 -1
  346. package/web-shell/assets/{chunk-QZHKN3VN-Bifllrb6.js → chunk-QZHKN3VN-DEclVrOF.js} +1 -1
  347. package/web-shell/assets/classDiagram-4FO5ZUOK-BiaRhfvf.js +1 -0
  348. package/web-shell/assets/classDiagram-v2-Q7XG4LA2-BiaRhfvf.js +1 -0
  349. package/web-shell/assets/{cose-bilkent-S5V4N54A-C-Add_Dp.js → cose-bilkent-S5V4N54A-CwtS21WT.js} +1 -1
  350. package/web-shell/assets/{dagre-BM42HDAG-B7MfwNq2.js → dagre-BM42HDAG-BAAIlB4p.js} +1 -1
  351. package/web-shell/assets/{diagram-2AECGRRQ-CY_0zuDz.js → diagram-2AECGRRQ-ChljtF_V.js} +1 -1
  352. package/web-shell/assets/{diagram-5GNKFQAL-VyYSbCgA.js → diagram-5GNKFQAL-BIXVd31-.js} +1 -1
  353. package/web-shell/assets/{diagram-KO2AKTUF-CBiIZ2PL.js → diagram-KO2AKTUF-BEiBaS15.js} +1 -1
  354. package/web-shell/assets/{diagram-LMA3HP47-BL3CrVOx.js → diagram-LMA3HP47-C-g4tWKM.js} +1 -1
  355. package/web-shell/assets/{diagram-OG6HWLK6-CZUPx96P.js → diagram-OG6HWLK6-CNCCbNQG.js} +1 -1
  356. package/web-shell/assets/{erDiagram-TEJ5UH35-B81xHr1-.js → erDiagram-TEJ5UH35-v8ysnsdI.js} +1 -1
  357. package/web-shell/assets/{flowDiagram-I6XJVG4X-EZWhir-J.js → flowDiagram-I6XJVG4X-LKVlLjwA.js} +1 -1
  358. package/web-shell/assets/{ganttDiagram-6RSMTGT7-CVFSuIAg.js → ganttDiagram-6RSMTGT7-DA5MrKYG.js} +1 -1
  359. package/web-shell/assets/{gitGraphDiagram-PVQCEYII-C1H2uQDv.js → gitGraphDiagram-PVQCEYII-Cyg5fe6d.js} +1 -1
  360. package/web-shell/assets/index-BgOcEaVt.js +1756 -0
  361. package/web-shell/assets/index-C2GE3DAF.js +74 -0
  362. package/web-shell/assets/{index-BYo99NBH.js → index-CKdUkVVS.js} +1 -1
  363. package/web-shell/assets/index-DA5Lvscv.css +5 -0
  364. package/web-shell/assets/{infoDiagram-5YYISTIA-BwyFMlF8.js → infoDiagram-5YYISTIA-SLsfu3Qd.js} +1 -1
  365. package/web-shell/assets/{ishikawaDiagram-YF4QCWOH-CQ7Yhn2Y.js → ishikawaDiagram-YF4QCWOH-CmHOmTNx.js} +1 -1
  366. package/web-shell/assets/{journeyDiagram-JHISSGLW-CJn2sf0l.js → journeyDiagram-JHISSGLW-C3gM_HFQ.js} +1 -1
  367. package/web-shell/assets/{kanban-definition-UN3LZRKU-DaNRqwVN.js → kanban-definition-UN3LZRKU-BbHD7duM.js} +1 -1
  368. package/web-shell/assets/{linear-DCKODZe2.js → linear-CSBvm435.js} +1 -1
  369. package/web-shell/assets/{mermaid.core-CTGJOk27.js → mermaid.core-CPMw15lU.js} +5 -5
  370. package/web-shell/assets/{mindmap-definition-RKZ34NQL-BKU3_3rg.js → mindmap-definition-RKZ34NQL-C_tNqXQW.js} +1 -1
  371. package/web-shell/assets/{pieDiagram-4H26LBE5-COcwBJ82.js → pieDiagram-4H26LBE5-DH_N-8yY.js} +1 -1
  372. package/web-shell/assets/{quadrantDiagram-W4KKPZXB-CQnQ443x.js → quadrantDiagram-W4KKPZXB-CRbS8UkN.js} +1 -1
  373. package/web-shell/assets/{requirementDiagram-4Y6WPE33-CZ2oj5cD.js → requirementDiagram-4Y6WPE33-DJgdZPZn.js} +1 -1
  374. package/web-shell/assets/{sankeyDiagram-5OEKKPKP-BxAv5mNu.js → sankeyDiagram-5OEKKPKP-vhL1y5zx.js} +1 -1
  375. package/web-shell/assets/{sequenceDiagram-3UESZ5HK-CztaySPs.js → sequenceDiagram-3UESZ5HK-UQthhFwd.js} +1 -1
  376. package/web-shell/assets/{stateDiagram-AJRCARHV-CTQT1oGD.js → stateDiagram-AJRCARHV-CAywEm20.js} +1 -1
  377. package/web-shell/assets/stateDiagram-v2-BHNVJYJU-lfJQHw-7.js +1 -0
  378. package/web-shell/assets/{timeline-definition-PNZ67QCA-K9Mkex5A.js → timeline-definition-PNZ67QCA-CLO8b3FD.js} +1 -1
  379. package/web-shell/assets/{vennDiagram-CIIHVFJN-B2rVIw76.js → vennDiagram-CIIHVFJN-BNAAh0Mu.js} +1 -1
  380. package/web-shell/assets/{wardley-L42UT6IY-Z1w2JR4M.js → wardley-L42UT6IY-CUY7bLpN.js} +1 -1
  381. package/web-shell/assets/{wardleyDiagram-YWT4CUSO-CIX9aKXf.js → wardleyDiagram-YWT4CUSO-CSg_ORdW.js} +1 -1
  382. package/web-shell/assets/{xychartDiagram-2RQKCTM6-CI9DLIKB.js → xychartDiagram-2RQKCTM6-BjffV208.js} +1 -1
  383. package/web-shell/index.html +2 -2
  384. package/chunks/MaxSizedBox-INHRH72H.js +0 -86
  385. package/chunks/agent-VXDAN5JK.js +0 -82
  386. package/chunks/agent-headless-K4ZMMNBD.js +0 -76
  387. package/chunks/bridge-LGPZCFHO.js +0 -91
  388. package/chunks/channel-settings-store-CHCDRTPY.js +0 -89
  389. package/chunks/chunk-HGT6JR3U.js +0 -177
  390. package/chunks/chunk-JZA3JUDJ.js +0 -82
  391. package/chunks/chunk-SZRN75WQ.js +0 -29
  392. package/chunks/chunk-UGYMA4EI.js +0 -219
  393. package/chunks/chunk-VCBZUOSI.js +0 -8575
  394. package/chunks/contextCommand-QIZYHDR5.js +0 -81
  395. package/chunks/daemon-status-provider-OS5UWBHV.js +0 -90
  396. package/chunks/earlyInputCapture-WQT24RWD.js +0 -83
  397. package/chunks/environment-VZ7BRI4Q.js +0 -103
  398. package/chunks/errors-PCX25DVP.js +0 -89
  399. package/chunks/exitPlanMode-GHPUHBZJ.js +0 -423
  400. package/chunks/handleAutoUpdate-2CZQRJ66.js +0 -82
  401. package/chunks/i18n-XEQVMRKN.js +0 -98
  402. package/chunks/initializer-OVGZ4FLY.js +0 -87
  403. package/chunks/installationInfo-5UUQJI6Y.js +0 -81
  404. package/chunks/list-HODU6RXD.js +0 -90
  405. package/chunks/loadedSettingsAdapter-TYNLBALY.js +0 -84
  406. package/chunks/mcp-J3DFWX4A.js +0 -84
  407. package/chunks/nonInteractiveCli-F4GYSMHT.js +0 -144
  408. package/chunks/pidfile-4VNAR3EP.js +0 -87
  409. package/chunks/read-file-LZXUR4TO.js +0 -31
  410. package/chunks/resumeHistoryUtils-65OX3SGJ.js +0 -92
  411. package/chunks/ripGrep-2U2FRGMV.js +0 -74
  412. package/chunks/runtime-AXJWIEDU.js +0 -120
  413. package/chunks/serve-W2GC47CM.js +0 -90
  414. package/chunks/shell-45IPBDP5.js +0 -84
  415. package/chunks/spawnChannel-PVXQ5AGV.js +0 -83
  416. package/chunks/src-AY65BYR7.js +0 -3166
  417. package/chunks/standalone-update-ZMFNKAEY.js +0 -93
  418. package/chunks/task-create-N7WQSGYA.js +0 -25
  419. package/chunks/theme-manager-YYPZFBAH.js +0 -78
  420. package/chunks/total-session-admission-JXES723M.js +0 -85
  421. package/chunks/trustedFolders-HVI7IXUH.js +0 -94
  422. package/chunks/updateCheck-WUJGHWZZ.js +0 -93
  423. package/chunks/useAutoAcceptIndicator-CHSTZLZD.js +0 -94
  424. package/chunks/workspace-providers-status-GAKSF4LL.js +0 -87
  425. package/chunks/workspace-registry-A7NQUONG.js +0 -89
  426. package/chunks/workspace-service-STGVSO4N.js +0 -99
  427. package/chunks/workspace-skills-status-66AK3DUA.js +0 -86
  428. package/chunks/write-file-HUUCEG4P.js +0 -74
  429. package/web-shell/assets/channel-Bzdx6E8P.js +0 -1
  430. package/web-shell/assets/classDiagram-4FO5ZUOK-Cd6wbiuK.js +0 -1
  431. package/web-shell/assets/classDiagram-v2-Q7XG4LA2-Cd6wbiuK.js +0 -1
  432. package/web-shell/assets/index-B2bXx96W.js +0 -1249
  433. package/web-shell/assets/index-_8mKjx8q.css +0 -5
  434. package/web-shell/assets/stateDiagram-v2-BHNVJYJU-BjMdT6E_.js +0 -1
  435. package/chunks/{chunk-TARRHLLG.js → chunk-QUGAUQGJ.js} +25 -25
  436. package/chunks/{chunk-U7ZFW55U.js → chunk-VOQXFAY5.js} +977 -977
  437. /package/chunks/{chunk-LXXMOYPL.js → chunk-VXZBKKQR.js} +0 -0
@@ -2,7 +2,7 @@
2
2
  "use strict";
3
3
  import {
4
4
  theme
5
- } from "./chunk-VAK25FTU.js";
5
+ } from "./chunk-U25CMJYY.js";
6
6
  import {
7
7
  require_jsx_runtime
8
8
  } from "./chunk-SV5PQVQE.js";
@@ -10,14 +10,14 @@ import {
10
10
  Box_default,
11
11
  Text,
12
12
  use_is_screen_reader_enabled_default
13
- } from "./chunk-6GMVPFB2.js";
13
+ } from "./chunk-2IIJTXYF.js";
14
14
  import {
15
15
  require_react
16
16
  } from "./chunk-5QWWOFGG.js";
17
17
  import {
18
18
  formatHistoryGapNotice,
19
19
  indexGapsByChild
20
- } from "./chunk-BRRAJXPA.js";
20
+ } from "./chunk-UHQ3L6GC.js";
21
21
  import {
22
22
  stringWidth
23
23
  } from "./chunk-2MIN6GRR.js";
@@ -26,19 +26,20 @@ import {
26
26
  } from "./chunk-QHTIBUWB.js";
27
27
  import {
28
28
  formatDuration
29
- } from "./chunk-E5Z2AVNV.js";
29
+ } from "./chunk-3SH53ANB.js";
30
30
  import {
31
31
  t
32
- } from "./chunk-VV6XU5L7.js";
32
+ } from "./chunk-CHCLO3M7.js";
33
33
  import {
34
- getToolResponseDisplayText
35
- } from "./chunk-DM4Q4JJH.js";
34
+ getToolResponseDisplayText,
35
+ stripTrailingUserPromptSubmitContextPart
36
+ } from "./chunk-NGWYUZZO.js";
36
37
  import {
37
38
  stripAnsi
38
39
  } from "./chunk-TWPJO254.js";
39
40
  import {
40
41
  ToolDisplayNames
41
- } from "./chunk-PR75REBZ.js";
42
+ } from "./chunk-I5GNT6ZS.js";
42
43
  import {
43
44
  init_esbuild_shims
44
45
  } from "./chunk-5O2XNYP6.js";
@@ -2741,6 +2742,16 @@ function safeDescription(raw) {
2741
2742
  return cleaned || void 0;
2742
2743
  }
2743
2744
  __name(safeDescription, "safeDescription");
2745
+ function categoryShowsDescriptionsInline(toolCalls, category) {
2746
+ const sameCategory = toolCalls.filter(
2747
+ (tc) => getToolCategory(tc.name) === category
2748
+ );
2749
+ if (sameCategory.length > DESCRIPTION_INLINE_LIMIT) return false;
2750
+ return sameCategory.every(
2751
+ (tc) => safeDescription(tc.description) !== void 0
2752
+ );
2753
+ }
2754
+ __name(categoryShowsDescriptionsInline, "categoryShowsDescriptionsInline");
2744
2755
  function getActiveToolHint(toolCalls) {
2745
2756
  if (toolCalls.length < 2) return void 0;
2746
2757
  const statuses = [
@@ -2753,16 +2764,21 @@ function getActiveToolHint(toolCalls) {
2753
2764
  const tool = toolCalls[index];
2754
2765
  if (tool.status === status) {
2755
2766
  const category = getToolCategory(tool.name);
2756
- const usesCountSummary = toolCalls.some(
2767
+ const hasCategoryPeers = toolCalls.some(
2757
2768
  (candidate, candidateIndex) => candidateIndex !== index && getToolCategory(candidate.name) === category
2758
2769
  );
2759
- return usesCountSummary ? safeDescription(tool.description) : void 0;
2770
+ if (!hasCategoryPeers) return void 0;
2771
+ if (categoryShowsDescriptionsInline(toolCalls, category))
2772
+ return void 0;
2773
+ return safeDescription(tool.description);
2760
2774
  }
2761
2775
  }
2762
2776
  }
2763
2777
  return void 0;
2764
2778
  }
2765
2779
  __name(getActiveToolHint, "getActiveToolHint");
2780
+ var DESCRIPTION_INLINE_LIMIT = 3;
2781
+ var DESCRIPTION_PREVIEW_COUNT = 2;
2766
2782
  function buildToolSummary(toolCalls, isActive) {
2767
2783
  if (toolCalls.length === 0) return "";
2768
2784
  const toolsByCategory = /* @__PURE__ */ new Map();
@@ -2777,20 +2793,37 @@ function buildToolSummary(toolCalls, isActive) {
2777
2793
  const tools = toolsByCategory.get(cat);
2778
2794
  if (!tools || tools.length === 0) continue;
2779
2795
  const template = CATEGORY_TEMPLATES[cat];
2796
+ const verb = isActive ? template.activeVerb : template.pastVerb;
2780
2797
  let part;
2781
2798
  if (tools.length === 1) {
2782
2799
  const safeDesc = safeDescription(tools[0].description);
2783
2800
  if (safeDesc !== void 0) {
2784
- const verb = isActive ? template.activeVerb : template.pastVerb;
2785
2801
  part = `${verb} ${safeDesc}`;
2786
2802
  } else {
2787
2803
  part = t(isActive ? template.active.one : template.past.one, {
2788
2804
  count: "1"
2789
2805
  });
2790
2806
  }
2807
+ } else if (tools.length <= DESCRIPTION_INLINE_LIMIT) {
2808
+ const descriptions = tools.map((tc) => safeDescription(tc.description)).filter((d) => d !== void 0);
2809
+ if (descriptions.length === tools.length) {
2810
+ part = `${verb} ${descriptions.join(", ")}`;
2811
+ } else {
2812
+ const forms = isActive ? template.active : template.past;
2813
+ part = t(forms.many, { count: String(tools.length) });
2814
+ }
2791
2815
  } else {
2792
- const forms = isActive ? template.active : template.past;
2793
- part = t(forms.many, { count: String(tools.length) });
2816
+ const previewDescs = tools.slice(0, DESCRIPTION_PREVIEW_COUNT).map((tc) => safeDescription(tc.description)).filter((d) => d !== void 0);
2817
+ if (previewDescs.length === DESCRIPTION_PREVIEW_COUNT) {
2818
+ const remaining = tools.length - DESCRIPTION_PREVIEW_COUNT;
2819
+ const morePhrase = t("... and {{count}} more", {
2820
+ count: String(remaining)
2821
+ });
2822
+ part = `${verb} ${previewDescs.join(", ")}, ${morePhrase}`;
2823
+ } else {
2824
+ const forms = isActive ? template.active : template.past;
2825
+ part = t(forms.many, { count: String(tools.length) });
2826
+ }
2794
2827
  }
2795
2828
  if (parts.length > 0) {
2796
2829
  part = part.charAt(0).toLowerCase() + part.slice(1);
@@ -2848,6 +2881,17 @@ var CompactToolGroupDisplay = /* @__PURE__ */ __name(({ toolCalls, contentWidth
2848
2881
  }, "CompactToolGroupDisplay");
2849
2882
 
2850
2883
  // packages/cli/src/ui/utils/resumeHistoryUtils.ts
2884
+ function extractUserRecordDisplayText(record) {
2885
+ const payload = record.systemPayload;
2886
+ if (payload?.displayText) {
2887
+ return payload.displayText;
2888
+ }
2889
+ const parts = record.message?.parts ?? [];
2890
+ return extractTextFromParts([
2891
+ ...stripTrailingUserPromptSubmitContextPart(parts)
2892
+ ]);
2893
+ }
2894
+ __name(extractUserRecordDisplayText, "extractUserRecordDisplayText");
2851
2895
  function extractTextFromParts(parts) {
2852
2896
  if (!parts) return "";
2853
2897
  const textParts = [];
@@ -3053,7 +3097,7 @@ function convertToHistoryItems(conversation, config, historyGaps) {
3053
3097
  currentToolGroup = [];
3054
3098
  }
3055
3099
  const payload = pendingAtCommands.shift();
3056
- const text2 = payload.userText || extractTextFromParts(record.message?.parts);
3100
+ const text2 = payload.userText || extractUserRecordDisplayText(record);
3057
3101
  if (text2) {
3058
3102
  items.push({ type: "user", text: text2 });
3059
3103
  }
@@ -3073,7 +3117,7 @@ function convertToHistoryItems(conversation, config, historyGaps) {
3073
3117
  });
3074
3118
  currentToolGroup = [];
3075
3119
  }
3076
- const text = extractTextFromParts(record.message?.parts);
3120
+ const text = extractUserRecordDisplayText(record);
3077
3121
  if (text) {
3078
3122
  items.push({ type: "user", text });
3079
3123
  }
@@ -3130,6 +3174,9 @@ function convertToHistoryItems(conversation, config, historyGaps) {
3130
3174
  if (toolCall) {
3131
3175
  const rawDisplay = record.toolCallResult.resultDisplay;
3132
3176
  toolCall.resultDisplay = rawDisplay;
3177
+ if (record.toolCallResult.visionBridgeNotice !== void 0) {
3178
+ toolCall.visionBridgeNotice = record.toolCallResult.visionBridgeNotice;
3179
+ }
3133
3180
  const rawStatus = record.toolCallResult["status"];
3134
3181
  toolCall.status = rawStatus === "error" ? "Error" /* Error */ : "Success" /* Success */;
3135
3182
  if (toolCall.status === "Success" /* Success */ && isCollapsibleTool(toolCall.name)) {
@@ -6,7 +6,7 @@ import {
6
6
  } from "./chunk-RKUWKYED.js";
7
7
  import {
8
8
  createDebugLogger
9
- } from "./chunk-NL7LTRLR.js";
9
+ } from "./chunk-3RXUYQJI.js";
10
10
  import {
11
11
  init_esbuild_shims
12
12
  } from "./chunk-5O2XNYP6.js";
@@ -2,7 +2,7 @@
2
2
  "use strict";
3
3
  import {
4
4
  createDebugLogger
5
- } from "./chunk-NL7LTRLR.js";
5
+ } from "./chunk-3RXUYQJI.js";
6
6
  import {
7
7
  init_esbuild_shims
8
8
  } from "./chunk-5O2XNYP6.js";
@@ -44,7 +44,7 @@ function classifyEscapeSequence(data, startIdx) {
44
44
  return "incomplete";
45
45
  }
46
46
  const thirdByte = data[thirdIdx];
47
- if (thirdByte === 63 || thirdByte === 62) {
47
+ if (thirdByte === 63 || thirdByte === 62 || thirdByte === 60) {
48
48
  return "terminal";
49
49
  }
50
50
  return "user";
@@ -3,17 +3,17 @@
3
3
  import {
4
4
  getGitVersion,
5
5
  getNpmVersion
6
- } from "./chunk-SASBXAQL.js";
6
+ } from "./chunk-GHJM2C2T.js";
7
7
  import {
8
8
  buildEnvStatusFromEnv,
9
9
  snapshotProcessEnv
10
- } from "./chunk-WDSWXQU3.js";
10
+ } from "./chunk-DUIJ2IXG.js";
11
11
  import {
12
12
  mapDomainErrorToErrorKind
13
- } from "./chunk-KU5XMLDK.js";
13
+ } from "./chunk-PDDYAXL2.js";
14
14
  import {
15
15
  canUseRipgrep
16
- } from "./chunk-DM4Q4JJH.js";
16
+ } from "./chunk-NGWYUZZO.js";
17
17
  import {
18
18
  init_esbuild_shims
19
19
  } from "./chunk-5O2XNYP6.js";
@@ -21,12 +21,12 @@ import {
21
21
  getLanguageNameFromLocale,
22
22
  getLanguageSettingsOptions,
23
23
  t
24
- } from "./chunk-VV6XU5L7.js";
24
+ } from "./chunk-CHCLO3M7.js";
25
25
  import {
26
26
  getHomeEnvFallbackVars,
27
27
  loadEnvironment,
28
28
  preResolveHomeEnvOverrides
29
- } from "./chunk-PANH4R3B.js";
29
+ } from "./chunk-AQEWCKX4.js";
30
30
  import {
31
31
  ENV_CORRUPTED_PATH,
32
32
  ENV_WAS_RECOVERED
@@ -34,7 +34,7 @@ import {
34
34
  import {
35
35
  isWorkspaceTrusted,
36
36
  updateSettingsFilePreservingFormat
37
- } from "./chunk-VCBZUOSI.js";
37
+ } from "./chunk-434YCHSV.js";
38
38
  import {
39
39
  require_strip_json_comments
40
40
  } from "./chunk-ALGGS7UH.js";
@@ -46,23 +46,23 @@ import {
46
46
  DEFAULT_TOOL_RESULTS_TOTAL_CHARS_THRESHOLD,
47
47
  DEFAULT_TRUNCATE_TOOL_OUTPUT_LINES,
48
48
  DEFAULT_TRUNCATE_TOOL_OUTPUT_THRESHOLD
49
- } from "./chunk-DM4Q4JJH.js";
49
+ } from "./chunk-NGWYUZZO.js";
50
50
  import {
51
51
  stripRuntimeSnapshotPrefix
52
- } from "./chunk-PSWQZHEA.js";
52
+ } from "./chunk-PXA5AWHY.js";
53
53
  import {
54
54
  DEFAULT_QWEN_CUSTOM_IGNORE_FILE_NAMES
55
- } from "./chunk-M5JM7OSF.js";
55
+ } from "./chunk-432XCUHF.js";
56
56
  import {
57
57
  DEFAULT_SENSITIVE_SPAN_ATTRIBUTE_MAX_LENGTH,
58
58
  SENSITIVE_SPAN_ATTRIBUTE_MAX_LENGTH_LIMIT
59
- } from "./chunk-INADJJGW.js";
59
+ } from "./chunk-G7XXKQYS.js";
60
60
  import {
61
61
  FatalConfigError,
62
62
  Storage,
63
63
  createDebugLogger,
64
64
  getErrorMessage
65
- } from "./chunk-NL7LTRLR.js";
65
+ } from "./chunk-3RXUYQJI.js";
66
66
  import {
67
67
  init_esbuild_shims
68
68
  } from "./chunk-5O2XNYP6.js";
@@ -891,9 +891,9 @@ var SETTINGS_SCHEMA = {
891
891
  type: "boolean",
892
892
  label: "Virtualized History (reduces flicker on long sessions)",
893
893
  category: "UI",
894
- requiresRestart: false,
895
- default: false,
896
- description: "Render conversation history in an in-app scrollable viewport instead of the terminal scrollback buffer. Recommended if you see flicker, scroll-storm, or interface freeze on long sessions, after Ctrl+O, after Ctrl+E / Ctrl+F (expand), after window resize, or when alt-tabbing back. Scroll with Shift+\u2191/\u2193 (line), PgUp/PgDn (page), Ctrl+Home/End (top/bottom), or the mouse wheel. Also enables mouse interactions: click an option in a menu/dialog to select it, hover to highlight it, and click in the prompt to position the cursor. Does NOT use the host terminal scrollback while enabled. Drag to select text in the viewport (double/triple click selects a word/line), copied on release. To use the terminal\u2019s own selection instead, hold Shift (or Option on macOS) while dragging.",
894
+ requiresRestart: true,
895
+ default: true,
896
+ description: "Render conversation history in an in-app scrollable viewport instead of the terminal scrollback buffer. Enabled by default in compatible interactive terminals to avoid flicker, scroll-storm, and interface freeze on long sessions, after Ctrl+O, after Ctrl+E / Ctrl+F (expand), after window resize, or when alt-tabbing back. Screen reader mode and non-interactive output such as piped stdout or CI use append-only terminal output instead. Scroll with Shift+\u2191/\u2193 (line), PgUp/PgDn (page), Ctrl+Home/End (top/bottom), or the mouse wheel. Also enables mouse interactions: click an option in a menu/dialog to select it, hover to highlight it, and click in the prompt to position the cursor. Does NOT use the host terminal scrollback while enabled. Drag to select text in the viewport (double/triple click selects a word/line), copied on release. To use the terminal\u2019s own selection instead, hold Shift (or Option on macOS) while dragging.",
897
897
  showInDialog: true
898
898
  },
899
899
  showScrollbar: {
@@ -1064,6 +1064,10 @@ var SETTINGS_SCHEMA = {
1064
1064
  jsonSchemaOverride: {
1065
1065
  type: "object",
1066
1066
  properties: {
1067
+ userId: {
1068
+ description: "Stable end-user identifier written to GenAI spans as gen_ai.user.id for ARMS session analysis. This value is linkable personal data: prefer a pseudonymous ID, and configure it only when one process represents one user.",
1069
+ type: "string"
1070
+ },
1067
1071
  includeSensitiveSpanAttributes: {
1068
1072
  description: "When enabled, user prompts, system prompts, tool inputs/outputs, and model responses are written to native OTel span attributes in addition to the log-to-span bridge. Warning: this may expose sensitive data (file contents, shell commands, conversation history) to your OTLP backend.",
1069
1073
  type: "boolean",
@@ -1365,6 +1369,28 @@ var SETTINGS_SCHEMA = {
1365
1369
  parentKey: "generationConfig",
1366
1370
  showInDialog: false
1367
1371
  },
1372
+ retryInitialDelayMs: {
1373
+ type: "number",
1374
+ label: "Retry Initial Delay",
1375
+ category: "Generation Configuration",
1376
+ requiresRestart: false,
1377
+ default: void 0,
1378
+ description: "Initial delay in milliseconds for stream rate-limit retries.",
1379
+ minimum: 1,
1380
+ parentKey: "generationConfig",
1381
+ showInDialog: false
1382
+ },
1383
+ retryMaxDelayMs: {
1384
+ type: "number",
1385
+ label: "Retry Max Delay",
1386
+ category: "Generation Configuration",
1387
+ requiresRestart: false,
1388
+ default: void 0,
1389
+ description: "Maximum delay in milliseconds for stream rate-limit retries.",
1390
+ minimum: 1,
1391
+ parentKey: "generationConfig",
1392
+ showInDialog: false
1393
+ },
1368
1394
  enableCacheControl: {
1369
1395
  type: "boolean",
1370
1396
  label: "Enable Cache Control",
@@ -1385,6 +1411,39 @@ var SETTINGS_SCHEMA = {
1385
1411
  parentKey: "generationConfig",
1386
1412
  showInDialog: false
1387
1413
  },
1414
+ cacheRetention: {
1415
+ type: "enum",
1416
+ label: "Anthropic Cache Retention",
1417
+ category: "Generation Configuration",
1418
+ requiresRestart: false,
1419
+ default: void 0,
1420
+ description: "Default Anthropic cache_control retention. 'ephemeral' uses the spec 5-minute default (no ttl on the wire). '1h' requests the extended cache tier (ttl: '1h') -- note the 1h tier writes at 2x base input token cost (vs 1.25x for the 5-minute default; cached reads stay 0.1x for both), so it only pays off when a prefix survives long enough between requests to outlast several 5-minute windows.",
1421
+ parentKey: "generationConfig",
1422
+ showInDialog: false,
1423
+ options: [
1424
+ { value: "ephemeral", label: "Ephemeral (5m, Default)" },
1425
+ { value: "1h", label: "Extended (1h)" }
1426
+ ]
1427
+ },
1428
+ cacheRetentionByBlock: {
1429
+ type: "object",
1430
+ label: "Anthropic Cache Retention By Block",
1431
+ category: "Generation Configuration",
1432
+ requiresRestart: false,
1433
+ default: void 0,
1434
+ description: "Optional per-anchor override for Anthropic cache retention. Keys (system, tool, user.last) override generationConfig.cacheRetention when present. Resolution is normalized so retention is monotonically non-increasing in wire order (tool -> system -> user.last, per Anthropic's 'longer TTL must precede shorter TTL' rule): setting one anchor to '1h' promotes every anchor before it on the wire to '1h' as well, so any combination here is valid.",
1435
+ parentKey: "generationConfig",
1436
+ showInDialog: false,
1437
+ jsonSchemaOverride: {
1438
+ type: "object",
1439
+ properties: {
1440
+ system: { type: "string", enum: ["ephemeral", "1h"] },
1441
+ tool: { type: "string", enum: ["ephemeral", "1h"] },
1442
+ "user.last": { type: "string", enum: ["ephemeral", "1h"] }
1443
+ },
1444
+ additionalProperties: false
1445
+ }
1446
+ },
1388
1447
  splitToolMedia: {
1389
1448
  type: "boolean",
1390
1449
  label: "Split Tool Result Media",
@@ -1723,6 +1782,20 @@ var SETTINGS_SCHEMA = {
1723
1782
  description: "Configuration for skills (SKILL.md-based capabilities) exposed to the model.",
1724
1783
  showInDialog: false,
1725
1784
  properties: {
1785
+ disabledLevels: {
1786
+ type: "array",
1787
+ label: "Disabled Skill Levels",
1788
+ category: "Advanced",
1789
+ requiresRestart: true,
1790
+ default: void 0,
1791
+ description: "Skill discovery levels to skip entirely. Supported levels are project, user, extension, and bundled. UNION-merged across settings scopes.",
1792
+ showInDialog: false,
1793
+ mergeStrategy: "union" /* UNION */,
1794
+ items: {
1795
+ type: "string",
1796
+ enum: ["project", "user", "extension", "bundled"]
1797
+ }
1798
+ },
1726
1799
  disabled: {
1727
1800
  type: "array",
1728
1801
  label: "Disabled Skills",
@@ -1733,6 +1806,26 @@ var SETTINGS_SCHEMA = {
1733
1806
  showInDialog: false,
1734
1807
  mergeStrategy: "union" /* UNION */
1735
1808
  },
1809
+ defaultDisabled: {
1810
+ type: "array",
1811
+ label: "Default Disabled Skills",
1812
+ category: "Advanced",
1813
+ requiresRestart: false,
1814
+ default: void 0,
1815
+ description: "Skill names disabled by default unless explicitly enabled through skills.enabled. Matched case-insensitively and UNION-merged across settings scopes. skills.disabled always wins.",
1816
+ showInDialog: false,
1817
+ mergeStrategy: "union" /* UNION */
1818
+ },
1819
+ enabled: {
1820
+ type: "array",
1821
+ label: "Enabled Skills",
1822
+ category: "Advanced",
1823
+ requiresRestart: false,
1824
+ default: void 0,
1825
+ description: "Explicit opt-ins that override matching skills.defaultDisabled entries. Matched case-insensitively and UNION-merged across settings scopes. Cannot override skills.disabled.",
1826
+ showInDialog: false,
1827
+ mergeStrategy: "union" /* UNION */
1828
+ },
1736
1829
  directories: {
1737
1830
  type: "array",
1738
1831
  label: "Skill Directories",
@@ -2012,6 +2105,25 @@ var SETTINGS_SCHEMA = {
2012
2105
  default: true,
2013
2106
  description: "When enabled, MCP tools are loaded on-demand via ToolSearch to reduce prompt size. Disable this for models that rely on prefix-based KV caching (e.g. DeepSeek) to keep the prompt prefix stable and maximize cache hit rates.",
2014
2107
  showInDialog: true
2108
+ },
2109
+ threshold: {
2110
+ type: "number",
2111
+ label: "Deferred Tool Preload Threshold (%)",
2112
+ category: "Tools",
2113
+ requiresRestart: true,
2114
+ default: 10,
2115
+ description: "Context-window percentage used as the session-start budget for preloading deferred tools (bundled built-ins and MCP alike). When every deferred tool schema fits within the budget, all are declared upfront instead of loaded on demand, keeping the prompt prefix stable for KV caching. Set 0 to always load deferred tools on demand.",
2116
+ showInDialog: true,
2117
+ // A percentage of the context window: values above 100 would set a
2118
+ // budget larger than the window and unconditionally preload every
2119
+ // deferred tool, defeating the point of the threshold. Bound it the
2120
+ // way autoCompactThreshold bounds its fraction.
2121
+ jsonSchemaOverride: {
2122
+ type: "number",
2123
+ minimum: 0,
2124
+ maximum: 100,
2125
+ default: 10
2126
+ }
2015
2127
  }
2016
2128
  }
2017
2129
  },
@@ -2454,6 +2566,15 @@ var SETTINGS_SCHEMA = {
2454
2566
  type: "string",
2455
2567
  description: "URL pattern (supports * wildcard)"
2456
2568
  }
2569
+ },
2570
+ allowPrivateNetworkHooks: {
2571
+ type: "boolean",
2572
+ label: "Allow Private Network Hooks",
2573
+ category: "Security",
2574
+ requiresRestart: false,
2575
+ default: false,
2576
+ description: "When true, HTTP hooks may target private/link-local IP ranges (the SSRF IP-range checks are skipped). Cloud metadata hostnames (e.g. 169.254.169.254, metadata.google.internal) remain blocked. Only honored from User, System, and SystemDefaults settings scopes; values set in Workspace settings are ignored so a cloned repository cannot self-grant this bypass. Enable only in trusted, managed environments, and pair with security.allowedHttpHookUrls.",
2577
+ showInDialog: false
2457
2578
  }
2458
2579
  }
2459
2580
  },
@@ -2547,6 +2668,30 @@ var SETTINGS_SCHEMA = {
2547
2668
  }
2548
2669
  }
2549
2670
  },
2671
+ modelGrades: {
2672
+ type: "object",
2673
+ label: "Model Grades",
2674
+ category: "Model",
2675
+ requiresRestart: true,
2676
+ default: void 0,
2677
+ description: "Maps semantic model grade names exposed to the Agent tool to concrete model selectors.",
2678
+ showInDialog: false,
2679
+ mergeStrategy: "shallow_merge" /* SHALLOW_MERGE */,
2680
+ jsonSchemaOverride: {
2681
+ type: "object",
2682
+ additionalProperties: { type: "string" }
2683
+ }
2684
+ },
2685
+ allowedGrades: {
2686
+ type: "array",
2687
+ label: "Allowed Model Grades",
2688
+ category: "Model",
2689
+ requiresRestart: true,
2690
+ default: void 0,
2691
+ description: "Optional whitelist of model grade names the Agent tool may use.",
2692
+ showInDialog: false,
2693
+ items: { type: "string" }
2694
+ },
2550
2695
  maxParallelAgents: {
2551
2696
  type: "number",
2552
2697
  label: "Max Parallel Agents",
@@ -2727,6 +2872,17 @@ var SETTINGS_SCHEMA = {
2727
2872
  mergeStrategy: "concat" /* CONCAT */,
2728
2873
  items: HOOK_DEFINITION_ITEMS
2729
2874
  },
2875
+ StopFailure: {
2876
+ type: "array",
2877
+ label: "After Agent Failure Hooks",
2878
+ category: "Advanced",
2879
+ requiresRestart: false,
2880
+ default: [],
2881
+ description: "Hooks that execute when a turn ends due to an API error or loop detection, instead of the normal Stop hooks. Receives error type and details.",
2882
+ showInDialog: false,
2883
+ mergeStrategy: "concat" /* CONCAT */,
2884
+ items: HOOK_DEFINITION_ITEMS
2885
+ },
2730
2886
  MessageDisplay: {
2731
2887
  type: "array",
2732
2888
  label: "Message Display Hooks",
@@ -2815,6 +2971,17 @@ var SETTINGS_SCHEMA = {
2815
2971
  mergeStrategy: "concat" /* CONCAT */,
2816
2972
  items: HOOK_DEFINITION_ITEMS
2817
2973
  },
2974
+ SessionDelete: {
2975
+ type: "array",
2976
+ label: "Session Delete Hooks",
2977
+ category: "Advanced",
2978
+ requiresRestart: false,
2979
+ default: [],
2980
+ description: "Hooks that execute after an explicitly selected session is deleted.",
2981
+ showInDialog: false,
2982
+ mergeStrategy: "concat" /* CONCAT */,
2983
+ items: HOOK_DEFINITION_ITEMS
2984
+ },
2818
2985
  PreCompact: {
2819
2986
  type: "array",
2820
2987
  label: "Pre Compact Hooks",
@@ -2888,6 +3055,15 @@ var SETTINGS_SCHEMA = {
2888
3055
  description: "Allow daemon and ACP sessions to continue an unfinished top-level Todo list for at most two consecutive primary-model calls without new user input. Mid-turn user input starts a fresh two-attempt stage. Disabled in safe, bare, and Approval plan modes.",
2889
3056
  showInDialog: false
2890
3057
  },
3058
+ sessionWriterLease: {
3059
+ type: "boolean",
3060
+ label: "Enable ACP Session Writer Lease",
3061
+ category: "Experimental",
3062
+ requiresRestart: true,
3063
+ default: false,
3064
+ description: "Enable cross-process write fencing for persisted ACP and daemon sessions. The effective value is frozen when the ACP or daemon process starts. Every concurrent ACP or daemon writer must enable the setting; interactive and headless writers remain outside the protocol.",
3065
+ showInDialog: true
3066
+ },
2891
3067
  cronRecurringMaxAgeDays: {
2892
3068
  type: "number",
2893
3069
  label: "Recurring Cron Max Age (Days)",
@@ -4378,6 +4554,12 @@ function getSettingsWarnings(loadedSettings) {
4378
4554
  for (const warning of getModelProvidersOverrideWarnings(loadedSettings)) {
4379
4555
  warningSet.add(warning);
4380
4556
  }
4557
+ const workspaceFile = loadedSettings.forScope("Workspace" /* Workspace */);
4558
+ if (workspaceFile.rawJson !== void 0 && workspaceFile.originalSettings.security?.allowPrivateNetworkHooks !== void 0) {
4559
+ warningSet.add(
4560
+ `Warning: security.allowPrivateNetworkHooks in workspace settings (${workspaceFile.path}) is ignored. This setting is only honored from User, System, or SystemDefaults scope settings.`
4561
+ );
4562
+ }
4381
4563
  return [...warningSet];
4382
4564
  }
4383
4565
  __name(getSettingsWarnings, "getSettingsWarnings");
@@ -4393,8 +4575,19 @@ function tagMcpServerScope(settings, scope) {
4393
4575
  return { ...settings, mcpServers: tagged };
4394
4576
  }
4395
4577
  __name(tagMcpServerScope, "tagMcpServerScope");
4578
+ function stripWorkspacePrivateNetworkHooks(settings) {
4579
+ if (settings.security?.allowPrivateNetworkHooks === void 0) {
4580
+ return settings;
4581
+ }
4582
+ const { allowPrivateNetworkHooks: _stripped, ...restSecurity } = settings.security;
4583
+ return { ...settings, security: restSecurity };
4584
+ }
4585
+ __name(stripWorkspacePrivateNetworkHooks, "stripWorkspacePrivateNetworkHooks");
4396
4586
  function mergeSettings(system, systemDefaults, user, workspace, isTrusted) {
4397
- const safeWorkspace = isTrusted ? tagMcpServerScope(workspace, "workspace") : {};
4587
+ const safeWorkspace = isTrusted ? tagMcpServerScope(
4588
+ stripWorkspacePrivateNetworkHooks(workspace),
4589
+ "workspace"
4590
+ ) : {};
4398
4591
  return customDeepMerge(
4399
4592
  getMergeStrategyForPath,
4400
4593
  {},
@@ -4461,10 +4654,11 @@ var LoadedSettings = class {
4461
4654
  throw new Error(`Invalid scope: ${scope}`);
4462
4655
  }
4463
4656
  }
4464
- setValue(scope, key, value) {
4657
+ setValue(scope, key, value, assertCanCommit) {
4465
4658
  if (key === "model.name" && typeof value === "string") {
4466
4659
  value = stripRuntimeSnapshotPrefix(value);
4467
4660
  }
4661
+ assertCanCommit?.();
4468
4662
  const settingsFile = this.forScope(scope);
4469
4663
  setNestedPropertySafe(settingsFile.settings, key, value);
4470
4664
  setNestedPropertySafe(settingsFile.originalSettings, key, value);
@@ -4472,7 +4666,7 @@ var LoadedSettings = class {
4472
4666
  const replacePath = key === "mcpServers" ? key.split(".") : [];
4473
4667
  saveSettings(settingsFile, createSettingsUpdate(key, value), replacePath);
4474
4668
  }
4475
- setValues(writes, onScopeCommitted) {
4669
+ setValues(writes, onScopeCommitted, assertCanCommit) {
4476
4670
  const scopes = /* @__PURE__ */ new Set();
4477
4671
  for (const write of writes) {
4478
4672
  const value = write.key === "model.name" && typeof write.value === "string" ? stripRuntimeSnapshotPrefix(write.value) : write.value;
@@ -4486,6 +4680,7 @@ var LoadedSettings = class {
4486
4680
  for (let i = 0; i < scopeList.length; i++) {
4487
4681
  const scope = scopeList[i];
4488
4682
  try {
4683
+ assertCanCommit?.();
4489
4684
  saveSettings(this.forScope(scope), void 0, void 0, {
4490
4685
  throwOnWriteFailure: true
4491
4686
  });
@@ -4739,7 +4934,7 @@ function loadSettings(workspaceDir = process.cwd(), consumeCorruptionEnvVars = t
4739
4934
  settings: {},
4740
4935
  rawJson: void 0
4741
4936
  };
4742
- const workspaceSettingsActive = realWorkspaceDir !== realHomeDir;
4937
+ const workspaceSettingsActive = !opts.skipWorkspaceSettings && realWorkspaceDir !== realHomeDir;
4743
4938
  if (workspaceSettingsActive) {
4744
4939
  workspaceResult = loadAndMigrate(
4745
4940
  workspaceSettingsPath,
@@ -4784,7 +4979,7 @@ function loadSettings(workspaceDir = process.cwd(), consumeCorruptionEnvVars = t
4784
4979
  systemSettings,
4785
4980
  userSettings
4786
4981
  );
4787
- const isTrusted = isWorkspaceTrusted(
4982
+ const isTrusted = opts.workspaceTrusted ?? isWorkspaceTrusted(
4788
4983
  initialTrustCheckSettings,
4789
4984
  void 0,
4790
4985
  realWorkspaceDir
@@ -4915,6 +5110,7 @@ export {
4915
5110
  backupSettingsFile,
4916
5111
  restoreSettingsFromBackup,
4917
5112
  cleanupSettingsBackup,
5113
+ v1ToV2Migration,
4918
5114
  getUserSettingsPath,
4919
5115
  getUserSettingsDir,
4920
5116
  SETTINGS_VERSION,
@@ -0,0 +1,29 @@
1
+ // Force strict mode and setup for ESM
2
+ "use strict";
3
+ import {
4
+ init_esbuild_shims
5
+ } from "./chunk-5O2XNYP6.js";
6
+ import {
7
+ __name
8
+ } from "./chunk-J2S4EL5Y.js";
9
+
10
+ // packages/cli/src/runtime/cpu-percent.ts
11
+ init_esbuild_shims();
12
+ function computeCpuPercent(prev, cur, elapsedMs, coreCount) {
13
+ if (!prev || !cur || elapsedMs <= 0 || coreCount <= 0) return 0;
14
+ const cpuUs = cur.user - prev.user + (cur.system - prev.system);
15
+ return Math.min(
16
+ 100,
17
+ Math.max(0, cpuUs / (elapsedMs * 1e3) * 100 / coreCount)
18
+ );
19
+ }
20
+ __name(computeCpuPercent, "computeCpuPercent");
21
+
22
+ export {
23
+ computeCpuPercent
24
+ };
25
+ /**
26
+ * @license
27
+ * Copyright 2026 Qwen Team
28
+ * SPDX-License-Identifier: Apache-2.0
29
+ */