@qwen-code/qwen-code 0.23.1-preview.1 → 0.23.1

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 (351) hide show
  1. package/bundled/computer-use/SKILL.md +189 -116
  2. package/bundled/goal-draft/SKILL.md +23 -13
  3. package/bundled/qc-helper/docs/_meta.ts +1 -0
  4. package/bundled/qc-helper/docs/configuration/model-providers.md +47 -1
  5. package/bundled/qc-helper/docs/configuration/settings.md +57 -7
  6. package/bundled/qc-helper/docs/conversations-recovery.md +102 -0
  7. package/bundled/qc-helper/docs/features/channels/dingtalk.md +26 -0
  8. package/bundled/qc-helper/docs/features/channels/overview.md +1 -1
  9. package/bundled/qc-helper/docs/features/commands.md +71 -6
  10. package/bundled/qc-helper/docs/features/computer-use.md +9 -7
  11. package/bundled/qc-helper/docs/features/followup-suggestions.md +2 -2
  12. package/bundled/qc-helper/docs/features/goals.md +15 -3
  13. package/bundled/qc-helper/docs/features/skills.md +40 -0
  14. package/bundled/qc-helper/docs/qwen-serve.md +19 -1
  15. package/chunks/{MaxSizedBox-5ARLO5PR.js → MaxSizedBox-UDO6Y7RB.js} +35 -36
  16. package/chunks/{StandaloneSessionPicker-T6B322CB.js → StandaloneSessionPicker-D4CUOO4H.js} +55 -56
  17. package/chunks/{acp-startup-profiler-6ULXXQMS.js → acp-startup-profiler-KEU6VAYR.js} +2 -2
  18. package/chunks/{acpAgent-WTDEY5KD.js → acpAgent-KWLJFADK.js} +210 -131
  19. package/chunks/{agent-NXPUXEVZ.js → agent-GSUPGEOL.js} +24 -25
  20. package/chunks/{agent-headless-QQZTWOKO.js → agent-headless-HNYCQUJB.js} +24 -25
  21. package/chunks/{anthropicContentGenerator-6XDHXIII.js → anthropicContentGenerator-I7LQZH26.js} +30 -7
  22. package/chunks/{artifact-tool-DFVVJXL2.js → artifact-tool-P52OKKEF.js} +1 -1
  23. package/chunks/{askUserQuestion-GF7VQ44M.js → askUserQuestion-I5W5S3D6.js} +2 -2
  24. package/chunks/{bridge-OHY5OGOZ.js → bridge-B7CV6RVI.js} +40 -41
  25. package/chunks/{channel-management-service-ZDDG3G5S.js → channel-management-service-TRTLQTSV.js} +4 -4
  26. package/chunks/{channel-settings-store-7BJAS2SU.js → channel-settings-store-FW45IRUP.js} +46 -47
  27. package/chunks/{channel-worker-group-2ISMRENV.js → channel-worker-group-PIYPVCTF.js} +6 -6
  28. package/chunks/{channel-worker-manager-VSRPVPRH.js → channel-worker-manager-FQHEDTD2.js} +6 -6
  29. package/chunks/{channel-worker-supervisor-SRJBK72Z.js → channel-worker-supervisor-XJPZZ3VK.js} +3 -3
  30. package/chunks/{chunk-2WGJG2KW.js → chunk-25CBAK3H.js} +4 -4
  31. package/chunks/{chunk-XUSOYE2I.js → chunk-27LTEY6D.js} +1 -1
  32. package/chunks/{chunk-WTW36TJ3.js → chunk-2EKVPSIJ.js} +1 -1
  33. package/chunks/{chunk-NAKALAL4.js → chunk-2TMJRF46.js} +116 -15
  34. package/chunks/{chunk-E4L5BM2B.js → chunk-2YS3NU4A.js} +4 -4
  35. package/chunks/chunk-2Z3T52OC.js +82 -0
  36. package/chunks/{chunk-ER273QE6.js → chunk-2ZFO5JD7.js} +21 -4
  37. package/chunks/{chunk-WXC6OAWD.js → chunk-3BTHHXXE.js} +1 -1
  38. package/chunks/{chunk-GXZHYPHZ.js → chunk-3LPJ776W.js} +5 -2
  39. package/chunks/{chunk-XY3USGFE.js → chunk-3VDLQUR2.js} +1 -1
  40. package/chunks/{chunk-LK7S2D6V.js → chunk-3VWPPK5Q.js} +58 -4
  41. package/chunks/{chunk-IKLFS6SC.js → chunk-3YQMUBTS.js} +3 -3
  42. package/chunks/{chunk-P4RUUG64.js → chunk-45ROPFQY.js} +1 -1
  43. package/chunks/{chunk-W4LL5RZO.js → chunk-4ALNJDHL.js} +52 -13
  44. package/chunks/{chunk-D6PIMKY3.js → chunk-4VY3ITHR.js} +4 -4
  45. package/chunks/{chunk-H3UDNQLO.js → chunk-5CVY5Q2P.js} +3 -3
  46. package/chunks/{chunk-6UIACMGH.js → chunk-5DQ4YTIZ.js} +1 -1
  47. package/chunks/{chunk-P6LATTDG.js → chunk-5IL2BZHW.js} +3 -3
  48. package/chunks/{chunk-537SQ2AI.js → chunk-5WC2ECUK.js} +104 -16
  49. package/chunks/{chunk-HFTB354P.js → chunk-5Z4FCEPY.js} +60 -6
  50. package/chunks/{chunk-3K65MUKD.js → chunk-65I7S4Z3.js} +2 -1
  51. package/chunks/{chunk-AQ5NAGWI.js → chunk-66JBCTJF.js} +8 -7
  52. package/chunks/{chunk-54TF2ZIQ.js → chunk-6JXHO7LG.js} +3 -3
  53. package/chunks/{chunk-YCDL2SAS.js → chunk-6QILGINT.js} +2 -2
  54. package/chunks/{chunk-P5LDR7FI.js → chunk-6QV7Z74P.js} +3 -3
  55. package/chunks/{chunk-4HC4DYKN.js → chunk-6RZX2HIH.js} +1 -1
  56. package/chunks/{chunk-O45WBTNS.js → chunk-6SADVYQQ.js} +3 -3
  57. package/chunks/{chunk-KE3Q4JMY.js → chunk-6TPVIESH.js} +5 -7
  58. package/chunks/{chunk-2LD5U7Q3.js → chunk-6YEOCHSE.js} +29 -1
  59. package/chunks/{chunk-QWZOOIR3.js → chunk-75LBC7SV.js} +69 -12
  60. package/chunks/{chunk-7BZS4ZDV.js → chunk-7SL55L5H.js} +25 -18
  61. package/chunks/{chunk-O2GG7H4C.js → chunk-ARYNBBBM.js} +3 -3
  62. package/chunks/{chunk-CZACBHAW.js → chunk-B3EL44K3.js} +5 -5
  63. package/chunks/{chunk-VY6UVU7G.js → chunk-CABDNUJ4.js} +2 -2
  64. package/chunks/{chunk-RVNS7NWN.js → chunk-CALNF3Z3.js} +1 -1
  65. package/chunks/{chunk-MWHY26G3.js → chunk-CHVU543W.js} +1 -1
  66. package/chunks/{chunk-GZWW2QWR.js → chunk-CIKL2DQP.js} +2 -2
  67. package/chunks/{chunk-R355CUNQ.js → chunk-CLKE4IY3.js} +1 -77
  68. package/chunks/{chunk-MUZCSTOO.js → chunk-CRZBDVP2.js} +5 -4
  69. package/chunks/{chunk-SFMCYMVF.js → chunk-D6AQNMUA.js} +4 -4
  70. package/chunks/{chunk-D4CU6DKR.js → chunk-DO5SMV52.js} +10 -8
  71. package/chunks/{chunk-ZAZ3NFL6.js → chunk-DXQ6Z7AH.js} +315 -63
  72. package/chunks/{chunk-IXSGOSEG.js → chunk-DZ6D4B3K.js} +28 -25
  73. package/chunks/{chunk-GMNLYQOS.js → chunk-E6TI726I.js} +1 -1
  74. package/chunks/{chunk-JBTZUFR4.js → chunk-E7XSUYCZ.js} +6 -6
  75. package/chunks/{chunk-AHBLRVD5.js → chunk-EEKU6COG.js} +4 -4
  76. package/chunks/{chunk-47BZVBTE.js → chunk-EHTKOO6W.js} +4 -4
  77. package/chunks/{chunk-HJ34U5J4.js → chunk-ENZDGHGJ.js} +4 -4
  78. package/chunks/{chunk-IFD3BTEA.js → chunk-EOET4H7C.js} +3 -3
  79. package/chunks/{chunk-ZTAVGFKA.js → chunk-ERXNTINK.js} +1 -1
  80. package/chunks/{chunk-F47DITLZ.js → chunk-FAWTMDX7.js} +14 -0
  81. package/chunks/{chunk-KPXRFTT7.js → chunk-FETY36NQ.js} +1 -1
  82. package/chunks/{chunk-5JLQWQK6.js → chunk-FV4DM2M4.js} +2 -2
  83. package/chunks/{chunk-4F2QRVW6.js → chunk-FW4E4QPG.js} +1 -1
  84. package/chunks/{chunk-KJJPJYHI.js → chunk-FWRRUITH.js} +8 -8
  85. package/chunks/{chunk-4VUVBN3Y.js → chunk-G6UUOCUT.js} +87 -0
  86. package/chunks/{chunk-4JAGXZR3.js → chunk-GM44O6F7.js} +1 -1
  87. package/chunks/{chunk-4MCY33Y2.js → chunk-GNY7B3CA.js} +1 -1
  88. package/chunks/{chunk-VEFRT7NX.js → chunk-H3Q3RSKZ.js} +1 -1
  89. package/chunks/{chunk-43NOB5NM.js → chunk-HIXUUCGY.js} +188 -13
  90. package/chunks/{chunk-EJNYBDYC.js → chunk-HNLMYDQE.js} +1 -1
  91. package/chunks/{chunk-JOPC3FND.js → chunk-HUX2DOTF.js} +5 -5
  92. package/chunks/{chunk-GCFZ2LAX.js → chunk-HZ2HUXX7.js} +2 -2
  93. package/chunks/{chunk-CWNC7M73.js → chunk-IKG2YVRZ.js} +2 -2
  94. package/chunks/{chunk-L4R7BCVV.js → chunk-J3TJH52D.js} +1 -1
  95. package/chunks/{chunk-QMFOYPGV.js → chunk-J3VZF2AL.js} +2 -2
  96. package/chunks/{chunk-ZJ2LM2SI.js → chunk-JGDRB4FP.js} +104 -33
  97. package/chunks/{chunk-LMJQSPWB.js → chunk-KA5HR3G2.js} +1 -1
  98. package/chunks/{chunk-G34YLYCS.js → chunk-L7V52QEZ.js} +10 -10
  99. package/chunks/{chunk-GVVCLL2P.js → chunk-LNCNUMJ5.js} +451 -396
  100. package/chunks/{chunk-RDKXZ2LS.js → chunk-LYT2OU7D.js} +1 -1
  101. package/chunks/{chunk-SAZS4IWW.js → chunk-LZGFVUWZ.js} +3 -3
  102. package/chunks/{chunk-32YDNYXP.js → chunk-M73KHGNR.js} +13 -66
  103. package/chunks/{chunk-ADJD4LZF.js → chunk-MA5OUNN6.js} +1 -1
  104. package/chunks/{chunk-2RYWGYB3.js → chunk-MFYH2VXV.js} +3 -3
  105. package/chunks/{chunk-RPBMP6BN.js → chunk-MWIO7MF6.js} +3 -0
  106. package/chunks/{chunk-OECNP26L.js → chunk-N6S3NUYJ.js} +1 -1
  107. package/chunks/{chunk-5MTARK4Y.js → chunk-N7YQEKGX.js} +6 -6
  108. package/chunks/{chunk-XOVVCGZX.js → chunk-NB3NDQQK.js} +1 -1
  109. package/chunks/chunk-NOO4QFXM.js +171 -0
  110. package/chunks/{chunk-NGX4NUNP.js → chunk-O2FEO2CB.js} +131 -6
  111. package/chunks/{chunk-XHGGYCTA.js → chunk-O2JBJQCF.js} +1 -1
  112. package/chunks/{chunk-LPBQODMR.js → chunk-OESZTXTG.js} +4 -4
  113. package/chunks/{chunk-UKADFFL2.js → chunk-OFVAS4AR.js} +1 -1
  114. package/chunks/{chunk-TDP7UULF.js → chunk-OPMKGOLD.js} +1 -1
  115. package/chunks/{chunk-LDS57224.js → chunk-OWCFKIFQ.js} +1 -1
  116. package/chunks/{chunk-I72PHOKL.js → chunk-PDUMGZ2P.js} +1524 -1382
  117. package/chunks/{chunk-JRYL3T2O.js → chunk-PQSCGZT2.js} +1 -1
  118. package/chunks/{chunk-WEXA2DNG.js → chunk-PSPAM24S.js} +14 -0
  119. package/chunks/{chunk-UKKYOIVT.js → chunk-QAZ2MGYT.js} +2 -2
  120. package/chunks/{chunk-J3O5I5ZD.js → chunk-QK4K76T6.js} +3 -3
  121. package/chunks/{chunk-NUQFUXOG.js → chunk-QTNCGZHQ.js} +2 -0
  122. package/chunks/{chunk-5YY5MZT6.js → chunk-QZOXVQPK.js} +1 -1
  123. package/chunks/{chunk-QJVZLILI.js → chunk-R7OO56VZ.js} +1 -1
  124. package/chunks/{chunk-IQN2CCIE.js → chunk-RNYENHN5.js} +398 -55
  125. package/chunks/{chunk-64MQTIX7.js → chunk-RPFJJ33Z.js} +2 -2
  126. package/chunks/{chunk-4VZCORNT.js → chunk-RXT4QBDX.js} +1 -1
  127. package/chunks/{chunk-SN5FV4FY.js → chunk-S6QVI3MV.js} +3 -3
  128. package/chunks/{chunk-NXWYCSPL.js → chunk-SOA4HKRJ.js} +1 -1
  129. package/chunks/{chunk-JLWFGYXU.js → chunk-T2IHCZLS.js} +2 -2
  130. package/chunks/{chunk-DNPHKA72.js → chunk-TGC4264Q.js} +6 -6
  131. package/chunks/{chunk-PZV2FASB.js → chunk-TRWQQBVH.js} +1 -1
  132. package/chunks/{chunk-Y3ZKI4RQ.js → chunk-TWAMIEQ2.js} +85 -22
  133. package/chunks/{chunk-KK2GZGBK.js → chunk-TWWS7XUW.js} +14 -11
  134. package/chunks/{chunk-4IQKBLTQ.js → chunk-UHUT4IDM.js} +18 -9
  135. package/chunks/{chunk-BKNY7PDI.js → chunk-USN6VNTO.js} +1 -1
  136. package/chunks/{chunk-TMWB67LS.js → chunk-UXDVUFKU.js} +3 -3
  137. package/chunks/{chunk-HY3DXYZK.js → chunk-UYDQYDW2.js} +1 -1
  138. package/chunks/{chunk-3K456UJF.js → chunk-VF6D6EGV.js} +12 -4
  139. package/chunks/{chunk-PZUOHCWI.js → chunk-WAASYFPK.js} +2 -2
  140. package/chunks/{chunk-OHOO527W.js → chunk-WG7BL3FY.js} +52 -2
  141. package/chunks/{chunk-JPEAQJNS.js → chunk-WJDXKQIO.js} +1 -1
  142. package/chunks/{chunk-MNEYUNOE.js → chunk-WNISCNTA.js} +40 -2
  143. package/chunks/{chunk-Z6WZPXQH.js → chunk-WQMUGQ6G.js} +2 -2
  144. package/chunks/{chunk-N7VURC4O.js → chunk-WXFCI3O5.js} +2 -2
  145. package/chunks/{chunk-VU7O7CGQ.js → chunk-XDNFODER.js} +1 -1
  146. package/chunks/{chunk-N7EYO2E7.js → chunk-XQ4RDO5B.js} +1 -1
  147. package/chunks/{chunk-VDXYYVCD.js → chunk-XVTCSVBK.js} +579 -57
  148. package/chunks/{chunk-PTFFWTTO.js → chunk-XZ3Z43XL.js} +3 -3
  149. package/chunks/{chunk-QSC5YOEC.js → chunk-YAC7H4K3.js} +2 -2
  150. package/chunks/{chunk-43JNQAHO.js → chunk-YCEKI7QX.js} +51 -10
  151. package/chunks/{chunk-7IKXTGZT.js → chunk-YI2YCNSP.js} +1 -1
  152. package/chunks/{chunk-VUSSAGKI.js → chunk-YZTGGCEE.js} +10 -2
  153. package/chunks/{chunk-WR3SH3EY.js → chunk-ZNO5BUAD.js} +149 -66
  154. package/chunks/{chunk-URSCX7S7.js → chunk-ZPL2TZNA.js} +353 -11
  155. package/chunks/{chunk-UEZOXZNI.js → chunk-ZU2T5JIS.js} +804 -371
  156. package/chunks/{config-utils-QXDOTXEQ.js → config-utils-KTDSQ4MU.js} +39 -40
  157. package/chunks/{contextCommand-RN4KARWC.js → contextCommand-UQ3KRYGK.js} +37 -38
  158. package/chunks/{core-runtime-NAZCOKHB.js → core-runtime-JR34JAFH.js} +35 -36
  159. package/chunks/{create-sub-session-BCSM4WKB.js → create-sub-session-RGPJOI4S.js} +45 -40
  160. package/chunks/{create-sub-session-BQ3SE4TX.js → create-sub-session-TGIX63YU.js} +2 -2
  161. package/chunks/{cron-create-D6HQ7I7I.js → cron-create-GTPVMJCF.js} +1 -1
  162. package/chunks/{cron-delete-KK3D2SQV.js → cron-delete-ZBK27Z4K.js} +1 -1
  163. package/chunks/{cron-list-VBF3IZMF.js → cron-list-KTFKFDKC.js} +1 -1
  164. package/chunks/{daemon-LCUELM6E.js → daemon-UI6SQSBV.js} +1 -1
  165. package/chunks/{daemon-git-worktree-guard-3K5CAU36.js → daemon-git-worktree-guard-H3OA26KQ.js} +35 -36
  166. package/chunks/{daemon-status-provider-4X3ZZQTZ.js → daemon-status-provider-6WZLKSZU.js} +45 -46
  167. package/chunks/{daemon-trust-policy-R45CFUJA.js → daemon-trust-policy-3EDP2BYD.js} +42 -43
  168. package/chunks/{daemon-trust-policy-monitor-DSSFCO3K.js → daemon-trust-policy-monitor-CRHZPK52.js} +42 -43
  169. package/chunks/{deferred-core-runtime-UO2M6WYI.js → deferred-core-runtime-LO5NTQQ4.js} +35 -36
  170. package/chunks/{discovery-TUM3ZQ6U.js → discovery-XP4RMDUM.js} +4 -2
  171. package/chunks/{display-image-EVVTBVYE.js → display-image-CTNHJRZC.js} +4 -4
  172. package/chunks/{dist-SIHF5MU2.js → dist-24TCWK5H.js} +1 -1
  173. package/chunks/{dist-AFH3BMZZ.js → dist-5I4HLUTO.js} +1 -1
  174. package/chunks/{dist-3T5MDUHP.js → dist-FDISN4AK.js} +1 -1
  175. package/chunks/{dist-SB2XRXZA.js → dist-M4CBX53H.js} +1 -1
  176. package/chunks/{dist-UVHW2U56.js → dist-NQ2636VT.js} +1 -1
  177. package/chunks/{dist-PH5RSTEA.js → dist-OR2ZQTXZ.js} +1 -1
  178. package/chunks/{dist-MK5PPBRF.js → dist-STAGIFNB.js} +1099 -67
  179. package/chunks/{dist-R5Y34V6T.js → dist-WZTUKIDR.js} +2 -2
  180. package/chunks/{dist-QUU7TVE3.js → dist-XJ25G6OH.js} +1 -1
  181. package/chunks/{edit-VNBCTRWP.js → edit-LB7Z7XK5.js} +24 -25
  182. package/chunks/{en-JMR535HP.js → en-YJNRUQG4.js} +1 -1
  183. package/chunks/{enter-worktree-CEVK7MQ2.js → enter-worktree-YFTKHXHZ.js} +4 -4
  184. package/chunks/{enterPlanMode-4KMZMUIA.js → enterPlanMode-P6TVUFIY.js} +24 -25
  185. package/chunks/{environment-S2HYQDON.js → environment-QATJNNKI.js} +38 -39
  186. package/chunks/{errors-DAAN5TL7.js → errors-3XJ37PS2.js} +37 -38
  187. package/chunks/{exit-worktree-D3YE6MUN.js → exit-worktree-NF2XEMES.js} +5 -5
  188. package/chunks/{exitPlanMode-HR36HG3D.js → exitPlanMode-A3OKL5UO.js} +24 -25
  189. package/chunks/{fast-path-4IWSW3UV.js → fast-path-DBIT5YQQ.js} +3 -3
  190. package/chunks/{fast-path-settings-ISEJPRYE.js → fast-path-settings-SATXY3PD.js} +3 -3
  191. package/chunks/{glob-IZYB2XH2.js → glob-73EDTXUE.js} +24 -25
  192. package/chunks/{goal-tools-VGUPKQDJ.js → goal-tools-DFI6YMSD.js} +24 -25
  193. package/chunks/{grep-OUVLNXG7.js → grep-BLHF2S5D.js} +2 -2
  194. package/chunks/{handleAutoUpdate-D56FMDTW.js → handleAutoUpdate-2FUNJO3B.js} +38 -39
  195. package/chunks/{i18n-BKE5WO6T.js → i18n-FDIA6KFI.js} +38 -37
  196. package/chunks/{image-gen-SHVQ3XID.js → image-gen-XP4NNIYG.js} +5 -5
  197. package/chunks/{initializer-MS4SGEHF.js → initializer-4MJTJOTW.js} +42 -43
  198. package/chunks/{installationInfo-542MGC4S.js → installationInfo-232RA2OK.js} +35 -36
  199. package/chunks/{list-H6XTKUWL.js → list-WN6WSGEB.js} +45 -46
  200. package/chunks/{list-agents-ULYBGJXC.js → list-agents-I5TRH3J7.js} +2 -2
  201. package/chunks/{llm-3NUC4EJY.js → llm-UDFWQWZA.js} +77 -78
  202. package/chunks/{llm-content-generator-R4NL3OQN.js → llm-content-generator-VLMZ2A7A.js} +23 -8
  203. package/chunks/{loadedSettingsAdapter-3XLKYDVT.js → loadedSettingsAdapter-OBQEIXM7.js} +42 -43
  204. package/chunks/{loggingContentGenerator-ZYSWVNEO.js → loggingContentGenerator-RGVUMUVX.js} +26 -27
  205. package/chunks/{loop-wakeup-B27BEYRL.js → loop-wakeup-HL6XOWI4.js} +2 -2
  206. package/chunks/{ls-3IIMMVKF.js → ls-YV7RKLKY.js} +1 -1
  207. package/chunks/{lsp-VJAT7XKS.js → lsp-NO3AMRZT.js} +1 -1
  208. package/chunks/{managed-npm-update-L2I53ZAI.js → managed-npm-update-QBAJYCFU.js} +35 -36
  209. package/chunks/{mcp-4PIXQASW.js → mcp-OTIZZCPY.js} +42 -43
  210. package/chunks/{monitor-O2YQTOZZ.js → monitor-BV5XF6LL.js} +24 -25
  211. package/chunks/{nonInteractiveCli-LV7CDBA2.js → nonInteractiveCli-W6MUKDVJ.js} +79 -77
  212. package/chunks/{notebook-edit-4RE2ALH4.js → notebook-edit-HGBEKGTE.js} +24 -25
  213. package/chunks/{openaiContentGenerator-7ND7K5CP.js → openaiContentGenerator-NSU3ERBH.js} +15 -15
  214. package/chunks/{pidfile-UFTLQ7NP.js → pidfile-LE3TU4GE.js} +35 -36
  215. package/chunks/{processUtils-3XBB4FYV.js → processUtils-YFBGJK67.js} +2 -2
  216. package/chunks/{prompt-terminal-ledger-2QASOGMM.js → prompt-terminal-ledger-4W4W7DSO.js} +36 -37
  217. package/chunks/{qwenContentGenerator-AELTUTH6.js → qwenContentGenerator-HTA57WFC.js} +28 -29
  218. package/chunks/{qwenOAuth2-BS5D2LYV.js → qwenOAuth2-KX6LVYQ3.js} +4 -4
  219. package/chunks/{read-file-PDWHZPHX.js → read-file-KHPQ2MB6.js} +4 -4
  220. package/chunks/{read-mcp-resource-YXJZ75UB.js → read-mcp-resource-D3N75DGF.js} +1 -1
  221. package/chunks/{record-artifact-WJDOV6XU.js → record-artifact-Q5CRGJTP.js} +2 -2
  222. package/chunks/{report-findings-Q4UACKWR.js → report-findings-TJ34R7QK.js} +3 -3
  223. package/chunks/{request-shutdown-2YZ3E3GH.js → request-shutdown-LRKMTBAD.js} +6 -6
  224. package/chunks/{resumeHistoryUtils-QRXZEEBA.js → resumeHistoryUtils-K7RV3QBN.js} +39 -40
  225. package/chunks/{ripGrep-KSOOLE6H.js → ripGrep-NBBVCMG4.js} +7 -7
  226. package/chunks/{run-qwen-serve-RTAREPT6.js → run-qwen-serve-A3JBOZCM.js} +58 -60
  227. package/chunks/{runtime-ESFSCJRZ.js → runtime-7YOU2KJ3.js} +47 -48
  228. package/chunks/{scheduled-tasks-6ZHRNBH6.js → scheduled-tasks-52LXK7LN.js} +42 -43
  229. package/chunks/{scheduler-DQI6KV7T.js → scheduler-J44M72VM.js} +37 -38
  230. package/chunks/{send-message-PQCVSVMN.js → send-message-AWKUDJBH.js} +8 -8
  231. package/chunks/{serve-FY7ZEW52.js → serve-TRC6XJUB.js} +42 -43
  232. package/chunks/{server-KNDY6K5F.js → server-YPNTJLX2.js} +1314 -841
  233. package/chunks/{session-MCEPXAZP.js → session-FMMIBFYX.js} +98 -84
  234. package/chunks/{session-attachments-root-OLNAE6GF.js → session-attachments-root-LDJMNK7K.js} +35 -36
  235. package/chunks/{session-pr-refresh-HKJHQQQK.js → session-pr-refresh-NLR4EK2J.js} +41 -42
  236. package/chunks/{settings-VXO4WBMK.js → settings-A46L577J.js} +41 -42
  237. package/chunks/{shell-U263OTES.js → shell-Q5LSQPPY.js} +24 -25
  238. package/chunks/{skill-SDODGBKL.js → skill-75KPJRCM.js} +10 -57
  239. package/chunks/{skill-settings-YEIA22QJ.js → skill-settings-775YT4YR.js} +41 -42
  240. package/chunks/{spawnChannel-4WJZVFPP.js → spawnChannel-XY73I5CU.js} +37 -38
  241. package/chunks/{standalone-update-ZWVQUO64.js → standalone-update-L46XXNQ2.js} +37 -38
  242. package/chunks/{start-opentui-ui-BFYCJQRZ.js → start-opentui-ui-WLV43247.js} +2007 -1003
  243. package/chunks/{startInteractiveUI-JYAFCMHL.js → startInteractiveUI-F5DKMLOV.js} +1231 -1528
  244. package/chunks/{syntheticOutput-AUAJBNXR.js → syntheticOutput-D2P5V6RG.js} +2 -2
  245. package/chunks/{task-create-LD5ISM3E.js → task-create-PMAFST2T.js} +7 -7
  246. package/chunks/{task-list-YISJ4RJA.js → task-list-R2HSY2NC.js} +1 -1
  247. package/chunks/{task-stop-65ZOVATJ.js → task-stop-BFSKRTGV.js} +1 -1
  248. package/chunks/{task-update-AAN4ZVEY.js → task-update-JYC57USF.js} +7 -7
  249. package/chunks/{team-create-KU7MABNO.js → team-create-2PATB77U.js} +24 -25
  250. package/chunks/{team-delete-XFRRTJTT.js → team-delete-CBHVBTPB.js} +1 -1
  251. package/chunks/{team-plan-approval-DPB377A3.js → team-plan-approval-QTANEWOS.js} +24 -25
  252. package/chunks/{terminal-image-renderer-WGWRENOF.js → terminal-image-renderer-OGULCFNF.js} +37 -38
  253. package/chunks/{theme-manager-GBUFULSO.js → theme-manager-CNO3QERP.js} +35 -36
  254. package/chunks/{todoWrite-G7NT4IFP.js → todoWrite-5ERKFWAK.js} +3 -5
  255. package/chunks/{tool-search-6YUXHBPT.js → tool-search-VXWEOZE7.js} +9 -9
  256. package/chunks/{total-session-admission-54R2JQ5L.js → total-session-admission-4KAADZPB.js} +41 -42
  257. package/chunks/{trustedFolders-KAJIDJTH.js → trustedFolders-PPJSOPOT.js} +36 -37
  258. package/chunks/{update-relaunch-XM4IWBFD.js → update-relaunch-4PT4MW7B.js} +5 -5
  259. package/chunks/{updateCheck-W6UZFURI.js → updateCheck-WAVFLWNG.js} +37 -38
  260. package/chunks/{useAutoAcceptIndicator-LAWYHY3U.js → useAutoAcceptIndicator-XNED4NRB.js} +44 -45
  261. package/chunks/{validateNonInterActiveAuth-7WCKHRN2.js → validateNonInterActiveAuth-J676DUQ2.js} +74 -74
  262. package/chunks/{version-3ZU43RJ6.js → version-J6SRRQB2.js} +1 -1
  263. package/chunks/{web-fetch-QHI2SQL4.js → web-fetch-FMZZYX44.js} +7 -7
  264. package/chunks/{web-search-3KZZKWNY.js → web-search-3G2KXCX5.js} +19 -8
  265. package/chunks/{workflow-HRW7Y2X4.js → workflow-PPZZICQ7.js} +26 -27
  266. package/chunks/{workspace-providers-status-KTGCWCPC.js → workspace-providers-status-IIYTAQST.js} +46 -47
  267. package/chunks/{workspace-registration-store-LHLPPWNE.js → workspace-registration-store-VHCDXAV7.js} +1 -1
  268. package/chunks/{workspace-registry-X34MLN52.js → workspace-registry-I7VQIPS2.js} +41 -42
  269. package/chunks/{workspace-runtime-coordinator-U4PW4P7K.js → workspace-runtime-coordinator-DBGNY32G.js} +41 -42
  270. package/chunks/{workspace-service-KD7BCGYL.js → workspace-service-QSKB2T54.js} +47 -48
  271. package/chunks/{workspace-skills-status-YJGO6Y3T.js → workspace-skills-status-T7GPT65J.js} +43 -44
  272. package/chunks/{workspace-trust-reconciler-EUYHISCH.js → workspace-trust-reconciler-2PKRDAU4.js} +48 -49
  273. package/chunks/{write-file-EBSB34NJ.js → write-file-L76CGFTQ.js} +26 -27
  274. package/chunks/{zh-TW-W2GNP2IU.js → zh-TW-N2TBF2F2.js} +1 -1
  275. package/chunks/{zh-DVFYHRK5.js → zh-VBFCRQBL.js} +1 -1
  276. package/chunks/{zoom-image-UJ5VKWKP.js → zoom-image-TDJJY2VZ.js} +4 -4
  277. package/cli.js +13 -13
  278. package/export-transcript-document.js +126 -122
  279. package/locales/en.js +2 -2
  280. package/locales/zh-TW.js +2 -2
  281. package/locales/zh.js +2 -2
  282. package/package.json +3 -3
  283. package/web-shell/assets/{abnfDiagram-VCTEODGH-Dur--luQ.js → abnfDiagram-VCTEODGH-DHc6plZn.js} +1 -1
  284. package/web-shell/assets/{arc-tYLobxFi.js → arc-BQ9m8TDV.js} +1 -1
  285. package/web-shell/assets/{architectureDiagram-5GKGNRK7-IG6aXD03.js → architectureDiagram-5GKGNRK7-D5ap3oVB.js} +1 -1
  286. package/web-shell/assets/{blockDiagram-NRAW4CY4-C6eBSkfA.js → blockDiagram-NRAW4CY4-BIbnyNph.js} +1 -1
  287. package/web-shell/assets/{c4Diagram-UCG6FXSJ-BrX3HJqB.js → c4Diagram-UCG6FXSJ-BRsdx_iG.js} +1 -1
  288. package/web-shell/assets/channel-uMMdTrYk.js +1 -0
  289. package/web-shell/assets/{chunk-2Q5K7J3B-B3fcJ8ee.js → chunk-2Q5K7J3B-3lf1fNlx.js} +1 -1
  290. package/web-shell/assets/{chunk-5VM5RSS4-CeC90yKM.js → chunk-5VM5RSS4-DP8VNRc4.js} +1 -1
  291. package/web-shell/assets/{chunk-F27PBJKO-CW44RVki.js → chunk-F27PBJKO-DrohDmZ6.js} +1 -1
  292. package/web-shell/assets/{chunk-G27WJ6UU-D1PAMukD.js → chunk-G27WJ6UU-UZ2QhSx6.js} +1 -1
  293. package/web-shell/assets/{chunk-JWPE2WC7-Dt3Y2Fvx.js → chunk-JWPE2WC7-BIMHVcZK.js} +1 -1
  294. package/web-shell/assets/{chunk-LCL6LL3I-CZHw2lLI.js → chunk-LCL6LL3I-izRxdSDd.js} +1 -1
  295. package/web-shell/assets/{chunk-POPQ4Y6H-ysNAdTGx.js → chunk-POPQ4Y6H-CXADD4PP.js} +1 -1
  296. package/web-shell/assets/{chunk-SVP7TREG-BdNXW6YQ.js → chunk-SVP7TREG-B96d8Y_1.js} +1 -1
  297. package/web-shell/assets/{chunk-XXDRQBXY-DgqQ9UA8.js → chunk-XXDRQBXY-CF2sVQpv.js} +1 -1
  298. package/web-shell/assets/classDiagram-DTDB5LWJ-DcY-26Ig.js +1 -0
  299. package/web-shell/assets/classDiagram-v2-JRS7N3AN-DcY-26Ig.js +1 -0
  300. package/web-shell/assets/{cose-bilkent-JH36ORCC-BILImXzJ.js → cose-bilkent-JH36ORCC-CT6tXVAS.js} +1 -1
  301. package/web-shell/assets/csv-CX7rUNeC.svg +1 -0
  302. package/web-shell/assets/{cynefin-OW5HDTMX-DR88Pund.js → cynefin-OW5HDTMX-X1NS4vtV.js} +1 -1
  303. package/web-shell/assets/{cynefinDiagram-5FMLGOSQ-BYFbfkA6.js → cynefinDiagram-5FMLGOSQ-DNsKNOT4.js} +1 -1
  304. package/web-shell/assets/{dagre-3AP2YEHR-rfpyc6sX.js → dagre-3AP2YEHR-9-AHKqsb.js} +1 -1
  305. package/web-shell/assets/{diagram-S7CK7UJ4-BJxLmEwH.js → diagram-S7CK7UJ4-Bjgms7j6.js} +1 -1
  306. package/web-shell/assets/{diagram-UQ7AKVKN-H34xm7k3.js → diagram-UQ7AKVKN-h6bCprbE.js} +1 -1
  307. package/web-shell/assets/{diagram-VSXAHHWV-HYxhwNLx.js → diagram-VSXAHHWV-4SbQXVLt.js} +1 -1
  308. package/web-shell/assets/{diagram-VX7I27RA-BJazso8F.js → diagram-VX7I27RA-B5gPCzzB.js} +1 -1
  309. package/web-shell/assets/{diagram-Z3DM3KII-Clje1aNy.js → diagram-Z3DM3KII-DFJXIA3A.js} +1 -1
  310. package/web-shell/assets/{ebnfDiagram-PWID7BFC-M93YBkFh.js → ebnfDiagram-PWID7BFC-FwyaU7VY.js} +1 -1
  311. package/web-shell/assets/{erDiagram-SSCWMZ5O-DY8XzSHU.js → erDiagram-SSCWMZ5O-8vJQh2te.js} +1 -1
  312. package/web-shell/assets/{flowDiagram-A5DVABFB-CE6Aylcq.js → flowDiagram-A5DVABFB-BzA_1gMN.js} +1 -1
  313. package/web-shell/assets/{ganttDiagram-EL5Y4UJY-DI-5LL22.js → ganttDiagram-EL5Y4UJY-Co-ABbVX.js} +1 -1
  314. package/web-shell/assets/{gitGraphDiagram-WWUBYQGX-C7BZWElk.js → gitGraphDiagram-WWUBYQGX-DW_FcyrX.js} +1 -1
  315. package/web-shell/assets/{index-DclFHns9.js → index-BbMXfhNG.js} +1 -1
  316. package/web-shell/assets/{index-CVyqwW7y.js → index-Bu-rZoJ-.js} +483 -475
  317. package/web-shell/assets/index-CsPwZ1ut.css +36 -0
  318. package/web-shell/assets/{infoDiagram-RXCK75RN-CGUSy4Pc.js → infoDiagram-RXCK75RN-BEgfhUFN.js} +1 -1
  319. package/web-shell/assets/{ishikawaDiagram-5VMMS53U-B5BVks9q.js → ishikawaDiagram-5VMMS53U-DCsMxQmc.js} +1 -1
  320. package/web-shell/assets/{journeyDiagram-EYS64GPL-CFh6Tf7h.js → journeyDiagram-EYS64GPL-DyIEYoHz.js} +1 -1
  321. package/web-shell/assets/{kanban-definition-3QL26DDD-B7TlxP7c.js → kanban-definition-3QL26DDD-CkxjqCNr.js} +1 -1
  322. package/web-shell/assets/{layout-Br_pZq2Q.js → layout-BEWc0Al9.js} +1 -1
  323. package/web-shell/assets/{linear-BVlP6fte.js → linear-CNuNxirL.js} +1 -1
  324. package/web-shell/assets/{mermaid.core-TrcYWoiF.js → mermaid.core-DZBre674.js} +6 -6
  325. package/web-shell/assets/{mindmap-definition-FBJOCRG2-BJ4LzqjZ.js → mindmap-definition-FBJOCRG2-CpafFz_F.js} +1 -1
  326. package/web-shell/assets/{pegDiagram-XKGWAZYB-1b_MxlOl.js → pegDiagram-XKGWAZYB-DfZqk_dq.js} +1 -1
  327. package/web-shell/assets/{pieDiagram-E7YTZNPT-B8zl0YhY.js → pieDiagram-E7YTZNPT-S0UWXlgC.js} +1 -1
  328. package/web-shell/assets/{quadrantDiagram-AXDQQJYC-CIZO8ukl.js → quadrantDiagram-AXDQQJYC-dd37_Ohj.js} +1 -1
  329. package/web-shell/assets/{railroadDiagram-O6MQD6OU-CepHSbCj.js → railroadDiagram-O6MQD6OU-CH8NJZ7u.js} +1 -1
  330. package/web-shell/assets/{requirementDiagram-EFPCY7ZU-BCgxkcSW.js → requirementDiagram-EFPCY7ZU-CFdqWYih.js} +1 -1
  331. package/web-shell/assets/{sankeyDiagram-P5KCCOFB-CE5CcoMM.js → sankeyDiagram-P5KCCOFB-CsddcEGD.js} +1 -1
  332. package/web-shell/assets/{sequenceDiagram-WJ2MYXX4-DvgHi-d5.js → sequenceDiagram-WJ2MYXX4-BZ270mGw.js} +1 -1
  333. package/web-shell/assets/{sizeCapture-X5ZJPWSS-T-fAsCPX.js → sizeCapture-X5ZJPWSS-CGaS4DBV.js} +1 -1
  334. package/web-shell/assets/{stateDiagram-HBIQ2CUA-DYHaul-5.js → stateDiagram-HBIQ2CUA-COpIzMu6.js} +1 -1
  335. package/web-shell/assets/stateDiagram-v2-4QOOHH4V-D6qEVAji.js +1 -0
  336. package/web-shell/assets/{swimlanes-XN3QIQJK-Dbz3Qiej.js → swimlanes-XN3QIQJK-CMF889m3.js} +1 -1
  337. package/web-shell/assets/swimlanesDiagram-VK2B7HYN-mem5Jj4m.js +8 -0
  338. package/web-shell/assets/{timeline-definition-24CTP7MA-9NVRts3N.js → timeline-definition-24CTP7MA-BelnxYz5.js} +1 -1
  339. package/web-shell/assets/{vennDiagram-4TSXK5OY-C7cb7vnH.js → vennDiagram-4TSXK5OY-CU-NRqIB.js} +1 -1
  340. package/web-shell/assets/{wardleyDiagram-VM6X3IG4-CG-8Ddjm.js → wardleyDiagram-VM6X3IG4-CDNKqWh-.js} +1 -1
  341. package/web-shell/assets/{xychartDiagram-S5SC5T6Z-iGeYAcP4.js → xychartDiagram-S5SC5T6Z-CLqguL5D.js} +1 -1
  342. package/web-shell/index.html +6 -3
  343. package/chunks/chunk-3UMWOKJC.js +0 -78
  344. package/chunks/chunk-FKJM6JKY.js +0 -98
  345. package/chunks/chunk-IQAFKVXS.js +0 -22
  346. package/web-shell/assets/channel-uEkvKckd.js +0 -1
  347. package/web-shell/assets/classDiagram-DTDB5LWJ-DuPsnhWS.js +0 -1
  348. package/web-shell/assets/classDiagram-v2-JRS7N3AN-DuPsnhWS.js +0 -1
  349. package/web-shell/assets/index-FO7JXPnH.css +0 -36
  350. package/web-shell/assets/stateDiagram-v2-4QOOHH4V-BcYho9a4.js +0 -1
  351. package/web-shell/assets/swimlanesDiagram-VK2B7HYN-D6HsOIgX.js +0 -8
