@qwen-code/qwen-code 0.22.3 → 0.23.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (497) hide show
  1. package/README.md +30 -0
  2. package/bundled/computer-use/SKILL.md +116 -180
  3. package/bundled/goal-draft/SKILL.md +5 -1
  4. package/bundled/qc-helper/docs/common-workflow.md +32 -0
  5. package/bundled/qc-helper/docs/configuration/auth.md +6 -6
  6. package/bundled/qc-helper/docs/configuration/model-providers.md +8 -2
  7. package/bundled/qc-helper/docs/configuration/settings.md +63 -58
  8. package/bundled/qc-helper/docs/extension/introduction.md +1 -1
  9. package/bundled/qc-helper/docs/features/_meta.ts +1 -0
  10. package/bundled/qc-helper/docs/features/approval-mode.md +3 -0
  11. package/bundled/qc-helper/docs/features/auto-mode.md +34 -17
  12. package/bundled/qc-helper/docs/features/channels/dingtalk.md +4 -2
  13. package/bundled/qc-helper/docs/features/channels/dws.md +6 -2
  14. package/bundled/qc-helper/docs/features/channels/overview.md +5 -2
  15. package/bundled/qc-helper/docs/features/code-review.md +2 -2
  16. package/bundled/qc-helper/docs/features/commands.md +79 -1
  17. package/bundled/qc-helper/docs/features/computer-use.md +2 -2
  18. package/bundled/qc-helper/docs/features/goals.md +9 -3
  19. package/bundled/qc-helper/docs/features/headless.md +16 -1
  20. package/bundled/qc-helper/docs/features/hooks.md +8 -3
  21. package/bundled/qc-helper/docs/features/memory.md +1 -0
  22. package/bundled/qc-helper/docs/features/output-styles.md +38 -0
  23. package/bundled/qc-helper/docs/qwen-serve-deploy-local.md +17 -7
  24. package/bundled/qc-helper/docs/qwen-serve.md +74 -55
  25. package/bundled/review/SKILL.md +16 -7
  26. package/bundled/review/references/posting.md +3 -3
  27. package/chunks/MaxSizedBox-B3D7545A.js +111 -0
  28. package/chunks/{StandaloneSessionPicker-2FJAOLGG.js → StandaloneSessionPicker-QUMO4LLQ.js} +88 -86
  29. package/chunks/{acp-startup-profiler-GNYAL6LI.js → acp-startup-profiler-M4X5F3VK.js} +2 -2
  30. package/chunks/{acpAgent-2ZMIJAFV.js → acpAgent-2GTFCIEP.js} +2041 -444
  31. package/chunks/{agent-X5WX3L2I.js → agent-XKF5SZWU.js} +46 -46
  32. package/chunks/agent-headless-OC2IB55D.js +85 -0
  33. package/chunks/{anthropicContentGenerator-YVTB6QX7.js → anthropicContentGenerator-L76MR5OR.js} +53 -20
  34. package/chunks/{artifact-tool-XSMPHZBT.js → artifact-tool-MYCL2QCS.js} +3 -4
  35. package/chunks/{askUserQuestion-4SWJY65V.js → askUserQuestion-THQZMG44.js} +45 -7
  36. package/chunks/bridge-IHSBI2YJ.js +118 -0
  37. package/chunks/{build-INBK7IXX.js → build-63BIOYWK.js} +1 -1
  38. package/chunks/{ca-7HPYOYSZ.js → ca-BNU7YNDE.js} +3 -0
  39. package/chunks/{channel-management-service-HQ6KDS7C.js → channel-management-service-4MTCEGJB.js} +4 -4
  40. package/chunks/channel-settings-store-BVKWAI2T.js +121 -0
  41. package/chunks/{channel-worker-group-6NA6BBZV.js → channel-worker-group-47F4ISUZ.js} +7 -7
  42. package/chunks/{channel-worker-manager-NEZ2J6RK.js → channel-worker-manager-I5Y44GYR.js} +51 -10
  43. package/chunks/{channel-worker-supervisor-FKU7DIHJ.js → channel-worker-supervisor-6VCLUXFE.js} +4 -4
  44. package/chunks/{chunk-PPKZ7JOE.js → chunk-22UH7VTP.js} +1 -1
  45. package/chunks/chunk-24FVUD5P.js +49 -0
  46. package/chunks/{chunk-MZCJWS5Y.js → chunk-2M3EWQNG.js} +20 -0
  47. package/chunks/{chunk-7T52W4SW.js → chunk-32LU3APX.js} +1 -1
  48. package/chunks/{chunk-42IDLQWS.js → chunk-373DQUVA.js} +48 -13
  49. package/chunks/{chunk-MSBO7X2W.js → chunk-37JFWFCD.js} +1 -1
  50. package/chunks/{chunk-3JXM2CVW.js → chunk-3AKCBZVW.js} +3 -3
  51. package/chunks/{chunk-TVC6HQ2U.js → chunk-3JQZVCBI.js} +2 -2
  52. package/chunks/{chunk-2LNNVAUV.js → chunk-3L724BJ5.js} +246 -15
  53. package/chunks/{chunk-E7REAOTN.js → chunk-47ECGEJC.js} +4 -0
  54. package/chunks/{chunk-WNPDGUJO.js → chunk-47RYEQW5.js} +2 -3
  55. package/chunks/{chunk-TZBSGJ6C.js → chunk-4BGDFKQE.js} +7 -7
  56. package/chunks/{chunk-PZ66FRIC.js → chunk-4F7GQGXB.js} +11772 -4773
  57. package/chunks/{chunk-DMLVSW7L.js → chunk-4HVH57J3.js} +713 -9
  58. package/chunks/{chunk-CMHFCLBU.js → chunk-4LIFGNI4.js} +1 -1
  59. package/chunks/{chunk-3SZC4VP4.js → chunk-4M24B5J5.js} +88 -49
  60. package/chunks/{chunk-BOWFGCEU.js → chunk-4PSDSCW3.js} +3 -3
  61. package/chunks/chunk-4UANMABT.js +1026 -0
  62. package/chunks/{chunk-M3QRM3DE.js → chunk-54C6PIGT.js} +5 -5
  63. package/chunks/{chunk-HP5LR5HL.js → chunk-5EIOJGCR.js} +4 -4
  64. package/chunks/{chunk-64REQJJ2.js → chunk-5H5S4UY5.js} +3 -3
  65. package/chunks/chunk-5IENVM7Z.js +35 -0
  66. package/chunks/{chunk-I6LYRJPB.js → chunk-5Q5RC2WE.js} +2 -2
  67. package/chunks/{chunk-WGY3AVGM.js → chunk-5RTTI4GE.js} +79 -5
  68. package/chunks/{chunk-KID24ZFN.js → chunk-64QH2UC6.js} +13 -1
  69. package/chunks/{chunk-MF7HCQWZ.js → chunk-65HWLGA7.js} +3 -3
  70. package/chunks/{chunk-OU5APVWO.js → chunk-6A2D4QSO.js} +13 -7
  71. package/chunks/chunk-6HUXPLB5.js +110 -0
  72. package/chunks/{chunk-VQUGEVGR.js → chunk-7IKXTGZT.js} +1 -1
  73. package/chunks/{chunk-UTLCH2FK.js → chunk-7JMGTOH7.js} +437 -136
  74. package/chunks/{chunk-7LOELM2I.js → chunk-7RB56BRJ.js} +3 -3
  75. package/chunks/{chunk-NIFYWDYN.js → chunk-7TBU7PU2.js} +1 -1
  76. package/chunks/{chunk-V2NDP3I4.js → chunk-7XL4WRXM.js} +2 -2
  77. package/chunks/chunk-ADJD4LZF.js +210 -0
  78. package/chunks/{chunk-T7KMERIX.js → chunk-ADYN7P2Y.js} +2 -2
  79. package/chunks/{chunk-TPI7O7HR.js → chunk-AHYTURFB.js} +1 -1
  80. package/chunks/{chunk-LUEHOUHM.js → chunk-AI35S34R.js} +3 -3
  81. package/chunks/{chunk-CIZCL2MW.js → chunk-ALUYNJPM.js} +1486 -2172
  82. package/chunks/{chunk-ABS25QER.js → chunk-ANVG3BVV.js} +1 -1
  83. package/chunks/{chunk-6ZPDLGHN.js → chunk-AZJLY2XZ.js} +5 -5
  84. package/chunks/{chunk-A3LWD5MK.js → chunk-BA4WJC4L.js} +1 -1
  85. package/chunks/{chunk-W3JH33JE.js → chunk-BFY33IB4.js} +18 -10
  86. package/chunks/{chunk-N4X7G4J2.js → chunk-BHTYRHJF.js} +1 -1
  87. package/chunks/{chunk-TEBDFQBZ.js → chunk-BJXCYUGM.js} +11 -6
  88. package/chunks/{chunk-7VMIMAVB.js → chunk-C2VWOXHS.js} +8 -8
  89. package/chunks/{chunk-XHF7WQ6B.js → chunk-C4TIXFDZ.js} +16 -5
  90. package/chunks/chunk-CHEIIBT3.js +40 -0
  91. package/chunks/chunk-CVX63TFJ.js +348 -0
  92. package/chunks/{chunk-RXFQM6FQ.js → chunk-DMEUXLSS.js} +16 -1
  93. package/chunks/{chunk-EKSCLBBF.js → chunk-DQCKVAF5.js} +23 -5
  94. package/chunks/{chunk-734C6JGI.js → chunk-DSX7KQPM.js} +5195 -666
  95. package/chunks/{chunk-4CMJKUND.js → chunk-DTVQSSNM.js} +67 -2
  96. package/chunks/{chunk-BKWNKLZB.js → chunk-DYTW3QVG.js} +24 -9
  97. package/chunks/{chunk-C2X7KY45.js → chunk-E4JNFXNI.js} +3 -3
  98. package/chunks/{chunk-UHQFIS7N.js → chunk-EAHOJF6V.js} +28 -4
  99. package/chunks/{chunk-YLSQLSH7.js → chunk-EBDGRBZX.js} +24 -16
  100. package/chunks/{chunk-DJBQCO2E.js → chunk-EFTPIZIC.js} +412 -3
  101. package/chunks/{chunk-6DIGWMGT.js → chunk-EIJT2PQ6.js} +2 -2
  102. package/chunks/{chunk-4TT3IVGA.js → chunk-EIY7SUPZ.js} +1 -1
  103. package/chunks/{chunk-XQFT3QUF.js → chunk-ENYUKMFK.js} +1 -1
  104. package/chunks/{chunk-ZWJDJ6RU.js → chunk-EVFDRBUM.js} +157 -153
  105. package/chunks/{chunk-4VPCTGH6.js → chunk-EWRW2WQC.js} +15 -9
  106. package/chunks/{chunk-VBCPNIQD.js → chunk-F33GFWPR.js} +47 -184
  107. package/chunks/{chunk-ERFDKH32.js → chunk-F47DITLZ.js} +19 -8
  108. package/chunks/{chunk-73RM4POK.js → chunk-F7NF2IOE.js} +7 -7
  109. package/chunks/{chunk-EB6QRGHM.js → chunk-FD5SJOWT.js} +10 -7
  110. package/chunks/{chunk-SS5SDCD3.js → chunk-FRICLXCZ.js} +7 -7
  111. package/chunks/{chunk-NU7RKEZR.js → chunk-FUO5V5KI.js} +14 -7
  112. package/chunks/{chunk-G6FECKTJ.js → chunk-G5PBOQWI.js} +9 -6
  113. package/chunks/{chunk-CAJTKR6W.js → chunk-G7HBEEX7.js} +15 -9
  114. package/chunks/{chunk-4QHPPXK2.js → chunk-GB4UKWY5.js} +2 -2
  115. package/chunks/{chunk-QYMAKPY5.js → chunk-GH2S4GD5.js} +350 -12
  116. package/chunks/{chunk-LHBUKJG2.js → chunk-GXUTFQXK.js} +28 -25
  117. package/chunks/{chunk-KJO2LBUK.js → chunk-H43PSPYS.js} +5 -5
  118. package/chunks/{chunk-XSG6G3G6.js → chunk-HJBHMANB.js} +12 -14
  119. package/chunks/chunk-HRPFBHW7.js +336 -0
  120. package/chunks/{chunk-6PJOTWAN.js → chunk-HT5S5TRQ.js} +1 -1
  121. package/chunks/{chunk-HCOBAG2L.js → chunk-HWVUSYSN.js} +3 -8
  122. package/chunks/{chunk-2OUD5T67.js → chunk-I2TMJPCV.js} +213 -185
  123. package/chunks/{chunk-CLWO3B77.js → chunk-I4NRYS6A.js} +11 -11
  124. package/chunks/{chunk-V7EESTJV.js → chunk-I5N4EAS6.js} +1 -1
  125. package/chunks/{chunk-K5KXUXWC.js → chunk-IG4W5SJR.js} +3 -3
  126. package/chunks/{chunk-FROAFEFB.js → chunk-IPATA3T2.js} +3 -3
  127. package/chunks/{chunk-NKLP3DCK.js → chunk-IQAFKVXS.js} +1 -1
  128. package/chunks/{chunk-AYHQZBJ4.js → chunk-IRKQ4YYX.js} +3 -3
  129. package/chunks/{chunk-J3NNHTV6.js → chunk-J5TTWBZK.js} +6 -0
  130. package/chunks/{chunk-QFCDF5PL.js → chunk-JHN7UIDW.js} +1 -1
  131. package/chunks/{chunk-AVNATYLY.js → chunk-JJKNYRFY.js} +1 -1
  132. package/chunks/{chunk-CQH5KTKC.js → chunk-JR42V4UY.js} +1 -1
  133. package/chunks/chunk-JS73NNWF.js +30 -0
  134. package/chunks/{chunk-NV55WWD6.js → chunk-JUARRUMA.js} +802 -2011
  135. package/chunks/chunk-JX6XHPTX.js +26 -0
  136. package/chunks/{chunk-5JTIYALA.js → chunk-JZWOCUZ3.js} +1 -1
  137. package/chunks/{chunk-P2G476QN.js → chunk-KEVYJSI4.js} +13 -13
  138. package/chunks/{chunk-B466ZSHZ.js → chunk-KFN2IZYR.js} +3 -3
  139. package/chunks/{chunk-JWALNCLT.js → chunk-KGV55H53.js} +1 -1
  140. package/chunks/{chunk-23RFD54N.js → chunk-KHP66DFN.js} +1 -1
  141. package/chunks/{chunk-2SXSLSQE.js → chunk-KM3XVTMO.js} +12 -6
  142. package/chunks/{chunk-GPGU4S2N.js → chunk-KMU3ZHH4.js} +3 -3
  143. package/chunks/chunk-KOGW3YWJ.js +2054 -0
  144. package/chunks/{chunk-NMOD2FXQ.js → chunk-L26ONV2Y.js} +8 -8
  145. package/chunks/chunk-L34XSHIZ.js +28 -0
  146. package/chunks/{chunk-SEONHUS3.js → chunk-LAUEEBDL.js} +2 -0
  147. package/chunks/{chunk-3WK3QDNV.js → chunk-LB3WQQJK.js} +2 -2
  148. package/chunks/{chunk-URE3QBBB.js → chunk-LEPCWS5A.js} +3 -3
  149. package/chunks/{chunk-36GSQ3MM.js → chunk-LHBNR6EU.js} +2 -2
  150. package/chunks/{chunk-V4264FEG.js → chunk-LKODFJRD.js} +1 -1
  151. package/chunks/{chunk-PADPMMYM.js → chunk-LOBDDFYK.js} +5 -29
  152. package/chunks/{chunk-BXDAPVQU.js → chunk-LU77UT4D.js} +28 -4
  153. package/chunks/{chunk-RFIDDFAL.js → chunk-M4KFODIP.js} +1 -1
  154. package/chunks/{chunk-CFJY4DGX.js → chunk-M4LBBSVP.js} +4 -2
  155. package/chunks/{chunk-KYWTPLBJ.js → chunk-MOF6VZN2.js} +2 -2
  156. package/chunks/{chunk-DJPASAUV.js → chunk-MP6YZ4RK.js} +4829 -3638
  157. package/chunks/{chunk-T26EAKDL.js → chunk-N2TNM3QB.js} +2 -6
  158. package/chunks/{chunk-2TNL5KPM.js → chunk-N4QWUPDM.js} +7 -0
  159. package/chunks/{chunk-7S226YTK.js → chunk-NFIDVZND.js} +11 -1
  160. package/chunks/{chunk-ZEYFMJQA.js → chunk-NQ4L2CMD.js} +83 -18
  161. package/chunks/{chunk-ZZUKP7HV.js → chunk-NRL5CUZT.js} +1 -1
  162. package/chunks/{chunk-WXEA74YB.js → chunk-NSUKQ4DN.js} +9 -3
  163. package/chunks/chunk-NUHOLAQ6.js +59 -0
  164. package/chunks/{chunk-DJEZ55D4.js → chunk-NVVJTUSL.js} +336 -140
  165. package/chunks/{chunk-3XKLXHGK.js → chunk-NXKOVOM5.js} +9 -9
  166. package/chunks/{chunk-5Q372OFJ.js → chunk-O4KNCAX4.js} +57 -10
  167. package/chunks/{chunk-GOXKNSDZ.js → chunk-O5CD7T4T.js} +40 -9
  168. package/chunks/{chunk-XIQ5HQ2F.js → chunk-OBTWL6ZW.js} +1 -1
  169. package/chunks/{chunk-PDQGMSZK.js → chunk-ODZF64DM.js} +1 -1
  170. package/chunks/{chunk-5MK45KZ3.js → chunk-OHOO527W.js} +1 -1
  171. package/chunks/{chunk-36LGBEM6.js → chunk-OHU2H5CS.js} +1 -1
  172. package/chunks/{chunk-JB4JIVTJ.js → chunk-OKTNXDVO.js} +1 -1
  173. package/chunks/{chunk-CETB5XY4.js → chunk-ORFIYTI2.js} +1 -1
  174. package/chunks/{chunk-7E7UCJHS.js → chunk-OSHQMOBS.js} +18 -17
  175. package/chunks/chunk-OSSTATJF.js +1310 -0
  176. package/chunks/chunk-P6UIF2OW.js +400 -0
  177. package/chunks/{chunk-U54AYGEC.js → chunk-PB7JBAHF.js} +15 -49
  178. package/chunks/{chunk-Y5S7LBOZ.js → chunk-PCRBLMIN.js} +17 -3
  179. package/chunks/{chunk-WAOIHTJS.js → chunk-PDAKFU7M.js} +1 -1
  180. package/chunks/{chunk-YTDVNSUQ.js → chunk-QAK5475D.js} +1 -1
  181. package/chunks/{chunk-ST5MDGH3.js → chunk-QI27MKNQ.js} +27 -19
  182. package/chunks/{chunk-MK2GIB46.js → chunk-QJGYU5PG.js} +1 -1
  183. package/chunks/{chunk-SMPR7SPO.js → chunk-QJNDUTOL.js} +45 -239
  184. package/chunks/{chunk-MQM5PJML.js → chunk-QJVZLILI.js} +1 -1
  185. package/chunks/{chunk-B5PHIJGI.js → chunk-QKDNS6FU.js} +2 -2
  186. package/chunks/{chunk-ZU4UDIWX.js → chunk-QQD2GART.js} +15 -9
  187. package/chunks/{chunk-62GQFYID.js → chunk-RAFQIHN2.js} +3 -3
  188. package/chunks/{chunk-MO3FC2WT.js → chunk-RJUVTJEZ.js} +1 -1
  189. package/chunks/{chunk-M6FOJXW3.js → chunk-RKW36UWC.js} +1 -1
  190. package/chunks/{chunk-GBJBJ4HX.js → chunk-RM4WT2XB.js} +4 -26
  191. package/chunks/{chunk-VGIFXISB.js → chunk-RN3YGDCA.js} +7 -5
  192. package/chunks/{chunk-DYXFD5RO.js → chunk-S2T7H5MI.js} +1 -1
  193. package/chunks/{chunk-FTF2YIZ5.js → chunk-S6H3ELPG.js} +1 -1
  194. package/chunks/{chunk-4NDLQAY2.js → chunk-SI7WDR3U.js} +524 -16
  195. package/chunks/{chunk-2YOHKHYR.js → chunk-SRF4KTAG.js} +6 -6
  196. package/chunks/{chunk-ZZMSC3RG.js → chunk-STCVJXQB.js} +24 -24
  197. package/chunks/{chunk-ST5V3ZOC.js → chunk-SULZPKTA.js} +3 -3
  198. package/chunks/{chunk-6X7EU5TI.js → chunk-SX2QIMJV.js} +9 -7
  199. package/chunks/{chunk-V5J4J5TP.js → chunk-TJYRTS4S.js} +2 -20
  200. package/chunks/{chunk-C3PEFRKD.js → chunk-TMKTOTMQ.js} +5 -5
  201. package/chunks/{chunk-ISKH4QX3.js → chunk-TQHPVKO6.js} +4 -4
  202. package/chunks/{chunk-HVC3PNVC.js → chunk-TSZSGQ3N.js} +1 -1
  203. package/chunks/{chunk-ICURCKIU.js → chunk-U4DJ5XB3.js} +594 -91
  204. package/chunks/{chunk-TTX2JUE6.js → chunk-U6D2PPMN.js} +1 -1
  205. package/chunks/{chunk-GVIVASYK.js → chunk-UAKRDON5.js} +4 -4
  206. package/chunks/{chunk-D5LUXLUH.js → chunk-UJ4DUYIH.js} +18 -4
  207. package/chunks/{chunk-VTHREBQM.js → chunk-UKYXYWI2.js} +2 -2
  208. package/chunks/{chunk-ZYMLPEZQ.js → chunk-UM2FFKXN.js} +3 -3
  209. package/chunks/{chunk-2OBKDPZZ.js → chunk-UPFRILIL.js} +2 -2
  210. package/chunks/{chunk-2HYKTO7V.js → chunk-UUASLXHW.js} +55 -6
  211. package/chunks/chunk-V5U2NZNJ.js +29 -0
  212. package/chunks/{chunk-P5Y23G2L.js → chunk-V7RNNPGC.js} +1 -18
  213. package/chunks/{chunk-Q2MSPKIJ.js → chunk-VBWD6C27.js} +1 -1
  214. package/chunks/chunk-VGHZT6JR.js +51 -0
  215. package/chunks/{chunk-MPNBVAEU.js → chunk-VNAYZAFX.js} +4 -4
  216. package/chunks/chunk-VPSIC437.js +780 -0
  217. package/chunks/{chunk-AIAOIFY4.js → chunk-VWTSRH6C.js} +92 -17
  218. package/chunks/{chunk-4K7KNVWH.js → chunk-VYIUNFEA.js} +3 -3
  219. package/chunks/{chunk-EQSBPBZ3.js → chunk-WP4AX3XD.js} +5 -7
  220. package/chunks/{chunk-BFPESSTR.js → chunk-XEAAO654.js} +1 -1
  221. package/chunks/{chunk-RU7BK6B3.js → chunk-XLXAZLDR.js} +3 -3
  222. package/chunks/{chunk-EFWRMA2I.js → chunk-YPWZTR7F.js} +3 -3
  223. package/chunks/{chunk-XF63PKEN.js → chunk-ZDFQGHZH.js} +1 -1
  224. package/chunks/{chunk-OZ6KS6KW.js → chunk-ZGCKTAL5.js} +6 -1
  225. package/chunks/chunk-ZHO2CW6D.js +205 -0
  226. package/chunks/chunk-ZJ2LM2SI.js +198 -0
  227. package/chunks/{chunk-AYFA7MZV.js → chunk-ZKFTS3OV.js} +6 -6
  228. package/chunks/{chunk-HMJ2P3SV.js → chunk-ZL4HFSL6.js} +91 -29
  229. package/chunks/{chunk-DJECZIJX.js → chunk-ZTPGUFQV.js} +30 -8
  230. package/chunks/{chunk-7EQQR46F.js → chunk-ZVP4PWBU.js} +1 -1
  231. package/chunks/chunk-bdqvmfwv-ZTSOWAFE.js +17446 -0
  232. package/chunks/config-utils-LVSYDLHZ.js +114 -0
  233. package/chunks/contextCommand-TZD7UAJK.js +107 -0
  234. package/chunks/{core-runtime-AXB6SK5D.js → core-runtime-B4UKKIAQ.js} +63 -62
  235. package/chunks/{create-sub-session-23ITIELI.js → create-sub-session-LUPWEUHR.js} +3 -3
  236. package/chunks/{create-sub-session-4QNE64MR.js → create-sub-session-NJ24B4US.js} +94 -66
  237. package/chunks/{cron-create-KJ4IY6PP.js → cron-create-CRSPET3H.js} +4 -4
  238. package/chunks/{cron-delete-MBLQCAYY.js → cron-delete-DB77SZTU.js} +4 -4
  239. package/chunks/{cron-list-DWH2PQ47.js → cron-list-U2JNYWV6.js} +4 -4
  240. package/chunks/{daemon-3GNHB3M2.js → daemon-RKDGBFLK.js} +613 -102
  241. package/chunks/{daemon-git-worktree-guard-IVAJJWYK.js → daemon-git-worktree-guard-O2HPOBAB.js} +62 -61
  242. package/chunks/daemon-status-provider-GRRVCJFW.js +117 -0
  243. package/chunks/daemon-trust-policy-YJL442BK.js +113 -0
  244. package/chunks/{daemon-trust-policy-monitor-KGGROSIV.js → daemon-trust-policy-monitor-JL7F4Y4Q.js} +68 -67
  245. package/chunks/{de-X6HLSIFE.js → de-T4BLOKEC.js} +3 -0
  246. package/chunks/deferred-core-runtime-S32AYVZI.js +115 -0
  247. package/chunks/{devtools-JCG4K2NZ.js → devtools-VDRJYPZF.js} +1 -1
  248. package/chunks/{discovery-X2NV535U.js → discovery-TUM3ZQ6U.js} +2 -2
  249. package/chunks/{display-image-BE7I6ZB6.js → display-image-73C7XNRK.js} +5 -5
  250. package/chunks/{dist-LVZCXVPF.js → dist-62OZ7QXB.js} +44 -26
  251. package/chunks/{dist-GFN5DCBX.js → dist-EDHQIBYD.js} +152 -63
  252. package/chunks/{dist-N6W6E753.js → dist-GT64AAUR.js} +135 -26
  253. package/chunks/{dist-6BPYWHVD.js → dist-JVXT4VUJ.js} +14 -7
  254. package/chunks/{dist-4WXLCBDR.js → dist-L6URO6CK.js} +12 -5
  255. package/chunks/{dist-5VXFRTWU.js → dist-LXFYIJNG.js} +866 -172
  256. package/chunks/{dist-SWQMYP2Q.js → dist-PDGNRVPY.js} +27 -8
  257. package/chunks/{dist-NSV4NBPK.js → dist-QAF5DO3Y.js} +380 -83
  258. package/chunks/{dist-HZNT6GQS.js → dist-ZCJLKQSP.js} +28 -14
  259. package/chunks/earlyInputCapture-BBPCIVZG.js +108 -0
  260. package/chunks/{edit-LEQLAGPZ.js → edit-SUGXY63Y.js} +47 -47
  261. package/chunks/{en-YLXBXM4Z.js → en-2RATMNX7.js} +5 -0
  262. package/chunks/{enter-worktree-35QCAAFP.js → enter-worktree-B6USKSIK.js} +7 -7
  263. package/chunks/{enterPlanMode-ONQN3WHE.js → enterPlanMode-MDX4RVVL.js} +48 -48
  264. package/chunks/{environment-UANTR7A4.js → environment-VN6RXDVN.js} +63 -62
  265. package/chunks/errors-UEY36PIT.js +114 -0
  266. package/chunks/{exit-worktree-XQD6D543.js → exit-worktree-DLQ73SJH.js} +10 -8
  267. package/chunks/exitPlanMode-EPHIEDAA.js +83 -0
  268. package/chunks/{fast-path-WUL7UZ6H.js → fast-path-Y73R42LV.js} +8 -7
  269. package/chunks/{fast-path-settings-XH426LUU.js → fast-path-settings-MFUR3IWK.js} +3 -3
  270. package/chunks/{fr-FTZWF462.js → fr-BGHGYX6A.js} +3 -0
  271. package/chunks/{glob-Y54QUWDY.js → glob-DMGH7EZN.js} +47 -47
  272. package/chunks/goal-tools-3RF3PXCL.js +99 -0
  273. package/chunks/{grep-5GPICQBU.js → grep-AJVLCVXC.js} +9 -7
  274. package/chunks/handleAutoUpdate-HVWQT2AU.js +110 -0
  275. package/chunks/i18n-5OR7NTRZ.js +125 -0
  276. package/chunks/{image-gen-J6FDGUZP.js → image-gen-VOIDOHOB.js} +8 -8
  277. package/chunks/initializer-JE5RQSOE.js +114 -0
  278. package/chunks/installationInfo-KO3CCSCK.js +108 -0
  279. package/chunks/{ja-2GL5FKYJ.js → ja-G3FTD5XE.js} +3 -0
  280. package/chunks/{keychain-token-storage-37XPR34V.js → keychain-token-storage-REZVMJA6.js} +2 -2
  281. package/chunks/list-3IORSFIY.js +117 -0
  282. package/chunks/list-agents-SBMONIUK.js +128 -0
  283. package/chunks/{llm-NSAVK5V3.js → llm-K26SUDVK.js} +223 -140
  284. package/chunks/{llm-content-generator-AY2QKXHE.js → llm-content-generator-TT6EAUD4.js} +11 -12
  285. package/chunks/loadedSettingsAdapter-KLLFZF3M.js +111 -0
  286. package/chunks/{loggingContentGenerator-DSFQHXIF.js → loggingContentGenerator-EYQBA4M4.js} +66 -65
  287. package/chunks/{loop-wakeup-XJFONSQ7.js → loop-wakeup-QA6SHCZT.js} +5 -5
  288. package/chunks/{ls-3VAT2J7A.js → ls-HEJNCEYO.js} +4 -4
  289. package/chunks/{lsp-5W7IRUBH.js → lsp-WOQKNZP6.js} +2 -2
  290. package/chunks/{managed-npm-update-TSWENTK5.js → managed-npm-update-HIJTODQT.js} +61 -60
  291. package/chunks/mcp-A2UEHETW.js +111 -0
  292. package/chunks/{monitor-RW4GWJHB.js → monitor-DKNZQAB2.js} +46 -46
  293. package/chunks/{node-QKLNSZMX.js → node-UETAYMMO.js} +3 -3
  294. package/chunks/nonInteractiveCli-YA47F2F4.js +190 -0
  295. package/chunks/{notebook-edit-CQNYS5OR.js → notebook-edit-MGHTRL2D.js} +47 -47
  296. package/chunks/{open-with-auth-YN3QZHVM.js → open-with-auth-D6JD6LDS.js} +3 -3
  297. package/chunks/{openaiContentGenerator-J6QIF7EX.js → openaiContentGenerator-ZJIEQ3ZJ.js} +26 -28
  298. package/chunks/pidfile-ETHAZNMY.js +112 -0
  299. package/chunks/{processUtils-GPHNANKZ.js → processUtils-UY3SAJJZ.js} +2 -2
  300. package/chunks/prompt-terminal-ledger-GZ747VYE.js +106 -0
  301. package/chunks/{pt-XN2YWJVM.js → pt-D73IFYT7.js} +3 -0
  302. package/chunks/{qwenContentGenerator-WWDXPYQI.js → qwenContentGenerator-VI4KATRY.js} +58 -58
  303. package/chunks/{qwenOAuth2-OF5WRBQT.js → qwenOAuth2-7AOCKSOQ.js} +7 -7
  304. package/chunks/{read-file-FQUQHC6N.js → read-file-P7F4P7LV.js} +11 -13
  305. package/chunks/{read-mcp-resource-XD257PGJ.js → read-mcp-resource-GLAGB6R7.js} +2 -2
  306. package/chunks/{record-artifact-VW23GS4F.js → record-artifact-SWVR7NSU.js} +4 -4
  307. package/chunks/renderer-selection-M4UN63VJ.js +99 -0
  308. package/chunks/{report-findings-AO5VYFLR.js → report-findings-AL5YW3KI.js} +5 -5
  309. package/chunks/{request-shutdown-BCLA3JV2.js → request-shutdown-5YK4IZ54.js} +8 -7
  310. package/chunks/resumeHistoryUtils-DPZKFW24.js +119 -0
  311. package/chunks/ripGrep-C7LJKUPZ.js +37 -0
  312. package/chunks/{ru-OLTMFJEW.js → ru-QMISLKRH.js} +3 -0
  313. package/chunks/{run-qwen-serve-5X6IDZER.js → run-qwen-serve-OGTEEUR2.js} +589 -251
  314. package/chunks/{runtime-HK27GMPF.js → runtime-LNBLEMZS.js} +73 -72
  315. package/chunks/scheduled-tasks-FLDYZQOF.js +128 -0
  316. package/chunks/{scheduler-WD4MHMO5.js → scheduler-73YXGUGW.js} +62 -61
  317. package/chunks/{sdk-exporters-grpc-G5IT4XS4.js → sdk-exporters-grpc-MXTVSE3C.js} +2 -2
  318. package/chunks/{sdk-exporters-http-TTU2CHBU.js → sdk-exporters-http-3JO5TJNU.js} +4 -4
  319. package/chunks/{sdk-impl-UUMVYMAL.js → sdk-impl-HZAUUTHJ.js} +6 -6
  320. package/chunks/{send-message-AJ4OCUBV.js → send-message-JC7NJTY6.js} +166 -35
  321. package/chunks/serve-3UR2H4CV.js +119 -0
  322. package/chunks/{server-GO2N5DH7.js → server-AOYZVVOM.js} +2904 -860
  323. package/chunks/{session-IFNHTUBT.js → session-UAWFNFGI.js} +119 -114
  324. package/chunks/session-attachments-root-ZCGXQQTR.js +104 -0
  325. package/chunks/{session-pr-refresh-I3UBWMVP.js → session-pr-refresh-CT2INROL.js} +157 -88
  326. package/chunks/{settings-L6N54CU6.js → settings-BHRGDASJ.js} +67 -66
  327. package/chunks/{shell-4Y5LLW6N.js → shell-YHOGC7TO.js} +46 -46
  328. package/chunks/{skill-YOWTRAKQ.js → skill-ZGBKNCHQ.js} +131 -97
  329. package/chunks/skill-settings-AKSP665O.js +119 -0
  330. package/chunks/spawnChannel-N25MBB6F.js +112 -0
  331. package/chunks/standalone-update-XGPWJDRN.js +119 -0
  332. package/chunks/start-opentui-ui-FZ4USOU7.js +55342 -0
  333. package/chunks/{startInteractiveUI-XDFSHBZD.js → startInteractiveUI-E2WQJUOA.js} +3509 -4706
  334. package/chunks/{syntheticOutput-ML43GEFN.js → syntheticOutput-HJNZSEHN.js} +3 -3
  335. package/chunks/{task-create-QN4LYRSE.js → task-create-6RSD54S5.js} +12 -12
  336. package/chunks/{task-list-JPLGK45U.js → task-list-IQSACPOM.js} +34 -11
  337. package/chunks/{task-stop-CXEH5L2D.js → task-stop-HE2LRQNW.js} +2 -2
  338. package/chunks/{task-update-IWEOJFV2.js → task-update-XAJ2NYOA.js} +13 -14
  339. package/chunks/{team-create-OOPXCDBA.js → team-create-SOKMYSQU.js} +54 -55
  340. package/chunks/{team-delete-RZVVSGCY.js → team-delete-NGNNKGMG.js} +25 -8
  341. package/chunks/{team-plan-approval-DSX5EWAT.js → team-plan-approval-U7ZWXYAY.js} +46 -46
  342. package/chunks/terminal-image-renderer-KKM4OBLO.js +117 -0
  343. package/chunks/theme-manager-GQHF3A7T.js +103 -0
  344. package/chunks/{todoWrite-WDJNQEMW.js → todoWrite-5UTVUXHA.js} +39 -9
  345. package/chunks/{tool-search-J5Q6U7DN.js → tool-search-IAI2RVWT.js} +21 -19
  346. package/chunks/total-session-admission-G4CGCSTG.js +113 -0
  347. package/chunks/trustedFolders-D2I3FDPB.js +123 -0
  348. package/chunks/{update-relaunch-SIKHLHVR.js → update-relaunch-5RWKZAL3.js} +5 -5
  349. package/chunks/updateCheck-ZXOQDFEI.js +119 -0
  350. package/chunks/useAutoAcceptIndicator-6EK4QGAH.js +121 -0
  351. package/chunks/{validateNonInterActiveAuth-JUDQP6V4.js → validateNonInterActiveAuth-QPFEKATS.js} +113 -109
  352. package/chunks/{version-C63GDDWN.js → version-JKNG7YDH.js} +1 -1
  353. package/chunks/{web-fetch-FOQZMNSC.js → web-fetch-X3AHIIHW.js} +16 -19
  354. package/chunks/{web-search-PUJTBFUC.js → web-search-K2FMOGS5.js} +10 -11
  355. package/chunks/{web-shell-static-HNB4FDOE.js → web-shell-static-POZHGGXE.js} +5 -4
  356. package/chunks/{workflow-Y5IPINVH.js → workflow-TOLPAK5G.js} +213 -119
  357. package/chunks/workspace-providers-status-PCJK3RC7.js +115 -0
  358. package/chunks/{workspace-registration-store-SMJWI2AI.js → workspace-registration-store-KQWVVW4Y.js} +2 -1
  359. package/chunks/workspace-registry-YNIOB6HJ.js +122 -0
  360. package/chunks/workspace-runtime-coordinator-WG2RNEN7.js +123 -0
  361. package/chunks/workspace-service-G4ZNBOFH.js +127 -0
  362. package/chunks/workspace-skills-status-FMTPPMWC.js +114 -0
  363. package/chunks/{workspace-trust-reconciler-PLIDLJZX.js → workspace-trust-reconciler-IBDFQBQS.js} +76 -77
  364. package/chunks/wrapper-JH3IFHT2.js +35 -0
  365. package/chunks/write-file-YTLFY2S5.js +88 -0
  366. package/chunks/{zh-UNY63FR3.js → zh-25DF7OGK.js} +5 -0
  367. package/chunks/{zh-TW-RPTMRTHG.js → zh-TW-5EDMZVGK.js} +5 -0
  368. package/chunks/{zoom-image-LYQD7BQA.js → zoom-image-IFXSN74N.js} +11 -13
  369. package/cli.js +131 -90
  370. package/locales/ca.js +6 -0
  371. package/locales/de.js +6 -0
  372. package/locales/en.js +9 -0
  373. package/locales/fr.js +6 -0
  374. package/locales/ja.js +6 -0
  375. package/locales/pt.js +6 -0
  376. package/locales/ru.js +6 -0
  377. package/locales/zh-TW.js +9 -0
  378. package/locales/zh.js +9 -0
  379. package/package.json +3 -3
  380. package/web-shell/assets/{abnfDiagram-VCTEODGH-TRCMSA_6.js → abnfDiagram-VCTEODGH-Cxf7xE_Z.js} +1 -1
  381. package/web-shell/assets/{arc-D9Uls5b3.js → arc-ESi1eNkE.js} +1 -1
  382. package/web-shell/assets/{architectureDiagram-5GKGNRK7-Bwb8jPXg.js → architectureDiagram-5GKGNRK7-D9l7-bDo.js} +1 -1
  383. package/web-shell/assets/{blockDiagram-NRAW4CY4-DHj71TSX.js → blockDiagram-NRAW4CY4-Bc8DEasw.js} +1 -1
  384. package/web-shell/assets/{c4Diagram-UCG6FXSJ-uKBBdbyr.js → c4Diagram-UCG6FXSJ-Dimb2Hmh.js} +1 -1
  385. package/web-shell/assets/channel-B7ohGDil.js +1 -0
  386. package/web-shell/assets/{chunk-2Q5K7J3B-BZd0Phrl.js → chunk-2Q5K7J3B-jVDmOpAQ.js} +1 -1
  387. package/web-shell/assets/{chunk-5VM5RSS4-7KNeNBqN.js → chunk-5VM5RSS4-DbG_SwdB.js} +1 -1
  388. package/web-shell/assets/{chunk-F27PBJKO-BeboS7Fi.js → chunk-F27PBJKO-QEc4cY1v.js} +1 -1
  389. package/web-shell/assets/{chunk-G27WJ6UU-RV3JONoj.js → chunk-G27WJ6UU-iJ36lQ3X.js} +1 -1
  390. package/web-shell/assets/{chunk-JWPE2WC7-Yw9FCFsP.js → chunk-JWPE2WC7-DuArnVtF.js} +1 -1
  391. package/web-shell/assets/{chunk-LCL6LL3I-GIMnydDe.js → chunk-LCL6LL3I-DxOf1zwL.js} +1 -1
  392. package/web-shell/assets/{chunk-POPQ4Y6H-Cfrux7bL.js → chunk-POPQ4Y6H-lVLu9Ild.js} +1 -1
  393. package/web-shell/assets/{chunk-SVP7TREG-BlvIN0CO.js → chunk-SVP7TREG-C6XYlIer.js} +1 -1
  394. package/web-shell/assets/{chunk-XXDRQBXY-DMs7Rr4t.js → chunk-XXDRQBXY-CiG2j2Ji.js} +1 -1
  395. package/web-shell/assets/classDiagram-DTDB5LWJ-DdFpqpfD.js +1 -0
  396. package/web-shell/assets/classDiagram-v2-JRS7N3AN-DdFpqpfD.js +1 -0
  397. package/web-shell/assets/{cose-bilkent-JH36ORCC-DNGqTNwI.js → cose-bilkent-JH36ORCC-DGVHMMVm.js} +1 -1
  398. package/web-shell/assets/{cynefin-OW5HDTMX-CojMpaoH.js → cynefin-OW5HDTMX-D6cgpCnH.js} +1 -1
  399. package/web-shell/assets/{cynefinDiagram-5FMLGOSQ-DF07YXGo.js → cynefinDiagram-5FMLGOSQ-BKv4Z-UX.js} +1 -1
  400. package/web-shell/assets/{dagre-3AP2YEHR-17-4WtCH.js → dagre-3AP2YEHR-B4ABMIG-.js} +1 -1
  401. package/web-shell/assets/{diagram-S7CK7UJ4-G3Wuyz9m.js → diagram-S7CK7UJ4-DgCkp_Lm.js} +1 -1
  402. package/web-shell/assets/{diagram-UQ7AKVKN-nyWIKZ8P.js → diagram-UQ7AKVKN-FG0FNokz.js} +1 -1
  403. package/web-shell/assets/{diagram-VSXAHHWV-tKHhmYSC.js → diagram-VSXAHHWV-JgkP9qg-.js} +1 -1
  404. package/web-shell/assets/{diagram-VX7I27RA-CpDf1hYk.js → diagram-VX7I27RA-ADh2x83l.js} +1 -1
  405. package/web-shell/assets/{diagram-Z3DM3KII-Cah2IFXG.js → diagram-Z3DM3KII-yXqoYF1J.js} +1 -1
  406. package/web-shell/assets/{ebnfDiagram-PWID7BFC-DNaCkgxy.js → ebnfDiagram-PWID7BFC-Duk83Ek_.js} +1 -1
  407. package/web-shell/assets/{erDiagram-SSCWMZ5O-CAdRgcf1.js → erDiagram-SSCWMZ5O-DMdvxySG.js} +1 -1
  408. package/web-shell/assets/{flowDiagram-A5DVABFB-CMUJAShL.js → flowDiagram-A5DVABFB-DHjVgSji.js} +1 -1
  409. package/web-shell/assets/{ganttDiagram-EL5Y4UJY-o-_MUNey.js → ganttDiagram-EL5Y4UJY-DMM9DkCE.js} +1 -1
  410. package/web-shell/assets/{gitGraphDiagram-WWUBYQGX-_aG-2Z7O.js → gitGraphDiagram-WWUBYQGX-t_ug9vO8.js} +1 -1
  411. package/web-shell/assets/index-BGZRqbRo.css +36 -0
  412. package/web-shell/assets/index-DRri_6_x.js +2067 -0
  413. package/web-shell/assets/{index-BK_NKxiJ.js → index-zqvnpGHv.js} +1 -1
  414. package/web-shell/assets/{infoDiagram-RXCK75RN-qJPeZbGP.js → infoDiagram-RXCK75RN-eT1fANNm.js} +1 -1
  415. package/web-shell/assets/{ishikawaDiagram-5VMMS53U-7Om4vNo1.js → ishikawaDiagram-5VMMS53U-k3evzZNn.js} +1 -1
  416. package/web-shell/assets/{journeyDiagram-EYS64GPL-BNtXqmBW.js → journeyDiagram-EYS64GPL-CGim3EAi.js} +1 -1
  417. package/web-shell/assets/{kanban-definition-3QL26DDD-COgFec8P.js → kanban-definition-3QL26DDD-WHfJo-22.js} +1 -1
  418. package/web-shell/assets/{layout-B9n81PC9.js → layout-DkqIaFlJ.js} +1 -1
  419. package/web-shell/assets/{linear-Bb6nXZQq.js → linear-Bdkd3mCz.js} +1 -1
  420. package/web-shell/assets/{mermaid.core-Cgrm3JVT.js → mermaid.core-CGw0LkT_.js} +6 -6
  421. package/web-shell/assets/{mindmap-definition-FBJOCRG2-TKwLTjnG.js → mindmap-definition-FBJOCRG2-C9V4rBvo.js} +1 -1
  422. package/web-shell/assets/{pegDiagram-XKGWAZYB-BJPuvlpi.js → pegDiagram-XKGWAZYB-CwoI2T5G.js} +1 -1
  423. package/web-shell/assets/{pieDiagram-E7YTZNPT-D01VkNsW.js → pieDiagram-E7YTZNPT-DaTmBmPG.js} +1 -1
  424. package/web-shell/assets/{quadrantDiagram-AXDQQJYC-C4hHsiv-.js → quadrantDiagram-AXDQQJYC-plh6MyGI.js} +1 -1
  425. package/web-shell/assets/{railroadDiagram-O6MQD6OU-CuEO4xK2.js → railroadDiagram-O6MQD6OU-D_b-S0iK.js} +1 -1
  426. package/web-shell/assets/{requirementDiagram-EFPCY7ZU-D5J_vIo5.js → requirementDiagram-EFPCY7ZU-zUzTN7VE.js} +1 -1
  427. package/web-shell/assets/{sankeyDiagram-P5KCCOFB-DQKY223V.js → sankeyDiagram-P5KCCOFB-m6AhoD0l.js} +1 -1
  428. package/web-shell/assets/{sequenceDiagram-WJ2MYXX4-D27YV_cm.js → sequenceDiagram-WJ2MYXX4-Cwhzsine.js} +1 -1
  429. package/web-shell/assets/{sizeCapture-X5ZJPWSS-TJg8UcwV.js → sizeCapture-X5ZJPWSS-CcZuKIae.js} +1 -1
  430. package/web-shell/assets/{stateDiagram-HBIQ2CUA-CmnPzUIx.js → stateDiagram-HBIQ2CUA-CFoiJwD_.js} +1 -1
  431. package/web-shell/assets/stateDiagram-v2-4QOOHH4V--H8HdEmk.js +1 -0
  432. package/web-shell/assets/{swimlanes-XN3QIQJK-ByeP3_Nu.js → swimlanes-XN3QIQJK-CgS9hcaV.js} +1 -1
  433. package/web-shell/assets/swimlanesDiagram-VK2B7HYN-ShE9OIgf.js +8 -0
  434. package/web-shell/assets/{timeline-definition-24CTP7MA-BsFA5juR.js → timeline-definition-24CTP7MA-Dzzc05t9.js} +1 -1
  435. package/web-shell/assets/{vennDiagram-4TSXK5OY-DREP2ECo.js → vennDiagram-4TSXK5OY-DemK0f7Y.js} +1 -1
  436. package/web-shell/assets/{wardleyDiagram-VM6X3IG4-iyd9lKi2.js → wardleyDiagram-VM6X3IG4-CquLxtMr.js} +1 -1
  437. package/web-shell/assets/{xychartDiagram-S5SC5T6Z-CVr1_j9q.js → xychartDiagram-S5SC5T6Z-BTBKTM5g.js} +1 -1
  438. package/web-shell/index.html +196 -2
  439. package/chunks/MaxSizedBox-X42SXBJH.js +0 -110
  440. package/chunks/agent-headless-IZM25LJA.js +0 -85
  441. package/chunks/bridge-ME6QXZNA.js +0 -119
  442. package/chunks/channel-settings-store-PEOI7XCG.js +0 -120
  443. package/chunks/chunk-7J6OTNGO.js +0 -424
  444. package/chunks/chunk-BWORX6FA.js +0 -135
  445. package/chunks/chunk-CPBF7KYF.js +0 -51
  446. package/chunks/chunk-H72BQNM3.js +0 -645
  447. package/chunks/chunk-JHYH6PYQ.js +0 -3096
  448. package/chunks/chunk-SS4MRMKE.js +0 -3525
  449. package/chunks/chunk-T4EFG2P5.js +0 -113
  450. package/chunks/chunk-XZA32HII.js +0 -19
  451. package/chunks/chunk-ZYNTSXWK.js +0 -32
  452. package/chunks/config-utils-R6M3TA34.js +0 -113
  453. package/chunks/contextCommand-ZCAP23J6.js +0 -106
  454. package/chunks/daemon-status-provider-K3SJ5C2U.js +0 -117
  455. package/chunks/daemon-trust-policy-DOR3YG62.js +0 -112
  456. package/chunks/deferred-core-runtime-WOYLUQQ7.js +0 -114
  457. package/chunks/earlyInputCapture-OHBEVO4K.js +0 -107
  458. package/chunks/errors-WAK6KFBC.js +0 -113
  459. package/chunks/exitPlanMode-UEYBG6P5.js +0 -83
  460. package/chunks/goal-tools-PTD3MBA7.js +0 -411
  461. package/chunks/handleAutoUpdate-FP3NWNSG.js +0 -109
  462. package/chunks/i18n-INIU5X7A.js +0 -124
  463. package/chunks/initializer-TYODV6GE.js +0 -113
  464. package/chunks/installationInfo-AAPKYDSZ.js +0 -107
  465. package/chunks/list-TUODDN6J.js +0 -116
  466. package/chunks/list-agents-DI3YFTDT.js +0 -80
  467. package/chunks/loadedSettingsAdapter-KJCLZ3C4.js +0 -110
  468. package/chunks/mcp-MWSAPFOL.js +0 -110
  469. package/chunks/nonInteractiveCli-JXKL343Q.js +0 -185
  470. package/chunks/pidfile-QOIQZFT2.js +0 -111
  471. package/chunks/prompt-terminal-ledger-FOMFTYOM.js +0 -105
  472. package/chunks/resumeHistoryUtils-NSGF3UCB.js +0 -118
  473. package/chunks/ripGrep-4CAT6SKV.js +0 -39
  474. package/chunks/scheduled-tasks-MN2ZZ5P6.js +0 -127
  475. package/chunks/serve-2XCHPPGG.js +0 -118
  476. package/chunks/skill-settings-ZL4JY5UE.js +0 -118
  477. package/chunks/spawnChannel-ZST6XJVJ.js +0 -112
  478. package/chunks/standalone-update-THVU3OKY.js +0 -118
  479. package/chunks/terminal-image-renderer-KS25G33E.js +0 -114
  480. package/chunks/theme-manager-YMZNG45F.js +0 -102
  481. package/chunks/total-session-admission-PVN64JVV.js +0 -114
  482. package/chunks/trustedFolders-FATSC4YI.js +0 -122
  483. package/chunks/updateCheck-D3YG2WCD.js +0 -118
  484. package/chunks/useAutoAcceptIndicator-ILINOSAS.js +0 -120
  485. package/chunks/workspace-providers-status-IJ4VHFMB.js +0 -114
  486. package/chunks/workspace-registry-BTGZIMPK.js +0 -123
  487. package/chunks/workspace-service-SIN67ITC.js +0 -126
  488. package/chunks/workspace-skills-status-F3RKCUIX.js +0 -113
  489. package/chunks/write-file-PAIGB33C.js +0 -88
  490. package/web-shell/assets/channel-CXjVLaBa.js +0 -1
  491. package/web-shell/assets/classDiagram-DTDB5LWJ-DANEijO3.js +0 -1
  492. package/web-shell/assets/classDiagram-v2-JRS7N3AN-DANEijO3.js +0 -1
  493. package/web-shell/assets/index-Ci-z4zWY.js +0 -1913
  494. package/web-shell/assets/index-LDlXZRHA.css +0 -36
  495. package/web-shell/assets/stateDiagram-v2-4QOOHH4V-DNKPyrDc.js +0 -1
  496. package/web-shell/assets/swimlanesDiagram-VK2B7HYN-ZL1HPC6w.js +0 -8
  497. /package/chunks/{chunk-FOGQO4FG.js → chunk-JA5CBKRP.js} +0 -0
