@caspian2026/agent-sdk 0.0.24 → 0.0.25

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 (213) hide show
  1. package/dist/{chunk-2gcbr1c7.js → chunk-04n4fe72.js} +15 -15
  2. package/dist/{chunk-46dm23zs.js → chunk-04ys66ej.js} +14 -14
  3. package/dist/{chunk-kvyrxzj8.js → chunk-086x4ct4.js} +1 -1
  4. package/dist/{chunk-bfb41q9h.js → chunk-0btqb97n.js} +2 -2
  5. package/dist/{chunk-hafcrnpc.js → chunk-0r1rjydx.js} +14 -14
  6. package/dist/{chunk-h92snc84.js → chunk-0teq2mz0.js} +15 -15
  7. package/dist/{chunk-6pkh8frk.js → chunk-0warp8dx.js} +15 -15
  8. package/dist/{chunk-d23rmn8r.js → chunk-10gzv316.js} +2 -2
  9. package/dist/{chunk-e5qhvhjy.js → chunk-11pq9n08.js} +15 -15
  10. package/dist/{chunk-4nc3t6ms.js → chunk-1fmb0njn.js} +22 -22
  11. package/dist/{chunk-gsbw2j2b.js → chunk-1ng8xwxz.js} +13 -13
  12. package/dist/{chunk-qb5qcctj.js → chunk-1v7jp29h.js} +3 -3
  13. package/dist/{chunk-08bspa4b.js → chunk-1xxy5zhb.js} +18 -18
  14. package/dist/{chunk-a4m3yr2q.js → chunk-20b73w7w.js} +2 -2
  15. package/dist/{chunk-jz71gv95.js → chunk-20qxd83a.js} +6 -6
  16. package/dist/{chunk-6xgb0kqz.js → chunk-2239ny9q.js} +16 -16
  17. package/dist/{chunk-dygx7vcc.js → chunk-22d4rnef.js} +15 -15
  18. package/dist/{chunk-jdhkh2bb.js → chunk-27225bjh.js} +3 -3
  19. package/dist/{chunk-dfq6pbq7.js → chunk-2b0e32an.js} +4 -4
  20. package/dist/{chunk-5ssfz438.js → chunk-2bfa9w1y.js} +14 -14
  21. package/dist/{chunk-9wbh8n1y.js → chunk-2epq04w1.js} +2 -2
  22. package/dist/{chunk-3vwft0eh.js → chunk-2mexte1r.js} +15 -15
  23. package/dist/{chunk-awqsddp2.js → chunk-2mzaqh5g.js} +14 -14
  24. package/dist/{chunk-5bffhf64.js → chunk-2tb6mzfc.js} +1 -1
  25. package/dist/{chunk-ecj9w6tm.js → chunk-2xq0g43w.js} +15 -15
  26. package/dist/{chunk-62v5kkff.js → chunk-334aeqg9.js} +14 -14
  27. package/dist/{chunk-wb18cecv.js → chunk-34jx4rjd.js} +1 -1
  28. package/dist/{chunk-20ahkkrb.js → chunk-35w5nhex.js} +1 -1
  29. package/dist/{chunk-k7akhwkn.js → chunk-3eaxj8dg.js} +1 -1
  30. package/dist/{chunk-b9mkm8mg.js → chunk-3fdgrwd2.js} +13 -13
  31. package/dist/{chunk-sdenh194.js → chunk-3jw0r58d.js} +24 -24
  32. package/dist/{chunk-9vzg1360.js → chunk-3x78pd4j.js} +2 -2
  33. package/dist/{chunk-rtd39n81.js → chunk-47x3dsmn.js} +1 -1
  34. package/dist/{chunk-4060b3s2.js → chunk-49pqt48n.js} +4 -4
  35. package/dist/{chunk-2s74bt6e.js → chunk-4f7m9fjw.js} +14 -14
  36. package/dist/{chunk-sz62n77p.js → chunk-4net8san.js} +13 -13
  37. package/dist/{chunk-h2yy8k4c.js → chunk-4v125j4z.js} +2 -2
  38. package/dist/{chunk-80a197ez.js → chunk-4vxkv5vz.js} +8 -8
  39. package/dist/{chunk-72ys9m07.js → chunk-51fqpjy3.js} +16 -16
  40. package/dist/{chunk-nhsm3ntd.js → chunk-52e64f2h.js} +4 -4
  41. package/dist/{chunk-p97fd5af.js → chunk-52e9mdjv.js} +1 -1
  42. package/dist/{chunk-yst0wmgw.js → chunk-59pq5122.js} +13 -13
  43. package/dist/{chunk-15jsw9bb.js → chunk-5bsj67v1.js} +1 -1
  44. package/dist/{chunk-jwf0s51s.js → chunk-5gcqdn8x.js} +13 -13
  45. package/dist/{chunk-n4tx7baq.js → chunk-5hf3werb.js} +13 -13
  46. package/dist/{chunk-a0bvcgyd.js → chunk-5wfxvxm8.js} +15 -15
  47. package/dist/{chunk-g78c6ztj.js → chunk-5wjebwmn.js} +15 -15
  48. package/dist/{chunk-snrjy66h.js → chunk-5zwsxpjn.js} +8 -8
  49. package/dist/{chunk-awrgzpk6.js → chunk-60phw466.js} +2 -2
  50. package/dist/{chunk-64smdx4a.js → chunk-65t1r7zs.js} +13 -13
  51. package/dist/{chunk-t2ecddwj.js → chunk-67hxjjgc.js} +1 -1
  52. package/dist/{chunk-jeqcwgt7.js → chunk-69dr6rrd.js} +14 -14
  53. package/dist/{chunk-05kvhzd7.js → chunk-6dp8sz55.js} +19 -19
  54. package/dist/{chunk-h5acpdqt.js → chunk-6hqgg0sv.js} +13 -13
  55. package/dist/{chunk-hph1bmqw.js → chunk-6p0hbwz3.js} +1 -1
  56. package/dist/{chunk-w0kxcv73.js → chunk-6ywdv5vg.js} +13 -13
  57. package/dist/{chunk-rmgbs5an.js → chunk-6zc758qw.js} +13 -13
  58. package/dist/{chunk-sq4a0yjh.js → chunk-7fxaphbq.js} +3 -3
  59. package/dist/{chunk-k4dcreh0.js → chunk-7xdk4109.js} +2 -2
  60. package/dist/{chunk-7c8b8cfb.js → chunk-87m69h0v.js} +14 -14
  61. package/dist/{chunk-2wtkvpp2.js → chunk-8jbw0fnf.js} +13 -13
  62. package/dist/{chunk-sfrb15b2.js → chunk-8jf9se66.js} +1 -1
  63. package/dist/{chunk-vvvrv61g.js → chunk-8p65embj.js} +7 -7
  64. package/dist/{chunk-bn7t681c.js → chunk-8qrmaff1.js} +14 -14
  65. package/dist/{chunk-n4eabmqd.js → chunk-8r975mwc.js} +15 -15
  66. package/dist/{chunk-928tzaa8.js → chunk-93emz367.js} +13 -13
  67. package/dist/{chunk-ywe9dbnz.js → chunk-948mn975.js} +3 -3
  68. package/dist/{chunk-tkx5eec8.js → chunk-99chkt7r.js} +1 -1
  69. package/dist/{chunk-603y0mmg.js → chunk-9f7c1hzz.js} +2 -2
  70. package/dist/{chunk-shkycj1q.js → chunk-9fk9ps1g.js} +1 -1
  71. package/dist/{chunk-wnwfwyj4.js → chunk-9rh0k0aq.js} +3 -3
  72. package/dist/{chunk-9q3xfy27.js → chunk-a0k2vj5b.js} +5 -5
  73. package/dist/{chunk-atfzpm6r.js → chunk-a0m57ssq.js} +13 -13
  74. package/dist/{chunk-4v63px9y.js → chunk-a0nsmmz1.js} +15 -15
  75. package/dist/{chunk-j3qbygme.js → chunk-a25jh1v4.js} +13 -13
  76. package/dist/{chunk-jxge4dgh.js → chunk-a4j5ekv0.js} +2 -2
  77. package/dist/{chunk-q3hfrat2.js → chunk-a8k3zf58.js} +1 -1
  78. package/dist/{chunk-jgvk0za1.js → chunk-ah0zarbq.js} +14 -14
  79. package/dist/{chunk-xz5gbhc3.js → chunk-b8kcqqds.js} +13 -13
  80. package/dist/{chunk-qn1be1vf.js → chunk-bqrkfekw.js} +1 -1
  81. package/dist/{chunk-cmmmc8e0.js → chunk-c7e5yv0q.js} +13 -13
  82. package/dist/{chunk-n6g4jbeh.js → chunk-cb5v8w7k.js} +13 -13
  83. package/dist/{chunk-y1vyezct.js → chunk-cqxm7ggc.js} +13 -13
  84. package/dist/{chunk-dpnmf0pq.js → chunk-d089t7dk.js} +3 -3
  85. package/dist/{chunk-rkv5jq0y.js → chunk-d1z934cp.js} +3 -3
  86. package/dist/{chunk-ye2q9gqj.js → chunk-d7xw8v91.js} +2 -2
  87. package/dist/{chunk-bn0zv2y2.js → chunk-dc06c3rw.js} +13 -13
  88. package/dist/{chunk-fdvaf6nn.js → chunk-dnmp7s85.js} +1 -1
  89. package/dist/{chunk-0nbp5jwx.js → chunk-dqqwjkv3.js} +9 -9
  90. package/dist/{chunk-mz6a0phh.js → chunk-dt2mr4vf.js} +6 -6
  91. package/dist/{chunk-f3kk0p3s.js → chunk-dztm97gg.js} +1 -1
  92. package/dist/{chunk-gnpt1t6q.js → chunk-e0ragz46.js} +128 -106
  93. package/dist/{chunk-srj6qnf6.js → chunk-ebwskmsr.js} +1 -1
  94. package/dist/{chunk-x3g44n7k.js → chunk-efztk52j.js} +14 -14
  95. package/dist/{chunk-8s07t4k7.js → chunk-ehd8wacx.js} +2 -2
  96. package/dist/{chunk-yfg3adfq.js → chunk-eva785x8.js} +14 -14
  97. package/dist/{chunk-3wvqzq9w.js → chunk-f2ajmcav.js} +16 -16
  98. package/dist/{chunk-j2xxd002.js → chunk-fev86f95.js} +13 -13
  99. package/dist/{chunk-434e0vh4.js → chunk-fk6ktvg2.js} +2 -2
  100. package/dist/{chunk-zaq348h2.js → chunk-fqwas4jk.js} +2 -2
  101. package/dist/{chunk-yz2kzqk5.js → chunk-fs35fdpj.js} +17 -17
  102. package/dist/{chunk-sdtqp75c.js → chunk-fvr3f9s3.js} +4 -4
  103. package/dist/{chunk-4qhh8bpa.js → chunk-g2g9cwt9.js} +2 -2
  104. package/dist/{chunk-njev89d1.js → chunk-g4znz46v.js} +14 -14
  105. package/dist/{chunk-qpp3wwh5.js → chunk-g5ts4e6k.js} +22 -22
  106. package/dist/{chunk-2grc1yr8.js → chunk-g6een9wr.js} +5 -5
  107. package/dist/{chunk-gcktsbxb.js → chunk-g7cmtx8r.js} +1 -1
  108. package/dist/{chunk-dkgkd8b7.js → chunk-gc7ap41t.js} +2 -2
  109. package/dist/{chunk-z263ehpg.js → chunk-gg14h3n4.js} +16 -16
  110. package/dist/{chunk-31rsspfr.js → chunk-gq7zab4e.js} +13 -13
  111. package/dist/{chunk-0nj16az9.js → chunk-gydw3qy3.js} +2 -2
  112. package/dist/{chunk-3jm08aaw.js → chunk-h19r628d.js} +2 -2
  113. package/dist/{chunk-zy5vn8sd.js → chunk-h2k8mt3z.js} +1 -1
  114. package/dist/{chunk-1gq4r3v1.js → chunk-hc2chp3g.js} +1 -1
  115. package/dist/{chunk-sk7h93je.js → chunk-hemcv9t7.js} +3 -3
  116. package/dist/{chunk-e60y6r1n.js → chunk-hm62ntv3.js} +1 -1
  117. package/dist/{chunk-jpdbfwvq.js → chunk-hmq09ytj.js} +3 -3
  118. package/dist/{chunk-cevq1787.js → chunk-hmv4hhqt.js} +13 -13
  119. package/dist/{chunk-ndcmqfkv.js → chunk-j6v3w4yf.js} +2 -2
  120. package/dist/{chunk-pnds7g1q.js → chunk-jc29d2nm.js} +14 -14
  121. package/dist/{chunk-bdjx14rd.js → chunk-jd4sx4wh.js} +4 -4
  122. package/dist/{chunk-h27tjbp3.js → chunk-jha8n8b9.js} +50 -50
  123. package/dist/{chunk-sm8g6fsm.js → chunk-jj71qx7m.js} +24 -24
  124. package/dist/{chunk-gz7vn2gg.js → chunk-jka9vpak.js} +21 -21
  125. package/dist/{chunk-shd4yhsf.js → chunk-jkf6ayv0.js} +2 -2
  126. package/dist/{chunk-f6h5weh6.js → chunk-jpz6t2tt.js} +1 -1
  127. package/dist/{chunk-gybt680f.js → chunk-jqt3sw12.js} +85 -85
  128. package/dist/{chunk-h0d5eat0.js → chunk-jswd1q63.js} +16 -16
  129. package/dist/{chunk-5pysjah8.js → chunk-jtc4aa2y.js} +1 -1
  130. package/dist/{chunk-jmjwrbwd.js → chunk-jyx3h86z.js} +13 -13
  131. package/dist/{chunk-9bzqvsz5.js → chunk-k6x3s7x5.js} +25 -25
  132. package/dist/{chunk-y45ecntg.js → chunk-k7kmvnnx.js} +13 -13
  133. package/dist/{chunk-xbeg2hej.js → chunk-k9vm6x6z.js} +13 -13
  134. package/dist/{chunk-nhcg04jt.js → chunk-kb1edvhs.js} +1 -1
  135. package/dist/{chunk-t33hmmmm.js → chunk-kbhbe33q.js} +21 -21
  136. package/dist/{chunk-b4hy21c4.js → chunk-kgcgpp7z.js} +14 -14
  137. package/dist/{chunk-0n843xh7.js → chunk-kvywbvqs.js} +4 -4
  138. package/dist/{chunk-vt5wm07k.js → chunk-kwyk9zp1.js} +1 -1
  139. package/dist/{chunk-16m7eyyw.js → chunk-mr2z79r3.js} +17 -17
  140. package/dist/{chunk-zr0qx9q0.js → chunk-mst9nmns.js} +3 -3
  141. package/dist/{chunk-949pjzj9.js → chunk-n1e3fjpz.js} +3 -3
  142. package/dist/{chunk-xhscn33a.js → chunk-n6vjp9yg.js} +1 -1
  143. package/dist/{chunk-jzvd2ycp.js → chunk-n84tqtvv.js} +1 -1
  144. package/dist/{chunk-21pbfch8.js → chunk-n8ssddbw.js} +14 -14
  145. package/dist/{chunk-a8jd4gee.js → chunk-na35whkd.js} +4 -4
  146. package/dist/{chunk-n6wzfxf1.js → chunk-ng7j0yy1.js} +14 -14
  147. package/dist/{chunk-1z8p2eqd.js → chunk-pf0152j3.js} +3 -3
  148. package/dist/{chunk-hk4phsaw.js → chunk-pq5qp2y4.js} +6 -6
  149. package/dist/{chunk-2v385w7r.js → chunk-pws8gq7m.js} +33 -33
  150. package/dist/{chunk-h64x5b04.js → chunk-pyq0fabn.js} +13 -13
  151. package/dist/{chunk-e68kgvcq.js → chunk-q0p1m40t.js} +2 -2
  152. package/dist/{chunk-br4wgffc.js → chunk-q0vhv550.js} +3 -3
  153. package/dist/{chunk-0vr10742.js → chunk-q7r0kt08.js} +4 -4
  154. package/dist/{chunk-1zjh9cc5.js → chunk-qg2qgx8h.js} +1 -1
  155. package/dist/{chunk-qgk93a75.js → chunk-qtwgzej9.js} +14 -14
  156. package/dist/{chunk-f03s83vj.js → chunk-r1dh0ymt.js} +14 -14
  157. package/dist/{chunk-kgd7gfvk.js → chunk-r36xvgvv.js} +13 -13
  158. package/dist/{chunk-cyhrb0bk.js → chunk-r48he8g3.js} +3 -3
  159. package/dist/{chunk-1t0rqstn.js → chunk-r63tqmtk.js} +15 -15
  160. package/dist/{chunk-3v4sk2py.js → chunk-rbdd3q5k.js} +13 -13
  161. package/dist/{chunk-jps4m6sz.js → chunk-rrs2mchs.js} +1 -1
  162. package/dist/{chunk-4bh4qs70.js → chunk-rtrybvnp.js} +2 -2
  163. package/dist/{chunk-1qg06d60.js → chunk-rw2wkn45.js} +2 -2
  164. package/dist/{chunk-5mbgdvyz.js → chunk-s4kzkdhd.js} +2 -2
  165. package/dist/{chunk-8akrsgad.js → chunk-s7a0zn7b.js} +4 -4
  166. package/dist/{chunk-phmnkw9y.js → chunk-sag785ad.js} +13 -13
  167. package/dist/{chunk-r0bx1gc7.js → chunk-scqjyben.js} +13 -13
  168. package/dist/{chunk-n2tg12hg.js → chunk-sdtqm0nm.js} +21 -21
  169. package/dist/{chunk-5fy4r8rv.js → chunk-sg60xg0x.js} +2 -2
  170. package/dist/{chunk-5e6ncq5j.js → chunk-sz9y6z13.js} +1 -1
  171. package/dist/{chunk-qnwne2m4.js → chunk-t2b49hcf.js} +3 -3
  172. package/dist/{chunk-jf75p9ap.js → chunk-t2wqdppz.js} +1 -1
  173. package/dist/{chunk-741sgvtx.js → chunk-t70t2gne.js} +24 -24
  174. package/dist/{chunk-4cxzbqws.js → chunk-tkrstmwz.js} +22 -22
  175. package/dist/{chunk-4xnnzt3j.js → chunk-tnyb4exc.js} +1 -1
  176. package/dist/{chunk-hvnztnp3.js → chunk-tpn8jsvw.js} +1 -1
  177. package/dist/{chunk-0q6b50ps.js → chunk-tt7x5j1q.js} +2 -2
  178. package/dist/{chunk-ta3jyvxs.js → chunk-tw1p628z.js} +3 -3
  179. package/dist/{chunk-mjazvyd8.js → chunk-twvdafcz.js} +63 -63
  180. package/dist/{chunk-0vaw02wq.js → chunk-tzwjafgn.js} +1 -1
  181. package/dist/{chunk-dcwp94cj.js → chunk-v140t8ay.js} +1 -1
  182. package/dist/{chunk-4zchh01h.js → chunk-vcfbjkk9.js} +13 -13
  183. package/dist/{chunk-ddv56j39.js → chunk-ve167rcs.js} +62 -62
  184. package/dist/{chunk-sr3t4thh.js → chunk-vhffyae8.js} +14 -14
  185. package/dist/{chunk-5ddh2hyn.js → chunk-vybkmfhf.js} +15 -15
  186. package/dist/{chunk-7mwt4e1z.js → chunk-w9b6kngq.js} +15 -15
  187. package/dist/{chunk-h63r8vps.js → chunk-wanceff6.js} +3 -3
  188. package/dist/{chunk-3wvv2s8d.js → chunk-wcze2nea.js} +1 -1
  189. package/dist/{chunk-2r212cvt.js → chunk-wnxcgfsd.js} +4 -4
  190. package/dist/{chunk-jhpaevah.js → chunk-wyjerrr6.js} +13 -13
  191. package/dist/{chunk-6ww7451s.js → chunk-wz9brkq5.js} +3 -3
  192. package/dist/{chunk-wka1647p.js → chunk-x59j3x9c.js} +1 -1
  193. package/dist/{chunk-13ehyphg.js → chunk-xfw2pxwd.js} +3 -3
  194. package/dist/{chunk-1n546sfg.js → chunk-xh06jc72.js} +2 -2
  195. package/dist/{chunk-fxdkbabd.js → chunk-xkwyg1d2.js} +19 -19
  196. package/dist/{chunk-km5ycg1j.js → chunk-xyapc58m.js} +2 -2
  197. package/dist/{chunk-radnwk8x.js → chunk-xzgnc76g.js} +13 -13
  198. package/dist/{chunk-n3fv4ya7.js → chunk-yddek6xk.js} +1 -1
  199. package/dist/{chunk-f3pjerx4.js → chunk-ypaq3d12.js} +14 -14
  200. package/dist/{chunk-wh0ev1bw.js → chunk-yq8z040g.js} +2 -2
  201. package/dist/{chunk-5216fha8.js → chunk-yqs481qq.js} +22 -22
  202. package/dist/{chunk-g8ee7yza.js → chunk-ys9a9c9h.js} +13 -13
  203. package/dist/{chunk-0brkf8q8.js → chunk-yzn396hn.js} +13 -13
  204. package/dist/{chunk-6qcmt5eb.js → chunk-zay4xp4n.js} +13 -13
  205. package/dist/{chunk-sedbc8ep.js → chunk-zc8bwy57.js} +14 -14
  206. package/dist/{chunk-wpdchyy2.js → chunk-zhx88cfx.js} +21 -21
  207. package/dist/{chunk-jbwgyskk.js → chunk-zkh6f4ct.js} +13 -13
  208. package/dist/{chunk-9zdj4ypz.js → chunk-zq56gcca.js} +2 -2
  209. package/dist/{chunk-9aycd4z9.js → chunk-zrkefd22.js} +14 -14
  210. package/dist/{chunk-0rpz1wgn.js → chunk-zs5p0yq1.js} +9 -9
  211. package/dist/cli.js +136 -7
  212. package/dist/gateway/worker.js +145 -41
  213. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -3,11 +3,140 @@