@@ -3,22 +3,22 @@
3
3
  import {
4
4
  ChannelWorkerReconcileError,
5
5
  createChannelWorkerGroup
6
- } from "./chunk-47BZVBTE.js";
7
- import "./chunk-WEXA2DNG.js";
8
- import "./chunk-F47DITLZ.js";
6
+ } from "./chunk-EHTKOO6W.js";
7
+ import "./chunk-PSPAM24S.js";
8
+ import "./chunk-FAWTMDX7.js";
9
9
  import "./chunk-6PLDPT2C.js";
10
- import "./chunk-VY6UVU7G.js";
10
+ import "./chunk-CABDNUJ4.js";
11
11
  import "./chunk-FYJ7W2PI.js";
12
12
  import "./chunk-Z7B6SRPM.js";
13
13
  import "./chunk-STUJ7IMZ.js";
14
- import "./chunk-4JAGXZR3.js";
14
+ import "./chunk-GM44O6F7.js";
15
15
  import "./chunk-GYTKQYDB.js";
16
16
  import "./chunk-ALMR3E6Q.js";
17
17
  import "./chunk-RKFGE7JH.js";
18
18
  import "./chunk-UDG5EZJI.js";
19
19
  import "./chunk-M5GB774H.js";
20
20
  import "./chunk-3VUENPWF.js";
