@qwen-code/qwen-code 0.20.2-headless-image-routing.1 → 0.21.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 (370) hide show
  1. package/bundled/qc-helper/docs/configuration/settings.md +5 -0
  2. package/bundled/qc-helper/docs/features/sub-agents.md +23 -5
  3. package/bundled/qc-helper/docs/integration-github-action.md +9 -9
  4. package/bundled/review/SKILL.md +7 -3
  5. package/chunks/MaxSizedBox-5DPPWPGT.js +85 -0
  6. package/chunks/{StandaloneSessionPicker-PLQQB22E.js → StandaloneSessionPicker-BIRMPLRD.js} +66 -59
  7. package/chunks/{acp-startup-profiler-N3RHHXJ3.js → acp-startup-profiler-RV3IV562.js} +2 -2
  8. package/chunks/{acpAgent-AIVK2EM5.js → acpAgent-6J2U72PQ.js} +705 -182
  9. package/chunks/agent-6ODUANDO.js +81 -0
  10. package/chunks/agent-headless-7BYQTMHW.js +75 -0
  11. package/chunks/{anthropicContentGenerator-HGWAHO24.js → anthropicContentGenerator-75BKLTSP.js} +117 -43
  12. package/chunks/{artifact-tool-56T5IMBP.js → artifact-tool-Y5T7GG7F.js} +3 -3
  13. package/chunks/{askUserQuestion-E25OBIC2.js → askUserQuestion-2H6747FR.js} +3 -3
  14. package/chunks/bridge-ZUB64FAE.js +90 -0
  15. package/chunks/{build-GHIZ4MSZ.js → build-RV63TIRH.js} +2 -3
  16. package/chunks/{ca-N6VVUFVB.js → ca-25EDXPFZ.js} +2 -0
  17. package/chunks/{channel-worker-group-QZV2SP5U.js → channel-worker-group-2ZD7TVAT.js} +8 -7
  18. package/chunks/{channel-worker-manager-3GMAU45H.js → channel-worker-manager-4OA4BCGB.js} +190 -30
  19. package/chunks/{channel-worker-supervisor-QCXSXCRY.js → channel-worker-supervisor-V7KCFJTS.js} +7 -6
  20. package/chunks/{chunk-TYQMGACW.js → chunk-22C7BQ6D.js} +508 -10967
  21. package/chunks/chunk-2JZBVYTU.js +452 -0
  22. package/chunks/{chunk-H2XVO6NE.js → chunk-2MIN6GRR.js} +1 -1
  23. package/chunks/{chunk-4DWTDZGS.js → chunk-2NH6DYI4.js} +12 -12
  24. package/chunks/chunk-2SCDWPXI.js +246 -0
  25. package/chunks/{chunk-QE4KFTBS.js → chunk-2X55UKQE.js} +3 -3
  26. package/chunks/{chunk-QBUDF33N.js → chunk-3QMGYBFN.js} +1 -1
  27. package/chunks/{chunk-3OAKYHRG.js → chunk-3RN6GBKS.js} +1 -1
  28. package/chunks/{chunk-QR6U5QPP.js → chunk-3SJ43L4W.js} +4 -0
  29. package/chunks/chunk-46UV252V.js +128 -0
  30. package/chunks/{chunk-GHRSKGHF.js → chunk-4WIZGAH3.js} +7 -7
  31. package/chunks/{chunk-CAS7CB3T.js → chunk-55DJUCI2.js} +87 -29
  32. package/chunks/{chunk-QNLNLENL.js → chunk-5I2IWRSH.js} +2 -2
  33. package/chunks/{chunk-H24SOJIQ.js → chunk-5NBDS5S6.js} +147 -7
  34. package/chunks/{chunk-E4IMU4Y5.js → chunk-63P4EL5V.js} +1 -1
  35. package/chunks/chunk-6FGBXPWM.js +293 -0
  36. package/chunks/{chunk-FFFM6NJV.js → chunk-6GMVPFB2.js} +155 -73
  37. package/chunks/{chunk-KWK7UE6L.js → chunk-6OUGMXDC.js} +6 -6
  38. package/chunks/{chunk-QRUIS3DN.js → chunk-6PEXNQTX.js} +22 -1
  39. package/chunks/{chunk-FZPTCQY7.js → chunk-7JURR4JT.js} +1 -1
  40. package/chunks/{chunk-Q6NAKZTA.js → chunk-7MVVZO4N.js} +4 -4
  41. package/chunks/{chunk-6ZBPS62S.js → chunk-7ZCNENPP.js} +1 -1
  42. package/chunks/{chunk-6X4GWOPW.js → chunk-A5L3JMUA.js} +1 -1
  43. package/chunks/{chunk-YO2XRXY6.js → chunk-ACY3A37B.js} +3 -3
  44. package/chunks/chunk-AMDSOFFV.js +10860 -0
  45. package/chunks/{chunk-RV4C2ZFG.js → chunk-BIQWWWJN.js} +1 -1
  46. package/chunks/{chunk-ZHERRXZJ.js → chunk-BJX6ZSUK.js} +4 -4
  47. package/chunks/chunk-BK2UNYWD.js +29 -0
  48. package/chunks/{chunk-FRPDJNK3.js → chunk-BKHWX6I2.js} +3 -3
  49. package/chunks/chunk-BPJSQIJX.js +100 -0
  50. package/chunks/{chunk-M7WBGLYP.js → chunk-BULDBTYC.js} +2 -0
  51. package/chunks/{chunk-ZDP2Y2AL.js → chunk-CIKQ7KKO.js} +4625 -8645
  52. package/chunks/{chunk-PEJWA3QQ.js → chunk-D3UEZIQH.js} +4 -2
  53. package/chunks/chunk-DHHOYAPR.js +1462 -0
  54. package/chunks/{chunk-LESHKUWF.js → chunk-DLWL3Z7A.js} +5 -3
  55. package/chunks/{chunk-XHATNRQA.js → chunk-DP3IHZGG.js} +0 -2
  56. package/chunks/chunk-E5TUC6CA.js +479 -0
  57. package/chunks/{chunk-JC26SJ5Y.js → chunk-EBJQ6AXW.js} +13 -12
  58. package/chunks/{chunk-RCWKCN2Z.js → chunk-EPDRMGT4.js} +164 -17
  59. package/chunks/{chunk-FUFCALSJ.js → chunk-ETSW4KLJ.js} +2 -2
  60. package/chunks/{chunk-KHOVYUHX.js → chunk-FNQ6T3CV.js} +20 -3
  61. package/chunks/{chunk-SP5WRGVG.js → chunk-FQK6JAFG.js} +72 -23
  62. package/chunks/{chunk-NWZY2SPY.js → chunk-FSITMZJH.js} +8 -8
  63. package/chunks/{chunk-6RLROE6G.js → chunk-GLWP3FDB.js} +80 -15
  64. package/chunks/{chunk-KPBVP6SL.js → chunk-GSN55ZRI.js} +5 -5
  65. package/chunks/{chunk-MLYGPZGU.js → chunk-H4SBPHSA.js} +3 -3
  66. package/chunks/chunk-H5FFA6TH.js +902 -0
  67. package/chunks/{chunk-TDKQP3M6.js → chunk-HIJQF5B5.js} +1 -1
  68. package/chunks/{chunk-5G3ZVADU.js → chunk-IJTOWOD7.js} +17 -6
  69. package/chunks/chunk-IKCX4CCL.js +469 -0
  70. package/chunks/{chunk-LPEONXNV.js → chunk-IKYJHJNF.js} +3 -3
  71. package/chunks/{chunk-DTZY2SH2.js → chunk-IO3IX5Q4.js} +1 -1
  72. package/chunks/{chunk-RS7MT2QG.js → chunk-IPUUTYMV.js} +2 -4
  73. package/chunks/{chunk-XU457J4V.js → chunk-IRH27ZC2.js} +2 -2
  74. package/chunks/{chunk-46DK772E.js → chunk-J24WCGIN.js} +4 -4
  75. package/chunks/{chunk-4LVZNIDO.js → chunk-J56UI34H.js} +4 -13
  76. package/chunks/{chunk-TJTKSVIV.js → chunk-JLU636DO.js} +5 -1
  77. package/chunks/{chunk-RKWX4CMO.js → chunk-JVPM2ULZ.js} +6 -6
  78. package/chunks/{chunk-ENPCQK44.js → chunk-JXJFVC6E.js} +37 -18
  79. package/chunks/{chunk-NABLFI57.js → chunk-JZA3JUDJ.js} +1 -1
  80. package/chunks/{chunk-CGLQAVZE.js → chunk-K36B6G2O.js} +5 -5
  81. package/chunks/{chunk-GPSKDNEE.js → chunk-K4XWPEWB.js} +4 -4
  82. package/chunks/{chunk-QOZOIPSF.js → chunk-KIM5GUMA.js} +650 -113
  83. package/chunks/{chunk-JZSM2IZ3.js → chunk-KMQ33DO4.js} +7 -5
  84. package/chunks/{chunk-E2UVIFI2.js → chunk-KRXPRVGL.js} +0 -1
  85. package/chunks/{chunk-WHGVTP7Q.js → chunk-L26JL52R.js} +3 -3
  86. package/chunks/{chunk-7Z6JQEL6.js → chunk-L5UHQJTJ.js} +1 -1
  87. package/chunks/{chunk-O2XSCRCS.js → chunk-LB6DUZ26.js} +259 -67
  88. package/chunks/chunk-LEH5C7FV.js +232 -0
  89. package/chunks/{chunk-RWV32G2M.js → chunk-LH2BYDQ5.js} +6 -4
  90. package/chunks/{chunk-QKTHJXCS.js → chunk-LK7CHLVP.js} +79 -2
  91. package/chunks/{chunk-VRRF3GW5.js → chunk-LKEJ26GS.js} +11 -11
  92. package/chunks/{chunk-SQFXI7VK.js → chunk-LQIW3YFY.js} +227 -41
  93. package/chunks/chunk-LS77BEZP.js +405 -0
  94. package/chunks/{chunk-BSHD62QJ.js → chunk-M4FMGVY4.js} +3 -3
  95. package/chunks/{chunk-57FIIFJN.js → chunk-M5JM7OSF.js} +1 -1
  96. package/chunks/{chunk-7362QS5B.js → chunk-MB4MZHMJ.js} +80 -37
  97. package/chunks/{chunk-4K56OJFJ.js → chunk-MUP3T3AD.js} +1 -1
  98. package/chunks/{chunk-3HFNGB2O.js → chunk-MVSUYZDT.js} +4 -4
  99. package/chunks/{chunk-T5IO6FZ4.js → chunk-MZAXJAUM.js} +1 -1
  100. package/chunks/{chunk-QKNXKTZX.js → chunk-NH6KE4JX.js} +3 -3
  101. package/chunks/chunk-NIBLUX3Y.js +934 -0
  102. package/chunks/{chunk-OQB4EXO4.js → chunk-NL7LTRLR.js} +1 -1
  103. package/chunks/{chunk-CS2FSS7W.js → chunk-OFDOK3VM.js} +5 -5
  104. package/chunks/{chunk-LIZRAKPB.js → chunk-OHNBB4XR.js} +1 -1
  105. package/chunks/{chunk-MDZTPSXO.js → chunk-OKY7HXPG.js} +2 -2
  106. package/chunks/{chunk-NHDKSOEY.js → chunk-P3QQPMQA.js} +5 -5
  107. package/chunks/{chunk-7THPNISK.js → chunk-PC6JANNU.js} +5 -5
  108. package/chunks/{chunk-OTQ6PSZC.js → chunk-PHOF65IG.js} +3498 -1030
  109. package/chunks/{chunk-OQ5SYCPE.js → chunk-PJIZUQVC.js} +2 -2
  110. package/chunks/{chunk-5DTTYNB7.js → chunk-PQNHRFJC.js} +16 -3
  111. package/chunks/{chunk-YM3SZTH4.js → chunk-PR75REBZ.js} +18 -1
  112. package/chunks/{chunk-RECUEJ7B.js → chunk-PSOO6YXD.js} +18 -15
  113. package/chunks/{chunk-X6N25LXS.js → chunk-PWTZEM3C.js} +2 -2
  114. package/chunks/{chunk-5NJTNQUW.js → chunk-PWVFN2LF.js} +1 -1
  115. package/chunks/{chunk-7AUH6A4T.js → chunk-Q4M4MDQ4.js} +2 -2
  116. package/chunks/{chunk-EZPB6S2I.js → chunk-QAF7NMK7.js} +1 -1
  117. package/chunks/{chunk-5GI55PF5.js → chunk-R5AFZNQW.js} +5 -5
  118. package/chunks/{chunk-T5B5NQZX.js → chunk-RF3EXIHJ.js} +47 -60
  119. package/chunks/{chunk-4K7VDKAD.js → chunk-RHLZR4E5.js} +1 -1
  120. package/chunks/{chunk-TJDW42MV.js → chunk-RIBKPMRP.js} +220 -141
  121. package/chunks/{chunk-RVLZCXEE.js → chunk-RWTEFFPU.js} +82 -3
  122. package/chunks/{chunk-L5QZGCRH.js → chunk-RZIX2G32.js} +1 -1
  123. package/chunks/{chunk-LLKWRXSS.js → chunk-SQCQ4KO2.js} +350 -418
  124. package/chunks/{chunk-THJNPLI4.js → chunk-TARRHLLG.js} +1 -0
  125. package/chunks/{chunk-XCXYRDHB.js → chunk-TEHGS6UP.js} +47 -18
  126. package/chunks/{chunk-PQIVAWXN.js → chunk-TGILQ3YH.js} +8 -8
  127. package/chunks/{chunk-Q2YKNMLS.js → chunk-TOFQCPDC.js} +43 -10
  128. package/chunks/{chunk-L3KUB6XM.js → chunk-TPRQ7RZH.js} +586 -242
  129. package/chunks/{chunk-T4TZQJ7W.js → chunk-TWPJO254.js} +5 -16
  130. package/chunks/{chunk-HIP6TVWA.js → chunk-U7M2DMGW.js} +3 -3
  131. package/chunks/{chunk-ACW3VNUE.js → chunk-UDX5OBWR.js} +41 -9
  132. package/chunks/{chunk-LW2FUYBN.js → chunk-USTWD7QV.js} +6 -4
  133. package/chunks/{chunk-NPQDJGKU.js → chunk-UUUTRMI2.js} +1 -1
  134. package/chunks/chunk-UW5EOVUN.js +249 -0
  135. package/chunks/{chunk-6IL7KRLE.js → chunk-VAK25FTU.js} +1 -1
  136. package/chunks/{chunk-O4BHWVUD.js → chunk-VIA5XA4U.js} +5 -2
  137. package/chunks/{chunk-EBXZ2YGV.js → chunk-VRYUBFMC.js} +1 -1
  138. package/chunks/{chunk-TWVE5ZS5.js → chunk-VULLI6WQ.js} +172 -6
  139. package/chunks/{chunk-LNDD3IML.js → chunk-WCXCRJYB.js} +1 -1
  140. package/chunks/{chunk-2LI23QA6.js → chunk-X5XDDSSH.js} +1 -1
  141. package/chunks/{chunk-Q35QUZDQ.js → chunk-Y34KJKDC.js} +1 -1
  142. package/chunks/{chunk-7NR2AIK6.js → chunk-YBL3QUDD.js} +2 -2
  143. package/chunks/{chunk-H4AR2JQF.js → chunk-YH6G52F2.js} +3 -3
  144. package/chunks/{chunk-MBOJHHPI.js → chunk-YPE6A4GC.js} +2 -2
  145. package/chunks/{chunk-3EK5ZOUQ.js → chunk-YX324OPW.js} +1 -1
  146. package/chunks/{chunk-4PTLZ3NX.js → chunk-Z2BC6UJ5.js} +3 -3
  147. package/chunks/{chunk-QLJUC7TG.js → chunk-ZD6UTE4A.js} +1 -1
  148. package/chunks/{chunk-LX3COOXF.js → chunk-ZFDTEDCF.js} +6 -6
  149. package/chunks/chunk-ZJHVAS7M.js +289 -0
  150. package/chunks/{chunk-4OWXOUYF.js → chunk-ZNAUOR2I.js} +15 -12
  151. package/chunks/{chunk-T2L47JJK.js → chunk-ZOIFNCKL.js} +4 -4
  152. package/chunks/{computer-use-2VIV73WK.js → computer-use-SOQ4E3VX.js} +43 -35
  153. package/chunks/{config-utils-FYTBZLCJ.js → config-utils-7V7GGIW6.js} +3 -3
  154. package/chunks/contextCommand-JLHYA34Z.js +80 -0
  155. package/chunks/{create-sub-session-AZ77LBL3.js → create-sub-session-IWW2IZ2T.js} +3 -3
  156. package/chunks/{create-sub-session-XDHHC2P4.js → create-sub-session-QRJLW5BV.js} +43 -35
  157. package/chunks/{cron-create-KTWJM7QT.js → cron-create-YIID5XAW.js} +6 -6
  158. package/chunks/{cron-delete-2P3I5ULL.js → cron-delete-ZVHYCEP2.js} +5 -5
  159. package/chunks/{cron-list-PXDPGEDQ.js → cron-list-XEGS463Q.js} +5 -5
  160. package/chunks/{daemon-RAPSDJH7.js → daemon-YO6433NF.js} +350 -53
  161. package/chunks/daemon-status-provider-2233Q37D.js +89 -0
  162. package/chunks/{de-4IBXM7CN.js → de-HGRCYDEJ.js} +1 -0
  163. package/chunks/{dist-UIFWIFRO.js → dist-46NQKLTW.js} +2 -2
  164. package/chunks/{dist-XRYV6TJP.js → dist-AIKFMUKK.js} +50 -4
  165. package/chunks/{dist-XBJVSWS2.js → dist-BBLXMS3N.js} +14 -2
  166. package/chunks/{dist-OMW6WDEO.js → dist-F6IBUDR4.js} +40 -9
  167. package/chunks/{dist-PJLG2XYX.js → dist-WEAHOXDM.js} +1 -1
  168. package/chunks/{dist-OAV7LJGJ.js → dist-YFNEUWSE.js} +26 -2
  169. package/chunks/earlyInputCapture-A7NDU3PF.js +82 -0
  170. package/chunks/{edit-CS6SFEXC.js → edit-OBDSQURM.js} +43 -35
  171. package/chunks/{en-USMCCJAJ.js → en-MTWBNGDO.js} +15 -0
  172. package/chunks/{enter-worktree-LMAL75DY.js → enter-worktree-U6MRPQ2P.js} +43 -35
  173. package/chunks/{enterPlanMode-WVJB4DSS.js → enterPlanMode-BC5QUZZ2.js} +43 -35
  174. package/chunks/{environment-6YHC4JAJ.js → environment-W5UFC2CH.js} +46 -38
  175. package/chunks/errors-M7CLORXH.js +88 -0
  176. package/chunks/{exit-worktree-KPFD742L.js → exit-worktree-DGNYMECB.js} +43 -35
  177. package/chunks/{exitPlanMode-UEJS6CDY.js → exitPlanMode-GXTBWQAR.js} +43 -35
  178. package/chunks/{fast-path-G2N4NRCA.js → fast-path-JJZFJANL.js} +6 -6
  179. package/chunks/{fast-path-settings-DAOVFADC.js → fast-path-settings-WQJU2LAT.js} +2 -2
  180. package/chunks/{fr-WVHEBDDB.js → fr-45RLL55O.js} +1 -0
  181. package/chunks/{gemini-2MDVIOVT.js → gemini-QS36EBZV.js} +132 -102
  182. package/chunks/{geminiContentGenerator-ZXTDBMFR.js → geminiContentGenerator-AG4KB6CV.js} +14 -8
  183. package/chunks/{getMachineId-bsd-QFVLPUPT.js → getMachineId-bsd-V7W3GODC.js} +1 -1
  184. package/chunks/{getMachineId-darwin-DGMQQE2E.js → getMachineId-darwin-TDO75DQP.js} +1 -1
  185. package/chunks/{getMachineId-linux-R4Z6CSWC.js → getMachineId-linux-TF43WQT2.js} +1 -1
  186. package/chunks/{getMachineId-unsupported-Z3SBVBUV.js → getMachineId-unsupported-ZGUO3TXT.js} +1 -1
  187. package/chunks/{getMachineId-win-SCK5UFDT.js → getMachineId-win-ECFYZZFQ.js} +1 -1
  188. package/chunks/{glob-562XFLIZ.js → glob-V7R3PSK3.js} +43 -35
  189. package/chunks/{grep-MGEFBDQK.js → grep-QYPSK7OP.js} +43 -35
  190. package/chunks/handleAutoUpdate-6DBEZYPV.js +81 -0
  191. package/chunks/{i18n-R6HJENXA.js → i18n-VUJJZIMU.js} +44 -36
  192. package/chunks/image-gen-Z3VPGKRC.js +240 -0
  193. package/chunks/initializer-UWAK5U5O.js +86 -0
  194. package/chunks/installationInfo-6O2YAA52.js +80 -0
  195. package/chunks/{ja-KY4ROZTE.js → ja-B7DF7DFG.js} +1 -0
  196. package/chunks/{keychain-token-storage-6ACJDYIB.js → keychain-token-storage-MDTG3WRM.js} +3 -3
  197. package/chunks/{kittyProtocolDetector-HCNNKJTI.js → kittyProtocolDetector-MBRTDRBK.js} +5 -3
  198. package/chunks/list-GB4ESM3T.js +89 -0
  199. package/chunks/list-agents-5KJJHR6I.js +80 -0
  200. package/chunks/loadedSettingsAdapter-OT6JVQ7U.js +83 -0
  201. package/chunks/loggingContentGenerator-HS3S5H3Q.js +1077 -0
  202. package/chunks/{loop-wakeup-RNMRVA66.js → loop-wakeup-FXKNNYSY.js} +7 -7
  203. package/chunks/{ls-J2ZI5XYK.js → ls-NTK6VOQJ.js} +5 -5
  204. package/chunks/{lsp-UMS3NUB5.js → lsp-2JI24STP.js} +3 -3
  205. package/chunks/{managed-npm-update-4KNYSOYC.js → managed-npm-update-JYEMMXA3.js} +94 -38
  206. package/chunks/mcp-6DBDJPFU.js +83 -0
  207. package/chunks/{monitor-DMHKE4SW.js → monitor-R3ODH5U6.js} +45 -36
  208. package/chunks/node-UUDY34IG.js +305 -0
  209. package/chunks/nonInteractiveCli-MOYCYBBU.js +141 -0
  210. package/chunks/{notebook-edit-35SJGEOR.js → notebook-edit-BNOK452R.js} +43 -35
  211. package/chunks/{openaiContentGenerator-5LPAFXPF.js → openaiContentGenerator-WMCU3O2H.js} +27 -17
  212. package/chunks/pidfile-TFRZZZIO.js +86 -0
  213. package/chunks/{processUtils-GM2I55KF.js → processUtils-RT7UNCC2.js} +2 -2
  214. package/chunks/{pt-OK455PLH.js → pt-22Q3FP73.js} +1 -0
  215. package/chunks/{qwenContentGenerator-HKOYNP7H.js → qwenContentGenerator-HHCRK4SX.js} +56 -42
  216. package/chunks/{qwenOAuth2-NUUYC3V5.js → qwenOAuth2-OWLB5AKH.js} +14 -27
  217. package/chunks/read-file-APMO3PSX.js +31 -0
  218. package/chunks/{read-mcp-resource-F6HYMDUY.js → read-mcp-resource-4DKQWGHD.js} +3 -3
  219. package/chunks/{record-artifact-7GCFLDD7.js → record-artifact-RQKFYO5B.js} +3 -3
  220. package/chunks/resumeHistoryUtils-6KRYEAWZ.js +91 -0
  221. package/chunks/ripGrep-BEJDEDXW.js +73 -0
  222. package/chunks/{ru-7SPDGMGD.js → ru-FZCNZHDC.js} +1 -0
  223. package/chunks/{run-qwen-serve-5VH3F4NW.js → run-qwen-serve-FU6HEM4J.js} +271 -57
  224. package/chunks/{runtime-OH77YH7W.js → runtime-XXRRTNP6.js} +55 -45
  225. package/chunks/{scheduler-WJQSLCSV.js → scheduler-G2ZS2Z7E.js} +43 -35
  226. package/chunks/{sdk-exporters-grpc-ETLH47EP.js → sdk-exporters-grpc-AK3LGHNO.js} +3 -3
  227. package/chunks/{sdk-exporters-http-T3POX73F.js → sdk-exporters-http-FYBSUCPD.js} +6 -6
  228. package/chunks/{sdk-impl-NSLPDH6I.js → sdk-impl-GMVPB7NB.js} +6 -6
  229. package/chunks/{send-message-PYIJ2PZL.js → send-message-Q6OOR6BR.js} +46 -9
  230. package/chunks/serve-7BSTXJ4T.js +89 -0
  231. package/chunks/{server-E4N4AI6Z.js → server-4UMH7OIZ.js} +2362 -411
  232. package/chunks/{session-5YUWIOQE.js → session-K3O3Q2SV.js} +105 -87
  233. package/chunks/{settings-YY7ZSFO7.js → settings-CR2EWTBA.js} +53 -45
  234. package/chunks/shell-HH3PF3A2.js +83 -0
  235. package/chunks/{skill-PAIDX3EU.js → skill-I3SDA4MB.js} +17 -16
  236. package/chunks/spawnChannel-RWNDBXGA.js +82 -0
  237. package/chunks/{src-IZXLJI5M.js → src-GE4TTTML.js} +302 -184
  238. package/chunks/{standalone-update-X675JVBL.js → standalone-update-Q6WFRZZQ.js} +45 -37
  239. package/chunks/{startInteractiveUI-ND2IVBU3.js → startInteractiveUI-SLZGHRPH.js} +747 -310
  240. package/chunks/{syntheticOutput-H7RTI5KL.js → syntheticOutput-I3757IWH.js} +4 -4
  241. package/chunks/{task-create-7474AJJD.js → task-create-N7WQSGYA.js} +10 -10
  242. package/chunks/{task-list-633HGOIB.js → task-list-FOPULZEP.js} +7 -7
  243. package/chunks/{task-stop-MNUGHPIA.js → task-stop-H6RHXFVQ.js} +4 -4
  244. package/chunks/{task-update-66GQB5LI.js → task-update-M57TFZJT.js} +10 -10
  245. package/chunks/{team-create-2DEYNMMN.js → team-create-YJALH5D2.js} +46 -38
  246. package/chunks/{team-delete-BB3CG3QF.js → team-delete-QE2UXJL7.js} +7 -7
  247. package/chunks/{team-plan-approval-65AVAOCT.js → team-plan-approval-34QFYKGN.js} +43 -35
  248. package/chunks/theme-manager-SWRILQHI.js +77 -0
  249. package/chunks/{todoWrite-KRAUN54W.js → todoWrite-VQ7FKOHL.js} +5 -5
  250. package/chunks/{tool-search-ZQP3SMTV.js → tool-search-NF7GB6LE.js} +16 -16
  251. package/chunks/total-session-admission-DLHHHLD3.js +84 -0
  252. package/chunks/{tree-sitter-FS4VPMZA.js → tree-sitter-4D7QS7F6.js} +1 -1
  253. package/chunks/{tree-sitter-bash-6B46JJCV.js → tree-sitter-bash-VEJGF5XF.js} +1 -1
  254. package/chunks/{trustedFolders-LURI52LP.js → trustedFolders-KHXHY6PY.js} +44 -36
  255. package/chunks/{update-relaunch-BPWFIDLM.js → update-relaunch-WBUZJC5O.js} +5 -5
  256. package/chunks/updateCheck-RKL6M5XN.js +92 -0
  257. package/chunks/useAutoAcceptIndicator-CFQ5BUJL.js +93 -0
  258. package/chunks/{validateNonInterActiveAuth-HWD6Y22I.js → validateNonInterActiveAuth-3R223G3R.js} +89 -80
  259. package/chunks/{version-OD4JAFG7.js → version-HS7YSFHV.js} +1 -1
  260. package/chunks/{web-fetch-RFBKNU24.js → web-fetch-NKCSG7ZE.js} +18 -16
  261. package/chunks/{web-search-AKTVS5YZ.js → web-search-S62WAP4S.js} +13 -27
  262. package/chunks/{workflow-VZVCOSZN.js → workflow-QAGU5RU4.js} +44 -36
  263. package/chunks/workspace-providers-status-QSVZUETE.js +86 -0
  264. package/chunks/{workspace-registration-store-Q5SFJSX4.js → workspace-registration-store-24JMHDGF.js} +2 -2
  265. package/chunks/workspace-registry-UT4RBNBM.js +88 -0
  266. package/chunks/workspace-service-JFWRUS4V.js +98 -0
  267. package/chunks/workspace-skills-status-ZBBKJOI2.js +85 -0
  268. package/chunks/write-file-VHIXW5M7.js +73 -0
  269. package/chunks/{zh-WY5DWYZD.js → zh-LUIGBD55.js} +15 -0
  270. package/chunks/{zh-TW-BM47YBFH.js → zh-TW-F5KG2IYD.js} +15 -0
  271. package/cli-entry.js +10 -1
  272. package/cli.js +13 -13
  273. package/locales/ca.js +2 -0
  274. package/locales/de.js +1 -0
  275. package/locales/en.js +25 -0
  276. package/locales/fr.js +1 -0
  277. package/locales/ja.js +1 -0
  278. package/locales/pt.js +1 -0
  279. package/locales/ru.js +1 -0
  280. package/locales/zh-TW.js +23 -0
  281. package/locales/zh.js +23 -0
  282. package/package.json +3 -3
  283. package/web-shell/assets/{arc-BWFm0SI0.js → arc-DcbWnB9T.js} +1 -1
  284. package/web-shell/assets/{architectureDiagram-3BPJPVTR-CZ_yL-DQ.js → architectureDiagram-3BPJPVTR-kMMF5sud.js} +1 -1
  285. package/web-shell/assets/{blockDiagram-GPEHLZMM-B9F9mJvG.js → blockDiagram-GPEHLZMM-Htl9vTJS.js} +1 -1
  286. package/web-shell/assets/{c4Diagram-AAUBKEIU-BUdwJW5f.js → c4Diagram-AAUBKEIU-BnZnm0mQ.js} +1 -1
  287. package/web-shell/assets/channel-Cq7YKtfC.js +1 -0
  288. package/web-shell/assets/{chunk-2J33WTMH-w4cF-qlF.js → chunk-2J33WTMH-DziB7kDG.js} +1 -1
  289. package/web-shell/assets/{chunk-4BX2VUAB-BXwURxHJ.js → chunk-4BX2VUAB-CmkD8daw.js} +1 -1
  290. package/web-shell/assets/{chunk-55IACEB6-Gem3LalC.js → chunk-55IACEB6-CHAd9A_U.js} +1 -1
  291. package/web-shell/assets/{chunk-727SXJPM-A3ddVojI.js → chunk-727SXJPM-Dqaam3fE.js} +1 -1
  292. package/web-shell/assets/{chunk-AQP2D5EJ-CjHZ5L_R.js → chunk-AQP2D5EJ-D_-saBYM.js} +1 -1
  293. package/web-shell/assets/{chunk-FMBD7UC4-CKgdgcpv.js → chunk-FMBD7UC4-B9r_veWD.js} +1 -1
  294. package/web-shell/assets/{chunk-ND2GUHAM-Cn2Dykjb.js → chunk-ND2GUHAM-B3EaCSpL.js} +1 -1
  295. package/web-shell/assets/{chunk-QZHKN3VN--0SyraC5.js → chunk-QZHKN3VN-CYq8x9mn.js} +1 -1
  296. package/web-shell/assets/classDiagram-4FO5ZUOK-CQ9aC1Tg.js +1 -0
  297. package/web-shell/assets/classDiagram-v2-Q7XG4LA2-CQ9aC1Tg.js +1 -0
  298. package/web-shell/assets/{cose-bilkent-S5V4N54A-CphhAity.js → cose-bilkent-S5V4N54A-D0ng4uiB.js} +1 -1
  299. package/web-shell/assets/{dagre-BM42HDAG-DU--jiKp.js → dagre-BM42HDAG-DCZollQv.js} +1 -1
  300. package/web-shell/assets/{diagram-2AECGRRQ-BzvuZw1Y.js → diagram-2AECGRRQ-Dfk2pWS0.js} +1 -1
  301. package/web-shell/assets/{diagram-5GNKFQAL-D84-49Y0.js → diagram-5GNKFQAL-kX38ltWR.js} +1 -1
  302. package/web-shell/assets/{diagram-KO2AKTUF-DQTq-3_3.js → diagram-KO2AKTUF-CJz2vsXh.js} +1 -1
  303. package/web-shell/assets/{diagram-LMA3HP47-8FTrshzN.js → diagram-LMA3HP47-BvMLZm_7.js} +1 -1
  304. package/web-shell/assets/{diagram-OG6HWLK6-BCjpDBCm.js → diagram-OG6HWLK6-l7kfStkO.js} +1 -1
  305. package/web-shell/assets/{erDiagram-TEJ5UH35-BtRObkmg.js → erDiagram-TEJ5UH35-BSVa8GGT.js} +1 -1
  306. package/web-shell/assets/{flowDiagram-I6XJVG4X-DTrW6oxy.js → flowDiagram-I6XJVG4X-CoawKIXH.js} +1 -1
  307. package/web-shell/assets/{ganttDiagram-6RSMTGT7-BgPNSW6j.js → ganttDiagram-6RSMTGT7-DFUDH0zF.js} +1 -1
  308. package/web-shell/assets/{gitGraphDiagram-PVQCEYII-BTclNgGV.js → gitGraphDiagram-PVQCEYII-Y2pvpT4e.js} +1 -1
  309. package/web-shell/assets/{index-CxA7AqY6.js → index-D0GX0zZf.js} +1 -1
  310. package/web-shell/assets/index-D9haPt0X.css +5 -0
  311. package/web-shell/assets/index-ckX9Pq5k.js +1230 -0
  312. package/web-shell/assets/{infoDiagram-5YYISTIA-DCE4AJt2.js → infoDiagram-5YYISTIA-CU8_zLiX.js} +1 -1
  313. package/web-shell/assets/{ishikawaDiagram-YF4QCWOH-C8iE6q4Y.js → ishikawaDiagram-YF4QCWOH-AVQiV0DU.js} +1 -1
  314. package/web-shell/assets/{journeyDiagram-JHISSGLW-C_dxdyEc.js → journeyDiagram-JHISSGLW-DQ0VSKa3.js} +1 -1
  315. package/web-shell/assets/{kanban-definition-UN3LZRKU-Dw3n1u3w.js → kanban-definition-UN3LZRKU-BqnWqsE_.js} +1 -1
  316. package/web-shell/assets/{linear-C2BF2zJ9.js → linear-BkoihsaA.js} +1 -1
  317. package/web-shell/assets/{mermaid.core-CGTQU3MA.js → mermaid.core-5RJs-31j.js} +5 -5
  318. package/web-shell/assets/{mindmap-definition-RKZ34NQL-BVFZm9ZC.js → mindmap-definition-RKZ34NQL-D33Bxnpd.js} +1 -1
  319. package/web-shell/assets/{pieDiagram-4H26LBE5-Cc-TNN3n.js → pieDiagram-4H26LBE5-BuEAw3BH.js} +1 -1
  320. package/web-shell/assets/{quadrantDiagram-W4KKPZXB-CgW3Rzsi.js → quadrantDiagram-W4KKPZXB-Kox_usEq.js} +1 -1
  321. package/web-shell/assets/{requirementDiagram-4Y6WPE33-BAaj0Y3B.js → requirementDiagram-4Y6WPE33-CNjeUif0.js} +1 -1
  322. package/web-shell/assets/{sankeyDiagram-5OEKKPKP-XJWmekxS.js → sankeyDiagram-5OEKKPKP-BCd2OL_U.js} +1 -1
  323. package/web-shell/assets/{sequenceDiagram-3UESZ5HK-CtRc_0wf.js → sequenceDiagram-3UESZ5HK-CF2ZTsz0.js} +1 -1
  324. package/web-shell/assets/{stateDiagram-AJRCARHV-WCnvMGy5.js → stateDiagram-AJRCARHV-qenSzHtm.js} +1 -1
  325. package/web-shell/assets/stateDiagram-v2-BHNVJYJU-B7W4zlCr.js +1 -0
  326. package/web-shell/assets/{timeline-definition-PNZ67QCA-C9cRx49L.js → timeline-definition-PNZ67QCA-B5DyWdgs.js} +1 -1
  327. package/web-shell/assets/{vennDiagram-CIIHVFJN-BvXOCEt-.js → vennDiagram-CIIHVFJN-DqP4I_o_.js} +1 -1
  328. package/web-shell/assets/{wardley-L42UT6IY-ByafGtzu.js → wardley-L42UT6IY-CJe2e4mg.js} +1 -1
  329. package/web-shell/assets/{wardleyDiagram-YWT4CUSO-CozAnw8x.js → wardleyDiagram-YWT4CUSO-BMDSw-Rr.js} +1 -1
  330. package/web-shell/assets/{xychartDiagram-2RQKCTM6-Camu9Qvq.js → xychartDiagram-2RQKCTM6-BTVZYkxD.js} +1 -1
  331. package/web-shell/index.html +17 -13
  332. package/chunks/MaxSizedBox-3XQIBACV.js +0 -78
  333. package/chunks/agent-QXD5NSKA.js +0 -73
  334. package/chunks/agent-headless-4VXR2TBK.js +0 -67
  335. package/chunks/bridge-GIBRSPE6.js +0 -81
  336. package/chunks/chunk-CBOQ3HY7.js +0 -2019
  337. package/chunks/chunk-MA6GYKK7.js +0 -6928
  338. package/chunks/contextCommand-XQU7KLIH.js +0 -72
  339. package/chunks/daemon-status-provider-KQVNB4VA.js +0 -80
  340. package/chunks/earlyInputCapture-WP5SA3KH.js +0 -74
  341. package/chunks/errors-JEYPXX4S.js +0 -80
  342. package/chunks/handleAutoUpdate-2VJPAW43.js +0 -73
  343. package/chunks/initializer-UOX67ZFQ.js +0 -78
  344. package/chunks/installationInfo-NQNY34X3.js +0 -72
  345. package/chunks/list-2Z7KS7ZF.js +0 -81
  346. package/chunks/loadedSettingsAdapter-LIYY3LE4.js +0 -75
  347. package/chunks/mcp-AJ4QW3JA.js +0 -75
  348. package/chunks/nonInteractiveCli-PUSO5QF6.js +0 -134
  349. package/chunks/pidfile-EH2JW2PB.js +0 -78
  350. package/chunks/read-file-JZ5VXILQ.js +0 -31
  351. package/chunks/resumeHistoryUtils-Z3HG4WKM.js +0 -84
  352. package/chunks/ripGrep-JNLJCT2B.js +0 -65
  353. package/chunks/serve-NN5FXWR6.js +0 -81
  354. package/chunks/shell-FXT3NVC6.js +0 -75
  355. package/chunks/spawnChannel-XAWLXNOD.js +0 -74
  356. package/chunks/theme-manager-2WZHPK2M.js +0 -69
  357. package/chunks/total-session-admission-HULB2TEQ.js +0 -75
  358. package/chunks/updateCheck-D4ESCHBJ.js +0 -88
  359. package/chunks/useAutoAcceptIndicator-CBNLOF2P.js +0 -86
  360. package/chunks/workspace-providers-status-TJTVHORI.js +0 -78
  361. package/chunks/workspace-registry-H6VM5WXK.js +0 -79
  362. package/chunks/workspace-service-ZNKD3I2J.js +0 -90
  363. package/chunks/workspace-skills-status-OOBIXADG.js +0 -77
  364. package/chunks/write-file-CAKK5IAO.js +0 -65
  365. package/web-shell/assets/channel-DiLlxxIf.js +0 -1
  366. package/web-shell/assets/classDiagram-4FO5ZUOK-CkylTdM4.js +0 -1
  367. package/web-shell/assets/classDiagram-v2-Q7XG4LA2-CkylTdM4.js +0 -1
  368. package/web-shell/assets/index-CGtQqOIa.css +0 -5
  369. package/web-shell/assets/index-TtM0hVjU.js +0 -1207
  370. package/web-shell/assets/stateDiagram-v2-BHNVJYJU-D1gzH2Ue.js +0 -1