3
3
  import {
4
4
  __require
5
5
  } from "./chunk-qp2qdcda.js";
6
+ // package.json
7
+ var package_default = {
8
+ name: "@caspian2026/agent-sdk",
9
+ version: "0.0.25",
10
+ description: "AI-powered agent SDK for the terminal",
11
+ type: "module",
12
+ engines: {
13
+ bun: ">=1.2.0"
14
+ },
15
+ main: "dist/sdk/query.cjs",
16
+ exports: {
17
+ ".": {
18
+ import: "./dist/sdk/query.js",
19
+ require: "./dist/sdk/query.cjs",
20
+ default: "./dist/sdk/query.cjs"
21
+ }
22
+ },
23
+ bin: {
24
+ ccb: "dist/cli.js",
25
+ "agent-sdk": "dist/cli.js"
26
+ },
27
+ workspaces: [
28
+ "packages/*",
29
+ "packages/@ant/*"
30
+ ],
31
+ files: [
32
+ "dist"
33
+ ],
34
+ scripts: {
35
+ build: "bun run build.ts",
36
+ dev: "bun run scripts/dev.ts",
37
+ "dev:inspect": "bun run scripts/dev-debug.ts",
38
+ prepublishOnly: "bun run build",
39
+ lint: "biome lint src/",
40
+ "lint:fix": "biome lint --fix src/",
41
+ format: "biome format --write src/",
42
+ prepare: "git config core.hooksPath .githooks",
43
+ test: "bun test",
44
+ "check:unused": "knip-bun",
45
+ health: "bun run scripts/health-check.ts",
46
+ "docs:dev": "npx mintlify dev"
47
+ },
48
+ dependencies: {
49
+ "@vscode/ripgrep": "^1.18.0",
50
+ ws: "^8.20.0"
51
+ },
52
+ devDependencies: {
53
+ "@alcalzone/ansi-tokenize": "^0.3.0",
54
+ "@ant/claude-for-chrome-mcp": "workspace:*",
55
+ "@ant/computer-use-input": "workspace:*",
56
+ "@ant/computer-use-mcp": "workspace:*",
57
+ "@ant/computer-use-swift": "workspace:*",
58
+ "@anthropic-ai/mcpb": "^2.1.2",
59
+ "@anthropic-ai/sandbox-runtime": "^0.0.44",
60
+ "@anthropic-ai/sdk": "^0.80.0",
61
+ "@anthropic/ink": "workspace:*",
62
+ "@biomejs/biome": "^2.4.10",
63
+ "@commander-js/extra-typings": "^14.0.0",
64
+ "@modelcontextprotocol/sdk": "^1.29.0",
65
+ "@types/bun": "^1.3.11",
66
+ "@types/cacache": "^20.0.1",
67
+ "@types/plist": "^3.0.5",
68
+ "@types/react": "^19.2.14",
69
+ "@types/react-reconciler": "^0.33.0",
70
+ "@types/sharp": "^0.32.0",
71
+ "@types/turndown": "^5.0.6",
72
+ ajv: "^8.18.0",
73
+ asciichart: "^1.5.25",
74
+ "auto-bind": "^5.0.1",
75
+ axios: "^1.14.0",
76
+ "bidi-js": "^1.0.3",
77
+ cacache: "^20.0.4",
78
+ chalk: "^5.6.2",
79
+ chokidar: "^5.0.0",
80
+ "cli-boxes": "^4.0.1",
81
+ "cli-highlight": "^2.1.11",
82
+ "code-excerpt": "^4.0.0",
83
+ "color-diff-napi": "workspace:*",
84
+ diff: "^8.0.4",
85
+ "emoji-regex": "^10.6.0",
86
+ "env-paths": "^4.0.0",
87
+ execa: "^9.6.1",
88
+ fflate: "^0.8.2",
89
+ figures: "^6.1.0",
90
+ "fuse.js": "^7.1.0",
91
+ "get-east-asian-width": "^1.5.0",
92
+ he: "^1.2.0",
93
+ "highlight.js": "^11.11.1",
94
+ "https-proxy-agent": "^8.0.0",
95
+ ignore: "^7.0.5",
96
+ "image-processor-napi": "workspace:*",
97
+ "indent-string": "^5.0.0",
98
+ "jsonc-parser": "^3.3.1",
99
+ knip: "^6.1.1",
100
+ "lodash-es": "^4.17.23",
101
+ "lru-cache": "^11.2.7",
102
+ marked: "^17.0.5",
103
+ "modifiers-napi": "workspace:*",
104
+ openai: "^6.33.0",
105
+ "p-map": "^7.0.4",
106
+ picomatch: "^4.0.4",
107
+ plist: "^3.1.0",
108
+ "proper-lockfile": "^4.1.2",
109
+ react: "^19.2.4",
110
+ "react-compiler-runtime": "^1.0.0",
111
+ "react-reconciler": "^0.33.0",
112
+ semver: "^7.7.4",
113
+ sharp: "^0.34.5",
114
+ "shell-quote": "^1.8.3",
115
+ "signal-exit": "^4.1.0",
116
+ "stack-utils": "^2.0.6",
117
+ "strip-ansi": "^7.2.0",
118
+ "supports-hyperlinks": "^4.4.0",
119
+ "tree-kill": "^1.2.2",
120
+ turndown: "^7.2.2",
121
+ "type-fest": "^5.5.0",
122
+ typescript: "^6.0.2",
123
+ undici: "^7.24.6",
124
+ "url-handler-napi": "workspace:*",
125
+ "usehooks-ts": "^3.1.1",
126
+ "vscode-jsonrpc": "^8.2.1",
127
+ "vscode-languageserver-protocol": "^3.17.5",
128
+ "vscode-languageserver-types": "^3.17.5",
129
+ "wrap-ansi": "^10.0.0",
130
+ xss: "^1.0.15",
131
+ yaml: "^2.8.3",
132
+ zod: "^4.3.6"
133
+ }
134
+ };
6
135
 