21
- import "./chunk-VDXYYVCD.js";
21
+ import "./chunk-XVTCSVBK.js";
22
22
  import "./chunk-IW6RQPQB.js";
23
23
  import "./chunk-5HBA2Z7V.js";
24
24
  import "./chunk-LJZSMWOH.js";
@@ -2,20 +2,20 @@
2
2
  "use strict";
3
3
  import {
4
4
  ChannelWorkerReconcileError
5
- } from "./chunk-47BZVBTE.js";
6
- import "./chunk-WEXA2DNG.js";
7
- import "./chunk-F47DITLZ.js";
5
+ } from "./chunk-EHTKOO6W.js";
6
+ import "./chunk-PSPAM24S.js";
7
+ import "./chunk-FAWTMDX7.js";
8
8
  import "./chunk-6PLDPT2C.js";
9
9
  import {
10
10
  ChannelWorkerStartupError,
11
11
  ChannelWorkerStopError
12
- } from "./chunk-VY6UVU7G.js";
12
+ } from "./chunk-CABDNUJ4.js";
13
13
  import "./chunk-FYJ7W2PI.js";
14
14
  import "./chunk-Z7B6SRPM.js";
15
15
  import {
16
16
  ChannelWebhookEnqueueError
17
17
  } from "./chunk-STUJ7IMZ.js";
