@opencode/core 0.0.0-dev-1285 → 0.0.0-dev-1286

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 (911) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +94 -94
  3. package/dist/aisdk-native.js +1 -1
  4. package/dist/aisdk.js +109 -109
  5. package/dist/app.js +5 -5
  6. package/dist/artifact.js +254 -254
  7. package/dist/bus.js +84 -84
  8. package/dist/chunks/{app-034tev2y.js → state-034tev2y.js} +2 -2
  9. package/dist/chunks/{app-jn6kbxpn.js → state-08v7z8bj.js} +4 -4
  10. package/dist/chunks/{app-ypp6b42m.js → state-0btzqa1f.js} +31 -31
  11. package/dist/chunks/state-0gdrrj59.js +16 -0
  12. package/dist/chunks/{app-0ma9gw4f.js → state-0ma9gw4f.js} +2 -2
  13. package/dist/chunks/{app-963hk181.js → state-0mtp185z.js} +9 -9
  14. package/dist/chunks/{app-rxs3qrpt.js → state-0nvgnn62.js} +15 -15
  15. package/dist/chunks/{app-eyfjfzn3.js → state-0pp75b2b.js} +5 -5
  16. package/dist/chunks/{app-2m0fy4fc.js → state-0tvmk5mj.js} +14 -14
  17. package/dist/chunks/{app-7nb8tm12.js → state-10pn4eb5.js} +5 -5
  18. package/dist/chunks/{app-ry7kp2db.js → state-12a87htm.js} +8 -8
  19. package/dist/chunks/{app-vmpfg9q2.js → state-16b7m4j8.js} +29 -29
  20. package/dist/chunks/{app-1aqsckx4.js → state-1aqsckx4.js} +1 -1
  21. package/dist/chunks/{app-1aryjtsy.js → state-1aryjtsy.js} +1 -1
  22. package/dist/chunks/{app-1ep2p91f.js → state-1ep2p91f.js} +2 -2
  23. package/dist/chunks/{app-025t4cve.js → state-1qr77ex7.js} +17 -17
  24. package/dist/chunks/{app-ybws1qgk.js → state-1v2g13eq.js} +4 -4
  25. package/dist/chunks/{app-1x2knyw4.js → state-1x2knyw4.js} +1 -1
  26. package/dist/chunks/{app-p7vhpwh8.js → state-1yq9hg58.js} +5 -5
  27. package/dist/chunks/{app-dhcjg10b.js → state-21wmys07.js} +5 -5
  28. package/dist/chunks/{app-9w8bjk4c.js → state-221vya3t.js} +27 -27
  29. package/dist/chunks/{app-07qm1k11.js → state-228vay93.js} +7 -7
  30. package/dist/chunks/{app-p9jmt18g.js → state-28rkn4bn.js} +8 -8
  31. package/dist/chunks/{app-vwrdx2vs.js → state-2a60241h.js} +8 -8
  32. package/dist/chunks/{app-z8xv73cs.js → state-2e1nwkkm.js} +65 -65
  33. package/dist/chunks/{app-ts0d6mba.js → state-2ehwevqc.js} +6 -6
  34. package/dist/chunks/{app-2fc7eemy.js → state-2fc7eemy.js} +1 -1
  35. package/dist/chunks/{app-9e8w80ds.js → state-2j6t1azn.js} +24 -24
  36. package/dist/chunks/{app-82djqm81.js → state-2jekdept.js} +89 -89
  37. package/dist/chunks/{app-nph4d54v.js → state-2jj6dqfj.js} +43 -43
  38. package/dist/chunks/{app-z33m6dhf.js → state-2ndqwwwr.js} +21 -21
  39. package/dist/chunks/{app-s1ba0vj0.js → state-2p60zmnr.js} +2 -2
  40. package/dist/chunks/{app-eqg1vac5.js → state-2pfdjs0f.js} +16 -16
  41. package/dist/chunks/{app-2prt43t7.js → state-2prt43t7.js} +1 -1
  42. package/dist/chunks/{app-ea90c952.js → state-2s9mae96.js} +6 -6
  43. package/dist/chunks/{app-qdfsw3cb.js → state-2xak8dj5.js} +14 -14
  44. package/dist/chunks/{app-s47rahr7.js → state-2ytp0tvq.js} +4 -4
  45. package/dist/chunks/{app-e7xwa4fm.js → state-31spynen.js} +27 -27
  46. package/dist/chunks/{app-grgfybpe.js → state-32b106kb.js} +16 -16
  47. package/dist/chunks/{app-v1cwgf66.js → state-3ay4v82t.js} +20 -20
  48. package/dist/chunks/{app-n7hb44nb.js → state-3bkc2eyb.js} +26 -26
  49. package/dist/chunks/{app-6drg800n.js → state-3crmp3j0.js} +25 -25
  50. package/dist/chunks/{app-3hepkmqq.js → state-3hepkmqq.js} +1 -1
  51. package/dist/chunks/{app-3nnrz6f6.js → state-3nnrz6f6.js} +1 -1
  52. package/dist/chunks/{app-46zdpyn0.js → state-3pf22dca.js} +18 -18
  53. package/dist/chunks/{app-1wd80431.js → state-3rv7akfg.js} +2 -2
  54. package/dist/chunks/{app-40y6dtc2.js → state-40y6dtc2.js} +1 -1
  55. package/dist/chunks/{app-5enarcya.js → state-40za9wsf.js} +6 -6
  56. package/dist/chunks/{app-wc0dmynm.js → state-41pgy3sf.js} +31 -31
  57. package/dist/chunks/{app-jxd6f16v.js → state-44pmzq9c.js} +2 -2
  58. package/dist/chunks/{app-scyr04et.js → state-44y9hb78.js} +6 -6
  59. package/dist/chunks/{app-2fjqxx81.js → state-46r9x6z8.js} +15 -15
  60. package/dist/chunks/{app-kqnrsvns.js → state-4bpc2t1s.js} +45 -45
  61. package/dist/chunks/{app-4dx1dgte.js → state-4dx1dgte.js} +1 -1
  62. package/dist/chunks/{app-4f25tdd0.js → state-4f25tdd0.js} +1 -1
  63. package/dist/chunks/{app-4x2mxp21.js → state-4j3ga8y9.js} +7 -7
  64. package/dist/chunks/{app-an5g0sat.js → state-4ne7e05f.js} +7 -7
  65. package/dist/chunks/{app-4pyp9zr9.js → state-4pyp9zr9.js} +1 -1
  66. package/dist/chunks/{app-kvv4s9az.js → state-4q9x5zz6.js} +6 -6
  67. package/dist/chunks/{app-x531zjeb.js → state-4sdfsr7r.js} +7 -7
  68. package/dist/chunks/{app-qw5jrheg.js → state-4txybgt8.js} +15 -15
  69. package/dist/chunks/{app-4v008n1t.js → state-4v008n1t.js} +1 -1
  70. package/dist/chunks/{app-4zc7x669.js → state-54rczas7.js} +3 -3
  71. package/dist/chunks/{app-a3fn0gmm.js → state-55g2q5p5.js} +2 -2
  72. package/dist/chunks/{app-8pwnwwhb.js → state-5cnce3zv.js} +46 -46
  73. package/dist/chunks/{app-hty9eptx.js → state-5dnztkma.js} +5 -5
  74. package/dist/chunks/{app-g21kkkcr.js → state-5gqyfzh0.js} +44 -44
  75. package/dist/chunks/{app-q92q9qkt.js → state-5hyn47a2.js} +9 -9
  76. package/dist/chunks/{app-3r5q5spf.js → state-5jcnyvfa.js} +87 -87
  77. package/dist/chunks/{app-5m9w47nd.js → state-5m9w47nd.js} +1 -1
  78. package/dist/chunks/{app-scjtfsne.js → state-5mmm03tc.js} +17 -17
  79. package/dist/chunks/{app-18swenvv.js → state-5nm4b389.js} +9 -9
  80. package/dist/chunks/{app-5g9hwt4x.js → state-5wsvgjfj.js} +9 -9
  81. package/dist/chunks/{app-r9mbshw2.js → state-5yydhn6j.js} +11 -11
  82. package/dist/chunks/{app-wyrr125q.js → state-65zzbc8y.js} +6 -6
  83. package/dist/chunks/{app-mygbhmxt.js → state-6dtts35a.js} +34 -34
  84. package/dist/chunks/{app-g5r5k2rv.js → state-6fq6hckr.js} +26 -26
  85. package/dist/chunks/{app-76v0dsz2.js → state-6j5g81c1.js} +19 -19
  86. package/dist/chunks/{app-n50n4edv.js → state-6j5y94xc.js} +22 -22
  87. package/dist/chunks/{app-atcjc96e.js → state-6knn97w4.js} +24 -24
  88. package/dist/chunks/{app-vwcz1f45.js → state-6y2b864j.js} +7 -7
  89. package/dist/chunks/{app-tecgr1kp.js → state-6z1a0r6z.js} +39 -39
  90. package/dist/chunks/{app-408971ex.js → state-73s9mjcb.js} +26 -26
  91. package/dist/chunks/{app-3d69khjk.js → state-7578v1yb.js} +12 -12
  92. package/dist/chunks/{app-4xvhmk97.js → state-79yc02xr.js} +8 -8
  93. package/dist/chunks/{app-h31yzxdh.js → state-7ahvbyep.js} +20 -20
  94. package/dist/chunks/{app-7bmhse3q.js → state-7bmhse3q.js} +1 -1
  95. package/dist/chunks/{app-xdykxqmp.js → state-7de2dsgr.js} +3 -3
  96. package/dist/chunks/{app-3ka5cgy9.js → state-7f2gtd9q.js} +9 -9
  97. package/dist/chunks/{app-qxn8bpmb.js → state-7jpv224f.js} +18 -18
  98. package/dist/chunks/{app-3hvwj3m6.js → state-7mb3cxhd.js} +7 -7
  99. package/dist/chunks/{app-nrtmt0gj.js → state-7sxfp0fs.js} +5 -5
  100. package/dist/chunks/{app-6bxz1xd9.js → state-7t268gtf.js} +13 -13
  101. package/dist/chunks/{app-vfkt388e.js → state-7vtcx4hk.js} +21 -21
  102. package/dist/chunks/{app-7w2ypzdf.js → state-7w2ypzdf.js} +1 -1
  103. package/dist/chunks/{app-7weczvnd.js → state-7weczvnd.js} +1 -1
  104. package/dist/chunks/{app-pnwsrq7c.js → state-80m5xgxj.js} +7 -7
  105. package/dist/chunks/{app-80mg3ag8.js → state-80mg3ag8.js} +3 -3
  106. package/dist/chunks/{app-80pdk984.js → state-80pdk984.js} +1 -1
  107. package/dist/chunks/{app-mft8r9dx.js → state-81qpdbwx.js} +25 -25
  108. package/dist/chunks/{app-n5as8391.js → state-84rzjcq0.js} +36 -36
  109. package/dist/chunks/{app-3adw4bt5.js → state-859w1rtj.js} +9 -9
  110. package/dist/chunks/{app-85jq8dht.js → state-85jq8dht.js} +1 -1
  111. package/dist/chunks/{app-8b3vzgkx.js → state-8b3vzgkx.js} +1 -1
  112. package/dist/chunks/{app-957a6038.js → state-8bzbvxx5.js} +8 -8
  113. package/dist/chunks/{app-8kjyvwy5.js → state-8kjyvwy5.js} +1 -1
  114. package/dist/chunks/{app-n5mwsv0r.js → state-8qbjba5v.js} +8 -8
  115. package/dist/chunks/{app-8sxe6kv8.js → state-8sxe6kv8.js} +2 -2
  116. package/dist/chunks/{app-00jjfnj7.js → state-8w7sx7k6.js} +20 -20
  117. package/dist/chunks/{app-8wtp7s3z.js → state-8wtp7s3z.js} +1 -1
  118. package/dist/chunks/{app-1rnry1v4.js → state-8wz4tvme.js} +6 -6
  119. package/dist/chunks/{app-ag6cgtqa.js → state-8y7sp9bt.js} +43 -43
  120. package/dist/chunks/{app-mwm4jr9n.js → state-8ykt8gh4.js} +39 -39
  121. package/dist/chunks/{app-8zv0xmg5.js → state-8zv0xmg5.js} +1 -1
  122. package/dist/chunks/{app-p5p267kc.js → state-902ym8qp.js} +13 -13
  123. package/dist/chunks/{app-95qw0e3q.js → state-97c87fwj.js} +18 -18
  124. package/dist/chunks/{app-9ah88nye.js → state-97jbfc4v.js} +12 -12
  125. package/dist/chunks/{app-mq984we8.js → state-9ayb9m9h.js} +18 -18
  126. package/dist/chunks/{app-spnp93qq.js → state-9f3jsh1d.js} +8 -8
  127. package/dist/chunks/{app-jt98tm65.js → state-9pp8gm3k.js} +25 -25
  128. package/dist/chunks/{app-9q8g9sv8.js → state-9q8g9sv8.js} +1 -1
  129. package/dist/chunks/{app-2grtr496.js → state-9rvyqq0m.js} +11 -11
  130. package/dist/chunks/{app-kmekj7m2.js → state-9sk33afj.js} +8 -8
  131. package/dist/chunks/{app-j8mrzfgg.js → state-a0w85qt3.js} +13 -13
  132. package/dist/chunks/{app-9t3xgyty.js → state-a4c2by28.js} +4 -4
  133. package/dist/chunks/{app-ykkand29.js → state-ae0qdtqr.js} +12 -12
  134. package/dist/chunks/{app-kf1x8zgw.js → state-aj1gh5b1.js} +18 -18
  135. package/dist/chunks/{app-xy5vs88s.js → state-ax38ah6s.js} +31 -31
  136. package/dist/chunks/{app-ayjs7tqn.js → state-ayjs7tqn.js} +2 -2
  137. package/dist/chunks/{app-g4txs7zc.js → state-b26ddj6h.js} +4 -4
  138. package/dist/chunks/{app-eah2397q.js → state-b8rtg17t.js} +20 -20
  139. package/dist/chunks/{app-79wp8f13.js → state-bnwq6b4w.js} +5 -5
  140. package/dist/chunks/{app-qzqtf0dx.js → state-brr7mgwg.js} +46 -46
  141. package/dist/chunks/{app-jtqmv2hm.js → state-bsdnr4ba.js} +6 -6
  142. package/dist/chunks/{app-bstexjd6.js → state-bstexjd6.js} +1 -1
  143. package/dist/chunks/{app-yr14tm90.js → state-c04pxy3w.js} +40 -40
  144. package/dist/chunks/{app-8qqc2s59.js → state-c2r3rtm4.js} +19 -19
  145. package/dist/chunks/{app-b0py6acz.js → state-c5jv50pm.js} +8 -8
  146. package/dist/chunks/{app-6vnk4sds.js → state-c9jqgsxy.js} +4 -4
  147. package/dist/chunks/{app-a3gh46mf.js → state-ca49h5yy.js} +35 -35
  148. package/dist/chunks/{app-7gxmh10m.js → state-cch1wthv.js} +27 -27
  149. package/dist/chunks/{app-a19kd72j.js → state-cdhj0d8w.js} +32 -32
  150. package/dist/chunks/{app-8aqfbqgm.js → state-cjn9ha1p.js} +9 -9
  151. package/dist/chunks/state-cm2e08f9.js +26 -0
  152. package/dist/chunks/{app-cq0zqw2z.js → state-cnn53cg0.js} +8 -8
  153. package/dist/chunks/{app-pz2pejex.js → state-cs44c0ny.js} +21 -21
  154. package/dist/chunks/{app-cwrgdav8.js → state-cwrgdav8.js} +2 -2
  155. package/dist/chunks/{app-whx5scm4.js → state-d3bts39x.js} +25 -25
  156. package/dist/chunks/{app-d4v9tmah.js → state-d4v9tmah.js} +2 -2
  157. package/dist/chunks/{app-70fr565a.js → state-d5c35vpx.js} +14 -14
  158. package/dist/chunks/{app-wram022v.js → state-d95z56xb.js} +16 -16
  159. package/dist/chunks/{app-y1n277rb.js → state-dbatw319.js} +3 -3
  160. package/dist/chunks/{app-0m9q59s6.js → state-ddwaa558.js} +4 -4
  161. package/dist/chunks/{app-06ct867e.js → state-dh7g0jpy.js} +11 -11
  162. package/dist/chunks/{app-52jz7pwf.js → state-dmjzkk9b.js} +12 -12
  163. package/dist/chunks/{app-kqg8bwd1.js → state-dmz93jpt.js} +10 -10
  164. package/dist/chunks/{app-247pbyk5.js → state-dp37kwn9.js} +7 -7
  165. package/dist/chunks/{app-sgqk6vs3.js → state-dq3zm9p4.js} +5 -5
  166. package/dist/chunks/{app-dt77769w.js → state-dt77769w.js} +1 -1
  167. package/dist/chunks/{app-4gqyvqdh.js → state-dtsdfz56.js} +5 -5
  168. package/dist/chunks/{app-na5a42jc.js → state-dvnqv6yn.js} +4 -4
  169. package/dist/chunks/{app-y6y1f5y8.js → state-dwqgav80.js} +19 -19
  170. package/dist/chunks/{app-pyb3ry4y.js → state-e42rf4nr.js} +25 -25
  171. package/dist/chunks/{app-wfjv00zy.js → state-e75ef818.js} +21 -21
  172. package/dist/chunks/{app-35kgbjca.js → state-e96z2m6v.js} +7 -7
  173. package/dist/chunks/{app-1mk73hd7.js → state-eam2557n.js} +8 -8
  174. package/dist/chunks/{app-swpvcscf.js → state-ekapvd9j.js} +28 -28
  175. package/dist/chunks/{app-bsexe5yk.js → state-emvz8vsx.js} +16 -16
  176. package/dist/chunks/{app-76gmk4js.js → state-en8b60np.js} +5 -5
  177. package/dist/chunks/state-en94qyvq.js +273 -0
  178. package/dist/chunks/{app-30gxh304.js → state-eq2t258h.js} +8 -8
  179. package/dist/chunks/{app-t8r5bb2p.js → state-eqfz6x7d.js} +15 -15
  180. package/dist/chunks/{app-eqw4pqj1.js → state-eqw4pqj1.js} +2 -2
  181. package/dist/chunks/{app-fazqq38j.js → state-esagctk2.js} +12 -12
  182. package/dist/chunks/{app-dqdn51sf.js → state-etyevypf.js} +17 -17
  183. package/dist/chunks/{app-8p6tesg0.js → state-ev9rrvkp.js} +22 -22
  184. package/dist/chunks/{app-0x1mgtk1.js → state-f2zjpyt5.js} +7 -7
  185. package/dist/chunks/{app-y4avew00.js → state-f3f0kyhw.js} +15 -15
  186. package/dist/chunks/{app-nj5r991b.js → state-f6btcd27.js} +27 -27
  187. package/dist/chunks/{app-1f8gda2j.js → state-fecrtxp5.js} +11 -11
  188. package/dist/chunks/{app-fg9p65nk.js → state-fg9p65nk.js} +2 -2
  189. package/dist/chunks/{app-apmdcqpc.js → state-fgsa38ay.js} +27 -27
  190. package/dist/chunks/{app-m66ga2vx.js → state-fk9abcws.js} +16 -16
  191. package/dist/chunks/{app-95t0tw0v.js → state-fnyc052x.js} +8 -8
  192. package/dist/chunks/{app-62cg9b9e.js → state-fsyps2wb.js} +13 -13
  193. package/dist/chunks/{app-sf9y72b7.js → state-g5ajqn12.js} +4 -4
  194. package/dist/chunks/{app-89x54ejz.js → state-gakp7x89.js} +4 -4
  195. package/dist/chunks/{app-p4gcr8nw.js → state-gatg4ajq.js} +5 -5
  196. package/dist/chunks/{app-gbjdnr5j.js → state-gbjdnr5j.js} +2 -2
  197. package/dist/chunks/{app-ghrv1g9c.js → state-ghrv1g9c.js} +1 -1
  198. package/dist/chunks/{app-ba5f9dy2.js → state-gmemj5zs.js} +4 -4
  199. package/dist/chunks/{app-gxs71cxp.js → state-gxs71cxp.js} +1 -1
  200. package/dist/chunks/{app-y0tsycvm.js → state-gzfw1v14.js} +23 -23
  201. package/dist/chunks/{app-zrjrnxz2.js → state-gzykt30c.js} +3 -3
  202. package/dist/chunks/{app-s59y84bq.js → state-h5arkge6.js} +58 -58
  203. package/dist/chunks/{app-4vzr2b15.js → state-h5chy42v.js} +3 -3
  204. package/dist/chunks/{app-ypnf90sc.js → state-ha4eeywz.js} +6 -6
  205. package/dist/chunks/{app-hgzwgvze.js → state-hgzwgvze.js} +2 -2
  206. package/dist/chunks/{app-7fnx82sm.js → state-hr8ev4ht.js} +3 -3
  207. package/dist/chunks/{app-6sqtdkcy.js → state-hrevqrsg.js} +1 -1
  208. package/dist/chunks/{app-cs6va74p.js → state-hwpy7xqd.js} +10 -10
  209. package/dist/chunks/{app-q2ttetpm.js → state-hxcs36a8.js} +20 -20
  210. package/dist/chunks/{app-2x0f01dd.js → state-hz5xsw53.js} +12 -12
  211. package/dist/chunks/{app-n7e8gndn.js → state-j3kztysk.js} +42 -42
  212. package/dist/chunks/{app-33qr263c.js → state-jah69v2r.js} +34 -34
  213. package/dist/chunks/{app-cc12rbr6.js → state-jc6fdbwr.js} +57 -57
  214. package/dist/chunks/{app-bp29v7tn.js → state-jdpteqf8.js} +36 -36
  215. package/dist/chunks/{app-jm70asfg.js → state-jm70asfg.js} +1 -1
  216. package/dist/chunks/{app-77m7hwaa.js → state-jmcp7p6t.js} +46 -46
  217. package/dist/chunks/{app-wkd5q91e.js → state-jw31swa9.js} +37 -34
  218. package/dist/chunks/{app-p2kdnzg4.js → state-jztnqbkb.js} +29 -29
  219. package/dist/chunks/{app-7szx5t17.js → state-k0hkm9yt.js} +30 -30
  220. package/dist/chunks/{app-r4qydbep.js → state-k1d7vaz9.js} +28 -28
  221. package/dist/chunks/{app-yevqcd6b.js → state-k1e8gd0x.js} +17 -17
  222. package/dist/chunks/{app-rrq7gnh6.js → state-k4sg6xcd.js} +6 -6
  223. package/dist/chunks/{app-86rns305.js → state-k6sdea1r.js} +5 -5
  224. package/dist/chunks/{app-exhr55tk.js → state-k81s7xrj.js} +23 -23
  225. package/dist/chunks/{app-vt2d6wap.js → state-kb7357nt.js} +4 -4
  226. package/dist/chunks/{app-m5x27r8g.js → state-kg3j2jy8.js} +48 -48
  227. package/dist/chunks/{app-8m4s1g37.js → state-khzy4wg3.js} +6 -6
  228. package/dist/chunks/{app-kt3bjfbg.js → state-kt3bjfbg.js} +1 -1
  229. package/dist/chunks/{app-hwgjczxt.js → state-kt9t7ezs.js} +25 -25
  230. package/dist/chunks/{app-kzczzf4v.js → state-kzczzf4v.js} +1 -1
  231. package/dist/chunks/{app-cvdkrx6f.js → state-m16enckk.js} +46 -46
  232. package/dist/chunks/{app-m1714858.js → state-m1714858.js} +1 -1
  233. package/dist/chunks/{app-2mbjfaxd.js → state-m7xh3h0x.js} +4 -4
  234. package/dist/chunks/{app-4qm7r5h9.js → state-m8kfdq53.js} +31 -31
  235. package/dist/chunks/{app-m90tx7mw.js → state-m90tx7mw.js} +1 -1
  236. package/dist/chunks/{app-m9w0rfyh.js → state-m9w0rfyh.js} +1 -1
  237. package/dist/chunks/{app-mb7mbhnz.js → state-mb7mbhnz.js} +3 -3
  238. package/dist/chunks/{app-gkam3hgf.js → state-mdgen25f.js} +5 -5
  239. package/dist/chunks/{app-485gexf9.js → state-mgm7q8zj.js} +16 -16
  240. package/dist/chunks/{app-dfj93yhv.js → state-mjhe4g2h.js} +7 -7
  241. package/dist/chunks/{app-2merx6cy.js → state-mm2c6967.js} +11 -11
  242. package/dist/chunks/{app-hpv452dw.js → state-mp1w26g9.js} +12 -12
  243. package/dist/chunks/{app-4xer3324.js → state-mr226q9g.js} +15 -15
  244. package/dist/chunks/{app-gy24j455.js → state-mz3s4az1.js} +9 -9
  245. package/dist/chunks/{app-1b4qm173.js → state-mzspv93g.js} +190 -190
  246. package/dist/chunks/{app-v1s9t994.js → state-n0qwh0ed.js} +16 -16
  247. package/dist/chunks/{app-93jm7hjf.js → state-n2xzmb0r.js} +13 -13
  248. package/dist/chunks/{app-xvn8mnch.js → state-n320gsn2.js} +4 -4
  249. package/dist/chunks/{app-ckk44cdz.js → state-nn2nd58t.js} +5 -5
  250. package/dist/chunks/{app-xhb877y8.js → state-nntz0wdb.js} +10 -10
  251. package/dist/chunks/{app-x4yka9zb.js → state-nva44atn.js} +41 -41
  252. package/dist/chunks/{app-me215f18.js → state-nw5eecxx.js} +1 -1
  253. package/dist/chunks/{app-m86zqssn.js → state-p41ppky5.js} +9 -9
  254. package/dist/chunks/{app-v3mcgmqw.js → state-p4rh8hdf.js} +21 -21
  255. package/dist/chunks/{app-q5f7d3fm.js → state-p9scnkse.js} +12 -12
  256. package/dist/chunks/{app-4dfqsw0d.js → state-pd7cqnhq.js} +4 -4
  257. package/dist/chunks/{app-ne8a842w.js → state-pezsvsz0.js} +22 -22
  258. package/dist/chunks/{app-rxmw0rhb.js → state-ph1k6042.js} +11 -11
  259. package/dist/chunks/{app-p2drgvth.js → state-pja45re6.js} +12 -12
  260. package/dist/chunks/{app-8b97tab6.js → state-pk8qaaqs.js} +9 -9
  261. package/dist/chunks/{app-pknna89w.js → state-pknna89w.js} +1 -1
  262. package/dist/chunks/{app-6bg6cvm0.js → state-ppchzq00.js} +12 -12
  263. package/dist/chunks/{app-m7aj11vv.js → state-pqcc506g.js} +369 -369
  264. package/dist/chunks/{app-8zcs8b0z.js → state-prjyz4d4.js} +27 -27
  265. package/dist/chunks/{app-4gjhybck.js → state-q3gf3dr6.js} +15 -15
  266. package/dist/chunks/{app-ty1zr4xr.js → state-q963thn8.js} +11 -7
  267. package/dist/chunks/{app-gpktz0vk.js → state-qf0cspkh.js} +32 -32
  268. package/dist/chunks/{app-qp7r0hxv.js → state-qp7r0hxv.js} +1 -1
  269. package/dist/chunks/{app-sq4s6wq1.js → state-qvtwmp4v.js} +6 -6
  270. package/dist/chunks/{app-ecb8qe35.js → state-qxzadwmc.js} +5 -5
  271. package/dist/chunks/{app-7b52v053.js → state-r11nrgf9.js} +4 -4
  272. package/dist/chunks/{app-xacrkbdt.js → state-r17fbvme.js} +4 -4
  273. package/dist/chunks/{app-qzves1f7.js → state-r67bjwx7.js} +34 -34
  274. package/dist/chunks/{app-rb9dy4dg.js → state-rb9dy4dg.js} +1 -1
  275. package/dist/chunks/{app-rgc9cx3e.js → state-rgc9cx3e.js} +2 -2
  276. package/dist/chunks/{app-3y9syvn4.js → state-rzz7nxm9.js} +48 -48
  277. package/dist/chunks/{app-y5nh6eq3.js → state-s2y7fbda.js} +36 -36
  278. package/dist/chunks/{app-sz4fqy37.js → state-s5wncjg7.js} +19 -19
  279. package/dist/chunks/{app-t7sb5m1s.js → state-s6edbn2q.js} +15 -15
  280. package/dist/chunks/{app-4kwwfkxq.js → state-sak0c658.js} +2 -2
  281. package/dist/chunks/{app-sbya78hr.js → state-sbya78hr.js} +1 -1
  282. package/dist/chunks/{app-9zwexsxs.js → state-scmk72rv.js} +5 -5
  283. package/dist/chunks/{app-2z68448b.js → state-skcgq5k4.js} +15 -13
  284. package/dist/chunks/{app-p0xxsvd6.js → state-skhaphad.js} +6 -6
  285. package/dist/chunks/{app-333e4s7d.js → state-sqdzwneh.js} +13 -13
  286. package/dist/chunks/{app-t7pjcqa8.js → state-sswhfsb9.js} +16 -16
  287. package/dist/chunks/{app-svcy3p9a.js → state-svcy3p9a.js} +1 -1
  288. package/dist/chunks/{app-q3ny6jk5.js → state-t2g4t1z5.js} +8 -8
  289. package/dist/chunks/{app-mee10srx.js → state-takjgrvq.js} +22 -22
  290. package/dist/chunks/{app-tbpn7jtk.js → state-tbpn7jtk.js} +1 -1
  291. package/dist/chunks/{app-wxf0m30v.js → state-tcbqm7hf.js} +4 -4
  292. package/dist/chunks/{app-tczq8hjw.js → state-tczq8hjw.js} +1 -1
  293. package/dist/chunks/{app-t4w6w4js.js → state-tf4gkfkx.js} +23 -23
  294. package/dist/chunks/{app-819k1hkv.js → state-tpven54p.js} +16 -16
  295. package/dist/chunks/{app-j376ae4e.js → state-tr8x705m.js} +5 -5
  296. package/dist/chunks/{app-gstg0ae4.js → state-ts958vmh.js} +29 -29
  297. package/dist/chunks/{app-0fvxehme.js → state-ttz31trp.js} +5 -5
  298. package/dist/chunks/{app-tvtps2q9.js → state-tvtps2q9.js} +1 -1
  299. package/dist/chunks/{app-twssxy5n.js → state-twssxy5n.js} +2 -2
  300. package/dist/chunks/{app-kezxk3pb.js → state-v02smd4g.js} +16 -16
  301. package/dist/chunks/{app-xged5h17.js → state-v2jzqrdt.js} +23 -23
  302. package/dist/chunks/{app-v2r1d0zg.js → state-v2r1d0zg.js} +1 -1
  303. package/dist/chunks/{app-fmqgcsh3.js → state-v6hn2ggr.js} +15 -15
  304. package/dist/chunks/{app-m10cf2g0.js → state-vhqqbzfv.js} +31 -31
  305. package/dist/chunks/{app-vjf35v1f.js → state-vjf35v1f.js} +1 -1
  306. package/dist/chunks/{app-yr1ehhcm.js → state-vjvy004v.js} +22 -22
  307. package/dist/chunks/{app-ez4hrxg9.js → state-vnnncvva.js} +16 -16
  308. package/dist/chunks/{app-x7dcyyf2.js → state-vpd4yg5b.js} +34 -34
  309. package/dist/chunks/{app-y3k9rb30.js → state-vqp5kk37.js} +11 -11
  310. package/dist/chunks/{app-vvxemm4r.js → state-vtadsekr.js} +98 -98
  311. package/dist/chunks/{app-g7542zse.js → state-vwc6mpbq.js} +24 -24
  312. package/dist/chunks/{app-x1t3ngbp.js → state-vwjpa1de.js} +11 -11
  313. package/dist/chunks/{app-w3wsvvr9.js → state-w3wsvvr9.js} +1 -1
  314. package/dist/chunks/{app-1yped5qa.js → state-w687dnns.js} +4 -4
  315. package/dist/chunks/{app-gaj3x73k.js → state-w7p25t36.js} +25 -25
  316. package/dist/chunks/{app-wakvkjy4.js → state-wakvkjy4.js} +1 -1
  317. package/dist/chunks/{app-fvvn716q.js → state-wc0ykp6e.js} +11 -11
  318. package/dist/chunks/{app-wd87259q.js → state-wd87259q.js} +1 -1
  319. package/dist/chunks/{app-wegkxhrn.js → state-wegkxhrn.js} +2 -2
  320. package/dist/chunks/{app-2n444ktb.js → state-weqc7sb9.js} +3 -3
  321. package/dist/chunks/{app-yapbp2nt.js → state-wngs052d.js} +22 -22
  322. package/dist/chunks/{app-1ktsg9tq.js → state-wq0p6jrb.js} +3 -3
  323. package/dist/chunks/{app-f3kq79qq.js → state-wt34pdjg.js} +18 -18
  324. package/dist/chunks/{app-vmqe41cb.js → state-wzfa06mn.js} +4 -4
  325. package/dist/chunks/{app-tb2gxcqz.js → state-x5kxn1qq.js} +39 -39
  326. package/dist/chunks/{app-jzceekcr.js → state-x7vt7y55.js} +5 -5
  327. package/dist/chunks/{app-em1rnmew.js → state-x9wwrnek.js} +47 -47
  328. package/dist/chunks/{app-7ex1q6kt.js → state-xa5zzh3s.js} +4 -4
  329. package/dist/chunks/{app-yxf2d4xa.js → state-xcwbz96d.js} +9 -9
  330. package/dist/chunks/{app-e4ba5gvv.js → state-xdq19q9p.js} +14 -14
  331. package/dist/chunks/{app-xxschbft.js → state-xjr6c8m4.js} +4 -4
  332. package/dist/chunks/{app-0wcg8mck.js → state-xmc7taf5.js} +59 -59
  333. package/dist/chunks/{app-0ahs07zn.js → state-xmx7xj34.js} +4 -4
  334. package/dist/chunks/{app-9g3pee38.js → state-y0p25td2.js} +18 -18
  335. package/dist/chunks/{app-f18n4nbc.js → state-y2v2ewvc.js} +21 -21
  336. package/dist/chunks/{app-kw4rkd9m.js → state-y7zqb3rj.js} +26 -26
  337. package/dist/chunks/{app-bqd4bt1a.js → state-y8z9jktj.js} +18 -18
  338. package/dist/chunks/{app-yb20nhc3.js → state-yb20nhc3.js} +1 -1
  339. package/dist/chunks/{app-ddvn7d3w.js → state-ydsespw1.js} +8 -8
  340. package/dist/chunks/{app-yw7gp4zv.js → state-ykqyz08a.js} +9 -9
  341. package/dist/chunks/{app-yr705xyq.js → state-yr705xyq.js} +1 -1
  342. package/dist/chunks/{app-f8ytdj8t.js → state-yt39c6df.js} +11 -11
  343. package/dist/chunks/{app-yvtc2x31.js → state-yvtc2x31.js} +1 -1
  344. package/dist/chunks/{app-8xz27cp9.js → state-yybgvvmq.js} +4 -4
  345. package/dist/chunks/{app-dnfz43gh.js → state-yyemckek.js} +11 -11
  346. package/dist/chunks/{app-z0wbgq7s.js → state-z0wbgq7s.js} +1 -1
  347. package/dist/chunks/state-z355x5yr.js +18 -0
  348. package/dist/chunks/{app-6r4kt603.js → state-z4zj0bd2.js} +7 -7
  349. package/dist/chunks/{app-wr3twpzt.js → state-z5adr5vh.js} +8 -8
  350. package/dist/chunks/{app-vtcf54kg.js → state-z63nefpx.js} +5 -5
  351. package/dist/chunks/{app-ze75qvmd.js → state-ze75qvmd.js} +3 -3
  352. package/dist/chunks/{app-fxwxq1kw.js → state-zyq2pv4t.js} +4 -4
  353. package/dist/codemode/catalog.js +1 -1
  354. package/dist/codemode/execution.js +5 -5
  355. package/dist/codemode/fetch.js +150 -150
  356. package/dist/codemode/instructions.js +12 -12
  357. package/dist/codemode/tool.js +157 -157
  358. package/dist/command.js +94 -94
  359. package/dist/config/discovery.js +95 -95
  360. package/dist/config/integration.js +3 -3
  361. package/dist/config/managed.js +1 -1
  362. package/dist/config/markdown.js +1 -1
  363. package/dist/config/normalize.js +113 -113
  364. package/dist/config/plugin/agent.js +134 -134
  365. package/dist/config/plugin/command.js +249 -249
  366. package/dist/config/plugin/compaction.js +175 -175
  367. package/dist/config/plugin/compatibility.js +155 -155
  368. package/dist/config/plugin/entry-observer.js +1 -1
  369. package/dist/config/plugin/formatter.js +132 -132
  370. package/dist/config/plugin/image.js +131 -131
  371. package/dist/config/plugin/instruction.js +132 -132
  372. package/dist/config/plugin/location-watcher.js +131 -131
  373. package/dist/config/plugin/mcp.js +150 -150
  374. package/dist/config/plugin/policy.js +131 -131
  375. package/dist/config/plugin/provider.js +131 -131
  376. package/dist/config/plugin/reference.js +133 -133
  377. package/dist/config/plugin/shell.js +131 -131
  378. package/dist/config/plugin/skill-file.js +151 -151
  379. package/dist/config/plugin/skill-scan.js +1 -1
  380. package/dist/config/plugin/skill.js +158 -158
  381. package/dist/config/plugin/snapshot.js +131 -131
  382. package/dist/config/plugin/source.js +133 -133
  383. package/dist/config/plugin/tool-output.js +132 -132
  384. package/dist/config/plugin/websearch.js +130 -130
  385. package/dist/config/plugin/worktree.js +133 -133
  386. package/dist/config/variable.js +1 -1
  387. package/dist/config/watch.js +1 -1
  388. package/dist/config.js +132 -132
  389. package/dist/console-access.js +1 -1
  390. package/dist/credential/sql.js +2 -2
  391. package/dist/credential.js +94 -94
  392. package/dist/database/batch.js +1 -1
  393. package/dist/database/database.js +77 -77
  394. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  395. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  396. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  397. package/dist/database/drizzle/index.js +15 -15
  398. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  399. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  400. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  401. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  402. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  403. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  404. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  405. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  406. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  407. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  408. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  409. package/dist/database/drizzle.js +16 -16
  410. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  411. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  412. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  413. package/dist/database/migration/20260225215848_workspace.js +1 -1
  414. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  415. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  416. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  417. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  418. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  419. package/dist/database/migration/20260323234822_events.js +1 -1
  420. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  421. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  422. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  423. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  424. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  425. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  426. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  427. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  428. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  429. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  430. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  431. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  432. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  433. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  434. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  435. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  436. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  437. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  438. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  439. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  440. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  441. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  442. package/dist/database/migration/20260611035744_credential.js +1 -1
  443. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  444. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  445. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  446. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  447. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  448. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  449. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  450. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  451. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  452. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  453. package/dist/database/migration/20260812213948_worktree.js +1 -1
  454. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  455. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  456. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  457. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  458. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  459. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  460. package/dist/database/migration/20261024002554_session_allowance.js +1 -1
  461. package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
  462. package/dist/database/migration/20261025123711_blob.js +1 -1
  463. package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
  464. package/dist/database/migration/20261026223005_schedule.js +1 -1
  465. package/dist/database/migration/20261029002625_session_part.js +1 -1
  466. package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
  467. package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
  468. package/dist/database/migration/20261030054400_job.js +1 -1
  469. package/dist/database/migration.gen.js +60 -60
  470. package/dist/database/migration.js +76 -76
  471. package/dist/database/path.js +2 -2
  472. package/dist/database/schema.gen.js +1 -1
  473. package/dist/database/schema.sql.js +1 -1
  474. package/dist/database/v1-migration.bun.js +105 -105
  475. package/dist/effect/app-node-builder.js +450 -450
  476. package/dist/effect/app-node-platform.js +2 -2
  477. package/dist/effect/keyed-mutex.js +3 -3
  478. package/dist/effect/websocket-constructor.js +1 -1
  479. package/dist/environment/driver.js +1 -1
  480. package/dist/environment/environment.js +105 -105
  481. package/dist/environment/exec-defaults.js +2 -2
  482. package/dist/environment/files.js +1 -1
  483. package/dist/environment/index.js +107 -107
  484. package/dist/environment/local.js +2 -2
  485. package/dist/environment/memory.js +2 -2
  486. package/dist/environment/unavailable.js +3 -3
  487. package/dist/event/sql.js +1 -1
  488. package/dist/event-logger.js +85 -85
  489. package/dist/file-access.js +162 -162
  490. package/dist/file-mutation.js +108 -108
  491. package/dist/file-retention.js +1 -1
  492. package/dist/file-write.js +166 -166
  493. package/dist/filesystem/fff.bun.js +2 -2
  494. package/dist/filesystem/fff.js +1 -1
  495. package/dist/filesystem/fff.node.js +2 -2
  496. package/dist/filesystem/fff.workerd.js +2 -2
  497. package/dist/filesystem/file-watch.js +91 -91
  498. package/dist/filesystem/location-watcher-policy.js +4 -4
  499. package/dist/filesystem/location-watcher.js +258 -258
  500. package/dist/filesystem/protected.js +1 -1
  501. package/dist/filesystem/search.js +113 -113
  502. package/dist/filesystem/watcher-binding.js +1 -1
  503. package/dist/filesystem/watcher.js +7 -7
  504. package/dist/filesystem.js +116 -116
  505. package/dist/flag.js +134 -134
  506. package/dist/form.js +87 -87
  507. package/dist/formatter/builtins.js +4 -4
  508. package/dist/formatter.js +100 -100
  509. package/dist/generate.js +117 -117
  510. package/dist/git.js +11 -11
  511. package/dist/github-copilot/models.js +105 -105
  512. package/dist/image/notice.js +1 -1
  513. package/dist/image/photon-normalize.js +1 -1
  514. package/dist/image/photon-worker.js +1 -1
  515. package/dist/image/photon.js +4 -4
  516. package/dist/image.js +6 -6
  517. package/dist/instance/service.js +5 -5
  518. package/dist/instance.js +441 -441
  519. package/dist/instruction-discovery.js +96 -96
  520. package/dist/instructions/builtins.js +101 -101
  521. package/dist/instructions/index.js +6 -6
  522. package/dist/integration/connection.js +3 -3
  523. package/dist/integration.js +98 -98
  524. package/dist/job/list.js +7 -7
  525. package/dist/job/recovery.js +2 -2
  526. package/dist/job/sql.js +2 -2
  527. package/dist/job.js +90 -90
  528. package/dist/kv/sql.js +2 -2
  529. package/dist/kv.js +82 -82
  530. package/dist/location-activity.js +190 -190
  531. package/dist/location-lifecycle.js +155 -155
  532. package/dist/location-service-map.js +99 -99
  533. package/dist/location-services.js +438 -438
  534. package/dist/location.js +100 -100
  535. package/dist/managed-policy.js +3 -3
  536. package/dist/mcp/client.js +161 -161
  537. package/dist/mcp/connection.js +106 -106
  538. package/dist/mcp/event-errors.js +1 -1
  539. package/dist/mcp/index.js +151 -151
  540. package/dist/mcp/instructions.js +192 -192
  541. package/dist/mcp/oauth.js +90 -90
  542. package/dist/mcp/pool.js +112 -112
  543. package/dist/mcp/socket-client.js +1 -1
  544. package/dist/mcp/stdio.js +161 -161
  545. package/dist/mime.js +1 -1
  546. package/dist/modal/models.js +105 -105
  547. package/dist/model-resolver.js +113 -113
  548. package/dist/model-retry.js +1 -1
  549. package/dist/model.js +114 -114
  550. package/dist/models-dev/v1.js +1 -1
  551. package/dist/models-dev.js +114 -114
  552. package/dist/oauth/page.js +1 -1
  553. package/dist/oauth/redirect.js +1 -1
  554. package/dist/permission/saved.js +93 -93
  555. package/dist/permission/sql.js +5 -5
  556. package/dist/permission.js +158 -158
  557. package/dist/persistent-pty/binary.bun.js +1 -1
  558. package/dist/persistent-pty/daemon.js +1 -1
  559. package/dist/persistent-pty/index.js +97 -97
  560. package/dist/persistent-pty/pty-binding.js +1 -1
  561. package/dist/persistent-pty.js +86 -86
  562. package/dist/plugin/agent.js +87 -87
  563. package/dist/plugin/command.js +148 -148
  564. package/dist/plugin/fork-notice.js +3 -3
  565. package/dist/plugin/goal.js +3 -3
  566. package/dist/plugin/hooks.js +5 -5
  567. package/dist/plugin/host.js +251 -251
  568. package/dist/plugin/identity.js +5 -5
  569. package/dist/plugin/instance.js +5 -5
  570. package/dist/plugin/internal.js +418 -418
  571. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  572. package/dist/plugin/models-dev.js +111 -111
  573. package/dist/plugin/module.js +130 -130
  574. package/dist/plugin/optimize.js +4 -4
  575. package/dist/plugin/plan.js +151 -151
  576. package/dist/plugin/promise.js +1 -1
  577. package/dist/plugin/provider/amazon-bedrock.js +107 -107
  578. package/dist/plugin/provider/azure.js +134 -134
  579. package/dist/plugin/provider/cerebras.js +1 -1
  580. package/dist/plugin/provider/chatgpt.js +135 -135
  581. package/dist/plugin/provider/claude-agent/aisdk.js +118 -118
  582. package/dist/plugin/provider/claude-agent/claude/fork.js +2 -2
  583. package/dist/plugin/provider/claude-agent/claude/io.js +4 -4
  584. package/dist/plugin/provider/claude-agent/claude/probe.js +2 -2
  585. package/dist/plugin/provider/claude-agent/claude/query-options.js +4 -4
  586. package/dist/plugin/provider/claude-agent/claude/sdk.js +3 -3
  587. package/dist/plugin/provider/claude-agent/claude/session.js +4 -4
  588. package/dist/plugin/provider/claude-agent/claude/sessions.js +16 -16
  589. package/dist/plugin/provider/claude-agent/claude/status.js +9 -9
  590. package/dist/plugin/provider/claude-agent/index.js +149 -149
  591. package/dist/plugin/provider/claude-agent/instructions.js +113 -113
  592. package/dist/plugin/provider/claude-agent/integration.js +116 -116
  593. package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +3 -3
  594. package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +7 -7
  595. package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +6 -6
  596. package/dist/plugin/provider/claude-agent/language-model/convert-to-claude-message.js +1 -1
  597. package/dist/plugin/provider/claude-agent/language-model/request-kind.js +1 -1
  598. package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +3 -3
  599. package/dist/plugin/provider/claude-agent/language-model/usage.js +3 -3
  600. package/dist/plugin/provider/claude-agent/provider.js +111 -111
  601. package/dist/plugin/provider/claude-agent/session.js +111 -111
  602. package/dist/plugin/provider/claude-agent/sync/catch-up.js +3 -3
  603. package/dist/plugin/provider/claude-agent/sync/checkpoints.js +2 -2
  604. package/dist/plugin/provider/claude-agent/sync/decide.js +2 -2
  605. package/dist/plugin/provider/claude-agent/sync/fingerprint.js +1 -1
  606. package/dist/plugin/provider/claude-agent/sync/record.js +3 -3
  607. package/dist/plugin/provider/claude-agent/tools/hooks.js +3 -3
  608. package/dist/plugin/provider/claude-agent/tools/names.js +1 -1
  609. package/dist/plugin/provider/claude-agent/tools/pending.js +3 -3
  610. package/dist/plugin/provider/claude-agent/tools/result.js +3 -3
  611. package/dist/plugin/provider/claude-agent/tools/server.js +4 -4
  612. package/dist/plugin/provider/cloudflare-ai-gateway.js +131 -131
  613. package/dist/plugin/provider/cloudflare-workers-ai.js +131 -131
  614. package/dist/plugin/provider/configured.js +127 -127
  615. package/dist/plugin/provider/credential-settings.js +88 -88
  616. package/dist/plugin/provider/databricks.js +1 -1
  617. package/dist/plugin/provider/digitalocean.js +110 -110
  618. package/dist/plugin/provider/dynamic.js +2 -2
  619. package/dist/plugin/provider/github-copilot.js +112 -112
  620. package/dist/plugin/provider/gitlab.js +111 -111
  621. package/dist/plugin/provider/google-vertex.js +128 -128
  622. package/dist/plugin/provider/kilo.js +1 -1
  623. package/dist/plugin/provider/llmgateway.js +89 -89
  624. package/dist/plugin/provider/lmstudio.js +144 -144
  625. package/dist/plugin/provider/local.js +141 -141
  626. package/dist/plugin/provider/modal.js +109 -109
  627. package/dist/plugin/provider/neon.js +1 -1
  628. package/dist/plugin/provider/nvidia.js +1 -1
  629. package/dist/plugin/provider/ollama.js +144 -144
  630. package/dist/plugin/provider/openai-context-caps.js +107 -107
  631. package/dist/plugin/provider/openai.js +137 -137
  632. package/dist/plugin/provider/opencode-watches.js +4 -4
  633. package/dist/plugin/provider/opencode.js +163 -163
  634. package/dist/plugin/provider/openrouter.js +105 -105
  635. package/dist/plugin/provider/poe.js +91 -91
  636. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  637. package/dist/plugin/provider/refresh.js +87 -87
  638. package/dist/plugin/provider/sap-ai-core.js +105 -105
  639. package/dist/plugin/provider/sdk-factory.js +1 -1
  640. package/dist/plugin/provider/snowflake-cortex.js +133 -133
  641. package/dist/plugin/provider/vllm.js +144 -144
  642. package/dist/plugin/provider/xai.js +105 -105
  643. package/dist/plugin/provider/zenmux.js +1 -1
  644. package/dist/plugin/provider.js +242 -242
  645. package/dist/plugin/sdk.js +89 -89
  646. package/dist/plugin/service.js +3 -3
  647. package/dist/plugin/skill.js +154 -154
  648. package/dist/plugin/source-directory.js +1 -1
  649. package/dist/plugin/supervisor.js +430 -430
  650. package/dist/plugin/tool-input-repair.js +4 -4
  651. package/dist/plugin/update.js +6 -6
  652. package/dist/plugin/vcs/git.js +99 -99
  653. package/dist/plugin/vcs/hg.js +99 -99
  654. package/dist/plugin/verbosity.js +107 -107
  655. package/dist/plugin/warming.js +131 -131
  656. package/dist/plugin/websearch/exa.js +8 -8
  657. package/dist/plugin/websearch/firecrawl.js +9 -9
  658. package/dist/plugin/websearch/index.js +10 -10
  659. package/dist/plugin/websearch/mcp.js +4 -4
  660. package/dist/plugin/websearch/parallel.js +9 -9
  661. package/dist/plugin/websearch/provider.js +3 -3
  662. package/dist/plugin/websearch/tavily.js +7 -7
  663. package/dist/plugin/websearch/tinyfish.js +9 -9
  664. package/dist/plugin.js +262 -262
  665. package/dist/project/icon.js +5 -5
  666. package/dist/project/schema.js +8 -8
  667. package/dist/project/sql.js +4 -4
  668. package/dist/project.js +101 -101
  669. package/dist/provider.js +113 -113
  670. package/dist/pty/protocol.js +1 -1
  671. package/dist/pty/ticket.js +1 -1
  672. package/dist/pty.js +113 -113
  673. package/dist/reference/instructions.js +102 -102
  674. package/dist/reference.js +101 -101
  675. package/dist/repository-cache.js +93 -93
  676. package/dist/repository.js +1 -1
  677. package/dist/ripgrep/binary.js +2 -2
  678. package/dist/ripgrep.js +109 -109
  679. package/dist/rpc.js +99 -99
  680. package/dist/schedule/check.js +256 -256
  681. package/dist/schedule/sql.js +6 -6
  682. package/dist/schedule.js +270 -270
  683. package/dist/schema.js +1 -1
  684. package/dist/session/affinity.js +1 -1
  685. package/dist/session/background.js +3 -3
  686. package/dist/session/blob.js +135 -135
  687. package/dist/session/command.js +85 -85
  688. package/dist/session/compaction.js +177 -177
  689. package/dist/session/context.js +208 -208
  690. package/dist/session/diff.js +101 -101
  691. package/dist/session/environment.js +5 -5
  692. package/dist/session/error.js +5 -5
  693. package/dist/session/event.js +1 -1
  694. package/dist/session/execution/restart.js +276 -276
  695. package/dist/session/execution/subagent-report.js +145 -145
  696. package/dist/session/execution.js +174 -174
  697. package/dist/session/generate.js +208 -208
  698. package/dist/session/history.js +141 -141
  699. package/dist/session/inbox.js +152 -152
  700. package/dist/session/info.js +3 -3
  701. package/dist/session/instruction-entry.js +91 -91
  702. package/dist/session/instruction-state.js +11 -9
  703. package/dist/session/instructions.js +146 -146
  704. package/dist/session/message-updater.js +4 -4
  705. package/dist/session/message.js +1 -1
  706. package/dist/session/model-request.js +173 -173
  707. package/dist/session/model-transport.js +9 -9
  708. package/dist/session/move.js +176 -176
  709. package/dist/session/projector.js +148 -148
  710. package/dist/session/prompt.js +153 -153
  711. package/dist/session/recent-text.js +1 -1
  712. package/dist/session/revert.js +144 -144
  713. package/dist/session/run-coordinator.js +1 -1
  714. package/dist/session/runner/index.js +3 -3
  715. package/dist/session/runner/llm.js +263 -263
  716. package/dist/session/runner/max-steps.js +1 -1
  717. package/dist/session/runner/model.js +115 -115
  718. package/dist/session/runner/publish-llm-event.js +155 -155
  719. package/dist/session/runner/retry.js +5 -5
  720. package/dist/session/runner/step.js +168 -168
  721. package/dist/session/runner/to-llm-message.js +142 -142
  722. package/dist/session/schema.js +5 -5
  723. package/dist/session/session.js +196 -196
  724. package/dist/session/shell.js +149 -149
  725. package/dist/session/skill.js +152 -152
  726. package/dist/session/sql.js +5 -5
  727. package/dist/session/stats.js +85 -85
  728. package/dist/session/store.js +147 -147
  729. package/dist/session/stored.js +2 -2
  730. package/dist/session/subagent-completion.js +1 -1
  731. package/dist/session/subagent-job.js +173 -173
  732. package/dist/session/system-prompt.js +5 -5
  733. package/dist/session/title.js +212 -212
  734. package/dist/session/to-session-error.js +154 -154
  735. package/dist/session/transfer.js +258 -258
  736. package/dist/session/usage.js +1 -1
  737. package/dist/session.js +253 -253
  738. package/dist/shared-cache.js +5 -5
  739. package/dist/shell/parse.js +6 -6
  740. package/dist/shell/result.js +1 -1
  741. package/dist/shell/scan.js +1 -1
  742. package/dist/shell/select.js +15 -15
  743. package/dist/shell.js +149 -149
  744. package/dist/skill/discovery.js +6 -6
  745. package/dist/skill/instructions.js +156 -156
  746. package/dist/skill.js +161 -161
  747. package/dist/snapshot.js +102 -102
  748. package/dist/state.js +1 -1
  749. package/dist/tool/html-markdown.js +1 -1
  750. package/dist/tool/http-body.js +1 -1
  751. package/dist/tool/mcp.js +191 -191
  752. package/dist/tool/plugin/artifact.js +246 -246
  753. package/dist/tool/plugin/edit.js +172 -172
  754. package/dist/tool/plugin/file-diff.js +1 -1
  755. package/dist/tool/plugin/glob.js +176 -176
  756. package/dist/tool/plugin/grep.js +175 -175
  757. package/dist/tool/plugin/image-generate.js +249 -249
  758. package/dist/tool/plugin/mcp-events.js +168 -168
  759. package/dist/tool/plugin/mcp-resource.js +172 -172
  760. package/dist/tool/plugin/opencode.js +168 -168
  761. package/dist/tool/plugin/patch.js +171 -171
  762. package/dist/tool/plugin/question.js +151 -151
  763. package/dist/tool/plugin/read.js +177 -177
  764. package/dist/tool/plugin/schedule.js +262 -262
  765. package/dist/tool/plugin/shell.js +251 -251
  766. package/dist/tool/plugin/skill.js +160 -160
  767. package/dist/tool/plugin/subagent.js +253 -253
  768. package/dist/tool/plugin/todo.js +158 -158
  769. package/dist/tool/plugin/webfetch.js +160 -160
  770. package/dist/tool/plugin/websearch.js +158 -158
  771. package/dist/tool/plugin/write.js +171 -171
  772. package/dist/tool/read-filesystem.js +114 -114
  773. package/dist/tool/runtime.js +1 -1
  774. package/dist/tool/search.js +109 -109
  775. package/dist/tool-output.js +7 -7
  776. package/dist/tool.js +163 -163
  777. package/dist/types/session/instruction-state.d.ts +4 -0
  778. package/dist/usage-limits.js +98 -98
  779. package/dist/util/canonical-json.js +1 -1
  780. package/dist/util/error-summary.js +1 -1
  781. package/dist/util/git-executable.js +3 -3
  782. package/dist/util/lazy.js +1 -1
  783. package/dist/util/slug.js +1 -1
  784. package/dist/util/token.js +1 -1
  785. package/dist/util/which.js +1 -1
  786. package/dist/util/wildcard.js +1 -1
  787. package/dist/v1/config/agent.js +5 -5
  788. package/dist/v1/config/command.js +3 -3
  789. package/dist/v1/config/mcp.js +4 -4
  790. package/dist/v1/config/migrate.js +106 -106
  791. package/dist/v1/config/permission.js +1 -1
  792. package/dist/v1/config/plugin.js +3 -3
  793. package/dist/v1/config/provider-options.js +1 -1
  794. package/dist/v1/config/provider.js +4 -4
  795. package/dist/variant.js +105 -105
  796. package/dist/vcs/patch.js +1 -1
  797. package/dist/vcs.js +100 -100
  798. package/dist/voice.js +99 -99
  799. package/dist/websearch.js +93 -93
  800. package/dist/wellknown/plugin.js +85 -85
  801. package/dist/wellknown.js +90 -90
  802. package/dist/workspace/driver.js +7 -7
  803. package/dist/workspace/sql.js +1 -1
  804. package/dist/workspace.js +93 -93
  805. package/dist/worktree/directory.js +2 -2
  806. package/dist/worktree/git.js +9 -9
  807. package/dist/worktree/sql.js +5 -5
  808. package/dist/worktree/strategies.js +102 -102
  809. package/dist/worktree.js +111 -111
  810. package/package.json +8 -8
  811. package/dist/chunks/app-8x060fmy.js +0 -18
  812. package/dist/chunks/app-s6jc137z.js +0 -26
  813. package/dist/chunks/app-x0z521r5.js +0 -273
  814. package/dist/chunks/app-zkbhzvnx.js +0 -16
  815. /package/dist/chunks/{app-0qkdqm5v.js → state-0qkdqm5v.js} +0 -0
  816. /package/dist/chunks/{app-0zkw76rk.js → state-0zkw76rk.js} +0 -0
  817. /package/dist/chunks/{app-17cy0kzp.js → state-17cy0kzp.js} +0 -0
  818. /package/dist/chunks/{app-1cnp2v09.js → state-1cnp2v09.js} +0 -0
  819. /package/dist/chunks/{app-1kah00gy.js → state-1kah00gy.js} +0 -0
  820. /package/dist/chunks/{app-24dcb14g.js → state-24dcb14g.js} +0 -0
  821. /package/dist/chunks/{app-2710q6r3.js → state-2710q6r3.js} +0 -0
  822. /package/dist/chunks/{app-2c3vjs8z.js → state-2c3vjs8z.js} +0 -0
  823. /package/dist/chunks/{app-359p4xyc.js → state-359p4xyc.js} +0 -0
  824. /package/dist/chunks/{app-3v8g72cx.js → state-3v8g72cx.js} +0 -0
  825. /package/dist/chunks/{app-43n2bw4t.js → state-43n2bw4t.js} +0 -0
  826. /package/dist/chunks/{app-4knz6hnm.js → state-4knz6hnm.js} +0 -0
  827. /package/dist/chunks/{app-4qk9sjk2.js → state-4qk9sjk2.js} +0 -0
  828. /package/dist/chunks/{app-53557ph1.js → state-53557ph1.js} +0 -0
  829. /package/dist/chunks/{app-5w3e23ze.js → state-5w3e23ze.js} +0 -0
  830. /package/dist/chunks/{app-6agm2x70.js → state-6agm2x70.js} +0 -0
  831. /package/dist/chunks/{app-6prwharc.js → state-6prwharc.js} +0 -0
  832. /package/dist/chunks/{app-6q2bdcd1.js → state-6q2bdcd1.js} +0 -0
  833. /package/dist/chunks/{app-7akdwqpd.js → state-7akdwqpd.js} +0 -0
  834. /package/dist/chunks/{app-7m9af43g.js → state-7m9af43g.js} +0 -0
  835. /package/dist/chunks/{app-7rvsyqjv.js → state-7rvsyqjv.js} +0 -0
  836. /package/dist/chunks/{app-822emrt2.js → state-822emrt2.js} +0 -0
  837. /package/dist/chunks/{app-84wd9syh.js → state-84wd9syh.js} +0 -0
  838. /package/dist/chunks/{app-88xbtdfr.js → state-88xbtdfr.js} +0 -0
  839. /package/dist/chunks/{app-8n3pysct.js → state-8n3pysct.js} +0 -0
  840. /package/dist/chunks/{app-8wj87zfr.js → state-8wj87zfr.js} +0 -0
  841. /package/dist/chunks/{app-9a4afbnw.js → state-9a4afbnw.js} +0 -0
  842. /package/dist/chunks/{app-9ceax7yg.js → state-9ceax7yg.js} +0 -0
  843. /package/dist/chunks/{app-9rqn6x4v.js → state-9rqn6x4v.js} +0 -0
  844. /package/dist/chunks/{app-ade8csyh.js → state-ade8csyh.js} +0 -0
  845. /package/dist/chunks/{app-aqzs7mqg.js → state-aqzs7mqg.js} +0 -0
  846. /package/dist/chunks/{app-atq7p7m5.js → state-atq7p7m5.js} +0 -0
  847. /package/dist/chunks/{app-beh6qq61.js → state-beh6qq61.js} +0 -0
  848. /package/dist/chunks/{app-bkyjaxrp.js → state-bkyjaxrp.js} +0 -0
  849. /package/dist/chunks/{app-bmr6ed5q.js → state-bmr6ed5q.js} +0 -0
  850. /package/dist/chunks/{app-cf4snx6d.js → state-cf4snx6d.js} +0 -0
  851. /package/dist/chunks/{app-cqv5kn06.js → state-cqv5kn06.js} +0 -0
  852. /package/dist/chunks/{app-cvy3z8tj.js → state-cvy3z8tj.js} +0 -0
  853. /package/dist/chunks/{app-d9fn303g.js → state-d9fn303g.js} +0 -0
  854. /package/dist/chunks/{app-d9jj8t3e.js → state-d9jj8t3e.js} +0 -0
  855. /package/dist/chunks/{app-df08tz66.js → state-df08tz66.js} +0 -0
  856. /package/dist/chunks/{app-dy18nga0.js → state-dy18nga0.js} +0 -0
  857. /package/dist/chunks/{app-e5kj55wp.js → state-e5kj55wp.js} +0 -0
  858. /package/dist/chunks/{app-ean2d8b5.js → state-ean2d8b5.js} +0 -0
  859. /package/dist/chunks/{app-ec1grn59.js → state-ec1grn59.js} +0 -0
  860. /package/dist/chunks/{app-emrn6kk6.js → state-emrn6kk6.js} +0 -0
  861. /package/dist/chunks/{app-f0mxakyp.js → state-f0mxakyp.js} +0 -0
  862. /package/dist/chunks/{app-f6n9ztr4.js → state-f6n9ztr4.js} +0 -0
  863. /package/dist/chunks/{app-faypxj3z.js → state-faypxj3z.js} +0 -0
  864. /package/dist/chunks/{app-fd410y7t.js → state-fd410y7t.js} +0 -0
  865. /package/dist/chunks/{app-fkpq3x5p.js → state-fkpq3x5p.js} +0 -0
  866. /package/dist/chunks/{app-g86h250q.js → state-g86h250q.js} +0 -0
  867. /package/dist/chunks/{app-gebd4c9n.js → state-gebd4c9n.js} +0 -0
  868. /package/dist/chunks/{app-gftt206x.js → state-gftt206x.js} +0 -0
  869. /package/dist/chunks/{app-hcxmzztb.js → state-hcxmzztb.js} +0 -0
  870. /package/dist/chunks/{app-hk9envan.js → state-hk9envan.js} +0 -0
  871. /package/dist/chunks/{app-j2ntwpah.js → state-j2ntwpah.js} +0 -0
  872. /package/dist/chunks/{app-jjkms2e6.js → state-jjkms2e6.js} +0 -0
  873. /package/dist/chunks/{app-jr7sbwjy.js → state-jr7sbwjy.js} +0 -0
  874. /package/dist/chunks/{app-jwfs4k6c.js → state-jwfs4k6c.js} +0 -0
  875. /package/dist/chunks/{app-jwr30sdr.js → state-jwr30sdr.js} +0 -0
  876. /package/dist/chunks/{app-jzg6c2d5.js → state-jzg6c2d5.js} +0 -0
  877. /package/dist/chunks/{app-m18g726c.js → state-m18g726c.js} +0 -0
  878. /package/dist/chunks/{app-mp448xyj.js → state-mp448xyj.js} +0 -0
  879. /package/dist/chunks/{app-msx8hqn2.js → state-msx8hqn2.js} +0 -0
  880. /package/dist/chunks/{app-n05xt0ee.js → state-n05xt0ee.js} +0 -0
  881. /package/dist/chunks/{app-n3j8tn72.js → state-n3j8tn72.js} +0 -0
  882. /package/dist/chunks/{app-nh4v3znn.js → state-nh4v3znn.js} +0 -0
  883. /package/dist/chunks/{app-njntx4h6.js → state-njntx4h6.js} +0 -0
  884. /package/dist/chunks/{app-p71gwv9c.js → state-p71gwv9c.js} +0 -0
  885. /package/dist/chunks/{app-q3sfg36h.js → state-q3sfg36h.js} +0 -0
  886. /package/dist/chunks/{app-q74kybfr.js → state-q74kybfr.js} +0 -0
  887. /package/dist/chunks/{app-qb87gjwd.js → state-qb87gjwd.js} +0 -0
  888. /package/dist/chunks/{app-qfa1cgps.js → state-qfa1cgps.js} +0 -0
  889. /package/dist/chunks/{app-qg3g05ea.js → state-qg3g05ea.js} +0 -0
  890. /package/dist/chunks/{app-qrg20bc0.js → state-qrg20bc0.js} +0 -0
  891. /package/dist/chunks/{app-rcb2kzg1.js → state-rcb2kzg1.js} +0 -0
  892. /package/dist/chunks/{app-sdp7kfr6.js → state-sdp7kfr6.js} +0 -0
  893. /package/dist/chunks/{app-ssg3fenm.js → state-ssg3fenm.js} +0 -0
  894. /package/dist/chunks/{app-syrav9an.js → state-syrav9an.js} +0 -0
  895. /package/dist/chunks/{app-t03h4f5z.js → state-t03h4f5z.js} +0 -0
  896. /package/dist/chunks/{app-ty7weeps.js → state-ty7weeps.js} +0 -0
  897. /package/dist/chunks/{app-v2dnd5dt.js → state-v2dnd5dt.js} +0 -0
  898. /package/dist/chunks/{app-ve7vex1e.js → state-ve7vex1e.js} +0 -0
  899. /package/dist/chunks/{app-vtarvj67.js → state-vtarvj67.js} +0 -0
  900. /package/dist/chunks/{app-w803qqfp.js → state-w803qqfp.js} +0 -0
  901. /package/dist/chunks/{app-wc3fc9cn.js → state-wc3fc9cn.js} +0 -0
  902. /package/dist/chunks/{app-wer8tq1h.js → state-wer8tq1h.js} +0 -0
  903. /package/dist/chunks/{app-wtztk69x.js → state-wtztk69x.js} +0 -0
  904. /package/dist/chunks/{app-x4th4bpe.js → state-x4th4bpe.js} +0 -0
  905. /package/dist/chunks/{app-y44na4kk.js → state-y44na4kk.js} +0 -0
  906. /package/dist/chunks/{app-y8f7s663.js → state-y8f7s663.js} +0 -0
  907. /package/dist/chunks/{app-ygaqb7jw.js → state-ygaqb7jw.js} +0 -0
  908. /package/dist/chunks/{app-z5v4ffb3.js → state-z5v4ffb3.js} +0 -0
  909. /package/dist/chunks/{app-z9919s4g.js → state-z9919s4g.js} +0 -0
  910. /package/dist/chunks/{app-zxpyjp51.js → state-zxpyjp51.js} +0 -0
  911. /package/dist/chunks/{app-zz5vv3aq.js → state-zz5vv3aq.js} +0 -0
