@qwen-code/qwen-code 0.21.0 → 0.21.1-simplify-system-prompt.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 (228) hide show
  1. package/chunks/{MaxSizedBox-5DPPWPGT.js → MaxSizedBox-INHRH72H.js} +11 -10
  2. package/chunks/{StandaloneSessionPicker-BIRMPLRD.js → StandaloneSessionPicker-O6RKBPU4.js} +25 -24
  3. package/chunks/{acpAgent-6J2U72PQ.js → acpAgent-HYFVXVDR.js} +119 -74
  4. package/chunks/{agent-6ODUANDO.js → agent-VXDAN5JK.js} +10 -9
  5. package/chunks/{agent-headless-7BYQTMHW.js → agent-headless-K4ZMMNBD.js} +10 -9
  6. package/chunks/{anthropicContentGenerator-75BKLTSP.js → anthropicContentGenerator-LXUXMOE7.js} +20 -9
  7. package/chunks/{bridge-ZUB64FAE.js → bridge-LGPZCFHO.js} +14 -13
  8. package/chunks/channel-management-service-G74LFADV.js +403 -0
  9. package/chunks/channel-settings-store-CHCDRTPY.js +89 -0
  10. package/chunks/{channel-worker-group-2ZD7TVAT.js → channel-worker-group-PTJIJSKC.js} +6 -5
  11. package/chunks/{channel-worker-manager-4OA4BCGB.js → channel-worker-manager-WIMGM2FD.js} +6 -5
  12. package/chunks/{channel-worker-supervisor-V7KCFJTS.js → channel-worker-supervisor-KUFTR6P5.js} +5 -4
  13. package/chunks/{chunk-OFDOK3VM.js → chunk-2JM6GZ5D.js} +3 -3
  14. package/chunks/{chunk-H4SBPHSA.js → chunk-2OM7GEXO.js} +1 -1
  15. package/chunks/{chunk-TGILQ3YH.js → chunk-2Q3OT4OV.js} +7 -7
  16. package/chunks/{chunk-PC6JANNU.js → chunk-2YZJCM5T.js} +4 -4
  17. package/chunks/{chunk-QAF7NMK7.js → chunk-32MVHM4T.js} +1 -1
  18. package/chunks/{chunk-K36B6G2O.js → chunk-3HBZKBMQ.js} +3 -3
  19. package/chunks/{chunk-GSN55ZRI.js → chunk-3IXOIAKE.js} +4 -4
  20. package/chunks/{chunk-IJTOWOD7.js → chunk-3JAQDSXN.js} +12 -0
  21. package/chunks/{chunk-UDX5OBWR.js → chunk-3MSHSCSN.js} +2 -2
  22. package/chunks/{chunk-ZFDTEDCF.js → chunk-4M377AZG.js} +3 -3
  23. package/chunks/{chunk-U7M2DMGW.js → chunk-52O2CIUL.js} +2 -2
  24. package/chunks/{chunk-R5AFZNQW.js → chunk-5THCYPLO.js} +3 -3
  25. package/chunks/{chunk-7MVVZO4N.js → chunk-5U4IPFBR.js} +4 -4
  26. package/chunks/{chunk-KIM5GUMA.js → chunk-66RMLJHC.js} +21 -21
  27. package/chunks/{chunk-FSITMZJH.js → chunk-6PSLCFQ2.js} +5 -5
  28. package/chunks/{chunk-ACY3A37B.js → chunk-7FZEBPKS.js} +3 -3
  29. package/chunks/{chunk-7JURR4JT.js → chunk-A6UO2C7C.js} +1 -1
  30. package/chunks/{chunk-JLU636DO.js → chunk-ALMR3E6Q.js} +1 -0
  31. package/chunks/{chunk-PWVFN2LF.js → chunk-B4UMZKMU.js} +1 -1
  32. package/chunks/{chunk-SQCQ4KO2.js → chunk-B6ZJ7SI6.js} +14 -14
  33. package/chunks/{chunk-YPE6A4GC.js → chunk-B7QDM6Z7.js} +1 -1
  34. package/chunks/{chunk-NIBLUX3Y.js → chunk-BO4XCS7P.js} +195 -3
  35. package/chunks/{chunk-WCXCRJYB.js → chunk-BRRAJXPA.js} +1 -1
  36. package/chunks/{chunk-TPRQ7RZH.js → chunk-BYFNTGKI.js} +37 -35
  37. package/chunks/{chunk-Y34KJKDC.js → chunk-C3NS4F2Q.js} +1 -1
  38. package/chunks/{chunk-Q4M4MDQ4.js → chunk-CC4N4M36.js} +1 -1
  39. package/chunks/{chunk-EBJQ6AXW.js → chunk-DM22XS4K.js} +5 -5
  40. package/chunks/{chunk-PHOF65IG.js → chunk-DM4Q4JJH.js} +1059 -722
  41. package/chunks/{chunk-JXJFVC6E.js → chunk-DN6ZX5AY.js} +3 -3
  42. package/chunks/{chunk-J24WCGIN.js → chunk-E5WH5O3C.js} +4 -4
  43. package/chunks/{chunk-4WIZGAH3.js → chunk-ER5LWJR6.js} +5 -57
  44. package/chunks/chunk-FY3M44RD.js +463 -0
  45. package/chunks/{chunk-IO3IX5Q4.js → chunk-G4WFQUYQ.js} +1 -1
  46. package/chunks/{chunk-VULLI6WQ.js → chunk-GDIPH4JY.js} +3 -3
  47. package/chunks/chunk-HV3G62R6.js +76 -0
  48. package/chunks/{chunk-YX324OPW.js → chunk-I7XZ3RY5.js} +1 -1
  49. package/chunks/{chunk-BULDBTYC.js → chunk-INADJJGW.js} +1 -26
  50. package/chunks/{chunk-RIBKPMRP.js → chunk-J6D3VXCC.js} +3 -3
  51. package/chunks/{chunk-TEHGS6UP.js → chunk-JALU3ZDU.js} +6 -6
  52. package/chunks/{chunk-YBL3QUDD.js → chunk-KIUFNBHR.js} +1 -1
  53. package/chunks/{chunk-VIA5XA4U.js → chunk-KU5XMLDK.js} +1 -1
  54. package/chunks/{chunk-KMQ33DO4.js → chunk-LG4GZIVV.js} +3 -3
  55. package/chunks/{chunk-ZNAUOR2I.js → chunk-LNARWLZQ.js} +1 -1
  56. package/chunks/{chunk-LQIW3YFY.js → chunk-LNURQEMZ.js} +4 -4
  57. package/chunks/{chunk-VRYUBFMC.js → chunk-LZEMEFKY.js} +1 -1
  58. package/chunks/{chunk-LB6DUZ26.js → chunk-M4UKFCZ2.js} +65 -46
  59. package/chunks/chunk-MK7VQDN3.js +79 -0
  60. package/chunks/{chunk-RWTEFFPU.js → chunk-ML52PL6O.js} +211 -209
  61. package/chunks/{chunk-RF3EXIHJ.js → chunk-MSLKI6C2.js} +12 -12
  62. package/chunks/{chunk-X5XDDSSH.js → chunk-MVS3NS2N.js} +1 -1
  63. package/chunks/{chunk-5NBDS5S6.js → chunk-N3FAY5CM.js} +7 -5
  64. package/chunks/{chunk-55DJUCI2.js → chunk-OJGCZBB7.js} +14 -9
  65. package/chunks/{chunk-BKHWX6I2.js → chunk-P5V4T7NK.js} +3 -3
  66. package/chunks/{chunk-LH2BYDQ5.js → chunk-PANH4R3B.js} +1 -1
  67. package/chunks/{chunk-RZIX2G32.js → chunk-PHVR5UUY.js} +1 -1
  68. package/chunks/{chunk-MZAXJAUM.js → chunk-PSWQZHEA.js} +1 -1
  69. package/chunks/{chunk-3RN6GBKS.js → chunk-QPDRAXDJ.js} +1 -1
  70. package/chunks/{chunk-2X55UKQE.js → chunk-QY5MMZ6O.js} +2 -2
  71. package/chunks/{chunk-CIKQ7KKO.js → chunk-RWS5VYWC.js} +14 -8
  72. package/chunks/{chunk-MVSUYZDT.js → chunk-SASBXAQL.js} +3 -3
  73. package/chunks/chunk-SQBYH7PX.js +1252 -0
  74. package/chunks/{chunk-MB4MZHMJ.js → chunk-SRZ6DXVG.js} +170 -389
  75. package/chunks/chunk-TF2X2WCT.js +363 -0
  76. package/chunks/{chunk-2SCDWPXI.js → chunk-TQCBGUHN.js} +2 -2
  77. package/chunks/{chunk-LK7CHLVP.js → chunk-U4VTUMMK.js} +0 -60
  78. package/chunks/{chunk-IKCX4CCL.js → chunk-U7TXFVUN.js} +6 -6
  79. package/chunks/{chunk-2NH6DYI4.js → chunk-V6VRAM7B.js} +10 -10
  80. package/chunks/{chunk-Z2BC6UJ5.js → chunk-VCBZUOSI.js} +1 -1
  81. package/chunks/{chunk-IKYJHJNF.js → chunk-VFSJ5VRH.js} +2 -2
  82. package/chunks/{chunk-LKEJ26GS.js → chunk-VV6XU5L7.js} +1 -1
  83. package/chunks/{chunk-7ZCNENPP.js → chunk-W4CQXHT6.js} +1 -1
  84. package/chunks/{chunk-HTR4WV6U.js → chunk-W4RQUHY3.js} +31 -1
  85. package/chunks/{chunk-ETSW4KLJ.js → chunk-WDSWXQU3.js} +1 -1
  86. package/chunks/{chunk-PSOO6YXD.js → chunk-XHRTVPG2.js} +8 -6
  87. package/chunks/{chunk-ZJHVAS7M.js → chunk-YAF5VNU7.js} +1 -1
  88. package/chunks/{chunk-JVPM2ULZ.js → chunk-Z5BLYMZM.js} +4 -4
  89. package/chunks/{chunk-M4FMGVY4.js → chunk-ZE5WPL4I.js} +2 -2
  90. package/chunks/{computer-use-SOQ4E3VX.js → computer-use-DOFAHZAB.js} +10 -9
  91. package/chunks/{config-utils-7V7GGIW6.js → config-utils-VFQXVGNR.js} +4 -3
  92. package/chunks/{contextCommand-JLHYA34Z.js → contextCommand-QIZYHDR5.js} +12 -11
  93. package/chunks/{create-sub-session-QRJLW5BV.js → create-sub-session-7543K2QA.js} +10 -9
  94. package/chunks/{daemon-YO6433NF.js → daemon-VOMQW7KZ.js} +189 -0
  95. package/chunks/{daemon-status-provider-2233Q37D.js → daemon-status-provider-OS5UWBHV.js} +18 -17
  96. package/chunks/{dist-WEAHOXDM.js → dist-ANLAT3GS.js} +1 -1
  97. package/chunks/{dist-BBLXMS3N.js → dist-BRB6EXK4.js} +1 -1
  98. package/chunks/{dist-YFNEUWSE.js → dist-K6Y4E7FX.js} +1 -1
  99. package/chunks/{dist-F6IBUDR4.js → dist-KTYYJ2C5.js} +1 -1
  100. package/chunks/{dist-46NQKLTW.js → dist-NNVBBOGU.js} +2 -2
  101. package/chunks/{dist-AIKFMUKK.js → dist-RTJFMNEZ.js} +1 -1
  102. package/chunks/{earlyInputCapture-A7NDU3PF.js → earlyInputCapture-WQT24RWD.js} +10 -9
  103. package/chunks/{edit-OBDSQURM.js → edit-RIEOJWKB.js} +10 -9
  104. package/chunks/{enter-worktree-U6MRPQ2P.js → enter-worktree-OGK5FQ3R.js} +10 -9
  105. package/chunks/{enterPlanMode-BC5QUZZ2.js → enterPlanMode-IWZYALIB.js} +10 -9
  106. package/chunks/{environment-W5UFC2CH.js → environment-VZ7BRI4Q.js} +12 -11
  107. package/chunks/{errors-M7CLORXH.js → errors-PCX25DVP.js} +12 -11
  108. package/chunks/{exit-worktree-DGNYMECB.js → exit-worktree-4TEYVIVP.js} +10 -9
  109. package/chunks/{exitPlanMode-GXTBWQAR.js → exitPlanMode-GHPUHBZJ.js} +38 -18
  110. package/chunks/{fast-path-JJZFJANL.js → fast-path-HYE7IFEV.js} +5 -5
  111. package/chunks/{gemini-QS36EBZV.js → gemini-NGRQX3YJ.js} +54 -51
  112. package/chunks/{geminiContentGenerator-AG4KB6CV.js → geminiContentGenerator-FQHPFZSR.js} +36 -7
  113. package/chunks/{glob-V7R3PSK3.js → glob-FRTM3X2E.js} +10 -9
  114. package/chunks/{grep-QYPSK7OP.js → grep-RKWVROCW.js} +10 -9
  115. package/chunks/{handleAutoUpdate-6DBEZYPV.js → handleAutoUpdate-2CZQRJ66.js} +14 -13
  116. package/chunks/{i18n-VUJJZIMU.js → i18n-XEQVMRKN.js} +11 -10
  117. package/chunks/{image-gen-Z3VPGKRC.js → image-gen-WIEM7KZA.js} +1 -1
  118. package/chunks/{initializer-UWAK5U5O.js → initializer-OVGZ4FLY.js} +15 -14
  119. package/chunks/{installationInfo-6O2YAA52.js → installationInfo-5UUQJI6Y.js} +11 -10
  120. package/chunks/{list-GB4ESM3T.js → list-HODU6RXD.js} +18 -17
  121. package/chunks/{loadedSettingsAdapter-OT6JVQ7U.js → loadedSettingsAdapter-TYNLBALY.js} +15 -14
  122. package/chunks/{loggingContentGenerator-HS3S5H3Q.js → loggingContentGenerator-WGM27QAW.js} +55 -91
  123. package/chunks/{managed-npm-update-JYEMMXA3.js → managed-npm-update-JQ2CG3RH.js} +11 -10
  124. package/chunks/{mcp-6DBDJPFU.js → mcp-J3DFWX4A.js} +15 -14
  125. package/chunks/{monitor-R3ODH5U6.js → monitor-7FEWXX5F.js} +10 -9
  126. package/chunks/{nonInteractiveCli-MOYCYBBU.js → nonInteractiveCli-F4GYSMHT.js} +50 -47
  127. package/chunks/{notebook-edit-BNOK452R.js → notebook-edit-JGJV2K6J.js} +10 -9
  128. package/chunks/{openaiContentGenerator-WMCU3O2H.js → openaiContentGenerator-JPVXDTAO.js} +8 -7
  129. package/chunks/{pidfile-TFRZZZIO.js → pidfile-4VNAR3EP.js} +10 -9
  130. package/chunks/{processUtils-RT7UNCC2.js → processUtils-V2LCK6T6.js} +2 -2
  131. package/chunks/{qwenContentGenerator-HHCRK4SX.js → qwenContentGenerator-TICV2W2Z.js} +12 -11
  132. package/chunks/{qwenOAuth2-OWLB5AKH.js → qwenOAuth2-XGFI5XJG.js} +1 -1
  133. package/chunks/{read-file-APMO3PSX.js → read-file-LZXUR4TO.js} +5 -5
  134. package/chunks/{resumeHistoryUtils-6KRYEAWZ.js → resumeHistoryUtils-65OX3SGJ.js} +14 -13
  135. package/chunks/{ripGrep-BEJDEDXW.js → ripGrep-2U2FRGMV.js} +10 -9
  136. package/chunks/{run-qwen-serve-FU6HEM4J.js → run-qwen-serve-3VCV4I7E.js} +69 -33
  137. package/chunks/{runtime-XXRRTNP6.js → runtime-AXJWIEDU.js} +20 -18
  138. package/chunks/{scheduler-G2ZS2Z7E.js → scheduler-RS2I6RU5.js} +10 -9
  139. package/chunks/{sdk-exporters-http-FYBSUCPD.js → sdk-exporters-http-FS6ZV7MF.js} +2 -2
  140. package/chunks/{sdk-impl-GMVPB7NB.js → sdk-impl-7FZSCSXB.js} +6 -6
  141. package/chunks/{serve-7BSTXJ4T.js → serve-W2GC47CM.js} +16 -15
  142. package/chunks/{server-4UMH7OIZ.js → server-HRZ23U7M.js} +499 -93
  143. package/chunks/{session-K3O3Q2SV.js → session-7XHZKTVV.js} +51 -48
  144. package/chunks/{settings-CR2EWTBA.js → settings-7ZGZDXAS.js} +14 -13
  145. package/chunks/{shell-HH3PF3A2.js → shell-45IPBDP5.js} +10 -9
  146. package/chunks/{skill-I3SDA4MB.js → skill-LIWXNLDW.js} +7 -6
  147. package/chunks/{spawnChannel-RWNDBXGA.js → spawnChannel-PVXQ5AGV.js} +12 -11
  148. package/chunks/{src-GE4TTTML.js → src-AY65BYR7.js} +36 -17
  149. package/chunks/{standalone-update-Q6WFRZZQ.js → standalone-update-ZMFNKAEY.js} +12 -11
  150. package/chunks/{startInteractiveUI-SLZGHRPH.js → startInteractiveUI-IW3CSKHA.js} +87 -88
  151. package/chunks/{team-create-YJALH5D2.js → team-create-O2FROQ4R.js} +10 -9
  152. package/chunks/{team-plan-approval-34QFYKGN.js → team-plan-approval-Q6WDBXTQ.js} +10 -9
  153. package/chunks/{theme-manager-SWRILQHI.js → theme-manager-YYPZFBAH.js} +10 -9
  154. package/chunks/{tool-search-NF7GB6LE.js → tool-search-APECNQ3Z.js} +5 -5
  155. package/chunks/{total-session-admission-DLHHHLD3.js → total-session-admission-JXES723M.js} +14 -13
  156. package/chunks/{tree-sitter-4D7QS7F6.js → tree-sitter-FS4VPMZA.js} +1 -1
  157. package/chunks/{tree-sitter-bash-VEJGF5XF.js → tree-sitter-bash-6B46JJCV.js} +1 -1
  158. package/chunks/{trustedFolders-KHXHY6PY.js → trustedFolders-HVI7IXUH.js} +11 -10
  159. package/chunks/{update-relaunch-WBUZJC5O.js → update-relaunch-ON5MDJQG.js} +5 -5
  160. package/chunks/{updateCheck-RKL6M5XN.js → updateCheck-WUJGHWZZ.js} +13 -12
  161. package/chunks/{useAutoAcceptIndicator-CFQ5BUJL.js → useAutoAcceptIndicator-CHSTZLZD.js} +17 -16
  162. package/chunks/{validateNonInterActiveAuth-3R223G3R.js → validateNonInterActiveAuth-JBLKBKRD.js} +47 -44
  163. package/chunks/{version-HS7YSFHV.js → version-LTNUBQJY.js} +1 -1
  164. package/chunks/{web-fetch-NKCSG7ZE.js → web-fetch-L5UTI53V.js} +5 -5
  165. package/chunks/{web-search-S62WAP4S.js → web-search-KM33JOS3.js} +2 -2
  166. package/chunks/{workflow-QAGU5RU4.js → workflow-K7FAWV77.js} +11 -10
  167. package/chunks/{workspace-providers-status-QSVZUETE.js → workspace-providers-status-GAKSF4LL.js} +18 -17
  168. package/chunks/{workspace-registration-store-24JMHDGF.js → workspace-registration-store-6TGVDJV5.js} +1 -1
  169. package/chunks/{workspace-registry-UT4RBNBM.js → workspace-registry-A7NQUONG.js} +14 -13
  170. package/chunks/{workspace-service-JFWRUS4V.js → workspace-service-STGVSO4N.js} +19 -18
  171. package/chunks/{workspace-skills-status-ZBBKJOI2.js → workspace-skills-status-66AK3DUA.js} +16 -15
  172. package/chunks/{write-file-VHIXW5M7.js → write-file-HUUCEG4P.js} +10 -9
  173. package/cli.js +12 -12
  174. package/package.json +3 -3
  175. package/web-shell/assets/{arc-DcbWnB9T.js → arc-BbHijhiN.js} +1 -1
  176. package/web-shell/assets/{architectureDiagram-3BPJPVTR-kMMF5sud.js → architectureDiagram-3BPJPVTR-Cb4B_JD0.js} +1 -1
  177. package/web-shell/assets/{blockDiagram-GPEHLZMM-Htl9vTJS.js → blockDiagram-GPEHLZMM-Dsjlh3H-.js} +1 -1
  178. package/web-shell/assets/{c4Diagram-AAUBKEIU-BnZnm0mQ.js → c4Diagram-AAUBKEIU-Cp5AeR4U.js} +1 -1
  179. package/web-shell/assets/channel-Bzdx6E8P.js +1 -0
  180. package/web-shell/assets/{chunk-2J33WTMH-DziB7kDG.js → chunk-2J33WTMH-CLcY7W2e.js} +1 -1
  181. package/web-shell/assets/{chunk-4BX2VUAB-CmkD8daw.js → chunk-4BX2VUAB-BUhvY2LR.js} +1 -1
  182. package/web-shell/assets/{chunk-55IACEB6-CHAd9A_U.js → chunk-55IACEB6-kDIFC_71.js} +1 -1
  183. package/web-shell/assets/{chunk-727SXJPM-Dqaam3fE.js → chunk-727SXJPM-CIBO15f2.js} +1 -1
  184. package/web-shell/assets/{chunk-AQP2D5EJ-D_-saBYM.js → chunk-AQP2D5EJ-BJ_T_slV.js} +1 -1
  185. package/web-shell/assets/{chunk-FMBD7UC4-B9r_veWD.js → chunk-FMBD7UC4-BEkW35J8.js} +1 -1
  186. package/web-shell/assets/{chunk-ND2GUHAM-B3EaCSpL.js → chunk-ND2GUHAM-GGPxofay.js} +1 -1
  187. package/web-shell/assets/{chunk-QZHKN3VN-CYq8x9mn.js → chunk-QZHKN3VN-Bifllrb6.js} +1 -1
  188. package/web-shell/assets/classDiagram-4FO5ZUOK-Cd6wbiuK.js +1 -0
  189. package/web-shell/assets/classDiagram-v2-Q7XG4LA2-Cd6wbiuK.js +1 -0
  190. package/web-shell/assets/{cose-bilkent-S5V4N54A-D0ng4uiB.js → cose-bilkent-S5V4N54A-C-Add_Dp.js} +1 -1
  191. package/web-shell/assets/{dagre-BM42HDAG-DCZollQv.js → dagre-BM42HDAG-B7MfwNq2.js} +1 -1
  192. package/web-shell/assets/{diagram-2AECGRRQ-Dfk2pWS0.js → diagram-2AECGRRQ-CY_0zuDz.js} +1 -1
  193. package/web-shell/assets/{diagram-5GNKFQAL-kX38ltWR.js → diagram-5GNKFQAL-VyYSbCgA.js} +1 -1
  194. package/web-shell/assets/{diagram-KO2AKTUF-CJz2vsXh.js → diagram-KO2AKTUF-CBiIZ2PL.js} +1 -1
  195. package/web-shell/assets/{diagram-LMA3HP47-BvMLZm_7.js → diagram-LMA3HP47-BL3CrVOx.js} +1 -1
  196. package/web-shell/assets/{diagram-OG6HWLK6-l7kfStkO.js → diagram-OG6HWLK6-CZUPx96P.js} +1 -1
  197. package/web-shell/assets/{erDiagram-TEJ5UH35-BSVa8GGT.js → erDiagram-TEJ5UH35-B81xHr1-.js} +1 -1
  198. package/web-shell/assets/{flowDiagram-I6XJVG4X-CoawKIXH.js → flowDiagram-I6XJVG4X-EZWhir-J.js} +1 -1
  199. package/web-shell/assets/{ganttDiagram-6RSMTGT7-DFUDH0zF.js → ganttDiagram-6RSMTGT7-CVFSuIAg.js} +1 -1
  200. package/web-shell/assets/{gitGraphDiagram-PVQCEYII-Y2pvpT4e.js → gitGraphDiagram-PVQCEYII-C1H2uQDv.js} +1 -1
  201. package/web-shell/assets/{index-ckX9Pq5k.js → index-B2bXx96W.js} +273 -254
  202. package/web-shell/assets/{index-D0GX0zZf.js → index-BYo99NBH.js} +1 -1
  203. package/web-shell/assets/{index-D9haPt0X.css → index-_8mKjx8q.css} +1 -1
  204. package/web-shell/assets/{infoDiagram-5YYISTIA-CU8_zLiX.js → infoDiagram-5YYISTIA-BwyFMlF8.js} +1 -1
  205. package/web-shell/assets/{ishikawaDiagram-YF4QCWOH-AVQiV0DU.js → ishikawaDiagram-YF4QCWOH-CQ7Yhn2Y.js} +1 -1
  206. package/web-shell/assets/{journeyDiagram-JHISSGLW-DQ0VSKa3.js → journeyDiagram-JHISSGLW-CJn2sf0l.js} +1 -1
  207. package/web-shell/assets/{kanban-definition-UN3LZRKU-BqnWqsE_.js → kanban-definition-UN3LZRKU-DaNRqwVN.js} +1 -1
  208. package/web-shell/assets/{linear-BkoihsaA.js → linear-DCKODZe2.js} +1 -1
  209. package/web-shell/assets/{mermaid.core-5RJs-31j.js → mermaid.core-CTGJOk27.js} +5 -5
  210. package/web-shell/assets/{mindmap-definition-RKZ34NQL-D33Bxnpd.js → mindmap-definition-RKZ34NQL-BKU3_3rg.js} +1 -1
  211. package/web-shell/assets/{pieDiagram-4H26LBE5-BuEAw3BH.js → pieDiagram-4H26LBE5-COcwBJ82.js} +1 -1
  212. package/web-shell/assets/{quadrantDiagram-W4KKPZXB-Kox_usEq.js → quadrantDiagram-W4KKPZXB-CQnQ443x.js} +1 -1
  213. package/web-shell/assets/{requirementDiagram-4Y6WPE33-CNjeUif0.js → requirementDiagram-4Y6WPE33-CZ2oj5cD.js} +1 -1
  214. package/web-shell/assets/{sankeyDiagram-5OEKKPKP-BCd2OL_U.js → sankeyDiagram-5OEKKPKP-BxAv5mNu.js} +1 -1
  215. package/web-shell/assets/{sequenceDiagram-3UESZ5HK-CF2ZTsz0.js → sequenceDiagram-3UESZ5HK-CztaySPs.js} +1 -1
  216. package/web-shell/assets/{stateDiagram-AJRCARHV-qenSzHtm.js → stateDiagram-AJRCARHV-CTQT1oGD.js} +1 -1
  217. package/web-shell/assets/stateDiagram-v2-BHNVJYJU-BjMdT6E_.js +1 -0
  218. package/web-shell/assets/{timeline-definition-PNZ67QCA-B5DyWdgs.js → timeline-definition-PNZ67QCA-K9Mkex5A.js} +1 -1
  219. package/web-shell/assets/{vennDiagram-CIIHVFJN-DqP4I_o_.js → vennDiagram-CIIHVFJN-B2rVIw76.js} +1 -1
  220. package/web-shell/assets/{wardley-L42UT6IY-CJe2e4mg.js → wardley-L42UT6IY-Z1w2JR4M.js} +1 -1
  221. package/web-shell/assets/{wardleyDiagram-YWT4CUSO-BMDSw-Rr.js → wardleyDiagram-YWT4CUSO-CIX9aKXf.js} +1 -1
  222. package/web-shell/assets/{xychartDiagram-2RQKCTM6-BTVZYkxD.js → xychartDiagram-2RQKCTM6-CI9DLIKB.js} +1 -1
  223. package/web-shell/index.html +2 -2
  224. package/chunks/chunk-LEH5C7FV.js +0 -232
  225. package/web-shell/assets/channel-Cq7YKtfC.js +0 -1
  226. package/web-shell/assets/classDiagram-4FO5ZUOK-CQ9aC1Tg.js +0 -1
  227. package/web-shell/assets/classDiagram-v2-Q7XG4LA2-CQ9aC1Tg.js +0 -1
  228. package/web-shell/assets/stateDiagram-v2-BHNVJYJU-B7W4zlCr.js +0 -1
