@opencode/core 0.0.0-dev-21556 → 0.0.0-dev-21557

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 (791) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +83 -83
  3. package/dist/aisdk-native.js +91 -91
  4. package/dist/aisdk.js +97 -97
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +71 -71
  7. package/dist/chunks/{filesystem-6kwr73dn.js → command-02g7aebq.js} +21 -21
  8. package/dist/chunks/{filesystem-kjv4pfpn.js → command-02hctrc4.js} +12 -12
  9. package/dist/chunks/{filesystem-034tev2y.js → command-034tev2y.js} +2 -2
  10. package/dist/chunks/{filesystem-2k8khapm.js → command-0jwsre1p.js} +5 -5
  11. package/dist/chunks/{filesystem-979fg1jj.js → command-0ny45k08.js} +18 -18
  12. package/dist/chunks/{filesystem-sv72chne.js → command-0p5n951n.js} +8 -8
  13. package/dist/chunks/{filesystem-9gcsz2p2.js → command-0t5b2y9d.js} +9 -9
  14. package/dist/chunks/{filesystem-0vbcp93d.js → command-0vbcp93d.js} +2 -2
  15. package/dist/chunks/{filesystem-p37cw4rj.js → command-1ajx6rf5.js} +8 -8
  16. package/dist/chunks/{filesystem-kvmjtnbr.js → command-1b1yf6g0.js} +30 -30
  17. package/dist/chunks/{filesystem-1ep2p91f.js → command-1ep2p91f.js} +2 -2
  18. package/dist/chunks/{filesystem-p76v2pnh.js → command-1hfxmt0w.js} +43 -43
  19. package/dist/chunks/{filesystem-242ky9er.js → command-1hzj9kg1.js} +10 -10
  20. package/dist/chunks/{filesystem-81f7vt2z.js → command-1j6m29mr.js} +9 -9
  21. package/dist/chunks/{filesystem-d3yv44qs.js → command-1kxdjam0.js} +21 -21
  22. package/dist/chunks/{filesystem-d869kc9t.js → command-1sqf9bkf.js} +8 -8
  23. package/dist/chunks/{filesystem-fjdpyz7x.js → command-1t3hpytd.js} +86 -86
  24. package/dist/chunks/{filesystem-m0hzqf10.js → command-210p74nv.js} +6 -6
  25. package/dist/chunks/{filesystem-r2m716tb.js → command-2mq1h16s.js} +9 -9
  26. package/dist/chunks/{filesystem-fm3t8chm.js → command-2q3kn6hv.js} +18 -18
  27. package/dist/chunks/{filesystem-fn9t717r.js → command-395q6j9z.js} +6 -6
  28. package/dist/chunks/{filesystem-3p8bby9p.js → command-3ct72kbc.js} +17 -17
  29. package/dist/chunks/{filesystem-mx44zc9z.js → command-3dhsd59m.js} +24 -24
  30. package/dist/chunks/{filesystem-3hepkmqq.js → command-3hepkmqq.js} +1 -1
  31. package/dist/chunks/{filesystem-3hwn7j4h.js → command-3hwn7j4h.js} +2 -2
  32. package/dist/chunks/{filesystem-ha3bx9by.js → command-3k3tgz1s.js} +36 -36
  33. package/dist/chunks/{filesystem-s80bpp8r.js → command-3p9s8f8r.js} +8 -8
  34. package/dist/chunks/command-3q31v9sa.js +257 -0
  35. package/dist/chunks/{filesystem-5y3cvn6v.js → command-3qfe0xj5.js} +8 -8
  36. package/dist/chunks/{filesystem-are0chd1.js → command-3tpbv33b.js} +6 -6
  37. package/dist/chunks/{filesystem-3tvqynh2.js → command-3tvqynh2.js} +1 -1
  38. package/dist/chunks/{filesystem-q2m888qa.js → command-3w35w3cz.js} +36 -36
  39. package/dist/chunks/{filesystem-ns9nx42n.js → command-3y689znq.js} +18 -18
  40. package/dist/chunks/{filesystem-3zsf4n22.js → command-3zsf4n22.js} +1 -1
  41. package/dist/chunks/{filesystem-6gda7trc.js → command-46jxkehv.js} +18 -18
  42. package/dist/chunks/{filesystem-vx3jgdek.js → command-48kw51zw.js} +3 -3
  43. package/dist/chunks/{filesystem-3y03y7vv.js → command-4bz0312p.js} +11 -11
  44. package/dist/chunks/{filesystem-zys69r9h.js → command-4ezxk448.js} +54 -54
  45. package/dist/chunks/{filesystem-mbw2zwxv.js → command-4j64n899.js} +4 -4
  46. package/dist/chunks/{filesystem-wq8gz3e1.js → command-4y1psmjm.js} +10 -10
  47. package/dist/chunks/{filesystem-27bs79w9.js → command-4ytg8f8f.js} +2 -2
  48. package/dist/chunks/{filesystem-81gkh252.js → command-4z7vav0p.js} +16 -16
  49. package/dist/chunks/{filesystem-02vhp1nx.js → command-4znvr1ks.js} +50 -50
  50. package/dist/chunks/{filesystem-54ma36ye.js → command-54ma36ye.js} +1 -1
  51. package/dist/chunks/{filesystem-qqeeq2t9.js → command-57b9ws8p.js} +4 -4
  52. package/dist/chunks/{filesystem-4xpgt2w9.js → command-57myy5jh.js} +5 -5
  53. package/dist/chunks/{filesystem-76p14g35.js → command-5g57z1ma.js} +4 -4
  54. package/dist/chunks/{filesystem-5jfh860z.js → command-5kc27ehr.js} +4 -4
  55. package/dist/chunks/{filesystem-5m9w47nd.js → command-5m9w47nd.js} +1 -1
  56. package/dist/chunks/{filesystem-98z44by5.js → command-5rk2deda.js} +23 -23
  57. package/dist/chunks/{filesystem-8ngy3mqv.js → command-5smgpg59.js} +15 -15
  58. package/dist/chunks/{filesystem-qpk6w0sf.js → command-66gqgwkw.js} +4 -4
  59. package/dist/chunks/{filesystem-6827pfxn.js → command-6827pfxn.js} +1 -1
  60. package/dist/chunks/{filesystem-x8j4awb7.js → command-6a980ypm.js} +26 -26
  61. package/dist/chunks/{filesystem-nv560stn.js → command-6a9ggp3a.js} +3 -3
  62. package/dist/chunks/{filesystem-medva3v3.js → command-6frn0zka.js} +43 -43
  63. package/dist/chunks/{filesystem-93p4vdsy.js → command-6ftnd7nz.js} +25 -25
  64. package/dist/chunks/{filesystem-xng5v1sj.js → command-6gmsgdx2.js} +7 -7
  65. package/dist/chunks/{filesystem-1p1p7tgy.js → command-6pn57h68.js} +32 -32
  66. package/dist/chunks/{filesystem-azr9yky1.js → command-6qf2y9ve.js} +32 -32
  67. package/dist/chunks/{filesystem-6xb47vfp.js → command-6xb47vfp.js} +1 -1
  68. package/dist/chunks/{filesystem-775gj3j1.js → command-775gj3j1.js} +2 -2
  69. package/dist/chunks/{filesystem-7bmhse3q.js → command-7bmhse3q.js} +1 -1
  70. package/dist/chunks/{filesystem-8ndffx4j.js → command-7d822byb.js} +5 -5
  71. package/dist/chunks/{filesystem-fd592q7h.js → command-7ta6mr36.js} +21 -21
  72. package/dist/chunks/{filesystem-pfq93rbg.js → command-7vcph9c5.js} +11 -11
  73. package/dist/chunks/{filesystem-gj0f7hmv.js → command-802megp1.js} +11 -11
  74. package/dist/chunks/{filesystem-11dqjexa.js → command-82rhge12.js} +9 -9
  75. package/dist/chunks/{filesystem-84txncab.js → command-84txncab.js} +1 -1
  76. package/dist/chunks/{filesystem-8m6m0r52.js → command-8m6m0r52.js} +1 -1
  77. package/dist/chunks/{filesystem-8mywswrd.js → command-8mywswrd.js} +1 -1
  78. package/dist/chunks/{filesystem-q9n4taz4.js → command-8qcf7amm.js} +14 -14
  79. package/dist/chunks/{filesystem-9m4ve779.js → command-8qh1wvz2.js} +4 -4
  80. package/dist/chunks/{filesystem-z6r6yped.js → command-8sptrx30.js} +22 -22
  81. package/dist/chunks/{filesystem-5saf3c2d.js → command-8yr3zrx2.js} +11 -11
  82. package/dist/chunks/{filesystem-d7wa81mb.js → command-8zg8p5q1.js} +17 -17
  83. package/dist/chunks/{filesystem-gs856eh7.js → command-941r3f3m.js} +1 -1
  84. package/dist/chunks/{filesystem-m6r8hh6a.js → command-985ktdsx.js} +14 -14
  85. package/dist/chunks/{filesystem-998yhzzq.js → command-998yhzzq.js} +3 -3
  86. package/dist/chunks/{filesystem-dxbacq08.js → command-9c0aadwr.js} +21 -21
  87. package/dist/chunks/{filesystem-zryx1e9j.js → command-9c1a4kmv.js} +9 -9
  88. package/dist/chunks/{filesystem-2a3m6met.js → command-9e9hzcd0.js} +12 -12
  89. package/dist/chunks/{filesystem-2z2h29k5.js → command-9hq0xw37.js} +15 -15
  90. package/dist/chunks/{filesystem-9wev2pgg.js → command-9wev2pgg.js} +1 -1
  91. package/dist/chunks/{filesystem-1g6janhj.js → command-9zygn7h7.js} +18 -18
  92. package/dist/chunks/{filesystem-n19gt92d.js → command-acdn2y46.js} +45 -45
  93. package/dist/chunks/{filesystem-sqeeta82.js → command-ad8kq2nc.js} +3 -3
  94. package/dist/chunks/{filesystem-591k6mra.js → command-ahsb9kpf.js} +6 -6
  95. package/dist/chunks/{filesystem-gmb516bh.js → command-axq5kh8y.js} +6 -6
  96. package/dist/chunks/{filesystem-ayjs7tqn.js → command-ayjs7tqn.js} +2 -2
  97. package/dist/chunks/{filesystem-b11a7tx7.js → command-b11a7tx7.js} +1 -1
  98. package/dist/chunks/{filesystem-g8d3gcyj.js → command-b27vhd2z.js} +7 -7
  99. package/dist/chunks/{filesystem-ra67jj04.js → command-bacj9t34.js} +9 -9
  100. package/dist/chunks/{filesystem-4h1zccz9.js → command-bhfmjk30.js} +19 -19
  101. package/dist/chunks/{filesystem-2wv0qy41.js → command-bhk6njy6.js} +19 -19
  102. package/dist/chunks/{filesystem-29qym6xz.js → command-btbmdjwj.js} +4 -4
  103. package/dist/chunks/{filesystem-bzeyqsqd.js → command-bzeyqsqd.js} +1 -1
  104. package/dist/chunks/{filesystem-xt7gh04x.js → command-cb62p8s9.js} +24 -24
  105. package/dist/chunks/{filesystem-z4xmyae6.js → command-ccy38syf.js} +13 -13
  106. package/dist/chunks/{filesystem-328ypx93.js → command-cemytqje.js} +22 -22
  107. package/dist/chunks/{filesystem-fwt7vey7.js → command-cng6dfxk.js} +8 -8
  108. package/dist/chunks/{filesystem-szszjrwy.js → command-cqz7n2wt.js} +4 -4
  109. package/dist/chunks/{filesystem-cr9hweqv.js → command-cr9hweqv.js} +2 -2
  110. package/dist/chunks/{filesystem-8b6rm75k.js → command-cvt24va3.js} +45 -45
  111. package/dist/chunks/{filesystem-pw2zv200.js → command-d1r1vdjn.js} +28 -28
  112. package/dist/chunks/{filesystem-e71bjph2.js → command-d97f9cxk.js} +14 -14
  113. package/dist/chunks/{filesystem-bg57z5ae.js → command-dedmnvkb.js} +18 -18
  114. package/dist/chunks/{filesystem-pez308bj.js → command-deq2yphe.js} +13 -13
  115. package/dist/chunks/{filesystem-8wy82xn4.js → command-dmn8f3fz.js} +32 -32
  116. package/dist/chunks/{filesystem-z9r12f9w.js → command-dnkebwy9.js} +11 -11
  117. package/dist/chunks/{filesystem-chveay43.js → command-drjmd517.js} +21 -21
  118. package/dist/chunks/{filesystem-r4vchsx7.js → command-dsk8q8my.js} +26 -26
  119. package/dist/chunks/{filesystem-p4hdtfs4.js → command-dthc0v3v.js} +1 -1
  120. package/dist/chunks/{filesystem-8w8x3cmh.js → command-dvmztg5v.js} +35 -35
  121. package/dist/chunks/command-dxj72tfx.js +18 -0
  122. package/dist/chunks/{filesystem-1sr9fzxh.js → command-dz15z44q.js} +9 -9
  123. package/dist/chunks/{filesystem-f8h5648v.js → command-dzg2v16h.js} +10 -10
  124. package/dist/chunks/{filesystem-5qd3pb7m.js → command-e3qxr5gk.js} +2 -2
  125. package/dist/chunks/{filesystem-eej6y6fw.js → command-eej6y6fw.js} +2 -2
  126. package/dist/chunks/{filesystem-ef5x83kb.js → command-ef5x83kb.js} +1 -1
  127. package/dist/chunks/{filesystem-573jag1d.js → command-egvdenqz.js} +4 -4
  128. package/dist/chunks/{filesystem-qey1j5h6.js → command-ehsy592z.js} +16 -16
  129. package/dist/chunks/{filesystem-f73rjn58.js → command-embw8kgh.js} +4 -4
  130. package/dist/chunks/{filesystem-tpv3en06.js → command-epa6at65.js} +26 -26
  131. package/dist/chunks/{filesystem-5ddxr1dn.js → command-et97578y.js} +24 -24
  132. package/dist/chunks/{filesystem-5sbgwf3f.js → command-ew199m7p.js} +5 -5
  133. package/dist/chunks/{filesystem-fcy631f0.js → command-fcy631f0.js} +1 -1
  134. package/dist/chunks/{filesystem-bhhtdc9d.js → command-fcyg4h47.js} +5 -5
  135. package/dist/chunks/{filesystem-pz87hs4r.js → command-fmv8kpsp.js} +4 -4
  136. package/dist/chunks/{filesystem-b2hzfzr1.js → command-ft31182a.js} +8 -8
  137. package/dist/chunks/command-fwr9p4fy.js +523 -0
  138. package/dist/chunks/{filesystem-4qfhrk35.js → command-g38g0fz0.js} +14 -14
  139. package/dist/chunks/{filesystem-bkc947cz.js → command-g69zc3wy.js} +36 -36
  140. package/dist/chunks/{filesystem-pntdjgj5.js → command-g6x66mca.js} +11 -11
  141. package/dist/chunks/{filesystem-1z98e4c3.js → command-g970mz3v.js} +33 -33
  142. package/dist/chunks/{filesystem-8ya1vr8t.js → command-gawvjx7k.js} +13 -13
  143. package/dist/chunks/{filesystem-gd4qta3r.js → command-gd4qta3r.js} +1 -1
  144. package/dist/chunks/{filesystem-zgbfmbmk.js → command-gdc5cpct.js} +5 -5
  145. package/dist/chunks/{filesystem-v1w8mgqr.js → command-gryy9691.js} +11 -11
  146. package/dist/chunks/{filesystem-fpyn1g9k.js → command-gvpgbncv.js} +18 -18
  147. package/dist/chunks/{filesystem-h6vf3j39.js → command-h6vf3j39.js} +1 -1
  148. package/dist/chunks/{filesystem-h8vwnyd8.js → command-h8vwnyd8.js} +1 -1
  149. package/dist/chunks/{filesystem-mbynq3pt.js → command-he40rdb8.js} +17 -17
  150. package/dist/chunks/{filesystem-hgz4x7wa.js → command-hgz4x7wa.js} +1 -1
  151. package/dist/chunks/{filesystem-8wyta6jv.js → command-hpkegr1y.js} +10 -10
  152. package/dist/chunks/command-hqp5gz7t.js +26 -0
  153. package/dist/chunks/{filesystem-bg1zss7r.js → command-j86wn4pa.js} +34 -34
  154. package/dist/chunks/{filesystem-kb25sj3q.js → command-jbxhns51.js} +48 -48
  155. package/dist/chunks/{filesystem-aaf0tqjs.js → command-jr0r6h1g.js} +3 -3
  156. package/dist/chunks/{filesystem-h2ettege.js → command-jr2eqasw.js} +7 -7
  157. package/dist/chunks/{filesystem-xfraezgp.js → command-jrvn3mqz.js} +33 -33
  158. package/dist/chunks/{filesystem-vktwk5kv.js → command-k7myrtme.js} +9 -9
  159. package/dist/chunks/{filesystem-1sf913kj.js → command-k98r0vz1.js} +24 -24
  160. package/dist/chunks/{filesystem-6j7dwqsx.js → command-kcme49p2.js} +21 -21
  161. package/dist/chunks/{filesystem-khmqacep.js → command-khmqacep.js} +1 -1
  162. package/dist/chunks/{filesystem-vwt6h3tz.js → command-kkyxct86.js} +4 -4
  163. package/dist/chunks/{filesystem-nc6zk1r7.js → command-kn6pff13.js} +24 -24
  164. package/dist/chunks/{filesystem-t7a1f2y6.js → command-kv6t07rj.js} +14 -14
  165. package/dist/chunks/{filesystem-kwb1v3vj.js → command-kwb1v3vj.js} +1 -1
  166. package/dist/chunks/{filesystem-9893enz5.js → command-kx57zey2.js} +11 -11
  167. package/dist/chunks/{filesystem-9jabj0jk.js → command-m26n4tkg.js} +4 -4
  168. package/dist/chunks/{filesystem-zhfa0hft.js → command-m38q3wy3.js} +14 -14
  169. package/dist/chunks/{filesystem-qx9ba4sp.js → command-m95xgvrp.js} +31 -31
  170. package/dist/chunks/{filesystem-m9w0rfyh.js → command-m9w0rfyh.js} +1 -1
  171. package/dist/chunks/{filesystem-maspj1v3.js → command-maspj1v3.js} +1 -1
  172. package/dist/chunks/{filesystem-9fjp44j3.js → command-mdwjtjcb.js} +14 -14
  173. package/dist/chunks/{filesystem-pr4qgnr7.js → command-mdzseb04.js} +23 -23
  174. package/dist/chunks/{filesystem-bj2d5s9t.js → command-mfj0sxs3.js} +28 -28
  175. package/dist/chunks/{filesystem-bdbdb37z.js → command-mgym7y53.js} +50 -50
  176. package/dist/chunks/{filesystem-mvgnf8hp.js → command-mjqjpb51.js} +20 -20
  177. package/dist/chunks/{filesystem-126zz3q1.js → command-mjzferrs.js} +5 -5
  178. package/dist/chunks/{filesystem-9yvejhhv.js → command-mvnn9g24.js} +20 -20
  179. package/dist/chunks/{filesystem-x661k3y3.js → command-mxvxcxwy.js} +4 -4
  180. package/dist/chunks/{filesystem-mrb3pdj1.js → command-mybp2pev.js} +1 -1
  181. package/dist/chunks/{filesystem-93be92en.js → command-n11rvh9p.js} +34 -34
  182. package/dist/chunks/{filesystem-n6mrmtb3.js → command-n6mrmtb3.js} +1 -1
  183. package/dist/chunks/{filesystem-wqhwg8sr.js → command-n6s6s5d0.js} +45 -45
  184. package/dist/chunks/{filesystem-s06pmf3q.js → command-nn416cd4.js} +6 -6
  185. package/dist/chunks/{filesystem-gb398jef.js → command-npm9b9zb.js} +5 -5
  186. package/dist/chunks/{filesystem-q17z9dx8.js → command-p3p972wa.js} +5 -5
  187. package/dist/chunks/{filesystem-vk7a0qve.js → command-p3pg4pyc.js} +15 -15
  188. package/dist/chunks/{filesystem-82a5zyy8.js → command-p51tpj98.js} +11 -11
  189. package/dist/chunks/{filesystem-2g49mxwr.js → command-p6d0b62k.js} +12 -12
  190. package/dist/chunks/{filesystem-eq13jef3.js → command-p820w4f0.js} +21 -21
  191. package/dist/chunks/{filesystem-y7w5x3t0.js → command-pazb1tph.js} +14 -14
  192. package/dist/chunks/{filesystem-pc1v25hk.js → command-pc1v25hk.js} +1 -1
  193. package/dist/chunks/{filesystem-b7c09qga.js → command-pex2677d.js} +5 -5
  194. package/dist/chunks/{filesystem-pjvnvgmy.js → command-pjvnvgmy.js} +1 -1
  195. package/dist/chunks/{filesystem-mr7jwncp.js → command-pk1g9nse.js} +23 -23
  196. package/dist/chunks/{filesystem-pknna89w.js → command-pknna89w.js} +1 -1
  197. package/dist/chunks/{filesystem-a56ettrm.js → command-pkz1gcrh.js} +11 -11
  198. package/dist/chunks/{filesystem-qdvnf0ks.js → command-psphhya3.js} +7 -7
  199. package/dist/chunks/{filesystem-7vnmjcnk.js → command-pv4gp5m4.js} +2 -2
  200. package/dist/chunks/{filesystem-qtvz41fz.js → command-q1y8bwa4.js} +182 -182
  201. package/dist/chunks/{filesystem-zapavctn.js → command-qakj2yt3.js} +6 -6
  202. package/dist/chunks/{filesystem-pec85awn.js → command-qc148cpv.js} +21 -21
  203. package/dist/chunks/{filesystem-qp7m8750.js → command-qp7m8750.js} +3 -3
  204. package/dist/chunks/{filesystem-qsdy395h.js → command-qsdy395h.js} +1 -1
  205. package/dist/chunks/{filesystem-5bg7ay96.js → command-qsyf62v5.js} +30 -30
  206. package/dist/chunks/{filesystem-e2z0k8kw.js → command-qxhg3shq.js} +11 -11
  207. package/dist/chunks/{filesystem-0mjdzdxd.js → command-r57we6b1.js} +5 -5
  208. package/dist/chunks/{filesystem-cq9vh2fv.js → command-r61qxybf.js} +8 -8
  209. package/dist/chunks/{filesystem-rdw6cm16.js → command-rdw6cm16.js} +1 -1
  210. package/dist/chunks/{filesystem-s8d7rejh.js → command-rhjbct0v.js} +4 -4
  211. package/dist/chunks/{filesystem-8m2msbn3.js → command-rv6zpw67.js} +35 -35
  212. package/dist/chunks/{filesystem-mctgdp4w.js → command-rxmh8njq.js} +30 -30
  213. package/dist/chunks/{filesystem-cz5fe6tg.js → command-rzsyqtcs.js} +21 -21
  214. package/dist/chunks/{filesystem-rb1cnjjp.js → command-s7cy65rz.js} +18 -18
  215. package/dist/chunks/{filesystem-yv1na398.js → command-sce0r76x.js} +10 -10
  216. package/dist/chunks/{filesystem-gg68t3hz.js → command-sfd6krag.js} +7 -7
  217. package/dist/chunks/{filesystem-c35ra91z.js → command-sjs7wga1.js} +26 -26
  218. package/dist/chunks/{filesystem-dkp7y90n.js → command-smsqhasw.js} +26 -26
  219. package/dist/chunks/{filesystem-hd48n6ar.js → command-stq6srjr.js} +20 -20
  220. package/dist/chunks/{filesystem-s5ckyk9d.js → command-svwczm27.js} +8 -8
  221. package/dist/chunks/{filesystem-r5wxk7rn.js → command-t3e98aec.js} +15 -15
  222. package/dist/chunks/{filesystem-v2y4kgk1.js → command-t718dtrh.js} +47 -47
  223. package/dist/chunks/{filesystem-028swf18.js → command-t7bcp663.js} +9 -9
  224. package/dist/chunks/{filesystem-tazgh4e4.js → command-tazgh4e4.js} +1 -1
  225. package/dist/chunks/{filesystem-kbhdv85b.js → command-tbjtr317.js} +18 -18
  226. package/dist/chunks/{filesystem-tcezcvh9.js → command-tcezcvh9.js} +1 -1
  227. package/dist/chunks/{filesystem-tdstcens.js → command-tdstcens.js} +1 -1
  228. package/dist/chunks/{filesystem-86qzxe6p.js → command-tfzngn12.js} +4 -4
  229. package/dist/chunks/{filesystem-8c364tr5.js → command-tp3hq1fz.js} +3 -3
  230. package/dist/chunks/{filesystem-s73jzx7y.js → command-tw1m0zds.js} +43 -43
  231. package/dist/chunks/{filesystem-epeyn0qs.js → command-twx1y9b4.js} +26 -26
  232. package/dist/chunks/{filesystem-4e8vs6eh.js → command-tx9w5tca.js} +8 -8
  233. package/dist/chunks/{filesystem-tyytaxap.js → command-tyytaxap.js} +1 -1
  234. package/dist/chunks/{filesystem-cqw872z8.js → command-v2x3p8dx.js} +30 -30
  235. package/dist/chunks/{filesystem-v7p4zvkq.js → command-v7p4zvkq.js} +2 -2
  236. package/dist/chunks/{filesystem-tegs1ycp.js → command-v8jfbz3g.js} +6 -6
  237. package/dist/chunks/{filesystem-4m9n96wx.js → command-v9a132p0.js} +18 -18
  238. package/dist/chunks/{filesystem-gwj0vhyb.js → command-vbamk4ns.js} +35 -35
  239. package/dist/chunks/{filesystem-veqvce7d.js → command-veqvce7d.js} +1 -1
  240. package/dist/chunks/{filesystem-8g0yt8dy.js → command-vj35nasm.js} +70 -70
  241. package/dist/chunks/{filesystem-afgz2svm.js → command-vk5kq5j8.js} +13 -13
  242. package/dist/chunks/{filesystem-gc65y9s2.js → command-vvg7my21.js} +17 -17
  243. package/dist/chunks/{filesystem-vzs5sf6e.js → command-vzs5sf6e.js} +1 -1
  244. package/dist/chunks/{filesystem-w3wsvvr9.js → command-w3wsvvr9.js} +1 -1
  245. package/dist/chunks/{filesystem-w5zzhgd0.js → command-w4axh9wz.js} +6 -6
  246. package/dist/chunks/{filesystem-400872z1.js → command-w4mk1hws.js} +20 -20
  247. package/dist/chunks/{filesystem-7fkffz83.js → command-w92k2e0p.js} +6 -6
  248. package/dist/chunks/{filesystem-nnpwh0my.js → command-wak8pa62.js} +15 -15
  249. package/dist/chunks/{filesystem-wakvkjy4.js → command-wakvkjy4.js} +1 -1
  250. package/dist/chunks/{filesystem-wd87259q.js → command-wd87259q.js} +1 -1
  251. package/dist/chunks/{filesystem-0se0c77j.js → command-web3t9xy.js} +4 -4
  252. package/dist/chunks/{filesystem-bjx1sjef.js → command-wjr9rjd7.js} +6 -6
  253. package/dist/chunks/{filesystem-45pdh49v.js → command-wn0xhw32.js} +24 -24
  254. package/dist/chunks/{filesystem-vc9x991w.js → command-wn13chhe.js} +21 -21
  255. package/dist/chunks/{filesystem-63zyt423.js → command-wrc6k2zh.js} +13 -13
  256. package/dist/chunks/{filesystem-k5ggreqd.js → command-wsmpk9jk.js} +5 -5
  257. package/dist/chunks/{filesystem-qp797tjx.js → command-x0g438en.js} +89 -89
  258. package/dist/chunks/{filesystem-x08z24be.js → command-x6x33ar5.js} +10 -10
  259. package/dist/chunks/{filesystem-sxpag4wm.js → command-xdhksg1q.js} +14 -14
  260. package/dist/chunks/{filesystem-a2dbqtpr.js → command-xdydn0yk.js} +16 -16
  261. package/dist/chunks/{filesystem-0f67byd1.js → command-xe70zbdz.js} +5 -5
  262. package/dist/chunks/{filesystem-hsmb96zs.js → command-xewwdcxe.js} +20 -20
  263. package/dist/chunks/{filesystem-h32rg1s2.js → command-xexx9thr.js} +19 -19
  264. package/dist/chunks/{filesystem-jp01ts1z.js → command-xhmz0e2c.js} +11 -11
  265. package/dist/chunks/{filesystem-xrrvmzfg.js → command-xr5vn762.js} +9 -9
  266. package/dist/chunks/{filesystem-0q608b5f.js → command-xsq7pz40.js} +16 -16
  267. package/dist/chunks/{filesystem-y1fvbwt7.js → command-y1fvbwt7.js} +1 -1
  268. package/dist/chunks/{filesystem-6zhaf8kp.js → command-y4g1qmba.js} +9 -9
  269. package/dist/chunks/{filesystem-dpkg50ah.js → command-y71avatq.js} +4 -4
  270. package/dist/chunks/{filesystem-jjfs97vk.js → command-yc2cz67n.js} +32 -32
  271. package/dist/chunks/{filesystem-1qjvw4y4.js → command-yfxdcy39.js} +7 -7
  272. package/dist/chunks/{filesystem-ryh741tj.js → command-ymgkxg7n.js} +11 -11
  273. package/dist/chunks/{filesystem-na6gcdt8.js → command-ysye7j36.js} +20 -20
  274. package/dist/chunks/{filesystem-xab8tp7k.js → command-yy8p69dz.js} +16 -16
  275. package/dist/chunks/{filesystem-z0bkrqjs.js → command-z0bkrqjs.js} +1 -1
  276. package/dist/chunks/{filesystem-7q4dk8at.js → command-z28rahrh.js} +27 -27
  277. package/dist/chunks/{filesystem-8myfktms.js → command-z4a4venm.js} +17 -17
  278. package/dist/chunks/{filesystem-kh6bv03q.js → command-z9pbab2f.js} +13 -13
  279. package/dist/chunks/{filesystem-mn8trjc8.js → command-zbak8g8s.js} +5 -5
  280. package/dist/chunks/{filesystem-1waq66yh.js → command-ze3ntbvb.js} +4 -4
  281. package/dist/chunks/{filesystem-1sqqfm6b.js → command-zhdc5kpb.js} +13 -13
  282. package/dist/chunks/{filesystem-jmv89t63.js → command-zjr49qxn.js} +44 -44
  283. package/dist/chunks/{filesystem-6g6nf04w.js → command-zqsad2gs.js} +2 -2
  284. package/dist/chunks/{filesystem-zr2ceqn5.js → command-zr2ceqn5.js} +1 -1
  285. package/dist/chunks/{filesystem-chxb0k6t.js → command-zxn1czyk.js} +23 -23
  286. package/dist/chunks/{filesystem-zxq2ej10.js → command-zxq2ej10.js} +1 -1
  287. package/dist/chunks/{filesystem-zn5evjtn.js → command-zxqtx2gp.js} +32 -32
  288. package/dist/codemode/catalog.js +1 -1
  289. package/dist/codemode/instructions.js +7 -7
  290. package/dist/codemode/tool.js +3 -3
  291. package/dist/codemode/web.js +1 -1
  292. package/dist/command.js +87 -87
  293. package/dist/config/discovery.js +84 -84
  294. package/dist/config/markdown.js +1 -1
  295. package/dist/config/normalize.js +101 -101
  296. package/dist/config/plugin/agent.js +118 -118
  297. package/dist/config/plugin/command.js +214 -214
  298. package/dist/config/plugin/compaction.js +155 -155
  299. package/dist/config/plugin/compatibility.js +135 -135
  300. package/dist/config/plugin/entry-observer.js +1 -1
  301. package/dist/config/plugin/formatter.js +117 -117
  302. package/dist/config/plugin/image.js +116 -116
  303. package/dist/config/plugin/instruction.js +116 -116
  304. package/dist/config/plugin/location-watcher.js +118 -118
  305. package/dist/config/plugin/mcp.js +125 -125
  306. package/dist/config/plugin/policy.js +117 -117
  307. package/dist/config/plugin/provider.js +116 -116
  308. package/dist/config/plugin/reference.js +118 -118
  309. package/dist/config/plugin/shell.js +116 -116
  310. package/dist/config/plugin/skill-file.js +104 -104
  311. package/dist/config/plugin/skill-scan.js +1 -1
  312. package/dist/config/plugin/skill.js +138 -138
  313. package/dist/config/plugin/snapshot.js +116 -116
  314. package/dist/config/plugin/source.js +115 -115
  315. package/dist/config/plugin/tool-output.js +117 -117
  316. package/dist/config/plugin/websearch.js +115 -115
  317. package/dist/config/plugin/worktree.js +118 -118
  318. package/dist/config/variable.js +1 -1
  319. package/dist/config/watch.js +1 -1
  320. package/dist/config.js +121 -121
  321. package/dist/credential/sql.js +2 -2
  322. package/dist/credential.js +85 -85
  323. package/dist/database/database.js +68 -68
  324. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  325. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  326. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  327. package/dist/database/drizzle/index.js +15 -15
  328. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  331. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  333. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  336. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  337. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  338. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  339. package/dist/database/drizzle.js +16 -16
  340. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  341. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  342. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  343. package/dist/database/migration/20260225215848_workspace.js +1 -1
  344. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  345. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  346. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  347. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  348. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  349. package/dist/database/migration/20260323234822_events.js +1 -1
  350. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  351. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  352. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  353. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  354. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  355. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  356. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  357. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  358. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  359. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  360. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  361. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  362. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  363. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  364. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  365. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  366. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  367. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  368. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  369. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  370. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  371. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  372. package/dist/database/migration/20260611035744_credential.js +1 -1
  373. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  374. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  375. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  376. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  377. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  378. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  379. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  380. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  381. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  382. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  383. package/dist/database/migration/20260812213948_worktree.js +1 -1
  384. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  385. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  386. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  387. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  388. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  389. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  390. package/dist/database/migration.gen.js +51 -51
  391. package/dist/database/migration.js +53 -53
  392. package/dist/database/path.js +2 -2
  393. package/dist/database/schema.gen.js +1 -1
  394. package/dist/database/schema.sql.js +1 -1
  395. package/dist/database/sqlite.bun.js +1 -1
  396. package/dist/database/sqlite.js +1 -1
  397. package/dist/database/sqlite.node.js +1 -1
  398. package/dist/database/sqlite.workerd.js +1 -1
  399. package/dist/database/v1-migration.bun.js +78 -78
  400. package/dist/database/v1-migration.js +1 -1
  401. package/dist/effect/app-node-builder.js +369 -369
  402. package/dist/effect/app-node-platform.js +2 -2
  403. package/dist/effect/keyed-mutex.js +3 -3
  404. package/dist/effect/websocket-constructor.js +1 -1
  405. package/dist/environment/driver.js +1 -1
  406. package/dist/environment/environment.js +95 -95
  407. package/dist/environment/exec-defaults.js +2 -2
  408. package/dist/environment/files.js +1 -1
  409. package/dist/environment/index.js +97 -97
  410. package/dist/environment/local.js +2 -2
  411. package/dist/environment/memory.js +2 -2
  412. package/dist/environment/unavailable.js +1 -1
  413. package/dist/event/sql.js +1 -1
  414. package/dist/event-logger.js +72 -72
  415. package/dist/file-access.js +106 -106
  416. package/dist/file-mutation.js +96 -96
  417. package/dist/file-retention.js +1 -1
  418. package/dist/filesystem/fff.bun.js +2 -2
  419. package/dist/filesystem/fff.js +1 -1
  420. package/dist/filesystem/fff.node.js +2 -2
  421. package/dist/filesystem/fff.workerd.js +2 -2
  422. package/dist/filesystem/location-watcher-policy.js +6 -6
  423. package/dist/filesystem/location-watcher.js +227 -227
  424. package/dist/filesystem/protected.js +1 -1
  425. package/dist/filesystem/search.js +101 -101
  426. package/dist/filesystem/watcher-binding.js +3 -3
  427. package/dist/filesystem/watcher.js +11 -11
  428. package/dist/filesystem.js +106 -106
  429. package/dist/form.js +80 -80
  430. package/dist/formatter/builtins.js +2 -2
  431. package/dist/formatter.js +87 -87
  432. package/dist/generate.js +109 -109
  433. package/dist/git.js +10 -10
  434. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  435. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  436. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  437. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  438. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  439. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  440. package/dist/github-copilot/copilot-provider.js +17 -17
  441. package/dist/github-copilot/models.js +101 -101
  442. package/dist/github-copilot/openai-compatible-error.js +1 -1
  443. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  444. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  445. package/dist/github-copilot/responses/openai-error.js +1 -1
  446. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  447. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  448. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  449. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  450. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  451. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  452. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  453. package/dist/image/photon.js +2 -2
  454. package/dist/image.js +6 -6
  455. package/dist/instance/service.js +5 -5
  456. package/dist/instance.js +360 -360
  457. package/dist/instruction-discovery.js +86 -86
  458. package/dist/instructions/builtins.js +89 -89
  459. package/dist/instructions/index.js +3 -3
  460. package/dist/integration/connection.js +3 -3
  461. package/dist/integration.js +89 -89
  462. package/dist/job.js +80 -80
  463. package/dist/kv/sql.js +2 -2
  464. package/dist/kv.js +73 -73
  465. package/dist/location-activity.js +156 -156
  466. package/dist/location-lifecycle.js +109 -109
  467. package/dist/location-service-map.js +88 -88
  468. package/dist/location-services.js +357 -357
  469. package/dist/location.js +87 -87
  470. package/dist/managed-policy.js +8 -8
  471. package/dist/mcp/client.js +93 -93
  472. package/dist/mcp/index.js +111 -111
  473. package/dist/mcp/instructions.js +140 -140
  474. package/dist/mcp/oauth.js +80 -80
  475. package/dist/mcp/stdio.js +92 -92
  476. package/dist/mime.js +1 -1
  477. package/dist/modal/models.js +101 -101
  478. package/dist/model-resolver.js +101 -101
  479. package/dist/model-retry.js +1 -1
  480. package/dist/model.js +102 -102
  481. package/dist/models-dev.js +109 -109
  482. package/dist/oauth/page.js +1 -1
  483. package/dist/permission/saved.js +82 -82
  484. package/dist/permission/sql.js +5 -5
  485. package/dist/permission.js +113 -113
  486. package/dist/persistent-pty/binary.bun.js +1 -1
  487. package/dist/persistent-pty/daemon.js +1 -1
  488. package/dist/persistent-pty/index.js +90 -90
  489. package/dist/persistent-pty/pty-binding.js +1 -1
  490. package/dist/persistent-pty.js +77 -77
  491. package/dist/plugin/agent.js +78 -78
  492. package/dist/plugin/command.js +104 -104
  493. package/dist/plugin/hooks.js +5 -5
  494. package/dist/plugin/host.js +218 -218
  495. package/dist/plugin/identity.js +3 -3
  496. package/dist/plugin/instance.js +5 -5
  497. package/dist/plugin/internal.js +332 -332
  498. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  499. package/dist/plugin/models-dev.js +98 -98
  500. package/dist/plugin/module.js +117 -117
  501. package/dist/plugin/optimize.js +4 -4
  502. package/dist/plugin/plan.js +104 -104
  503. package/dist/plugin/promise.js +1 -1
  504. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  505. package/dist/plugin/provider/azure.js +116 -116
  506. package/dist/plugin/provider/cerebras.js +1 -1
  507. package/dist/plugin/provider/chatgpt.js +116 -116
  508. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  509. package/dist/plugin/provider/cloudflare-workers-ai.js +113 -113
  510. package/dist/plugin/provider/cohere.js +2 -2
  511. package/dist/plugin/provider/configured.js +112 -112
  512. package/dist/plugin/provider/databricks.js +1 -1
  513. package/dist/plugin/provider/digitalocean.js +95 -95
  514. package/dist/plugin/provider/dynamic.js +2 -2
  515. package/dist/plugin/provider/factory.js +1 -1
  516. package/dist/plugin/provider/github-copilot.js +97 -97
  517. package/dist/plugin/provider/gitlab.js +95 -95
  518. package/dist/plugin/provider/google-vertex.js +113 -113
  519. package/dist/plugin/provider/kilo.js +1 -1
  520. package/dist/plugin/provider/llmgateway.js +80 -80
  521. package/dist/plugin/provider/lmstudio.js +123 -123
  522. package/dist/plugin/provider/local.js +122 -122
  523. package/dist/plugin/provider/modal.js +94 -94
  524. package/dist/plugin/provider/neon.js +1 -1
  525. package/dist/plugin/provider/nvidia.js +1 -1
  526. package/dist/plugin/provider/ollama.js +125 -125
  527. package/dist/plugin/provider/openai.js +118 -118
  528. package/dist/plugin/provider/opencode.js +103 -103
  529. package/dist/plugin/provider/openrouter.js +93 -93
  530. package/dist/plugin/provider/perplexity.js +2 -2
  531. package/dist/plugin/provider/poe.js +81 -81
  532. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  533. package/dist/plugin/provider/sap-ai-core.js +93 -93
  534. package/dist/plugin/provider/sdk-factory.js +1 -1
  535. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  536. package/dist/plugin/provider/vercel.js +92 -92
  537. package/dist/plugin/provider/vllm.js +125 -125
  538. package/dist/plugin/provider/xai.js +93 -93
  539. package/dist/plugin/provider/zenmux.js +1 -1
  540. package/dist/plugin/provider.js +170 -170
  541. package/dist/plugin/sdk.js +78 -78
  542. package/dist/plugin/service.js +3 -3
  543. package/dist/plugin/skill.js +134 -134
  544. package/dist/plugin/source-directory.js +1 -1
  545. package/dist/plugin/supervisor.js +351 -351
  546. package/dist/plugin/tool-input-repair.js +4 -4
  547. package/dist/plugin/update.js +6 -6
  548. package/dist/plugin/vcs/git.js +88 -88
  549. package/dist/plugin/vcs/hg.js +88 -88
  550. package/dist/plugin/verbosity.js +95 -95
  551. package/dist/plugin/warming.js +114 -114
  552. package/dist/plugin/websearch/exa.js +7 -7
  553. package/dist/plugin/websearch/firecrawl.js +8 -8
  554. package/dist/plugin/websearch/index.js +9 -9
  555. package/dist/plugin/websearch/mcp.js +4 -4
  556. package/dist/plugin/websearch/parallel.js +8 -8
  557. package/dist/plugin/websearch/tavily.js +6 -6
  558. package/dist/plugin/websearch/tinyfish.js +6 -6
  559. package/dist/plugin.js +229 -229
  560. package/dist/project/schema.js +4 -4
  561. package/dist/project/sql.js +4 -4
  562. package/dist/project.js +88 -88
  563. package/dist/provider.js +101 -101
  564. package/dist/pty/protocol.js +1 -1
  565. package/dist/pty/ticket.js +1 -1
  566. package/dist/pty.js +99 -99
  567. package/dist/reference/instructions.js +91 -91
  568. package/dist/reference.js +91 -91
  569. package/dist/repository-cache.js +83 -83
  570. package/dist/repository.js +1 -1
  571. package/dist/ripgrep/binary.js +2 -2
  572. package/dist/ripgrep.js +97 -97
  573. package/dist/rpc.js +88 -88
  574. package/dist/schema.js +1 -1
  575. package/dist/session/affinity.js +1 -1
  576. package/dist/session/command.js +76 -76
  577. package/dist/session/compaction.js +138 -138
  578. package/dist/session/context.js +164 -164
  579. package/dist/session/diff.js +90 -90
  580. package/dist/session/environment.js +5 -5
  581. package/dist/session/error.js +5 -5
  582. package/dist/session/event.js +1 -1
  583. package/dist/session/execution/restart.js +221 -221
  584. package/dist/session/execution.js +128 -128
  585. package/dist/session/generate.js +166 -166
  586. package/dist/session/history.js +15 -15
  587. package/dist/session/inbox.js +97 -97
  588. package/dist/session/info.js +3 -3
  589. package/dist/session/instruction-entry.js +81 -81
  590. package/dist/session/instruction-state.js +8 -8
  591. package/dist/session/instructions.js +99 -99
  592. package/dist/session/message-updater.js +2 -2
  593. package/dist/session/message.js +1 -1
  594. package/dist/session/model-request.js +122 -122
  595. package/dist/session/model-transport.js +9 -9
  596. package/dist/session/move.js +132 -132
  597. package/dist/session/projector.js +91 -91
  598. package/dist/session/prompt.js +107 -107
  599. package/dist/session/recent-text.js +1 -1
  600. package/dist/session/revert.js +96 -96
  601. package/dist/session/run-coordinator.js +3 -3
  602. package/dist/session/runner/index.js +3 -3
  603. package/dist/session/runner/llm.js +231 -231
  604. package/dist/session/runner/max-steps.js +1 -1
  605. package/dist/session/runner/model.js +101 -101
  606. package/dist/session/runner/publish-llm-event.js +116 -116
  607. package/dist/session/runner/retry.js +5 -5
  608. package/dist/session/runner/step.js +128 -128
  609. package/dist/session/runner/to-llm-message.js +14 -14
  610. package/dist/session/schema.js +5 -5
  611. package/dist/session/session.js +165 -165
  612. package/dist/session/shell.js +130 -130
  613. package/dist/session/skill.js +105 -105
  614. package/dist/session/sql.js +5 -5
  615. package/dist/session/stats.js +75 -75
  616. package/dist/session/store.js +87 -87
  617. package/dist/session/subagent-completion.js +1 -1
  618. package/dist/session/subagent-job.js +212 -212
  619. package/dist/session/system-prompt.js +3 -3
  620. package/dist/session/title.js +168 -168
  621. package/dist/session/to-session-error.js +114 -114
  622. package/dist/session/transfer.js +217 -217
  623. package/dist/session/usage.js +1 -1
  624. package/dist/session.js +216 -216
  625. package/dist/shell/parse.js +6 -6
  626. package/dist/shell/result.js +1 -1
  627. package/dist/shell/scan.js +1 -1
  628. package/dist/shell/select.js +15 -15
  629. package/dist/shell.js +132 -132
  630. package/dist/skill/discovery.js +6 -6
  631. package/dist/skill/instructions.js +109 -109
  632. package/dist/skill.js +112 -112
  633. package/dist/snapshot.js +89 -89
  634. package/dist/state.js +1 -1
  635. package/dist/tool/html-markdown.js +1 -1
  636. package/dist/tool/http-body.js +1 -1
  637. package/dist/tool/mcp.js +137 -137
  638. package/dist/tool/plugin/edit.js +122 -122
  639. package/dist/tool/plugin/file-diff.js +1 -1
  640. package/dist/tool/plugin/glob.js +126 -126
  641. package/dist/tool/plugin/grep.js +126 -126
  642. package/dist/tool/plugin/mcp-resource.js +126 -126
  643. package/dist/tool/plugin/opencode.js +111 -111
  644. package/dist/tool/plugin/patch.js +124 -124
  645. package/dist/tool/plugin/question.js +103 -103
  646. package/dist/tool/plugin/read.js +125 -125
  647. package/dist/tool/plugin/shell.js +215 -215
  648. package/dist/tool/plugin/skill.js +113 -113
  649. package/dist/tool/plugin/subagent.js +219 -219
  650. package/dist/tool/plugin/todo.js +138 -138
  651. package/dist/tool/plugin/webfetch.js +113 -113
  652. package/dist/tool/plugin/websearch.js +108 -108
  653. package/dist/tool/plugin/write.js +124 -124
  654. package/dist/tool/read-filesystem.js +104 -104
  655. package/dist/tool/runtime.js +1 -1
  656. package/dist/tool-output.js +7 -7
  657. package/dist/tool.js +14 -14
  658. package/dist/util/error-summary.js +1 -1
  659. package/dist/util/git-executable.js +2 -2
  660. package/dist/util/lazy.js +1 -1
  661. package/dist/util/slug.js +1 -1
  662. package/dist/util/token.js +1 -1
  663. package/dist/util/which.js +1 -1
  664. package/dist/util/wildcard.js +1 -1
  665. package/dist/v1/config/agent.js +7 -7
  666. package/dist/v1/config/command.js +5 -5
  667. package/dist/v1/config/mcp.js +4 -4
  668. package/dist/v1/config/migrate.js +94 -94
  669. package/dist/v1/config/permission.js +7 -7
  670. package/dist/v1/config/plugin.js +3 -3
  671. package/dist/v1/config/provider-options.js +1 -1
  672. package/dist/v1/config/provider.js +4 -4
  673. package/dist/variant.js +93 -93
  674. package/dist/vcs/patch.js +1 -1
  675. package/dist/vcs.js +91 -91
  676. package/dist/voice.js +88 -88
  677. package/dist/websearch.js +84 -84
  678. package/dist/wellknown/plugin.js +78 -78
  679. package/dist/wellknown.js +83 -83
  680. package/dist/workspace/driver.js +5 -5
  681. package/dist/workspace/sql.js +1 -1
  682. package/dist/workspace.js +82 -82
  683. package/dist/worktree/directory.js +2 -2
  684. package/dist/worktree/git.js +10 -10
  685. package/dist/worktree/sql.js +5 -5
  686. package/dist/worktree/strategies.js +91 -91
  687. package/dist/worktree.js +100 -100
  688. package/package.json +8 -8
  689. package/dist/chunks/filesystem-36kqp0j3.js +0 -523
  690. package/dist/chunks/filesystem-45th5jwr.js +0 -18
  691. package/dist/chunks/filesystem-btej2qac.js +0 -257
  692. package/dist/chunks/filesystem-smhs581c.js +0 -26
  693. /package/dist/chunks/{filesystem-0qkdqm5v.js → command-0qkdqm5v.js} +0 -0
  694. /package/dist/chunks/{filesystem-0zkw76rk.js → command-0zkw76rk.js} +0 -0
  695. /package/dist/chunks/{filesystem-17cy0kzp.js → command-17cy0kzp.js} +0 -0
  696. /package/dist/chunks/{filesystem-1cnp2v09.js → command-1cnp2v09.js} +0 -0
  697. /package/dist/chunks/{filesystem-24dcb14g.js → command-24dcb14g.js} +0 -0
  698. /package/dist/chunks/{filesystem-2710q6r3.js → command-2710q6r3.js} +0 -0
  699. /package/dist/chunks/{filesystem-2bv980vf.js → command-2bv980vf.js} +0 -0
  700. /package/dist/chunks/{filesystem-2c3vjs8z.js → command-2c3vjs8z.js} +0 -0
  701. /package/dist/chunks/{filesystem-359p4xyc.js → command-359p4xyc.js} +0 -0
  702. /package/dist/chunks/{filesystem-3asan66x.js → command-3asan66x.js} +0 -0
  703. /package/dist/chunks/{filesystem-3v8g72cx.js → command-3v8g72cx.js} +0 -0
  704. /package/dist/chunks/{filesystem-3wcehsnq.js → command-3wcehsnq.js} +0 -0
  705. /package/dist/chunks/{filesystem-43n2bw4t.js → command-43n2bw4t.js} +0 -0
  706. /package/dist/chunks/{filesystem-4knz6hnm.js → command-4knz6hnm.js} +0 -0
  707. /package/dist/chunks/{filesystem-4vcrnpx2.js → command-4vcrnpx2.js} +0 -0
  708. /package/dist/chunks/{filesystem-4y7fprxs.js → command-4y7fprxs.js} +0 -0
  709. /package/dist/chunks/{filesystem-53557ph1.js → command-53557ph1.js} +0 -0
  710. /package/dist/chunks/{filesystem-550bvhaj.js → command-550bvhaj.js} +0 -0
  711. /package/dist/chunks/{filesystem-5fjb7ams.js → command-5fjb7ams.js} +0 -0
  712. /package/dist/chunks/{filesystem-6prwharc.js → command-6prwharc.js} +0 -0
  713. /package/dist/chunks/{filesystem-6q2bdcd1.js → command-6q2bdcd1.js} +0 -0
  714. /package/dist/chunks/{filesystem-7akdwqpd.js → command-7akdwqpd.js} +0 -0
  715. /package/dist/chunks/{filesystem-7m9af43g.js → command-7m9af43g.js} +0 -0
  716. /package/dist/chunks/{filesystem-822emrt2.js → command-822emrt2.js} +0 -0
  717. /package/dist/chunks/{filesystem-84wd9syh.js → command-84wd9syh.js} +0 -0
  718. /package/dist/chunks/{filesystem-88xbtdfr.js → command-88xbtdfr.js} +0 -0
  719. /package/dist/chunks/{filesystem-8n3pysct.js → command-8n3pysct.js} +0 -0
  720. /package/dist/chunks/{filesystem-8wj87zfr.js → command-8wj87zfr.js} +0 -0
  721. /package/dist/chunks/{filesystem-9a4afbnw.js → command-9a4afbnw.js} +0 -0
  722. /package/dist/chunks/{filesystem-9rqn6x4v.js → command-9rqn6x4v.js} +0 -0
  723. /package/dist/chunks/{filesystem-a058387c.js → command-a058387c.js} +0 -0
  724. /package/dist/chunks/{filesystem-a6k6eb26.js → command-a6k6eb26.js} +0 -0
  725. /package/dist/chunks/{filesystem-af5trqkr.js → command-af5trqkr.js} +0 -0
  726. /package/dist/chunks/{filesystem-afrmfg78.js → command-afrmfg78.js} +0 -0
  727. /package/dist/chunks/{filesystem-aqzs7mqg.js → command-aqzs7mqg.js} +0 -0
  728. /package/dist/chunks/{filesystem-atq7p7m5.js → command-atq7p7m5.js} +0 -0
  729. /package/dist/chunks/{filesystem-bkyjaxrp.js → command-bkyjaxrp.js} +0 -0
  730. /package/dist/chunks/{filesystem-bmr6ed5q.js → command-bmr6ed5q.js} +0 -0
  731. /package/dist/chunks/{filesystem-cf4snx6d.js → command-cf4snx6d.js} +0 -0
  732. /package/dist/chunks/{filesystem-cvy3z8tj.js → command-cvy3z8tj.js} +0 -0
  733. /package/dist/chunks/{filesystem-d9fn303g.js → command-d9fn303g.js} +0 -0
  734. /package/dist/chunks/{filesystem-d9jj8t3e.js → command-d9jj8t3e.js} +0 -0
  735. /package/dist/chunks/{filesystem-dajrwvna.js → command-dajrwvna.js} +0 -0
  736. /package/dist/chunks/{filesystem-dap0rakb.js → command-dap0rakb.js} +0 -0
  737. /package/dist/chunks/{filesystem-df08tz66.js → command-df08tz66.js} +0 -0
  738. /package/dist/chunks/{filesystem-dy18nga0.js → command-dy18nga0.js} +0 -0
  739. /package/dist/chunks/{filesystem-e5kj55wp.js → command-e5kj55wp.js} +0 -0
  740. /package/dist/chunks/{filesystem-e73j6tqm.js → command-e73j6tqm.js} +0 -0
  741. /package/dist/chunks/{filesystem-ec1grn59.js → command-ec1grn59.js} +0 -0
  742. /package/dist/chunks/{filesystem-eh3zwz77.js → command-eh3zwz77.js} +0 -0
  743. /package/dist/chunks/{filesystem-emrn6kk6.js → command-emrn6kk6.js} +0 -0
  744. /package/dist/chunks/{filesystem-f0mxakyp.js → command-f0mxakyp.js} +0 -0
  745. /package/dist/chunks/{filesystem-f6n9ztr4.js → command-f6n9ztr4.js} +0 -0
  746. /package/dist/chunks/{filesystem-faypxj3z.js → command-faypxj3z.js} +0 -0
  747. /package/dist/chunks/{filesystem-fd410y7t.js → command-fd410y7t.js} +0 -0
  748. /package/dist/chunks/{filesystem-g4wezp1m.js → command-g4wezp1m.js} +0 -0
  749. /package/dist/chunks/{filesystem-g86h250q.js → command-g86h250q.js} +0 -0
  750. /package/dist/chunks/{filesystem-gebd4c9n.js → command-gebd4c9n.js} +0 -0
  751. /package/dist/chunks/{filesystem-gftt206x.js → command-gftt206x.js} +0 -0
  752. /package/dist/chunks/{filesystem-hcxmzztb.js → command-hcxmzztb.js} +0 -0
  753. /package/dist/chunks/{filesystem-hk9envan.js → command-hk9envan.js} +0 -0
  754. /package/dist/chunks/{filesystem-j2ntwpah.js → command-j2ntwpah.js} +0 -0
  755. /package/dist/chunks/{filesystem-j5zkgpj8.js → command-j5zkgpj8.js} +0 -0
  756. /package/dist/chunks/{filesystem-jjkms2e6.js → command-jjkms2e6.js} +0 -0
  757. /package/dist/chunks/{filesystem-jr7sbwjy.js → command-jr7sbwjy.js} +0 -0
  758. /package/dist/chunks/{filesystem-jwfs4k6c.js → command-jwfs4k6c.js} +0 -0
  759. /package/dist/chunks/{filesystem-jze0r7bz.js → command-jze0r7bz.js} +0 -0
  760. /package/dist/chunks/{filesystem-jzg6c2d5.js → command-jzg6c2d5.js} +0 -0
  761. /package/dist/chunks/{filesystem-m18g726c.js → command-m18g726c.js} +0 -0
  762. /package/dist/chunks/{filesystem-mp448xyj.js → command-mp448xyj.js} +0 -0
  763. /package/dist/chunks/{filesystem-msx8hqn2.js → command-msx8hqn2.js} +0 -0
  764. /package/dist/chunks/{filesystem-n05xt0ee.js → command-n05xt0ee.js} +0 -0
  765. /package/dist/chunks/{filesystem-n3j8tn72.js → command-n3j8tn72.js} +0 -0
  766. /package/dist/chunks/{filesystem-njntx4h6.js → command-njntx4h6.js} +0 -0
  767. /package/dist/chunks/{filesystem-pkyv6v7h.js → command-pkyv6v7h.js} +0 -0
  768. /package/dist/chunks/{filesystem-q3sfg36h.js → command-q3sfg36h.js} +0 -0
  769. /package/dist/chunks/{filesystem-q74kybfr.js → command-q74kybfr.js} +0 -0
  770. /package/dist/chunks/{filesystem-qaymkmh1.js → command-qaymkmh1.js} +0 -0
  771. /package/dist/chunks/{filesystem-qb87gjwd.js → command-qb87gjwd.js} +0 -0
  772. /package/dist/chunks/{filesystem-qfa1cgps.js → command-qfa1cgps.js} +0 -0
  773. /package/dist/chunks/{filesystem-qg3g05ea.js → command-qg3g05ea.js} +0 -0
  774. /package/dist/chunks/{filesystem-qrg20bc0.js → command-qrg20bc0.js} +0 -0
  775. /package/dist/chunks/{filesystem-rcb2kzg1.js → command-rcb2kzg1.js} +0 -0
  776. /package/dist/chunks/{filesystem-sdp7kfr6.js → command-sdp7kfr6.js} +0 -0
  777. /package/dist/chunks/{filesystem-ssg3fenm.js → command-ssg3fenm.js} +0 -0
  778. /package/dist/chunks/{filesystem-ve7vex1e.js → command-ve7vex1e.js} +0 -0
  779. /package/dist/chunks/{filesystem-w803qqfp.js → command-w803qqfp.js} +0 -0
  780. /package/dist/chunks/{filesystem-wc3fc9cn.js → command-wc3fc9cn.js} +0 -0
  781. /package/dist/chunks/{filesystem-wer8tq1h.js → command-wer8tq1h.js} +0 -0
  782. /package/dist/chunks/{filesystem-wjj7prxr.js → command-wjj7prxr.js} +0 -0
  783. /package/dist/chunks/{filesystem-wtztk69x.js → command-wtztk69x.js} +0 -0
  784. /package/dist/chunks/{filesystem-x0ckcb58.js → command-x0ckcb58.js} +0 -0
  785. /package/dist/chunks/{filesystem-x61499pn.js → command-x61499pn.js} +0 -0
  786. /package/dist/chunks/{filesystem-y44na4kk.js → command-y44na4kk.js} +0 -0
  787. /package/dist/chunks/{filesystem-y8f7s663.js → command-y8f7s663.js} +0 -0
  788. /package/dist/chunks/{filesystem-ygaqb7jw.js → command-ygaqb7jw.js} +0 -0
  789. /package/dist/chunks/{filesystem-ym463w8f.js → command-ym463w8f.js} +0 -0
  790. /package/dist/chunks/{filesystem-z5v4ffb3.js → command-z5v4ffb3.js} +0 -0
  791. /package/dist/chunks/{filesystem-z9919s4g.js → command-z9919s4g.js} +0 -0
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  mergeOverlay2,
3
- Service77
4
- } from "./filesystem-5bg7ay96.js";
3
+ Service72
4
+ } from "./command-qsyf62v5.js";
5
5
  import {
6
- Service62
7
- } from "./filesystem-8b6rm75k.js";
6
+ Service68
7
+ } from "./command-cvt24va3.js";
8
8
 
