@qwen-code/qwen-code 0.20.1-preview.7215 → 0.20.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 (326) hide show
  1. package/bundled/qc-helper/docs/configuration/settings.md +1 -1
  2. package/bundled/qc-helper/docs/features/auto-mode.md +19 -16
  3. package/bundled/qc-helper/docs/features/commands.md +54 -0
  4. package/bundled/qc-helper/docs/features/sub-agents.md +16 -7
  5. package/bundled/qc-helper/docs/integration-github-action.md +10 -10
  6. package/bundled/qc-helper/docs/qwen-serve.md +2 -1
  7. package/bundled/review/DESIGN.md +2 -2
  8. package/bundled/review/SKILL.md +4 -4
  9. package/chunks/{MaxSizedBox-EH6G5AEH.js → MaxSizedBox-4WZYPSRU.js} +40 -36
  10. package/chunks/{StandaloneSessionPicker-264A3TEA.js → StandaloneSessionPicker-PE4JAIFA.js} +58 -54
  11. package/chunks/{acpAgent-6RBIJFDI.js → acpAgent-BVIKGJ2C.js} +1503 -520
  12. package/chunks/{agent-QURXGAA3.js → agent-DHLFAOUV.js} +36 -32
  13. package/chunks/{agent-headless-CRGX4ICQ.js → agent-headless-ZP5WTNXZ.js} +36 -32
  14. package/chunks/{anthropicContentGenerator-BWBAZGTW.js → anthropicContentGenerator-NMSS7IMV.js} +11 -11
  15. package/chunks/{artifact-tool-IUJ7QWCX.js → artifact-tool-56T5IMBP.js} +3 -3
  16. package/chunks/{askUserQuestion-IUMUUTDQ.js → askUserQuestion-E25OBIC2.js} +3 -3
  17. package/chunks/{bridge-MNFVKPMI.js → bridge-XAK7JKMD.js} +41 -37
  18. package/chunks/{build-SSCNEHZZ.js → build-GHIZ4MSZ.js} +1 -1
  19. package/chunks/{ca-2SL2BXTK.js → ca-N6VVUFVB.js} +611 -201
  20. package/chunks/{channel-worker-group-53CMOPFT.js → channel-worker-group-LFBT7K64.js} +5 -5
  21. package/chunks/{channel-worker-manager-UTXILKC2.js → channel-worker-manager-3RUPERG2.js} +5 -5
  22. package/chunks/{channel-worker-supervisor-ZGO2W2MD.js → channel-worker-supervisor-A3KVATD3.js} +4 -4
  23. package/chunks/{chunk-IUSNI6IX.js → chunk-27CLX4FV.js} +1 -1
  24. package/chunks/{chunk-2HOVDT7W.js → chunk-2LI23QA6.js} +1 -1
  25. package/chunks/chunk-2RFKHEXL.js +74 -0
  26. package/chunks/{chunk-LZYWWWCZ.js → chunk-3KQSDUK3.js} +3 -3
  27. package/chunks/{chunk-NOWTNYC7.js → chunk-3LH5Q2AR.js} +8 -8
  28. package/chunks/{chunk-IB35C3IL.js → chunk-3SXF4GMQ.js} +1 -1
  29. package/chunks/chunk-43T5WDQ7.js +127 -0
  30. package/chunks/{chunk-KXEGCGUG.js → chunk-4BRH6FP5.js} +31 -6
  31. package/chunks/{chunk-TTSKHF43.js → chunk-4DSBFQMI.js} +2 -2
  32. package/chunks/{chunk-JD3MKVKL.js → chunk-4K56OJFJ.js} +1 -1
  33. package/chunks/{chunk-KTUQMDEP.js → chunk-4K7VDKAD.js} +1 -1
  34. package/chunks/{chunk-QKYTTBYW.js → chunk-4LVZNIDO.js} +1 -1
  35. package/chunks/{chunk-OF2BBLYQ.js → chunk-52T5UHAZ.js} +2 -2
  36. package/chunks/{chunk-ZEOZL37W.js → chunk-57FIIFJN.js} +1 -1
  37. package/chunks/{chunk-WAX3ITOA.js → chunk-5EA5NVXS.js} +1 -1
  38. package/chunks/chunk-5G2SK2OO.js +20600 -0
  39. package/chunks/{chunk-6EFTQYW7.js → chunk-5I5BM454.js} +1 -1
  40. package/chunks/{chunk-GMGDLUC7.js → chunk-6IL7KRLE.js} +1 -1
  41. package/chunks/{chunk-26LLB6FM.js → chunk-6NHK6HS7.js} +2 -2
  42. package/chunks/{chunk-FVS747N7.js → chunk-6PRNSLMB.js} +11 -6
  43. package/chunks/chunk-6PVPNMXU.js +29 -0
  44. package/chunks/{chunk-BDBMYST4.js → chunk-6X4GWOPW.js} +1 -1
  45. package/chunks/{chunk-4ODB7WIB.js → chunk-6ZBPS62S.js} +1 -1
  46. package/chunks/{chunk-E5GIFWE3.js → chunk-766HLFAG.js} +54 -33
  47. package/chunks/{chunk-SDXIH6OA.js → chunk-76OFFG6L.js} +137 -5
  48. package/chunks/{chunk-ANHT55MR.js → chunk-7LH6CHKG.js} +1 -1
  49. package/chunks/{chunk-Y4CRUWFZ.js → chunk-7NDXG4MB.js} +60 -35
  50. package/chunks/{chunk-KPZNOZPC.js → chunk-7SWFAKVH.js} +22 -22
  51. package/chunks/{chunk-AYCDXHZB.js → chunk-7Z6JQEL6.js} +1 -1
  52. package/chunks/{chunk-5NWV4NFB.js → chunk-AZD6KAV7.js} +3 -3
  53. package/chunks/{chunk-7YBZGNEC.js → chunk-BKZEHVPV.js} +176 -168
  54. package/chunks/{chunk-WXAXH7IJ.js → chunk-BWQRDISK.js} +1 -1
  55. package/chunks/{chunk-X4CGDBKA.js → chunk-BZAEENUV.js} +3 -3
  56. package/chunks/{chunk-BF32GYSY.js → chunk-CHXKGIMK.js} +1 -1
  57. package/chunks/{chunk-4SLLEAQP.js → chunk-D53NR4GO.js} +562 -301
  58. package/chunks/{chunk-FLTN6NRU.js → chunk-D6ZOVZLF.js} +5 -1
  59. package/chunks/{chunk-NBMIC7DR.js → chunk-D7WXIW7H.js} +4 -4
  60. package/chunks/{chunk-MKLKHZAK.js → chunk-DPRMI6NU.js} +1 -1
  61. package/chunks/{chunk-AR27OPIU.js → chunk-DRIXALGM.js} +2 -2
  62. package/chunks/{chunk-5SCI6E3E.js → chunk-E4IMU4Y5.js} +1 -1
  63. package/chunks/{chunk-Z5Q65RVH.js → chunk-EC2ET5ZZ.js} +1 -1
  64. package/chunks/{chunk-B453NMZJ.js → chunk-EFIOE2EH.js} +3 -3
  65. package/chunks/{chunk-OKWRU4NO.js → chunk-EWXXMRMP.js} +3 -3
  66. package/chunks/{chunk-NEEB7UEN.js → chunk-FFFM6NJV.js} +1 -2
  67. package/chunks/{chunk-JVTCARQ6.js → chunk-G6LRTI62.js} +4 -4
  68. package/chunks/{chunk-6OH6A5EX.js → chunk-GEB2CGUV.js} +20262 -17752
  69. package/chunks/{chunk-OONJNQ42.js → chunk-GPSKDNEE.js} +3 -3
  70. package/chunks/{chunk-FNGK2Z5B.js → chunk-H4AR2JQF.js} +3 -3
  71. package/chunks/chunk-HTR4WV6U.js +327 -0
  72. package/chunks/chunk-IS2SBY6T.js +2256 -0
  73. package/chunks/{chunk-G45X5TRN.js → chunk-JCW2R7WC.js} +1 -72
  74. package/chunks/{chunk-6GUTHAN7.js → chunk-JHFVJQRO.js} +1 -1
  75. package/chunks/{chunk-IE4JSQ5L.js → chunk-JIBBZH37.js} +27 -23
  76. package/chunks/{chunk-UJEZQ562.js → chunk-JJEFX6U5.js} +3 -3
  77. package/chunks/{chunk-QOK6RMIP.js → chunk-JKFHJK5U.js} +4 -4
  78. package/chunks/{chunk-GA7VRJVN.js → chunk-JO7FGOSY.js} +5 -5
  79. package/chunks/{chunk-WOT64EP2.js → chunk-JTUAAVUT.js} +2 -2
  80. package/chunks/{chunk-MAQQGNQ5.js → chunk-JYS55H6Z.js} +66 -7
  81. package/chunks/{chunk-DA7OOKVN.js → chunk-KDPIV6WC.js} +29 -2
  82. package/chunks/{chunk-EIAK6Q2B.js → chunk-KHOVYUHX.js} +2 -2
  83. package/chunks/{chunk-OLMETXLX.js → chunk-KQQ757OQ.js} +2 -2
  84. package/chunks/{chunk-Z6UEAQTP.js → chunk-KSZZBDVD.js} +165 -48
  85. package/chunks/chunk-KWK7UE6L.js +6194 -0
  86. package/chunks/{chunk-OOCI5VVU.js → chunk-LIZRAKPB.js} +1 -1
  87. package/chunks/{chunk-VFAE4AGH.js → chunk-LPMBFOWH.js} +73 -68
  88. package/chunks/{chunk-IKP5DXZY.js → chunk-LYEKAAEH.js} +5 -5
  89. package/chunks/chunk-M7WBGLYP.js +151 -0
  90. package/chunks/{chunk-P2YAOGJD.js → chunk-MTSYH4MB.js} +3 -3
  91. package/chunks/{chunk-WKRXIHD6.js → chunk-N5ARKAVE.js} +8 -8
  92. package/chunks/chunk-NABLFI57.js +82 -0
  93. package/chunks/{chunk-CVDW42JT.js → chunk-NNFK277W.js} +1 -1
  94. package/chunks/{chunk-467G3SV5.js → chunk-NPQDJGKU.js} +1 -1
  95. package/chunks/chunk-OQ5SYCPE.js +10017 -0
  96. package/chunks/{chunk-C27BYUX6.js → chunk-OQB4EXO4.js} +14 -11
  97. package/chunks/{chunk-RELYEO3R.js → chunk-OUDZVU7H.js} +242 -1607
  98. package/chunks/{chunk-3EUZWNWA.js → chunk-PBED7USE.js} +1 -1
  99. package/chunks/{chunk-WBTZGWQ6.js → chunk-PIHKWN7M.js} +1 -1
  100. package/chunks/{chunk-XNP57UDV.js → chunk-PPIHLGNE.js} +2 -2
  101. package/chunks/{chunk-Q4RBU7WX.js → chunk-PSVSP2OS.js} +6 -6
  102. package/chunks/{chunk-BRXIO5WY.js → chunk-Q2V2ADXF.js} +7 -7
  103. package/chunks/{chunk-JDI67JFB.js → chunk-Q2YKNMLS.js} +3 -3
  104. package/chunks/{chunk-BAIEQKR5.js → chunk-Q3GGJDYN.js} +5 -5
  105. package/chunks/{chunk-PBATSWUQ.js → chunk-QBUDF33N.js} +1 -1
  106. package/chunks/{chunk-OMH3276Y.js → chunk-QD6BRERJ.js} +7 -7
  107. package/chunks/{chunk-Y2ENGUD6.js → chunk-QKTHJXCS.js} +1 -1
  108. package/chunks/{chunk-BVLROR2T.js → chunk-QLJUC7TG.js} +1 -1
  109. package/chunks/{chunk-UEY4AYUL.js → chunk-QNLNLENL.js} +2 -2
  110. package/chunks/{chunk-7KDI2IB2.js → chunk-QSJ6JIF5.js} +4 -4
  111. package/chunks/{chunk-Q3ZBFXK4.js → chunk-QUHJRRUA.js} +126 -30
  112. package/chunks/{chunk-N6YTEVLV.js → chunk-R3BCL5XW.js} +10 -4
  113. package/chunks/{chunk-EVSTCA7S.js → chunk-R7MPKABX.js} +307 -86
  114. package/chunks/{chunk-RFIAR4YL.js → chunk-RV4C2ZFG.js} +1 -1
  115. package/chunks/{chunk-NIJEXGV6.js → chunk-RVLZCXEE.js} +79 -10
  116. package/chunks/{chunk-T7DDD7CZ.js → chunk-RYSMKY43.js} +4 -4
  117. package/chunks/{chunk-MC2DOZS7.js → chunk-S3YQCNJE.js} +3 -3
  118. package/chunks/{chunk-4WUAQ2DO.js → chunk-SP32MK6J.js} +2 -2
  119. package/chunks/{chunk-JNWZQ27S.js → chunk-SP5WRGVG.js} +3 -3
  120. package/chunks/{chunk-FSL5W5TI.js → chunk-T2L47JJK.js} +3 -3
  121. package/chunks/{chunk-TB6UDU4T.js → chunk-THJNPLI4.js} +16 -16
  122. package/chunks/{chunk-TCKTNY66.js → chunk-TPR35HHZ.js} +6 -6
  123. package/chunks/{chunk-UQES76OO.js → chunk-TXRKCFWS.js} +6 -6
  124. package/chunks/chunk-U7ZFW55U.js +2098 -0
  125. package/chunks/{chunk-W7H223ZZ.js → chunk-UGYMA4EI.js} +1 -1
  126. package/chunks/{chunk-X6YQWCIJ.js → chunk-UH3WSE5L.js} +13 -1
  127. package/chunks/{chunk-R3VWUU2E.js → chunk-VYPFXUCB.js} +1 -1
  128. package/chunks/{chunk-2DXOIVUI.js → chunk-WCFTQD7H.js} +11 -11
  129. package/chunks/chunk-WHGVTP7Q.js +1049 -0
  130. package/chunks/{chunk-PWVTCGBP.js → chunk-WML6JOGQ.js} +31 -19
  131. package/chunks/{chunk-D2VIDMVM.js → chunk-X6N25LXS.js} +2 -2
  132. package/chunks/{chunk-Z5R4JMOL.js → chunk-X7XWGRDT.js} +4 -4
  133. package/chunks/chunk-XHATNRQA.js +1500 -0
  134. package/chunks/{chunk-V25Z5UUB.js → chunk-Y2DAH52F.js} +7 -6
  135. package/chunks/{chunk-S35ZDXOS.js → chunk-YM3SZTH4.js} +2 -1
  136. package/chunks/{chunk-GKY2OJ7R.js → chunk-ZHERRXZJ.js} +1 -1
  137. package/chunks/{computer-use-R7KA6UJ6.js → computer-use-MV4K6WJM.js} +41 -37
  138. package/chunks/{config-utils-6FXFJUYB.js → config-utils-WYUQ7II4.js} +3 -3
  139. package/chunks/{contextCommand-KAQQPHZ4.js → contextCommand-TQD36VNX.js} +38 -34
  140. package/chunks/{create-sub-session-X5RVIHCK.js → create-sub-session-AZ77LBL3.js} +3 -3
  141. package/chunks/{create-sub-session-TDPDBU4K.js → create-sub-session-JOW4BKMC.js} +36 -32
  142. package/chunks/{cron-create-AC5FFLN7.js → cron-create-KTWJM7QT.js} +5 -5
  143. package/chunks/{cron-delete-JEB3FAHA.js → cron-delete-2P3I5ULL.js} +5 -5
  144. package/chunks/{cron-list-NBYPCNIB.js → cron-list-PXDPGEDQ.js} +5 -5
  145. package/chunks/{daemon-RG2MAI6T.js → daemon-KLPTQIE4.js} +138 -81
  146. package/chunks/daemon-status-provider-TII4SMCZ.js +81 -0
  147. package/chunks/{de-I7ZIYXZC.js → de-4IBXM7CN.js} +5 -1
  148. package/chunks/{dist-2BHAYBKP.js → dist-HMU6CYS4.js} +2 -2
  149. package/chunks/{dist-AU7NQQRP.js → dist-OAV7LJGJ.js} +1 -1
  150. package/chunks/{dist-FUTEXY6A.js → dist-OMW6WDEO.js} +1 -1
  151. package/chunks/{dist-2MIU4UUH.js → dist-PJLG2XYX.js} +1 -1
  152. package/chunks/{dist-53PZYC5B.js → dist-UIFWIFRO.js} +2 -2
  153. package/chunks/{dist-WGTQO7F2.js → dist-XRYV6TJP.js} +65 -25
  154. package/chunks/{earlyInputCapture-WC7RI5HV.js → earlyInputCapture-2V57RG6H.js} +37 -33
  155. package/chunks/{edit-6MHKCJCM.js → edit-TTUH7PWR.js} +43 -41
  156. package/chunks/{en-XE34GKAA.js → en-USMCCJAJ.js} +5 -1
  157. package/chunks/{enter-worktree-O7VJ2E7A.js → enter-worktree-D4IVCXYB.js} +41 -37
  158. package/chunks/{enterPlanMode-5XYAALIO.js → enterPlanMode-WRUJTVYN.js} +47 -38
  159. package/chunks/{environment-LSKFNLBU.js → environment-SEPKXB2C.js} +38 -34
  160. package/chunks/{errors-ZFVCY6HG.js → errors-YSVGBLBU.js} +38 -34
  161. package/chunks/{exit-worktree-MYIK66T7.js → exit-worktree-MZ4JSSP6.js} +41 -37
  162. package/chunks/{exitPlanMode-7MBNU76O.js → exitPlanMode-HAZLSSOJ.js} +41 -37
  163. package/chunks/{fast-path-RNLIB64C.js → fast-path-EVBVIE2U.js} +4 -3
  164. package/chunks/{fast-path-settings-DAOVFADC.js → fast-path-settings-XB3CPUJT.js} +2 -2
  165. package/chunks/{fr-X7KDVZIY.js → fr-WVHEBDDB.js} +5 -1
  166. package/chunks/{gemini-WK5ISEAQ.js → gemini-APQ76464.js} +100 -95
  167. package/chunks/{geminiContentGenerator-NUJQBZBW.js → geminiContentGenerator-LB4MA2LI.js} +5 -5
  168. package/chunks/{getMachineId-bsd-EXV7SWPA.js → getMachineId-bsd-QFVLPUPT.js} +1 -1
  169. package/chunks/{getMachineId-darwin-IUOMFXU3.js → getMachineId-darwin-DGMQQE2E.js} +1 -1
  170. package/chunks/{getMachineId-linux-K7XJYFHL.js → getMachineId-linux-R4Z6CSWC.js} +1 -1
  171. package/chunks/{getMachineId-unsupported-EA5FDRJ6.js → getMachineId-unsupported-Z3SBVBUV.js} +1 -1
  172. package/chunks/{getMachineId-win-KBA6RAI5.js → getMachineId-win-SCK5UFDT.js} +1 -1
  173. package/chunks/{glob-7P6RYY4L.js → glob-LABYMYKG.js} +43 -39
  174. package/chunks/{grep-V3QHNP2J.js → grep-HKIKJCAS.js} +43 -39
  175. package/chunks/{handleAutoUpdate-AAQ6PL3E.js → handleAutoUpdate-RWAAL2UM.js} +40 -36
  176. package/chunks/{i18n-B7IO7WQT.js → i18n-ZUVDAJIJ.js} +37 -33
  177. package/chunks/{initializer-E5TIC3CW.js → initializer-7YUHIC36.js} +43 -39
  178. package/chunks/{installationInfo-XLPNAISK.js → installationInfo-DVEOMWDE.js} +39 -33
  179. package/chunks/{ja-2ICT3KXF.js → ja-KY4ROZTE.js} +5 -1
  180. package/chunks/{keychain-token-storage-DWRJMNH3.js → keychain-token-storage-6ACJDYIB.js} +3 -3
  181. package/chunks/list-WHCZSIR2.js +82 -0
  182. package/chunks/{loadedSettingsAdapter-X5BSC6CE.js → loadedSettingsAdapter-YCWN6AK3.js} +42 -38
  183. package/chunks/{loop-wakeup-HMHCT5GU.js → loop-wakeup-RNMRVA66.js} +6 -6
  184. package/chunks/{ls-IW5HYDG4.js → ls-J2ZI5XYK.js} +5 -5
  185. package/chunks/{lsp-4RL52YIZ.js → lsp-UMS3NUB5.js} +3 -3
  186. package/chunks/managed-npm-update-PG3463CJ.js +333 -0
  187. package/chunks/{mcp-4C4HWXAR.js → mcp-VLHDCKAN.js} +42 -38
  188. package/chunks/{monitor-3CJDNZB2.js → monitor-GG4F4YM6.js} +41 -37
  189. package/chunks/nonInteractiveCli-UYXYV4YX.js +133 -0
  190. package/chunks/{notebook-edit-MX366HCT.js → notebook-edit-US4VLN6Q.js} +44 -42
  191. package/chunks/{openaiContentGenerator-KRPNNJGZ.js → openaiContentGenerator-CVEDTMDB.js} +20 -18
  192. package/chunks/{pidfile-K7T2JLUJ.js → pidfile-QQ45OIOY.js} +37 -33
  193. package/chunks/{processUtils-YXL3VIBR.js → processUtils-3WMHLQE5.js} +2 -2
  194. package/chunks/{pt-JJ4XPIBP.js → pt-OK455PLH.js} +5 -1
  195. package/chunks/{qwenContentGenerator-GJVXFZ3U.js → qwenContentGenerator-Y2GRNYZQ.js} +42 -38
  196. package/chunks/{qwenOAuth2-UZTIBQLY.js → qwenOAuth2-J2X6E5VO.js} +18 -16
  197. package/chunks/{read-file-S5XQSYOW.js → read-file-C7Z266CU.js} +13 -11
  198. package/chunks/{read-mcp-resource-OIBCNIX7.js → read-mcp-resource-F6HYMDUY.js} +3 -3
  199. package/chunks/{record-artifact-HDMK4LHG.js → record-artifact-7GCFLDD7.js} +3 -3
  200. package/chunks/{resumeHistoryUtils-IKR6XD2S.js → resumeHistoryUtils-KBQWX77U.js} +43 -39
  201. package/chunks/{ripGrep-H65GRSQX.js → ripGrep-RW26MTQ3.js} +36 -32
  202. package/chunks/{ru-STR4KTW7.js → ru-7SPDGMGD.js} +5 -1
  203. package/chunks/{run-qwen-serve-7SKAQOAA.js → run-qwen-serve-MXFMOMEL.js} +104 -82
  204. package/chunks/{runtime-I2STBGPR.js → runtime-APNO3V6D.js} +48 -42
  205. package/chunks/{scheduler-6F7HETNO.js → scheduler-L6FYCGVO.js} +36 -32
  206. package/chunks/sdk-exporters-grpc-ETLH47EP.js +23214 -0
  207. package/chunks/sdk-exporters-http-IDGLRBGP.js +563 -0
  208. package/chunks/sdk-impl-5ESZBGJQ.js +9186 -0
  209. package/chunks/{send-message-WXVVK4DB.js → send-message-PYIJ2PZL.js} +6 -4
  210. package/chunks/{serve-4ATEWSEA.js → serve-6QBXDVWT.js} +42 -38
  211. package/chunks/{server-YPUPFV2O.js → server-5TJJEMVQ.js} +1006 -305
  212. package/chunks/{session-AZFIERIY.js → session-BWEUHKQB.js} +92 -176
  213. package/chunks/{settings-EFQHLTM3.js → settings-O7IUQNRR.js} +45 -41
  214. package/chunks/{shell-FWXWBJ4Q.js → shell-R5L4NQYY.js} +36 -32
  215. package/chunks/{skill-A634MNCD.js → skill-ITEOSNW6.js} +24 -20
  216. package/chunks/{spawnChannel-KKBGGR47.js → spawnChannel-E7NTWSGW.js} +38 -34
  217. package/chunks/{src-BVROLD6N.js → src-FFXGUTNL.js} +303 -237
  218. package/chunks/{standalone-update-ERLA3BDC.js → standalone-update-JCJOXW4P.js} +38 -34
  219. package/chunks/{startInteractiveUI-3VZ23WAY.js → startInteractiveUI-IJSBLZFO.js} +1057 -864
  220. package/chunks/{syntheticOutput-HCUFXSIA.js → syntheticOutput-H7RTI5KL.js} +4 -4
  221. package/chunks/{task-create-RIY5JTFC.js → task-create-7474AJJD.js} +10 -8
  222. package/chunks/{task-list-XBUCV3CO.js → task-list-633HGOIB.js} +6 -6
  223. package/chunks/{task-stop-QDFCCYR5.js → task-stop-MNUGHPIA.js} +3 -3
  224. package/chunks/{task-update-7PXKJQOI.js → task-update-66GQB5LI.js} +10 -8
  225. package/chunks/{team-create-ZZO7QFQ7.js → team-create-OVSZTJZO.js} +44 -40
  226. package/chunks/{team-delete-TNSSE2S5.js → team-delete-BB3CG3QF.js} +6 -6
  227. package/chunks/{team-plan-approval-3BZBJ46K.js → team-plan-approval-SLEVDLT5.js} +41 -37
  228. package/chunks/{theme-manager-FSFWNXFJ.js → theme-manager-V6ZQISHM.js} +37 -33
  229. package/chunks/{todoWrite-OMAIGB6V.js → todoWrite-KRAUN54W.js} +5 -5
  230. package/chunks/{tool-search-VYXAAIDW.js → tool-search-KYIF6C6E.js} +21 -17
  231. package/chunks/{total-session-admission-PSMLQICS.js → total-session-admission-EU77XTL7.js} +42 -38
  232. package/chunks/{trustedFolders-QA3RK2NV.js → trustedFolders-DDEF3ADH.js} +37 -33
  233. package/chunks/{update-relaunch-LNLZFX3J.js → update-relaunch-XEZTDP6K.js} +17 -17
  234. package/chunks/updateCheck-KZ5LZ545.js +89 -0
  235. package/chunks/{useAutoAcceptIndicator-DIWN27LT.js → useAutoAcceptIndicator-47EZERGQ.js} +47 -43
  236. package/chunks/{validateNonInterActiveAuth-LOEOFCAF.js → validateNonInterActiveAuth-J2DM4LWZ.js} +79 -75
  237. package/chunks/{version-HBF2VBLE.js → version-PN7WYXHP.js} +1 -1
  238. package/chunks/{web-fetch-BWGSD2BD.js → web-fetch-WRI5QRFR.js} +100 -42
  239. package/chunks/{web-search-OOHTCVR3.js → web-search-2HCXNAVX.js} +111 -60
  240. package/chunks/{workflow-LJAJBOR4.js → workflow-U5XBPGQZ.js} +48 -43
  241. package/chunks/workspace-providers-status-2T54GIJZ.js +79 -0
  242. package/chunks/{workspace-registration-store-4EHGQW4Y.js → workspace-registration-store-F3V4KBIW.js} +8 -2
  243. package/chunks/{workspace-registry-BKD7VC4Y.js → workspace-registry-U6QVZ5BU.js} +42 -38
  244. package/chunks/{workspace-service-75RHX6KR.js → workspace-service-734D36QD.js} +49 -45
  245. package/chunks/{workspace-skills-status-WBZBZI6A.js → workspace-skills-status-5ABUKOAQ.js} +43 -39
  246. package/chunks/write-file-CIH4I4CS.js +66 -0
  247. package/chunks/{zh-TW-4RR3YHNN.js → zh-TW-BM47YBFH.js} +5 -1
  248. package/chunks/{zh-6ANG2HTL.js → zh-WY5DWYZD.js} +5 -1
  249. package/cli-entry.js +164 -12
  250. package/cli.js +18 -11
  251. package/locales/ca.js +772 -203
  252. package/locales/de.js +8 -2
  253. package/locales/en.js +8 -2
  254. package/locales/fr.js +8 -2
  255. package/locales/ja.js +8 -2
  256. package/locales/pt.js +8 -2
  257. package/locales/ru.js +8 -2
  258. package/locales/zh-TW.js +8 -2
  259. package/locales/zh.js +8 -2
  260. package/package.json +3 -3
  261. package/web-shell/assets/{arc-Buk1besA.js → arc-ByltRugA.js} +1 -1
  262. package/web-shell/assets/{architectureDiagram-3BPJPVTR-B1aUKYDC.js → architectureDiagram-3BPJPVTR-CCRTto5d.js} +1 -1
  263. package/web-shell/assets/{blockDiagram-GPEHLZMM-CRTdg3Zx.js → blockDiagram-GPEHLZMM-Jfy36u1L.js} +1 -1
  264. package/web-shell/assets/{c4Diagram-AAUBKEIU-DFdRMp5g.js → c4Diagram-AAUBKEIU-4d5FfEZ0.js} +1 -1
  265. package/web-shell/assets/channel-4N2UIFcG.js +1 -0
  266. package/web-shell/assets/{chunk-2J33WTMH-4rYQdkEI.js → chunk-2J33WTMH-BPwxCEro.js} +1 -1
  267. package/web-shell/assets/{chunk-4BX2VUAB-Coi-pQJy.js → chunk-4BX2VUAB-jY7ZmJWY.js} +1 -1
  268. package/web-shell/assets/{chunk-55IACEB6-BtBjz02t.js → chunk-55IACEB6-C98HgCsS.js} +1 -1
  269. package/web-shell/assets/{chunk-727SXJPM-CGYOWorl.js → chunk-727SXJPM-cDu-ge-q.js} +1 -1
  270. package/web-shell/assets/{chunk-AQP2D5EJ-CH5AKhqx.js → chunk-AQP2D5EJ-BKdJwxXK.js} +1 -1
  271. package/web-shell/assets/{chunk-FMBD7UC4-Cd50-w85.js → chunk-FMBD7UC4-DnuxqwMu.js} +1 -1
  272. package/web-shell/assets/{chunk-ND2GUHAM-C2wF3KCK.js → chunk-ND2GUHAM-C4fZNPv0.js} +1 -1
  273. package/web-shell/assets/{chunk-QZHKN3VN-pCeRTaWi.js → chunk-QZHKN3VN-Cf4XWOmz.js} +1 -1
  274. package/web-shell/assets/classDiagram-4FO5ZUOK-Q4dYOtsh.js +1 -0
  275. package/web-shell/assets/classDiagram-v2-Q7XG4LA2-Q4dYOtsh.js +1 -0
  276. package/web-shell/assets/{cose-bilkent-S5V4N54A-B-_fAB6D.js → cose-bilkent-S5V4N54A-C82mFiqj.js} +1 -1
  277. package/web-shell/assets/{dagre-BM42HDAG-ChSPNHpL.js → dagre-BM42HDAG-Df8KACER.js} +1 -1
  278. package/web-shell/assets/{diagram-2AECGRRQ-BX7cFOF3.js → diagram-2AECGRRQ-EzNs7s_2.js} +1 -1
  279. package/web-shell/assets/{diagram-5GNKFQAL-BQUTW92n.js → diagram-5GNKFQAL-BRLNvreg.js} +1 -1
  280. package/web-shell/assets/{diagram-KO2AKTUF-BkYPh3e4.js → diagram-KO2AKTUF-2HLYHRjC.js} +1 -1
  281. package/web-shell/assets/{diagram-LMA3HP47-Cl6jsNyx.js → diagram-LMA3HP47-DeH0NzSp.js} +1 -1
  282. package/web-shell/assets/{diagram-OG6HWLK6-DRWoHz8n.js → diagram-OG6HWLK6-k5Gn47-G.js} +1 -1
  283. package/web-shell/assets/{erDiagram-TEJ5UH35-CGvFcZco.js → erDiagram-TEJ5UH35-gPHFo79f.js} +1 -1
  284. package/web-shell/assets/{flowDiagram-I6XJVG4X-vms6oVdv.js → flowDiagram-I6XJVG4X-DYBOiTRW.js} +1 -1
  285. package/web-shell/assets/{ganttDiagram-6RSMTGT7-ukT_sfmi.js → ganttDiagram-6RSMTGT7-cxjAuic9.js} +1 -1
  286. package/web-shell/assets/{gitGraphDiagram-PVQCEYII-Bn2ZE2Ut.js → gitGraphDiagram-PVQCEYII-3nPqpmCP.js} +1 -1
  287. package/web-shell/assets/index-B7jzUZ_s.css +5 -0
  288. package/web-shell/assets/{index-wFXp7W68.js → index-Cl8d-1bK.js} +1 -1
  289. package/web-shell/assets/index-gE8OWwj_.js +1197 -0
  290. package/web-shell/assets/{infoDiagram-5YYISTIA-DHJdSi7x.js → infoDiagram-5YYISTIA-Dph21pR5.js} +1 -1
  291. package/web-shell/assets/{ishikawaDiagram-YF4QCWOH-DOvd2Wph.js → ishikawaDiagram-YF4QCWOH-Cjg1hSaG.js} +1 -1
  292. package/web-shell/assets/{journeyDiagram-JHISSGLW-CH_urMCT.js → journeyDiagram-JHISSGLW-CR-IzvnU.js} +1 -1
  293. package/web-shell/assets/{kanban-definition-UN3LZRKU-FKiBdgbH.js → kanban-definition-UN3LZRKU-BYmuybuC.js} +1 -1
  294. package/web-shell/assets/{linear-0ZVQFVKf.js → linear-CngEEoy8.js} +1 -1
  295. package/web-shell/assets/{mermaid.core-DJ05ZZIK.js → mermaid.core-G6fbZRPf.js} +5 -5
  296. package/web-shell/assets/{mindmap-definition-RKZ34NQL-BPuUhkUm.js → mindmap-definition-RKZ34NQL-BtnqnUwJ.js} +1 -1
  297. package/web-shell/assets/{pieDiagram-4H26LBE5-yLFKcXyG.js → pieDiagram-4H26LBE5-XTq6UHIA.js} +1 -1
  298. package/web-shell/assets/{quadrantDiagram-W4KKPZXB-irWqc1pE.js → quadrantDiagram-W4KKPZXB-D1J5PrsS.js} +1 -1
  299. package/web-shell/assets/{requirementDiagram-4Y6WPE33-B_4uMoIV.js → requirementDiagram-4Y6WPE33-CLcBUy3t.js} +1 -1
  300. package/web-shell/assets/{sankeyDiagram-5OEKKPKP-ciA4GPwk.js → sankeyDiagram-5OEKKPKP-iwKV02_6.js} +1 -1
  301. package/web-shell/assets/{sequenceDiagram-3UESZ5HK-CRdZvy0U.js → sequenceDiagram-3UESZ5HK-7NFYQcEX.js} +1 -1
  302. package/web-shell/assets/{stateDiagram-AJRCARHV-DaYIkCCn.js → stateDiagram-AJRCARHV-Bvm4Wih6.js} +1 -1
  303. package/web-shell/assets/stateDiagram-v2-BHNVJYJU-xXU_zO2Z.js +1 -0
  304. package/web-shell/assets/{timeline-definition-PNZ67QCA-oBUKv6iH.js → timeline-definition-PNZ67QCA-B4FZFE9O.js} +1 -1
  305. package/web-shell/assets/{vennDiagram-CIIHVFJN-CGW9Sdmb.js → vennDiagram-CIIHVFJN-CvMBpmtL.js} +1 -1
  306. package/web-shell/assets/{wardley-L42UT6IY-CvwKJOCm.js → wardley-L42UT6IY-E3ag2327.js} +1 -1
  307. package/web-shell/assets/{wardleyDiagram-YWT4CUSO-Ipc260sN.js → wardleyDiagram-YWT4CUSO-BEXWlgxC.js} +1 -1
  308. package/web-shell/assets/{xychartDiagram-2RQKCTM6-D6-CM7pK.js → xychartDiagram-2RQKCTM6-CICK05gI.js} +1 -1
  309. package/web-shell/index.html +2 -2
  310. package/chunks/chunk-ETD6K42I.js +0 -358
  311. package/chunks/chunk-I5NLVPZJ.js +0 -45
  312. package/chunks/chunk-ONWW74X6.js +0 -74639
  313. package/chunks/chunk-W7FJ3N32.js +0 -49
  314. package/chunks/daemon-status-provider-LVTVJGAD.js +0 -77
  315. package/chunks/list-3CZR5I42.js +0 -78
  316. package/chunks/nonInteractiveCli-QTEHDDFH.js +0 -129
  317. package/chunks/updateCheck-JJEUQ54U.js +0 -73
  318. package/chunks/workspace-providers-status-FYV7TTHA.js +0 -75
  319. package/chunks/write-file-M2DTFILF.js +0 -599
  320. package/web-shell/assets/channel-04R0vLbG.js +0 -1
  321. package/web-shell/assets/classDiagram-4FO5ZUOK-Bw9SOwAV.js +0 -1
  322. package/web-shell/assets/classDiagram-v2-Q7XG4LA2-Bw9SOwAV.js +0 -1
  323. package/web-shell/assets/index-DgkKrjw3.js +0 -1187
  324. package/web-shell/assets/index-Rv6mOAN9.css +0 -5
  325. package/web-shell/assets/stateDiagram-v2-BHNVJYJU-DWBoO4UY.js +0 -1
  326. package/chunks/{chunk-PEJWA3QQ.js → chunk-QZJY47IE.js} +5 -5