@@ -1,46 +1,46 @@
1
1
  import {
2
2
  toolFailure2
3
- } from "./app-7rvsyqjv.js";
3
+ } from "./state-7rvsyqjv.js";
4
4
  import {
5
- Service90
6
- } from "./app-v1s9t994.js";
5
+ Service89
6
+ } from "./state-n0qwh0ed.js";
7
7
  import {
8
- Service68
9
- } from "./app-00jjfnj7.js";
8
+ Service83
9
+ } from "./state-8w7sx7k6.js";
10
10
  import {
11
- Service23,
11
+ Service65,
12
12
  readText2
13
- } from "./app-93jm7hjf.js";
13
+ } from "./state-n2xzmb0r.js";
14
14
  import {
15
15
  invocation2,
16
- Service60
17
- } from "./app-m5x27r8g.js";
16
+ Service72
17
+ } from "./state-kg3j2jy8.js";
18
18
  import {
19
19
  resolvePath2
20
- } from "./app-mft8r9dx.js";
20
+ } from "./state-81qpdbwx.js";
21
21
  import {
22
22
  fileDiff2
23
- } from "./app-6prwharc.js";
23
+ } from "./state-6prwharc.js";
24
24
  import {
25
- Service16
26
- } from "./app-wc0dmynm.js";
25
+ Service64
26
+ } from "./state-41pgy3sf.js";
27
27
  import {
28
28
  __export
29
- } from "./app-9rqn6x4v.js";
29
+ } from "./state-9rqn6x4v.js";
30
30
 
