@qwen-code/qwen-code 0.20.1 → 0.20.2-gdpval-vl-agent.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 (219) hide show
  1. package/bundled/qc-helper/docs/integration-github-action.md +9 -9
  2. package/chunks/{MaxSizedBox-4WZYPSRU.js → MaxSizedBox-KYNG7EN7.js} +10 -11
  3. package/chunks/{StandaloneSessionPicker-PE4JAIFA.js → StandaloneSessionPicker-7XN4WVVG.js} +25 -26
  4. package/chunks/{acpAgent-BVIKGJ2C.js → acpAgent-FTFFYP5G.js} +121 -80
  5. package/chunks/{agent-DHLFAOUV.js → agent-Y76LTTOT.js} +10 -11
  6. package/chunks/{agent-headless-ZP5WTNXZ.js → agent-headless-IVAEQPK6.js} +10 -11
  7. package/chunks/{anthropicContentGenerator-NMSS7IMV.js → anthropicContentGenerator-HGWAHO24.js} +6 -8
  8. package/chunks/{bridge-XAK7JKMD.js → bridge-4M77KUEV.js} +14 -15
  9. package/chunks/{channel-worker-group-LFBT7K64.js → channel-worker-group-QZV2SP5U.js} +3 -3
  10. package/chunks/{channel-worker-manager-3RUPERG2.js → channel-worker-manager-3GMAU45H.js} +3 -3
  11. package/chunks/{channel-worker-supervisor-A3KVATD3.js → channel-worker-supervisor-QCXSXCRY.js} +2 -2
  12. package/chunks/{chunk-TXRKCFWS.js → chunk-2HGTVAOW.js} +1 -1
  13. package/chunks/{chunk-7LH6CHKG.js → chunk-2P6CNEHB.js} +1 -1
  14. package/chunks/{chunk-CHXKGIMK.js → chunk-3IABAQR6.js} +1 -1
  15. package/chunks/chunk-3Z43GZUQ.js +32 -0
  16. package/chunks/{chunk-KDPIV6WC.js → chunk-4CTP6VR6.js} +1 -1
  17. package/chunks/{chunk-BKZEHVPV.js → chunk-5G3ZVADU.js} +148 -47
  18. package/chunks/{chunk-BZAEENUV.js → chunk-6GEJX3LE.js} +2 -2
  19. package/chunks/{chunk-JHFVJQRO.js → chunk-6HOCJNO5.js} +1 -1
  20. package/chunks/{chunk-5EA5NVXS.js → chunk-A3TAEAHX.js} +1 -1
  21. package/chunks/{chunk-KQQ757OQ.js → chunk-ACW3VNUE.js} +1 -1
  22. package/chunks/{chunk-3SXF4GMQ.js → chunk-AVQ6EX4J.js} +1 -1
  23. package/chunks/{chunk-4DSBFQMI.js → chunk-BK6UOUJ2.js} +2 -2
  24. package/chunks/{chunk-GEB2CGUV.js → chunk-BLAEKN6K.js} +1368 -984
  25. package/chunks/{chunk-M7WBGLYP.js → chunk-BULDBTYC.js} +2 -0
  26. package/chunks/{chunk-PPIHLGNE.js → chunk-C3EXYVFX.js} +1 -1
  27. package/chunks/{chunk-6PRNSLMB.js → chunk-C54UTDOC.js} +16 -17
  28. package/chunks/{chunk-JYS55H6Z.js → chunk-CBOQ3HY7.js} +400 -3
  29. package/chunks/{chunk-LPMBFOWH.js → chunk-CGZ5SV23.js} +33 -33
  30. package/chunks/{chunk-N5ARKAVE.js → chunk-COAARUPK.js} +6 -6
  31. package/chunks/{chunk-JO7FGOSY.js → chunk-E2ZK5M4P.js} +3 -3
  32. package/chunks/{chunk-766HLFAG.js → chunk-EEFRJ5CT.js} +3 -3
  33. package/chunks/{chunk-BWQRDISK.js → chunk-ESQHGKPJ.js} +1 -1
  34. package/chunks/{chunk-X7XWGRDT.js → chunk-FJ2IUWNQ.js} +3 -3
  35. package/chunks/{chunk-G6LRTI62.js → chunk-FQI7LT7T.js} +4 -4
  36. package/chunks/{chunk-Q2V2ADXF.js → chunk-FTNI3D7D.js} +4 -4
  37. package/chunks/{chunk-QD6BRERJ.js → chunk-GHRSKGHF.js} +1 -1
  38. package/chunks/{chunk-7SWFAKVH.js → chunk-GWM4PDYK.js} +10 -10
  39. package/chunks/{chunk-JTUAAVUT.js → chunk-HCJQORKC.js} +2 -2
  40. package/chunks/{chunk-QSJ6JIF5.js → chunk-HDATOR4J.js} +3 -3
  41. package/chunks/{chunk-JIBBZH37.js → chunk-HIYP7IR4.js} +23 -25
  42. package/chunks/{chunk-R3BCL5XW.js → chunk-HL6AKUGD.js} +3 -3
  43. package/chunks/{chunk-Q3GGJDYN.js → chunk-HPQFGWOD.js} +3 -3
  44. package/chunks/{chunk-76OFFG6L.js → chunk-IFUNDCQ6.js} +1 -1
  45. package/chunks/{chunk-KSZZBDVD.js → chunk-IFVECEIK.js} +25 -25
  46. package/chunks/{chunk-JKFHJK5U.js → chunk-IKP54WUL.js} +4 -4
  47. package/chunks/{chunk-27CLX4FV.js → chunk-ISMD2AB3.js} +1 -1
  48. package/chunks/{chunk-3KQSDUK3.js → chunk-KF6CTNTJ.js} +7 -8
  49. package/chunks/{chunk-PIHKWN7M.js → chunk-L5F3T6TQ.js} +1 -1
  50. package/chunks/{chunk-OUDZVU7H.js → chunk-L7ASZD66.js} +7 -5
  51. package/chunks/{chunk-JJEFX6U5.js → chunk-LESHKUWF.js} +2 -4
  52. package/chunks/{chunk-QUHJRRUA.js → chunk-LKB5YL5T.js} +29 -18
  53. package/chunks/{chunk-DPRMI6NU.js → chunk-LU3RXCM7.js} +1 -1
  54. package/chunks/{chunk-EFIOE2EH.js → chunk-M3EQ3GZC.js} +1 -1
  55. package/chunks/{chunk-TPR35HHZ.js → chunk-M4VFMLQK.js} +3 -3
  56. package/chunks/{chunk-6NHK6HS7.js → chunk-MDZTPSXO.js} +1 -1
  57. package/chunks/{chunk-D53NR4GO.js → chunk-MJPBB2GK.js} +66 -52
  58. package/chunks/{chunk-RYSMKY43.js → chunk-NAXEEGJU.js} +4 -4
  59. package/chunks/{chunk-D6ZOVZLF.js → chunk-O4OT3DM3.js} +1 -1
  60. package/chunks/{chunk-PBED7USE.js → chunk-OPDZT2VG.js} +1 -1
  61. package/chunks/{chunk-Y2DAH52F.js → chunk-P6PBZL3N.js} +4 -4
  62. package/chunks/{chunk-AZD6KAV7.js → chunk-PRAUGUNM.js} +3 -3
  63. package/chunks/{chunk-S3YQCNJE.js → chunk-PVT6E3ZI.js} +1 -1
  64. package/chunks/{chunk-4BRH6FP5.js → chunk-Q22WWVR6.js} +4 -4
  65. package/chunks/{chunk-EWXXMRMP.js → chunk-RC7A7SSL.js} +2 -2
  66. package/chunks/{chunk-IS2SBY6T.js → chunk-RCUEYZDE.js} +36 -2
  67. package/chunks/{chunk-R7MPKABX.js → chunk-RMY5SX7S.js} +70 -36
  68. package/chunks/{chunk-SP32MK6J.js → chunk-RTQSXHS7.js} +1 -1
  69. package/chunks/{chunk-PSVSP2OS.js → chunk-S333CBIA.js} +3 -3
  70. package/chunks/{chunk-WML6JOGQ.js → chunk-TA4S377U.js} +5 -7
  71. package/chunks/{chunk-5G2SK2OO.js → chunk-U6TQGUNB.js} +192 -105
  72. package/chunks/{chunk-MTSYH4MB.js → chunk-UKU3NGW6.js} +2 -2
  73. package/chunks/{chunk-3LH5Q2AR.js → chunk-UVFCANV5.js} +4 -4
  74. package/chunks/{chunk-NNFK277W.js → chunk-V4AKJQ26.js} +1 -1
  75. package/chunks/{chunk-EC2ET5ZZ.js → chunk-VJPRLNLR.js} +1 -1
  76. package/chunks/{chunk-7NDXG4MB.js → chunk-VTXX72XS.js} +7 -7
  77. package/chunks/{chunk-LYEKAAEH.js → chunk-WOWQQGGN.js} +3 -3
  78. package/chunks/{chunk-WCFTQD7H.js → chunk-YLSB23Y2.js} +1 -1
  79. package/chunks/{chunk-52T5UHAZ.js → chunk-YNWJAOPL.js} +1 -1
  80. package/chunks/{chunk-DRIXALGM.js → chunk-ZKFJKN23.js} +2 -2
  81. package/chunks/{computer-use-MV4K6WJM.js → computer-use-UKQBH7UM.js} +10 -11
  82. package/chunks/{config-utils-WYUQ7II4.js → config-utils-FYTBZLCJ.js} +1 -1
  83. package/chunks/{contextCommand-TQD36VNX.js → contextCommand-ESHGAVWX.js} +12 -13
  84. package/chunks/{create-sub-session-JOW4BKMC.js → create-sub-session-574EPZUU.js} +10 -11
  85. package/chunks/{daemon-KLPTQIE4.js → daemon-GJRFILYS.js} +185 -18
  86. package/chunks/{daemon-status-provider-TII4SMCZ.js → daemon-status-provider-GZXZP3NU.js} +18 -19
  87. package/chunks/{earlyInputCapture-2V57RG6H.js → earlyInputCapture-GI3HGQIT.js} +10 -11
  88. package/chunks/{edit-TTUH7PWR.js → edit-EBJK74B3.js} +10 -11
  89. package/chunks/{enter-worktree-D4IVCXYB.js → enter-worktree-2ETY5CSV.js} +10 -11
  90. package/chunks/{enterPlanMode-WRUJTVYN.js → enterPlanMode-NY4U2727.js} +10 -11
  91. package/chunks/{environment-SEPKXB2C.js → environment-33IR3NOU.js} +12 -13
  92. package/chunks/{errors-YSVGBLBU.js → errors-2OCY23IC.js} +12 -13
  93. package/chunks/{exit-worktree-MZ4JSSP6.js → exit-worktree-Y4ULJ45U.js} +10 -11
  94. package/chunks/{exitPlanMode-HAZLSSOJ.js → exitPlanMode-SECI2EQ6.js} +10 -11
  95. package/chunks/{fast-path-EVBVIE2U.js → fast-path-6Z7RW5J5.js} +3 -3
  96. package/chunks/{fast-path-settings-XB3CPUJT.js → fast-path-settings-DAOVFADC.js} +2 -2
  97. package/chunks/{gemini-APQ76464.js → gemini-XLGLUGSU.js} +53 -54
  98. package/chunks/{geminiContentGenerator-LB4MA2LI.js → geminiContentGenerator-NNZZDH24.js} +1 -1
  99. package/chunks/{glob-LABYMYKG.js → glob-KZA64SSV.js} +10 -11
  100. package/chunks/{grep-HKIKJCAS.js → grep-ONHQMY3V.js} +10 -11
  101. package/chunks/{handleAutoUpdate-RWAAL2UM.js → handleAutoUpdate-PRTJISXQ.js} +15 -16
  102. package/chunks/{i18n-ZUVDAJIJ.js → i18n-ZTKKG5R5.js} +11 -12
  103. package/chunks/{initializer-7YUHIC36.js → initializer-FPPZGBYN.js} +16 -17
  104. package/chunks/{installationInfo-DVEOMWDE.js → installationInfo-DV2C27HT.js} +11 -12
  105. package/chunks/{list-WHCZSIR2.js → list-KEHCNUAK.js} +19 -20
  106. package/chunks/{loadedSettingsAdapter-YCWN6AK3.js → loadedSettingsAdapter-7RZ6M3WH.js} +16 -17
  107. package/chunks/{managed-npm-update-PG3463CJ.js → managed-npm-update-EBKNOG37.js} +11 -12
  108. package/chunks/{mcp-VLHDCKAN.js → mcp-NHXKZRRP.js} +16 -17
  109. package/chunks/{monitor-GG4F4YM6.js → monitor-FMUAIFFH.js} +10 -11
  110. package/chunks/{nonInteractiveCli-UYXYV4YX.js → nonInteractiveCli-I2GPZNTP.js} +46 -47
  111. package/chunks/{notebook-edit-US4VLN6Q.js → notebook-edit-V7RNXKVL.js} +10 -11
  112. package/chunks/{openaiContentGenerator-CVEDTMDB.js → openaiContentGenerator-IBVUUZDH.js} +7 -8
  113. package/chunks/{pidfile-QQ45OIOY.js → pidfile-AMTGL2H2.js} +10 -11
  114. package/chunks/{processUtils-3WMHLQE5.js → processUtils-3ZT2JF6D.js} +2 -2
  115. package/chunks/{qwenContentGenerator-Y2GRNYZQ.js → qwenContentGenerator-E72VVWS3.js} +15 -16
  116. package/chunks/{qwenOAuth2-J2X6E5VO.js → qwenOAuth2-YCC3HP24.js} +7 -8
  117. package/chunks/{read-file-C7Z266CU.js → read-file-5EWNGUXN.js} +4 -4
  118. package/chunks/{resumeHistoryUtils-KBQWX77U.js → resumeHistoryUtils-IH4RNB76.js} +13 -14
  119. package/chunks/{ripGrep-RW26MTQ3.js → ripGrep-B6A6N7GI.js} +10 -11
  120. package/chunks/{run-qwen-serve-MXFMOMEL.js → run-qwen-serve-6PKSMF6Z.js} +67 -48
  121. package/chunks/{runtime-APNO3V6D.js → runtime-ASRANXO6.js} +18 -19
  122. package/chunks/{scheduler-L6FYCGVO.js → scheduler-IABM76UZ.js} +10 -11
  123. package/chunks/{sdk-exporters-http-IDGLRBGP.js → sdk-exporters-http-6MCQH335.js} +2 -2
  124. package/chunks/{sdk-impl-5ESZBGJQ.js → sdk-impl-HOLWAXC6.js} +9 -2
  125. package/chunks/{send-message-PYIJ2PZL.js → send-message-KBO6X4ZS.js} +1 -1
  126. package/chunks/{serve-6QBXDVWT.js → serve-A4DT5D32.js} +16 -17
  127. package/chunks/{server-5TJJEMVQ.js → server-DZ5ZSVRE.js} +1322 -178
  128. package/chunks/{session-BWEUHKQB.js → session-G2R3CYU6.js} +49 -50
  129. package/chunks/{settings-O7IUQNRR.js → settings-7TNSXUTO.js} +18 -19
  130. package/chunks/{shell-R5L4NQYY.js → shell-5BRFGEMK.js} +10 -11
  131. package/chunks/{skill-ITEOSNW6.js → skill-3SWYEK7M.js} +4 -4
  132. package/chunks/{spawnChannel-E7NTWSGW.js → spawnChannel-GGN2WVWW.js} +12 -13
  133. package/chunks/{src-FFXGUTNL.js → src-5BPBNQ5S.js} +45 -33
  134. package/chunks/{standalone-update-JCJOXW4P.js → standalone-update-AHOZ56LS.js} +13 -14
  135. package/chunks/{startInteractiveUI-IJSBLZFO.js → startInteractiveUI-TLGOQVV7.js} +150 -144
  136. package/chunks/{team-create-OVSZTJZO.js → team-create-XHDF7UKM.js} +10 -11
  137. package/chunks/{team-plan-approval-SLEVDLT5.js → team-plan-approval-XKSBXWMH.js} +10 -11
  138. package/chunks/{theme-manager-V6ZQISHM.js → theme-manager-6ZKLBFAN.js} +10 -11
  139. package/chunks/{tool-search-KYIF6C6E.js → tool-search-UDNJCXYS.js} +4 -4
  140. package/chunks/{total-session-admission-EU77XTL7.js → total-session-admission-VWRCCDYM.js} +14 -15
  141. package/chunks/{tree-sitter-4D7QS7F6.js → tree-sitter-L5BFT64K.js} +1 -1
  142. package/chunks/{tree-sitter-bash-VEJGF5XF.js → tree-sitter-bash-ZKDNQGID.js} +1 -1
  143. package/chunks/{trustedFolders-DDEF3ADH.js → trustedFolders-TJI6OLAN.js} +11 -12
  144. package/chunks/{chunk-5I5BM454.js → undici-3FJYTMOF.js} +24 -399
  145. package/chunks/{chunk-L573Z2QZ.js → undici-PYHBDDPN.js} +1 -5
  146. package/chunks/{update-relaunch-XEZTDP6K.js → update-relaunch-RS5GB74A.js} +5 -5
  147. package/chunks/{updateCheck-KZ5LZ545.js → updateCheck-T4EEA5YR.js} +13 -14
  148. package/chunks/{useAutoAcceptIndicator-47EZERGQ.js → useAutoAcceptIndicator-LLWMXC7F.js} +18 -19
  149. package/chunks/{validateNonInterActiveAuth-J2DM4LWZ.js → validateNonInterActiveAuth-OJ3KYXAR.js} +43 -44
  150. package/chunks/{version-PN7WYXHP.js → version-ZCEUV5DO.js} +1 -1
  151. package/chunks/{web-fetch-WRI5QRFR.js → web-fetch-KQF4YFCI.js} +6 -7
  152. package/chunks/{web-search-2HCXNAVX.js → web-search-QDDGFGKI.js} +13 -12
  153. package/chunks/{workflow-U5XBPGQZ.js → workflow-GIRKCX4P.js} +11 -12
  154. package/chunks/{workspace-providers-status-2T54GIJZ.js → workspace-providers-status-UTMAVTNE.js} +19 -20
  155. package/chunks/{workspace-registration-store-F3V4KBIW.js → workspace-registration-store-EYJMJFZU.js} +1 -1
  156. package/chunks/{workspace-registry-U6QVZ5BU.js → workspace-registry-4W4UW6MY.js} +14 -15
  157. package/chunks/{workspace-service-734D36QD.js → workspace-service-DJCPY6ZN.js} +21 -22
  158. package/chunks/{workspace-skills-status-5ABUKOAQ.js → workspace-skills-status-VQ2LKXXX.js} +17 -18
  159. package/chunks/{write-file-CIH4I4CS.js → write-file-PLK6RQ7M.js} +10 -11
  160. package/cli.js +12 -12
  161. package/package.json +3 -3
  162. package/web-shell/assets/{arc-ByltRugA.js → arc-DIQrcXXh.js} +1 -1
  163. package/web-shell/assets/{architectureDiagram-3BPJPVTR-CCRTto5d.js → architectureDiagram-3BPJPVTR-CbPd-DSw.js} +1 -1
  164. package/web-shell/assets/{blockDiagram-GPEHLZMM-Jfy36u1L.js → blockDiagram-GPEHLZMM-yzBIVhMX.js} +1 -1
  165. package/web-shell/assets/{c4Diagram-AAUBKEIU-4d5FfEZ0.js → c4Diagram-AAUBKEIU-B88Swcsu.js} +1 -1
  166. package/web-shell/assets/channel-BaTMUesZ.js +1 -0
  167. package/web-shell/assets/{chunk-2J33WTMH-BPwxCEro.js → chunk-2J33WTMH-BbOLo6NX.js} +1 -1
  168. package/web-shell/assets/{chunk-4BX2VUAB-jY7ZmJWY.js → chunk-4BX2VUAB-Bg6in0r0.js} +1 -1
  169. package/web-shell/assets/{chunk-55IACEB6-C98HgCsS.js → chunk-55IACEB6-Bv9QRyLI.js} +1 -1
  170. package/web-shell/assets/{chunk-727SXJPM-cDu-ge-q.js → chunk-727SXJPM-CFokiv61.js} +1 -1
  171. package/web-shell/assets/{chunk-AQP2D5EJ-BKdJwxXK.js → chunk-AQP2D5EJ-DS2Oxf6L.js} +1 -1
  172. package/web-shell/assets/{chunk-FMBD7UC4-DnuxqwMu.js → chunk-FMBD7UC4-D2NkHD3B.js} +1 -1
  173. package/web-shell/assets/{chunk-ND2GUHAM-C4fZNPv0.js → chunk-ND2GUHAM-BsT_UC5B.js} +1 -1
  174. package/web-shell/assets/{chunk-QZHKN3VN-Cf4XWOmz.js → chunk-QZHKN3VN-tnJo3zln.js} +1 -1
  175. package/web-shell/assets/classDiagram-4FO5ZUOK-CyBPzWud.js +1 -0
  176. package/web-shell/assets/classDiagram-v2-Q7XG4LA2-CyBPzWud.js +1 -0
  177. package/web-shell/assets/{cose-bilkent-S5V4N54A-C82mFiqj.js → cose-bilkent-S5V4N54A-BTMa6DAZ.js} +1 -1
  178. package/web-shell/assets/{dagre-BM42HDAG-Df8KACER.js → dagre-BM42HDAG-ujGX7Owg.js} +1 -1
  179. package/web-shell/assets/{diagram-2AECGRRQ-EzNs7s_2.js → diagram-2AECGRRQ-fU4-dbPa.js} +1 -1
  180. package/web-shell/assets/{diagram-5GNKFQAL-BRLNvreg.js → diagram-5GNKFQAL-Bdm-TYSA.js} +1 -1
  181. package/web-shell/assets/{diagram-KO2AKTUF-2HLYHRjC.js → diagram-KO2AKTUF-Bkhz85Z9.js} +1 -1
  182. package/web-shell/assets/{diagram-LMA3HP47-DeH0NzSp.js → diagram-LMA3HP47-Bzu3q26p.js} +1 -1
  183. package/web-shell/assets/{diagram-OG6HWLK6-k5Gn47-G.js → diagram-OG6HWLK6-CZrXbG5Q.js} +1 -1
  184. package/web-shell/assets/{erDiagram-TEJ5UH35-gPHFo79f.js → erDiagram-TEJ5UH35-BjozEAYu.js} +1 -1
  185. package/web-shell/assets/{flowDiagram-I6XJVG4X-DYBOiTRW.js → flowDiagram-I6XJVG4X-B3a2I8c-.js} +1 -1
  186. package/web-shell/assets/{ganttDiagram-6RSMTGT7-cxjAuic9.js → ganttDiagram-6RSMTGT7-CIMn9fNm.js} +1 -1
  187. package/web-shell/assets/{gitGraphDiagram-PVQCEYII-3nPqpmCP.js → gitGraphDiagram-PVQCEYII-DlFy9KRx.js} +1 -1
  188. package/web-shell/assets/{index-Cl8d-1bK.js → index-BODUAzQA.js} +1 -1
  189. package/web-shell/assets/index-C54DNMF7.js +1209 -0
  190. package/web-shell/assets/index-lWqBfc78.css +5 -0
  191. package/web-shell/assets/{infoDiagram-5YYISTIA-Dph21pR5.js → infoDiagram-5YYISTIA-BmKjQgCy.js} +1 -1
  192. package/web-shell/assets/{ishikawaDiagram-YF4QCWOH-Cjg1hSaG.js → ishikawaDiagram-YF4QCWOH-BrQEMZz2.js} +1 -1
  193. package/web-shell/assets/{journeyDiagram-JHISSGLW-CR-IzvnU.js → journeyDiagram-JHISSGLW-D-2r7Xrt.js} +1 -1
  194. package/web-shell/assets/{kanban-definition-UN3LZRKU-BYmuybuC.js → kanban-definition-UN3LZRKU-CndsFHCX.js} +1 -1
  195. package/web-shell/assets/{linear-CngEEoy8.js → linear-D-IwNnKx.js} +1 -1
  196. package/web-shell/assets/{mermaid.core-G6fbZRPf.js → mermaid.core-4ll09sri.js} +5 -5
  197. package/web-shell/assets/{mindmap-definition-RKZ34NQL-BtnqnUwJ.js → mindmap-definition-RKZ34NQL-maMRIxjo.js} +1 -1
  198. package/web-shell/assets/{pieDiagram-4H26LBE5-XTq6UHIA.js → pieDiagram-4H26LBE5-aunUDhrJ.js} +1 -1
  199. package/web-shell/assets/{quadrantDiagram-W4KKPZXB-D1J5PrsS.js → quadrantDiagram-W4KKPZXB-D3K0P1NZ.js} +1 -1
  200. package/web-shell/assets/{requirementDiagram-4Y6WPE33-CLcBUy3t.js → requirementDiagram-4Y6WPE33-CX2X9HRc.js} +1 -1
  201. package/web-shell/assets/{sankeyDiagram-5OEKKPKP-iwKV02_6.js → sankeyDiagram-5OEKKPKP-CDroWk7l.js} +1 -1
  202. package/web-shell/assets/{sequenceDiagram-3UESZ5HK-7NFYQcEX.js → sequenceDiagram-3UESZ5HK-DTk-2b16.js} +1 -1
  203. package/web-shell/assets/{stateDiagram-AJRCARHV-Bvm4Wih6.js → stateDiagram-AJRCARHV-Cud64hQr.js} +1 -1
  204. package/web-shell/assets/stateDiagram-v2-BHNVJYJU-g-uUpecT.js +1 -0
  205. package/web-shell/assets/{timeline-definition-PNZ67QCA-B4FZFE9O.js → timeline-definition-PNZ67QCA-DfD5okf_.js} +1 -1
  206. package/web-shell/assets/{vennDiagram-CIIHVFJN-CvMBpmtL.js → vennDiagram-CIIHVFJN-BYl8ay25.js} +1 -1
  207. package/web-shell/assets/{wardley-L42UT6IY-E3ag2327.js → wardley-L42UT6IY-BZFAt10J.js} +1 -1
  208. package/web-shell/assets/{wardleyDiagram-YWT4CUSO-BEXWlgxC.js → wardleyDiagram-YWT4CUSO-BIWn0GA7.js} +1 -1
  209. package/web-shell/assets/{xychartDiagram-2RQKCTM6-CICK05gI.js → xychartDiagram-2RQKCTM6-1_H4xblT.js} +1 -1
  210. package/web-shell/index.html +2 -2
  211. package/web-shell/assets/channel-4N2UIFcG.js +0 -1
  212. package/web-shell/assets/classDiagram-4FO5ZUOK-Q4dYOtsh.js +0 -1
  213. package/web-shell/assets/classDiagram-v2-Q7XG4LA2-Q4dYOtsh.js +0 -1
  214. package/web-shell/assets/index-B7jzUZ_s.css +0 -5
  215. package/web-shell/assets/index-gE8OWwj_.js +0 -1197
  216. package/web-shell/assets/stateDiagram-v2-BHNVJYJU-xXU_zO2Z.js +0 -1
  217. package/chunks/{chunk-D7WXIW7H.js → chunk-H24SOJIQ.js} +3 -3
  218. package/chunks/{chunk-QZJY47IE.js → chunk-PEJWA3QQ.js} +5 -5
  219. package/chunks/{dist-HMU6CYS4.js → dist-XBJVSWS2.js} +1 -1
