@qwen-code/qwen-code 0.19.9 → 0.19.10-nightly.20260716.506ce0a1a

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 (323) hide show
  1. package/bundled/qc-helper/docs/configuration/settings.md +14 -6
  2. package/bundled/qc-helper/docs/features/approval-mode.md +2 -2
  3. package/bundled/qc-helper/docs/features/channels/dingtalk.md +33 -0
  4. package/bundled/qc-helper/docs/features/channels/overview.md +64 -20
  5. package/bundled/qc-helper/docs/features/channels/wecom.md +8 -7
  6. package/bundled/qc-helper/docs/features/code-review.md +88 -44
  7. package/bundled/qc-helper/docs/features/commands.md +6 -6
  8. package/bundled/qc-helper/docs/features/hooks.md +29 -0
  9. package/bundled/qc-helper/docs/features/sandbox.md +2 -0
  10. package/bundled/qc-helper/docs/features/sub-agents.md +21 -0
  11. package/bundled/qc-helper/docs/qwen-serve.md +49 -20
  12. package/bundled/qc-helper/docs/reference/keyboard-shortcuts.md +1 -1
  13. package/bundled/review/DESIGN.md +219 -33
  14. package/bundled/review/SKILL.md +429 -382
  15. package/chunks/{MaxSizedBox-6HYJ3ZPJ.js → MaxSizedBox-WOC3YDWA.js} +31 -32
  16. package/chunks/{StandaloneSessionPicker-WS4GXYOG.js → StandaloneSessionPicker-H5HZCAFD.js} +49 -48
  17. package/chunks/{acpAgent-5FWSOZL5.js → acpAgent-55YDJDNM.js} +922 -550
  18. package/chunks/{agent-HOLHB3RT.js → agent-H6VE5W3L.js} +26 -27
  19. package/chunks/{agent-headless-SXL6H56A.js → agent-headless-T4XJOCRU.js} +26 -27
  20. package/chunks/{anthropicContentGenerator-L73TO3DB.js → anthropicContentGenerator-HBRXJSP4.js} +78 -16
  21. package/chunks/{artifact-tool-U7IRTLIV.js → artifact-tool-MIZLXBLF.js} +2 -2
  22. package/chunks/{askUserQuestion-2DLUUZZG.js → askUserQuestion-XMJVPNWM.js} +2 -2
  23. package/chunks/{bridge-BCJQ7BBB.js → bridge-FTB6ZP3R.js} +31 -34
  24. package/chunks/{ca-UJ6HC4H2.js → ca-CODEN7TD.js} +9 -1
  25. package/chunks/channel-worker-group-K7QKH6IG.js +13 -0
  26. package/chunks/channel-worker-manager-CUDPU4CN.js +418 -0
  27. package/chunks/channel-worker-supervisor-4XTO2ZD3.js +20 -0
  28. package/chunks/{chunk-LXNEJD34.js → chunk-2FO5GFKZ.js} +1 -1
  29. package/chunks/{chunk-VA4KQY6V.js → chunk-2JNR4VP2.js} +3 -3
  30. package/chunks/{chunk-L36P3NBD.js → chunk-2W3OOD4W.js} +2 -0
  31. package/chunks/{chunk-7R3CZA3Q.js → chunk-2Z5UX4KI.js} +1 -1
  32. package/chunks/{chunk-CUMMSHH6.js → chunk-3DWIFU7L.js} +1 -1
  33. package/chunks/chunk-3MX7D6QN.js +516 -0
  34. package/chunks/{chunk-SJHDYNHF.js → chunk-4BJVSIS3.js} +3 -3
  35. package/chunks/{chunk-TO6QE22P.js → chunk-5CNYZ7TN.js} +26 -22
  36. package/chunks/{chunk-N3EMS75V.js → chunk-5DEJ4T6C.js} +1333 -1232
  37. package/chunks/chunk-5HBA2Z7V.js +28 -0
  38. package/chunks/{chunk-ZJE7NSL3.js → chunk-5M6IDOMF.js} +34 -97
  39. package/chunks/{chunk-SCGXUJBT.js → chunk-6LI3L22E.js} +3 -3
  40. package/chunks/{chunk-K434OPES.js → chunk-6WPJRYLZ.js} +3 -3
  41. package/chunks/{chunk-YAUFFXDS.js → chunk-7GM2RWCR.js} +12 -11
  42. package/chunks/{chunk-OQ4DRIOA.js → chunk-7HWE2W74.js} +2 -2
  43. package/chunks/{chunk-J4TSQ5EQ.js → chunk-7NFB7LBQ.js} +8 -1
  44. package/chunks/{chunk-MC23XKFE.js → chunk-A2HWMJVO.js} +37 -3
  45. package/chunks/{chunk-3G7CIHVV.js → chunk-ABNYOMDG.js} +4 -4
  46. package/chunks/{chunk-3AHXV67U.js → chunk-AGZLXLBY.js} +1 -1
  47. package/chunks/{chunk-RDJSGHZE.js → chunk-ALGGS7UH.js} +1 -38
  48. package/chunks/{chunk-Q4YQW46J.js → chunk-AMRZVQUY.js} +43 -40
  49. package/chunks/{chunk-W3JHSWRP.js → chunk-AN6C2U46.js} +4 -4
  50. package/chunks/{chunk-GWHYEOV2.js → chunk-ARKANCNX.js} +2 -1
  51. package/chunks/{chunk-5SFOMFG4.js → chunk-AVEOWVOM.js} +36 -2
  52. package/chunks/{chunk-34MW4KTI.js → chunk-BA5JGE5F.js} +2 -2
  53. package/chunks/{chunk-5HOMWMCL.js → chunk-BSJAQUFD.js} +5492 -1336
  54. package/chunks/{chunk-L6P4KPHR.js → chunk-BWJKL5DB.js} +58 -38
  55. package/chunks/{chunk-PVZM22CK.js → chunk-C32JFRGV.js} +5 -5
  56. package/chunks/{chunk-AKIVHSJR.js → chunk-CZIHPO7L.js} +163 -782
  57. package/chunks/chunk-DL7RCO6V.js +493 -0
  58. package/chunks/{chunk-KKNMOEZH.js → chunk-E2UVIFI2.js} +185 -398
  59. package/chunks/{chunk-5VXNZWGF.js → chunk-ENUQSKEY.js} +1 -1
  60. package/chunks/{chunk-PDZ7MBDG.js → chunk-EWILX3BM.js} +27 -6
  61. package/chunks/{chunk-BMGVRZN4.js → chunk-EZWX232B.js} +1 -1
  62. package/chunks/{chunk-4GORAUCN.js → chunk-F333XEAU.js} +1 -1
  63. package/chunks/{chunk-YLV3XXFB.js → chunk-FBU7WRZI.js} +17 -1
  64. package/chunks/chunk-FEOZBUMT.js +77 -0
  65. package/chunks/{chunk-5U27BZ72.js → chunk-FKEGVMPX.js} +269 -83
  66. package/chunks/chunk-FNX3LGAK.js +34 -0
  67. package/chunks/{chunk-LK7KUE55.js → chunk-FSA7ERJ2.js} +1 -1
  68. package/chunks/{chunk-PODM4SZ4.js → chunk-G3BIBPI7.js} +5 -5
  69. package/chunks/{chunk-A3XKDTSH.js → chunk-GA65O2TB.js} +4 -4
  70. package/chunks/{chunk-3BTRNWWD.js → chunk-GOXKNSDZ.js} +1 -64
  71. package/chunks/{channel-worker-supervisor-WSOAAYUO.js → chunk-GXGIM7QP.js} +67 -35
  72. package/chunks/{chunk-6PESIEKJ.js → chunk-GXUWGPYX.js} +68 -6
  73. package/chunks/chunk-GYTKQYDB.js +23 -0
  74. package/chunks/{chunk-GZRTYZ2R.js → chunk-H3XMJV7T.js} +218 -1
  75. package/chunks/{chunk-WQUQVGTF.js → chunk-HGRXW4HQ.js} +467 -106
  76. package/chunks/{chunk-YVEDCAUE.js → chunk-HGT6JR3U.js} +19 -0
  77. package/chunks/{chunk-ECNYL4AA.js → chunk-HUEWOHKV.js} +1 -1
  78. package/chunks/chunk-IDS7MSUP.js +74 -0
  79. package/chunks/{chunk-KHUQZZJ6.js → chunk-IHDRJLLR.js} +382 -36
  80. package/chunks/{chunk-CLFKOZEK.js → chunk-J4SEAF4X.js} +114 -4
  81. package/chunks/{chunk-B5ORX3FG.js → chunk-JGUT3LWZ.js} +6 -1
  82. package/chunks/{chunk-P67PFTUT.js → chunk-KEYEYCHZ.js} +4 -4
  83. package/chunks/{chunk-ORBGV7NJ.js → chunk-KKRTYONM.js} +6 -4
  84. package/chunks/{chunk-7PU4FYLG.js → chunk-KOXFAG6P.js} +4 -18
  85. package/chunks/{chunk-EGYZ275M.js → chunk-KWLVWNF5.js} +55 -7
  86. package/chunks/{chunk-XLA62MYB.js → chunk-KXECVZPD.js} +2 -2
  87. package/chunks/{chunk-IAVB3HM3.js → chunk-L4Y55KIS.js} +33 -1
  88. package/chunks/{chunk-4QLQE5WJ.js → chunk-L5U3ELZX.js} +1 -1
  89. package/chunks/{chunk-4ZVWQHEQ.js → chunk-LQIDP6K5.js} +1 -1
  90. package/chunks/{chunk-DC5Z3DU6.js → chunk-LXLTBIDP.js} +43 -6
  91. package/chunks/chunk-LXXMOYPL.js +22 -0
  92. package/chunks/{chunk-Q6I5QHMH.js → chunk-MFNKBXYH.js} +1 -1
  93. package/chunks/chunk-MR3PXB6E.js +48 -0
  94. package/chunks/{chunk-JZETEN3Z.js → chunk-N45S36AH.js} +3 -3
  95. package/chunks/{chunk-GWLSNBG4.js → chunk-NA3IG6XG.js} +748 -27
  96. package/chunks/{chunk-D5SKC4YG.js → chunk-O3M25JXE.js} +213 -29
  97. package/chunks/{chunk-EAXLGSFP.js → chunk-O6XGHDS5.js} +11 -11
  98. package/chunks/{chunk-WL4L7EZH.js → chunk-OA4JVLSA.js} +27 -1
  99. package/chunks/{chunk-X4NKFGFJ.js → chunk-OJAMDVF5.js} +0 -15
  100. package/chunks/{chunk-BZIFY5TF.js → chunk-OKAIGAYW.js} +3 -3
  101. package/chunks/{chunk-CNEIYWSA.js → chunk-OVIV236K.js} +5 -5
  102. package/chunks/{chunk-3SJSQXNS.js → chunk-PEJWA3QQ.js} +12 -8
  103. package/chunks/{chunk-E2IY465S.js → chunk-PWNOAWXB.js} +59 -12
  104. package/chunks/{chunk-B4G2WOFA.js → chunk-Q5MKHNIR.js} +28 -5
  105. package/chunks/{chunk-MXL5UP4X.js → chunk-Q6TUALBE.js} +1 -1
  106. package/chunks/{chunk-QYMQSECS.js → chunk-QAW7PIHT.js} +2 -2
  107. package/chunks/{chunk-HKMAENAO.js → chunk-QDTGDM2T.js} +14 -9
  108. package/chunks/{chunk-LUODI7WD.js → chunk-RCEEXIOO.js} +6 -4
  109. package/chunks/{chunk-W2UIXQDL.js → chunk-RTV5TUYB.js} +12 -4
  110. package/chunks/chunk-RW7DUKFO.js +91 -0
  111. package/chunks/{chunk-NVYTCB5Z.js → chunk-SA6QVLWI.js} +17325 -16259
  112. package/chunks/chunk-SJSI7PXU.js +59 -0
  113. package/chunks/{chunk-HVY356M2.js → chunk-SMGBWLNU.js} +3 -3
  114. package/chunks/{chunk-CEA3E3JB.js → chunk-SPJQO2CE.js} +2 -2
  115. package/chunks/{chunk-CC2ITGCF.js → chunk-STZQCNN3.js} +49 -6
  116. package/chunks/{chunk-HPDUL5MF.js → chunk-T2ZDAER2.js} +1 -1
  117. package/chunks/{chunk-XUOOWUZS.js → chunk-T3TQ3ACP.js} +1 -1
  118. package/chunks/{chunk-4C5BQ2D2.js → chunk-TIKDHS6V.js} +100 -17
  119. package/chunks/chunk-TV6K2FB4.js +224 -0
  120. package/chunks/{chunk-5XUCZNSY.js → chunk-TYLOFD2U.js} +1 -1
  121. package/chunks/{chunk-D2GFWEXB.js → chunk-UCUUH2JV.js} +6 -6
  122. package/chunks/{chunk-BAPGSC7U.js → chunk-UZP7K33Y.js} +23 -9
  123. package/chunks/{chunk-77XJ3SWN.js → chunk-VDAR6UO2.js} +8 -6
  124. package/chunks/{chunk-XYQSMABS.js → chunk-VKLVGA2D.js} +4 -4
  125. package/chunks/{chunk-JSG7ZSBC.js → chunk-VRR65QYW.js} +251 -3
  126. package/chunks/{chunk-U2NNEY4R.js → chunk-VT5AWJN4.js} +1 -1
  127. package/chunks/{chunk-ZLXQN2QS.js → chunk-WIEO4CWB.js} +1 -1
  128. package/chunks/{chunk-X6TJ3YZV.js → chunk-WKEO3GLZ.js} +160 -60
  129. package/chunks/{chunk-J3JA76CF.js → chunk-WTNZ6DXB.js} +1 -1
  130. package/chunks/{chunk-VWPVHAMO.js → chunk-XIWQ5QST.js} +8 -1
  131. package/chunks/{chunk-TDEXZKMT.js → chunk-Y66VOBRP.js} +2 -2
  132. package/chunks/{chunk-3VAGG5T5.js → chunk-YYBZUIPL.js} +1015 -100
  133. package/chunks/{chunk-CCDMCZPP.js → chunk-YZ3SBNP7.js} +1 -1
  134. package/chunks/{chunk-ATAKVRIF.js → chunk-Z3XA2TNG.js} +7 -7
  135. package/chunks/{chunk-EMDMPBJ4.js → chunk-Z7SVC7PJ.js} +10 -3
  136. package/chunks/{chunk-AURZZYMD.js → chunk-ZIVSSTUG.js} +4 -4
  137. package/chunks/{chunk-UOZWKTQG.js → chunk-ZPAHLFZU.js} +2 -2
  138. package/chunks/{chunk-34Z3U5RQ.js → chunk-ZQIYGQCG.js} +765 -168
  139. package/chunks/{computer-use-HM37RX6A.js → computer-use-NADT7ULB.js} +26 -27
  140. package/chunks/{config-utils-NV2SVGPB.js → config-utils-IQQT3GCI.js} +3 -2
  141. package/chunks/{contextCommand-OF5SFGH2.js → contextCommand-U7NEJYJ7.js} +28 -29
  142. package/chunks/{create-sub-session-INX7TXJI.js → create-sub-session-EAB2U5XW.js} +2 -2
  143. package/chunks/{create-sub-session-KPRT7ECJ.js → create-sub-session-SUN33INC.js} +26 -27
  144. package/chunks/{cron-create-AMBKGZX6.js → cron-create-GMVKSXZT.js} +4 -4
  145. package/chunks/{cron-delete-LRU4OJYG.js → cron-delete-VDZKUAVK.js} +4 -4
  146. package/chunks/{cron-list-WVP2JXER.js → cron-list-UG7C7RAR.js} +4 -4
  147. package/chunks/{daemon-ARHTSTXP.js → daemon-SJXEKP3H.js} +773 -126
  148. package/chunks/daemon-status-provider-WIIYLGZJ.js +74 -0
  149. package/chunks/{de-EBJN3OVN.js → de-NOXPCSYN.js} +9 -1
  150. package/chunks/{dist-XKU3ABM5.js → dist-4WCQEZIN.js} +4 -51
  151. package/chunks/{dist-QYCAEZIT.js → dist-DOPL5LSQ.js} +5 -1
  152. package/chunks/{dist-WKPOYU7O.js → dist-GXJVCOS7.js} +1 -1
  153. package/chunks/{dist-R7LN5AZE.js → dist-PX2ERZ6I.js} +2 -2
  154. package/chunks/{dist-PNVLTKTL.js → dist-V2YVLYOW.js} +215 -33
  155. package/chunks/{dist-VHV4EVHG.js → dist-VYWUKURL.js} +1 -1
  156. package/chunks/{earlyInputCapture-3VTHRC4C.js → earlyInputCapture-6FRM6UMU.js} +27 -28
  157. package/chunks/{edit-VNI4NJ73.js → edit-7GOIQTCZ.js} +27 -28
  158. package/chunks/{en-5A6LA7RK.js → en-JFVULHTB.js} +11 -1
  159. package/chunks/{enter-worktree-IYYBKPZT.js → enter-worktree-476E6WIK.js} +26 -27
  160. package/chunks/{enterPlanMode-GMC5FD5A.js → enterPlanMode-IRJM6W3C.js} +42 -28
  161. package/chunks/{environment-5HSSRMJ7.js → environment-ROMULS2X.js} +30 -30
  162. package/chunks/{errors-HMFCJJ7P.js → errors-OUIWPUDY.js} +28 -29
  163. package/chunks/{exit-worktree-6BHCMP5G.js → exit-worktree-PPSFK753.js} +26 -27
  164. package/chunks/{exitPlanMode-CJW7G74W.js → exitPlanMode-YKQMD4D7.js} +26 -27
  165. package/chunks/{fast-path-FRDMDVHG.js → fast-path-CNK2HHKH.js} +3 -3
  166. package/chunks/{fast-path-settings-5QZE64HR.js → fast-path-settings-DAOVFADC.js} +6 -4
  167. package/chunks/{fr-YXRABLYZ.js → fr-HVFNU42H.js} +9 -1
  168. package/chunks/{gemini-QYSEGHAX.js → gemini-WQNFT6TR.js} +216 -90
  169. package/chunks/{geminiContentGenerator-J7YNZDYP.js → geminiContentGenerator-4QJH2JDP.js} +4 -4
  170. package/chunks/{glob-BRCSGFOT.js → glob-36TVLBWW.js} +28 -28
  171. package/chunks/{grep-EE2DUOSY.js → grep-QTYLNO2M.js} +26 -27
  172. package/chunks/{handleAutoUpdate-5NWTLR67.js → handleAutoUpdate-36FQFODK.js} +30 -31
  173. package/chunks/{i18n-BASPENNQ.js → i18n-JUGYPVSP.js} +27 -28
  174. package/chunks/initializer-OBBJUS25.js +72 -0
  175. package/chunks/{installationInfo-W6V4DT7W.js → installationInfo-MCKTPX64.js} +27 -28
  176. package/chunks/{ja-7VQOANVG.js → ja-PY5AF544.js} +10 -2
  177. package/chunks/{keychain-token-storage-VKUBNCP4.js → keychain-token-storage-AU22CQI6.js} +2 -2
  178. package/chunks/list-VW5QY4VJ.js +75 -0
  179. package/chunks/loadedSettingsAdapter-IELOOXG6.js +69 -0
  180. package/chunks/{loop-wakeup-WX7BLWWP.js → loop-wakeup-QXWZSCYM.js} +5 -5
  181. package/chunks/{ls-ZB2BDP6T.js → ls-2OUTG3IZ.js} +4 -4
  182. package/chunks/{lsp-V5DN4YUJ.js → lsp-4VMNXZW6.js} +2 -2
  183. package/chunks/mcp-Q3EC37ZS.js +69 -0
  184. package/chunks/{monitor-X5Z3H4FY.js → monitor-DCZ27AFR.js} +26 -27
  185. package/chunks/nonInteractiveCli-KXD7PFO4.js +128 -0
  186. package/chunks/{notebook-edit-TRM2QIJK.js → notebook-edit-YU4XF5LI.js} +27 -28
  187. package/chunks/{openaiContentGenerator-AAYONPMF.js → openaiContentGenerator-KL5WER2D.js} +13 -13
  188. package/chunks/{pidfile-D4I4FTVA.js → pidfile-WBOD7EJV.js} +27 -28
  189. package/chunks/processUtils-AOV4R34M.js +29 -0
  190. package/chunks/{pt-2C6YCSHL.js → pt-A3PRQXMU.js} +9 -1
  191. package/chunks/{qwenContentGenerator-K3HZ2H76.js → qwenContentGenerator-YIGBHYE3.js} +28 -29
  192. package/chunks/{qwenOAuth2-PJQ27GSO.js → qwenOAuth2-LEYOU7RU.js} +5 -5
  193. package/chunks/{read-file-7SZSIZOL.js → read-file-WVL4Y76X.js} +9 -9
  194. package/chunks/{read-mcp-resource-SM5DA4RG.js → read-mcp-resource-JUFHCKSC.js} +2 -2
  195. package/chunks/{record-artifact-4XKZX3UW.js → record-artifact-DWSMBXYY.js} +2 -2
  196. package/chunks/{ripGrep-YNPFVCZP.js → ripGrep-6GSWJERP.js} +26 -27
  197. package/chunks/{ru-6BBHVZZV.js → ru-IBCWUTOC.js} +9 -1
  198. package/chunks/{run-qwen-serve-DMWV5N6L.js → run-qwen-serve-QYUQMEDT.js} +1233 -371
  199. package/chunks/{runtime-57WWRVHN.js → runtime-K2YZCNB3.js} +42 -38
  200. package/chunks/{scheduler-YBLGWSIL.js → scheduler-EQCSN7QV.js} +26 -27
  201. package/chunks/{send-message-F36YD6KQ.js → send-message-JZ752NWD.js} +3 -3
  202. package/chunks/{serve-R63NK3CV.js → serve-DX5UGZD4.js} +36 -35
  203. package/chunks/{server-Z22GCAXP.js → server-T6HJH3DR.js} +5869 -1398
  204. package/chunks/{session-HKAAI7BN.js → session-SNU6ACY6.js} +299 -100
  205. package/chunks/{settings-3EYN66GK.js → settings-AKHZZNEL.js} +34 -33
  206. package/chunks/{shell-6YXINTWJ.js → shell-EY74IEZK.js} +28 -27
  207. package/chunks/{skill-OO57P4X6.js → skill-DPU62O3H.js} +11 -11
  208. package/chunks/{spawnChannel-JD7G4VU6.js → spawnChannel-RQZRWJ2V.js} +28 -30
  209. package/chunks/{src-G5UPLZSZ.js → src-7FITDSVC.js} +164 -52
  210. package/chunks/{standalone-update-OB7F4JPZ.js → standalone-update-XO3RK6DO.js} +28 -29
  211. package/chunks/{startInteractiveUI-73EGLIIH.js → startInteractiveUI-DVWZRHYQ.js} +728 -382
  212. package/chunks/{syntheticOutput-34H7LGA7.js → syntheticOutput-LELY6HAI.js} +3 -3
  213. package/chunks/{task-create-FRGOEIKY.js → task-create-QY3BIMNM.js} +8 -7
  214. package/chunks/{task-list-OW766BXZ.js → task-list-D2U47WBJ.js} +6 -5
  215. package/chunks/{task-stop-SIR5SNBN.js → task-stop-N6E5IYLH.js} +2 -2
  216. package/chunks/{task-update-YRA532MT.js → task-update-HJCQILLB.js} +8 -7
  217. package/chunks/{team-create-PECAAPXK.js → team-create-FOSRT62K.js} +26 -27
  218. package/chunks/{team-delete-6OSECUZC.js → team-delete-RCWYDRF4.js} +6 -5
  219. package/chunks/{team-plan-approval-L6F434RY.js → team-plan-approval-6VUDV27J.js} +26 -27
  220. package/chunks/{theme-manager-ZG4RY6GU.js → theme-manager-6UT6IO5T.js} +27 -28
  221. package/chunks/{todoWrite-YDMFEV4G.js → todoWrite-FKCGATPJ.js} +4 -4
  222. package/chunks/{tool-search-THVIWAPB.js → tool-search-ASSFMMN5.js} +10 -10
  223. package/chunks/{total-session-admission-JOKNRIIA.js → total-session-admission-YYWUO23H.js} +32 -35
  224. package/chunks/tree-sitter-YJVE2ZUK.js +2980 -0
  225. package/chunks/{trustedFolders-EOGT3UVS.js → trustedFolders-4BWV2IBK.js} +29 -29
  226. package/chunks/types-ML3TRJQ5.js +16 -0
  227. package/chunks/update-relaunch-74DLGH73.js +87 -0
  228. package/chunks/{updateCheck-2KYEYVSB.js → updateCheck-CRFCGFO5.js} +31 -30
  229. package/chunks/{validateNonInterActiveAuth-EN6ZQSR2.js → validateNonInterActiveAuth-BTTEPBGQ.js} +76 -73
  230. package/chunks/{version-3UEA6ZIR.js → version-Y5JE5Q63.js} +1 -1
  231. package/chunks/{web-fetch-PAAEQKBW.js → web-fetch-CFCWTCAP.js} +5 -6
  232. package/chunks/{workflow-QCCCMYP3.js → workflow-6WC7VPQN.js} +27 -28
  233. package/chunks/workspace-providers-status-RVG2C5ZS.js +72 -0
  234. package/chunks/workspace-registration-store-SLEU3D3X.js +27 -0
  235. package/chunks/{workspace-registry-24QFLQYH.js → workspace-registry-QMWGVOTF.js} +32 -35
  236. package/chunks/workspace-service-G572JSEU.js +84 -0
  237. package/chunks/workspace-skills-status-VSSMSMNK.js +71 -0
  238. package/chunks/{write-file-I3MUDRIE.js → write-file-5XVDRORP.js} +27 -28
  239. package/chunks/{zh-RQE7I22T.js → zh-PAUNIMHQ.js} +12 -2
  240. package/chunks/{zh-TW-TBPQGHKH.js → zh-TW-GNEUIUFF.js} +12 -2
  241. package/cli-entry.js +92 -8
  242. package/cli.js +11 -11
  243. package/locales/ca.js +16 -0
  244. package/locales/de.js +16 -0
  245. package/locales/en.js +19 -0
  246. package/locales/fr.js +16 -0
  247. package/locales/ja.js +17 -1
  248. package/locales/pt.js +16 -0
  249. package/locales/ru.js +16 -0
  250. package/locales/zh-TW.js +20 -1
  251. package/locales/zh.js +20 -1
  252. package/package.json +3 -3
  253. package/web-shell/assets/{arc-C15hqnJe.js → arc-vx1tRwnX.js} +1 -1
  254. package/web-shell/assets/{architectureDiagram-3BPJPVTR-B-At37J_.js → architectureDiagram-3BPJPVTR-DBi6iUA1.js} +1 -1
  255. package/web-shell/assets/{blockDiagram-GPEHLZMM-B51wjcU7.js → blockDiagram-GPEHLZMM-Ga9JJ4Ak.js} +1 -1
  256. package/web-shell/assets/{c4Diagram-AAUBKEIU-xBK7BAwN.js → c4Diagram-AAUBKEIU-D8Vi5FYw.js} +1 -1
  257. package/web-shell/assets/channel-B29zQDTL.js +1 -0
  258. package/web-shell/assets/{chunk-2J33WTMH-xKmLg7Yr.js → chunk-2J33WTMH-CSV6yQpU.js} +1 -1
  259. package/web-shell/assets/{chunk-4BX2VUAB-BfkdKZCM.js → chunk-4BX2VUAB-toYlppdI.js} +1 -1
  260. package/web-shell/assets/{chunk-55IACEB6-DT713sZf.js → chunk-55IACEB6-DbjzuyAr.js} +1 -1
  261. package/web-shell/assets/{chunk-727SXJPM-CYEeAamv.js → chunk-727SXJPM-IkkSjSkk.js} +1 -1
  262. package/web-shell/assets/{chunk-AQP2D5EJ-DBN-5CFd.js → chunk-AQP2D5EJ-D5wUL6Zm.js} +1 -1
  263. package/web-shell/assets/{chunk-FMBD7UC4-CGZKk4PH.js → chunk-FMBD7UC4-C3o2DXG0.js} +1 -1
  264. package/web-shell/assets/{chunk-ND2GUHAM-qQbC2O-y.js → chunk-ND2GUHAM-CutIi14T.js} +1 -1
  265. package/web-shell/assets/{chunk-QZHKN3VN-B3zeXwsX.js → chunk-QZHKN3VN-DZ0NRHH-.js} +1 -1
  266. package/web-shell/assets/classDiagram-4FO5ZUOK-BNGI2SvC.js +1 -0
  267. package/web-shell/assets/classDiagram-v2-Q7XG4LA2-BNGI2SvC.js +1 -0
  268. package/web-shell/assets/{cose-bilkent-S5V4N54A-BKsl1Wvy.js → cose-bilkent-S5V4N54A-B3Dl88UJ.js} +1 -1
  269. package/web-shell/assets/{dagre-BM42HDAG-CuuuLiBK.js → dagre-BM42HDAG-DfTxfF6-.js} +1 -1
  270. package/web-shell/assets/{diagram-2AECGRRQ-CG4_eKiV.js → diagram-2AECGRRQ-CJyH98yO.js} +1 -1
  271. package/web-shell/assets/{diagram-5GNKFQAL-DSFTmZB1.js → diagram-5GNKFQAL-EbOiJNmW.js} +1 -1
  272. package/web-shell/assets/{diagram-KO2AKTUF-BxwlEHn8.js → diagram-KO2AKTUF-AYNqpqqA.js} +1 -1
  273. package/web-shell/assets/{diagram-LMA3HP47-BUAg-jMG.js → diagram-LMA3HP47-BY5VPa4H.js} +1 -1
  274. package/web-shell/assets/{diagram-OG6HWLK6-BFM2jlO5.js → diagram-OG6HWLK6-BhMYAKlk.js} +1 -1
  275. package/web-shell/assets/{erDiagram-TEJ5UH35-CerbFPa2.js → erDiagram-TEJ5UH35-Bp8S_F9l.js} +1 -1
  276. package/web-shell/assets/{flowDiagram-I6XJVG4X-BNeZz5Zz.js → flowDiagram-I6XJVG4X-az3TE9PU.js} +1 -1
  277. package/web-shell/assets/{ganttDiagram-6RSMTGT7-CTOogLaM.js → ganttDiagram-6RSMTGT7-CfkAEpCe.js} +3 -3
  278. package/web-shell/assets/{gitGraphDiagram-PVQCEYII-yxSFkXPj.js → gitGraphDiagram-PVQCEYII-D1QmjMCy.js} +1 -1
  279. package/web-shell/assets/index-C8sDwQUv.js +1130 -0
  280. package/web-shell/assets/index-CaBoc5bb.js +3 -0
  281. package/web-shell/assets/index-Dpg5Wymg.css +5 -0
  282. package/web-shell/assets/{infoDiagram-5YYISTIA-DYdAUevm.js → infoDiagram-5YYISTIA-D3ompLrG.js} +1 -1
  283. package/web-shell/assets/{ishikawaDiagram-YF4QCWOH-CNuijZ90.js → ishikawaDiagram-YF4QCWOH-D3MRWp9I.js} +1 -1
  284. package/web-shell/assets/{journeyDiagram-JHISSGLW-BTyiuonf.js → journeyDiagram-JHISSGLW-DVkKCa44.js} +1 -1
  285. package/web-shell/assets/{kanban-definition-UN3LZRKU-DPJo0Uow.js → kanban-definition-UN3LZRKU-BLif81wF.js} +1 -1
  286. package/web-shell/assets/{linear-C8wKCbIC.js → linear-BDU96EGS.js} +1 -1
  287. package/web-shell/assets/{mermaid.core-BV5o7nW5.js → mermaid.core-B-CwC26B.js} +5 -5
  288. package/web-shell/assets/{mindmap-definition-RKZ34NQL-BtLcBmSt.js → mindmap-definition-RKZ34NQL-CS1WOJ4G.js} +1 -1
  289. package/web-shell/assets/{pieDiagram-4H26LBE5-C22J7A9Q.js → pieDiagram-4H26LBE5-BzgtNXVP.js} +1 -1
  290. package/web-shell/assets/{quadrantDiagram-W4KKPZXB-DSL10wiL.js → quadrantDiagram-W4KKPZXB-BRfGC8MA.js} +1 -1
  291. package/web-shell/assets/{requirementDiagram-4Y6WPE33-feqh0UpX.js → requirementDiagram-4Y6WPE33-CPBZkC7g.js} +1 -1
  292. package/web-shell/assets/{sankeyDiagram-5OEKKPKP-Z4OVaWaZ.js → sankeyDiagram-5OEKKPKP-nqNvinIk.js} +1 -1
  293. package/web-shell/assets/{sequenceDiagram-3UESZ5HK-DIluIcb1.js → sequenceDiagram-3UESZ5HK-CM_Wdjh3.js} +1 -1
  294. package/web-shell/assets/{stateDiagram-AJRCARHV-hlhnuoYH.js → stateDiagram-AJRCARHV-L0y-48VE.js} +1 -1
  295. package/web-shell/assets/stateDiagram-v2-BHNVJYJU-BX1DdF8s.js +1 -0
  296. package/web-shell/assets/{timeline-definition-PNZ67QCA-Dqf_CqgL.js → timeline-definition-PNZ67QCA-B_n5rb3A.js} +1 -1
  297. package/web-shell/assets/{vennDiagram-CIIHVFJN-DD2QhaTX.js → vennDiagram-CIIHVFJN-C9NmLV5e.js} +1 -1
  298. package/web-shell/assets/{wardley-L42UT6IY-B2uI85U_.js → wardley-L42UT6IY-CrefK9gt.js} +1 -1
  299. package/web-shell/assets/{wardleyDiagram-YWT4CUSO-U1aJX71g.js → wardleyDiagram-YWT4CUSO-BUccf-bC.js} +1 -1
  300. package/web-shell/assets/{xychartDiagram-2RQKCTM6-C0ODHUee.js → xychartDiagram-2RQKCTM6-DM6ef92l.js} +1 -1
  301. package/web-shell/index.html +2 -2
  302. package/chunks/chunk-524RQP4Q.js +0 -305
  303. package/chunks/chunk-CARU2RR2.js +0 -24
  304. package/chunks/chunk-CU3L64TP.js +0 -93
  305. package/chunks/chunk-OCPBI7J5.js +0 -18
  306. package/chunks/chunk-TEGEBB2I.js +0 -122
  307. package/chunks/chunk-VTU57BWZ.js +0 -30
  308. package/chunks/daemon-status-provider-B2UTZUJ2.js +0 -76
  309. package/chunks/initializer-UTQ7FB7G.js +0 -71
  310. package/chunks/list-DEICDL65.js +0 -74
  311. package/chunks/loadedSettingsAdapter-NOWEGDYJ.js +0 -68
  312. package/chunks/mcp-L5JXEEIA.js +0 -68
  313. package/chunks/nonInteractiveCli-LS2K4X6A.js +0 -124
  314. package/chunks/types-JNKGKUJT.js +0 -12
  315. package/chunks/workspace-providers-status-4KMGETOJ.js +0 -71
  316. package/chunks/workspace-service-RVLBMSMZ.js +0 -80
  317. package/chunks/workspace-skills-status-DS4ZVFTO.js +0 -70
  318. package/web-shell/assets/channel-CLiQD50f.js +0 -1
  319. package/web-shell/assets/classDiagram-4FO5ZUOK-D3sYqow5.js +0 -1
  320. package/web-shell/assets/classDiagram-v2-Q7XG4LA2-D3sYqow5.js +0 -1
  321. package/web-shell/assets/index-D5IWFVk1.css +0 -5
  322. package/web-shell/assets/index-KFJRDhX7.js +0 -783
  323. package/web-shell/assets/stateDiagram-v2-BHNVJYJU-BhQMwgpl.js +0 -1
