@opencode/core 0.0.0-dev-20561 → 0.0.0-dev-20563

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 (780) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +79 -79
  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 +69 -69
  7. package/dist/chunks/{filesystem-vgx6weyf.js → integration-00x4qneg.js} +8 -8
  8. package/dist/chunks/{filesystem-ft0syenm.js → integration-059g8d4k.js} +42 -42
  9. package/dist/chunks/{filesystem-z6qgms2n.js → integration-09bav2z1.js} +24 -24
  10. package/dist/chunks/{filesystem-0paq2nw3.js → integration-0paq2nw3.js} +1 -1
  11. package/dist/chunks/{filesystem-hkh5g506.js → integration-0pkcqgb8.js} +4 -4
  12. package/dist/chunks/{filesystem-ncfw2m6a.js → integration-0sdr36gr.js} +12 -12
  13. package/dist/chunks/{filesystem-0vbcp93d.js → integration-0vbcp93d.js} +2 -2
  14. package/dist/chunks/{filesystem-gwfpf1r0.js → integration-0w9yy26a.js} +25 -25
  15. package/dist/chunks/{filesystem-jf9xte2j.js → integration-10c2cggk.js} +41 -41
  16. package/dist/chunks/{filesystem-21mjyg2m.js → integration-12nt3trd.js} +13 -13
  17. package/dist/chunks/{filesystem-eb1dxvtt.js → integration-15ps4qk2.js} +10 -10
  18. package/dist/chunks/{filesystem-sfa3hexk.js → integration-182qsfc7.js} +11 -11
  19. package/dist/chunks/{filesystem-zek9rv4e.js → integration-1d069g3z.js} +4 -4
  20. package/dist/chunks/{filesystem-1dazxqgg.js → integration-1dazxqgg.js} +2 -2
  21. package/dist/chunks/{filesystem-1dvck2a7.js → integration-1dvck2a7.js} +2 -2
  22. package/dist/chunks/{filesystem-snf1tfdw.js → integration-1gpb38yh.js} +6 -6
  23. package/dist/chunks/integration-1x11rq2a.js +18 -0
  24. package/dist/chunks/{filesystem-yvxbrs33.js → integration-27qvbgt5.js} +6 -6
  25. package/dist/chunks/{filesystem-2a5m3afh.js → integration-2a5m3afh.js} +1 -1
  26. package/dist/chunks/{filesystem-ez14c0m1.js → integration-2bhqjq49.js} +33 -33
  27. package/dist/chunks/{filesystem-mm0ehgq1.js → integration-2hpn1mkn.js} +23 -23
  28. package/dist/chunks/{filesystem-qyfgy2gq.js → integration-2mgchxr3.js} +40 -40
  29. package/dist/chunks/{filesystem-qmqgtz8f.js → integration-2mq1h16s.js} +9 -9
  30. package/dist/chunks/{filesystem-k5981vyk.js → integration-2pjeg2z2.js} +11 -11
  31. package/dist/chunks/{filesystem-1178x954.js → integration-2r0bvek1.js} +16 -16
  32. package/dist/chunks/{filesystem-dqz32msn.js → integration-2tbf8h14.js} +8 -8
  33. package/dist/chunks/{filesystem-demj5k7q.js → integration-364vmrdx.js} +10 -10
  34. package/dist/chunks/{filesystem-s7pdhzrp.js → integration-36geq38g.js} +10 -10
  35. package/dist/chunks/{filesystem-3fc6dm20.js → integration-3fc6dm20.js} +1 -1
  36. package/dist/chunks/{filesystem-3hepkmqq.js → integration-3hepkmqq.js} +1 -1
  37. package/dist/chunks/{filesystem-3smtnn6g.js → integration-3smtnn6g.js} +1 -1
  38. package/dist/chunks/{filesystem-p2nmdyzb.js → integration-3td726cc.js} +10 -10
  39. package/dist/chunks/{filesystem-3tvqynh2.js → integration-3tvqynh2.js} +1 -1
  40. package/dist/chunks/{filesystem-2d5yxwhn.js → integration-3z1s4062.js} +5 -5
  41. package/dist/chunks/{filesystem-s85m4ty3.js → integration-3zfapb4y.js} +5 -5
  42. package/dist/chunks/{filesystem-3zsf4n22.js → integration-3zsf4n22.js} +1 -1
  43. package/dist/chunks/{filesystem-hf0fjtc4.js → integration-437d4mrk.js} +10 -10
  44. package/dist/chunks/{filesystem-vr31stga.js → integration-44pjd4av.js} +3 -3
  45. package/dist/chunks/{filesystem-5c67hs8w.js → integration-47bw3wc2.js} +34 -34
  46. package/dist/chunks/{filesystem-5s1dr8ae.js → integration-4aysm09v.js} +3 -3
  47. package/dist/chunks/{filesystem-fx0ft7bw.js → integration-4m2mj6tb.js} +14 -14
  48. package/dist/chunks/{filesystem-vafjtnbs.js → integration-4t0cy9j5.js} +10 -10
  49. package/dist/chunks/{filesystem-4ts7tf6z.js → integration-4ts7tf6z.js} +2 -2
  50. package/dist/chunks/{filesystem-nrdmrqsx.js → integration-50mzsvk4.js} +4 -4
  51. package/dist/chunks/{filesystem-54ma36ye.js → integration-54ma36ye.js} +1 -1
  52. package/dist/chunks/{filesystem-56gdpj1q.js → integration-56gdpj1q.js} +2 -2
  53. package/dist/chunks/{filesystem-7gk56s9p.js → integration-5as938m0.js} +20 -20
  54. package/dist/chunks/{filesystem-5daktx2q.js → integration-5daktx2q.js} +1 -1
  55. package/dist/chunks/{filesystem-kf3zv6hf.js → integration-5ga7frt9.js} +11 -11
  56. package/dist/chunks/{filesystem-v8r5by3x.js → integration-5rtzacxx.js} +86 -86
  57. package/dist/chunks/{filesystem-5t3nmthw.js → integration-5t3nmthw.js} +2 -2
  58. package/dist/chunks/{filesystem-5nv1sxm7.js → integration-5wewtars.js} +8 -8
  59. package/dist/chunks/{filesystem-pw0ckph3.js → integration-63rkghem.js} +12 -12
  60. package/dist/chunks/{filesystem-669tq793.js → integration-669tq793.js} +1 -1
  61. package/dist/chunks/{filesystem-fme8rgsj.js → integration-67bcdt02.js} +4 -4
  62. package/dist/chunks/{filesystem-3wdkwvwj.js → integration-6axkqqzx.js} +20 -20
  63. package/dist/chunks/{filesystem-jyj71esj.js → integration-6ccjf041.js} +22 -22
  64. package/dist/chunks/{filesystem-mt3dh78v.js → integration-6f7e58gh.js} +17 -17
  65. package/dist/chunks/{filesystem-7g0a4xbf.js → integration-6kce7tyw.js} +5 -5
  66. package/dist/chunks/{filesystem-jervv9x6.js → integration-6kgskxtw.js} +8 -8
  67. package/dist/chunks/{filesystem-jeegv1qz.js → integration-6sq8rwkz.js} +30 -30
  68. package/dist/chunks/{filesystem-1pb87kts.js → integration-6thvw283.js} +10 -10
  69. package/dist/chunks/{filesystem-1nwxscpy.js → integration-6vq97qmv.js} +5 -5
  70. package/dist/chunks/{filesystem-71az546q.js → integration-71az546q.js} +2 -2
  71. package/dist/chunks/{filesystem-zr4r5d69.js → integration-73wqrjv7.js} +38 -38
  72. package/dist/chunks/{filesystem-ht5zbj26.js → integration-78q6c2fx.js} +2 -2
  73. package/dist/chunks/{filesystem-7bmhse3q.js → integration-7bmhse3q.js} +1 -1
  74. package/dist/chunks/{filesystem-z7bsjx09.js → integration-7e699zbw.js} +8 -8
  75. package/dist/chunks/{filesystem-86mzb83b.js → integration-7k3tsvew.js} +18 -18
  76. package/dist/chunks/{filesystem-hj8vgj88.js → integration-7tvajnyd.js} +15 -15
  77. package/dist/chunks/{filesystem-w1eejvng.js → integration-84txncab.js} +5 -5
  78. package/dist/chunks/{filesystem-8d7r5vzw.js → integration-8d7r5vzw.js} +1 -1
  79. package/dist/chunks/{filesystem-rt07f39r.js → integration-8dq1fk7d.js} +33 -33
  80. package/dist/chunks/{filesystem-5cpk2dg7.js → integration-8pwanctq.js} +27 -27
  81. package/dist/chunks/{filesystem-b4twkq7r.js → integration-8sze2n9a.js} +2 -2
  82. package/dist/chunks/{filesystem-qbqbaz6q.js → integration-8tsdq50x.js} +4 -4
  83. package/dist/chunks/{filesystem-tfryn9s8.js → integration-8xv9sd1s.js} +65 -65
  84. package/dist/chunks/{filesystem-c8bydgjz.js → integration-93ygb5af.js} +6 -6
  85. package/dist/chunks/{filesystem-xmcfxvam.js → integration-94bdwtsf.js} +8 -8
  86. package/dist/chunks/{filesystem-e66qqpgz.js → integration-95ce5he8.js} +20 -20
  87. package/dist/chunks/{filesystem-p4pj0byg.js → integration-99y9v2v8.js} +15 -15
  88. package/dist/chunks/{filesystem-9e5bzkjp.js → integration-9e5bzkjp.js} +3 -3
  89. package/dist/chunks/{filesystem-h6gabqmb.js → integration-9hrtr6at.js} +15 -15
  90. package/dist/chunks/{filesystem-r9jqn31q.js → integration-9yb5hbzy.js} +11 -11
  91. package/dist/chunks/{filesystem-2kn5e7ew.js → integration-a5cd7ghd.js} +11 -11
  92. package/dist/chunks/{filesystem-aaet6srn.js → integration-aaet6srn.js} +2 -2
  93. package/dist/chunks/{filesystem-secpxc4k.js → integration-aaxz4sa2.js} +13 -13
  94. package/dist/chunks/{filesystem-9k8khh75.js → integration-ajzsbz6h.js} +6 -6
  95. package/dist/chunks/{filesystem-b49trrwf.js → integration-amt0hrp4.js} +12 -12
  96. package/dist/chunks/{filesystem-dhcb13vn.js → integration-b1xr1x42.js} +11 -11
  97. package/dist/chunks/{filesystem-b6gygkdw.js → integration-b6gygkdw.js} +2 -2
  98. package/dist/chunks/{filesystem-2wcm31wb.js → integration-bae1t5en.js} +31 -31
  99. package/dist/chunks/{filesystem-5xtsng1h.js → integration-baf0qrbw.js} +21 -21
  100. package/dist/chunks/{filesystem-bp3dz00c.js → integration-bpghjdxg.js} +9 -9
  101. package/dist/chunks/{filesystem-6y4y1s1z.js → integration-c1rf6c5j.js} +22 -22
  102. package/dist/chunks/{filesystem-xd0jjt73.js → integration-c5rw0wtq.js} +7 -7
  103. package/dist/chunks/{filesystem-7mqtmdfv.js → integration-cbejjvrn.js} +1 -1
  104. package/dist/chunks/{filesystem-g4kgyb8v.js → integration-ck8npcm5.js} +11 -11
  105. package/dist/chunks/{filesystem-qhrb4a35.js → integration-cx9dmp5e.js} +22 -22
  106. package/dist/chunks/{filesystem-n8df4ymx.js → integration-cyc0aq1c.js} +5 -5
  107. package/dist/chunks/{filesystem-20yrtfvs.js → integration-d0rvbpjq.js} +27 -27
  108. package/dist/chunks/{filesystem-6hxqkvwn.js → integration-dcbfppex.js} +3 -3
  109. package/dist/chunks/{filesystem-nqw83y6t.js → integration-dh0hfq08.js} +41 -41
  110. package/dist/chunks/{filesystem-dpkg50ah.js → integration-dpkg50ah.js} +1 -1
  111. package/dist/chunks/{filesystem-nqxj0yn4.js → integration-drnf6xwf.js} +2 -2
  112. package/dist/chunks/{filesystem-kjfdeayr.js → integration-drz29mpb.js} +8 -8
  113. package/dist/chunks/{filesystem-9mbktg3q.js → integration-dswj8cse.js} +6 -6
  114. package/dist/chunks/{filesystem-q86s7tss.js → integration-dyfm8r99.js} +32 -32
  115. package/dist/chunks/{filesystem-eh93c3s7.js → integration-dynn18yc.js} +9 -9
  116. package/dist/chunks/{filesystem-44e8p68v.js → integration-e53aj9j0.js} +3 -3
  117. package/dist/chunks/{filesystem-jkgq88nr.js → integration-e7rw0n7p.js} +10 -10
  118. package/dist/chunks/{filesystem-zfs19yjd.js → integration-e9f2mhvv.js} +18 -18
  119. package/dist/chunks/{filesystem-a1548wxn.js → integration-eak4wr82.js} +4 -4
  120. package/dist/chunks/{filesystem-ef5x83kb.js → integration-ef5x83kb.js} +1 -1
  121. package/dist/chunks/{filesystem-nkdq3f4j.js → integration-efpk4dhb.js} +17 -17
  122. package/dist/chunks/{filesystem-epephavf.js → integration-ek2swa8c.js} +11 -11
  123. package/dist/chunks/{filesystem-etq0c3wd.js → integration-etq0c3wd.js} +1 -1
  124. package/dist/chunks/{filesystem-d3efwvz5.js → integration-ewgaz5v5.js} +48 -48
  125. package/dist/chunks/{filesystem-7tbpabav.js → integration-ezzcxqxt.js} +18 -18
  126. package/dist/chunks/{filesystem-2pb4n73y.js → integration-f54m0es2.js} +8 -8
  127. package/dist/chunks/{filesystem-dhmh7aw6.js → integration-f73rjn58.js} +4 -4
  128. package/dist/chunks/{filesystem-e53c762s.js → integration-fb2ye723.js} +4 -4
  129. package/dist/chunks/{filesystem-0b5d4wqg.js → integration-fk1hhqe8.js} +21 -21
  130. package/dist/chunks/{filesystem-rz34hq66.js → integration-fkhaayz1.js} +11 -11
  131. package/dist/chunks/{filesystem-dt1mmnkg.js → integration-fn0fz36k.js} +50 -50
  132. package/dist/chunks/{filesystem-qgyv1dwh.js → integration-ftbjc7m9.js} +3 -3
  133. package/dist/chunks/{filesystem-vr6dg64g.js → integration-ftpymj1c.js} +3 -3
  134. package/dist/chunks/{filesystem-wjk84ptv.js → integration-fxfthc9k.js} +23 -23
  135. package/dist/chunks/{filesystem-gd4qta3r.js → integration-gd4qta3r.js} +1 -1
  136. package/dist/chunks/{filesystem-2wdzasa3.js → integration-gf6ymv0v.js} +23 -23
  137. package/dist/chunks/{filesystem-b674v2dg.js → integration-gj71zhbs.js} +5 -5
  138. package/dist/chunks/integration-gkcn6gmx.js +507 -0
  139. package/dist/chunks/{filesystem-4a0nv7mx.js → integration-gs3s1a1g.js} +8 -8
  140. package/dist/chunks/{filesystem-fnnra18v.js → integration-gsyvhc7r.js} +10 -10
  141. package/dist/chunks/{filesystem-dypdz9hf.js → integration-h08dmcw2.js} +24 -24
  142. package/dist/chunks/{filesystem-h2b79v29.js → integration-h2b79v29.js} +2 -2
  143. package/dist/chunks/{filesystem-h6vf3j39.js → integration-h6vf3j39.js} +1 -1
  144. package/dist/chunks/{filesystem-ap0z94yk.js → integration-h839y2mj.js} +1 -1
  145. package/dist/chunks/{filesystem-vnqerq2z.js → integration-hcjvc488.js} +13 -13
  146. package/dist/chunks/{filesystem-j7qdy4kr.js → integration-hdvg1gvn.js} +13 -13
  147. package/dist/chunks/{filesystem-w8djw5a7.js → integration-hes1j7ga.js} +9 -9
  148. package/dist/chunks/{filesystem-m4fxjmpc.js → integration-hn59rpgc.js} +7 -7
  149. package/dist/chunks/{filesystem-bd0wg847.js → integration-hnzzq30y.js} +33 -33
  150. package/dist/chunks/{filesystem-kteg0bd6.js → integration-hpvhmm83.js} +11 -11
  151. package/dist/chunks/{filesystem-e656h771.js → integration-hs99w951.js} +24 -24
  152. package/dist/chunks/{filesystem-j56e64zr.js → integration-j56e64zr.js} +1 -1
  153. package/dist/chunks/{filesystem-espax8zg.js → integration-j8m1p4p1.js} +4 -4
  154. package/dist/chunks/{filesystem-3cy6ygha.js → integration-jeeg5a9e.js} +7 -7
  155. package/dist/chunks/{filesystem-m4g8rqwq.js → integration-jfkkd3by.js} +9 -9
  156. package/dist/chunks/{filesystem-da721fkj.js → integration-jjrmnxqj.js} +8 -8
  157. package/dist/chunks/{filesystem-h4bey8yr.js → integration-jmwxft0s.js} +16 -16
  158. package/dist/chunks/{filesystem-h31epwvj.js → integration-jtqj10x6.js} +16 -16
  159. package/dist/chunks/{filesystem-0p056far.js → integration-jvm9t07m.js} +44 -44
  160. package/dist/chunks/{filesystem-72gzdak0.js → integration-jvr8zy6y.js} +17 -17
  161. package/dist/chunks/{filesystem-aej1k0m3.js → integration-jwpqm9ac.js} +16 -16
  162. package/dist/chunks/{filesystem-hz0q9sdq.js → integration-k1qrnqst.js} +8 -8
  163. package/dist/chunks/{filesystem-gbm58kyz.js → integration-k65ws0vd.js} +20 -20
  164. package/dist/chunks/{filesystem-k70p9jzb.js → integration-k70p9jzb.js} +2 -2
  165. package/dist/chunks/{filesystem-en2hpwz4.js → integration-k8p5y4yf.js} +8 -8
  166. package/dist/chunks/{filesystem-z5earm0j.js → integration-kdnhcbq7.js} +13 -13
  167. package/dist/chunks/{filesystem-z2fhbmnd.js → integration-kevdh1wn.js} +20 -20
  168. package/dist/chunks/{filesystem-ppnybpah.js → integration-kya9eqe7.js} +17 -17
  169. package/dist/chunks/{filesystem-m3fdjcah.js → integration-m3fdjcah.js} +1 -1
  170. package/dist/chunks/{filesystem-m9w0rfyh.js → integration-m9w0rfyh.js} +1 -1
  171. package/dist/chunks/{filesystem-gx4wbphy.js → integration-me248f9r.js} +8 -8
  172. package/dist/chunks/{filesystem-a1gpj94z.js → integration-mvfsc1pv.js} +3 -3
  173. package/dist/chunks/{filesystem-arz7hw7x.js → integration-my4zabxr.js} +2 -2
  174. package/dist/chunks/{filesystem-eycb1p8a.js → integration-mz0batb7.js} +16 -16
  175. package/dist/chunks/{filesystem-n1n192bv.js → integration-n1n192bv.js} +1 -1
  176. package/dist/chunks/{filesystem-68dcddmz.js → integration-n57qrn3a.js} +4 -4
  177. package/dist/chunks/{filesystem-8zz7qfd2.js → integration-n95h65z6.js} +12 -12
  178. package/dist/chunks/{filesystem-jw6e3k9x.js → integration-nb71avvx.js} +22 -22
  179. package/dist/chunks/{filesystem-bhmagzz7.js → integration-nb8snq9w.js} +5 -5
  180. package/dist/chunks/{filesystem-tv0940e9.js → integration-nph354g2.js} +44 -44
  181. package/dist/chunks/{filesystem-ns3eape4.js → integration-ns3eape4.js} +1 -1
  182. package/dist/chunks/{filesystem-vt69289g.js → integration-p7ns63w7.js} +83 -83
  183. package/dist/chunks/{filesystem-fahsxrte.js → integration-pcw6nez0.js} +11 -11
  184. package/dist/chunks/{filesystem-cmwkp3r5.js → integration-phstrbs2.js} +8 -8
  185. package/dist/chunks/{filesystem-pjvnvgmy.js → integration-pjvnvgmy.js} +1 -1
  186. package/dist/chunks/{filesystem-pknna89w.js → integration-pknna89w.js} +1 -1
  187. package/dist/chunks/{filesystem-64dva6qk.js → integration-pwwh9sf2.js} +15 -15
  188. package/dist/chunks/{filesystem-fsxfdkb2.js → integration-pxdpczns.js} +17 -17
  189. package/dist/chunks/{filesystem-q0xm7vwc.js → integration-q0xm7vwc.js} +2 -2
  190. package/dist/chunks/{filesystem-t35etwb9.js → integration-q38jhh9n.js} +11 -11
  191. package/dist/chunks/{filesystem-d19qcdcp.js → integration-qc8mjd15.js} +24 -24
  192. package/dist/chunks/{filesystem-7dqw4kz8.js → integration-qgn6gcr1.js} +5 -5
  193. package/dist/chunks/{filesystem-b1ejk53y.js → integration-qk9xt7fd.js} +26 -26
  194. package/dist/chunks/{filesystem-tx57kkma.js → integration-qknqrzbr.js} +23 -23
  195. package/dist/chunks/{filesystem-fjt2jd2k.js → integration-qn2r1ksk.js} +38 -38
  196. package/dist/chunks/{filesystem-qnc92qwc.js → integration-qnc92qwc.js} +1 -1
  197. package/dist/chunks/{filesystem-jmn6tp13.js → integration-qq29j3a7.js} +3 -3
  198. package/dist/chunks/{filesystem-qsdy395h.js → integration-qsdy395h.js} +1 -1
  199. package/dist/chunks/{filesystem-qxjc9qry.js → integration-qxjc9qry.js} +3 -3
  200. package/dist/chunks/{filesystem-xew8gt5p.js → integration-qycjd338.js} +24 -24
  201. package/dist/chunks/{filesystem-2k4z4ex5.js → integration-qyd76h05.js} +160 -160
  202. package/dist/chunks/{filesystem-sgma6wrx.js → integration-r1k096zv.js} +25 -25
  203. package/dist/chunks/{filesystem-vvecbeba.js → integration-r45ck8xv.js} +18 -18
  204. package/dist/chunks/{filesystem-dyyz5283.js → integration-r70zs8xd.js} +6 -6
  205. package/dist/chunks/{filesystem-1acjjqhc.js → integration-r8xr0va3.js} +4 -4
  206. package/dist/chunks/{filesystem-rdw6cm16.js → integration-rdw6cm16.js} +1 -1
  207. package/dist/chunks/{filesystem-8606fqv4.js → integration-rf5mjp85.js} +13 -13
  208. package/dist/chunks/{filesystem-zc5g640q.js → integration-rrpq0de9.js} +5 -5
  209. package/dist/chunks/integration-rs7qc95d.js +253 -0
  210. package/dist/chunks/{filesystem-kyc74hmy.js → integration-ryba3xe9.js} +33 -33
  211. package/dist/chunks/{filesystem-sxz6gkc3.js → integration-ryr25ayn.js} +7 -7
  212. package/dist/chunks/{filesystem-te6tp5cr.js → integration-s736qrhc.js} +15 -15
  213. package/dist/chunks/{filesystem-ng5taz21.js → integration-s73zzv6w.js} +9 -9
  214. package/dist/chunks/{filesystem-s8d7rejh.js → integration-s8d7rejh.js} +1 -1
  215. package/dist/chunks/{filesystem-gt8z7hnk.js → integration-s9ezrb6y.js} +7 -7
  216. package/dist/chunks/{filesystem-a1gzp32g.js → integration-sg8r3yze.js} +28 -28
  217. package/dist/chunks/{filesystem-zqaa94x3.js → integration-sz0mghca.js} +46 -46
  218. package/dist/chunks/{filesystem-ddf5b0s2.js → integration-t074mwkm.js} +14 -14
  219. package/dist/chunks/{filesystem-cwvd40hs.js → integration-t2jc65r8.js} +8 -8
  220. package/dist/chunks/{filesystem-nkbqs3g6.js → integration-t2rdrwa0.js} +6 -6
  221. package/dist/chunks/{filesystem-tazgh4e4.js → integration-tazgh4e4.js} +1 -1
  222. package/dist/chunks/{filesystem-tcezcvh9.js → integration-tcezcvh9.js} +1 -1
  223. package/dist/chunks/{filesystem-tdstcens.js → integration-tdstcens.js} +1 -1
  224. package/dist/chunks/{filesystem-6mrppxqh.js → integration-tksgby1q.js} +15 -15
  225. package/dist/chunks/{filesystem-csgf08gg.js → integration-tmq3448p.js} +13 -13
  226. package/dist/chunks/{filesystem-g3wadahe.js → integration-tq71g8ap.js} +11 -11
  227. package/dist/chunks/{filesystem-33y1fd5k.js → integration-tsdsbs35.js} +4 -4
  228. package/dist/chunks/{filesystem-z25t9qfb.js → integration-ty4cs4jg.js} +24 -24
  229. package/dist/chunks/{filesystem-v0es1rhs.js → integration-v0es1rhs.js} +2 -2
  230. package/dist/chunks/{filesystem-ff11qc79.js → integration-v1h4yp45.js} +12 -12
  231. package/dist/chunks/{filesystem-bh7b7fwa.js → integration-v1sp7eaj.js} +15 -15
  232. package/dist/chunks/{filesystem-2e1yz4t0.js → integration-v37ww4g2.js} +22 -22
  233. package/dist/chunks/{filesystem-8bsq9cmc.js → integration-v3m4xybn.js} +9 -9
  234. package/dist/chunks/{filesystem-kevfspn8.js → integration-v4vsdnev.js} +7 -7
  235. package/dist/chunks/{filesystem-0vadek73.js → integration-v9n2vrjc.js} +6 -6
  236. package/dist/chunks/{filesystem-0g731nkn.js → integration-v9se04c1.js} +37 -37
  237. package/dist/chunks/{filesystem-aaxagp5t.js → integration-v9sh5mr6.js} +11 -11
  238. package/dist/chunks/{filesystem-veqvce7d.js → integration-veqvce7d.js} +1 -1
  239. package/dist/chunks/{filesystem-a7cdrn8g.js → integration-vez1q221.js} +5 -5
  240. package/dist/chunks/{filesystem-wnm70ssr.js → integration-vf2vkrrm.js} +16 -16
  241. package/dist/chunks/{filesystem-82p5sc74.js → integration-vsfd28y0.js} +11 -11
  242. package/dist/chunks/{filesystem-61ga223q.js → integration-vsn57w5r.js} +20 -20
  243. package/dist/chunks/{filesystem-vzcthcp8.js → integration-vzcthcp8.js} +1 -1
  244. package/dist/chunks/{filesystem-vzs5sf6e.js → integration-vzs5sf6e.js} +1 -1
  245. package/dist/chunks/{filesystem-0darn3w3.js → integration-w01efpt9.js} +3 -3
  246. package/dist/chunks/{filesystem-05s1xpx9.js → integration-w09704f7.js} +5 -5
  247. package/dist/chunks/{filesystem-ybjb50wp.js → integration-w1e23z43.js} +11 -11
  248. package/dist/chunks/{filesystem-w3wsvvr9.js → integration-w3wsvvr9.js} +1 -1
  249. package/dist/chunks/{filesystem-ptwr3tsj.js → integration-wbr2pe4k.js} +3 -3
  250. package/dist/chunks/{filesystem-wd87259q.js → integration-wd87259q.js} +1 -1
  251. package/dist/chunks/{filesystem-g6yfr6ja.js → integration-wh6zw745.js} +5 -5
  252. package/dist/chunks/{filesystem-1k07r218.js → integration-wk8eqs9r.js} +9 -9
  253. package/dist/chunks/{filesystem-745q83q9.js → integration-wtc5n0mm.js} +12 -12
  254. package/dist/chunks/{filesystem-fcvkxbgs.js → integration-wtntn80s.js} +10 -10
  255. package/dist/chunks/{filesystem-taex66d2.js → integration-wxj8d1rd.js} +3 -3
  256. package/dist/chunks/{filesystem-x1ezjp6w.js → integration-x1ezjp6w.js} +1 -1
  257. package/dist/chunks/{filesystem-addxnjmp.js → integration-x661k3y3.js} +4 -4
  258. package/dist/chunks/{filesystem-f99wh82f.js → integration-x6efas9w.js} +6 -6
  259. package/dist/chunks/{filesystem-c42w5rbs.js → integration-x7wzw7v3.js} +13 -13
  260. package/dist/chunks/{filesystem-mwwxnxty.js → integration-xb50yt4b.js} +4 -4
  261. package/dist/chunks/{filesystem-fwwk8vbp.js → integration-xf8yqmad.js} +9 -9
  262. package/dist/chunks/{filesystem-g5w8qwbj.js → integration-xfkkasph.js} +4 -4
  263. package/dist/chunks/{filesystem-xkntkrq7.js → integration-xkntkrq7.js} +2 -2
  264. package/dist/chunks/{filesystem-50vxqkrt.js → integration-xmq2cvs3.js} +2 -2
  265. package/dist/chunks/{filesystem-ee5sde4w.js → integration-xn294t7g.js} +17 -17
  266. package/dist/chunks/{filesystem-r3z47bx0.js → integration-xtgb57pb.js} +19 -19
  267. package/dist/chunks/{filesystem-ykk2czw6.js → integration-xy0shr52.js} +29 -29
  268. package/dist/chunks/{filesystem-2w3n3m8j.js → integration-xybsyq03.js} +5 -5
  269. package/dist/chunks/{filesystem-y1fvbwt7.js → integration-y1fvbwt7.js} +1 -1
  270. package/dist/chunks/{filesystem-afe1rz3j.js → integration-y58jr7d0.js} +32 -32
  271. package/dist/chunks/{filesystem-5167myhe.js → integration-y5r6xjdq.js} +11 -11
  272. package/dist/chunks/{filesystem-ptnpxtm5.js → integration-y6x6gez8.js} +24 -24
  273. package/dist/chunks/{filesystem-wc87bz9b.js → integration-yqpq5w24.js} +31 -31
  274. package/dist/chunks/{filesystem-zf29esk9.js → integration-yr5xk40b.js} +16 -16
  275. package/dist/chunks/{filesystem-gqk7pm7c.js → integration-yt2wzgk7.js} +31 -31
  276. package/dist/chunks/{filesystem-axs6pdy0.js → integration-yt3hy1g9.js} +5 -5
  277. package/dist/chunks/{filesystem-z0bkrqjs.js → integration-z0bkrqjs.js} +1 -1
  278. package/dist/chunks/{filesystem-mmhfxctp.js → integration-zdsjmnhs.js} +34 -34
  279. package/dist/chunks/{filesystem-zfs8ae4p.js → integration-zfs8ae4p.js} +4 -4
  280. package/dist/chunks/{filesystem-zr2ceqn5.js → integration-zr2ceqn5.js} +1 -1
  281. package/dist/chunks/{filesystem-zxq2ej10.js → integration-zxq2ej10.js} +1 -1
  282. package/dist/chunks/{filesystem-zyk1yjk8.js → integration-zyk1yjk8.js} +2 -2
  283. package/dist/chunks/integration-zzmvmaer.js +26 -0
  284. package/dist/codemode/catalog.js +1 -1
  285. package/dist/codemode/instructions.js +5 -5
  286. package/dist/codemode/tool.js +3 -3
  287. package/dist/codemode/web.js +1 -1
  288. package/dist/command.js +85 -85
  289. package/dist/config/discovery.js +82 -82
  290. package/dist/config/markdown.js +1 -1
  291. package/dist/config/normalize.js +99 -99
  292. package/dist/config/plugin/agent.js +116 -116
  293. package/dist/config/plugin/command.js +205 -205
  294. package/dist/config/plugin/compaction.js +154 -154
  295. package/dist/config/plugin/compatibility.js +134 -134
  296. package/dist/config/plugin/entry-observer.js +1 -1
  297. package/dist/config/plugin/formatter.js +117 -117
  298. package/dist/config/plugin/image.js +116 -116
  299. package/dist/config/plugin/instruction.js +90 -90
  300. package/dist/config/plugin/location-watcher.js +116 -116
  301. package/dist/config/plugin/mcp.js +123 -123
  302. package/dist/config/plugin/policy.js +117 -117
  303. package/dist/config/plugin/provider.js +116 -116
  304. package/dist/config/plugin/reference.js +118 -118
  305. package/dist/config/plugin/shell.js +116 -116
  306. package/dist/config/plugin/skill-file.js +102 -102
  307. package/dist/config/plugin/skill.js +135 -135
  308. package/dist/config/plugin/snapshot.js +116 -116
  309. package/dist/config/plugin/source.js +113 -113
  310. package/dist/config/plugin/tool-output.js +117 -117
  311. package/dist/config/plugin/websearch.js +115 -115
  312. package/dist/config/plugin/worktree.js +118 -118
  313. package/dist/config/variable.js +3 -3
  314. package/dist/config/watch.js +1 -1
  315. package/dist/config.js +121 -121
  316. package/dist/credential/sql.js +2 -2
  317. package/dist/credential.js +77 -77
  318. package/dist/database/database.js +66 -66
  319. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  320. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  321. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  322. package/dist/database/drizzle/index.js +13 -13
  323. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  324. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  326. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  327. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  328. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  329. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  333. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  334. package/dist/database/drizzle.js +14 -14
  335. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  336. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  337. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  338. package/dist/database/migration/20260225215848_workspace.js +1 -1
  339. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  340. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  341. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  342. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  343. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  344. package/dist/database/migration/20260323234822_events.js +1 -1
  345. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  346. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  347. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  348. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  349. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  350. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  351. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  352. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  353. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  354. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  355. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  356. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  357. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  358. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  359. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  360. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  361. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  362. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  363. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  364. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  365. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  366. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  367. package/dist/database/migration/20260611035744_credential.js +1 -1
  368. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  369. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  370. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  371. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  372. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  373. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  374. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  375. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  376. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  377. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  378. package/dist/database/migration/20260812213948_worktree.js +1 -1
  379. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  380. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  381. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  382. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  383. package/dist/database/migration.gen.js +49 -49
  384. package/dist/database/migration.js +51 -51
  385. package/dist/database/path.js +2 -2
  386. package/dist/database/schema.gen.js +1 -1
  387. package/dist/database/schema.sql.js +1 -1
  388. package/dist/database/sqlite.bun.js +1 -1
  389. package/dist/database/sqlite.js +1 -1
  390. package/dist/database/sqlite.node.js +1 -1
  391. package/dist/database/sqlite.workerd.js +1 -1
  392. package/dist/database/v1-migration.bun.js +76 -76
  393. package/dist/database/v1-migration.js +1 -1
  394. package/dist/effect/app-node-builder.js +363 -363
  395. package/dist/effect/app-node-platform.js +2 -2
  396. package/dist/effect/keyed-mutex.js +1 -1
  397. package/dist/effect/websocket-constructor.js +1 -1
  398. package/dist/environment/driver.js +1 -1
  399. package/dist/environment/environment.js +93 -93
  400. package/dist/environment/exec-defaults.js +2 -2
  401. package/dist/environment/files.js +1 -1
  402. package/dist/environment/index.js +95 -95
  403. package/dist/environment/local.js +2 -2
  404. package/dist/environment/memory.js +2 -2
  405. package/dist/environment/unavailable.js +1 -1
  406. package/dist/event/sql.js +1 -1
  407. package/dist/event-logger.js +70 -70
  408. package/dist/file-access.js +104 -104
  409. package/dist/file-mutation.js +94 -94
  410. package/dist/file-retention.js +1 -1
  411. package/dist/filesystem/fff.bun.js +2 -2
  412. package/dist/filesystem/fff.js +1 -1
  413. package/dist/filesystem/fff.node.js +2 -2
  414. package/dist/filesystem/fff.workerd.js +2 -2
  415. package/dist/filesystem/location-watcher-policy.js +6 -6
  416. package/dist/filesystem/location-watcher.js +218 -218
  417. package/dist/filesystem/protected.js +1 -1
  418. package/dist/filesystem/search.js +103 -103
  419. package/dist/filesystem/watcher-binding.js +1 -1
  420. package/dist/filesystem/watcher.js +15 -15
  421. package/dist/filesystem.js +102 -102
  422. package/dist/form.js +80 -80
  423. package/dist/formatter/builtins.js +4 -4
  424. package/dist/formatter.js +87 -87
  425. package/dist/generate.js +97 -97
  426. package/dist/git.js +6 -6
  427. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  428. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  429. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  430. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  431. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  432. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  433. package/dist/github-copilot/copilot-provider.js +17 -17
  434. package/dist/github-copilot/models.js +91 -91
  435. package/dist/github-copilot/openai-compatible-error.js +1 -1
  436. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  437. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  438. package/dist/github-copilot/responses/openai-error.js +1 -1
  439. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  440. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  441. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  442. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  443. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  444. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  445. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  446. package/dist/image/photon.js +2 -2
  447. package/dist/image.js +6 -6
  448. package/dist/instance/service.js +5 -5
  449. package/dist/instance.js +354 -354
  450. package/dist/instruction-discovery.js +85 -85
  451. package/dist/instructions/builtins.js +87 -87
  452. package/dist/instructions/index.js +1 -1
  453. package/dist/integration/connection.js +3 -3
  454. package/dist/integration.js +85 -85
  455. package/dist/job.js +76 -76
  456. package/dist/kv/sql.js +2 -2
  457. package/dist/kv.js +73 -73
  458. package/dist/location-activity.js +131 -131
  459. package/dist/location-lifecycle.js +107 -107
  460. package/dist/location-service-map.js +86 -86
  461. package/dist/location-services.js +351 -351
  462. package/dist/location.js +81 -81
  463. package/dist/managed-policy.js +5 -5
  464. package/dist/mcp/client.js +91 -91
  465. package/dist/mcp/index.js +109 -109
  466. package/dist/mcp/instructions.js +129 -129
  467. package/dist/mcp/oauth.js +75 -75
  468. package/dist/mcp/stdio.js +90 -90
  469. package/dist/mime.js +1 -1
  470. package/dist/modal/models.js +91 -91
  471. package/dist/model-resolver.js +98 -98
  472. package/dist/model.js +102 -102
  473. package/dist/models-dev.js +101 -101
  474. package/dist/oauth/page.js +1 -1
  475. package/dist/permission/saved.js +78 -78
  476. package/dist/permission/sql.js +5 -5
  477. package/dist/permission.js +109 -109
  478. package/dist/persistent-pty/binary.bun.js +1 -1
  479. package/dist/persistent-pty/daemon.js +1 -1
  480. package/dist/persistent-pty/index.js +88 -88
  481. package/dist/persistent-pty/pty-binding.js +1 -1
  482. package/dist/persistent-pty.js +75 -75
  483. package/dist/plugin/agent.js +102 -102
  484. package/dist/plugin/command.js +100 -100
  485. package/dist/plugin/hooks.js +5 -5
  486. package/dist/plugin/host.js +211 -211
  487. package/dist/plugin/identity.js +3 -3
  488. package/dist/plugin/instance.js +5 -5
  489. package/dist/plugin/internal.js +326 -326
  490. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  491. package/dist/plugin/models-dev.js +96 -96
  492. package/dist/plugin/module.js +7 -7
  493. package/dist/plugin/optimize.js +2 -2
  494. package/dist/plugin/plan.js +102 -102
  495. package/dist/plugin/promise.js +1 -1
  496. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  497. package/dist/plugin/provider/azure.js +117 -117
  498. package/dist/plugin/provider/cerebras.js +1 -1
  499. package/dist/plugin/provider/chatgpt.js +93 -93
  500. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  501. package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
  502. package/dist/plugin/provider/cohere.js +2 -2
  503. package/dist/plugin/provider/configured.js +112 -112
  504. package/dist/plugin/provider/digitalocean.js +93 -93
  505. package/dist/plugin/provider/dynamic.js +2 -2
  506. package/dist/plugin/provider/factory.js +1 -1
  507. package/dist/plugin/provider/gateway.js +2 -2
  508. package/dist/plugin/provider/github-copilot.js +95 -95
  509. package/dist/plugin/provider/gitlab.js +93 -93
  510. package/dist/plugin/provider/google-vertex.js +90 -90
  511. package/dist/plugin/provider/kilo.js +1 -1
  512. package/dist/plugin/provider/llmgateway.js +78 -78
  513. package/dist/plugin/provider/lmstudio.js +115 -115
  514. package/dist/plugin/provider/modal.js +92 -92
  515. package/dist/plugin/provider/nvidia.js +1 -1
  516. package/dist/plugin/provider/ollama.js +115 -115
  517. package/dist/plugin/provider/openai.js +93 -93
  518. package/dist/plugin/provider/opencode.js +96 -96
  519. package/dist/plugin/provider/openrouter.js +91 -91
  520. package/dist/plugin/provider/perplexity.js +2 -2
  521. package/dist/plugin/provider/poe.js +79 -79
  522. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  523. package/dist/plugin/provider/sap-ai-core.js +91 -91
  524. package/dist/plugin/provider/sdk-factory.js +1 -1
  525. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  526. package/dist/plugin/provider/vercel.js +90 -90
  527. package/dist/plugin/provider/vllm.js +115 -115
  528. package/dist/plugin/provider/xai.js +91 -91
  529. package/dist/plugin/provider/zenmux.js +1 -1
  530. package/dist/plugin/provider.js +155 -155
  531. package/dist/plugin/sdk.js +76 -76
  532. package/dist/plugin/service.js +3 -3
  533. package/dist/plugin/skill.js +132 -132
  534. package/dist/plugin/source-directory.js +1 -1
  535. package/dist/plugin/supervisor.js +341 -341
  536. package/dist/plugin/tool-input-repair.js +4 -4
  537. package/dist/plugin/update.js +6 -6
  538. package/dist/plugin/vcs/git.js +86 -86
  539. package/dist/plugin/vcs/hg.js +86 -86
  540. package/dist/plugin/verbosity.js +93 -93
  541. package/dist/plugin/warming.js +114 -114
  542. package/dist/plugin/websearch/exa.js +7 -7
  543. package/dist/plugin/websearch/firecrawl.js +6 -6
  544. package/dist/plugin/websearch/index.js +9 -9
  545. package/dist/plugin/websearch/mcp.js +2 -2
  546. package/dist/plugin/websearch/parallel.js +8 -8
  547. package/dist/plugin/websearch/tavily.js +4 -4
  548. package/dist/plugin/websearch/tinyfish.js +6 -6
  549. package/dist/plugin.js +218 -218
  550. package/dist/project/schema.js +2 -2
  551. package/dist/project/sql.js +4 -4
  552. package/dist/project.js +80 -80
  553. package/dist/provider.js +97 -97
  554. package/dist/pty/protocol.js +1 -1
  555. package/dist/pty/ticket.js +1 -1
  556. package/dist/pty.js +99 -99
  557. package/dist/reference/instructions.js +89 -89
  558. package/dist/reference.js +91 -91
  559. package/dist/repository-cache.js +81 -81
  560. package/dist/repository.js +3 -3
  561. package/dist/ripgrep/binary.js +2 -2
  562. package/dist/ripgrep.js +97 -97
  563. package/dist/rpc.js +86 -86
  564. package/dist/schema.js +1 -1
  565. package/dist/session/affinity.js +1 -1
  566. package/dist/session/command.js +74 -74
  567. package/dist/session/compaction.js +135 -135
  568. package/dist/session/context.js +153 -153
  569. package/dist/session/diff.js +88 -88
  570. package/dist/session/environment.js +5 -5
  571. package/dist/session/error.js +5 -5
  572. package/dist/session/event.js +1 -1
  573. package/dist/session/execution/restart.js +214 -214
  574. package/dist/session/execution.js +127 -127
  575. package/dist/session/generate.js +152 -152
  576. package/dist/session/history.js +13 -13
  577. package/dist/session/inbox.js +90 -90
  578. package/dist/session/info.js +3 -3
  579. package/dist/session/instruction-entry.js +79 -79
  580. package/dist/session/instruction-state.js +8 -8
  581. package/dist/session/instructions.js +97 -97
  582. package/dist/session/message-updater.js +2 -2
  583. package/dist/session/message.js +1 -1
  584. package/dist/session/model-request.js +120 -120
  585. package/dist/session/model-transport.js +9 -9
  586. package/dist/session/move.js +129 -129
  587. package/dist/session/projector.js +86 -86
  588. package/dist/session/prompt.js +105 -105
  589. package/dist/session/provider-context.js +1 -1
  590. package/dist/session/revert.js +90 -90
  591. package/dist/session/run-coordinator.js +3 -3
  592. package/dist/session/runner/index.js +3 -3
  593. package/dist/session/runner/llm.js +224 -224
  594. package/dist/session/runner/max-steps.js +1 -1
  595. package/dist/session/runner/model.js +98 -98
  596. package/dist/session/runner/publish-llm-event.js +113 -113
  597. package/dist/session/runner/retry.js +2 -2
  598. package/dist/session/runner/step.js +123 -123
  599. package/dist/session/runner/to-llm-message.js +2 -2
  600. package/dist/session/schema.js +3 -3
  601. package/dist/session/session.js +164 -164
  602. package/dist/session/shell.js +130 -130
  603. package/dist/session/skill.js +103 -103
  604. package/dist/session/sql.js +5 -5
  605. package/dist/session/stats.js +73 -73
  606. package/dist/session/store.js +85 -85
  607. package/dist/session/subagent-completion.js +1 -1
  608. package/dist/session/subagent-job.js +201 -201
  609. package/dist/session/system-prompt.js +3 -3
  610. package/dist/session/title.js +155 -155
  611. package/dist/session/to-session-error.js +111 -111
  612. package/dist/session/transfer.js +207 -207
  613. package/dist/session/usage.js +1 -1
  614. package/dist/session.js +209 -209
  615. package/dist/shell/parse.js +6 -6
  616. package/dist/shell/result.js +1 -1
  617. package/dist/shell/scan.js +1 -1
  618. package/dist/shell/select.js +15 -15
  619. package/dist/shell.js +130 -130
  620. package/dist/skill/discovery.js +2 -2
  621. package/dist/skill/instructions.js +105 -105
  622. package/dist/skill.js +114 -114
  623. package/dist/snapshot.js +89 -89
  624. package/dist/state.js +1 -1
  625. package/dist/tool/html-markdown.js +1 -1
  626. package/dist/tool/http-body.js +1 -1
  627. package/dist/tool/mcp.js +126 -126
  628. package/dist/tool/plugin/edit.js +120 -120
  629. package/dist/tool/plugin/file-diff.js +1 -1
  630. package/dist/tool/plugin/glob.js +124 -124
  631. package/dist/tool/plugin/grep.js +124 -124
  632. package/dist/tool/plugin/mcp-resource.js +117 -117
  633. package/dist/tool/plugin/opencode.js +3 -3
  634. package/dist/tool/plugin/patch.js +122 -122
  635. package/dist/tool/plugin/question.js +101 -101
  636. package/dist/tool/plugin/read.js +123 -123
  637. package/dist/tool/plugin/shell.js +208 -208
  638. package/dist/tool/plugin/skill.js +107 -107
  639. package/dist/tool/plugin/subagent.js +210 -210
  640. package/dist/tool/plugin/webfetch.js +110 -110
  641. package/dist/tool/plugin/websearch.js +112 -112
  642. package/dist/tool/plugin/write.js +122 -122
  643. package/dist/tool/read-filesystem.js +100 -100
  644. package/dist/tool/runtime.js +1 -1
  645. package/dist/tool-output.js +7 -7
  646. package/dist/tool.js +14 -14
  647. package/dist/util/error-summary.js +1 -1
  648. package/dist/util/error.js +1 -1
  649. package/dist/util/git-executable.js +2 -2
  650. package/dist/util/iife.js +1 -1
  651. package/dist/util/lazy.js +1 -1
  652. package/dist/util/slug.js +1 -1
  653. package/dist/util/token.js +1 -1
  654. package/dist/util/which.js +1 -1
  655. package/dist/util/wildcard.js +1 -1
  656. package/dist/v1/config/agent.js +5 -5
  657. package/dist/v1/config/command.js +5 -5
  658. package/dist/v1/config/error.js +2 -2
  659. package/dist/v1/config/mcp.js +4 -4
  660. package/dist/v1/config/migrate.js +92 -92
  661. package/dist/v1/config/permission.js +3 -3
  662. package/dist/v1/config/plugin.js +3 -3
  663. package/dist/v1/config/provider-options.js +1 -1
  664. package/dist/v1/config/provider.js +4 -4
  665. package/dist/variant.js +91 -91
  666. package/dist/vcs/patch.js +1 -1
  667. package/dist/vcs.js +85 -85
  668. package/dist/websearch.js +76 -76
  669. package/dist/wellknown/plugin.js +76 -76
  670. package/dist/wellknown.js +81 -81
  671. package/dist/workspace/driver.js +3 -3
  672. package/dist/workspace/sql.js +1 -1
  673. package/dist/workspace.js +78 -78
  674. package/dist/worktree/directory.js +2 -2
  675. package/dist/worktree/git.js +10 -10
  676. package/dist/worktree/sql.js +5 -5
  677. package/dist/worktree/strategies.js +89 -89
  678. package/dist/worktree.js +98 -98
  679. package/package.json +8 -8
  680. package/dist/chunks/filesystem-2za63s1q.js +0 -507
  681. package/dist/chunks/filesystem-brhkvxaw.js +0 -253
  682. package/dist/chunks/filesystem-ctefx7dc.js +0 -18
  683. package/dist/chunks/filesystem-q0w5zgnd.js +0 -26
  684. /package/dist/chunks/{filesystem-0qkdqm5v.js → integration-0qkdqm5v.js} +0 -0
  685. /package/dist/chunks/{filesystem-0zkw76rk.js → integration-0zkw76rk.js} +0 -0
  686. /package/dist/chunks/{filesystem-17cy0kzp.js → integration-17cy0kzp.js} +0 -0
  687. /package/dist/chunks/{filesystem-1cnp2v09.js → integration-1cnp2v09.js} +0 -0
  688. /package/dist/chunks/{filesystem-1kg9ymc8.js → integration-1kg9ymc8.js} +0 -0
  689. /package/dist/chunks/{filesystem-24dcb14g.js → integration-24dcb14g.js} +0 -0
  690. /package/dist/chunks/{filesystem-2710q6r3.js → integration-2710q6r3.js} +0 -0
  691. /package/dist/chunks/{filesystem-2axfhc9x.js → integration-2axfhc9x.js} +0 -0
  692. /package/dist/chunks/{filesystem-2c3vjs8z.js → integration-2c3vjs8z.js} +0 -0
  693. /package/dist/chunks/{filesystem-34c7v6d4.js → integration-34c7v6d4.js} +0 -0
  694. /package/dist/chunks/{filesystem-359p4xyc.js → integration-359p4xyc.js} +0 -0
  695. /package/dist/chunks/{filesystem-3asan66x.js → integration-3asan66x.js} +0 -0
  696. /package/dist/chunks/{filesystem-3t0ybcrp.js → integration-3t0ybcrp.js} +0 -0
  697. /package/dist/chunks/{filesystem-3v8g72cx.js → integration-3v8g72cx.js} +0 -0
  698. /package/dist/chunks/{filesystem-3w5fmr99.js → integration-3w5fmr99.js} +0 -0
  699. /package/dist/chunks/{filesystem-3wcehsnq.js → integration-3wcehsnq.js} +0 -0
  700. /package/dist/chunks/{filesystem-43n2bw4t.js → integration-43n2bw4t.js} +0 -0
  701. /package/dist/chunks/{filesystem-4knz6hnm.js → integration-4knz6hnm.js} +0 -0
  702. /package/dist/chunks/{filesystem-4vcrnpx2.js → integration-4vcrnpx2.js} +0 -0
  703. /package/dist/chunks/{filesystem-4y7fprxs.js → integration-4y7fprxs.js} +0 -0
  704. /package/dist/chunks/{filesystem-53557ph1.js → integration-53557ph1.js} +0 -0
  705. /package/dist/chunks/{filesystem-550bvhaj.js → integration-550bvhaj.js} +0 -0
  706. /package/dist/chunks/{filesystem-5qd3pb7m.js → integration-5qd3pb7m.js} +0 -0
  707. /package/dist/chunks/{filesystem-6prwharc.js → integration-6prwharc.js} +0 -0
  708. /package/dist/chunks/{filesystem-7akdwqpd.js → integration-7akdwqpd.js} +0 -0
  709. /package/dist/chunks/{filesystem-7m9af43g.js → integration-7m9af43g.js} +0 -0
  710. /package/dist/chunks/{filesystem-822emrt2.js → integration-822emrt2.js} +0 -0
  711. /package/dist/chunks/{filesystem-88xbtdfr.js → integration-88xbtdfr.js} +0 -0
  712. /package/dist/chunks/{filesystem-8n3pysct.js → integration-8n3pysct.js} +0 -0
  713. /package/dist/chunks/{filesystem-8wj87zfr.js → integration-8wj87zfr.js} +0 -0
  714. /package/dist/chunks/{filesystem-9a4afbnw.js → integration-9a4afbnw.js} +0 -0
  715. /package/dist/chunks/{filesystem-9rqn6x4v.js → integration-9rqn6x4v.js} +0 -0
  716. /package/dist/chunks/{filesystem-a6k6eb26.js → integration-a6k6eb26.js} +0 -0
  717. /package/dist/chunks/{filesystem-af5trqkr.js → integration-af5trqkr.js} +0 -0
  718. /package/dist/chunks/{filesystem-afrmfg78.js → integration-afrmfg78.js} +0 -0
  719. /package/dist/chunks/{filesystem-aqzs7mqg.js → integration-aqzs7mqg.js} +0 -0
  720. /package/dist/chunks/{filesystem-atq7p7m5.js → integration-atq7p7m5.js} +0 -0
  721. /package/dist/chunks/{filesystem-bkyjaxrp.js → integration-bkyjaxrp.js} +0 -0
  722. /package/dist/chunks/{filesystem-bmr6ed5q.js → integration-bmr6ed5q.js} +0 -0
  723. /package/dist/chunks/{filesystem-cf4snx6d.js → integration-cf4snx6d.js} +0 -0
  724. /package/dist/chunks/{filesystem-cvy3z8tj.js → integration-cvy3z8tj.js} +0 -0
  725. /package/dist/chunks/{filesystem-d9fn303g.js → integration-d9fn303g.js} +0 -0
  726. /package/dist/chunks/{filesystem-d9jj8t3e.js → integration-d9jj8t3e.js} +0 -0
  727. /package/dist/chunks/{filesystem-dajrwvna.js → integration-dajrwvna.js} +0 -0
  728. /package/dist/chunks/{filesystem-dap0rakb.js → integration-dap0rakb.js} +0 -0
  729. /package/dist/chunks/{filesystem-df08tz66.js → integration-df08tz66.js} +0 -0
  730. /package/dist/chunks/{filesystem-dy18nga0.js → integration-dy18nga0.js} +0 -0
  731. /package/dist/chunks/{filesystem-e5kj55wp.js → integration-e5kj55wp.js} +0 -0
  732. /package/dist/chunks/{filesystem-e73j6tqm.js → integration-e73j6tqm.js} +0 -0
  733. /package/dist/chunks/{filesystem-ec1grn59.js → integration-ec1grn59.js} +0 -0
  734. /package/dist/chunks/{filesystem-eh3zwz77.js → integration-eh3zwz77.js} +0 -0
  735. /package/dist/chunks/{filesystem-emrn6kk6.js → integration-emrn6kk6.js} +0 -0
  736. /package/dist/chunks/{filesystem-f0mxakyp.js → integration-f0mxakyp.js} +0 -0
  737. /package/dist/chunks/{filesystem-f6n9ztr4.js → integration-f6n9ztr4.js} +0 -0
  738. /package/dist/chunks/{filesystem-faypxj3z.js → integration-faypxj3z.js} +0 -0
  739. /package/dist/chunks/{filesystem-fd410y7t.js → integration-fd410y7t.js} +0 -0
  740. /package/dist/chunks/{filesystem-fxgpk5d8.js → integration-fxgpk5d8.js} +0 -0
  741. /package/dist/chunks/{filesystem-g4wezp1m.js → integration-g4wezp1m.js} +0 -0
  742. /package/dist/chunks/{filesystem-g86h250q.js → integration-g86h250q.js} +0 -0
  743. /package/dist/chunks/{filesystem-gebd4c9n.js → integration-gebd4c9n.js} +0 -0
  744. /package/dist/chunks/{filesystem-gftt206x.js → integration-gftt206x.js} +0 -0
  745. /package/dist/chunks/{filesystem-hjbc5kem.js → integration-hjbc5kem.js} +0 -0
  746. /package/dist/chunks/{filesystem-hk9envan.js → integration-hk9envan.js} +0 -0
  747. /package/dist/chunks/{filesystem-j2ntwpah.js → integration-j2ntwpah.js} +0 -0
  748. /package/dist/chunks/{filesystem-j5zkgpj8.js → integration-j5zkgpj8.js} +0 -0
  749. /package/dist/chunks/{filesystem-jjkms2e6.js → integration-jjkms2e6.js} +0 -0
  750. /package/dist/chunks/{filesystem-jr7sbwjy.js → integration-jr7sbwjy.js} +0 -0
  751. /package/dist/chunks/{filesystem-jwfs4k6c.js → integration-jwfs4k6c.js} +0 -0
  752. /package/dist/chunks/{filesystem-jzg6c2d5.js → integration-jzg6c2d5.js} +0 -0
  753. /package/dist/chunks/{filesystem-mp448xyj.js → integration-mp448xyj.js} +0 -0
  754. /package/dist/chunks/{filesystem-msx8hqn2.js → integration-msx8hqn2.js} +0 -0
  755. /package/dist/chunks/{filesystem-n05xt0ee.js → integration-n05xt0ee.js} +0 -0
  756. /package/dist/chunks/{filesystem-n3j8tn72.js → integration-n3j8tn72.js} +0 -0
  757. /package/dist/chunks/{filesystem-njntx4h6.js → integration-njntx4h6.js} +0 -0
  758. /package/dist/chunks/{filesystem-q3sfg36h.js → integration-q3sfg36h.js} +0 -0
  759. /package/dist/chunks/{filesystem-q74kybfr.js → integration-q74kybfr.js} +0 -0
  760. /package/dist/chunks/{filesystem-qaymkmh1.js → integration-qaymkmh1.js} +0 -0
  761. /package/dist/chunks/{filesystem-qb87gjwd.js → integration-qb87gjwd.js} +0 -0
  762. /package/dist/chunks/{filesystem-qfa1cgps.js → integration-qfa1cgps.js} +0 -0
  763. /package/dist/chunks/{filesystem-qg3g05ea.js → integration-qg3g05ea.js} +0 -0
  764. /package/dist/chunks/{filesystem-qrg20bc0.js → integration-qrg20bc0.js} +0 -0
  765. /package/dist/chunks/{filesystem-rcb2kzg1.js → integration-rcb2kzg1.js} +0 -0
  766. /package/dist/chunks/{filesystem-sdp7kfr6.js → integration-sdp7kfr6.js} +0 -0
  767. /package/dist/chunks/{filesystem-ssg3fenm.js → integration-ssg3fenm.js} +0 -0
  768. /package/dist/chunks/{filesystem-w803qqfp.js → integration-w803qqfp.js} +0 -0
  769. /package/dist/chunks/{filesystem-wc3fc9cn.js → integration-wc3fc9cn.js} +0 -0
  770. /package/dist/chunks/{filesystem-wer8tq1h.js → integration-wer8tq1h.js} +0 -0
  771. /package/dist/chunks/{filesystem-wtztk69x.js → integration-wtztk69x.js} +0 -0
  772. /package/dist/chunks/{filesystem-x0ckcb58.js → integration-x0ckcb58.js} +0 -0
  773. /package/dist/chunks/{filesystem-x61499pn.js → integration-x61499pn.js} +0 -0
  774. /package/dist/chunks/{filesystem-y44na4kk.js → integration-y44na4kk.js} +0 -0
  775. /package/dist/chunks/{filesystem-y8cydn3q.js → integration-y8cydn3q.js} +0 -0
  776. /package/dist/chunks/{filesystem-y8f7s663.js → integration-y8f7s663.js} +0 -0
  777. /package/dist/chunks/{filesystem-ygaqb7jw.js → integration-ygaqb7jw.js} +0 -0
  778. /package/dist/chunks/{filesystem-ym463w8f.js → integration-ym463w8f.js} +0 -0
  779. /package/dist/chunks/{filesystem-z5v4ffb3.js → integration-z5v4ffb3.js} +0 -0
  780. /package/dist/chunks/{filesystem-z9919s4g.js → integration-z9919s4g.js} +0 -0