@@ -13,8 +13,9 @@ import {
13
13
  require_mime_db
14
14
  } from "./chunk-T2NCM2ET.js";
15
15
  import {
16
- MAX_WORKSPACE_PATH_LENGTH
17
- } from "./chunk-W7FJ3N32.js";
16
+ MAX_WORKSPACE_PATH_LENGTH,
17
+ translateAndCheckAbsoluteWorkspacePath
18
+ } from "./chunk-2RFKHEXL.js";
18
19
  import {
19
20
  writeStderrLine
20
21
  } from "./chunk-OWAK7LMW.js";
@@ -9069,11 +9070,11 @@ var require_mime_types = __commonJS({
9069
9070
  return exts[0];
9070
9071
  }
9071
9072
  __name(extension, "extension");
9072
- function lookup(path3) {
9073
- if (!path3 || typeof path3 !== "string") {
9073
+ function lookup(path2) {
9074
+ if (!path2 || typeof path2 !== "string") {
9074
9075
  return false;
9075
9076
  }
9076
- var extension2 = extname("x." + path3).toLowerCase().slice(1);
9077
+ var extension2 = extname("x." + path2).toLowerCase().slice(1);
9077
9078
  if (!extension2) {
9078
9079
  return false;
9079
9080
  }
@@ -10204,13 +10205,13 @@ var require_view = __commonJS({
10204
10205
  "use strict";
10205
10206
  init_esbuild_shims();
10206
10207
  var debug = require_src()("express:view");
10207
- var path3 = __require("node:path");
10208
+ var path2 = __require("node:path");
10208
10209
  var fs = __require("node:fs");
10209
- var dirname2 = path3.dirname;
10210
- var basename2 = path3.basename;
10211
- var extname = path3.extname;
10212
- var join2 = path3.join;
10213
- var resolve = path3.resolve;
10210
+ var dirname2 = path2.dirname;
10211
+ var basename2 = path2.basename;
10212
+ var extname = path2.extname;
10213
+ var join2 = path2.join;
10214
+ var resolve = path2.resolve;
10214
10215
  module.exports = View;
10215
10216
  function View(name, options) {
10216
10217
  var opts = options || {};
@@ -10240,17 +10241,17 @@ var require_view = __commonJS({
10240
10241
  }
10241
10242
  __name(View, "View");
10242
10243
  View.prototype.lookup = /* @__PURE__ */ __name(function lookup(name) {
10243
- var path4;
10244
+ var path3;
10244
10245
  var roots = [].concat(this.root);
10245
10246
  debug('lookup "%s"', name);
10246
- for (var i = 0; i < roots.length && !path4; i++) {
10247
+ for (var i = 0; i < roots.length && !path3; i++) {
10247
10248
  var root = roots[i];
10248
10249
  var loc = resolve(root, name);
10249
10250
  var dir = dirname2(loc);
10250
10251
  var file = basename2(loc);
10251
- path4 = this.resolve(dir, file);
10252
+ path3 = this.resolve(dir, file);
10252
10253
  }
10253
- return path4;
10254
+ return path3;
10254
10255
  }, "lookup");
10255
10256
  View.prototype.render = /* @__PURE__ */ __name(function render(options, callback) {
10256
10257
  var sync = true;
@@ -10272,21 +10273,21 @@ var require_view = __commonJS({
10272
10273
  }, "render");
10273
10274
  View.prototype.resolve = /* @__PURE__ */ __name(function resolve2(dir, file) {
10274
10275
  var ext = this.ext;
10275
- var path4 = join2(dir, file);
10276
- var stat = tryStat(path4);
10276
+ var path3 = join2(dir, file);
10277
+ var stat = tryStat(path3);
10277
10278
  if (stat && stat.isFile()) {
10278
- return path4;
10279
+ return path3;
10279
10280
  }
10280
- path4 = join2(dir, basename2(file, ext), "index" + ext);
10281
- stat = tryStat(path4);
10281
+ path3 = join2(dir, basename2(file, ext), "index" + ext);
10282
+ stat = tryStat(path3);
10282
10283
  if (stat && stat.isFile()) {
10283
- return path4;
10284
+ return path3;
10284
10285
  }
10285
10286
  }, "resolve");
10286
- function tryStat(path4) {
10287
- debug('stat "%s"', path4);
10287
+ function tryStat(path3) {
10288
+ debug('stat "%s"', path3);
10288
10289
  try {
10289
- return fs.statSync(path4);
10290
+ return fs.statSync(path3);
10290
10291
  } catch (e) {
10291
10292
  return void 0;
10292
10293
  }
@@ -11467,15 +11468,15 @@ var require_dist2 = __commonJS({
11467
11468
  let index = 0;
11468
11469
  function consumeUntil(end) {
11469
11470
  const output = [];
11470
- let path3 = "";
11471
+ let path2 = "";
11471
11472
  function writePath() {
11472
- if (!path3)
11473
+ if (!path2)
11473
11474
  return;
11474
11475
  output.push({
11475
11476
  type: "text",
11476
- value: encodePath(path3)
11477
+ value: encodePath(path2)
11477
11478
  });
11478
- path3 = "";
11479
+ path2 = "";
11479
11480
  }
11480
11481
  __name(writePath, "writePath");
11481
11482
  while (index < chars.length) {
@@ -11488,7 +11489,7 @@ var require_dist2 = __commonJS({
11488
11489
  if (index === chars.length) {
11489
11490
  throw new PathError(`Unexpected end after \\ at index ${index}`, str);
11490
11491
  }
11491
- path3 += chars[index++];
11492
+ path2 += chars[index++];
11492
11493
  continue;
11493
11494
  }
11494
11495
  if (value === ":" || value === "*") {
@@ -11532,7 +11533,7 @@ var require_dist2 = __commonJS({
11532
11533
  if (value === "}" || value === "(" || value === ")" || value === "[" || value === "]" || value === "+" || value === "?" || value === "!") {
11533
11534
  throw new PathError(`Unexpected ${value} at index ${index - 1}`, str);
11534
11535
  }
11535
- path3 += value;
11536
+ path2 += value;
11536
11537
  }
11537
11538
  if (end) {
11538
11539
  throw new PathError(`Unexpected end at index ${index}, expected ${end}`, str);
@@ -11544,17 +11545,17 @@ var require_dist2 = __commonJS({
11544
11545
  return new TokenData(consumeUntil(""), str);
11545
11546
  }
11546
11547
  __name(parse, "parse");
11547
- function compile(path3, options = {}) {
11548
+ function compile(path2, options = {}) {
11548
11549
  const { encode = encodeURIComponent, delimiter = DEFAULT_DELIMITER } = options;
11549
- const data = typeof path3 === "object" ? path3 : parse(path3, options);
11550
+ const data = typeof path2 === "object" ? path2 : parse(path2, options);
11550
11551
  const fn = tokensToFunction(data.tokens, delimiter, encode);
11551
- return /* @__PURE__ */ __name(function path4(params = {}) {
11552
+ return /* @__PURE__ */ __name(function path3(params = {}) {
11552
11553
  const missing = [];
11553
- const path5 = fn(params, missing);
11554
+ const path4 = fn(params, missing);
11554
11555
  if (missing.length) {
11555
11556
  throw new TypeError(`Missing parameters: ${missing.join(", ")}`);
11556
11557
  }
11557
- return path5;
11558
+ return path4;
11558
11559
  }, "path");
11559
11560
  }
11560
11561
  __name(compile, "compile");
@@ -11619,9 +11620,9 @@ var require_dist2 = __commonJS({
11619
11620
  };
11620
11621
  }
11621
11622
  __name(tokenToFunction, "tokenToFunction");
11622
- function match(path3, options = {}) {
11623
+ function match(path2, options = {}) {
11623
11624
  const { decode = decodeURIComponent, delimiter = DEFAULT_DELIMITER } = options;
11624
- const { regexp, keys } = pathToRegexp(path3, options);
11625
+ const { regexp, keys } = pathToRegexp(path2, options);
11625
11626
  const decoders = keys.map((key) => {
11626
11627
  if (decode === false)
11627
11628
  return NOOP_VALUE;
@@ -11633,7 +11634,7 @@ var require_dist2 = __commonJS({
11633
11634
  const m = regexp.exec(input);
11634
11635
  if (!m)
11635
11636
  return false;
11636
- const path4 = m[0];
11637
+ const path3 = m[0];
11637
11638
  const params = /* @__PURE__ */ Object.create(null);
11638
11639
  for (let i = 1; i < m.length; i++) {
11639
11640
  if (m[i] === void 0)
@@ -11642,22 +11643,22 @@ var require_dist2 = __commonJS({
11642
11643
  const decoder = decoders[i - 1];
11643
11644
  params[key.name] = decoder(m[i]);
11644
11645
  }
11645
- return { path: path4, params };
11646
+ return { path: path3, params };
11646
11647
  }, "match");
11647
11648
  }
11648
11649
  __name(match, "match");
11649
- function pathToRegexp(path3, options = {}) {
11650
+ function pathToRegexp(path2, options = {}) {
11650
11651
  const { delimiter = DEFAULT_DELIMITER, end = true, sensitive = false, trailing = true } = options;
11651
11652
  const keys = [];
11652
11653
  let source = "";
11653
11654
  let combinations = 0;
11654
- function process2(path4) {
11655
- if (Array.isArray(path4)) {
11656
- for (const p of path4)
11655
+ function process2(path3) {
11656
+ if (Array.isArray(path3)) {
11657
+ for (const p of path3)
11657
11658
  process2(p);
11658
11659
  return;
11659
11660
  }
11660
- const data = typeof path4 === "object" ? path4 : parse(path4, options);
11661
+ const data = typeof path3 === "object" ? path3 : parse(path3, options);
11661
11662
  flatten(data.tokens, 0, [], (tokens) => {
11662
11663
  if (combinations >= 256) {
11663
11664
  throw new PathError("Too many path combinations", data.originalPath);
@@ -11669,7 +11670,7 @@ var require_dist2 = __commonJS({
11669
11670
  });
11670
11671
  }
11671
11672
  __name(process2, "process");
11672
- process2(path3);
11673
+ process2(path2);
11673
11674
  let pattern = `^(?:${source})`;
11674
11675
  if (trailing)
11675
11676
  pattern += "(?:" + escape(delimiter) + "$)?";
@@ -11819,18 +11820,18 @@ var require_layer = __commonJS({
11819
11820
  var TRAILING_SLASH_REGEXP = /\/+$/;
11820
11821
  var MATCHING_GROUP_REGEXP = /\((?:\?<(.*?)>)?(?!\?)/g;
11821
11822
  module.exports = Layer;
11822
- function Layer(path3, options, fn) {
11823
+ function Layer(path2, options, fn) {
11823
11824
  if (!(this instanceof Layer)) {
11824
- return new Layer(path3, options, fn);
11825
+ return new Layer(path2, options, fn);
11825
11826
  }
11826
- debug("new %o", path3);
11827
+ debug("new %o", path2);
11827
11828
  const opts = options || {};
11828
11829
  this.handle = fn;
11829
11830
  this.keys = [];
11830
11831
  this.name = fn.name || "<anonymous>";
11831
11832
  this.params = void 0;
11832
11833
  this.path = void 0;
11833
- this.slash = path3 === "/" && opts.end === false;
11834
+ this.slash = path2 === "/" && opts.end === false;
11834
11835
  function matcher(_path) {
11835
11836
  if (_path instanceof RegExp) {
11836
11837
  const keys = [];
@@ -11870,7 +11871,7 @@ var require_layer = __commonJS({
11870
11871
  });
11871
11872
  }
11872
11873
  __name(matcher, "matcher");
11873
- this.matchers = Array.isArray(path3) ? path3.map(matcher) : [matcher(path3)];
11874
+ this.matchers = Array.isArray(path2) ? path2.map(matcher) : [matcher(path2)];
11874
11875
  }
11875
11876
  __name(Layer, "Layer");
11876
11877
  Layer.prototype.handleError = /* @__PURE__ */ __name(function handleError(error, req, res, next) {
@@ -11911,9 +11912,9 @@ var require_layer = __commonJS({
11911
11912
  next(err);
11912
11913
  }
11913
11914
  }, "handleRequest");
11914
- Layer.prototype.match = /* @__PURE__ */ __name(function match(path3) {
11915
+ Layer.prototype.match = /* @__PURE__ */ __name(function match(path2) {
11915
11916
  let match2;
11916
- if (path3 != null) {
11917
+ if (path2 != null) {
11917
11918
  if (this.slash) {
11918
11919
  this.params = {};
11919
11920
  this.path = "";
@@ -11921,7 +11922,7 @@ var require_layer = __commonJS({
11921
11922
  }
11922
11923
  let i = 0;
11923
11924
  while (!match2 && i < this.matchers.length) {
11924
- match2 = this.matchers[i](path3);
11925
+ match2 = this.matchers[i](path2);
11925
11926
  i++;
11926
11927
  }
11927
11928
  }
@@ -11950,13 +11951,13 @@ var require_layer = __commonJS({
11950
11951
  }
11951
11952
  }
11952
11953
  __name(decodeParam, "decodeParam");
11953
- function loosen(path3) {
11954
- if (path3 instanceof RegExp || path3 === "/") {
11955
- return path3;
11954
+ function loosen(path2) {
11955
+ if (path2 instanceof RegExp || path2 === "/") {
11956
+ return path2;
11956
11957
  }
11957
- return Array.isArray(path3) ? path3.map(function(p) {
11958
+ return Array.isArray(path2) ? path2.map(function(p) {
11958
11959
  return loosen(p);
11959
- }) : String(path3).replace(TRAILING_SLASH_REGEXP, "");
11960
+ }) : String(path2).replace(TRAILING_SLASH_REGEXP, "");
11960
11961
  }
11961
11962
  __name(loosen, "loosen");
11962
11963
  }
@@ -11974,9 +11975,9 @@ var require_route = __commonJS({
11974
11975
  var flatten = Array.prototype.flat;
11975
11976
  var methods = METHODS.map((method) => method.toLowerCase());
11976
11977
  module.exports = Route;
11977
- function Route(path3) {
11978
- debug("new %o", path3);
11979
- this.path = path3;
11978
+ function Route(path2) {
11979
+ debug("new %o", path2);
11980
+ this.path = path2;
11980
11981
  this.stack = [];
11981
11982
  this.methods = /* @__PURE__ */ Object.create(null);
11982
11983
  }
@@ -12189,8 +12190,8 @@ var require_router = __commonJS({
12189
12190
  if (++sync > 100) {
12190
12191
  return setImmediate(next, err);
12191
12192
  }
12192
- const path3 = getPathname(req);
12193
- if (path3 == null) {
12193
+ const path2 = getPathname(req);
12194
+ if (path2 == null) {
12194
12195
  return done(layerError);
12195
12196
  }
12196
12197
  let layer;
@@ -12198,7 +12199,7 @@ var require_router = __commonJS({
12198
12199
  let route;
12199
12200
  while (match !== true && idx < stack.length) {
12200
12201
  layer = stack[idx++];
12201
- match = matchLayer(layer, path3);
12202
+ match = matchLayer(layer, path2);
12202
12203
  route = layer.route;
12203
12204
  if (typeof match !== "boolean") {
12204
12205
  layerError = layerError || match;
@@ -12236,19 +12237,19 @@ var require_router = __commonJS({
12236
12237
  } else if (route) {
12237
12238
  layer.handleRequest(req, res, next);
12238
12239
  } else {
12239
- trimPrefix(layer, layerError, layerPath, path3);
12240
+ trimPrefix(layer, layerError, layerPath, path2);
12240
12241
  }
12241
12242
  sync = 0;
12242
12243
  });
12243
12244
  }
12244
12245
  __name(next, "next");
12245
- function trimPrefix(layer, layerError, layerPath, path3) {
12246
+ function trimPrefix(layer, layerError, layerPath, path2) {
12246
12247
  if (layerPath.length !== 0) {
12247
- if (layerPath !== path3.substring(0, layerPath.length)) {
12248
+ if (layerPath !== path2.substring(0, layerPath.length)) {
12248
12249
  next(layerError);
12249
12250
  return;
12250
12251
  }
12251
- const c = path3[layerPath.length];
12252
+ const c = path2[layerPath.length];
12252
12253
  if (c && c !== "/") {
12253
12254
  next(layerError);
12254
12255
  return;
@@ -12273,7 +12274,7 @@ var require_router = __commonJS({
12273
12274
  }, "handle");
12274
12275
  Router.prototype.use = /* @__PURE__ */ __name(function use(handler) {
12275
12276
  let offset = 0;
12276
- let path3 = "/";
12277
+ let path2 = "/";
12277
12278
  if (typeof handler !== "function") {
12278
12279
  let arg = handler;
12279
12280
  while (Array.isArray(arg) && arg.length !== 0) {
@@ -12281,7 +12282,7 @@ var require_router = __commonJS({
12281
12282
  }
12282
12283
  if (typeof arg !== "function") {
12283
12284
  offset = 1;
12284
- path3 = handler;
12285
+ path2 = handler;
12285
12286
  }
12286
12287
  }
12287
12288
  const callbacks = flatten.call(slice.call(arguments, offset), Infinity);
@@ -12293,8 +12294,8 @@ var require_router = __commonJS({
12293
12294
  if (typeof fn !== "function") {
12294
12295
  throw new TypeError("argument handler must be a function");
12295
12296
  }
12296
- debug("use %o %s", path3, fn.name || "<anonymous>");
12297
- const layer = new Layer(path3, {
12297
+ debug("use %o %s", path2, fn.name || "<anonymous>");
12298
+ const layer = new Layer(path2, {
12298
12299
  sensitive: this.caseSensitive,
12299
12300
  strict: false,
12300
12301
  end: false
@@ -12304,9 +12305,9 @@ var require_router = __commonJS({
12304
12305
  }
12305
12306
  return this;
12306
12307
  }, "use");
12307
- Router.prototype.route = /* @__PURE__ */ __name(function route(path3) {
12308
- const route2 = new Route(path3);
12309
- const layer = new Layer(path3, {
12308
+ Router.prototype.route = /* @__PURE__ */ __name(function route(path2) {
12309
+ const route2 = new Route(path2);
12310
+ const layer = new Layer(path2, {
12310
12311
  sensitive: this.caseSensitive,
12311
12312
  strict: this.strict,
12312
12313
  end: true
@@ -12320,8 +12321,8 @@ var require_router = __commonJS({
12320
12321
  return route2;
12321
12322
  }, "route");
12322
12323
  methods.concat("all").forEach(function(method) {
12323
- Router.prototype[method] = function(path3) {
12324
- const route = this.route(path3);
12324
+ Router.prototype[method] = function(path2) {
12325
+ const route = this.route(path2);
12325
12326
  route[method].apply(route, slice.call(arguments, 1));
12326
12327
  return this;
12327
12328
  };
@@ -12353,9 +12354,9 @@ var require_router = __commonJS({
12353
12354
  return fqdnIndex !== -1 ? url.substring(0, url.indexOf("/", 3 + fqdnIndex)) : void 0;
12354
12355
  }
12355
12356
  __name(getProtohost, "getProtohost");
12356
- function matchLayer(layer, path3) {
12357
+ function matchLayer(layer, path2) {
12357
12358
  try {
12358
- return layer.match(path3);
12359
+ return layer.match(path2);
12359
12360
  } catch (err) {
12360
12361
  return err;
12361
12362
  }
@@ -12593,7 +12594,7 @@ var require_application = __commonJS({
12593
12594
  }, "handle");
12594
12595
  app.use = /* @__PURE__ */ __name(function use(fn) {
12595
12596
  var offset = 0;
12596
- var path3 = "/";
12597
+ var path2 = "/";
12597
12598
  if (typeof fn !== "function") {
12598
12599
  var arg = fn;
12599
12600
  while (Array.isArray(arg) && arg.length !== 0) {
@@ -12601,7 +12602,7 @@ var require_application = __commonJS({
12601
12602
  }
12602
12603
  if (typeof arg !== "function") {
12603
12604
  offset = 1;
12604
- path3 = fn;
12605
+ path2 = fn;
12605
12606
  }
12606
12607
  }
12607
12608
  var fns = flatten.call(slice.call(arguments, offset), Infinity);
@@ -12611,12 +12612,12 @@ var require_application = __commonJS({
12611
12612
  var router = this.router;
12612
12613
  fns.forEach(function(fn2) {
12613
12614
  if (!fn2 || !fn2.handle || !fn2.set) {
12614
- return router.use(path3, fn2);
12615
+ return router.use(path2, fn2);
12615
12616
  }
12616
- debug(".use app under %s", path3);
12617
- fn2.mountpath = path3;
12617
+ debug(".use app under %s", path2);
12618
+ fn2.mountpath = path2;
12618
12619
  fn2.parent = this;
12619
- router.use(path3, /* @__PURE__ */ __name(function mounted_app(req, res, next) {
12620
+ router.use(path2, /* @__PURE__ */ __name(function mounted_app(req, res, next) {
12620
12621
  var orig = req.app;
12621
12622
  fn2.handle(req, res, function(err) {
12622
12623
  Object.setPrototypeOf(req, orig.request);
@@ -12628,8 +12629,8 @@ var require_application = __commonJS({
12628
12629
  }, this);
12629
12630
  return this;
12630
12631
  }, "use");
12631
- app.route = /* @__PURE__ */ __name(function route(path3) {
12632
- return this.router.route(path3);
12632
+ app.route = /* @__PURE__ */ __name(function route(path2) {
12633
+ return this.router.route(path2);
12633
12634
  }, "route");
12634
12635
  app.engine = /* @__PURE__ */ __name(function engine(ext, fn) {
12635
12636
  if (typeof fn !== "function") {
@@ -12672,7 +12673,7 @@ var require_application = __commonJS({
12672
12673
  }
12673
12674
  return this;
12674
12675
  }, "set");
12675
- app.path = /* @__PURE__ */ __name(function path3() {
12676
+ app.path = /* @__PURE__ */ __name(function path2() {
12676
12677
  return this.parent ? this.parent.path() + this.mountpath : "";
12677
12678
  }, "path");
12678
12679
  app.enabled = /* @__PURE__ */ __name(function enabled(setting) {
@@ -12688,17 +12689,17 @@ var require_application = __commonJS({
12688
12689
  return this.set(setting, false);
12689
12690
  }, "disable");
12690
12691
  methods.forEach(function(method) {
12691
- app[method] = function(path3) {
12692
+ app[method] = function(path2) {
12692
12693
  if (method === "get" && arguments.length === 1) {
12693
- return this.set(path3);
12694
+ return this.set(path2);
12694
12695
  }
12695
- var route = this.route(path3);
12696
+ var route = this.route(path2);
12696
12697
  route[method].apply(route, slice.call(arguments, 1));
12697
12698
  return this;
12698
12699
  };
12699
12700
  });
12700
- app.all = /* @__PURE__ */ __name(function all(path3) {
12701
- var route = this.route(path3);
12701
+ app.all = /* @__PURE__ */ __name(function all(path2) {
12702
+ var route = this.route(path2);
12702
12703
  var args = slice.call(arguments, 1);
12703
12704
  for (var i = 0; i < methods.length; i++) {
12704
12705
  route[methods[i]].apply(route, args);
@@ -13668,7 +13669,7 @@ var require_request = __commonJS({
13668
13669
  var subdomains2 = !isIP(hostname) ? hostname.split(".").reverse() : [hostname];
13669
13670
  return subdomains2.slice(offset);
13670
13671
  }, "subdomains"));
13671
- defineGetter(req, "path", /* @__PURE__ */ __name(function path3() {
13672
+ defineGetter(req, "path", /* @__PURE__ */ __name(function path2() {
13672
13673
  return parse(this).pathname;
13673
13674
  }, "path"));
13674
13675
  defineGetter(req, "host", /* @__PURE__ */ __name(function host() {
@@ -13891,8 +13892,8 @@ var require_content_disposition = __commonJS({
13891
13892
  this.parameters = parameters;
13892
13893
  }
13893
13894
  __name(ContentDisposition, "ContentDisposition");
13894
- function basename2(path3) {
13895
- const normalized = path3.replaceAll("\\", "/");
13895
+ function basename2(path2) {
13896
+ const normalized = path2.replaceAll("\\", "/");
13896
13897
  let end = normalized.length;
13897
13898
  while (end > 0 && normalized[end - 1] === "/") {
13898
13899
  end--;
@@ -14152,28 +14153,28 @@ var require_send = __commonJS({
14152
14153
  var ms = require_ms();
14153
14154
  var onFinished = require_on_finished();
14154
14155
  var parseRange = require_range_parser();
14155
- var path3 = __require("path");
14156
+ var path2 = __require("path");
14156
14157
  var statuses = require_statuses();
14157
14158
  var Stream = __require("stream");
14158
14159
  var util = __require("util");
14159
- var extname = path3.extname;
14160
- var join2 = path3.join;
14161
- var normalize = path3.normalize;
14162
- var resolve = path3.resolve;
14163
- var sep = path3.sep;
14160
+ var extname = path2.extname;
14161
+ var join2 = path2.join;
14162
+ var normalize = path2.normalize;
14163
+ var resolve = path2.resolve;
14164
+ var sep = path2.sep;
14164
14165
  var BYTES_RANGE_REGEXP = /^ *bytes=/;
14165
14166
  var MAX_MAXAGE = 60 * 60 * 24 * 365 * 1e3;
14166
14167
  var UP_PATH_REGEXP = /(?:^|[\\/])\.\.(?:[\\/]|$)/;
14167
14168
  module.exports = send;
14168
- function send(req, path4, options) {
14169
- return new SendStream(req, path4, options);
14169
+ function send(req, path3, options) {
14170
+ return new SendStream(req, path3, options);
14170
14171
  }
14171
14172
  __name(send, "send");
14172
- function SendStream(req, path4, options) {
14173
+ function SendStream(req, path3, options) {
14173
14174
  Stream.call(this);
14174
14175
  var opts = options || {};
14175
14176
  this.options = opts;
14176
- this.path = path4;
14177
+ this.path = path3;
14177
14178
  this.req = req;
14178
14179
  this._acceptRanges = opts.acceptRanges !== void 0 ? Boolean(opts.acceptRanges) : true;
14179
14180
  this._cacheControl = opts.cacheControl !== void 0 ? Boolean(opts.cacheControl) : true;
@@ -14288,10 +14289,10 @@ var require_send = __commonJS({
14288
14289
  var lastModified = this.res.getHeader("Last-Modified");
14289
14290
  return parseHttpDate(lastModified) <= parseHttpDate(ifRange);
14290
14291
  }, "isRangeFresh");
14291
- SendStream.prototype.redirect = /* @__PURE__ */ __name(function redirect(path4) {
14292
+ SendStream.prototype.redirect = /* @__PURE__ */ __name(function redirect(path3) {
14292
14293
  var res = this.res;
14293
14294
  if (hasListeners(this, "directory")) {
14294
- this.emit("directory", res, path4);
14295
+ this.emit("directory", res, path3);
14295
14296
  return;
14296
14297
  }
14297
14298
  if (this.hasTrailingSlash()) {
@@ -14311,38 +14312,38 @@ var require_send = __commonJS({
14311
14312
  SendStream.prototype.pipe = /* @__PURE__ */ __name(function pipe(res) {
14312
14313
  var root = this._root;
14313
14314
  this.res = res;
14314
- var path4 = decode(this.path);
14315
- if (path4 === -1) {
14315
+ var path3 = decode(this.path);
14316
+ if (path3 === -1) {
14316
14317
  this.error(400);
14317
14318
  return res;
14318
14319
  }
14319
- if (~path4.indexOf("\0")) {
14320
+ if (~path3.indexOf("\0")) {
14320
14321
  this.error(400);
14321
14322
  return res;
14322
14323
  }
14323
14324
  var parts;
14324
14325
  if (root !== null) {
14325
- if (path4) {
14326
- path4 = normalize("." + sep + path4);
14326
+ if (path3) {
14327
+ path3 = normalize("." + sep + path3);
14327
14328
  }
14328
- if (UP_PATH_REGEXP.test(path4)) {
14329
- debug('malicious path "%s"', path4);
14329
+ if (UP_PATH_REGEXP.test(path3)) {
14330
+ debug('malicious path "%s"', path3);
14330
14331
  this.error(403);
14331
14332
  return res;
14332
14333
  }
14333
- parts = path4.split(sep);
14334
- path4 = normalize(join2(root, path4));
14334
+ parts = path3.split(sep);
14335
+ path3 = normalize(join2(root, path3));
14335
14336
  } else {
14336
- if (UP_PATH_REGEXP.test(path4)) {
14337
- debug('malicious path "%s"', path4);
14337
+ if (UP_PATH_REGEXP.test(path3)) {
14338
+ debug('malicious path "%s"', path3);
14338
14339
  this.error(403);
14339
14340
  return res;
14340
14341
  }
14341
- parts = normalize(path4).split(sep);
14342
- path4 = resolve(path4);
14342
+ parts = normalize(path3).split(sep);
14343
+ path3 = resolve(path3);
14343
14344
  }
14344
14345
  if (containsDotFile(parts)) {
14345
- debug('%s dotfile "%s"', this._dotfiles, path4);
14346
+ debug('%s dotfile "%s"', this._dotfiles, path3);
14346
14347
  switch (this._dotfiles) {
14347
14348
  case "allow":
14348
14349
  break;
@@ -14356,13 +14357,13 @@ var require_send = __commonJS({
14356
14357
  }
14357
14358
  }
14358
14359
  if (this._index.length && this.hasTrailingSlash()) {
14359
- this.sendIndex(path4);
14360
+ this.sendIndex(path3);
14360
14361
  return res;
14361
14362
  }
14362
- this.sendFile(path4);
14363
+ this.sendFile(path3);
14363
14364
  return res;
14364
14365
  }, "pipe");
14365
- SendStream.prototype.send = /* @__PURE__ */ __name(function send2(path4, stat) {
14366
+ SendStream.prototype.send = /* @__PURE__ */ __name(function send2(path3, stat) {
14366
14367
  var len = stat.size;
14367
14368
  var options = this.options;
14368
14369
  var opts = {};
@@ -14374,9 +14375,9 @@ var require_send = __commonJS({
14374
14375
  this.headersAlreadySent();
14375
14376
  return;
14376
14377
  }
14377
- debug('pipe "%s"', path4);
14378
- this.setHeader(path4, stat);
14379
- this.type(path4);
14378
+ debug('pipe "%s"', path3);
14379
+ this.setHeader(path3, stat);
14380
+ this.type(path3);
14380
14381
  if (this.isConditionalGET()) {
14381
14382
  if (this.isPreconditionFailure()) {
14382
14383
  this.error(412);
@@ -14425,28 +14426,28 @@ var require_send = __commonJS({
14425
14426
  res.end();
14426
14427
  return;
14427
14428
  }
14428
- this.stream(path4, opts);
14429
+ this.stream(path3, opts);
14429
14430
  }, "send");
14430
- SendStream.prototype.sendFile = /* @__PURE__ */ __name(function sendFile(path4) {
14431
+ SendStream.prototype.sendFile = /* @__PURE__ */ __name(function sendFile(path3) {
14431
14432
  var i = 0;
14432
14433
  var self = this;
14433
- debug('stat "%s"', path4);
14434
- fs.stat(path4, /* @__PURE__ */ __name(function onstat(err, stat) {
14435
- var pathEndsWithSep = path4[path4.length - 1] === sep;
14436
- if (err && err.code === "ENOENT" && !extname(path4) && !pathEndsWithSep) {
14434
+ debug('stat "%s"', path3);
14435
+ fs.stat(path3, /* @__PURE__ */ __name(function onstat(err, stat) {
14436
+ var pathEndsWithSep = path3[path3.length - 1] === sep;
14437
+ if (err && err.code === "ENOENT" && !extname(path3) && !pathEndsWithSep) {
14437
14438
  return next(err);
14438
14439
  }
14439
14440
  if (err) return self.onStatError(err);
14440
- if (stat.isDirectory()) return self.redirect(path4);
14441
+ if (stat.isDirectory()) return self.redirect(path3);
14441
14442
  if (pathEndsWithSep) return self.error(404);
14442
- self.emit("file", path4, stat);
14443
- self.send(path4, stat);
14443
+ self.emit("file", path3, stat);
14444
+ self.send(path3, stat);
14444
14445
  }, "onstat"));
14445
14446
  function next(err) {
14446
14447
  if (self._extensions.length <= i) {
14447
14448
  return err ? self.onStatError(err) : self.error(404);
14448
14449
  }
14449
- var p = path4 + "." + self._extensions[i++];
14450
+ var p = path3 + "." + self._extensions[i++];
14450
14451
  debug('stat "%s"', p);
14451
14452
  fs.stat(p, function(err2, stat) {
14452
14453
  if (err2) return next(err2);
@@ -14457,7 +14458,7 @@ var require_send = __commonJS({
14457
14458
  }
14458
14459
  __name(next, "next");
14459
14460
  }, "sendFile");
14460
- SendStream.prototype.sendIndex = /* @__PURE__ */ __name(function sendIndex(path4) {
14461
+ SendStream.prototype.sendIndex = /* @__PURE__ */ __name(function sendIndex(path3) {
14461
14462
  var i = -1;
14462
14463
  var self = this;
14463
14464
  function next(err) {
@@ -14465,7 +14466,7 @@ var require_send = __commonJS({
14465
14466
  if (err) return self.onStatError(err);
14466
14467
  return self.error(404);
14467
14468
  }
14468
- var p = join2(path4, self._index[i]);
14469
+ var p = join2(path3, self._index[i]);
14469
14470
  debug('stat "%s"', p);
14470
14471
  fs.stat(p, function(err2, stat) {
14471
14472
  if (err2) return next(err2);
@@ -14477,10 +14478,10 @@ var require_send = __commonJS({
14477
14478
  __name(next, "next");
14478
14479
  next();
14479
14480
  }, "sendIndex");
14480
- SendStream.prototype.stream = /* @__PURE__ */ __name(function stream(path4, options) {
14481
+ SendStream.prototype.stream = /* @__PURE__ */ __name(function stream(path3, options) {
14481
14482
  var self = this;
14482
14483
  var res = this.res;
14483
- var stream2 = fs.createReadStream(path4, options);
14484
+ var stream2 = fs.createReadStream(path3, options);
14484
14485
  this.emit("stream", stream2);
14485
14486
  stream2.pipe(res);
14486
14487
  function cleanup() {
@@ -14496,17 +14497,17 @@ var require_send = __commonJS({
14496
14497
  self.emit("end");
14497
14498
  }, "onend"));
14498
14499
  }, "stream");
14499
- SendStream.prototype.type = /* @__PURE__ */ __name(function type(path4) {
14500
+ SendStream.prototype.type = /* @__PURE__ */ __name(function type(path3) {
14500
14501
  var res = this.res;
14501
14502
  if (res.getHeader("Content-Type")) return;
14502
- var ext = extname(path4);
14503
+ var ext = extname(path3);
14503
14504
  var type2 = mime.contentType(ext) || "application/octet-stream";
14504
14505
  debug("content-type %s", type2);
14505
14506
  res.setHeader("Content-Type", type2);
14506
14507
  }, "type");
14507
- SendStream.prototype.setHeader = /* @__PURE__ */ __name(function setHeader(path4, stat) {
14508
+ SendStream.prototype.setHeader = /* @__PURE__ */ __name(function setHeader(path3, stat) {
14508
14509
  var res = this.res;
14509
- this.emit("headers", res, path4, stat);
14510
+ this.emit("headers", res, path3, stat);
14510
14511
  if (this._acceptRanges && !res.getHeader("Accept-Ranges")) {
14511
14512
  debug("accept ranges");
14512
14513
  res.setHeader("Accept-Ranges", "bytes");
@@ -14570,9 +14571,9 @@ var require_send = __commonJS({
14570
14571
  return err instanceof Error ? createError(status, err, { expose: false }) : createError(status, err);
14571
14572
  }
14572
14573
  __name(createHttpError, "createHttpError");
14573
- function decode(path4) {
14574
+ function decode(path3) {
14574
14575
  try {
14575
- return decodeURIComponent(path4);
14576
+ return decodeURIComponent(path3);
14576
14577
  } catch (err) {
14577
14578
  return -1;
14578
14579
  }
@@ -14727,7 +14728,7 @@ var require_response = __commonJS({
14727
14728
  var http = __require("node:http");
14728
14729
  var onFinished = require_on_finished();
14729
14730
  var mime = require_mime_types();
14730
- var path3 = __require("node:path");
14731
+ var path2 = __require("node:path");
14731
14732
  var pathIsAbsolute = __require("node:path").isAbsolute;
14732
14733
  var statuses = require_statuses();
14733
14734
  var sign = require_cookie_signature().sign;
@@ -14736,8 +14737,8 @@ var require_response = __commonJS({
14736
14737
  var setCharset = require_utils2().setCharset;
14737
14738
  var cookie = require_cookie();
14738
14739
  var send = require_send();
14739
- var extname = path3.extname;
14740
- var resolve = path3.resolve;
14740
+ var extname = path2.extname;
14741
+ var resolve = path2.resolve;
14741
14742
  var vary = require_vary();
14742
14743
  var { Buffer: Buffer2 } = __require("node:buffer");
14743
14744
  var res = Object.create(http.ServerResponse.prototype);
@@ -14883,26 +14884,26 @@ var require_response = __commonJS({
14883
14884
  this.type("txt");
14884
14885
  return this.send(body);
14885
14886
  }, "sendStatus");
14886
- res.sendFile = /* @__PURE__ */ __name(function sendFile(path4, options, callback) {
14887
+ res.sendFile = /* @__PURE__ */ __name(function sendFile(path3, options, callback) {
14887
14888
  var done = callback;
14888
14889
  var req = this.req;
14889
14890
  var res2 = this;
14890
14891
  var next = req.next;
14891
14892
  var opts = options || {};
14892
- if (!path4) {
14893
+ if (!path3) {
14893
14894
  throw new TypeError("path argument is required to res.sendFile");
14894
14895
  }
14895
- if (typeof path4 !== "string") {
14896
+ if (typeof path3 !== "string") {
14896
14897
  throw new TypeError("path must be a string to res.sendFile");
14897
14898
  }
14898
14899
  if (typeof options === "function") {
14899
14900
  done = options;
14900
14901
  opts = {};
14901
14902
  }
14902
- if (!opts.root && !pathIsAbsolute(path4)) {
14903
+ if (!opts.root && !pathIsAbsolute(path3)) {
14903
14904
  throw new TypeError("path must be absolute or specify root to res.sendFile");
14904
14905
  }
14905
- var pathname = encodeURI(path4);
14906
+ var pathname = encodeURI(path3);
14906
14907
  opts.etag = this.app.enabled("etag");
14907
14908
  var file = send(req, pathname, opts);
14908
14909
  sendfile(res2, file, opts, function(err) {
@@ -14913,7 +14914,7 @@ var require_response = __commonJS({
14913
14914
  }
14914
14915
  });
14915
14916
  }, "sendFile");
14916
- res.download = /* @__PURE__ */ __name(function download(path4, filename, options, callback) {
14917
+ res.download = /* @__PURE__ */ __name(function download(path3, filename, options, callback) {
14917
14918
  var done = callback;
14918
14919
  var name = filename;
14919
14920
  var opts = options || null;
@@ -14930,7 +14931,7 @@ var require_response = __commonJS({
14930
14931
  opts = filename;
14931
14932
  }
14932
14933
  var headers = {
14933
- "Content-Disposition": contentDisposition(name || path4)
14934
+ "Content-Disposition": contentDisposition(name || path3)
14934
14935
  };
14935
14936
  if (opts && opts.headers) {
14936
14937
  var keys = Object.keys(opts.headers);
@@ -14943,7 +14944,7 @@ var require_response = __commonJS({
14943
14944
  }
14944
14945
  opts = Object.create(opts);
14945
14946
  opts.headers = headers;
14946
- var fullPath = !opts.root ? resolve(path4) : path4;
14947
+ var fullPath = !opts.root ? resolve(path3) : path3;
14947
14948
  return this.sendFile(fullPath, opts, done);
14948
14949
  }, "download");
14949
14950
  res.contentType = res.type = /* @__PURE__ */ __name(function contentType(type) {
@@ -15236,11 +15237,11 @@ var require_serve_static = __commonJS({
15236
15237
  }
15237
15238
  var forwardError = !fallthrough;
15238
15239
  var originalUrl = parseUrl.original(req);
15239
- var path3 = parseUrl(req).pathname;
15240
- if (path3 === "/" && originalUrl.pathname.substr(-1) !== "/") {
15241
- path3 = "";
15240
+ var path2 = parseUrl(req).pathname;
15241
+ if (path2 === "/" && originalUrl.pathname.substr(-1) !== "/") {
15242
+ path2 = "";
15242
15243
  }
15243
- var stream = send(req, path3, opts);
15244
+ var stream = send(req, path2, opts);
15244
15245
  stream.on("directory", onDirectory);
15245
15246
  if (setHeaders) {
15246
15247
  stream.on("headers", setHeaders);
@@ -16566,6 +16567,8 @@ var SERVE_CAPABILITY_REGISTRY = {
16566
16567
  workspace_mcp: { since: "v1" },
16567
16568
  workspace_skills: { since: "v1" },
16568
16569
  workspace_providers: { since: "v1" },
16570
+ workspace_acp_preheat: { since: "v1" },
16571
+ workspace_acp_status: { since: "v1" },
16569
16572
  auth_provider_install: { since: "v1" },
16570
16573
  // Workspace memory CRUD (`GET/POST /workspace/memory`). Daemon exposes
16571
16574
  // hierarchical QWEN.md state and accepts append/replace writes scoped
@@ -16788,6 +16791,9 @@ var SERVE_CAPABILITY_REGISTRY = {
16788
16791
  // Singular session shell routes resolve the owning live workspace runtime.
16789
16792
  multi_workspace_session_shell: { since: "v1" },
16790
16793
  persistent_workspace_registration: { since: "v1" },
16794
+ // Optional presentation-only names and updates to those names for workspace
16795
+ // runtimes. Workspace ids and canonical paths remain the routing identities.
16796
+ workspace_display_name: { since: "v1" },
16791
16797
  workspace_runtime_removal: { since: "v1" },
16792
16798
  // Workspace-qualified core REST routes under `/workspaces/:workspace/...`.
16793
16799
  // Covers core file/status/permissions/trust/lifecycle/MCP/tool, memory,
@@ -16977,7 +16983,6 @@ var CAPABILITIES_SCHEMA_VERSION = 1;
16977
16983
 
16978
16984
  // packages/cli/src/serve/server/request-helpers.ts
16979
16985
  init_esbuild_shims();
16980
- import * as path2 from "node:path";
16981
16986
  function sendJsonBodyParserError(res, err) {
16982
16987
  if (err instanceof SyntaxError && "status" in err && err.status === 400) {
16983
16988
  res.status(400).json({ error: "Invalid JSON in request body" });
@@ -17037,8 +17042,10 @@ function parseOptionalWorkspaceCwd(body, boundWorkspace, res) {
17037
17042
  });
17038
17043
  return void 0;
17039
17044
  }
17040
- const cwd = hasCwd ? body["cwd"] : boundWorkspace;
17041
- if (!path2.isAbsolute(cwd)) {
17045
+ const cwd = translateAndCheckAbsoluteWorkspacePath(
17046
+ hasCwd ? body["cwd"] : boundWorkspace
17047
+ );
17048
+ if (cwd === null) {
17042
17049
  res.status(400).json({ error: "`cwd` must be an absolute path when provided" });
17043
17050
  return void 0;
17044
17051
  }
@@ -17209,8 +17216,8 @@ var MAX_BUCKETS = 1e4;
17209
17216
  var GC_REQUEST_INTERVAL = 1e3;
17210
17217
  var GC_TIMER_INTERVAL_MS = 5 * 60 * 1e3;
17211
17218
  var WORKSPACE_QUALIFIED_ACP_PATH = /^\/workspaces\/[^/]+\/acp$/i;
17212
- function resolveTier(method, path3, workspaceQualifiedAcpEnabled) {
17213
- const p = path3.endsWith("/") && path3.length > 1 ? path3.slice(0, -1) : path3;
17219
+ function resolveTier(method, path2, workspaceQualifiedAcpEnabled) {
17220
+ const p = path2.endsWith("/") && path2.length > 1 ? path2.slice(0, -1) : path2;
17214
17221
  if (method === "OPTIONS") return null;
17215
17222
  if ((method === "GET" || method === "HEAD") && (p === "/health" || p === "/demo"))
17216
17223
  return null;
@@ -17598,6 +17605,7 @@ async function buildDaemonStatusResponse(detail, input) {
17598
17605
  workspaces: workspaceRuntimes.map((runtime) => ({
17599
17606
  id: runtime.workspaceId,
17600
17607
  cwd: runtime.workspaceCwd,
17608
+ ...runtime.displayName !== void 0 ? { displayName: runtime.displayName } : {},
17601
17609
  primary: runtime.primary,
17602
17610
  trusted: runtime.trusted
17603
17611
  }))