31
31
  // src/tool/plugin/edit.ts
32
32
  var exports_edit = {};
33
33
  __export(exports_edit, {
34
34
  EditTool: () => exports_edit,
35
- Input: () => Input8,
36
- Output: () => Output6,
37
- Plugin: () => Plugin46,
38
- name: () => name8
35
+ Input: () => Input11,
36
+ Output: () => Output8,
37
+ Plugin: () => Plugin52,
38
+ name: () => name11
39
39
  });
40
40
  import { ToolFailure } from "@opencode/ai/effect";
41
41
  import { Effect, Schema } from "effect";
42
- var name8 = "edit";
43
- var Input8 = Schema.Struct({
42
+ var name11 = "edit";
43
+ var Input11 = Schema.Struct({
44
44
  path: Schema.String.annotate({
45
45
  description: "File to edit"
46
46
  }),
@@ -50,7 +50,7 @@ var Input8 = Schema.Struct({
50
50
  description: "Whether to replace every occurrence of oldString. When false, oldString must match exactly once. Defaults to false."
51
51
  })
52
52
  });
53
- var Output6 = Schema.String;
53
+ var Output8 = Schema.String;
54
54
  var crlf = `\r
55
55
  `;
56
56
  var normalizeForMatch = (value) => value.replace(/[‘’‚‛]/g, "'").replace(/[“”„‟]/g, '"').replace(/[‐‑‒–—―−]/g, "-").replace(/[\u00A0\u2002-\u200A\u202F\u205F\u3000]/g, " ");
@@ -239,20 +239,20 @@ var countBefore = (positions, offset) => {
239
239
  }
240
240
  return low;
241
241
  };
242
- var Plugin46 = {
242
+ var Plugin52 = {
243
243
  id: "opencode.tool.edit",
244
244
  effect: Effect.fn("EditTool.Plugin")(function* (ctx) {
245
- const fileMutation = yield* Service23;
246
- const fileWrite = yield* Service16;
247
- const environment = yield* Service68;
248
- const location = yield* Service90;
249
- const permission = yield* Service60;
245
+ const fileMutation = yield* Service65;
246
+ const fileWrite = yield* Service64;
247
+ const environment = yield* Service83;
248
+ const location = yield* Service89;
249
+ const permission = yield* Service72;
250
250
  yield* ctx.tool.transform((editor) => editor.add({
251
- name: name8,
251
+ name: name11,
252
252
  options: { codemode: false, permission: "edit" },
253
253
  description: "Edit the contents of a file by finding and replacing exact text. When editing text from Read output, preserve the exact indentation (tabs or spaces) and omit the line-number prefix, such as `1: `. Never include the prefix in oldString or newString. Write line breaks as \\n; the file's existing CRLF or LF line endings are matched and preserved. To change line endings themselves, make oldString and newString differ only in \\r; that edit applies to the exact bytes. If there is no exact match, the edit retries while ignoring typographic quote, dash, and space variants, then trailing whitespace on each line. The edit fails if oldString is not found. By default, oldString must identify a UNIQUE location. Multiple matches FAIL unless replaceAll is true. Add more surrounding context to disambiguate, or set replaceAll to true to replace every occurrence. Use replaceAll when the change should apply to every occurrence, such as renaming a variable.",
254
- input: Input8,
255
- output: Output6,
254
+ input: Input11,
255
+ output: Output8,
256
256
  execute: (input, context) => {
257
257
  return Effect.gen(function* () {
258
258
  if (input.oldString === input.newString) {
@@ -310,4 +310,4 @@ ${hint}` : ""}`
310
310
  })
311
311
  };
312
312
 
313
- export { name8, Input8, Output6, Plugin46, exports_edit };
313
+ export { name11, Input11, Output8, Plugin52, exports_edit };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  absoluteColumn2
3
- } from "./app-wakvkjy4.js";
3
+ } from "./state-wakvkjy4.js";
4
4
  import {
5
5
  ProjectTable2
6
- } from "./app-034tev2y.js";
6
+ } from "./state-034tev2y.js";
7
7
 
8
8
  // src/worktree/sql.ts
9
9
  import { integer, primaryKey, sqliteTable, text } from "drizzle-orm/sqlite-core";
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  which2
3
- } from "./app-x4th4bpe.js";
3
+ } from "./state-x4th4bpe.js";
4
4
  import {
5
5
  load3
6
- } from "./app-j376ae4e.js";
6
+ } from "./state-tr8x705m.js";
7
7
  import {
8
8
  create2
9
- } from "./app-jxd6f16v.js";
9
+ } from "./state-44pmzq9c.js";
10
10
  import {
11
11
  __export
12
- } from "./app-9rqn6x4v.js";
12
+ } from "./state-9rqn6x4v.js";
13
13
 
14
14
  // src/plugin/provider/claude-agent/claude/io.ts
15
15
  var exports_io = {};
@@ -1,31 +1,31 @@
1
1
  import {
2
2
  Service94,
3
3
  node96
4
- } from "./app-7ex1q6kt.js";
4
+ } from "./state-xa5zzh3s.js";
5
5
  import {
6
- Service92,
7
- node94
8
- } from "./app-9ah88nye.js";
6
+ Service93,
7
+ node95
8
+ } from "./state-97jbfc4v.js";
9
9
  import {
10
- Service90,
11
- node92
12
- } from "./app-v1s9t994.js";
10
+ Service89,
11
+ node91
12
+ } from "./state-n0qwh0ed.js";
13
13
  import {
14
14
  SessionEvent2
15
- } from "./app-ec1grn59.js";
15
+ } from "./state-ec1grn59.js";
16
16
  import {
17
17
  synthetics2
18
- } from "./app-2z68448b.js";
18
+ } from "./state-skcgq5k4.js";
19
19
  import {
20
20
  __export
21
- } from "./app-9rqn6x4v.js";
21
+ } from "./state-9rqn6x4v.js";
22
22
 