@@ -6,17 +6,17 @@ import {
6
6
  createHttpAcpBridge,
7
7
  extractErrorCode,
8
8
  extractErrorMessage
9
- } from "./chunk-R7MPKABX.js";
9
+ } from "./chunk-RMY5SX7S.js";
10
10
  import "./chunk-6RLROE6G.js";
11
11
  import "./chunk-COH43MRJ.js";
12
12
  import "./chunk-QR6U5QPP.js";
13
13
  import "./chunk-UH3WSE5L.js";
14
- import "./chunk-JHFVJQRO.js";
15
- import "./chunk-BWQRDISK.js";
14
+ import "./chunk-6HOCJNO5.js";
15
+ import "./chunk-ESQHGKPJ.js";
16
+ import "./chunk-2RFKHEXL.js";
16
17
  import "./chunk-M5GB774H.js";
17
18
  import "./chunk-UDXSXLER.js";
18
- import "./chunk-2RFKHEXL.js";
19
- import "./chunk-GEB2CGUV.js";
19
+ import "./chunk-BLAEKN6K.js";
20
20
  import "./chunk-T4TZQJ7W.js";
21
21
  import "./chunk-H6XPXXMH.js";
22
22
  import "./chunk-5M6IDOMF.js";
@@ -24,13 +24,13 @@ import "./chunk-T2L47JJK.js";
24
24
  import "./chunk-GPSKDNEE.js";