@@ -1,63 +1,63 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./filesystem-5s1dr8ae.js";
4
+ } from "./integration-4aysm09v.js";
5
5
  import {
6
6
  Service83,
7
7
  node87
8
- } from "./filesystem-hkh5g506.js";
8
+ } from "./integration-0pkcqgb8.js";
9
9
  import {
10
- Service49,
11
- node51
12
- } from "./filesystem-c8bydgjz.js";
10
+ Service60,
11
+ node63
12
+ } from "./integration-93ygb5af.js";
13
13
  import {
14
14
  AbsolutePath2,
15
15
  RelativePath2
16
- } from "./filesystem-z5v4ffb3.js";
16
+ } from "./integration-z5v4ffb3.js";
17
17
  import {
18
18
  Service81,
19
19
  node85
20
- } from "./filesystem-en2hpwz4.js";
20
+ } from "./integration-k8p5y4yf.js";
21
21
  import {
22
22
  Ref4
23
- } from "./filesystem-50vxqkrt.js";
23
+ } from "./integration-xmq2cvs3.js";
24
24
  import {
25
- Service79,
26
- node83
27
- } from "./filesystem-ng5taz21.js";
25
+ Service62,
26
+ node65
27
+ } from "./integration-s73zzv6w.js";
28
28
  import {
29
29
  SessionMessage2
30
- } from "./filesystem-gftt206x.js";
30
+ } from "./integration-gftt206x.js";
31
31
  import {
32
- NotFoundError8
33
- } from "./filesystem-snf1tfdw.js";
32
+ NotFoundError9
33
+ } from "./integration-1gpb38yh.js";
34
34
  import {
35
35
  SessionEvent2
36
- } from "./filesystem-ec1grn59.js";
36
+ } from "./integration-ec1grn59.js";
37
37
  import {
38
- Service46
39
- } from "./filesystem-dhmh7aw6.js";
38
+ Service57
39
+ } from "./integration-f73rjn58.js";
40
40
  import {
41
- Service66,
42
- node69
43
- } from "./filesystem-b49trrwf.js";
41
+ Service67,
42
+ node70
43
+ } from "./integration-amt0hrp4.js";
44
44
  import {
45
45
  Item2,
46
46
  serialized2,
47
- Service47,
48
- node49,
47
+ Service58,
48
+ node61,
49
49
  moveIDs2
50
- } from "./filesystem-e656h771.js";
50
+ } from "./integration-hs99w951.js";
51
51
  import {
52
- Service45,
53
- node48
54
- } from "./filesystem-0g731nkn.js";
52
+ Service56,
53
+ node60
54
+ } from "./integration-v9se04c1.js";
55
55
  import {
56
- node37
57
- } from "./filesystem-wnm70ssr.js";
56
+ node27
57
+ } from "./integration-vf2vkrrm.js";
58
58
  import {
59
59
  __export
60
- } from "./filesystem-9rqn6x4v.js";
60
+ } from "./integration-9rqn6x4v.js";
61
61
 
