@qwen-code/qwen-code 0.23.2 → 0.23.3

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 (373) hide show
  1. package/README.md +35 -15
  2. package/bundled/computer-use/SKILL.md +1 -1
  3. package/bundled/qc-helper/docs/configuration/model-providers.md +66 -28
  4. package/bundled/qc-helper/docs/configuration/settings.md +5 -3
  5. package/bundled/qc-helper/docs/features/_meta.ts +1 -0
  6. package/bundled/qc-helper/docs/features/channels/dws.md +7 -1
  7. package/bundled/qc-helper/docs/features/commands.md +57 -9
  8. package/bundled/qc-helper/docs/features/computer-use.md +1 -1
  9. package/bundled/qc-helper/docs/features/cross-session-protocol.md +320 -0
  10. package/bundled/qc-helper/docs/features/goals.md +1 -1
  11. package/bundled/qc-helper/docs/qwen-serve.md +16 -3
  12. package/bundled/review/SKILL.md +82 -79
  13. package/bundled/review/references/posting.md +31 -14
  14. package/chunks/{MaxSizedBox-4C3BKKKY.js → MaxSizedBox-D4LW7RZZ.js} +58 -51
  15. package/chunks/{StandaloneSessionPicker-TXVF65YW.js → StandaloneSessionPicker-ALTTRWUP.js} +80 -73
  16. package/chunks/acp-subagent-executor-LEUN3N7N.js +919 -0
  17. package/chunks/{acpAgent-H5XBKGB4.js → acpAgent-BBSW7XZG.js} +509 -201
  18. package/chunks/{agent-T5LEFJIU.js → agent-SQ6OY3QD.js} +42 -36
  19. package/chunks/{agent-headless-VZKSRH36.js → agent-headless-RI2THRQ7.js} +42 -36
  20. package/chunks/{anthropicContentGenerator-PRJWWVYJ.js → anthropicContentGenerator-JSKMKS6V.js} +66 -34
  21. package/chunks/{artifact-tool-G5LHNECG.js → artifact-tool-PMYZCYNH.js} +2 -2
  22. package/chunks/{askUserQuestion-I5W5S3D6.js → askUserQuestion-4M4YYIB4.js} +2 -2
  23. package/chunks/{bridge-AOX5IY44.js → bridge-DAFMI72L.js} +62 -55
  24. package/chunks/{channel-management-service-MWQGHPAS.js → channel-management-service-OWDXVL7R.js} +8 -8
  25. package/chunks/{channel-settings-store-XZCGDGHW.js → channel-settings-store-4I6JONT7.js} +69 -62
  26. package/chunks/{channel-worker-group-SQ5FRWOH.js → channel-worker-group-F2ZZMLNS.js} +8 -8
  27. package/chunks/{channel-worker-manager-TU4ZNWOE.js → channel-worker-manager-2SZLJJSJ.js} +18 -9
  28. package/chunks/{channel-worker-supervisor-EMITFMCP.js → channel-worker-supervisor-ZFNWMG6D.js} +6 -6
  29. package/chunks/{chunk-GNY7B3CA.js → chunk-2ALXPGB4.js} +1 -1
  30. package/chunks/{chunk-LUNC5KCL.js → chunk-2PJRI3EH.js} +7 -7
  31. package/chunks/{chunk-CLKE4IY3.js → chunk-2SZH22YO.js} +1 -1
  32. package/chunks/{chunk-RNAJVXUG.js → chunk-2ZN3O5FT.js} +6 -6
  33. package/chunks/{chunk-HIXUUCGY.js → chunk-36HCNKDS.js} +1 -1
  34. package/chunks/{chunk-FGHPZGOP.js → chunk-3BTSSIJO.js} +38 -54
  35. package/chunks/{chunk-VBLAI2HA.js → chunk-3FPYT6QC.js} +0 -31
  36. package/chunks/{chunk-QB3KS3N3.js → chunk-3I7W2POO.js} +1 -1
  37. package/chunks/{chunk-QTB4VP4K.js → chunk-3KQBQ6FM.js} +136 -11
  38. package/chunks/{chunk-JO77FGNZ.js → chunk-3UXUOFO6.js} +19 -7
  39. package/chunks/{chunk-WDN64MVT.js → chunk-3XLK2QMY.js} +82 -16
  40. package/chunks/chunk-532WHF4F.js +127 -0
  41. package/chunks/{chunk-NX7ZTXFF.js → chunk-53GWJOLP.js} +1 -1
  42. package/chunks/{chunk-QQK4L3UU.js → chunk-5GLDOLNQ.js} +131 -26
  43. package/chunks/{chunk-WK7P62DV.js → chunk-5KI7ZDTB.js} +6 -6
  44. package/chunks/{chunk-ERXNTINK.js → chunk-6JACAGYH.js} +1 -1
  45. package/chunks/{chunk-CMWU6P4D.js → chunk-6W4HBUA2.js} +1 -1
  46. package/chunks/{chunk-AUTUFD5X.js → chunk-76RGWKLS.js} +1 -1
  47. package/chunks/{chunk-PDN7FJZV.js → chunk-7APZIRH3.js} +2 -2
  48. package/chunks/{chunk-WBU2PIZ5.js → chunk-7BXXIQG4.js} +16 -16
  49. package/chunks/{chunk-APXIW2TF.js → chunk-7ICHPMBQ.js} +4 -4
  50. package/chunks/{chunk-CWVZBIZJ.js → chunk-7Q2AXRDJ.js} +1 -1
  51. package/chunks/{chunk-WDVV3LRM.js → chunk-7QYWGTHB.js} +1 -1
  52. package/chunks/{chunk-RM244SCQ.js → chunk-AC6KDLH3.js} +1 -1
  53. package/chunks/{chunk-2WC3Y7YY.js → chunk-AEY27Z35.js} +401 -23
  54. package/chunks/{chunk-XDNFODER.js → chunk-AXTFYDXT.js} +1 -1
  55. package/chunks/chunk-AYEJOTIU.js +43 -0
  56. package/chunks/{chunk-ZN5TKAVR.js → chunk-BV6Q5HMY.js} +3 -3
  57. package/chunks/{chunk-TOOOLHVS.js → chunk-BWAMMKIS.js} +3 -3
  58. package/chunks/{chunk-IRGDIDGJ.js → chunk-BWQLXU37.js} +26 -19
  59. package/chunks/{process-registry-OAEG6WGC.js → chunk-BYUAT5OC.js} +1 -0
  60. package/chunks/{chunk-GOEVQADN.js → chunk-BZM5U74J.js} +287 -169
  61. package/chunks/chunk-CF5KXZZX.js +150 -0
  62. package/chunks/{chunk-TGNNLRC3.js → chunk-CJ3DHN5I.js} +1 -0
  63. package/chunks/{chunk-PFKGV6PO.js → chunk-CUEXOHQH.js} +9 -9
  64. package/chunks/chunk-CXTPVBFA.js +937 -0
  65. package/chunks/{chunk-LEAOJ43M.js → chunk-DAWWT2ID.js} +62 -59
  66. package/chunks/{chunk-CALTQWTZ.js → chunk-DLH7YIX6.js} +2 -2
  67. package/chunks/chunk-DT75RKNH.js +691 -0
  68. package/chunks/{chunk-TRWQQBVH.js → chunk-DTNV6UZY.js} +1 -1
  69. package/chunks/{chunk-3OAXF3UK.js → chunk-DYFOSJHU.js} +3080 -933
  70. package/chunks/{chunk-GSFV5RQW.js → chunk-E4UEO3XM.js} +3 -2
  71. package/chunks/{chunk-A7EFXK7P.js → chunk-E7LB57MB.js} +5 -5
  72. package/chunks/{chunk-KEPC5BOL.js → chunk-EDMXGXAK.js} +9 -9
  73. package/chunks/chunk-ELRMZTPF.js +374 -0
  74. package/chunks/chunk-ERU3SDXT.js +27 -0
  75. package/chunks/{chunk-O2FEO2CB.js → chunk-EUURTIV6.js} +18 -2
  76. package/chunks/{chunk-QFJZAY7W.js → chunk-EVTNACMT.js} +3 -3
  77. package/chunks/{chunk-4HOEU2OR.js → chunk-EWJTAP3Y.js} +1 -19
  78. package/chunks/{chunk-YQGW3M6Z.js → chunk-F42YYSCK.js} +8 -8
  79. package/chunks/{chunk-7PD7ZMX5.js → chunk-FCQJLMA2.js} +98 -5
  80. package/chunks/{chunk-4VY3ITHR.js → chunk-FN3JNDRU.js} +3 -3
  81. package/chunks/{chunk-R457KFV7.js → chunk-GCDXVPFK.js} +3 -3
  82. package/chunks/{chunk-IR6JKBAP.js → chunk-GOXQL4YH.js} +2 -2
  83. package/chunks/{chunk-YLOHCA6I.js → chunk-GSILBZLN.js} +2 -2
  84. package/chunks/{chunk-LNYV4GXX.js → chunk-GSKX53AN.js} +0 -139
  85. package/chunks/{chunk-4WMGYG3F.js → chunk-HBQ2NXOU.js} +2 -2
  86. package/chunks/{chunk-F2NYVASI.js → chunk-HBU7EKY4.js} +14 -12
  87. package/chunks/{chunk-6G4V7SE4.js → chunk-HG46TTAG.js} +1 -1
  88. package/chunks/{chunk-G5VOXCRX.js → chunk-HGAELO7B.js} +2 -2
  89. package/chunks/{chunk-FETY36NQ.js → chunk-HGEUHUEV.js} +1 -1
  90. package/chunks/{chunk-E6TI726I.js → chunk-HUXPEUFL.js} +1 -1
  91. package/chunks/{chunk-LYT2OU7D.js → chunk-IAEXTMED.js} +1 -1
  92. package/chunks/{chunk-IW6RQPQB.js → chunk-IJOS26LH.js} +1 -3
  93. package/chunks/{chunk-ORFIYTI2.js → chunk-IK2MWJP5.js} +1 -1
  94. package/chunks/{chunk-WXD7INFV.js → chunk-IL5M5NYD.js} +8 -8
  95. package/chunks/{chunk-KA5HR3G2.js → chunk-IUVIBDKU.js} +2 -2
  96. package/chunks/{chunk-5DQ4YTIZ.js → chunk-IV7GDNKC.js} +1 -1
  97. package/chunks/chunk-JL6APGBX.js +43 -0
  98. package/chunks/{chunk-N6S3NUYJ.js → chunk-JXNIF2O5.js} +1 -1
  99. package/chunks/{chunk-DAI65CMX.js → chunk-JYKWOREU.js} +1 -1
  100. package/chunks/chunk-K2OJUPOE.js +78 -0
  101. package/chunks/{chunk-KFECPHLV.js → chunk-KFZYGSJN.js} +3 -3
  102. package/chunks/{chunk-BK7D2JR6.js → chunk-KOKPXIAN.js} +3 -3
  103. package/chunks/{chunk-4I3WFI3U.js → chunk-LDVNJZGH.js} +12 -12
  104. package/chunks/{chunk-WXFCI3O5.js → chunk-LG5Y4OWO.js} +2 -2
  105. package/chunks/{chunk-3LPJ776W.js → chunk-LILGKQ4B.js} +10 -7
  106. package/chunks/{chunk-X7LFJF5D.js → chunk-LK2WUCDQ.js} +36 -84
  107. package/chunks/{chunk-7LTCFO6T.js → chunk-MF6E7FSA.js} +6 -5
  108. package/chunks/{chunk-ELD3OBPU.js → chunk-MHAADZOZ.js} +3 -3
  109. package/chunks/{chunk-4JNHNVAZ.js → chunk-MLQNSPRZ.js} +4 -4
  110. package/chunks/{chunk-NPKCVSXX.js → chunk-MOS5OAOG.js} +10 -8
  111. package/chunks/{chunk-IWABUX6T.js → chunk-MSNHNAQZ.js} +6 -6
  112. package/chunks/{chunk-HJ5UJQQL.js → chunk-N7VWZDWW.js} +1699 -1312
  113. package/chunks/{chunk-NB3NDQQK.js → chunk-NE624IVP.js} +1 -1
  114. package/chunks/{chunk-SOA4HKRJ.js → chunk-NFYEQRLG.js} +2 -2
  115. package/chunks/{chunk-G3ZUMSFS.js → chunk-NHCZJQE4.js} +6 -6
  116. package/chunks/{chunk-B25JYXZE.js → chunk-NHJKAR6E.js} +4 -4
  117. package/chunks/{chunk-ZP5XDLSA.js → chunk-NJQTG2G3.js} +12 -12
  118. package/chunks/{chunk-DARWOZY6.js → chunk-NLNQNBZ2.js} +1 -1
  119. package/chunks/{chunk-CCBTNJB4.js → chunk-NMCDMLHL.js} +27 -27
  120. package/chunks/{chunk-AO2VMS72.js → chunk-NMRCXKQ5.js} +3 -3
  121. package/chunks/{chunk-5BH2AIEY.js → chunk-NOAG7N22.js} +2 -2
  122. package/chunks/{chunk-VJJXG73H.js → chunk-NRXWJXJ4.js} +15 -0
  123. package/chunks/chunk-NUQ4GK5I.js +315 -0
  124. package/chunks/{chunk-J3VZF2AL.js → chunk-NUQVB25K.js} +2 -2
  125. package/chunks/{chunk-U6REWGVR.js → chunk-OLTN767L.js} +2 -2
  126. package/chunks/{chunk-R3JIDRUL.js → chunk-OX7IZ2G5.js} +4 -4
  127. package/chunks/{chunk-QAZ2MGYT.js → chunk-PLLIWEM3.js} +2 -2
  128. package/chunks/{chunk-KCF2436G.js → chunk-POC3YMHG.js} +4 -4
  129. package/chunks/{chunk-HZ2HUXX7.js → chunk-Q2LVVIKF.js} +1 -1
  130. package/chunks/{chunk-7NDZKE2M.js → chunk-Q5BD56BW.js} +3 -3
  131. package/chunks/{chunk-22GORRNY.js → chunk-QMUYLYT5.js} +1 -1
  132. package/chunks/{chunk-MV5DTLJV.js → chunk-R4Q2PEFV.js} +1 -1
  133. package/chunks/{chunk-GOKAOSCN.js → chunk-RLLRJJDR.js} +1 -1
  134. package/chunks/{chunk-5OZUKLL7.js → chunk-RWVD5RRY.js} +4 -4
  135. package/chunks/{chunk-ULZECEIP.js → chunk-RZHU3K6M.js} +2 -2
  136. package/chunks/{chunk-UYDQYDW2.js → chunk-S6Q6Q4P2.js} +1 -1
  137. package/chunks/{chunk-PQEISIKS.js → chunk-SAH4BD2J.js} +0 -67
  138. package/chunks/{chunk-LWX4WDFF.js → chunk-SBRX4BDI.js} +43 -15
  139. package/chunks/{chunk-TODNHE76.js → chunk-SODMFNAR.js} +5 -5
  140. package/chunks/{chunk-FAJPLSYF.js → chunk-SSGAAWLY.js} +89 -85
  141. package/chunks/{chunk-46MMBZHI.js → chunk-SYLECP23.js} +4 -4
  142. package/chunks/{chunk-6RZX2HIH.js → chunk-TBEXLLAO.js} +2 -2
  143. package/chunks/{chunk-MWIO7MF6.js → chunk-TP6FYVQT.js} +2 -0
  144. package/chunks/{chunk-HRPFBHW7.js → chunk-TPKQIA7G.js} +1 -0
  145. package/chunks/{chunk-QHLHE2OT.js → chunk-TWUKBNWM.js} +1 -1
  146. package/chunks/{chunk-H3Q3RSKZ.js → chunk-U7O65WKL.js} +1 -1
  147. package/chunks/{chunk-S5QR6CB5.js → chunk-UKMWZ5NS.js} +108 -887
  148. package/chunks/{chunk-OXR34GCD.js → chunk-UKZ45TJL.js} +1851 -34
  149. package/chunks/{chunk-CALNF3Z3.js → chunk-V2P3DOQR.js} +1 -1
  150. package/chunks/{chunk-FV4DM2M4.js → chunk-VG3Q2NC4.js} +7 -7
  151. package/chunks/{chunk-QTNCGZHQ.js → chunk-VX63RJXE.js} +9 -0
  152. package/chunks/{chunk-CRZBDVP2.js → chunk-VZUCTJ2P.js} +4 -4
  153. package/chunks/{chunk-2BMXHB6N.js → chunk-W5FIP7FC.js} +7 -7
  154. package/chunks/{chunk-7VEYUF3N.js → chunk-W5ZQMAEM.js} +1 -1
  155. package/chunks/{chunk-XQ4RDO5B.js → chunk-WBCPROWX.js} +1 -1
  156. package/chunks/{chunk-JYGIJA4W.js → chunk-X6K77VHC.js} +1 -1
  157. package/chunks/{chunk-7SVM3RP2.js → chunk-X7UJKOHZ.js} +3 -3
  158. package/chunks/{chunk-WXPPUPHM.js → chunk-XBZTAGB7.js} +1 -1
  159. package/chunks/{chunk-TRQNRP2H.js → chunk-XGYHNWL3.js} +45 -2
  160. package/chunks/{chunk-2EKVPSIJ.js → chunk-Y2MYW47X.js} +1 -1
  161. package/chunks/{chunk-OFVAS4AR.js → chunk-YBUMTY7B.js} +1 -1
  162. package/chunks/{chunk-67XTVRVB.js → chunk-YQHLFCPU.js} +7 -7
  163. package/chunks/{chunk-G37O7YO6.js → chunk-Z3GF56ME.js} +2 -2
  164. package/chunks/{chunk-XBVNNDPK.js → chunk-ZHKTKHMO.js} +8 -1
  165. package/chunks/{chunk-OWCFKIFQ.js → chunk-ZKYR7QS4.js} +1 -1
  166. package/chunks/{chunk-YZTGGCEE.js → chunk-ZKZHSB5W.js} +1 -1
  167. package/chunks/{chunk-565U2ANU.js → chunk-ZTTC7T4X.js} +1 -1
  168. package/chunks/{chunk-XSOXPG2L.js → chunk-ZU47FBOC.js} +36 -7
  169. package/chunks/{chunk-7OCIQNKX.js → chunk-ZW2EUO2A.js} +1 -1
  170. package/chunks/{config-utils-GPLIABL2.js → config-utils-L6KLDYIV.js} +62 -55
  171. package/chunks/{contextCommand-NCUQUDBY.js → contextCommand-UYEH7NIU.js} +59 -52
  172. package/chunks/{core-runtime-WKYKWVYU.js → core-runtime-NVHT3Z3V.js} +61 -54
  173. package/chunks/{create-sub-session-TGIX63YU.js → create-sub-session-TIGCFGCS.js} +2 -2
  174. package/chunks/{create-sub-session-PPLXB3JJ.js → create-sub-session-YWASE5VH.js} +59 -52
  175. package/chunks/{cron-create-GTPVMJCF.js → cron-create-AKWX67FO.js} +1 -1
  176. package/chunks/{cron-delete-ZBK27Z4K.js → cron-delete-XPB6IYZJ.js} +1 -1
  177. package/chunks/{cron-list-KTFKFDKC.js → cron-list-XBKO4WU5.js} +1 -1
  178. package/chunks/{daemon-2CKIAO3I.js → daemon-G5TYKZD6.js} +2 -2
  179. package/chunks/{daemon-git-worktree-guard-73ZWOLKL.js → daemon-git-worktree-guard-FOW4RQSK.js} +60 -53
  180. package/chunks/{daemon-status-provider-OK7VONJG.js → daemon-status-provider-O5KQZYMP.js} +67 -60
  181. package/chunks/{daemon-trust-policy-CAUCREG2.js → daemon-trust-policy-3ATXEON7.js} +64 -57
  182. package/chunks/{daemon-trust-policy-monitor-3Y36OOEQ.js → daemon-trust-policy-monitor-7MCNDNEC.js} +64 -57
  183. package/chunks/{deferred-core-runtime-Q7WFWYD3.js → deferred-core-runtime-JK5IXL5K.js} +57 -50
  184. package/chunks/{display-image-CTNHJRZC.js → display-image-NAH3AZ63.js} +3 -3
  185. package/chunks/{dist-NP7QKLVG.js → dist-AHJYPSJL.js} +3 -3
  186. package/chunks/{dist-6YDUH3BB.js → dist-AIKC5E5P.js} +2 -2
  187. package/chunks/{dist-Y5KC3IHW.js → dist-F2DVGTL3.js} +225 -6
  188. package/chunks/{dist-BNQVF565.js → dist-GWNQVPZT.js} +5 -5
  189. package/chunks/{dist-F6JLAJLE.js → dist-H6G3K26N.js} +3 -3
  190. package/chunks/{dist-ZDNJK74R.js → dist-KJGRVIGJ.js} +2 -2
  191. package/chunks/{dist-F34J4FZX.js → dist-KLZ7XGEQ.js} +2 -2
  192. package/chunks/{dist-UFTFGI6I.js → dist-ZA52JXAS.js} +2 -2
  193. package/chunks/{dist-XLV33CLY.js → dist-ZXTZTE54.js} +2 -2
  194. package/chunks/{edit-YJD6IETK.js → edit-SY35KYIE.js} +45 -39
  195. package/chunks/{en-YJNRUQG4.js → en-CAJHTIQT.js} +1 -0
  196. package/chunks/{enter-worktree-YFTKHXHZ.js → enter-worktree-54L5QJ3N.js} +4 -4
  197. package/chunks/{enterPlanMode-EFPVTWIH.js → enterPlanMode-HXX6KQJR.js} +42 -36
  198. package/chunks/{environment-HP3AXFTB.js → environment-DKXHG4HB.js} +60 -53
  199. package/chunks/{errors-22ON46G7.js → errors-ADY7LQJJ.js} +59 -52
  200. package/chunks/{exit-worktree-NF2XEMES.js → exit-worktree-EORJDKDS.js} +4 -4
  201. package/chunks/{exitPlanMode-MOQUNCBH.js → exitPlanMode-HSK2CQI6.js} +42 -36
  202. package/chunks/{fast-path-2X7BPMXX.js → fast-path-U636VWN2.js} +6 -6
  203. package/chunks/{fast-path-settings-SATXY3PD.js → fast-path-settings-V7MI7EZJ.js} +2 -2
  204. package/chunks/{glob-Y7ACIB3P.js → glob-GUGGTH5L.js} +45 -39
  205. package/chunks/{goal-tools-DABMICUC.js → goal-tools-PXYRSQGX.js} +42 -36
  206. package/chunks/{grep-BLHF2S5D.js → grep-3PKFKLCA.js} +2 -2
  207. package/chunks/{handleAutoUpdate-MCAMHYDI.js → handleAutoUpdate-5KHS4HIN.js} +60 -53
  208. package/chunks/{i18n-C3GDCALP.js → i18n-KSGKMUPT.js} +58 -51
  209. package/chunks/{image-gen-XP4NNIYG.js → image-gen-OCCR2WWU.js} +5 -4
  210. package/chunks/{initializer-4URDQL2G.js → initializer-YYT5XEZF.js} +64 -57
  211. package/chunks/{installationInfo-LBOL6SBV.js → installationInfo-UNSBPYW2.js} +57 -50
  212. package/chunks/{list-JOGBAC2R.js → list-YL6LDQKQ.js} +67 -60
  213. package/chunks/{list-agents-2CXPGJUE.js → list-agents-QLDXS5OD.js} +17 -7
  214. package/chunks/{llm-2KPNSAVY.js → llm-XGGLBGPH.js} +126 -119
  215. package/chunks/{llm-content-generator-GR3FOHLB.js → llm-content-generator-ZHQQT5W7.js} +5 -4
  216. package/chunks/{loadedSettingsAdapter-DVKROEJD.js → loadedSettingsAdapter-3DXLASK7.js} +64 -57
  217. package/chunks/{loggingContentGenerator-P4K6K5W4.js → loggingContentGenerator-V72OCCJO.js} +64 -57
  218. package/chunks/{loop-wakeup-HL6XOWI4.js → loop-wakeup-HHMYIC7Z.js} +2 -2
  219. package/chunks/{ls-YV7RKLKY.js → ls-N7ABR6HI.js} +4 -4
  220. package/chunks/{lsp-NO3AMRZT.js → lsp-LTOFWG5P.js} +1 -1
  221. package/chunks/{managed-npm-update-VWBKHNIN.js → managed-npm-update-HV5LPZH2.js} +57 -50
  222. package/chunks/{mcp-6YYNSYLK.js → mcp-IYVSIW6O.js} +64 -57
  223. package/chunks/{monitor-A255TNZR.js → monitor-TLBNM4MV.js} +44 -38
  224. package/chunks/{nonInteractiveCli-LXGIKQAT.js → nonInteractiveCli-LSJSQ2W4.js} +110 -103
  225. package/chunks/{notebook-edit-5UYHS2DM.js → notebook-edit-OSPOLZP6.js} +43 -37
  226. package/chunks/openai-WX26N5OJ.js +47 -0
  227. package/chunks/{openaiContentGenerator-A6MAMEO5.js → openaiContentGenerator-BE4S5TRD.js} +29 -23
  228. package/chunks/openaiResponsesContentGenerator-RTCAJ5V5.js +1658 -0
  229. package/chunks/{pidfile-B7DZC4TP.js → pidfile-H32FEPWA.js} +57 -50
  230. package/chunks/process-registry-X6ZCASEN.js +10 -0
  231. package/chunks/{processUtils-BPZ2MCZS.js → processUtils-SSLIPDEA.js} +2 -2
  232. package/chunks/{prompt-terminal-ledger-FYYTAOXS.js → prompt-terminal-ledger-I5SLL6UF.js} +58 -51
  233. package/chunks/{qwenContentGenerator-4IOJFD4S.js → qwenContentGenerator-TMQC623Z.js} +55 -47
  234. package/chunks/{qwenOAuth2-KX6LVYQ3.js → qwenOAuth2-3ZRQHHTC.js} +4 -3
  235. package/chunks/{read-file-A4H4O3VQ.js → read-file-T2QAIZE2.js} +11 -9
  236. package/chunks/{read-mcp-resource-D3N75DGF.js → read-mcp-resource-B37WANAQ.js} +1 -1
  237. package/chunks/{record-artifact-Q5CRGJTP.js → record-artifact-OAXWXZ5D.js} +2 -2
  238. package/chunks/record-source-D7R7X3GT.js +22 -0
  239. package/chunks/{report-findings-TJ34R7QK.js → report-findings-AR3VC6EQ.js} +3 -3
  240. package/chunks/{request-shutdown-LRKMTBAD.js → request-shutdown-IKNWTX5M.js} +5 -5
  241. package/chunks/{resumeHistoryUtils-YQQ43E4N.js → resumeHistoryUtils-QLKDH5GY.js} +63 -56
  242. package/chunks/{ripGrep-W32NWFTA.js → ripGrep-YGWL7KCV.js} +15 -13
  243. package/chunks/{run-qwen-serve-WBSWWIRV.js → run-qwen-serve-26KZDECC.js} +127 -102
  244. package/chunks/{runtime-VRVBX2E5.js → runtime-BMEIVDDG.js} +70 -63
  245. package/chunks/{scheduled-tasks-D65KJDA3.js → scheduled-tasks-NCFPP6VQ.js} +64 -57
  246. package/chunks/{scheduler-M2YPN7Z7.js → scheduler-47TVMUVN.js} +59 -52
  247. package/chunks/{sdk-exporters-grpc-MXTVSE3C.js → sdk-exporters-grpc-Y2ZUQDUQ.js} +2 -2
  248. package/chunks/{sdk-exporters-http-7R2ARBPV.js → sdk-exporters-http-VWTF4W6K.js} +3 -3
  249. package/chunks/{sdk-impl-YOLO7LV4.js → sdk-impl-G6FVTBQZ.js} +9 -9
  250. package/chunks/{send-message-76BKWKFZ.js → send-message-TWOGWCBG.js} +12 -9
  251. package/chunks/{serve-BE3H2P6P.js → serve-KL3G6LQQ.js} +64 -57
  252. package/chunks/{server-FLY5JERG.js → server-LBPYXZ5G.js} +2931 -518
  253. package/chunks/{session-JVN62R5K.js → session-YG6742LO.js} +118 -111
  254. package/chunks/{session-attachments-root-7ACGLHXA.js → session-attachments-root-OUBQDYC4.js} +57 -50
  255. package/chunks/{session-pr-refresh-TQS57SDK.js → session-pr-refresh-EKGMYNAW.js} +64 -57
  256. package/chunks/{settings-D44YMZFT.js → settings-DDNHJX2L.js} +69 -62
  257. package/chunks/{shell-3VE6I4V5.js → shell-KUCXWITU.js} +42 -36
  258. package/chunks/{skill-FHEGRRZU.js → skill-JQLKPNWZ.js} +33 -23
  259. package/chunks/{skill-settings-VHEJMBFL.js → skill-settings-XERQCUXZ.js} +63 -56
  260. package/chunks/{spawnChannel-T6MX2ZDN.js → spawnChannel-GQ45QFGB.js} +60 -53
  261. package/chunks/{standalone-update-QUGHFMCS.js → standalone-update-PRF3ILGZ.js} +59 -52
  262. package/chunks/{start-opentui-ui-IHIIZ2LE.js → start-opentui-ui-JDSOZE3N.js} +174 -157
  263. package/chunks/{startInteractiveUI-LR7K2ARZ.js → startInteractiveUI-RRW3JVHN.js} +533 -1119
  264. package/chunks/{syntheticOutput-D2P5V6RG.js → syntheticOutput-F6F27JMK.js} +2 -2
  265. package/chunks/{task-create-MWXJFRRM.js → task-create-Y623TBHB.js} +8 -8
  266. package/chunks/{task-list-EYO3FE57.js → task-list-FCPEEGWL.js} +1 -1
  267. package/chunks/{task-stop-BFSKRTGV.js → task-stop-QTKZXLPH.js} +1 -1
  268. package/chunks/{task-update-2JJJRHMT.js → task-update-YLSXF25N.js} +8 -8
  269. package/chunks/{team-create-GY3VFY47.js → team-create-5DRLOLOE.js} +44 -38
  270. package/chunks/{team-delete-IQZ6XGFI.js → team-delete-S7TLHZCF.js} +1 -1
  271. package/chunks/{team-plan-approval-BQPGZOT5.js → team-plan-approval-MWSGAL5T.js} +42 -36
  272. package/chunks/{terminal-image-renderer-YNYW5CQG.js → terminal-image-renderer-H7PD4FQW.js} +59 -52
  273. package/chunks/{theme-manager-U6CIK3GM.js → theme-manager-7AV73D6R.js} +57 -50
  274. package/chunks/{todoWrite-5ERKFWAK.js → todoWrite-5QI2H2FW.js} +4 -4
  275. package/chunks/{tool-search-XI3QWD5I.js → tool-search-UGYTBLUV.js} +17 -15
  276. package/chunks/{total-session-admission-3SNSJJ32.js → total-session-admission-JIHSTJ5S.js} +62 -55
  277. package/chunks/{trustedFolders-OVAQKNV5.js → trustedFolders-5VCBXFOP.js} +58 -51
  278. package/chunks/{update-relaunch-XV5O74E3.js → update-relaunch-4LF3APCV.js} +5 -5
  279. package/chunks/{updateCheck-CHUYWD6L.js → updateCheck-4T3WUE5F.js} +59 -52
  280. package/chunks/{useAutoAcceptIndicator-VKSVIXZC.js → useAutoAcceptIndicator-UMGB64Z6.js} +67 -60
  281. package/chunks/{validateNonInterActiveAuth-ZNUTD3E5.js → validateNonInterActiveAuth-GFJ72U2C.js} +107 -100
  282. package/chunks/{version-EK7VAGSI.js → version-EAAZN4T2.js} +1 -1
  283. package/chunks/{web-fetch-24KZO763.js → web-fetch-VRU3A2NI.js} +13 -11
  284. package/chunks/{web-search-CRNXKZ2X.js → web-search-NEGYQNDJ.js} +14 -10
  285. package/chunks/{web-shell-static-BFDESDD4.js → web-shell-static-CCN4JZEE.js} +1 -1
  286. package/chunks/workflow-UHPFALVZ.js +1224 -0
  287. package/chunks/{workspace-providers-status-MAM42IZS.js → workspace-providers-status-AEYISSU2.js} +68 -61
  288. package/chunks/{workspace-registration-store-HKLJEDQX.js → workspace-registration-store-A7RGKW62.js} +3 -1
  289. package/chunks/{workspace-registry-7RDDOBLN.js → workspace-registry-C2NGE6SD.js} +62 -55
  290. package/chunks/{workspace-runtime-coordinator-LEPDPXJO.js → workspace-runtime-coordinator-QKMZ24YF.js} +63 -56
  291. package/chunks/{workspace-service-5IFDCNN3.js → workspace-service-RQTTAGGC.js} +70 -63
  292. package/chunks/{workspace-skills-status-FJ3HNH4H.js → workspace-skills-status-5HWZU3HX.js} +65 -58
  293. package/chunks/{workspace-trust-reconciler-PQFHIWLR.js → workspace-trust-reconciler-KFWATZUU.js} +69 -62
  294. package/chunks/{write-file-ERG67ZFX.js → write-file-DPVB2SBQ.js} +44 -38
  295. package/chunks/{zh-VBFCRQBL.js → zh-S5V3Z5CR.js} +1 -0
  296. package/chunks/{zh-TW-N2TBF2F2.js → zh-TW-2K2WRFPY.js} +1 -0
  297. package/chunks/{zoom-image-WQYEC3SR.js → zoom-image-S7AWLAPC.js} +12 -10
  298. package/cli.js +13 -13
  299. package/export-transcript-document.css +1 -0
  300. package/export-transcript-document.js +164 -165
  301. package/locales/en.js +1 -0
  302. package/locales/zh-TW.js +1 -0
  303. package/locales/zh.js +1 -0
  304. package/package.json +5 -4
  305. package/web-shell/assets/{abnfDiagram-VCTEODGH-BRLgQbnT.js → abnfDiagram-VCTEODGH-nU24rpIE.js} +1 -1
  306. package/web-shell/assets/{arc-qAF9_XsR.js → arc-D1hTu8QI.js} +1 -1
  307. package/web-shell/assets/{architectureDiagram-5GKGNRK7-BorUttEz.js → architectureDiagram-5GKGNRK7-B_fgkKe7.js} +1 -1
  308. package/web-shell/assets/{blockDiagram-NRAW4CY4-Bj0qZVxu.js → blockDiagram-NRAW4CY4-C3pddUNg.js} +1 -1
  309. package/web-shell/assets/{c4Diagram-UCG6FXSJ-BTqJis32.js → c4Diagram-UCG6FXSJ-kEFoC1ei.js} +1 -1
  310. package/web-shell/assets/channel-Blod4z1X.js +1 -0
  311. package/web-shell/assets/{chunk-2Q5K7J3B-RrQ5X8m-.js → chunk-2Q5K7J3B-DbT9wS7j.js} +1 -1
  312. package/web-shell/assets/{chunk-5VM5RSS4-uUjDl8wO.js → chunk-5VM5RSS4-CNbULt6O.js} +1 -1
  313. package/web-shell/assets/{chunk-F27PBJKO-C3JhpyzI.js → chunk-F27PBJKO-CbQRy4Tb.js} +1 -1
  314. package/web-shell/assets/{chunk-G27WJ6UU-C8ZNFs7F.js → chunk-G27WJ6UU-CVbXTxYk.js} +1 -1
  315. package/web-shell/assets/{chunk-JWPE2WC7-DNpXtEOs.js → chunk-JWPE2WC7-D89c_BXy.js} +1 -1
  316. package/web-shell/assets/{chunk-LCL6LL3I-DagA2ZLw.js → chunk-LCL6LL3I-B7-I_9KB.js} +1 -1
  317. package/web-shell/assets/{chunk-POPQ4Y6H-R23uH7Xm.js → chunk-POPQ4Y6H-DcLQFzS4.js} +1 -1
  318. package/web-shell/assets/{chunk-SVP7TREG-Qz9RN_BR.js → chunk-SVP7TREG-DyBb2Axj.js} +1 -1
  319. package/web-shell/assets/{chunk-XXDRQBXY-jYb1_hni.js → chunk-XXDRQBXY-BIA0eb5B.js} +1 -1
  320. package/web-shell/assets/classDiagram-DTDB5LWJ-D6hFDMqb.js +1 -0
  321. package/web-shell/assets/classDiagram-v2-JRS7N3AN-D6hFDMqb.js +1 -0
  322. package/web-shell/assets/{cose-bilkent-JH36ORCC-Cv2OunpE.js → cose-bilkent-JH36ORCC-Db2FYN85.js} +1 -1
  323. package/web-shell/assets/{cynefin-OW5HDTMX-LH42KFJx.js → cynefin-OW5HDTMX-i4GwmBVy.js} +1 -1
  324. package/web-shell/assets/{cynefinDiagram-5FMLGOSQ-Dha4_OoR.js → cynefinDiagram-5FMLGOSQ-LENf_IUy.js} +1 -1
  325. package/web-shell/assets/{dagre-3AP2YEHR-Br5lnUKD.js → dagre-3AP2YEHR-CF9XVrD9.js} +1 -1
  326. package/web-shell/assets/{diagram-S7CK7UJ4-dpKq2bBX.js → diagram-S7CK7UJ4-DD5PJfSm.js} +1 -1
  327. package/web-shell/assets/{diagram-UQ7AKVKN-BAgHWpXr.js → diagram-UQ7AKVKN-CjD_sBMj.js} +1 -1
  328. package/web-shell/assets/{diagram-VSXAHHWV-GRRzpyE2.js → diagram-VSXAHHWV-U5WwMqyA.js} +1 -1
  329. package/web-shell/assets/{diagram-VX7I27RA-BNFiaYpG.js → diagram-VX7I27RA-BujpHJJf.js} +1 -1
  330. package/web-shell/assets/{diagram-Z3DM3KII-BisZzB_h.js → diagram-Z3DM3KII-3ZLtKEXo.js} +1 -1
  331. package/web-shell/assets/{ebnfDiagram-PWID7BFC-B1xbwycf.js → ebnfDiagram-PWID7BFC-BGpiquRm.js} +1 -1
  332. package/web-shell/assets/{erDiagram-SSCWMZ5O-CQMzbGE5.js → erDiagram-SSCWMZ5O-D0besu_U.js} +1 -1
  333. package/web-shell/assets/{flowDiagram-A5DVABFB-CZ_Zondl.js → flowDiagram-A5DVABFB-9DwDuIyr.js} +1 -1
  334. package/web-shell/assets/{ganttDiagram-EL5Y4UJY-BTh2ShxS.js → ganttDiagram-EL5Y4UJY-CNlsAeNr.js} +1 -1
  335. package/web-shell/assets/{gitGraphDiagram-WWUBYQGX-oHOB-Uxt.js → gitGraphDiagram-WWUBYQGX-C_pPFiTR.js} +1 -1
  336. package/web-shell/assets/{index-DWoFMu5x.js → index-BYWs4JWq.js} +1 -1
  337. package/web-shell/assets/index-D3YS6KuJ.js +2173 -0
  338. package/web-shell/assets/index-eBxK3rs2.css +36 -0
  339. package/web-shell/assets/{infoDiagram-RXCK75RN-C0QpudbG.js → infoDiagram-RXCK75RN-Bpai64Ll.js} +1 -1
  340. package/web-shell/assets/{ishikawaDiagram-5VMMS53U-a6B741uT.js → ishikawaDiagram-5VMMS53U-ktpJFq4r.js} +1 -1
  341. package/web-shell/assets/{journeyDiagram-EYS64GPL-Dbht9ICp.js → journeyDiagram-EYS64GPL-iz_DKgFX.js} +1 -1
  342. package/web-shell/assets/{kanban-definition-3QL26DDD-D4OFR8-h.js → kanban-definition-3QL26DDD-m_gG00Yt.js} +1 -1
  343. package/web-shell/assets/{layout-Dvdh5jRH.js → layout-qEvKgnvU.js} +1 -1
  344. package/web-shell/assets/{linear-Dvc6KIW2.js → linear-C6lklGdq.js} +1 -1
  345. package/web-shell/assets/{mermaid.core-CB36RfIb.js → mermaid.core-DSCYB_2P.js} +6 -6
  346. package/web-shell/assets/{mindmap-definition-FBJOCRG2-Fmqo1CjP.js → mindmap-definition-FBJOCRG2-DRQbT8w-.js} +1 -1
  347. package/web-shell/assets/{pegDiagram-XKGWAZYB-CCxYBoA4.js → pegDiagram-XKGWAZYB-BhD0q0i6.js} +1 -1
  348. package/web-shell/assets/{pieDiagram-E7YTZNPT-BVHKQFzt.js → pieDiagram-E7YTZNPT-BvIGQCSd.js} +1 -1
  349. package/web-shell/assets/{quadrantDiagram-AXDQQJYC-l95IznwR.js → quadrantDiagram-AXDQQJYC-BDQtfpU-.js} +1 -1
  350. package/web-shell/assets/{railroadDiagram-O6MQD6OU-BlLdRdXp.js → railroadDiagram-O6MQD6OU-E1g2KIFK.js} +1 -1
  351. package/web-shell/assets/{requirementDiagram-EFPCY7ZU-BkDLBR5w.js → requirementDiagram-EFPCY7ZU-CuerYJOe.js} +1 -1
  352. package/web-shell/assets/{sankeyDiagram-P5KCCOFB-jAIqRp65.js → sankeyDiagram-P5KCCOFB-CqWyCZGA.js} +1 -1
  353. package/web-shell/assets/{sequenceDiagram-WJ2MYXX4-f-soZYPr.js → sequenceDiagram-WJ2MYXX4-B-YWb8x4.js} +1 -1
  354. package/web-shell/assets/{sizeCapture-X5ZJPWSS-BzOuAfB2.js → sizeCapture-X5ZJPWSS-BB7YY4Tl.js} +1 -1
  355. package/web-shell/assets/{stateDiagram-HBIQ2CUA-BPLSs12r.js → stateDiagram-HBIQ2CUA-C8LDpNHS.js} +1 -1
  356. package/web-shell/assets/stateDiagram-v2-4QOOHH4V-C4CbdvGa.js +1 -0
  357. package/web-shell/assets/{swimlanes-XN3QIQJK-D-9E_RIR.js → swimlanes-XN3QIQJK-D94vOoxZ.js} +1 -1
  358. package/web-shell/assets/swimlanesDiagram-VK2B7HYN--QNSIOC8.js +8 -0
  359. package/web-shell/assets/{timeline-definition-24CTP7MA-CT56K-gV.js → timeline-definition-24CTP7MA-C9C8uEYm.js} +1 -1
  360. package/web-shell/assets/{vennDiagram-4TSXK5OY-B-vi4IyO.js → vennDiagram-4TSXK5OY-CYzMHbVW.js} +1 -1
  361. package/web-shell/assets/{wardleyDiagram-VM6X3IG4-C9O7Ju98.js → wardleyDiagram-VM6X3IG4-G9nhtLES.js} +1 -1
  362. package/web-shell/assets/{xychartDiagram-S5SC5T6Z-6d8w3jg2.js → xychartDiagram-S5SC5T6Z-ruD2Wjhg.js} +1 -1
  363. package/web-shell/index.html +29 -5
  364. package/chunks/chunk-V7RNNPGC.js +0 -44
  365. package/chunks/workflow-HD5NYMW5.js +0 -2907
  366. package/web-shell/assets/channel-COIuCrVH.js +0 -1
  367. package/web-shell/assets/classDiagram-DTDB5LWJ-DoX6OYqu.js +0 -1
  368. package/web-shell/assets/classDiagram-v2-JRS7N3AN-DoX6OYqu.js +0 -1
  369. package/web-shell/assets/index-CI1ysIEv.js +0 -2154
  370. package/web-shell/assets/index-CpxXGH-8.css +0 -36
  371. package/web-shell/assets/stateDiagram-v2-4QOOHH4V-IRul-LaT.js +0 -1
  372. package/web-shell/assets/swimlanesDiagram-VK2B7HYN-D6lgKepA.js +0 -8
  373. /package/chunks/{chunk-JA5CBKRP.js → chunk-7NXSVSFB.js} +0 -0
