@qwen-code/qwen-code 0.19.12 → 0.20.0-nightly.20260721.cda0e0348

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 (280) hide show
  1. package/bundled/qc-helper/docs/configuration/settings.md +1 -1
  2. package/bundled/qc-helper/docs/features/commands.md +54 -0
  3. package/bundled/qc-helper/docs/integration-github-action.md +1 -1
  4. package/bundled/qc-helper/docs/qwen-serve.md +44 -6
  5. package/bundled/review/DESIGN.md +2 -2
  6. package/bundled/review/SKILL.md +13 -9
  7. package/chunks/{MaxSizedBox-QOXLJGAF.js → MaxSizedBox-EE76OHAP.js} +30 -27
  8. package/chunks/{StandaloneSessionPicker-FLV6CGYJ.js → StandaloneSessionPicker-WZH4PC3K.js} +50 -45
  9. package/chunks/{acpAgent-OB2CTF3P.js → acpAgent-2ATF4LMP.js} +437 -156
  10. package/chunks/{agent-CKSI7BTR.js → agent-KTOOFWMV.js} +22 -22
  11. package/chunks/{agent-headless-U36LIYTU.js → agent-headless-WVJCQ27D.js} +22 -22
  12. package/chunks/{anthropicContentGenerator-ZZRGFEES.js → anthropicContentGenerator-W4JLNYWQ.js} +6 -5
  13. package/chunks/{artifact-tool-PHO5XEGZ.js → artifact-tool-WBCAMD3O.js} +2 -2
  14. package/chunks/{askUserQuestion-CEPBT47X.js → askUserQuestion-6DZC4UV5.js} +2 -2
  15. package/chunks/{bridge-AIKTINJG.js → bridge-T4TLAZSJ.js} +25 -25
  16. package/chunks/build-SSCNEHZZ.js +62 -0
  17. package/chunks/{ca-2SL2BXTK.js → ca-ISKASTR5.js} +606 -200
  18. package/chunks/{channel-worker-group-NEUVTPB2.js → channel-worker-group-QZV2SP5U.js} +4 -4
  19. package/chunks/{channel-worker-manager-7CQVOVWV.js → channel-worker-manager-3GMAU45H.js} +4 -4
  20. package/chunks/{channel-worker-supervisor-3BU2KNCZ.js → channel-worker-supervisor-QCXSXCRY.js} +3 -3
  21. package/chunks/{chunk-6ETOSWAO.js → chunk-246TW4IX.js} +3 -3
  22. package/chunks/{chunk-2CCDMJM7.js → chunk-25Y6JSH2.js} +3 -3
  23. package/chunks/{chunk-XSEWNUMZ.js → chunk-2CWOJ2FA.js} +8 -8
  24. package/chunks/{chunk-UZC5VPOJ.js → chunk-2GFRA3MN.js} +3 -3
  25. package/chunks/chunk-2GOPPEHK.js +442 -0
  26. package/chunks/{chunk-MRE77ST5.js → chunk-2ITGJJE2.js} +69 -2216
  27. package/chunks/{chunk-BABX5XRO.js → chunk-2LI23QA6.js} +1 -1
  28. package/chunks/{chunk-EFAXBOQO.js → chunk-32F7BZSK.js} +7 -7
  29. package/chunks/chunk-43T5WDQ7.js +127 -0
  30. package/chunks/{chunk-DJ4VHAFJ.js → chunk-4CWPMWCD.js} +7 -3
  31. package/chunks/{chunk-GMUPIMHF.js → chunk-4RA7PWIY.js} +3 -3
  32. package/chunks/{chunk-6IITZE7O.js → chunk-5JX5EWR5.js} +7 -7
  33. package/chunks/{chunk-OBSLEYCD.js → chunk-5PZ6R37W.js} +29 -2
  34. package/chunks/{chunk-HTHUX2T5.js → chunk-5QWWOFGG.js} +0 -1
  35. package/chunks/{chunk-3DJY4IFO.js → chunk-5SCI6E3E.js} +1 -1
  36. package/chunks/{chunk-GSPWDTYY.js → chunk-5WG2K5RH.js} +53 -16
  37. package/chunks/{chunk-NPMVLWYL.js → chunk-5YVZ2XLV.js} +6 -6
  38. package/chunks/{chunk-TKASNYDS.js → chunk-6DHWO5ZF.js} +3 -3
  39. package/chunks/{chunk-4CHDYDG3.js → chunk-6EFTQYW7.js} +1 -1
  40. package/chunks/{chunk-RKUMFUFM.js → chunk-6MC5ASQK.js} +4 -4
  41. package/chunks/{chunk-HZ4M2UQD.js → chunk-6RVJRVQR.js} +1 -1
  42. package/chunks/{chunk-W6CQPLWM.js → chunk-6ZBPS62S.js} +1 -1
  43. package/chunks/chunk-7KGXAXF7.js +114 -0
  44. package/chunks/{chunk-PK7COE5O.js → chunk-ABIL4ZQU.js} +1 -1
  45. package/chunks/{chunk-OEHCAWUA.js → chunk-ACW3VNUE.js} +2 -2
  46. package/chunks/{chunk-APOFULHK.js → chunk-AWVS63WA.js} +7 -6
  47. package/chunks/{chunk-KGWA7XYL.js → chunk-AY3CSB6F.js} +6 -226
  48. package/chunks/{chunk-XAAEDML2.js → chunk-AYCDXHZB.js} +1 -1
  49. package/chunks/{chunk-42VIHAYT.js → chunk-B452RETY.js} +1 -1
  50. package/chunks/{chunk-VAJS2E2D.js → chunk-BDBMYST4.js} +1 -1
  51. package/chunks/{chunk-5N7M4XYN.js → chunk-BUKOHGBE.js} +5 -5
  52. package/chunks/{chunk-F2RR4HO2.js → chunk-BVLROR2T.js} +1 -1
  53. package/chunks/{chunk-WIYV7CSF.js → chunk-BWK3FX3K.js} +3 -3
  54. package/chunks/{chunk-UE5TZ55T.js → chunk-C27BYUX6.js} +29 -2
  55. package/chunks/{chunk-KRMARA3A.js → chunk-CG2HPAVD.js} +29 -13
  56. package/chunks/{chunk-UOA2IHRI.js → chunk-CPCVCKKF.js} +1 -1
  57. package/chunks/{chunk-HD6EGS5K.js → chunk-CUJX3F4X.js} +31 -6
  58. package/chunks/{chunk-4RPARQ5D.js → chunk-D2VIDMVM.js} +2 -2
  59. package/chunks/{chunk-PUKUUASO.js → chunk-DMRO4GU2.js} +1 -1
  60. package/chunks/{chunk-64GC5EMF.js → chunk-DZZIOIVF.js} +1 -1
  61. package/chunks/{chunk-FUSMC3SZ.js → chunk-E5QFCC4X.js} +13 -8
  62. package/chunks/{chunk-LKR7QQ63.js → chunk-EAUYY7SS.js} +3 -3
  63. package/chunks/{chunk-NE6HHLL3.js → chunk-EDMGFJ3E.js} +2 -2
  64. package/chunks/{chunk-J2MKYJKZ.js → chunk-EIAK6Q2B.js} +2 -2
  65. package/chunks/{chunk-WEPXQKGP.js → chunk-EZVDJFZ7.js} +1 -1
  66. package/chunks/{chunk-NALRQ3SG.js → chunk-FCUUJKZF.js} +394 -128
  67. package/chunks/{chunk-4XCVGEEX.js → chunk-FSL5W5TI.js} +3 -3
  68. package/chunks/{chunk-CHPQFLW6.js → chunk-FYA3Y5JR.js} +5 -5
  69. package/chunks/{chunk-V4PCIS25.js → chunk-FZVSFBNW.js} +69 -7
  70. package/chunks/{chunk-4MPYGENG.js → chunk-G45NOBV7.js} +6 -6
  71. package/chunks/{chunk-OSSDHJDU.js → chunk-G45X5TRN.js} +1 -1
  72. package/chunks/{chunk-3B6PSWHE.js → chunk-GH7OEOYU.js} +4 -4
  73. package/chunks/{chunk-KANTXY7B.js → chunk-GKY2OJ7R.js} +2 -2
  74. package/chunks/chunk-GMGDLUC7.js +37 -0
  75. package/chunks/{chunk-2476XGOU.js → chunk-GPILFVPY.js} +1 -1
  76. package/chunks/{chunk-EISVEV45.js → chunk-H24SOJIQ.js} +2 -2
  77. package/chunks/{chunk-J6NT5YTN.js → chunk-H2XVO6NE.js} +1 -289
  78. package/chunks/{chunk-QIFTJDBY.js → chunk-IM2A6YO3.js} +1 -1
  79. package/chunks/{chunk-R3EDIMYZ.js → chunk-IYZENXFW.js} +1 -1
  80. package/chunks/{chunk-LPHGXXZX.js → chunk-JD3MKVKL.js} +1 -1
  81. package/chunks/{chunk-NUHSLBJZ.js → chunk-JNWZQ27S.js} +15 -9
  82. package/chunks/{chunk-ETN2G32U.js → chunk-JPRLCXAO.js} +4 -4
  83. package/chunks/{chunk-WHQNBBWW.js → chunk-JQMBPGOU.js} +2 -2
  84. package/chunks/{chunk-5QSVANRT.js → chunk-JR6UJ24K.js} +2 -2
  85. package/chunks/{chunk-VLHQMOZK.js → chunk-JRW46GQX.js} +3 -3
  86. package/chunks/{chunk-DUR7BZYK.js → chunk-KRI4VCHX.js} +53 -28
  87. package/chunks/{chunk-PR5XQ73G.js → chunk-KTNIZG2C.js} +2 -2
  88. package/chunks/{chunk-QSG4ZFG4.js → chunk-KTUQMDEP.js} +1 -1
  89. package/chunks/{chunk-HVGJWOR6.js → chunk-L4YSPHR4.js} +2 -2
  90. package/chunks/{chunk-BEZPRKD3.js → chunk-LC5CAVMS.js} +160 -2
  91. package/chunks/{chunk-67Q33DQY.js → chunk-LLDGOZMJ.js} +4 -4
  92. package/chunks/{chunk-UCTCDLDS.js → chunk-LWQ4IAOJ.js} +136 -4
  93. package/chunks/{chunk-GEHSF7MS.js → chunk-NEEB7UEN.js} +2545 -1974
  94. package/chunks/{chunk-GCY7QTCE.js → chunk-NO6XTCYT.js} +1822 -424
  95. package/chunks/{chunk-JCJPZMJV.js → chunk-OOCI5VVU.js} +1 -1
  96. package/chunks/{chunk-XSPFQQRE.js → chunk-OONJNQ42.js} +3 -3
  97. package/chunks/{chunk-ANRANWVE.js → chunk-OP4MOGXF.js} +1 -1
  98. package/chunks/{chunk-GW7BONBU.js → chunk-OV2KB55J.js} +5 -5
  99. package/chunks/{chunk-CPU6I5YV.js → chunk-P64HXIC5.js} +115 -32
  100. package/chunks/{chunk-SGPFJMRP.js → chunk-PBATSWUQ.js} +1 -1
  101. package/chunks/{chunk-GXFYV7MP.js → chunk-PFKNXN67.js} +1106 -592
  102. package/chunks/{chunk-KNGZ5EYL.js → chunk-PYNCSQSI.js} +198 -120
  103. package/chunks/{chunk-I7RRHHYG.js → chunk-QKTHJXCS.js} +1 -1
  104. package/chunks/chunk-QKYTTBYW.js +624 -0
  105. package/chunks/{chunk-76BFY7AF.js → chunk-QTERJVPZ.js} +1 -6
  106. package/chunks/{chunk-W4UN42YP.js → chunk-R3VZNHRX.js} +85 -21
  107. package/chunks/chunk-R5N7NF5D.js +1187 -0
  108. package/chunks/{chunk-ZSDFNE6Y.js → chunk-RF34V75B.js} +3 -3
  109. package/chunks/{chunk-HCCR43AY.js → chunk-RFIAR4YL.js} +1 -1
  110. package/chunks/chunk-RS7MT2QG.js +305 -0
  111. package/chunks/{chunk-BKNPMEN6.js → chunk-RVLZCXEE.js} +162 -17
  112. package/chunks/chunk-SV5PQVQE.js +71 -0
  113. package/chunks/{chunk-3ESL7JXA.js → chunk-U4VGYZN7.js} +3 -3
  114. package/chunks/{chunk-4CA4WUMS.js → chunk-UEY4AYUL.js} +2 -2
  115. package/chunks/{chunk-ZGT623SG.js → chunk-USTF7LPI.js} +12 -12
  116. package/chunks/chunk-V7RNNPGC.js +44 -0
  117. package/chunks/{chunk-VEFR4XJQ.js → chunk-W3BKN3LO.js} +1 -1
  118. package/chunks/{chunk-4SJJT466.js → chunk-WQQDJE2P.js} +94 -177
  119. package/chunks/{chunk-KMJOMWHE.js → chunk-WRRF6TEQ.js} +1 -1
  120. package/chunks/{chunk-GLH2NTPB.js → chunk-XCHUDLER.js} +1 -1
  121. package/chunks/{chunk-7SX6WZNO.js → chunk-XVVH63JG.js} +3 -3
  122. package/chunks/{chunk-N47VAEAJ.js → chunk-XZOBDSDG.js} +2379 -1291
  123. package/chunks/chunk-YGIUIIIF.js +125 -0
  124. package/chunks/{chunk-335ECZTA.js → chunk-ZEOZL37W.js} +1 -1
  125. package/chunks/{computer-use-4PUGCUQK.js → computer-use-M6MGRJF2.js} +22 -22
  126. package/chunks/{config-utils-6PJUXHLI.js → config-utils-MOGE4EVB.js} +3 -3
  127. package/chunks/{contextCommand-C57KTWFV.js → contextCommand-HTRJJYNE.js} +25 -26
  128. package/chunks/{create-sub-session-5Q42XR6I.js → create-sub-session-MB35IHCR.js} +22 -22
  129. package/chunks/{create-sub-session-DIJOV6HV.js → create-sub-session-P26FE5GG.js} +2 -2
  130. package/chunks/{cron-create-X462ERYA.js → cron-create-JWFHBDRQ.js} +4 -4
  131. package/chunks/{cron-delete-SL5UJUM3.js → cron-delete-GDX4E26G.js} +4 -4
  132. package/chunks/{cron-list-3MD6SVXI.js → cron-list-USMAIWPT.js} +4 -4
  133. package/chunks/{daemon-ZW6LHOXT.js → daemon-KLPTQIE4.js} +287 -143
  134. package/chunks/{daemon-status-provider-YPV3UXHT.js → daemon-status-provider-67EKK6S3.js} +29 -29
  135. package/chunks/{dist-NUXRQHC5.js → dist-OAV7LJGJ.js} +1 -1
  136. package/chunks/{dist-XLE6ODMB.js → dist-OMW6WDEO.js} +1 -1
  137. package/chunks/{dist-J2H4KTLB.js → dist-PJLG2XYX.js} +1 -1
  138. package/chunks/{dist-IEQSDXS7.js → dist-UIFWIFRO.js} +2 -2
  139. package/chunks/{dist-IGZMVS5R.js → dist-VGJTZL4E.js} +33 -22
  140. package/chunks/{dist-3DQNQJ6H.js → dist-XBJVSWS2.js} +1 -1
  141. package/chunks/{earlyInputCapture-5VDWSYAM.js → earlyInputCapture-7QJX25AC.js} +23 -23
  142. package/chunks/{edit-GORZTX2U.js → edit-BTPQWGAA.js} +23 -23
  143. package/chunks/{enter-worktree-LJB2AW4L.js → enter-worktree-N3SEYKOO.js} +22 -22
  144. package/chunks/{enterPlanMode-LIIPP37T.js → enterPlanMode-TN2JV5MY.js} +28 -23
  145. package/chunks/{environment-HQ2UHJ35.js → environment-HP6RK262.js} +24 -24
  146. package/chunks/{errors-6JD5VMVQ.js → errors-VHGRDDOQ.js} +24 -24
  147. package/chunks/{exit-worktree-IEP2WHOV.js → exit-worktree-FI3SQY3U.js} +22 -22
  148. package/chunks/{exitPlanMode-U5Z6XBLO.js → exitPlanMode-NZWRVIIY.js} +22 -22
  149. package/chunks/{fast-path-HFKNMP23.js → fast-path-EGP7AXNR.js} +3 -2
  150. package/chunks/{gemini-C2SCJH3N.js → gemini-AN5YMD5O.js} +70 -68
  151. package/chunks/{geminiContentGenerator-ADZTXEKV.js → geminiContentGenerator-ABTMU4FE.js} +4 -4
  152. package/chunks/{glob-GOAPGD6G.js → glob-5YABOPJB.js} +22 -22
  153. package/chunks/{grep-HZLSTX7D.js → grep-U67FKUJT.js} +22 -22
  154. package/chunks/{handleAutoUpdate-UF74WGFE.js → handleAutoUpdate-OOKBP5VD.js} +27 -28
  155. package/chunks/{i18n-FMXIYUOC.js → i18n-GMQV324P.js} +23 -23
  156. package/chunks/{initializer-ERDBM3DU.js → initializer-NWALZGQ5.js} +28 -28
  157. package/chunks/{installationInfo-LROMXYLX.js → installationInfo-Y3M433E7.js} +25 -23
  158. package/chunks/{keychain-token-storage-K23CFKGN.js → keychain-token-storage-DWRJMNH3.js} +2 -2
  159. package/chunks/{list-6JPJROU5.js → list-CQDDWHTS.js} +30 -30
  160. package/chunks/{loadedSettingsAdapter-QCWYUBBF.js → loadedSettingsAdapter-I5KG37EI.js} +27 -27
  161. package/chunks/{loop-wakeup-6H7OENTB.js → loop-wakeup-5GLTUBHA.js} +5 -5
  162. package/chunks/{ls-APTSOOS5.js → ls-FHBY3Y7I.js} +4 -4
  163. package/chunks/{lsp-HPACPJAN.js → lsp-B6VMEW6Y.js} +2 -2
  164. package/chunks/{mcp-3P3KWYWO.js → mcp-24HHCBSP.js} +27 -27
  165. package/chunks/{monitor-LMYKCF6R.js → monitor-Z7NZNNRC.js} +22 -22
  166. package/chunks/nonInteractiveCli-GVF2XDJT.js +126 -0
  167. package/chunks/{notebook-edit-IBEOVZ6A.js → notebook-edit-GFOYAQAZ.js} +23 -23
  168. package/chunks/{openaiContentGenerator-42PZKET5.js → openaiContentGenerator-XAAYV6WR.js} +11 -11
  169. package/chunks/{pidfile-VTBDIGOH.js → pidfile-ILI37KRQ.js} +23 -23
  170. package/chunks/{processUtils-L7ZKOGDG.js → processUtils-LIPJMLVZ.js} +2 -2
  171. package/chunks/{qwenContentGenerator-VR2CNFGI.js → qwenContentGenerator-DLJ3KKGZ.js} +24 -24
  172. package/chunks/{qwenOAuth2-6LS2T3Q6.js → qwenOAuth2-J47FU5PW.js} +11 -11
  173. package/chunks/react-SG7JAQSZ.js +8 -0
  174. package/chunks/{read-file-VSKOE22I.js → read-file-LCQ2KNNP.js} +8 -8
  175. package/chunks/{read-mcp-resource-C6NT52T6.js → read-mcp-resource-AKCL7I43.js} +2 -2
  176. package/chunks/{record-artifact-ENCU7QCL.js → record-artifact-PEUB7727.js} +2 -2
  177. package/chunks/resumeHistoryUtils-PSCSAKA6.js +78 -0
  178. package/chunks/{ripGrep-5V5FLW2A.js → ripGrep-Y2XW4EFC.js} +22 -22
  179. package/chunks/{run-qwen-serve-LSOPP4R2.js → run-qwen-serve-DQ5ZIR36.js} +1459 -148
  180. package/chunks/{runtime-LT7R4CS5.js → runtime-6MQFF2A6.js} +33 -31
  181. package/chunks/{scheduler-YOWQ7KZP.js → scheduler-K4S7NY3G.js} +22 -22
  182. package/chunks/{send-message-5GZ4FX2V.js → send-message-3RHE7HSM.js} +3 -3
  183. package/chunks/{serve-VWLBXKGK.js → serve-JFAAPC5J.js} +27 -27
  184. package/chunks/{server-3RW3FYOH.js → server-QB6CHRZN.js} +866 -271
  185. package/chunks/{session-ZONXFOBQ.js → session-FKPVXAAB.js} +79 -163
  186. package/chunks/{settings-JC3VC53L.js → settings-CADELKSU.js} +26 -26
  187. package/chunks/{shell-2NGEMAVM.js → shell-EON6WVVH.js} +22 -22
  188. package/chunks/{skill-3U2T6H3E.js → skill-FKSYXJ5U.js} +10 -10
  189. package/chunks/{spawnChannel-QEAUPARQ.js → spawnChannel-VM5IHLJO.js} +24 -24
  190. package/chunks/{src-75ZPXO7B.js → src-Q4XB6SVD.js} +66 -22
  191. package/chunks/{standalone-update-UUJWJWYY.js → standalone-update-KGZHPBMA.js} +24 -24
  192. package/chunks/{startInteractiveUI-V7XISPQ6.js → startInteractiveUI-EYDJIIIZ.js} +5484 -2045
  193. package/chunks/{syntheticOutput-ULOVVLY4.js → syntheticOutput-FG5PQKIR.js} +3 -3
  194. package/chunks/{task-create-DUE2PMNI.js → task-create-HX32YXO7.js} +7 -7
  195. package/chunks/{task-list-WVPNX7BZ.js → task-list-QWSY4ZIU.js} +5 -5
  196. package/chunks/{task-stop-CPEQWOT6.js → task-stop-GWC6UWAL.js} +2 -2
  197. package/chunks/{task-update-HY2LNFFB.js → task-update-NCTAB73Q.js} +7 -7
  198. package/chunks/{team-create-R6AXDYPG.js → team-create-CYP3YKYT.js} +22 -22
  199. package/chunks/{team-delete-JJV6IUOA.js → team-delete-KK37HTOG.js} +5 -5
  200. package/chunks/{team-plan-approval-O2ZPPT64.js → team-plan-approval-5LXIFKNV.js} +22 -22
  201. package/chunks/{theme-manager-YIX2IC2D.js → theme-manager-QOUMDWMP.js} +23 -23
  202. package/chunks/{todoWrite-JHHIDOIV.js → todoWrite-ERCAMLFS.js} +4 -4
  203. package/chunks/{tool-search-5IE2VO7X.js → tool-search-Q27QHQU3.js} +9 -9
  204. package/chunks/{total-session-admission-K6APQYEF.js → total-session-admission-HWVCZ2WR.js} +25 -25
  205. package/chunks/{trustedFolders-GPSSPVBF.js → trustedFolders-C6664IQC.js} +23 -23
  206. package/chunks/{update-relaunch-4BVAPX6Y.js → update-relaunch-QC3E4FZW.js} +9 -9
  207. package/chunks/{updateCheck-AHTHWLAM.js → updateCheck-MVUKJMBX.js} +33 -26
  208. package/chunks/useAutoAcceptIndicator-J234IFIS.js +80 -0
  209. package/chunks/{validateNonInterActiveAuth-UKAPCWDM.js → validateNonInterActiveAuth-YPPEKX4N.js} +61 -63
  210. package/chunks/{version-EXGWKKQE.js → version-5IXFQ4PT.js} +1 -1
  211. package/chunks/{web-fetch-ZDNE6FF2.js → web-fetch-L62NQVKN.js} +10 -10
  212. package/chunks/{workflow-G7U6OQWS.js → workflow-6MHBBFQU.js} +23 -23
  213. package/chunks/{workspace-providers-status-W6CEA6YM.js → workspace-providers-status-ZTW2B5QU.js} +30 -30
  214. package/chunks/{workspace-registration-store-OGBMWCLC.js → workspace-registration-store-P6QHCSMU.js} +7 -1
  215. package/chunks/{workspace-registry-ZUWQM44P.js → workspace-registry-R54M5O3W.js} +25 -25
  216. package/chunks/{workspace-service-UXX5P7GU.js → workspace-service-WYLRGM4A.js} +32 -32
  217. package/chunks/{workspace-skills-status-635B5R7N.js → workspace-skills-status-NN5QFU3A.js} +28 -28
  218. package/chunks/{write-file-DR3HN7IH.js → write-file-EAT3CHUK.js} +23 -23
  219. package/cli.js +11 -11
  220. package/locales/ca.js +763 -201
  221. package/package.json +3 -3
  222. package/web-shell/assets/{arc-_dVIKMdB.js → arc-B0iTWRo2.js} +1 -1
  223. package/web-shell/assets/{architectureDiagram-3BPJPVTR-MuN3nKpL.js → architectureDiagram-3BPJPVTR-DSQP4-9D.js} +1 -1
  224. package/web-shell/assets/{blockDiagram-GPEHLZMM-BtmvJjzx.js → blockDiagram-GPEHLZMM-BNPVXVT3.js} +1 -1
  225. package/web-shell/assets/{c4Diagram-AAUBKEIU-Dvi58_BU.js → c4Diagram-AAUBKEIU-DEHfJFiD.js} +1 -1
  226. package/web-shell/assets/channel-tVz-qNSq.js +1 -0
  227. package/web-shell/assets/{chunk-2J33WTMH-YqxOVhS1.js → chunk-2J33WTMH-VZ0uL1p9.js} +1 -1
  228. package/web-shell/assets/{chunk-4BX2VUAB-DoBgbC9z.js → chunk-4BX2VUAB-D5TKmvwG.js} +1 -1
  229. package/web-shell/assets/{chunk-55IACEB6-3NEQrBAr.js → chunk-55IACEB6-BDW1Lcq-.js} +1 -1
  230. package/web-shell/assets/{chunk-727SXJPM-DrCZQxp0.js → chunk-727SXJPM-Cj4h85iM.js} +1 -1
  231. package/web-shell/assets/{chunk-AQP2D5EJ-m_g3zjgv.js → chunk-AQP2D5EJ-5LeqiOhZ.js} +1 -1
  232. package/web-shell/assets/{chunk-FMBD7UC4-D1_crABJ.js → chunk-FMBD7UC4-BaTgsco7.js} +1 -1
  233. package/web-shell/assets/{chunk-ND2GUHAM-BdhgVtBx.js → chunk-ND2GUHAM-t3uGlIUk.js} +1 -1
  234. package/web-shell/assets/{chunk-QZHKN3VN-BlmThhm-.js → chunk-QZHKN3VN-rOnNXL2Q.js} +1 -1
  235. package/web-shell/assets/classDiagram-4FO5ZUOK-CWuaBxYV.js +1 -0
  236. package/web-shell/assets/classDiagram-v2-Q7XG4LA2-CWuaBxYV.js +1 -0
  237. package/web-shell/assets/{cose-bilkent-S5V4N54A-Cbjm_00Z.js → cose-bilkent-S5V4N54A-CcqXykgA.js} +1 -1
  238. package/web-shell/assets/{dagre-BM42HDAG-C39QNVgC.js → dagre-BM42HDAG-Dkjrchoy.js} +1 -1
  239. package/web-shell/assets/{diagram-2AECGRRQ-DNXSAixC.js → diagram-2AECGRRQ-B6lcra9M.js} +1 -1
  240. package/web-shell/assets/{diagram-5GNKFQAL-BCbGUPEA.js → diagram-5GNKFQAL-bAIzq3PT.js} +1 -1
  241. package/web-shell/assets/{diagram-KO2AKTUF-1eujKSDC.js → diagram-KO2AKTUF-G9MAZDNW.js} +1 -1
  242. package/web-shell/assets/{diagram-LMA3HP47-DUMKXgql.js → diagram-LMA3HP47-DVLF1uWZ.js} +1 -1
  243. package/web-shell/assets/{diagram-OG6HWLK6-BFktU3_u.js → diagram-OG6HWLK6-Cf7y20Tc.js} +1 -1
  244. package/web-shell/assets/{erDiagram-TEJ5UH35-BvJC7DLk.js → erDiagram-TEJ5UH35-C7ETZB3o.js} +1 -1
  245. package/web-shell/assets/{flowDiagram-I6XJVG4X-Cgu3PlOt.js → flowDiagram-I6XJVG4X-Cl2xgL6J.js} +1 -1
  246. package/web-shell/assets/{ganttDiagram-6RSMTGT7-DLNXN5Xh.js → ganttDiagram-6RSMTGT7-BgjbMs3q.js} +1 -1
  247. package/web-shell/assets/{gitGraphDiagram-PVQCEYII-BQFRDv6R.js → gitGraphDiagram-PVQCEYII-JVX34Omm.js} +1 -1
  248. package/web-shell/assets/index-48bIcdqF.js +1197 -0
  249. package/web-shell/assets/{index-CdC3pjP3.js → index-BG7Zc4f_.js} +1 -1
  250. package/web-shell/assets/index-BI-JAO07.css +5 -0
  251. package/web-shell/assets/{infoDiagram-5YYISTIA-DT2mOSvp.js → infoDiagram-5YYISTIA-3NYyMeZU.js} +1 -1
  252. package/web-shell/assets/{ishikawaDiagram-YF4QCWOH-9fy_K4bd.js → ishikawaDiagram-YF4QCWOH-C03VCu-U.js} +1 -1
  253. package/web-shell/assets/{journeyDiagram-JHISSGLW-CoGSEuhE.js → journeyDiagram-JHISSGLW-C9PuBRZW.js} +1 -1
  254. package/web-shell/assets/{kanban-definition-UN3LZRKU-BP9hHYIj.js → kanban-definition-UN3LZRKU-C3LvioWR.js} +1 -1
  255. package/web-shell/assets/{linear-uIroDsmp.js → linear-Du6Yw8N_.js} +1 -1
  256. package/web-shell/assets/{mermaid.core-BUwoStsA.js → mermaid.core-BXY5D2-X.js} +5 -5
  257. package/web-shell/assets/{mindmap-definition-RKZ34NQL-DZB-FWim.js → mindmap-definition-RKZ34NQL-2UrHLaDp.js} +1 -1
  258. package/web-shell/assets/{pieDiagram-4H26LBE5-YPptloKl.js → pieDiagram-4H26LBE5-dC03ml45.js} +1 -1
  259. package/web-shell/assets/{quadrantDiagram-W4KKPZXB-dgk3DSzm.js → quadrantDiagram-W4KKPZXB-CD6jARrp.js} +1 -1
  260. package/web-shell/assets/{requirementDiagram-4Y6WPE33-BH2En2i9.js → requirementDiagram-4Y6WPE33-BrK8aXfv.js} +1 -1
  261. package/web-shell/assets/{sankeyDiagram-5OEKKPKP-BB98feeI.js → sankeyDiagram-5OEKKPKP-B5Vitki_.js} +1 -1
  262. package/web-shell/assets/{sequenceDiagram-3UESZ5HK-CunAIGh8.js → sequenceDiagram-3UESZ5HK-CBy2t6Bo.js} +1 -1
  263. package/web-shell/assets/{stateDiagram-AJRCARHV-DTJs_-I2.js → stateDiagram-AJRCARHV-Enrka6T2.js} +1 -1
  264. package/web-shell/assets/stateDiagram-v2-BHNVJYJU-DUtYfXpW.js +1 -0
  265. package/web-shell/assets/{timeline-definition-PNZ67QCA-Cd4AN7O0.js → timeline-definition-PNZ67QCA-CwFq78ss.js} +1 -1
  266. package/web-shell/assets/{vennDiagram-CIIHVFJN-xIG-rUU9.js → vennDiagram-CIIHVFJN-BkOidM0g.js} +1 -1
  267. package/web-shell/assets/{wardley-L42UT6IY-D1UyjIcG.js → wardley-L42UT6IY-D_j13hQW.js} +1 -1
  268. package/web-shell/assets/{wardleyDiagram-YWT4CUSO-BVM0Mb99.js → wardleyDiagram-YWT4CUSO-7EveB1w6.js} +1 -1
  269. package/web-shell/assets/{xychartDiagram-2RQKCTM6-BX31JDSz.js → xychartDiagram-2RQKCTM6-DRkBhMXr.js} +1 -1
  270. package/web-shell/index.html +2 -2
  271. package/chunks/chunk-EDFD7VOX.js +0 -368
  272. package/chunks/chunk-GFYFLDEG.js +0 -709
  273. package/chunks/chunk-LUJQUNKY.js +0 -3288
  274. package/chunks/nonInteractiveCli-YURFHZV5.js +0 -129
  275. package/web-shell/assets/channel-Bi5TehaT.js +0 -1
  276. package/web-shell/assets/classDiagram-4FO5ZUOK-BKhhRdd1.js +0 -1
  277. package/web-shell/assets/classDiagram-v2-Q7XG4LA2-BKhhRdd1.js +0 -1
  278. package/web-shell/assets/index-C_ouplMQ.js +0 -1187
  279. package/web-shell/assets/index-XGDFJE-X.css +0 -5
  280. package/web-shell/assets/stateDiagram-v2-BHNVJYJU-DrfFMYta.js +0 -1
