@qwen-code/qwen-code 0.21.4 → 0.21.5

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 (242) hide show
  1. package/bundled/qc-helper/docs/configuration/model-providers.md +8 -7
  2. package/bundled/qc-helper/docs/configuration/settings.md +1 -1
  3. package/bundled/qc-helper/docs/features/code-review.md +2 -0
  4. package/bundled/qc-helper/docs/features/mcp.md +11 -3
  5. package/bundled/review/SKILL.md +32 -1
  6. package/chunks/{MaxSizedBox-5XDFQHTQ.js → MaxSizedBox-2MWU5JYB.js} +16 -16
  7. package/chunks/{StandaloneSessionPicker-DLADA54K.js → StandaloneSessionPicker-B6MI5NTB.js} +30 -30
  8. package/chunks/{acpAgent-MVEFZSBS.js → acpAgent-MRPYN6FH.js} +674 -290
  9. package/chunks/{agent-RB6LCRZX.js → agent-NAOXNW4I.js} +16 -16
  10. package/chunks/{agent-headless-272ZACJV.js → agent-headless-L4PPVFKW.js} +16 -16
  11. package/chunks/{artifact-tool-TBOYEKTY.js → artifact-tool-RROCCJDA.js} +1 -1
  12. package/chunks/{askUserQuestion-23Y5WZFJ.js → askUserQuestion-2EPPBPUZ.js} +1 -1
  13. package/chunks/{bridge-GXUXFSHK.js → bridge-LHXGYNCO.js} +17 -17
  14. package/chunks/{channel-settings-store-5UA2SABE.js → channel-settings-store-QB54TLYE.js} +21 -21
  15. package/chunks/{chunk-PWCQRLM5.js → chunk-2AGOQ7QO.js} +1 -1
  16. package/chunks/{chunk-XSOAW7FC.js → chunk-2JBETW4S.js} +5 -5
  17. package/chunks/{chunk-O4IWFYUW.js → chunk-3GOCVBYR.js} +4 -4
  18. package/chunks/{chunk-3PHUGFPH.js → chunk-3H5RFLTS.js} +1 -1
  19. package/chunks/{chunk-OOPFAIWP.js → chunk-3P4GP4S2.js} +1 -1
  20. package/chunks/{chunk-YXEVDA66.js → chunk-4LLUH3A7.js} +19 -18
  21. package/chunks/{chunk-ZRQY5BBS.js → chunk-4NEBUDWS.js} +10 -10
  22. package/chunks/{chunk-C5YFS6VR.js → chunk-4NNR24EP.js} +4 -4
  23. package/chunks/{chunk-RL2NPV5E.js → chunk-4O6HLCOF.js} +1 -1
  24. package/chunks/{chunk-AFJSRJTO.js → chunk-5HWAJ4BK.js} +1 -1
  25. package/chunks/{chunk-O2ZYHG33.js → chunk-5L6CQ4ZU.js} +131 -67
  26. package/chunks/{chunk-AWTLFUVN.js → chunk-5XNO4AW7.js} +13 -13
  27. package/chunks/{chunk-LLMGP5IC.js → chunk-6WBWIPBF.js} +2 -2
  28. package/chunks/{chunk-4CTV3FZH.js → chunk-7M2RLFNX.js} +23 -19
  29. package/chunks/{chunk-X6QNZOTC.js → chunk-7MFQLOHZ.js} +1 -1
  30. package/chunks/{chunk-DZPOYHBT.js → chunk-7W5KOBYU.js} +1 -1
  31. package/chunks/{chunk-SBBHZ3YT.js → chunk-AEWOKOJY.js} +1 -1
  32. package/chunks/{chunk-2CCUHZP5.js → chunk-B2RBYP7Z.js} +2 -2
  33. package/chunks/{chunk-URVJ4AZC.js → chunk-B3EBIZUY.js} +1 -1
  34. package/chunks/{chunk-GDREW3U5.js → chunk-BWLUCN35.js} +1 -1
  35. package/chunks/{chunk-DJA7YBLJ.js → chunk-C6ARWPCG.js} +2 -2
  36. package/chunks/{chunk-RNKGMZEW.js → chunk-CAX76R46.js} +1 -1
  37. package/chunks/{chunk-CFDR3GNL.js → chunk-D7D7RXIJ.js} +11 -0
  38. package/chunks/{chunk-PCVMRBLN.js → chunk-D7QAZ5DF.js} +1 -1
  39. package/chunks/{chunk-THLV7YGY.js → chunk-EXHQZBVJ.js} +2 -2
  40. package/chunks/{chunk-DOCBJIBL.js → chunk-FEUXV3DC.js} +1 -1
  41. package/chunks/{chunk-QZQ72YF6.js → chunk-G2UXFO2B.js} +1 -1
  42. package/chunks/{chunk-QXTGHZCX.js → chunk-GBY3ODW7.js} +3 -3
  43. package/chunks/{chunk-LPLMUGIM.js → chunk-GEP54CHX.js} +5 -5
  44. package/chunks/{chunk-2T3RYG4L.js → chunk-GP4IMBX5.js} +420 -94
  45. package/chunks/{chunk-XPAY4EMH.js → chunk-IK3RYLAD.js} +3 -3
  46. package/chunks/{chunk-I32URQI7.js → chunk-IWGMDSC3.js} +5 -5
  47. package/chunks/{chunk-WDLQGFWP.js → chunk-IWYXZAGT.js} +27 -27
  48. package/chunks/{chunk-HBCKZF2A.js → chunk-IZ2CMEYO.js} +1 -1
  49. package/chunks/{chunk-PQEIKQXN.js → chunk-J7I2BZHS.js} +4 -3
  50. package/chunks/{chunk-PQ5JFCNL.js → chunk-JDNWIXHJ.js} +3 -3
  51. package/chunks/{chunk-KHSJSMFS.js → chunk-K2ETEWG6.js} +1 -1
  52. package/chunks/{chunk-FV4TUUDE.js → chunk-K64OI7S7.js} +1 -1
  53. package/chunks/{chunk-C6FU76AA.js → chunk-K6VEL5KP.js} +1 -1
  54. package/chunks/{chunk-B3EBXISV.js → chunk-KH2BIJ4H.js} +3 -3
  55. package/chunks/{chunk-G7XXKQYS.js → chunk-LKRMNRSN.js} +27 -1
  56. package/chunks/{chunk-G6KI6B5L.js → chunk-LMNM37OE.js} +1 -1
  57. package/chunks/{chunk-SV5X2EUV.js → chunk-LSYVASZS.js} +1 -1
  58. package/chunks/{chunk-4PZ7SPD5.js → chunk-LYPXNRBX.js} +1 -1
  59. package/chunks/{chunk-HFVW54NL.js → chunk-MBEMTXQT.js} +9 -2
  60. package/chunks/{chunk-RPYYTL7E.js → chunk-MGSSJT27.js} +2 -2
  61. package/chunks/{chunk-M2L4TMH3.js → chunk-N3RERU5N.js} +3 -3
  62. package/chunks/{chunk-HI4YGRJD.js → chunk-NLQIEY6W.js} +3 -3
  63. package/chunks/{chunk-UATJZOAJ.js → chunk-OGAARVN7.js} +3 -3
  64. package/chunks/{chunk-6KQUOXT5.js → chunk-OIGB253L.js} +6 -6
  65. package/chunks/{chunk-EIAPOG76.js → chunk-P3SLTSNY.js} +3 -3
  66. package/chunks/{chunk-BC4LTKEG.js → chunk-Q2V4AOQL.js} +1 -1
  67. package/chunks/{chunk-KB6VSG2U.js → chunk-RM3F46UT.js} +6 -6
  68. package/chunks/{chunk-6ME3PVMM.js → chunk-SJMCYCUQ.js} +5 -5
  69. package/chunks/{chunk-2JN5V3I7.js → chunk-SQTA6PAY.js} +1 -1
  70. package/chunks/{chunk-2ON2O4MD.js → chunk-SVIEVA3L.js} +3 -3
  71. package/chunks/{chunk-FPPVCCAH.js → chunk-TCOJPG2P.js} +1 -1
  72. package/chunks/{chunk-BOWKLLWA.js → chunk-TJ56V3AR.js} +2 -2
  73. package/chunks/{chunk-A7PONO5G.js → chunk-URJHXOSO.js} +2 -2
  74. package/chunks/{chunk-EJXATV5R.js → chunk-VJPF6GF2.js} +2 -2
  75. package/chunks/{chunk-5XGI4IPK.js → chunk-VOA2UPZM.js} +3 -3
  76. package/chunks/{chunk-XGA6XHH3.js → chunk-WTM5QONI.js} +3 -3
  77. package/chunks/{chunk-IMGNGOGC.js → chunk-WU5NBSLD.js} +3 -3
  78. package/chunks/{chunk-7UXI6P72.js → chunk-WVAESIM6.js} +2 -2
  79. package/chunks/{chunk-TXZDRD36.js → chunk-XD2PNH3K.js} +5 -5
  80. package/chunks/{chunk-E2SYUEIA.js → chunk-YLL3SC5S.js} +743 -312
  81. package/chunks/{chunk-M6RNMBUO.js → chunk-YMUZQ3MQ.js} +4 -4
  82. package/chunks/{chunk-DHNFB7NC.js → chunk-YO4JI7B4.js} +5 -5
  83. package/chunks/{chunk-VA5NLVPT.js → chunk-Z7JILXGX.js} +1 -1
  84. package/chunks/{chunk-P5UJMCVS.js → chunk-ZLGPHA34.js} +4 -4
  85. package/chunks/{chunk-JDJ7SC4E.js → chunk-ZPGMDT4S.js} +237 -106
  86. package/chunks/{chunk-UEJESCS7.js → chunk-ZPPP6VCL.js} +1 -1
  87. package/chunks/{computer-use-MDOMIVTL.js → computer-use-XDOGP2KA.js} +16 -16
  88. package/chunks/{contextCommand-FCK3CB37.js → contextCommand-N3LQDCYJ.js} +18 -18
  89. package/chunks/{core-runtime-UHRHHU2O.js → core-runtime-STAFP45W.js} +16 -16
  90. package/chunks/{create-sub-session-MIXUVLWW.js → create-sub-session-2B3JENWD.js} +16 -16
  91. package/chunks/{create-sub-session-J32WC64U.js → create-sub-session-6EWLAZD5.js} +1 -1
  92. package/chunks/{cron-create-HMFSHIAR.js → cron-create-CCRIULJE.js} +1 -1
  93. package/chunks/{cron-delete-ZJFHOX57.js → cron-delete-FCFW6BGP.js} +1 -1
  94. package/chunks/{cron-list-ZEX2NBMN.js → cron-list-QDBVCHRF.js} +1 -1
  95. package/chunks/{daemon-status-provider-6LC7LUNR.js → daemon-status-provider-PPAH3ATF.js} +21 -21
  96. package/chunks/{daemon-trust-policy-Y36HGRAM.js → daemon-trust-policy-X6XL3MB4.js} +21 -21
  97. package/chunks/{daemon-trust-policy-monitor-ROTBBDOH.js → daemon-trust-policy-monitor-M5LBL2HD.js} +21 -21
  98. package/chunks/{deferred-core-runtime-ZQ4JIAJD.js → deferred-core-runtime-O54YPTBU.js} +16 -16
  99. package/chunks/{display-image-2WOG27DY.js → display-image-GUJA352B.js} +2 -2
  100. package/chunks/{earlyInputCapture-GPRUNXTP.js → earlyInputCapture-CBIT2RGT.js} +16 -16
  101. package/chunks/{edit-YK3UP6D2.js → edit-KW2TOC6A.js} +17 -17
  102. package/chunks/{enter-worktree-QMVQW7UG.js → enter-worktree-YL34NEU5.js} +16 -16
  103. package/chunks/{enterPlanMode-TZAYQ5MP.js → enterPlanMode-JFJTDASQ.js} +16 -16
  104. package/chunks/{environment-3UQURCZG.js → environment-IATU5GXG.js} +18 -18
  105. package/chunks/{errors-VBIMTNNI.js → errors-SAVRDE7Q.js} +18 -18
  106. package/chunks/{exit-worktree-4EC7LBBC.js → exit-worktree-5M43QPBB.js} +16 -16
  107. package/chunks/{exitPlanMode-K5Y3REU2.js → exitPlanMode-W4EICZ4N.js} +16 -16
  108. package/chunks/{fast-path-KS6IE7YR.js → fast-path-YQJPIKMP.js} +2 -2
  109. package/chunks/{gemini-LTUCUOJH.js → gemini-FUF5SSPR.js} +47 -47
  110. package/chunks/{geminiContentGenerator-M3HJTHKR.js → geminiContentGenerator-LLLZBOUG.js} +1 -1
  111. package/chunks/{glob-SKUYGTF2.js → glob-LJFFMN4D.js} +16 -16
  112. package/chunks/{goal-tools-SPQ5M6D3.js → goal-tools-3AZKX5WQ.js} +2 -18
  113. package/chunks/{grep-SQ7RD7SV.js → grep-Q64EAM73.js} +16 -16
  114. package/chunks/{handleAutoUpdate-OK7OX23A.js → handleAutoUpdate-QBMPRTSQ.js} +20 -20
  115. package/chunks/{i18n-P77YBKY4.js → i18n-LDUW5DMN.js} +17 -17
  116. package/chunks/{image-gen-2ZWPS42A.js → image-gen-G7RLG3KR.js} +2 -2
  117. package/chunks/{initializer-PIOYXVW7.js → initializer-74A7DMMD.js} +21 -21
  118. package/chunks/{installationInfo-IWMM6DPV.js → installationInfo-OFDYLDFD.js} +17 -17
  119. package/chunks/{list-3DCR4TRI.js → list-JA2EWRHJ.js} +24 -24
  120. package/chunks/{list-agents-TWEGRJWO.js → list-agents-GC4BRET7.js} +1 -1
  121. package/chunks/{loadedSettingsAdapter-EJC6CU5N.js → loadedSettingsAdapter-2GNJOQ3L.js} +21 -21
  122. package/chunks/{loggingContentGenerator-2JEFU25T.js → loggingContentGenerator-B6B5EGB3.js} +8 -8
  123. package/chunks/{loop-wakeup-6LLEOQYV.js → loop-wakeup-SQQSBMEY.js} +2 -2
  124. package/chunks/{ls-H5WX22VK.js → ls-63CC3NNX.js} +1 -1
  125. package/chunks/{lsp-G6FXYEIS.js → lsp-P6NVJVNT.js} +1 -1
  126. package/chunks/{managed-npm-update-EGVQPSBR.js → managed-npm-update-4YZHLUER.js} +17 -17
  127. package/chunks/{mcp-KFFH2MBV.js → mcp-LLK5YJVH.js} +21 -21
  128. package/chunks/{monitor-6Y3NDMTI.js → monitor-NYJPAWVP.js} +16 -16
  129. package/chunks/{nonInteractiveCli-426IQDPE.js → nonInteractiveCli-HZBBBDJD.js} +45 -45
  130. package/chunks/{notebook-edit-373IQQLE.js → notebook-edit-LLM6UXFX.js} +17 -17
  131. package/chunks/{openaiContentGenerator-PGFSOMIQ.js → openaiContentGenerator-2AEXDN55.js} +8 -8
  132. package/chunks/{pidfile-Y4INDMHG.js → pidfile-3JUWX7G2.js} +16 -16
  133. package/chunks/{processUtils-6BCPCJZW.js → processUtils-JLLRVZHT.js} +2 -2
  134. package/chunks/{qwenContentGenerator-QC3KSHSX.js → qwenContentGenerator-2FESCF27.js} +17 -17
  135. package/chunks/{qwenOAuth2-IOAXKJ3L.js → qwenOAuth2-2KKPYA5J.js} +1 -1
  136. package/chunks/{read-file-2T54FYZV.js → read-file-5GVXLY74.js} +6 -6
  137. package/chunks/{read-mcp-resource-DRZSI3HE.js → read-mcp-resource-RTSSEER5.js} +1 -1
  138. package/chunks/{record-artifact-IPIRWMFY.js → record-artifact-L3BAHQFN.js} +2 -2
  139. package/chunks/{resumeHistoryUtils-O62RDCZ3.js → resumeHistoryUtils-Z4OFBXPM.js} +19 -19
  140. package/chunks/{ripGrep-3H72KY7S.js → ripGrep-TKOJTIAB.js} +16 -16
  141. package/chunks/{run-qwen-serve-3AIDNNHO.js → run-qwen-serve-K5W6MM6M.js} +27 -27
  142. package/chunks/{runtime-AZ4EHHFV.js → runtime-IADXMRCY.js} +22 -22
  143. package/chunks/{scheduler-L4UUCU4Z.js → scheduler-T7AV37LD.js} +16 -16
  144. package/chunks/{sdk-exporters-http-IKNWQJNV.js → sdk-exporters-http-IL2346MJ.js} +6 -2
  145. package/chunks/{sdk-impl-7CUUMQDB.js → sdk-impl-SYKGVWOZ.js} +2 -2
  146. package/chunks/{send-message-LHJLVWFD.js → send-message-TL6FIMMN.js} +3 -3
  147. package/chunks/{serve-CLXGSYOE.js → serve-ROEGMS3I.js} +21 -21
  148. package/chunks/{server-MEAE3WMM.js → server-NGXMRODI.js} +40 -40
  149. package/chunks/{session-OSLD2LT5.js → session-RCDLDJA4.js} +46 -46
  150. package/chunks/{settings-ILWAOKA4.js → settings-E6H3AURD.js} +20 -20
  151. package/chunks/{shell-RT5DBH6B.js → shell-RHGGJ6BE.js} +16 -16
  152. package/chunks/{skill-LVGA3ATZ.js → skill-GQ7PBS25.js} +7 -7
  153. package/chunks/{skill-settings-WTZE7EPE.js → skill-settings-E2F7OCBL.js} +20 -20
  154. package/chunks/{spawnChannel-BOBS7DVM.js → spawnChannel-Q2IQBHME.js} +16 -16
  155. package/chunks/{standalone-update-Y5JB4S2K.js → standalone-update-NYYZEHLD.js} +18 -18
  156. package/chunks/{startInteractiveUI-ZV25CD2S.js → startInteractiveUI-IX6I3Y2Z.js} +62 -59
  157. package/chunks/{syntheticOutput-EYL7DWO7.js → syntheticOutput-BN7E626U.js} +2 -2
  158. package/chunks/{task-create-4ALZMGP5.js → task-create-2X4UP4F3.js} +4 -4
  159. package/chunks/{task-list-6CVQPORX.js → task-list-WOLJPZ64.js} +1 -1
  160. package/chunks/{task-stop-Y5ZTFVRX.js → task-stop-TNXRNAL2.js} +1 -1
  161. package/chunks/{task-update-IKCEEWJ6.js → task-update-VDUSN36E.js} +4 -4
  162. package/chunks/{team-create-ZVPQIXCP.js → team-create-UTRVUEDA.js} +16 -16
  163. package/chunks/{team-delete-CE7DC53R.js → team-delete-D2VMSDOT.js} +1 -1
  164. package/chunks/{team-plan-approval-5UHUBY3W.js → team-plan-approval-YZNB4U5U.js} +16 -16
  165. package/chunks/{terminal-image-renderer-NWC2RALG.js → terminal-image-renderer-QRSCS2BE.js} +17 -17
  166. package/chunks/{theme-manager-5KICSBOB.js → theme-manager-EKZBY34I.js} +16 -16
  167. package/chunks/{todoWrite-FTZWQRZH.js → todoWrite-MHWHO5UO.js} +1 -1
  168. package/chunks/{tool-search-2AOU77H4.js → tool-search-N2R7LVMC.js} +8 -8
  169. package/chunks/{total-session-admission-FR7RMHVL.js → total-session-admission-HBIYARPO.js} +17 -17
  170. package/chunks/{trustedFolders-V7UUPQXO.js → trustedFolders-ZQLYRCSY.js} +17 -17
  171. package/chunks/{update-relaunch-TBWRMQD6.js → update-relaunch-PJWXMPCR.js} +5 -5
  172. package/chunks/{updateCheck-42SPCLH7.js → updateCheck-ZXRCGY66.js} +19 -19
  173. package/chunks/{useAutoAcceptIndicator-4C2KM345.js → useAutoAcceptIndicator-ZYQW5SGJ.js} +22 -22
  174. package/chunks/{validateNonInterActiveAuth-UVFRXV3Z.js → validateNonInterActiveAuth-M7J7OTRH.js} +42 -42
  175. package/chunks/{version-HKTV6TPN.js → version-2AOHMPK3.js} +1 -1
  176. package/chunks/{web-fetch-ZRXSV5AN.js → web-fetch-DS34CJ3R.js} +6 -6
  177. package/chunks/{web-search-WOLV3L6T.js → web-search-ITFPD7V4.js} +4 -4
  178. package/chunks/{workflow-F63ES3OB.js → workflow-LZQ4PGNS.js} +17 -17
  179. package/chunks/{workspace-providers-status-PJMGMYMC.js → workspace-providers-status-ZPTLKOBM.js} +23 -23
  180. package/chunks/{workspace-registration-store-LNBOX5TJ.js → workspace-registration-store-OTFKSGG7.js} +1 -1
  181. package/chunks/{workspace-registry-4PR7VDQ3.js → workspace-registry-YZ3OXPHP.js} +17 -17
  182. package/chunks/{workspace-service-PVI3VUNQ.js → workspace-service-OCZXOOSQ.js} +24 -24
  183. package/chunks/{workspace-skills-status-2Q5ZISO6.js → workspace-skills-status-K2ALGUCD.js} +21 -21
  184. package/chunks/{workspace-trust-reconciler-NOILUH3C.js → workspace-trust-reconciler-KMRZISJP.js} +22 -22
  185. package/chunks/{write-file-MOM4JDHG.js → write-file-AWBI4GJS.js} +16 -16
  186. package/chunks/{zoom-image-E3VHRCFU.js → zoom-image-NHKN6F77.js} +6 -6
  187. package/cli.js +12 -12
  188. package/package.json +3 -3
  189. package/web-shell/assets/{arc-GpdmhIxr.js → arc-Dpg66jw7.js} +1 -1
  190. package/web-shell/assets/{architectureDiagram-3BPJPVTR-C-LhCgH_.js → architectureDiagram-3BPJPVTR-BJ4FIBxN.js} +1 -1
  191. package/web-shell/assets/{blockDiagram-GPEHLZMM-CzNdTCm-.js → blockDiagram-GPEHLZMM-VXmYdtYT.js} +1 -1
  192. package/web-shell/assets/{c4Diagram-AAUBKEIU-Ce7hbrRM.js → c4Diagram-AAUBKEIU-BNLDb8FE.js} +1 -1
  193. package/web-shell/assets/channel-Bd9wOnaA.js +1 -0
  194. package/web-shell/assets/{chunk-2J33WTMH-BBSEn1PK.js → chunk-2J33WTMH-DR5yHxr0.js} +1 -1
  195. package/web-shell/assets/{chunk-4BX2VUAB-_llgjfe5.js → chunk-4BX2VUAB-Czkq8UZU.js} +1 -1
  196. package/web-shell/assets/{chunk-55IACEB6-9fJZ_oZE.js → chunk-55IACEB6-DugUgM6s.js} +1 -1
  197. package/web-shell/assets/{chunk-727SXJPM-DgEzQWOu.js → chunk-727SXJPM-Dw6quA1K.js} +1 -1
  198. package/web-shell/assets/{chunk-AQP2D5EJ-B4RthUTc.js → chunk-AQP2D5EJ-BoVYOTTz.js} +1 -1
  199. package/web-shell/assets/{chunk-FMBD7UC4-CDI-emMW.js → chunk-FMBD7UC4--Amcse-j.js} +1 -1
  200. package/web-shell/assets/{chunk-ND2GUHAM-jM2-yOd8.js → chunk-ND2GUHAM-ajaEYAC8.js} +1 -1
  201. package/web-shell/assets/{chunk-QZHKN3VN-XGZHlKPF.js → chunk-QZHKN3VN-CUNDZ7im.js} +1 -1
  202. package/web-shell/assets/classDiagram-4FO5ZUOK-XhCT8FE3.js +1 -0
  203. package/web-shell/assets/classDiagram-v2-Q7XG4LA2-XhCT8FE3.js +1 -0
  204. package/web-shell/assets/{cose-bilkent-S5V4N54A-90nbW1xQ.js → cose-bilkent-S5V4N54A-BnfkD-m1.js} +1 -1
  205. package/web-shell/assets/{dagre-BM42HDAG-BtzlyqZ9.js → dagre-BM42HDAG-BuUdFk7Z.js} +1 -1
  206. package/web-shell/assets/{diagram-2AECGRRQ-DAaqGWaH.js → diagram-2AECGRRQ-B2ZXxoab.js} +1 -1
  207. package/web-shell/assets/{diagram-5GNKFQAL-CxlzSIFa.js → diagram-5GNKFQAL-BsgOICzM.js} +1 -1
  208. package/web-shell/assets/{diagram-KO2AKTUF-8kj-1H6u.js → diagram-KO2AKTUF-DTTjG6U-.js} +1 -1
  209. package/web-shell/assets/{diagram-LMA3HP47-6NhjFwRF.js → diagram-LMA3HP47-temLf1x7.js} +1 -1
  210. package/web-shell/assets/{diagram-OG6HWLK6-Bn9kvInz.js → diagram-OG6HWLK6-CRFjScs2.js} +1 -1
  211. package/web-shell/assets/{erDiagram-TEJ5UH35-CaRoGsAt.js → erDiagram-TEJ5UH35-D4oaY-rQ.js} +1 -1
  212. package/web-shell/assets/{flowDiagram-I6XJVG4X-TkLweHdf.js → flowDiagram-I6XJVG4X-BqG8B49b.js} +1 -1
  213. package/web-shell/assets/{ganttDiagram-6RSMTGT7-ruwhCKBl.js → ganttDiagram-6RSMTGT7-DffQBdd5.js} +1 -1
  214. package/web-shell/assets/{gitGraphDiagram-PVQCEYII-DNI_PxoU.js → gitGraphDiagram-PVQCEYII-CMDPfseF.js} +1 -1
  215. package/web-shell/assets/{index-T4KluHvu.js → index-2F4RsNzd.js} +322 -322
  216. package/web-shell/assets/index-CaucmEO_.css +5 -0
  217. package/web-shell/assets/{index-p1gz-sxE.js → index-qTQR_smP.js} +1 -1
  218. package/web-shell/assets/{infoDiagram-5YYISTIA-DarXq1-A.js → infoDiagram-5YYISTIA-Cn3T83MA.js} +1 -1
  219. package/web-shell/assets/{ishikawaDiagram-YF4QCWOH-GxDaDlT0.js → ishikawaDiagram-YF4QCWOH-ijFs7e25.js} +1 -1
  220. package/web-shell/assets/{journeyDiagram-JHISSGLW-mDEoGBzY.js → journeyDiagram-JHISSGLW-CINTv8VB.js} +1 -1
  221. package/web-shell/assets/{kanban-definition-UN3LZRKU-Ds0t-Mup.js → kanban-definition-UN3LZRKU-CMGRZCxx.js} +1 -1
  222. package/web-shell/assets/{linear-05nJ0xZ7.js → linear-Co-2_37d.js} +1 -1
  223. package/web-shell/assets/{mermaid.core-Bua24ThM.js → mermaid.core-DijbyaN5.js} +5 -5
  224. package/web-shell/assets/{mindmap-definition-RKZ34NQL-D_zRdvUS.js → mindmap-definition-RKZ34NQL-k_sDYDPZ.js} +1 -1
  225. package/web-shell/assets/{pieDiagram-4H26LBE5-DZHr1x16.js → pieDiagram-4H26LBE5-CG-oz8V3.js} +1 -1
  226. package/web-shell/assets/{quadrantDiagram-W4KKPZXB-HA06Wf0h.js → quadrantDiagram-W4KKPZXB-Baq7HIG2.js} +1 -1
  227. package/web-shell/assets/{requirementDiagram-4Y6WPE33-DH3urmJf.js → requirementDiagram-4Y6WPE33-CDM3ZvBt.js} +1 -1
  228. package/web-shell/assets/{sankeyDiagram-5OEKKPKP-C4xgz0TT.js → sankeyDiagram-5OEKKPKP-C2dJbWKN.js} +1 -1
  229. package/web-shell/assets/{sequenceDiagram-3UESZ5HK-DAUoZWgv.js → sequenceDiagram-3UESZ5HK-Cf1_h59p.js} +1 -1
  230. package/web-shell/assets/{stateDiagram-AJRCARHV-v7NzXy4l.js → stateDiagram-AJRCARHV-CI5clUEc.js} +1 -1
  231. package/web-shell/assets/stateDiagram-v2-BHNVJYJU-BDc8asKD.js +1 -0
  232. package/web-shell/assets/{timeline-definition-PNZ67QCA-B3GTYR2W.js → timeline-definition-PNZ67QCA-B2O8cAZX.js} +1 -1
  233. package/web-shell/assets/{vennDiagram-CIIHVFJN-BWHjSPAq.js → vennDiagram-CIIHVFJN-BLsJ_h9s.js} +1 -1
  234. package/web-shell/assets/{wardley-L42UT6IY-m9r6IUBC.js → wardley-L42UT6IY-BlPU4FTA.js} +1 -1
  235. package/web-shell/assets/{wardleyDiagram-YWT4CUSO-kT0FkVfK.js → wardleyDiagram-YWT4CUSO-D_U-RdU4.js} +1 -1
  236. package/web-shell/assets/{xychartDiagram-2RQKCTM6-CYRm10z5.js → xychartDiagram-2RQKCTM6-BynXGSTl.js} +1 -1
  237. package/web-shell/index.html +2 -2
  238. package/web-shell/assets/channel-95y6Rcp3.js +0 -1
  239. package/web-shell/assets/classDiagram-4FO5ZUOK-pfzVkmjQ.js +0 -1
  240. package/web-shell/assets/classDiagram-v2-Q7XG4LA2-pfzVkmjQ.js +0 -1
  241. package/web-shell/assets/index-WxSvj2tI.css +0 -5
  242. package/web-shell/assets/stateDiagram-v2-BHNVJYJU-CtdFexEf.js +0 -1
