@opencode/core 0.0.0-dev-19983 → 0.0.0-dev-19985

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 (795) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +82 -82
  3. package/dist/aisdk-native.js +88 -88
  4. package/dist/aisdk.js +93 -93
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +68 -68
  7. package/dist/chunks/{image-xzz5rq5j.js → filesystem-04k65yr5.js} +11 -11
  8. package/dist/chunks/{image-6qr3rp4k.js → filesystem-07770t2t.js} +6 -6
  9. package/dist/chunks/{image-ad4z1jrs.js → filesystem-08n7z093.js} +16 -16
  10. package/dist/chunks/{image-xd9b4v3d.js → filesystem-0dy0awfd.js} +54 -54
  11. package/dist/chunks/filesystem-0mesazry.js +4 -0
  12. package/dist/chunks/{image-0paq2nw3.js → filesystem-0paq2nw3.js} +1 -1
  13. package/dist/chunks/{image-0q0f95c6.js → filesystem-0q0f95c6.js} +1 -1
  14. package/dist/chunks/{image-p84br5ek.js → filesystem-0tvmtyg9.js} +20 -20
  15. package/dist/chunks/{image-t9zs3egg.js → filesystem-0v53mg2y.js} +4 -4
  16. package/dist/chunks/{image-p2safxe9.js → filesystem-0x2h520v.js} +26 -26
  17. package/dist/chunks/{image-anb8rm3e.js → filesystem-0xr2qn80.js} +11 -11
  18. package/dist/chunks/{image-kes097j4.js → filesystem-19a9vrq3.js} +3 -3
  19. package/dist/chunks/{image-63k3xm2x.js → filesystem-1a3s12px.js} +11 -11
  20. package/dist/chunks/{image-1dazxqgg.js → filesystem-1dazxqgg.js} +2 -2
  21. package/dist/chunks/{image-bxn1favr.js → filesystem-1r0xw8d8.js} +16 -16
  22. package/dist/chunks/{image-6gfs34nh.js → filesystem-1xgad0ca.js} +10 -10
  23. package/dist/chunks/{image-09e552k5.js → filesystem-2178wyr2.js} +11 -11
  24. package/dist/chunks/{image-21r38tys.js → filesystem-21r38tys.js} +1 -1
  25. package/dist/chunks/{image-rph3zd4r.js → filesystem-23pqda6t.js} +4 -4
  26. package/dist/chunks/{image-4jv7e9dq.js → filesystem-23sxaqwc.js} +5 -5
  27. package/dist/chunks/{image-2402vzrj.js → filesystem-2402vzrj.js} +1 -1
  28. package/dist/chunks/{image-nxvwfbqw.js → filesystem-2449akcn.js} +18 -18
  29. package/dist/chunks/{image-z63w68vq.js → filesystem-29x78va6.js} +6 -6
  30. package/dist/chunks/{image-2a5m3afh.js → filesystem-2a5m3afh.js} +1 -1
  31. package/dist/chunks/{image-qx10sz7d.js → filesystem-2cwnbxh6.js} +15 -15
  32. package/dist/chunks/{image-8k5gf81b.js → filesystem-2d0h499m.js} +4 -4
  33. package/dist/chunks/{image-xnf96g2w.js → filesystem-2dayh34n.js} +86 -86
  34. package/dist/chunks/{image-7keqm5b0.js → filesystem-2dp8p6n2.js} +4 -4
  35. package/dist/chunks/{image-bw7h3gmz.js → filesystem-2jbnthh3.js} +11 -11
  36. package/dist/chunks/{image-tk2v6jy0.js → filesystem-2v3pyxh6.js} +5 -5
  37. package/dist/chunks/{image-w9sh5ge5.js → filesystem-2xr15r6z.js} +24 -24
  38. package/dist/chunks/{image-56gdpj1q.js → filesystem-33w4ejhs.js} +6 -6
  39. package/dist/chunks/{image-dz8x4rxg.js → filesystem-35m7c38y.js} +4 -4
  40. package/dist/chunks/{image-vke24a77.js → filesystem-36ckcbr5.js} +41 -41
  41. package/dist/chunks/{image-my2qptz9.js → filesystem-3bjt0azc.js} +18 -18
  42. package/dist/chunks/{image-x619ew4b.js → filesystem-3casrxqv.js} +47 -47
  43. package/dist/chunks/{image-3fc6dm20.js → filesystem-3fc6dm20.js} +1 -1
  44. package/dist/chunks/{image-3hepkmqq.js → filesystem-3hepkmqq.js} +1 -1
  45. package/dist/chunks/{image-3smtnn6g.js → filesystem-3smtnn6g.js} +1 -1
  46. package/dist/chunks/{image-3tvqynh2.js → filesystem-3tvqynh2.js} +1 -1
  47. package/dist/chunks/{image-vk0va4ns.js → filesystem-3wss6xvz.js} +7 -7
  48. package/dist/chunks/{image-p8a3dq8k.js → filesystem-464d904a.js} +145 -145
  49. package/dist/chunks/{image-q7pthab0.js → filesystem-4b3pvx7e.js} +32 -32
  50. package/dist/chunks/{image-3mtz8sw0.js → filesystem-4da2pd5b.js} +39 -39
  51. package/dist/chunks/{image-h6r3nrb9.js → filesystem-4dgbcxzg.js} +4 -4
  52. package/dist/chunks/{image-k1gkpfdk.js → filesystem-4e8vs6eh.js} +8 -8
  53. package/dist/chunks/{image-dks483fm.js → filesystem-4gabqsjb.js} +11 -11
  54. package/dist/chunks/{image-edekhrx7.js → filesystem-4r6ztwym.js} +4 -4
  55. package/dist/chunks/{image-r16rx7t1.js → filesystem-4wgmm2fj.js} +4 -4
  56. package/dist/chunks/{image-0j14ft90.js → filesystem-50mvj34d.js} +33 -33
  57. package/dist/chunks/{image-3z10gw4q.js → filesystem-56yns3xt.js} +15 -15
  58. package/dist/chunks/{image-57ez7d0k.js → filesystem-57ez7d0k.js} +2 -2
  59. package/dist/chunks/{image-y5cwy1mn.js → filesystem-5d7brjha.js} +20 -20
  60. package/dist/chunks/{image-5daktx2q.js → filesystem-5daktx2q.js} +1 -1
  61. package/dist/chunks/{image-esh8cnfr.js → filesystem-5hp81q23.js} +24 -24
  62. package/dist/chunks/{image-5t3nmthw.js → filesystem-5t3nmthw.js} +2 -2
  63. package/dist/chunks/{image-cmwkp3r5.js → filesystem-5xtgfte3.js} +8 -8
  64. package/dist/chunks/{image-v2xsvqb7.js → filesystem-5yj9qr1n.js} +8 -8
  65. package/dist/chunks/{image-r646k28t.js → filesystem-636h0e3e.js} +2 -2
  66. package/dist/chunks/{image-669tq793.js → filesystem-669tq793.js} +1 -1
  67. package/dist/chunks/{image-ez5vjv5r.js → filesystem-6evbdv63.js} +15 -15
  68. package/dist/chunks/{image-namhjc4y.js → filesystem-6f2z4ez9.js} +10 -10
  69. package/dist/chunks/{image-h71w788e.js → filesystem-6fatt4mk.js} +9 -9
  70. package/dist/chunks/{image-6msgmcgs.js → filesystem-6msgmcgs.js} +1 -1
  71. package/dist/chunks/{image-388ve0md.js → filesystem-6n2xac0h.js} +11 -11
  72. package/dist/chunks/{image-ec7aaxcz.js → filesystem-6nkz7cqz.js} +46 -46
  73. package/dist/chunks/{image-f5gy8qwh.js → filesystem-6ysrkrkr.js} +8 -8
  74. package/dist/chunks/{image-qnqyg1a6.js → filesystem-70c5k9gj.js} +15 -15
  75. package/dist/chunks/{image-arwg5kd7.js → filesystem-71k5223z.js} +23 -23
  76. package/dist/chunks/{image-z0tsxkyk.js → filesystem-738dabjt.js} +27 -27
  77. package/dist/chunks/{image-7yh4e7ss.js → filesystem-73tb2d7t.js} +3 -3
  78. package/dist/chunks/{image-b340zwh0.js → filesystem-76j10fxw.js} +3 -3
  79. package/dist/chunks/{image-9gbcws29.js → filesystem-76nv9rak.js} +30 -30
  80. package/dist/chunks/{image-1gs8am01.js → filesystem-793adb1z.js} +33 -33
  81. package/dist/chunks/{image-7bmhse3q.js → filesystem-7bmhse3q.js} +1 -1
  82. package/dist/chunks/{image-2k8khapm.js → filesystem-7dqw4kz8.js} +5 -5
  83. package/dist/chunks/{image-npq2n3tp.js → filesystem-7m1b5r48.js} +13 -13
  84. package/dist/chunks/{image-b7vxzd00.js → filesystem-7sykw5ek.js} +25 -25
  85. package/dist/chunks/{image-jgphgq4c.js → filesystem-7t5b4y9r.js} +17 -17
  86. package/dist/chunks/{image-06dxphr1.js → filesystem-88sz8qcd.js} +4 -4
  87. package/dist/chunks/{image-6zh7jmm8.js → filesystem-896e5whc.js} +12 -12
  88. package/dist/chunks/{image-znepfjcf.js → filesystem-8cy2627w.js} +20 -20
  89. package/dist/chunks/{image-8d7r5vzw.js → filesystem-8d7r5vzw.js} +1 -1
  90. package/dist/chunks/{image-jexxy024.js → filesystem-8jmaqybk.js} +2 -2
  91. package/dist/chunks/{image-8p4f9s12.js → filesystem-8p4f9s12.js} +2 -2
  92. package/dist/chunks/{image-a0ys4nqc.js → filesystem-8p6xzk0z.js} +6 -6
  93. package/dist/chunks/{image-afyvqhvk.js → filesystem-8we60ned.js} +32 -32
  94. package/dist/chunks/{image-7p82tnfq.js → filesystem-8xwhmszd.js} +11 -11
  95. package/dist/chunks/{image-bh0zzf2s.js → filesystem-91p1v22t.js} +8 -8
  96. package/dist/chunks/{image-ezt9kfxv.js → filesystem-961777zn.js} +3 -3
  97. package/dist/chunks/{image-nh3m5kwx.js → filesystem-97t23ph8.js} +1 -1
  98. package/dist/chunks/{image-k9nbv3dt.js → filesystem-983we7ba.js} +37 -37
  99. package/dist/chunks/{image-s6pmxk2t.js → filesystem-9afpsfvx.js} +22 -22
  100. package/dist/chunks/{image-dx24mbb4.js → filesystem-9kyyj4mw.js} +24 -24
  101. package/dist/chunks/{image-a1bz86dw.js → filesystem-a1bz86dw.js} +3 -3
  102. package/dist/chunks/{image-a2ew8a62.js → filesystem-a2ew8a62.js} +1 -1
  103. package/dist/chunks/{image-tjpj2e3q.js → filesystem-a3zv9t7g.js} +11 -11
  104. package/dist/chunks/{image-92w0nt0v.js → filesystem-a5w0czkv.js} +66 -66
  105. package/dist/chunks/{image-aaet6srn.js → filesystem-aaet6srn.js} +2 -2
  106. package/dist/chunks/{image-npdbymj2.js → filesystem-abm0rsa5.js} +10 -10
  107. package/dist/chunks/{image-p44d8wdy.js → filesystem-af04s6ss.js} +5 -5
  108. package/dist/chunks/{image-dq0v80fr.js → filesystem-afed7ext.js} +5 -5
  109. package/dist/chunks/{image-k9je938h.js → filesystem-afgm61tm.js} +3 -3
  110. package/dist/chunks/{image-3cfzdc8e.js → filesystem-ag9w8cw1.js} +5 -5
  111. package/dist/chunks/{image-2qp6v2hr.js → filesystem-an5w92pz.js} +16 -16
  112. package/dist/chunks/{image-n5skym8n.js → filesystem-arm41a3t.js} +13 -13
  113. package/dist/chunks/{image-v5w4drkp.js → filesystem-arssbyta.js} +31 -31
  114. package/dist/chunks/{image-vjd497wd.js → filesystem-asp0ht71.js} +4 -4
  115. package/dist/chunks/{image-hf9mb306.js → filesystem-awe63se0.js} +24 -24
  116. package/dist/chunks/{image-3czpn3qn.js → filesystem-b03343t8.js} +10 -10
  117. package/dist/chunks/{image-b6gygkdw.js → filesystem-b6gygkdw.js} +2 -2
  118. package/dist/chunks/{image-4ynrtxxp.js → filesystem-b8wc72va.js} +16 -16
  119. package/dist/chunks/{image-mhbygw65.js → filesystem-bb2n5bqw.js} +43 -43
  120. package/dist/chunks/{image-vtt0yr3x.js → filesystem-bddt2pqj.js} +12 -12
  121. package/dist/chunks/{image-by5v678g.js → filesystem-by5v678g.js} +1 -1
  122. package/dist/chunks/{image-vca968f4.js → filesystem-c9vj76y8.js} +17 -17
  123. package/dist/chunks/{image-cfpkc3c9.js → filesystem-cfpkc3c9.js} +2 -2
  124. package/dist/chunks/{image-cq37gk0t.js → filesystem-cq37gk0t.js} +4 -4
  125. package/dist/chunks/{image-0rt1aerz.js → filesystem-cqh9r0f6.js} +3 -3
  126. package/dist/chunks/{image-eba62b5m.js → filesystem-cwfj27x7.js} +3 -3
  127. package/dist/chunks/{image-3zzqeb10.js → filesystem-cx1qg717.js} +17 -17
  128. package/dist/chunks/{image-59fd7wwn.js → filesystem-czx28beh.js} +31 -31
  129. package/dist/chunks/{image-1cfb3ja4.js → filesystem-d1r5081s.js} +5 -5
  130. package/dist/chunks/{image-4030ep1a.js → filesystem-d5nq0r8d.js} +33 -33
  131. package/dist/chunks/{image-46t0t9s7.js → filesystem-d9rbnbyj.js} +320 -320
  132. package/dist/chunks/{image-g8jasmdt.js → filesystem-dhwr7h25.js} +11 -11
  133. package/dist/chunks/{image-c765mh8b.js → filesystem-djszqvmq.js} +9 -9
  134. package/dist/chunks/{image-9v8rdtx4.js → filesystem-dn3c2qc4.js} +30 -30
  135. package/dist/chunks/{image-mw934p8z.js → filesystem-dpahde6h.js} +5 -5
  136. package/dist/chunks/{image-g05h3mtq.js → filesystem-dqnhf5ps.js} +11 -11
  137. package/dist/chunks/{image-z9ee0mf2.js → filesystem-dw1hb3qg.js} +19 -19
  138. package/dist/chunks/{image-w39s3p85.js → filesystem-dwy07qr3.js} +20 -20
  139. package/dist/chunks/{image-var6jwka.js → filesystem-dzc2vx4y.js} +8 -8
  140. package/dist/chunks/{image-58da5342.js → filesystem-e0sna5fv.js} +35 -35
  141. package/dist/chunks/{image-5qd3pb7m.js → filesystem-e3qxr5gk.js} +2 -2
  142. package/dist/chunks/{image-yw90mp9f.js → filesystem-e6mn5jv8.js} +8 -8
  143. package/dist/chunks/{image-711fd8qe.js → filesystem-e6zry6hq.js} +2 -2
  144. package/dist/chunks/{image-ddk8b4gr.js → filesystem-e85wkba2.js} +12 -12
  145. package/dist/chunks/{image-ef5x83kb.js → filesystem-ef5x83kb.js} +1 -1
  146. package/dist/chunks/{image-be95997k.js → filesystem-efpdwb6x.js} +14 -14
  147. package/dist/chunks/{image-bweh8ah2.js → filesystem-enxmvdqw.js} +14 -14
  148. package/dist/chunks/{image-erw5rpbs.js → filesystem-erw5rpbs.js} +2 -2
  149. package/dist/chunks/{image-etq0c3wd.js → filesystem-etq0c3wd.js} +1 -1
  150. package/dist/chunks/{image-kawpmg25.js → filesystem-ew7hwn7j.js} +20 -20
  151. package/dist/chunks/{image-nwxse5wp.js → filesystem-eyvfapca.js} +25 -25
  152. package/dist/chunks/{image-18h2bsbn.js → filesystem-f09mvmr0.js} +9 -9
  153. package/dist/chunks/{image-f828m53h.js → filesystem-f828m53h.js} +2 -2
  154. package/dist/chunks/{image-m2yd4h25.js → filesystem-f8vvpw96.js} +37 -37
  155. package/dist/chunks/{image-y89pgm7x.js → filesystem-f9hy97hv.js} +11 -11
  156. package/dist/chunks/{image-rc6wfq74.js → filesystem-fpz3mx6x.js} +26 -26
  157. package/dist/chunks/{image-nab6jkb6.js → filesystem-frcr067y.js} +21 -21
  158. package/dist/chunks/{image-09td20c0.js → filesystem-frxaaayt.js} +30 -30
  159. package/dist/chunks/{image-fxbjtjnd.js → filesystem-fxbjtjnd.js} +1 -1
  160. package/dist/chunks/{image-27ja88b0.js → filesystem-ga28zqw9.js} +21 -21
  161. package/dist/chunks/{image-gd4qta3r.js → filesystem-gd4qta3r.js} +1 -1
  162. package/dist/chunks/{image-fxxz233w.js → filesystem-gex21hkg.js} +25 -25
  163. package/dist/chunks/{image-9z4sf5tv.js → filesystem-ggq5dcm3.js} +11 -11
  164. package/dist/chunks/{image-c4spbmd0.js → filesystem-gkxywbd8.js} +9 -9
  165. package/dist/chunks/{image-es7jpw9p.js → filesystem-gmrppb9j.js} +4 -4
  166. package/dist/chunks/{image-pk5pky18.js → filesystem-gmtyk6kh.js} +9 -9
  167. package/dist/chunks/{image-gv6a8nnw.js → filesystem-gv6a8nnw.js} +2 -2
  168. package/dist/chunks/{image-e2mq9brg.js → filesystem-gvn55taw.js} +9 -9
  169. package/dist/chunks/{image-h6vf3j39.js → filesystem-h6vf3j39.js} +1 -1
  170. package/dist/chunks/{image-1mp28asa.js → filesystem-hc1m44b4.js} +18 -18
  171. package/dist/chunks/{image-rbxccrva.js → filesystem-hd4ggg0f.js} +24 -24
  172. package/dist/chunks/{image-924007vm.js → filesystem-hg14h15t.js} +8 -8
  173. package/dist/chunks/{image-rj372e5a.js → filesystem-hjxgxr48.js} +4 -4
  174. package/dist/chunks/{image-g1354m52.js → filesystem-hw0j4jfr.js} +9 -9
  175. package/dist/chunks/{image-j56e64zr.js → filesystem-j56e64zr.js} +1 -1
  176. package/dist/chunks/{image-kkp8zx71.js → filesystem-j5rxtxht.js} +4 -4
  177. package/dist/chunks/{image-ybhbtxjg.js → filesystem-ja4wy4ee.js} +9 -9
  178. package/dist/chunks/{image-a4rx6ejt.js → filesystem-jfxzdpts.js} +25 -25
  179. package/dist/chunks/{image-vg7fngtd.js → filesystem-jgqqmzrc.js} +13 -13
  180. package/dist/chunks/{image-1r56tgej.js → filesystem-jkayeeaj.js} +3 -3
  181. package/dist/chunks/{image-xk7j61yv.js → filesystem-jm1e84c6.js} +50 -50
  182. package/dist/chunks/{image-g1cnsceh.js → filesystem-jyvd2mgh.js} +6 -6
  183. package/dist/chunks/{image-k3c624dm.js → filesystem-k3c624dm.js} +3 -3
  184. package/dist/chunks/{image-fszct94a.js → filesystem-k5gd0tq9.js} +26 -26
  185. package/dist/chunks/{image-anf0zms1.js → filesystem-k7myrtme.js} +9 -9
  186. package/dist/chunks/{image-x2d9qy7d.js → filesystem-k8hpw67k.js} +5 -5
  187. package/dist/chunks/{image-k9kj6xed.js → filesystem-k9kj6xed.js} +2 -2
  188. package/dist/chunks/{image-vdptz04f.js → filesystem-kc6s93qx.js} +6 -6
  189. package/dist/chunks/{image-6xh0g4kx.js → filesystem-kcvtahyt.js} +19 -19
  190. package/dist/chunks/{image-y67gsgy6.js → filesystem-keat3kjn.js} +4 -4
  191. package/dist/chunks/{image-evrwq1d2.js → filesystem-kgwkn692.js} +14 -14
  192. package/dist/chunks/{image-n4r3xatb.js → filesystem-kne8f3cn.js} +4 -4
  193. package/dist/chunks/{image-6y7njhkw.js → filesystem-kx9spr8q.js} +15 -15
  194. package/dist/chunks/{image-m3fdjcah.js → filesystem-m3fdjcah.js} +1 -1
  195. package/dist/chunks/{image-z61r2s3w.js → filesystem-m4q3p37a.js} +13 -13
  196. package/dist/chunks/{image-tcpw7e5e.js → filesystem-m4wqnv6z.js} +21 -21
  197. package/dist/chunks/{image-2z66ez54.js → filesystem-m5nhsqcp.js} +25 -25
  198. package/dist/chunks/{image-1w9v3p18.js → filesystem-m8btp16q.js} +77 -77
  199. package/dist/chunks/{image-m9w0rfyh.js → filesystem-m9w0rfyh.js} +1 -1
  200. package/dist/chunks/{image-qrtzkn9f.js → filesystem-mbac1kct.js} +10 -10
  201. package/dist/chunks/{image-8d0p2m37.js → filesystem-mgmaefw5.js} +3 -3
  202. package/dist/chunks/{image-0gy1wr0y.js → filesystem-msvsfnt3.js} +11 -11
  203. package/dist/chunks/{image-v61m3kz8.js → filesystem-mt9bxwhn.js} +3 -3
  204. package/dist/chunks/{image-kbt3g993.js → filesystem-mx3p2n25.js} +13 -13
  205. package/dist/chunks/{image-ycjb11n5.js → filesystem-mx9vqzsb.js} +6 -6
  206. package/dist/chunks/{image-78ys8twf.js → filesystem-nw7zy85b.js} +7 -7
  207. package/dist/chunks/{image-pjvnvgmy.js → filesystem-pjvnvgmy.js} +1 -1
  208. package/dist/chunks/{image-pknna89w.js → filesystem-pknna89w.js} +1 -1
  209. package/dist/chunks/{image-9a912s85.js → filesystem-pnv527nz.js} +9 -9
  210. package/dist/chunks/{image-n7vpp5gh.js → filesystem-prryh28n.js} +16 -16
  211. package/dist/chunks/{image-ha494qqn.js → filesystem-px2be73x.js} +10 -10
  212. package/dist/chunks/{image-2zvss1h4.js → filesystem-q0sfhvah.js} +1 -1
  213. package/dist/chunks/{image-nfd0y60j.js → filesystem-q3bxgjqn.js} +4 -4
  214. package/dist/chunks/{image-v4bjwbs7.js → filesystem-q3hac6h7.js} +14 -14
  215. package/dist/chunks/{image-xc3aj2tv.js → filesystem-q7rwn2x2.js} +21 -21
  216. package/dist/chunks/{image-qsdy395h.js → filesystem-qsdy395h.js} +1 -1
  217. package/dist/chunks/{image-6r2bcfeg.js → filesystem-qx5d9ajw.js} +3 -3
  218. package/dist/chunks/{image-c2a7rk0z.js → filesystem-rc50wbp4.js} +10 -10
  219. package/dist/chunks/{image-258eh3rs.js → filesystem-rddmyqfq.js} +26 -26
  220. package/dist/chunks/{image-397rvywk.js → filesystem-rdnhh455.js} +16 -16
  221. package/dist/chunks/{image-rdw6cm16.js → filesystem-rdw6cm16.js} +1 -1
  222. package/dist/chunks/{image-rhjbct0v.js → filesystem-rhjbct0v.js} +1 -1
  223. package/dist/chunks/{image-j6nsp1g7.js → filesystem-rk88yvf9.js} +10 -10
  224. package/dist/chunks/{image-q14p6249.js → filesystem-rzfg7075.js} +26 -26
  225. package/dist/chunks/{image-yrznvahk.js → filesystem-s4enseaf.js} +2 -2
  226. package/dist/chunks/{image-mzvzs703.js → filesystem-s5kb3k8e.js} +12 -12
  227. package/dist/chunks/{image-n36k2kh7.js → filesystem-s7ctwtcq.js} +17 -17
  228. package/dist/chunks/{image-bz85s9hh.js → filesystem-scq4khx8.js} +1 -1
  229. package/dist/chunks/{image-87hh84yj.js → filesystem-sds3e13g.js} +34 -34
  230. package/dist/chunks/{image-tsr6kwcz.js → filesystem-sexgt17t.js} +1 -1
  231. package/dist/chunks/{image-k10ne33k.js → filesystem-sfpgy6fa.js} +8 -8
  232. package/dist/chunks/{image-krva6jg1.js → filesystem-stsqwfg0.js} +13 -13
  233. package/dist/chunks/{image-bbfngs8v.js → filesystem-tamkpa3n.js} +11 -11
  234. package/dist/chunks/{image-tazgh4e4.js → filesystem-tazgh4e4.js} +1 -1
  235. package/dist/chunks/{image-0dgp5q1e.js → filesystem-tb6t8ms4.js} +17 -17
  236. package/dist/chunks/{image-p28j5sbe.js → filesystem-tbz0fdvh.js} +5 -5
  237. package/dist/chunks/{image-tcezcvh9.js → filesystem-tcezcvh9.js} +1 -1
  238. package/dist/chunks/{image-tdstcens.js → filesystem-tdstcens.js} +1 -1
  239. package/dist/chunks/filesystem-tr8yqx4d.js +252 -0
  240. package/dist/chunks/{image-tvtrv512.js → filesystem-tvtrv512.js} +1 -1
  241. package/dist/chunks/{image-t9kz1x1h.js → filesystem-tz5abwqk.js} +18 -18
  242. package/dist/chunks/{image-rstenykm.js → filesystem-v35f087t.js} +1 -1
  243. package/dist/chunks/{image-wzhg77bf.js → filesystem-v7zj3nz5.js} +16 -16
  244. package/dist/chunks/{image-qd1nr1jp.js → filesystem-v8g5y6jd.js} +14 -14
  245. package/dist/chunks/{image-ewnwpw42.js → filesystem-vds9m2vb.js} +9 -9
  246. package/dist/chunks/{image-veqvce7d.js → filesystem-veqvce7d.js} +1 -1
  247. package/dist/chunks/{image-dmt7f73j.js → filesystem-vgrtq7ff.js} +25 -25
  248. package/dist/chunks/{image-ea7xz3vj.js → filesystem-vh4qwyhx.js} +10 -10
  249. package/dist/chunks/{image-qte5z7bc.js → filesystem-vmq7ehpy.js} +5 -5
  250. package/dist/chunks/{image-e255wkp1.js → filesystem-vmz6a58x.js} +3 -3
  251. package/dist/chunks/{image-cavr175a.js → filesystem-vsp1fds9.js} +21 -21
  252. package/dist/chunks/{image-kh9grtd6.js → filesystem-vvax6fjg.js} +14 -14
  253. package/dist/chunks/{image-v3vqqm9f.js → filesystem-vvk3ve44.js} +7 -7
  254. package/dist/chunks/{image-vzcthcp8.js → filesystem-vzcthcp8.js} +1 -1
  255. package/dist/chunks/filesystem-w3te818p.js +26 -0
  256. package/dist/chunks/{image-w3wsvvr9.js → filesystem-w3wsvvr9.js} +1 -1
  257. package/dist/chunks/{image-aktb84ke.js → filesystem-w446yvqy.js} +2 -2
  258. package/dist/chunks/{image-685dn0bf.js → filesystem-w533tarm.js} +16 -16
  259. package/dist/chunks/{image-7nkjve3g.js → filesystem-w82fgawr.js} +6 -6
  260. package/dist/chunks/{image-77fp0bkd.js → filesystem-w94kskkz.js} +8 -8
  261. package/dist/chunks/{image-wd87259q.js → filesystem-wd87259q.js} +1 -1
  262. package/dist/chunks/{image-zg7entxf.js → filesystem-wgw4srnb.js} +20 -20
  263. package/dist/chunks/{image-5qfssqaz.js → filesystem-wh4ahp02.js} +10 -10
  264. package/dist/chunks/{image-ge4xn9w4.js → filesystem-wkjja0pr.js} +9 -9
  265. package/dist/chunks/{image-53nrc7mr.js → filesystem-ws621yd9.js} +42 -42
  266. package/dist/chunks/{image-9dpmj859.js → filesystem-wxnh3zbj.js} +3 -3
  267. package/dist/chunks/{image-z6mts4vt.js → filesystem-wxr37xc2.js} +5 -5
  268. package/dist/chunks/{image-a3r4dcrj.js → filesystem-x0600czv.js} +2 -2
  269. package/dist/chunks/{image-x1ezjp6w.js → filesystem-x1ezjp6w.js} +1 -1
  270. package/dist/chunks/{image-xfkkasph.js → filesystem-xfkkasph.js} +1 -1
  271. package/dist/chunks/{image-w5mxr70m.js → filesystem-xst10gja.js} +14 -14
  272. package/dist/chunks/{image-wz8tevja.js → filesystem-xxnqz17r.js} +24 -24
  273. package/dist/chunks/{image-y1fvbwt7.js → filesystem-y1fvbwt7.js} +1 -1
  274. package/dist/chunks/{image-y71avatq.js → filesystem-y71avatq.js} +1 -1
  275. package/dist/chunks/{image-n8yas6hm.js → filesystem-yad5pthg.js} +21 -21
  276. package/dist/chunks/{image-svndcwjb.js → filesystem-yfrapfkp.js} +4 -4
  277. package/dist/chunks/{image-rhraev7y.js → filesystem-yp2x3t23.js} +4 -4
  278. package/dist/chunks/{image-60596gf0.js → filesystem-yq3qxe3q.js} +31 -31
  279. package/dist/chunks/{image-yrhqyw5v.js → filesystem-yrhqyw5v.js} +1 -1
  280. package/dist/chunks/{image-pqkzp7xy.js → filesystem-yzs7269r.js} +22 -22
  281. package/dist/chunks/{image-z0bkrqjs.js → filesystem-z0bkrqjs.js} +1 -1
  282. package/dist/chunks/{image-d10jp6w6.js → filesystem-z5614h9q.js} +22 -22
  283. package/dist/chunks/{image-1g4xhxjj.js → filesystem-z5dr2f93.js} +2 -2
  284. package/dist/chunks/{image-aj20rtze.js → filesystem-za9m4y5n.js} +22 -22
  285. package/dist/chunks/{image-zeh9ct20.js → filesystem-zeh9ct20.js} +2 -2
  286. package/dist/chunks/{image-afkq326b.js → filesystem-zfyhmt8d.js} +24 -24
  287. package/dist/chunks/{image-ckjkxw20.js → filesystem-zhm4m9p9.js} +24 -24
  288. package/dist/chunks/{image-20bz03sg.js → filesystem-zptm4m77.js} +1 -1
  289. package/dist/chunks/{image-zr2ceqn5.js → filesystem-zr2ceqn5.js} +1 -1
  290. package/dist/chunks/{image-d18skez3.js → filesystem-zx5z6yb5.js} +11 -11
  291. package/dist/chunks/{image-zxq2ej10.js → filesystem-zxq2ej10.js} +1 -1
  292. package/dist/codemode/catalog.js +1 -1
  293. package/dist/codemode/instructions.js +9 -9
  294. package/dist/codemode/tool.js +3 -3
  295. package/dist/codemode/web.js +1 -1
  296. package/dist/command.js +82 -82
  297. package/dist/config/discovery.js +81 -81
  298. package/dist/config/markdown.js +1 -1
  299. package/dist/config/normalize.js +105 -105
  300. package/dist/config/plugin/agent.js +124 -124
  301. package/dist/config/plugin/command.js +213 -213
  302. package/dist/config/plugin/compaction.js +161 -161
  303. package/dist/config/plugin/compatibility.js +140 -140
  304. package/dist/config/plugin/entry-observer.js +1 -1
  305. package/dist/config/plugin/formatter.js +123 -123
  306. package/dist/config/plugin/image.js +122 -122
  307. package/dist/config/plugin/instruction.js +89 -89
  308. package/dist/config/plugin/location-watcher.js +122 -122
  309. package/dist/config/plugin/mcp.js +131 -131
  310. package/dist/config/plugin/policy.js +123 -123
  311. package/dist/config/plugin/provider.js +122 -122
  312. package/dist/config/plugin/reference.js +124 -124
  313. package/dist/config/plugin/shell.js +124 -124
  314. package/dist/config/plugin/skill-file.js +101 -101
  315. package/dist/config/plugin/skill.js +143 -143
  316. package/dist/config/plugin/snapshot.js +122 -122
  317. package/dist/config/plugin/source.js +125 -125
  318. package/dist/config/plugin/tool-output.js +124 -124
  319. package/dist/config/plugin/websearch.js +123 -123
  320. package/dist/config/plugin/worktree.js +124 -124
  321. package/dist/config/variable.js +3 -3
  322. package/dist/config/watch.js +1 -1
  323. package/dist/config.js +127 -127
  324. package/dist/credential/sql.js +2 -2
  325. package/dist/credential.js +78 -78
  326. package/dist/database/database.js +65 -65
  327. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  328. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  329. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  330. package/dist/database/drizzle/index.js +13 -13
  331. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  334. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  335. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  336. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  337. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  338. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  339. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  340. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  341. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  342. package/dist/database/drizzle.js +14 -14
  343. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  344. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  345. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  346. package/dist/database/migration/20260225215848_workspace.js +1 -1
  347. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  348. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  349. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  350. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  351. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  352. package/dist/database/migration/20260323234822_events.js +1 -1
  353. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  354. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  355. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  356. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  357. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  358. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  359. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  360. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  361. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  362. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  363. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  364. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  365. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  366. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  367. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  368. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  369. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  370. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  371. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  372. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  373. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  374. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  375. package/dist/database/migration/20260611035744_credential.js +1 -1
  376. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  377. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  378. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  379. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  380. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  381. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  382. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  383. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  384. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  385. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  386. package/dist/database/migration/20260812213948_worktree.js +1 -1
  387. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  388. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  389. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  390. package/dist/database/migration.gen.js +48 -48
  391. package/dist/database/migration.js +50 -50
  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 +75 -75
  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 +1 -1
  404. package/dist/effect/websocket-constructor.js +1 -1
  405. package/dist/environment/driver.js +1 -1
  406. package/dist/environment/environment.js +92 -92
  407. package/dist/environment/exec-defaults.js +2 -2
  408. package/dist/environment/files.js +1 -1
  409. package/dist/environment/index.js +94 -94
  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 +69 -69
  415. package/dist/file-access.js +103 -103
  416. package/dist/file-mutation.js +93 -93
  417. package/dist/file-retention.js +1 -1
  418. package/dist/file.js +1 -1
  419. package/dist/filesystem/fff.bun.js +2 -2
  420. package/dist/filesystem/fff.js +1 -1
  421. package/dist/filesystem/fff.node.js +2 -2
  422. package/dist/filesystem/fff.workerd.js +2 -2
  423. package/dist/filesystem/ignore.js +1 -1
  424. package/dist/filesystem/location-watcher-policy.js +6 -6
  425. package/dist/filesystem/location-watcher.js +224 -224
  426. package/dist/filesystem/protected.js +1 -1
  427. package/dist/filesystem/search.js +102 -102
  428. package/dist/filesystem/watcher-binding.js +3 -3
  429. package/dist/filesystem/watcher.js +15 -15
  430. package/dist/filesystem.js +105 -105
  431. package/dist/form.js +77 -77
  432. package/dist/formatter/builtins.js +4 -4
  433. package/dist/formatter.js +88 -88
  434. package/dist/generate.js +104 -104
  435. package/dist/git.js +6 -6
  436. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  437. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  438. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  439. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  440. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  441. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  442. package/dist/github-copilot/copilot-provider.js +17 -17
  443. package/dist/github-copilot/models.js +98 -98
  444. package/dist/github-copilot/openai-compatible-error.js +1 -1
  445. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  446. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  447. package/dist/github-copilot/responses/openai-error.js +1 -1
  448. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  449. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  450. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  451. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  452. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  453. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  454. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  455. package/dist/id/id.js +1 -1
  456. package/dist/image/photon.js +2 -2
  457. package/dist/image.js +6 -6
  458. package/dist/instance/service.js +5 -5
  459. package/dist/instance.js +360 -360
  460. package/dist/instruction-discovery.js +84 -84
  461. package/dist/instructions/builtins.js +86 -86
  462. package/dist/instructions/index.js +1 -1
  463. package/dist/integration/connection.js +3 -3
  464. package/dist/integration.js +81 -81
  465. package/dist/job.js +78 -78
  466. package/dist/kv/sql.js +2 -2
  467. package/dist/kv.js +72 -72
  468. package/dist/location-activity.js +131 -131
  469. package/dist/location-lifecycle.js +105 -105
  470. package/dist/location-mutation.js +103 -103
  471. package/dist/location-service-map.js +85 -85
  472. package/dist/location-services.js +357 -357
  473. package/dist/location.js +80 -80
  474. package/dist/managed-policy.js +5 -5
  475. package/dist/mcp/client.js +90 -90
  476. package/dist/mcp/index.js +107 -107
  477. package/dist/mcp/instructions.js +125 -125
  478. package/dist/mcp/oauth.js +74 -74
  479. package/dist/mcp/stdio.js +89 -89
  480. package/dist/mime.js +1 -1
  481. package/dist/modal/models.js +98 -98
  482. package/dist/model-resolver.js +97 -97
  483. package/dist/model.js +97 -97
  484. package/dist/models-dev.js +104 -104
  485. package/dist/oauth/page.js +1 -1
  486. package/dist/permission/saved.js +81 -81
  487. package/dist/permission/sql.js +5 -5
  488. package/dist/permission.js +114 -114
  489. package/dist/persistent-pty/binary.bun.js +1 -1
  490. package/dist/persistent-pty/daemon.js +1 -1
  491. package/dist/persistent-pty/index.js +83 -83
  492. package/dist/persistent-pty/pty-binding.js +1 -1
  493. package/dist/persistent-pty.js +74 -74
  494. package/dist/plugin/agent.js +103 -103
  495. package/dist/plugin/command.js +100 -100
  496. package/dist/plugin/compaction.js +132 -132
  497. package/dist/plugin/hooks.js +5 -5
  498. package/dist/plugin/host.js +217 -217
  499. package/dist/plugin/identity.js +3 -3
  500. package/dist/plugin/instance.js +5 -5
  501. package/dist/plugin/internal.js +331 -331
  502. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  503. package/dist/plugin/models-dev.js +95 -95
  504. package/dist/plugin/module.js +5 -5
  505. package/dist/plugin/optimize.js +2 -2
  506. package/dist/plugin/plan.js +101 -101
  507. package/dist/plugin/promise.js +1 -1
  508. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  509. package/dist/plugin/provider/azure.js +121 -121
  510. package/dist/plugin/provider/cerebras.js +1 -1
  511. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  512. package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
  513. package/dist/plugin/provider/cohere.js +2 -2
  514. package/dist/plugin/provider/configured.js +118 -118
  515. package/dist/plugin/provider/digitalocean.js +92 -92
  516. package/dist/plugin/provider/dynamic.js +2 -2
  517. package/dist/plugin/provider/factory.js +1 -1
  518. package/dist/plugin/provider/gateway.js +2 -2
  519. package/dist/plugin/provider/github-copilot.js +92 -92
  520. package/dist/plugin/provider/gitlab.js +90 -90
  521. package/dist/plugin/provider/google-vertex.js +89 -89
  522. package/dist/plugin/provider/kilo.js +1 -1
  523. package/dist/plugin/provider/llmgateway.js +76 -76
  524. package/dist/plugin/provider/lmstudio.js +121 -121
  525. package/dist/plugin/provider/modal.js +91 -91
  526. package/dist/plugin/provider/nvidia.js +1 -1
  527. package/dist/plugin/provider/ollama.js +121 -121
  528. package/dist/plugin/provider/openai.js +91 -91
  529. package/dist/plugin/provider/opencode.js +93 -93
  530. package/dist/plugin/provider/openrouter.js +90 -90
  531. package/dist/plugin/provider/perplexity.js +2 -2
  532. package/dist/plugin/provider/poe.js +77 -77
  533. package/dist/plugin/provider/prompt-cache-key.js +89 -89
  534. package/dist/plugin/provider/sap-ai-core.js +90 -90
  535. package/dist/plugin/provider/sdk-factory.js +1 -1
  536. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  537. package/dist/plugin/provider/venice.js +2 -2
  538. package/dist/plugin/provider/vercel.js +89 -89
  539. package/dist/plugin/provider/vllm.js +121 -121
  540. package/dist/plugin/provider/xai.js +90 -90
  541. package/dist/plugin/provider/zenmux.js +1 -1
  542. package/dist/plugin/provider.js +159 -159
  543. package/dist/plugin/sdk.js +75 -75
  544. package/dist/plugin/service.js +1 -1
  545. package/dist/plugin/skill.js +140 -140
  546. package/dist/plugin/source-directory.js +1 -1
  547. package/dist/plugin/supervisor.js +346 -346
  548. package/dist/plugin/tool-input-repair.js +4 -4
  549. package/dist/plugin/update.js +6 -6
  550. package/dist/plugin/vcs/git.js +85 -85
  551. package/dist/plugin/vcs/hg.js +85 -85
  552. package/dist/plugin/warming.js +120 -120
  553. package/dist/plugin/websearch/exa.js +5 -5
  554. package/dist/plugin/websearch/firecrawl.js +8 -8
  555. package/dist/plugin/websearch/index.js +9 -9
  556. package/dist/plugin/websearch/mcp.js +4 -4
  557. package/dist/plugin/websearch/parallel.js +8 -8
  558. package/dist/plugin/websearch/tavily.js +6 -6
  559. package/dist/plugin/websearch/tinyfish.js +8 -8
  560. package/dist/plugin.js +224 -224
  561. package/dist/project/schema.js +2 -2
  562. package/dist/project/sql.js +4 -4
  563. package/dist/project.js +79 -79
  564. package/dist/provider.js +94 -94
  565. package/dist/pty/protocol.js +1 -1
  566. package/dist/pty/schema.js +3 -3
  567. package/dist/pty/ticket.js +1 -1
  568. package/dist/pty.js +97 -97
  569. package/dist/reference/instructions.js +88 -88
  570. package/dist/reference.js +90 -90
  571. package/dist/repository-cache.js +80 -80
  572. package/dist/repository.js +1 -1
  573. package/dist/ripgrep/binary.js +2 -2
  574. package/dist/ripgrep.js +96 -96
  575. package/dist/rpc.js +85 -85
  576. package/dist/schema.js +1 -1
  577. package/dist/session/command.js +73 -73
  578. package/dist/session/compaction.js +133 -133
  579. package/dist/session/context.js +151 -151
  580. package/dist/session/diff.js +87 -87
  581. package/dist/session/environment.js +5 -5
  582. package/dist/session/error.js +7 -7
  583. package/dist/session/event.js +1 -1
  584. package/dist/session/execution/restart.js +220 -220
  585. package/dist/session/execution.js +125 -125
  586. package/dist/session/generate.js +152 -152
  587. package/dist/session/history.js +15 -15
  588. package/dist/session/inbox.js +89 -89
  589. package/dist/session/info.js +3 -3
  590. package/dist/session/instruction-entry.js +72 -72
  591. package/dist/session/instruction-state.js +8 -8
  592. package/dist/session/instructions.js +96 -96
  593. package/dist/session/message-updater.js +4 -4
  594. package/dist/session/message.js +1 -1
  595. package/dist/session/model-request.js +118 -118
  596. package/dist/session/model-transport.js +9 -9
  597. package/dist/session/move.js +129 -129
  598. package/dist/session/projector.js +85 -85
  599. package/dist/session/prompt.js +104 -104
  600. package/dist/session/provider-context.js +3 -3
  601. package/dist/session/revert.js +89 -89
  602. package/dist/session/run-coordinator.js +3 -3
  603. package/dist/session/runner/index.js +3 -3
  604. package/dist/session/runner/llm.js +230 -230
  605. package/dist/session/runner/max-steps.js +1 -1
  606. package/dist/session/runner/model.js +97 -97
  607. package/dist/session/runner/publish-llm-event.js +3 -3
  608. package/dist/session/runner/retry.js +113 -113
  609. package/dist/session/runner/step.js +123 -123
  610. package/dist/session/runner/to-llm-message.js +2 -2
  611. package/dist/session/schema.js +3 -3
  612. package/dist/session/session.js +171 -171
  613. package/dist/session/shell.js +137 -137
  614. package/dist/session/skill.js +102 -102
  615. package/dist/session/sql.js +5 -5
  616. package/dist/session/stats.js +72 -72
  617. package/dist/session/store.js +86 -86
  618. package/dist/session/subagent-completion.js +1 -1
  619. package/dist/session/subagent-job.js +207 -207
  620. package/dist/session/system-prompt.js +1 -1
  621. package/dist/session/title.js +153 -153
  622. package/dist/session/to-session-error.js +110 -110
  623. package/dist/session/transfer.js +213 -213
  624. package/dist/session/usage.js +1 -1
  625. package/dist/session.js +215 -215
  626. package/dist/shell/parse.js +6 -6
  627. package/dist/shell/result.js +1 -1
  628. package/dist/shell/scan.js +1 -1
  629. package/dist/shell/select.js +15 -15
  630. package/dist/shell.js +139 -139
  631. package/dist/skill/discovery.js +6 -6
  632. package/dist/skill/instructions.js +106 -106
  633. package/dist/skill.js +105 -105
  634. package/dist/snapshot.js +90 -90
  635. package/dist/state.js +1 -1
  636. package/dist/tool/html-markdown.js +1 -1
  637. package/dist/tool/http-body.js +1 -1
  638. package/dist/tool/mcp.js +122 -122
  639. package/dist/tool/plugin/edit.js +119 -119
  640. package/dist/tool/plugin/file-diff.js +1 -1
  641. package/dist/tool/plugin/glob.js +123 -123
  642. package/dist/tool/plugin/grep.js +123 -123
  643. package/dist/tool/plugin/opencode.js +3 -3
  644. package/dist/tool/plugin/patch.js +121 -121
  645. package/dist/tool/plugin/question.js +102 -102
  646. package/dist/tool/plugin/read.js +124 -124
  647. package/dist/tool/plugin/shell.js +216 -216
  648. package/dist/tool/plugin/skill.js +112 -112
  649. package/dist/tool/plugin/subagent.js +218 -218
  650. package/dist/tool/plugin/webfetch.js +109 -109
  651. package/dist/tool/plugin/websearch.js +111 -111
  652. package/dist/tool/plugin/write.js +121 -121
  653. package/dist/tool/read-filesystem.js +99 -99
  654. package/dist/tool/runtime.js +1 -1
  655. package/dist/tool-output.js +8 -8
  656. package/dist/tool.js +16 -16
  657. package/dist/util/error-summary.js +1 -1
  658. package/dist/util/error.js +1 -1
  659. package/dist/util/git-executable.js +2 -2
  660. package/dist/util/iife.js +1 -1
  661. package/dist/util/lazy.js +1 -1
  662. package/dist/util/slug.js +1 -1
  663. package/dist/util/token.js +1 -1
  664. package/dist/util/which.js +1 -1
  665. package/dist/util/wildcard.js +1 -1
  666. package/dist/v1/config/agent.js +7 -7
  667. package/dist/v1/config/attachment.js +4 -4
  668. package/dist/v1/config/command.js +1 -1
  669. package/dist/v1/config/config.js +16 -16
  670. package/dist/v1/config/error.js +4 -4
  671. package/dist/v1/config/formatter.js +3 -3
  672. package/dist/v1/config/layout.js +1 -1
  673. package/dist/v1/config/lsp.js +3 -3
  674. package/dist/v1/config/mcp.js +4 -4
  675. package/dist/v1/config/migrate.js +91 -91
  676. package/dist/v1/config/permission.js +7 -7
  677. package/dist/v1/config/plugin.js +3 -3
  678. package/dist/v1/config/provider-options.js +1 -1
  679. package/dist/v1/config/provider.js +4 -4
  680. package/dist/v1/config/server.js +2 -2
  681. package/dist/v1/config/skills.js +3 -3
  682. package/dist/v1/permission.js +1 -1
  683. package/dist/variant.js +90 -90
  684. package/dist/vcs/patch.js +1 -1
  685. package/dist/vcs.js +88 -88
  686. package/dist/websearch.js +83 -83
  687. package/dist/wellknown/plugin.js +75 -75
  688. package/dist/wellknown.js +80 -80
  689. package/dist/workspace/driver.js +5 -5
  690. package/dist/workspace/sql.js +1 -1
  691. package/dist/workspace.js +79 -79
  692. package/dist/worktree/directory.js +2 -2
  693. package/dist/worktree/git.js +8 -8
  694. package/dist/worktree/sql.js +5 -5
  695. package/dist/worktree/strategies.js +88 -88
  696. package/dist/worktree.js +95 -95
  697. package/package.json +8 -8
  698. package/dist/chunks/image-6kdq0pjd.js +0 -4
  699. package/dist/chunks/image-b89j7fds.js +0 -26
  700. package/dist/chunks/image-r44k0b4h.js +0 -252
  701. /package/dist/chunks/{image-0qkdqm5v.js → filesystem-0qkdqm5v.js} +0 -0
  702. /package/dist/chunks/{image-0zkw76rk.js → filesystem-0zkw76rk.js} +0 -0
  703. /package/dist/chunks/{image-17cy0kzp.js → filesystem-17cy0kzp.js} +0 -0
  704. /package/dist/chunks/{image-1cnp2v09.js → filesystem-1cnp2v09.js} +0 -0
  705. /package/dist/chunks/{image-1kg9ymc8.js → filesystem-1kg9ymc8.js} +0 -0
  706. /package/dist/chunks/{image-24dcb14g.js → filesystem-24dcb14g.js} +0 -0
  707. /package/dist/chunks/{image-2710q6r3.js → filesystem-2710q6r3.js} +0 -0
  708. /package/dist/chunks/{image-2axfhc9x.js → filesystem-2axfhc9x.js} +0 -0
  709. /package/dist/chunks/{image-2c3vjs8z.js → filesystem-2c3vjs8z.js} +0 -0
  710. /package/dist/chunks/{image-359p4xyc.js → filesystem-359p4xyc.js} +0 -0
  711. /package/dist/chunks/{image-3asan66x.js → filesystem-3asan66x.js} +0 -0
  712. /package/dist/chunks/{image-3v8g72cx.js → filesystem-3v8g72cx.js} +0 -0
  713. /package/dist/chunks/{image-3w5fmr99.js → filesystem-3w5fmr99.js} +0 -0
  714. /package/dist/chunks/{image-3wcehsnq.js → filesystem-3wcehsnq.js} +0 -0
  715. /package/dist/chunks/{image-43n2bw4t.js → filesystem-43n2bw4t.js} +0 -0
  716. /package/dist/chunks/{image-4knz6hnm.js → filesystem-4knz6hnm.js} +0 -0
  717. /package/dist/chunks/{image-4vcrnpx2.js → filesystem-4vcrnpx2.js} +0 -0
  718. /package/dist/chunks/{image-4y7fprxs.js → filesystem-4y7fprxs.js} +0 -0
  719. /package/dist/chunks/{image-53557ph1.js → filesystem-53557ph1.js} +0 -0
  720. /package/dist/chunks/{image-550bvhaj.js → filesystem-550bvhaj.js} +0 -0
  721. /package/dist/chunks/{image-6prwharc.js → filesystem-6prwharc.js} +0 -0
  722. /package/dist/chunks/{image-7akdwqpd.js → filesystem-7akdwqpd.js} +0 -0
  723. /package/dist/chunks/{image-7m9af43g.js → filesystem-7m9af43g.js} +0 -0
  724. /package/dist/chunks/{image-822emrt2.js → filesystem-822emrt2.js} +0 -0
  725. /package/dist/chunks/{image-88xbtdfr.js → filesystem-88xbtdfr.js} +0 -0
  726. /package/dist/chunks/{image-8n3pysct.js → filesystem-8n3pysct.js} +0 -0
  727. /package/dist/chunks/{image-922hggd3.js → filesystem-922hggd3.js} +0 -0
  728. /package/dist/chunks/{image-9a4afbnw.js → filesystem-9a4afbnw.js} +0 -0
  729. /package/dist/chunks/{image-9rqn6x4v.js → filesystem-9rqn6x4v.js} +0 -0
  730. /package/dist/chunks/{image-a6k6eb26.js → filesystem-a6k6eb26.js} +0 -0
  731. /package/dist/chunks/{image-af5trqkr.js → filesystem-af5trqkr.js} +0 -0
  732. /package/dist/chunks/{image-afrmfg78.js → filesystem-afrmfg78.js} +0 -0
  733. /package/dist/chunks/{image-aqzs7mqg.js → filesystem-aqzs7mqg.js} +0 -0
  734. /package/dist/chunks/{image-atq7p7m5.js → filesystem-atq7p7m5.js} +0 -0
  735. /package/dist/chunks/{image-bkyjaxrp.js → filesystem-bkyjaxrp.js} +0 -0
  736. /package/dist/chunks/{image-bmr6ed5q.js → filesystem-bmr6ed5q.js} +0 -0
  737. /package/dist/chunks/{image-cf4snx6d.js → filesystem-cf4snx6d.js} +0 -0
  738. /package/dist/chunks/{image-cvy3z8tj.js → filesystem-cvy3z8tj.js} +0 -0
  739. /package/dist/chunks/{image-d9fn303g.js → filesystem-d9fn303g.js} +0 -0
  740. /package/dist/chunks/{image-d9jj8t3e.js → filesystem-d9jj8t3e.js} +0 -0
  741. /package/dist/chunks/{image-dajrwvna.js → filesystem-dajrwvna.js} +0 -0
  742. /package/dist/chunks/{image-dap0rakb.js → filesystem-dap0rakb.js} +0 -0
  743. /package/dist/chunks/{image-df08tz66.js → filesystem-df08tz66.js} +0 -0
  744. /package/dist/chunks/{image-dy18nga0.js → filesystem-dy18nga0.js} +0 -0
  745. /package/dist/chunks/{image-e5kj55wp.js → filesystem-e5kj55wp.js} +0 -0
  746. /package/dist/chunks/{image-e73j6tqm.js → filesystem-e73j6tqm.js} +0 -0
  747. /package/dist/chunks/{image-ec1grn59.js → filesystem-ec1grn59.js} +0 -0
  748. /package/dist/chunks/{image-eh3zwz77.js → filesystem-eh3zwz77.js} +0 -0
  749. /package/dist/chunks/{image-emrn6kk6.js → filesystem-emrn6kk6.js} +0 -0
  750. /package/dist/chunks/{image-f0mxakyp.js → filesystem-f0mxakyp.js} +0 -0
  751. /package/dist/chunks/{image-f6n9ztr4.js → filesystem-f6n9ztr4.js} +0 -0
  752. /package/dist/chunks/{image-faypxj3z.js → filesystem-faypxj3z.js} +0 -0
  753. /package/dist/chunks/{image-fd410y7t.js → filesystem-fd410y7t.js} +0 -0
  754. /package/dist/chunks/{image-fxgpk5d8.js → filesystem-fxgpk5d8.js} +0 -0
  755. /package/dist/chunks/{image-g4wezp1m.js → filesystem-g4wezp1m.js} +0 -0
  756. /package/dist/chunks/{image-g86h250q.js → filesystem-g86h250q.js} +0 -0
  757. /package/dist/chunks/{image-gebd4c9n.js → filesystem-gebd4c9n.js} +0 -0
  758. /package/dist/chunks/{image-gftt206x.js → filesystem-gftt206x.js} +0 -0
  759. /package/dist/chunks/{image-hjbc5kem.js → filesystem-hjbc5kem.js} +0 -0
  760. /package/dist/chunks/{image-hk9envan.js → filesystem-hk9envan.js} +0 -0
  761. /package/dist/chunks/{image-j2ntwpah.js → filesystem-j2ntwpah.js} +0 -0
  762. /package/dist/chunks/{image-j5zkgpj8.js → filesystem-j5zkgpj8.js} +0 -0
  763. /package/dist/chunks/{image-jjkms2e6.js → filesystem-jjkms2e6.js} +0 -0
  764. /package/dist/chunks/{image-jr7sbwjy.js → filesystem-jr7sbwjy.js} +0 -0
  765. /package/dist/chunks/{image-jwfs4k6c.js → filesystem-jwfs4k6c.js} +0 -0
  766. /package/dist/chunks/{image-jzg6c2d5.js → filesystem-jzg6c2d5.js} +0 -0
  767. /package/dist/chunks/{image-mp448xyj.js → filesystem-mp448xyj.js} +0 -0
  768. /package/dist/chunks/{image-msx8hqn2.js → filesystem-msx8hqn2.js} +0 -0
  769. /package/dist/chunks/{image-n05xt0ee.js → filesystem-n05xt0ee.js} +0 -0
  770. /package/dist/chunks/{image-n3j8tn72.js → filesystem-n3j8tn72.js} +0 -0
  771. /package/dist/chunks/{image-njntx4h6.js → filesystem-njntx4h6.js} +0 -0
  772. /package/dist/chunks/{image-q3sfg36h.js → filesystem-q3sfg36h.js} +0 -0
  773. /package/dist/chunks/{image-q74kybfr.js → filesystem-q74kybfr.js} +0 -0
  774. /package/dist/chunks/{image-qaymkmh1.js → filesystem-qaymkmh1.js} +0 -0
  775. /package/dist/chunks/{image-qb87gjwd.js → filesystem-qb87gjwd.js} +0 -0
  776. /package/dist/chunks/{image-qfa1cgps.js → filesystem-qfa1cgps.js} +0 -0
  777. /package/dist/chunks/{image-qg3g05ea.js → filesystem-qg3g05ea.js} +0 -0
  778. /package/dist/chunks/{image-qrg20bc0.js → filesystem-qrg20bc0.js} +0 -0
  779. /package/dist/chunks/{image-rcb2kzg1.js → filesystem-rcb2kzg1.js} +0 -0
  780. /package/dist/chunks/{image-sdp7kfr6.js → filesystem-sdp7kfr6.js} +0 -0
  781. /package/dist/chunks/{image-sk3qaz4a.js → filesystem-sk3qaz4a.js} +0 -0
  782. /package/dist/chunks/{image-ssg3fenm.js → filesystem-ssg3fenm.js} +0 -0
  783. /package/dist/chunks/{image-twg0f83k.js → filesystem-twg0f83k.js} +0 -0
  784. /package/dist/chunks/{image-w803qqfp.js → filesystem-w803qqfp.js} +0 -0
  785. /package/dist/chunks/{image-wc3fc9cn.js → filesystem-wc3fc9cn.js} +0 -0
  786. /package/dist/chunks/{image-wer8tq1h.js → filesystem-wer8tq1h.js} +0 -0
  787. /package/dist/chunks/{image-wtztk69x.js → filesystem-wtztk69x.js} +0 -0
  788. /package/dist/chunks/{image-x0ckcb58.js → filesystem-x0ckcb58.js} +0 -0
  789. /package/dist/chunks/{image-x61499pn.js → filesystem-x61499pn.js} +0 -0
  790. /package/dist/chunks/{image-y44na4kk.js → filesystem-y44na4kk.js} +0 -0
  791. /package/dist/chunks/{image-y8cydn3q.js → filesystem-y8cydn3q.js} +0 -0
  792. /package/dist/chunks/{image-y8f7s663.js → filesystem-y8f7s663.js} +0 -0
  793. /package/dist/chunks/{image-ygaqb7jw.js → filesystem-ygaqb7jw.js} +0 -0
  794. /package/dist/chunks/{image-ym463w8f.js → filesystem-ym463w8f.js} +0 -0
  795. /package/dist/chunks/{image-z9919s4g.js → filesystem-z9919s4g.js} +0 -0
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./image-9rqn6x4v.js";
3
+ } from "./filesystem-9rqn6x4v.js";
4
4
 