25
25
  import "./chunk-X6N25LXS.js";
26
26
  import "./chunk-E2UVIFI2.js";
27
+ import "./chunk-L5F3T6TQ.js";
27
28
  import "./chunk-Q2YKNMLS.js";
28
29
  import "./chunk-XU457J4V.js";
29
30
  import "./chunk-VDDGDZMA.js";
30
31
  import "./chunk-KHOVYUHX.js";
31
32
  import "./chunk-SZRN75WQ.js";
32
33
  import "./chunk-6PVPNMXU.js";
33
- import "./chunk-PIHKWN7M.js";
34
34
  import "./chunk-CPBF7KYF.js";
35
35
  import "./chunk-NABLFI57.js";
36
36
  import "./chunk-QBUDF33N.js";
@@ -40,19 +40,18 @@ import "./chunk-6AM5D4ME.js";
40
40
  import "./chunk-JCW2R7WC.js";
41
41
  import "./chunk-57FIIFJN.js";
42
42
  import "./chunk-HTO4JFDZ.js";
43
+ import "./chunk-2HGTVAOW.js";
44
+ import "./chunk-JESCGQM3.js";
45
+ import "./chunk-RC7A7SSL.js";
46
+ import "./chunk-C3EXYVFX.js";
43
47
  import "./chunk-XVNQMZ2I.js";