@@ -9,8 +9,10 @@ import {
9
9
  SPAN_SUBAGENT,
10
10
  SPAN_TOOL,
11
11
  SPAN_TOOL_BLOCKED_ON_USER,
12
- SPAN_TOOL_EXECUTION
13
- } from "./chunk-G7XXKQYS.js";
12
+ SPAN_TOOL_EXECUTION,
13
+ TOOL_FAILURE_KIND_ATTRIBUTE,
14
+ TOOL_FAILURE_KIND_CANCELLED
15
+ } from "./chunk-LKRMNRSN.js";
14
16
  import {
15
17
  createDebugLogger,
16
18
  getCurrentSessionId,
@@ -41,6 +43,7 @@ import {
41
43
  init_esbuild_shims();
42
44
  init_esm();
43
45
  var TOOL_CALL_COUNT = `${SERVICE_NAME}.tool.call.count`;
46
+ var TOOL_EXECUTION_COUNT = `${SERVICE_NAME}.tool.execution.count`;
44
47
  var TOOL_CALL_LATENCY = `${SERVICE_NAME}.tool.call.latency`;
45
48
  var API_REQUEST_COUNT = `${SERVICE_NAME}.api.request.count`;
46
49
  var API_REQUEST_LATENCY = `${SERVICE_NAME}.api.request.latency`;
@@ -103,6 +106,12 @@ var COUNTER_DEFINITIONS = {
103
106
  assign: /* @__PURE__ */ __name((c) => toolCallCounter = c, "assign"),
104
107
  attributes: {}
105
108
  },
109
+ [TOOL_EXECUTION_COUNT]: {
110
+ description: "Counts tool execution outcomes.",
111
+ valueType: ValueType.INT,
112
+ assign: /* @__PURE__ */ __name((c) => toolExecutionCounter = c, "assign"),
113
+ attributes: {}
114
+ },
106
115
  [API_REQUEST_COUNT]: {
107
116
  description: "Counts API requests, tagged by model and status.",
108
117
  valueType: ValueType.INT,
@@ -262,6 +271,7 @@ var PERFORMANCE_HISTOGRAM_DEFINITIONS = {
262
271
  };
263
272
  var cliMeter;
264
273
  var toolCallCounter;
274
+ var toolExecutionCounter;
265
275
  var toolCallLatencyHistogram;
266
276
  var apiRequestCounter;
267
277
  var apiRequestLatencyHistogram;
@@ -460,6 +470,14 @@ function recordToolCallMetrics(config, durationMs, attributes) {
460
470
  });
461
471
  }
462
472
  __name(recordToolCallMetrics, "recordToolCallMetrics");
473
+ function recordToolExecutionMetrics(config, attributes) {
474
+ if (!toolExecutionCounter || !isMetricsInitialized) return;
475
+ toolExecutionCounter.add(1, {
476
+ ...baseMetricDefinition.getCommonAttributes(config),
477
+ ...attributes
478
+ });
479
+ }
480
+ __name(recordToolExecutionMetrics, "recordToolExecutionMetrics");
463
481
  function recordTokenUsageMetrics(config, tokenCount, attributes) {
464
482
  if (!tokenUsageCounter || !isMetricsInitialized) return;
465
483
  tokenUsageCounter.add(tokenCount, {
@@ -845,7 +863,7 @@ function initializeTelemetry(config) {
845
863
  telemetryInitPromise ??= (async () => {
846
864
  const debugLogger3 = createDebugLogger("OTEL");
847
865
  try {
848
- const { startTelemetrySdk } = await import("./sdk-impl-7CUUMQDB.js");
866
+ const { startTelemetrySdk } = await import("./sdk-impl-SYKGVWOZ.js");
849
867
  if (telemetryInitialized) return;
850
868
  const started = await startTelemetrySdk(config);
851
869
  if (!started) return;
@@ -1438,39 +1456,51 @@ function startToolSpan(toolName, attrs, description, promptId) {
1438
1456
  if (!isTelemetrySdkInitialized()) {
1439
1457
  return NOOP_SPAN;
1440
1458
  }
1441
- const parentCtx = subagentContext.getStore() ?? interactionContext.getStore();
1442
- const ctx = resolveParentContext(parentCtx);
1443
- const sessionId = resolveSessionId(parentCtx);
1444
- const userId = resolveGenAiUserId(parentCtx, promptId);
1445
- const attributes = {
1446
- ...sessionId ? { "session.id": sessionId } : {},
1447
- ...attrs,
1448
- ...userId ? { "gen_ai.user.id": userId } : {},
1449
- "gen_ai.operation.name": "execute_tool",
1450
- "gen_ai.tool.name": toolName,
1451
- "gen_ai.tool.type": "function",
1452
- ...description ? {
1453
- "gen_ai.tool.description": truncateSpanText(
1454
- description,
1455
- TOOL_DESCRIPTION_MAX_CHARS
1456
- )
1457
- } : {}
1458
- };
1459
- const span = getTracer().startSpan(
1460
- SPAN_TOOL,
1461
- { kind: SpanKind.INTERNAL, attributes },
1462
- ctx
1463
- );
1464
- const spanId = getSpanId(span);
1465
- const spanContextObj = {
1466
- span,
1467
- startTime: Date.now(),
1468
- attributes,
1469
- type: "tool"
1470
- };
1471
- activeSpans.set(spanId, new WeakRef(spanContextObj));
1472
- strongSpans.set(spanId, spanContextObj);
1473
- return span;
1459
+ let span;
1460
+ try {
1461
+ const parentCtx = subagentContext.getStore() ?? interactionContext.getStore();
1462
+ const ctx = resolveParentContext(parentCtx);
1463
+ const sessionId = resolveSessionId(parentCtx);
1464
+ const userId = resolveGenAiUserId(parentCtx, promptId);
1465
+ const attributes = {
1466
+ ...sessionId ? { "session.id": sessionId } : {},
1467
+ ...attrs,
1468
+ ...userId ? { "gen_ai.user.id": userId } : {},
1469
+ "gen_ai.operation.name": "execute_tool",
1470
+ "gen_ai.tool.name": toolName,
1471
+ "gen_ai.tool.type": "function",
1472
+ ...description ? {
1473
+ "gen_ai.tool.description": truncateSpanText(
1474
+ description,
1475
+ TOOL_DESCRIPTION_MAX_CHARS
1476
+ )
1477
+ } : {}
1478
+ };
1479
+ span = getTracer().startSpan(
1480
+ SPAN_TOOL,
1481
+ { kind: SpanKind.INTERNAL, attributes },
1482
+ ctx
1483
+ );
1484
+ const spanId = getSpanId(span);
1485
+ const spanContextObj = {
1486
+ span,
1487
+ startTime: Date.now(),
1488
+ attributes,
1489
+ type: "tool"
1490
+ };
1491
+ activeSpans.set(spanId, new WeakRef(spanContextObj));
1492
+ strongSpans.set(spanId, spanContextObj);
1493
+ return span;
1494
+ } catch (error) {
1495
+ try {
1496
+ span?.end();
1497
+ } catch {
1498
+ }
1499
+ debugLogger2.warn(
1500
+ `Failed to start tool span: ${error instanceof Error ? error.message : String(error)}`
1501
+ );
1502
+ return NOOP_SPAN;
1503
+ }
1474
1504
  }
1475
1505
  __name(startToolSpan, "startToolSpan");
1476
1506
  function runInToolSpanContext(span, fn) {
@@ -1496,14 +1526,20 @@ function endToolSpan(span, metadata) {
1496
1526
  const duration = Date.now() - spanCtx.startTime;
1497
1527
  const endAttributes = { duration_ms: duration };
1498
1528
  if (metadata) {
1499
- if (metadata.success !== void 0)
1500
- endAttributes["success"] = metadata.success;
1529
+ if (metadata.success !== void 0 || metadata.cancelled) {
1530
+ endAttributes["success"] = metadata.cancelled ? false : metadata.success ?? false;
1531
+ }
1501
1532
  if (metadata.error !== void 0)
1502
1533
  endAttributes["error"] = truncateSpanError(metadata.error);
1534
+ if (metadata.cancelled) {
1535
+ endAttributes[TOOL_FAILURE_KIND_ATTRIBUTE] = TOOL_FAILURE_KIND_CANCELLED;
1536
+ }
1503
1537
  }
1504
1538
  spanCtx.span.setAttributes(endAttributes);
1505
1539
  if (metadata) {
1506
- if (metadata.success !== false) {
1540
+ if (metadata.cancelled) {
1541
+ spanCtx.span.setStatus({ code: SpanStatusCode.UNSET });
1542
+ } else if (metadata.success !== false) {
1507
1543
  spanCtx.span.setStatus({ code: SpanStatusCode.OK });
1508
1544
  } else {
1509
1545
  spanCtx.span.setStatus({
@@ -1528,38 +1564,55 @@ function endToolSpan(span, metadata) {
1528
1564
  strongSpans.delete(spanId);
1529
1565
  }
1530
1566
  __name(endToolSpan, "endToolSpan");
1531
- function startToolExecutionSpan() {
1567
+ function startToolExecutionSpan(options) {
1532
1568
  if (!isTelemetrySdkInitialized()) {
1533
1569
  return NOOP_SPAN;
1534
1570
  }
1535
- const parentCtx = toolContext.getStore();
1536
- if (!parentCtx) {
1571
+ let span;
1572
+ try {
1573
+ const parentCtx = toolContext.getStore();
1574
+ if (!parentCtx) {
1575
+ debugLogger2.warn(
1576
+ "startToolExecutionSpan called outside runInToolSpanContext \u2014 span will not be parented to tool span"
1577
+ );
1578
+ }
1579
+ const ctx = resolveParentContext(parentCtx);
1580
+ const sessionId = resolveSessionId(
1581
+ parentCtx ?? interactionContext.getStore()
1582
+ );
1583
+ const attributes = {
1584
+ ...sessionId ? { "session.id": sessionId } : {},
1585
+ ...options?.toolName ? { "gen_ai.tool.name": options.toolName } : {},
1586
+ ...options?.callId ? { "tool.call_id": options.callId } : {}
1587
+ };
1588
+ span = getTracer().startSpan(
1589
+ SPAN_TOOL_EXECUTION,
1590
+ {
1591
+ kind: SpanKind.INTERNAL,
1592
+ attributes
1593
+ },
1594
+ ctx
1595
+ );
1596
+ const spanId = getSpanId(span);
1597
+ const spanContextObj = {
1598
+ span,
1599
+ startTime: Date.now(),
1600
+ attributes,
1601
+ type: "tool.execution"
1602
+ };
1603
+ activeSpans.set(spanId, new WeakRef(spanContextObj));
1604
+ strongSpans.set(spanId, spanContextObj);
1605
+ return span;
1606
+ } catch (error) {
1607
+ try {
1608
+ span?.end();
1609
+ } catch {
1610
+ }
1537
1611
  debugLogger2.warn(
1538
- "startToolExecutionSpan called outside runInToolSpanContext \u2014 span will not be parented to tool span"
1612
+ `Failed to start tool execution span: ${error instanceof Error ? error.message : String(error)}`
1539
1613
  );
1614
+ return NOOP_SPAN;
1540
1615
  }
1541
- const ctx = resolveParentContext(parentCtx);
1542
- const sessionId = resolveSessionId(
1543
- parentCtx ?? interactionContext.getStore()
1544
- );
1545
- const span = getTracer().startSpan(
1546
- SPAN_TOOL_EXECUTION,
1547
- {
1548
- kind: SpanKind.INTERNAL,
1549
- attributes: sessionId ? { "session.id": sessionId } : {}
1550
- },
1551
- ctx
1552
- );
1553
- const spanId = getSpanId(span);
1554
- const spanContextObj = {
1555
- span,
1556
- startTime: Date.now(),
1557
- attributes: sessionId ? { "session.id": sessionId } : {},
1558
- type: "tool.execution"
1559
- };
1560
- activeSpans.set(spanId, new WeakRef(spanContextObj));
1561
- strongSpans.set(spanId, spanContextObj);
1562
- return span;
1563
1616
  }
1564
1617
  __name(startToolExecutionSpan, "startToolExecutionSpan");
1565
1618
  function endToolExecutionSpan(span, metadata) {
@@ -1585,10 +1638,20 @@ function endToolExecutionSpan(span, metadata) {
1585
1638
  endAttributes["success"] = metadata.success;
1586
1639
  if (metadata.error !== void 0)
1587
1640
  endAttributes["error"] = truncateSpanError(metadata.error);
1641
+ if (metadata.executionStatus !== void 0) {
1642
+ endAttributes["execution_status"] = metadata.executionStatus;
1643
+ }
1644
+ if (metadata.errorType !== void 0) {
1645
+ endAttributes["error_type"] = metadata.errorType;
1646
+ endAttributes["error.type"] = metadata.errorType;
1647
+ }
1588
1648
  }
1589
1649
  spanCtx.span.setAttributes(endAttributes);
1590
- if (metadata && !metadata.cancelled) {
1591
- if (metadata.success !== false) {
1650
+ const executionStatus = metadata?.executionStatus;
1651
+ const cancelled = metadata?.cancelled === true || executionStatus === "cancelled";
1652
+ if (metadata && !cancelled && executionStatus !== "not_started") {
1653
+ const succeeded = executionStatus === void 0 ? metadata.success !== false : executionStatus === "success";
1654
+ if (succeeded) {
1592
1655
  spanCtx.span.setStatus({ code: SpanStatusCode.OK });
1593
1656
  } else {
1594
1657
  spanCtx.span.setStatus({
@@ -1925,6 +1988,7 @@ export {
1925
1988
  getMeter,
1926
1989
  recordChatCompressionMetrics,
1927
1990
  recordToolCallMetrics,
1991
+ recordToolExecutionMetrics,
1928
1992
  recordTokenUsageMetrics,
1929
1993
  recordApiResponseMetrics,
1930
1994
  recordApiErrorMetrics,
@@ -5,14 +5,14 @@ import {
5
5
  enableMouseEvents,
6
6
  useKeypress,
7
7
  useKeypressContext
8
- } from "./chunk-OOPFAIWP.js";
8
+ } from "./chunk-3P4GP4S2.js";
9
9
  import {
10
10
  formatSupportedModes,
11
11
  getCommandDisplayName,
12
12
  getCommandSourceBadge,
13
13
  getCommandSourceGroup,
14
14
  getCommandSubcommandNames
15
- } from "./chunk-QZQ72YF6.js";
15
+ } from "./chunk-G2UXFO2B.js";
16
16
  import {
17
17
  INLINE_CODE_SPAN_PATTERN_SOURCE,
18
18
  calculateAverageLatency,
@@ -27,7 +27,7 @@ import {
27
27
  readInlineMathSpanAt,
28
28
  unescapeMarkdownBeforeMath,
29
29
  unescapeMarkdownDollars
30
- } from "./chunk-DJA7YBLJ.js";
30
+ } from "./chunk-C6ARWPCG.js";
31
31
  import {
32
32
  MINIMUM_MAX_HEIGHT,
33
33
  MaxSizedBox
@@ -47,7 +47,7 @@ import {
47
47
  estimateCompactToolGroupHeight,
48
48
  isCollapsibleTool,
49
49
  wrapAnsi
50
- } from "./chunk-LPLMUGIM.js";
50
+ } from "./chunk-GEP54CHX.js";
51
51
  import {
52
52
  theme
53
53
  } from "./chunk-U25CMJYY.js";
@@ -71,10 +71,10 @@ import {
71
71
  renderMermaidImageAsync,
72
72
  renderTerminalImage,
73
73
  wasKittyImageWritten
74
- } from "./chunk-PWCQRLM5.js";
74
+ } from "./chunk-2AGOQ7QO.js";
75
75
  import {
76
76
  relaunchApp
77
- } from "./chunk-PCVMRBLN.js";
77
+ } from "./chunk-D7QAZ5DF.js";
78
78
  import {
79
79
  resolveColor,
80
80
  themeManager
@@ -104,7 +104,7 @@ import {
104
104
  } from "./chunk-57OAHC2Y.js";
105
105
  import {
106
106
  createLoadedSettingsAdapter
107
- } from "./chunk-C6FU76AA.js";
107
+ } from "./chunk-K6VEL5KP.js";
108
108
  import {
109
109
  formatDuration,
110
110
  formatRelativeTime,
@@ -112,15 +112,15 @@ import {
112
112
  } from "./chunk-3SH53ANB.js";
113
113
  import {
114
114
  getPersistScopeForModelSelection
115
- } from "./chunk-KB6VSG2U.js";
115
+ } from "./chunk-RM3F46UT.js";
116
116
  import {
117
117
  getCurrentLanguage,
118
118
  localizeToolDisplayName,
119
119
  t
120
- } from "./chunk-FV4TUUDE.js";
120
+ } from "./chunk-K64OI7S7.js";
121
121
  import {
122
122
  isWorkspaceTrusted
123
- } from "./chunk-URVJ4AZC.js";
123
+ } from "./chunk-B3EBIZUY.js";
124
124
  import {
125
125
  ALL_PROVIDERS,
126
126
  IdeClient,
@@ -143,7 +143,7 @@ import {
143
143
  resolveBaseUrl,
144
144
  resolveMetadataKey,
145
145
  resolveOwnsModel
146
- } from "./chunk-E2SYUEIA.js";
146
+ } from "./chunk-YLL3SC5S.js";
147
147
  import {
148
148
  stripAnsi
149
149
  } from "./chunk-TWPJO254.js";
@@ -158,13 +158,13 @@ import {
158
158
  getMCPServerStatus,
159
159
  isVisionBridgeNoticeDisplay,
160
160
  uiTelemetryService
161
- } from "./chunk-JDJ7SC4E.js";
161
+ } from "./chunk-ZPGMDT4S.js";
162
162
  import {
163
163
  ToolDisplayNames,
164
164
  ToolNames,
165
165
  ToolNamesMigration,
166
166
  isTerminalImageDisplay
167
- } from "./chunk-CFDR3GNL.js";
167
+ } from "./chunk-D7D7RXIJ.js";
168
168
  import {
169
169
  createDebugLogger,
170
170
  escapePath,
@@ -6,10 +6,10 @@ import {
6
6
  } from "./chunk-S6LOFUVP.js";
7
7
  import {
8
8
  isInForkExecution
9
- } from "./chunk-7UXI6P72.js";
9
+ } from "./chunk-WVAESIM6.js";
10
10
  import {
11
11
  ToolNames
12
- } from "./chunk-CFDR3GNL.js";
12
+ } from "./chunk-D7D7RXIJ.js";
13
13
  import {
14
14
  init_esbuild_shims
15
15
  } from "./chunk-5O2XNYP6.js";
@@ -3,16 +3,16 @@
3
3
  import {
4
4
  settleChatRecording,
5
5
  subscribeToHeadlessChatRecordingFailures
6
- } from "./chunk-3PHUGFPH.js";
6
+ } from "./chunk-3H5RFLTS.js";
7
7
  import {
8
8
  handleAtCommand
9
- } from "./chunk-PQ5JFCNL.js";
9
+ } from "./chunk-JDNWIXHJ.js";
10
10
  import {
11
11
  JsonOutputAdapter
12
- } from "./chunk-DOCBJIBL.js";
12
+ } from "./chunk-FEUXV3DC.js";
13
13
  import {
14
14
  StreamJsonOutputAdapter
15
- } from "./chunk-M2L4TMH3.js";
15
+ } from "./chunk-N3RERU5N.js";
16
16
  import {
17
17
  buildInitialSystemReminders,
18
18
  buildSystemMessage,
@@ -24,11 +24,11 @@ import {
24
24
  insertAfterFunctionResponses,
25
25
  isSlashCommand,
26
26
  normalizePartList
27
- } from "./chunk-WDLQGFWP.js";
27
+ } from "./chunk-IWYXZAGT.js";
28
28
  import {
29
29
  RunBudgetEnforcer,
30
30
  cleanupReviewWorktreeLeases
31
- } from "./chunk-2T3RYG4L.js";
31
+ } from "./chunk-GP4IMBX5.js";
32
32
  import {
33
33
  AlreadyReportedError,
34
34
  handleBudgetExceededError,
@@ -36,10 +36,10 @@ import {
36
36
  handleError,
37
37
  handleMaxTurnsExceededError,
38
38
  handleToolError
39
- } from "./chunk-EJXATV5R.js";
39
+ } from "./chunk-VJPF6GF2.js";
40
40
  import {
41
41
  isInlineModelOverrideAllowed
42
- } from "./chunk-IMGNGOGC.js";
42
+ } from "./chunk-WU5NBSLD.js";
43
43
  import {
44
44
  PLAN_MODE_ENTRY_SIBLING_SKIP_MESSAGE,
45
45
  buildSessionRecoveryPlanFromApiHistory,
@@ -57,7 +57,7 @@ import {
57
57
  parseAndFormatApiError,
58
58
  partitionByConcurrencySafety,
59
59
  restoreWorktreeContext
60
- } from "./chunk-E2SYUEIA.js";
60
+ } from "./chunk-YLL3SC5S.js";
61
61
  import {
62
62
  parsePositiveIntegerEnv
63
63
  } from "./chunk-6PVPNMXU.js";
@@ -66,10 +66,10 @@ import {
66
66
  } from "./chunk-O6GEWCJA.js";
67
67
  import {
68
68
  GoalPersistenceUnavailableError
69
- } from "./chunk-HFVW54NL.js";
69
+ } from "./chunk-MBEMTXQT.js";
70
70
  import {
71
71
  isSystemReminderContent
72
- } from "./chunk-7UXI6P72.js";
72
+ } from "./chunk-WVAESIM6.js";
73
73
  import {
74
74
  formatFullTurnVisionNotice,
75
75
  formatVisionBridgeNotice,
@@ -79,21 +79,21 @@ import {
79
79
  shouldRunVisionBridge,
80
80
  splitImageParts,
81
81
  uiTelemetryService
82
- } from "./chunk-JDJ7SC4E.js";
82
+ } from "./chunk-ZPGMDT4S.js";
83
83
  import {
84
84
  ToolNames
85
- } from "./chunk-CFDR3GNL.js";
85
+ } from "./chunk-D7D7RXIJ.js";
86
86
  import {
87
87
  isTelemetrySdkInitialized,
88
88
  shutdownTelemetry
89
- } from "./chunk-O2ZYHG33.js";
89
+ } from "./chunk-5L6CQ4ZU.js";
90
90
  import {
91
91
  FatalInputError,
92
92
  createDebugLogger
93
93
  } from "./chunk-3RXUYQJI.js";
94
94
  import {
95
95
  registerCleanup
96
- } from "./chunk-SV5X2EUV.js";
96
+ } from "./chunk-LSYVASZS.js";
97
97
  import {
98
98
  init_esbuild_shims
99
99
  } from "./chunk-5O2XNYP6.js";
@@ -1207,14 +1207,16 @@ ${text}
1207
1207
  responseParts,
1208
1208
  resultDisplay: error.message,
1209
1209
  error,
1210
- errorType: "execution_denied" /* EXECUTION_DENIED */
1210
+ errorType: "execution_denied" /* EXECUTION_DENIED */,
1211
+ executionStatus: "not_started"
1211
1212
  });
1212
1213
  responseByRequest.set(requestInfo, {
1213
1214
  callId: requestInfo.callId,
1214
1215
  responseParts,
1215
1216
  resultDisplay: error.message,
1216
1217
  error,
1217
- errorType: "execution_denied" /* EXECUTION_DENIED */
1218
+ errorType: "execution_denied" /* EXECUTION_DENIED */,
1219
+ executionStatus: "not_started"
1218
1220
  });
1219
1221
  executedRequests.add(requestInfo);
1220
1222
  }, "finalizePlanModeEntrySiblingSkip");
@@ -1310,7 +1312,8 @@ ${text}
1310
1312
  responseParts,
1311
1313
  resultDisplay: skippedOutput,
1312
1314
  error: void 0,
1313
- errorType: void 0
1315
+ errorType: void 0,
1316
+ executionStatus: "not_started"
1314
1317
  };