62
62
  // src/session/move.ts
63
63
  var exports_move = {};
@@ -65,9 +65,9 @@ __export(exports_move, {
65
65
  DestinationNotDirectoryError: () => DestinationNotDirectoryError2,
66
66
  DestinationNotFoundError: () => DestinationNotFoundError2,
67
67
  DestinationUnavailableError: () => DestinationUnavailableError2,
68
- Service: () => Service31,
68
+ Service: () => Service21,
69
69
  SessionMove: () => exports_move,
70
- node: () => node34
70
+ node: () => node24
71
71
  });
72
72
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
73
73
  import { FSUtil } from "@opencode/util/fs-util";
@@ -83,23 +83,23 @@ class DestinationNotDirectoryError2 extends Schema.TaggedError()("Session.Destin
83
83
  class DestinationUnavailableError2 extends Schema.TaggedError()("Session.DestinationUnavailableError", { directory: AbsolutePath2 }) {
84
84
  }
85
85
 
86
- class Service31 extends Context.Service()("@opencode/SessionMove") {
86
+ class Service21 extends Context.Service()("@opencode/SessionMove") {
87
87
  }
88
- var layer = Layer.effect(Service31, Effect.gen(function* () {
88
+ var layer = Layer.effect(Service21, Effect.gen(function* () {
89
89
  const fs = yield* FSUtil.Service;
90
90
  const global = yield* Global.Service;
91
91
  const projects = yield* Service81;
92
- const locations = yield* Service79;
93
- const store = yield* Service66;
94
- const execution = yield* Service45;
95
- const instances = yield* Service49;
96
- const admission = yield* Service47;
92
+ const locations = yield* Service62;
93
+ const store = yield* Service67;
94
+ const execution = yield* Service56;
95
+ const instances = yield* Service60;
96
+ const admission = yield* Service58;
97
97
  const database = yield* Service84;
98
98
  const bus = yield* Service83;
99
99
  const get = Effect.fn("SessionMove.get")(function* (sessionID) {
100
100
  const session = yield* store.get(sessionID);
101
101
  if (!session)
102
- return yield* new NotFoundError8({ sessionID });
102
+ return yield* new NotFoundError9({ sessionID });
103
103
  return session;
104
104
  });
105
105
  const resolveDestination = Effect.fn("SessionMove.resolveDestination")(function* (session, input) {
@@ -131,9 +131,9 @@ var layer = Layer.effect(Service31, Effect.gen(function* () {
131
131
  return false;
132
132
  if (!(yield* fs.isDir(session.location.directory)))
133
133
  return true;
134
- return yield* Service46.pipe(instances.provide(session), Effect.as(false), Effect.catchCause((cause) => Cause.hasInterrupts(cause) ? Effect.failCause(Cause.fromReasons(cause.reasons.filter(Cause.isInterruptReason))) : Effect.succeed(true)));
134
+ return yield* Service57.pipe(instances.provide(session), Effect.as(false), Effect.catchCause((cause) => Cause.hasInterrupts(cause) ? Effect.failCause(Cause.fromReasons(cause.reasons.filter(Cause.isInterruptReason))) : Effect.succeed(true)));
135
135
  });
136
- return Service31.of({
136
+ return Service21.of({
137
137
  move: Effect.fn("SessionMove.move")(function* (input) {
138
138
  const session = yield* get(input.sessionID);
139
139
  const destination = yield* resolveDestination(session, input);
@@ -163,22 +163,22 @@ var layer = Layer.effect(Service31, Effect.gen(function* () {
163
163
  })
164
164
  });
165
165
  }));
166
- var node34 = makeGlobalNode({
167
- service: Service31,
166
+ var node24 = makeGlobalNode({
167
+ service: Service21,
168
168
  layer,
169
169
  deps: [
170
170
  FSUtil.node,
171
171
  Global.node,
172
172
  node85,
173
- node83,
174
- node69,
175
- node48,
176
- node51,
177
- node49,
173
+ node65,
174
+ node70,
175
+ node60,
176
+ node63,
177
+ node61,
178
178
  node88,
179
179
  node87,
180
- node37
180
+ node27
181
181
  ]
182
182
  });
183
183
 
184
- export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2, Service31, node34, exports_move };
184
+ export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2, Service21, node24, exports_move };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  jitCompatCheck2
3
- } from "./filesystem-emrn6kk6.js";
3
+ } from "./integration-emrn6kk6.js";
4
4
  import {
5
5
  SQLiteEffectDatabase2
6
- } from "./filesystem-3cy6ygha.js";
6
+ } from "./integration-jeeg5a9e.js";
7
7
  import {
8
8
  EffectSQLiteSession2
9
- } from "./filesystem-ap0z94yk.js";
9
+ } from "./integration-h839y2mj.js";
10
10
 
11
11
  // src/database/drizzle/effect-sqlite/driver.ts
12
12
  import * as Effect from "effect/Effect";
@@ -2,16 +2,16 @@ import {
2
2
  managesTransactionsNatively2,
3
3
  EffectSQLiteSession2,
4
4
  EffectSQLiteTransaction2
5
- } from "./filesystem-ap0z94yk.js";
5
+ } from "./integration-h839y2mj.js";
6
6
  import {
7
7
  EffectSQLiteDatabase2,
8
8
  DefaultServices2,
9
9
  make24,
10
10
  makeWithDefaults2
11
- } from "./filesystem-qgyv1dwh.js";
11
+ } from "./integration-ftbjc7m9.js";
12
12
  import {
13
13
  __export
14
- } from "./filesystem-9rqn6x4v.js";
14
+ } from "./integration-9rqn6x4v.js";
15
15
 
16
16
  // src/database/drizzle/index.ts
17
17
  var exports_drizzle = {};
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./filesystem-z5v4ffb3.js";
3
+ } from "./integration-z5v4ffb3.js";
4
4
  import {
5
5
  Service80
6
- } from "./filesystem-50vxqkrt.js";
6
+ } from "./integration-xmq2cvs3.js";
7
7
  import {
8
- Service21
9
- } from "./filesystem-p4pj0byg.js";
8
+ Service44
9
+ } from "./integration-99y9v2v8.js";
10
10
  import {
11
- Service10
12
- } from "./filesystem-h4bey8yr.js";
11
+ Service7
12
+ } from "./integration-jmwxft0s.js";
13
13
  import {
14
14
  NotFound2
15
- } from "./filesystem-2a5m3afh.js";
15
+ } from "./integration-2a5m3afh.js";
16
16
  import {
17
17
  MEDIA_MIMES2,
18
18
  BinaryFileError2,
@@ -23,26 +23,26 @@ import {
23
23
  FileContent2,
24
24
  TextPage2,
25
25
  ListPage2,
26
- Service11
27
- } from "./filesystem-bh7b7fwa.js";
26
+ Service8
27
+ } from "./integration-v1sp7eaj.js";
28
28
  import {
29
29
  __export
30
- } from "./filesystem-9rqn6x4v.js";
30
+ } from "./integration-9rqn6x4v.js";
31
31
 