7
136
  // src/entrypoints/cli.tsx
8
137
  if (typeof globalThis.MACRO === "undefined") {
9
138
  globalThis.MACRO = {
10
- VERSION: process.env.CLAUDE_CODE_VERSION || "2.1.888",
139
+ VERSION: process.env.CLAUDE_CODE_VERSION || package_default.version,
11
140
  BUILD_TIME: new Date().toISOString(),
12
141
  FEEDBACK_CHANNEL: "",
13
142
  ISSUES_EXPLAINER: "",
@@ -25,7 +154,7 @@ if (false) {}
25
154
  async function main() {
26
155
  const args = process.argv.slice(2);
27
156
  if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
28
- console.log(`${"0.0.24"} (Claude Code)`);
157
+ console.log(`${"0.0.25"} (Claude Code)`);
29
158
  return;
30
159
  }
31
160
  const { profileCheckpoint } = await import("./chunk-sgpmpn90.js");
@@ -33,7 +162,7 @@ async function main() {
33
162
  if (false) {}
34
163
  if (process.argv[2] === "--claude-in-chrome-mcp") {
35
164
  profileCheckpoint("cli_claude_in_chrome_mcp_path");
36
- const { runClaudeInChromeMcpServer } = await import("./chunk-2s74bt6e.js");
165
+ const { runClaudeInChromeMcpServer } = await import("./chunk-4f7m9fjw.js");
37
166
  await runClaudeInChromeMcpServer();
38
167
  return;
39
168
  } else if (process.argv[2] === "--chrome-native-host") {
@@ -43,7 +172,7 @@ async function main() {
43
172
  return;
44
173
  } else if (process.argv[2] === "--computer-use-mcp") {
45
174
  profileCheckpoint("cli_computer_use_mcp_path");
46
- const { runComputerUseMcpServer } = await import("./chunk-2r212cvt.js");
175
+ const { runComputerUseMcpServer } = await import("./chunk-wnxcgfsd.js");
47
176
  await runComputerUseMcpServer();
48
177
  return;
49
178
  }
@@ -62,11 +191,11 @@ async function main() {
62
191
  const hasTmuxFlag = args.includes("--tmux") || args.includes("--tmux=classic");
63
192
  if (hasTmuxFlag && (args.includes("-w") || args.includes("--worktree") || args.some((a) => a.startsWith("--worktree=")))) {
64
193
  profileCheckpoint("cli_tmux_worktree_fast_path");
65
- const { enableConfigs } = await import("./chunk-srj6qnf6.js");
194
+ const { enableConfigs } = await import("./chunk-ebwskmsr.js");
66
195
  enableConfigs();
67
196
  const { isWorktreeModeEnabled } = await import("./chunk-pwwa7s62.js");
68
197
  if (isWorktreeModeEnabled()) {
69
- const { execIntoTmuxWorktree } = await import("./chunk-y1vyezct.js");
198
+ const { execIntoTmuxWorktree } = await import("./chunk-cqxm7ggc.js");
70
199
  const result = await execIntoTmuxWorktree(args);
71
200
  if (result.handled) {
72
201
  return;
@@ -83,7 +212,7 @@ async function main() {
83
212
  const { startCapturingEarlyInput } = await import("./chunk-etdt1xz3.js");
84
213
  startCapturingEarlyInput();
85
214
  profileCheckpoint("cli_before_main_import");
86
- const { main: cliMain } = await import("./chunk-gybt680f.js");
215
+ const { main: cliMain } = await import("./chunk-jqt3sw12.js");
87
216
  profileCheckpoint("cli_after_main_import");
88
217
  await cliMain();
89
218
  profileCheckpoint("cli_after_main_complete");
@@ -53934,7 +53934,7 @@ var init_auth = __esm(() => {
53934
53934
 
53935
53935
  // src/utils/userAgent.ts
53936
53936
  function getClaudeCodeUserAgent() {
53937
- return `claude-code/${"0.0.24"}`;
53937
+ return `claude-code/${"0.0.25"}`;
53938
53938
  }
53939
53939
 
53940
53940
  // src/utils/workloadContext.ts
@@ -53953,7 +53953,7 @@ function getUserAgent() {
53953
53953
  const clientApp = process.env.CLAUDE_AGENT_SDK_CLIENT_APP ? `, client-app/${process.env.CLAUDE_AGENT_SDK_CLIENT_APP}` : "";
53954
53954
  const workload = getWorkload();
53955
53955
  const workloadSuffix = workload ? `, workload/${workload}` : "";
53956
- return `claude-cli/${"0.0.24"} (${process.env.USER_TYPE}, ${process.env.CLAUDE_CODE_ENTRYPOINT ?? "cli"}${agentSdkVersion}${clientApp}${workloadSuffix})`;
53956
+ return `claude-cli/${"0.0.25"} (${process.env.USER_TYPE}, ${process.env.CLAUDE_CODE_ENTRYPOINT ?? "cli"}${agentSdkVersion}${clientApp}${workloadSuffix})`;
53957
53957
  }
53958
53958
  function getMCPUserAgent() {
53959
53959
  const parts = [];
@@ -53967,7 +53967,7 @@ function getMCPUserAgent() {
53967
53967
  parts.push(`client-app/${process.env.CLAUDE_AGENT_SDK_CLIENT_APP}`);
53968
53968
  }
53969
53969
  const suffix = parts.length > 0 ? ` (${parts.join(", ")})` : "";
53970
- return `claude-code/${"0.0.24"}${suffix}`;
53970
+ return `claude-code/${"0.0.25"}${suffix}`;
53971
53971
  }
53972
53972
  function getWebFetchUserAgent() {
53973
53973
  return `Claude-User (${getClaudeCodeUserAgent()}; +https://support.anthropic.com/)`;
@@ -54041,7 +54041,7 @@ var init_user = __esm(() => {
54041
54041
  deviceId,
54042
54042
  sessionId: getSessionId(),
54043
54043
  email: getEmail(),
54044
- appVersion: "0.0.24",
54044
+ appVersion: "0.0.25",
54045
54045
  platform: getHostPlatformForAnalytics(),
54046
54046
  organizationUuid,
54047
54047
  accountUuid,
@@ -88407,7 +88407,7 @@ function getAttributionHeader(fingerprint) {
88407
88407
  if (baseUrl && !baseUrl.includes("anthropic.com")) {
88408
88408
  return "";
88409
88409
  }
88410
- const version2 = `${"0.0.24"}.${fingerprint}`;
88410
+ const version2 = `${"0.0.25"}.${fingerprint}`;
88411
88411
  const entrypoint = process.env.CLAUDE_CODE_ENTRYPOINT ?? "unknown";
88412
88412
  const cch = "";
88413
88413
  const workload = getWorkload();
@@ -116159,7 +116159,7 @@ var init_metadata = __esm(() => {
116159
116159
  COMPOUND_OPERATOR_REGEX = /\s*(?:&&|\|\||[;|])\s*/;
116160
116160
  WHITESPACE_REGEX = /\s+/;
116161
116161
  getVersionBase = memoize_default(() => {
116162
- const match = "0.0.24".match(/^\d+\.\d+\.\d+(?:-[a-z]+)?/);
116162
+ const match = "0.0.25".match(/^\d+\.\d+\.\d+(?:-[a-z]+)?/);
116163
116163
  return match ? match[0] : undefined;
116164
116164
  });
116165
116165
  buildEnvContext = memoize_default(async () => {
@@ -116199,9 +116199,9 @@ var init_metadata = __esm(() => {
116199
116199
  isGithubAction: isEnvTruthy(process.env.GITHUB_ACTIONS),
116200
116200
  isClaudeCodeAction: isEnvTruthy(process.env.CLAUDE_CODE_ACTION),
116201
116201
  isClaudeAiAuth: false,
116202
- version: "0.0.24",
116202
+ version: "0.0.25",
116203
116203
  versionBase: getVersionBase(),
116204
- buildTime: "2026-08-16T07:08:49.994Z",
116204
+ buildTime: "2026-08-20T02:48:15.082Z",
116205
116205
  deploymentEnvironment: env3.detectDeploymentEnvironment(),
116206
116206
  ...isEnvTruthy(process.env.GITHUB_ACTIONS) && {
116207
116207
  githubEventName: process.env.GITHUB_EVENT_NAME,
@@ -268995,7 +268995,7 @@ function getTelemetryAttributes() {
268995
268995
  attributes["session.id"] = sessionId;
268996
268996
  }
268997
268997
  if (shouldIncludeAttribute("OTEL_METRICS_INCLUDE_VERSION")) {
268998
- attributes["app.version"] = "0.0.24";
268998
+ attributes["app.version"] = "0.0.25";
268999
268999
  }
269000
269000
  const oauthAccount = getOauthAccountInfo2();
269001
269001
  if (oauthAccount) {
@@ -311575,7 +311575,7 @@ function computeFingerprint(messageText, version2) {
311575
311575
  }
311576
311576
  function computeFingerprintFromMessages(messages) {
311577
311577
  const firstMessageText = extractFirstMessageText(messages);
311578
- return computeFingerprint(firstMessageText, "0.0.24");
311578
+ return computeFingerprint(firstMessageText, "0.0.25");
311579
311579
  }
311580
311580
  var FINGERPRINT_SALT = "59cf53e54c78";
311581
311581
  var init_fingerprint = () => {};
@@ -311764,7 +311764,7 @@ async function sideQuery(opts) {
311764
311764
  betas.push(STRUCTURED_OUTPUTS_BETA_HEADER);
311765
311765
  }
311766
311766
  const messageText = extractFirstUserMessageText(messages);
311767
- const fingerprint = computeFingerprint(messageText, "0.0.24");
311767
+ const fingerprint = computeFingerprint(messageText, "0.0.25");
311768
311768
  const attributionHeader = getAttributionHeader(fingerprint);
311769
311769
  const systemBlocks = [
311770
311770
  attributionHeader ? { type: "text", text: attributionHeader } : null,
@@ -313235,7 +313235,7 @@ async function setupSdkMcpClients(sdkMcpConfigs, sendMcpMessage) {
313235
313235
  const client2 = new Client({
313236
313236
  name: "claude-code",
313237
313237
  title: "Claude Code",
313238
- version: "0.0.24",
313238
+ version: "0.0.25",
313239
313239
  description: "Anthropic's agentic coding tool",
313240
313240
  websiteUrl: PRODUCT_URL
313241
313241
  }, {
@@ -313566,7 +313566,7 @@ var init_client7 = __esm(() => {
313566
313566
  const client2 = new Client({
313567
313567
  name: "claude-code",
313568
313568
  title: "Claude Code",
313569
- version: "0.0.24",
313569
+ version: "0.0.25",
313570
313570
  description: "Anthropic's agentic coding tool",
313571
313571
  websiteUrl: PRODUCT_URL
313572
313572
  }, {
@@ -391397,7 +391397,7 @@ async function* queryLoop(params, consumedCommandUuids) {
391397
391397
  compacted: true,
391398
391398
  turnId: deps.uuid(),
391399
391399
  turnCounter: 0,
391400
- consecutiveFailures: 0
391400
+ consecutiveFailures: consecutiveFailures ?? 0
391401
391401
  };
391402
391402
  const postCompactMessages = buildPostCompactMessages(compactionResult);
391403
391403
  for (const message of postCompactMessages) {
@@ -392224,7 +392224,7 @@ function getAnthropicEnvMetadata() {
392224
392224
  function getBuildAgeMinutes() {
392225
392225
  if (false)
392226
392226
  ;
392227
- const buildTime = new Date("2026-08-16T07:08:49.994Z").getTime();
392227
+ const buildTime = new Date("2026-08-20T02:48:15.082Z").getTime();
392228
392228
  if (isNaN(buildTime))
392229
392229
  return;
392230
392230
  return Math.floor((Date.now() - buildTime) / 60000);
@@ -394465,8 +394465,7 @@ var init_sessionMemoryCompact = __esm(() => {
394465
394465
  });
394466
394466
 
394467
394467
  // src/services/compact/autoCompact.ts
394468
- function getEffectiveContextWindowSize(model) {
394469
- const reservedTokensForSummary = Math.min(getMaxOutputTokensForModel(model), MAX_OUTPUT_TOKENS_FOR_SUMMARY);
394468
+ function getBaseContextWindow(model) {
394470
394469
  let contextWindow = getContextWindowForModel(model, getSdkBetas());
394471
394470
  const autoCompactWindow = process.env.CLAUDE_CODE_AUTO_COMPACT_WINDOW;
394472
394471
  if (autoCompactWindow) {
@@ -394475,11 +394474,26 @@ function getEffectiveContextWindowSize(model) {
394475
394474
  contextWindow = Math.min(contextWindow, parsed);
394476
394475
  }
394477
394476
  }
394478
- return contextWindow - reservedTokensForSummary;
394477
+ return contextWindow;
394478
+ }
394479
+ function getEffectiveContextWindowSize(model) {
394480
+ const reservedTokensForSummary = Math.min(getMaxOutputTokensForModel(model), MAX_OUTPUT_TOKENS_FOR_SUMMARY);
394481
+ return getBaseContextWindow(model) - reservedTokensForSummary;
394479
394482
  }
394480
394483
  function getAutoCompactThreshold(model) {
394484
+ const baseWindow = getBaseContextWindow(model);
394481
394485
  const effectiveContextWindow = getEffectiveContextWindowSize(model);
394482
- const autocompactThreshold = effectiveContextWindow - AUTOCOMPACT_BUFFER_TOKENS;
394486
+ const limitOverride = process.env.CLAUDE_CODE_AUTOCOMPACT_TOKEN_LIMIT;
394487
+ if (limitOverride) {
394488
+ const parsed = parseInt(limitOverride, 10);
394489
+ if (!isNaN(parsed) && parsed > 0) {
394490
+ return Math.min(parsed, baseWindow - 1000);
394491
+ }
394492
+ }
394493
+ const deductionCap = Math.round(baseWindow * 0.1);
394494
+ const reservedTokensForSummary = Math.min(getMaxOutputTokensForModel(model), MAX_OUTPUT_TOKENS_FOR_SUMMARY, deductionCap);
394495
+ const bufferTokens = Math.min(AUTOCOMPACT_BUFFER_TOKENS, deductionCap);
394496
+ const autocompactThreshold = baseWindow - reservedTokensForSummary - bufferTokens;
394483
394497
  const envPercent = process.env.CLAUDE_AUTOCOMPACT_PCT_OVERRIDE;
394484
394498
  if (envPercent) {
394485
394499
  const parsed = parseFloat(envPercent);
@@ -394490,6 +394504,9 @@ function getAutoCompactThreshold(model) {
394490
394504
  }
394491
394505
  return autocompactThreshold;
394492
394506
  }
394507
+ function isIneffectiveCompaction(result, threshold) {
394508
+ return result.truePostCompactTokenCount !== undefined && result.truePostCompactTokenCount >= threshold;
394509
+ }
394493
394510
  function calculateTokenWarningState(tokenUsage, model) {
394494
394511
  const autoCompactThreshold = getAutoCompactThreshold(model);
394495
394512
  const threshold = isAutoCompactEnabled() ? autoCompactThreshold : getEffectiveContextWindowSize(model);
@@ -394574,10 +394591,15 @@ async function autoCompactIfNeeded(messages, toolUseContext, cacheSafeParams, qu
394574
394591
  const compactionResult = await compactConversation(messages, toolUseContext, cacheSafeParams, true, undefined, true, recompactionInfo);
394575
394592
  setLastSummarizedMessageId(undefined);
394576
394593
  runPostCompactCleanup(querySource);
394594
+ const ineffective = isIneffectiveCompaction(compactionResult, recompactionInfo.autoCompactThreshold);
394595
+ const nextFailures = ineffective ? (tracking?.consecutiveFailures ?? 0) + 1 : 0;
394596
+ if (ineffective && nextFailures >= MAX_CONSECUTIVE_AUTOCOMPACT_FAILURES) {
394597
+ logForDebugging(`autocompact: circuit breaker tripped — compaction succeeded but context (${compactionResult.truePostCompactTokenCount}) remains >= threshold (${recompactionInfo.autoCompactThreshold}); skipping future attempts this session`, { level: "warn" });
394598
+ }
394577
394599
  return {
394578
394600
  wasCompacted: true,
394579
394601
  compactionResult,
394580
- consecutiveFailures: 0
394602
+ consecutiveFailures: nextFailures
394581
394603
  };
394582
394604
  } catch (error50) {
394583
394605
  if (!hasExactErrorMessage(error50, ERROR_MESSAGE_USER_ABORT)) {
@@ -414302,7 +414324,7 @@ function Feedback({
414302
414324
  platform: env3.platform,
414303
414325
  gitRepo: envInfo.isGit,
414304
414326
  terminal: env3.terminal,
414305
- version: "0.0.24",
414327
+ version: "0.0.25",
414306
414328
  transcript: normalizeMessagesForAPI(messages),
414307
414329
  errors: sanitizedErrors,
414308
414330
  lastApiRequest: getLastAPIRequest(),
@@ -414487,7 +414509,7 @@ function Feedback({
414487
414509
  ", ",
414488
414510
  env3.terminal,
414489
414511
  ", v",
414490
- "0.0.24"
414512
+ "0.0.25"
414491
414513
  ]
414492
414514
  }, undefined, true, undefined, this)
414493
414515
  ]
@@ -414593,7 +414615,7 @@ ${sanitizedDescription}
414593
414615
  ` + `**Environment Info**
414594
414616
  ` + `- Platform: ${env3.platform}
414595
414617
  ` + `- Terminal: ${env3.terminal}
414596
- ` + `- Version: ${"0.0.24"}
414618
+ ` + `- Version: ${"0.0.25"}
414597
414619
  ` + `- Feedback ID: ${feedbackId}
414598
414620
  ` + `
414599
414621
  **Errors**
@@ -417559,7 +417581,7 @@ function detectLinuxGlobPatternWarnings() {
417559
417581
  }
417560
417582
  async function getDoctorDiagnostic() {
417561
417583
  const installationType = await getCurrentInstallationType();
417562
- const version2 = typeof MACRO !== "undefined" ? "0.0.24" : "unknown";
417584
+ const version2 = typeof MACRO !== "undefined" ? "0.0.25" : "unknown";
417563
417585
  const installationPath = await getInstallationPath();
417564
417586
  const invokedBinary = getInvokedBinary();
417565
417587
  const multipleInstallations = await detectMultipleInstallations();
@@ -418348,7 +418370,7 @@ function buildPrimarySection() {
418348
418370
  children: "/rename to add a name"
418349
418371
  }, undefined, false, undefined, this);
418350
418372
  return [
418351
- { label: "Version", value: "0.0.24" },
418373
+ { label: "Version", value: "0.0.25" },
418352
418374
  { label: "Session name", value: nameValue },
418353
418375
  { label: "Session ID", value: sessionId },
418354
418376
  { label: "cwd", value: getCwd() },
@@ -421429,7 +421451,7 @@ function Config({
421429
421451
  }
421430
421452
  }, undefined, false, undefined, this)
421431
421453
  }, undefined, false, undefined, this) : showSubmenu === "ChannelDowngrade" ? /* @__PURE__ */ jsx_dev_runtime173.jsxDEV(ChannelDowngradeDialog, {
421432
- currentVersion: "0.0.24",
421454
+ currentVersion: "0.0.25",
421433
421455
  onChoice: (choice) => {
421434
421456
  setShowSubmenu(null);
421435
421457
  setTabsHidden(false);
@@ -421441,7 +421463,7 @@ function Config({
421441
421463
  autoUpdatesChannel: "stable"
421442
421464
  };
421443
421465
  if (choice === "stay") {
421444
- newSettings.minimumVersion = "0.0.24";
421466
+ newSettings.minimumVersion = "0.0.25";
421445
421467
  }
421446
421468
  updateSettingsForSource("userSettings", newSettings);
421447
421469
  setSettingsData((prev) => ({
@@ -426756,7 +426778,7 @@ function HelpV2({ onClose, commands }) {
426756
426778
  color: "professionalBlue",
426757
426779
  children: [
426758
426780
  /* @__PURE__ */ jsx_dev_runtime199.jsxDEV(Tabs, {
426759
- title: process.env.USER_TYPE === "ant" ? "/help" : `Claude Code v${"0.0.24"}`,
426781
+ title: process.env.USER_TYPE === "ant" ? "/help" : `Claude Code v${"0.0.25"}`,
426760
426782
  color: "professionalBlue",
426761
426783
  defaultTab: "general",
426762
426784
  children: tabs
@@ -439174,7 +439196,7 @@ function getAllReleaseNotes(changelogContent = getStoredChangelogFromMemory()) {
439174
439196
  return [];
439175
439197
  }
439176
439198
  }
439177
- function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "0.0.24") {
439199
+ function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "0.0.25") {
439178
439200
  if (process.env.USER_TYPE === "ant") {
439179
439201
  const changelog = "";
439180
439202
  if (changelog) {
@@ -441209,7 +441231,7 @@ function getRecentActivitySync() {
441209
441231
  return cachedActivity;
441210
441232
  }
441211
441233
  function getLogoDisplayData() {
441212
- const version2 = process.env.DEMO_VERSION ?? "0.0.24";
441234
+ const version2 = process.env.DEMO_VERSION ?? "0.0.25";
441213
441235
  const serverUrl = getDirectConnectServerUrl();
441214
441236
  const displayPath = process.env.DEMO_VERSION ? "/code/claude" : getDisplayPath(getCwd());
441215
441237
  const cwd2 = serverUrl ? `${displayPath} in ${serverUrl.replace(/^https?:\/\//, "")}` : displayPath;
@@ -442117,13 +442139,13 @@ function LogoV2() {
442117
442139
  const { hasReleaseNotes } = checkForReleaseNotesSync(config5.lastReleaseNotesSeen);
442118
442140
  import_react159.useEffect(() => {
442119
442141
  const currentConfig = getGlobalConfig();
442120
- if (currentConfig.lastReleaseNotesSeen === "0.0.24") {
442142
+ if (currentConfig.lastReleaseNotesSeen === "0.0.25") {
442121
442143
  return;
442122
442144
  }
442123
442145
  saveGlobalConfig((current) => {
442124
- if (current.lastReleaseNotesSeen === "0.0.24")
442146
+ if (current.lastReleaseNotesSeen === "0.0.25")
442125
442147
  return current;
442126
- return { ...current, lastReleaseNotesSeen: "0.0.24" };
442148
+ return { ...current, lastReleaseNotesSeen: "0.0.25" };
442127
442149
  });
442128
442150
  if (showOnboarding) {
442129
442151
  incrementProjectOnboardingSeenCount();
@@ -458835,7 +458857,7 @@ async function captureMemoryDiagnostics(trigger, dumpNumber = 0) {
458835
458857
  smapsRollup,
458836
458858
  platform: process.platform,
458837
458859
  nodeVersion: process.version,
458838
- ccVersion: "0.0.24"
458860
+ ccVersion: "0.0.25"
458839
458861
  };
458840
458862
  }
458841
458863
  async function performHeapDump(trigger = "manual", dumpNumber = 0) {
@@ -459097,7 +459119,7 @@ var init_bridge_kick = __esm(() => {
459097
459119
  var call54 = async () => {
459098
459120
  return {
459099
459121
  type: "text",
459100
- value: `${"0.0.24"} (built ${"2026-08-16T07:08:49.994Z"})`
459122
+ value: `${"0.0.25"} (built ${"2026-08-20T02:48:15.082Z"})`
459101
459123
  };
459102
459124
  }, version2, version_default;
459103
459125
  var init_version = __esm(() => {
@@ -466366,7 +466388,7 @@ function generateHtmlReport(data, insights) {
466366
466388
  </html>`;
466367
466389
  }
466368
466390
  function buildExportData(data, insights, facets, remoteStats) {
466369
- const version3 = typeof MACRO !== "undefined" ? "0.0.24" : "unknown";
466391
+ const version3 = typeof MACRO !== "undefined" ? "0.0.25" : "unknown";
466370
466392
  const remote_hosts_collected = remoteStats?.hosts.filter((h2) => h2.sessionCount > 0).map((h2) => h2.name);
466371
466393
  const facets_summary = {
466372
466394
  total: facets.size,
@@ -470493,7 +470515,7 @@ var init_sessionStorage = __esm(() => {
470493
470515
  init_settings2();
470494
470516
  init_slowOperations();
470495
470517
  init_uuid();
470496
- VERSION6 = typeof MACRO !== "undefined" ? "0.0.24" : "unknown";
470518
+ VERSION6 = typeof MACRO !== "undefined" ? "0.0.25" : "unknown";
470497
470519
  MAX_TOMBSTONE_REWRITE_BYTES = 50 * 1024 * 1024;
470498
470520
  SKIP_FIRST_PROMPT_PATTERN2 = /^(?:\s*<[a-z][\w-]*[\s>]|\[Request interrupted by user[^\]]*\])/;
470499
470521
  EPHEMERAL_PROGRESS_TYPES = new Set([
@@ -471687,7 +471709,7 @@ var init_filesystem = __esm(() => {
471687
471709
  });
471688
471710
  getBundledSkillsRoot = memoize_default(function getBundledSkillsRoot2() {
471689
471711
  const nonce = randomBytes16(16).toString("hex");
471690
- return join128(getClaudeTempDir(), "bundled-skills", "0.0.24", nonce);
471712
+ return join128(getClaudeTempDir(), "bundled-skills", "0.0.25", nonce);
471691
471713
  });
471692
471714
  getResolvedWorkingDirPaths = memoize_default(getPathsForPermissionCheck);
471693
471715
  });
@@ -481917,7 +481939,7 @@ function buildSystemInitMessage(inputs) {
481917
481939
  slash_commands: inputs.commands.filter((c6) => c6.userInvocable !== false).map((c6) => c6.name),
481918
481940
  apiKeySource: getAnthropicApiKeyWithSource().source,
481919
481941
  betas: getSdkBetas(),
481920
- claude_code_version: "0.0.24",
481942
+ claude_code_version: "0.0.25",
481921
481943
  output_style: outputStyle2,
481922
481944
  agents: inputs.agents.map((agent) => agent.agentType),
481923
481945
  skills: inputs.skills.filter((s) => s.userInvocable !== false).map((skill) => skill.name),
@@ -483145,6 +483167,54 @@ function getDefaultCompletionMode(permissionMode) {
483145
483167
  return "disabled";
483146
483168
  }
483147
483169
 
483170
+ class MergedMessageQueue {
483171
+ items = [];
483172
+ waiters = [];
483173
+ finished = false;
483174
+ failure = undefined;
483175
+ enqueue(message) {
483176
+ if (this.finished)
483177
+ return;
483178
+ const waiter = this.waiters.shift();
483179
+ if (waiter) {
483180
+ waiter.resolve({ value: message, done: false });
483181
+ } else {
483182
+ this.items.push(message);
483183
+ }
483184
+ }
483185
+ finish() {
483186
+ this.finished = true;
483187
+ while (this.waiters.length > 0) {
483188
+ if (this.items.length > 0) {
483189
+ this.waiters.shift().resolve({ value: this.items.shift(), done: false });
483190
+ } else {
483191
+ this.waiters.shift().resolve({ value: undefined, done: true });
483192
+ }
483193
+ }
483194
+ }
483195
+ fail(error50) {
483196
+ this.failure = error50;
483197
+ this.finished = true;
483198
+ for (const waiter of this.waiters.splice(0)) {
483199
+ waiter.reject(error50);
483200
+ }
483201
+ }
483202
+ next() {
483203
+ if (this.items.length > 0) {
483204
+ return Promise.resolve({ value: this.items.shift(), done: false });
483205
+ }
483206
+ if (this.failure !== undefined) {
483207
+ return Promise.reject(this.failure);
483208
+ }
483209
+ if (this.finished) {
483210
+ return Promise.resolve({ value: undefined, done: true });
483211
+ }
483212
+ return new Promise((resolve43, reject2) => {
483213
+ this.waiters.push({ resolve: resolve43, reject: reject2 });
483214
+ });
483215
+ }
483216
+ }
483217
+
483148
483218
  class Session {
483149
483219
  sessionId;
483150
483220
  engine;
@@ -483158,6 +483228,7 @@ class Session {
483158
483228
  createdAt = Date.now();
483159
483229
  lastPromptAt;
483160
483230
  maxBudgetUsd;
483231
+ activeStatusQueue = null;
483161
483232
  constructor(config5 = {}, permissionHandler = {}, extraOptions) {
483162
483233
  const mcpClients = extraOptions?.mcpClients ?? [];
483163
483234
  this.mcpClients = mcpClients;
@@ -483201,7 +483272,16 @@ class Session {
483201
483272
  includePartialMessages: config5.includePartialMessages ?? true,
483202
483273
  initialMessages: extraOptions?.initialMessages,
483203
483274
  autoModeController: this.autoModeController,
483204
- taskCompletionController: this.completionController
483275
+ taskCompletionController: this.completionController,
483276
+ setSDKStatus: (status2) => {
483277
+ this.activeStatusQueue?.enqueue({
483278
+ type: "system",
483279
+ subtype: "status",
483280
+ status: status2,
483281
+ session_id: this.sessionId,
483282
+ uuid: crypto.randomUUID()
483283
+ });
483284
+ }
483205
483285
  });
483206
483286
  this.sm.transition("idle", "bootstrap complete");
483207
483287
  }
@@ -483227,7 +483307,31 @@ class Session {
483227
483307
  });
483228
483308
  }
483229
483309
  try {
483230
- yield* this.engine.submitMessage(input);
483310
+ const queue2 = new MergedMessageQueue;
483311
+ this.activeStatusQueue = queue2;
483312
+ const engineIterator = this.engine.submitMessage(input);
483313
+ const producer = (async () => {
483314
+ try {
483315
+ for await (const message of engineIterator) {
483316
+ queue2.enqueue(message);
483317
+ }
483318
+ queue2.finish();
483319
+ } catch (error50) {
483320
+ queue2.fail(error50);
483321
+ }
483322
+ })();
483323
+ try {
483324
+ while (true) {
483325
+ const result = await queue2.next();
483326
+ if (result.done)
483327
+ break;
483328
+ yield result.value;
483329
+ }
483330
+ } finally {
483331
+ this.activeStatusQueue = null;
483332
+ await engineIterator.return?.();
483333
+ await producer;
483334
+ }
483231
483335
  } finally {
483232
483336
  if (this.autoModeController.getRun()?.status === "running") {
483233
483337
  this.autoModeController.cancel("Prompt stream closed before auto mode reached a terminal result");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@caspian2026/agent-sdk",
3
- "version": "0.0.24",
3
+ "version": "0.0.25",
4
4
  "description": "AI-powered agent SDK for the terminal",
5
5
  "type": "module",
6
6
  "engines": {