23
23
  // src/session/instructions.ts
24
24
  var exports_instructions2 = {};
25
25
  __export(exports_instructions2, {
26
- Service: () => Service11,
26
+ Service: () => Service12,
27
27
  SessionInstructions: () => exports_instructions2,
28
- node: () => node13
28
+ node: () => node14
29
29
  });
30
30
  import { relative } from "path";
31
31
  import { Context, Effect, Layer, Option, Ref, Schema } from "effect";
@@ -35,13 +35,13 @@ var InjectedMetadata = Schema.Struct({
35
35
  instruction: Schema.Struct({ paths: Schema.Array(Schema.String) })
36
36
  });
37
37
 
38
- class Service11 extends Context.Service()("@opencode/SessionInstructions") {
38
+ class Service12 extends Context.Service()("@opencode/SessionInstructions") {
39
39
  }
40
- var layer = Layer.effect(Service11, Effect.gen(function* () {
41
- const bus = yield* Service92;
40
+ var layer = Layer.effect(Service12, Effect.gen(function* () {
41
+ const bus = yield* Service93;
42
42
  const fs = yield* FSUtil.Service;
43
43
  const db = (yield* Service94).db;
44
- const location = yield* Service90;
44
+ const location = yield* Service89;
45
45
  const root = yield* fs.resolve(location.project.directory);
46
46
  const inFlight = yield* Ref.make(new Map);
47
47
  const load = Effect.fn("SessionInstructions.load")(function* (input) {
@@ -87,7 +87,7 @@ ${file.content}`).join(`
87
87
  return next;
88
88
  })));
89
89
  });
90
- return Service11.of({ load });
90
+ return Service12.of({ load });
91
91
  }));
