@qwen-code/qwen-code 0.20.0-nightly.20260722.b98306b7e → 0.20.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 (341) hide show
  1. package/bundled/qc-helper/docs/configuration/settings.md +1 -1
  2. package/bundled/qc-helper/docs/features/auto-mode.md +16 -19
  3. package/bundled/qc-helper/docs/features/commands.md +0 -54
  4. package/bundled/qc-helper/docs/features/sub-agents.md +7 -16
  5. package/bundled/qc-helper/docs/integration-github-action.md +10 -10
  6. package/bundled/qc-helper/docs/qwen-serve.md +1 -2
  7. package/bundled/review/DESIGN.md +2 -2
  8. package/bundled/review/SKILL.md +4 -4
  9. package/chunks/{MaxSizedBox-YO432SD4.js → MaxSizedBox-B5YGZSYE.js} +34 -41
  10. package/chunks/{StandaloneSessionPicker-525JBPXC.js → StandaloneSessionPicker-CEGO2AZX.js} +50 -57
  11. package/chunks/{acpAgent-FORCZCBG.js → acpAgent-YUR43TLG.js} +496 -1487
  12. package/chunks/{agent-OZCWHX2J.js → agent-H4JIDL7S.js} +30 -37
  13. package/chunks/agent-headless-TTBEREQV.js +61 -0
  14. package/chunks/{anthropicContentGenerator-NMSS7IMV.js → anthropicContentGenerator-HVKLXOOU.js} +12 -13
  15. package/chunks/{artifact-tool-56T5IMBP.js → artifact-tool-WBCAMD3O.js} +3 -3
  16. package/chunks/{askUserQuestion-E25OBIC2.js → askUserQuestion-6DZC4UV5.js} +3 -3
  17. package/chunks/{bridge-HUUBAUDS.js → bridge-VL7ITBU5.js} +35 -42
  18. package/chunks/{build-GHIZ4MSZ.js → build-SSCNEHZZ.js} +1 -1
  19. package/chunks/{ca-N6VVUFVB.js → ca-2SL2BXTK.js} +201 -611
  20. package/chunks/{channel-worker-group-LFBT7K64.js → channel-worker-group-53CMOPFT.js} +5 -5
  21. package/chunks/{channel-worker-manager-3RUPERG2.js → channel-worker-manager-UTXILKC2.js} +5 -5
  22. package/chunks/{channel-worker-supervisor-A3KVATD3.js → channel-worker-supervisor-ZGO2W2MD.js} +4 -4
  23. package/chunks/{chunk-2LI23QA6.js → chunk-2HOVDT7W.js} +1 -1
  24. package/chunks/{chunk-QSZOJHCQ.js → chunk-2LL7TXB4.js} +2 -2
  25. package/chunks/{chunk-EGMNITTR.js → chunk-333CXMNJ.js} +5 -5
  26. package/chunks/{chunk-DGKZ6QL3.js → chunk-33XUAINQ.js} +21 -61
  27. package/chunks/{chunk-DKT6SIJC.js → chunk-4EP2PYYL.js} +5 -5
  28. package/chunks/{chunk-QW3QUYG5.js → chunk-4ILMYHEI.js} +3 -3
  29. package/chunks/{chunk-B5KE3KNO.js → chunk-4N3KMAIL.js} +32 -128
  30. package/chunks/{chunk-6ZBPS62S.js → chunk-4ODB7WIB.js} +1 -1
  31. package/chunks/{chunk-5XPUJM4N.js → chunk-4XNLIGVA.js} +298 -576
  32. package/chunks/{chunk-67SZUDUH.js → chunk-542SK7KV.js} +1608 -243
  33. package/chunks/{chunk-RZZNAWTE.js → chunk-5JBR5XIK.js} +2 -2
  34. package/chunks/{chunk-E4IMU4Y5.js → chunk-5SCI6E3E.js} +1 -1
  35. package/chunks/{chunk-ZKY7USAE.js → chunk-6AFUCL3D.js} +1 -1
  36. package/chunks/{chunk-5I5BM454.js → chunk-6EFTQYW7.js} +1 -1
  37. package/chunks/{chunk-BXCXDT2T.js → chunk-7PZ2ATFZ.js} +29 -54
  38. package/chunks/{chunk-FJZPCXZM.js → chunk-7RMOXZTC.js} +4 -4
  39. package/chunks/{chunk-XPWXDCW5.js → chunk-7SXZC7ID.js} +6 -7
  40. package/chunks/{chunk-O2WEV2LS.js → chunk-A5LYNIW7.js} +8 -8
  41. package/chunks/{chunk-SEHBVG2S.js → chunk-AJSJ5TTU.js} +1 -1
  42. package/chunks/{chunk-422RQSNN.js → chunk-AKX4WPPP.js} +86 -307
  43. package/chunks/{chunk-QVQCCBMW.js → chunk-ANPINBOF.js} +5 -5
  44. package/chunks/{chunk-JJEFX6U5.js → chunk-AQIEINAY.js} +1766 -28
  45. package/chunks/{chunk-7Z6JQEL6.js → chunk-AYCDXHZB.js} +1 -1
  46. package/chunks/{chunk-BKZEHVPV.js → chunk-B3KGZCQN.js} +169 -177
  47. package/chunks/{chunk-6X4GWOPW.js → chunk-BDBMYST4.js} +1 -1
  48. package/chunks/{chunk-25WFJZL5.js → chunk-BMWMT5Y2.js} +373 -3
  49. package/chunks/{chunk-EDANOBFR.js → chunk-BRRF37CO.js} +6 -6
  50. package/chunks/{chunk-QLJUC7TG.js → chunk-BVLROR2T.js} +1 -1
  51. package/chunks/{chunk-OQB4EXO4.js → chunk-C27BYUX6.js} +11 -14
  52. package/chunks/{chunk-GDBCCE2J.js → chunk-CB2HFGRV.js} +6 -31
  53. package/chunks/chunk-CPCVCKKF.js +358 -0
  54. package/chunks/{chunk-K6YXJ3J5.js → chunk-CV63PP6U.js} +1 -1
  55. package/chunks/{chunk-BWGIRN4Z.js → chunk-CZF3E5GF.js} +1 -1
  56. package/chunks/{chunk-6NAAGP57.js → chunk-D22SX43D.js} +1 -1
  57. package/chunks/{chunk-X6N25LXS.js → chunk-D2VIDMVM.js} +2 -2
  58. package/chunks/{chunk-E7O22QBU.js → chunk-DBE4QFZS.js} +23 -27
  59. package/chunks/{chunk-4ZAHUGSC.js → chunk-DP5GXXNZ.js} +1 -5
  60. package/chunks/{chunk-Q2YKNMLS.js → chunk-EAUYY7SS.js} +3 -3
  61. package/chunks/{chunk-KHOVYUHX.js → chunk-EIAK6Q2B.js} +2 -2
  62. package/chunks/{chunk-NPQDJGKU.js → chunk-EZVDJFZ7.js} +1 -1
  63. package/chunks/{chunk-FODK6UMO.js → chunk-FEOZBUMT.js} +27 -0
  64. package/chunks/{chunk-6NHK6HS7.js → chunk-FLSVD6BS.js} +3 -3
  65. package/chunks/{chunk-LLJNFFFT.js → chunk-FQD7GFSV.js} +3 -3
  66. package/chunks/{chunk-T2L47JJK.js → chunk-FSL5W5TI.js} +3 -3
  67. package/chunks/{chunk-JCW2R7WC.js → chunk-G45X5TRN.js} +72 -1
  68. package/chunks/{chunk-ZHERRXZJ.js → chunk-GKY2OJ7R.js} +1 -1
  69. package/chunks/{chunk-6IL7KRLE.js → chunk-GMGDLUC7.js} +1 -1
  70. package/chunks/{chunk-N2HDLRGT.js → chunk-HZPN55E5.js} +1 -1
  71. package/chunks/{chunk-NTC7J4X7.js → chunk-I2PYAYFM.js} +3 -3
  72. package/chunks/{chunk-RVWSD6GI.js → chunk-IR46U7RB.js} +3 -3
  73. package/chunks/{chunk-W6E7KTQL.js → chunk-IVPSS6EL.js} +4 -4
  74. package/chunks/{chunk-4K56OJFJ.js → chunk-JD3MKVKL.js} +1 -1
  75. package/chunks/{chunk-SP5WRGVG.js → chunk-JNWZQ27S.js} +3 -3
  76. package/chunks/{chunk-VAUDHMX6.js → chunk-KDC6GNQR.js} +4 -4
  77. package/chunks/{chunk-5TSCAYXT.js → chunk-KG3XV6FH.js} +2 -29
  78. package/chunks/{chunk-HCQ2Q3KF.js → chunk-KOR3XKCA.js} +4 -10
  79. package/chunks/{chunk-52Y2T4L3.js → chunk-KQNM4EO7.js} +5 -137
  80. package/chunks/{chunk-4K7VDKAD.js → chunk-KTUQMDEP.js} +1 -1
  81. package/chunks/{chunk-Z2FTZM4Z.js → chunk-KX6UK4VJ.js} +19929 -22391
  82. package/chunks/{chunk-JYS55H6Z.js → chunk-MAQQGNQ5.js} +7 -66
  83. package/chunks/{chunk-7FNV372W.js → chunk-MJ6S23WZ.js} +4 -4
  84. package/chunks/{chunk-D7WXIW7H.js → chunk-NBMIC7DR.js} +4 -4
  85. package/chunks/{chunk-HGGEN2SC.js → chunk-NDMQLV4Y.js} +4 -4
  86. package/chunks/{chunk-FFFM6NJV.js → chunk-NEEB7UEN.js} +2 -1
  87. package/chunks/{chunk-WKGGZF7Z.js → chunk-NGFEPAE6.js} +6 -8
  88. package/chunks/{chunk-RVLZCXEE.js → chunk-NIJEXGV6.js} +10 -79
  89. package/chunks/{chunk-LMY4HCMA.js → chunk-O3OCNYY5.js} +2 -2
  90. package/chunks/{chunk-RIEABAJC.js → chunk-O3Z73NBP.js} +7 -7
  91. package/chunks/{chunk-VBZBVAQ3.js → chunk-OEO2ERWK.js} +33 -54
  92. package/chunks/{chunk-KQQ757OQ.js → chunk-OLMETXLX.js} +2 -2
  93. package/chunks/{chunk-LIZRAKPB.js → chunk-OOCI5VVU.js} +1 -1
  94. package/chunks/{chunk-GPSKDNEE.js → chunk-OONJNQ42.js} +3 -3
  95. package/chunks/{chunk-YM3SZTH4.js → chunk-OP4MOGXF.js} +1 -8
  96. package/chunks/{chunk-FCPNARPD.js → chunk-OWCALFEG.js} +1 -1
  97. package/chunks/{chunk-MPZ34JE7.js → chunk-OYZWQNWG.js} +2 -2
  98. package/chunks/{chunk-QBUDF33N.js → chunk-PBATSWUQ.js} +1 -1
  99. package/chunks/{chunk-6MNDXSG6.js → chunk-PBWEWI4N.js} +69 -76
  100. package/chunks/{chunk-OCCDRJIS.js → chunk-PF4CHQOJ.js} +6 -6
  101. package/chunks/{chunk-BH32VITB.js → chunk-PGEPSDJI.js} +8 -13
  102. package/chunks/{chunk-4LVZNIDO.js → chunk-QKYTTBYW.js} +1 -1
  103. package/chunks/{chunk-VYPFXUCB.js → chunk-R3VWUU2E.js} +1 -1
  104. package/chunks/{chunk-RV4C2ZFG.js → chunk-RFIAR4YL.js} +1 -1
  105. package/chunks/{chunk-P4B4SXDS.js → chunk-S2PD3EZD.js} +1 -1
  106. package/chunks/{chunk-H6T65C7O.js → chunk-S2W2LVDU.js} +3 -3
  107. package/chunks/{chunk-VJ4P64ID.js → chunk-S2XVRHDN.js} +1 -1
  108. package/chunks/chunk-SEKHYHMS.js +45 -0
  109. package/chunks/{chunk-JNEA3NW7.js → chunk-SJMV7ZBK.js} +8 -8
  110. package/chunks/{chunk-THJNPLI4.js → chunk-TB6UDU4T.js} +16 -16
  111. package/chunks/{chunk-R3D7SK6L.js → chunk-TIH2ZTOC.js} +2 -2
  112. package/chunks/{chunk-3FML67YK.js → chunk-TKLLK6XQ.js} +11 -11
  113. package/chunks/{chunk-SMVDDPEJ.js → chunk-TMQ6XQCX.js} +53 -170
  114. package/chunks/{chunk-QNLNLENL.js → chunk-UEY4AYUL.js} +2 -2
  115. package/chunks/{chunk-BLTELXOK.js → chunk-VDWBQ5AW.js} +1 -1
  116. package/chunks/{chunk-WGBLCAVW.js → chunk-VEXFOTEO.js} +3 -3
  117. package/chunks/{chunk-4RAFVWW2.js → chunk-VZQUV7VK.js} +1 -1
  118. package/chunks/chunk-W7FJ3N32.js +49 -0
  119. package/chunks/{chunk-UGYMA4EI.js → chunk-W7H223ZZ.js} +1 -1
  120. package/chunks/{chunk-UH3WSE5L.js → chunk-X6YQWCIJ.js} +1 -13
  121. package/chunks/{chunk-H4AR2JQF.js → chunk-XVVH63JG.js} +3 -3
  122. package/chunks/{chunk-QKTHJXCS.js → chunk-Y2ENGUD6.js} +1 -1
  123. package/chunks/{chunk-QD6BRERJ.js → chunk-YWEW33JY.js} +7 -7
  124. package/chunks/{chunk-57FIIFJN.js → chunk-ZEOZL37W.js} +1 -1
  125. package/chunks/chunk-ZFKNWQGQ.js +74639 -0
  126. package/chunks/{computer-use-XPLRRVJM.js → computer-use-NIWQNUZF.js} +35 -42
  127. package/chunks/{config-utils-WYUQ7II4.js → config-utils-AHQ6YZ66.js} +3 -3
  128. package/chunks/contextCommand-L2COEUHS.js +66 -0
  129. package/chunks/{create-sub-session-5YJR5PAM.js → create-sub-session-MGNX52P3.js} +30 -37
  130. package/chunks/{create-sub-session-AZ77LBL3.js → create-sub-session-P26FE5GG.js} +3 -3
  131. package/chunks/{cron-create-KTWJM7QT.js → cron-create-JWFHBDRQ.js} +5 -5
  132. package/chunks/{cron-delete-2P3I5ULL.js → cron-delete-GDX4E26G.js} +5 -5
  133. package/chunks/{cron-list-PXDPGEDQ.js → cron-list-USMAIWPT.js} +5 -5
  134. package/chunks/{daemon-KLPTQIE4.js → daemon-RG2MAI6T.js} +81 -138
  135. package/chunks/daemon-status-provider-NL4IAG7B.js +74 -0
  136. package/chunks/{de-4IBXM7CN.js → de-I7ZIYXZC.js} +1 -5
  137. package/chunks/{dist-HMU6CYS4.js → dist-2BHAYBKP.js} +2 -2
  138. package/chunks/{dist-PJLG2XYX.js → dist-2MIU4UUH.js} +1 -1
  139. package/chunks/{dist-UIFWIFRO.js → dist-53PZYC5B.js} +2 -2
  140. package/chunks/{dist-OAV7LJGJ.js → dist-AU7NQQRP.js} +1 -1
  141. package/chunks/{dist-OMW6WDEO.js → dist-FUTEXY6A.js} +1 -1
  142. package/chunks/{dist-XRYV6TJP.js → dist-WGTQO7F2.js} +25 -65
  143. package/chunks/{earlyInputCapture-XMECIN6Y.js → earlyInputCapture-L6I2A22T.js} +31 -38
  144. package/chunks/{edit-MMPLBVZU.js → edit-3QV3JZJL.js} +37 -42
  145. package/chunks/{en-USMCCJAJ.js → en-XE34GKAA.js} +1 -5
  146. package/chunks/{enter-worktree-BD7MCCG7.js → enter-worktree-4GMMF7EG.js} +35 -42
  147. package/chunks/{enterPlanMode-BQNJC23R.js → enterPlanMode-L5UWBAUC.js} +36 -48
  148. package/chunks/{environment-F3KL5Z5S.js → environment-3OV7UQOT.js} +32 -39
  149. package/chunks/{errors-VJ544HIS.js → errors-LEOF5QG4.js} +32 -39
  150. package/chunks/{exit-worktree-RDIQXZMI.js → exit-worktree-DDP57JLV.js} +35 -42
  151. package/chunks/{exitPlanMode-UNCZQPTX.js → exitPlanMode-CJBLGPIP.js} +35 -42
  152. package/chunks/{fast-path-H7N32H7D.js → fast-path-M6RP2ING.js} +3 -4
  153. package/chunks/{fast-path-settings-XB3CPUJT.js → fast-path-settings-DAOVFADC.js} +2 -2
  154. package/chunks/{fr-WVHEBDDB.js → fr-X7KDVZIY.js} +1 -5
  155. package/chunks/{gemini-G4VKT5DQ.js → gemini-H4PHBJTL.js} +89 -97
  156. package/chunks/{geminiContentGenerator-MDAL2B4C.js → geminiContentGenerator-VURJYPWP.js} +5 -5
  157. package/chunks/{getMachineId-bsd-QFVLPUPT.js → getMachineId-bsd-EXV7SWPA.js} +1 -1
  158. package/chunks/{getMachineId-darwin-DGMQQE2E.js → getMachineId-darwin-IUOMFXU3.js} +1 -1
  159. package/chunks/{getMachineId-linux-R4Z6CSWC.js → getMachineId-linux-K7XJYFHL.js} +1 -1
  160. package/chunks/{getMachineId-unsupported-Z3SBVBUV.js → getMachineId-unsupported-EA5FDRJ6.js} +1 -1
  161. package/chunks/{getMachineId-win-SCK5UFDT.js → getMachineId-win-KBA6RAI5.js} +1 -1
  162. package/chunks/{glob-JBT6FGZL.js → glob-2KUSRAVQ.js} +35 -42
  163. package/chunks/{grep-5NUIQ63X.js → grep-B5RXVESV.js} +35 -42
  164. package/chunks/handleAutoUpdate-QQVIWXKT.js +67 -0
  165. package/chunks/{i18n-IPHO7BGL.js → i18n-N6OBDORT.js} +31 -38
  166. package/chunks/initializer-6WCFNDLL.js +72 -0
  167. package/chunks/installationInfo-6J3WPXNS.js +64 -0
  168. package/chunks/{ja-KY4ROZTE.js → ja-2ICT3KXF.js} +1 -5
  169. package/chunks/{keychain-token-storage-6ACJDYIB.js → keychain-token-storage-DWRJMNH3.js} +3 -3
  170. package/chunks/list-HOWQSWP6.js +75 -0
  171. package/chunks/loadedSettingsAdapter-AO4YBRXZ.js +69 -0
  172. package/chunks/{loop-wakeup-RNMRVA66.js → loop-wakeup-5GLTUBHA.js} +6 -6
  173. package/chunks/{ls-J2ZI5XYK.js → ls-FHBY3Y7I.js} +5 -5
  174. package/chunks/{lsp-UMS3NUB5.js → lsp-B6VMEW6Y.js} +3 -3
  175. package/chunks/mcp-QH7QNXOH.js +69 -0
  176. package/chunks/{monitor-SIX5LMEK.js → monitor-GLJZDNPS.js} +35 -42
  177. package/chunks/nonInteractiveCli-TI7EMPXD.js +126 -0
  178. package/chunks/{notebook-edit-CWVOTW3I.js → notebook-edit-AVCIWS4F.js} +38 -43
  179. package/chunks/{openaiContentGenerator-FELHHJAN.js → openaiContentGenerator-B7W24G3D.js} +17 -22
  180. package/chunks/{pidfile-2ZQGHGPJ.js → pidfile-UEHAT6DH.js} +31 -38
  181. package/chunks/{processUtils-M3RKQCI4.js → processUtils-XZPY2PBB.js} +2 -2
  182. package/chunks/{pt-OK455PLH.js → pt-JJ4XPIBP.js} +1 -5
  183. package/chunks/{qwenContentGenerator-RBFIZMBC.js → qwenContentGenerator-6GUTWJIC.js} +35 -44
  184. package/chunks/{qwenOAuth2-S2BUDQM3.js → qwenOAuth2-GASEEWGU.js} +15 -18
  185. package/chunks/{read-file-WQCCV6HY.js → read-file-SQJONF6A.js} +11 -13
  186. package/chunks/{read-mcp-resource-F6HYMDUY.js → read-mcp-resource-AKCL7I43.js} +3 -3
  187. package/chunks/{record-artifact-7GCFLDD7.js → record-artifact-PEUB7727.js} +3 -3
  188. package/chunks/{resumeHistoryUtils-NDYMU2WO.js → resumeHistoryUtils-PFQ2A23X.js} +36 -43
  189. package/chunks/ripGrep-QCK22GDU.js +59 -0
  190. package/chunks/{ru-7SPDGMGD.js → ru-STR4KTW7.js} +1 -5
  191. package/chunks/{run-qwen-serve-FY5MMHPN.js → run-qwen-serve-OZGR3FQA.js} +82 -104
  192. package/chunks/{runtime-LONMMWKO.js → runtime-SNVAP6EH.js} +40 -49
  193. package/chunks/{scheduler-KYNL2MHI.js → scheduler-Z7QLMUWA.js} +30 -37
  194. package/chunks/{send-message-PYIJ2PZL.js → send-message-3RHE7HSM.js} +4 -6
  195. package/chunks/{serve-VNORFL4H.js → serve-BT7KS6SC.js} +36 -43
  196. package/chunks/{server-X2KCJKA3.js → server-SO64U3X5.js} +284 -988
  197. package/chunks/{session-CSYW4ELX.js → session-2KL2WQAH.js} +173 -92
  198. package/chunks/{settings-QZJ4XWS3.js → settings-KITVOUSV.js} +39 -46
  199. package/chunks/{shell-ELMKOZKP.js → shell-BITUVH2R.js} +30 -37
  200. package/chunks/{skill-IBUGJX5S.js → skill-SOQHY455.js} +20 -24
  201. package/chunks/{spawnChannel-SWCGOB2N.js → spawnChannel-2BU3AULL.js} +32 -39
  202. package/chunks/{src-FOUKVFPZ.js → src-43LM7JLB.js} +209 -279
  203. package/chunks/{standalone-update-5U5IRIN5.js → standalone-update-YG5JUYCM.js} +32 -39
  204. package/chunks/{startInteractiveUI-B3KIQ363.js → startInteractiveUI-3RGTGEX5.js} +895 -1092
  205. package/chunks/{syntheticOutput-H7RTI5KL.js → syntheticOutput-FG5PQKIR.js} +4 -4
  206. package/chunks/{task-create-7474AJJD.js → task-create-HX32YXO7.js} +8 -10
  207. package/chunks/{task-list-633HGOIB.js → task-list-QWSY4ZIU.js} +6 -6
  208. package/chunks/{task-stop-MNUGHPIA.js → task-stop-GWC6UWAL.js} +3 -3
  209. package/chunks/{task-update-66GQB5LI.js → task-update-NCTAB73Q.js} +8 -10
  210. package/chunks/{team-create-AT3OPBS4.js → team-create-FXN3PEBP.js} +35 -42
  211. package/chunks/{team-delete-BB3CG3QF.js → team-delete-KK37HTOG.js} +6 -6
  212. package/chunks/{team-plan-approval-6AYAQ3KG.js → team-plan-approval-GEIZ356Q.js} +35 -42
  213. package/chunks/theme-manager-IAETOI25.js +63 -0
  214. package/chunks/{todoWrite-KRAUN54W.js → todoWrite-ERCAMLFS.js} +5 -5
  215. package/chunks/{tool-search-2ZFYIVVW.js → tool-search-XKK7DNOK.js} +17 -21
  216. package/chunks/total-session-admission-BJLDHKJN.js +69 -0
  217. package/chunks/{trustedFolders-VHGVDSZU.js → trustedFolders-5XCVNEUU.js} +31 -38
  218. package/chunks/{update-relaunch-RM5E3W4P.js → update-relaunch-FMVZK6XF.js} +17 -17
  219. package/chunks/updateCheck-YZZB7YBU.js +70 -0
  220. package/chunks/{useAutoAcceptIndicator-AAPKHC46.js → useAutoAcceptIndicator-ZSQX4I2H.js} +40 -47
  221. package/chunks/{validateNonInterActiveAuth-7WGVSFOZ.js → validateNonInterActiveAuth-PRVEB6GG.js} +72 -79
  222. package/chunks/{version-M7BDNXTT.js → version-AZMG6KWL.js} +1 -1
  223. package/chunks/{web-fetch-UZSKXY3L.js → web-fetch-EPGJ5OQQ.js} +41 -100
  224. package/chunks/{workflow-OCSRM2L2.js → workflow-UTNVPW22.js} +39 -47
  225. package/chunks/workspace-providers-status-EADV364W.js +72 -0
  226. package/chunks/{workspace-registration-store-QDOLWEMY.js → workspace-registration-store-F3ZX3YHT.js} +2 -8
  227. package/chunks/workspace-registry-W6VMFYZU.js +73 -0
  228. package/chunks/workspace-service-F3KIN2UN.js +84 -0
  229. package/chunks/workspace-skills-status-YVICUR5Y.js +71 -0
  230. package/chunks/write-file-CVGF2OKV.js +596 -0
  231. package/chunks/{zh-WY5DWYZD.js → zh-6ANG2HTL.js} +1 -5
  232. package/chunks/{zh-TW-BM47YBFH.js → zh-TW-4RR3YHNN.js} +1 -5
  233. package/cli-entry.js +12 -164
  234. package/cli.js +11 -18
  235. package/locales/ca.js +203 -772
  236. package/locales/de.js +2 -8
  237. package/locales/en.js +2 -8
  238. package/locales/fr.js +2 -8
  239. package/locales/ja.js +2 -8
  240. package/locales/pt.js +2 -8
  241. package/locales/ru.js +2 -8
  242. package/locales/zh-TW.js +2 -8
  243. package/locales/zh.js +2 -8
  244. package/package.json +3 -3
  245. package/web-shell/assets/{arc-ByltRugA.js → arc-Buk1besA.js} +1 -1
  246. package/web-shell/assets/{architectureDiagram-3BPJPVTR-CCRTto5d.js → architectureDiagram-3BPJPVTR-B1aUKYDC.js} +1 -1
  247. package/web-shell/assets/{blockDiagram-GPEHLZMM-Jfy36u1L.js → blockDiagram-GPEHLZMM-CRTdg3Zx.js} +1 -1
  248. package/web-shell/assets/{c4Diagram-AAUBKEIU-4d5FfEZ0.js → c4Diagram-AAUBKEIU-DFdRMp5g.js} +1 -1
  249. package/web-shell/assets/channel-04R0vLbG.js +1 -0
  250. package/web-shell/assets/{chunk-2J33WTMH-BPwxCEro.js → chunk-2J33WTMH-4rYQdkEI.js} +1 -1
  251. package/web-shell/assets/{chunk-4BX2VUAB-jY7ZmJWY.js → chunk-4BX2VUAB-Coi-pQJy.js} +1 -1
  252. package/web-shell/assets/{chunk-55IACEB6-C98HgCsS.js → chunk-55IACEB6-BtBjz02t.js} +1 -1
  253. package/web-shell/assets/{chunk-727SXJPM-cDu-ge-q.js → chunk-727SXJPM-CGYOWorl.js} +1 -1
  254. package/web-shell/assets/{chunk-AQP2D5EJ-BKdJwxXK.js → chunk-AQP2D5EJ-CH5AKhqx.js} +1 -1
  255. package/web-shell/assets/{chunk-FMBD7UC4-DnuxqwMu.js → chunk-FMBD7UC4-Cd50-w85.js} +1 -1
  256. package/web-shell/assets/{chunk-ND2GUHAM-C4fZNPv0.js → chunk-ND2GUHAM-C2wF3KCK.js} +1 -1
  257. package/web-shell/assets/{chunk-QZHKN3VN-Cf4XWOmz.js → chunk-QZHKN3VN-pCeRTaWi.js} +1 -1
  258. package/web-shell/assets/classDiagram-4FO5ZUOK-Bw9SOwAV.js +1 -0
  259. package/web-shell/assets/classDiagram-v2-Q7XG4LA2-Bw9SOwAV.js +1 -0
  260. package/web-shell/assets/{cose-bilkent-S5V4N54A-C82mFiqj.js → cose-bilkent-S5V4N54A-B-_fAB6D.js} +1 -1
  261. package/web-shell/assets/{dagre-BM42HDAG-Df8KACER.js → dagre-BM42HDAG-ChSPNHpL.js} +1 -1
  262. package/web-shell/assets/{diagram-2AECGRRQ-EzNs7s_2.js → diagram-2AECGRRQ-BX7cFOF3.js} +1 -1
  263. package/web-shell/assets/{diagram-5GNKFQAL-BRLNvreg.js → diagram-5GNKFQAL-BQUTW92n.js} +1 -1
  264. package/web-shell/assets/{diagram-KO2AKTUF-2HLYHRjC.js → diagram-KO2AKTUF-BkYPh3e4.js} +1 -1
  265. package/web-shell/assets/{diagram-LMA3HP47-DeH0NzSp.js → diagram-LMA3HP47-Cl6jsNyx.js} +1 -1
  266. package/web-shell/assets/{diagram-OG6HWLK6-k5Gn47-G.js → diagram-OG6HWLK6-DRWoHz8n.js} +1 -1
  267. package/web-shell/assets/{erDiagram-TEJ5UH35-gPHFo79f.js → erDiagram-TEJ5UH35-CGvFcZco.js} +1 -1
  268. package/web-shell/assets/{flowDiagram-I6XJVG4X-DYBOiTRW.js → flowDiagram-I6XJVG4X-vms6oVdv.js} +1 -1
  269. package/web-shell/assets/{ganttDiagram-6RSMTGT7-cxjAuic9.js → ganttDiagram-6RSMTGT7-ukT_sfmi.js} +1 -1
  270. package/web-shell/assets/{gitGraphDiagram-PVQCEYII-3nPqpmCP.js → gitGraphDiagram-PVQCEYII-Bn2ZE2Ut.js} +1 -1
  271. package/web-shell/assets/index-DgkKrjw3.js +1187 -0
  272. package/web-shell/assets/index-Rv6mOAN9.css +5 -0
  273. package/web-shell/assets/{index-Cl8d-1bK.js → index-wFXp7W68.js} +1 -1
  274. package/web-shell/assets/{infoDiagram-5YYISTIA-Dph21pR5.js → infoDiagram-5YYISTIA-DHJdSi7x.js} +1 -1
  275. package/web-shell/assets/{ishikawaDiagram-YF4QCWOH-Cjg1hSaG.js → ishikawaDiagram-YF4QCWOH-DOvd2Wph.js} +1 -1
  276. package/web-shell/assets/{journeyDiagram-JHISSGLW-CR-IzvnU.js → journeyDiagram-JHISSGLW-CH_urMCT.js} +1 -1
  277. package/web-shell/assets/{kanban-definition-UN3LZRKU-BYmuybuC.js → kanban-definition-UN3LZRKU-FKiBdgbH.js} +1 -1
  278. package/web-shell/assets/{linear-CngEEoy8.js → linear-0ZVQFVKf.js} +1 -1
  279. package/web-shell/assets/{mermaid.core-G6fbZRPf.js → mermaid.core-DJ05ZZIK.js} +5 -5
  280. package/web-shell/assets/{mindmap-definition-RKZ34NQL-BtnqnUwJ.js → mindmap-definition-RKZ34NQL-BPuUhkUm.js} +1 -1
  281. package/web-shell/assets/{pieDiagram-4H26LBE5-XTq6UHIA.js → pieDiagram-4H26LBE5-yLFKcXyG.js} +1 -1
  282. package/web-shell/assets/{quadrantDiagram-W4KKPZXB-D1J5PrsS.js → quadrantDiagram-W4KKPZXB-irWqc1pE.js} +1 -1
  283. package/web-shell/assets/{requirementDiagram-4Y6WPE33-CLcBUy3t.js → requirementDiagram-4Y6WPE33-B_4uMoIV.js} +1 -1
  284. package/web-shell/assets/{sankeyDiagram-5OEKKPKP-iwKV02_6.js → sankeyDiagram-5OEKKPKP-ciA4GPwk.js} +1 -1
  285. package/web-shell/assets/{sequenceDiagram-3UESZ5HK-7NFYQcEX.js → sequenceDiagram-3UESZ5HK-CRdZvy0U.js} +1 -1
  286. package/web-shell/assets/{stateDiagram-AJRCARHV-Bvm4Wih6.js → stateDiagram-AJRCARHV-DaYIkCCn.js} +1 -1
  287. package/web-shell/assets/stateDiagram-v2-BHNVJYJU-DWBoO4UY.js +1 -0
  288. package/web-shell/assets/{timeline-definition-PNZ67QCA-B4FZFE9O.js → timeline-definition-PNZ67QCA-oBUKv6iH.js} +1 -1
  289. package/web-shell/assets/{vennDiagram-CIIHVFJN-CvMBpmtL.js → vennDiagram-CIIHVFJN-CGW9Sdmb.js} +1 -1
  290. package/web-shell/assets/{wardley-L42UT6IY-E3ag2327.js → wardley-L42UT6IY-CvwKJOCm.js} +1 -1
  291. package/web-shell/assets/{wardleyDiagram-YWT4CUSO-BEXWlgxC.js → wardleyDiagram-YWT4CUSO-Ipc260sN.js} +1 -1
  292. package/web-shell/assets/{xychartDiagram-2RQKCTM6-CICK05gI.js → xychartDiagram-2RQKCTM6-D6-CM7pK.js} +1 -1
  293. package/web-shell/index.html +2 -2
  294. package/chunks/agent-headless-QTKDKVED.js +0 -68
  295. package/chunks/chunk-2RFKHEXL.js +0 -74
  296. package/chunks/chunk-43T5WDQ7.js +0 -127
  297. package/chunks/chunk-6PVPNMXU.js +0 -29
  298. package/chunks/chunk-7362QS5B.js +0 -2256
  299. package/chunks/chunk-D7ZI5C7O.js +0 -20600
  300. package/chunks/chunk-GLNBDYUX.js +0 -38
  301. package/chunks/chunk-GMLTZG4O.js +0 -391
  302. package/chunks/chunk-HTR4WV6U.js +0 -327
  303. package/chunks/chunk-KWK7UE6L.js +0 -6194
  304. package/chunks/chunk-M7WBGLYP.js +0 -151
  305. package/chunks/chunk-MMT6IQCT.js +0 -121
  306. package/chunks/chunk-NABLFI57.js +0 -82
  307. package/chunks/chunk-OQ5SYCPE.js +0 -10017
  308. package/chunks/chunk-PI6ECBP3.js +0 -1780
  309. package/chunks/chunk-U7ZFW55U.js +0 -2098
  310. package/chunks/chunk-WHGVTP7Q.js +0 -1049
  311. package/chunks/chunk-XHATNRQA.js +0 -1500
  312. package/chunks/contextCommand-2W675HYY.js +0 -73
  313. package/chunks/daemon-status-provider-QZCVTG6N.js +0 -81
  314. package/chunks/handleAutoUpdate-EF3LY7MI.js +0 -74
  315. package/chunks/initializer-HCOCXGBI.js +0 -79
  316. package/chunks/installationInfo-UEBNCLFW.js +0 -73
  317. package/chunks/list-4SKXTNSD.js +0 -82
  318. package/chunks/loadedSettingsAdapter-EQWK5CG6.js +0 -76
  319. package/chunks/managed-npm-update-ZUZU4UFM.js +0 -333
  320. package/chunks/mcp-4Z3EC4SI.js +0 -76
  321. package/chunks/nonInteractiveCli-FTUKIU5R.js +0 -133
  322. package/chunks/ripGrep-K2E3F5ED.js +0 -66
  323. package/chunks/sdk-exporters-grpc-ETLH47EP.js +0 -23214
  324. package/chunks/sdk-exporters-http-T3POX73F.js +0 -563
  325. package/chunks/sdk-impl-NSLPDH6I.js +0 -9193
  326. package/chunks/theme-manager-733OBN7I.js +0 -70
  327. package/chunks/total-session-admission-TZ4NVA6B.js +0 -76
  328. package/chunks/updateCheck-DGY3LFKB.js +0 -89
  329. package/chunks/web-search-EG64C5VB.js +0 -731
  330. package/chunks/workspace-providers-status-HZLYOFRA.js +0 -79
  331. package/chunks/workspace-registry-EVSTTG3G.js +0 -80
  332. package/chunks/workspace-service-DNQMT6FN.js +0 -91
  333. package/chunks/workspace-skills-status-ICGPGD6F.js +0 -78
  334. package/chunks/write-file-K6R5F3IZ.js +0 -66
  335. package/web-shell/assets/channel-4N2UIFcG.js +0 -1
  336. package/web-shell/assets/classDiagram-4FO5ZUOK-Q4dYOtsh.js +0 -1
  337. package/web-shell/assets/classDiagram-v2-Q7XG4LA2-Q4dYOtsh.js +0 -1
  338. package/web-shell/assets/index-B7jzUZ_s.css +0 -5
  339. package/web-shell/assets/index-gE8OWwj_.js +0 -1197
  340. package/web-shell/assets/stateDiagram-v2-BHNVJYJU-xXU_zO2Z.js +0 -1
  341. package/chunks/{chunk-QZJY47IE.js → chunk-PEJWA3QQ.js} +5 -5