@@ -3,9 +3,6 @@
3
3
  import {
4
4
  require_react
5
5
  } from "./chunk-5QWWOFGG.js";
6
- import {
7
- is_in_ci_default
8
- } from "./chunk-NHDKSOEY.js";
9
6
  import {
10
7
  eastAsianWidth,
11
8
  isFullWidth,
@@ -13,7 +10,7 @@ import {
13
10
  } from "./chunk-QHTIBUWB.js";
14
11
  import {
15
12
  stripAnsi
16
- } from "./chunk-T4TZQJ7W.js";
13
+ } from "./chunk-TWPJO254.js";
17
14
  import {
18
15
  init_esbuild_shims
19
16
  } from "./chunk-5O2XNYP6.js";
@@ -9968,6 +9965,11 @@ var ConEmu = {
9968
9965
  };
9969
9966
  var setCwd = /* @__PURE__ */ __name((cwd2 = cwdFunction()) => iTerm.setCwd(cwd2) + ConEmu.setCwd(cwd2), "setCwd");
9970
9967
 
9968
+ // packages/cli/src/patches/is-in-ci.ts
9969
+ init_esbuild_shims();
9970
+ var isInCi = false;
9971
+ var is_in_ci_default = isInCi;
9972
+
9971
9973
  // node_modules/auto-bind/index.js