@@ -14,7 +14,7 @@ import {
14
14
  init_esbuild_shims();
15
15
  async function getCliVersion() {
16
16
  const pkgJson = await getPackageJson();
17
- return "0.21.0";
17
+ return "0.21.1-simplify-system-prompt.0";
18
18
  }
19
19
  __name(getCliVersion, "getCliVersion");
20
20
 
@@ -66,30 +66,6 @@ var SPAN_TOOL_BLOCKED_ON_USER = "qwen-code.tool.blocked_on_user";
66
66
  var SPAN_HOOK = "qwen-code.hook";
67
67
  var SPAN_SUBAGENT = "qwen-code.subagent";
68
68
 
69
- // packages/core/src/utils/safeJsonStringify.ts
70
- init_esbuild_shims();
71
- function safeJsonStringify(obj, space) {
72
- const ancestors = [];
73
- return JSON.stringify(
74
- obj,
75
- function(_key, value) {
76
- if (typeof value !== "object" || value === null) {
77
- return value;
78
- }
79
- while (ancestors.length > 0 && ancestors[ancestors.length - 1] !== this) {
80
- ancestors.pop();
81
- }
82
- if (ancestors.includes(value)) {
83
- return "[Circular]";
84
- }
85
- ancestors.push(value);
86
- return value;
87
- },
88
- space
89
- );
90
- }
91
- __name(safeJsonStringify, "safeJsonStringify");
92
-
93
69
  export {
94
70
  SERVICE_NAME,
95
71
  EVENT_USER_PROMPT,
@@ -143,8 +119,7 @@ export {
143
119
  SPAN_TOOL_EXECUTION,
144
120
  SPAN_TOOL_BLOCKED_ON_USER,
145
121
  SPAN_HOOK,
146
- SPAN_SUBAGENT,
147
- safeJsonStringify
122
+ SPAN_SUBAGENT
148
123
  };
149
124
  /**
150
125
  * @license
@@ -2,17 +2,17 @@
2
2
  "use strict";
3
3
  import {
4
4
  HistoryReplayer
5
- } from "./chunk-EBJQ6AXW.js";
5
+ } from "./chunk-DM22XS4K.js";
6
6
  import {
7
7
  ChannelDeliveryError,
8
8
  MAX_CHANNEL_DELIVERY_TEXT_LENGTH
9
- } from "./chunk-LK7CHLVP.js";
9
+ } from "./chunk-U4VTUMMK.js";
10
10
  import {
11
11
  redactLogCredentials
12
12
  } from "./chunk-M5GB774H.js";
13
13
  import {
14
14
  getResponseText
15
- } from "./chunk-PHOF65IG.js";
15
+ } from "./chunk-DM4Q4JJH.js";
16
16
  import {
17
17
  MAX_CHANNEL_DELIVERY_NAME_LENGTH,
18
18
  MAX_CHANNEL_DELIVERY_TARGET_ID_LENGTH
@@ -21,12 +21,12 @@ import {
21
21
  getLanguageNameFromLocale,
22
22
  getLanguageSettingsOptions,
23
23
  t
24
- } from "./chunk-LKEJ26GS.js";
24
+ } from "./chunk-VV6XU5L7.js";
25
25
  import {
26
26
  getHomeEnvFallbackVars,
27
27
  loadEnvironment,
28
28
  preResolveHomeEnvOverrides
29
- } from "./chunk-LH2BYDQ5.js";
29
+ } from "./chunk-PANH4R3B.js";
30
30
  import {
31
31
  ENV_CORRUPTED_PATH,
32
32
  ENV_WAS_RECOVERED
@@ -34,7 +34,7 @@ import {
34
34
  import {
35
35
  isWorkspaceTrusted,
36
36
  updateSettingsFilePreservingFormat
37
- } from "./chunk-Z2BC6UJ5.js";
37
+ } from "./chunk-VCBZUOSI.js";
38
38
  import {
39
39
  require_strip_json_comments
40
40
  } from "./chunk-ALGGS7UH.js";
@@ -46,17 +46,17 @@ import {
46
46
  DEFAULT_TOOL_RESULTS_TOTAL_CHARS_THRESHOLD,
47
47
  DEFAULT_TRUNCATE_TOOL_OUTPUT_LINES,
48
48
  DEFAULT_TRUNCATE_TOOL_OUTPUT_THRESHOLD
49
- } from "./chunk-PHOF65IG.js";
49
+ } from "./chunk-DM4Q4JJH.js";
50
50
  import {
51
51
  stripRuntimeSnapshotPrefix
52
- } from "./chunk-MZAXJAUM.js";
52
+ } from "./chunk-PSWQZHEA.js";
53
53
  import {
54
54
  DEFAULT_QWEN_CUSTOM_IGNORE_FILE_NAMES
55
55
  } from "./chunk-M5JM7OSF.js";
56
56
  import {
57
57
  DEFAULT_SENSITIVE_SPAN_ATTRIBUTE_MAX_LENGTH,
58
58
  SENSITIVE_SPAN_ATTRIBUTE_MAX_LENGTH_LIMIT
59
- } from "./chunk-BULDBTYC.js";
59
+ } from "./chunk-INADJJGW.js";
60
60
  import {
61
61
  FatalConfigError,
62
62
  Storage,
@@ -2,7 +2,7 @@
2
2
  "use strict";
3
3
  import {
4
4
  t
5
- } from "./chunk-LKEJ26GS.js";
5
+ } from "./chunk-VV6XU5L7.js";
6
6
  import {
7
7
  init_esbuild_shims
8
8
  } from "./chunk-5O2XNYP6.js";
@@ -2,7 +2,7 @@
2
2
  "use strict";
3
3
  import {
4
4
  SkillError
5
- } from "./chunk-PHOF65IG.js";
5
+ } from "./chunk-DM4Q4JJH.js";
6
6
  import {
7
7
  init_esbuild_shims
8
8
  } from "./chunk-5O2XNYP6.js";
@@ -3,13 +3,13 @@
3
3
  import {
4
4
  resolveModelConfig,
5
5
  resolveProviderProtocol
6
- } from "./chunk-PHOF65IG.js";
6
+ } from "./chunk-DM4Q4JJH.js";
7
7
  import {
8
8
  external_exports
9
9
  } from "./chunk-H6XPXXMH.js";
10
10
  import {
11
11
  stripRuntimeSnapshotPrefix
12
- } from "./chunk-MZAXJAUM.js";
12
+ } from "./chunk-PSWQZHEA.js";
13
13
  import {
14
14
  REASONING_EFFORT_TIERS,
15
15
  normalizeReasoningEffort
@@ -17,7 +17,7 @@ import {
17
17
  import {
18
18
  AuthType,
19
19
  MODEL_GENERATION_CONFIG_FIELDS
20
- } from "./chunk-IKCX4CCL.js";
20
+ } from "./chunk-U7TXFVUN.js";
21
21
  import {
22
22
  init_esbuild_shims
23
23
  } from "./chunk-5O2XNYP6.js";
@@ -2,7 +2,7 @@
2
2
  "use strict";
3
3
  import {
4
4
  isGitRepository
5
- } from "./chunk-PHOF65IG.js";
5
+ } from "./chunk-DM4Q4JJH.js";
6
6
  import {
7
7
  createDebugLogger
8
8
  } from "./chunk-NL7LTRLR.js";
@@ -23,16 +23,16 @@ import {
23
23
  use_stdin_default,
24
24
  use_stdout_default
25
25
  } from "./chunk-6GMVPFB2.js";
26
- import {
27
- noteInteraction
28
- } from "./chunk-KW7NOTN6.js";
29
26
  import {
30
27
  require_react
31
28
  } from "./chunk-5QWWOFGG.js";
29
+ import {
30
+ noteInteraction
31
+ } from "./chunk-KW7NOTN6.js";
32
32
  import {
33
33
  KittySequenceOverflowEvent,
34
34
  logKittySequenceOverflow
35
- } from "./chunk-CIKQ7KKO.js";
35
+ } from "./chunk-RWS5VYWC.js";
36
36
  import {
37
37
  createDebugLogger
38
38
  } from "./chunk-NL7LTRLR.js";
@@ -2,7 +2,7 @@
2
2
  "use strict";
3
3
  import {
4
4
  parseRule
5
- } from "./chunk-PHOF65IG.js";
5
+ } from "./chunk-DM4Q4JJH.js";
6
6
  import {
7
7
  init_esbuild_shims
8
8
  } from "./chunk-5O2XNYP6.js";
@@ -1,8 +1,5 @@
1
1
  // Force strict mode and setup for ESM
2
2
  "use strict";
3
- import {
4
- contextCommand
5
- } from "./chunk-R5AFZNQW.js";
6
3
  import {
7
4
  ExtensionRefreshState,
8
5
  clearSkillArgs,
@@ -12,7 +9,13 @@ import {
12
9
  staleArgsWarning,
13
10
  validateAuthMethod,
14
11
  writeSkillArgs
15
- } from "./chunk-TPRQ7RZH.js";
12
+ } from "./chunk-BYFNTGKI.js";
13
+ import {
14
+ isKittyProtocolEnabled
15
+ } from "./chunk-PQNHRFJC.js";
16
+ import {
17
+ contextCommand
18
+ } from "./chunk-5THCYPLO.js";
16
19
  import {
17
20
  calculateCost,
18
21
  computeSessionStats,
@@ -20,23 +23,20 @@ import {
20
23
  filterCommandsForMode,
21
24
  getSystemInfoFields,
22
25
  levelLabel
23
- } from "./chunk-U7M2DMGW.js";
26
+ } from "./chunk-52O2CIUL.js";
24
27
  import {
25
28
  VSCODE_SHIFT_ENTER_SEQUENCE,
26
29
  writeOsc52
27
30
  } from "./chunk-J56UI34H.js";
28
- import {
29
- isKittyProtocolEnabled
30
- } from "./chunk-PQNHRFJC.js";
31
31
  import {
32
32
  rollbackStandaloneUpdate
33
- } from "./chunk-M4FMGVY4.js";
33
+ } from "./chunk-ZE5WPL4I.js";
34
34
  import {
35
35
  themeManager
36
36
  } from "./chunk-L5UHQJTJ.js";
37
37
  import {
38
38
  getErrorMessage as getErrorMessage2
39
- } from "./chunk-IKYJHJNF.js";
39
+ } from "./chunk-VFSJ5VRH.js";
40
40
  import {
41
41
  GITHUB_WORKFLOW_PATHS,
42
42
  INSIGHT_CSS,
@@ -50,7 +50,7 @@ import {
50
50
  toJson,
51
51
  toJsonl,
52
52
  toMarkdown
53
- } from "./chunk-EBJQ6AXW.js";
53
+ } from "./chunk-DM22XS4K.js";
54
54
  import {
55
55
  stripUnsafeCharacters,
56
56
  toCodePoints
@@ -62,12 +62,12 @@ import {
62
62
  isVoiceEnabled,
63
63
  readVoiceMode,
64
64
  readVoiceModel
65
- } from "./chunk-YBL3QUDD.js";
65
+ } from "./chunk-KIUFNBHR.js";
66
66
  import {
67
67
  getExtendedSystemInfo,
68
68
  getGitVersion,
69
69
  getNpmVersion
70
- } from "./chunk-MVSUYZDT.js";
70
+ } from "./chunk-SASBXAQL.js";
71
71
  import {
72
72
  formatDuration,
73
73
  formatMemoryUsage,
@@ -76,10 +76,10 @@ import {
76
76
  import {
77
77
  isInlineModelOverrideAllowed,
78
78
  parseAcpModelOption
79
- } from "./chunk-KMQ33DO4.js";
79
+ } from "./chunk-LG4GZIVV.js";
80
80
  import {
81
81
  getInstallationInfo
82
- } from "./chunk-ZNAUOR2I.js";
82
+ } from "./chunk-LNARWLZQ.js";
83
83
  import {
84
84
  OUTPUT_LANGUAGE_AUTO,
85
85
  getAllSettingKeys,
@@ -91,7 +91,7 @@ import {
91
91
  resolveOutputLanguageOrPreserveAuto,
92
92
  validateSettingValue,
93
93
  writeOutputLanguageAndRegisterPath
94
- } from "./chunk-TEHGS6UP.js";
94
+ } from "./chunk-JALU3ZDU.js";
95
95
  import {
96
96
  SUPPORTED_LANGUAGES,
97
97
  getCurrentLanguage,
@@ -99,11 +99,11 @@ import {
99
99
  resolveSupportedLanguage,
100
100
  setLanguageAsync,
101
101
  t
102
- } from "./chunk-LKEJ26GS.js";
102
+ } from "./chunk-VV6XU5L7.js";
103
103
  import {
104
104
  isFolderTrustEnabled,
105
105
  loadTrustedFolders
106
- } from "./chunk-Z2BC6UJ5.js";
106
+ } from "./chunk-VCBZUOSI.js";
107
107
  import {
108
108
  require_strip_json_comments
109
109
  } from "./chunk-ALGGS7UH.js";
@@ -174,13 +174,13 @@ import {
174
174
  runForkedAgent,
175
175
  tryGenerateSessionTitle,
176
176
  unregisterGoalHook
177
- } from "./chunk-PHOF65IG.js";
177
+ } from "./chunk-DM4Q4JJH.js";
178
178
  import {
179
179
  external_exports
180
180
  } from "./chunk-H6XPXXMH.js";
181
181
  import {
182
182
  resolveModelId
183
- } from "./chunk-MZAXJAUM.js";
183
+ } from "./chunk-PSWQZHEA.js";
184
184
  import {
185
185
  APPROVAL_MODES,
186
186
  FORK_SUBAGENT_TYPE,
@@ -203,7 +203,7 @@ import {
203
203
  } from "./chunk-XVNQMZ2I.js";
204
204
  import {
205
205
  resolveOpenAILogDir
206
- } from "./chunk-ZJHVAS7M.js";
206
+ } from "./chunk-YAF5VNU7.js";
207
207
  import {
208
208
  IdeConnectionEvent,
209
209
  formatTokenUsageSummaryAsCsv,
@@ -217,7 +217,7 @@ import {
217
217
  recordSkillInvocation,
218
218
  runSideQuery,
219
219
  uiTelemetryService
220
- } from "./chunk-CIKQ7KKO.js";
220
+ } from "./chunk-RWS5VYWC.js";
221
221
  import {
222
222
  getAutoMemoryRoot
223
223
  } from "./chunk-MUP3T3AD.js";
@@ -238,7 +238,7 @@ import {
238
238
  isCpuProfileRecording,
239
239
  startCpuProfile,
240
240
  stopCpuProfile
241
- } from "./chunk-QAF7NMK7.js";
241
+ } from "./chunk-32MVHM4T.js";
242
242
  import {
243
243
  init_esbuild_shims
244
244
  } from "./chunk-5O2XNYP6.js";
@@ -1918,7 +1918,7 @@ var approvalModeCommand = {
1918
1918
  };
1919
1919
  }
1920
1920
  }
1921
- const autoModeNotices = mode === "auto" /* AUTO */ && priorMode !== "auto" /* AUTO */ && config ? await import("./useAutoAcceptIndicator-CFQ5BUJL.js") : void 0;
1921
+ const autoModeNotices = mode === "auto" /* AUTO */ && priorMode !== "auto" /* AUTO */ && config ? await import("./useAutoAcceptIndicator-CHSTZLZD.js") : void 0;
1922
1922
  if (config) {
1923
1923
  try {
1924
1924
  config.setApprovalMode(mode);
@@ -6250,7 +6250,7 @@ var expandNowCommand = {
6250
6250
  content: t("History is already expanded in this session.")
6251
6251
  };
6252
6252
  }
6253
- const { expandCollapsedHistory } = await import("./resumeHistoryUtils-6KRYEAWZ.js");
6253
+ const { expandCollapsedHistory } = await import("./resumeHistoryUtils-65OX3SGJ.js");
6254
6254
  const updated = expandCollapsedHistory(history);
6255
6255
  loadHistory(updated);
6256
6256
  refreshStatic();
@@ -11543,6 +11543,29 @@ function validateConcurrency(concurrency) {
11543
11543
  }
11544
11544
  __name(validateConcurrency, "validateConcurrency");
11545
11545
 
11546
+ // packages/cli/src/services/insight/dates.ts
11547
+ init_esbuild_shims();
11548
+ function dayKey(date) {
11549
+ const y = date.getFullYear();
11550
+ const m = String(date.getMonth() + 1).padStart(2, "0");
11551
+ const d = String(date.getDate()).padStart(2, "0");
11552
+ return `${y}-${m}-${d}`;
11553
+ }
11554
+ __name(dayKey, "dayKey");
11555
+ function parseDayKey(key) {
11556
+ const [y, m, d] = key.split("-").map(Number);
11557
+ return new Date(y, m - 1, d);
11558
+ }
11559
+ __name(parseDayKey, "parseDayKey");
11560
+ function todayKey(now = /* @__PURE__ */ new Date()) {
11561
+ return dayKey(now);
11562
+ }
11563
+ __name(todayKey, "todayKey");
11564
+ function hourOfDay(date) {
11565
+ return date.getHours();
11566
+ }
11567
+ __name(hourOfDay, "hourOfDay");
11568
+
11546
11569
  // packages/cli/src/services/insight/generators/DataProcessor.ts
11547
11570
  var logger = createDebugLogger("DataProcessor");
11548
11571
  var CONCURRENCY_LIMIT = 4;
@@ -11690,10 +11713,6 @@ var DataProcessor = class {
11690
11713
  static {
11691
11714
  __name(this, "DataProcessor");
11692
11715
  }
11693
- // Helper function to format date as YYYY-MM-DD
11694
- formatDate(date) {
11695
- return date.toISOString().split("T")[0];
11696
- }
11697
11716
  // Format chat records for LLM analysis
11698
11717
  formatRecordsForAnalysis(records) {
11699
11718
  let output = "";
@@ -11874,16 +11893,14 @@ ${sessionText}`;
11874
11893
  if (dates.length === 0) {
11875
11894
  return { currentStreak: 0, longestStreak: 0, dates: [] };
11876
11895
  }
11877
- const dateObjects = dates.map((dateStr) => new Date(dateStr));
11896
+ const dateObjects = dates.map((dateStr) => parseDayKey(dateStr));
11878
11897
  dateObjects.sort((a, b) => a.getTime() - b.getTime());
11879
11898
  let currentStreak = 1;
11880
11899
  let maxStreak = 1;
11881
- let currentDate = new Date(dateObjects[0]);
11882
- currentDate.setHours(0, 0, 0, 0);
11900
+ let currentDate = dateObjects[0];
11883
11901
  for (let i = 1; i < dateObjects.length; i++) {
11884
- const nextDate = new Date(dateObjects[i]);
11885
- nextDate.setHours(0, 0, 0, 0);
11886
- const diffDays = Math.floor(
11902
+ const nextDate = dateObjects[i];
11903
+ const diffDays = Math.round(
11887
11904
  (nextDate.getTime() - currentDate.getTime()) / (1e3 * 60 * 60 * 24)
11888
11905
  );
11889
11906
  if (diffDays === 1) {
@@ -11894,11 +11911,11 @@ ${sessionText}`;
11894
11911
  }
11895
11912
  currentDate = nextDate;
11896
11913
  }
11897
- const today = /* @__PURE__ */ new Date();
11898
- today.setHours(0, 0, 0, 0);
11914
+ const today = parseDayKey(todayKey());
11899
11915
  const yesterday = new Date(today);
11900
11916
  yesterday.setDate(yesterday.getDate() - 1);
11901
- if (currentDate.getTime() === today.getTime() || currentDate.getTime() === yesterday.getTime()) {
11917
+ if (currentDate.getTime() !== today.getTime() && currentDate.getTime() !== yesterday.getTime()) {
11918
+ currentStreak = 0;
11902
11919
  }
11903
11920
  return {
11904
11921
  currentStreak,
@@ -12385,8 +12402,8 @@ None captured`;
12385
12402
  const records = await read(fileInfo.path);
12386
12403
  for (const record of records) {
12387
12404
  const timestamp = new Date(record.timestamp);
12388
- const dateKey = this.formatDate(timestamp);
12389
- const hour = timestamp.getHours();
12405
+ const dateKey = dayKey(timestamp);
12406
+ const hour = hourOfDay(timestamp);
12390
12407
  const isUserMessage = record.type === "user";
12391
12408
  const isSlashCommand2 = record.type === "system" && record.subtype === "slash_command";
12392
12409
  if (isUserMessage || isSlashCommand2) {
@@ -12454,7 +12471,7 @@ None captured`;
12454
12471
  totalDurationMs += durationMs;
12455
12472
  if (durationMinutes > longestWorkDuration) {
12456
12473
  longestWorkDuration = durationMinutes;
12457
- longestWorkDate = this.formatDate(start);
12474
+ longestWorkDate = dayKey(start);
12458
12475
  }
12459
12476
  }
12460
12477
  const totalHours = Math.round(totalDurationMs / (1e3 * 60 * 60));
@@ -12681,7 +12698,7 @@ var StaticInsightGenerator = class {
12681
12698
  // Generate timestamped filename with collision detection
12682
12699
  async generateOutputPath(outputDir) {
12683
12700
  const now = /* @__PURE__ */ new Date();
12684
- const date = now.toISOString().split("T")[0];
12701
+ const date = dayKey(now);
12685
12702
  const time = now.toTimeString().slice(0, 8).replace(/:/g, "");
12686
12703
  let outputPath = path15.join(outputDir, `insight-${date}.html`);
12687
12704
  try {
@@ -13161,10 +13178,10 @@ var updateCommand = {
13161
13178
  { performStandaloneUpdate },
13162
13179
  installationInfo
13163
13180
  ] = await Promise.all([
13164
- import("./updateCheck-RKL6M5XN.js"),
13165
- import("./processUtils-RT7UNCC2.js"),
13166
- import("./standalone-update-Q6WFRZZQ.js"),
13167
- import("./installationInfo-6O2YAA52.js")
13181
+ import("./updateCheck-WUJGHWZZ.js"),
13182
+ import("./processUtils-V2LCK6T6.js"),
13183
+ import("./standalone-update-ZMFNKAEY.js"),
13184
+ import("./installationInfo-5UUQJI6Y.js")
13168
13185
  ]);
13169
13186
  const { formatUpdateInstructions, getInstallationInfo: getInstallationInfo2 } = installationInfo;
13170
13187
  const settings = context.services.settings;
@@ -15372,6 +15389,8 @@ export {
15372
15389
  addConfigToMatcherGroup,
15373
15390
  getAllConfigs,
15374
15391
  refreshExtensionContentRuntime,
15392
+ dayKey,
15393
+ parseDayKey,
15375
15394
  BuiltinCommandLoader,
15376
15395
  BundledSkillLoader,
15377
15396
  FileCommandLoader,
@@ -0,0 +1,79 @@
1
+ // Force strict mode and setup for ESM
2
+ "use strict";
3
+ import {
4
+ init_esbuild_shims
5
+ } from "./chunk-5O2XNYP6.js";
6
+ import {
7
+ __name
8
+ } from "./chunk-J2S4EL5Y.js";
9
+
10
+ // packages/cli/src/commands/channel/channel-registry.ts
11
+ init_esbuild_shims();
12
+ var registry = /* @__PURE__ */ new Map();
13
+ var builtinsPromise = null;
14
+ function ensureBuiltins() {
15
+ if (!builtinsPromise) {
16
+ builtinsPromise = (async () => {
17
+ const labelled = [
18
+ { name: "telegram", promise: import("./dist-BRB6EXK4.js") },
19
+ { name: "weixin", promise: import("./dist-NNVBBOGU.js") },
20
+ { name: "dingtalk", promise: import("./dist-RTJFMNEZ.js") },
21
+ { name: "wecom", promise: import("./dist-K6Y4E7FX.js") },
22
+ { name: "feishu", promise: import("./dist-KTYYJ2C5.js") },
23
+ { name: "qqbot", promise: import("./dist-ANLAT3GS.js") }
24
+ ];
25
+ const results = await Promise.allSettled(labelled.map((l) => l.promise));
26
+ for (let i = 0; i < results.length; i++) {
27
+ const result = results[i];
28
+ if (result.status === "fulfilled") {
29
+ registry.set(result.value.plugin.channelType, result.value.plugin);
30
+ } else {
31
+ process.stderr.write(
32
+ `[channel-registry] Failed to load "${labelled[i].name}" channel: ${result.reason}
33
+ `
34
+ );
35
+ }
36
+ }
37
+ })();
38
+ }
39
+ return builtinsPromise;
40
+ }
41
+ __name(ensureBuiltins, "ensureBuiltins");
42
+ function registerPlugin(plugin) {
43
+ if (registry.has(plugin.channelType)) {
44
+ throw new Error(
45
+ `Channel type "${plugin.channelType}" is already registered.`
46
+ );
47
+ }
48
+ registry.set(plugin.channelType, plugin);
49
+ }
50
+ __name(registerPlugin, "registerPlugin");
51
+ async function getPlugin(channelType) {
52
+ await ensureBuiltins();
53
+ return registry.get(channelType);
54
+ }
55
+ __name(getPlugin, "getPlugin");
56
+ async function supportedTypes() {
57
+ await ensureBuiltins();
58
+ return [...registry.keys()];
59
+ }
60
+ __name(supportedTypes, "supportedTypes");
61
+ async function supportedChannelCatalog() {
62
+ await ensureBuiltins();
63
+ return [...registry.values()].map(
64
+ ({ channelType, displayName, management }) => ({
65
+ type: channelType,
66
+ displayName,
67
+ manageable: management !== void 0,
68
+ fields: management?.fields ?? []
69
+ })
70
+ );
71
+ }
72
+ __name(supportedChannelCatalog, "supportedChannelCatalog");
73
+
74
+ export {
75
+ registerPlugin,
76
+ getPlugin,
77
+ supportedTypes,
78
+ supportedChannelCatalog
79
+ };