44
48
  import "./chunk-FODK6UMO.js";
45
49
  import "./chunk-GLNBDYUX.js";
46
- import "./chunk-TXRKCFWS.js";
47
- import "./chunk-JESCGQM3.js";
48
- import "./chunk-EWXXMRMP.js";
49
- import "./chunk-PPIHLGNE.js";
50
50
  import "./chunk-DJ2GSRLV.js";
51
- import "./chunk-5I5BM454.js";
52
- import "./chunk-5G2SK2OO.js";
51
+ import "./chunk-U6TQGUNB.js";
53
52
  import "./chunk-VGC4I5JJ.js";
54
53
  import "./chunk-4K56OJFJ.js";
55
- import "./chunk-JYS55H6Z.js";
54
+ import "./chunk-CBOQ3HY7.js";
56
55
  import "./chunk-A4UCTEB5.js";
57
56
  import "./chunk-XWRJCPHC.js";
58
57
  import "./chunk-QNLNLENL.js";
@@ -60,9 +59,9 @@ import "./chunk-6X4GWOPW.js";
60
59
  import "./chunk-TYQMGACW.js";
61
60
  import "./chunk-TYAMGABM.js";
62
61
  import "./chunk-FCMNKVXT.js";
63
- import "./chunk-IS2SBY6T.js";
62
+ import "./chunk-RCUEYZDE.js";
64
63
  import "./chunk-HTR4WV6U.js";