9
9
  // src/plugin/provider/configured.ts
10
10
  import { Effect, Option } from "effect";
11
11
  var configuredSettings2 = Effect.fn("ProviderPlugin.configuredSettings")(function* (id) {
12
- const providers = yield* Service77;
12
+ const providers = yield* Service72;
13
13
  const current = (yield* providers.get(id))?.settings;
14
- const service = yield* Effect.serviceOption(Service62);
14
+ const service = yield* Effect.serviceOption(Service68);
15
15
  const entries = Option.isSome(service) ? yield* service.value.entries() : [];
16
16
  return foldSettings2(entries, id, current);
17
17
  });
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./filesystem-9rqn6x4v.js";
3
+ } from "./command-9rqn6x4v.js";
4
4
 
5
5
  // src/database/v1-migration.ts
6
6
  var exports_v1_migration = {};
@@ -1,56 +1,56 @@
1
1
  import {
2
2
  Service86,
3
3
  node90
4
- } from "./filesystem-8c364tr5.js";
4
+ } from "./command-tp3hq1fz.js";
5
5
  import {
6
6
  Service85,
7
7
  node89
8
- } from "./filesystem-5jfh860z.js";
8
+ } from "./command-5kc27ehr.js";
9
9
  import {
10
- Service61,
11
- node65
12
- } from "./filesystem-9fjp44j3.js";
10
+ Service54,
11
+ node57
12
+ } from "./command-mdwjtjcb.js";
13
13
  import {
14
- Service60,
15
- node64
16
- } from "./filesystem-tegs1ycp.js";
14
+ Service49,
15
+ node52
16
+ } from "./command-v8jfbz3g.js";
17
17
  import {
18
18
  SessionEvent2
19
- } from "./filesystem-ec1grn59.js";
19
+ } from "./command-ec1grn59.js";
20
20
  import {
21
- make18
22
- } from "./filesystem-76p14g35.js";
21
+ make17
22
+ } from "./command-5g57z1ma.js";
23
23
  import {
24
24
  DrainResult2,
25
- Service57
26
- } from "./filesystem-f73rjn58.js";
25
+ Service47
26
+ } from "./command-embw8kgh.js";
27
27
  import {
28
- Service71,
29
- node75
30
- } from "./filesystem-4qfhrk35.js";
28
+ Service62,
29
+ node65
30
+ } from "./command-g38g0fz0.js";
31
31
  import {
32
32
  toSessionError2
33
- } from "./filesystem-gb398jef.js";
33
+ } from "./command-npm9b9zb.js";
34
34
  import {
35
35
  nextPromotable2
36
- } from "./filesystem-mx44zc9z.js";
36
+ } from "./command-3dhsd59m.js";
37
37
  import {
38
38
  __export
39
- } from "./filesystem-9rqn6x4v.js";
39
+ } from "./command-9rqn6x4v.js";
40
40
 