@@ -9,13 +9,12 @@ import {
9
9
  import {
10
10
  require_lib
11
11
  } from "./chunk-WBL3FJEU.js";
12
+ import {
13
+ MAX_WORKSPACE_PATH_LENGTH
14
+ } from "./chunk-W7FJ3N32.js";
12
15
  import {
13
16
  require_mime_db
14
17
  } from "./chunk-T2NCM2ET.js";
15
- import {
16
- MAX_WORKSPACE_PATH_LENGTH,
17
- translateAndCheckAbsoluteWorkspacePath
18
- } from "./chunk-2RFKHEXL.js";
19
18
  import {
20
19
  writeStderrLine
21
20
  } from "./chunk-OWAK7LMW.js";
@@ -9070,11 +9069,11 @@ var require_mime_types = __commonJS({
9070
9069
  return exts[0];
9071
9070
  }
9072
9071
  __name(extension, "extension");
9073
- function lookup(path2) {
9074
- if (!path2 || typeof path2 !== "string") {
9072
+ function lookup(path3) {
9073
+ if (!path3 || typeof path3 !== "string") {
9075
9074
  return false;
9076
9075
  }
9077
- var extension2 = extname("x." + path2).toLowerCase().slice(1);
9076
+ var extension2 = extname("x." + path3).toLowerCase().slice(1);
9078
9077
  if (!extension2) {
9079
9078
  return false;
9080
9079
  }
@@ -10205,13 +10204,13 @@ var require_view = __commonJS({
10205
10204
  "use strict";
10206
10205
  init_esbuild_shims();
10207
10206
  var debug = require_src()("express:view");
10208
- var path2 = __require("node:path");
10207
+ var path3 = __require("node:path");
10209
10208
  var fs = __require("node:fs");
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;
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;
10215
10214
  module.exports = View;
10216
10215
  function View(name, options) {
10217
10216
  var opts = options || {};
@@ -10241,17 +10240,17 @@ var require_view = __commonJS({
10241
10240
  }
10242
10241
  __name(View, "View");
10243
10242
  View.prototype.lookup = /* @__PURE__ */ __name(function lookup(name) {
10244
- var path3;
10243
+ var path4;
10245
10244
  var roots = [].concat(this.root);
10246
10245
  debug('lookup "%s"', name);
10247
- for (var i = 0; i < roots.length && !path3; i++) {
10246
+ for (var i = 0; i < roots.length && !path4; i++) {
10248
10247
  var root = roots[i];
10249
10248
  var loc = resolve(root, name);
10250
10249
  var dir = dirname2(loc);
10251
10250
  var file = basename2(loc);
10252
- path3 = this.resolve(dir, file);
10251
+ path4 = this.resolve(dir, file);
10253
10252
  }
10254
- return path3;
10253
+ return path4;
10255
10254
  }, "lookup");
10256
10255
  View.prototype.render = /* @__PURE__ */ __name(function render(options, callback) {
10257
10256
  var sync = true;
@@ -10273,21 +10272,21 @@ var require_view = __commonJS({
10273
10272
  }, "render");
10274
10273
  View.prototype.resolve = /* @__PURE__ */ __name(function resolve2(dir, file) {
10275
10274
  var ext = this.ext;
10276
- var path3 = join2(dir, file);
10277
- var stat = tryStat(path3);
10275
+ var path4 = join2(dir, file);
10276
+ var stat = tryStat(path4);
10278
10277
  if (stat && stat.isFile()) {
10279
- return path3;
10278
+ return path4;
10280
10279
  }
10281
- path3 = join2(dir, basename2(file, ext), "index" + ext);
10282
- stat = tryStat(path3);
10280
+ path4 = join2(dir, basename2(file, ext), "index" + ext);
10281
+ stat = tryStat(path4);
10283
10282
  if (stat && stat.isFile()) {
10284
- return path3;
10283
+ return path4;
10285
10284
  }
10286
10285
  }, "resolve");
10287
- function tryStat(path3) {
10288
- debug('stat "%s"', path3);
10286
+ function tryStat(path4) {
10287
+ debug('stat "%s"', path4);
10289
10288
  try {
10290
- return fs.statSync(path3);
10289
+ return fs.statSync(path4);
10291
10290
  } catch (e) {
10292
10291
  return void 0;
10293
10292
  }
@@ -11468,15 +11467,15 @@ var require_dist2 = __commonJS({
11468
11467
  let index = 0;
11469
11468
  function consumeUntil(end) {
11470
11469
  const output = [];
11471
- let path2 = "";
11470
+ let path3 = "";
11472
11471
  function writePath() {
11473
- if (!path2)
11472
+ if (!path3)
11474
11473
  return;
11475
11474
  output.push({
11476
11475
  type: "text",
11477
- value: encodePath(path2)
11476
+ value: encodePath(path3)
11478
11477
  });
11479
- path2 = "";
11478
+ path3 = "";
11480
11479
  }
11481
11480
  __name(writePath, "writePath");
11482
11481
  while (index < chars.length) {
@@ -11489,7 +11488,7 @@ var require_dist2 = __commonJS({
11489
11488
  if (index === chars.length) {
11490
11489
  throw new PathError(`Unexpected end after \\ at index ${index}`, str);
11491
11490
  }
11492
- path2 += chars[index++];
11491
+ path3 += chars[index++];
11493
11492
  continue;
11494
11493
  }
11495
11494
  if (value === ":" || value === "*") {
@@ -11533,7 +11532,7 @@ var require_dist2 = __commonJS({
11533
11532
  if (value === "}" || value === "(" || value === ")" || value === "[" || value === "]" || value === "+" || value === "?" || value === "!") {
11534
11533
  throw new PathError(`Unexpected ${value} at index ${index - 1}`, str);
11535
11534
  }
11536
- path2 += value;
11535
+ path3 += value;
11537
11536
  }
11538
11537
  if (end) {
11539
11538
  throw new PathError(`Unexpected end at index ${index}, expected ${end}`, str);
@@ -11545,17 +11544,17 @@ var require_dist2 = __commonJS({
11545
11544
  return new TokenData(consumeUntil(""), str);
11546
11545
  }
11547
11546
  __name(parse, "parse");
11548
- function compile(path2, options = {}) {
11547
+ function compile(path3, options = {}) {
11549
11548
  const { encode = encodeURIComponent, delimiter = DEFAULT_DELIMITER } = options;
11550
- const data = typeof path2 === "object" ? path2 : parse(path2, options);
11549
+ const data = typeof path3 === "object" ? path3 : parse(path3, options);
11551
11550
  const fn = tokensToFunction(data.tokens, delimiter, encode);
11552
- return /* @__PURE__ */ __name(function path3(params = {}) {
11551
+ return /* @__PURE__ */ __name(function path4(params = {}) {
11553
11552
  const missing = [];
11554
- const path4 = fn(params, missing);
11553
+ const path5 = fn(params, missing);
11555
11554
  if (missing.length) {
11556
11555
  throw new TypeError(`Missing parameters: ${missing.join(", ")}`);
11557
11556
  }
11558
- return path4;
11557
+ return path5;
11559
11558
  }, "path");
11560
11559
  }
11561
11560
  __name(compile, "compile");
@@ -11620,9 +11619,9 @@ var require_dist2 = __commonJS({
11620
11619
  };
11621
11620
  }
11622
11621
  __name(tokenToFunction, "tokenToFunction");
11623
- function match(path2, options = {}) {
11622
+ function match(path3, options = {}) {
11624
11623
  const { decode = decodeURIComponent, delimiter = DEFAULT_DELIMITER } = options;
11625
- const { regexp, keys } = pathToRegexp(path2, options);
11624
+ const { regexp, keys } = pathToRegexp(path3, options);
11626
11625
  const decoders = keys.map((key) => {
11627
11626
  if (decode === false)
11628
11627
  return NOOP_VALUE;
@@ -11634,7 +11633,7 @@ var require_dist2 = __commonJS({
11634
11633
  const m = regexp.exec(input);
11635
11634
  if (!m)
11636
11635
  return false;
11637
- const path3 = m[0];
11636
+ const path4 = m[0];
11638
11637
  const params = /* @__PURE__ */ Object.create(null);
11639
11638
  for (let i = 1; i < m.length; i++) {
11640
11639
  if (m[i] === void 0)
@@ -11643,22 +11642,22 @@ var require_dist2 = __commonJS({
11643
11642
  const decoder = decoders[i - 1];
11644
11643
  params[key.name] = decoder(m[i]);
11645
11644
  }
11646
- return { path: path3, params };
11645
+ return { path: path4, params };
11647
11646
  }, "match");
11648
11647
  }
11649
11648
  __name(match, "match");
11650
- function pathToRegexp(path2, options = {}) {
11649
+ function pathToRegexp(path3, options = {}) {
11651
11650
  const { delimiter = DEFAULT_DELIMITER, end = true, sensitive = false, trailing = true } = options;
11652
11651
  const keys = [];
11653
11652
  let source = "";
11654
11653
  let combinations = 0;
11655
- function process2(path3) {
11656
- if (Array.isArray(path3)) {
11657
- for (const p of path3)
11654
+ function process2(path4) {
11655
+ if (Array.isArray(path4)) {
11656
+ for (const p of path4)
11658
11657
  process2(p);
11659
11658
  return;
11660
11659
  }
11661
- const data = typeof path3 === "object" ? path3 : parse(path3, options);
11660
+ const data = typeof path4 === "object" ? path4 : parse(path4, options);
11662
11661
  flatten(data.tokens, 0, [], (tokens) => {
11663
11662
  if (combinations >= 256) {
11664
11663
  throw new PathError("Too many path combinations", data.originalPath);
@@ -11670,7 +11669,7 @@ var require_dist2 = __commonJS({
11670
11669
  });
11671
11670
  }
11672
11671
  __name(process2, "process");
11673
- process2(path2);
11672
+ process2(path3);
11674
11673
  let pattern = `^(?:${source})`;
11675
11674
  if (trailing)
11676
11675
  pattern += "(?:" + escape(delimiter) + "$)?";
@@ -11820,18 +11819,18 @@ var require_layer = __commonJS({
11820
11819
  var TRAILING_SLASH_REGEXP = /\/+$/;
11821
11820
  var MATCHING_GROUP_REGEXP = /\((?:\?<(.*?)>)?(?!\?)/g;
11822
11821
  module.exports = Layer;
11823
- function Layer(path2, options, fn) {
11822
+ function Layer(path3, options, fn) {
11824
11823
  if (!(this instanceof Layer)) {
11825
- return new Layer(path2, options, fn);
11824
+ return new Layer(path3, options, fn);
11826
11825
  }
11827
- debug("new %o", path2);
11826
+ debug("new %o", path3);
11828
11827
  const opts = options || {};
11829
11828
  this.handle = fn;
11830
11829
  this.keys = [];
11831
11830
  this.name = fn.name || "<anonymous>";
11832
11831
  this.params = void 0;
11833
11832
  this.path = void 0;
11834
- this.slash = path2 === "/" && opts.end === false;
11833
+ this.slash = path3 === "/" && opts.end === false;
11835
11834
  function matcher(_path) {
11836
11835
  if (_path instanceof RegExp) {
11837
11836
  const keys = [];
@@ -11871,7 +11870,7 @@ var require_layer = __commonJS({
11871
11870
  });
11872
11871
  }
11873
11872
  __name(matcher, "matcher");
11874
- this.matchers = Array.isArray(path2) ? path2.map(matcher) : [matcher(path2)];
11873
+ this.matchers = Array.isArray(path3) ? path3.map(matcher) : [matcher(path3)];
11875
11874
  }
11876
11875
  __name(Layer, "Layer");
11877
11876
  Layer.prototype.handleError = /* @__PURE__ */ __name(function handleError(error, req, res, next) {
@@ -11912,9 +11911,9 @@ var require_layer = __commonJS({
11912
11911
  next(err);
11913
11912
  }
11914
11913
  }, "handleRequest");
11915
- Layer.prototype.match = /* @__PURE__ */ __name(function match(path2) {
11914
+ Layer.prototype.match = /* @__PURE__ */ __name(function match(path3) {
11916
11915
  let match2;
11917
- if (path2 != null) {
11916
+ if (path3 != null) {
11918
11917
  if (this.slash) {
11919
11918
  this.params = {};
11920
11919
  this.path = "";
@@ -11922,7 +11921,7 @@ var require_layer = __commonJS({
11922
11921
  }
11923
11922
  let i = 0;
11924
11923
  while (!match2 && i < this.matchers.length) {
11925
- match2 = this.matchers[i](path2);
11924
+ match2 = this.matchers[i](path3);
11926
11925
  i++;
11927
11926
  }
11928
11927
  }
@@ -11951,13 +11950,13 @@ var require_layer = __commonJS({
11951
11950
  }
11952
11951
  }
11953
11952
  __name(decodeParam, "decodeParam");
11954
- function loosen(path2) {
11955
- if (path2 instanceof RegExp || path2 === "/") {
11956
- return path2;
11953
+ function loosen(path3) {
11954
+ if (path3 instanceof RegExp || path3 === "/") {
11955
+ return path3;
11957
11956
  }
11958
- return Array.isArray(path2) ? path2.map(function(p) {
11957
+ return Array.isArray(path3) ? path3.map(function(p) {
11959
11958
  return loosen(p);
11960
- }) : String(path2).replace(TRAILING_SLASH_REGEXP, "");
11959
+ }) : String(path3).replace(TRAILING_SLASH_REGEXP, "");
11961
11960
  }
11962
11961
  __name(loosen, "loosen");
11963
11962
  }
@@ -11975,9 +11974,9 @@ var require_route = __commonJS({
11975
11974
  var flatten = Array.prototype.flat;
11976
11975
  var methods = METHODS.map((method) => method.toLowerCase());
11977
11976
  module.exports = Route;
11978
- function Route(path2) {
11979
- debug("new %o", path2);
11980
- this.path = path2;
11977
+ function Route(path3) {
11978
+ debug("new %o", path3);
11979
+ this.path = path3;
11981
11980
  this.stack = [];
11982
11981
  this.methods = /* @__PURE__ */ Object.create(null);
11983
11982
  }
@@ -12190,8 +12189,8 @@ var require_router = __commonJS({
12190
12189
  if (++sync > 100) {
12191
12190
  return setImmediate(next, err);
12192
12191
  }
12193
- const path2 = getPathname(req);
12194
- if (path2 == null) {
12192
+ const path3 = getPathname(req);
12193
+ if (path3 == null) {
12195
12194
  return done(layerError);
12196
12195
  }
12197
12196
  let layer;
@@ -12199,7 +12198,7 @@ var require_router = __commonJS({
12199
12198
  let route;
12200
12199
  while (match !== true && idx < stack.length) {
12201
12200
  layer = stack[idx++];
12202
- match = matchLayer(layer, path2);
12201
+ match = matchLayer(layer, path3);
12203
12202
  route = layer.route;
12204
12203
  if (typeof match !== "boolean") {
12205
12204
  layerError = layerError || match;
@@ -12237,19 +12236,19 @@ var require_router = __commonJS({
12237
12236
  } else if (route) {
12238
12237
  layer.handleRequest(req, res, next);
12239
12238
  } else {
12240
- trimPrefix(layer, layerError, layerPath, path2);
12239
+ trimPrefix(layer, layerError, layerPath, path3);
12241
12240
  }
12242
12241
  sync = 0;
12243
12242
  });
12244
12243
  }
12245
12244
  __name(next, "next");
12246
- function trimPrefix(layer, layerError, layerPath, path2) {
12245
+ function trimPrefix(layer, layerError, layerPath, path3) {
12247
12246
  if (layerPath.length !== 0) {
12248
- if (layerPath !== path2.substring(0, layerPath.length)) {
12247
+ if (layerPath !== path3.substring(0, layerPath.length)) {
12249
12248
  next(layerError);
12250
12249
  return;
12251
12250
  }
12252
- const c = path2[layerPath.length];
12251
+ const c = path3[layerPath.length];
12253
12252
  if (c && c !== "/") {
12254
12253
  next(layerError);
12255
12254
  return;
@@ -12274,7 +12273,7 @@ var require_router = __commonJS({
12274
12273
  }, "handle");
12275
12274
  Router.prototype.use = /* @__PURE__ */ __name(function use(handler) {
12276
12275
  let offset = 0;
12277
- let path2 = "/";
12276
+ let path3 = "/";
12278
12277
  if (typeof handler !== "function") {
12279
12278
  let arg = handler;
12280
12279
  while (Array.isArray(arg) && arg.length !== 0) {
@@ -12282,7 +12281,7 @@ var require_router = __commonJS({
12282
12281
  }
12283
12282
  if (typeof arg !== "function") {
12284
12283
  offset = 1;
12285
- path2 = handler;
12284
+ path3 = handler;
12286
12285
  }
12287
12286
  }
12288
12287
  const callbacks = flatten.call(slice.call(arguments, offset), Infinity);
@@ -12294,8 +12293,8 @@ var require_router = __commonJS({
12294
12293
  if (typeof fn !== "function") {
12295
12294
  throw new TypeError("argument handler must be a function");
12296
12295
  }
12297
- debug("use %o %s", path2, fn.name || "<anonymous>");
12298
- const layer = new Layer(path2, {
12296
+ debug("use %o %s", path3, fn.name || "<anonymous>");
12297
+ const layer = new Layer(path3, {
12299
12298
  sensitive: this.caseSensitive,
12300
12299
  strict: false,
12301
12300
  end: false
@@ -12305,9 +12304,9 @@ var require_router = __commonJS({
12305
12304
  }
12306
12305
  return this;
12307
12306
  }, "use");
12308
- Router.prototype.route = /* @__PURE__ */ __name(function route(path2) {
12309
- const route2 = new Route(path2);
12310
- const layer = new Layer(path2, {
12307
+ Router.prototype.route = /* @__PURE__ */ __name(function route(path3) {
12308
+ const route2 = new Route(path3);
12309
+ const layer = new Layer(path3, {
12311
12310
  sensitive: this.caseSensitive,
12312
12311
  strict: this.strict,
12313
12312
  end: true
@@ -12321,8 +12320,8 @@ var require_router = __commonJS({
12321
12320
  return route2;
12322
12321
  }, "route");
12323
12322
  methods.concat("all").forEach(function(method) {
12324
- Router.prototype[method] = function(path2) {
12325
- const route = this.route(path2);
12323
+ Router.prototype[method] = function(path3) {
12324
+ const route = this.route(path3);
12326
12325
  route[method].apply(route, slice.call(arguments, 1));
12327
12326
  return this;
12328
12327
  };
@@ -12354,9 +12353,9 @@ var require_router = __commonJS({
12354
12353
  return fqdnIndex !== -1 ? url.substring(0, url.indexOf("/", 3 + fqdnIndex)) : void 0;
12355
12354
  }
12356
12355
  __name(getProtohost, "getProtohost");
12357
- function matchLayer(layer, path2) {
12356
+ function matchLayer(layer, path3) {
12358
12357
  try {
12359
- return layer.match(path2);
12358
+ return layer.match(path3);
12360
12359
  } catch (err) {
12361
12360
  return err;
12362
12361
  }
@@ -12594,7 +12593,7 @@ var require_application = __commonJS({
12594
12593
  }, "handle");
12595
12594
  app.use = /* @__PURE__ */ __name(function use(fn) {
12596
12595
  var offset = 0;
12597
- var path2 = "/";
12596
+ var path3 = "/";
12598
12597
  if (typeof fn !== "function") {
12599
12598
  var arg = fn;
12600
12599
  while (Array.isArray(arg) && arg.length !== 0) {
@@ -12602,7 +12601,7 @@ var require_application = __commonJS({
12602
12601
  }
12603
12602
  if (typeof arg !== "function") {
12604
12603
  offset = 1;
12605
- path2 = fn;
12604
+ path3 = fn;
12606
12605
  }
12607
12606
  }
12608
12607
  var fns = flatten.call(slice.call(arguments, offset), Infinity);
@@ -12612,12 +12611,12 @@ var require_application = __commonJS({
12612
12611
  var router = this.router;
12613
12612
  fns.forEach(function(fn2) {
12614
12613
  if (!fn2 || !fn2.handle || !fn2.set) {
12615
- return router.use(path2, fn2);
12614
+ return router.use(path3, fn2);
12616
12615
  }
12617
- debug(".use app under %s", path2);
12618
- fn2.mountpath = path2;
12616
+ debug(".use app under %s", path3);
12617
+ fn2.mountpath = path3;
12619
12618
  fn2.parent = this;
12620
- router.use(path2, /* @__PURE__ */ __name(function mounted_app(req, res, next) {
12619
+ router.use(path3, /* @__PURE__ */ __name(function mounted_app(req, res, next) {
12621
12620
  var orig = req.app;
12622
12621
  fn2.handle(req, res, function(err) {
12623
12622
  Object.setPrototypeOf(req, orig.request);
@@ -12629,8 +12628,8 @@ var require_application = __commonJS({
12629
12628
  }, this);
12630
12629
  return this;
12631
12630
  }, "use");
12632
- app.route = /* @__PURE__ */ __name(function route(path2) {
12633
- return this.router.route(path2);
12631
+ app.route = /* @__PURE__ */ __name(function route(path3) {
12632
+ return this.router.route(path3);
12634
12633
  }, "route");
12635
12634
  app.engine = /* @__PURE__ */ __name(function engine(ext, fn) {
12636
12635
  if (typeof fn !== "function") {
@@ -12673,7 +12672,7 @@ var require_application = __commonJS({
12673
12672
  }
12674
12673
  return this;
12675
12674
  }, "set");
12676
- app.path = /* @__PURE__ */ __name(function path2() {
12675
+ app.path = /* @__PURE__ */ __name(function path3() {
12677
12676
  return this.parent ? this.parent.path() + this.mountpath : "";
12678
12677
  }, "path");
12679
12678
  app.enabled = /* @__PURE__ */ __name(function enabled(setting) {
@@ -12689,17 +12688,17 @@ var require_application = __commonJS({
12689
12688
  return this.set(setting, false);
12690
12689
  }, "disable");
12691
12690
  methods.forEach(function(method) {
12692
- app[method] = function(path2) {
12691
+ app[method] = function(path3) {
12693
12692
  if (method === "get" && arguments.length === 1) {
12694
- return this.set(path2);
12693
+ return this.set(path3);
12695
12694
  }
12696
- var route = this.route(path2);
12695
+ var route = this.route(path3);
12697
12696
  route[method].apply(route, slice.call(arguments, 1));
12698
12697
  return this;
12699
12698
  };
12700
12699
  });
12701
- app.all = /* @__PURE__ */ __name(function all(path2) {
12702
- var route = this.route(path2);
12700
+ app.all = /* @__PURE__ */ __name(function all(path3) {
12701
+ var route = this.route(path3);
12703
12702
  var args = slice.call(arguments, 1);
12704
12703
  for (var i = 0; i < methods.length; i++) {
12705
12704
  route[methods[i]].apply(route, args);
@@ -13669,7 +13668,7 @@ var require_request = __commonJS({
13669
13668
  var subdomains2 = !isIP(hostname) ? hostname.split(".").reverse() : [hostname];
13670
13669
  return subdomains2.slice(offset);
13671
13670
  }, "subdomains"));
13672
- defineGetter(req, "path", /* @__PURE__ */ __name(function path2() {
13671
+ defineGetter(req, "path", /* @__PURE__ */ __name(function path3() {
13673
13672
  return parse(this).pathname;
13674
13673
  }, "path"));
13675
13674
  defineGetter(req, "host", /* @__PURE__ */ __name(function host() {
@@ -13892,8 +13891,8 @@ var require_content_disposition = __commonJS({
13892
13891
  this.parameters = parameters;
13893
13892
  }
13894
13893
  __name(ContentDisposition, "ContentDisposition");
13895
- function basename2(path2) {
13896
- const normalized = path2.replaceAll("\\", "/");
13894
+ function basename2(path3) {
13895
+ const normalized = path3.replaceAll("\\", "/");
13897
13896
  let end = normalized.length;
13898
13897
  while (end > 0 && normalized[end - 1] === "/") {
13899
13898
  end--;
@@ -14153,28 +14152,28 @@ var require_send = __commonJS({
14153
14152
  var ms = require_ms();
14154
14153
  var onFinished = require_on_finished();
14155
14154
  var parseRange = require_range_parser();
14156
- var path2 = __require("path");
14155
+ var path3 = __require("path");
14157
14156
  var statuses = require_statuses();
14158
14157
  var Stream = __require("stream");
14159
14158
  var util = __require("util");
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;
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;
14165
14164
  var BYTES_RANGE_REGEXP = /^ *bytes=/;
14166
14165
  var MAX_MAXAGE = 60 * 60 * 24 * 365 * 1e3;
14167
14166
  var UP_PATH_REGEXP = /(?:^|[\\/])\.\.(?:[\\/]|$)/;
14168
14167
  module.exports = send;
14169
- function send(req, path3, options) {
14170
- return new SendStream(req, path3, options);
14168
+ function send(req, path4, options) {
14169
+ return new SendStream(req, path4, options);
14171
14170
  }
14172
14171
  __name(send, "send");
14173
- function SendStream(req, path3, options) {
14172
+ function SendStream(req, path4, options) {
14174
14173
  Stream.call(this);
14175
14174
  var opts = options || {};
14176
14175
  this.options = opts;
14177
- this.path = path3;
14176
+ this.path = path4;
14178
14177
  this.req = req;
14179
14178
  this._acceptRanges = opts.acceptRanges !== void 0 ? Boolean(opts.acceptRanges) : true;
14180
14179
  this._cacheControl = opts.cacheControl !== void 0 ? Boolean(opts.cacheControl) : true;
@@ -14289,10 +14288,10 @@ var require_send = __commonJS({
14289
14288
  var lastModified = this.res.getHeader("Last-Modified");
14290
14289
  return parseHttpDate(lastModified) <= parseHttpDate(ifRange);
14291
14290
  }, "isRangeFresh");
14292
- SendStream.prototype.redirect = /* @__PURE__ */ __name(function redirect(path3) {
14291
+ SendStream.prototype.redirect = /* @__PURE__ */ __name(function redirect(path4) {
14293
14292
  var res = this.res;
14294
14293
  if (hasListeners(this, "directory")) {
14295
- this.emit("directory", res, path3);
14294
+ this.emit("directory", res, path4);
14296
14295
  return;
14297
14296
  }
14298
14297
  if (this.hasTrailingSlash()) {
@@ -14312,38 +14311,38 @@ var require_send = __commonJS({
14312
14311
  SendStream.prototype.pipe = /* @__PURE__ */ __name(function pipe(res) {
14313
14312
  var root = this._root;
14314
14313
  this.res = res;
14315
- var path3 = decode(this.path);
14316
- if (path3 === -1) {
14314
+ var path4 = decode(this.path);
14315
+ if (path4 === -1) {
14317
14316
  this.error(400);
14318
14317
  return res;
14319
14318
  }
14320
- if (~path3.indexOf("\0")) {
14319
+ if (~path4.indexOf("\0")) {
14321
14320
  this.error(400);
14322
14321
  return res;
14323
14322
  }
14324
14323
  var parts;
14325
14324
  if (root !== null) {
14326
- if (path3) {
14327
- path3 = normalize("." + sep + path3);
14325
+ if (path4) {
14326
+ path4 = normalize("." + sep + path4);
14328
14327
  }
14329
- if (UP_PATH_REGEXP.test(path3)) {
14330
- debug('malicious path "%s"', path3);
14328
+ if (UP_PATH_REGEXP.test(path4)) {
14329
+ debug('malicious path "%s"', path4);
14331
14330
  this.error(403);
14332
14331
  return res;
14333
14332
  }
14334
- parts = path3.split(sep);
14335
- path3 = normalize(join2(root, path3));
14333
+ parts = path4.split(sep);
14334
+ path4 = normalize(join2(root, path4));
14336
14335
  } else {
14337
- if (UP_PATH_REGEXP.test(path3)) {
14338
- debug('malicious path "%s"', path3);
14336
+ if (UP_PATH_REGEXP.test(path4)) {
14337
+ debug('malicious path "%s"', path4);
14339
14338
  this.error(403);
14340
14339
  return res;
14341
14340
  }
14342
- parts = normalize(path3).split(sep);
14343
- path3 = resolve(path3);
14341
+ parts = normalize(path4).split(sep);
14342
+ path4 = resolve(path4);
14344
14343
  }
14345
14344
  if (containsDotFile(parts)) {
14346
- debug('%s dotfile "%s"', this._dotfiles, path3);
14345
+ debug('%s dotfile "%s"', this._dotfiles, path4);
14347
14346
  switch (this._dotfiles) {
14348
14347
  case "allow":
14349
14348
  break;
@@ -14357,13 +14356,13 @@ var require_send = __commonJS({
14357
14356
  }
14358
14357
  }
14359
14358
  if (this._index.length && this.hasTrailingSlash()) {
14360
- this.sendIndex(path3);
14359
+ this.sendIndex(path4);
14361
14360
  return res;
14362
14361
  }
14363
- this.sendFile(path3);
14362
+ this.sendFile(path4);
14364
14363
  return res;
14365
14364
  }, "pipe");
14366
- SendStream.prototype.send = /* @__PURE__ */ __name(function send2(path3, stat) {
14365
+ SendStream.prototype.send = /* @__PURE__ */ __name(function send2(path4, stat) {
14367
14366
  var len = stat.size;
14368
14367
  var options = this.options;
14369
14368
  var opts = {};
@@ -14375,9 +14374,9 @@ var require_send = __commonJS({
14375
14374
  this.headersAlreadySent();
14376
14375
  return;
14377
14376
  }
14378
- debug('pipe "%s"', path3);
14379
- this.setHeader(path3, stat);
14380
- this.type(path3);
14377
+ debug('pipe "%s"', path4);
14378
+ this.setHeader(path4, stat);
14379
+ this.type(path4);
14381
14380
  if (this.isConditionalGET()) {
14382
14381
  if (this.isPreconditionFailure()) {
14383
14382
  this.error(412);
@@ -14426,28 +14425,28 @@ var require_send = __commonJS({
14426
14425
  res.end();
14427
14426
  return;
14428
14427
  }
14429
- this.stream(path3, opts);
14428
+ this.stream(path4, opts);
14430
14429
  }, "send");
14431
- SendStream.prototype.sendFile = /* @__PURE__ */ __name(function sendFile(path3) {
14430
+ SendStream.prototype.sendFile = /* @__PURE__ */ __name(function sendFile(path4) {
14432
14431
  var i = 0;
14433
14432
  var self = this;
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) {
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) {
14438
14437
  return next(err);
14439
14438
  }
14440
14439
  if (err) return self.onStatError(err);
14441
- if (stat.isDirectory()) return self.redirect(path3);
14440
+ if (stat.isDirectory()) return self.redirect(path4);
14442
14441
  if (pathEndsWithSep) return self.error(404);
14443
- self.emit("file", path3, stat);
14444
- self.send(path3, stat);
14442
+ self.emit("file", path4, stat);
14443
+ self.send(path4, stat);
14445
14444
  }, "onstat"));
14446
14445
  function next(err) {
14447
14446
  if (self._extensions.length <= i) {
14448
14447
  return err ? self.onStatError(err) : self.error(404);
14449
14448
  }
14450
- var p = path3 + "." + self._extensions[i++];
14449
+ var p = path4 + "." + self._extensions[i++];
14451
14450
  debug('stat "%s"', p);
14452
14451
  fs.stat(p, function(err2, stat) {
14453
14452
  if (err2) return next(err2);
@@ -14458,7 +14457,7 @@ var require_send = __commonJS({
14458
14457
  }
14459
14458
  __name(next, "next");
14460
14459
  }, "sendFile");
14461
- SendStream.prototype.sendIndex = /* @__PURE__ */ __name(function sendIndex(path3) {
14460
+ SendStream.prototype.sendIndex = /* @__PURE__ */ __name(function sendIndex(path4) {
14462
14461
  var i = -1;
14463
14462
  var self = this;
14464
14463
  function next(err) {
@@ -14466,7 +14465,7 @@ var require_send = __commonJS({
14466
14465
  if (err) return self.onStatError(err);
14467
14466
  return self.error(404);
14468
14467
  }
14469
- var p = join2(path3, self._index[i]);
14468
+ var p = join2(path4, self._index[i]);
14470
14469
  debug('stat "%s"', p);
14471
14470
  fs.stat(p, function(err2, stat) {
14472
14471
  if (err2) return next(err2);
@@ -14478,10 +14477,10 @@ var require_send = __commonJS({
14478
14477
  __name(next, "next");
14479
14478
  next();
14480
14479
  }, "sendIndex");
14481
- SendStream.prototype.stream = /* @__PURE__ */ __name(function stream(path3, options) {
14480
+ SendStream.prototype.stream = /* @__PURE__ */ __name(function stream(path4, options) {
14482
14481
  var self = this;
14483
14482
  var res = this.res;
14484
- var stream2 = fs.createReadStream(path3, options);
14483
+ var stream2 = fs.createReadStream(path4, options);
14485
14484
  this.emit("stream", stream2);
14486
14485
  stream2.pipe(res);
14487
14486
  function cleanup() {
@@ -14497,17 +14496,17 @@ var require_send = __commonJS({
14497
14496
  self.emit("end");
14498
14497
  }, "onend"));
14499
14498
  }, "stream");
14500
- SendStream.prototype.type = /* @__PURE__ */ __name(function type(path3) {
14499
+ SendStream.prototype.type = /* @__PURE__ */ __name(function type(path4) {
14501
14500
  var res = this.res;
14502
14501
  if (res.getHeader("Content-Type")) return;
14503
- var ext = extname(path3);
14502
+ var ext = extname(path4);
14504
14503
  var type2 = mime.contentType(ext) || "application/octet-stream";
14505
14504
  debug("content-type %s", type2);
14506
14505
  res.setHeader("Content-Type", type2);
14507
14506
  }, "type");
14508
- SendStream.prototype.setHeader = /* @__PURE__ */ __name(function setHeader(path3, stat) {
14507
+ SendStream.prototype.setHeader = /* @__PURE__ */ __name(function setHeader(path4, stat) {
14509
14508
  var res = this.res;
14510
- this.emit("headers", res, path3, stat);
14509
+ this.emit("headers", res, path4, stat);
14511
14510
  if (this._acceptRanges && !res.getHeader("Accept-Ranges")) {
14512
14511
  debug("accept ranges");
14513
14512
  res.setHeader("Accept-Ranges", "bytes");
@@ -14571,9 +14570,9 @@ var require_send = __commonJS({
14571
14570
  return err instanceof Error ? createError(status, err, { expose: false }) : createError(status, err);
14572
14571
  }
14573
14572
  __name(createHttpError, "createHttpError");
14574
- function decode(path3) {
14573
+ function decode(path4) {
14575
14574
  try {
14576
- return decodeURIComponent(path3);
14575
+ return decodeURIComponent(path4);
14577
14576
  } catch (err) {
14578
14577
  return -1;
14579
14578
  }
@@ -14728,7 +14727,7 @@ var require_response = __commonJS({
14728
14727
  var http = __require("node:http");
14729
14728
  var onFinished = require_on_finished();
14730
14729
  var mime = require_mime_types();
14731
- var path2 = __require("node:path");
14730
+ var path3 = __require("node:path");
14732
14731
  var pathIsAbsolute = __require("node:path").isAbsolute;
14733
14732
  var statuses = require_statuses();
14734
14733
  var sign = require_cookie_signature().sign;
@@ -14737,8 +14736,8 @@ var require_response = __commonJS({
14737
14736
  var setCharset = require_utils2().setCharset;
14738
14737
  var cookie = require_cookie();
14739
14738
  var send = require_send();
14740
- var extname = path2.extname;
14741
- var resolve = path2.resolve;
14739
+ var extname = path3.extname;
14740
+ var resolve = path3.resolve;
14742
14741
  var vary = require_vary();
14743
14742
  var { Buffer: Buffer2 } = __require("node:buffer");
14744
14743
  var res = Object.create(http.ServerResponse.prototype);
@@ -14884,26 +14883,26 @@ var require_response = __commonJS({
14884
14883
  this.type("txt");
14885
14884
  return this.send(body);
14886
14885
  }, "sendStatus");
14887
- res.sendFile = /* @__PURE__ */ __name(function sendFile(path3, options, callback) {
14886
+ res.sendFile = /* @__PURE__ */ __name(function sendFile(path4, options, callback) {
14888
14887
  var done = callback;
14889
14888
  var req = this.req;
14890
14889
  var res2 = this;
14891
14890
  var next = req.next;
14892
14891
  var opts = options || {};
14893
- if (!path3) {
14892
+ if (!path4) {
14894
14893
  throw new TypeError("path argument is required to res.sendFile");
14895
14894
  }
14896
- if (typeof path3 !== "string") {
14895
+ if (typeof path4 !== "string") {
14897
14896
  throw new TypeError("path must be a string to res.sendFile");
14898
14897
  }
14899
14898
  if (typeof options === "function") {
14900
14899
  done = options;
14901
14900
  opts = {};
14902
14901
  }
14903
- if (!opts.root && !pathIsAbsolute(path3)) {
14902
+ if (!opts.root && !pathIsAbsolute(path4)) {
14904
14903
  throw new TypeError("path must be absolute or specify root to res.sendFile");
14905
14904
  }
14906
- var pathname = encodeURI(path3);
14905
+ var pathname = encodeURI(path4);
14907
14906
  opts.etag = this.app.enabled("etag");
14908
14907
  var file = send(req, pathname, opts);
14909
14908
  sendfile(res2, file, opts, function(err) {
@@ -14914,7 +14913,7 @@ var require_response = __commonJS({
14914
14913
  }
14915
14914
  });
14916
14915
  }, "sendFile");
14917
- res.download = /* @__PURE__ */ __name(function download(path3, filename, options, callback) {
14916
+ res.download = /* @__PURE__ */ __name(function download(path4, filename, options, callback) {
14918
14917
  var done = callback;
14919
14918
  var name = filename;
14920
14919
  var opts = options || null;
@@ -14931,7 +14930,7 @@ var require_response = __commonJS({
14931
14930
  opts = filename;
14932
14931
  }
14933
14932
  var headers = {
14934
- "Content-Disposition": contentDisposition(name || path3)
14933
+ "Content-Disposition": contentDisposition(name || path4)
14935
14934
  };
14936
14935
  if (opts && opts.headers) {
14937
14936
  var keys = Object.keys(opts.headers);
@@ -14944,7 +14943,7 @@ var require_response = __commonJS({
14944
14943
  }
14945
14944
  opts = Object.create(opts);
14946
14945
  opts.headers = headers;
14947
- var fullPath = !opts.root ? resolve(path3) : path3;
14946
+ var fullPath = !opts.root ? resolve(path4) : path4;
14948
14947
  return this.sendFile(fullPath, opts, done);
14949
14948
  }, "download");
14950
14949
  res.contentType = res.type = /* @__PURE__ */ __name(function contentType(type) {
@@ -15237,11 +15236,11 @@ var require_serve_static = __commonJS({
15237
15236
  }
15238
15237
  var forwardError = !fallthrough;
15239
15238
  var originalUrl = parseUrl.original(req);
15240
- var path2 = parseUrl(req).pathname;
15241
- if (path2 === "/" && originalUrl.pathname.substr(-1) !== "/") {
15242
- path2 = "";
15239
+ var path3 = parseUrl(req).pathname;
15240
+ if (path3 === "/" && originalUrl.pathname.substr(-1) !== "/") {
15241
+ path3 = "";
15243
15242
  }
15244
- var stream = send(req, path2, opts);
15243
+ var stream = send(req, path3, opts);
15245
15244
  stream.on("directory", onDirectory);
15246
15245
  if (setHeaders) {
15247
15246
  stream.on("headers", setHeaders);
@@ -16567,8 +16566,6 @@ var SERVE_CAPABILITY_REGISTRY = {
16567
16566
  workspace_mcp: { since: "v1" },
16568
16567
  workspace_skills: { since: "v1" },
16569
16568
  workspace_providers: { since: "v1" },
16570
- workspace_acp_preheat: { since: "v1" },
16571
- workspace_acp_status: { since: "v1" },
16572
16569
  auth_provider_install: { since: "v1" },
16573
16570
  // Workspace memory CRUD (`GET/POST /workspace/memory`). Daemon exposes
16574
16571
  // hierarchical QWEN.md state and accepts append/replace writes scoped
@@ -16791,9 +16788,6 @@ var SERVE_CAPABILITY_REGISTRY = {
16791
16788
  // Singular session shell routes resolve the owning live workspace runtime.
16792
16789
  multi_workspace_session_shell: { since: "v1" },
16793
16790
  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" },
16797
16791
  workspace_runtime_removal: { since: "v1" },
16798
16792
  // Workspace-qualified core REST routes under `/workspaces/:workspace/...`.
16799
16793
  // Covers core file/status/permissions/trust/lifecycle/MCP/tool, memory,
@@ -16983,6 +16977,7 @@ var CAPABILITIES_SCHEMA_VERSION = 1;
16983
16977
 
16984
16978
  // packages/cli/src/serve/server/request-helpers.ts
16985
16979
  init_esbuild_shims();
16980
+ import * as path2 from "node:path";
16986
16981
  function sendJsonBodyParserError(res, err) {
16987
16982
  if (err instanceof SyntaxError && "status" in err && err.status === 400) {
16988
16983
  res.status(400).json({ error: "Invalid JSON in request body" });
@@ -17042,10 +17037,8 @@ function parseOptionalWorkspaceCwd(body, boundWorkspace, res) {
17042
17037
  });
17043
17038
  return void 0;
17044
17039
  }
17045
- const cwd = translateAndCheckAbsoluteWorkspacePath(
17046
- hasCwd ? body["cwd"] : boundWorkspace
17047
- );
17048
- if (cwd === null) {
17040
+ const cwd = hasCwd ? body["cwd"] : boundWorkspace;
17041
+ if (!path2.isAbsolute(cwd)) {
17049
17042
  res.status(400).json({ error: "`cwd` must be an absolute path when provided" });
17050
17043
  return void 0;
17051
17044
  }
@@ -17216,8 +17209,8 @@ var MAX_BUCKETS = 1e4;
17216
17209
  var GC_REQUEST_INTERVAL = 1e3;
17217
17210
  var GC_TIMER_INTERVAL_MS = 5 * 60 * 1e3;
17218
17211
  var WORKSPACE_QUALIFIED_ACP_PATH = /^\/workspaces\/[^/]+\/acp$/i;
17219
- function resolveTier(method, path2, workspaceQualifiedAcpEnabled) {
17220
- const p = path2.endsWith("/") && path2.length > 1 ? path2.slice(0, -1) : path2;
17212
+ function resolveTier(method, path3, workspaceQualifiedAcpEnabled) {
17213
+ const p = path3.endsWith("/") && path3.length > 1 ? path3.slice(0, -1) : path3;
17221
17214
  if (method === "OPTIONS") return null;
17222
17215
  if ((method === "GET" || method === "HEAD") && (p === "/health" || p === "/demo"))
17223
17216
  return null;
@@ -17605,7 +17598,6 @@ async function buildDaemonStatusResponse(detail, input) {
17605
17598
  workspaces: workspaceRuntimes.map((runtime) => ({
17606
17599
  id: runtime.workspaceId,
17607
17600
  cwd: runtime.workspaceCwd,
17608
- ...runtime.displayName !== void 0 ? { displayName: runtime.displayName } : {},
17609
17601
  primary: runtime.primary,
17610
17602
  trusted: runtime.trusted
17611
17603
  }))