18
- import "./chunk-4JAGXZR3.js";
18
+ import "./chunk-GM44O6F7.js";
19
19
  import "./chunk-GYTKQYDB.js";
20
20
  import "./chunk-ALMR3E6Q.js";
21
21
  import {
@@ -24,7 +24,7 @@ import {
24
24
  import "./chunk-UDG5EZJI.js";
25
25
  import "./chunk-M5GB774H.js";
26
26
  import "./chunk-3VUENPWF.js";
27
- import "./chunk-VDXYYVCD.js";
27
+ import "./chunk-XVTCSVBK.js";
28
28
  import "./chunk-IW6RQPQB.js";
29
29
  import "./chunk-5HBA2Z7V.js";
30
30
  import "./chunk-LJZSMWOH.js";
@@ -6,18 +6,18 @@ import {
6
6
  cleanupMintedWorkerCaBundleDirs,
7
7
  createChannelWorkerSupervisor,
8
8
  resolveWorkerCaCertPath
9
- } from "./chunk-VY6UVU7G.js";
9
+ } from "./chunk-CABDNUJ4.js";
10
10
  import "./chunk-FYJ7W2PI.js";
11
11
  import "./chunk-Z7B6SRPM.js";
12
12
  import "./chunk-STUJ7IMZ.js";
13
- import "./chunk-4JAGXZR3.js";
13
+ import "./chunk-GM44O6F7.js";
14
14
  import "./chunk-GYTKQYDB.js";
15
15
  import "./chunk-ALMR3E6Q.js";
16
16
  import "./chunk-RKFGE7JH.js";
17
17
  import "./chunk-UDG5EZJI.js";
18
18
  import "./chunk-M5GB774H.js";
19
19
  import "./chunk-3VUENPWF.js";
20
- import "./chunk-VDXYYVCD.js";
20
+ import "./chunk-XVTCSVBK.js";
21
21
  import "./chunk-IW6RQPQB.js";
22
22
  import "./chunk-5HBA2Z7V.js";
23
23
  import "./chunk-LJZSMWOH.js";
@@ -8,7 +8,7 @@ import {
8
8
  hasUnsafeDisplayPayload,
9
9
  pathHasSkippedDirectoryComponent,
10
10
  toCanonicalWorkspaceArtifactPath
11
- } from "./chunk-LDS57224.js";
11
+ } from "./chunk-OWCFKIFQ.js";
12
12
  import {
13
13
  checkTeamMemorySecrets
14
14
  } from "./chunk-BUQN5LTI.js";