1315
1318
  adapter.emitToolResult(call, toolResponse);
1316
1319
  responseByRequest.set(call, toolResponse);
@@ -1351,7 +1354,8 @@ ${text}
1351
1354
  status: statusByResponse.get(response) ?? (response.error ? "error" : "success"),
1352
1355
  resultDisplay: response.resultDisplay,
1353
1356
  error: response.error,
1354
- errorType: response.errorType
1357
+ errorType: response.errorType,
1358
+ executionStatus: response.executionStatus
1355
1359
  });
1356
1360
  }
1357
1361
  return {
@@ -5,7 +5,7 @@ import {
5
5
  BaseToolInvocation,
6
6
  ToolDisplayNames,
7
7
  ToolNames
8
- } from "./chunk-CFDR3GNL.js";
8
+ } from "./chunk-D7D7RXIJ.js";
9
9
  import {
10
10
  init_esbuild_shims
11
11
  } from "./chunk-5O2XNYP6.js";
@@ -2,7 +2,7 @@
2
2
  "use strict";
3
3
  import {
4
4
  AuthType
5
- } from "./chunk-TXZDRD36.js";
5
+ } from "./chunk-XD2PNH3K.js";
6
6
  import {
7
7
  init_esbuild_shims
8
8
  } from "./chunk-5O2XNYP6.js";