@@ -2,7 +2,7 @@
2
2
  "use strict";
3
3
  import {
4
4
  createDebugLogger
5
- } from "./chunk-UHQFIS7N.js";
5
+ } from "./chunk-EAHOJF6V.js";
6
6
  import {
7
7
  init_esbuild_shims
8
8
  } from "./chunk-5O2XNYP6.js";
@@ -3374,9 +3374,29 @@ var require_utils = __commonJS({
3374
3374
  init_esbuild_shims();
3375
3375
  var isUUID = RegExp.prototype.test.bind(/^[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}$/iu);
3376
3376
  var isIPv4 = RegExp.prototype.test.bind(/^(?:(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)$/u);
3377
+ var isPort = RegExp.prototype.test.bind(/^\d*$/u);
3377
3378
  var isHexPair = RegExp.prototype.test.bind(/^[\da-f]{2}$/iu);
3378
3379
  var isUnreserved = RegExp.prototype.test.bind(/^[\da-z\-._~]$/iu);
3379
- var isPathCharacter = RegExp.prototype.test.bind(/^[\da-z\-._~!$&'()*+,;=:@/]$/iu);
3380
+ var isPathCharacter = RegExp.prototype.test.bind(/^[A-Za-z0-9\-._~!$&'()*+,;=:@/]$/u);
3381
+ var isQueryFragmentCharacter = RegExp.prototype.test.bind(/^[A-Za-z0-9\-._~!$&'()*+,;=:@/?]$/u);
3382
+ var isUserinfoCharacter = RegExp.prototype.test.bind(/^[A-Za-z0-9\-._~!$&'()*+,;=:]$/u);
3383
+ var BYTE_HEX = new Array(256);
3384
+ {
3385
+ const HEX_DIGITS = "0123456789ABCDEF";
3386
+ for (let i = 0; i < 256; i++) {
3387
+ BYTE_HEX[i] = "%" + HEX_DIGITS[i >> 4] + HEX_DIGITS[i & 15];
3388
+ }
3389
+ }
3390
+ function percentEncodeNonAscii(cp) {
3391
+ if (cp < 2048) {
3392
+ return BYTE_HEX[192 | cp >> 6] + BYTE_HEX[128 | cp & 63];
3393
+ }
3394
+ if (cp < 65536) {
3395
+ return BYTE_HEX[224 | cp >> 12] + BYTE_HEX[128 | cp >> 6 & 63] + BYTE_HEX[128 | cp & 63];
3396
+ }
3397
+ return BYTE_HEX[240 | cp >> 18] + BYTE_HEX[128 | cp >> 12 & 63] + BYTE_HEX[128 | cp >> 6 & 63] + BYTE_HEX[128 | cp & 63];
3398
+ }
3399
+ __name(percentEncodeNonAscii, "percentEncodeNonAscii");
3380
3400
  function stringArrayToHexStripped(input) {
3381
3401
  let acc = "";
3382
3402
  let code = 0;
@@ -3402,94 +3422,108 @@ var require_utils = __commonJS({
3402
3422
  return acc;
3403
3423
  }
3404
3424
  __name(stringArrayToHexStripped, "stringArrayToHexStripped");
3425
+ var isHextet = RegExp.prototype.test.bind(/^[\dA-Fa-f]{1,4}$/);
3426
+ var isIPvFuture = RegExp.prototype.test.bind(/^[vV][\dA-Fa-f]+\.[A-Za-z\d\-._~!$&'()*+,;=:]+$/);
3427
+ var isZoneCharacter = RegExp.prototype.test.bind(/^[A-Za-z\d\-._~]$/);
3405
3428
  var nonSimpleDomain = RegExp.prototype.test.bind(/[^!"$&'()*+,\-.;=_`a-z{}~]/u);
3406
- function consumeIsZone(buffer) {
3407
- buffer.length = 0;
3408
- return true;
3409
- }
3410
- __name(consumeIsZone, "consumeIsZone");
3411
- function consumeHextets(buffer, address, output) {
3412
- if (buffer.length) {
3413
- const hex = stringArrayToHexStripped(buffer);
3414
- if (hex !== "") {
3415
- address.push(hex);
3416
- } else {
3417
- output.error = true;
3418
- return false;
3429
+ function isZoneIdentifier(zone) {
3430
+ if (zone.length === 0) return false;
3431
+ for (let i = 0; i < zone.length; i++) {
3432
+ if (isZoneCharacter(zone[i])) continue;
3433
+ if (zone[i] === "%" && i + 2 < zone.length && isHexPair(zone.slice(i + 1, i + 3))) {
3434
+ i += 2;
3435
+ continue;
3419
3436
  }
3420
- buffer.length = 0;
3437
+ return false;
3421
3438
  }
3422
3439
  return true;
3423
3440
  }
3424
- __name(consumeHextets, "consumeHextets");
3425
- function getIPV6(input) {
3426
- let tokenCount = 0;
3427
- const output = { error: false, address: "", zone: "" };
3428
- const address = [];
3429
- const buffer = [];
3430
- let endipv6Encountered = false;
3431
- let endIpv6 = false;
3432
- let consume = consumeHextets;
3433
- for (let i = 0; i < input.length; i++) {
3434
- const cursor = input[i];
3435
- if (cursor === "[" || cursor === "]") {
3436
- continue;
3437
- }
3438
- if (cursor === ":") {
3439
- if (endipv6Encountered === true) {
3440
- endIpv6 = true;
3441
- }
3442
- if (!consume(buffer, address, output)) {
3443
- break;
3444
- }
3445
- if (++tokenCount > 7) {
3446
- output.error = true;
3447
- break;
3441
+ __name(isZoneIdentifier, "isZoneIdentifier");
3442
+ function compressIPv6ZeroRun(hextets) {
3443
+ let bestStart = -1;
3444
+ let bestLength = 0;
3445
+ let runStart = -1;
3446
+ let runLength = 0;
3447
+ for (let i = 0; i < hextets.length; i++) {
3448
+ if (hextets[i] === "0") {
3449
+ if (runStart === -1) runStart = i;
3450
+ runLength++;
3451
+ if (runLength > bestLength) {
3452
+ bestLength = runLength;
3453
+ bestStart = runStart;
3448
3454
  }
3449
- if (i > 0 && input[i - 1] === ":") {
3450
- endipv6Encountered = true;
3451
- }
3452
- address.push(":");
3453
- continue;
3454
- } else if (cursor === "%") {
3455
- if (!consume(buffer, address, output)) {
3456
- break;
3457
- }
3458
- consume = consumeIsZone;
3459
3455
  } else {
3460
- buffer.push(cursor);
3456
+ runStart = -1;
3457
+ runLength = 0;
3458
+ }
3459
+ }
3460
+ if (bestLength < 2) return hextets.join(":");
3461
+ const head = hextets.slice(0, bestStart).join(":");
3462
+ const tail = hextets.slice(bestStart + bestLength).join(":");
3463
+ return head + "::" + tail;
3464
+ }
3465
+ __name(compressIPv6ZeroRun, "compressIPv6ZeroRun");
3466
+ function normalizeIPv6Address(input) {
3467
+ const compression = input.indexOf("::");
3468
+ if (compression !== -1 && input.indexOf("::", compression + 1) !== -1) return void 0;
3469
+ const left = compression === -1 ? input.split(":") : input.slice(0, compression).split(":");
3470
+ const right = compression === -1 ? [] : input.slice(compression + 2).split(":");
3471
+ if (compression !== -1) {
3472
+ if (left.length === 1 && left[0] === "") left.length = 0;
3473
+ if (right.length === 1 && right[0] === "") right.length = 0;
3474
+ }
3475
+ const parts = left.concat(right);
3476
+ let hextetCount = 0;
3477
+ for (let i = 0; i < parts.length; i++) {
3478
+ const part = parts[i];
3479
+ if (part === "") return void 0;
3480
+ if (part.indexOf(".") !== -1) {
3481
+ if (i !== parts.length - 1 || compression !== -1 && right.length === 0 || !isIPv4(part)) return void 0;
3482
+ hextetCount += 2;
3461
3483
  continue;
3462
3484
  }
3485
+ if (!isHextet(part)) return void 0;
3486
+ parts[i] = parseInt(part, 16).toString(16);
3487
+ hextetCount++;
3463
3488
  }
3464
- if (buffer.length) {
3465
- if (consume === consumeIsZone) {
3466
- output.zone = buffer.join("");
3467
- } else if (endIpv6) {
3468
- address.push(buffer.join(""));
3469
- } else {
3470
- address.push(stringArrayToHexStripped(buffer));
3471
- }
3489
+ if (compression === -1) {
3490
+ if (hextetCount !== 8) return void 0;
3491
+ return compressIPv6ZeroRun(parts);
3472
3492
  }
3473
- output.address = address.join("");
3474
- return output;
3493
+ if (hextetCount >= 8) return void 0;
3494
+ const expanded = parts.slice(0, left.length);
3495
+ for (let i = hextetCount; i < 8; i++) expanded.push("0");
3496
+ for (let i = left.length; i < parts.length; i++) expanded.push(parts[i]);
3497
+ return compressIPv6ZeroRun(expanded);
3475
3498
  }
3476
- __name(getIPV6, "getIPV6");
3499
+ __name(normalizeIPv6Address, "normalizeIPv6Address");
3477
3500
  function normalizeIPv6(host) {
3478
- if (findToken(host, ":") < 2) {
3479
- return { host, isIPV6: false };
3480
- }
3481
- const ipv6 = getIPV6(host);
3482
- if (!ipv6.error) {
3483
- let newHost = ipv6.address;
3484
- let escapedHost = ipv6.address;
3485
- if (ipv6.zone) {
3486
- newHost += "%" + ipv6.zone;
3487
- escapedHost += "%25" + ipv6.zone;
3488
- }
3489
- return { host: newHost, isIPV6: true, escapedHost };
3490
- } else {
3491
- return { host, isIPV6: false };
3492
- }
3501
+ const bracketed = host[0] === "[" && host[host.length - 1] === "]";
3502
+ const hasBracket = host[0] === "[" || host[host.length - 1] === "]";
3503
+ if (hasBracket && !bracketed) return { host, isIPV6: false, error: true };
3504
+ let input = bracketed ? host.slice(1, -1) : host;
3505
+ if (bracketed && isIPvFuture(input)) {
3506
+ input = input.toLowerCase();
3507
+ return { host: `[${input}]`, escapedHost: input, isIPV6: false, isIPVFuture: true };
3508
+ }
3509
+ if (findToken(input, ":") < 2) {
3510
+ return { host, isIPV6: false, error: bracketed };
3511
+ }
3512
+ let zoneIdentifier = "";
3513
+ const zoneSeparator = input.indexOf("%");
3514
+ if (zoneSeparator !== -1) {
3515
+ const separatorLength = input.slice(zoneSeparator, zoneSeparator + 3).toLowerCase() === "%25" ? 3 : 1;
3516
+ zoneIdentifier = input.slice(zoneSeparator + separatorLength);
3517
+ if (!isZoneIdentifier(zoneIdentifier)) return { host, isIPV6: false, error: true };
3518
+ input = input.slice(0, zoneSeparator);
3519
+ }
3520
+ const address = normalizeIPv6Address(input);
3521
+ if (address === void 0) return { host, isIPV6: false, error: true };
3522
+ return {
3523
+ host: address + (zoneIdentifier ? "%" + zoneIdentifier : ""),
3524
+ escapedHost: address + (zoneIdentifier ? "%25" + zoneIdentifier : ""),
3525
+ isIPV6: true
3526
+ };
3493
3527
  }
3494
3528
  __name(normalizeIPv6, "normalizeIPv6");
3495
3529
  function findToken(str, token) {
@@ -3613,7 +3647,8 @@ var require_utils = __commonJS({
3613
3647
  function normalizePathEncoding(input) {
3614
3648
  let output = "";
3615
3649
  for (let i = 0; i < input.length; i++) {
3616
- if (input[i] === "%" && i + 2 < input.length) {
3650
+ const ch = input[i];
3651
+ if (ch === "%" && i + 2 < input.length) {
3617
3652
  const hex = input.slice(i + 1, i + 3);
3618
3653
  if (isHexPair(hex)) {
3619
3654
  const normalizedHex = hex.toUpperCase();
@@ -3627,15 +3662,164 @@ var require_utils = __commonJS({
3627
3662
  continue;
3628
3663
  }
3629
3664
  }
3630
- if (isPathCharacter(input[i])) {
3631
- output += input[i];
3665
+ if (isPathCharacter(ch)) {
3666
+ output += ch;
3632
3667
  } else {
3633
- output += escape(input[i]);
3668
+ const code = input.charCodeAt(i);
3669
+ if (code < 128) {
3670
+ output += isEscapeSafe(code) ? ch : BYTE_HEX[code];
3671
+ } else if (code < 55296 || code > 57343) {
3672
+ output += percentEncodeNonAscii(code);
3673
+ } else if (code <= 56319 && i + 1 < input.length) {
3674
+ const low = input.charCodeAt(i + 1);
3675
+ if (low >= 56320 && low <= 57343) {
3676
+ output += percentEncodeNonAscii(65536 + (code - 55296 << 10) + (low - 56320));
3677
+ i++;
3678
+ } else {
3679
+ output += percentEncodeNonAscii(65533);
3680
+ }
3681
+ } else {
3682
+ output += percentEncodeNonAscii(65533);
3683
+ }
3634
3684
  }
3635
3685
  }
3636
3686
  return output;
3637
3687
  }
3638
3688
  __name(normalizePathEncoding, "normalizePathEncoding");
3689
+ function serializePathEncoding(input, pathNoScheme = false) {
3690
+ let output = "";
3691
+ let firstSegment = pathNoScheme && input[0] !== "/";
3692
+ for (let i = 0; i < input.length; i++) {
3693
+ const ch = input[i];
3694
+ if (ch === "%" && i + 2 < input.length) {
3695
+ const hex = input.slice(i + 1, i + 3);
3696
+ if (isHexPair(hex)) {
3697
+ output += "%" + hex.toUpperCase();
3698
+ i += 2;
3699
+ continue;
3700
+ }
3701
+ }
3702
+ if (ch === "/") {
3703
+ firstSegment = false;
3704
+ }
3705
+ if (isPathCharacter(ch) && (ch !== ":" || !firstSegment)) {
3706
+ output += ch;
3707
+ } else {
3708
+ const code = input.charCodeAt(i);
3709
+ if (code < 128) {
3710
+ output += BYTE_HEX[code];
3711
+ } else if (code < 55296 || code > 57343) {
3712
+ output += percentEncodeNonAscii(code);
3713
+ } else if (code <= 56319 && i + 1 < input.length) {
3714
+ const low = input.charCodeAt(i + 1);
3715
+ if (low >= 56320 && low <= 57343) {
3716
+ output += percentEncodeNonAscii(65536 + (code - 55296 << 10) + (low - 56320));
3717
+ i++;
3718
+ } else {
3719
+ output += percentEncodeNonAscii(65533);
3720
+ }
3721
+ } else {
3722
+ output += percentEncodeNonAscii(65533);
3723
+ }
3724
+ }
3725
+ }
3726
+ return output;
3727
+ }
3728
+ __name(serializePathEncoding, "serializePathEncoding");
3729
+ function encodeComponent(input, isAllowed) {
3730
+ let output = "";
3731
+ for (let i = 0; i < input.length; i++) {
3732
+ const ch = input[i];
3733
+ if (ch === "%" && i + 2 < input.length) {
3734
+ const hex = input.slice(i + 1, i + 3);
3735
+ if (isHexPair(hex)) {
3736
+ output += "%" + hex.toUpperCase();
3737
+ i += 2;
3738
+ continue;
3739
+ }
3740
+ }
3741
+ if (isAllowed(ch)) {
3742
+ output += ch;
3743
+ } else {
3744
+ const code = input.charCodeAt(i);
3745
+ if (code < 128) {
3746
+ output += BYTE_HEX[code];
3747
+ } else if (code < 55296 || code > 57343) {
3748
+ output += percentEncodeNonAscii(code);
3749
+ } else if (code <= 56319 && i + 1 < input.length) {
3750
+ const low = input.charCodeAt(i + 1);
3751
+ if (low >= 56320 && low <= 57343) {
3752
+ output += percentEncodeNonAscii(65536 + (code - 55296 << 10) + (low - 56320));
3753
+ i++;
3754
+ } else {
3755
+ output += percentEncodeNonAscii(65533);
3756
+ }
3757
+ } else {
3758
+ output += percentEncodeNonAscii(65533);
3759
+ }
3760
+ }
3761
+ }
3762
+ return output;
3763
+ }
3764
+ __name(encodeComponent, "encodeComponent");
3765
+ function encodeUserinfo(input) {
3766
+ return encodeComponent(input, isUserinfoCharacter);
3767
+ }
3768
+ __name(encodeUserinfo, "encodeUserinfo");
3769
+ function encodeQuery(input) {
3770
+ return encodeComponent(input, isQueryFragmentCharacter);
3771
+ }
3772
+ __name(encodeQuery, "encodeQuery");
3773
+ function encodeFragment(input) {
3774
+ return encodeComponent(input, isQueryFragmentCharacter);
3775
+ }
3776
+ __name(encodeFragment, "encodeFragment");
3777
+ function isEscapeSafe(cp) {
3778
+ return cp >= 48 && cp <= 57 || cp >= 65 && cp <= 90 || cp >= 97 && cp <= 122 || cp === 42 || cp === 43 || cp === 45 || cp === 46 || cp === 47 || cp === 64 || cp === 95;
3779
+ }
3780
+ __name(isEscapeSafe, "isEscapeSafe");
3781
+ function normalizeQueryFragmentEncoding(input) {
3782
+ let output = "";
3783
+ for (let i = 0; i < input.length; i++) {
3784
+ const ch = input[i];
3785
+ if (ch === "%" && i + 2 < input.length) {
3786
+ const hex = input.slice(i + 1, i + 3);
3787
+ if (isHexPair(hex)) {
3788
+ const normalizedHex = hex.toUpperCase();
3789
+ const decoded = String.fromCharCode(parseInt(normalizedHex, 16));
3790
+ if (isUnreserved(decoded)) {
3791
+ output += decoded;
3792
+ } else {
3793
+ output += "%" + normalizedHex;
3794
+ }
3795
+ i += 2;
3796
+ continue;
3797
+ }
3798
+ }
3799
+ if (isQueryFragmentCharacter(ch)) {
3800
+ output += ch;
3801
+ } else {
3802
+ const code = input.charCodeAt(i);
3803
+ if (code < 128) {
3804
+ output += isEscapeSafe(code) ? ch : BYTE_HEX[code];
3805
+ } else if (code < 55296 || code > 57343) {
3806
+ output += percentEncodeNonAscii(code);
3807
+ } else if (code <= 56319 && i + 1 < input.length) {
3808
+ const low = input.charCodeAt(i + 1);
3809
+ if (low >= 56320 && low <= 57343) {
3810
+ output += percentEncodeNonAscii(65536 + (code - 55296 << 10) + (low - 56320));
3811
+ i++;
3812
+ } else {
3813
+ output += percentEncodeNonAscii(65533);
3814
+ }
3815
+ } else {
3816
+ output += percentEncodeNonAscii(65533);
3817
+ }
3818
+ }
3819
+ }
3820
+ return output;
3821
+ }
3822
+ __name(normalizeQueryFragmentEncoding, "normalizeQueryFragmentEncoding");
3639
3823
  function escapePreservingEscapes(input) {
3640
3824
  let output = "";
3641
3825
  for (let i = 0; i < input.length; i++) {
@@ -3655,14 +3839,18 @@ var require_utils = __commonJS({
3655
3839
  function recomposeAuthority(component) {
3656
3840
  const uriTokens = [];
3657
3841
  if (component.userinfo !== void 0) {
3658
- uriTokens.push(component.userinfo);
3842
+ uriTokens.push(encodeUserinfo(component.userinfo));
3659
3843
  uriTokens.push("@");
3660
3844
  }
3661
3845
  if (component.host !== void 0) {
3662
- let host = unescape(component.host);
3846
+ let host = component.host;
3663
3847
  if (!isIPv4(host)) {
3664
- const ipV6res = normalizeIPv6(host);
3665
- if (ipV6res.isIPV6 === true) {
3848
+ let ipV6res = normalizeIPv6(host);
3849
+ if (ipV6res.isIPV6 !== true && ipV6res.isIPVFuture !== true) {
3850
+ host = normalizePercentEncoding(host, true);
3851
+ ipV6res = normalizeIPv6(host);
3852
+ }
3853
+ if (ipV6res.isIPV6 === true || ipV6res.isIPVFuture === true) {
3666
3854
  host = `[${ipV6res.escapedHost}]`;
3667
3855
  } else {
3668
3856
  host = reescapeHostDelimiters(host, false);
@@ -3671,8 +3859,12 @@ var require_utils = __commonJS({
3671
3859
  uriTokens.push(host);
3672
3860
  }
3673
3861
  if (typeof component.port === "number" || typeof component.port === "string") {
3862
+ const port = String(component.port);
3863
+ if (!isPort(port)) {
3864
+ throw new TypeError("URI port is malformed.");
3865
+ }
3674
3866
  uriTokens.push(":");
3675
- uriTokens.push(String(component.port));
3867
+ uriTokens.push(port);
3676
3868
  }
3677
3869
  return uriTokens.length ? uriTokens.join("") : void 0;
3678
3870
  }
@@ -3683,6 +3875,11 @@ var require_utils = __commonJS({
3683
3875
  reescapeHostDelimiters,
3684
3876
  normalizePercentEncoding,
3685
3877
  normalizePathEncoding,
3878
+ serializePathEncoding,
3879
+ normalizeQueryFragmentEncoding,
3880
+ encodeUserinfo,
3881
+ encodeQuery,
3882
+ encodeFragment,
3686
3883
  escapePreservingEscapes,
3687
3884
  removeDotSegments,
3688
3885
  isIPv4,
@@ -3699,7 +3896,7 @@ var require_schemes = __commonJS({
3699
3896
  "use strict";
3700
3897
  init_esbuild_shims();
3701
3898
  var { isUUID } = require_utils();
3702
- var URN_REG = /([\da-z][\d\-a-z]{0,31}):((?:[\w!$'()*+,\-.:;=@]|%[\da-f]{2})+)/iu;
3899
+ var URN_REG = /^([\da-z][\d\-a-z]{0,31}):((?:[\w!$'()*+,\-./:;=@]|%[\da-f]{2})+)$/iu;
3703
3900
  var supportedSchemeNames = (
3704
3901
  /** @type {const} */
3705
3902
  [
@@ -3765,9 +3962,10 @@ var require_schemes = __commonJS({
3765
3962
  wsComponent.secure = void 0;
3766
3963
  }
3767
3964
  if (wsComponent.resourceName) {
3768
- const [path, query] = wsComponent.resourceName.split("?");
3965
+ const queryIndex = wsComponent.resourceName.indexOf("?");
3966
+ const path = queryIndex === -1 ? wsComponent.resourceName : wsComponent.resourceName.slice(0, queryIndex);
3769
3967
  wsComponent.path = path && path !== "/" ? path : void 0;
3770
- wsComponent.query = query;
3968
+ wsComponent.query = queryIndex === -1 ? void 0 : wsComponent.resourceName.slice(queryIndex + 1);
3771
3969
  wsComponent.resourceName = void 0;
3772
3970
  }
3773
3971
  wsComponent.fragment = void 0;
@@ -3780,7 +3978,7 @@ var require_schemes = __commonJS({
3780
3978
  return urnComponent;
3781
3979
  }
3782
3980
  const matches = urnComponent.path.match(URN_REG);
3783
- if (matches) {
3981
+ if (matches && matches[0] === urnComponent.path) {
3784
3982
  const scheme = options.scheme || urnComponent.scheme || "urn";
3785
3983
  urnComponent.nid = matches[1].toLowerCase();
3786
3984
  urnComponent.nss = matches[2];
@@ -3920,8 +4118,18 @@ var require_fast_uri = __commonJS({
3920
4118
  "node_modules/fast-uri/index.js"(exports, module) {
3921
4119
  "use strict";
3922
4120
  init_esbuild_shims();
3923
- var { normalizeIPv6, removeDotSegments, recomposeAuthority, normalizePercentEncoding, normalizePathEncoding, escapePreservingEscapes, reescapeHostDelimiters, isIPv4, nonSimpleDomain } = require_utils();
4121
+ var { normalizeIPv6, removeDotSegments, recomposeAuthority, normalizePercentEncoding, normalizePathEncoding, serializePathEncoding, normalizeQueryFragmentEncoding, encodeQuery, encodeFragment, reescapeHostDelimiters, isIPv4, nonSimpleDomain } = require_utils();
3924
4122
  var { SCHEMES, getSchemeHandler } = require_schemes();
4123
+ var VALID_SCHEME = /^[A-Za-z][A-Za-z0-9+.-]*$/u;
4124
+ var MALFORMED_SCHEME_ERROR = "URI scheme is malformed.";
4125
+ function decodeValidScheme(scheme) {
4126
+ const decodedScheme = unescape(String(scheme));
4127
+ if (!VALID_SCHEME.test(decodedScheme)) {
4128
+ throw new TypeError(MALFORMED_SCHEME_ERROR);
4129
+ }
4130
+ return decodedScheme;
4131
+ }
4132
+ __name(decodeValidScheme, "decodeValidScheme");
3925
4133
  function normalize(uri, options) {
3926
4134
  if (typeof uri === "string") {
3927
4135
  uri = /** @type {T} */
@@ -3935,12 +4143,34 @@ var require_fast_uri = __commonJS({
3935
4143
  __name(normalize, "normalize");
3936
4144
  function resolve(baseURI, relativeURI, options) {
3937
4145
  const schemelessOptions = options ? Object.assign({ scheme: "null" }, options) : { scheme: "null" };
3938
- const { parsed: baseParsed, malformedAuthorityOrPort: baseMalformed } = parseWithStatus(baseURI, schemelessOptions);
3939
- const { parsed: relativeParsed, malformedAuthorityOrPort: relativeMalformed } = parseWithStatus(relativeURI, schemelessOptions);
3940
- if (baseMalformed || relativeMalformed) {
4146
+ const {
4147
+ parsed: baseParsed,
4148
+ malformedAuthorityOrPort: baseMalformed,
4149
+ malformedPercentEncoding: baseMalformedPercentEncoding,
4150
+ malformedSchemeSpecific: baseMalformedSchemeSpecific,
4151
+ malformedHost: baseMalformedHost,
4152
+ malformedScheme: baseMalformedScheme
4153
+ } = parseWithStatus(baseURI, schemelessOptions);
4154
+ const {
4155
+ parsed: relativeParsed,
4156
+ malformedAuthorityOrPort: relativeMalformed,
4157
+ malformedPercentEncoding: relativeMalformedPercentEncoding,
4158
+ malformedSchemeSpecific: relativeMalformedSchemeSpecific,
4159
+ malformedHost: relativeMalformedHost,
4160
+ malformedScheme: relativeMalformedScheme
4161
+ } = parseWithStatus(relativeURI, schemelessOptions);
4162
+ if (baseMalformed || relativeMalformed || baseMalformedPercentEncoding || relativeMalformedPercentEncoding || baseMalformedSchemeSpecific || relativeMalformedSchemeSpecific || baseMalformedHost || relativeMalformedHost || baseMalformedScheme || relativeMalformedScheme) {
3941
4163
  throw new Error(baseParsed.error || relativeParsed.error || "URI is malformed.");
3942
4164
  }
3943
4165
  const resolved = resolveComponent(baseParsed, relativeParsed, schemelessOptions, true);
4166
+ const resolvedSchemeHandler = getSchemeHandler(options && options.scheme || resolved.scheme);
4167
+ const resolvedHost = resolved.host;
4168
+ const resolvedHostIsIP = resolvedHost !== void 0 && resolvedHost !== "" && (isIPv4(resolvedHost) || normalizeIPv6(resolvedHost).isIPV6);
4169
+ canonicalizeHost(resolved, options || {}, resolvedSchemeHandler, resolvedHostIsIP);
4170
+ const encodedASCIIHost = resolvedHost && resolvedHost.indexOf("%") !== -1 && !new RegExp("\\P{ASCII}", "u").test(resolvedHost);
4171
+ if (resolved.error && !encodedASCIIHost) {
4172
+ throw new Error(resolved.error);
4173
+ }
3944
4174
  schemelessOptions.skipEscape = true;
3945
4175
  return serialize(resolved, schemelessOptions);
3946
4176
  }
@@ -4002,7 +4232,7 @@ var require_fast_uri = __commonJS({
4002
4232
  function equal(uriA, uriB, options) {
4003
4233
  const normalizedA = normalizeComparableURI(uriA, options);
4004
4234
  const normalizedB = normalizeComparableURI(uriB, options);
4005
- return normalizedA !== void 0 && normalizedB !== void 0 && normalizedA.toLowerCase() === normalizedB.toLowerCase();
4235
+ return normalizedA !== void 0 && normalizedB !== void 0 && normalizedA === normalizedB;
4006
4236
  }
4007
4237
  __name(equal, "equal");
4008
4238
  function serialize(cmpts, opts) {
@@ -4024,19 +4254,22 @@ var require_fast_uri = __commonJS({
4024
4254
  };
4025
4255
  const options = Object.assign({}, opts);
4026
4256
  const uriTokens = [];
4257
+ if (component.scheme) {
4258
+ component.scheme = decodeValidScheme(component.scheme);
4259
+ }
4027
4260
  const schemeHandler = getSchemeHandler(options.scheme || component.scheme);
4028
4261
  if (schemeHandler && schemeHandler.serialize) schemeHandler.serialize(component, options);
4262
+ const hasAuthority = component.userinfo !== void 0 || component.host !== void 0 || component.port !== void 0;
4263
+ const pathNoScheme = !options.skipEscape && component.scheme === void 0 && !hasAuthority;
4029
4264
  if (component.path !== void 0) {
4030
4265
  if (!options.skipEscape) {
4031
- component.path = escapePreservingEscapes(component.path);
4032
- if (component.scheme !== void 0) {
4033
- component.path = component.path.split("%3A").join(":");
4034
- }
4266
+ component.path = serializePathEncoding(component.path, pathNoScheme);
4035
4267
  } else {
4036
4268
  component.path = normalizePercentEncoding(component.path);
4037
4269
  }
4038
4270
  }
4039
4271
  if (options.reference !== "suffix" && component.scheme) {
4272
+ component.scheme = decodeValidScheme(component.scheme);
4040
4273
  uriTokens.push(component.scheme, ":");
4041
4274
  }
4042
4275
  const authority = recomposeAuthority(component);
@@ -4054,16 +4287,19 @@ var require_fast_uri = __commonJS({
4054
4287
  if (!options.absolutePath && (!schemeHandler || !schemeHandler.absolutePath)) {
4055
4288
  s = removeDotSegments(s);
4056
4289
  }
4290
+ if (pathNoScheme) {
4291
+ s = serializePathEncoding(s, true);
4292
+ }
4057
4293
  if (authority === void 0 && s[0] === "/" && s[1] === "/") {
4058
4294
  s = "/%2F" + s.slice(2);
4059
4295
  }
4060
4296
  uriTokens.push(s);
4061
4297
  }
4062
4298
  if (component.query !== void 0) {
4063
- uriTokens.push("?", component.query);
4299
+ uriTokens.push("?", encodeQuery(component.query));
4064
4300
  }
4065
4301
  if (component.fragment !== void 0) {
4066
- uriTokens.push("#", component.fragment);
4302
+ uriTokens.push("#", encodeFragment(component.fragment));
4067
4303
  }
4068
4304
  return uriTokens.join("");
4069
4305
  }
@@ -4081,6 +4317,39 @@ var require_fast_uri = __commonJS({
4081
4317
  return void 0;
4082
4318
  }
4083
4319
  __name(getParseError, "getParseError");
4320
+ function hasMalformedPercentEncoding(component) {
4321
+ if (component === void 0) return false;
4322
+ let percent = component.indexOf("%");
4323
+ while (percent !== -1) {
4324
+ if (percent + 2 >= component.length || !/^[\da-f]{2}$/iu.test(component.slice(percent + 1, percent + 3))) {
4325
+ return true;
4326
+ }
4327
+ percent = component.indexOf("%", percent + 3);
4328
+ }
4329
+ return false;
4330
+ }
4331
+ __name(hasMalformedPercentEncoding, "hasMalformedPercentEncoding");
4332
+ function isIPLiteral(host) {
4333
+ return host[0] === "[" && host[host.length - 1] === "]";
4334
+ }
4335
+ __name(isIPLiteral, "isIPLiteral");
4336
+ function hasMalformedComponentPercentEncoding(matches) {
4337
+ const host = matches[4];
4338
+ return hasMalformedPercentEncoding(matches[3]) || host !== void 0 && !isIPLiteral(host) && hasMalformedPercentEncoding(host) || hasMalformedPercentEncoding(matches[6]) || hasMalformedPercentEncoding(matches[7]) || hasMalformedPercentEncoding(matches[8]);
4339
+ }
4340
+ __name(hasMalformedComponentPercentEncoding, "hasMalformedComponentPercentEncoding");
4341
+ function canonicalizeHost(parsed, options, schemeHandler, isIP) {
4342
+ if (!options.unicodeSupport && (!schemeHandler || !schemeHandler.unicodeSupport) && parsed.host && !isIPLiteral(parsed.host) && (options.domainHost || schemeHandler && schemeHandler.domainHost) && isIP === false && nonSimpleDomain(parsed.host)) {
4343
+ try {
4344
+ parsed.host = new URL("http://" + parsed.host).hostname;
4345
+ } catch (e) {
4346
+ parsed.error = parsed.error || "Host's domain name can not be converted to ASCII: " + e;
4347
+ return true;
4348
+ }
4349
+ }
4350
+ return false;
4351
+ }
4352
+ __name(canonicalizeHost, "canonicalizeHost");
4084
4353
  function parseWithStatus(uri, opts) {
4085
4354
  const options = Object.assign({}, opts);
4086
4355
  const parsed = {
@@ -4093,6 +4362,11 @@ var require_fast_uri = __commonJS({
4093
4362
  fragment: void 0
4094
4363
  };
4095
4364
  let malformedAuthorityOrPort = false;
4365
+ let malformedPercentEncoding = false;
4366
+ let malformedSchemeSpecific = false;
4367
+ let malformedHost = false;
4368
+ let malformedIPLiteral = false;
4369
+ let malformedScheme = false;
4096
4370
  let isIP = false;
4097
4371
  if (options.reference === "suffix") {
4098
4372
  if (options.scheme) {
@@ -4129,6 +4403,19 @@ var require_fast_uri = __commonJS({
4129
4403
  parsed.path = matches[6] || "";
4130
4404
  parsed.query = matches[7];
4131
4405
  parsed.fragment = matches[8];
4406
+ if (parsed.scheme !== void 0) {
4407
+ const decodedScheme = unescape(parsed.scheme);
4408
+ if (VALID_SCHEME.test(decodedScheme)) {
4409
+ parsed.scheme = decodedScheme.toLowerCase();
4410
+ } else {
4411
+ parsed.error = parsed.error || MALFORMED_SCHEME_ERROR;
4412
+ malformedScheme = true;
4413
+ }
4414
+ }
4415
+ malformedPercentEncoding = hasMalformedComponentPercentEncoding(matches);
4416
+ if (malformedPercentEncoding) {
4417
+ parsed.error = parsed.error || "URI contains malformed percent-encoding.";
4418
+ }
4132
4419
  if (isNaN(parsed.port)) {
4133
4420
  parsed.port = matches[5];
4134
4421
  }
@@ -4140,9 +4427,16 @@ var require_fast_uri = __commonJS({
4140
4427
  if (parsed.host) {
4141
4428
  const ipv4result = isIPv4(parsed.host);
4142
4429
  if (ipv4result === false) {
4430
+ const bracketedIPLiteral = isIPLiteral(parsed.host);
4431
+ const hasIPLiteralBracket = parsed.host.indexOf("[") !== -1 || parsed.host.indexOf("]") !== -1;
4143
4432
  const ipv6result = normalizeIPv6(parsed.host);
4144
- parsed.host = ipv6result.host.toLowerCase();
4145
- isIP = ipv6result.isIPV6;
4433
+ isIP = ipv6result.isIPV6 || ipv6result.isIPVFuture === true;
4434
+ malformedIPLiteral = hasIPLiteralBracket && (!bracketedIPLiteral || ipv6result.error === true);
4435
+ parsed.host = isIP ? ipv6result.host : ipv6result.host.toLowerCase();
4436
+ if (malformedIPLiteral) {
4437
+ parsed.error = parsed.error || "URI host is malformed.";
4438
+ malformedAuthorityOrPort = true;
4439
+ }
4146
4440
  } else {
4147
4441
  isIP = true;
4148
4442
  }
@@ -4160,42 +4454,36 @@ var require_fast_uri = __commonJS({
4160
4454
  parsed.error = parsed.error || "URI is not a " + options.reference + " reference.";
4161
4455
  }
4162
4456
  const schemeHandler = getSchemeHandler(options.scheme || parsed.scheme);
4163
- if (!options.unicodeSupport && (!schemeHandler || !schemeHandler.unicodeSupport)) {
4164
- if (parsed.host && (options.domainHost || schemeHandler && schemeHandler.domainHost) && isIP === false && nonSimpleDomain(parsed.host)) {
4165
- try {
4166
- parsed.host = new URL("http://" + parsed.host).hostname;
4167
- } catch (e) {
4168
- parsed.error = parsed.error || "Host's domain name can not be converted to ASCII: " + e;
4169
- }
4170
- }
4457
+ if (!malformedIPLiteral) {
4458
+ malformedHost = canonicalizeHost(parsed, options, schemeHandler, isIP);
4171
4459
  }
4172
4460
  if (!schemeHandler || schemeHandler && !schemeHandler.skipNormalize) {
4173
4461
  if (uri.indexOf("%") !== -1) {
4174
- if (parsed.scheme !== void 0) {
4175
- parsed.scheme = unescape(parsed.scheme);
4176
- }
4177
- if (parsed.host !== void 0) {
4178
- parsed.host = reescapeHostDelimiters(unescape(parsed.host), isIP);
4462
+ if (parsed.host !== void 0 && !malformedIPLiteral) {
4463
+ const host = isIP ? parsed.host : normalizePercentEncoding(parsed.host, true);
4464
+ parsed.host = reescapeHostDelimiters(host, isIP);
4179
4465
  }
4180
4466
  }
4181
4467
  if (parsed.path) {
4182
4468
  parsed.path = normalizePathEncoding(parsed.path);
4183
4469
  }
4470
+ if (parsed.query) {
4471
+ parsed.query = normalizeQueryFragmentEncoding(parsed.query);
4472
+ }
4184
4473
  if (parsed.fragment) {
4185
- try {
4186
- parsed.fragment = encodeURI(decodeURIComponent(parsed.fragment));
4187
- } catch {
4188
- parsed.error = parsed.error || "URI malformed";
4189
- }
4474
+ parsed.fragment = normalizeQueryFragmentEncoding(parsed.fragment);
4190
4475
  }
4191
4476
  }
4192
4477
  if (schemeHandler && schemeHandler.parse) {
4193
4478
  schemeHandler.parse(parsed, options);
4479
+ if (schemeHandler === SCHEMES.urn && parsed.nid === void 0) {
4480
+ malformedSchemeSpecific = true;
4481
+ }
4194
4482
  }
4195
4483
  } else {
4196
4484
  parsed.error = parsed.error || "URI can not be parsed.";
4197
4485
  }
4198
- return { parsed, malformedAuthorityOrPort };
4486
+ return { parsed, malformedAuthorityOrPort, malformedPercentEncoding, malformedSchemeSpecific, malformedHost, malformedScheme };
4199
4487
  }
4200
4488
  __name(parseWithStatus, "parseWithStatus");
4201
4489
  function parse(uri, opts) {
@@ -4207,21 +4495,29 @@ var require_fast_uri = __commonJS({
4207
4495
  }
4208
4496
  __name(normalizeString, "normalizeString");
4209
4497
  function normalizeStringWithStatus(uri, opts) {
4210
- const { parsed, malformedAuthorityOrPort } = parseWithStatus(uri, opts);
4498
+ const { parsed, malformedAuthorityOrPort, malformedPercentEncoding, malformedSchemeSpecific, malformedHost, malformedScheme } = parseWithStatus(uri, opts);
4211
4499
  return {
4212
- normalized: malformedAuthorityOrPort ? uri : serialize(parsed, opts),
4213
- malformedAuthorityOrPort
4500
+ normalized: malformedAuthorityOrPort || malformedPercentEncoding || malformedSchemeSpecific || malformedHost || malformedScheme ? uri : serialize(parsed, opts),
4501
+ malformedAuthorityOrPort,
4502
+ malformedPercentEncoding,
4503
+ malformedSchemeSpecific,
4504
+ malformedHost,
4505
+ malformedScheme
4214
4506
  };
4215
4507
  }
4216
4508
  __name(normalizeStringWithStatus, "normalizeStringWithStatus");
4217
4509
  function normalizeComparableURI(uri, opts) {
4218
- if (typeof uri === "string") {
4219
- const { normalized, malformedAuthorityOrPort } = normalizeStringWithStatus(uri, opts);
4220
- return malformedAuthorityOrPort ? void 0 : normalized;
4510
+ if (typeof uri !== "string" && typeof uri !== "object") {
4511
+ return void 0;
4221
4512
  }
4222
- if (typeof uri === "object") {
4223
- return serialize(uri, opts);
4513
+ let value;
4514
+ try {
4515
+ value = typeof uri === "string" ? uri : serialize(uri, opts);
4516
+ } catch {
4517
+ return void 0;
4224
4518
  }
4519
+ const { normalized, malformedAuthorityOrPort, malformedPercentEncoding, malformedSchemeSpecific, malformedHost, malformedScheme } = normalizeStringWithStatus(value, opts);
4520
+ return malformedAuthorityOrPort || malformedPercentEncoding || malformedSchemeSpecific || malformedHost || malformedScheme ? void 0 : normalized;
4225
4521
  }
4226
4522
  __name(normalizeComparableURI, "normalizeComparableURI");
4227
4523
  var fastUri = {
@@ -15404,12 +15700,15 @@ var DeclarativeTool = class {
15404
15700
  * - undefined: fall back to raw params (only safe when the tool is
15405
15701
  * known to have no sensitive params)
15406
15702
  *
15407
- * Default is the empty-string sentinel — fail-closed: a third-party
15408
- * MCP tool (or any tool that has not opted in) does not leak its raw
15409
- * parameters (potentially containing API keys, tokens, file contents)
15410
- * into the classifier LLM prompt. Tools that want their args inspected
15411
- * by the classifier for safety judgement should override this and
15412
- * return an object with only the security-relevant fields.
15703
+ * Default is the empty-string sentinel — fail-closed: a tool that has
15704
+ * not opted in does not leak its raw parameters (potentially containing
15705
+ * API keys, tokens, file contents) into the classifier LLM prompt.
15706
+ * Tools that want their args inspected by the classifier for safety
15707
+ * judgement should override this and return an object with only the
15708
+ * security-relevant fields. Note that `DiscoveredMCPTool` overrides
15709
+ * this and forwards a bounded projection of every MCP call's arguments
15710
+ * by default (see `mcp-classifier-input.ts`; opt out with
15711
+ * `permissions.autoMode.mcp.forwardArguments: false`).
15413
15712
  */
15414
15713
  toAutoClassifierInput(_params) {
15415
15714
  return "";
@@ -15651,6 +15950,7 @@ var ToolNames = {
15651
15950
  REPORT_FINDINGS: "report_findings",
15652
15951
  GET_GOAL: "get_goal",
15653
15952
  UPDATE_GOAL: "update_goal",
15953
+ PROPOSE_GOAL: "propose_goal",
15654
15954
  DISPLAY_IMAGE: "display_image"
15655
15955
  };
15656
15956
  var ToolDisplayNames = {
@@ -15701,6 +16001,7 @@ var ToolDisplayNames = {
15701
16001
  REPORT_FINDINGS: "ReportFindings",
15702
16002
  GET_GOAL: "Goal",
15703
16003
  UPDATE_GOAL: "UpdateGoal",
16004
+ PROPOSE_GOAL: "ProposeGoal",
15704
16005
  DISPLAY_IMAGE: "DisplayImage"
15705
16006
  };
15706
16007
  var ToolNamesMigration = {