32
32
  // src/tool/plugin/read.ts
33
33
  var exports_read = {};
34
34
  __export(exports_read, {
35
- Input: () => Input7,
35
+ Input: () => Input9,
36
36
  Plugin: () => Plugin28,
37
37
  ReadTool: () => exports_read,
38
- name: () => name7,
39
- toModelContent: () => toModelContent4
38
+ name: () => name9,
39
+ toModelContent: () => toModelContent5
40
40
  });
41
41
  import { basename, dirname, join } from "path";
42
42
  import { ToolFailure } from "@opencode/ai";
43
43
  import { Effect, Schema } from "effect";
44
44
  import { FSUtil } from "@opencode/util/fs-util";
45
- var name7 = "read";
45
+ var name9 = "read";
46
46
  var FILENAME = "AGENTS.md";
47
47
  var LocationInput = Schema.Struct({
48
48
  path: Schema.String.annotate({ description: "File or directory to read" }),
@@ -53,21 +53,21 @@ var LocationInput = Schema.Struct({
53
53
  description: "The maximum number of lines or directory entries to read (defaults to and capped at 2000)"
54
54
  })
55
55
  });
56
- var Input7 = LocationInput;
56
+ var Input9 = LocationInput;
57
57
  var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
58
58
  var Plugin28 = {
59
59
  id: "opencode.tool.read",
60
60
  effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
61
- const reader = yield* Service11;
62
- const access = yield* Service21;
63
- const sessionInstructions = yield* Service10;
61
+ const reader = yield* Service8;
62
+ const access = yield* Service44;
63
+ const sessionInstructions = yield* Service7;
64
64
  const fs = yield* FSUtil.Service;
65
65
  const location = yield* Service80;
66
66
  yield* ctx.tool.transform((editor) => editor.add({
67
- name: name7,
67
+ name: name9,
68
68
  options: { codemode: false },
69
69
  description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
70
- input: Input7,
70
+ input: Input9,
71
71
  output: Output,
72
72
  execute: (input, context) => {
73
73
  return Effect.gen(function* () {
@@ -113,7 +113,7 @@ var Plugin28 = {
113
113
  return { output: result.content, path: result.path };
114
114
  }).pipe(Effect.map((result) => ({
115
115
  output: result.output,
116
- content: toModelContent4(result.path, input.offset, result.output),
116
+ content: toModelContent5(result.path, input.offset, result.output),
117
117
  metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
118
118
  })), Effect.mapError((error) => {
119
119
  if (error instanceof ToolFailure)
@@ -146,7 +146,7 @@ ${suggestions.join(`
146
146
  });
147
147
  })
148
148
  };
149
- var toModelContent4 = (path, offset, output) => {
149
+ var toModelContent5 = (path, offset, output) => {
150
150
  if (output.type === "file" && output.encoding === "base64")
151
151
  return [
152
152
  { type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
@@ -182,4 +182,4 @@ var toModelContent4 = (path, offset, output) => {
182
182
  `);
183
183
  };
184
184
 
185
- export { name7, Input7, Plugin28, toModelContent4, exports_read };
185
+ export { name9, Input9, Plugin28, toModelContent5, exports_read };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./filesystem-9rqn6x4v.js";
3
+ } from "./integration-9rqn6x4v.js";
4
4
 
5
5
  // src/file-retention.ts
6
6
  var exports_file_retention = {};
@@ -2,18 +2,18 @@ import {
2
2
  AbsolutePath2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./filesystem-z5v4ffb3.js";
5
+ } from "./integration-z5v4ffb3.js";
6
6
  import {
7
7
  Service80,
8
8
  node84
9
- } from "./filesystem-50vxqkrt.js";
9
+ } from "./integration-xmq2cvs3.js";
10
10
  import {
11
- Service28,
12
- node31
13
- } from "./filesystem-sgma6wrx.js";
11
+ Service16,
12
+ node18
13
+ } from "./integration-r1k096zv.js";
14
14
  import {
15
15
  __export
16
- } from "./filesystem-9rqn6x4v.js";
16
+ } from "./integration-9rqn6x4v.js";
17
17
 
18
18
  // src/filesystem.ts
19
19
  var exports_filesystem = {};
@@ -24,20 +24,20 @@ __export(exports_filesystem, {
24
24
  DirectoryAccessDeniedError: () => DirectoryAccessDeniedError2,
25
25
  DirectoryNotFoundError: () => DirectoryNotFoundError2,
26
26
  Entry: () => Entry2,
27
- Event: () => Event7,
27
+ Event: () => Event3,
28
28
  FileSystem: () => exports_filesystem,
29
29
  FindInput: () => FindInput2,
30
30
  GlobInput: () => GlobInput2,
31
31
  GrepInput: () => GrepInput2,
32
32
  ListInput: () => ListInput2,
33
33
  Match: () => Match2,
34
- NotFoundError: () => NotFoundError4,
34
+ NotFoundError: () => NotFoundError2,
35
35
  ReadInput: () => ReadInput2,
36
- Service: () => Service27,
36
+ Service: () => Service15,
37
37
  Submatch: () => Submatch2,
38
38
  Write: () => Write2,
39
39
  WriteInput: () => WriteInput2,
40
- node: () => node30
40
+ node: () => node17
41
41
  });
42
42
  import { makeLocationNode } from "@opencode/util/effect/app-node";
43
43
  import path from "path";
@@ -53,7 +53,7 @@ var WriteInput2 = Schema.Struct({
53
53
  data: Schema.Uint8Array
54
54
  });
55
55
 
56
- class NotFoundError4 extends Schema.TaggedError()("FileSystem.NotFoundError", {
56
+ class NotFoundError2 extends Schema.TaggedError()("FileSystem.NotFoundError", {
57
57
  path: RelativePath2
58
58
  }) {
59
59
  }
@@ -105,14 +105,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
105
105
  limit: Schema.optionalKey(PositiveInt2)
106
106
  }) {
107
107
  }
108
- var Event7 = FileSystem.Event;
108
+ var Event3 = FileSystem.Event;
109
109
 
110
- class Service27 extends Context.Service()("@opencode/FileSystem") {
110
+ class Service15 extends Context.Service()("@opencode/FileSystem") {
111
111
  }
112
- var baseLayer = Layer.effect(Service27, Effect.gen(function* () {
112
+ var baseLayer = Layer.effect(Service15, Effect.gen(function* () {
113
113
  const fs = yield* FSUtil.Service;
114
114
  const location = yield* Service80;
115
- const search = yield* Service28;
115
+ const search = yield* Service16;
116
116
  const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.catch((cause) => {
117
117
  if (cause.reason._tag === "NotFound")
118
118
  return Effect.fail(new DirectoryNotFoundError2({ directory: location.directory, cause }));
@@ -129,15 +129,15 @@ var baseLayer = Layer.effect(Service27, Effect.gen(function* () {
129
129
  return yield* Effect.die(new Error("Path escapes the location"));
130
130
  return { absolute, real, directory: location.directory };
131
131
  });
132
- return Service27.of({
132
+ return Service15.of({
133
133
  find: search.find,
134
134
  read: Effect.fn("FileSystem.read")(function* (input) {
135
- const target = yield* resolve(input.path).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError4({ path: input.path })), (_, error) => Effect.die(error)));
136
- const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError4({ path: input.path })), (_, error) => Effect.die(error)));
135
+ const target = yield* resolve(input.path).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError2({ path: input.path })), (_, error) => Effect.die(error)));
136
+ const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError2({ path: input.path })), (_, error) => Effect.die(error)));
137
137
  if (info.type !== "File")
138
138
  return yield* Effect.die(new Error("Path is not a file"));
139
139
  return {
140
- content: yield* fs.readFile(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError4({ path: input.path })), (_, error) => Effect.die(error))),
140
+ content: yield* fs.readFile(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError2({ path: input.path })), (_, error) => Effect.die(error))),
141
141
  mime: FSUtil.mimeType(target.real)
142
142
  };
143
143
  }),
@@ -166,10 +166,10 @@ var baseLayer = Layer.effect(Service27, Effect.gen(function* () {
166
166
  })
167
167
  });
168
168
  }));