@@ -5,7 +5,7 @@ import {
5
5
  } from "./chunk-6O5DVH27.js";
6
6
  import {
7
7
  isInternalPromptId
8
- } from "./chunk-JDJ7SC4E.js";
8
+ } from "./chunk-ZPGMDT4S.js";
9
9
  import {
10
10
  createDebugLogger
11
11
  } from "./chunk-3RXUYQJI.js";
@@ -5,10 +5,10 @@ import {
5
5
  } from "./chunk-DP3IHZGG.js";
6
6
  import {
7
7
  t
8
- } from "./chunk-FV4TUUDE.js";
8
+ } from "./chunk-K64OI7S7.js";
9
9
  import {
10
10
  getNpmCliPath
11
- } from "./chunk-RNKGMZEW.js";
11
+ } from "./chunk-CAX76R46.js";
12
12
  import {
13
13
  getPackageJson
14
14
  } from "./chunk-VJNBRRZG.js";
@@ -10,7 +10,7 @@ import {
10
10
  } from "./chunk-MR3PXB6E.js";
11
11
  import {
12
12
  ideContextStore
13
- } from "./chunk-E2SYUEIA.js";
13
+ } from "./chunk-YLL3SC5S.js";
14
14
  import {
15
15
  require_proper_lockfile
16
16
  } from "./chunk-KRXPRVGL.js";