@@ -1,20 +1,5 @@
1
1
  // Force strict mode and setup for ESM
2
2
  "use strict";
3
- import {
4
- INBOXES_DIR,
5
- LEADER_NAME,
6
- TASKS_DIR,
7
- TEAMMATE_COLORS,
8
- TEAMS_DIR,
9
- TEAM_CONFIG_FILENAME
10
- } from "./chunk-CPBF7KYF.js";
11
- import {
12
- atomicWriteJSON
13
- } from "./chunk-ZLXQN2QS.js";
14
- import {
15
- Storage,
16
- isNodeError
17
- } from "./chunk-J4TSQ5EQ.js";
18
3
  import {
19
4
  init_esbuild_shims
20
5
  } from "./chunk-5O2XNYP6.js";
@@ -51,54 +36,54 @@ var require_polyfills = __commonJS({
51
36
  }
52
37
  var chdir;
53
38
  module.exports = patch;
54
- function patch(fs2) {
39
+ function patch(fs) {
55
40
  if (constants.hasOwnProperty("O_SYMLINK") && process.version.match(/^v0\.6\.[0-2]|^v0\.5\./)) {
56
- patchLchmod(fs2);
57
- }
58
- if (!fs2.lutimes) {
59
- patchLutimes(fs2);
60
- }
61
- fs2.chown = chownFix(fs2.chown);
62
- fs2.fchown = chownFix(fs2.fchown);
63
- fs2.lchown = chownFix(fs2.lchown);
64
- fs2.chmod = chmodFix(fs2.chmod);
65
- fs2.fchmod = chmodFix(fs2.fchmod);
66
- fs2.lchmod = chmodFix(fs2.lchmod);
67
- fs2.chownSync = chownFixSync(fs2.chownSync);
68
- fs2.fchownSync = chownFixSync(fs2.fchownSync);
69
- fs2.lchownSync = chownFixSync(fs2.lchownSync);
70
- fs2.chmodSync = chmodFixSync(fs2.chmodSync);
71
- fs2.fchmodSync = chmodFixSync(fs2.fchmodSync);
72
- fs2.lchmodSync = chmodFixSync(fs2.lchmodSync);
73
- fs2.stat = statFix(fs2.stat);
74
- fs2.fstat = statFix(fs2.fstat);
75
- fs2.lstat = statFix(fs2.lstat);
76
- fs2.statSync = statFixSync(fs2.statSync);
77
- fs2.fstatSync = statFixSync(fs2.fstatSync);
78
- fs2.lstatSync = statFixSync(fs2.lstatSync);
79
- if (fs2.chmod && !fs2.lchmod) {
80
- fs2.lchmod = function(path2, mode, cb) {
41
+ patchLchmod(fs);
42
+ }
43
+ if (!fs.lutimes) {
44
+ patchLutimes(fs);
45
+ }
46
+ fs.chown = chownFix(fs.chown);
47
+ fs.fchown = chownFix(fs.fchown);
48
+ fs.lchown = chownFix(fs.lchown);
49
+ fs.chmod = chmodFix(fs.chmod);
50
+ fs.fchmod = chmodFix(fs.fchmod);
51
+ fs.lchmod = chmodFix(fs.lchmod);
52
+ fs.chownSync = chownFixSync(fs.chownSync);
53
+ fs.fchownSync = chownFixSync(fs.fchownSync);
54
+ fs.lchownSync = chownFixSync(fs.lchownSync);
55
+ fs.chmodSync = chmodFixSync(fs.chmodSync);
56
+ fs.fchmodSync = chmodFixSync(fs.fchmodSync);
57
+ fs.lchmodSync = chmodFixSync(fs.lchmodSync);
58
+ fs.stat = statFix(fs.stat);
59
+ fs.fstat = statFix(fs.fstat);
60
+ fs.lstat = statFix(fs.lstat);
61
+ fs.statSync = statFixSync(fs.statSync);
62
+ fs.fstatSync = statFixSync(fs.fstatSync);
63
+ fs.lstatSync = statFixSync(fs.lstatSync);
64
+ if (fs.chmod && !fs.lchmod) {
65
+ fs.lchmod = function(path, mode, cb) {
81
66
  if (cb) process.nextTick(cb);
82
67
  };
83
- fs2.lchmodSync = function() {
68
+ fs.lchmodSync = function() {
84
69
  };
85
70
  }
86
- if (fs2.chown && !fs2.lchown) {
87
- fs2.lchown = function(path2, uid, gid, cb) {
71
+ if (fs.chown && !fs.lchown) {
72
+ fs.lchown = function(path, uid, gid, cb) {
88
73
  if (cb) process.nextTick(cb);
89
74
  };
90
- fs2.lchownSync = function() {
75
+ fs.lchownSync = function() {
91
76
  };
92
77
  }
93
78
  if (platform === "win32") {
94
- fs2.rename = typeof fs2.rename !== "function" ? fs2.rename : function(fs$rename) {
79
+ fs.rename = typeof fs.rename !== "function" ? fs.rename : function(fs$rename) {
95
80
  function rename(from, to, cb) {
96
81
  var start = Date.now();
97
82
  var backoff = 0;
98
83
  fs$rename(from, to, /* @__PURE__ */ __name(function CB(er) {
99
84
  if (er && (er.code === "EACCES" || er.code === "EPERM" || er.code === "EBUSY") && Date.now() - start < 6e4) {
100
85
  setTimeout(function() {
101
- fs2.stat(to, function(stater, st) {
86
+ fs.stat(to, function(stater, st) {
102
87
  if (stater && stater.code === "ENOENT")
103
88
  fs$rename(from, to, CB);
104
89
  else
@@ -115,9 +100,9 @@ var require_polyfills = __commonJS({
115
100
  __name(rename, "rename");
116
101
  if (Object.setPrototypeOf) Object.setPrototypeOf(rename, fs$rename);
117
102
  return rename;
118
- }(fs2.rename);
103
+ }(fs.rename);
119
104
  }
120
- fs2.read = typeof fs2.read !== "function" ? fs2.read : function(fs$read) {
105
+ fs.read = typeof fs.read !== "function" ? fs.read : function(fs$read) {
121
106
  function read(fd, buffer, offset, length, position, callback_) {
122
107
  var callback;
123
108
  if (callback_ && typeof callback_ === "function") {
@@ -125,23 +110,23 @@ var require_polyfills = __commonJS({
125
110
  callback = /* @__PURE__ */ __name(function(er, _, __) {
126
111
  if (er && er.code === "EAGAIN" && eagCounter < 10) {
127
112
  eagCounter++;
128
- return fs$read.call(fs2, fd, buffer, offset, length, position, callback);
113
+ return fs$read.call(fs, fd, buffer, offset, length, position, callback);
129
114
  }
130
115
  callback_.apply(this, arguments);
131
116
  }, "callback");
132
117
  }
133
- return fs$read.call(fs2, fd, buffer, offset, length, position, callback);
118
+ return fs$read.call(fs, fd, buffer, offset, length, position, callback);
134
119
  }
135
120
  __name(read, "read");
136
121
  if (Object.setPrototypeOf) Object.setPrototypeOf(read, fs$read);
137
122
  return read;
138
- }(fs2.read);
139
- fs2.readSync = typeof fs2.readSync !== "function" ? fs2.readSync : /* @__PURE__ */ function(fs$readSync) {
123
+ }(fs.read);
124
+ fs.readSync = typeof fs.readSync !== "function" ? fs.readSync : /* @__PURE__ */ function(fs$readSync) {
140
125
  return function(fd, buffer, offset, length, position) {
141
126
  var eagCounter = 0;
142
127
  while (true) {
143
128
  try {
144
- return fs$readSync.call(fs2, fd, buffer, offset, length, position);
129
+ return fs$readSync.call(fs, fd, buffer, offset, length, position);
145
130
  } catch (er) {
146
131
  if (er.code === "EAGAIN" && eagCounter < 10) {
147
132
  eagCounter++;
@@ -151,11 +136,11 @@ var require_polyfills = __commonJS({
151
136
  }
152
137
  }
153
138
  };
154
- }(fs2.readSync);
155
- function patchLchmod(fs3) {
156
- fs3.lchmod = function(path2, mode, callback) {
157
- fs3.open(
158
- path2,
139
+ }(fs.readSync);
140
+ function patchLchmod(fs2) {
141
+ fs2.lchmod = function(path, mode, callback) {
142
+ fs2.open(
143
+ path,
159
144
  constants.O_WRONLY | constants.O_SYMLINK,
160
145
  mode,
161
146
  function(err, fd) {
@@ -163,74 +148,74 @@ var require_polyfills = __commonJS({
163
148
  if (callback) callback(err);
164
149
  return;
165
150
  }
166
- fs3.fchmod(fd, mode, function(err2) {
167
- fs3.close(fd, function(err22) {
151
+ fs2.fchmod(fd, mode, function(err2) {
152
+ fs2.close(fd, function(err22) {
168
153
  if (callback) callback(err2 || err22);
169
154
  });
170
155
  });
171
156
  }
172
157
  );
173
158
  };
174
- fs3.lchmodSync = function(path2, mode) {
175
- var fd = fs3.openSync(path2, constants.O_WRONLY | constants.O_SYMLINK, mode);
159
+ fs2.lchmodSync = function(path, mode) {
160
+ var fd = fs2.openSync(path, constants.O_WRONLY | constants.O_SYMLINK, mode);
176
161
  var threw = true;
177
162
  var ret;
178
163
  try {
179
- ret = fs3.fchmodSync(fd, mode);
164
+ ret = fs2.fchmodSync(fd, mode);
180
165
  threw = false;
181
166
  } finally {
182
167
  if (threw) {
183
168
  try {
184
- fs3.closeSync(fd);
169
+ fs2.closeSync(fd);
185
170
  } catch (er) {
186
171
  }
187
172
  } else {
188
- fs3.closeSync(fd);
173
+ fs2.closeSync(fd);
189
174
  }
190
175
  }
191
176
  return ret;
192
177
  };
193
178
  }
194
179
  __name(patchLchmod, "patchLchmod");
195
- function patchLutimes(fs3) {
196
- if (constants.hasOwnProperty("O_SYMLINK") && fs3.futimes) {
197
- fs3.lutimes = function(path2, at, mt, cb) {
198
- fs3.open(path2, constants.O_SYMLINK, function(er, fd) {
180
+ function patchLutimes(fs2) {
181
+ if (constants.hasOwnProperty("O_SYMLINK") && fs2.futimes) {
182
+ fs2.lutimes = function(path, at, mt, cb) {
183
+ fs2.open(path, constants.O_SYMLINK, function(er, fd) {
199
184
  if (er) {
200
185
  if (cb) cb(er);
201
186
  return;
202
187
  }
203
- fs3.futimes(fd, at, mt, function(er2) {
204
- fs3.close(fd, function(er22) {
188
+ fs2.futimes(fd, at, mt, function(er2) {
189
+ fs2.close(fd, function(er22) {
205
190
  if (cb) cb(er2 || er22);
206
191
  });
207
192
  });
208
193
  });
209
194
  };
210
- fs3.lutimesSync = function(path2, at, mt) {
211
- var fd = fs3.openSync(path2, constants.O_SYMLINK);
195
+ fs2.lutimesSync = function(path, at, mt) {
196
+ var fd = fs2.openSync(path, constants.O_SYMLINK);
212
197
  var ret;
213
198
  var threw = true;
214
199
  try {
215
- ret = fs3.futimesSync(fd, at, mt);
200
+ ret = fs2.futimesSync(fd, at, mt);
216
201
  threw = false;
217
202
  } finally {
218
203
  if (threw) {
219
204
  try {
220
- fs3.closeSync(fd);
205
+ fs2.closeSync(fd);
221
206
  } catch (er) {
222
207
  }
223
208
  } else {
224
- fs3.closeSync(fd);
209
+ fs2.closeSync(fd);
225
210
  }
226
211
  }
227
212
  return ret;
228
213
  };
229
- } else if (fs3.futimes) {
230
- fs3.lutimes = function(_a, _b, _c, cb) {
214
+ } else if (fs2.futimes) {
215
+ fs2.lutimes = function(_a, _b, _c, cb) {
231
216
  if (cb) process.nextTick(cb);
232
217
  };
233
- fs3.lutimesSync = function() {
218
+ fs2.lutimesSync = function() {
234
219
  };
235
220
  }
236
221
  }
@@ -238,7 +223,7 @@ var require_polyfills = __commonJS({
238
223
  function chmodFix(orig) {
239
224
  if (!orig) return orig;
240
225
  return function(target, mode, cb) {
241
- return orig.call(fs2, target, mode, function(er) {
226
+ return orig.call(fs, target, mode, function(er) {
242
227
  if (chownErOk(er)) er = null;
243
228
  if (cb) cb.apply(this, arguments);
244
229
  });
@@ -249,7 +234,7 @@ var require_polyfills = __commonJS({
249
234
  if (!orig) return orig;
250
235
  return function(target, mode) {
251
236
  try {
252
- return orig.call(fs2, target, mode);
237
+ return orig.call(fs, target, mode);
253
238
  } catch (er) {
254
239
  if (!chownErOk(er)) throw er;
255
240
  }
@@ -259,7 +244,7 @@ var require_polyfills = __commonJS({
259
244
  function chownFix(orig) {
260
245
  if (!orig) return orig;
261
246
  return function(target, uid, gid, cb) {
262
- return orig.call(fs2, target, uid, gid, function(er) {
247
+ return orig.call(fs, target, uid, gid, function(er) {
263
248
  if (chownErOk(er)) er = null;
264
249
  if (cb) cb.apply(this, arguments);
265
250
  });
@@ -270,7 +255,7 @@ var require_polyfills = __commonJS({
270
255
  if (!orig) return orig;
271
256
  return function(target, uid, gid) {
272
257
  try {
273
- return orig.call(fs2, target, uid, gid);
258
+ return orig.call(fs, target, uid, gid);
274
259
  } catch (er) {
275
260
  if (!chownErOk(er)) throw er;
276
261
  }
@@ -292,14 +277,14 @@ var require_polyfills = __commonJS({
292
277
  if (cb) cb.apply(this, arguments);
293
278
  }
294
279
  __name(callback, "callback");
295
- return options ? orig.call(fs2, target, options, callback) : orig.call(fs2, target, callback);
280
+ return options ? orig.call(fs, target, options, callback) : orig.call(fs, target, callback);
296
281
  };
297
282
  }
298
283
  __name(statFix, "statFix");
299
284
  function statFixSync(orig) {
300
285
  if (!orig) return orig;
301
286
  return function(target, options) {
302
- var stats = options ? orig.call(fs2, target, options) : orig.call(fs2, target);
287
+ var stats = options ? orig.call(fs, target, options) : orig.call(fs, target);
303
288
  if (stats) {
304
289
  if (stats.uid < 0) stats.uid += 4294967296;
305
290
  if (stats.gid < 0) stats.gid += 4294967296;
@@ -332,16 +317,16 @@ var require_legacy_streams = __commonJS({
332
317
  init_esbuild_shims();
333
318
  var Stream = __require("stream").Stream;
334
319
  module.exports = legacy;
335
- function legacy(fs2) {
320
+ function legacy(fs) {
336
321
  return {
337
322
  ReadStream,
338
323
  WriteStream
339
324
  };
340
- function ReadStream(path2, options) {
341
- if (!(this instanceof ReadStream)) return new ReadStream(path2, options);
325
+ function ReadStream(path, options) {
326
+ if (!(this instanceof ReadStream)) return new ReadStream(path, options);
342
327
  Stream.call(this);
343
328
  var self = this;
344
- this.path = path2;
329
+ this.path = path;
345
330
  this.fd = null;
346
331
  this.readable = true;
347
332
  this.paused = false;
@@ -375,7 +360,7 @@ var require_legacy_streams = __commonJS({
375
360
  });
376
361
  return;
377
362
  }
378
- fs2.open(this.path, this.flags, this.mode, function(err, fd) {
363
+ fs.open(this.path, this.flags, this.mode, function(err, fd) {
379
364
  if (err) {
380
365
  self.emit("error", err);
381
366
  self.readable = false;
@@ -387,10 +372,10 @@ var require_legacy_streams = __commonJS({
387
372
  });
388
373
  }
389
374
  __name(ReadStream, "ReadStream");
390
- function WriteStream(path2, options) {
391
- if (!(this instanceof WriteStream)) return new WriteStream(path2, options);
375
+ function WriteStream(path, options) {
376
+ if (!(this instanceof WriteStream)) return new WriteStream(path, options);
392
377
  Stream.call(this);
393
- this.path = path2;
378
+ this.path = path;
394
379
  this.fd = null;
395
380
  this.writable = true;
396
381
  this.flags = "w";
@@ -415,7 +400,7 @@ var require_legacy_streams = __commonJS({
415
400
  this.busy = false;
416
401
  this._queue = [];
417
402
  if (this.fd === null) {
418
- this._open = fs2.open;
403
+ this._open = fs.open;
419
404
  this._queue.push([this._open, this.path, this.flags, this.mode, void 0]);
420
405
  this.flush();
421
406
  }
@@ -455,7 +440,7 @@ var require_clone = __commonJS({
455
440
  var require_graceful_fs = __commonJS({
456
441
  "node_modules/graceful-fs/graceful-fs.js"(exports, module) {
457
442
  init_esbuild_shims();
458
- var fs2 = __require("fs");
443
+ var fs = __require("fs");
459
444
  var polyfills = require_polyfills();
460
445
  var legacy = require_legacy_streams();
461
446
  var clone = require_clone();
@@ -489,12 +474,12 @@ var require_graceful_fs = __commonJS({
489
474
  m = "GFS4: " + m.split(/\n/).join("\nGFS4: ");
490
475
  console.error(m);
491
476
  }, "debug");
492
- if (!fs2[gracefulQueue]) {
477
+ if (!fs[gracefulQueue]) {
493
478
  queue = globalThis[gracefulQueue] || [];
494
- publishQueue(fs2, queue);
495
- fs2.close = function(fs$close) {
479
+ publishQueue(fs, queue);
480
+ fs.close = function(fs$close) {
496
481
  function close(fd, cb) {
497
- return fs$close.call(fs2, fd, function(err) {
482
+ return fs$close.call(fs, fd, function(err) {
498
483
  if (!err) {
499
484
  resetQueue();
500
485
  }
@@ -507,10 +492,10 @@ var require_graceful_fs = __commonJS({
507
492
  value: fs$close
508
493
  });
509
494
  return close;
510
- }(fs2.close);
511
- fs2.closeSync = function(fs$closeSync) {
495
+ }(fs.close);
496
+ fs.closeSync = function(fs$closeSync) {
512
497
  function closeSync(fd) {
513
- fs$closeSync.apply(fs2, arguments);
498
+ fs$closeSync.apply(fs, arguments);
514
499
  resetQueue();
515
500
  }
516
501
  __name(closeSync, "closeSync");
@@ -518,38 +503,38 @@ var require_graceful_fs = __commonJS({
518
503
  value: fs$closeSync
519
504
  });
520
505
  return closeSync;
521
- }(fs2.closeSync);
506
+ }(fs.closeSync);
522
507
  if (/\bgfs4\b/i.test(process.env.NODE_DEBUG || "")) {
523
508
  process.on("exit", function() {
524
- debug(fs2[gracefulQueue]);
525
- __require("assert").equal(fs2[gracefulQueue].length, 0);
509
+ debug(fs[gracefulQueue]);
510
+ __require("assert").equal(fs[gracefulQueue].length, 0);
526
511
  });
527
512
  }
528
513
  }
529
514
  var queue;
530
515
  if (!globalThis[gracefulQueue]) {
531
- publishQueue(globalThis, fs2[gracefulQueue]);
516
+ publishQueue(globalThis, fs[gracefulQueue]);
532
517
  }
533
- module.exports = patch(clone(fs2));
534
- if (process.env.TEST_GRACEFUL_FS_GLOBAL_PATCH && !fs2.__patched) {
535
- module.exports = patch(fs2);
536
- fs2.__patched = true;
518
+ module.exports = patch(clone(fs));
519
+ if (process.env.TEST_GRACEFUL_FS_GLOBAL_PATCH && !fs.__patched) {
520
+ module.exports = patch(fs);
521
+ fs.__patched = true;
537
522
  }
538
- function patch(fs3) {
539
- polyfills(fs3);
540
- fs3.gracefulify = patch;
541
- fs3.createReadStream = createReadStream;
542
- fs3.createWriteStream = createWriteStream;
543
- var fs$readFile = fs3.readFile;
544
- fs3.readFile = readFile2;
545
- function readFile2(path2, options, cb) {
523
+ function patch(fs2) {
524
+ polyfills(fs2);
525
+ fs2.gracefulify = patch;
526
+ fs2.createReadStream = createReadStream;
527
+ fs2.createWriteStream = createWriteStream;
528
+ var fs$readFile = fs2.readFile;
529
+ fs2.readFile = readFile;
530
+ function readFile(path, options, cb) {
546
531
  if (typeof options === "function")
547
532
  cb = options, options = null;
548
- return go$readFile(path2, options, cb);
549
- function go$readFile(path3, options2, cb2, startTime) {
550
- return fs$readFile(path3, options2, function(err) {
533
+ return go$readFile(path, options, cb);
534
+ function go$readFile(path2, options2, cb2, startTime) {
535
+ return fs$readFile(path2, options2, function(err) {
551
536
  if (err && (err.code === "EMFILE" || err.code === "ENFILE"))
552
- enqueue([go$readFile, [path3, options2, cb2], err, startTime || Date.now(), Date.now()]);
537
+ enqueue([go$readFile, [path2, options2, cb2], err, startTime || Date.now(), Date.now()]);
553
538
  else {
554
539
  if (typeof cb2 === "function")
555
540
  cb2.apply(this, arguments);
@@ -558,17 +543,17 @@ var require_graceful_fs = __commonJS({
558
543
  }
559
544
  __name(go$readFile, "go$readFile");
560
545
  }
561
- __name(readFile2, "readFile");
562
- var fs$writeFile = fs3.writeFile;
563
- fs3.writeFile = writeFile2;
564
- function writeFile2(path2, data, options, cb) {
546
+ __name(readFile, "readFile");
547
+ var fs$writeFile = fs2.writeFile;
548
+ fs2.writeFile = writeFile;
549
+ function writeFile(path, data, options, cb) {
565
550
  if (typeof options === "function")
566
551
  cb = options, options = null;
567
- return go$writeFile(path2, data, options, cb);
568
- function go$writeFile(path3, data2, options2, cb2, startTime) {
569
- return fs$writeFile(path3, data2, options2, function(err) {
552
+ return go$writeFile(path, data, options, cb);
553
+ function go$writeFile(path2, data2, options2, cb2, startTime) {
554
+ return fs$writeFile(path2, data2, options2, function(err) {
570
555
  if (err && (err.code === "EMFILE" || err.code === "ENFILE"))
571
- enqueue([go$writeFile, [path3, data2, options2, cb2], err, startTime || Date.now(), Date.now()]);
556
+ enqueue([go$writeFile, [path2, data2, options2, cb2], err, startTime || Date.now(), Date.now()]);
572
557
  else {
573
558
  if (typeof cb2 === "function")
574
559
  cb2.apply(this, arguments);
@@ -577,18 +562,18 @@ var require_graceful_fs = __commonJS({
577
562
  }
578
563
  __name(go$writeFile, "go$writeFile");
579
564
  }
580
- __name(writeFile2, "writeFile");
581
- var fs$appendFile = fs3.appendFile;
565
+ __name(writeFile, "writeFile");
566
+ var fs$appendFile = fs2.appendFile;
582
567
  if (fs$appendFile)
583
- fs3.appendFile = appendFile;
584
- function appendFile(path2, data, options, cb) {
568
+ fs2.appendFile = appendFile;
569
+ function appendFile(path, data, options, cb) {
585
570
  if (typeof options === "function")
586
571
  cb = options, options = null;
587
- return go$appendFile(path2, data, options, cb);
588
- function go$appendFile(path3, data2, options2, cb2, startTime) {
589
- return fs$appendFile(path3, data2, options2, function(err) {
572
+ return go$appendFile(path, data, options, cb);
573
+ function go$appendFile(path2, data2, options2, cb2, startTime) {
574
+ return fs$appendFile(path2, data2, options2, function(err) {
590
575
  if (err && (err.code === "EMFILE" || err.code === "ENFILE"))
591
- enqueue([go$appendFile, [path3, data2, options2, cb2], err, startTime || Date.now(), Date.now()]);
576
+ enqueue([go$appendFile, [path2, data2, options2, cb2], err, startTime || Date.now(), Date.now()]);
592
577
  else {
593
578
  if (typeof cb2 === "function")
594
579
  cb2.apply(this, arguments);
@@ -598,9 +583,9 @@ var require_graceful_fs = __commonJS({
598
583
  __name(go$appendFile, "go$appendFile");
599
584
  }
600
585
  __name(appendFile, "appendFile");
601
- var fs$copyFile = fs3.copyFile;
586
+ var fs$copyFile = fs2.copyFile;
602
587
  if (fs$copyFile)
603
- fs3.copyFile = copyFile;
588
+ fs2.copyFile = copyFile;
604
589
  function copyFile(src, dest, flags, cb) {
605
590
  if (typeof flags === "function") {
606
591
  cb = flags;
@@ -620,34 +605,34 @@ var require_graceful_fs = __commonJS({
620
605
  __name(go$copyFile, "go$copyFile");
621
606
  }
622
607
  __name(copyFile, "copyFile");
623
- var fs$readdir = fs3.readdir;
624
- fs3.readdir = readdir2;
608
+ var fs$readdir = fs2.readdir;
609
+ fs2.readdir = readdir;
625
610
  var noReaddirOptionVersions = /^v[0-5]\./;
626
- function readdir2(path2, options, cb) {
611
+ function readdir(path, options, cb) {
627
612
  if (typeof options === "function")
628
613
  cb = options, options = null;
629
- var go$readdir = noReaddirOptionVersions.test(process.version) ? /* @__PURE__ */ __name(function go$readdir2(path3, options2, cb2, startTime) {
630
- return fs$readdir(path3, fs$readdirCallback(
631
- path3,
614
+ var go$readdir = noReaddirOptionVersions.test(process.version) ? /* @__PURE__ */ __name(function go$readdir2(path2, options2, cb2, startTime) {
615
+ return fs$readdir(path2, fs$readdirCallback(
616
+ path2,
632
617
  options2,
633
618
  cb2,
634
619
  startTime
635
620
  ));
636
- }, "go$readdir") : /* @__PURE__ */ __name(function go$readdir2(path3, options2, cb2, startTime) {
637
- return fs$readdir(path3, options2, fs$readdirCallback(
638
- path3,
621
+ }, "go$readdir") : /* @__PURE__ */ __name(function go$readdir2(path2, options2, cb2, startTime) {
622
+ return fs$readdir(path2, options2, fs$readdirCallback(
623
+ path2,
639
624
  options2,
640
625
  cb2,
641
626
  startTime
642
627
  ));
643
628
  }, "go$readdir");
644
- return go$readdir(path2, options, cb);
645
- function fs$readdirCallback(path3, options2, cb2, startTime) {
629
+ return go$readdir(path, options, cb);
630
+ function fs$readdirCallback(path2, options2, cb2, startTime) {
646
631
  return function(err, files) {
647
632
  if (err && (err.code === "EMFILE" || err.code === "ENFILE"))
648
633
  enqueue([
649
634
  go$readdir,
650
- [path3, options2, cb2],
635
+ [path2, options2, cb2],
651
636
  err,
652
637
  startTime || Date.now(),
653
638
  Date.now()
@@ -662,23 +647,23 @@ var require_graceful_fs = __commonJS({
662
647
  }
663
648
  __name(fs$readdirCallback, "fs$readdirCallback");
664
649
  }
665
- __name(readdir2, "readdir");
650
+ __name(readdir, "readdir");
666
651
  if (process.version.substr(0, 4) === "v0.8") {
667
- var legStreams = legacy(fs3);
652
+ var legStreams = legacy(fs2);
668
653
  ReadStream = legStreams.ReadStream;
669
654
  WriteStream = legStreams.WriteStream;
670
655
  }
671
- var fs$ReadStream = fs3.ReadStream;
656
+ var fs$ReadStream = fs2.ReadStream;
672
657
  if (fs$ReadStream) {
673
658
  ReadStream.prototype = Object.create(fs$ReadStream.prototype);
674
659
  ReadStream.prototype.open = ReadStream$open;
675
660
  }
676
- var fs$WriteStream = fs3.WriteStream;
661
+ var fs$WriteStream = fs2.WriteStream;
677
662
  if (fs$WriteStream) {
678
663
  WriteStream.prototype = Object.create(fs$WriteStream.prototype);
679
664
  WriteStream.prototype.open = WriteStream$open;
680
665
  }
681
- Object.defineProperty(fs3, "ReadStream", {
666
+ Object.defineProperty(fs2, "ReadStream", {
682
667
  get: /* @__PURE__ */ __name(function() {
683
668
  return ReadStream;
684
669
  }, "get"),
@@ -688,7 +673,7 @@ var require_graceful_fs = __commonJS({
688
673
  enumerable: true,
689
674
  configurable: true
690
675
  });
691
- Object.defineProperty(fs3, "WriteStream", {
676
+ Object.defineProperty(fs2, "WriteStream", {
692
677
  get: /* @__PURE__ */ __name(function() {
693
678
  return WriteStream;
694
679
  }, "get"),
@@ -699,7 +684,7 @@ var require_graceful_fs = __commonJS({
699
684
  configurable: true
700
685
  });
701
686
  var FileReadStream = ReadStream;
702
- Object.defineProperty(fs3, "FileReadStream", {
687
+ Object.defineProperty(fs2, "FileReadStream", {
703
688
  get: /* @__PURE__ */ __name(function() {
704
689
  return FileReadStream;
705
690
  }, "get"),
@@ -710,7 +695,7 @@ var require_graceful_fs = __commonJS({
710
695
  configurable: true
711
696
  });
712
697
  var FileWriteStream = WriteStream;
713
- Object.defineProperty(fs3, "FileWriteStream", {
698
+ Object.defineProperty(fs2, "FileWriteStream", {
714
699
  get: /* @__PURE__ */ __name(function() {
715
700
  return FileWriteStream;
716
701
  }, "get"),
@@ -720,7 +705,7 @@ var require_graceful_fs = __commonJS({
720
705
  enumerable: true,
721
706
  configurable: true
722
707
  });
723
- function ReadStream(path2, options) {
708
+ function ReadStream(path, options) {
724
709
  if (this instanceof ReadStream)
725
710
  return fs$ReadStream.apply(this, arguments), this;
726
711
  else
@@ -742,7 +727,7 @@ var require_graceful_fs = __commonJS({
742
727
  });
743
728
  }
744
729
  __name(ReadStream$open, "ReadStream$open");
745
- function WriteStream(path2, options) {
730
+ function WriteStream(path, options) {
746
731
  if (this instanceof WriteStream)
747
732
  return fs$WriteStream.apply(this, arguments), this;
748
733
  else
@@ -762,24 +747,24 @@ var require_graceful_fs = __commonJS({
762
747
  });
763
748
  }
764
749
  __name(WriteStream$open, "WriteStream$open");
765
- function createReadStream(path2, options) {
766
- return new fs3.ReadStream(path2, options);
750
+ function createReadStream(path, options) {
751
+ return new fs2.ReadStream(path, options);
767
752
  }
768
753
  __name(createReadStream, "createReadStream");
769
- function createWriteStream(path2, options) {
770
- return new fs3.WriteStream(path2, options);
754
+ function createWriteStream(path, options) {
755
+ return new fs2.WriteStream(path, options);
771
756
  }
772
757
  __name(createWriteStream, "createWriteStream");
773
- var fs$open = fs3.open;
774
- fs3.open = open;
775
- function open(path2, flags, mode, cb) {
758
+ var fs$open = fs2.open;
759
+ fs2.open = open;
760
+ function open(path, flags, mode, cb) {
776
761
  if (typeof mode === "function")
777
762
  cb = mode, mode = null;
778
- return go$open(path2, flags, mode, cb);
779
- function go$open(path3, flags2, mode2, cb2, startTime) {
780
- return fs$open(path3, flags2, mode2, function(err, fd) {
763
+ return go$open(path, flags, mode, cb);
764
+ function go$open(path2, flags2, mode2, cb2, startTime) {
765
+ return fs$open(path2, flags2, mode2, function(err, fd) {
781
766
  if (err && (err.code === "EMFILE" || err.code === "ENFILE"))
782
- enqueue([go$open, [path3, flags2, mode2, cb2], err, startTime || Date.now(), Date.now()]);
767
+ enqueue([go$open, [path2, flags2, mode2, cb2], err, startTime || Date.now(), Date.now()]);
783
768
  else {
784
769
  if (typeof cb2 === "function")
785
770
  cb2.apply(this, arguments);
@@ -789,22 +774,22 @@ var require_graceful_fs = __commonJS({
789
774
  __name(go$open, "go$open");
790
775
  }
791
776
  __name(open, "open");
792
- return fs3;
777
+ return fs2;
793
778
  }
794
779
  __name(patch, "patch");
795
780
  function enqueue(elem) {
796
781
  debug("ENQUEUE", elem[0].name, elem[1]);
797
- fs2[gracefulQueue].push(elem);
782
+ fs[gracefulQueue].push(elem);
798
783
  retry();
799
784
  }
800
785
  __name(enqueue, "enqueue");
801
786
  var retryTimer;
802
787
  function resetQueue() {
803
788
  var now = Date.now();
804
- for (var i = 0; i < fs2[gracefulQueue].length; ++i) {
805
- if (fs2[gracefulQueue][i].length > 2) {
806
- fs2[gracefulQueue][i][3] = now;
807
- fs2[gracefulQueue][i][4] = now;
789
+ for (var i = 0; i < fs[gracefulQueue].length; ++i) {
790
+ if (fs[gracefulQueue][i].length > 2) {
791
+ fs[gracefulQueue][i][3] = now;
792
+ fs[gracefulQueue][i][4] = now;
808
793
  }
809
794
  }
810
795
  retry();
@@ -813,9 +798,9 @@ var require_graceful_fs = __commonJS({
813
798
  function retry() {
814
799
  clearTimeout(retryTimer);
815
800
  retryTimer = void 0;
816
- if (fs2[gracefulQueue].length === 0)
801
+ if (fs[gracefulQueue].length === 0)
817
802
  return;
818
- var elem = fs2[gracefulQueue].shift();
803
+ var elem = fs[gracefulQueue].shift();
819
804
  var fn = elem[0];
820
805
  var args = elem[1];
821
806
  var err = elem[2];
@@ -837,7 +822,7 @@ var require_graceful_fs = __commonJS({
837
822
  debug("RETRY", fn.name, args);
838
823
  fn.apply(null, args.concat([startTime]));
839
824
  } else {
840
- fs2[gracefulQueue].push(elem);
825
+ fs[gracefulQueue].push(elem);
841
826
  }
842
827
  }
843
828
  if (retryTimer === void 0) {
@@ -1280,10 +1265,10 @@ var require_mtime_precision = __commonJS({
1280
1265
  "use strict";
1281
1266
  init_esbuild_shims();
1282
1267
  var cacheSymbol = Symbol();
1283
- function probe(file, fs2, callback) {
1284
- const cachedPrecision = fs2[cacheSymbol];
1268
+ function probe(file, fs, callback) {
1269
+ const cachedPrecision = fs[cacheSymbol];
1285
1270
  if (cachedPrecision) {
1286
- return fs2.stat(file, (err, stat) => {
1271
+ return fs.stat(file, (err, stat) => {
1287
1272
  if (err) {
1288
1273
  return callback(err);
1289
1274
  }
@@ -1291,16 +1276,16 @@ var require_mtime_precision = __commonJS({
1291
1276
  });
1292
1277
  }
1293
1278
  const mtime = new Date(Math.ceil(Date.now() / 1e3) * 1e3 + 5);
1294
- fs2.utimes(file, mtime, mtime, (err) => {
1279
+ fs.utimes(file, mtime, mtime, (err) => {
1295
1280
  if (err) {
1296
1281
  return callback(err);
1297
1282
  }
1298
- fs2.stat(file, (err2, stat) => {
1283
+ fs.stat(file, (err2, stat) => {
1299
1284
  if (err2) {
1300
1285
  return callback(err2);
1301
1286
  }
1302
1287
  const precision = stat.mtime.getTime() % 1e3 === 0 ? "s" : "ms";
1303
- Object.defineProperty(fs2, cacheSymbol, { value: precision });
1288
+ Object.defineProperty(fs, cacheSymbol, { value: precision });
1304
1289
  callback(null, stat.mtime, precision);
1305
1290
  });
1306
1291
  });
@@ -1324,8 +1309,8 @@ var require_lockfile = __commonJS({
1324
1309
  "node_modules/proper-lockfile/lib/lockfile.js"(exports, module) {
1325
1310
  "use strict";
1326
1311
  init_esbuild_shims();
1327
- var path2 = __require("path");
1328
- var fs2 = require_graceful_fs();
1312
+ var path = __require("path");
1313
+ var fs = require_graceful_fs();
1329
1314
  var retry = require_retry2();
1330
1315
  var onExit = require_signal_exit();
1331
1316
  var mtimePrecision = require_mtime_precision();
@@ -1336,7 +1321,7 @@ var require_lockfile = __commonJS({
1336
1321
  __name(getLockFile, "getLockFile");
1337
1322
  function resolveCanonicalPath(file, options, callback) {
1338
1323
  if (!options.realpath) {
1339
- return callback(null, path2.resolve(file));
1324
+ return callback(null, path.resolve(file));
1340
1325
  }
1341
1326
  options.fs.realpath(file, callback);
1342
1327
  }
@@ -1463,7 +1448,7 @@ var require_lockfile = __commonJS({
1463
1448
  update: null,
1464
1449
  realpath: true,
1465
1450
  retries: 0,
1466
- fs: fs2,
1451
+ fs,
1467
1452
  onCompromised: /* @__PURE__ */ __name((err) => {
1468
1453
  throw err;
1469
1454
  }, "onCompromised"),
@@ -1508,7 +1493,7 @@ var require_lockfile = __commonJS({
1508
1493
  __name(lock, "lock");
1509
1494
  function unlock(file, options, callback) {
1510
1495
  options = {
1511
- fs: fs2,
1496
+ fs,
1512
1497
  realpath: true,
1513
1498
  ...options
1514
1499
  };
@@ -1531,7 +1516,7 @@ var require_lockfile = __commonJS({
1531
1516
  options = {
1532
1517
  stale: 1e4,
1533
1518
  realpath: true,
1534
- fs: fs2,
1519
+ fs,
1535
1520
  ...options
1536
1521
  };
1537
1522
  options.stale = Math.max(options.stale || 0, 2e3);
@@ -1573,16 +1558,16 @@ var require_adapter = __commonJS({
1573
1558
  "node_modules/proper-lockfile/lib/adapter.js"(exports, module) {
1574
1559
  "use strict";
1575
1560
  init_esbuild_shims();
1576
- var fs2 = require_graceful_fs();
1577
- function createSyncFs(fs3) {
1561
+ var fs = require_graceful_fs();
1562
+ function createSyncFs(fs2) {
1578
1563
  const methods = ["mkdir", "realpath", "stat", "rmdir", "utimes"];
1579
- const newFs = { ...fs3 };
1564
+ const newFs = { ...fs2 };
1580
1565
  methods.forEach((method) => {
1581
1566
  newFs[method] = (...args) => {
1582
1567
  const callback = args.pop();
1583
1568
  let ret;
1584
1569
  try {
1585
- ret = fs3[`${method}Sync`](...args);
1570
+ ret = fs2[`${method}Sync`](...args);
1586
1571
  } catch (err) {
1587
1572
  return callback(err);
1588
1573
  }
@@ -1623,7 +1608,7 @@ var require_adapter = __commonJS({
1623
1608
  __name(toSync, "toSync");
1624
1609
  function toSyncOptions(options) {
1625
1610
  options = { ...options };
1626
- options.fs = createSyncFs(options.fs || fs2);
1611
+ options.fs = createSyncFs(options.fs || fs);
1627
1612
  if (typeof options.retries === "number" && options.retries > 0 || options.retries && typeof options.retries.retries === "number" && options.retries.retries > 0) {
1628
1613
  throw Object.assign(new Error("Cannot use retries with the sync api"), { code: "ESYNC" });
1629
1614
  }
@@ -1681,205 +1666,7 @@ var require_proper_lockfile = __commonJS({
1681
1666
  }
1682
1667
  });
1683
1668
 
1684
- // packages/core/src/agents/team/teamHelpers.ts
1685
- init_esbuild_shims();
1686
- import * as fs from "node:fs/promises";
1687
- import * as path from "node:path";
1688
- function getTeamsRootDir() {
1689
- return path.join(Storage.getGlobalQwenDir(), TEAMS_DIR);
1690
- }
1691
- __name(getTeamsRootDir, "getTeamsRootDir");
1692
- function getTeamDir(teamName) {
1693
- return path.join(getTeamsRootDir(), teamName);
1694
- }
1695
- __name(getTeamDir, "getTeamDir");
1696
- function getTeamFilePath(teamName) {
1697
- return path.join(getTeamDir(teamName), TEAM_CONFIG_FILENAME);
1698
- }
1699
- __name(getTeamFilePath, "getTeamFilePath");
1700
- function getInboxesDir(teamName) {
1701
- return path.join(getTeamDir(teamName), INBOXES_DIR);
1702
- }
1703
- __name(getInboxesDir, "getInboxesDir");
1704
- function getTasksDir(teamName) {
1705
- return path.join(Storage.getGlobalQwenDir(), TASKS_DIR, teamName);
1706
- }
1707
- __name(getTasksDir, "getTasksDir");
1708
- function sanitizeName(name) {
1709
- return name.toLowerCase().replace(/[^a-z0-9-]/g, "-").replace(/-+/g, "-").replace(/^-|-$/g, "");
1710
- }
1711
- __name(sanitizeName, "sanitizeName");
1712
- function formatAgentId(name, teamName) {
1713
- return `${sanitizeName(name)}@${sanitizeName(teamName)}`;
1714
- }
1715
- __name(formatAgentId, "formatAgentId");
1716
- function generateUniqueTeammateName(baseName, existingMembers) {
1717
- const sanitized = sanitizeName(baseName);
1718
- if (!sanitized) {
1719
- throw new Error(
1720
- `Teammate name "${baseName}" sanitizes to an empty string. Choose a name with at least one alphanumeric character.`
1721
- );
1722
- }
1723
- if (sanitized === LEADER_NAME) {
1724
- throw new Error(
1725
- `"${LEADER_NAME}" is reserved for the team leader. Choose a different teammate name.`
1726
- );
1727
- }
1728
- const existingNames = new Set(existingMembers.map((m) => m.name));
1729
- if (existingNames.has(sanitized)) {
1730
- const existingList = [...existingNames].join(", ") || "<none>";
1731
- throw new Error(
1732
- `A teammate named "${sanitized}" already exists in this team (existing: ${existingList}). Choose a different name.`
1733
- );
1734
- }
1735
- return sanitized;
1736
- }
1737
- __name(generateUniqueTeammateName, "generateUniqueTeammateName");
1738
- function assignTeammateColor(existingMembers) {
1739
- const usedColors = new Set(
1740
- existingMembers.map((m) => m.color).filter((c) => c !== void 0)
1741
- );
1742
- for (const color of TEAMMATE_COLORS) {
1743
- if (!usedColors.has(color)) {
1744
- return color;
1745
- }
1746
- }
1747
- return TEAMMATE_COLORS[existingMembers.length % TEAMMATE_COLORS.length];
1748
- }
1749
- __name(assignTeammateColor, "assignTeammateColor");
1750
- function clearTeammateColors(members) {
1751
- return members.map((m) => {
1752
- const { color: _, ...rest } = m;
1753
- return rest;
1754
- });
1755
- }
1756
- __name(clearTeammateColors, "clearTeammateColors");
1757
- function setMemberActive(members, agentId, isActive) {
1758
- return members.map((m) => m.agentId === agentId ? { ...m, isActive } : m);
1759
- }
1760
- __name(setMemberActive, "setMemberActive");
1761
- function findMemberById(members, agentId) {
1762
- return members.find((m) => m.agentId === agentId);
1763
- }
1764
- __name(findMemberById, "findMemberById");
1765
- function findMemberByName(members, name) {
1766
- const sanitized = sanitizeName(name);
1767
- return members.find((m) => m.name === sanitized);
1768
- }
1769
- __name(findMemberByName, "findMemberByName");
1770
- function classifyShutdownResponse(message) {
1771
- const trimmed = message.trimStart();
1772
- if (/^shutdown_approved\b/i.test(trimmed)) return "shutdown_approved";
1773
- if (/^shutdown_rejected\b/i.test(trimmed)) return "shutdown_rejected";
1774
- return void 0;
1775
- }
1776
- __name(classifyShutdownResponse, "classifyShutdownResponse");
1777
- async function readTeamFile(teamName) {
1778
- const filePath = getTeamFilePath(teamName);
1779
- try {
1780
- const raw = await fs.readFile(filePath, "utf-8");
1781
- return JSON.parse(raw);
1782
- } catch (err) {
1783
- if (isNodeError(err) && err.code === "ENOENT") {
1784
- return void 0;
1785
- }
1786
- throw err;
1787
- }
1788
- }
1789
- __name(readTeamFile, "readTeamFile");
1790
- async function writeTeamFile(teamName, teamFile) {
1791
- const filePath = getTeamFilePath(teamName);
1792
- await fs.mkdir(path.dirname(filePath), { recursive: true });
1793
- await atomicWriteJSON(filePath, teamFile);
1794
- }
1795
- __name(writeTeamFile, "writeTeamFile");
1796
- async function createTeamFile(teamName, teamFile) {
1797
- const filePath = getTeamFilePath(teamName);
1798
- await fs.mkdir(path.dirname(filePath), { recursive: true });
1799
- await fs.writeFile(filePath, JSON.stringify(teamFile, null, 2) + "\n", {
1800
- encoding: "utf-8",
1801
- flag: "wx"
1802
- });
1803
- }
1804
- __name(createTeamFile, "createTeamFile");
1805
- function isPidAlive(pid) {
1806
- try {
1807
- process.kill(pid, 0);
1808
- return true;
1809
- } catch (err) {
1810
- return isNodeError(err) && err.code === "EPERM";
1811
- }
1812
- }
1813
- __name(isPidAlive, "isPidAlive");
1814
- async function tryReclaimStaleTeam(teamName) {
1815
- let existing;
1816
- try {
1817
- existing = await readTeamFile(teamName);
1818
- } catch {
1819
- return false;
1820
- }
1821
- if (!existing) {
1822
- await deleteTeamDirs(teamName);
1823
- return true;
1824
- }
1825
- if (typeof existing.leadPid !== "number" || existing.leadPid <= 0) {
1826
- return false;
1827
- }
1828
- if (existing.leadPid !== process.pid && isPidAlive(existing.leadPid)) {
1829
- return false;
1830
- }
1831
- await deleteTeamDirs(teamName);
1832
- return true;
1833
- }
1834
- __name(tryReclaimStaleTeam, "tryReclaimStaleTeam");
1835
- async function deleteTeamDirs(teamName) {
1836
- const teamDir = getTeamDir(teamName);
1837
- const tasksDir = getTasksDir(teamName);
1838
- await Promise.allSettled([
1839
- fs.rm(teamDir, { recursive: true, force: true }),
1840
- fs.rm(tasksDir, { recursive: true, force: true })
1841
- ]);
1842
- }
1843
- __name(deleteTeamDirs, "deleteTeamDirs");
1844
- async function listTeamNames() {
1845
- const teamsRoot = getTeamsRootDir();
1846
- try {
1847
- const entries = await fs.readdir(teamsRoot, {
1848
- withFileTypes: true
1849
- });
1850
- return entries.filter((e) => e.isDirectory()).map((e) => e.name);
1851
- } catch {
1852
- return [];
1853
- }
1854
- }
1855
- __name(listTeamNames, "listTeamNames");
1856
-
1857
1669
  export {
1858
- getTeamsRootDir,
1859
- getTeamDir,
1860
- getTeamFilePath,
1861
- getInboxesDir,
1862
- getTasksDir,
1863
- sanitizeName,
1864
- formatAgentId,
1865
- generateUniqueTeammateName,
1866
- assignTeammateColor,
1867
- clearTeammateColors,
1868
- setMemberActive,
1869
- findMemberById,
1870
- findMemberByName,
1871
- classifyShutdownResponse,
1872
- readTeamFile,
1873
- writeTeamFile,
1874
- createTeamFile,
1875
- tryReclaimStaleTeam,
1876
- deleteTeamDirs,
1877
- listTeamNames,
1878
1670
  require_graceful_fs,
1879
1671
  require_proper_lockfile
1880
1672
  };
1881
- /**
1882
- * @license
1883
- * Copyright 2025 Qwen
1884
- * SPDX-License-Identifier: Apache-2.0
1885
- */