@opencode/core 0.0.0-dev-20027 → 0.0.0-dev-20030

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 (797) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +81 -81
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +73 -73
  7. package/dist/chunks/{git-v5bht574.js → snapshot-0k8xz9m1.js} +2 -2
  8. package/dist/chunks/{git-0paq2nw3.js → snapshot-0paq2nw3.js} +1 -1
  9. package/dist/chunks/{git-5e1pzs32.js → snapshot-0tmgye68.js} +9 -9
  10. package/dist/chunks/{git-bct739vz.js → snapshot-0v53mg2y.js} +4 -4
  11. package/dist/chunks/{git-e97zwv3c.js → snapshot-0vb59zmc.js} +28 -28
  12. package/dist/chunks/{git-13dd4g75.js → snapshot-0vmkj0bg.js} +4 -4
  13. package/dist/chunks/{git-hmfyqch5.js → snapshot-14a2g77m.js} +13 -13
  14. package/dist/chunks/{git-1dazxqgg.js → snapshot-1dazxqgg.js} +2 -2
  15. package/dist/chunks/{git-jd3npf77.js → snapshot-1e56h9we.js} +6 -6
  16. package/dist/chunks/{git-h4kdtw4d.js → snapshot-1grbbkds.js} +15 -15
  17. package/dist/chunks/{git-6x0xdmp7.js → snapshot-1svmzqef.js} +162 -162
  18. package/dist/chunks/{git-tm95rjfh.js → snapshot-1xrh7e6k.js} +4 -4
  19. package/dist/chunks/{git-56gdpj1q.js → snapshot-1ygqh575.js} +9 -9
  20. package/dist/chunks/{git-sd3n1ret.js → snapshot-21ht5ags.js} +16 -16
  21. package/dist/chunks/{git-21r38tys.js → snapshot-21r38tys.js} +1 -1
  22. package/dist/chunks/{git-caxz1j83.js → snapshot-22f648v1.js} +32 -32
  23. package/dist/chunks/{git-2402vzrj.js → snapshot-2402vzrj.js} +1 -1
  24. package/dist/chunks/{git-vsb4na82.js → snapshot-26k3mmxd.js} +42 -42
  25. package/dist/chunks/{git-2a5m3afh.js → snapshot-2a5m3afh.js} +1 -1
  26. package/dist/chunks/{git-2bmrymfw.js → snapshot-2ak4dr91.js} +11 -11
  27. package/dist/chunks/{git-0gaj4617.js → snapshot-2d57kztd.js} +6 -6
  28. package/dist/chunks/{git-2aqgakzf.js → snapshot-2mhzvh0a.js} +18 -18
  29. package/dist/chunks/{git-dxpnpzza.js → snapshot-2nwh4zjr.js} +28 -28
  30. package/dist/chunks/{git-hc4fnx3k.js → snapshot-2q6kkxxq.js} +4 -4
  31. package/dist/chunks/{git-5yspkx8c.js → snapshot-2tsw83gj.js} +14 -14
  32. package/dist/chunks/{git-ntbpaqq3.js → snapshot-2twjr81a.js} +17 -17
  33. package/dist/chunks/{git-8pa4v8ja.js → snapshot-2z3mfw9z.js} +13 -13
  34. package/dist/chunks/{git-tyd6evbv.js → snapshot-31t8vbzj.js} +3 -3
  35. package/dist/chunks/{git-3fc6dm20.js → snapshot-3fc6dm20.js} +1 -1
  36. package/dist/chunks/{git-3hepkmqq.js → snapshot-3hepkmqq.js} +1 -1
  37. package/dist/chunks/{git-3smtnn6g.js → snapshot-3smtnn6g.js} +1 -1
  38. package/dist/chunks/{git-3tvqynh2.js → snapshot-3tvqynh2.js} +1 -1
  39. package/dist/chunks/{git-3zsf4n22.js → snapshot-3zsf4n22.js} +1 -1
  40. package/dist/chunks/{git-27jqy24h.js → snapshot-4146wgg3.js} +41 -41
  41. package/dist/chunks/{git-y8mbs16w.js → snapshot-47zbr52t.js} +14 -14
  42. package/dist/chunks/{git-dw9armfg.js → snapshot-4c070755.js} +2 -2
  43. package/dist/chunks/{git-7q587t2b.js → snapshot-4dhk5hft.js} +13 -13
  44. package/dist/chunks/{git-awyhhjf2.js → snapshot-4hqw81ab.js} +12 -12
  45. package/dist/chunks/{git-1dvq6k6w.js → snapshot-4ryqkaf0.js} +8 -8
  46. package/dist/chunks/{git-0n7z1vhq.js → snapshot-4wcbatk8.js} +14 -14
  47. package/dist/chunks/{git-tsc4theb.js → snapshot-4wp5p5rq.js} +44 -44
  48. package/dist/chunks/{git-c55fm4pv.js → snapshot-51fa1qxd.js} +12 -12
  49. package/dist/chunks/{git-xvb08a4w.js → snapshot-55q6v56a.js} +8 -8
  50. package/dist/chunks/{git-19thbt26.js → snapshot-55ygg84m.js} +3 -3
  51. package/dist/chunks/{git-57ez7d0k.js → snapshot-57ez7d0k.js} +2 -2
  52. package/dist/chunks/{git-dxkpry84.js → snapshot-5a22swag.js} +5 -5
  53. package/dist/chunks/{git-jxrc8b14.js → snapshot-5a5pf3fm.js} +33 -33
  54. package/dist/chunks/{git-2b9m4c98.js → snapshot-5c299m0q.js} +3 -3
  55. package/dist/chunks/{git-5daktx2q.js → snapshot-5daktx2q.js} +1 -1
  56. package/dist/chunks/{git-sc4zk213.js → snapshot-5dp1bgzf.js} +14 -14
  57. package/dist/chunks/{git-5ekn9679.js → snapshot-5ekn9679.js} +1 -1
  58. package/dist/chunks/{git-4xeg45nw.js → snapshot-5rhvvwjg.js} +22 -22
  59. package/dist/chunks/{git-5t3nmthw.js → snapshot-5t3nmthw.js} +2 -2
  60. package/dist/chunks/{git-xwm6bryg.js → snapshot-5xpznt2d.js} +4 -4
  61. package/dist/chunks/{git-p42hj8p8.js → snapshot-5yzzbxa7.js} +8 -8
  62. package/dist/chunks/{git-kjx25m7e.js → snapshot-601rw66q.js} +19 -19
  63. package/dist/chunks/{git-669tq793.js → snapshot-669tq793.js} +1 -1
  64. package/dist/chunks/{git-010w34bf.js → snapshot-66caeg3n.js} +25 -25
  65. package/dist/chunks/{git-1nyjqkcf.js → snapshot-69e754gk.js} +33 -33
  66. package/dist/chunks/{git-5cmxdwv8.js → snapshot-6bsje7ws.js} +3 -3
  67. package/dist/chunks/{git-m81c09cc.js → snapshot-6ebmykms.js} +27 -27
  68. package/dist/chunks/{git-ct9y6gbn.js → snapshot-6kyzwp48.js} +5 -5
  69. package/dist/chunks/{git-4ffsqyr5.js → snapshot-6m32j7gw.js} +3 -3
  70. package/dist/chunks/{git-6msgmcgs.js → snapshot-6msgmcgs.js} +1 -1
  71. package/dist/chunks/{git-y2ghzbkq.js → snapshot-6n6t8mg1.js} +30 -30
  72. package/dist/chunks/{git-rm9q555g.js → snapshot-6sb2wa61.js} +11 -11
  73. package/dist/chunks/{git-bygjy1qb.js → snapshot-6tcepvr3.js} +18 -18
  74. package/dist/chunks/{git-xxspzvmh.js → snapshot-6xnxq4m8.js} +15 -15
  75. package/dist/chunks/{git-as301tcg.js → snapshot-70xxcz3e.js} +19 -19
  76. package/dist/chunks/{git-x0w9b04z.js → snapshot-722bm5k1.js} +9 -9
  77. package/dist/chunks/{git-jjb97hk9.js → snapshot-764z5t2a.js} +26 -26
  78. package/dist/chunks/{git-7bmhse3q.js → snapshot-7bmhse3q.js} +1 -1
  79. package/dist/chunks/{git-7tqntkc3.js → snapshot-7jgm01sn.js} +8 -8
  80. package/dist/chunks/{git-69z71taw.js → snapshot-7jq11kaw.js} +54 -54
  81. package/dist/chunks/{git-607q5haz.js → snapshot-7np6y5v9.js} +12 -12
  82. package/dist/chunks/{git-c31h68nj.js → snapshot-7p9t6n5c.js} +19 -19
  83. package/dist/chunks/{git-mavemxhg.js → snapshot-7v3nx88q.js} +48 -48
  84. package/dist/chunks/{git-sbay9tk1.js → snapshot-7ve2bcyf.js} +16 -16
  85. package/dist/chunks/{git-g2gyvwgr.js → snapshot-7zp840he.js} +9 -9
  86. package/dist/chunks/{git-2247smmp.js → snapshot-81xajp5a.js} +31 -31
  87. package/dist/chunks/{git-48nzf0bm.js → snapshot-82ecpvtr.js} +27 -27
  88. package/dist/chunks/{git-8d7r5vzw.js → snapshot-8d7r5vzw.js} +1 -1
  89. package/dist/chunks/{git-g2ks5ta4.js → snapshot-8hppf00p.js} +78 -78
  90. package/dist/chunks/{git-e0vtkr8g.js → snapshot-92k45pvj.js} +6 -6
  91. package/dist/chunks/{git-94ek1h2f.js → snapshot-94ek1h2f.js} +2 -2
  92. package/dist/chunks/{git-p63yn2ba.js → snapshot-94pjr4dx.js} +1 -1
  93. package/dist/chunks/{git-zrd1hyk7.js → snapshot-9h83vwwk.js} +32 -32
  94. package/dist/chunks/{git-zrv5pa4j.js → snapshot-9wzwhfcn.js} +3 -3
  95. package/dist/chunks/{git-6qnh8fmb.js → snapshot-a4vsphfm.js} +7 -7
  96. package/dist/chunks/{git-fzd06gvz.js → snapshot-a9r7taa5.js} +26 -26
  97. package/dist/chunks/{git-aaet6srn.js → snapshot-aaet6srn.js} +2 -2
  98. package/dist/chunks/{git-1n18w02d.js → snapshot-ajzsbz6h.js} +12 -12
  99. package/dist/chunks/{git-g0hzkq8p.js → snapshot-ar08adk5.js} +5 -5
  100. package/dist/chunks/{git-nbrkqbtq.js → snapshot-as52rsn2.js} +9 -9
  101. package/dist/chunks/{git-tx9w5tca.js → snapshot-at1kfnmk.js} +8 -8
  102. package/dist/chunks/{git-2zdn2hg8.js → snapshot-azs45ne5.js} +4 -4
  103. package/dist/chunks/{git-c5y6tpwg.js → snapshot-b65pysqy.js} +3 -3
  104. package/dist/chunks/{git-b6gygkdw.js → snapshot-b6gygkdw.js} +2 -2
  105. package/dist/chunks/{git-p5q3ex0b.js → snapshot-b7cywk50.js} +15 -15
  106. package/dist/chunks/{git-0n9dhkpc.js → snapshot-be4n291q.js} +21 -21
  107. package/dist/chunks/{git-x5vgpz9j.js → snapshot-bez6fg5x.js} +11 -11
  108. package/dist/chunks/{git-3en9cd2f.js → snapshot-bt2ndnm6.js} +12 -12
  109. package/dist/chunks/{git-5f0nhxgb.js → snapshot-btj1e51e.js} +17 -17
  110. package/dist/chunks/snapshot-by5v678g.js +18 -0
  111. package/dist/chunks/{git-zde15cj0.js → snapshot-byv3s7jg.js} +26 -26
  112. package/dist/chunks/{git-v4m0f3qj.js → snapshot-c2x9fe08.js} +20 -20
  113. package/dist/chunks/{git-31p1pbsy.js → snapshot-c6srhy44.js} +13 -13
  114. package/dist/chunks/{git-ps3qw662.js → snapshot-c94p0vzs.js} +5 -5
  115. package/dist/chunks/{git-ckecvw8r.js → snapshot-ckecvw8r.js} +2 -2
  116. package/dist/chunks/{git-0vvq0b5s.js → snapshot-cpfmjptp.js} +42 -42
  117. package/dist/chunks/{git-snhm608r.js → snapshot-cr0epd3b.js} +24 -24
  118. package/dist/chunks/{git-g9sxb67q.js → snapshot-cskct7ae.js} +11 -11
  119. package/dist/chunks/{git-r2xpf7zj.js → snapshot-cvb7j2ar.js} +14 -14
  120. package/dist/chunks/{git-c765mh8b.js → snapshot-cwa6csj7.js} +9 -9
  121. package/dist/chunks/{git-4jh9036t.js → snapshot-cwh1ykm4.js} +16 -16
  122. package/dist/chunks/{git-9zr2rkr1.js → snapshot-cx57cfsy.js} +9 -9
  123. package/dist/chunks/{git-kh4f80a0.js → snapshot-d7x2cfb0.js} +8 -8
  124. package/dist/chunks/{git-2qp6y8xf.js → snapshot-dj9sq318.js} +5 -5
  125. package/dist/chunks/{git-dpkg50ah.js → snapshot-dpkg50ah.js} +1 -1
  126. package/dist/chunks/{git-80kx0180.js → snapshot-dr8h1v1j.js} +25 -25
  127. package/dist/chunks/{git-tbybbeq2.js → snapshot-dxpm2mzg.js} +21 -21
  128. package/dist/chunks/{git-q88m6k9v.js → snapshot-dyfjs123.js} +20 -20
  129. package/dist/chunks/{git-z5w7jba6.js → snapshot-e58zfr0z.js} +36 -36
  130. package/dist/chunks/{git-jv01nqvq.js → snapshot-e6hmchc5.js} +5 -5
  131. package/dist/chunks/{git-a5kpvxfh.js → snapshot-e82tdd7x.js} +4 -4
  132. package/dist/chunks/{git-6b577fjv.js → snapshot-edakf7cy.js} +20 -20
  133. package/dist/chunks/{git-fjvydvzm.js → snapshot-edme2h3e.js} +9 -9
  134. package/dist/chunks/{git-ef5x83kb.js → snapshot-ef5x83kb.js} +1 -1
  135. package/dist/chunks/{git-7g5aaaxw.js → snapshot-ehng9v5j.js} +24 -24
  136. package/dist/chunks/{git-r46ncawz.js → snapshot-ehtkbpj7.js} +41 -41
  137. package/dist/chunks/{git-ge4ktqxw.js → snapshot-ejyy1vq3.js} +21 -21
  138. package/dist/chunks/{git-erw5rpbs.js → snapshot-erw5rpbs.js} +2 -2
  139. package/dist/chunks/{git-etq0c3wd.js → snapshot-etq0c3wd.js} +1 -1
  140. package/dist/chunks/{git-s35b38t3.js → snapshot-ex8d3qgq.js} +22 -22
  141. package/dist/chunks/{git-qj8eh1ht.js → snapshot-f3ngv102.js} +4 -4
  142. package/dist/chunks/{git-kz01yks6.js → snapshot-f4zbrtg8.js} +24 -24
  143. package/dist/chunks/{git-6ysrkrkr.js → snapshot-f5gy8qwh.js} +8 -8
  144. package/dist/chunks/{git-43x0z3ay.js → snapshot-f6f4wqds.js} +85 -85
  145. package/dist/chunks/{git-7dqw4kz8.js → snapshot-fcrkznn8.js} +5 -5
  146. package/dist/chunks/{git-vmgq4x8b.js → snapshot-ff0svapt.js} +2 -2
  147. package/dist/chunks/{git-4ac7tkhg.js → snapshot-fmzx7afd.js} +13 -13
  148. package/dist/chunks/snapshot-fp8byzsz.js +252 -0
  149. package/dist/chunks/{git-3ppw9e7p.js → snapshot-ft7whn5s.js} +3 -3
  150. package/dist/chunks/{git-a2whg7pq.js → snapshot-g6w0fa2e.js} +32 -32
  151. package/dist/chunks/{git-gd4qta3r.js → snapshot-gd4qta3r.js} +1 -1
  152. package/dist/chunks/{git-mm0m6d6d.js → snapshot-gdq1wzkg.js} +15 -15
  153. package/dist/chunks/{git-8tsdq50x.js → snapshot-gmx5hwcv.js} +4 -4
  154. package/dist/chunks/{git-gv6a8nnw.js → snapshot-gv6a8nnw.js} +2 -2
  155. package/dist/chunks/{git-84g7jkxa.js → snapshot-gws5vmfw.js} +8 -8
  156. package/dist/chunks/{git-ymdcatcc.js → snapshot-gzh0eb8j.js} +15 -15
  157. package/dist/chunks/{git-52d56bf8.js → snapshot-h415rfds.js} +20 -20
  158. package/dist/chunks/{git-44h5tttr.js → snapshot-h6r3nrb9.js} +4 -4
  159. package/dist/chunks/{git-h6vf3j39.js → snapshot-h6vf3j39.js} +1 -1
  160. package/dist/chunks/{git-94rbwrma.js → snapshot-hawz7qk3.js} +32 -32
  161. package/dist/chunks/{git-fp9k3yne.js → snapshot-hfbmyrxh.js} +15 -15
  162. package/dist/chunks/{git-nxhqveyz.js → snapshot-hkfg6fzm.js} +5 -5
  163. package/dist/chunks/{git-c0zrtztw.js → snapshot-hrgzvhqa.js} +55 -55
  164. package/dist/chunks/{git-qvcpt1fs.js → snapshot-hs7e0j5x.js} +8 -8
  165. package/dist/chunks/{git-hxr8hfhn.js → snapshot-hzvqxvwc.js} +41 -41
  166. package/dist/chunks/{git-j56e64zr.js → snapshot-j56e64zr.js} +1 -1
  167. package/dist/chunks/{git-r3c4069c.js → snapshot-j9ty9cws.js} +1 -1
  168. package/dist/chunks/{git-wxy0ac48.js → snapshot-jjwr2adn.js} +6 -6
  169. package/dist/chunks/{git-f1nnvvmc.js → snapshot-jtkwk4gb.js} +25 -25
  170. package/dist/chunks/{git-k3c624dm.js → snapshot-k3c624dm.js} +3 -3
  171. package/dist/chunks/{git-c0p7yvnn.js → snapshot-k3d4wrk7.js} +24 -24
  172. package/dist/chunks/{git-p3bhxa8e.js → snapshot-k4wvtnxa.js} +5 -5
  173. package/dist/chunks/{git-k9kj6xed.js → snapshot-k9kj6xed.js} +2 -2
  174. package/dist/chunks/{git-r8sqswrh.js → snapshot-kbqjrca6.js} +11 -11
  175. package/dist/chunks/{git-fq78sz5t.js → snapshot-kbt19f78.js} +23 -23
  176. package/dist/chunks/{git-2hr5nhwa.js → snapshot-kh9sx4kg.js} +4 -4
  177. package/dist/chunks/{git-ykch05ee.js → snapshot-m1a6ntfn.js} +4 -4
  178. package/dist/chunks/{git-ednp5hmx.js → snapshot-m28tfe1w.js} +8 -8
  179. package/dist/chunks/{git-jjs74g98.js → snapshot-m2d0j7c0.js} +9 -9
  180. package/dist/chunks/{git-m3fdjcah.js → snapshot-m3fdjcah.js} +1 -1
  181. package/dist/chunks/{git-aztg29vg.js → snapshot-m3y0vspd.js} +13 -13
  182. package/dist/chunks/{git-53fyba40.js → snapshot-m6nec9qq.js} +4 -4
  183. package/dist/chunks/{git-m9w0rfyh.js → snapshot-m9w0rfyh.js} +1 -1
  184. package/dist/chunks/{git-c5tk59cy.js → snapshot-mcehqfzm.js} +10 -10
  185. package/dist/chunks/{git-csewmbcm.js → snapshot-mcx4wgxb.js} +30 -30
  186. package/dist/chunks/{git-656e1hpv.js → snapshot-mgfg3xvp.js} +11 -11
  187. package/dist/chunks/{git-mvfsc1pv.js → snapshot-mhkvc446.js} +3 -3
  188. package/dist/chunks/{git-z221g1rh.js → snapshot-mkd15s39.js} +10 -10
  189. package/dist/chunks/{git-8ssx7wvg.js → snapshot-mx48q6f7.js} +13 -13
  190. package/dist/chunks/{git-7d00555s.js → snapshot-n4v135yq.js} +15 -15
  191. package/dist/chunks/{git-6dsb7qk9.js → snapshot-nats9h3g.js} +6 -6
  192. package/dist/chunks/{git-rndw9g15.js → snapshot-nbpg3hpq.js} +13 -13
  193. package/dist/chunks/{git-28e409nm.js → snapshot-ndky9e3n.js} +1 -1
  194. package/dist/chunks/{git-rtdzmes0.js → snapshot-npgh0z08.js} +36 -36
  195. package/dist/chunks/{git-tg4ey0nj.js → snapshot-nv7qmagz.js} +15 -15
  196. package/dist/chunks/{git-6r9cb4fm.js → snapshot-ny7e7z2d.js} +8 -8
  197. package/dist/chunks/{git-5a5ae82c.js → snapshot-p48nv60c.js} +19 -19
  198. package/dist/chunks/{git-419fw4gr.js → snapshot-p6xwdr19.js} +13 -13
  199. package/dist/chunks/{git-f413cgt0.js → snapshot-pdvt449s.js} +72 -72
  200. package/dist/chunks/{git-rhwn96vn.js → snapshot-pf5amn4b.js} +7 -7
  201. package/dist/chunks/{git-vmwh049b.js → snapshot-phc8pspp.js} +6 -6
  202. package/dist/chunks/{git-pjvnvgmy.js → snapshot-pjvnvgmy.js} +1 -1
  203. package/dist/chunks/{git-pknna89w.js → snapshot-pknna89w.js} +1 -1
  204. package/dist/chunks/{git-p2szdd0n.js → snapshot-prgk16s2.js} +31 -31
  205. package/dist/chunks/{git-4mwpykj0.js → snapshot-prmgem5b.js} +6 -6
  206. package/dist/chunks/{git-rspkaf4h.js → snapshot-pwhe4vsk.js} +12 -12
  207. package/dist/chunks/{git-bcj22tgq.js → snapshot-pwm8hhrg.js} +11 -11
  208. package/dist/chunks/{git-h78ckr3f.js → snapshot-pxdwd80t.js} +31 -31
  209. package/dist/chunks/{git-va5fjah0.js → snapshot-q090x7es.js} +17 -17
  210. package/dist/chunks/{git-5x6zeszh.js → snapshot-q6vq307s.js} +4 -4
  211. package/dist/chunks/{git-qahzx1a8.js → snapshot-q9p58qae.js} +34 -34
  212. package/dist/chunks/{git-qa3qhgw8.js → snapshot-qa3qhgw8.js} +1 -1
  213. package/dist/chunks/{git-298eqf0p.js → snapshot-qh76ahng.js} +5 -5
  214. package/dist/chunks/{git-vqemcat0.js → snapshot-qr4n1n51.js} +16 -16
  215. package/dist/chunks/{git-qsdy395h.js → snapshot-qsdy395h.js} +1 -1
  216. package/dist/chunks/{git-rgvd7d6r.js → snapshot-qzccvhz5.js} +5 -5
  217. package/dist/chunks/{git-8yd29ctq.js → snapshot-r6xcm8s4.js} +14 -14
  218. package/dist/chunks/{git-1acjjqhc.js → snapshot-r8xr0va3.js} +4 -4
  219. package/dist/chunks/{git-jvb9xte8.js → snapshot-r9w3djhf.js} +9 -9
  220. package/dist/chunks/{git-rdw6cm16.js → snapshot-rdw6cm16.js} +1 -1
  221. package/dist/chunks/{git-znadnk2c.js → snapshot-rh7w60c5.js} +18 -18
  222. package/dist/chunks/{git-dagq1gyb.js → snapshot-rhxvs2d4.js} +20 -20
  223. package/dist/chunks/{git-82atqrj1.js → snapshot-rj81hrpq.js} +24 -24
  224. package/dist/chunks/{git-mksgfzgs.js → snapshot-rmxzq7f5.js} +5 -5
  225. package/dist/chunks/{git-hwsctmkw.js → snapshot-rs333zy1.js} +20 -20
  226. package/dist/chunks/{git-xq0837nd.js → snapshot-rsxykv2p.js} +14 -14
  227. package/dist/chunks/{git-zcrspsvn.js → snapshot-rwm5vee1.js} +4 -4
  228. package/dist/chunks/{git-wqc8znh9.js → snapshot-s39k9fa5.js} +6 -6
  229. package/dist/chunks/{git-eaj1djv9.js → snapshot-s8d7rejh.js} +6 -6
  230. package/dist/chunks/{git-8r029ffp.js → snapshot-s8faeshr.js} +29 -29
  231. package/dist/chunks/{git-g8atgw3j.js → snapshot-sf0yp864.js} +6 -6
  232. package/dist/chunks/{git-hfx0q6qd.js → snapshot-sh3cnwks.js} +12 -12
  233. package/dist/chunks/{git-06sgyj6k.js → snapshot-sh3v0w80.js} +9 -9
  234. package/dist/chunks/{git-pde5dn08.js → snapshot-ss2695sz.js} +23 -23
  235. package/dist/chunks/{git-s5a3abkq.js → snapshot-sv1e32h6.js} +13 -13
  236. package/dist/chunks/{git-z138ka9p.js → snapshot-sx6sbev9.js} +11 -11
  237. package/dist/chunks/{git-0heqmdds.js → snapshot-t30cn9ds.js} +11 -11
  238. package/dist/chunks/{git-qers21hv.js → snapshot-t7smn26t.js} +19 -19
  239. package/dist/chunks/{git-tazgh4e4.js → snapshot-tazgh4e4.js} +1 -1
  240. package/dist/chunks/{git-ajrg9ep2.js → snapshot-tb7yevgy.js} +4 -4
  241. package/dist/chunks/{git-tcezcvh9.js → snapshot-tcezcvh9.js} +1 -1
  242. package/dist/chunks/{git-tdstcens.js → snapshot-tdstcens.js} +1 -1
  243. package/dist/chunks/{git-5pzymp2c.js → snapshot-tqbe3jqy.js} +8 -8
  244. package/dist/chunks/{git-k4dgey25.js → snapshot-tsszah43.js} +10 -10
  245. package/dist/chunks/{git-tvtrv512.js → snapshot-tvtrv512.js} +1 -1
  246. package/dist/chunks/{git-ppk9bqm7.js → snapshot-v0xhwtxj.js} +32 -32
  247. package/dist/chunks/{git-4r06v03z.js → snapshot-ve90vagr.js} +19 -19
  248. package/dist/chunks/{git-veqvce7d.js → snapshot-veqvce7d.js} +1 -1
  249. package/dist/chunks/{git-8t502s3m.js → snapshot-vfx1g0jc.js} +12 -12
  250. package/dist/chunks/{git-hfypw2dz.js → snapshot-vtf3z4ss.js} +8 -8
  251. package/dist/chunks/{git-9cyfspf3.js → snapshot-vtxr0yy2.js} +5 -5
  252. package/dist/chunks/{git-vzcthcp8.js → snapshot-vzcthcp8.js} +1 -1
  253. package/dist/chunks/{git-tqb379dh.js → snapshot-vzvj8tr4.js} +3 -3
  254. package/dist/chunks/{git-crw3tv4v.js → snapshot-w186ndtb.js} +5 -5
  255. package/dist/chunks/{git-w3wsvvr9.js → snapshot-w3wsvvr9.js} +1 -1
  256. package/dist/chunks/{git-jekat74m.js → snapshot-w68r2k6h.js} +30 -30
  257. package/dist/chunks/{git-tex4m4qy.js → snapshot-wavy99wc.js} +11 -11
  258. package/dist/chunks/{git-wd3x2cqz.js → snapshot-wd3x2cqz.js} +2 -2
  259. package/dist/chunks/{git-wd87259q.js → snapshot-wd87259q.js} +1 -1
  260. package/dist/chunks/{git-ryy9z3kr.js → snapshot-wqkz004e.js} +7 -7
  261. package/dist/chunks/{git-16p5kn1s.js → snapshot-wszcsa84.js} +27 -27
  262. package/dist/chunks/{git-d8nc1xcx.js → snapshot-x0511brf.js} +4 -4
  263. package/dist/chunks/{git-x1ezjp6w.js → snapshot-x1ezjp6w.js} +1 -1
  264. package/dist/chunks/snapshot-x2psz0qx.js +26 -0
  265. package/dist/chunks/{git-yt3hy1g9.js → snapshot-x2rw7g36.js} +5 -5
  266. package/dist/chunks/{git-9b00c1fb.js → snapshot-x6pyv2yz.js} +5 -5
  267. package/dist/chunks/{git-xfkkasph.js → snapshot-xfkkasph.js} +1 -1
  268. package/dist/chunks/{git-7eemnjng.js → snapshot-xv6t57yc.js} +11 -11
  269. package/dist/chunks/{git-y1fvbwt7.js → snapshot-y1fvbwt7.js} +1 -1
  270. package/dist/chunks/{git-khv50f9b.js → snapshot-y7z8z9pe.js} +7 -7
  271. package/dist/chunks/{git-c05376bz.js → snapshot-y8y02c45.js} +323 -323
  272. package/dist/chunks/{git-abddqw17.js → snapshot-yedjkhvm.js} +24 -24
  273. package/dist/chunks/{git-yrhqyw5v.js → snapshot-yrhqyw5v.js} +1 -1
  274. package/dist/chunks/{git-yrznvahk.js → snapshot-yrznvahk.js} +2 -2
  275. package/dist/chunks/{git-yvqpxq27.js → snapshot-ywc6wpt1.js} +14 -14
  276. package/dist/chunks/{git-ryyp7ypm.js → snapshot-yz6jt1q7.js} +19 -19
  277. package/dist/chunks/{git-dh3r0p8w.js → snapshot-yztvrmjb.js} +18 -18
  278. package/dist/chunks/{git-z07pqspn.js → snapshot-z07pqspn.js} +3 -3
  279. package/dist/chunks/{git-z0bkrqjs.js → snapshot-z0bkrqjs.js} +1 -1
  280. package/dist/chunks/{git-7gf9heny.js → snapshot-z3anr71n.js} +41 -41
  281. package/dist/chunks/{git-z63w68vq.js → snapshot-z63w68vq.js} +2 -2
  282. package/dist/chunks/{git-yxwga7ay.js → snapshot-z8639w91.js} +16 -16
  283. package/dist/chunks/{git-x1geg3vn.js → snapshot-zc1716vc.js} +11 -11
  284. package/dist/chunks/{git-zeh9ct20.js → snapshot-zeh9ct20.js} +2 -2
  285. package/dist/chunks/{git-zr2ceqn5.js → snapshot-zr2ceqn5.js} +1 -1
  286. package/dist/chunks/{git-3agnzf0b.js → snapshot-zt0y4zs5.js} +1 -1
  287. package/dist/chunks/{git-6ck4d7pv.js → snapshot-zwmthm5e.js} +8 -8
  288. package/dist/chunks/{git-ey79q3y0.js → snapshot-zwy38s70.js} +22 -22
  289. package/dist/chunks/{git-zxq2ej10.js → snapshot-zxq2ej10.js} +1 -1
  290. package/dist/codemode/catalog.js +1 -1
  291. package/dist/codemode/instructions.js +7 -7
  292. package/dist/codemode/tool.js +3 -3
  293. package/dist/codemode/web.js +1 -1
  294. package/dist/command.js +81 -81
  295. package/dist/config/discovery.js +82 -82
  296. package/dist/config/markdown.js +1 -1
  297. package/dist/config/normalize.js +106 -106
  298. package/dist/config/plugin/agent.js +123 -123
  299. package/dist/config/plugin/command.js +214 -214
  300. package/dist/config/plugin/compaction.js +162 -162
  301. package/dist/config/plugin/compatibility.js +141 -141
  302. package/dist/config/plugin/entry-observer.js +1 -1
  303. package/dist/config/plugin/formatter.js +124 -124
  304. package/dist/config/plugin/image.js +123 -123
  305. package/dist/config/plugin/instruction.js +90 -90
  306. package/dist/config/plugin/location-watcher.js +125 -125
  307. package/dist/config/plugin/mcp.js +132 -132
  308. package/dist/config/plugin/policy.js +124 -124
  309. package/dist/config/plugin/provider.js +123 -123
  310. package/dist/config/plugin/reference.js +125 -125
  311. package/dist/config/plugin/shell.js +125 -125
  312. package/dist/config/plugin/skill-file.js +102 -102
  313. package/dist/config/plugin/skill.js +142 -142
  314. package/dist/config/plugin/snapshot.js +123 -123
  315. package/dist/config/plugin/source.js +126 -126
  316. package/dist/config/plugin/tool-output.js +125 -125
  317. package/dist/config/plugin/websearch.js +124 -124
  318. package/dist/config/plugin/worktree.js +125 -125
  319. package/dist/config/variable.js +3 -3
  320. package/dist/config/watch.js +1 -1
  321. package/dist/config.js +126 -126
  322. package/dist/credential/sql.js +2 -2
  323. package/dist/credential.js +85 -85
  324. package/dist/database/database.js +66 -66
  325. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  326. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  327. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  328. package/dist/database/drizzle/index.js +13 -13
  329. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  332. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  334. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  335. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  336. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  337. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  338. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  339. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  340. package/dist/database/drizzle.js +14 -14
  341. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  342. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  343. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  344. package/dist/database/migration/20260225215848_workspace.js +1 -1
  345. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  346. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  347. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  348. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  349. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  350. package/dist/database/migration/20260323234822_events.js +1 -1
  351. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  352. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  353. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  354. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  355. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  356. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  357. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  358. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  359. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  360. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  361. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  362. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  363. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  364. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  365. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  366. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  367. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  368. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  369. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  370. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  371. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  372. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  373. package/dist/database/migration/20260611035744_credential.js +1 -1
  374. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  375. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  376. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  377. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  378. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  379. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  380. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  381. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  382. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  383. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  384. package/dist/database/migration/20260812213948_worktree.js +1 -1
  385. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  386. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  387. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  388. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  389. package/dist/database/migration.gen.js +49 -49
  390. package/dist/database/migration.js +51 -51
  391. package/dist/database/path.js +2 -2
  392. package/dist/database/schema.gen.js +1 -1
  393. package/dist/database/schema.sql.js +1 -1
  394. package/dist/database/sqlite.bun.js +1 -1
  395. package/dist/database/sqlite.js +1 -1
  396. package/dist/database/sqlite.node.js +1 -1
  397. package/dist/database/sqlite.workerd.js +1 -1
  398. package/dist/database/v1-migration.bun.js +76 -76
  399. package/dist/database/v1-migration.js +1 -1
  400. package/dist/effect/app-node-builder.js +370 -370
  401. package/dist/effect/app-node-platform.js +2 -2
  402. package/dist/effect/keyed-mutex.js +1 -1
  403. package/dist/effect/websocket-constructor.js +1 -1
  404. package/dist/environment/driver.js +1 -1
  405. package/dist/environment/environment.js +93 -93
  406. package/dist/environment/exec-defaults.js +2 -2
  407. package/dist/environment/files.js +1 -1
  408. package/dist/environment/index.js +95 -95
  409. package/dist/environment/local.js +2 -2
  410. package/dist/environment/memory.js +2 -2
  411. package/dist/environment/unavailable.js +1 -1
  412. package/dist/event/sql.js +1 -1
  413. package/dist/event-logger.js +74 -74
  414. package/dist/file-access.js +104 -104
  415. package/dist/file-mutation.js +94 -94
  416. package/dist/file-retention.js +1 -1
  417. package/dist/file.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/ignore.js +1 -1
  423. package/dist/filesystem/location-watcher-policy.js +6 -6
  424. package/dist/filesystem/location-watcher.js +227 -227
  425. package/dist/filesystem/protected.js +1 -1
  426. package/dist/filesystem/search.js +97 -97
  427. package/dist/filesystem/watcher-binding.js +1 -1
  428. package/dist/filesystem/watcher.js +13 -13
  429. package/dist/filesystem.js +98 -98
  430. package/dist/form.js +84 -84
  431. package/dist/formatter/builtins.js +4 -4
  432. package/dist/formatter.js +89 -89
  433. package/dist/generate.js +105 -105
  434. package/dist/git.js +10 -10
  435. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  436. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  437. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  438. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  439. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  440. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  441. package/dist/github-copilot/copilot-provider.js +17 -17
  442. package/dist/github-copilot/models.js +91 -91
  443. package/dist/github-copilot/openai-compatible-error.js +1 -1
  444. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  445. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  446. package/dist/github-copilot/responses/openai-error.js +1 -1
  447. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  448. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  449. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  450. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  451. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  452. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  453. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  454. package/dist/id/id.js +1 -1
  455. package/dist/image/photon.js +2 -2
  456. package/dist/image.js +6 -6
  457. package/dist/instance/service.js +5 -5
  458. package/dist/instance.js +361 -361
  459. package/dist/instruction-discovery.js +81 -81
  460. package/dist/instructions/builtins.js +87 -87
  461. package/dist/instructions/index.js +3 -3
  462. package/dist/integration/connection.js +3 -3
  463. package/dist/integration.js +86 -86
  464. package/dist/job.js +79 -79
  465. package/dist/kv/sql.js +2 -2
  466. package/dist/kv.js +73 -73
  467. package/dist/location-activity.js +135 -135
  468. package/dist/location-lifecycle.js +107 -107
  469. package/dist/location-mutation.js +104 -104
  470. package/dist/location-service-map.js +86 -86
  471. package/dist/location-services.js +358 -358
  472. package/dist/location.js +81 -81
  473. package/dist/managed-policy.js +5 -5
  474. package/dist/mcp/client.js +91 -91
  475. package/dist/mcp/index.js +102 -102
  476. package/dist/mcp/instructions.js +128 -128
  477. package/dist/mcp/oauth.js +78 -78
  478. package/dist/mcp/stdio.js +90 -90
  479. package/dist/mime.js +1 -1
  480. package/dist/modal/models.js +91 -91
  481. package/dist/model-resolver.js +98 -98
  482. package/dist/model.js +96 -96
  483. package/dist/models-dev.js +99 -99
  484. package/dist/oauth/page.js +1 -1
  485. package/dist/permission/saved.js +80 -80
  486. package/dist/permission/sql.js +5 -5
  487. package/dist/permission.js +113 -113
  488. package/dist/persistent-pty/binary.bun.js +1 -1
  489. package/dist/persistent-pty/daemon.js +1 -1
  490. package/dist/persistent-pty/index.js +82 -82
  491. package/dist/persistent-pty/pty-binding.js +1 -1
  492. package/dist/persistent-pty.js +75 -75
  493. package/dist/plugin/agent.js +104 -104
  494. package/dist/plugin/command.js +101 -101
  495. package/dist/plugin/compaction.js +133 -133
  496. package/dist/plugin/hooks.js +5 -5
  497. package/dist/plugin/host.js +218 -218
  498. package/dist/plugin/identity.js +3 -3
  499. package/dist/plugin/instance.js +5 -5
  500. package/dist/plugin/internal.js +332 -332
  501. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  502. package/dist/plugin/models-dev.js +96 -96
  503. package/dist/plugin/module.js +7 -7
  504. package/dist/plugin/optimize.js +2 -2
  505. package/dist/plugin/plan.js +102 -102
  506. package/dist/plugin/promise.js +1 -1
  507. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  508. package/dist/plugin/provider/azure.js +122 -122
  509. package/dist/plugin/provider/cerebras.js +1 -1
  510. package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
  511. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  512. package/dist/plugin/provider/cohere.js +2 -2
  513. package/dist/plugin/provider/configured.js +119 -119
  514. package/dist/plugin/provider/digitalocean.js +93 -93
  515. package/dist/plugin/provider/dynamic.js +2 -2
  516. package/dist/plugin/provider/factory.js +1 -1
  517. package/dist/plugin/provider/gateway.js +2 -2
  518. package/dist/plugin/provider/github-copilot.js +93 -93
  519. package/dist/plugin/provider/gitlab.js +91 -91
  520. package/dist/plugin/provider/google-vertex.js +90 -90
  521. package/dist/plugin/provider/kilo.js +1 -1
  522. package/dist/plugin/provider/llmgateway.js +77 -77
  523. package/dist/plugin/provider/lmstudio.js +122 -122
  524. package/dist/plugin/provider/modal.js +92 -92
  525. package/dist/plugin/provider/nvidia.js +1 -1
  526. package/dist/plugin/provider/ollama.js +122 -122
  527. package/dist/plugin/provider/openai.js +92 -92
  528. package/dist/plugin/provider/opencode.js +94 -94
  529. package/dist/plugin/provider/openrouter.js +91 -91
  530. package/dist/plugin/provider/perplexity.js +2 -2
  531. package/dist/plugin/provider/poe.js +78 -78
  532. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  533. package/dist/plugin/provider/sap-ai-core.js +91 -91
  534. package/dist/plugin/provider/sdk-factory.js +1 -1
  535. package/dist/plugin/provider/snowflake-cortex.js +122 -122
  536. package/dist/plugin/provider/venice.js +2 -2
  537. package/dist/plugin/provider/vercel.js +90 -90
  538. package/dist/plugin/provider/vllm.js +122 -122
  539. package/dist/plugin/provider/xai.js +91 -91
  540. package/dist/plugin/provider/zenmux.js +1 -1
  541. package/dist/plugin/provider.js +160 -160
  542. package/dist/plugin/sdk.js +76 -76
  543. package/dist/plugin/service.js +3 -3
  544. package/dist/plugin/skill.js +141 -141
  545. package/dist/plugin/source-directory.js +1 -1
  546. package/dist/plugin/supervisor.js +351 -351
  547. package/dist/plugin/tool-input-repair.js +4 -4
  548. package/dist/plugin/update.js +6 -6
  549. package/dist/plugin/vcs/git.js +86 -86
  550. package/dist/plugin/vcs/hg.js +86 -86
  551. package/dist/plugin/warming.js +121 -121
  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 +6 -6
  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 +8 -8
  559. package/dist/plugin.js +221 -221
  560. package/dist/project/schema.js +2 -2
  561. package/dist/project/sql.js +4 -4
  562. package/dist/project.js +80 -80
  563. package/dist/provider.js +101 -101
  564. package/dist/pty/protocol.js +1 -1
  565. package/dist/pty/schema.js +1 -1
  566. package/dist/pty/ticket.js +1 -1
  567. package/dist/pty.js +86 -86
  568. package/dist/reference/instructions.js +89 -89
  569. package/dist/reference.js +89 -89
  570. package/dist/repository-cache.js +81 -81
  571. package/dist/repository.js +1 -1
  572. package/dist/ripgrep/binary.js +2 -2
  573. package/dist/ripgrep.js +95 -95
  574. package/dist/rpc.js +86 -86
  575. package/dist/schema.js +1 -1
  576. package/dist/session/command.js +74 -74
  577. package/dist/session/compaction.js +132 -132
  578. package/dist/session/context.js +152 -152
  579. package/dist/session/diff.js +88 -88
  580. package/dist/session/environment.js +3 -3
  581. package/dist/session/error.js +5 -5
  582. package/dist/session/event.js +1 -1
  583. package/dist/session/execution/restart.js +224 -224
  584. package/dist/session/execution.js +128 -128
  585. package/dist/session/generate.js +153 -153
  586. package/dist/session/history.js +13 -13
  587. package/dist/session/inbox.js +90 -90
  588. package/dist/session/info.js +3 -3
  589. package/dist/session/instruction-entry.js +77 -77
  590. package/dist/session/instruction-state.js +8 -8
  591. package/dist/session/instructions.js +97 -97
  592. package/dist/session/message-updater.js +4 -4
  593. package/dist/session/message.js +1 -1
  594. package/dist/session/model-request.js +119 -119
  595. package/dist/session/model-transport.js +9 -9
  596. package/dist/session/move.js +130 -130
  597. package/dist/session/projector.js +86 -86
  598. package/dist/session/prompt.js +105 -105
  599. package/dist/session/provider-context.js +3 -3
  600. package/dist/session/revert.js +90 -90
  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 +98 -98
  606. package/dist/session/runner/publish-llm-event.js +3 -3
  607. package/dist/session/runner/retry.js +114 -114
  608. package/dist/session/runner/step.js +126 -126
  609. package/dist/session/runner/to-llm-message.js +2 -2
  610. package/dist/session/schema.js +5 -5
  611. package/dist/session/session.js +170 -170
  612. package/dist/session/shell.js +138 -138
  613. package/dist/session/skill.js +103 -103
  614. package/dist/session/sql.js +5 -5
  615. package/dist/session/stats.js +73 -73
  616. package/dist/session/store.js +85 -85
  617. package/dist/session/subagent-completion.js +1 -1
  618. package/dist/session/subagent-job.js +210 -210
  619. package/dist/session/system-prompt.js +1 -1
  620. package/dist/session/title.js +156 -156
  621. package/dist/session/to-session-error.js +111 -111
  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 +11 -11
  629. package/dist/shell.js +136 -136
  630. package/dist/skill/discovery.js +6 -6
  631. package/dist/skill/instructions.js +107 -107
  632. package/dist/skill.js +106 -106
  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 +127 -127
  638. package/dist/tool/plugin/edit.js +120 -120
  639. package/dist/tool/plugin/file-diff.js +1 -1
  640. package/dist/tool/plugin/glob.js +124 -124
  641. package/dist/tool/plugin/grep.js +122 -122
  642. package/dist/tool/plugin/opencode.js +3 -3
  643. package/dist/tool/plugin/patch.js +120 -120
  644. package/dist/tool/plugin/question.js +103 -103
  645. package/dist/tool/plugin/read.js +125 -125
  646. package/dist/tool/plugin/shell.js +217 -217
  647. package/dist/tool/plugin/skill.js +111 -111
  648. package/dist/tool/plugin/subagent.js +217 -217
  649. package/dist/tool/plugin/webfetch.js +110 -110
  650. package/dist/tool/plugin/websearch.js +112 -112
  651. package/dist/tool/plugin/write.js +122 -122
  652. package/dist/tool/read-filesystem.js +100 -100
  653. package/dist/tool/runtime.js +1 -1
  654. package/dist/tool-output.js +8 -8
  655. package/dist/tool.js +12 -12
  656. package/dist/util/error-summary.js +1 -1
  657. package/dist/util/error.js +1 -1
  658. package/dist/util/git-executable.js +2 -2
  659. package/dist/util/iife.js +1 -1
  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 +5 -5
  666. package/dist/v1/config/attachment.js +4 -4
  667. package/dist/v1/config/command.js +1 -1
  668. package/dist/v1/config/config.js +16 -16
  669. package/dist/v1/config/error.js +2 -2
  670. package/dist/v1/config/formatter.js +7 -7
  671. package/dist/v1/config/layout.js +1 -1
  672. package/dist/v1/config/lsp.js +5 -5
  673. package/dist/v1/config/mcp.js +4 -4
  674. package/dist/v1/config/migrate.js +92 -92
  675. package/dist/v1/config/permission.js +3 -3
  676. package/dist/v1/config/plugin.js +3 -3
  677. package/dist/v1/config/provider-options.js +1 -1
  678. package/dist/v1/config/provider.js +4 -4
  679. package/dist/v1/config/server.js +2 -2
  680. package/dist/v1/config/skills.js +3 -3
  681. package/dist/v1/permission.js +1 -1
  682. package/dist/variant.js +91 -91
  683. package/dist/vcs/patch.js +1 -1
  684. package/dist/vcs.js +89 -89
  685. package/dist/websearch.js +78 -78
  686. package/dist/wellknown/plugin.js +76 -76
  687. package/dist/wellknown.js +79 -79
  688. package/dist/workspace/driver.js +5 -5
  689. package/dist/workspace/sql.js +1 -1
  690. package/dist/workspace.js +78 -78
  691. package/dist/worktree/directory.js +2 -2
  692. package/dist/worktree/git.js +8 -8
  693. package/dist/worktree/sql.js +5 -5
  694. package/dist/worktree/strategies.js +89 -89
  695. package/dist/worktree.js +94 -94
  696. package/package.json +9 -9
  697. package/dist/chunks/git-9mknr04w.js +0 -252
  698. package/dist/chunks/git-dzk9rjvc.js +0 -26
  699. package/dist/chunks/git-jqh9b0xq.js +0 -18
  700. /package/dist/chunks/{git-0mesazry.js → snapshot-0mesazry.js} +0 -0
  701. /package/dist/chunks/{git-0qkdqm5v.js → snapshot-0qkdqm5v.js} +0 -0
  702. /package/dist/chunks/{git-0zkw76rk.js → snapshot-0zkw76rk.js} +0 -0
  703. /package/dist/chunks/{git-17cy0kzp.js → snapshot-17cy0kzp.js} +0 -0
  704. /package/dist/chunks/{git-1cnp2v09.js → snapshot-1cnp2v09.js} +0 -0
  705. /package/dist/chunks/{git-1kg9ymc8.js → snapshot-1kg9ymc8.js} +0 -0
  706. /package/dist/chunks/{git-24dcb14g.js → snapshot-24dcb14g.js} +0 -0
  707. /package/dist/chunks/{git-2710q6r3.js → snapshot-2710q6r3.js} +0 -0
  708. /package/dist/chunks/{git-2axfhc9x.js → snapshot-2axfhc9x.js} +0 -0
  709. /package/dist/chunks/{git-2c3vjs8z.js → snapshot-2c3vjs8z.js} +0 -0
  710. /package/dist/chunks/{git-34c7v6d4.js → snapshot-34c7v6d4.js} +0 -0
  711. /package/dist/chunks/{git-359p4xyc.js → snapshot-359p4xyc.js} +0 -0
  712. /package/dist/chunks/{git-3asan66x.js → snapshot-3asan66x.js} +0 -0
  713. /package/dist/chunks/{git-3v8g72cx.js → snapshot-3v8g72cx.js} +0 -0
  714. /package/dist/chunks/{git-3w5fmr99.js → snapshot-3w5fmr99.js} +0 -0
  715. /package/dist/chunks/{git-3wcehsnq.js → snapshot-3wcehsnq.js} +0 -0
  716. /package/dist/chunks/{git-43n2bw4t.js → snapshot-43n2bw4t.js} +0 -0
  717. /package/dist/chunks/{git-4knz6hnm.js → snapshot-4knz6hnm.js} +0 -0
  718. /package/dist/chunks/{git-4vcrnpx2.js → snapshot-4vcrnpx2.js} +0 -0
  719. /package/dist/chunks/{git-4y7fprxs.js → snapshot-4y7fprxs.js} +0 -0
  720. /package/dist/chunks/{git-53557ph1.js → snapshot-53557ph1.js} +0 -0
  721. /package/dist/chunks/{git-550bvhaj.js → snapshot-550bvhaj.js} +0 -0
  722. /package/dist/chunks/{git-5qd3pb7m.js → snapshot-5qd3pb7m.js} +0 -0
  723. /package/dist/chunks/{git-6prwharc.js → snapshot-6prwharc.js} +0 -0
  724. /package/dist/chunks/{git-7akdwqpd.js → snapshot-7akdwqpd.js} +0 -0
  725. /package/dist/chunks/{git-7m9af43g.js → snapshot-7m9af43g.js} +0 -0
  726. /package/dist/chunks/{git-822emrt2.js → snapshot-822emrt2.js} +0 -0
  727. /package/dist/chunks/{git-88xbtdfr.js → snapshot-88xbtdfr.js} +0 -0
  728. /package/dist/chunks/{git-8n3pysct.js → snapshot-8n3pysct.js} +0 -0
  729. /package/dist/chunks/{git-8wj87zfr.js → snapshot-8wj87zfr.js} +0 -0
  730. /package/dist/chunks/{git-922hggd3.js → snapshot-922hggd3.js} +0 -0
  731. /package/dist/chunks/{git-9a4afbnw.js → snapshot-9a4afbnw.js} +0 -0
  732. /package/dist/chunks/{git-9rqn6x4v.js → snapshot-9rqn6x4v.js} +0 -0
  733. /package/dist/chunks/{git-a6k6eb26.js → snapshot-a6k6eb26.js} +0 -0
  734. /package/dist/chunks/{git-af5trqkr.js → snapshot-af5trqkr.js} +0 -0
  735. /package/dist/chunks/{git-afrmfg78.js → snapshot-afrmfg78.js} +0 -0
  736. /package/dist/chunks/{git-aqzs7mqg.js → snapshot-aqzs7mqg.js} +0 -0
  737. /package/dist/chunks/{git-atq7p7m5.js → snapshot-atq7p7m5.js} +0 -0
  738. /package/dist/chunks/{git-bkyjaxrp.js → snapshot-bkyjaxrp.js} +0 -0
  739. /package/dist/chunks/{git-bmr6ed5q.js → snapshot-bmr6ed5q.js} +0 -0
  740. /package/dist/chunks/{git-cf4snx6d.js → snapshot-cf4snx6d.js} +0 -0
  741. /package/dist/chunks/{git-cvy3z8tj.js → snapshot-cvy3z8tj.js} +0 -0
  742. /package/dist/chunks/{git-d9fn303g.js → snapshot-d9fn303g.js} +0 -0
  743. /package/dist/chunks/{git-d9jj8t3e.js → snapshot-d9jj8t3e.js} +0 -0
  744. /package/dist/chunks/{git-dajrwvna.js → snapshot-dajrwvna.js} +0 -0
  745. /package/dist/chunks/{git-dap0rakb.js → snapshot-dap0rakb.js} +0 -0
  746. /package/dist/chunks/{git-df08tz66.js → snapshot-df08tz66.js} +0 -0
  747. /package/dist/chunks/{git-dy18nga0.js → snapshot-dy18nga0.js} +0 -0
  748. /package/dist/chunks/{git-e5kj55wp.js → snapshot-e5kj55wp.js} +0 -0
  749. /package/dist/chunks/{git-e73j6tqm.js → snapshot-e73j6tqm.js} +0 -0
  750. /package/dist/chunks/{git-ec1grn59.js → snapshot-ec1grn59.js} +0 -0
  751. /package/dist/chunks/{git-eh3zwz77.js → snapshot-eh3zwz77.js} +0 -0
  752. /package/dist/chunks/{git-emrn6kk6.js → snapshot-emrn6kk6.js} +0 -0
  753. /package/dist/chunks/{git-f0mxakyp.js → snapshot-f0mxakyp.js} +0 -0
  754. /package/dist/chunks/{git-f6n9ztr4.js → snapshot-f6n9ztr4.js} +0 -0
  755. /package/dist/chunks/{git-faypxj3z.js → snapshot-faypxj3z.js} +0 -0
  756. /package/dist/chunks/{git-fd410y7t.js → snapshot-fd410y7t.js} +0 -0
  757. /package/dist/chunks/{git-fxgpk5d8.js → snapshot-fxgpk5d8.js} +0 -0
  758. /package/dist/chunks/{git-g4wezp1m.js → snapshot-g4wezp1m.js} +0 -0
  759. /package/dist/chunks/{git-g86h250q.js → snapshot-g86h250q.js} +0 -0
  760. /package/dist/chunks/{git-gebd4c9n.js → snapshot-gebd4c9n.js} +0 -0
  761. /package/dist/chunks/{git-gftt206x.js → snapshot-gftt206x.js} +0 -0
  762. /package/dist/chunks/{git-hjbc5kem.js → snapshot-hjbc5kem.js} +0 -0
  763. /package/dist/chunks/{git-hk9envan.js → snapshot-hk9envan.js} +0 -0
  764. /package/dist/chunks/{git-j2ntwpah.js → snapshot-j2ntwpah.js} +0 -0
  765. /package/dist/chunks/{git-j5zkgpj8.js → snapshot-j5zkgpj8.js} +0 -0
  766. /package/dist/chunks/{git-jjkms2e6.js → snapshot-jjkms2e6.js} +0 -0
  767. /package/dist/chunks/{git-jr7sbwjy.js → snapshot-jr7sbwjy.js} +0 -0
  768. /package/dist/chunks/{git-jwfs4k6c.js → snapshot-jwfs4k6c.js} +0 -0
  769. /package/dist/chunks/{git-jzg6c2d5.js → snapshot-jzg6c2d5.js} +0 -0
  770. /package/dist/chunks/{git-mp448xyj.js → snapshot-mp448xyj.js} +0 -0
  771. /package/dist/chunks/{git-msx8hqn2.js → snapshot-msx8hqn2.js} +0 -0
  772. /package/dist/chunks/{git-n05xt0ee.js → snapshot-n05xt0ee.js} +0 -0
  773. /package/dist/chunks/{git-n3j8tn72.js → snapshot-n3j8tn72.js} +0 -0
  774. /package/dist/chunks/{git-njntx4h6.js → snapshot-njntx4h6.js} +0 -0
  775. /package/dist/chunks/{git-q3sfg36h.js → snapshot-q3sfg36h.js} +0 -0
  776. /package/dist/chunks/{git-q74kybfr.js → snapshot-q74kybfr.js} +0 -0
  777. /package/dist/chunks/{git-qaymkmh1.js → snapshot-qaymkmh1.js} +0 -0
  778. /package/dist/chunks/{git-qb87gjwd.js → snapshot-qb87gjwd.js} +0 -0
  779. /package/dist/chunks/{git-qfa1cgps.js → snapshot-qfa1cgps.js} +0 -0
  780. /package/dist/chunks/{git-qg3g05ea.js → snapshot-qg3g05ea.js} +0 -0
  781. /package/dist/chunks/{git-qrg20bc0.js → snapshot-qrg20bc0.js} +0 -0
  782. /package/dist/chunks/{git-rcb2kzg1.js → snapshot-rcb2kzg1.js} +0 -0
  783. /package/dist/chunks/{git-sdp7kfr6.js → snapshot-sdp7kfr6.js} +0 -0
  784. /package/dist/chunks/{git-sk3qaz4a.js → snapshot-sk3qaz4a.js} +0 -0
  785. /package/dist/chunks/{git-ssg3fenm.js → snapshot-ssg3fenm.js} +0 -0
  786. /package/dist/chunks/{git-w803qqfp.js → snapshot-w803qqfp.js} +0 -0
  787. /package/dist/chunks/{git-wc3fc9cn.js → snapshot-wc3fc9cn.js} +0 -0
  788. /package/dist/chunks/{git-wer8tq1h.js → snapshot-wer8tq1h.js} +0 -0
  789. /package/dist/chunks/{git-wtztk69x.js → snapshot-wtztk69x.js} +0 -0
  790. /package/dist/chunks/{git-x0ckcb58.js → snapshot-x0ckcb58.js} +0 -0
  791. /package/dist/chunks/{git-x61499pn.js → snapshot-x61499pn.js} +0 -0
  792. /package/dist/chunks/{git-y44na4kk.js → snapshot-y44na4kk.js} +0 -0
  793. /package/dist/chunks/{git-y8cydn3q.js → snapshot-y8cydn3q.js} +0 -0
  794. /package/dist/chunks/{git-y8f7s663.js → snapshot-y8f7s663.js} +0 -0
  795. /package/dist/chunks/{git-ygaqb7jw.js → snapshot-ygaqb7jw.js} +0 -0
  796. /package/dist/chunks/{git-ym463w8f.js → snapshot-ym463w8f.js} +0 -0
  797. /package/dist/chunks/{git-z9919s4g.js → snapshot-z9919s4g.js} +0 -0