92
92
  function previouslyInjected(db, sessionID) {
93
93
  return Effect.gen(function* () {
@@ -98,10 +98,10 @@ function previouslyInjected(db, sessionID) {
98
98
  function describePath(root, path) {
99
99
  return FSUtil.contains(root, path) ? relative(root, path) : path;
100
100
  }
101
- var node13 = makeLocationNode({
101
+ var node14 = makeLocationNode({
102
102
  name: "session-instructions",
103
103
  layer,
104
- deps: [node94, node96, FSUtil.node, node92]
104
+ deps: [node95, node96, FSUtil.node, node91]
105
105
  });
106
106
 
107
- export { Service11, node13, exports_instructions2 };
107
+ export { Service12, node14, exports_instructions2 };
@@ -1,20 +1,20 @@
1
1
  import {
2
- ID16
3
- } from "./app-wkd5q91e.js";
2
+ ID17
3
+ } from "./state-jw31swa9.js";
4
4
  import {
5
5
  configuredSettings2
6
- } from "./app-4x2mxp21.js";
6
+ } from "./state-4j3ga8y9.js";
7
7
  import {
8
8
  credentialSettings2,
9
9
  metadataSettings2
10
- } from "./app-rrq7gnh6.js";
10
+ } from "./state-k4sg6xcd.js";
11
11
 
12
12
  // src/plugin/provider/cloudflare-ai-gateway.ts
13
13
  import { Effect } from "effect";
14
14
  import { isArrayNonEmpty } from "effect/Array";
15
15
  import { define } from "@opencode/plugin/effect/plugin";
16
16
  import { Form } from "@opencode/schema/form";
17
- var providerID = ID16.make("cloudflare-ai-gateway");
17
+ var providerID = ID17.make("cloudflare-ai-gateway");
18
18
  var accountIdField = Form.StringField.make({
19
19
  type: "string",
20
20
  key: "accountId",
@@ -1,86 +1,86 @@
1
1
  import {
2
2
  Service94,
3
3
  node96
4
- } from "./app-7ex1q6kt.js";
4
+ } from "./state-xa5zzh3s.js";
5
5
  import {
6
- Service92,
7
- node94
8
- } from "./app-9ah88nye.js";
6
+ Service93,
7
+ node95
8
+ } from "./state-97jbfc4v.js";
9
9
  import {
10
10
  create4
11
- } from "./app-40y6dtc2.js";
11
+ } from "./state-40y6dtc2.js";
12
12
  import {
13
- ID11,
14
- Service63,
15
- node64
16
- } from "./app-pyb3ry4y.js";
13
+ ID14,
14
+ Service80,
15
+ node81
16
+ } from "./state-e42rf4nr.js";
17
17
  import {
18
18
  llmClient2
19
- } from "./app-0ma9gw4f.js";
19
+ } from "./state-0ma9gw4f.js";
20
20
  import {
21
21
  join2
22
- } from "./app-0x1mgtk1.js";
22
+ } from "./state-f2zjpyt5.js";
23
23
  import {
24
- Service83,
25
- node85
26
- } from "./app-bp29v7tn.js";
24
+ Service85,
25
+ node87
26
+ } from "./state-jdpteqf8.js";
27
27
  import {
28
28
  estimate2
29
- } from "./app-8wtp7s3z.js";
29
+ } from "./state-8wtp7s3z.js";
30
30
  import {
31
31
  SessionEvent2
32
- } from "./app-ec1grn59.js";
32
+ } from "./state-ec1grn59.js";
33
33
  import {
34
34
  kept2,
35
35
  messageToText2,
36
36
  serializeToolContent2
37
- } from "./app-v2r1d0zg.js";
37
+ } from "./state-v2r1d0zg.js";
38
38
  import {
39
39
  isNativeCompaction2,
40
40
  load6
41
- } from "./app-2z68448b.js";
41
+ } from "./state-skcgq5k4.js";
42
42
  import {
43
- Service58,
44
- node59
45
- } from "./app-xged5h17.js";
43
+ Service57,
44
+ node58
45
+ } from "./state-v2jzqrdt.js";
46
46
  import {
47
47
  toSessionError2,
48
48
  contentFilterError2
49
- } from "./app-ypnf90sc.js";
49
+ } from "./state-ha4eeywz.js";
50
50
  import {
51
51
  toLLMMessages2
52
- } from "./app-1wd80431.js";
52
+ } from "./state-3rv7akfg.js";
53
53
  import {
54
54
  outputLimit2,
55
55
  baseTranscript2,
56
56
  unsupportedParts2,
57
57
  boundImages2,
58
- Service32,
59
- node36
60
- } from "./app-4qm7r5h9.js";
58
+ Service37,
59
+ node41
60
+ } from "./state-m8kfdq53.js";
61
61
  import {
62
62
  isRetryable2,
63
63
  policy2
64
- } from "./app-ea90c952.js";
64
+ } from "./state-2s9mae96.js";
65
65
  import {
66
66
  calculateCost2,
67
67
  record2,
68
68
  add2
69
- } from "./app-4f25tdd0.js";
69
+ } from "./state-4f25tdd0.js";
70
70
  import {
71
71
  __export
72
- } from "./app-9rqn6x4v.js";
72
+ } from "./state-9rqn6x4v.js";
73
73
 