5
5
  // src/shell/result.ts
6
6
  var exports_result = {};
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./image-rj372e5a.js";
4
+ } from "./filesystem-hjxgxr48.js";
5
5
  import {
6
6
  environment2
7
- } from "./image-s6pmxk2t.js";
7
+ } from "./filesystem-9afpsfvx.js";
8
8
  import {
9
9
  makeDaemonTransport2
10
- } from "./image-sk3qaz4a.js";
10
+ } from "./filesystem-sk3qaz4a.js";
11
11
  import {
12
12
  __export
13
- } from "./image-9rqn6x4v.js";
13
+ } from "./filesystem-9rqn6x4v.js";
14
14
 
15
15
  // src/persistent-pty/index.ts
16
16
  var exports_persistent_pty = {};
17
17
  __export(exports_persistent_pty, {
18
18
  Handoff: () => Handoff2,
19
19
  NotFoundError: () => NotFoundError3,
20
- Options: () => Options3,
20
+ Options: () => Options2,
21
21
  PersistentPty: () => exports_persistent_pty,
22
- Service: () => Service19,
23
- UnavailableError: () => UnavailableError2,
24
- configured: () => configured3,
22
+ Service: () => Service22,
23
+ UnavailableError: () => UnavailableError3,
24
+ configured: () => configured2,
25
25
  layer: () => layer9,
26
- node: () => node22
26
+ node: () => node25
27
27
  });