@@ -5,14 +5,14 @@ import {
5
5
  isTranscribableVoiceModel,
6
6
  readVoiceLanguage,
7
7
  resolveVoiceTransport
8
- } from "./chunk-2476XGOU.js";
8
+ } from "./chunk-GPILFVPY.js";
9
9
  import {
10
10
  resolvePath
11
- } from "./chunk-F2RR4HO2.js";
11
+ } from "./chunk-BVLROR2T.js";
12
12
  import {
13
13
  createDebugLogger,
14
14
  isSubpath
15
- } from "./chunk-UE5TZ55T.js";
15
+ } from "./chunk-C27BYUX6.js";
16
16
  import {
17
17
  init_esbuild_shims
18
18
  } from "./chunk-5O2XNYP6.js";
@@ -2,11 +2,11 @@
2
2
  "use strict";
3
3
  import {
4
4
  atomicWriteFileSync
5
- } from "./chunk-VAJS2E2D.js";
5
+ } from "./chunk-BDBMYST4.js";
6
6
  import {
7
7
  Storage,
8
8
  createDebugLogger
9
- } from "./chunk-UE5TZ55T.js";
9
+ } from "./chunk-C27BYUX6.js";
10
10
  import {
11
11
  init_esbuild_shims
12
12
  } from "./chunk-5O2XNYP6.js";