74
74
  // src/session/compaction.ts
75
75
  var exports_compaction2 = {};
76
76
  __export(exports_compaction2, {
77
- Service: () => Service5,
77
+ Service: () => Service10,
78
78
  SessionCompaction: () => exports_compaction2,
79
79
  buildPrompt: () => buildPrompt2,
80
80
  estimateContext: () => estimateContext2,
81
81
  estimatePrompt: () => estimatePrompt2,
82
- layer: () => layer6,
83
- node: () => node7,
82
+ layer: () => layer8,
83
+ node: () => node12,
84
84
  recentUserMessages: () => recentUserMessages2
85
85
  });
86
86
  import {
@@ -95,7 +95,7 @@ import {
95
95
  } from "@opencode/ai/effect";
96
96
  import { makeLocationNode } from "@opencode/util/effect/app-node";
97
97
  import { Clock, Context, DateTime, Effect, Exit, Fiber, Layer, Result, Scope, Stream } from "effect";
98
- class Service5 extends Context.Service()("@opencode/SessionCompaction") {
98
+ class Service10 extends Context.Service()("@opencode/SessionCompaction") {
99
99
  }
100
100
  var NOTHING_TO_COMPACT = { error: { type: "compaction.unavailable", message: "Nothing to compact yet" } };
101
101
  var SHRINK_STEPS = [0.85, 0.7, 0.5, 0.35];
@@ -186,14 +186,14 @@ var buildPrompt2 = (update, legacy = false) => {
186
186
  };
187
187
  var NUDGE = "The previous response did not fill in the required summary template. Do not call tools. Return the summary as text using the exact section headings from the template.";
188
188
  var LEGACY_HEADING = "## Additional Context";
189
- var layer6 = Layer.effect(Service5, Effect.gen(function* () {
190
- const agents = yield* Service63;
191
- const bus = yield* Service92;
189
+ var layer8 = Layer.effect(Service10, Effect.gen(function* () {
190
+ const agents = yield* Service80;
191
+ const bus = yield* Service93;
192
192
  const llm = yield* LLMClient.Service;
193
- const catalog = yield* Service83;
194
- const models = yield* Service58;
193
+ const catalog = yield* Service85;
194
+ const models = yield* Service57;
195
195
  const db = (yield* Service94).db;
196
- const requests = yield* Service32;
196
+ const requests = yield* Service37;
197
197
  const scope = yield* Scope.Scope;
198
198
  const precomputed = new Map;
199
199
  const state = create4({
@@ -206,7 +206,7 @@ var layer6 = Layer.effect(Service5, Effect.gen(function* () {
206
206
  })
207
207
  });
208
208
  const selectModel = Effect.fnUntraced(function* (context, buffer, native) {
209
- const agent = native ? undefined : yield* agents.get(ID11.make("compaction"));
209
+ const agent = native ? undefined : yield* agents.get(ID14.make("compaction"));
210
210
  const model = (agent?.model && (yield* models.resolve({ ...context.session, model: agent.model }, catalog.available, {
211
211
  kind: "compaction",
212
212
  agent: agent.id
@@ -591,17 +591,17 @@ var layer6 = Layer.effect(Service5, Effect.gen(function* () {
591
591
  }, { metadata: outcome.metadata });
592
592
  return { status: "completed" };
593
593
  });
594
- return Service5.of({
594
+ return Service10.of({
595
595
  transform: state.transform,
596
596
  reload: state.reload,
597
597
  compact: (trigger) => compact(trigger).pipe(Effect.onInterrupt(() => trigger.reason === "manual" ? Effect.void : publish(trigger, { error: { type: "compaction.interrupted", message: "Compaction was interrupted" } })), Effect.ensuring(Effect.sync(() => spent.delete(trigger.context.session.id)))),
598
598
  precompute
599
599
  });
600
600
  }));
601
- var node7 = makeLocationNode({
602
- service: Service5,
603
- layer: layer6,
604
- deps: [node64, node94, node96, llmClient2, node85, node36, node59]
601
+ var node12 = makeLocationNode({
602
+ service: Service10,
603
+ layer: layer8,
604
+ deps: [node81, node95, node96, llmClient2, node87, node41, node58]
605
605
  });
606
606
  var heldIndex = (held, context) => {
607
607
  if (held.firstID !== context.messages[0]?.id || held.initial !== join2(context.initial))
@@ -800,4 +800,4 @@ var estimateMedia = (mime) => {
800
800
  return 0;
801
801
  };
802
802
 
803
- export { Service5, buildPrompt2, layer6, node7, recentUserMessages2, estimateContext2, estimatePrompt2, exports_compaction2 };
803
+ export { Service10, buildPrompt2, layer8, node12, recentUserMessages2, estimateContext2, estimatePrompt2, exports_compaction2 };
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  Service94,
3
3
  node96
4
- } from "./app-7ex1q6kt.js";
4
+ } from "./state-xa5zzh3s.js";
5
5
  import {
6
6
  KVTable2
7
- } from "./app-3hepkmqq.js";
7
+ } from "./state-3hepkmqq.js";
8
8
  import {
9
9
  __export
10
- } from "./app-9rqn6x4v.js";
10
+ } from "./state-9rqn6x4v.js";
11
11
 
12
12
  // src/kv.ts
13
13
  var exports_kv = {};
14
14
  __export(exports_kv, {
15
15
  KV: () => exports_kv,
16
16
  Service: () => Service82,
17
- node: () => node84
17
+ node: () => node83
18
18
  });
19
19
  import { and, asc, eq, gt, gte, lt } from "drizzle-orm";
20
20
  import { Context, Effect, Layer } from "effect";
@@ -51,6 +51,6 @@ function prefixEnd(prefix) {
51
51
  return;
52
52
  return `${points.slice(0, index).join("")}${String.fromCodePoint(points[index].codePointAt(0) + 1)}`;
53
53
  }
54
- var node84 = makeGlobalNode({ service: Service82, layer, deps: [node96] });
54
+ var node83 = makeGlobalNode({ service: Service82, layer, deps: [node96] });
55
55
 
56
- export { Service82, node84, exports_kv };
56
+ export { Service82, node83, exports_kv };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./app-9rqn6x4v.js";
3
+ } from "./state-9rqn6x4v.js";
4
4
 
5
5
  // src/repository.ts
6
6
  var exports_repository = {};
@@ -1,68 +1,68 @@
1
1
  import {
2
2
  typeFollowing2
3
- } from "./app-svcy3p9a.js";
3
+ } from "./state-svcy3p9a.js";
4
4
  import {
5
5
  NonNegativeInt2
6
- } from "./app-z5v4ffb3.js";
6
+ } from "./state-z5v4ffb3.js";
7
7
  import {
8
- Service68
9
- } from "./app-00jjfnj7.js";
8
+ Service83
9
+ } from "./state-8w7sx7k6.js";
10
10
  import {
11
- Service71
12
- } from "./app-scjtfsne.js";
11
+ Service56
12
+ } from "./state-5mmm03tc.js";
13
13
  import {
14
14
  enabled3
15
- } from "./app-v3mcgmqw.js";
15
+ } from "./state-p4rh8hdf.js";
16
16
  import {
17
17
  invocation2,
18
- Service60
19
- } from "./app-m5x27r8g.js";
18
+ Service72
19
+ } from "./state-kg3j2jy8.js";
20
20
  import {
21
- Service17,
21
+ Service71,
22
22
  resolvePath2
23
- } from "./app-mft8r9dx.js";
23
+ } from "./state-81qpdbwx.js";
24
24
  import {
25
25
  toolFailure2
26
- } from "./app-7rvsyqjv.js";
26
+ } from "./state-7rvsyqjv.js";
27
27
  import {
28
28
  output2,
29
29
  interrupted2,
30
30
  notice2,
31
31
  metadata2,
32
32
  notification2
33
- } from "./app-8kjyvwy5.js";
33
+ } from "./state-8kjyvwy5.js";
34
34
  import {
35
- Service89,
35
+ Service48,
36
36
  name17
37
- } from "./app-8p6tesg0.js";
37
+ } from "./state-ev9rrvkp.js";
38
38
  import {
39
39
  NotFoundError6,
40
- Service50
41
- } from "./app-cc12rbr6.js";
40
+ Service41
41
+ } from "./state-jc6fdbwr.js";
42
42
  import {
43
- Service28
44
- } from "./app-vvxemm4r.js";
43
+ Service26
44
+ } from "./state-vtadsekr.js";
45
45
  import {
46
46
  scan3
47
- } from "./app-7b52v053.js";
47
+ } from "./state-r11nrgf9.js";
48
48
  import {
49
49
  __export
50
- } from "./app-9rqn6x4v.js";
50
+ } from "./state-9rqn6x4v.js";
51
51
 
