@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,51 +1,51 @@
1
1
  import {
2
2
  typeFollowing2
3
- } from "./filesystem-2a5m3afh.js";
3
+ } from "./integration-2a5m3afh.js";
4
4
  import {
5
5
  RelativePath2
6
- } from "./filesystem-z5v4ffb3.js";
6
+ } from "./integration-z5v4ffb3.js";
7
7
  import {
8
8
  Service80
9
- } from "./filesystem-50vxqkrt.js";
9
+ } from "./integration-xmq2cvs3.js";
10
10
  import {
11
- Service70
12
- } from "./filesystem-5xtsng1h.js";
11
+ Service78
12
+ } from "./integration-baf0qrbw.js";
13
13
  import {
14
14
  InvalidPatternError2,
15
- Service29
16
- } from "./filesystem-zfs19yjd.js";
15
+ Service40
16
+ } from "./integration-e9f2mhvv.js";
17
17
  import {
18
18
  DEFAULT_SEARCH_LIMIT2,
19
19
  DEFAULT_SEARCH_TIMEOUT_MS2,
20
20
  GrepInput2,
21
21
  Entry2,
22
22
  Match2
23
- } from "./filesystem-2wdzasa3.js";
23
+ } from "./integration-gf6ymv0v.js";
24
24
  import {
25
- Service64
26
- } from "./filesystem-zqaa94x3.js";
25
+ Service65
26
+ } from "./integration-sz0mghca.js";
27
27
  import {
28
- Service21
29
- } from "./filesystem-p4pj0byg.js";
28
+ Service44
29
+ } from "./integration-99y9v2v8.js";
30
30
  import {
31
31
  __export
32
- } from "./filesystem-9rqn6x4v.js";
32
+ } from "./integration-9rqn6x4v.js";
33
33
 
34
34
  // src/tool/plugin/grep.ts
35
35
  var exports_grep = {};
36
36
  __export(exports_grep, {
37
37
  GrepTool: () => exports_grep,
38
- Input: () => Input9,
39
- Output: () => Output6,
40
- Plugin: () => Plugin30,
41
- name: () => name9,
42
- toModelContent: () => toModelContent5
38
+ Input: () => Input6,
39
+ Output: () => Output5,
40
+ Plugin: () => Plugin25,
41
+ name: () => name6,
42
+ toModelContent: () => toModelContent4
43
43
  });
44
44
  import { ToolFailure } from "@opencode/ai";
45
45
  import { Effect, Schema } from "effect";
46
46
  import path from "path";