@@ -6,8 +6,8 @@ import {
6
6
  sanitizeLogText,
7
7
  stripMessagePrefix,
8
8
  truncateCodePoints
9
- } from "./chunk-WDVV3LRM.js";
10
- import "./chunk-IW6RQPQB.js";
9
+ } from "./chunk-7QYWGTHB.js";
10
+ import "./chunk-IJOS26LH.js";
11
11
  import "./chunk-CQ35AJ4Z.js";
12
12
  import {
13
13
  init_esbuild_shims
@@ -32,6 +32,7 @@ import { execFile } from "node:child_process";
32
32
  init_esbuild_shims();
33
33
  import process from "node:process";
34
34
  var SAFE_KEYS = /* @__PURE__ */ new Set([
35
+ "AONE_SANDBOX_ID",
35
36
  "APPDATA",
36
37
  "COMSPEC",
37
38
  "HOME",
@@ -1091,6 +1092,13 @@ var NOTIFICATION_HISTORY_OVERLAP_MS = 5e3;
1091
1092
  var NOTIFICATION_POLL_INTERVAL_MS = 5e3;
1092
1093
  var TODO_POLL_INTERVAL_MS = 3e4;
1093
1094
  var TODO_CHAT_PREFIX = "todo:";
1095
+ var IM_DELIVERY_RETRY_BASE_MS = 5e3;
1096
+ var IM_DELIVERY_RETRY_MAX_MS = 5 * 6e4;
1097
+ var IM_DELIVERY_MAX_ATTEMPTS = 16;
1098
+ var IM_DELIVERY_MAX_LOCAL_DEFERRALS = 32;
1099
+ var MAX_PENDING_IM_DELIVERIES = 100;
1100
+ var MAX_IM_DELIVERY_CONTENT_CHARS = 12e3;
1101
+ var IM_DELIVERY_TRUNCATION_NOTICE = "\n\n[Response truncated for DWS delivery.]";
1094
1102
  function configuredString(value, field) {
1095
1103
  if (value === void 0 || value === null || value === "")
1096
1104
  return void 0;
@@ -1220,6 +1228,19 @@ function isPendingMessage(value) {
1220
1228
  ].every((item) => typeof item === "string") && (message.referencedText === void 0 || typeof message.referencedText === "string") && (message.eventTime === void 0 || Number.isSafeInteger(message.eventTime) && message.eventTime >= 0);
1221
1229
  }
1222
1230
  __name(isPendingMessage, "isPendingMessage");
1231
+ function isPersistedImDelivery(value) {
1232
+ if (typeof value !== "object" || value === null || Array.isArray(value)) {
1233
+ return false;
1234
+ }
1235
+ const delivery = value;
1236
+ return [
1237
+ delivery.conversationId,
1238
+ delivery.messageId,
1239
+ delivery.senderId,
1240
+ delivery.idempotencyKey
1241
+ ].every((item) => typeof item === "string" && Boolean(item)) && typeof delivery.content === "string" && (delivery.directTarget === void 0 || delivery.directTarget.kind === "direct" && typeof delivery.directTarget.openDingTalkId === "string" && Boolean(delivery.directTarget.openDingTalkId)) && (delivery.isGroup === void 0 || typeof delivery.isGroup === "boolean") && Number.isSafeInteger(delivery.attempts) && delivery.attempts >= 0 && (delivery.localDeferrals === void 0 || Number.isSafeInteger(delivery.localDeferrals) && delivery.localDeferrals >= 0) && Number.isSafeInteger(delivery.nextRetryAt) && delivery.nextRetryAt >= 0;
1242
+ }
1243
+ __name(isPersistedImDelivery, "isPersistedImDelivery");
1223
1244
  function isPersistedInboundFailure(value) {
1224
1245
  if (typeof value !== "object" || value === null || Array.isArray(value)) {
1225
1246
  return false;
@@ -1266,6 +1287,17 @@ function stableUuid(value) {
1266
1287
  return `${hex.slice(0, 8)}-${hex.slice(8, 12)}-5${hex.slice(13, 16)}-8${hex.slice(17, 20)}-${hex.slice(20)}`;
1267
1288
  }
1268
1289
  __name(stableUuid, "stableUuid");
1290
+ function imDeliveryLogContext(delivery) {
1291
+ return `conversationId=${sanitizeLogText(delivery?.conversationId ?? "", 120)} messageId=${sanitizeLogText(delivery?.messageId ?? "", 120)}`;
1292
+ }
1293
+ __name(imDeliveryLogContext, "imDeliveryLogContext");
1294
+ function boundedImDeliveryContent(content) {
1295
+ if (Array.from(content).length <= MAX_IM_DELIVERY_CONTENT_CHARS) {
1296
+ return content;
1297
+ }
1298
+ return `${truncateCodePoints(content, MAX_IM_DELIVERY_CONTENT_CHARS - Array.from(IM_DELIVERY_TRUNCATION_NOTICE).length)}${IM_DELIVERY_TRUNCATION_NOTICE}`;
1299
+ }
1300
+ __name(boundedImDeliveryContent, "boundedImDeliveryContent");
1269
1301
  function isNoReply(text) {
1270
1302
  const trimmed = text.trim();
1271
1303
  const fenced = trimmed.match(/^```[^\n]*\n([\s\S]*?)\n```$/u) ?? trimmed.match(/^```([^`\n]*)```$/u);
@@ -1361,6 +1393,8 @@ var DwsChannel = class extends PollingChannelBase {
1361
1393
  // live or followup traffic, whose queue entries outlive their turn.
1362
1394
  replayDispatches = /* @__PURE__ */ new Map();
1363
1395
  attemptedPendingMessages = /* @__PURE__ */ new Set();
1396
+ activeImDeliveries = /* @__PURE__ */ new Set();
1397
+ imResponseKinds = /* @__PURE__ */ new Map();
1364
1398
  conversationTails = /* @__PURE__ */ new Map();
1365
1399
  messageStartResolvers = /* @__PURE__ */ new Map();
1366
1400
  processingMessageGenerations = /* @__PURE__ */ new Map();
@@ -1419,6 +1453,7 @@ var DwsChannel = class extends PollingChannelBase {
1419
1453
  mentionCheckpoint: void 0,
1420
1454
  pendingDocumentNotifications: [],
1421
1455
  pendingMessages: [],
1456
+ pendingImDeliveries: [],
1422
1457
  processedMessages: [],
1423
1458
  imTargets: [],
1424
1459
  todosInitialized: false,
@@ -1431,7 +1466,7 @@ var DwsChannel = class extends PollingChannelBase {
1431
1466
  return null;
1432
1467
  }
1433
1468
  const cursor = parsed;
1434
- if (cursor.version !== 1 || cursor.selfProfile !== void 0 && (typeof cursor.selfProfile !== "string" || !cursor.selfProfile.trim()) || cursor.selfSenderIds !== void 0 && (!Array.isArray(cursor.selfSenderIds) || !cursor.selfSenderIds.every((item) => typeof item === "string" && Boolean(item.trim()))) || cursor.documentIds !== void 0 && (!Array.isArray(cursor.documentIds) || !cursor.documentIds.every((item) => typeof item === "string" && /^[\p{L}\p{N}_~-]+$/u.test(item))) || cursor.notificationWatermark !== void 0 && (typeof cursor.notificationWatermark !== "number" || !Number.isSafeInteger(cursor.notificationWatermark) || cursor.notificationWatermark < 0) || cursor.mentionWatermark !== void 0 && (typeof cursor.mentionWatermark !== "number" || !Number.isSafeInteger(cursor.mentionWatermark) || cursor.mentionWatermark < 0) || cursor.notificationCheckpoint !== void 0 && !isNotificationCheckpoint(cursor.notificationCheckpoint) || cursor.mentionCheckpoint !== void 0 && !isNotificationCheckpoint(cursor.mentionCheckpoint) || cursor.pendingDocumentNotifications !== void 0 && (!Array.isArray(cursor.pendingDocumentNotifications) || !cursor.pendingDocumentNotifications.every(isPendingDocumentNotification)) || cursor.pendingMessages !== void 0 && (!Array.isArray(cursor.pendingMessages) || !cursor.pendingMessages.every(isPendingMessage)) || !Array.isArray(cursor.processedMessages) || !cursor.processedMessages.every((item) => typeof item === "string") || !Array.isArray(cursor.imTargets) || !cursor.imTargets.every(isPersistedTarget) || cursor.todosInitialized !== void 0 && typeof cursor.todosInitialized !== "boolean" || cursor.todoTasks !== void 0 && (!Array.isArray(cursor.todoTasks) || !cursor.todoTasks.every(isPersistedTodoState)) || cursor.pairingNotifications !== void 0 && (!Array.isArray(cursor.pairingNotifications) || !cursor.pairingNotifications.every((item) => typeof item === "string" && Boolean(item))) || cursor.inboundFailures !== void 0 && (!Array.isArray(cursor.inboundFailures) || !cursor.inboundFailures.every(isPersistedInboundFailure))) {
1469
+ if (cursor.version !== 1 || cursor.selfProfile !== void 0 && (typeof cursor.selfProfile !== "string" || !cursor.selfProfile.trim()) || cursor.selfSenderIds !== void 0 && (!Array.isArray(cursor.selfSenderIds) || !cursor.selfSenderIds.every((item) => typeof item === "string" && Boolean(item.trim()))) || cursor.documentIds !== void 0 && (!Array.isArray(cursor.documentIds) || !cursor.documentIds.every((item) => typeof item === "string" && /^[\p{L}\p{N}_~-]+$/u.test(item))) || cursor.notificationWatermark !== void 0 && (typeof cursor.notificationWatermark !== "number" || !Number.isSafeInteger(cursor.notificationWatermark) || cursor.notificationWatermark < 0) || cursor.mentionWatermark !== void 0 && (typeof cursor.mentionWatermark !== "number" || !Number.isSafeInteger(cursor.mentionWatermark) || cursor.mentionWatermark < 0) || cursor.notificationCheckpoint !== void 0 && !isNotificationCheckpoint(cursor.notificationCheckpoint) || cursor.mentionCheckpoint !== void 0 && !isNotificationCheckpoint(cursor.mentionCheckpoint) || cursor.pendingDocumentNotifications !== void 0 && (!Array.isArray(cursor.pendingDocumentNotifications) || !cursor.pendingDocumentNotifications.every(isPendingDocumentNotification)) || cursor.pendingMessages !== void 0 && (!Array.isArray(cursor.pendingMessages) || !cursor.pendingMessages.every(isPendingMessage)) || cursor.pendingImDeliveries !== void 0 && (!Array.isArray(cursor.pendingImDeliveries) || !cursor.pendingImDeliveries.every(isPersistedImDelivery)) || !Array.isArray(cursor.processedMessages) || !cursor.processedMessages.every((item) => typeof item === "string") || !Array.isArray(cursor.imTargets) || !cursor.imTargets.every(isPersistedTarget) || cursor.todosInitialized !== void 0 && typeof cursor.todosInitialized !== "boolean" || cursor.todoTasks !== void 0 && (!Array.isArray(cursor.todoTasks) || !cursor.todoTasks.every(isPersistedTodoState)) || cursor.pairingNotifications !== void 0 && (!Array.isArray(cursor.pairingNotifications) || !cursor.pairingNotifications.every((item) => typeof item === "string" && Boolean(item))) || cursor.inboundFailures !== void 0 && (!Array.isArray(cursor.inboundFailures) || !cursor.inboundFailures.every(isPersistedInboundFailure))) {
1435
1470
  return null;
1436
1471
  }
1437
1472
  return {
@@ -1445,6 +1480,7 @@ var DwsChannel = class extends PollingChannelBase {
1445
1480
  mentionCheckpoint: cursor.mentionCheckpoint,
1446
1481
  pendingDocumentNotifications: (cursor.pendingDocumentNotifications ?? []).slice(-MAX_PROCESSED_ITEMS),
1447
1482
  pendingMessages: (cursor.pendingMessages ?? []).slice(),
1483
+ pendingImDeliveries: (cursor.pendingImDeliveries ?? []).slice(-MAX_PENDING_IM_DELIVERIES),
1448
1484
  processedMessages: cursor.processedMessages.slice(-MAX_PROCESSED_ITEMS),
1449
1485
  imTargets: cursor.imTargets.slice(-MAX_IM_TARGETS),
1450
1486
  todosInitialized: cursor.todosInitialized ?? false,
@@ -1484,6 +1520,7 @@ var DwsChannel = class extends PollingChannelBase {
1484
1520
  this.cursor.documentIds = [];
1485
1521
  this.cursor.pendingDocumentNotifications = [];
1486
1522
  this.cursor.pendingMessages = [];
1523
+ this.cursor.pendingImDeliveries = [];
1487
1524
  this.cursor.imTargets = [];
1488
1525
  this.cursor.processedMessages = [];
1489
1526
  this.cursor.pairingNotifications = [];
@@ -1753,11 +1790,187 @@ Ask the bot operator to approve you with:
1753
1790
  return;
1754
1791
  }
1755
1792
  const idempotencyKey = stableUuid(`${this.name}\0${chatId}\0${messageId}\0${text}`);
1756
- if (this.findImTarget(chatId)?.kind === "direct") {
1757
- await this.sendImText(chatId, this.formatAttributedText(text, label), idempotencyKey);
1793
+ const target = this.findImTarget(chatId);
1794
+ const isGroup = this.imResponseKinds.get(`${chatId}\0${messageId}`) ?? target?.kind !== "direct";
1795
+ const delivery = {
1796
+ conversationId: chatId,
1797
+ messageId,
1798
+ senderId,
1799
+ content: boundedImDeliveryContent(this.formatAttributedText(text, label)),
1800
+ idempotencyKey,
1801
+ ...target?.kind === "direct" ? { directTarget: target } : {},
1802
+ isGroup,
1803
+ attempts: 0,
1804
+ nextRetryAt: 0
1805
+ };
1806
+ const pending = this.rememberImDelivery(delivery);
1807
+ void this.attemptImDelivery(pending).catch((error) => {
1808
+ this.deferImDelivery(pending, error);
1809
+ });
1810
+ }
1811
+ rememberImDelivery(delivery) {
1812
+ const existing = (this.cursor.pendingImDeliveries ?? []).find(({ idempotencyKey }) => idempotencyKey === delivery.idempotencyKey);
1813
+ if (existing)
1814
+ return existing;
1815
+ const pending = this.cursor.pendingImDeliveries ?? [];
1816
+ while (pending.length >= MAX_PENDING_IM_DELIVERIES) {
1817
+ const dropped = pending.shift();
1818
+ process2.stderr.write(`[Channel:${this.name}] DWS IM delivery queue is full; dropping the oldest undelivered reply ${imDeliveryLogContext(dropped)} key=${sanitizeLogText(dropped?.idempotencyKey ?? "", 64)}
1819
+ `);
1820
+ }
1821
+ pending.push(delivery);
1822
+ this.cursor.pendingImDeliveries = pending;
1823
+ try {
1824
+ this.saveCursor();
1825
+ } catch (error) {
1826
+ process2.stderr.write(`[Channel:${this.name}] DWS IM delivery pre-send checkpoint failed; keeping the entry in memory and delivering anyway with the same idempotency key: ${sanitizeLogText(error instanceof Error ? error.message : String(error), 300)}
1827
+ `);
1828
+ }
1829
+ return delivery;
1830
+ }
1831
+ async attemptImDelivery(delivery) {
1832
+ if (delivery.nextRetryAt > Date.now() || this.activeImDeliveries.has(delivery.idempotencyKey) || !(this.cursor.pendingImDeliveries ?? []).includes(delivery)) {
1833
+ return;
1834
+ }
1835
+ if (!this.connected) {
1836
+ this.deferImDelivery(delivery, new Error("channel disconnected"), "local");
1837
+ return;
1838
+ }
1839
+ const authorization = this.imDeliveryAuthorization(delivery);
1840
+ if (authorization === "unknown") {
1841
+ this.deferImDelivery(delivery, new Error("stored pairing approval could not be confirmed"), "local");
1842
+ return;
1843
+ }
1844
+ if (authorization === "denied") {
1845
+ this.cursor.pendingImDeliveries = (this.cursor.pendingImDeliveries ?? []).filter((pending) => pending !== delivery);
1846
+ process2.stderr.write(`[Channel:${this.name}] dropping a completed DWS IM reply after a definitive authorization denial: ${imDeliveryLogContext(delivery)}
1847
+ `);
1848
+ try {
1849
+ this.saveCursor();
1850
+ } catch (error) {
1851
+ process2.stderr.write(`[Channel:${this.name}] failed to checkpoint a revoked DWS IM delivery ${imDeliveryLogContext(delivery)}: ${sanitizeLogText(error instanceof Error ? error.message : String(error), 300)}
1852
+ `);
1853
+ }
1854
+ return;
1855
+ }
1856
+ this.activeImDeliveries.add(delivery.idempotencyKey);
1857
+ try {
1858
+ try {
1859
+ if (delivery.directTarget) {
1860
+ await this.client.sendImMessage(delivery.directTarget, delivery.content, delivery.idempotencyKey);
1861
+ } else {
1862
+ await this.client.replyToImMessage(delivery.conversationId, delivery.messageId, delivery.senderId, delivery.content, delivery.idempotencyKey);
1863
+ }
1864
+ } catch (error) {
1865
+ if (!(error instanceof DwsCommandError))
1866
+ throw error;
1867
+ this.deferImDelivery(delivery, error);
1868
+ return;
1869
+ }
1870
+ const pending = this.cursor.pendingImDeliveries ?? [];
1871
+ if (!pending.includes(delivery))
1872
+ return;
1873
+ this.cursor.pendingImDeliveries = pending.filter(({ idempotencyKey }) => idempotencyKey !== delivery.idempotencyKey);
1874
+ try {
1875
+ this.saveCursor();
1876
+ } catch (error) {
1877
+ this.cursor.pendingImDeliveries.push(delivery);
1878
+ const delay = this.scheduleImDeliveryRetry(delivery);
1879
+ if (delay === void 0) {
1880
+ process2.stderr.write(`[Channel:${this.name}] abandoning a completed DWS IM reply because its success checkpoint repeatedly failed; ${imDeliveryLogContext(delivery)}: ${sanitizeLogText(error instanceof Error ? error.message : String(error), 300)}
1881
+ `);
1882
+ } else {
1883
+ process2.stderr.write(`[Channel:${this.name}] DWS IM delivery succeeded but its checkpoint failed; retrying with the same idempotency key in ${delay}ms; ${imDeliveryLogContext(delivery)}: ${sanitizeLogText(error instanceof Error ? error.message : String(error), 300)}
1884
+ `);
1885
+ }
1886
+ }
1887
+ } finally {
1888
+ this.activeImDeliveries.delete(delivery.idempotencyKey);
1889
+ }
1890
+ }
1891
+ imDeliveryAuthorization(delivery) {
1892
+ const isGroup = delivery.isGroup ?? delivery.directTarget === void 0;
1893
+ const envelope = {
1894
+ channelName: this.name,
1895
+ senderId: delivery.senderId,
1896
+ senderName: delivery.senderId,
1897
+ chatId: delivery.conversationId,
1898
+ text: "",
1899
+ isGroup,
1900
+ isMentioned: true,
1901
+ isReplyToBot: true
1902
+ };
1903
+ const groupAllowed = this.groupGate.check(envelope, {
1904
+ createPairingRequest: false
1905
+ }).allowed;
1906
+ if (!groupAllowed) {
1907
+ return this.config.groupPolicy === "pairing" ? "unknown" : "denied";
1908
+ }
1909
+ if (!this.dmGate.check(envelope).allowed)
1910
+ return "denied";
1911
+ if (isGroup && this.config.groupPolicy === "pairing")
1912
+ return "allowed";
1913
+ if (this.gate.isAllowed(delivery.senderId))
1914
+ return "allowed";
1915
+ return this.config.senderPolicy === "pairing" ? "unknown" : "denied";
1916
+ }
1917
+ deferImDelivery(delivery, error, retryKind = "delivery") {
1918
+ if (!(this.cursor.pendingImDeliveries ?? []).includes(delivery))
1919
+ return;
1920
+ const delay = this.scheduleImDeliveryRetry(delivery, retryKind);
1921
+ try {
1922
+ this.saveCursor();
1923
+ } catch (saveError) {
1924
+ process2.stderr.write(`[Channel:${this.name}] DWS IM delivery retry checkpoint failed: ${sanitizeLogText(saveError instanceof Error ? saveError.message : String(saveError), 300)}
1925
+ `);
1926
+ }
1927
+ if (delay === void 0) {
1928
+ if (retryKind === "local") {
1929
+ process2.stderr.write(`[Channel:${this.name}] abandoning a completed DWS IM reply after ${delivery.localDeferrals} consecutive local deferrals without reaching transport; ${imDeliveryLogContext(delivery)}: ${sanitizeLogText(error instanceof Error ? error.message : String(error), 300)}
1930
+ `);
1931
+ return;
1932
+ }
1933
+ process2.stderr.write(`[Channel:${this.name}] abandoning a completed DWS IM reply after ${delivery.attempts} failed delivery attempts; ${imDeliveryLogContext(delivery)}: ${sanitizeLogText(error instanceof Error ? error.message : String(error), 300)}
1934
+ `);
1935
+ return;
1936
+ }
1937
+ if (retryKind === "local") {
1938
+ process2.stderr.write(`[Channel:${this.name}] DWS IM delivery is locally deferred; retrying the pre-send check in ${delay}ms without consuming the delivery-attempt budget; ${imDeliveryLogContext(delivery)}: ${sanitizeLogText(error instanceof Error ? error.message : String(error), 300)}
1939
+ `);
1758
1940
  return;
1759
1941
  }
1760
- await this.client.replyToImMessage(chatId, messageId, senderId, this.formatAttributedText(text, label), idempotencyKey);
1942
+ process2.stderr.write(`[Channel:${this.name}] DWS IM delivery failed; retrying delivery only in ${delay}ms without rerunning the originating task; ${imDeliveryLogContext(delivery)}: ${sanitizeLogText(error instanceof Error ? error.message : String(error), 300)}
1943
+ `);
1944
+ }
1945
+ scheduleImDeliveryRetry(delivery, retryKind = "delivery") {
1946
+ const retryCount = retryKind === "local" ? delivery.localDeferrals = (delivery.localDeferrals ?? 0) + 1 : delivery.attempts += 1;
1947
+ if (retryKind === "delivery")
1948
+ delivery.localDeferrals = 0;
1949
+ const maxRetries = retryKind === "local" ? IM_DELIVERY_MAX_LOCAL_DEFERRALS : IM_DELIVERY_MAX_ATTEMPTS;
1950
+ if (retryCount >= maxRetries) {
1951
+ this.cursor.pendingImDeliveries = (this.cursor.pendingImDeliveries ?? []).filter((pending) => pending !== delivery);
1952
+ return void 0;
1953
+ }
1954
+ const delay = Math.min(IM_DELIVERY_RETRY_BASE_MS * 2 ** Math.min(retryCount - 1, 16), IM_DELIVERY_RETRY_MAX_MS);
1955
+ delivery.nextRetryAt = Date.now() + delay;
1956
+ return delay;
1957
+ }
1958
+ async replayPendingImDeliveries(signal) {
1959
+ let attempts = 0;
1960
+ for (const delivery of [...this.cursor.pendingImDeliveries ?? []]) {
1961
+ if (signal.aborted || !this.connected)
1962
+ return;
1963
+ if (delivery.nextRetryAt > Date.now())
1964
+ continue;
1965
+ if (attempts >= MAX_REPLAY_CONVERSATIONS)
1966
+ return;
1967
+ attempts += 1;
1968
+ try {
1969
+ await this.attemptImDelivery(delivery);
1970
+ } catch (error) {
1971
+ this.deferImDelivery(delivery, error);
1972
+ }
1973
+ }
1761
1974
  }
1762
1975
  async pushProactive(target, text, sourceLabel2) {
1763
1976
  if (isNoReply(text))
@@ -1852,6 +2065,9 @@ Ask the bot operator to approve you with:
1852
2065
  process2.stderr.write(`[Channel:${this.name}] failed to poll DWS direct-message history: ${sanitizeLogText(error instanceof Error ? error.message : String(error), 300)}
1853
2066
  `);
1854
2067
  }
2068
+ await this.replayPendingImDeliveries(signal);
2069
+ if (signal.aborted || !this.connected)
2070
+ return;
1855
2071
  this.saveCursor();
1856
2072
  if (this.watchTodos && (this.lastTodoPollAt === 0 || endTime - this.lastTodoPollAt >= this.todoPollInterval)) {
1857
2073
  try {
@@ -2310,6 +2526,7 @@ ${truncateCodePoints(JSON.stringify(detail.data), MAX_TODO_CONTEXT_CHARS)}`
2310
2526
  }
2311
2527
  const envelope = this.createImEnvelope(source, message, text);
2312
2528
  this.rememberInboundReactionTarget(message.conversationId, message.messageId);
2529
+ this.imResponseKinds.set(key, source.kind !== "direct");
2313
2530
  try {
2314
2531
  await this.handleInbound(envelope);
2315
2532
  } catch (error) {
@@ -2321,6 +2538,8 @@ ${truncateCodePoints(JSON.stringify(detail.data), MAX_TODO_CONTEXT_CHARS)}`
2321
2538
  throw error;
2322
2539
  }
2323
2540
  return;
2541
+ } finally {
2542
+ this.imResponseKinds.delete(key);
2324
2543
  }
2325
2544
  this.clearInboundFailure(key);
2326
2545
  this.removePendingMessage(key);
@@ -1,8 +1,5 @@
1
1
  // Force strict mode and setup for ESM
2
2
  "use strict";
3
- import {
4
- require_main
5
- } from "./chunk-ZLBIFIMV.js";
6
3
  import {
7
4
  ChannelBase,
8
5
  SessionRouter,
@@ -12,8 +9,11 @@ import {
12
9
  sanitizeSenderName,
13
10
  stripMessagePrefix,
14
11
  truncateCodePoints
15
- } from "./chunk-WDVV3LRM.js";
16
- import "./chunk-IW6RQPQB.js";
12
+ } from "./chunk-7QYWGTHB.js";
13
+ import "./chunk-IJOS26LH.js";
14
+ import {
15
+ require_main
16
+ } from "./chunk-ZLBIFIMV.js";
17
17
  import "./chunk-CQ35AJ4Z.js";
18
18
  import {
19
19
  wrapper_default
@@ -4,13 +4,13 @@ import {
4
4
  ChannelBase,
5
5
  isTerminalTaskLifecycleType,
6
6
  startsWithMessagePrefix
7
- } from "./chunk-WDVV3LRM.js";
8
- import "./chunk-IW6RQPQB.js";
7
+ } from "./chunk-7QYWGTHB.js";
8
+ import "./chunk-IJOS26LH.js";
9
+ import "./chunk-CQ35AJ4Z.js";
9
10
  import {
10
11
  require_abort_controller,
11
12
  require_lib
12
13
  } from "./chunk-DI35ZN7T.js";
13
- import "./chunk-CQ35AJ4Z.js";
14
14
  import "./chunk-5WV5S2GT.js";
15
15
  import "./chunk-XWRJCPHC.js";
16
16
  import {
@@ -17,8 +17,8 @@ import {
17
17
  isTerminalTaskLifecycleType,
18
18
  sanitizeSenderName,
19
19
  startsWithMessagePrefix
20
- } from "./chunk-WDVV3LRM.js";
21
- import "./chunk-IW6RQPQB.js";
20
+ } from "./chunk-7QYWGTHB.js";
21
+ import "./chunk-IJOS26LH.js";
22
22
  import "./chunk-CQ35AJ4Z.js";
23
23
  import {
24
24
  require_index_minimal
@@ -10,8 +10,8 @@ import "./chunk-OSHQMOBS.js";
10
10
  import {
11
11
  ChannelBase,
12
12
  sanitizeLogText
13
- } from "./chunk-WDVV3LRM.js";
14
- import "./chunk-IW6RQPQB.js";
13
+ } from "./chunk-7QYWGTHB.js";
14
+ import "./chunk-IJOS26LH.js";
15
15
  import "./chunk-CQ35AJ4Z.js";
16
16
  import "./chunk-DMTGGOSA.js";
17
17
  import "./chunk-YQ3U5MUC.js";
@@ -6,8 +6,8 @@ import {
6
6
  import "./chunk-OSHQMOBS.js";
7
7
  import {
8
8
  PollingChannelBase
9
- } from "./chunk-WDVV3LRM.js";
10
- import "./chunk-IW6RQPQB.js";
9
+ } from "./chunk-7QYWGTHB.js";
10
+ import "./chunk-IJOS26LH.js";
11
11
  import {
12
12
  external_exports
13
13
  } from "./chunk-CQ35AJ4Z.js";
@@ -9,8 +9,8 @@ import {
9
9
  sanitizePromptText,
10
10
  stripMessagePrefix,
11
11
  truncateCodePoints
12
- } from "./chunk-WDVV3LRM.js";
13
- import "./chunk-IW6RQPQB.js";
12
+ } from "./chunk-7QYWGTHB.js";
13
+ import "./chunk-IJOS26LH.js";
14
14
  import "./chunk-CQ35AJ4Z.js";
15
15
  import {
16
16
  require_dist
@@ -11,92 +11,97 @@ import {
11
11
  detectLineEnding,
12
12
  getDiffStat,
13
13
  needsUtf8Bom
14
- } from "./chunk-HJ5UJQQL.js";
14
+ } from "./chunk-N7VWZDWW.js";
15
15
  import "./chunk-GOFAQQZA.js";
16
- import "./chunk-65I7S4Z3.js";
17
- import "./chunk-6HUXPLB5.js";
18
16
  import "./chunk-TWPJO254.js";
19
17
  import "./chunk-CQ35AJ4Z.js";
20
- import "./chunk-XKBFYTCD.js";
21
- import "./chunk-LYT2OU7D.js";
18
+ import "./chunk-65I7S4Z3.js";
19
+ import "./chunk-6HUXPLB5.js";
22
20
  import "./chunk-7CLLH5TI.js";
23
- import "./chunk-HIXUUCGY.js";
24
- import "./chunk-6PVPNMXU.js";
25
- import "./chunk-565U2ANU.js";
26
- import "./chunk-GSFV5RQW.js";
21
+ import "./chunk-XKBFYTCD.js";
22
+ import "./chunk-ZTTC7T4X.js";
23
+ import "./chunk-E4UEO3XM.js";
24
+ import "./chunk-IAEXTMED.js";
27
25
  import "./chunk-IRH27ZC2.js";
28
26
  import "./chunk-QHWCP53L.js";
29
27
  import "./chunk-F53KKZUD.js";
30
- import "./chunk-TRWQQBVH.js";
31
- import "./chunk-QJNDUTOL.js";
32
- import "./chunk-N6S3NUYJ.js";
33
28
  import "./chunk-O6GEWCJA.js";
29
+ import "./chunk-36HCNKDS.js";
30
+ import "./chunk-6PVPNMXU.js";
31
+ import "./chunk-2SZH22YO.js";
32
+ import "./chunk-DTNV6UZY.js";
33
+ import "./chunk-QJNDUTOL.js";
34
+ import "./chunk-JXNIF2O5.js";
35
+ import "./chunk-NFYEQRLG.js";
36
+ import "./chunk-ELRMZTPF.js";
34
37
  import "./chunk-CHEIIBT3.js";
35
- import "./chunk-QAZ2MGYT.js";
36
- import "./chunk-QQK4L3UU.js";
38
+ import "./chunk-PLLIWEM3.js";
39
+ import "./chunk-5GLDOLNQ.js";
37
40
  import "./chunk-CH2YDT6X.js";
38
41
  import "./chunk-JX6XHPTX.js";
39
- import "./chunk-CLKE4IY3.js";
40
42
  import "./chunk-ZSTCM3MX.js";
41
- import "./chunk-SOA4HKRJ.js";
42
43
  import "./chunk-MLXTMF7H.js";
43
- import "./chunk-3LPJ776W.js";
44
+ import "./chunk-LILGKQ4B.js";
44
45
  import "./chunk-3CZ2BQV6.js";
45
- import "./chunk-PQEISIKS.js";
46
- import "./chunk-S5QR6CB5.js";
47
- import "./chunk-H3Q3RSKZ.js";
46
+ import "./chunk-SAH4BD2J.js";
47
+ import "./chunk-CXTPVBFA.js";
48
+ import "./chunk-U7O65WKL.js";
48
49
  import "./chunk-S6LOFUVP.js";
50
+ import "./chunk-FN3JNDRU.js";
51
+ import "./chunk-EUURTIV6.js";
52
+ import "./chunk-G6UUOCUT.js";
53
+ import "./chunk-IZ2U57NY.js";
54
+ import "./chunk-NUQ4GK5I.js";
55
+ import "./chunk-K2OJUPOE.js";
49
56
  import "./chunk-NAVJD2PQ.js";
50
- import "./chunk-OFVAS4AR.js";
57
+ import "./chunk-YBUMTY7B.js";
51
58
  import "./chunk-HNLMYDQE.js";
52
59
  import "./chunk-QHMLYMMS.js";
53
60
  import "./chunk-CFKIH3D3.js";
54
- import "./chunk-VBLAI2HA.js";
61
+ import "./chunk-JL6APGBX.js";
55
62
  import "./chunk-DJ2GSRLV.js";
56
63
  import "./chunk-4ALNJDHL.js";
57
64
  import "./chunk-NOO4QFXM.js";
58
65
  import "./chunk-KFFCDLKV.js";
59
- import "./chunk-7OCIQNKX.js";
66
+ import "./chunk-ZW2EUO2A.js";
60
67
  import {
61
68
  FileOperationEvent,
62
69
  ReadFileTool,
63
70
  getLanguageFromFilePath,
64
71
  logFileOperation
65
- } from "./chunk-F2NYVASI.js";
72
+ } from "./chunk-HBU7EKY4.js";
66
73
  import "./chunk-5ETULJLP.js";
67
- import "./chunk-XBVNNDPK.js";
74
+ import "./chunk-ZHKTKHMO.js";
68
75
  import "./chunk-VGC4I5JJ.js";
69
- import {
70
- fileExists,
71
- getSpecificMimeType
72
- } from "./chunk-J6MB5ZHZ.js";
73
76
  import {
74
77
  isAnyAutoMemPath,
75
78
  isTeamAutoMemPath
76
79
  } from "./chunk-EDIDYZBT.js";
77
80
  import "./chunk-HD7O6WLV.js";
81
+ import {
82
+ fileExists,
83
+ getSpecificMimeType
84
+ } from "./chunk-J6MB5ZHZ.js";
78
85
  import "./chunk-WZAD4ZNJ.js";
86
+ import "./chunk-3FPYT6QC.js";
79
87
  import "./chunk-FPGTNKCP.js";
80
88
  import "./chunk-TIGXX4PA.js";
81
- import "./chunk-JO77FGNZ.js";
89
+ import "./chunk-3UXUOFO6.js";
82
90
  import "./chunk-XFFRI3WM.js";
83
- import "./chunk-4HOEU2OR.js";
91
+ import "./chunk-ERU3SDXT.js";
92
+ import "./chunk-EWJTAP3Y.js";
84
93
  import "./chunk-HHJLM3WQ.js";
85
94
  import {
86
95
  safeLiteralReplace
87
- } from "./chunk-7VEYUF3N.js";
96
+ } from "./chunk-W5ZQMAEM.js";
88
97
  import "./chunk-74TONY4F.js";
89
- import "./chunk-E6TI726I.js";
90
- import "./chunk-4VY3ITHR.js";
91
- import "./chunk-O2FEO2CB.js";
92
- import "./chunk-G6UUOCUT.js";
93
- import "./chunk-IZ2U57NY.js";
98
+ import "./chunk-HUXPEUFL.js";
94
99
  import {
95
100
  BaseDeclarativeTool,
96
101
  StructuredToolError,
97
102
  ToolDisplayNames,
98
103
  ToolNames
99
- } from "./chunk-MWIO7MF6.js";
104
+ } from "./chunk-TP6FYVQT.js";
100
105
  import {
101
106
  createDebugLogger,
102
107
  getErrorMessage,
@@ -105,11 +110,12 @@ import {
105
110
  shortenPath,
106
111
  unescapePath
107
112
  } from "./chunk-ZAFYHRVY.js";
113
+ import "./chunk-TBWQLLFO.js";
114
+ import "./chunk-UKMWZ5NS.js";
108
115
  import "./chunk-75DOP5OR.js";
109
116
  import "./chunk-DMTGGOSA.js";
110
117
  import "./chunk-YQ3U5MUC.js";
111
118
  import "./chunk-MATEIJZF.js";
112
- import "./chunk-TBWQLLFO.js";
113
119
  import {
114
120
  init_esbuild_shims
115
121
  } from "./chunk-5O2XNYP6.js";
@@ -159,6 +159,7 @@ var en_default = {
159
159
  "toolDisplayName.Agent": "toolDisplayName.Agent",
160
160
  "toolDisplayName.Artifact": "toolDisplayName.Artifact",
161
161
  "toolDisplayName.RecordArtifact": "toolDisplayName.RecordArtifact",
162
+ "toolDisplayName.RecordSource": "toolDisplayName.RecordSource",
162
163
  "toolDisplayName.ReportFindings": "toolDisplayName.ReportFindings",
163
164
  "toolDisplayName.DisplayImage": "toolDisplayName.DisplayImage",
164
165
  "toolDisplayName.Skill": "toolDisplayName.Skill",
@@ -2,12 +2,12 @@
2
2
  "use strict";
3
3
  import {
4
4
  writeWorktreeSession
5
- } from "./chunk-YZTGGCEE.js";
5
+ } from "./chunk-ZKZHSB5W.js";
6
6
  import {
7
7
  GitWorktreeService,
8
8
  writeWorktreeSessionMarker
9
- } from "./chunk-HIXUUCGY.js";
10
- import "./chunk-N6S3NUYJ.js";
9
+ } from "./chunk-36HCNKDS.js";
10
+ import "./chunk-JXNIF2O5.js";
11
11
  import "./chunk-J6MB5ZHZ.js";
12
12
  import "./chunk-XFFRI3WM.js";
13
13
  import {
@@ -15,7 +15,7 @@ import {
15
15
  BaseToolInvocation,
16
16
  ToolDisplayNames,
17
17
  ToolNames
18
- } from "./chunk-MWIO7MF6.js";
18
+ } from "./chunk-TP6FYVQT.js";
19
19
  import {
20
20
  createDebugLogger
21
21
  } from "./chunk-ZAFYHRVY.js";