65
- import "./chunk-M7WBGLYP.js";
64
+ import "./chunk-BULDBTYC.js";
66
65
  import "./chunk-U7ZFW55U.js";
67
66
  import "./chunk-NPQDJGKU.js";
68
67
  import "./chunk-YM3SZTH4.js";
@@ -3,14 +3,14 @@
3
3
  import {
4
4
  ChannelWorkerReconcileError,
5
5
  createChannelWorkerGroup
6
- } from "./chunk-KQQ757OQ.js";
7
- import "./chunk-D7WXIW7H.js";
6
+ } from "./chunk-ACW3VNUE.js";
7
+ import "./chunk-H24SOJIQ.js";
8
8
  import "./chunk-QKTHJXCS.js";
9
9
  import "./chunk-TJTKSVIV.js";
10
10
  import "./chunk-M5GB774H.js";
11
+ import "./chunk-5HBA2Z7V.js";
11
12
  import "./chunk-RVLZCXEE.js";
12
13
  import "./chunk-UDXSXLER.js";
13
- import "./chunk-5HBA2Z7V.js";
14
14
  import "./chunk-T4TZQJ7W.js";
15
15
  import "./chunk-H6XPXXMH.js";
16
16
  import "./chunk-5O2XNYP6.js";
@@ -2,19 +2,19 @@
2
2
  "use strict";
3
3
  import {
4
4
  ChannelWorkerReconcileError
5
- } from "./chunk-KQQ757OQ.js";
5
+ } from "./chunk-ACW3VNUE.js";
6
6
  import {
7
7
  ChannelWorkerStartupError,
8
8
  ChannelWorkerStopError
9
- } from "./chunk-D7WXIW7H.js";
9
+ } from "./chunk-H24SOJIQ.js";
10
10
  import {
11
11
  ChannelWebhookEnqueueError
12
12
  } from "./chunk-QKTHJXCS.js";
13
13
  import "./chunk-TJTKSVIV.js";
14
14
  import "./chunk-M5GB774H.js";
15
+ import "./chunk-5HBA2Z7V.js";
15
16
  import "./chunk-RVLZCXEE.js";
16
17
  import "./chunk-UDXSXLER.js";
17
- import "./chunk-5HBA2Z7V.js";
18
18
  import "./chunk-T4TZQJ7W.js";
19
19
  import "./chunk-H6XPXXMH.js";
20
20
  import {
@@ -4,13 +4,13 @@ import {
4
4
  ChannelWorkerStartupError,
5
5
  ChannelWorkerStopError,
6
6
  createChannelWorkerSupervisor
7
- } from "./chunk-D7WXIW7H.js";
7
+ } from "./chunk-H24SOJIQ.js";
8
8
  import "./chunk-QKTHJXCS.js";
9
9
  import "./chunk-TJTKSVIV.js";
10
10
  import "./chunk-M5GB774H.js";
11
+ import "./chunk-5HBA2Z7V.js";
11
12
  import "./chunk-RVLZCXEE.js";
12
13
  import "./chunk-UDXSXLER.js";
13
- import "./chunk-5HBA2Z7V.js";
14
14
  import "./chunk-T4TZQJ7W.js";
15
15
  import "./chunk-H6XPXXMH.js";
16
16
  import "./chunk-5O2XNYP6.js";
@@ -5,7 +5,7 @@ import {
5
5
  } from "./chunk-JESCGQM3.js";
6
6
  import {
7
7
  formatFetchErrorForUser
8
- } from "./chunk-EWXXMRMP.js";
8
+ } from "./chunk-RC7A7SSL.js";
9
9
  import {
10
10
  combineAbortSignals
11
11
  } from "./chunk-DJ2GSRLV.js";
@@ -2,7 +2,7 @@
2
2
  "use strict";
3
3
  import {
4
4
  BaseJsonOutputAdapter
5
- } from "./chunk-Q3GGJDYN.js";
5
+ } from "./chunk-HPQFGWOD.js";
6
6
  import {
7
7
  init_esbuild_shims
8
8
  } from "./chunk-5O2XNYP6.js";
@@ -2,7 +2,7 @@
2
2
  "use strict";
3
3
  import {
4
4
  runExitCleanup
5
- } from "./chunk-D6ZOVZLF.js";
5
+ } from "./chunk-O4OT3DM3.js";
6
6
  import {
7
7
  init_esbuild_shims
8
8
  } from "./chunk-5O2XNYP6.js";
@@ -0,0 +1,32 @@
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/utils/load-undici.ts
11
+ init_esbuild_shims();
12
+ var undiciModulePromise;
13
+ async function loadUndici() {
14
+ undiciModulePromise ??= import("./undici-PYHBDDPN.js").then((mod) => {
15
+ const keys = Object.keys(mod);
16
+ if (keys.length === 1 && keys[0] === "default") {
17
+ return mod.default;
18
+ }
19
+ return mod;
20
+ });
21
+ return undiciModulePromise;
22
+ }
23
+ __name(loadUndici, "loadUndici");
24
+
25
+ export {
26
+ loadUndici
27
+ };
28
+ /**
29
+ * @license
30
+ * Copyright 2026 Qwen Team
31
+ * SPDX-License-Identifier: Apache-2.0
32
+ */
@@ -2,7 +2,7 @@
2
2
  "use strict";
3
3
  import {
4
4
  isGitRepository
5
- } from "./chunk-GEB2CGUV.js";
5
+ } from "./chunk-BLAEKN6K.js";
6
6
  import {
7
7
  createDebugLogger
8
8
  } from "./chunk-OQB4EXO4.js";