9972
9974
  init_esbuild_shims();
9973
9975
  var getAllProperties = /* @__PURE__ */ __name((object) => {
@@ -13581,6 +13583,37 @@ var wrapText = /* @__PURE__ */ __name((text, maxWidth, wrapType) => {
13581
13583
  cache2[cacheKey] = wrappedText;
13582
13584
  return wrappedText;
13583
13585
  }, "wrapText");
13586
+ var wrapTextWithMetadata = /* @__PURE__ */ __name((text, maxWidth, wrapType, shouldWrap = true) => {
13587
+ const sourceLines = text.replaceAll("\r\n", "\n").split("\n");
13588
+ const lines = [];
13589
+ const boundaries = [];
13590
+ const selectableRows = [];
13591
+ for (const [sourceLineIndex, sourceLine] of sourceLines.entries()) {
13592
+ const wrappedLines = (shouldWrap ? wrapText(sourceLine, maxWidth, wrapType) : sourceLine).split("\n");
13593
+ const visibleSource = stripAnsi(sourceLine);
13594
+ let sourceOffset = 0;
13595
+ for (const [wrappedLineIndex, wrappedLine] of wrappedLines.entries()) {
13596
+ const visibleLine = stripAnsi(wrappedLine);
13597
+ const separatorRow = sourceOffset > 0 && visibleLine.length > 0 && /^\s+$/u.test(visibleLine) && /\S/u.test(visibleSource.slice(sourceOffset));
13598
+ const sourceSeparator = separatorRow ? (/^\s+/u.exec(visibleSource.slice(sourceOffset))?.[0] ?? "").slice(0, visibleLine.length) : "";
13599
+ const lineOffset = separatorRow ? sourceOffset : visibleSource.indexOf(visibleLine, sourceOffset);
13600
+ const resolvedOffset = lineOffset === -1 ? sourceOffset : lineOffset;
13601
+ if (lines.length > 0) {
13602
+ boundaries.push({
13603
+ kind: wrappedLineIndex === 0 ? "hard" : "soft",
13604
+ joiner: wrappedLineIndex === 0 ? "\n" : separatorRow ? sourceSeparator : visibleSource.slice(sourceOffset, resolvedOffset)
13605
+ });
13606
+ }
13607
+ lines.push(wrappedLine);
13608
+ selectableRows.push(!separatorRow);
13609
+ sourceOffset = separatorRow ? sourceOffset + sourceSeparator.length : resolvedOffset + visibleLine.length;
13610
+ }
13611
+ if (sourceLineIndex < sourceLines.length - 1 && wrappedLines.length === 0) {
13612
+ lines.push("");
13613
+ }
13614
+ }
13615
+ return { text: lines.join("\n"), boundaries, selectableRows };
13616
+ }, "wrapTextWithMetadata");
13584
13617
  var wrap_text_default = wrapText;
13585
13618
 
13586
13619
  // node_modules/ink/build/squash-text-nodes.js
@@ -14659,41 +14692,6 @@ init_esbuild_shims();
14659
14692
  // node_modules/ink/build/render-node-to-output.js
14660
14693
  init_esbuild_shims();
14661
14694
 
14662
- // node_modules/indent-string/index.js
14663
- init_esbuild_shims();
14664
- function indentString(string, count = 1, options = {}) {
14665
- const {
14666
- indent = " ",
14667
- includeEmptyLines = false
14668
- } = options;
14669
- if (typeof string !== "string") {
14670
- throw new TypeError(
14671
- `Expected \`input\` to be a \`string\`, got \`${typeof string}\``
14672
- );
14673
- }
14674
- if (typeof count !== "number") {
14675
- throw new TypeError(
14676
- `Expected \`count\` to be a \`number\`, got \`${typeof count}\``
14677
- );
14678
- }
14679
- if (count < 0) {
14680
- throw new RangeError(
14681
- `Expected \`count\` to be at least 0, got \`${count}\``
14682
- );
14683
- }
14684
- if (typeof indent !== "string") {
14685
- throw new TypeError(
14686
- `Expected \`options.indent\` to be a \`string\`, got \`${typeof indent}\``
14687
- );
14688
- }
14689
- if (count === 0) {
14690
- return string;
14691
- }
14692
- const regex = includeEmptyLines ? /^/gm : /^(?!\s*$)/gm;
14693
- return string.replace(regex, indent.repeat(count));
14694
- }
14695
- __name(indentString, "indentString");
14696
-
14697
14695
  // node_modules/ink/build/get-max-width.js
14698
14696
  init_esbuild_shims();
14699
14697
  var getMaxWidth = /* @__PURE__ */ __name((yogaNode) => {
@@ -15437,21 +15435,25 @@ var renderBackground = /* @__PURE__ */ __name((x, y, node, output) => {
15437
15435
  }
15438
15436
  const backgroundLine = colorize_default(" ".repeat(contentWidth), node.style.backgroundColor, "background");
15439
15437
  for (let row = 0; row < contentHeight; row++) {
15440
- output.write(x + leftBorderWidth, y + topBorderHeight + row, backgroundLine, { transformers: [] });
15438
+ output.write(x + leftBorderWidth, y + topBorderHeight + row, backgroundLine, {
15439
+ transformers: [],
15440
+ selectable: false
15441
+ });
15441
15442
  }
15442
15443
  }, "renderBackground");
15443
15444
  var render_background_default = renderBackground;
15444
15445
 
15445
15446
  // node_modules/ink/build/render-node-to-output.js
15446
- var applyPaddingToText = /* @__PURE__ */ __name((node, text) => {
15447
+ var getTextOffset = /* @__PURE__ */ __name((node) => {
15447
15448
  const yogaNode = node.childNodes[0]?.yogaNode;
15448
15449
  if (yogaNode) {
15449
- const offsetX = yogaNode.getComputedLeft();
15450
- const offsetY = yogaNode.getComputedTop();
15451
- text = "\n".repeat(offsetY) + indentString(text, offsetX);
15450
+ return {
15451
+ x: yogaNode.getComputedLeft(),
15452
+ y: yogaNode.getComputedTop()
15453
+ };
15452
15454
  }
15453
- return text;
15454
- }, "applyPaddingToText");
15455
+ return { x: 0, y: 0 };
15456
+ }, "getTextOffset");
15455
15457
  var renderNodeToScreenReaderOutput = /* @__PURE__ */ __name((node, options = {}) => {
15456
15458
  if (options.skipStaticElements && node.internal_static) {
15457
15459
  return "";
@@ -15489,7 +15491,7 @@ var renderNodeToScreenReaderOutput = /* @__PURE__ */ __name((node, options = {})
15489
15491
  return output;
15490
15492
  }, "renderNodeToScreenReaderOutput");
15491
15493
  var renderNodeToOutput = /* @__PURE__ */ __name((node, output, options) => {
15492
- const { offsetX = 0, offsetY = 0, transformers = [], skipStaticElements } = options;
15494
+ const { offsetX = 0, offsetY = 0, transformers = [], skipStaticElements, flowIds, nextFlowId } = options;
15493
15495
  if (skipStaticElements && node.internal_static) {
15494
15496
  return;
15495
15497
  }
@@ -15505,16 +15507,45 @@ var renderNodeToOutput = /* @__PURE__ */ __name((node, output, options) => {
15505
15507
  newTransformers = [node.internal_transform, ...transformers];
15506
15508
  }
15507
15509
  if (node.nodeName === "ink-text") {
15508
- let text = squash_text_nodes_default(node);
15509
- if (text.length > 0) {
15510
- const currentWidth = widestLine(text);
15510
+ const sourceText = squash_text_nodes_default(node);
15511
+ if (sourceText.length > 0) {
15511
15512
  const maxWidth = get_max_width_default(yogaNode);
15512
- if (currentWidth > maxWidth) {
15513
- const textWrap = node.style.textWrap ?? "wrap";
15514
- text = wrap_text_default(text, maxWidth, textWrap);
15513
+ const textWrap = node.style.textWrap ?? "wrap";
15514
+ const wrapped = wrapTextWithMetadata(sourceText, maxWidth, textWrap, widestLine(sourceText) > maxWidth);
15515
+ const flowKey = node.attributes.selectionFlow ?? node;
15516
+ let flowId = flowIds.get(flowKey);
15517
+ if (flowId === void 0) {
15518
+ flowId = nextFlowId.value++;
15519
+ flowIds.set(flowKey, flowId);
15520
+ }
15521
+ const boundaries = [...wrapped.boundaries];
15522
+ const breakAfter = node.attributes.selectionBreakAfter;
15523
+ boundaries.push(breakAfter === "soft" || breakAfter === "hard" ? {
15524
+ kind: breakAfter,
15525
+ joiner: typeof node.attributes.selectionJoiner === "string" ? node.attributes.selectionJoiner : breakAfter === "hard" ? "\n" : ""
15526
+ } : null);
15527
+ const textOffset = getTextOffset(node);
15528
+ if (textOffset.x > 0) {
15529
+ const padding = wrapped.text.split("\n").map((line) => line.length > 0 ? " ".repeat(textOffset.x) : "").join("\n");
15530
+ output.write(x, y + textOffset.y, padding, {
15531
+ transformers: newTransformers,
15532
+ semantic: {
15533
+ flowId,
15534
+ selectable: false,
15535
+ selectableRows: wrapped.selectableRows.map(() => false),
15536
+ boundaries: wrapped.boundaries.map(() => null)
15537
+ }
15538
+ });
15515
15539
  }
15516
- text = applyPaddingToText(node, text);
15517
- output.write(x, y, text, { transformers: newTransformers });
15540
+ output.write(x + textOffset.x, y + textOffset.y, wrapped.text, {
15541
+ transformers: newTransformers,
15542
+ semantic: {
15543
+ flowId,
15544
+ selectable: node.attributes.selectable !== false,
15545
+ selectableRows: wrapped.selectableRows,
15546
+ boundaries
15547
+ }
15548
+ });
15518
15549
  }
15519
15550
  return;
15520
15551
  }
@@ -15539,7 +15570,9 @@ var renderNodeToOutput = /* @__PURE__ */ __name((node, output, options) => {
15539
15570
  offsetX: x,
15540
15571
  offsetY: y,
15541
15572
  transformers: newTransformers,
15542
- skipStaticElements
15573
+ skipStaticElements,
15574
+ flowIds,
15575
+ nextFlowId
15543
15576
  });
15544
15577
  }
15545
15578
  if (clipped) {
@@ -16151,7 +16184,7 @@ var Output = class {
16151
16184
  this.height = height;
16152
16185
  }
16153
16186
  write(x, y, text, options) {
16154
- const { transformers } = options;
16187
+ const { transformers, selectable, semantic } = options;
16155
16188
  if (!text) {
16156
16189
  return;
16157
16190
  }
@@ -16160,7 +16193,9 @@ var Output = class {
16160
16193
  x,
16161
16194
  y,
16162
16195
  text,
16163
- transformers
16196
+ transformers,
16197
+ selectable,
16198
+ semantic
16164
16199
  });
16165
16200
  }
16166
16201
  clip(clip) {
@@ -16183,11 +16218,14 @@ var Output = class {
16183
16218
  type: "char",
16184
16219
  value: " ",
16185
16220
  fullWidth: false,
16186
- styles: []
16221
+ styles: [],
16222
+ selectable: false,
16223
+ flowId: null
16187
16224
  });
16188
16225
  }
16189
16226
  output.push(row);
16190
16227
  }
16228
+ const boundaries = output.map(() => Array.from({ length: this.width }, () => null));
16191
16229
  const clips = [];
16192
16230
  for (const operation of this.operations) {
16193
16231
  if (operation.type === "clip") {
@@ -16197,9 +16235,10 @@ var Output = class {
16197
16235
  clips.pop();
16198
16236
  }
16199
16237
  if (operation.type === "write") {
16200
- const { text, transformers } = operation;
16238
+ const { text, transformers, selectable, semantic } = operation;
16201
16239
  let { x, y } = operation;
16202
16240
  let lines = text.split("\n");
16241
+ let firstLineIndex = 0;
16203
16242
  const clip = clips.at(-1);
16204
16243
  if (clip) {
16205
16244
  const clipHorizontally = typeof clip?.x1 === "number" && typeof clip?.x2 === "number";
@@ -16232,6 +16271,7 @@ var Output = class {
16232
16271
  const height = lines.length;
16233
16272
  const to = y + height > clip.y2 ? clip.y2 - y : height;
16234
16273
  lines = lines.slice(from, to);
16274
+ firstLineIndex = from;
16235
16275
  if (y < clip.y1) {
16236
16276
  y = clip.y1;
16237
16277
  }
@@ -16246,8 +16286,27 @@ var Output = class {
16246
16286
  for (const transformer of transformers) {
16247
16287
  line = transformer(line, index);
16248
16288
  }
16289
+ const boundaryRow = boundaries[y + offsetY];
16290
+ if (boundaryRow) {
16291
+ const boundaryWidth = semantic ? Math.max(1, this.caches.getStringWidth(line)) : this.caches.getStringWidth(line);
16292
+ const boundaryOrigin = x;
16293
+ const startX = Math.max(0, boundaryOrigin, clip?.x1 ?? 0);
16294
+ const endX = Math.min(this.width, boundaryOrigin + boundaryWidth, clip?.x2 ?? this.width);
16295
+ const sourceBoundary = semantic?.boundaries[firstLineIndex + index] ?? null;
16296
+ const boundary = sourceBoundary && semantic ? {
16297
+ ...sourceBoundary,
16298
+ flowId: semantic.flowId,
16299
+ selectable: semantic.selectable
16300
+ } : null;
16301
+ for (let boundaryX = startX; boundaryX < endX; boundaryX++) {
16302
+ if (boundaryX < boundaryRow.length) {
16303
+ boundaryRow[boundaryX] = boundary;
16304
+ }
16305
+ }
16306
+ }
16249
16307
  const characters = this.caches.getStyledChars(line);
16250
16308
  let offsetX = x;
16309
+ const rowSelectable = semantic ? semantic.selectable && (semantic.selectableRows[firstLineIndex + index] ?? true) : selectable ?? true;
16251
16310
  if (characters.length === 0) {
16252
16311
  offsetY++;
16253
16312
  continue;
@@ -16256,13 +16315,19 @@ var Output = class {
16256
16315
  type: "char",
16257
16316
  value: " ",
16258
16317
  fullWidth: false,
16259
- styles: []
16318
+ styles: [],
16319
+ selectable: false,
16320
+ flowId: null
16260
16321
  };
16261
16322
  if (currentLine[offsetX]?.value === "" && offsetX > 0 && this.caches.getStringWidth(currentLine[offsetX - 1]?.value ?? "") > 1) {
16262
16323
  currentLine[offsetX - 1] = spaceCell;
16263
16324
  }
16264
16325
  for (const character of characters) {
16265
- currentLine[offsetX] = character;
16326
+ currentLine[offsetX] = {
16327
+ ...character,
16328
+ selectable: rowSelectable,
16329
+ flowId: semantic?.flowId ?? null
16330
+ };
16266
16331
  const characterWidth = Math.max(1, this.caches.getStringWidth(character.value));
16267
16332
  if (characterWidth > 1) {
16268
16333
  for (let index2 = 1; index2 < characterWidth; index2++) {
@@ -16270,7 +16335,9 @@ var Output = class {
16270
16335
  type: "char",
16271
16336
  value: "",
16272
16337
  fullWidth: false,
16273
- styles: character.styles
16338
+ styles: character.styles,
16339
+ selectable: rowSelectable,
16340
+ flowId: semantic?.flowId ?? null
16274
16341
  };
16275
16342
  }
16276
16343
  }
@@ -16310,7 +16377,8 @@ var Output = class {
16310
16377
  return {
16311
16378
  output: generatedOutput,
16312
16379
  height: output.length,
16313
- cells: output
16380
+ cells: output,
16381
+ boundaries
16314
16382
  };
16315
16383
  }
16316
16384
  };
@@ -16340,8 +16408,12 @@ var renderer = /* @__PURE__ */ __name((node, isScreenReaderEnabled, selection) =
16340
16408
  width: node.yogaNode.getComputedWidth(),
16341
16409
  height: node.yogaNode.getComputedHeight()
16342
16410
  });
16411
+ const flowIds = /* @__PURE__ */ new Map();
16412
+ const nextFlowId = { value: 1 };
16343
16413
  render_node_to_output_default(node, output, {
16344
- skipStaticElements: true
16414
+ skipStaticElements: true,
16415
+ flowIds,
16416
+ nextFlowId
16345
16417
  });
16346
16418
  let staticOutput;
16347
16419
  if (node.staticNode?.yogaNode) {
@@ -16350,10 +16422,12 @@ var renderer = /* @__PURE__ */ __name((node, isScreenReaderEnabled, selection) =
16350
16422
  height: node.staticNode.yogaNode.getComputedHeight()
16351
16423
  });
16352
16424
  render_node_to_output_default(node.staticNode, staticOutput, {
16353
- skipStaticElements: false
16425
+ skipStaticElements: false,
16426
+ flowIds,
16427
+ nextFlowId
16354
16428
  });
16355
16429
  }
16356
- const { output: generatedOutput, height: outputHeight, cells } = output.get(selection);
16430
+ const { output: generatedOutput, height: outputHeight, cells, boundaries } = output.get(selection);
16357
16431
  return {
16358
16432
  output: generatedOutput,
16359
16433
  outputHeight,
@@ -16361,7 +16435,8 @@ var renderer = /* @__PURE__ */ __name((node, isScreenReaderEnabled, selection) =
16361
16435
  // interactive output will override last line of static output
16362
16436
  staticOutput: staticOutput ? `${staticOutput.get().output}
16363
16437
  ` : "",
16364
- cells
16438
+ cells,
16439
+ boundaries
16365
16440
  };
16366
16441
  }
16367
16442
  return {
@@ -17134,7 +17209,7 @@ var Box_default = Box;
17134
17209
  // node_modules/ink/build/components/Text.js
17135
17210
  init_esbuild_shims();
17136
17211
  var import_react12 = __toESM(require_react(), 1);
17137
- function Text({ color, backgroundColor, dimColor = false, bold = false, italic = false, underline = false, strikethrough = false, inverse = false, wrap = "wrap", children, "aria-label": ariaLabel, "aria-hidden": ariaHidden = false }) {
17212
+ function Text({ color, backgroundColor, dimColor = false, bold = false, italic = false, underline = false, strikethrough = false, inverse = false, wrap = "wrap", selectable = true, selectionFlow, selectionBreakAfter, selectionJoiner = "", children, "aria-label": ariaLabel, "aria-hidden": ariaHidden = false }) {
17138
17213
  const { isScreenReaderEnabled } = (0, import_react12.useContext)(accessibilityContext);
17139
17214
  const inheritedBackgroundColor = (0, import_react12.useContext)(backgroundContext);
17140
17215
  const childrenOrAriaLabel = isScreenReaderEnabled && ariaLabel ? ariaLabel : children;
@@ -17172,7 +17247,7 @@ function Text({ color, backgroundColor, dimColor = false, bold = false, italic =
17172
17247
  if (isScreenReaderEnabled && ariaHidden) {
17173
17248
  return null;
17174
17249
  }
17175
- return import_react12.default.createElement("ink-text", { style: { flexGrow: 0, flexShrink: 1, flexDirection: "row", textWrap: wrap }, internal_transform: transform }, childrenOrAriaLabel);
17250
+ return import_react12.default.createElement("ink-text", { style: { flexGrow: 0, flexShrink: 1, flexDirection: "row", textWrap: wrap }, internal_transform: transform, selectable, selectionFlow, selectionBreakAfter, selectionJoiner }, childrenOrAriaLabel);
17176
17251
  }
17177
17252
  __name(Text, "Text");
17178
17253
 
@@ -18090,12 +18165,13 @@ var Ink = class {
18090
18165
  }
18091
18166
  const startTime = performance.now();
18092
18167
  const selection = this.frameController?.getSelection() ?? null;
18093
- const { output, outputHeight, staticOutput, cells } = renderer_default(this.rootNode, this.isScreenReaderEnabled, selection);
18168
+ const { output, outputHeight, staticOutput, cells, boundaries } = renderer_default(this.rootNode, this.isScreenReaderEnabled, selection);
18094
18169
  if (cells && this.frameController) {
18095
18170
  this.frameController.publishFrame({
18096
- width: cells[0]?.length ?? 0,
18171
+ width: cells.reduce((width, row) => Math.max(width, row.length), 0),
18097
18172
  height: cells.length,
18098
- cells
18173
+ cells,
18174
+ boundaries: boundaries ?? []
18099
18175
  });
18100
18176
  }
18101
18177
  this.options.onRender?.({ renderTime: performance.now() - startTime });
@@ -18366,6 +18442,7 @@ var Ink = class {
18366
18442
  this.alternateScreen = this.resolveAlternateScreenOption(enabled, this.interactive);
18367
18443
  if (this.alternateScreen) {
18368
18444
  this.writeBestEffort(this.options.stdout, base_exports.enterAlternativeScreen);
18445
+ this.writeBestEffort(this.options.stdout, base_exports.clearTerminal);
18369
18446
  this.writeBestEffort(this.options.stdout, hideCursorEscape);
18370
18447
  }
18371
18448
  }
@@ -19498,6 +19575,11 @@ export {
19498
19575
  use_box_metrics_default,
19499
19576
  measure_element_default
19500
19577
  };
19578
+ /**
19579
+ * @license
19580
+ * Copyright 2025 Google LLC
19581
+ * SPDX-License-Identifier: Apache-2.0
19582
+ */
19501
19583
  /*! Bundled license information:
19502
19584
 
19503
19585
  react-reconciler/cjs/react-reconciler-constants.production.js:
@@ -7,7 +7,7 @@ import {
7
7
  import {
8
8
  esm_exports,
9
9
  init_esm
10
- } from "./chunk-THJNPLI4.js";
10
+ } from "./chunk-TARRHLLG.js";
11
11
  import {
12
12
  init_esbuild_shims
13
13
  } from "./chunk-5O2XNYP6.js";
@@ -1946,19 +1946,19 @@ var require_getMachineId = __commonJS({
1946
1946
  if (!getMachineIdImpl) {
1947
1947
  switch (process2.platform) {
1948
1948
  case "darwin":
1949
- getMachineIdImpl = (await import("./getMachineId-darwin-DGMQQE2E.js")).getMachineId;
1949
+ getMachineIdImpl = (await import("./getMachineId-darwin-TDO75DQP.js")).getMachineId;
1950
1950
  break;
1951
1951
  case "linux":
1952
- getMachineIdImpl = (await import("./getMachineId-linux-R4Z6CSWC.js")).getMachineId;
1952
+ getMachineIdImpl = (await import("./getMachineId-linux-TF43WQT2.js")).getMachineId;
1953
1953
  break;
1954
1954
  case "freebsd":
1955
- getMachineIdImpl = (await import("./getMachineId-bsd-QFVLPUPT.js")).getMachineId;
1955
+ getMachineIdImpl = (await import("./getMachineId-bsd-V7W3GODC.js")).getMachineId;
1956
1956
  break;
1957
1957
  case "win32":
1958
- getMachineIdImpl = (await import("./getMachineId-win-SCK5UFDT.js")).getMachineId;
1958
+ getMachineIdImpl = (await import("./getMachineId-win-ECFYZZFQ.js")).getMachineId;
1959
1959
  break;
1960
1960
  default:
1961
- getMachineIdImpl = (await import("./getMachineId-unsupported-Z3SBVBUV.js")).getMachineId;
1961
+ getMachineIdImpl = (await import("./getMachineId-unsupported-ZGUO3TXT.js")).getMachineId;
1962
1962
  break;
1963
1963
  }
1964
1964
  }
@@ -3,6 +3,9 @@
3
3
  import {
4
4
  init_esbuild_shims
5
5
  } from "./chunk-5O2XNYP6.js";
6
+ import {
7
+ __name
8
+ } from "./chunk-J2S4EL5Y.js";
6
9
 
7
10
  // packages/cli/src/config/shared-env-keys.ts
8
11
  init_esbuild_shims();
@@ -33,15 +36,33 @@ var HOME_ENV_BOOTSTRAP_KEYS = [
33
36
  "QWEN_CODE_TRUSTED_FOLDERS_PATH"
34
37
  ];
35
38
 
39
+ // packages/cli/src/config/compile-cache.ts
40
+ init_esbuild_shims();
41
+ var PENDING_COMPILE_CACHE_ENV = "QWEN_CODE_PENDING_COMPILE_CACHE";
42
+ function publishPendingCompileCache(env = process.env) {
43
+ const pendingDirectory = env[PENDING_COMPILE_CACHE_ENV];
44
+ delete env[PENDING_COMPILE_CACHE_ENV];
45
+ if (pendingDirectory && !env["NODE_COMPILE_CACHE"] && env["NODE_DISABLE_COMPILE_CACHE"] !== "1") {
46
+ env["NODE_COMPILE_CACHE"] = pendingDirectory;
47
+ }
48
+ }
49
+ __name(publishPendingCompileCache, "publishPendingCompileCache");
50
+
36
51
  export {
37
52
  DEFAULT_EXCLUDED_ENV_VARS,
38
53
  ENV_CORRUPTED_PATH,
39
54
  ENV_WAS_RECOVERED,
40
55
  PROJECT_ENV_HARDCODED_EXCLUSIONS,
41
- HOME_ENV_BOOTSTRAP_KEYS
56
+ HOME_ENV_BOOTSTRAP_KEYS,
57
+ publishPendingCompileCache
42
58
  };
43
59
  /**
44
60
  * @license
45
61
  * Copyright 2025 Qwen Team
46
62
  * SPDX-License-Identifier: Apache-2.0
47
63
  */
64
+ /**
65
+ * @license
66
+ * Copyright 2026 Qwen Team
67
+ * SPDX-License-Identifier: Apache-2.0
68
+ */
@@ -2,7 +2,7 @@
2
2
  "use strict";
3
3
  import {
4
4
  MissingCliEntryError
5
- } from "./chunk-O4BHWVUD.js";
5
+ } from "./chunk-VIA5XA4U.js";
6
6
  import {
7
7
  redactLogCredentials
8
8
  } from "./chunk-M5GB774H.js";
@@ -2,19 +2,19 @@
2
2
  "use strict";
3
3
  import {
4
4
  getErrorMessage
5
- } from "./chunk-LPEONXNV.js";
5
+ } from "./chunk-IKYJHJNF.js";
6
6
  import {
7
7
  extensionToOutputString,
8
8
  getExtensionManager
9
- } from "./chunk-7THPNISK.js";
9
+ } from "./chunk-PC6JANNU.js";
10
10
  import {
11
11
  loadSettings
12
- } from "./chunk-XCXYRDHB.js";
12
+ } from "./chunk-TEHGS6UP.js";
13
13
  import {
14
14
  initializeI18n,
15
15
  resolveLanguageSetting,
16
16
  t
17
- } from "./chunk-VRRF3GW5.js";
17
+ } from "./chunk-LKEJ26GS.js";
18
18
  import {
19
19
  writeStderrLine,
20
20
  writeStdoutLine
@@ -2,7 +2,7 @@
2
2
  "use strict";
3
3
  import {
4
4
  resolvePath
5
- } from "./chunk-RVLZCXEE.js";
5
+ } from "./chunk-RWTEFFPU.js";
6
6
  import {
7
7
  init_esbuild_shims
8
8
  } from "./chunk-5O2XNYP6.js";
@@ -3,7 +3,7 @@
3
3
  import {
4
4
  createDebugLogger,
5
5
  isNodeError
6
- } from "./chunk-OQB4EXO4.js";
6
+ } from "./chunk-NL7LTRLR.js";
7
7
  import {
8
8
  init_esbuild_shims
9
9
  } from "./chunk-5O2XNYP6.js";
@@ -5,17 +5,17 @@ import {
5
5
  } from "./chunk-2W3OOD4W.js";
6
6
  import {
7
7
  STATUS_SCHEMA_VERSION
8
- } from "./chunk-O4BHWVUD.js";
8
+ } from "./chunk-VIA5XA4U.js";
9
9
  import {
10
10
  loadSettings
11
- } from "./chunk-XCXYRDHB.js";
11
+ } from "./chunk-TEHGS6UP.js";
12
12
  import {
13
13
  writeStderrLine
14
14
  } from "./chunk-OWAK7LMW.js";
15
15
  import {
16
16
  SkillManager,
17
17
  isSafeModeEnv
18
- } from "./chunk-OTQ6PSZC.js";
18
+ } from "./chunk-PHOF65IG.js";
19
19
  import {
20
20
  init_esbuild_shims
21
21
  } from "./chunk-5O2XNYP6.js";