@@ -2,31 +2,31 @@
2
2
  "use strict";
3
3
  import {
4
4
  appEvents
5
- } from "./chunk-NALRQ3SG.js";
5
+ } from "./chunk-FCUUJKZF.js";
6
6
  import {
7
7
  CUSTOM_SANDBOX_IMAGE_ENV_VAR,
8
8
  HOST_UPDATE_RELAUNCH_ENV_VAR,
9
9
  SKIP_UPDATE_CHECK_ENV_VAR,
10
10
  requestUpdateOnExit
11
- } from "./chunk-VEFR4XJQ.js";
11
+ } from "./chunk-W3BKN3LO.js";
12
12
  import {
13
13
  require_undici
14
14
  } from "./chunk-L573Z2QZ.js";
15
15
  import {
16
16
  IdeClient,
17
17
  getAllProviderBaseUrls
18
- } from "./chunk-GCY7QTCE.js";
18
+ } from "./chunk-NO6XTCYT.js";
19
19
  import {
20
20
  initializeTelemetry
21
- } from "./chunk-CPU6I5YV.js";
21
+ } from "./chunk-P64HXIC5.js";
22
22
  import {
23
23
  detectRuntime,
24
24
  getOrCreateSharedDispatcher,
25
25
  redactProxyCredentials
26
- } from "./chunk-4CHDYDG3.js";
26
+ } from "./chunk-6EFTQYW7.js";
27
27
  import {
28
28
  createDebugLogger
29
- } from "./chunk-UE5TZ55T.js";
29
+ } from "./chunk-C27BYUX6.js";
30
30
  import {
31
31
  recordStartupEvent
32
32
  } from "./chunk-QSWDGAIC.js";