@@ -20,12 +20,12 @@ import {
20
20
  detectLineEnding,
21
21
  getDiffStat,
22
22
  needsUtf8Bom
23
- } from "./chunk-I72PHOKL.js";
23
+ } from "./chunk-PDUMGZ2P.js";
24
24
  import {
25
25
  FileOperationEvent,
26
26
  getLanguageFromFilePath,
27
27
  logFileOperation
28
- } from "./chunk-P5LDR7FI.js";
28
+ } from "./chunk-6QV7Z74P.js";
29
29
  import {
30
30
  fileExists,
31
31
  getSpecificMimeType
@@ -40,7 +40,7 @@ import {
40
40
  StructuredToolError,
41
41
  ToolDisplayNames,
42
42
  ToolNames
43
- } from "./chunk-RPBMP6BN.js";
43
+ } from "./chunk-MWIO7MF6.js";
44
44
  import {
45
45
  createDebugLogger,
46
46
  getErrorMessage,
@@ -14,7 +14,7 @@ import {
14
14
  init_esbuild_shims();
15
15
  async function getCliVersion() {
16
16
  const pkgJson = await getPackageJson();
17
- return "0.23.1-preview.1";
17
+ return "0.23.1";
18
18
  }
19
19
  __name(getCliVersion, "getCliVersion");
20
20
 
@@ -8,7 +8,7 @@ import {
8
8
  BaseToolInvocation,
9
9
  ToolDisplayNames,
10
10
  ToolNames
11
- } from "./chunk-RPBMP6BN.js";
11
+ } from "./chunk-MWIO7MF6.js";
12
12
  import {
13
13
  init_esbuild_shims
14
14
  } from "./chunk-5O2XNYP6.js";
@@ -20,7 +20,7 @@ import {
20
20
  import {
21
21
  channelFactoryForwardsChildEnv,
22
22
  defaultSpawnChannelFactory
23
- } from "./chunk-LMJQSPWB.js";
23
+ } from "./chunk-KA5HR3G2.js";
24
24
  import {
25
25
  BridgeChannelClosedError,
26
26
  BridgeTimeoutError,
@@ -30,7 +30,7 @@ import {
30
30
  SessionRestoreTimeoutError,
31
31
  createIdleWorkspaceExtensionsStatus,
32
32
  createIdleWorkspaceHooksStatus
33
- } from "./chunk-KPXRFTT7.js";
33
+ } from "./chunk-FETY36NQ.js";
34
34
  import {
35
35
  ACTIVE_WORK_CLOSE_IF_UNHELD_PARAM,
36
36
  ACTIVE_WORK_CLOSE_TIMEOUT_MS,
@@ -71,10 +71,11 @@ import {
71
71
  TODO_STOP_GUARD_CONTINUATION_CLAIM_METHOD,
72
72
  TODO_STOP_GUARD_QUEUE_RELEASE_METHOD,
73
73
  WORKTREE_MCP_DEFER_META_KEY,
74
+ activeWorkCloseRetryDelayMs,
74
75
  clampActiveWorkIntervalMs,
75
76
  isValidTrustedModelPrompt,
76
77
  sessionCloseDrainBudgetMs
77
- } from "./chunk-WEXA2DNG.js";
78
+ } from "./chunk-PSPAM24S.js";
78
79
  import {
79
80
  BranchWhilePromptActiveError,
80
81
  BridgeChannelQuarantinedError,
@@ -93,12 +94,13 @@ import {
93
94
  SessionBusyError,
94
95
  SessionLimitExceededError,
95
96
  SessionNotFoundError,
97
+ SessionResetPendingError,
96
98
  SessionShellClientRequiredError,
97
99
  SessionShellDisabledError,
98
100
  StandaloneSessionSpawnError,
99
101
  WorkspaceMismatchError,
100
102
  isNotCurrentlyGeneratingCancelError
101
- } from "./chunk-F47DITLZ.js";
103
+ } from "./chunk-FAWTMDX7.js";
102
104
  import {
103
105
  canonicalizeWorkspace,
104
106
  translateAndCheckAbsoluteWorkspacePath
@@ -134,7 +136,7 @@ import {
134
136
  isOfficeDocumentExtension,
135
137
  isRecordableDerivedChild,
136
138
  pathHasSkippedDirectoryComponent
137
- } from "./chunk-LDS57224.js";
139
+ } from "./chunk-OWCFKIFQ.js";
138
140
  import {
139
141
  SESSION_PR_LIST_LIMIT,
140
142
  SESSION_PR_URL_MAX_LENGTH,
@@ -146,7 +148,7 @@ import {
146
148
  canonicalSessionPrUrl,
147
149
  normalizeTurnResultError,
148
150
  toSessionPrInfo
149
- } from "./chunk-I72PHOKL.js";
151
+ } from "./chunk-PDUMGZ2P.js";
150
152
  import {
151
153
  isUnverifiableIdentityError,
152
154
  openNoFollow
@@ -4244,7 +4246,7 @@ var BridgeClient = class {
4244
4246
  v: ACTIVE_WORK_HEARTBEAT_VERSION,
4245
4247
  seq: snapshot.seq,
4246
4248
  sessions: snapshot.sessions.filter(
4247
- (session) => this.ownsSession(session.sessionId)
4249
+ (session) => this.ownsSession(session.sessionId) || this.hasSessionSpawnInFlight()
4248
4250
  )
4249
4251
  });
4250
4252
  }