@@ -1,72 +1,72 @@
1
1
  import {
2
- Service63
3
- } from "./git-tbybbeq2.js";
2
+ Service56
3
+ } from "./snapshot-dxpm2mzg.js";
4
4
  import {
5
- Service62,
5
+ Service28,
6
6
  readText2,
7
7
  syncTextBom2
8
- } from "./git-rndw9g15.js";
8
+ } from "./snapshot-nbpg3hpq.js";
9
9
  import {
10
- Service11
11
- } from "./git-5yspkx8c.js";
10
+ Service59
11
+ } from "./snapshot-2tsw83gj.js";
12
12
  import {
13
- Service75
14
- } from "./git-c0zrtztw.js";
13
+ Service70
14
+ } from "./snapshot-hrgzvhqa.js";
15
15
  import {
16
- Service74
17
- } from "./git-fp9k3yne.js";
16
+ Service19
17
+ } from "./snapshot-hfbmyrxh.js";
18
18
  import {
19
19
  fileDiff2
20
- } from "./git-6prwharc.js";
20
+ } from "./snapshot-6prwharc.js";
21
21
  import {
22
22
  __export
23
- } from "./git-9rqn6x4v.js";
23
+ } from "./snapshot-9rqn6x4v.js";
24
24
 
25
25
  // src/tool/plugin/write.ts