@@ -233,11 +233,11 @@ function startPostRenderPrefetches(config, settings, options = {}) {
233
233
  { updateEventEmitter },
234
234
  { t }
235
235
  ] = await Promise.all([
236
- import("./updateCheck-AHTHWLAM.js"),
237
- import("./handleAutoUpdate-UF74WGFE.js"),
238
- import("./installationInfo-LROMXYLX.js"),
236
+ import("./updateCheck-MVUKJMBX.js"),
237
+ import("./handleAutoUpdate-OOKBP5VD.js"),
238
+ import("./installationInfo-Y3M433E7.js"),
239
239
  import("./updateEventEmitter-5MKC7BLQ.js"),
240
- import("./i18n-FMXIYUOC.js")
240
+ import("./i18n-GMQV324P.js")
241
241
  ]);
242
242
  const updateFailedMessage = t(
243
243
  "Failed to check for updates. Please check your network or registry configuration."
@@ -304,7 +304,7 @@ ${t(
304
304
  state: "connecting"
305
305
  });
306
306
  try {
307
- const { connectIdeForStartup } = await import("./initializer-ERDBM3DU.js");
307
+ const { connectIdeForStartup } = await import("./initializer-NWALZGQ5.js");
308
308
  await withTimeout(
309
309
  connectIdeForStartup(config),
310
310
  "ide_connect",
@@ -330,7 +330,7 @@ ${t(
330
330
  }
331
331
  if (config.isInteractive()) {
332
332
  runDeferredTask("background_housekeeping", async () => {
333
- const { startBackgroundHousekeeping } = await import("./scheduler-YOWQ7KZP.js");
333
+ const { startBackgroundHousekeeping } = await import("./scheduler-K4S7NY3G.js");
334
334
  startBackgroundHousekeeping(config, settings);
335
335
  });
336
336
  }
@@ -0,0 +1,44 @@
1
+ // Force strict mode and setup for ESM
2
+ "use strict";
3
+ import {
4
+ init_esbuild_shims
5
+ } from "./chunk-5O2XNYP6.js";
6
+ import {
7
+ __name
8
+ } from "./chunk-J2S4EL5Y.js";
9
+
10
+ // packages/cli/src/utils/classify-api-error.ts
11
+ init_esbuild_shims();
12
+ function classifyApiError(error) {
13
+ const status = error.status;
14
+ const message = error.message?.toLowerCase() ?? "";
15
+ if (status === 429 || message.includes("rate limit")) {
16
+ return "rate_limit";
17
+ }
18
+ if (status === 401 || message.includes("unauthorized")) {
19
+ return "authentication_failed";
20
+ }
21
+ if (status === 402 || status === 403 || message.includes("billing") || message.includes("quota")) {
22
+ return "billing_error";
23
+ }
24
+ if (status === 400 || message.includes("invalid")) {
25
+ return "invalid_request";
26
+ }
27
+ if (status !== void 0 && status >= 500) {
28
+ return "server_error";
29
+ }
30
+ if (message.includes("max_tokens") || message.includes("token limit")) {
31
+ return "max_output_tokens";
32
+ }
33
+ return "unknown";
34
+ }
35
+ __name(classifyApiError, "classifyApiError");
36
+
37
+ export {
38
+ classifyApiError
39
+ };
40
+ /**
41
+ * @license
42
+ * Copyright 2025 Google LLC
43
+ * SPDX-License-Identifier: Apache-2.0
44
+ */
@@ -2,7 +2,7 @@
2
2
  "use strict";
3
3
  import {
4
4
  runExitCleanup
5
- } from "./chunk-KMJOMWHE.js";
5
+ } from "./chunk-WRRF6TEQ.js";
6
6
  import {
7
7
  init_esbuild_shims
8
8
  } from "./chunk-5O2XNYP6.js";
@@ -9,37 +9,34 @@ import {
9
9
  staleArgsWarning,
10
10
  validateAuthMethod,
11
11
  writeSkillArgs
12
- } from "./chunk-NALRQ3SG.js";
12
+ } from "./chunk-FCUUJKZF.js";
13
13
  import {
14
- isKittyProtocolEnabled
15
- } from "./chunk-5DTTYNB7.js";
16
- import {
17
- contextCommand
18
- } from "./chunk-NPMVLWYL.js";
19
- import {
20
- VSCODE_SHIFT_ENTER_SEQUENCE,
21
14
  calculateCost,
22
15
  computeSessionStats,
23
16
  diffCommand,
24
- expandCollapsedHistory,
25
17
  filterCommandsForMode,
26
18
  getSystemInfoFields,
27
- levelLabel,
28
- useKeypress,
19
+ levelLabel
20
+ } from "./chunk-2GOPPEHK.js";
21
+ import {
22
+ isKittyProtocolEnabled
23
+ } from "./chunk-5DTTYNB7.js";
24
+ import {
25
+ VSCODE_SHIFT_ENTER_SEQUENCE,
29
26
  writeOsc52
30
- } from "./chunk-MRE77ST5.js";
27
+ } from "./chunk-QKYTTBYW.js";
31
28
  import {
32
- Text
33
- } from "./chunk-GEHSF7MS.js";
29
+ contextCommand
30
+ } from "./chunk-5YVZ2XLV.js";
34
31
  import {
35
32
  themeManager
36
- } from "./chunk-XAAEDML2.js";
33
+ } from "./chunk-AYCDXHZB.js";
37
34
  import {
38
35
  getInstallationInfo
39
- } from "./chunk-OBSLEYCD.js";
36
+ } from "./chunk-5PZ6R37W.js";
40
37
  import {
41
38
  rollbackStandaloneUpdate
42
- } from "./chunk-WIYV7CSF.js";
39
+ } from "./chunk-BWK3FX3K.js";
43
40
  import {
44
41
  GITHUB_WORKFLOW_PATHS,
45
42
  INSIGHT_CSS,
@@ -53,22 +50,19 @@ import {
53
50
  toJson,
54
51
  toJsonl,
55
52
  toMarkdown
56
- } from "./chunk-GXFYV7MP.js";
53
+ } from "./chunk-PFKNXN67.js";
57
54
  import {
58
55
  stripUnsafeCharacters,
59
56
  toCodePoints
60
- } from "./chunk-J6NT5YTN.js";
61
- import {
62
- require_react
63
- } from "./chunk-HTHUX2T5.js";
57
+ } from "./chunk-RS7MT2QG.js";
64
58
  import {
65
59
  getErrorMessage as getErrorMessage2
66
- } from "./chunk-UZC5VPOJ.js";
60
+ } from "./chunk-2GFRA3MN.js";
67
61
  import {
68
62
  getExtendedSystemInfo,
69
63
  getGitVersion,
70
64
  getNpmVersion
71
- } from "./chunk-3B6PSWHE.js";
65
+ } from "./chunk-GH7OEOYU.js";
72
66
  import {
73
67
  formatDuration,
74
68
  formatMemoryUsage,
@@ -77,7 +71,7 @@ import {
77
71
  import {
78
72
  isInlineModelOverrideAllowed,
79
73
  parseAcpModelOption
80
- } from "./chunk-HVGJWOR6.js";
74
+ } from "./chunk-L4YSPHR4.js";
81
75
  import {
82
76
  formatUnsupportedVoiceModelMessage,
83
77
  getVoiceSettingsScope,
@@ -85,7 +79,7 @@ import {
85
79
  isVoiceEnabled,
86
80
  readVoiceMode,
87
81
  readVoiceModel
88
- } from "./chunk-2476XGOU.js";
82
+ } from "./chunk-GPILFVPY.js";
89
83
  import {
90
84
  OUTPUT_LANGUAGE_AUTO,
91
85
  getAllSettingKeys,
@@ -97,7 +91,7 @@ import {
97
91
  resolveOutputLanguageOrPreserveAuto,
98
92
  validateSettingValue,
99
93
  writeOutputLanguageAndRegisterPath
100
- } from "./chunk-6IITZE7O.js";
94
+ } from "./chunk-5JX5EWR5.js";
101
95
  import {
102
96
  SUPPORTED_LANGUAGES,
103
97
  getCurrentLanguage,
@@ -105,11 +99,11 @@ import {
105
99
  resolveSupportedLanguage,
106
100
  setLanguageAsync,
107
101
  t
108
- } from "./chunk-TKASNYDS.js";
102
+ } from "./chunk-6DHWO5ZF.js";
109
103
  import {
110
104
  isFolderTrustEnabled,
111
105
  loadTrustedFolders
112
- } from "./chunk-GMUPIMHF.js";
106
+ } from "./chunk-4RA7PWIY.js";
113
107
  import {
114
108
  require_strip_json_comments
115
109
  } from "./chunk-ALGGS7UH.js";