28
28
  import os from "node:os";
29
29
  import path from "node:path";
@@ -35,9 +35,9 @@ import { Pty } from "@opencode/schema/pty";
35
35
  import { Global } from "@opencode/util/global";
36
36
  import { resolveBinary } from "#persistent-pty-binary";
37
37
  import { Handoff as Handoff2 } from "@opencode/schema/persistent-pty";
38
- var Options3 = Schema.Struct({ handoff: Schema.optional(Handoff) });
38
+ var Options2 = Schema.Struct({ handoff: Schema.optional(Handoff) });
39
39
 
40
- class UnavailableError2 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
40
+ class UnavailableError3 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
41
41
  message: Schema.String
42
42
  }) {
43
43
  }
@@ -47,9 +47,9 @@ class NotFoundError3 extends Schema.TaggedError()("PersistentPty.NotFoundError",
47
47
  }) {
48
48
  }
49
49
 
50
- class Service19 extends Context.Service()("@opencode/PersistentPty") {
50
+ class Service22 extends Context.Service()("@opencode/PersistentPty") {
51
51
  }
52
- var makeLayer = (options = {}) => Layer.effect(Service19, Effect.gen(function* () {
52
+ var makeLayer = (options = {}) => Layer.effect(Service22, Effect.gen(function* () {
53
53
  const bus = yield* Service83;
54
54
  const global = yield* Global.Service;
55
55
  const context = yield* Effect.context();
@@ -162,7 +162,7 @@ var makeLayer = (options = {}) => Layer.effect(Service19, Effect.gen(function* (
162
162
  });
163
163
  const read = Effect.fn("PersistentPty.read")(function* (sessionID, lines) {
164
164
  if (lines !== undefined && !Schema.is(ReadLines)(lines))
165
- return yield* new UnavailableError2({ message: "lines must be an integer between 1 and 65535" });
165
+ return yield* new UnavailableError3({ message: "lines must be an integer between 1 and 65535" });
166
166
  const id = current.get(sessionID);
167
167
  if (!id)
168
168
  return null;
@@ -239,7 +239,7 @@ var makeLayer = (options = {}) => Layer.effect(Service19, Effect.gen(function* (
239
239
  detach: attachment.detach
240
240
  };
241
241
  });
242
- return Service19.of({
242
+ return Service22.of({
243
243
  list,
244
244
  get,
245
245
  create,
@@ -256,16 +256,16 @@ var makeLayer = (options = {}) => Layer.effect(Service19, Effect.gen(function* (
256
256
  });
257
257
  }));
258
258
  var layer9 = makeLayer();
259
- var configured3 = (options) => makeGlobalNode({
260
- service: Service19,
259
+ var configured2 = (options) => makeGlobalNode({
260
+ service: Service22,
261
261
  layer: options === undefined ? layer9 : makeLayer(options),
262
262
  deps: [node87, Global.node]
263
263
  });
264
- var node22 = configured3();
264
+ var node25 = configured2();
265
265
  var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
266
266
  var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
267
- var unexpected = (response) => Effect.fail(new UnavailableError2({ message: `unexpected opencode-pty response: ${response.type}` }));
268
- var unavailable = (error) => new UnavailableError2({ message: error instanceof Error ? error.message : String(error) });
267
+ var unexpected = (response) => Effect.fail(new UnavailableError3({ message: `unexpected opencode-pty response: ${response.type}` }));
268
+ var unavailable = (error) => new UnavailableError3({ message: error instanceof Error ? error.message : String(error) });
269
269
  var runtimeDirectory = () => {
270
270
  const root = process.env.OPENCODE_PTY_RUNTIME_DIR ?? (process.env.XDG_RUNTIME_DIR ? path.join(process.env.XDG_RUNTIME_DIR, "opencode-pty") : path.join(os.tmpdir(), `opencode-pty-${typeof process.getuid === "function" ? process.getuid() : process.env.USER || "unknown"}`));
271
271
  return path.join(root, crypto.randomUUID());
@@ -301,4 +301,4 @@ function fromID(value) {
301
301
  return parsed;
302
302
  }
303
303
 
304
- export { Options3, UnavailableError2, NotFoundError3, Service19, layer9, configured3, node22, exports_persistent_pty, Handoff2 };
304
+ export { Options2, UnavailableError3, NotFoundError3, Service22, layer9, configured2, node25, exports_persistent_pty, Handoff2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./image-9rqn6x4v.js";
3
+ } from "./filesystem-9rqn6x4v.js";
4
4
 
5
5
  // src/file-retention.ts
6
6
  var exports_file_retention = {};
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./image-922hggd3.js";
4
+ } from "./filesystem-922hggd3.js";
5
5
  import {
6
6
  Repository2,
7
7
  TreeID2,
8
8
  Service82,
9
9
  node86
10
- } from "./image-dq0v80fr.js";
10
+ } from "./filesystem-afed7ext.js";
11
11
  import {
12
12
  Service80,
13
13
  node84
14
- } from "./image-711fd8qe.js";
14
+ } from "./filesystem-e6zry6hq.js";
15
15
  import {
16
16
  create3
17
- } from "./image-rdw6cm16.js";
17
+ } from "./filesystem-rdw6cm16.js";
18
18
  import {
19
19
  __export
20
- } from "./image-9rqn6x4v.js";
20
+ } from "./filesystem-9rqn6x4v.js";
21
21
 
22
22
  // src/snapshot.ts
23
23
  var exports_snapshot2 = {};
24
24
  __export(exports_snapshot2, {
25
- Error: () => Error4,
26
- ID: () => ID6,
27
- Service: () => Service44,
25
+ Error: () => Error3,
26
+ ID: () => ID4,
27
+ Service: () => Service39,
28
28
  Snapshot: () => exports_snapshot2,
29
- node: () => node47,
29
+ node: () => node42,
30
30
  noopLayer: () => noopLayer2
31
31
  });
32
32
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -34,18 +34,18 @@ import path from "path";
34
34
  import { Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
35
35
  import { FSUtil } from "@opencode/util/fs-util";
36
36
  import { Global } from "@opencode/util/global";
37
- import { ID as ID6 } from "@opencode/schema/snapshot";
37
+ import { ID as ID4 } from "@opencode/schema/snapshot";
38
38
  import { Hash } from "@opencode/util/hash";
39
- class Error4 extends Schema.TaggedError()("Snapshot.Error", {
39
+ class Error3 extends Schema.TaggedError()("Snapshot.Error", {
40
40
  operation: Schema.Literals(["capture", "files", "diff", "restore"]),
41
41
  message: Schema.String,
42
42
  cause: Schema.optional(Schema.Defect())
43
43
  }) {
44
44
  }
45
45
 
46
- class Service44 extends Context.Service()("@opencode/Snapshot") {
46
+ class Service39 extends Context.Service()("@opencode/Snapshot") {
47
47
  }
48
- var layer = Layer.effect(Service44, Effect.gen(function* () {
48
+ var layer = Layer.effect(Service39, Effect.gen(function* () {
49
49
  const fs = yield* FSUtil.Service;
50
50
  const git = yield* Service82;
51
51
  const global = yield* Global.Service;
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service44, Effect.gen(function* () {
63
63
  const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
64
64
  const source = yield* git.repo.discover(location.project.directory);
65
65
  if (!source)
66
- return yield* new Error4({ operation: "capture", message: "Project is not a Git repository" });
66
+ return yield* new Error3({ operation: "capture", message: "Project is not a Git repository" });
67
67
  const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
68
68
  const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
69
69
  const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service44, Effect.gen(function* () {
73
73
  const scope = Effect.fnUntraced(function* (worktree) {
74
74
  const relative = path.relative(worktree, location.directory);
75
75
  if (relative.startsWith("..") || path.isAbsolute(relative))
76
- return yield* new Error4({ operation: "capture", message: "Location is outside the project" });
76
+ return yield* new Error3({ operation: "capture", message: "Location is outside the project" });
77
77
  return RelativePath2.make(relative.replaceAll("\\", "/") || ".");
78
78
  });
79
79
  const enabled = () => location.vcs?.type === "git" && state.get().enabled;
@@ -82,7 +82,7 @@ var layer = Layer.effect(Service44, Effect.gen(function* () {
82
82
  return;
83
83
  return yield* Effect.gen(function* () {
84
84
  const repo = yield* repository;
85
- return ID6.make(yield* git.tree.capture({
85
+ return ID4.make(yield* git.tree.capture({
86
86
  repository: repo.snapshotRepository,
87
87
  scopes: [yield* scope(repo.worktree)],
88
88
  ignores: repo.source,
@@ -127,25 +127,25 @@ var layer = Layer.effect(Service44, Effect.gen(function* () {
127
127
  for (const [file, snapshot] of input.files) {
128
128
  const absolute = path.resolve(worktree, file);
129
129
  if (!FSUtil.contains(worktree, absolute))
130
- return yield* new Error4({ operation: "restore", message: `Path escapes the project: ${file}` });
130
+ return yield* new Error3({ operation: "restore", message: `Path escapes the project: ${file}` });
131
131
  files.set(file, TreeID2.make(snapshot));
132
132
  }
133
133
  return files;
134
134
  });
135
135
  const restore = Effect.fn("Snapshot.restore")(function* (input) {
136
136
  if (!enabled())
137
- return yield* new Error4({ operation: "restore", message: "Snapshots are disabled" });
137
+ return yield* new Error3({ operation: "restore", message: "Snapshots are disabled" });
138
138
  const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
139
139
  yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
140
140
  });
141
- return Service44.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
141
+ return Service39.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
142
142
  }).pipe(Effect.withSpan("Snapshot.boot")));
143
- var node47 = makeLocationNode({
144
- service: Service44,
143
+ var node42 = makeLocationNode({
144
+ service: Service39,
145
145
  layer,
146
146
  deps: [FSUtil.node, node86, Global.node, node84]
147
147
  });
148
- var noopLayer2 = Layer.succeed(Service44, Service44.of({
148
+ var noopLayer2 = Layer.succeed(Service39, Service39.of({
149
149
  transform: () => Effect.succeed({ dispose: Effect.void }),
150
150
  reload: () => Effect.void,
151
151
  capture: () => Effect.undefined,
@@ -154,13 +154,13 @@ var noopLayer2 = Layer.succeed(Service44, Service44.of({
154
154
  restore: () => Effect.void
155
155
  }));
156
156
  function failure(operation, cause) {
157
- if (cause instanceof Error4 && cause.operation === operation)
157
+ if (cause instanceof Error3 && cause.operation === operation)
158
158
  return cause;
159
- return new Error4({
159
+ return new Error3({
160
160
  operation,
161
161
  message: cause instanceof globalThis.Error ? cause.message : String(cause),
162
162
  cause
163
163
  });
164
164
  }
165
165
 
166
- export { ID6, Error4, Service44, node47, noopLayer2, exports_snapshot2 };
166
+ export { ID4, Error3, Service39, node42, noopLayer2, exports_snapshot2 };
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  __export
3
- } from "./image-9rqn6x4v.js";
3
+ } from "./filesystem-9rqn6x4v.js";
4
4
 
5
5
  // src/app.ts
6
6
  var exports_app = {};
7
7
  __export(exports_app, {
8
8
  App: () => exports_app,
9
9
  Metadata: () => Metadata2,
10
- configured: () => configured11,
11
- layer: () => layer20,
12
- make: () => make17,
13
- node: () => node61,
10
+ configured: () => configured6,
11
+ layer: () => layer21,
12
+ make: () => make18,
13
+ node: () => node53,
14
14
  useragent: () => useragent2
15
15
  });
16
16
  import { Context, Layer } from "effect";
17
17
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
18
18
  var Metadata2 = Context.Reference("@opencode/App", {
19
- defaultValue: () => make17()
19
+ defaultValue: () => make18()
20
20
  });
21
- function make17(input = {}) {
21
+ function make18(input = {}) {
22
22
  return {
23
23
  name: input.name ?? "opencode",
24
24
  version: input.version ?? "unknown",
@@ -28,8 +28,8 @@ function make17(input = {}) {
28
28
  function useragent2(app) {
29
29
  return `opencode/${app.channel}/${app.version}/${app.name}`;
30
30
  }
31
- var layer20 = (input) => Layer.succeed(Metadata2, make17(input));
32
- var configured11 = (input) => makeGlobalNode({ service: Metadata2, layer: layer20(input), deps: [] });
33
- var node61 = configured11();
31
+ var layer21 = (input) => Layer.succeed(Metadata2, make18(input));
32
+ var configured6 = (input) => makeGlobalNode({ service: Metadata2, layer: layer21(input), deps: [] });
33
+ var node53 = configured6();
34
34
 
35
- export { Metadata2, make17, useragent2, layer20, configured11, node61, exports_app };
35
+ export { Metadata2, make18, useragent2, layer21, configured6, node53, exports_app };
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  useragent2
3
- } from "./image-9z4sf5tv.js";
3
+ } from "./filesystem-ggq5dcm3.js";
4
4
  import {
5
5
  call2
6
- } from "./image-56gdpj1q.js";
6
+ } from "./filesystem-33w4ejhs.js";
7
7
  import {
8
8
  __export
9
- } from "./image-9rqn6x4v.js";
9
+ } from "./filesystem-9rqn6x4v.js";
10
10
 
11
11
  // src/plugin/websearch/firecrawl.ts
12
12
  var exports_firecrawl = {};
13
13
  __export(exports_firecrawl, {
14
- Plugin: () => Plugin36,
14
+ Plugin: () => Plugin18,
15
15
  WebSearchFirecrawl: () => exports_firecrawl,
16
- endpoint: () => endpoint5
16
+ endpoint: () => endpoint4
17
17
  });
18
18
  import { define } from "@opencode/plugin/effect/plugin";
19
19
  import { Effect, Option, Schema } from "effect";
20
20
  import { HttpClient } from "effect/unstable/http";
21
- var endpoint5 = "https://mcp.firecrawl.dev/v2/mcp";
21
+ var endpoint4 = "https://mcp.firecrawl.dev/v2/mcp";
22
22
  var McpInput = Schema.Struct({
23
23
  query: Schema.String,
24
24
  limit: Schema.Number.pipe(Schema.optional)
@@ -37,7 +37,7 @@ var SearchResponse = Schema.fromJsonString(Schema.Struct({
37
37
  })
38
38
  }));
39
39
  var decodeSearchResponse = Schema.decodeUnknownOption(SearchResponse);
40
- var Plugin36 = define({
40
+ var Plugin18 = define({
41
41
  id: "opencode.websearch.firecrawl",
42
42
  effect: Effect.fn("WebSearchFirecrawl.Plugin")(function* (ctx) {
43
43
  const http = yield* HttpClient.HttpClient;
@@ -59,7 +59,7 @@ var Plugin36 = define({
59
59
  execute: (input) => Effect.gen(function* () {
60
60
  const connection = yield* ctx.integration.connection.active("firecrawl");
61
61
  const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
62
- const result = yield* call2(http, endpoint5, "firecrawl_search", { input: McpInput, output: McpOutput }, { query: input.query, limit: 8 }, {
62
+ const result = yield* call2(http, endpoint4, "firecrawl_search", { input: McpInput, output: McpOutput }, { query: input.query, limit: 8 }, {
63
63
  "User-Agent": useragent2(ctx.app),
64
64
  ...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : {}
65
65
  });
@@ -77,4 +77,4 @@ var Plugin36 = define({
77
77
  })
78
78
  });
79
79
 
80
- export { endpoint5, Plugin36, exports_firecrawl };
80
+ export { endpoint4, Plugin18, exports_firecrawl };
@@ -2,13 +2,13 @@ import {
2
2
  AgentNotFoundError2,
3
3
  StepFailedError2,
4
4
  UserInterruptedError2
5
- } from "./image-ybhbtxjg.js";
5
+ } from "./filesystem-ja4wy4ee.js";
6
6
  import {
7
7
  BlockedError2
8
- } from "./image-xd9b4v3d.js";
8
+ } from "./filesystem-0dy0awfd.js";
9
9
  import {
10
10
  AuthorizationError2
11
- } from "./image-ad4z1jrs.js";
11
+ } from "./filesystem-08n7z093.js";
12
12
  import {
13
13
  ModelNotSelectedError2,
14
14
  ModelUnavailableError2,
@@ -18,7 +18,7 @@ import {
18
18
  ModelInitializationError2,
19
19
  UnresolvedProviderVariablesError2,
20
20
  UnsupportedCompactionError2
21
- } from "./image-vg7fngtd.js";
21
+ } from "./filesystem-jgqqmzrc.js";
22
22
 
23
23
  // src/session/to-session-error.ts
24
24
  import { AIError, ToolFailure } from "@opencode/ai";
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  Ref4
3
- } from "./image-711fd8qe.js";
3
+ } from "./filesystem-e6zry6hq.js";
4
4
  import {
5
5
  __export
6
- } from "./image-9rqn6x4v.js";
6
+ } from "./filesystem-9rqn6x4v.js";
7
7
 
8
8
  // src/location-service-map.ts
9
9
  var exports_location_service_map = {};
10
10
  __export(exports_location_service_map, {
11
11
  LocationServiceMap: () => exports_location_service_map,
12
- Service: () => Service79,
12
+ Service: () => Service47,
13
13
  canonical: () => canonical3,
14
- node: () => node83,
14
+ node: () => node49,
15
15
  reload: () => reload2
16
16
  });
17
17
  import { Context, Effect, Exit, Layer, RcMap } from "effect";
@@ -19,14 +19,14 @@ import { LayerNode } from "@opencode/util/effect/layer-node";
19
19
  import { Node } from "@opencode/util/effect/app-node";
20
20
  import { AbsolutePath } from "@opencode/schema/schema";
21
21
  import path from "path";
22
- class Service79 extends Context.Service()("@opencode/example/LocationServiceMap") {
22
+ class Service47 extends Context.Service()("@opencode/example/LocationServiceMap") {
23
23
  static get(ref) {
24
- return Layer.unwrap(Effect.map(Service79, (locations) => locations.get(ref)));
24
+ return Layer.unwrap(Effect.map(Service47, (locations) => locations.get(ref)));
25
25
  }
26
26
  }
27
- var node83 = LayerNode.unbound(Service79, Node.tags.values.global);
27
+ var node49 = LayerNode.unbound(Service47, Node.tags.values.global);
28
28
  var reload2 = Effect.fn("LocationServiceMap.reload")(function* () {
29
- const locations = yield* Service79;
29
+ const locations = yield* Service47;
30
30
  const refs = Array.from(yield* RcMap.keys(locations.rcMap));
31
31
  yield* Effect.forEach(refs, (ref) => locations.invalidate(ref), {
32
32
  discard: true,
@@ -45,4 +45,4 @@ function canonical3(ref) {
45
45
  });
46
46
  }
47
47
 
48
- export { Service79, node83, reload2, canonical3, exports_location_service_map };
48
+ export { Service47, node49, reload2, canonical3, exports_location_service_map };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./image-922hggd3.js";
3
+ } from "./filesystem-922hggd3.js";
4
4
  import {
5
5
  __export
6
- } from "./image-9rqn6x4v.js";
6
+ } from "./filesystem-9rqn6x4v.js";
7
7
 
8
8
  // src/worktree/directory.ts
9
9
  var exports_directory = {};
@@ -1,18 +1,18 @@
1
1
  import {
2
- Service61
3
- } from "./image-ycjb11n5.js";
2
+ Service45
3
+ } from "./filesystem-mx9vqzsb.js";
4
4
  import {
5
5
  awaitActivation2
6
- } from "./image-by5v678g.js";
6
+ } from "./filesystem-by5v678g.js";
7
7
  import {
8
8
  SkillNotFoundError2
9
- } from "./image-ybhbtxjg.js";
9
+ } from "./filesystem-ja4wy4ee.js";
10
10
  import {
11
- Service39
12
- } from "./image-bweh8ah2.js";
11
+ Service49
12
+ } from "./filesystem-enxmvdqw.js";
13
13
  import {
14
14
  __export
15
- } from "./image-9rqn6x4v.js";
15
+ } from "./filesystem-9rqn6x4v.js";
16
16
 
17
17
  // src/session/skill.ts
18
18
  var exports_skill4 = {};
@@ -22,8 +22,8 @@ __export(exports_skill4, {
22
22
  });
23
23
  import { Effect } from "effect";
24
24
  var get4 = Effect.fn("SessionSkill.get")(function* (input) {
25
- const instances = yield* Service61;
26
- const skills = yield* awaitActivation2.pipe(Effect.andThen(Service39), instances.provide(input.session));
25
+ const instances = yield* Service45;
26
+ const skills = yield* awaitActivation2.pipe(Effect.andThen(Service49), instances.provide(input.session));
27
27
  const skill = yield* skills.get(input.skill);
28
28
  if (!skill)
29
29
  return yield* new SkillNotFoundError2({ skill: input.skill });
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./image-9rqn6x4v.js";
3
+ } from "./filesystem-9rqn6x4v.js";
4
4
 
5
5
  // src/util/token.ts
6
6
  var exports_token = {};
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./image-rj372e5a.js";
4
+ } from "./filesystem-hjxgxr48.js";
5
5
  import {
6
6
  __export
7
- } from "./image-9rqn6x4v.js";
7
+ } from "./filesystem-9rqn6x4v.js";
8
8
 
9
9
  // src/form.ts
10
10
  var exports_form = {};
@@ -12,30 +12,30 @@ __export(exports_form, {
12
12
  AlreadyExistsError: () => AlreadyExistsError2,
13
13
  AlreadySettledError: () => AlreadySettledError2,
14
14
  Answer: () => Answer2,
15
- Event: () => Event19,
15
+ Event: () => Event20,
16
16
  Field: () => Field2,
17
17
  Fields: () => Fields2,
18
18
  Form: () => exports_form,
19
- ID: () => ID15,
19
+ ID: () => ID16,
20
20
  Info: () => Info30,
21
21
  InvalidAnswerError: () => InvalidAnswerError2,
22
22
  InvalidFormError: () => InvalidFormError2,
23
23
  NotFoundError: () => NotFoundError10,
24
24
  Reply: () => Reply3,
25
- Service: () => Service76,
25
+ Service: () => Service78,
26
26
  State: () => State3,
27
27
  When: () => When2,
28
28
  layer: () => layer25,
29
- node: () => node80,
29
+ node: () => node82,
30
30
  validateAnswer: () => validateAnswer2,
31
31
  validateFields: () => validateFields2
32
32
  });
33
33
  import { Form } from "@opencode/schema/form";
34
34
  import { Cache, Context, Deferred, Duration, Effect, Exit, Layer, Option, Schema } from "effect";
35
35
  import { makeLocationNode } from "@opencode/util/effect/app-node";
36
- import { Event as Event19 } from "@opencode/schema/form";
36
+ import { Event as Event20 } from "@opencode/schema/form";
37
37
  var RETENTION = Duration.minutes(10);
38
- var ID15 = Form.ID;
38
+ var ID16 = Form.ID;
39
39
  var Info30 = Form.Info;
40
40
  var Field2 = Form.Field;
41
41
  var Fields2 = Form.Fields;
@@ -45,7 +45,7 @@ var Answer2 = Form.Answer;
45
45
  var Reply3 = Form.Reply;
46
46
 
47
47
  class NotFoundError10 extends Schema.TaggedError()("Form.NotFoundError", {
48
- id: ID15
48
+ id: ID16
49
49
  }) {
50
50
  get message() {
51
51
  return `Form not found: ${this.id}`;
@@ -53,7 +53,7 @@ class NotFoundError10 extends Schema.TaggedError()("Form.NotFoundError", {
53
53
  }
54
54
 
55
55
  class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledError", {
56
- id: ID15
56
+ id: ID16
57
57
  }) {
58
58
  get message() {
59
59
  return `Form already settled: ${this.id}`;
@@ -61,7 +61,7 @@ class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledErro
61
61
  }
62
62
 
63
63
  class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError", {
64
- id: ID15
64
+ id: ID16
65
65
  }) {
66
66
  get message() {
67
67
  return `Form already exists: ${this.id}`;
@@ -69,7 +69,7 @@ class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError"
69
69
  }
70
70
 
71
71
  class InvalidAnswerError2 extends Schema.TaggedError()("Form.InvalidAnswerError", {
72
- id: ID15,
72
+ id: ID16,
73
73
  message: Schema.String
74
74
  }) {
75
75
  }
@@ -79,9 +79,9 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
79
79
  }) {
80
80
  }
81
81
 
82
- class Service76 extends Context.Service()("@opencode/Form") {
82
+ class Service78 extends Context.Service()("@opencode/Form") {
83
83
  }
84
- var layer25 = Layer.effect(Service76, Effect.gen(function* () {
84
+ var layer25 = Layer.effect(Service78, Effect.gen(function* () {
85
85
  const bus = yield* Service83;
86
86
  let closed = false;
87
87
  const forms = yield* Cache.makeWith(() => Effect.die(new Error("Form cache must be used via set/getSuccess, never get")), {
@@ -90,7 +90,7 @@ var layer25 = Layer.effect(Service76, Effect.gen(function* () {
90
90
  });
91
91
  const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError10({ id })))));
92
92
  const create = Effect.fn("Form.create")((input) => Effect.uninterruptible(Effect.gen(function* () {
93
- const id = input.id ?? ID15.create();
93
+ const id = input.id ?? ID16.create();
94
94
  const existing = yield* Cache.getSuccess(forms, id);
95
95
  if (Option.isSome(existing))
96
96
  return yield* new AlreadyExistsError2({ id });
@@ -159,9 +159,9 @@ var layer25 = Layer.effect(Service76, Effect.gen(function* () {
159
159
  closed = true;
160
160
  }).pipe(Effect.andThen(Cache.values(forms)), Effect.flatMap((entries) => Effect.forEach(Array.from(entries).filter((entry) => entry.state.status === "pending"), (entry) => cancel(entry.form.id).pipe(Effect.ignore), { discard: true })));
161
161
  yield* Effect.addFinalizer(() => close);
162
- return Service76.of({ create, ask, get, list, state, reply, cancel, close });
162
+ return Service78.of({ create, ask, get, list, state, reply, cancel, close });
163
163
  }));
164
- var node80 = makeLocationNode({ service: Service76, layer: layer25, deps: [node87] });
164
+ var node82 = makeLocationNode({ service: Service78, layer: layer25, deps: [node87] });
165
165
  function validateAnswer2(form, answer) {
166
166
  const fields = new Map(form.map((field) => [field.key, field]));
167
167
  for (const key of Object.keys(answer)) {
@@ -313,4 +313,4 @@ function isDateTime(value) {
313
313
  return !Number.isNaN(new Date(value).getTime());
314
314
  }
315
315
 
316
- export { ID15, Info30, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError10, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service76, layer25, node80, validateAnswer2, validateFields2, exports_form, Event19 };
316
+ export { ID16, Info30, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError10, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service78, layer25, node82, validateAnswer2, validateFields2, exports_form, Event20 };