@@ -5,7 +5,7 @@ import {
5
5
  } from "./chunk-PDDYAXL2.js";
6
6
  import {
7
7
  formatMemoryUsage
8
- } from "./chunk-E2SYUEIA.js";
8
+ } from "./chunk-YLL3SC5S.js";
9
9
  import {
10
10
  detectRuntime,
11
11
  redactProxyCredentials
@@ -5,12 +5,12 @@ import {
5
5
  } from "./chunk-4NFY2S7N.js";
6
6
  import {
7
7
  t
8
- } from "./chunk-FV4TUUDE.js";
8
+ } from "./chunk-K64OI7S7.js";
9
9
  import {
10
10
  fetchGitDiff,
11
11
  findProviderByCredentials,
12
12
  resolveMetadataKey
13
- } from "./chunk-E2SYUEIA.js";
13
+ } from "./chunk-YLL3SC5S.js";
14
14
  import {
15
15
  init_esbuild_shims
16
16
  } from "./chunk-5O2XNYP6.js";
@@ -2,7 +2,7 @@
2
2
  "use strict";
3
3
  import {
4
4
  isGitRepository
5
- } from "./chunk-E2SYUEIA.js";
5
+ } from "./chunk-YLL3SC5S.js";
6
6
  import {
7
7
  createDebugLogger
8
8
  } from "./chunk-3RXUYQJI.js";