@@ -180,22 +174,22 @@ import {
180
174
  stripStartupContext,
181
175
  tryGenerateSessionTitle,
182
176
  unregisterGoalHook
183
- } from "./chunk-GCY7QTCE.js";
177
+ } from "./chunk-NO6XTCYT.js";
184
178
  import {
185
179
  external_exports
186
180
  } from "./chunk-H6XPXXMH.js";
187
181
  import {
188
182
  APPROVAL_MODES,
189
183
  FORK_SUBAGENT_TYPE
190
- } from "./chunk-UOA2IHRI.js";
184
+ } from "./chunk-CPCVCKKF.js";
191
185
  import {
192
186
  applySkillAllowedTools,
193
187
  buildSkillLlmContent
194
- } from "./chunk-OSSDHJDU.js";
188
+ } from "./chunk-G45X5TRN.js";
195
189
  import {
196
190
  HookEventName,
197
191
  sanitizeUserPromptExpansionAdditionalContext
198
- } from "./chunk-SGPFJMRP.js";
192
+ } from "./chunk-PBATSWUQ.js";
199
193
  import {
200
194
  openBrowserSecurely
201
195
  } from "./chunk-JESCGQM3.js";
@@ -213,14 +207,14 @@ import {
213
207
  resolveOpenAILogDir,
214
208
  runSideQuery,
215
209
  uiTelemetryService
216
- } from "./chunk-CPU6I5YV.js";
210
+ } from "./chunk-P64HXIC5.js";
217
211
  import {
218
212
  getAutoMemoryRoot
219
- } from "./chunk-LPHGXXZX.js";
213
+ } from "./chunk-JD3MKVKL.js";
220
214
  import {
221
215
  ToolNames,
222
216
  isShellProgressData
223
- } from "./chunk-ANRANWVE.js";
217
+ } from "./chunk-OP4MOGXF.js";
224
218
  import {
225
219
  REASONING_EFFORT_TIERS,
226
220
  normalizeReasoningEffort
@@ -233,12 +227,12 @@ import {
233
227
  isSubpath,
234
228
  resolvePath,
235
229
  updateSymlink
236
- } from "./chunk-UE5TZ55T.js";
230
+ } from "./chunk-C27BYUX6.js";
237
231
  import {
238
232
  isCpuProfileRecording,
239
233
  startCpuProfile,
240
234
  stopCpuProfile
241
- } from "./chunk-PK7COE5O.js";
235
+ } from "./chunk-ABIL4ZQU.js";
242
236
  import {
243
237
  init_esbuild_shims
244
238
  } from "./chunk-5O2XNYP6.js";