@@ -7842,6 +7844,10 @@ function getChannelPromptDisplayText(entry, displayText) {
7842
7844
  return entry.sourceType === "channel" && typeof displayText === "string" ? displayText : void 0;
7843
7845
  }
7844
7846
  __name(getChannelPromptDisplayText, "getChannelPromptDisplayText");
7847
+ function hasInFlightPromptActivity(entry) {
7848
+ return entry.promptActive || entry.goalTurnActive === true || (entry.deferredRestoreAskUserQuestionPrompts?.size ?? 0) > 0;
7849
+ }
7850
+ __name(hasInFlightPromptActivity, "hasInFlightPromptActivity");
7845
7851
  function isDefinitiveAcpRequestError(error) {
7846
7852
  if (error instanceof RequestError) return true;
7847
7853
  if (!isRecord3(error)) return false;
@@ -9163,6 +9169,20 @@ function createAcpSessionBridge(opts) {
9163
9169
  return entryHasLocalWork(entry) || childReportsHeldWork(entry) || childWorkIsUnknown(entry);
9164
9170
  }
9165
9171
  __name(entryHasActiveWork, "entryHasActiveWork");
9172
+ function entryActiveWorkState(entry) {
9173
+ if (entryHasLocalWork(entry) || childReportsHeldWork(entry)) {
9174
+ return "active";
9175
+ }
9176
+ const capability = channelInfoForEntry(entry)?.activeWork;
9177
+ if (!capability) return "unsupported";
9178
+ if (childWorkIsUnknown(entry) || ACTIVE_WORK_HOLD_CATEGORIES.some(
9179
+ (category) => !capability.categories.includes(category)
9180
+ )) {
9181
+ return "unknown";
9182
+ }
9183
+ return "idle";
9184
+ }
9185
+ __name(entryActiveWorkState, "entryActiveWorkState");
9166
9186
  function entryIsAutoCloseCandidate(entry) {
9167
9187
  if (byId.get(entry.sessionId) !== entry) return false;
9168
9188
  if (isClosingOrAuthorizingClose(entry)) return false;
@@ -9171,11 +9191,14 @@ function createAcpSessionBridge(opts) {
9171
9191
  const owner = channelInfoForEntry(entry);
9172
9192
  if (owner?.pendingRestoreIds.has(entry.sessionId)) return false;
9173
9193
  const capability = owner?.activeWork;
9174
- if (capability && !channelIsCondemned(owner) && ACTIVE_WORK_HOLD_CATEGORIES.some(
9194
+ if (capability && childCloseNeedsRoundTrip(owner) && ACTIVE_WORK_HOLD_CATEGORIES.some(
9175
9195
  (category) => !capability.categories.includes(category)
9176
9196
  )) {
9177
9197
  return false;
9178
9198
  }
9199
+ if (childCloseNeedsRoundTrip(owner) && entry.activeWorkCloseRetryAt !== null && Date.now() < entry.activeWorkCloseRetryAt) {
9200
+ return false;
9201
+ }
9179
9202
  if (entry.promptSettledAt !== null && sessionPromptSettledCloseGraceMs > 0 && Date.now() - entry.promptSettledAt < sessionPromptSettledCloseGraceMs) {
9180
9203
  return false;
9181
9204
  }
@@ -9267,7 +9290,7 @@ function createAcpSessionBridge(opts) {
9267
9290
  ...agentCloseTimeoutMs !== void 0 ? { agentCloseTimeoutMs } : {}
9268
9291
  }).catch((err) => {
9269
9292
  writeStderrLine(
9270
- `qwen serve: deferred close (${opts2.trigger}) failed for ${JSON.stringify(entry.sessionId)}: ${err instanceof Error ? err.stack ?? err.message : String(err)}`
9293
+ `qwen serve: deferred close (${opts2.trigger}) failed for ${JSON.stringify(entry.sessionId)}: ${err instanceof Error ? err.stack ?? err.message : extractErrorMessage(err)}`
9271
9294
  );
9272
9295
  });
9273
9296
  } finally {
@@ -9294,6 +9317,8 @@ function createAcpSessionBridge(opts) {
9294
9317
  ACTIVE_WORK_CLOSE_TIMEOUT_MS,
9295
9318
  SERVE_CONTROL_EXT_METHODS.sessionClose
9296
9319
  );
9320
+ entry.activeWorkCloseFailures = 0;
9321
+ entry.activeWorkCloseRetryAt = null;
9297
9322
  if (response["closed"] === true) {
9298
9323
  return true;
9299
9324
  }
@@ -9316,8 +9341,13 @@ function createAcpSessionBridge(opts) {
9316
9341
  }
9317
9342
  return false;
9318
9343
  } catch (err) {
9344
+ entry.activeWorkCloseFailures++;
9345
+ const delayMs = activeWorkCloseRetryDelayMs(
9346
+ entry.activeWorkCloseFailures
9347
+ );
9348
+ entry.activeWorkCloseRetryAt = delayMs === null ? null : Date.now() + delayMs;
9319
9349
  writeStderrLine(
9320
- `qwen serve: close-if-unheld for session ${JSON.stringify(entry.sessionId)} did not resolve (${err instanceof Error ? err.message : String(err)}); leaving it in place for the next snapshot to settle`
9350
+ `qwen serve: close-if-unheld for session ${JSON.stringify(entry.sessionId)} did not resolve (${extractErrorMessage(err)}); ` + (delayMs === null ? `leaving it in place for the next snapshot to settle` : `leaving it in place and deferring the next probe by ${delayMs}ms after ${entry.activeWorkCloseFailures} consecutive failures`)
9321
9351
  );
9322
9352
  return false;
9323
9353
  }
@@ -9334,6 +9364,7 @@ function createAcpSessionBridge(opts) {
9334
9364
  for (const hold of session.holds) holds.set(hold.id, hold.category);
9335
9365
  reported.set(session.sessionId, holds);
9336
9366
  }
9367
+ info.activeWork.snapshot = { receivedAt: now, sessions: reported };
9337
9368
  for (const sessionId of Array.from(info.sessionIds)) {
9338
9369
  const entry = byId.get(sessionId);
9339
9370
  if (!entry || entry.channel !== info.channel) continue;
@@ -9345,10 +9376,17 @@ function createAcpSessionBridge(opts) {
9345
9376
  touchActivity();
9346
9377
  }
9347
9378
  if (holds.size === 0) {
9379
+ if (!reported.has(sessionId)) {
9380
+ entry.activeWorkCloseFailures = 0;
9381
+ entry.activeWorkCloseRetryAt = null;
9382
+ }
9348
9383
  void maybeCloseIdleSession(
9349
9384
  entry,
9350
9385
  reported.has(sessionId) ? "child_idle" : "child_dropped"
9351
9386
  );
9387
+ } else {
9388
+ entry.activeWorkCloseFailures = 0;
9389
+ entry.activeWorkCloseRetryAt = null;
9352
9390
  }
9353
9391
  }
9354
9392
  }
@@ -9527,6 +9565,10 @@ function createAcpSessionBridge(opts) {
9527
9565
  return ci.isQuarantined || ci.overdueAbandonedRestores.size > 0 || ci.newSessionCleanupFailed || ci.overdueAbandonedNewSessions.size > 0;
9528
9566
  }
9529
9567
  __name(channelIsCondemned, "channelIsCondemned");
9568
+ function childCloseNeedsRoundTrip(owner) {
9569
+ return owner !== void 0 && owner.activeWork !== void 0 && !channelIsCondemned(owner);
9570
+ }
9571
+ __name(childCloseNeedsRoundTrip, "childCloseNeedsRoundTrip");
9530
9572
  function armRestoreSettlementGrace(ci, sessionId, action) {
9531
9573
  if (ci.restoreSettlementTimers.has(sessionId)) return;
9532
9574
  const timer = setTimeout(() => {
@@ -9728,7 +9770,8 @@ function createAcpSessionBridge(opts) {
9728
9770
  ...entry.sourceType ? { sourceType: entry.sourceType } : {},
9729
9771
  ...entry.sourceId !== void 0 ? { sourceId: entry.sourceId } : {},
9730
9772
  clientCount: entry.clientIds.size,
9731
- hasActivePrompt: entry.promptActive || entry.goalTurnActive === true,
9773
+ hasActivePrompt: hasInFlightPromptActivity(entry),
9774
+ activeWorkState: entryActiveWorkState(entry),
9732
9775
  isWaitingForPermission,
9733
9776
  isWaitingForUserQuestion,
9734
9777
  pendingInteractionCount: entry.pendingInteractions.size,
@@ -9777,6 +9820,13 @@ function createAcpSessionBridge(opts) {
9777
9820
  const inFlightSessionIdReservations = /* @__PURE__ */ new Map();
9778
9821
  const abandonedSessionIdReservations = /* @__PURE__ */ new Set();
9779
9822
  const inFlightRestores = /* @__PURE__ */ new Map();
9823
+ const resetPendingSessions = /* @__PURE__ */ new Set();
9824
+ function assertSessionResetNotPending(sessionId) {
9825
+ if (resetPendingSessions.has(sessionId)) {
9826
+ throw new SessionResetPendingError(sessionId);
9827
+ }
9828
+ }
9829
+ __name(assertSessionResetNotPending, "assertSessionResetNotPending");
9780
9830
  async function settleReleasedRuntimeWork(context, armIdleTimer = true) {
9781
9831
  for (const ci2 of Array.from(aliveChannels)) {
9782
9832
  await reapPendingEmptyChannel(ci2);
@@ -11573,6 +11623,8 @@ function createAcpSessionBridge(opts) {
11573
11623
  }
11574
11624
  }, "reconcileAfterRoundtrip");
11575
11625
  const createSessionEntry = /* @__PURE__ */ __name((ci, sessionId, workspaceCwd, events = createSessionEventBus(sessionId), options = {}) => {
11626
+ const childSnapshot = ci.activeWork?.snapshot;
11627
+ const reportedChildHolds = childSnapshot?.sessions.get(sessionId);
11576
11628
  const entry = {
11577
11629
  sessionId,
11578
11630
  workspaceCwd,
@@ -11628,9 +11680,11 @@ function createAcpSessionBridge(opts) {
11628
11680
  attachRefs: /* @__PURE__ */ new Map(),
11629
11681
  spawnOwnerWantedKill: false,
11630
11682
  promptActive: false,
11631
- childHolds: null,
11632
- childHoldsAt: null,
11683
+ childHolds: reportedChildHolds ?? null,
11684
+ childHoldsAt: childSnapshot && reportedChildHolds !== void 0 ? childSnapshot.receivedAt : null,
11633
11685
  activeWorkCloseInFlight: false,
11686
+ activeWorkCloseFailures: 0,
11687
+ activeWorkCloseRetryAt: null,
11634
11688
  retryAllowed: false,
11635
11689
  promptSettledAt: null,
11636
11690
  promptSettledCloseTimer: void 0
@@ -12302,7 +12356,11 @@ function createAcpSessionBridge(opts) {
12302
12356
  attached: true,
12303
12357
  clientId,
12304
12358
  createdAt: entry.createdAt,
12305
- hasActivePrompt: entry.promptActive || entry.goalTurnActive === true,
12359
+ // Unlike the owner-side restore responses, the waiter has no
12360
+ // `restorePromptAdmitted` term; a prompt the owner parked while the
12361
+ // restore was in flight must still read as active here so the
12362
+ // waiter's caller never relocates or resets under a deferred prompt.
12363
+ hasActivePrompt: hasInFlightPromptActivity(entry),
12306
12364
  ...entry.sourceType ? { sourceType: entry.sourceType } : {},
12307
12365
  ...entry.sourceId !== void 0 ? { sourceId: entry.sourceId } : {},
12308
12366
  ...sourcePersisted !== void 0 ? { sourcePersisted } : {},
@@ -13257,7 +13315,7 @@ function createAcpSessionBridge(opts) {
13257
13315
  attachCount: entry.attachCount,
13258
13316
  pendingPromptCount: entry.pendingPromptCount,
13259
13317
  pendingPermissionCount: entry.pendingPermissionIds.size,
13260
- hasActivePrompt: entry.promptActive || entry.goalTurnActive === true,
13318
+ hasActivePrompt: hasInFlightPromptActivity(entry),
13261
13319
  lastEventId: entry.events.lastEventId,
13262
13320
  ...entry.sessionLastSeenAt !== void 0 ? { lastSeenAt: entry.sessionLastSeenAt } : {},
13263
13321
  ...entry.currentModelId ? { currentModelId: entry.currentModelId } : {},
@@ -13670,6 +13728,9 @@ function createAcpSessionBridge(opts) {
13670
13728
  )
13671
13729
  );
13672
13730
  }
13731
+ if (resetPendingSessions.has(sessionId)) {
13732
+ throw new SessionResetPendingError(sessionId);
13733
+ }
13673
13734
  if (isReservedStandaloneSessionSourceType(entry.sourceType) && entry.managedConversationBinding?.released !== true) {
13674
13735
  return Promise.reject(standaloneWorkingDirectoryMissingError());
13675
13736
  }
@@ -14330,6 +14391,7 @@ function createAcpSessionBridge(opts) {
14330
14391
  if (context?.clientId !== void 0) {
14331
14392
  resolveTrustedClientId(entry, context.clientId);
14332
14393
  }
14394
+ assertSessionResetNotPending(sessionId);
14333
14395
  const concurrentSideTask = isSideTask && entry.promptActive;
14334
14396
  if (!isSideTask && (entry.pendingPromptCount > 0 || entry.promptActive)) {
14335
14397
  throw new BranchWhilePromptActiveError(sessionId);
@@ -14567,6 +14629,7 @@ function createAcpSessionBridge(opts) {
14567
14629
  entry,
14568
14630
  context?.clientId
14569
14631
  );
14632
+ assertSessionResetNotPending(sessionId);
14570
14633
  const cdPromise = entry.promptQueue.then(async () => {
14571
14634
  const ci = assertLivePromptEntry(sessionId, entry);
14572
14635
  runtimeOperationReservations++;
@@ -14749,6 +14812,39 @@ function createAcpSessionBridge(opts) {
14749
14812
  markSessionCatalogChanged();
14750
14813
  }
14751
14814
  },
14815
+ clearSessionWorktree(sessionId) {
14816
+ const entry = byId.get(sessionId);
14817
+ if (entry?.worktree !== void 0) {
14818
+ delete entry.worktree;
14819
+ markSessionCatalogChanged();
14820
+ }
14821
+ },
14822
+ setSessionResetPending(sessionId) {
14823
+ resetPendingSessions.add(sessionId);
14824
+ return byId.has(sessionId);
14825
+ },
14826
+ clearSessionResetPending(sessionId) {
14827
+ resetPendingSessions.delete(sessionId);
14828
+ },
14829
+ async severSessionClients(sessionId) {
14830
+ const entry = byId.get(sessionId);
14831
+ if (!entry) return true;
14832
+ const registrations = /* @__PURE__ */ __name(() => {
14833
+ let total = 0;
14834
+ for (const count of entry.clientIds.values()) total += count;
14835
+ return total;
14836
+ }, "registrations");
14837
+ let outstanding = registrations();
14838
+ while (outstanding > 0 && byId.get(sessionId) === entry) {
14839
+ for (const clientId of [...entry.clientIds.keys()]) {
14840
+ await bridgeApi.detachClient(sessionId, clientId);
14841
+ }
14842
+ const remaining = registrations();
14843
+ if (remaining >= outstanding) break;
14844
+ outstanding = remaining;
14845
+ }
14846
+ return !byId.has(sessionId);
14847
+ },
14752
14848
  fireDeferredRestoreAskUserQuestionPrompt(sessionId, clientId) {
14753
14849
  if (clientId === void 0) return false;
14754
14850
  const entry = byId.get(sessionId);
@@ -15330,6 +15426,7 @@ function createAcpSessionBridge(opts) {
15330
15426
  const entry = byId.get(sessionId);
15331
15427
  if (!entry) throw new SessionNotFoundError(sessionId);
15332
15428
  resolveTrustedClientId(entry, context?.clientId);
15429
+ assertSessionResetNotPending(sessionId);
15333
15430
  return requestSessionStatus(sessionId, SERVE_CONTROL_EXT_METHODS.sessionWorkflowTaskAction, {
15334
15431
  taskId,
15335
15432
  action
@@ -15341,6 +15438,7 @@ function createAcpSessionBridge(opts) {
15341
15438
  const info = channelInfoForEntry(entry);
15342
15439
  if (!info || info.isDying) throw new SessionNotFoundError(sessionId);
15343
15440
  resolveTrustedClientId(entry, context?.clientId);
15441
+ assertSessionResetNotPending(sessionId);
15344
15442
  return requestSessionStatus(
15345
15443
  sessionId,
15346
15444
  SERVE_CONTROL_EXT_METHODS.sessionGoalControl,
@@ -16226,6 +16324,7 @@ function createAcpSessionBridge(opts) {
16226
16324
  if (!trimmed) {
16227
16325
  throw new Error("Fork directive is required");
16228
16326
  }
16327
+ assertSessionResetNotPending(sessionId);
16229
16328
  if (entry.pendingPromptCount > 0 || entry.promptActive) {
16230
16329
  throw new SessionBusyError(
16231
16330
  sessionId,
@@ -16295,6 +16394,7 @@ function createAcpSessionBridge(opts) {
16295
16394
  entry,
16296
16395
  context.clientId
16297
16396
  );
16397
+ assertSessionResetNotPending(sessionId);
16298
16398
  if (signal?.aborted) {
16299
16399
  return { exitCode: null, output: "", aborted: true };
16300
16400
  }
@@ -16437,6 +16537,7 @@ function createAcpSessionBridge(opts) {
16437
16537
  entry,
16438
16538
  context?.clientId
16439
16539
  );
16540
+ assertSessionResetNotPending(sessionId);
16440
16541
  if (entry.pendingPromptCount > 0 || entry.promptActive) {
16441
16542
  throw new SessionBusyError(
16442
16543
  sessionId,
@@ -2,18 +2,18 @@
2
2
  "use strict";
3
3
  import {
4
4
  appEvents
5
- } from "./chunk-ZAZ3NFL6.js";
5
+ } from "./chunk-DXQ6Z7AH.js";
6
6
  import {
7
7
  assembleMcpServers,
8
8
  getPendingGatedMcpServers,
9
9
  getPromptableMcpServers
10
- } from "./chunk-DNPHKA72.js";
10
+ } from "./chunk-TGC4264Q.js";
11
11
  import {
12
12
  getMCPServerStatus
13
- } from "./chunk-P5LDR7FI.js";
13
+ } from "./chunk-6QV7Z74P.js";
14
14
  import {
15
15
  require_fast_deep_equal
16
- } from "./chunk-RPBMP6BN.js";
16
+ } from "./chunk-MWIO7MF6.js";
17
17
  import {
18
18
  createDebugLogger
19
19
  } from "./chunk-ZAFYHRVY.js";
@@ -0,0 +1,82 @@
1
+ // Force strict mode and setup for ESM
2
+ "use strict";
3
+ import {
4
+ init_esbuild_shims
5
+ } from "./chunk-5O2XNYP6.js";
6
+ import {
7
+ __name
8
+ } from "./chunk-J2S4EL5Y.js";
9
+
10
+ // packages/cli/src/serve/conversations/conversation-runtime-errors.ts
11
+ init_esbuild_shims();
12
+ var DEFAULT_MESSAGES = {
13
+ conversation_runtime_in_use: "The Conversations runtime is owned by another daemon.",
14
+ conversation_runtime_unavailable: "The Conversations runtime is temporarily unavailable.",
15
+ conversation_root_compromised: "The Conversations root could not be verified.",
16
+ conversation_runtime_ownership_compromised: "The Conversations runtime ownership state could not be verified."
17
+ };
18
+ var ConversationRuntimeOwnershipError = class extends Error {
19
+ constructor(code, retryable, options) {
20
+ super(DEFAULT_MESSAGES[code], options);
21
+ this.code = code;
22
+ this.retryable = retryable;
23
+ this.name = "ConversationRuntimeOwnershipError";
24
+ }
25
+ static {
26
+ __name(this, "ConversationRuntimeOwnershipError");
27
+ }
28
+ status = 503;
29
+ };
30
+ function conversationRuntimeInUseError() {
31
+ return new ConversationRuntimeOwnershipError(
32
+ "conversation_runtime_in_use",
33
+ true
34
+ );
35
+ }
36
+ __name(conversationRuntimeInUseError, "conversationRuntimeInUseError");
37
+ function conversationRuntimeUnavailableError(cause) {
38
+ return new ConversationRuntimeOwnershipError(
39
+ "conversation_runtime_unavailable",
40
+ true,
41
+ { cause }
42
+ );
43
+ }
44
+ __name(conversationRuntimeUnavailableError, "conversationRuntimeUnavailableError");
45
+ function conversationRuntimeOwnershipCompromisedError(cause) {
46
+ return new ConversationRuntimeOwnershipError(
47
+ "conversation_runtime_ownership_compromised",
48
+ false,
49
+ { cause }
50
+ );
51
+ }
52
+ __name(conversationRuntimeOwnershipCompromisedError, "conversationRuntimeOwnershipCompromisedError");
53
+ function conversationRootCompromisedError(cause) {
54
+ return new ConversationRuntimeOwnershipError(
55
+ "conversation_root_compromised",
56
+ false,
57
+ { cause }
58
+ );
59
+ }
60
+ __name(conversationRootCompromisedError, "conversationRootCompromisedError");
61
+
62
+ // packages/cli/src/serve/live/types.ts
63
+ init_esbuild_shims();
64
+ var LIVE_HOST_PROTOCOL_VERSION = 7;
65
+ var LIVE_HOST_BUNDLE_ID = "com.alibaba.qwen-code.live-host";
66
+ var LIVE_INPUT_AUDIO_EPOCH_BYTES = 8;
67
+
68
+ export {
69
+ ConversationRuntimeOwnershipError,
70
+ conversationRuntimeInUseError,
71
+ conversationRuntimeUnavailableError,
72
+ conversationRuntimeOwnershipCompromisedError,
73
+ conversationRootCompromisedError,
74
+ LIVE_HOST_PROTOCOL_VERSION,
75
+ LIVE_HOST_BUNDLE_ID,
76
+ LIVE_INPUT_AUDIO_EPOCH_BYTES
77
+ };
78
+ /**
79
+ * @license
80
+ * Copyright 2026 Qwen Team
81
+ * SPDX-License-Identifier: Apache-2.0
82
+ */
@@ -10,11 +10,12 @@ import {
10
10
  DEFAULT_TOOL_OUTPUT_BATCH_BUDGET,
11
11
  DEFAULT_TOOL_RESULTS_TOTAL_CHARS_THRESHOLD,
12
12
  DEFAULT_TRUNCATE_TOOL_OUTPUT_LINES,
13
- DEFAULT_TRUNCATE_TOOL_OUTPUT_THRESHOLD
14
- } from "./chunk-I72PHOKL.js";
13
+ DEFAULT_TRUNCATE_TOOL_OUTPUT_THRESHOLD,
14
+ GOAL_CHECKPOINT_TIMEOUT_SECONDS_CAP
15
+ } from "./chunk-PDUMGZ2P.js";
15
16
  import {
16
17
  REASONING_EFFORT_TIERS
17
- } from "./chunk-2LD5U7Q3.js";
18
+ } from "./chunk-6YEOCHSE.js";
18
19
  import {
19
20
  DEFAULT_SENSITIVE_SPAN_ATTRIBUTE_MAX_LENGTH,
20
21
  SENSITIVE_SPAN_ATTRIBUTE_MAX_LENGTH_LIMIT
@@ -1249,6 +1250,11 @@ var SETTINGS_SCHEMA = {
1249
1250
  description: "Requires `telemetry.enabled: true`. Inject W3C `traceparent` on outbound `fetch` requests (LLM SDK calls, MCP StreamableHTTP, WebFetch, ...) AND as a `TRACEPARENT` environment variable in shell child processes (Bash tool, hooks, monitor). When enabled, any existing `TRACEPARENT` in the parent environment is overwritten with qwen-code's own trace context. Default: false \u2014 trace context stays internal to the operator's OTLP collector. Set true when you want cross-process trace stitching with an OTel-aware LLM provider (e.g. ARMS+DashScope) or need shell scripts / CLI tools to participate in distributed tracing.",
1250
1251
  type: "boolean",
1251
1252
  default: false
1253
+ },
1254
+ allowDynamicHeaderValues: {
1255
+ description: "SECURITY-RELEVANT. Allow `modelProviders[].generationConfig.customHeaders` values to contain runtime placeholders \u2014 currently `${session_id}` \u2014 expanded per request instead of frozen at client construction. Default false: a value containing a placeholder is dropped rather than sent. Enable when a gateway requires a stable per-conversation identifier (e.g. OpenCode Go requires `x-opencode-session`). Which hosts receive the value and what the header is called are decided by the provider entry you attach the header to; this switch only decides whether `${session_id}` may be expanded from live session state and does not identify which settings source supplied the header.",
1256
+ type: "boolean",
1257
+ default: false
1252
1258
  }
1253
1259
  },
1254
1260
  additionalProperties: false
@@ -1405,6 +1411,17 @@ var SETTINGS_SCHEMA = {
1405
1411
  description: "Autonomous spend window armed on each new Goal, in tokens as counted by the Goal meter (totalTokenCount summed over every model call the Goal makes in its own turns; side queries and checkpoint verification are not metered). When a Goal spends its window it gets one wind-down turn to hand off, then stops until you resume it, which arms another window. Unset uses the built-in default of 30,000,000; -1 means unlimited. Zero, values above 300,000,000 (10x the default, a typo guard), other negative, fractional, or non-number values are rejected at startup.",
1406
1412
  showInDialog: false
1407
1413
  },
1414
+ goalCheckpointTimeoutSeconds: {
1415
+ type: "integer",
1416
+ label: "Goal Checkpoint Timeout (seconds)",
1417
+ category: "Model",
1418
+ requiresRestart: false,
1419
+ default: void 0,
1420
+ minimum: 1,
1421
+ maximum: GOAL_CHECKPOINT_TIMEOUT_SECONDS_CAP,
1422
+ description: "Ceiling on one Goal evidence-checkpoint call, in seconds. A long Goal periodically compresses its evidence into checkpoint claims with a side model call; a call that does not finish in time is abandoned as an inconclusive check \u2014 the checkpoint stall streak is preserved rather than incremented \u2014 and a later turn retries it. Unset uses the built-in default of 180. Must be an integer between 1 and 900; other values are rejected at startup. The call is streamed, so the per-request transport timeout (model.generationConfig.timeout, default 120 s) bounds only connect and first response, and values above 900 are rejected because past the default stream lifetime guard that guard, not this setting, ends the call. The 900 ceiling is fixed: raising QWEN_STREAM_MAX_LIFETIME_MS does not lift it.",
1423
+ showInDialog: false
1424
+ },
1408
1425
  maxToolCalls: {
1409
1426
  type: "number",
1410
1427
  label: "Max Tool Calls",
@@ -2960,7 +2977,7 @@ var SETTINGS_SCHEMA = {
2960
2977
  category: "Advanced",
2961
2978
  requiresRestart: false,
2962
2979
  default: void 0,
2963
- description: 'What happens to messages other sessions send this one. "accept" delivers them; "hold" parks them for your review without letting the model act; "refuse" opts this session out. Unset means review-class parity: a message auto-delivers only when both sessions review every action, or when both sessions declare a mode that can apply actions without per-action review. Other messages are held for you to review.',
2980
+ description: `What happens to inbound cross-session messages. "accept" delivers them; "hold" parks them for your review without letting the model act; "refuse" opts this session out. Unset means user-minted controllers and this session's own child processes auto-deliver, while other sessions use review-class parity: both must review every action, or both must declare a mode that can apply actions without per-action review. Other messages are held for you to review.`,
2964
2981
  showInDialog: false,
2965
2982
  options: [
2966
2983
  { value: "accept", label: "Accept" },
@@ -2,7 +2,7 @@
2
2
  "use strict";
3
3
  import {
4
4
  resolvePath
5
- } from "./chunk-VDXYYVCD.js";
5
+ } from "./chunk-XVTCSVBK.js";
6
6
  import {
7
7
  init_esbuild_shims
8
8
  } from "./chunk-5O2XNYP6.js";