169
- var node30 = makeLocationNode({
170
- service: Service27,
169
+ var node17 = makeLocationNode({
170
+ service: Service15,
171
171
  layer: baseLayer,
172
- deps: [FSUtil.node, node84, node31]
172
+ deps: [FSUtil.node, node84, node18]
173
173
  });
174
174
 
175
- export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError4, DirectoryNotFoundError2, DirectoryAccessDeniedError2, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event7, Service27, node30, exports_filesystem, Entry2, Match2, Submatch2 };
175
+ export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError2, DirectoryNotFoundError2, DirectoryAccessDeniedError2, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event3, Service15, node17, exports_filesystem, Entry2, Match2, Submatch2 };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./filesystem-z5v4ffb3.js";
3
+ } from "./integration-z5v4ffb3.js";
4
4
  import {
5
5
  __export
6
- } from "./filesystem-9rqn6x4v.js";
6
+ } from "./integration-9rqn6x4v.js";
7
7
 
8
8
  // src/v1/config/provider.ts
9
9
  var exports_provider2 = {};
10
10
  __export(exports_provider2, {
11
11
  ConfigProviderV1: () => exports_provider2,
12
- Info: () => Info12,
12
+ Info: () => Info10,
13
13
  Model: () => Model2,
14
14
  ModelStatus: () => ModelStatus2
15
15
  });
@@ -61,7 +61,7 @@ var Model2 = Schema.Struct({
61
61
  disabled: Schema.optional(Schema.Boolean).annotate({ description: "Disable this variant for the model" })
62
62
  }), [Schema.Record(Schema.String, Schema.Any)])).annotate({ description: "Variant-specific configuration" }))
63
63
  });
64
- var Info12 = Schema.Struct({
64
+ var Info10 = Schema.Struct({
65
65
  api: Schema.optional(Schema.String),
66
66
  name: Schema.optional(Schema.String),
67
67
  env: Schema.optional(Schema.mutable(Schema.Array(Schema.String))),
@@ -95,4 +95,4 @@ var Info12 = Schema.Struct({
95
95
  models: Schema.optional(Schema.Record(Schema.String, Model2))
96
96
  }).annotate({ identifier: "ProviderConfig" });
97
97
 
98
- export { ModelStatus2, Model2, Info12, exports_provider2 };
98
+ export { ModelStatus2, Model2, Info10, exports_provider2 };