@@ -1822,100 +1816,6 @@ var arenaCommand = {
1822
1816
  // packages/cli/src/ui/commands/approvalModeCommand.ts
1823
1817
  init_esbuild_shims();
1824
1818
 
1825
- // packages/cli/src/ui/hooks/useAutoAcceptIndicator.ts
1826
- init_esbuild_shims();
1827
- var import_react = __toESM(require_react(), 1);
1828
- var AUTO_MODE_FIRST_TIME_MESSAGE_KEY = "auto_mode.entry_notice";
1829
- var AUTO_MODE_FIRST_TIME_MESSAGE_FALLBACK = "Auto mode enabled.\n An LLM classifier evaluates each tool call \u2014 safe actions auto-approve,\n risky ones are blocked. Exit: Shift+Tab or /approval-mode default.";
1830
- var getAutoModeFirstTimeMessage = /* @__PURE__ */ __name(() => {
1831
- const message = t(AUTO_MODE_FIRST_TIME_MESSAGE_KEY);
1832
- return message === AUTO_MODE_FIRST_TIME_MESSAGE_KEY ? AUTO_MODE_FIRST_TIME_MESSAGE_FALLBACK : message;
1833
- }, "getAutoModeFirstTimeMessage");
1834
- function useAutoAcceptIndicator({
1835
- config,
1836
- settings,
1837
- addItem,
1838
- onApprovalModeChange,
1839
- shouldBlockTab,
1840
- disabled
1841
- }) {
1842
- const currentConfigValue = config.getApprovalMode();
1843
- const [showAutoAcceptIndicator, setShowAutoAcceptIndicator] = (0, import_react.useState)(currentConfigValue);
1844
- (0, import_react.useEffect)(() => {
1845
- setShowAutoAcceptIndicator(currentConfigValue);
1846
- }, [currentConfigValue]);
1847
- (0, import_react.useEffect)(() => {
1848
- if (currentConfigValue === "auto" /* AUTO */) {
1849
- emitAutoModeEntryNotices({ config, settings, addItem });
1850
- }
1851
- }, []);
1852
- useKeypress(
1853
- (key) => {
1854
- const isShiftTab = key.shift && key.name === "tab";
1855
- const isWindowsTab = process.platform === "win32" && key.name === "tab" && !key.ctrl && !key.meta;
1856
- if (isShiftTab || isWindowsTab) {
1857
- if (isWindowsTab && shouldBlockTab?.()) {
1858
- return;
1859
- }
1860
- const currentMode = config.getApprovalMode();
1861
- const currentIndex = APPROVAL_MODES.indexOf(currentMode);
1862
- const nextIndex = currentIndex === -1 ? 0 : (currentIndex + 1) % APPROVAL_MODES.length;
1863
- const nextApprovalMode = APPROVAL_MODES[nextIndex];
1864
- try {
1865
- config.setApprovalMode(nextApprovalMode);
1866
- setShowAutoAcceptIndicator(nextApprovalMode);
1867
- if (nextApprovalMode === "auto" /* AUTO */ && currentMode !== "auto" /* AUTO */) {
1868
- emitAutoModeEntryNotices({ config, settings, addItem });
1869
- }
1870
- onApprovalModeChange?.(nextApprovalMode);
1871
- } catch (e) {
1872
- addItem?.(
1873
- {
1874
- type: "info" /* INFO */,
1875
- text: e.message
1876
- },
1877
- Date.now()
1878
- );
1879
- }
1880
- }
1881
- },
1882
- { isActive: !disabled }
1883
- );
1884
- return showAutoAcceptIndicator;
1885
- }
1886
- __name(useAutoAcceptIndicator, "useAutoAcceptIndicator");
1887
- function emitAutoModeEntryNotices(opts) {
1888
- const { config, settings, addItem } = opts;
1889
- if (!addItem) return;
1890
- const now = Date.now();
1891
- const acknowledged = settings?.merged.ui?.autoModeAcknowledged === true;
1892
- if (!acknowledged) {
1893
- addItem(
1894
- { type: "info" /* INFO */, text: getAutoModeFirstTimeMessage() },
1895
- now
1896
- );
1897
- if (settings) {
1898
- try {
1899
- settings.setValue("User" /* User */, "ui.autoModeAcknowledged", true);
1900
- } catch {
1901
- }
1902
- }
1903
- }
1904
- const pm = config.getPermissionManager?.();
1905
- const stripped = pm?.getStrippedDangerousRules?.();
1906
- if (stripped && (stripped.persistent.length > 0 || stripped.session.length > 0)) {
1907
- const lines = [
1908
- "\u2139 Auto mode temporarily disabled these allow rules",
1909
- " (they would bypass the classifier):",
1910
- ...stripped.persistent.map((r) => ` - ${r.raw} (from user settings)`),
1911
- ...stripped.session.map((r) => ` - ${r.raw} (session)`),
1912
- " These will be restored when leaving auto mode."
1913
- ];
1914
- addItem({ type: "info" /* INFO */, text: lines.join("\n") }, now + 1);
1915
- }
1916
- }
1917
- __name(emitAutoModeEntryNotices, "emitAutoModeEntryNotices");
1918
-
1919
1819
  // packages/cli/src/ui/utils/approvalModeDisplay.ts
1920
1820
  init_esbuild_shims();
1921
1821
  function formatApprovalModeName(mode) {
@@ -1993,6 +1893,17 @@ var approvalModeCommand = {
1993
1893
  if (config) {
1994
1894
  try {
1995
1895
  priorMode = config.getApprovalMode();
1896
+ } catch (e) {
1897
+ return {
1898
+ type: "message",
1899
+ messageType: "error",
1900
+ content: e.message
1901
+ };
1902
+ }
1903
+ }
1904
+ const autoModeNotices = mode === "auto" /* AUTO */ && priorMode !== "auto" /* AUTO */ && config ? await import("./useAutoAcceptIndicator-J234IFIS.js") : void 0;
1905
+ if (config) {
1906
+ try {
1996
1907
  config.setApprovalMode(mode);
1997
1908
  } catch (e) {
1998
1909
  return {
@@ -2002,8 +1913,8 @@ var approvalModeCommand = {
2002
1913
  };
2003
1914
  }
2004
1915
  }
2005
- if (mode === "auto" /* AUTO */ && priorMode !== "auto" /* AUTO */ && config) {
2006
- emitAutoModeEntryNotices({
1916
+ if (autoModeNotices && config) {
1917
+ autoModeNotices.emitAutoModeEntryNotices({
2007
1918
  config,
2008
1919
  settings,
2009
1920
  addItem: context.ui.addItem
@@ -2309,12 +2220,20 @@ function getPathCompletions(prefix, partial) {
2309
2220
  const searchDir = endsWithSep ? expanded : path2.dirname(expanded);
2310
2221
  const namePrefix = endsWithSep ? "" : path2.basename(expanded);
2311
2222
  try {
2312
- return fs2.readdirSync(searchDir, { withFileTypes: true }).filter(
2223
+ const children = fs2.readdirSync(searchDir, { withFileTypes: true }).filter(
2313
2224
  (e) => e.isDirectory() && e.name.startsWith(namePrefix) && !e.name.startsWith(".")
2314
2225
  ).map((e) => ({
2315
2226
  value: prefix + path2.join(searchDir, e.name) + path2.sep,
2316
2227
  isDirectory: true
2317
- })).slice(0, 8);
2228
+ }));
2229
+ if (endsWithSep) {
2230
+ const selfPath = prefix + searchDir;
2231
+ const normalizedSelf = selfPath.endsWith(path2.sep) ? selfPath : selfPath + path2.sep;
2232
+ if (!children.some((c) => c.value === normalizedSelf)) {
2233
+ children.unshift({ value: normalizedSelf, isDirectory: true });
2234
+ }
2235
+ }
2236
+ return children.slice(0, 8);
2318
2237
  } catch {
2319
2238
  return [];
2320
2239
  }
@@ -6302,7 +6221,7 @@ var expandNowCommand = {
6302
6221
  },
6303
6222
  kind: "built-in" /* BUILT_IN */,
6304
6223
  supportedModes: ["interactive"],
6305
- action: /* @__PURE__ */ __name((context) => {
6224
+ action: /* @__PURE__ */ __name(async (context) => {
6306
6225
  const { history, loadHistory, refreshStatic } = context.ui;
6307
6226
  const hasSuppressed = history.some(
6308
6227
  (item) => item.display?.suppressOnRestore
@@ -6314,6 +6233,7 @@ var expandNowCommand = {
6314
6233
  content: t("History is already expanded in this session.")
6315
6234
  };
6316
6235
  }
6236
+ const { expandCollapsedHistory } = await import("./resumeHistoryUtils-PSCSAKA6.js");
6317
6237
  const updated = expandCollapsedHistory(history);
6318
6238
  loadHistory(updated);
6319
6239
  refreshStatic();
@@ -7722,7 +7642,6 @@ ${usage()}`
7722
7642
  init_esbuild_shims();
7723
7643
  import * as fs7 from "node:fs";
7724
7644
  import * as path8 from "node:path";
7725
- var import_react2 = __toESM(require_react(), 1);
7726
7645
  var initCommand = {
7727
7646
  name: "init",
7728
7647
  get description() {
@@ -7743,27 +7662,30 @@ var initCommand = {
7743
7662
  const contextFilePath = path8.join(targetDir, contextFileName);
7744
7663
  try {
7745
7664
  if (fs7.existsSync(contextFilePath)) {
7665
+ let existing = "";
7746
7666
  try {
7747
- const existing = fs7.readFileSync(contextFilePath, "utf8");
7748
- if (existing && existing.trim().length > 0) {
7749
- if (!context.overwriteConfirmed) {
7750
- return {
7751
- type: "confirm_action",
7752
- // TODO: Move to .tsx file to use JSX syntax instead of React.createElement
7753
- // For now, using React.createElement to maintain .ts compatibility for PR review
7754
- prompt: import_react2.default.createElement(
7755
- Text,
7756
- null,
7757
- `A ${contextFileName} file already exists in this directory. Do you want to regenerate it?`
7758
- ),
7759
- originalInvocation: {
7760
- raw: context.invocation?.raw || "/init"
7761
- }
7762
- };
7763
- }
7764
- }
7667
+ existing = fs7.readFileSync(contextFilePath, "utf8");
7765
7668
  } catch {
7766
7669
  }
7670
+ if (existing && existing.trim().length > 0) {
7671
+ if (!context.overwriteConfirmed) {
7672
+ const [{ Text }, { default: React }] = await Promise.all([
7673
+ import("./build-SSCNEHZZ.js"),
7674
+ import("./react-SG7JAQSZ.js")
7675
+ ]);
7676
+ return {
7677
+ type: "confirm_action",
7678
+ prompt: React.createElement(
7679
+ Text,
7680
+ null,
7681
+ `A ${contextFileName} file already exists in this directory. Do you want to regenerate it?`
7682
+ ),
7683
+ originalInvocation: {
7684
+ raw: context.invocation?.raw || "/init"
7685
+ }
7686
+ };
7687
+ }
7688
+ }
7767
7689
  }
7768
7690
  try {
7769
7691
  fs7.writeFileSync(contextFilePath, "", "utf8");
@@ -13045,10 +12967,10 @@ var updateCommand = {
13045
12967
  { performStandaloneUpdate },
13046
12968
  installationInfo
13047
12969
  ] = await Promise.all([
13048
- import("./updateCheck-AHTHWLAM.js"),
13049
- import("./processUtils-L7ZKOGDG.js"),
13050
- import("./standalone-update-UUJWJWYY.js"),
13051
- import("./installationInfo-LROMXYLX.js")
12970
+ import("./updateCheck-MVUKJMBX.js"),
12971
+ import("./processUtils-LIPJMLVZ.js"),
12972
+ import("./standalone-update-KGZHPBMA.js"),
12973
+ import("./installationInfo-Y3M433E7.js")
13052
12974
  ]);
13053
12975
  const { formatUpdateInstructions, getInstallationInfo: getInstallationInfo2 } = installationInfo;
13054
12976
  const settings = context.services.settings;
@@ -14351,25 +14273,21 @@ var McpPromptLoader = class {
14351
14273
  promptInputs[arg.name] = argValues[arg.name];
14352
14274
  }
14353
14275
  }
14354
- const unfilledArgs = promptArgs.filter(
14355
- (arg) => arg.required && !Object.hasOwn(promptInputs, arg.name)
14356
- );
14357
- if (unfilledArgs.length === 1) {
14276
+ const unfilledArgs = promptArgs.filter((arg) => !Object.hasOwn(promptInputs, arg.name)).sort((a, b) => a.required === b.required ? 0 : a.required ? -1 : 1);
14277
+ if (unfilledArgs.length === 1 && positionalArgs.length > 0) {
14358
14278
  promptInputs[unfilledArgs[0].name] = positionalArgs.join(" ");
14359
- } else {
14360
- const missingArgs = [];
14361
- for (let i = 0; i < unfilledArgs.length; i++) {
14362
- if (positionalArgs.length > i) {
14363
- promptInputs[unfilledArgs[i].name] = positionalArgs[i];
14364
- } else {
14365
- missingArgs.push(unfilledArgs[i].name);
14366
- }
14367
- }
14368
- if (missingArgs.length > 0) {
14369
- const missingArgNames = missingArgs.map((name) => `--${name}`).join(", ");
14370
- return new Error(`Missing required argument(s): ${missingArgNames}`);
14279
+ } else if (positionalArgs.length > 0) {
14280
+ for (let i = 0; i < unfilledArgs.length && i < positionalArgs.length; i++) {
14281
+ promptInputs[unfilledArgs[i].name] = positionalArgs[i];
14371
14282
  }
14372
14283
  }
14284
+ const missingRequired = promptArgs.filter(
14285
+ (arg) => arg.required && !Object.hasOwn(promptInputs, arg.name)
14286
+ );
14287
+ if (missingRequired.length > 0) {
14288
+ const missingArgNames = missingRequired.map((arg) => `--${arg.name}`).join(", ");
14289
+ return new Error(`Missing required argument(s): ${missingArgNames}`);
14290
+ }
14373
14291
  return promptInputs;
14374
14292
  }
14375
14293
  };
@@ -15239,7 +15157,6 @@ export {
15239
15157
  parseSlashCommand,
15240
15158
  parseStackedSlashCommands,
15241
15159
  CommandService,
15242
- useAutoAcceptIndicator,
15243
15160
  formatApprovalModeName,
15244
15161
  formatApprovalModeDescription,
15245
15162
  hasBlockingBackgroundWork,
@@ -60,7 +60,7 @@ async function runExitCleanup(options = {}) {
60
60
  }
61
61
  __name(runExitCleanup, "runExitCleanup");
62
62
  async function cleanupCheckpoints() {
63
- const { Storage } = await import("./src-75ZPXO7B.js");
63
+ const { Storage } = await import("./src-Q4XB6SVD.js");
64
64
  const storage = new Storage(process.cwd());
65
65
  const tempDir = storage.getProjectTempDir();
66
66
  const checkpointsDir = join(tempDir, "checkpoints");
@@ -14,7 +14,7 @@ import {
14
14
  init_esbuild_shims();
15
15
  async function getCliVersion() {
16
16
  const pkgJson = await getPackageJson();
17
- return "0.19.12";
17
+ return "0.20.0-nightly.20260721.cda0e0348";
18
18
  }
19
19
  __name(getCliVersion, "getCliVersion");
20
20
 
@@ -2,11 +2,11 @@
2
2
  "use strict";
3
3
  import {
4
4
  createTask
5
- } from "./chunk-XSPFQQRE.js";
5
+ } from "./chunk-OONJNQ42.js";
6
6
  import {
7
7
  getPlanRequiredTeammatePreApprovalMessage,
8
8
  isPlanRequiredTeammateAwaitingApproval
9
- } from "./chunk-UOA2IHRI.js";
9
+ } from "./chunk-CPCVCKKF.js";
10
10
  import {
11
11
  resolveActiveTeamName
12
12
  } from "./chunk-6AM5D4ME.js";
@@ -15,7 +15,7 @@ import {
15
15
  BaseToolInvocation,
16
16
  ToolDisplayNames,
17
17
  ToolNames
18
- } from "./chunk-ANRANWVE.js";
18
+ } from "./chunk-OP4MOGXF.js";
19
19
  import {
20
20
  init_esbuild_shims
21
21
  } from "./chunk-5O2XNYP6.js";