26
26
  var exports_write = {};
27
27
  __export(exports_write, {
28
- Input: () => Input11,
29
- Output: () => Output8,
30
- Plugin: () => Plugin12,
28
+ Input: () => Input7,
29
+ Output: () => Output6,
30
+ Plugin: () => Plugin41,
31
31
  WriteTool: () => exports_write,
32
- name: () => name11,
33
- toModelContent: () => toModelContent6
32
+ name: () => name7,
33
+ toModelContent: () => toModelContent3
34
34
  });
35
35
  import { ToolFailure } from "@opencode/ai";
36
36
  import { Effect, Schema } from "effect";
37
37
  import { Bom } from "@opencode/util/bom";
38
- var name11 = "write";
39
- var Input11 = Schema.Struct({
38
+ var name7 = "write";
39
+ var Input7 = Schema.Struct({
40
40
  path: Schema.String.annotate({
41
41
  description: "Path to the file to write to"
42
42
  }),
43
43
  content: Schema.String.annotate({ description: "Content to write to the file" })
44
44
  });
45
- var Output8 = Schema.Struct({
45
+ var Output6 = Schema.Struct({
46
46
  operation: Schema.Literal("write"),
47
47
  target: Schema.String,
48
48
  resource: Schema.String,
49
49
  existed: Schema.Boolean
50
50
  });
51
- var toModelContent6 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
52
- var Plugin12 = {
51
+ var toModelContent3 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
52
+ var Plugin41 = {
53
53
  id: "opencode.tool.write",
54
54
  effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
55
- const access = yield* Service74;
56
- const fileMutation = yield* Service62;
57
- const environment = yield* Service63;
58
- const formatter = yield* Service11;
59
- const permission = yield* Service75;
55
+ const access = yield* Service19;
56
+ const fileMutation = yield* Service28;
57
+ const environment = yield* Service56;
58
+ const formatter = yield* Service59;
59
+ const permission = yield* Service70;
60
60
  yield* ctx.tool.transform((editor) => editor.add({
61
- name: name11,
61
+ name: name7,
62
62
  options: { codemode: false, permission: "edit" },
63
63
  description: `Writes a file to the local filesystem, overwriting if one exists.
64
64
 
65
65
  Missing parent directories are created automatically.
66
66
 
67
67
  Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
68
- input: Input11,
69
- output: Output8,
68
+ input: Input7,
69
+ output: Output6,
70
70
  execute: (input, context) => Effect.gen(function* () {
71
71
  const source = {
72
72
  type: "tool",
@@ -93,9 +93,9 @@ Use this tool to create new files or overwrite existing files. For partial chang
93
93
  yield* syncTextBom2(environment.files, target.absolute, bom);
94
94
  }
95
95
  return result;
96
- }).pipe(Effect.map((output) => ({ output, content: toModelContent6(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
96
+ }).pipe(Effect.map((output) => ({ output, content: toModelContent3(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
97
97
  })).pipe(Effect.orDie);
98
98
  })
99
99
  };
100
100
 
101
- export { name11, Input11, Output8, toModelContent6, Plugin12, exports_write };
101
+ export { name7, Input7, Output6, toModelContent3, Plugin41, exports_write };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./git-9rqn6x4v.js";
3
+ } from "./snapshot-9rqn6x4v.js";
4
4
 
5
5
  // src/file-retention.ts
6
6
  var exports_file_retention = {};
@@ -1,27 +1,27 @@
1
1
  import {
2
- Service83
3
- } from "./git-3en9cd2f.js";
2
+ Service82
3
+ } from "./snapshot-bt2ndnm6.js";
4
4
  import {
5
- Service73
6
- } from "./git-c5tk59cy.js";
5
+ Service75
6
+ } from "./snapshot-mcehqfzm.js";
7
7
  import {
8
8
  group2,
9
9
  batch2,
10
10
  shutdown2,
11
11
  inherit2
12
- } from "./git-rdw6cm16.js";
12
+ } from "./snapshot-rdw6cm16.js";
13
13
  import {
14
- Service36,
14
+ Service34,
15
15
  awaitActivation2
16
- } from "./git-jqh9b0xq.js";
16
+ } from "./snapshot-by5v678g.js";
17
17
  import {
18
18
  make11,
19
19
  requirements3,
20
20
  storage2
21
- } from "./git-6x0xdmp7.js";
21
+ } from "./snapshot-1svmzqef.js";
22
22
  import {
23
23
  __export
24
- } from "./git-9rqn6x4v.js";
24
+ } from "./snapshot-9rqn6x4v.js";
25
25
 
26
26
  // src/plugin.ts
27
27
  var exports_plugin2 = {};
@@ -30,7 +30,7 @@ __export(exports_plugin2, {
30
30
  ID: () => ID3,
31
31
  Info: () => Info3,
32
32
  Plugin: () => exports_plugin2,
33
- Service: () => Service36,
33
+ Service: () => Service34,
34
34
  Source: () => Source2,
35
35
  State: () => State2,
36
36
  awaitActivation: () => awaitActivation2,
@@ -40,9 +40,9 @@ import { Event as Event5, ID as ID3, Info as Info3, Source as Source2, State as
40
40
  import { Plugin } from "@opencode/schema/plugin";
41
41
  import { Node } from "@opencode/util/effect/app-node";
42
42
  import { Cause, Context, Effect, Exit, Latch, Layer, Logger, Queue, References, Scope, Semaphore } from "effect";
43
- var layer = Layer.effect(Service36, Effect.gen(function* () {
44
- const bus = yield* Service83;
45
- const kv = yield* Service73;
43
+ var layer = Layer.effect(Service34, Effect.gen(function* () {
44
+ const bus = yield* Service82;
45
+ const kv = yield* Service75;
46
46
  const scope = yield* Scope.make();
47
47
  const active = new Map;
48
48
  const lock = Semaphore.makeUnsafe(1);
@@ -205,7 +205,7 @@ var layer = Layer.effect(Service36, Effect.gen(function* () {
205
205
  yield* shutdown2(Scope.close(scope, exit));
206
206
  }));
207
207
  yield* Effect.addFinalizer(close);
208
- return Service36.of({
208
+ return Service34.of({
209
209
  activate,
210
210
  close,
211
211
  awaitActivation: ready.await,
@@ -223,7 +223,7 @@ function slotInfo(slot) {
223
223
  };
224
224
  }
225
225
  var node23 = Node.makeLocationNode({
226
- service: Service36,
226
+ service: Service34,
227
227
  layer,
228
228
  deps: [requirements3]
229
229
  });
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  __export
3
- } from "./git-9rqn6x4v.js";
3
+ } from "./snapshot-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/identity.ts
6
6
  var exports_identity = {};
7
7
  __export(exports_identity, {
8
8
  IdentityPlugin: () => exports_identity,
9
- Plugin: () => Plugin44,
9
+ Plugin: () => Plugin8,
10
10
  identity: () => identity2
11
11
  });
12
12
  import { SystemPart } from "@opencode/ai";
@@ -22,7 +22,7 @@ function identity2(model) {
22
22
  ].join(`
23
23
  `);
24
24
  }
25
- var Plugin44 = define({
25
+ var Plugin8 = define({
26
26
  id: "opencode.prompt.identity",
27
27
  effect: Effect.fn("IdentityPlugin")(function* (ctx) {
28
28
  const hook = (event) => Effect.gen(function* () {
@@ -35,4 +35,4 @@ var Plugin44 = define({
35
35
  })
36
36
  });
37
37
 
38
- export { identity2, Plugin44, exports_identity };
38
+ export { identity2, Plugin8, exports_identity };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./git-922hggd3.js";
3
+ } from "./snapshot-922hggd3.js";
4
4
  import {
5
5
  __export
6
- } from "./git-9rqn6x4v.js";
6
+ } from "./snapshot-9rqn6x4v.js";
7
7
 
8
8
  // src/worktree/directory.ts
9
9
  var exports_directory = {};
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  PATCH_CONTEXT_LINES2
3
- } from "./git-tazgh4e4.js";
3
+ } from "./snapshot-tazgh4e4.js";
4
4
  import {
5
5
  ID6,
6
- Service47
7
- } from "./git-c31h68nj.js";
6
+ Service55
7
+ } from "./snapshot-7p9t6n5c.js";
8
8
  import {
9
9
  SessionSchema2
10
- } from "./git-5cmxdwv8.js";
10
+ } from "./snapshot-6bsje7ws.js";
11
11
  import {
12
12
  MessageNotFoundError2
13
- } from "./git-vmwh049b.js";
13
+ } from "./snapshot-phc8pspp.js";
14
14
  import {
15
15
  SessionMessageTable2
16
- } from "./git-z07pqspn.js";
16
+ } from "./snapshot-z07pqspn.js";
17
17
  import {
18
18
  __export
19
- } from "./git-9rqn6x4v.js";
19
+ } from "./snapshot-9rqn6x4v.js";
20
20
 
21
21
  // src/session/diff.ts
22
22
  var exports_diff = {};
@@ -81,7 +81,7 @@ var turn2 = Effect.fn("SessionDiff.turn")(function* (db, locations, input) {
81
81
  const location = before ? decodeLocation(before) : after ? decodeLocation(after) : input.session.location;
82
82
  const recorded = steps.findLast((step) => step.end)?.end;
83
83
  return yield* Effect.gen(function* () {
84
- const snapshot = yield* Service47;
84
+ const snapshot = yield* Service55;
85
85
  const running = input.active && final.completed === null;
86
86
  const to = running ? (yield* snapshot.capture()) ?? recorded : recorded;
87
87
  if (!to)
@@ -2,20 +2,20 @@ import {
2
2
  NonNegativeInt2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./git-922hggd3.js";
5
+ } from "./snapshot-922hggd3.js";
6
6
  import {
7
- Service63,
8
- node66
9
- } from "./git-tbybbeq2.js";
7
+ Service56,
8
+ node60
9
+ } from "./snapshot-dxpm2mzg.js";
10
10
  import {
11
11
  Content2
12
- } from "./git-vqemcat0.js";
12
+ } from "./snapshot-qr4n1n51.js";
13
13
  import {
14
14
  detect2
15
- } from "./git-3smtnn6g.js";
15
+ } from "./snapshot-3smtnn6g.js";
16
16
  import {
17
17
  __export
18
- } from "./git-9rqn6x4v.js";
18
+ } from "./snapshot-9rqn6x4v.js";
19
19
 
20
20
  // src/tool/read-filesystem.ts
21
21
  var exports_read_filesystem = {};
@@ -33,9 +33,9 @@ __export(exports_read_filesystem, {
33
33
  PageInput: () => PageInput2,
34
34
  PathKindError: () => PathKindError2,
35
35
  ReadToolFileSystem: () => exports_read_filesystem,
36
- Service: () => Service5,
36
+ Service: () => Service10,
37
37
  TextPage: () => TextPage2,
38
- node: () => node7,
38
+ node: () => node12,
39
39
  read: () => read2
40
40
  });
41
41
  import path from "path";
@@ -114,7 +114,7 @@ class ListPage2 extends Schema.Class("ReadTool.ListPage")({
114
114
  }) {
115
115
  }
116
116
 
117
- class Service5 extends Context.Service()("@opencode/ReadToolFileSystem") {
117
+ class Service10 extends Context.Service()("@opencode/ReadToolFileSystem") {
118
118
  }
119
119
  var mimeType = (value) => lookup(value) || "application/octet-stream";
120
120
  var read2 = Effect.fn("ReadTool.read")(function* (files, input, resource, page = {}) {
@@ -326,13 +326,13 @@ var nthNewline = (bytes, count) => {
326
326
  return index + 1;
327
327
  }
328
328
  };
329
- var layer = Layer.effect(Service5, Effect.gen(function* () {
330
- const environment = yield* Service63;
331
- return Service5.of({
329
+ var layer = Layer.effect(Service10, Effect.gen(function* () {
330
+ const environment = yield* Service56;
331
+ return Service10.of({
332
332
  list: environment.files.list,
333
333
  read: (path2, resource, page) => read2(environment.files, path2, resource, page)
334
334
  });
335
335
  }));
336
- var node7 = makeLocationNode({ service: Service5, layer, deps: [node66] });
336
+ var node12 = makeLocationNode({ service: Service10, layer, deps: [node60] });
337
337
 
338
- export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service5, read2, node7, exports_read_filesystem };
338
+ export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service10, read2, node12, exports_read_filesystem };
@@ -1,23 +1,23 @@
1
1
  import {
2
- Service83,
3
- node87
4
- } from "./git-3en9cd2f.js";
2
+ Service82,
3
+ node86
4
+ } from "./snapshot-bt2ndnm6.js";
5
5
  import {
6
6
  PATCH_CONTEXT_LINES2,
7
7
  MAX_TOTAL_PATCH_BYTES2,
8
8
  emptyPatch2
9
- } from "./git-tazgh4e4.js";
9
+ } from "./snapshot-tazgh4e4.js";
10
10
  import {
11
11
  Service80,
12
12
  node84
13
- } from "./git-v5bht574.js";
13
+ } from "./snapshot-0k8xz9m1.js";
14
14
  import {
15
15
  reconcile2,
16
16
  create3
17
- } from "./git-rdw6cm16.js";
17
+ } from "./snapshot-rdw6cm16.js";
18
18
  import {
19
19
  __export
20
- } from "./git-9rqn6x4v.js";
20
+ } from "./snapshot-9rqn6x4v.js";
21
21
 
22
22
  // src/vcs.ts
23
23
  var exports_vcs = {};
@@ -26,17 +26,17 @@ __export(exports_vcs, {
26
26
  BranchList: () => BranchList2,
27
27
  DiffError: () => DiffError2,
28
28
  FileStatus: () => FileStatus2,
29
- Info: () => Info5,
29
+ Info: () => Info4,
30
30
  Mode: () => Mode2,
31
- Service: () => Service25,
31
+ Service: () => Service23,
32
32
  Vcs: () => exports_vcs,
33
- node: () => node28
33
+ node: () => node26
34
34
  });
35
35
  import path from "path";
36
36
  import { Cause, Context, Effect, FiberSet, Layer, Schema, Semaphore, Stream } from "effect";
37
37
  import { FileDiff } from "@opencode/schema/file-diff";
38
38
  import { FileSystem } from "@opencode/schema/filesystem";
39
- import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info5, Mode as Mode2 } from "@opencode/schema/vcs";
39
+ import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info4, Mode as Mode2 } from "@opencode/schema/vcs";
40
40
  import { VcsEvent } from "@opencode/schema/vcs-event";
41
41
  import { makeLocationNode } from "@opencode/util/effect/app-node";
42
42
  import { FSUtil } from "@opencode/util/fs-util";
@@ -45,12 +45,12 @@ class DiffError2 extends Schema.TaggedError()("Vcs.DiffError", {
45
45
  }) {
46
46
  }
47
47
 
48
- class Service25 extends Context.Service()("@opencode/Vcs") {
48
+ class Service23 extends Context.Service()("@opencode/Vcs") {
49
49
  }
50
- var layer = Layer.effect(Service25, Effect.gen(function* () {
50
+ var layer = Layer.effect(Service23, Effect.gen(function* () {
51
51
  const fs = yield* FSUtil.Service;
52
52
  const location = yield* Service80;
53
- const bus = yield* Service83;
53
+ const bus = yield* Service82;
54
54
  const root = yield* Effect.scope;
55
55
  const fork = yield* FiberSet.makeRuntime();
56
56
  const vcs = location.vcs;
@@ -62,7 +62,7 @@ var layer = Layer.effect(Service25, Effect.gen(function* () {
62
62
  canonical: location.project.canonical,
63
63
  ...vcs ? { store: vcs.store } : {}
64
64
  };
65
- const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info5));
65
+ const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info4));
66
66
  const decodeBase = Schema.decodeUnknownEffect(Schema.NullOr(Base2));
67
67
  const decodeBranches = Schema.decodeUnknownEffect(BranchList2);
68
68
  const decodeStatus = Schema.decodeUnknownEffect(Schema.Array(FileStatus2));
@@ -118,7 +118,7 @@ var layer = Layer.effect(Service25, Effect.gen(function* () {
118
118
  const isBranchMetadata = vcs.type === "git" ? (file) => path.basename(file) === "HEAD" && FSUtil.contains(store, file) : (file) => path.resolve(file) === path.join(store, "branch");
119
119
  yield* bus.subscribe(FileSystem.Event.Changed).pipe(Stream.filter((event) => isBranchMetadata(event.data.file)), Stream.runForEach((event) => refresh().pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logWarning("vcs refresh failed", { file: event.data.file, cause })), Effect.withSpan("Vcs.refreshBranch", { attributes: { file: event.data.file } }))), Effect.forkScoped({ startImmediately: true }));
120
120
  }
121
- return Service25.of({
121
+ return Service23.of({
122
122
  transform: state.transform,
123
123
  reload: state.reload,
124
124
  info: Effect.fn("Vcs.info")(function* () {
@@ -164,10 +164,10 @@ var layer = Layer.effect(Service25, Effect.gen(function* () {
164
164
  })
165
165
  });
166
166
  }));
167
- var node28 = makeLocationNode({
168
- service: Service25,
167
+ var node26 = makeLocationNode({
168
+ service: Service23,
169
169
  layer,
170
- deps: [FSUtil.node, node84, node87]
170
+ deps: [FSUtil.node, node84, node86]
171
171
  });
172
172
 
173
- export { Base2, BranchList2, FileStatus2, Info5, Mode2, DiffError2, Service25, node28, exports_vcs };
173
+ export { Base2, BranchList2, FileStatus2, Info4, Mode2, DiffError2, Service23, node26, exports_vcs };
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  __export
3
- } from "./git-9rqn6x4v.js";
3
+ } from "./snapshot-9rqn6x4v.js";
4
4
 
5
5
  // src/integration/connection.ts
6
6
  var exports_connection = {};
7
7
  __export(exports_connection, {
8
8
  CredentialInfo: () => CredentialInfo2,
9
9
  EnvInfo: () => EnvInfo2,
10
- Info: () => Info24,
10
+ Info: () => Info28,
11
11
  IntegrationConnection: () => exports_connection,
12
12
  key: () => key2
13
13
  });
14
14
  import { Connection } from "@opencode/schema/connection";
15
15
  var CredentialInfo2 = Connection.CredentialInfo;
16
16
  var EnvInfo2 = Connection.EnvInfo;
17
- var Info24 = Connection.Info;
17
+ var Info28 = Connection.Info;
18
18
  function key2(connection) {
19
19
  if (!connection)
20
20
  return;
21
21
  return connection.type === "credential" ? `credential:${connection.id}` : `env:${connection.name}`;
22
22
  }
23
23
 
24
- export { CredentialInfo2, EnvInfo2, Info24, key2, exports_connection };
24
+ export { CredentialInfo2, EnvInfo2, Info28, key2, exports_connection };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./git-9rqn6x4v.js";
3
+ } from "./snapshot-9rqn6x4v.js";
4
4
 
5
5
  // src/util/token.ts
6
6
  var exports_token = {};
@@ -1,57 +1,57 @@
1
1
  import {
2
2
  Service84
3
- } from "./git-2b9m4c98.js";
3
+ } from "./snapshot-5c299m0q.js";
4
4
  import {
5
- Service83
6
- } from "./git-3en9cd2f.js";
5
+ Service82
6
+ } from "./snapshot-bt2ndnm6.js";
7
7
  import {
8
- Service43
9
- } from "./git-4mwpykj0.js";
8
+ Service64
9
+ } from "./snapshot-prmgem5b.js";
10
10
  import {
11
11
  userNotification2
12
- } from "./git-5ekn9679.js";
12
+ } from "./snapshot-5ekn9679.js";
13
13
  import {
14
14
  SessionMessage2
15
- } from "./git-gftt206x.js";
15
+ } from "./snapshot-gftt206x.js";
16
16
  import {
17
- NotFoundError10,
17
+ NotFoundError9,
18
18
  PromptConflictError2,
19
19
  SyntheticConflictError2,
20
20
  CompactionConflictError2,
21
21
  BusyError2,
22
22
  InboxConflictError2
23
- } from "./git-vmwh049b.js";
23
+ } from "./snapshot-phc8pspp.js";
24
24
  import {
25
25
  SessionEvent2
26
- } from "./git-ec1grn59.js";
26
+ } from "./snapshot-ec1grn59.js";
27
27
  import {
28
- Service77
29
- } from "./git-c55fm4pv.js";
28
+ Service72
29
+ } from "./snapshot-51fa1qxd.js";
30
30
  import {
31
31
  Delivery2,
32
32
  SyntheticPayload2,
33
- Service42
34
- } from "./git-48nzf0bm.js";
33
+ Service62
34
+ } from "./snapshot-82ecpvtr.js";
35
35
  import {
36
- Service40
37
- } from "./git-hxr8hfhn.js";
36
+ Service60
37
+ } from "./snapshot-hzvqxvwc.js";
38
38
  import {
39
39
  prepare2
40
- } from "./git-4jh9036t.js";
40
+ } from "./snapshot-cwh1ykm4.js";
41
41
  import {
42
42
  stage2,
43
43
  clear2,
44
44
  commit2
45
- } from "./git-5a5ae82c.js";
45
+ } from "./snapshot-p48nv60c.js";
46
46
  import {
47
47
  start2
48
- } from "./git-khv50f9b.js";
48
+ } from "./snapshot-y7z8z9pe.js";
49
49
  import {
50
50
  get4
51
- } from "./git-x0w9b04z.js";
51
+ } from "./snapshot-722bm5k1.js";
52
52
  import {
53
53
  __export
54
- } from "./git-9rqn6x4v.js";
54
+ } from "./snapshot-9rqn6x4v.js";
55
55
 
56
56
  // src/session/session.ts
57
57
  var exports_session2 = {};
@@ -63,18 +63,18 @@ import { DateTime, Effect, Fiber, Scope } from "effect";
63
63
  import { Event } from "@opencode/schema/event";
64
64
  import { FSUtil } from "@opencode/util/fs-util";
65
65
  var make13 = Effect.fn("Session.make")(function* () {
66
- const bus = yield* Service83;
66
+ const bus = yield* Service82;
67
67
  const database = yield* Service84;
68
- const store = yield* Service77;
69
- const instances = yield* Service43;
70
- const execution = yield* Service40;
71
- const admission = yield* Service42;
68
+ const store = yield* Service72;
69
+ const instances = yield* Service64;
70
+ const execution = yield* Service60;
71
+ const admission = yield* Service62;
72
72
  const fs = yield* FSUtil.Service;
73
73
  const scope = yield* Scope.Scope;
74
74
  const get = Effect.fn("Session.get")(function* (sessionID) {
75
75
  const session = yield* store.get(sessionID);
76
76
  if (!session)
77
- return yield* new NotFoundError10({ sessionID });
77
+ return yield* new NotFoundError9({ sessionID });
78
78
  return session;
79
79
  });
80
80
  const message = Effect.fn("Session.message")(function* (sessionID, messageID) {
@@ -135,7 +135,7 @@ var make13 = Effect.fn("Session.make")(function* () {
135
135
  });
136
136
  if (existing)
137
137
  return existing;
138
- const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service43, instances), Effect.provideService(FSUtil.Service, fs)));
138
+ const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service64, instances), Effect.provideService(FSUtil.Service, fs)));
139
139
  if (session.revert)
140
140
  yield* commit2(bus, session);
141
141
  return yield* admission.admit({
@@ -151,7 +151,7 @@ var make13 = Effect.fn("Session.make")(function* () {
151
151
  const shell = Effect.fn("Session.shell")(function* (sessionID, input) {
152
152
  const session = yield* get(sessionID);
153
153
  const running = yield* Effect.gen(function* () {
154
- const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service43, instances), Effect.tapError((error) => synthetic(sessionID, {
154
+ const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service64, instances), Effect.tapError((error) => synthetic(sessionID, {
155
155
  text: `User shell command failed to start:
156
156
  ${input.command}
157
157
 
@@ -180,7 +180,7 @@ ${error.message}`,
180
180
  });
181
181
  const skill = Effect.fn("Session.skill")(function* (sessionID, input) {
182
182
  const session = yield* get(sessionID);
183
- const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service43, instances));
183
+ const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service64, instances));
184
184
  yield* bus.publish(SessionEvent2.Skill.Activated, {
185
185
  sessionID,
186
186
  id: skill.id,
@@ -237,13 +237,13 @@ ${error.message}`,
237
237
  const session = yield* get(sessionID);
238
238
  if (yield* execution.isActive(sessionID))
239
239
  return yield* new BusyError2({ sessionID });
240
- return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service43, instances), Effect.provideService(Service84, database), Effect.provideService(Service83, bus));
240
+ return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service64, instances), Effect.provideService(Service84, database), Effect.provideService(Service82, bus));
241
241
  });
242
242
  const clear = Effect.fn("Session.revert.clear")(function* (sessionID) {
243
243
  const session = yield* get(sessionID);
244
244
  if (yield* execution.isActive(sessionID))
245
245
  return yield* new BusyError2({ sessionID });
246
- yield* clear2(session).pipe(Effect.provideService(Service43, instances), Effect.provideService(Service83, bus));
246
+ yield* clear2(session).pipe(Effect.provideService(Service64, instances), Effect.provideService(Service82, bus));
247
247
  return yield* execution.wake(sessionID);
248
248
  });
249
249
  const commit = Effect.fn("Session.revert.commit")(function* (sessionID) {