@@ -15061,6 +15061,16 @@ __name(fixStringValues, "fixStringValues");
15061
15061
 
15062
15062
  // packages/core/src/tools/tool-error.ts
15063
15063
  init_esbuild_shims();
15064
+ var StructuredToolError = class extends Error {
15065
+ constructor(message, errorType) {
15066
+ super(message);
15067
+ this.errorType = errorType;
15068
+ }
15069
+ static {
15070
+ __name(this, "StructuredToolError");
15071
+ }
15072
+ name = "StructuredToolError";
15073
+ };
15064
15074
 
15065
15075
  // packages/core/src/tools/tools.ts
15066
15076
  init_esbuild_shims();
@@ -15694,6 +15704,7 @@ export {
15694
15704
  require_fast_uri,
15695
15705
  require_dist,
15696
15706
  SchemaValidator,
15707
+ StructuredToolError,
15697
15708
  AgentStatistics,
15698
15709
  BaseToolInvocation,
15699
15710
  BaseDeclarativeTool,
@@ -2,7 +2,7 @@
2
2
  "use strict";
3
3
  import {
4
4
  runExitCleanup
5
- } from "./chunk-SV5X2EUV.js";
5
+ } from "./chunk-LSYVASZS.js";
6
6
  import {
7
7
  init_esbuild_shims
8
8
  } from "./chunk-5O2XNYP6.js";
@@ -8,10 +8,10 @@ import {
8
8
  } from "./chunk-3Z43GZUQ.js";
9
9
  import {
10
10
  t
11
- } from "./chunk-FV4TUUDE.js";
11
+ } from "./chunk-K64OI7S7.js";
12
12
  import {
13
13
  So
14
- } from "./chunk-E2SYUEIA.js";
14
+ } from "./chunk-YLL3SC5S.js";
15
15
  import {
16
16
  createDebugLogger
17
17
  } from "./chunk-3RXUYQJI.js";
@@ -2,7 +2,7 @@
2
2
  "use strict";
3
3
  import {
4
4
  BaseJsonOutputAdapter
5
- } from "./chunk-M2L4TMH3.js";
5
+ } from "./chunk-N3RERU5N.js";
6
6
  import {
7
7
  init_esbuild_shims
8
8
  } from "./chunk-5O2XNYP6.js";