@@ -9,13 +9,13 @@ import {
9
9
  import {
10
10
  require_lib
11
11
  } from "./chunk-WBL3FJEU.js";
12
- import {
13
- require_mime_db
14
- } from "./chunk-T2NCM2ET.js";
15
12
  import {
16
13
  MAX_WORKSPACE_PATH_LENGTH,
17
14
  translateAndCheckAbsoluteWorkspacePath
18
15
  } from "./chunk-2RFKHEXL.js";
16
+ import {
17
+ require_mime_db
18
+ } from "./chunk-T2NCM2ET.js";
19
19
  import {
20
20
  writeStderrLine
21
21
  } from "./chunk-OWAK7LMW.js";
@@ -41,7 +41,7 @@ import {
41
41
  var require_depd = __commonJS({
42
42
  "node_modules/depd/index.js"(exports, module) {
43
43
  init_esbuild_shims();
44
- var relative = __require("path").relative;
44
+ var relative2 = __require("path").relative;
45
45
  module.exports = depd;
46
46
  var basePath = process.cwd();
47
47
  function containsNamespace(str, namespace) {
@@ -247,7 +247,7 @@ var require_depd = __commonJS({
247
247
  }
248
248
  __name(formatColor, "formatColor");
249
249
  function formatLocation(callSite) {
250
- return relative(basePath, callSite[0]) + ":" + callSite[1] + ":" + callSite[2];
250
+ return relative2(basePath, callSite[0]) + ":" + callSite[1] + ":" + callSite[2];
251
251
  }
252
252
  __name(formatLocation, "formatLocation");
253
253
  function getStack() {
@@ -4731,10 +4731,10 @@ var require_raw_body = __commonJS({
4731
4731
  if (done) {
4732
4732
  return readStream(stream, encoding, length, limit, wrap(done));
4733
4733
  }
4734
- return new Promise(/* @__PURE__ */ __name(function executor(resolve, reject) {
4734
+ return new Promise(/* @__PURE__ */ __name(function executor(resolve2, reject) {
4735
4735
  readStream(stream, encoding, length, limit, /* @__PURE__ */ __name(function onRead(err, buf) {
4736
4736
  if (err) return reject(err);
4737
- resolve(buf);
4737
+ resolve2(buf);
4738
4738
  }, "onRead"));
4739
4739
  }, "executor"));
4740
4740
  }
@@ -10207,11 +10207,11 @@ var require_view = __commonJS({
10207
10207
  var debug = require_src()("express:view");
10208
10208
  var path2 = __require("node:path");
10209
10209
  var fs = __require("node:fs");
10210
- var dirname2 = path2.dirname;
10211
- var basename2 = path2.basename;
10210
+ var dirname3 = path2.dirname;
10211
+ var basename3 = path2.basename;
10212
10212
  var extname = path2.extname;
10213
- var join2 = path2.join;
10214
- var resolve = path2.resolve;
10213
+ var join3 = path2.join;
10214
+ var resolve2 = path2.resolve;
10215
10215
  module.exports = View;
10216
10216
  function View(name, options) {
10217
10217
  var opts = options || {};
@@ -10246,9 +10246,9 @@ var require_view = __commonJS({
10246
10246
  debug('lookup "%s"', name);
10247
10247
  for (var i = 0; i < roots.length && !path3; i++) {
10248
10248
  var root = roots[i];
10249
- var loc = resolve(root, name);
10250
- var dir = dirname2(loc);
10251
- var file = basename2(loc);
10249
+ var loc = resolve2(root, name);
10250
+ var dir = dirname3(loc);
10251
+ var file = basename3(loc);
10252
10252
  path3 = this.resolve(dir, file);
10253
10253
  }
10254
10254
  return path3;
@@ -10271,14 +10271,14 @@ var require_view = __commonJS({
10271
10271
  }, "onRender"));
10272
10272
  sync = false;
10273
10273
  }, "render");
10274
- View.prototype.resolve = /* @__PURE__ */ __name(function resolve2(dir, file) {
10274
+ View.prototype.resolve = /* @__PURE__ */ __name(function resolve3(dir, file) {
10275
10275
  var ext = this.ext;
10276
- var path3 = join2(dir, file);
10276
+ var path3 = join3(dir, file);
10277
10277
  var stat = tryStat(path3);
10278
10278
  if (stat && stat.isFile()) {
10279
10279
  return path3;
10280
10280
  }
10281
- path3 = join2(dir, basename2(file, ext), "index" + ext);
10281
+ path3 = join3(dir, basename3(file, ext), "index" + ext);
10282
10282
  stat = tryStat(path3);
10283
10283
  if (stat && stat.isFile()) {
10284
10284
  return path3;
@@ -12515,7 +12515,7 @@ var require_application = __commonJS({
12515
12515
  var compileETag = require_utils2().compileETag;
12516
12516
  var compileQueryParser = require_utils2().compileQueryParser;
12517
12517
  var compileTrust = require_utils2().compileTrust;
12518
- var resolve = __require("node:path").resolve;
12518
+ var resolve2 = __require("node:path").resolve;
12519
12519
  var once = require_once();
12520
12520
  var Router = require_router();
12521
12521
  var slice = Array.prototype.slice;
@@ -12569,7 +12569,7 @@ var require_application = __commonJS({
12569
12569
  this.mountpath = "/";
12570
12570
  this.locals.settings = this.settings;
12571
12571
  this.set("view", View);
12572
- this.set("views", resolve("views"));
12572
+ this.set("views", resolve2("views"));
12573
12573
  this.set("jsonp callback name", "callback");
12574
12574
  if (env === "production") {
12575
12575
  this.enable("view cache");
@@ -13761,9 +13761,9 @@ var require_content_disposition = __commonJS({
13761
13761
  if (typeof fallback === "string" && NON_LATIN1_REGEXP.test(fallback)) {
13762
13762
  throw new TypeError("fallback must be ISO-8859-1 string");
13763
13763
  }
13764
- var name = basename2(filename);
13764
+ var name = basename3(filename);
13765
13765
  var isQuotedString = TEXT_REGEXP.test(name);
13766
- var fallbackName = typeof fallback !== "string" ? fallback && getlatin1(name) : basename2(fallback);
13766
+ var fallbackName = typeof fallback !== "string" ? fallback && getlatin1(name) : basename3(fallback);
13767
13767
  var hasFallback = typeof fallbackName === "string" && fallbackName !== name;
13768
13768
  if (hasFallback || !isQuotedString || hasHexEscape(name)) {
13769
13769
  params["filename*"] = name;
@@ -13892,7 +13892,7 @@ var require_content_disposition = __commonJS({
13892
13892
  this.parameters = parameters;
13893
13893
  }
13894
13894
  __name(ContentDisposition, "ContentDisposition");
13895
- function basename2(path2) {
13895
+ function basename3(path2) {
13896
13896
  const normalized = path2.replaceAll("\\", "/");
13897
13897
  let end = normalized.length;
13898
13898
  while (end > 0 && normalized[end - 1] === "/") {
@@ -13907,7 +13907,7 @@ var require_content_disposition = __commonJS({
13907
13907
  }
13908
13908
  return normalized.slice(start + 1, end);
13909
13909
  }
13910
- __name(basename2, "basename");
13910
+ __name(basename3, "basename");
13911
13911
  function isHexDigit(char) {
13912
13912
  const code = char.charCodeAt(0);
13913
13913
  return code >= 48 && code <= 57 || // 0-9
@@ -14158,9 +14158,9 @@ var require_send = __commonJS({
14158
14158
  var Stream = __require("stream");
14159
14159
  var util = __require("util");
14160
14160
  var extname = path2.extname;
14161
- var join2 = path2.join;
14161
+ var join3 = path2.join;
14162
14162
  var normalize = path2.normalize;
14163
- var resolve = path2.resolve;
14163
+ var resolve2 = path2.resolve;
14164
14164
  var sep = path2.sep;
14165
14165
  var BYTES_RANGE_REGEXP = /^ *bytes=/;
14166
14166
  var MAX_MAXAGE = 60 * 60 * 24 * 365 * 1e3;
@@ -14190,7 +14190,7 @@ var require_send = __commonJS({
14190
14190
  this._maxage = opts.maxAge || opts.maxage;
14191
14191
  this._maxage = typeof this._maxage === "string" ? ms(this._maxage) : Number(this._maxage);
14192
14192
  this._maxage = !isNaN(this._maxage) ? Math.min(Math.max(0, this._maxage), MAX_MAXAGE) : 0;
14193
- this._root = opts.root ? resolve(opts.root) : null;
14193
+ this._root = opts.root ? resolve2(opts.root) : null;
14194
14194
  }
14195
14195
  __name(SendStream, "SendStream");
14196
14196
  util.inherits(SendStream, Stream);
@@ -14332,7 +14332,7 @@ var require_send = __commonJS({
14332
14332
  return res;
14333
14333
  }
14334
14334
  parts = path3.split(sep);
14335
- path3 = normalize(join2(root, path3));
14335
+ path3 = normalize(join3(root, path3));
14336
14336
  } else {
14337
14337
  if (UP_PATH_REGEXP.test(path3)) {
14338
14338
  debug('malicious path "%s"', path3);
@@ -14340,7 +14340,7 @@ var require_send = __commonJS({
14340
14340
  return res;
14341
14341
  }
14342
14342
  parts = normalize(path3).split(sep);
14343
- path3 = resolve(path3);
14343
+ path3 = resolve2(path3);
14344
14344
  }
14345
14345
  if (containsDotFile(parts)) {
14346
14346
  debug('%s dotfile "%s"', this._dotfiles, path3);
@@ -14466,7 +14466,7 @@ var require_send = __commonJS({
14466
14466
  if (err) return self.onStatError(err);
14467
14467
  return self.error(404);
14468
14468
  }
14469
- var p = join2(path3, self._index[i]);
14469
+ var p = join3(path3, self._index[i]);
14470
14470
  debug('stat "%s"', p);
14471
14471
  fs.stat(p, function(err2, stat) {
14472
14472
  if (err2) return next(err2);
@@ -14738,7 +14738,7 @@ var require_response = __commonJS({
14738
14738
  var cookie = require_cookie();
14739
14739
  var send = require_send();
14740
14740
  var extname = path2.extname;
14741
- var resolve = path2.resolve;
14741
+ var resolve2 = path2.resolve;
14742
14742
  var vary = require_vary();
14743
14743
  var { Buffer: Buffer2 } = __require("node:buffer");
14744
14744
  var res = Object.create(http.ServerResponse.prototype);
@@ -14944,7 +14944,7 @@ var require_response = __commonJS({
14944
14944
  }
14945
14945
  opts = Object.create(opts);
14946
14946
  opts.headers = headers;
14947
- var fullPath = !opts.root ? resolve(path3) : path3;
14947
+ var fullPath = !opts.root ? resolve2(path3) : path3;
14948
14948
  return this.sendFile(fullPath, opts, done);
14949
14949
  }, "download");
14950
14950
  res.contentType = res.type = /* @__PURE__ */ __name(function contentType(type) {
@@ -15203,7 +15203,7 @@ var require_serve_static = __commonJS({
15203
15203
  var encodeUrl = require_encodeurl();
15204
15204
  var escapeHtml = require_escape_html();
15205
15205
  var parseUrl = require_parseurl();
15206
- var resolve = __require("path").resolve;
15206
+ var resolve2 = __require("path").resolve;
15207
15207
  var send = require_send();
15208
15208
  var url = __require("url");
15209
15209
  module.exports = serveStatic;
@@ -15222,7 +15222,7 @@ var require_serve_static = __commonJS({
15222
15222
  throw new TypeError("option setHeaders must be function");
15223
15223
  }
15224
15224
  opts.maxage = opts.maxage || opts.maxAge || 0;
15225
- opts.root = resolve(root);
15225
+ opts.root = resolve2(root);
15226
15226
  var onDirectory = redirect ? createRedirectDirectoryListener() : createNotFoundDirectoryListener();
15227
15227
  return /* @__PURE__ */ __name(function serveStatic2(req, res, next) {
15228
15228
  if (req.method !== "GET" && req.method !== "HEAD") {
@@ -15564,7 +15564,7 @@ var DeviceFlowRegistry = class {
15564
15564
  let startTimer;
15565
15565
  try {
15566
15566
  startResult = await new Promise(
15567
- (resolve, reject) => {
15567
+ (resolve2, reject) => {
15568
15568
  startTimer = this.schedule(DEVICE_FLOW_START_TIMEOUT_MS, () => {
15569
15569
  try {
15570
15570
  cancelController.abort(new Error("device-flow start timeout"));
@@ -15576,7 +15576,7 @@ var DeviceFlowRegistry = class {
15576
15576
  )
15577
15577
  );
15578
15578
  });
15579
- provider.start({ signal: cancelController.signal }).then(resolve, reject);
15579
+ provider.start({ signal: cancelController.signal }).then(resolve2, reject);
15580
15580
  }
15581
15581
  );
15582
15582
  } finally {
@@ -15728,7 +15728,7 @@ var DeviceFlowRegistry = class {
15728
15728
  let pollTimer;
15729
15729
  let providerPollPromise;
15730
15730
  try {
15731
- result = await new Promise((resolve, reject) => {
15731
+ result = await new Promise((resolve2, reject) => {
15732
15732
  pollTimer = this.schedule(DEVICE_FLOW_POLL_TIMEOUT_MS, () => {
15733
15733
  const timeoutError = makeRegistryPollTimeoutError(
15734
15734
  DEVICE_FLOW_POLL_TIMEOUT_MS
@@ -15746,7 +15746,7 @@ var DeviceFlowRegistry = class {
15746
15746
  },
15747
15747
  { signal: entry.cancelController.signal }
15748
15748
  );
15749
- providerPollPromise.then(resolve, reject);
15749
+ providerPollPromise.then(resolve2, reject);
15750
15750
  });
15751
15751
  } catch (err) {
15752
15752
  if (err instanceof DeviceFlowPollTimeoutError && err._isRegistryTimeout === true) {
@@ -15862,7 +15862,7 @@ var DeviceFlowRegistry = class {
15862
15862
  );
15863
15863
  if (persistError === void 0) {
15864
15864
  try {
15865
- metadata = await new Promise((resolve, reject) => {
15865
+ metadata = await new Promise((resolve2, reject) => {
15866
15866
  persistTimer = this.schedule(
15867
15867
  DEVICE_FLOW_PERSIST_TIMEOUT_MS,
15868
15868
  () => {
@@ -15874,7 +15874,7 @@ var DeviceFlowRegistry = class {
15874
15874
  reject(new Error("persist timeout"));
15875
15875
  }
15876
15876
  );
15877
- persistTracker.then(resolve, reject);
15877
+ persistTracker.then(resolve2, reject);
15878
15878
  });
15879
15879
  } catch (err) {
15880
15880
  persistError = err;
@@ -16199,8 +16199,8 @@ var PathMutexRegistry = class {
16199
16199
  async runExclusive(key, fn) {
16200
16200
  const previous = this.tails.get(key) ?? Promise.resolve();
16201
16201
  let release;
16202
- const current = new Promise((resolve) => {
16203
- release = resolve;
16202
+ const current = new Promise((resolve2) => {
16203
+ release = resolve2;
16204
16204
  });
16205
16205
  const tail = previous.catch(() => void 0).then(() => current);
16206
16206
  this.tails.set(key, tail);
@@ -16790,10 +16790,12 @@ var SERVE_CAPABILITY_REGISTRY = {
16790
16790
  multi_workspace_session_rewind: { since: "v1" },
16791
16791
  // Singular session shell routes resolve the owning live workspace runtime.
16792
16792
  multi_workspace_session_shell: { since: "v1" },
16793
+ dynamic_workspace_registration: { since: "v1" },
16793
16794
  persistent_workspace_registration: { since: "v1" },
16794
16795
  // Optional presentation-only names and updates to those names for workspace
16795
16796
  // runtimes. Workspace ids and canonical paths remain the routing identities.
16796
16797
  workspace_display_name: { since: "v1" },
16798
+ scratch_workspace_registration: { since: "v1" },
16797
16799
  workspace_runtime_removal: { since: "v1" },
16798
16800
  // Workspace-qualified core REST routes under `/workspaces/:workspace/...`.
16799
16801
  // Covers core file/status/permissions/trust/lifecycle/MCP/tool, memory,
@@ -16911,10 +16913,18 @@ var CONDITIONAL_SERVE_FEATURES = /* @__PURE__ */ new Map([
16911
16913
  "multi_workspace_session_shell",
16912
16914
  (toggles) => toggles.multiWorkspaceSessionsEnabled === true && toggles.sessionShellCommandEnabled === true
16913
16915
  ],
16916
+ [
16917
+ "dynamic_workspace_registration",
16918
+ (toggles) => toggles.dynamicWorkspaceRegistrationAvailable === true
16919
+ ],
16914
16920
  [
16915
16921
  "persistent_workspace_registration",
16916
16922
  (toggles) => toggles.persistentWorkspaceRegistrationAvailable === true
16917
16923
  ],
16924
+ [
16925
+ "scratch_workspace_registration",
16926
+ (toggles) => toggles.scratchWorkspaceRegistrationAvailable === true
16927
+ ],
16918
16928
  [
16919
16929
  "workspace_runtime_removal",
16920
16930
  (toggles) => toggles.workspaceRuntimeRemovalAvailable === true
@@ -16981,6 +16991,93 @@ __name(getServeProtocolVersions, "getServeProtocolVersions");
16981
16991
  init_esbuild_shims();
16982
16992
  var CAPABILITIES_SCHEMA_VERSION = 1;
16983
16993
 
16994
+ // packages/cli/src/serve/managed-scratch-workspace.ts
16995
+ init_esbuild_shims();
16996
+ import { lstatSync, mkdirSync, realpathSync } from "node:fs";
16997
+ import { lstat, mkdtemp } from "node:fs/promises";
16998
+ import {
16999
+ basename as basename2,
17000
+ dirname as dirname2,
17001
+ isAbsolute,
17002
+ join as join2,
17003
+ relative,
17004
+ resolve
17005
+ } from "node:path";
17006
+ var isSamePath = /* @__PURE__ */ __name((left, right) => process.platform === "win32" ? left.toLowerCase() === right.toLowerCase() : left === right, "isSamePath");
17007
+ var isWithinRoot = /* @__PURE__ */ __name((candidate, root) => {
17008
+ const rel = relative(root, candidate);
17009
+ return rel.length > 0 && !rel.startsWith("..") && !isAbsolute(rel);
17010
+ }, "isWithinRoot");
17011
+ function isManagedScratchChild(canonicalCwd, canonicalRoot) {
17012
+ return isSamePath(dirname2(canonicalCwd), canonicalRoot) && /^scratch-.+/.test(basename2(canonicalCwd));
17013
+ }
17014
+ __name(isManagedScratchChild, "isManagedScratchChild");
17015
+ function isScratchRootCompatible(canonicalCwd, canonicalRoot) {
17016
+ if (isSamePath(canonicalCwd, canonicalRoot)) return false;
17017
+ if (isManagedScratchChild(canonicalCwd, canonicalRoot)) return true;
17018
+ return !isWithinRoot(canonicalCwd, canonicalRoot) && !isWithinRoot(canonicalRoot, canonicalCwd);
17019
+ }
17020
+ __name(isScratchRootCompatible, "isScratchRootCompatible");
17021
+ function validateRootStats(stats) {
17022
+ if (stats.isSymbolicLink() || !stats.isDirectory()) {
17023
+ throw new Error("Managed scratch root must be a non-symlink directory");
17024
+ }
17025
+ if (process.platform !== "win32" && typeof process.getuid === "function" && stats.uid !== process.getuid()) {
17026
+ throw new Error("Managed scratch root must be owned by the daemon user");
17027
+ }
17028
+ if (process.platform !== "win32" && (stats.mode & 63) !== 0) {
17029
+ throw new Error(
17030
+ "Managed scratch root must be accessible only to its owner"
17031
+ );
17032
+ }
17033
+ }
17034
+ __name(validateRootStats, "validateRootStats");
17035
+ function prepareManagedScratchRoot(root, startupWorkspaceCwds) {
17036
+ mkdirSync(root, { recursive: true, mode: 448 });
17037
+ const before = lstatSync(root);
17038
+ validateRootStats(before);
17039
+ const canonicalRoot = realpathSync.native(resolve(root));
17040
+ const after = lstatSync(canonicalRoot);
17041
+ validateRootStats(after);
17042
+ if (before.dev !== after.dev || before.ino !== after.ino) {
17043
+ throw new Error("Managed scratch root identity changed during validation");
17044
+ }
17045
+ if (startupWorkspaceCwds.some(
17046
+ (cwd) => !isScratchRootCompatible(cwd, canonicalRoot)
17047
+ )) {
17048
+ throw new Error("Managed scratch root conflicts with a startup workspace");
17049
+ }
17050
+ return {
17051
+ canonicalRoot,
17052
+ device: after.dev,
17053
+ inode: after.ino
17054
+ };
17055
+ }
17056
+ __name(prepareManagedScratchRoot, "prepareManagedScratchRoot");
17057
+ async function revalidateManagedScratchRoot(root) {
17058
+ const stats = await lstat(root.canonicalRoot);
17059
+ validateRootStats(stats);
17060
+ if (stats.dev !== root.device || stats.ino !== root.inode) {
17061
+ throw new Error("Managed scratch root identity changed");
17062
+ }
17063
+ const canonical = realpathSync.native(root.canonicalRoot);
17064
+ if (!isSamePath(canonical, root.canonicalRoot)) {
17065
+ throw new Error("Managed scratch root canonical path changed");
17066
+ }
17067
+ }
17068
+ __name(revalidateManagedScratchRoot, "revalidateManagedScratchRoot");
17069
+ async function createManagedScratchDirectory(root) {
17070
+ await revalidateManagedScratchRoot(root);
17071
+ const created = await mkdtemp(join2(root.canonicalRoot, "scratch-"));
17072
+ const canonical = realpathSync.native(created);
17073
+ if (!isManagedScratchChild(canonical, root.canonicalRoot)) {
17074
+ throw new Error("Managed scratch directory escaped its accepted root");
17075
+ }
17076
+ await revalidateManagedScratchRoot(root);
17077
+ return canonical;
17078
+ }
17079
+ __name(createManagedScratchDirectory, "createManagedScratchDirectory");
17080
+
16984
17081
  // packages/cli/src/serve/server/request-helpers.ts
16985
17082
  init_esbuild_shims();
16986
17083
  function sendJsonBodyParserError(res, err) {
@@ -18219,19 +18316,19 @@ var WorkspaceVoiceCoordinator = class {
18219
18316
  return;
18220
18317
  }
18221
18318
  let resolveIdle;
18222
- const idle = new Promise((resolve) => {
18223
- resolveIdle = resolve;
18224
- state.idleWaiters.add(resolve);
18319
+ const idle = new Promise((resolve2) => {
18320
+ resolveIdle = resolve2;
18321
+ state.idleWaiters.add(resolve2);
18225
18322
  });
18226
18323
  let timeout;
18227
18324
  let timedOut = false;
18228
18325
  try {
18229
18326
  await Promise.race([
18230
18327
  idle,
18231
- new Promise((resolve) => {
18328
+ new Promise((resolve2) => {
18232
18329
  timeout = setTimeout(() => {
18233
18330
  timedOut = true;
18234
- resolve();
18331
+ resolve2();
18235
18332
  }, DISPOSE_WAIT_MS);
18236
18333
  timeout.unref?.();
18237
18334
  })
@@ -18265,7 +18362,7 @@ var WorkspaceVoiceCoordinator = class {
18265
18362
  if (!state || !state.leases.delete(lease)) return;
18266
18363
  this.active--;
18267
18364
  if (state.leases.size === 0) {
18268
- for (const resolve of state.idleWaiters) resolve();
18365
+ for (const resolve2 of state.idleWaiters) resolve2();
18269
18366
  state.idleWaiters.clear();
18270
18367
  }
18271
18368
  this.deleteIfIdle(runtime, state);
@@ -18434,6 +18531,10 @@ export {
18434
18531
  getAdvertisedServeFeatures,
18435
18532
  getServeProtocolVersions,
18436
18533
  CAPABILITIES_SCHEMA_VERSION,
18534
+ isManagedScratchChild,
18535
+ isScratchRootCompatible,
18536
+ prepareManagedScratchRoot,
18537
+ createManagedScratchDirectory,
18437
18538
  sendJsonBodyParserError,
18438
18539
  CLIENT_ID_HEADER,
18439
18540
  MAX_CLIENT_ID_LENGTH,
@@ -2,13 +2,13 @@
2
2
  "use strict";
3
3
  import {
4
4
  useKeypress
5
- } from "./chunk-Q2V2ADXF.js";
5
+ } from "./chunk-FTNI3D7D.js";
6
6
  import {
7
7
  require_react
8
8
  } from "./chunk-5QWWOFGG.js";
9
9
  import {
10
10
  t
11
- } from "./chunk-WCFTQD7H.js";
11
+ } from "./chunk-YLSB23Y2.js";
12
12
  import {
13
13
  APPROVAL_MODES
14
14
  } from "./chunk-WHGVTP7Q.js";