52
52
  // src/tool/plugin/shell.ts
53
53
  var exports_shell2 = {};
54
54
  __export(exports_shell2, {
55
55
  DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
56
- Input: () => Input10,
57
- Plugin: () => Plugin48,
56
+ Input: () => Input14,
57
+ Plugin: () => Plugin55,
58
58
  ShellTool: () => exports_shell2,
59
59
  backgroundToolResult: () => backgroundToolResult2,
60
- name: () => name10,
60
+ name: () => name14,
61
61
  reattach: () => reattach2
62
62
  });
63
63
  import { ToolFailure } from "@opencode/ai/effect";
64
64
  import { Clock, Deferred, Effect, Fiber, Option, Schema, Struct } from "effect";
65
- var name10 = "shell";
65
+ var name14 = "shell";
66
66
  var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
67
67
  var INTERRUPT_WAIT = "500 millis";
68
68
  var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
@@ -77,7 +77,7 @@ var description = (shell, autoBackground = false) => [
77
77
  autoBackground ? "Commands still running after their timeout move to the background." : "Commands accept an optional timeout, background commands have no timeout by default.",
78
78
  "Background commands return immediately, and you will be notified when they complete."
79
79
  ].join(" ");
80
- var Input10 = Schema.Struct({
80
+ var Input14 = Schema.Struct({
81
81
  command: Schema.String.annotate({ description: "Shell command string to execute" }),
82
82
  workdir: Schema.optionalKey(Schema.String).annotate({
83
83
  description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
@@ -167,7 +167,7 @@ var startJob = Effect.fnUntraced(function* (jobs, shell, input) {
167
167
  const settled = yield* Deferred.make();
168
168
  const job = yield* jobs.start({
169
169
  id: info.id,
170
- type: name10,
170
+ type: name14,
171
171
  title: info.command,
172
172
  metadata: { sessionID: input.sessionID, shellID: info.id },
173
173
  recovery: {
@@ -225,17 +225,17 @@ var reattach2 = Effect.fnUntraced(function* (input) {
225
225
  return yield* notifying.pipe(Effect.catch((error) => Effect.logWarning("failed to report a recovered shell command", { id: input.info.id, error })));
226
226
  yield* input.shell.watch(notifying);
227
227
  });
228
- var Plugin48 = {
228
+ var Plugin55 = {
229
229
  id: "opencode.tool.shell",
230
230
  effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
231
- const sessions = yield* Service28;
232
- const jobs = yield* Service71;
233
- const environment = yield* Service68;
234
- const access = yield* Service17;
235
- const shell = yield* Service50;
236
- const shellSelect = yield* Service89;
231
+ const sessions = yield* Service26;
232
+ const jobs = yield* Service56;
233
+ const environment = yield* Service83;
234
+ const access = yield* Service71;
235
+ const shell = yield* Service41;
236
+ const shellSelect = yield* Service48;
237
237
  const compatibleShell = shellSelect.resolve({ priority: "compat" });
238
- const permission = yield* Service60;
238
+ const permission = yield* Service72;
239
239
  const autoBackground = yield* enabled3("shell_timeout_background");
240
240
  const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
241
241
  const target = yield* access.resolve({ path: invocation.cwd, kind: "directory" });
@@ -249,7 +249,7 @@ var Plugin48 = {
249
249
  yield* access.authorizeExternal([target, ...directories], context);
250
250
  if (parsed.commands.length > 0)
251
251
  yield* permission.assert({
252
- action: name10,
252
+ action: name14,
253
253
  resources: parsed.commands.map((command) => command.resource),
254
254
  save: parsed.commands.map((command) => command.save),
255
255
  ...invocation2(context)
@@ -276,10 +276,10 @@ var Plugin48 = {
276
276
  });
277
277
  });
278
278
  yield* ctx.tool.transform((editor) => editor.add({
279
- name: name10,
279
+ name: name14,
280
280
  options: { codemode: false },
281
281
  description: description(undefined, autoBackground),
282
- input: Input10,
282
+ input: Input14,
283
283
  output: StructuredOutput,
284
284
  execute: (input, context) => {
285
285
  const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
@@ -348,7 +348,7 @@ var Plugin48 = {
348
348
  }
349
349
  })).pipe(Effect.orDie);
350
350
  const hook = (event) => Effect.gen(function* () {
351
- const tool = event.tools[name10];
351
+ const tool = event.tools[name14];
352
352
  if (!tool)
353
353
  return;
354
354
  tool.description = description(name17(yield* compatibleShell), autoBackground);
@@ -359,4 +359,4 @@ var Plugin48 = {
359
359
  })
360
360
  };
361
361
 
362
- export { name10, DEFAULT_TIMEOUT_MS2, Input10, backgroundToolResult2, reattach2, Plugin48, exports_shell2 };
362
+ export { name14, DEFAULT_TIMEOUT_MS2, Input14, backgroundToolResult2, reattach2, Plugin55, exports_shell2 };