41
41
  // src/session/execution.ts
42
42
  var exports_execution = {};
43
43
  __export(exports_execution, {
44
- Service: () => Service56,
44
+ Service: () => Service46,
45
45
  SessionExecution: () => exports_execution,
46
- layer: () => layer21,
47
- node: () => node61,
46
+ layer: () => layer20,
47
+ node: () => node50,
48
48
  noopLayer: () => noopLayer3,
49
49
  terminal: () => terminal2
50
50
  });
51
51
  import { Cause, Context, Effect, Exit, Layer } from "effect";
52
52
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
53
- class Service56 extends Context.Service()("@opencode/SessionExecution") {
53
+ class Service46 extends Context.Service()("@opencode/SessionExecution") {
54
54
  }
55
55
  function terminal2(exit, reason) {
56
56
  if (Exit.isSuccess(exit))
@@ -59,11 +59,11 @@ function terminal2(exit, reason) {
59
59
  return { type: "interrupted", reason: reason ?? "shutdown" };
60
60
  return { type: "failed", error: toSessionError2(Cause.squash(exit.cause)) };
61
61
  }
62
- var layer21 = Layer.effect(Service56, Effect.gen(function* () {
63
- const store = yield* Service71;
64
- const instances = yield* Service60;
62
+ var layer20 = Layer.effect(Service46, Effect.gen(function* () {
63
+ const store = yield* Service62;
64
+ const instances = yield* Service49;
65
65
  const bus = yield* Service85;
66
- const jobs = yield* Service61;
66
+ const jobs = yield* Service54;
67
67
  const db = (yield* Service86).db;
68
68
  const reportLifecycle = (sessionID, effect) => effect.pipe(Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to publish Session execution lifecycle", cause).pipe(Effect.annotateLogs({ sessionID }))), Effect.asVoid);
69
69
  const claimOnCommit = (sessionID) => ({
@@ -76,14 +76,14 @@ var layer21 = Layer.effect(Service56, Effect.gen(function* () {
76
76
  const session = yield* store.get(sessionID);
77
77
  if (!session)
78
78
  return yield* Effect.die(new Error(`Session not found: ${sessionID}`));
79
- const result = yield* Service57.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
79
+ const result = yield* Service47.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
80
80
  return yield* DrainResult2.$match(result, {
81
81
  Complete: () => Effect.void,
82
82
  Moved: (result) => drain(sessionID, false, result.continuation, promotable),
83
83
  Reloaded: (result) => drain(sessionID, result.force, result.continuation, promotable)
84
84
  });
85
85
  });
86
- const coordinator = yield* make18({
86
+ const coordinator = yield* make17({
87
87
  started: (sessionID) => reportLifecycle(sessionID, bus.publish(SessionEvent2.Execution.Started, { sessionID }, claimOnCommit(sessionID))),
88
88
  drain: (sessionID, force, promotable) => drain(sessionID, force, undefined, promotable),
89
89
  settled: (sessionID, exit, reason) => reportLifecycle(sessionID, Effect.gen(function* () {
@@ -104,7 +104,7 @@ var layer21 = Layer.effect(Service56, Effect.gen(function* () {
104
104
  }, releaseOnCommit(sessionID));
105
105
  }))
106
106
  });
107
- return Service56.of({
107
+ return Service46.of({
108
108
  active: coordinator.active,
109
109
  isActive: coordinator.isActive,
110
110
  interrupt: (sessionID, options) => Effect.gen(function* () {
@@ -123,12 +123,12 @@ var layer21 = Layer.effect(Service56, Effect.gen(function* () {
123
123
  awaitIdle: coordinator.awaitIdle
124
124
  });
125
125
  }));
126
- var node61 = makeGlobalNode({
127
- service: Service56,
128
- layer: layer21,
129
- deps: [node75, node64, node89, node90, node65]
126
+ var node50 = makeGlobalNode({
127
+ service: Service46,
128
+ layer: layer20,
129
+ deps: [node65, node52, node89, node90, node57]
130
130
  });
131
- var noopLayer3 = Layer.succeed(Service56, Service56.of({
131
+ var noopLayer3 = Layer.succeed(Service46, Service46.of({
132
132
  active: Effect.succeed(new Set),
133
133
  isActive: () => Effect.succeed(false),
134
134
  resume: () => Effect.void,
@@ -137,4 +137,4 @@ var noopLayer3 = Layer.succeed(Service56, Service56.of({
137
137
  awaitIdle: () => Effect.void
138
138
  }));
139
139
 
140
- export { Service56, terminal2, layer21, node61, noopLayer3, exports_execution };
140
+ export { Service46, terminal2, layer20, node50, noopLayer3, exports_execution };
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./filesystem-z5v4ffb3.js";
3
+ } from "./command-z5v4ffb3.js";
4
4
  import {
5
5
  root2
6
- } from "./filesystem-8w8x3cmh.js";
6
+ } from "./command-dvmztg5v.js";
7
7
  import {
8
- Service81,
9
- node85
10
- } from "./filesystem-t7a1f2y6.js";
8
+ Service79,
9
+ node83
10
+ } from "./command-kv6t07rj.js";
11
11
  import {
12
- Service69,
13
- node73
14
- } from "./filesystem-kb25sj3q.js";
12
+ Service61,
13
+ node64
14
+ } from "./command-jbxhns51.js";
15
15
  import {
16
16
  __export
17
- } from "./filesystem-9rqn6x4v.js";
17
+ } from "./command-9rqn6x4v.js";
18
18
 
19
19
  // src/file-access.ts
20
20
  var exports_file_access = {};
@@ -22,8 +22,8 @@ __export(exports_file_access, {
22
22
  FileAccess: () => exports_file_access,
23
23
  Kind: () => Kind2,
24
24
  ResolveInput: () => ResolveInput2,
25
- Service: () => Service68,
26
- node: () => node72,
25
+ Service: () => Service18,
26
+ node: () => node20,
27
27
  resolvePath: () => resolvePath2
28
28
  });
29
29
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -37,7 +37,7 @@ var ResolveInput2 = Schema.Struct({
37
37
  kind: Kind2.pipe(Schema.optional)
38
38
  });
39
39
 
40
- class Service68 extends Context.Service()("@opencode/FileAccess") {
40
+ class Service18 extends Context.Service()("@opencode/FileAccess") {
41
41
  }
42
42
  var resolvePath2 = (directory, input, home = Global.Path.home) => {
43
43
  const normalized = FSUtil.windowsPath(input);
@@ -49,10 +49,10 @@ var invocation = (context) => ({
49
49
  agent: context.agent,
50
50
  source: { type: "tool", messageID: context.messageID, id: context.id }
51
51
  });
52
- var layer = Layer.effect(Service68, Effect.gen(function* () {
52
+ var layer = Layer.effect(Service18, Effect.gen(function* () {
53
53
  const fs = yield* FSUtil.Service;
54
- const location = yield* Service81;
55
- const permission = yield* Service69;
54
+ const location = yield* Service79;
55
+ const permission = yield* Service61;
56
56
  const resolve = Effect.fn("FileAccess.resolve")(function* (input) {
57
57
  const absolute = AbsolutePath2.make(resolvePath2(location.directory, input.path));
58
58
  const worktree = path.resolve(location.project.directory);
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
101
101
  });
102
102
  return target;
103
103
  });
104
- return Service68.of({ resolve, authorizeExternal, authorizeRead });
104
+ return Service18.of({ resolve, authorizeExternal, authorizeRead });
105
105
  }));
106
- var node72 = makeLocationNode({ service: Service68, layer, deps: [FSUtil.node, node85, node73] });
106
+ var node20 = makeLocationNode({ service: Service18, layer, deps: [FSUtil.node, node83, node64] });
107
107
 
108
- export { Kind2, ResolveInput2, Service68, resolvePath2, node72, exports_file_access };
108
+ export { Kind2, ResolveInput2, Service18, resolvePath2, node20, exports_file_access };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./filesystem-9rqn6x4v.js";
3
+ } from "./command-9rqn6x4v.js";
4
4
 
5
5
  // src/util/error-summary.ts
6
6
  var exports_error_summary = {};
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  Service85
3
- } from "./filesystem-5jfh860z.js";
3
+ } from "./command-5kc27ehr.js";
4
4
  import {
5
- ID15,
6
- Event17,
7
- Service79
8
- } from "./filesystem-pw2zv200.js";
5
+ ID18,
6
+ Event20,
7
+ Service82
8
+ } from "./command-d1r1vdjn.js";
9
9
  import {
10
- ID13
11
- } from "./filesystem-5bg7ay96.js";
10
+ ID11
11
+ } from "./command-qsyf62v5.js";
12
12
  import {
13
13
  configuredSettings2
14
- } from "./filesystem-are0chd1.js";
14
+ } from "./command-3tpbv33b.js";
15
15
 
16
16
  // src/plugin/provider/google-vertex.ts
17
17
  import { Effect, Option, Schema, Stream } from "effect";
@@ -41,7 +41,7 @@ var GoogleVertexPlugin2 = define({
41
41
  id: "opencode.provider.google.vertex",
42
42
  effect: Effect.fn(function* (ctx) {
43
43
  const fs = yield* FSUtil.Service;
44
- const credentials = yield* Service79;
44
+ const credentials = yield* Service82;
45
45
  const bus = yield* Service85;
46
46
  const read = (file) => fs.readFileStringSafe(file).pipe(Effect.orElseSucceed(() => {
47
47
  return;
@@ -51,7 +51,7 @@ var GoogleVertexPlugin2 = define({
51
51
  const configs = (yield* fs.readDirectory(path.join(gcloud, "configurations")).pipe(Effect.orElseSucceed(() => []))).filter((name) => name.startsWith("config_")).toSorted((a, b) => Number(b === active) - Number(a === active) || a.localeCompare(b));
52
52
  const contents = yield* Effect.forEach(configs, (name) => read(path.join(gcloud, "configurations", name)));
53
53
  const adcFile = yield* read(path.join(gcloud, "application_default_credentials.json"));
54
- const configured = (yield* configuredSettings2(ID13.googleVertex)) ?? {};
54
+ const configured = (yield* configuredSettings2(ID11.googleVertex)) ?? {};
55
55
  const projects = Array.from(new Set([
56
56
  resolveProject(configured),
57
57
  ...contents.map((content) => content?.match(/^project\s*=\s*(\S+)/m)?.[1]),
@@ -65,8 +65,8 @@ var GoogleVertexPlugin2 = define({
65
65
  ...contents.flatMap((content) => Array.from((content ?? "").matchAll(/^region\s*=\s*(\S+)/gm), (match) => match[1]))
66
66
  ]));
67
67
  const load = Effect.fn("GoogleVertexPlugin.load")(function* () {
68
- const connection = yield* ctx.integration.connection.active(ID13.googleVertex);
69
- const stored = connection?.type === "credential" ? yield* credentials.get(ID15.make(connection.id)) : undefined;
68
+ const connection = yield* ctx.integration.connection.active(ID11.googleVertex);
69
+ const stored = connection?.type === "credential" ? yield* credentials.get(ID18.make(connection.id)) : undefined;
70
70
  if (stored?.value.type !== "external" || stored.value.methodID !== ADC_METHOD)
71
71
  return {};
72
72
  return { project: stored.value.metadata?.project, location: stored.value.metadata?.location };
@@ -74,15 +74,15 @@ var GoogleVertexPlugin2 = define({
74
74
  const selected = { settings: yield* load() };
75
75
  const settingsFor = (provider) => ({
76
76
  ...provider.settings,
77
- ...(provider.integrationID ?? provider.id) === ID13.googleVertex ? selected.settings : {}
77
+ ...(provider.integrationID ?? provider.id) === ID11.googleVertex ? selected.settings : {}
78
78
  });
79
79
  yield* ctx.integration.transform((editor) => {
80
80
  editor.method.update({
81
- integrationID: ID13.googleVertex,
81
+ integrationID: ID11.googleVertex,
82
82
  method: { type: "env", names: ["GOOGLE_VERTEX_API_KEY"] }
83
83
  });
84
84
  editor.method.update({
85
- integrationID: ID13.googleVertex,
85
+ integrationID: ID11.googleVertex,
86
86
  method: {
87
87
  id: ADC_METHOD,
88
88
  type: "external",
@@ -120,7 +120,7 @@ var GoogleVertexPlugin2 = define({
120
120
  });
121
121
  yield* ctx.provider.transform((evt) => {
122
122
  for (const item of evt.list()) {
123
- if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID13.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
123
+ if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID11.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
124
124
  continue;
125
125
  const settings = settingsFor(item.provider);
126
126
  const project = resolveProject(settings);
@@ -139,7 +139,7 @@ var GoogleVertexPlugin2 = define({
139
139
  });
140
140
  yield* ctx.model.transform((models) => {
141
141
  for (const item of models.provider.list()) {
142
- if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID13.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
142
+ if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID11.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
143
143
  continue;
144
144
  const settings = settingsFor(item.provider);
145
145
  const project = resolveProject(settings);
@@ -156,7 +156,7 @@ var GoogleVertexPlugin2 = define({
156
156
  }
157
157
  }
158
158
  });
159
- yield* bus.subscribe([Event17.Updated, Event17.Switched]).pipe(Stream.runForEach(() => Effect.gen(function* () {
159
+ yield* bus.subscribe([Event20.Updated, Event20.Switched]).pipe(Stream.runForEach(() => Effect.gen(function* () {
160
160
  const next = yield* load();
161
161
  if (JSON.stringify(next) === JSON.stringify(selected.settings))
162
162
  return;
@@ -1,7 +1,7 @@
1
1
  // src/session/schema.ts
2
2
  import * as SessionSchema2 from "@opencode/schema/session";
3
3
  import { Session } from "@opencode/schema/session";
4
- var ID11 = Session.ID;
5
- var Info20 = Session.Info;
4
+ var ID15 = Session.ID;
5
+ var Info25 = Session.Info;
6
6
 
7
- export { ID11, Info20, SessionSchema2 };
7
+ export { ID15, Info25, SessionSchema2 };
@@ -2,31 +2,31 @@ import {
2
2
  Resource2,
3
3
  ResourceTemplate2,
4
4
  ResourceContent2,
5
- Service30
6
- } from "./filesystem-bdbdb37z.js";
5
+ Service36
6
+ } from "./command-mgym7y53.js";
7
7
  import {
8
- Service69
9
- } from "./filesystem-kb25sj3q.js";
8
+ Service61
9
+ } from "./command-jbxhns51.js";
10
10
  import {
11
11
  MEDIA_MIMES2
12
- } from "./filesystem-d3yv44qs.js";
12
+ } from "./command-1kxdjam0.js";
13
13
  import {
14
14
  __export
15
- } from "./filesystem-9rqn6x4v.js";
15
+ } from "./command-9rqn6x4v.js";
16
16
 
17
17
  // src/tool/plugin/mcp-resource.ts
18
18
  var exports_mcp_resource = {};
19
19
  __export(exports_mcp_resource, {
20
20
  McpResourceTools: () => exports_mcp_resource,
21
- Plugin: () => Plugin49
21
+ Plugin: () => Plugin37
22
22
  });
23
23
  import { ToolFailure } from "@opencode/ai";
24
24
  import { Effect, Schema } from "effect";
25
- var Plugin49 = {
25
+ var Plugin37 = {
26
26
  id: "opencode.tools.mcp-resources",
27
27
  effect: Effect.fn("McpResourceTools.Plugin")(function* (ctx) {
28
- const mcp = yield* Service30;
29
- const permission = yield* Service69;
28
+ const mcp = yield* Service36;
29
+ const permission = yield* Service61;
30
30
  yield* ctx.tool.transform((editor) => {
31
31
  editor.add({
32
32
  name: "list_mcp_resources",
@@ -96,4 +96,4 @@ var Plugin49 = {
96
96
  })
97
97
  };
98
98
 
99
- export { Plugin49, exports_mcp_resource };
99
+ export { Plugin37, exports_mcp_resource };
@@ -1,63 +1,63 @@
1
1
  import {
2
2
  Service86,
3
3
  node90
4
- } from "./filesystem-8c364tr5.js";
4
+ } from "./command-tp3hq1fz.js";
5
5
  import {
6
6
  Service85,
7
7
  node89
8
- } from "./filesystem-5jfh860z.js";
8
+ } from "./command-5kc27ehr.js";
9
9
  import {
10
- Service60,
11
- node64
12
- } from "./filesystem-tegs1ycp.js";
10
+ Service49,
11
+ node52
12
+ } from "./command-v8jfbz3g.js";
13
13
  import {
14
14
  AbsolutePath2,
15
15
  RelativePath2
16
- } from "./filesystem-z5v4ffb3.js";
16
+ } from "./command-z5v4ffb3.js";
17
17
  import {
18
- Service82,
19
- node86
20
- } from "./filesystem-8w8x3cmh.js";
18
+ Service80,
19
+ node84
20
+ } from "./command-dvmztg5v.js";
21
21
  import {
22
22
  Ref4
23
- } from "./filesystem-t7a1f2y6.js";
23
+ } from "./command-kv6t07rj.js";
24
24
  import {
25
- Service65,
26
- node69
27
- } from "./filesystem-028swf18.js";
25
+ Service53,
26
+ node56
27
+ } from "./command-t7bcp663.js";
28
28
  import {
29
29
  SessionMessage2
30
- } from "./filesystem-gftt206x.js";
30
+ } from "./command-gftt206x.js";
31
31
  import {
32
- NotFoundError9
33
- } from "./filesystem-591k6mra.js";
32
+ NotFoundError7
33
+ } from "./command-ahsb9kpf.js";
34
34
  import {
35
35
  SessionEvent2
36
- } from "./filesystem-ec1grn59.js";
36
+ } from "./command-ec1grn59.js";
37
37
  import {
38
- Service57
39
- } from "./filesystem-f73rjn58.js";
38
+ Service47
39
+ } from "./command-embw8kgh.js";
40
40
  import {
41
- Service71,
42
- node75
43
- } from "./filesystem-4qfhrk35.js";
41
+ Service62,
42
+ node65
43
+ } from "./command-g38g0fz0.js";
44
44
  import {
45
45
  Item2,
46
46
  serialized2,
47
- Service58,
48
- node62,
47
+ Service48,
48
+ node51,
49
49
  moveIDs2
50
- } from "./filesystem-mx44zc9z.js";
50
+ } from "./command-3dhsd59m.js";
51
51
  import {
52
- Service56,
53
- node61
54
- } from "./filesystem-q2m888qa.js";
52
+ Service46,
53
+ node50
54
+ } from "./command-3w35w3cz.js";
55
55
  import {
56
- node23
57
- } from "./filesystem-3p8bby9p.js";
56
+ node31
57
+ } from "./command-3ct72kbc.js";
58
58
  import {
59
59
  __export
60
- } from "./filesystem-9rqn6x4v.js";
60
+ } from "./command-9rqn6x4v.js";
61
61
 
62
62
  // src/session/move.ts
63
63
  var exports_move = {};
@@ -65,9 +65,9 @@ __export(exports_move, {
65
65
  DestinationNotDirectoryError: () => DestinationNotDirectoryError2,
66
66
  DestinationNotFoundError: () => DestinationNotFoundError2,
67
67
  DestinationUnavailableError: () => DestinationUnavailableError2,
68
- Service: () => Service19,
68
+ Service: () => Service25,
69
69
  SessionMove: () => exports_move,
70
- node: () => node22
70
+ node: () => node28
71
71
  });
72
72
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
73
73
  import { FSUtil } from "@opencode/util/fs-util";
@@ -83,23 +83,23 @@ class DestinationNotDirectoryError2 extends Schema.TaggedError()("Session.Destin
83
83
  class DestinationUnavailableError2 extends Schema.TaggedError()("Session.DestinationUnavailableError", { directory: AbsolutePath2 }) {
84
84
  }
85
85
 
86
- class Service19 extends Context.Service()("@opencode/SessionMove") {
86
+ class Service25 extends Context.Service()("@opencode/SessionMove") {
87
87
  }
88
- var layer = Layer.effect(Service19, Effect.gen(function* () {
88
+ var layer = Layer.effect(Service25, Effect.gen(function* () {
89
89
  const fs = yield* FSUtil.Service;
90
90
  const global = yield* Global.Service;
91
- const projects = yield* Service82;
92
- const locations = yield* Service65;
93
- const store = yield* Service71;
94
- const execution = yield* Service56;
95
- const instances = yield* Service60;
96
- const admission = yield* Service58;
91
+ const projects = yield* Service80;
92
+ const locations = yield* Service53;
93
+ const store = yield* Service62;
94
+ const execution = yield* Service46;
95
+ const instances = yield* Service49;
96
+ const admission = yield* Service48;
97
97
  const database = yield* Service86;
98
98
  const bus = yield* Service85;
99
99
  const get = Effect.fn("SessionMove.get")(function* (sessionID) {
100
100
  const session = yield* store.get(sessionID);
101
101
  if (!session)
102
- return yield* new NotFoundError9({ sessionID });
102
+ return yield* new NotFoundError7({ sessionID });
103
103
  return session;
104
104
  });
105
105
  const resolveDestination = Effect.fn("SessionMove.resolveDestination")(function* (session, input) {
@@ -131,9 +131,9 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
131
131
  return false;
132
132
  if (!(yield* fs.isDir(session.location.directory)))
133
133
  return true;
134
- return yield* Service57.pipe(instances.provide(session), Effect.as(false), Effect.catchCause((cause) => Cause.hasInterrupts(cause) ? Effect.failCause(Cause.fromReasons(cause.reasons.filter(Cause.isInterruptReason))) : Effect.succeed(true)));
134
+ return yield* Service47.pipe(instances.provide(session), Effect.as(false), Effect.catchCause((cause) => Cause.hasInterrupts(cause) ? Effect.failCause(Cause.fromReasons(cause.reasons.filter(Cause.isInterruptReason))) : Effect.succeed(true)));
135
135
  });
136
- return Service19.of({
136
+ return Service25.of({
137
137
  move: Effect.fn("SessionMove.move")(function* (input) {
138
138
  const session = yield* get(input.sessionID);
139
139
  const destination = yield* resolveDestination(session, input);
@@ -163,22 +163,22 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
163
163
  })
164
164
  });
165
165
  }));
166
- var node22 = makeGlobalNode({
167
- service: Service19,
166
+ var node28 = makeGlobalNode({
167
+ service: Service25,
168
168
  layer,
169
169
  deps: [
170
170
  FSUtil.node,
171
171
  Global.node,
172
- node86,
173
- node69,
174
- node75,
175
- node61,
176
- node64,
177
- node62,
172
+ node84,
173
+ node56,
174
+ node65,
175
+ node50,
176
+ node52,
177
+ node51,
178
178
  node90,
179
179
  node89,
180
- node23
180
+ node31
181
181
  ]
182
182
  });
183
183
 
184
- export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2, Service19, node22, exports_move };
184
+ export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2, Service25, node28, exports_move };
@@ -1,9 +1,9 @@
1
1
  import {
2
- Service53
3
- } from "./filesystem-5ddxr1dn.js";
2
+ Service76
3
+ } from "./command-et97578y.js";
4
4
  import {
5
5
  __export
6
- } from "./filesystem-9rqn6x4v.js";
6
+ } from "./command-9rqn6x4v.js";
7
7
 
8
8
  // src/mcp/stdio.ts
9
9
  var exports_stdio = {};
@@ -21,7 +21,7 @@ var MAX_FRAME_BYTES = 16 * 1024 * 1024;
21
21
  var EXIT_WAIT = Duration.seconds(1);
22
22
  var STDERR_TAIL = 1000;
23
23
  var make2 = Effect.fnUntraced(function* (options) {
24
- const environment = yield* Service53;
24
+ const environment = yield* Service76;
25
25
  const scope = yield* Effect.scope;
26
26
  const outgoing = yield* Queue.bounded(OUTGOING_CAPACITY);
27
27
  const buffer = new ReadBuffer;