47
- var name9 = "grep";
48
- var Input9 = Schema.Struct({
47
+ var name6 = "grep";
48
+ var Input6 = Schema.Struct({
49
49
  pattern: GrepInput2.fields.pattern.check(Schema.isMinLength(1, { message: "Pattern must not be empty" })).annotate({
50
50
  description: "Regular expression or literal text to match in file contents."
51
51
  }),
@@ -65,8 +65,8 @@ var Input9 = Schema.Struct({
65
65
  description: `Maximum number of matching lines to return (default: ${DEFAULT_SEARCH_LIMIT2})`
66
66
  })
67
67
  });
68
- var Output6 = Schema.Array(Match2);
69
- var toModelContent5 = (matches, truncated = false) => {
68
+ var Output5 = Schema.Array(Match2);
69
+ var toModelContent4 = (matches, truncated = false) => {
70
70
  const lines = matches.length === 0 ? ["No matches found"] : [`Found ${matches.length} matches`];
71
71
  let current = "";
72
72
  for (const match of matches) {
@@ -83,26 +83,26 @@ var toModelContent5 = (matches, truncated = false) => {
83
83
  return lines.join(`
84
84
  `);
85
85
  };
86
- var Plugin30 = {
86
+ var Plugin25 = {
87
87
  id: "opencode.tool.grep",
88
88
  effect: Effect.fn("GrepTool.Plugin")(function* (ctx) {
89
- const environment = yield* Service70;
90
- const ripgrep = yield* Service29;
89
+ const environment = yield* Service78;
90
+ const ripgrep = yield* Service40;
91
91
  const location = yield* Service80;
92
- const access = yield* Service21;
93
- const permission = yield* Service64;
92
+ const access = yield* Service44;
93
+ const permission = yield* Service65;
94
94
  yield* ctx.tool.transform((editor) => editor.add({
95
- name: name9,
95
+ name: name6,
96
96
  options: { codemode: false },
97
97
  description: "Search file contents using ripgrep's regular expression syntax or literal text matching. Use it to locate specific code, symbols, or text patterns, and narrow searches with `path` or `include`. Returns matching file paths, line numbers, and line previews.",
98
- input: Input9,
99
- output: Output6,
98
+ input: Input6,
99
+ output: Output5,
100
100
  execute: (input, context) => Effect.gen(function* () {
101
101
  const source = { type: "tool", messageID: context.messageID, id: context.id };
102
102
  const target = yield* access.resolve({ path: input.path ?? "." });
103
103
  yield* access.authorizeExternal([target], context);
104
104
  yield* permission.assert({
105
- action: name9,
105
+ action: name6,
106
106
  resources: [input.pattern],
107
107
  save: ["*"],
108
108
  metadata: {
@@ -144,7 +144,7 @@ var Plugin30 = {
144
144
  return { matches: matches.slice(0, limit), truncated: matches.length > limit };
145
145
  }).pipe(Effect.map((result) => ({
146
146
  output: result.matches,
147
- content: toModelContent5(result.matches.map((match) => ({
147
+ content: toModelContent4(result.matches.map((match) => ({
148
148
  ...match,
149
149
  entry: { ...match.entry, path: path.resolve(location.directory, match.entry.path) }
150
150
  })), result.truncated),
@@ -154,4 +154,4 @@ var Plugin30 = {
154
154
  })
155
155
  };
156
156
 
157
- export { name9, Input9, Output6, toModelContent5, Plugin30, exports_grep };
157
+ export { name6, Input6, Output5, toModelContent4, Plugin25, exports_grep };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  __export
3
- } from "./filesystem-9rqn6x4v.js";
3
+ } from "./integration-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/command.ts
6
- var exports_command4 = {};
7
- __export(exports_command4, {
8
- ConfigCommandV1: () => exports_command4,
9
- Info: () => Info13
6
+ var exports_command5 = {};
7
+ __export(exports_command5, {
8
+ ConfigCommandV1: () => exports_command5,
9
+ Info: () => Info11
10
10
  });
11
11
  import { Schema } from "effect";
12
- var Info13 = Schema.Struct({
12
+ var Info11 = Schema.Struct({
13
13
  template: Schema.String,
14
14
  description: Schema.optional(Schema.String),
15
15
  agent: Schema.optional(Schema.String),
@@ -18,4 +18,4 @@ var Info13 = Schema.Struct({
18
18
  subtask: Schema.optional(Schema.Boolean)
19
19
  });
20
20
 
21
- export { Info13, exports_command4 };
21
+ export { Info11, exports_command5 };
@@ -1,33 +1,33 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./filesystem-z5v4ffb3.js";
4
+ } from "./integration-z5v4ffb3.js";
5
5
  import {
6
6
  Repository2,
7
7
  TreeID2,
8
8
  Service82,
9
9
  node86
10
- } from "./filesystem-zc5g640q.js";
10
+ } from "./integration-rrpq0de9.js";
11
11
  import {
12
12
  Service80,
13
13
  node84
14
- } from "./filesystem-50vxqkrt.js";
14
+ } from "./integration-xmq2cvs3.js";
15
15
  import {
16
16
  create3
17
- } from "./filesystem-rdw6cm16.js";
17
+ } from "./integration-rdw6cm16.js";
18
18
  import {
19
19
  __export
20
- } from "./filesystem-9rqn6x4v.js";
20
+ } from "./integration-9rqn6x4v.js";
21
21
 
22
22
  // src/snapshot.ts
23
23
  var exports_snapshot2 = {};
24
24
  __export(exports_snapshot2, {
25
25
  Error: () => Error3,
26
26
  ID: () => ID5,
27
- Service: () => Service50,
27
+ Service: () => Service36,
28
28
  Snapshot: () => exports_snapshot2,
29
- node: () => node52,
30
- noopLayer: () => noopLayer3
29
+ node: () => node39,
30
+ noopLayer: () => noopLayer2
31
31
  });
32
32
  import { makeLocationNode } from "@opencode/util/effect/app-node";
33
33
  import path from "path";
@@ -43,9 +43,9 @@ class Error3 extends Schema.TaggedError()("Snapshot.Error", {
43
43
  }) {
44
44
  }
45
45
 
46
- class Service50 extends Context.Service()("@opencode/Snapshot") {
46
+ class Service36 extends Context.Service()("@opencode/Snapshot") {
47
47
  }
48
- var layer = Layer.effect(Service50, Effect.gen(function* () {
48
+ var layer = Layer.effect(Service36, Effect.gen(function* () {
49
49
  const fs = yield* FSUtil.Service;
50
50
  const git = yield* Service82;
51
51
  const global = yield* Global.Service;
@@ -138,14 +138,14 @@ var layer = Layer.effect(Service50, Effect.gen(function* () {
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 Service50.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
141
+ return Service36.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
142
142
  }).pipe(Effect.withSpan("Snapshot.boot")));
143
- var node52 = makeLocationNode({
144
- service: Service50,
143
+ var node39 = makeLocationNode({
144
+ service: Service36,
145
145
  layer,
146
146
  deps: [FSUtil.node, node86, Global.node, node84]
147
147
  });
148
- var noopLayer3 = Layer.succeed(Service50, Service50.of({
148
+ var noopLayer2 = Layer.succeed(Service36, Service36.of({
149
149
  transform: () => Effect.succeed({ dispose: Effect.void }),
150
150
  reload: () => Effect.void,
151
151
  capture: () => Effect.undefined,
@@ -163,4 +163,4 @@ function failure(operation, cause) {
163
163
  });
164
164
  }
165
165
 
166
- export { ID5, Error3, Service50, node52, noopLayer3, exports_snapshot2 };
166
+ export { ID5, Error3, Service36, node39, noopLayer2, exports_snapshot2 };
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  Ref4
3
- } from "./filesystem-50vxqkrt.js";
3
+ } from "./integration-xmq2cvs3.js";
4
4
  import {
5
5
  __export
6
- } from "./filesystem-9rqn6x4v.js";
6
+ } from "./integration-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: () => Service62,
13
13
  canonical: () => canonical3,
14
- node: () => node83,
14
+ node: () => node65,
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 Service62 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(Service62, (locations) => locations.get(ref)));
25
25
  }
26
26
  }
27
- var node83 = LayerNode.unbound(Service79, Node.tags.values.global);
27
+ var node65 = LayerNode.unbound(Service62, Node.tags.values.global);
28
28
  var reload2 = Effect.fn("LocationServiceMap.reload")(function* () {
29
- const locations = yield* Service79;
29
+ const locations = yield* Service62;
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 { Service62, node65, reload2, canonical3, exports_location_service_map };
@@ -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/instructions/index.ts
6
6
  var exports_instructions6 = {};
@@ -7,21 +7,21 @@ import {
7
7
  deletePatch2,
8
8
  countPatch2,
9
9
  chunksByFile2
10
- } from "./filesystem-tazgh4e4.js";
10
+ } from "./integration-tazgh4e4.js";
11
11
  import {
12
12
  Service80
13
- } from "./filesystem-50vxqkrt.js";
13
+ } from "./integration-xmq2cvs3.js";
14
14
  import {
15
15
  DiffError2
16
- } from "./filesystem-fcvkxbgs.js";
16
+ } from "./integration-wtntn80s.js";
17
17
  import {
18
18
  __export
19
- } from "./filesystem-9rqn6x4v.js";
19
+ } from "./integration-9rqn6x4v.js";
20
20
 
21
21
  // src/plugin/vcs/hg.ts
22
22
  var exports_hg = {};
23
23
  __export(exports_hg, {
24
- Plugin: () => Plugin34,
24
+ Plugin: () => Plugin33,
25
25
  VcsHgPlugin: () => exports_hg
26
26
  });
27
27
  import path from "path";
@@ -30,7 +30,7 @@ import { ChildProcess } from "effect/unstable/process";
30
30
  import { define } from "@opencode/plugin/effect/plugin";
31
31
  import { FSUtil } from "@opencode/util/fs-util";
32
32
  import { AppProcess } from "@opencode/util/process";
33
- var Plugin34 = define({
33
+ var Plugin33 = define({
34
34
  id: "opencode.vcs.hg",
35
35
  effect: Effect.fn("VcsHgPlugin")(function* (ctx) {
36
36
  const location = yield* Service80;
@@ -198,4 +198,4 @@ function makeHg(proc, worktree) {
198
198
  return { status, diff, branch, ancestor, cat };
199
199
  }
200
200
 
201
- export { Plugin34, exports_hg };
201
+ export { Plugin33, exports_hg };
@@ -1,56 +1,56 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./filesystem-hkh5g506.js";
4
+ } from "./integration-0pkcqgb8.js";
5
5
  import {
6
- parse5,
6
+ parse4,
7
7
  parseRemote2,
8
8
  validateBranch3,
9
9
  isRemote2,
10
10
  cachePath2
11
- } from "./filesystem-w1eejvng.js";
11
+ } from "./integration-84txncab.js";
12
12
  import {
13
13
  AbsolutePath2
14
- } from "./filesystem-z5v4ffb3.js";
14
+ } from "./integration-z5v4ffb3.js";
15
15
  import {
16
- Service51,
17
- node53
18
- } from "./filesystem-gbm58kyz.js";
16
+ Service46,
17
+ node50
18
+ } from "./integration-k65ws0vd.js";
19
19
  import {
20
20
  create3
21
- } from "./filesystem-rdw6cm16.js";
21
+ } from "./integration-rdw6cm16.js";
22
22
  import {
23
23
  __export
24
- } from "./filesystem-9rqn6x4v.js";
24
+ } from "./integration-9rqn6x4v.js";
25
25
 
26
26
  // src/reference.ts
27
27
  var exports_reference2 = {};
28
28
  __export(exports_reference2, {
29
- Event: () => Event8,
29
+ Event: () => Event10,
30
30
  GitSource: () => GitSource2,
31
- Info: () => Info7,
31
+ Info: () => Info9,
32
32
  LocalSource: () => LocalSource2,
33
33
  Reference: () => exports_reference2,
34
- Service: () => Service43,
35
- Source: () => Source3,
36
- node: () => node46
34
+ Service: () => Service45,
35
+ Source: () => Source4,
36
+ node: () => node49
37
37
  });
38
38
  import { makeLocationNode } from "@opencode/util/effect/app-node";
39
39
  import { Context, Effect, Layer, Scope } from "effect";
40
40
  import { Reference } from "@opencode/schema/reference";
41
41
  import { Global } from "@opencode/util/global";
42
- import { Event as Event8 } from "@opencode/schema/reference";
42
+ import { Event as Event10 } from "@opencode/schema/reference";
43
43
  var LocalSource2 = Reference.LocalSource;
44
44
  var GitSource2 = Reference.GitSource;
45
- var Source3 = Reference.Source;
46
- var Info7 = Reference.Info;
45
+ var Source4 = Reference.Source;
46
+ var Info9 = Reference.Info;
47
47
 
48
- class Service43 extends Context.Service()("@opencode/Reference") {
48
+ class Service45 extends Context.Service()("@opencode/Reference") {
49
49
  }
50
- var layer = Layer.effect(Service43, Effect.gen(function* () {
50
+ var layer = Layer.effect(Service45, Effect.gen(function* () {
51
51
  const global = yield* Global.Service;
52
52
  const bus = yield* Service83;
53
- const cache = yield* Service51;
53
+ const cache = yield* Service46;
54
54
  const scope = yield* Scope.Scope;
55
55
  const list = () => Array.from(state.get().sources).flatMap(([name, source]) => {
56
56
  const info = {
@@ -60,8 +60,8 @@ var layer = Layer.effect(Service43, Effect.gen(function* () {
60
60
  ...source.hidden === undefined ? {} : { hidden: source.hidden }
61
61
  };
62
62
  if (source.type === "local")
63
- return [Info7.make({ ...info, path: source.path })];
64
- const repository = parse5(source.repository);
63
+ return [Info9.make({ ...info, path: source.path })];
64
+ const repository = parse4(source.repository);
65
65
  if (!repository || !isRemote2(repository))
66
66
  return [];
67
67
  if (source.branch) {
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service43, Effect.gen(function* () {
72
72
  }
73
73
  }
74
74
  return [
75
- Info7.make({
75
+ Info9.make({
76
76
  ...info,
77
77
  path: AbsolutePath2.make(cachePath2(global.repos, repository, source.branch))
78
78
  })
@@ -104,7 +104,7 @@ var layer = Layer.effect(Service43, Effect.gen(function* () {
104
104
  })
105
105
  });
106
106
  yield* Effect.sleep("1 hour").pipe(Effect.andThen(refresh()), Effect.forever, Effect.forkScoped);
107
- return Service43.of({
107
+ return Service45.of({
108
108
  transform: state.transform,
109
109
  reload: state.reload,
110
110
  list: Effect.fn("Reference.list")(function* () {
@@ -112,10 +112,10 @@ var layer = Layer.effect(Service43, Effect.gen(function* () {
112
112
  })
113
113
  });
114
114
  }));
115
- var node46 = makeLocationNode({
116
- service: Service43,
115
+ var node49 = makeLocationNode({
116
+ service: Service45,
117
117
  layer,
118
- deps: [Global.node, node87, node53]
118
+ deps: [Global.node, node87, node50]
119
119
  });
120
120
 
121
- export { LocalSource2, GitSource2, Source3, Info7, Service43, node46, exports_reference2, Event8 };
121
+ export { LocalSource2, GitSource2, Source4, Info9, Service45, node49, exports_reference2, Event10 };
@@ -1,37 +1,37 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./filesystem-hkh5g506.js";
4
+ } from "./integration-0pkcqgb8.js";
5
5
  import {
6
6
  Service80,
7
7
  node84
8
- } from "./filesystem-50vxqkrt.js";
8
+ } from "./integration-xmq2cvs3.js";
9
+ import {
10
+ ID9,
11
+ Service68,
12
+ node71
13
+ } from "./integration-7k3tsvew.js";
14
+ import {
15
+ NotFoundError9
16
+ } from "./integration-1gpb38yh.js";
9
17
  import {
10
- ID10,
11
18
  Service67,
12
19
  node70
13
- } from "./filesystem-86mzb83b.js";
20
+ } from "./integration-amt0hrp4.js";
14
21
  import {
15
- NotFoundError8
16
- } from "./filesystem-snf1tfdw.js";
22
+ match2
23
+ } from "./integration-y1fvbwt7.js";
17
24
  import {
18
25
  Service66,
19
26
  node69
20
- } from "./filesystem-b49trrwf.js";
27
+ } from "./integration-hcjvc488.js";
21
28
  import {
22
- match2
23
- } from "./filesystem-y1fvbwt7.js";
24
- import {
25
- Service65,
26
- node68
27
- } from "./filesystem-vnqerq2z.js";
28
- import {
29
- Service68,
30
- node71
31
- } from "./filesystem-4a0nv7mx.js";
29
+ Service69,
30
+ node72
31
+ } from "./integration-gs3s1a1g.js";
32
32
  import {
33
33
  __export
34
- } from "./filesystem-9rqn6x4v.js";
34
+ } from "./integration-9rqn6x4v.js";
35
35
 
36
36
  // src/permission.ts
37
37
  var exports_permission2 = {};
@@ -42,29 +42,29 @@ __export(exports_permission2, {
42
42
  CorrectedError: () => CorrectedError2,
43
43
  DeclinedError: () => DeclinedError2,
44
44
  Effect: () => PermissionEffect,
45
- Event: () => Event14,
46
- ID: () => ID8,
47
- NotFoundError: () => NotFoundError7,
45
+ Event: () => Event13,
46
+ ID: () => ID7,
47
+ NotFoundError: () => NotFoundError8,
48
48
  Permission: () => exports_permission2,
49
49
  Reply: () => Reply2,
50
50
  ReplyInput: () => ReplyInput2,
51
51
  Request: () => Request2,
52
52
  Rule: () => Rule3,
53
53
  Ruleset: () => Ruleset2,
54
- Service: () => Service64,
54
+ Service: () => Service65,
55
55
  Source: () => Source5,
56
56
  evaluate: () => evaluate2,
57
57
  merge: () => merge2,
58
- node: () => node67
58
+ node: () => node68
59
59
  });
60
60
  import { makeLocationNode } from "@opencode/util/effect/app-node";
61
61
  import { Context, Deferred, Effect, Layer, Schema } from "effect";
62
62
  import { Permission } from "@opencode/schema/permission";
63
63
  import { Rule as Rule3, Ruleset as Ruleset2 } from "@opencode/schema/permission";
64
- import { Event as Event14 } from "@opencode/schema/permission";
64
+ import { Event as Event13 } from "@opencode/schema/permission";
65
65
  var PermissionEffect = Permission.Effect;
66
66
  var missingAgentPermissions = [{ action: "*", resource: "*", effect: "deny" }];
67
- var ID8 = Permission.ID;
67
+ var ID7 = Permission.ID;
68
68
  var Source5 = Permission.Source;
69
69
  var RequestFields = {
70
70
  sessionID: Permission.Request.fields.sessionID,
@@ -77,17 +77,17 @@ var RequestFields = {
77
77
  var Request2 = Permission.Request;
78
78
  var Reply2 = Permission.Reply;
79
79
  var AssertInput2 = Schema.Struct({
80
- id: ID8.pipe(Schema.optional),
80
+ id: ID7.pipe(Schema.optional),
81
81
  ...RequestFields,
82
- agent: ID10.pipe(Schema.optional)
82
+ agent: ID9.pipe(Schema.optional)
83
83
  }).annotate({ identifier: "Permission.AssertInput" });
84
84
  var ReplyInput2 = Schema.Struct({
85
- requestID: ID8,
85
+ requestID: ID7,
86
86
  reply: Reply2,
87
87
  message: Schema.String.pipe(Schema.optional)
88
88
  }).annotate({ identifier: "Permission.ReplyInput" });
89
89
  var AskResult2 = Schema.Struct({
90
- id: ID8,
90
+ id: ID7,
91
91
  effect: Permission.Effect
92
92
  }).annotate({ identifier: "Permission.AskResult" });
93
93
 
@@ -110,8 +110,8 @@ class BlockedError2 extends Schema.TaggedError()("Permission.BlockedError", {
110
110
  }
111
111
  }
112
112
 
113
- class NotFoundError7 extends Schema.TaggedError()("Permission.NotFoundError", {
114
- requestID: ID8
113
+ class NotFoundError8 extends Schema.TaggedError()("Permission.NotFoundError", {
114
+ requestID: ID7
115
115
  }) {
116
116
  }
117
117
  function evaluate2(action, resource, ...rulesets) {
@@ -125,15 +125,15 @@ function merge2(...rulesets) {
125
125
  return rulesets.flat();
126
126
  }
127
127
 
128
- class Service64 extends Context.Service()("@opencode/Permission") {
128
+ class Service65 extends Context.Service()("@opencode/Permission") {
129
129
  }
130
- var layer = Layer.effect(Service64, Effect.gen(function* () {
130
+ var layer = Layer.effect(Service65, Effect.gen(function* () {
131
131
  const bus = yield* Service83;
132
132
  const location = yield* Service80;
133
- const agents = yield* Service67;
134
- const sessions = yield* Service66;
135
- const saved = yield* Service65;
136
- const hooks = yield* Service68;
133
+ const agents = yield* Service68;
134
+ const sessions = yield* Service67;
135
+ const saved = yield* Service66;
136
+ const hooks = yield* Service69;
137
137
  const pending = new Map;
138
138
  let closed = false;
139
139
  const close = Effect.gen(function* () {
@@ -156,7 +156,7 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
156
156
  const configured = Effect.fnUntraced(function* (sessionID, agentID) {
157
157
  const session = yield* sessions.get(sessionID);
158
158
  if (!session)
159
- return yield* new NotFoundError8({ sessionID });
159
+ return yield* new NotFoundError9({ sessionID });
160
160
  const agent = yield* agents.resolve(agentID ?? session.agent);
161
161
  return merge2(agent?.permissions ?? missingAgentPermissions, session.permissions ?? []);
162
162
  });
@@ -186,7 +186,7 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
186
186
  });
187
187
  function request(input, message) {
188
188
  return {
189
- id: input.id ?? ID8.create(),
189
+ id: input.id ?? ID7.create(),
190
190
  sessionID: input.sessionID,
191
191
  action: input.action,
192
192
  resources: input.resources,
@@ -211,7 +211,7 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
211
211
  }));
212
212
  const ask = Effect.fn("Permission.ask")(function* (input) {
213
213
  if (closed)
214
- return { id: input.id ?? ID8.create(), effect: "deny" };
214
+ return { id: input.id ?? ID7.create(), effect: "deny" };
215
215
  const result = yield* evaluateInput(input);
216
216
  const value = request(input, result.message);
217
217
  if (result.effect === "ask")
@@ -242,7 +242,7 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
242
242
  const reply = Effect.fn("Permission.reply")((input) => Effect.uninterruptible(Effect.gen(function* () {
243
243
  const existing = pending.get(input.requestID);
244
244
  if (!existing)
245
- return yield* new NotFoundError7({ requestID: input.requestID });
245
+ return yield* new NotFoundError8({ requestID: input.requestID });
246
246
  yield* bus.publish(Permission.Event.Replied, {
247
247
  sessionID: existing.request.sessionID,
248
248
  requestID: existing.request.id,
@@ -297,12 +297,12 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
297
297
  const forSession = Effect.fn("Permission.forSession")(function* (sessionID) {
298
298
  return Array.from(pending.values(), (item) => item.request).filter((request) => request.sessionID === sessionID);
299
299
  });
300
- return Service64.of({ ask, assert, reply, get, forSession, list, close });
300
+ return Service65.of({ ask, assert, reply, get, forSession, list, close });
301
301
  }));
302
- var node67 = makeLocationNode({
303
- service: Service64,
302
+ var node68 = makeLocationNode({
303
+ service: Service65,
304
304
  layer,
305
- deps: [node87, node84, node70, node69, node68, node71]
305
+ deps: [node87, node84, node71, node70, node69, node72]
306
306
  });
307
307
 
308
- export { PermissionEffect, ID8, Source5, Request2, Reply2, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError7, evaluate2, merge2, Service64, node67, exports_permission2, Rule3, Ruleset2, Event14 };
308
+ export { PermissionEffect, ID7, Source5, Request2, Reply2, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError8, evaluate2, merge2, Service65, node68, exports_permission2, Rule3, Ruleset2, Event13 };