@opencode/core 0.0.0-dev-20219 → 0.0.0-dev-20221

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 (798) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +83 -83
  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/{file-access-2a26731r.js → location-03b1d2xf.js} +8 -8
  8. package/dist/chunks/{file-access-tx6fw33t.js → location-0ascw2kk.js} +13 -13
  9. package/dist/chunks/{file-access-n1jysz1p.js → location-0bkc3y3d.js} +22 -22
  10. package/dist/chunks/{file-access-2k8khapm.js → location-0jwsre1p.js} +5 -5
  11. package/dist/chunks/{file-access-0paq2nw3.js → location-0paq2nw3.js} +1 -1
  12. package/dist/chunks/{file-access-gfvr1m8q.js → location-0x8r1xf8.js} +8 -8
  13. package/dist/chunks/{file-access-w1h00q37.js → location-0xqnn6r6.js} +16 -16
  14. package/dist/chunks/{file-access-g7vt4ewv.js → location-10mkqwtm.js} +142 -142
  15. package/dist/chunks/{file-access-1acjjqhc.js → location-1acjjqhc.js} +1 -1
  16. package/dist/chunks/{file-access-9hn6k4tm.js → location-1ajx6rf5.js} +8 -8
  17. package/dist/chunks/{file-access-1dazxqgg.js → location-1dazxqgg.js} +2 -2
  18. package/dist/chunks/{file-access-78xt172e.js → location-1thp3168.js} +33 -33
  19. package/dist/chunks/{file-access-21r38tys.js → location-21r38tys.js} +1 -1
  20. package/dist/chunks/{file-access-xt7040bk.js → location-23xkb9ck.js} +1 -1
  21. package/dist/chunks/{file-access-b1qxe6t8.js → location-24vp5xsz.js} +27 -27
  22. package/dist/chunks/{file-access-2a5m3afh.js → location-2a5m3afh.js} +1 -1
  23. package/dist/chunks/location-2g5sqqgw.js +252 -0
  24. package/dist/chunks/{file-access-93aj03xk.js → location-2jhm9eyt.js} +32 -32
  25. package/dist/chunks/{file-access-02170c8p.js → location-2n2feb9b.js} +3 -3
  26. package/dist/chunks/{file-access-sqfdps7q.js → location-2r3apkbr.js} +8 -8
  27. package/dist/chunks/{file-access-r2m716tb.js → location-2sejkfem.js} +9 -9
  28. package/dist/chunks/{file-access-ehdjeyg2.js → location-2xw79qf5.js} +10 -10
  29. package/dist/chunks/{file-access-xhj0xgtv.js → location-2y6ffh4c.js} +4 -4
  30. package/dist/chunks/{file-access-pnaxc6j9.js → location-30846h32.js} +8 -8
  31. package/dist/chunks/{file-access-4xhhjths.js → location-3104ney4.js} +8 -8
  32. package/dist/chunks/{file-access-are7hw82.js → location-31sb4mzz.js} +5 -5
  33. package/dist/chunks/{file-access-hq8zt1th.js → location-321x2wtd.js} +6 -6
  34. package/dist/chunks/{file-access-mfqp6xfm.js → location-33w4ejhs.js} +9 -9
  35. package/dist/chunks/{file-access-2p623br6.js → location-3bc8czyk.js} +5 -5
  36. package/dist/chunks/{file-access-3fc6dm20.js → location-3fc6dm20.js} +1 -1
  37. package/dist/chunks/{file-access-3hepkmqq.js → location-3hepkmqq.js} +1 -1
  38. package/dist/chunks/{file-access-2bdsn8gv.js → location-3pbjq009.js} +11 -11
  39. package/dist/chunks/{file-access-9a8936n8.js → location-3pfqp9x0.js} +46 -46
  40. package/dist/chunks/{file-access-3smtnn6g.js → location-3smtnn6g.js} +1 -1
  41. package/dist/chunks/{file-access-3tvqynh2.js → location-3tvqynh2.js} +1 -1
  42. package/dist/chunks/{file-access-rdzdpb0f.js → location-3yzbp4y2.js} +16 -16
  43. package/dist/chunks/{file-access-3zsf4n22.js → location-3zsf4n22.js} +1 -1
  44. package/dist/chunks/{file-access-rwt9bvf4.js → location-42bm2tdg.js} +14 -14
  45. package/dist/chunks/{file-access-t94cg862.js → location-42dy8wkf.js} +3 -3
  46. package/dist/chunks/{file-access-4dgbcxzg.js → location-4dgbcxzg.js} +1 -1
  47. package/dist/chunks/{file-access-j5208yae.js → location-4gycnsfp.js} +6 -6
  48. package/dist/chunks/{file-access-5dkn69vz.js → location-4j4tgtq5.js} +4 -4
  49. package/dist/chunks/{file-access-cgwxh910.js → location-4jwfw9t7.js} +15 -15
  50. package/dist/chunks/{file-access-xak1a13c.js → location-4nndrb46.js} +15 -15
  51. package/dist/chunks/{file-access-a5emdzv3.js → location-4sdz4ba6.js} +68 -68
  52. package/dist/chunks/{file-access-0hj7f8b1.js → location-4yg98eve.js} +12 -12
  53. package/dist/chunks/{file-access-pydn7ak2.js → location-50q9nbwa.js} +6 -6
  54. package/dist/chunks/{file-access-ckecvw8r.js → location-54tcyq79.js} +2 -2
  55. package/dist/chunks/{file-access-0na0gq9y.js → location-5767z5qk.js} +26 -26
  56. package/dist/chunks/{file-access-3b3aqk9w.js → location-5agr9zwd.js} +12 -12
  57. package/dist/chunks/{file-access-5daktx2q.js → location-5daktx2q.js} +1 -1
  58. package/dist/chunks/{file-access-5kmzp830.js → location-5eq1rvf4.js} +43 -43
  59. package/dist/chunks/{file-access-xgqanhs1.js → location-5q41emxe.js} +10 -10
  60. package/dist/chunks/{file-access-e3qxr5gk.js → location-5qd3pb7m.js} +2 -2
  61. package/dist/chunks/{file-access-5t3nmthw.js → location-5t3nmthw.js} +2 -2
  62. package/dist/chunks/{file-access-eqswh4p0.js → location-60k29m3a.js} +1 -1
  63. package/dist/chunks/{file-access-669tq793.js → location-669tq793.js} +1 -1
  64. package/dist/chunks/{file-access-mh417yj2.js → location-68hvg95z.js} +9 -9
  65. package/dist/chunks/{file-access-wbq604wr.js → location-6936e3tb.js} +33 -33
  66. package/dist/chunks/{file-access-r58we06e.js → location-693v0dn7.js} +5 -5
  67. package/dist/chunks/{file-access-2402vzrj.js → location-6h73sxmp.js} +5 -5
  68. package/dist/chunks/{file-access-bm7jthd3.js → location-6k33h7hv.js} +30 -30
  69. package/dist/chunks/{file-access-5jnj5r41.js → location-6mk1zs0m.js} +20 -20
  70. package/dist/chunks/{file-access-6msgmcgs.js → location-6msgmcgs.js} +1 -1
  71. package/dist/chunks/{file-access-ea9m5r7a.js → location-71xcq78h.js} +89 -89
  72. package/dist/chunks/{file-access-ej6hc95k.js → location-72nn9jfv.js} +3 -3
  73. package/dist/chunks/{file-access-7bmhse3q.js → location-7bmhse3q.js} +1 -1
  74. package/dist/chunks/{file-access-7s2tn799.js → location-7j2qha59.js} +8 -8
  75. package/dist/chunks/{file-access-5e2mts1z.js → location-7mt2gtfj.js} +26 -26
  76. package/dist/chunks/{file-access-f4mxeny4.js → location-7q8vgb26.js} +7 -7
  77. package/dist/chunks/{file-access-c05qyvmj.js → location-7qks8dan.js} +24 -24
  78. package/dist/chunks/{file-access-6n4b0dsb.js → location-7v81x33d.js} +9 -9
  79. package/dist/chunks/{file-access-57ez7d0k.js → location-81swgkk7.js} +7 -7
  80. package/dist/chunks/{file-access-8cr4de2n.js → location-82mn4p1g.js} +41 -41
  81. package/dist/chunks/{file-access-c3jkddnq.js → location-86cgss88.js} +3 -3
  82. package/dist/chunks/{file-access-4xqqv2eq.js → location-87dxtzj4.js} +20 -20
  83. package/dist/chunks/{file-access-8d7r5vzw.js → location-8d7r5vzw.js} +1 -1
  84. package/dist/chunks/{file-access-a6q3q10g.js → location-8fhzde2b.js} +32 -32
  85. package/dist/chunks/{file-access-5bvcr52s.js → location-8j1skqgj.js} +20 -20
  86. package/dist/chunks/{file-access-zqmnyjkg.js → location-8k1xnzjf.js} +20 -20
  87. package/dist/chunks/{file-access-zr4a2xz6.js → location-8m83jnsx.js} +48 -48
  88. package/dist/chunks/{file-access-fy9ksp8t.js → location-8pwagnxc.js} +30 -30
  89. package/dist/chunks/{file-access-6pc27hjz.js → location-8sze2n9a.js} +2 -2
  90. package/dist/chunks/{file-access-vfdyctpy.js → location-91n38a9p.js} +22 -22
  91. package/dist/chunks/{file-access-am8bjgc7.js → location-99fa44nw.js} +5 -5
  92. package/dist/chunks/{file-access-6xrmt3bc.js → location-9jhkgaje.js} +35 -35
  93. package/dist/chunks/{file-access-xtnt4vmq.js → location-9mm3gyjg.js} +13 -13
  94. package/dist/chunks/{file-access-jhgteaw4.js → location-9qyfdgxc.js} +11 -11
  95. package/dist/chunks/{file-access-1va56eq4.js → location-9rak6fg2.js} +26 -26
  96. package/dist/chunks/{file-access-aaet6srn.js → location-aaet6srn.js} +2 -2
  97. package/dist/chunks/{file-access-yt0fqk68.js → location-af04s6ss.js} +5 -5
  98. package/dist/chunks/{file-access-embw8kgh.js → location-afdssyjb.js} +4 -4
  99. package/dist/chunks/{file-access-dq0v80fr.js → location-afed7ext.js} +5 -5
  100. package/dist/chunks/{file-access-vx9ej7x5.js → location-ah251an0.js} +16 -16
  101. package/dist/chunks/{file-access-etwd8xdv.js → location-ahs7fvg1.js} +9 -9
  102. package/dist/chunks/{file-access-342w1vcn.js → location-ajaf8rr1.js} +21 -21
  103. package/dist/chunks/{file-access-tzt8249x.js → location-aktznddm.js} +11 -11
  104. package/dist/chunks/{file-access-sgwr1j85.js → location-akvdnkta.js} +24 -24
  105. package/dist/chunks/{file-access-zfamtpfd.js → location-ay4yd4d7.js} +11 -11
  106. package/dist/chunks/{file-access-ky3seynh.js → location-b09hzw3k.js} +2 -2
  107. package/dist/chunks/{file-access-b6gygkdw.js → location-b6gygkdw.js} +2 -2
  108. package/dist/chunks/{file-access-zgbj96fe.js → location-b7kqjy0v.js} +29 -29
  109. package/dist/chunks/{file-access-dbsq4pwp.js → location-b8171w38.js} +24 -24
  110. package/dist/chunks/{file-access-fx3wdqb9.js → location-b95n020p.js} +9 -9
  111. package/dist/chunks/{file-access-nmj3j4b2.js → location-bf4e40v7.js} +10 -10
  112. package/dist/chunks/{file-access-x5h44zm2.js → location-bf4gbvg4.js} +11 -11
  113. package/dist/chunks/{file-access-vewd95as.js → location-bjmftk71.js} +19 -19
  114. package/dist/chunks/{file-access-z07pqspn.js → location-bjtzbw4r.js} +3 -3
  115. package/dist/chunks/{file-access-pccq72bz.js → location-bk7jaeqh.js} +4 -4
  116. package/dist/chunks/{file-access-yakgq9vr.js → location-bqfsqarm.js} +15 -15
  117. package/dist/chunks/{file-access-49p0ed20.js → location-bsjb98v5.js} +45 -45
  118. package/dist/chunks/{file-access-tm3ganxf.js → location-bxg941en.js} +20 -20
  119. package/dist/chunks/{file-access-r0gnj1sa.js → location-c0zy3nqq.js} +2 -2
  120. package/dist/chunks/{file-access-zm32e97v.js → location-c4rfsmrz.js} +9 -9
  121. package/dist/chunks/{file-access-q31ybm9w.js → location-cpn8fns4.js} +10 -10
  122. package/dist/chunks/{file-access-p7cft6yn.js → location-cq4wpeev.js} +15 -15
  123. package/dist/chunks/{file-access-p91mzttq.js → location-cvrsk9fd.js} +7 -7
  124. package/dist/chunks/{file-access-4096n4es.js → location-d6r54p0z.js} +27 -27
  125. package/dist/chunks/{file-access-y6mhz57t.js → location-dbb8vp5z.js} +4 -4
  126. package/dist/chunks/{file-access-78hrq4jx.js → location-dd2mwsqy.js} +23 -23
  127. package/dist/chunks/{file-access-gdh5zwy9.js → location-dg2tseh9.js} +9 -9
  128. package/dist/chunks/{file-access-q2pj9hmq.js → location-dm5bbsxw.js} +8 -8
  129. package/dist/chunks/{file-access-1fzqmwms.js → location-e06d8b03.js} +35 -35
  130. package/dist/chunks/{file-access-fvanntqq.js → location-e6hd9jay.js} +6 -6
  131. package/dist/chunks/{file-access-ecfe7b91.js → location-ecfe7b91.js} +2 -2
  132. package/dist/chunks/{file-access-4dspejaa.js → location-ecrfaaw3.js} +40 -40
  133. package/dist/chunks/{file-access-ef5x83kb.js → location-ef5x83kb.js} +1 -1
  134. package/dist/chunks/{file-access-h6q283th.js → location-ef7kd23s.js} +20 -20
  135. package/dist/chunks/{file-access-za77p82n.js → location-em7mzjn4.js} +6 -6
  136. package/dist/chunks/{file-access-911xaqx0.js → location-ent53862.js} +24 -24
  137. package/dist/chunks/{file-access-mvfsc1pv.js → location-eq1pz5kg.js} +3 -3
  138. package/dist/chunks/{file-access-khtcj2vc.js → location-eqrj6z30.js} +28 -28
  139. package/dist/chunks/{file-access-etq0c3wd.js → location-etq0c3wd.js} +1 -1
  140. package/dist/chunks/{file-access-3w0fmcng.js → location-evbgk2k8.js} +5 -5
  141. package/dist/chunks/{file-access-a1n80dmw.js → location-f0vrjwjw.js} +18 -18
  142. package/dist/chunks/{file-access-axmvebxj.js → location-f3ngv102.js} +21 -21
  143. package/dist/chunks/{file-access-z5rd9rww.js → location-f5gy8qwh.js} +8 -8
  144. package/dist/chunks/{file-access-vvdre5gq.js → location-f8jv9byx.js} +42 -42
  145. package/dist/chunks/{file-access-z6rbkfvk.js → location-f9yek72b.js} +3 -3
  146. package/dist/chunks/{file-access-9sy143aw.js → location-fcbwjxnb.js} +1 -1
  147. package/dist/chunks/{file-access-d5ggx3gj.js → location-fgen454y.js} +3 -3
  148. package/dist/chunks/{file-access-mce70z9k.js → location-fkgkq2bq.js} +2 -2
  149. package/dist/chunks/{file-access-rc0bg82d.js → location-fmq6hapb.js} +13 -13
  150. package/dist/chunks/{file-access-j22g0rnm.js → location-fnhn454m.js} +11 -11
  151. package/dist/chunks/{file-access-mdrzgh0c.js → location-frbktfyz.js} +11 -11
  152. package/dist/chunks/{file-access-f73kw1rr.js → location-fvf5cb06.js} +26 -26
  153. package/dist/chunks/{file-access-g5agzp2h.js → location-g5agzp2h.js} +2 -2
  154. package/dist/chunks/{file-access-gd4qta3r.js → location-gd4qta3r.js} +1 -1
  155. package/dist/chunks/{file-access-94ek1h2f.js → location-gfvb90ym.js} +2 -2
  156. package/dist/chunks/{file-access-jcg2nqds.js → location-grs5yd9b.js} +54 -54
  157. package/dist/chunks/{file-access-gv6a8nnw.js → location-gv6a8nnw.js} +2 -2
  158. package/dist/chunks/{file-access-mpeg9c4h.js → location-gvegpbk5.js} +12 -12
  159. package/dist/chunks/{file-access-w5ebx16g.js → location-gy1zbbg8.js} +23 -23
  160. package/dist/chunks/{file-access-m9tnd93v.js → location-h5e2anyc.js} +9 -9
  161. package/dist/chunks/{file-access-h6vf3j39.js → location-h6vf3j39.js} +1 -1
  162. package/dist/chunks/{file-access-6hjx5zpb.js → location-h71w788e.js} +9 -9
  163. package/dist/chunks/{file-access-fne2zcz7.js → location-h9shz2e0.js} +11 -11
  164. package/dist/chunks/{file-access-h5w29vws.js → location-hd8vw2pw.js} +1 -1
  165. package/dist/chunks/{file-access-jda6501c.js → location-hj80damg.js} +35 -35
  166. package/dist/chunks/{file-access-kxastgyr.js → location-hm2cbah8.js} +30 -30
  167. package/dist/chunks/{file-access-v81977ac.js → location-hp5fhm3b.js} +11 -11
  168. package/dist/chunks/{file-access-9t1exmx7.js → location-hrpea4dg.js} +322 -322
  169. package/dist/chunks/{file-access-aqx1t2w1.js → location-j0374pag.js} +6 -6
  170. package/dist/chunks/{file-access-j56e64zr.js → location-j56e64zr.js} +1 -1
  171. package/dist/chunks/{file-access-0gqkrztv.js → location-js0q1b7y.js} +32 -32
  172. package/dist/chunks/{file-access-r4k1wyhr.js → location-jx81s07m.js} +3 -3
  173. package/dist/chunks/{file-access-y3vytq0t.js → location-jzg4p26z.js} +9 -9
  174. package/dist/chunks/{file-access-qfdmkt50.js → location-k23qkgd8.js} +30 -30
  175. package/dist/chunks/{file-access-k3c624dm.js → location-k3c624dm.js} +3 -3
  176. package/dist/chunks/{file-access-4nzwy074.js → location-k3sn4jay.js} +4 -4
  177. package/dist/chunks/{file-access-yy1qatwb.js → location-ka9n7xe0.js} +18 -18
  178. package/dist/chunks/{file-access-d5wfqpep.js → location-kvnawng8.js} +6 -6
  179. package/dist/chunks/{file-access-73k62qrh.js → location-kwg7c6hr.js} +31 -31
  180. package/dist/chunks/{file-access-8df8erbe.js → location-m303x724.js} +25 -25
  181. package/dist/chunks/{file-access-m3fdjcah.js → location-m3fdjcah.js} +1 -1
  182. package/dist/chunks/{file-access-m9w0rfyh.js → location-m9w0rfyh.js} +1 -1
  183. package/dist/chunks/{file-access-301zh46q.js → location-me8jvw4v.js} +13 -13
  184. package/dist/chunks/{file-access-3sfkgk8j.js → location-mgmaefw5.js} +6 -6
  185. package/dist/chunks/{file-access-rtv6ahp9.js → location-mnbh32fx.js} +6 -6
  186. package/dist/chunks/{file-access-7cwnxm3f.js → location-mtsc5q31.js} +22 -22
  187. package/dist/chunks/{file-access-e7v7ag1x.js → location-n2qcta3r.js} +14 -14
  188. package/dist/chunks/{file-access-tmyr738p.js → location-n62dhrz9.js} +8 -8
  189. package/dist/chunks/{file-access-sy6yxnp0.js → location-njwqk4ka.js} +19 -19
  190. package/dist/chunks/{file-access-qg0jgkcp.js → location-nq7qbqzc.js} +9 -9
  191. package/dist/chunks/{file-access-1fpbszz0.js → location-p49hdftr.js} +6 -6
  192. package/dist/chunks/{file-access-nay98bnt.js → location-p4av1y14.js} +17 -17
  193. package/dist/chunks/{file-access-sgf2gghg.js → location-p50sb73r.js} +11 -11
  194. package/dist/chunks/{file-access-8pbjw162.js → location-pbmgymcv.js} +14 -14
  195. package/dist/chunks/{file-access-6kksgcx1.js → location-pcsc7bbk.js} +1 -1
  196. package/dist/chunks/{file-access-f062ken5.js → location-pdnpx475.js} +6 -6
  197. package/dist/chunks/{file-access-k0a3z2qz.js → location-pgp1nwjn.js} +4 -4
  198. package/dist/chunks/{file-access-pjvnvgmy.js → location-pjvnvgmy.js} +1 -1
  199. package/dist/chunks/{file-access-pknna89w.js → location-pknna89w.js} +1 -1
  200. package/dist/chunks/{file-access-2fhv7y2b.js → location-pmtx2bmb.js} +15 -15
  201. package/dist/chunks/{file-access-m6x2wn8b.js → location-pq0em7mp.js} +14 -14
  202. package/dist/chunks/{file-access-wd3x2cqz.js → location-psazpmmj.js} +2 -2
  203. package/dist/chunks/{file-access-z3anv38p.js → location-pty0nb4y.js} +8 -8
  204. package/dist/chunks/{file-access-4z01qq42.js → location-pvphy38p.js} +20 -20
  205. package/dist/chunks/{file-access-3402q8qq.js → location-pwhkx6jx.js} +3 -3
  206. package/dist/chunks/{file-access-3g35pcv0.js → location-pz026a91.js} +4 -4
  207. package/dist/chunks/{file-access-qsewrvhd.js → location-pz6dgdr2.js} +7 -7
  208. package/dist/chunks/{file-access-p23sct0g.js → location-q17xkac2.js} +9 -9
  209. package/dist/chunks/{file-access-4my0r3nx.js → location-q1b20y97.js} +12 -12
  210. package/dist/chunks/{file-access-9j9p4yd9.js → location-q4gdq19g.js} +20 -20
  211. package/dist/chunks/{file-access-6vgcbnx1.js → location-qcf13vms.js} +15 -15
  212. package/dist/chunks/{file-access-2e4my0rk.js → location-qe945752.js} +17 -17
  213. package/dist/chunks/{file-access-q44wpwgt.js → location-qj9xvr5c.js} +20 -20
  214. package/dist/chunks/{file-access-qsdy395h.js → location-qsdy395h.js} +1 -1
  215. package/dist/chunks/{file-access-1fftszxk.js → location-qsjjakye.js} +5 -5
  216. package/dist/chunks/{file-access-t6h1g1g5.js → location-qxvajmf7.js} +13 -13
  217. package/dist/chunks/{file-access-hzmns3wg.js → location-qyysjfz2.js} +1 -1
  218. package/dist/chunks/{file-access-p7mbcwcb.js → location-qzyph8ek.js} +11 -11
  219. package/dist/chunks/{file-access-vrpz8t5t.js → location-r4yqrmdq.js} +5 -5
  220. package/dist/chunks/location-rap9a73h.js +18 -0
  221. package/dist/chunks/{file-access-8bhq85vc.js → location-rd0fjfer.js} +17 -17
  222. package/dist/chunks/{file-access-rdw6cm16.js → location-rdw6cm16.js} +1 -1
  223. package/dist/chunks/{file-access-gz0m67vm.js → location-rh8y0z1p.js} +22 -22
  224. package/dist/chunks/{file-access-t550f9t1.js → location-rhjbct0v.js} +4 -4
  225. package/dist/chunks/{file-access-mqnkr8x4.js → location-rk8e6c4e.js} +6 -6
  226. package/dist/chunks/{file-access-axh3bb98.js → location-rnnyhd50.js} +17 -17
  227. package/dist/chunks/location-sb5wy6p1.js +26 -0
  228. package/dist/chunks/{file-access-b3vjrmmd.js → location-sbhdk62n.js} +10 -10
  229. package/dist/chunks/{file-access-sjxp2wb1.js → location-sjrr8pwy.js} +26 -26
  230. package/dist/chunks/{file-access-ypp77dnm.js → location-snqwywr0.js} +12 -12
  231. package/dist/chunks/{file-access-qa3qhgw8.js → location-t2fc4mz5.js} +4 -4
  232. package/dist/chunks/{file-access-0hq2a882.js → location-t80zgtse.js} +33 -33
  233. package/dist/chunks/{file-access-2008k294.js → location-t8jhjvab.js} +24 -24
  234. package/dist/chunks/{file-access-tazgh4e4.js → location-tazgh4e4.js} +1 -1
  235. package/dist/chunks/{file-access-tcezcvh9.js → location-tcezcvh9.js} +1 -1
  236. package/dist/chunks/{file-access-tdstcens.js → location-tdstcens.js} +1 -1
  237. package/dist/chunks/{file-access-tvtrv512.js → location-tvtrv512.js} +1 -1
  238. package/dist/chunks/{file-access-v0t94end.js → location-va6930fd.js} +5 -5
  239. package/dist/chunks/{file-access-sfce5m8y.js → location-va698f7d.js} +11 -11
  240. package/dist/chunks/{file-access-veqvce7d.js → location-veqvce7d.js} +1 -1
  241. package/dist/chunks/{file-access-qje44bf3.js → location-vjnhtx5y.js} +3 -3
  242. package/dist/chunks/{file-access-an7cqtb7.js → location-vncycja5.js} +4 -4
  243. package/dist/chunks/{file-access-0qzc11ky.js → location-vth0z15k.js} +19 -19
  244. package/dist/chunks/{file-access-vsat1x4f.js → location-vxtm7qfg.js} +9 -9
  245. package/dist/chunks/{file-access-vzcthcp8.js → location-vzcthcp8.js} +1 -1
  246. package/dist/chunks/{file-access-vzs5sf6e.js → location-vzs5sf6e.js} +1 -1
  247. package/dist/chunks/{file-access-yzmqgt45.js → location-w0tr1p2n.js} +20 -20
  248. package/dist/chunks/{file-access-779yr38r.js → location-w168c8c1.js} +24 -24
  249. package/dist/chunks/{file-access-w3wsvvr9.js → location-w3wsvvr9.js} +1 -1
  250. package/dist/chunks/{file-access-eq6cnfxg.js → location-w7zcztdz.js} +11 -11
  251. package/dist/chunks/{file-access-qte5z7bc.js → location-wbkyxrgf.js} +5 -5
  252. package/dist/chunks/{file-access-wd87259q.js → location-wd87259q.js} +1 -1
  253. package/dist/chunks/{file-access-914x9242.js → location-wget8q3v.js} +3 -3
  254. package/dist/chunks/{file-access-3t1ftwb2.js → location-whrbrn4z.js} +18 -18
  255. package/dist/chunks/{file-access-twytakqq.js → location-wn6ryfvd.js} +1 -1
  256. package/dist/chunks/{file-access-w3tfrc1q.js → location-wq9xxgxb.js} +46 -46
  257. package/dist/chunks/{file-access-8nmhxbrx.js → location-wy0rscj2.js} +27 -27
  258. package/dist/chunks/{file-access-4zh8bh1k.js → location-x0p95pq5.js} +9 -9
  259. package/dist/chunks/{file-access-1vvb128b.js → location-x0tasxqz.js} +4 -4
  260. package/dist/chunks/{file-access-x1ezjp6w.js → location-x1ezjp6w.js} +1 -1
  261. package/dist/chunks/{file-access-xax8qz02.js → location-xd9p6rte.js} +57 -57
  262. package/dist/chunks/{file-access-amee31y2.js → location-xdma2xvk.js} +30 -30
  263. package/dist/chunks/{file-access-drwq78ky.js → location-xfkkasph.js} +4 -4
  264. package/dist/chunks/{file-access-k070rzvq.js → location-xg3m2ppk.js} +87 -87
  265. package/dist/chunks/{file-access-c2fkv48w.js → location-xh5xzt4q.js} +13 -13
  266. package/dist/chunks/{file-access-sfk4w328.js → location-xhkwk9gp.js} +16 -16
  267. package/dist/chunks/{file-access-xkntkrq7.js → location-xkntkrq7.js} +2 -2
  268. package/dist/chunks/{file-access-rfw6gmm3.js → location-xp5qxbch.js} +5 -5
  269. package/dist/chunks/{file-access-p1centea.js → location-xs1m67vf.js} +9 -9
  270. package/dist/chunks/{file-access-pw8s4ynb.js → location-y1df562v.js} +20 -20
  271. package/dist/chunks/{file-access-y1fvbwt7.js → location-y1fvbwt7.js} +1 -1
  272. package/dist/chunks/{file-access-xxynqx5z.js → location-y6f0p4jw.js} +3 -3
  273. package/dist/chunks/{file-access-y71avatq.js → location-y71avatq.js} +1 -1
  274. package/dist/chunks/{file-access-rgnahn02.js → location-yeqt6yj4.js} +28 -28
  275. package/dist/chunks/{file-access-yrhqyw5v.js → location-yrhqyw5v.js} +1 -1
  276. package/dist/chunks/{file-access-s4enseaf.js → location-yrznvahk.js} +2 -2
  277. package/dist/chunks/{file-access-a4cmfvx0.js → location-yv7j04vt.js} +4 -4
  278. package/dist/chunks/{file-access-bhjh1468.js → location-yzqmf70x.js} +36 -36
  279. package/dist/chunks/{file-access-z0bkrqjs.js → location-z0bkrqjs.js} +1 -1
  280. package/dist/chunks/{file-access-pc2x3pek.js → location-z1wz9sty.js} +8 -8
  281. package/dist/chunks/{file-access-pp173efe.js → location-z2sk8n0r.js} +9 -9
  282. package/dist/chunks/{file-access-yavsy04x.js → location-z38mhgfq.js} +12 -12
  283. package/dist/chunks/{file-access-29x78va6.js → location-z63w68vq.js} +6 -6
  284. package/dist/chunks/{file-access-zeh9ct20.js → location-zeh9ct20.js} +2 -2
  285. package/dist/chunks/{file-access-sqgwgmch.js → location-zmwna8pt.js} +12 -12
  286. package/dist/chunks/{file-access-xa86a8qv.js → location-zqjeymsx.js} +4 -4
  287. package/dist/chunks/{file-access-zr2ceqn5.js → location-zr2ceqn5.js} +1 -1
  288. package/dist/chunks/{file-access-3mwv30z9.js → location-zv90g90z.js} +13 -13
  289. package/dist/chunks/location-zxfsz17a.js +43 -0
  290. package/dist/chunks/{file-access-zxq2ej10.js → location-zxq2ej10.js} +1 -1
  291. package/dist/chunks/{file-access-egxmeba7.js → location-zzmrs7ms.js} +21 -21
  292. package/dist/codemode/catalog.js +1 -1
  293. package/dist/codemode/instructions.js +7 -7
  294. package/dist/codemode/tool.js +3 -3
  295. package/dist/codemode/web.js +1 -1
  296. package/dist/command.js +81 -81
  297. package/dist/config/discovery.js +82 -82
  298. package/dist/config/markdown.js +1 -1
  299. package/dist/config/normalize.js +106 -106
  300. package/dist/config/plugin/agent.js +125 -125
  301. package/dist/config/plugin/command.js +214 -214
  302. package/dist/config/plugin/compaction.js +160 -160
  303. package/dist/config/plugin/compatibility.js +141 -141
  304. package/dist/config/plugin/entry-observer.js +1 -1
  305. package/dist/config/plugin/formatter.js +124 -124
  306. package/dist/config/plugin/image.js +123 -123
  307. package/dist/config/plugin/instruction.js +90 -90
  308. package/dist/config/plugin/location-watcher.js +125 -125
  309. package/dist/config/plugin/mcp.js +132 -132
  310. package/dist/config/plugin/policy.js +124 -124
  311. package/dist/config/plugin/provider.js +123 -123
  312. package/dist/config/plugin/reference.js +125 -125
  313. package/dist/config/plugin/shell.js +125 -125
  314. package/dist/config/plugin/skill-file.js +102 -102
  315. package/dist/config/plugin/skill.js +144 -144
  316. package/dist/config/plugin/snapshot.js +123 -123
  317. package/dist/config/plugin/source.js +126 -126
  318. package/dist/config/plugin/tool-output.js +125 -125
  319. package/dist/config/plugin/websearch.js +124 -124
  320. package/dist/config/plugin/worktree.js +125 -125
  321. package/dist/config/variable.js +3 -3
  322. package/dist/config/watch.js +1 -1
  323. package/dist/config.js +128 -128
  324. package/dist/credential/sql.js +2 -2
  325. package/dist/credential.js +77 -77
  326. package/dist/database/database.js +66 -66
  327. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  328. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  329. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  330. package/dist/database/drizzle/index.js +13 -13
  331. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  334. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  335. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  336. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  337. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  338. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  339. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  340. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  341. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  342. package/dist/database/drizzle.js +14 -14
  343. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  344. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  345. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  346. package/dist/database/migration/20260225215848_workspace.js +1 -1
  347. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  348. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  349. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  350. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  351. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  352. package/dist/database/migration/20260323234822_events.js +1 -1
  353. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  354. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  355. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  356. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  357. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  358. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  359. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  360. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  361. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  362. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  363. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  364. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  365. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  366. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  367. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  368. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  369. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  370. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  371. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  372. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  373. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  374. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  375. package/dist/database/migration/20260611035744_credential.js +1 -1
  376. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  377. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  378. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  379. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  380. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  381. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  382. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  383. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  384. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  385. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  386. package/dist/database/migration/20260812213948_worktree.js +1 -1
  387. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  388. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  389. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  390. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  391. package/dist/database/migration.gen.js +49 -49
  392. package/dist/database/migration.js +51 -51
  393. package/dist/database/path.js +2 -2
  394. package/dist/database/schema.gen.js +1 -1
  395. package/dist/database/schema.sql.js +1 -1
  396. package/dist/database/sqlite.bun.js +1 -1
  397. package/dist/database/sqlite.js +1 -1
  398. package/dist/database/sqlite.node.js +1 -1
  399. package/dist/database/sqlite.workerd.js +1 -1
  400. package/dist/database/v1-migration.bun.js +76 -76
  401. package/dist/database/v1-migration.js +1 -1
  402. package/dist/effect/app-node-builder.js +370 -370
  403. package/dist/effect/app-node-platform.js +2 -2
  404. package/dist/effect/keyed-mutex.js +1 -1
  405. package/dist/effect/websocket-constructor.js +1 -1
  406. package/dist/environment/driver.js +1 -1
  407. package/dist/environment/environment.js +93 -93
  408. package/dist/environment/exec-defaults.js +2 -2
  409. package/dist/environment/files.js +1 -1
  410. package/dist/environment/index.js +95 -95
  411. package/dist/environment/local.js +2 -2
  412. package/dist/environment/memory.js +2 -2
  413. package/dist/environment/unavailable.js +1 -1
  414. package/dist/event/sql.js +1 -1
  415. package/dist/event-logger.js +70 -70
  416. package/dist/file-access.js +104 -104
  417. package/dist/file-mutation.js +94 -94
  418. package/dist/file-retention.js +1 -1
  419. package/dist/filesystem/fff.bun.js +2 -2
  420. package/dist/filesystem/fff.js +1 -1
  421. package/dist/filesystem/fff.node.js +2 -2
  422. package/dist/filesystem/fff.workerd.js +2 -2
  423. package/dist/filesystem/ignore.js +1 -1
  424. package/dist/filesystem/location-watcher-policy.js +6 -6
  425. package/dist/filesystem/location-watcher.js +227 -227
  426. package/dist/filesystem/protected.js +1 -1
  427. package/dist/filesystem/search.js +103 -103
  428. package/dist/filesystem/watcher-binding.js +3 -3
  429. package/dist/filesystem/watcher.js +15 -15
  430. package/dist/filesystem.js +100 -100
  431. package/dist/form.js +74 -74
  432. package/dist/formatter/builtins.js +4 -4
  433. package/dist/formatter.js +87 -87
  434. package/dist/generate.js +103 -103
  435. package/dist/git.js +6 -6
  436. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  437. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  438. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  439. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  440. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  441. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  442. package/dist/github-copilot/copilot-provider.js +17 -17
  443. package/dist/github-copilot/models.js +91 -91
  444. package/dist/github-copilot/openai-compatible-error.js +1 -1
  445. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  446. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  447. package/dist/github-copilot/responses/openai-error.js +1 -1
  448. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  449. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  450. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  451. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  452. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  453. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  454. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  455. package/dist/id/id.js +1 -1
  456. package/dist/image/photon.js +2 -2
  457. package/dist/image.js +6 -6
  458. package/dist/instance/service.js +5 -5
  459. package/dist/instance.js +361 -361
  460. package/dist/instruction-discovery.js +83 -83
  461. package/dist/instructions/builtins.js +87 -87
  462. package/dist/instructions/index.js +3 -3
  463. package/dist/integration/connection.js +1 -1
  464. package/dist/integration.js +80 -80
  465. package/dist/job.js +79 -79
  466. package/dist/kv/sql.js +2 -2
  467. package/dist/kv.js +73 -73
  468. package/dist/location-activity.js +132 -132
  469. package/dist/location-lifecycle.js +107 -107
  470. package/dist/location-service-map.js +86 -86
  471. package/dist/location-services.js +358 -358
  472. package/dist/location.js +87 -87
  473. package/dist/managed-policy.js +5 -5
  474. package/dist/mcp/client.js +91 -91
  475. package/dist/mcp/index.js +108 -108
  476. package/dist/mcp/instructions.js +128 -128
  477. package/dist/mcp/oauth.js +78 -78
  478. package/dist/mcp/stdio.js +90 -90
  479. package/dist/mime.js +1 -1
  480. package/dist/modal/models.js +91 -91
  481. package/dist/model-resolver.js +96 -96
  482. package/dist/model.js +96 -96
  483. package/dist/models-dev.js +107 -107
  484. package/dist/oauth/page.js +1 -1
  485. package/dist/permission/saved.js +82 -82
  486. package/dist/permission/sql.js +5 -5
  487. package/dist/permission.js +115 -115
  488. package/dist/persistent-pty/binary.bun.js +1 -1
  489. package/dist/persistent-pty/daemon.js +1 -1
  490. package/dist/persistent-pty/index.js +88 -88
  491. package/dist/persistent-pty/pty-binding.js +1 -1
  492. package/dist/persistent-pty.js +75 -75
  493. package/dist/plugin/agent.js +102 -102
  494. package/dist/plugin/command.js +101 -101
  495. package/dist/plugin/hooks.js +5 -5
  496. package/dist/plugin/host.js +218 -218
  497. package/dist/plugin/identity.js +3 -3
  498. package/dist/plugin/instance.js +5 -5
  499. package/dist/plugin/internal.js +333 -333
  500. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  501. package/dist/plugin/models-dev.js +96 -96
  502. package/dist/plugin/module.js +7 -7
  503. package/dist/plugin/optimize.js +2 -2
  504. package/dist/plugin/plan.js +102 -102
  505. package/dist/plugin/promise.js +1 -1
  506. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  507. package/dist/plugin/provider/azure.js +122 -122
  508. package/dist/plugin/provider/cerebras.js +1 -1
  509. package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
  510. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  511. package/dist/plugin/provider/cohere.js +2 -2
  512. package/dist/plugin/provider/configured.js +119 -119
  513. package/dist/plugin/provider/digitalocean.js +93 -93
  514. package/dist/plugin/provider/dynamic.js +2 -2
  515. package/dist/plugin/provider/factory.js +1 -1
  516. package/dist/plugin/provider/gateway.js +2 -2
  517. package/dist/plugin/provider/github-copilot.js +94 -94
  518. package/dist/plugin/provider/gitlab.js +93 -93
  519. package/dist/plugin/provider/google-vertex.js +90 -90
  520. package/dist/plugin/provider/kilo.js +1 -1
  521. package/dist/plugin/provider/llmgateway.js +77 -77
  522. package/dist/plugin/provider/lmstudio.js +120 -120
  523. package/dist/plugin/provider/modal.js +92 -92
  524. package/dist/plugin/provider/nvidia.js +1 -1
  525. package/dist/plugin/provider/ollama.js +120 -120
  526. package/dist/plugin/provider/openai.js +92 -92
  527. package/dist/plugin/provider/opencode.js +95 -95
  528. package/dist/plugin/provider/openrouter.js +91 -91
  529. package/dist/plugin/provider/perplexity.js +2 -2
  530. package/dist/plugin/provider/poe.js +78 -78
  531. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  532. package/dist/plugin/provider/sap-ai-core.js +91 -91
  533. package/dist/plugin/provider/sdk-factory.js +1 -1
  534. package/dist/plugin/provider/snowflake-cortex.js +122 -122
  535. package/dist/plugin/provider/venice.js +2 -2
  536. package/dist/plugin/provider/vercel.js +90 -90
  537. package/dist/plugin/provider/vllm.js +120 -120
  538. package/dist/plugin/provider/xai.js +91 -91
  539. package/dist/plugin/provider/zenmux.js +1 -1
  540. package/dist/plugin/provider.js +161 -161
  541. package/dist/plugin/sdk.js +74 -74
  542. package/dist/plugin/service.js +3 -3
  543. package/dist/plugin/skill.js +139 -139
  544. package/dist/plugin/source-directory.js +1 -1
  545. package/dist/plugin/supervisor.js +352 -352
  546. package/dist/plugin/tool-input-repair.js +4 -4
  547. package/dist/plugin/update.js +6 -6
  548. package/dist/plugin/vcs/git.js +86 -86
  549. package/dist/plugin/vcs/hg.js +86 -86
  550. package/dist/plugin/verbosity.js +93 -93
  551. package/dist/plugin/warming.js +121 -121
  552. package/dist/plugin/websearch/exa.js +7 -7
  553. package/dist/plugin/websearch/firecrawl.js +8 -8
  554. package/dist/plugin/websearch/index.js +9 -9
  555. package/dist/plugin/websearch/mcp.js +6 -6
  556. package/dist/plugin/websearch/parallel.js +8 -8
  557. package/dist/plugin/websearch/tavily.js +6 -6
  558. package/dist/plugin/websearch/tinyfish.js +8 -8
  559. package/dist/plugin.js +227 -227
  560. package/dist/project/schema.js +6 -6
  561. package/dist/project/sql.js +4 -4
  562. package/dist/project.js +86 -86
  563. package/dist/provider.js +93 -93
  564. package/dist/pty/protocol.js +1 -1
  565. package/dist/pty/ticket.js +1 -1
  566. package/dist/pty.js +97 -97
  567. package/dist/reference/instructions.js +89 -89
  568. package/dist/reference.js +91 -91
  569. package/dist/repository-cache.js +81 -81
  570. package/dist/repository.js +3 -3
  571. package/dist/ripgrep/binary.js +2 -2
  572. package/dist/ripgrep.js +95 -95
  573. package/dist/rpc.js +86 -86
  574. package/dist/schema.js +1 -1
  575. package/dist/session/command.js +74 -74
  576. package/dist/session/compaction.js +132 -132
  577. package/dist/session/context.js +152 -152
  578. package/dist/session/diff.js +88 -88
  579. package/dist/session/environment.js +5 -5
  580. package/dist/session/error.js +7 -7
  581. package/dist/session/event.js +1 -1
  582. package/dist/session/execution/restart.js +221 -221
  583. package/dist/session/execution.js +126 -126
  584. package/dist/session/generate.js +151 -151
  585. package/dist/session/history.js +15 -15
  586. package/dist/session/inbox.js +88 -88
  587. package/dist/session/info.js +3 -3
  588. package/dist/session/instruction-entry.js +79 -79
  589. package/dist/session/instruction-state.js +8 -8
  590. package/dist/session/instructions.js +97 -97
  591. package/dist/session/message-updater.js +2 -2
  592. package/dist/session/message.js +1 -1
  593. package/dist/session/model-request.js +117 -117
  594. package/dist/session/model-transport.js +7 -7
  595. package/dist/session/move.js +130 -130
  596. package/dist/session/projector.js +86 -86
  597. package/dist/session/prompt.js +105 -105
  598. package/dist/session/provider-context.js +3 -3
  599. package/dist/session/revert.js +90 -90
  600. package/dist/session/run-coordinator.js +1 -1
  601. package/dist/session/runner/index.js +3 -3
  602. package/dist/session/runner/llm.js +231 -231
  603. package/dist/session/runner/max-steps.js +1 -1
  604. package/dist/session/runner/model.js +98 -98
  605. package/dist/session/runner/publish-llm-event.js +3 -3
  606. package/dist/session/runner/retry.js +2 -2
  607. package/dist/session/runner/step.js +126 -126
  608. package/dist/session/runner/to-llm-message.js +2 -2
  609. package/dist/session/schema.js +5 -5
  610. package/dist/session/session.js +172 -172
  611. package/dist/session/shell.js +138 -138
  612. package/dist/session/skill.js +103 -103
  613. package/dist/session/sql.js +5 -5
  614. package/dist/session/stats.js +73 -73
  615. package/dist/session/store.js +87 -87
  616. package/dist/session/subagent-completion.js +1 -1
  617. package/dist/session/subagent-job.js +208 -208
  618. package/dist/session/system-prompt.js +3 -3
  619. package/dist/session/title.js +156 -156
  620. package/dist/session/to-session-error.js +111 -111
  621. package/dist/session/transfer.js +217 -217
  622. package/dist/session/usage.js +1 -1
  623. package/dist/session.js +216 -216
  624. package/dist/shell/parse.js +6 -6
  625. package/dist/shell/result.js +1 -1
  626. package/dist/shell/scan.js +1 -1
  627. package/dist/shell/select.js +15 -15
  628. package/dist/shell.js +140 -140
  629. package/dist/skill/discovery.js +6 -6
  630. package/dist/skill/instructions.js +107 -107
  631. package/dist/skill.js +108 -108
  632. package/dist/snapshot.js +93 -93
  633. package/dist/state.js +1 -1
  634. package/dist/tool/html-markdown.js +1 -1
  635. package/dist/tool/http-body.js +1 -1
  636. package/dist/tool/mcp.js +127 -127
  637. package/dist/tool/plugin/edit.js +120 -120
  638. package/dist/tool/plugin/file-diff.js +1 -1
  639. package/dist/tool/plugin/glob.js +124 -124
  640. package/dist/tool/plugin/grep.js +124 -124
  641. package/dist/tool/plugin/mcp-resource.js +116 -116
  642. package/dist/tool/plugin/opencode.js +3 -3
  643. package/dist/tool/plugin/patch.js +122 -122
  644. package/dist/tool/plugin/question.js +103 -103
  645. package/dist/tool/plugin/read.js +125 -125
  646. package/dist/tool/plugin/shell.js +217 -217
  647. package/dist/tool/plugin/skill.js +111 -111
  648. package/dist/tool/plugin/subagent.js +217 -217
  649. package/dist/tool/plugin/webfetch.js +110 -110
  650. package/dist/tool/plugin/websearch.js +112 -112
  651. package/dist/tool/plugin/write.js +122 -122
  652. package/dist/tool/read-filesystem.js +100 -100
  653. package/dist/tool/runtime.js +1 -1
  654. package/dist/tool-output.js +8 -8
  655. package/dist/tool.js +14 -14
  656. package/dist/types/location.d.ts +1 -3
  657. package/dist/types/project.d.ts +1 -3
  658. package/dist/util/error-summary.js +1 -1
  659. package/dist/util/error.js +1 -1
  660. package/dist/util/git-executable.js +2 -2
  661. package/dist/util/iife.js +1 -1
  662. package/dist/util/lazy.js +1 -1
  663. package/dist/util/slug.js +1 -1
  664. package/dist/util/token.js +1 -1
  665. package/dist/util/which.js +1 -1
  666. package/dist/util/wildcard.js +1 -1
  667. package/dist/v1/config/agent.js +7 -7
  668. package/dist/v1/config/attachment.js +4 -4
  669. package/dist/v1/config/command.js +3 -3
  670. package/dist/v1/config/config.js +16 -16
  671. package/dist/v1/config/error.js +4 -4
  672. package/dist/v1/config/formatter.js +5 -5
  673. package/dist/v1/config/layout.js +1 -1
  674. package/dist/v1/config/lsp.js +5 -5
  675. package/dist/v1/config/mcp.js +4 -4
  676. package/dist/v1/config/migrate.js +92 -92
  677. package/dist/v1/config/permission.js +7 -7
  678. package/dist/v1/config/plugin.js +3 -3
  679. package/dist/v1/config/provider-options.js +1 -1
  680. package/dist/v1/config/provider.js +4 -4
  681. package/dist/v1/config/server.js +2 -2
  682. package/dist/v1/config/skills.js +3 -3
  683. package/dist/v1/permission.js +1 -1
  684. package/dist/variant.js +93 -93
  685. package/dist/vcs/patch.js +1 -1
  686. package/dist/vcs.js +89 -89
  687. package/dist/websearch.js +80 -80
  688. package/dist/wellknown/plugin.js +76 -76
  689. package/dist/wellknown.js +81 -81
  690. package/dist/workspace/driver.js +5 -5
  691. package/dist/workspace/sql.js +1 -1
  692. package/dist/workspace.js +80 -80
  693. package/dist/worktree/directory.js +2 -2
  694. package/dist/worktree/git.js +10 -10
  695. package/dist/worktree/sql.js +5 -5
  696. package/dist/worktree/strategies.js +89 -89
  697. package/dist/worktree.js +96 -96
  698. package/package.json +8 -8
  699. package/dist/chunks/file-access-5hg325bh.js +0 -252
  700. package/dist/chunks/file-access-619r8v3y.js +0 -18
  701. package/dist/chunks/file-access-nyn33q22.js +0 -43
  702. package/dist/chunks/file-access-znyh501z.js +0 -26
  703. /package/dist/chunks/{file-access-0qkdqm5v.js → location-0qkdqm5v.js} +0 -0
  704. /package/dist/chunks/{file-access-0zkw76rk.js → location-0zkw76rk.js} +0 -0
  705. /package/dist/chunks/{file-access-17cy0kzp.js → location-17cy0kzp.js} +0 -0
  706. /package/dist/chunks/{file-access-1cnp2v09.js → location-1cnp2v09.js} +0 -0
  707. /package/dist/chunks/{file-access-1kg9ymc8.js → location-1kg9ymc8.js} +0 -0
  708. /package/dist/chunks/{file-access-24dcb14g.js → location-24dcb14g.js} +0 -0
  709. /package/dist/chunks/{file-access-2710q6r3.js → location-2710q6r3.js} +0 -0
  710. /package/dist/chunks/{file-access-2axfhc9x.js → location-2axfhc9x.js} +0 -0
  711. /package/dist/chunks/{file-access-2c3vjs8z.js → location-2c3vjs8z.js} +0 -0
  712. /package/dist/chunks/{file-access-34c7v6d4.js → location-34c7v6d4.js} +0 -0
  713. /package/dist/chunks/{file-access-359p4xyc.js → location-359p4xyc.js} +0 -0
  714. /package/dist/chunks/{file-access-3asan66x.js → location-3asan66x.js} +0 -0
  715. /package/dist/chunks/{file-access-3v8g72cx.js → location-3v8g72cx.js} +0 -0
  716. /package/dist/chunks/{file-access-3w5fmr99.js → location-3w5fmr99.js} +0 -0
  717. /package/dist/chunks/{file-access-3wcehsnq.js → location-3wcehsnq.js} +0 -0
  718. /package/dist/chunks/{file-access-43n2bw4t.js → location-43n2bw4t.js} +0 -0
  719. /package/dist/chunks/{file-access-4knz6hnm.js → location-4knz6hnm.js} +0 -0
  720. /package/dist/chunks/{file-access-4vcrnpx2.js → location-4vcrnpx2.js} +0 -0
  721. /package/dist/chunks/{file-access-4y7fprxs.js → location-4y7fprxs.js} +0 -0
  722. /package/dist/chunks/{file-access-53557ph1.js → location-53557ph1.js} +0 -0
  723. /package/dist/chunks/{file-access-550bvhaj.js → location-550bvhaj.js} +0 -0
  724. /package/dist/chunks/{file-access-6prwharc.js → location-6prwharc.js} +0 -0
  725. /package/dist/chunks/{file-access-7akdwqpd.js → location-7akdwqpd.js} +0 -0
  726. /package/dist/chunks/{file-access-7m9af43g.js → location-7m9af43g.js} +0 -0
  727. /package/dist/chunks/{file-access-822emrt2.js → location-822emrt2.js} +0 -0
  728. /package/dist/chunks/{file-access-88xbtdfr.js → location-88xbtdfr.js} +0 -0
  729. /package/dist/chunks/{file-access-8n3pysct.js → location-8n3pysct.js} +0 -0
  730. /package/dist/chunks/{file-access-8wj87zfr.js → location-8wj87zfr.js} +0 -0
  731. /package/dist/chunks/{file-access-922hggd3.js → location-922hggd3.js} +0 -0
  732. /package/dist/chunks/{file-access-9a4afbnw.js → location-9a4afbnw.js} +0 -0
  733. /package/dist/chunks/{file-access-9rqn6x4v.js → location-9rqn6x4v.js} +0 -0
  734. /package/dist/chunks/{file-access-a6k6eb26.js → location-a6k6eb26.js} +0 -0
  735. /package/dist/chunks/{file-access-af5trqkr.js → location-af5trqkr.js} +0 -0
  736. /package/dist/chunks/{file-access-afrmfg78.js → location-afrmfg78.js} +0 -0
  737. /package/dist/chunks/{file-access-aqzs7mqg.js → location-aqzs7mqg.js} +0 -0
  738. /package/dist/chunks/{file-access-atq7p7m5.js → location-atq7p7m5.js} +0 -0
  739. /package/dist/chunks/{file-access-bkyjaxrp.js → location-bkyjaxrp.js} +0 -0
  740. /package/dist/chunks/{file-access-bmr6ed5q.js → location-bmr6ed5q.js} +0 -0
  741. /package/dist/chunks/{file-access-cf4snx6d.js → location-cf4snx6d.js} +0 -0
  742. /package/dist/chunks/{file-access-cvy3z8tj.js → location-cvy3z8tj.js} +0 -0
  743. /package/dist/chunks/{file-access-d9fn303g.js → location-d9fn303g.js} +0 -0
  744. /package/dist/chunks/{file-access-d9jj8t3e.js → location-d9jj8t3e.js} +0 -0
  745. /package/dist/chunks/{file-access-dajrwvna.js → location-dajrwvna.js} +0 -0
  746. /package/dist/chunks/{file-access-dap0rakb.js → location-dap0rakb.js} +0 -0
  747. /package/dist/chunks/{file-access-df08tz66.js → location-df08tz66.js} +0 -0
  748. /package/dist/chunks/{file-access-dy18nga0.js → location-dy18nga0.js} +0 -0
  749. /package/dist/chunks/{file-access-e5kj55wp.js → location-e5kj55wp.js} +0 -0
  750. /package/dist/chunks/{file-access-e73j6tqm.js → location-e73j6tqm.js} +0 -0
  751. /package/dist/chunks/{file-access-ec1grn59.js → location-ec1grn59.js} +0 -0
  752. /package/dist/chunks/{file-access-eh3zwz77.js → location-eh3zwz77.js} +0 -0
  753. /package/dist/chunks/{file-access-emrn6kk6.js → location-emrn6kk6.js} +0 -0
  754. /package/dist/chunks/{file-access-f0mxakyp.js → location-f0mxakyp.js} +0 -0
  755. /package/dist/chunks/{file-access-f6n9ztr4.js → location-f6n9ztr4.js} +0 -0
  756. /package/dist/chunks/{file-access-faypxj3z.js → location-faypxj3z.js} +0 -0
  757. /package/dist/chunks/{file-access-fd410y7t.js → location-fd410y7t.js} +0 -0
  758. /package/dist/chunks/{file-access-fxgpk5d8.js → location-fxgpk5d8.js} +0 -0
  759. /package/dist/chunks/{file-access-g4wezp1m.js → location-g4wezp1m.js} +0 -0
  760. /package/dist/chunks/{file-access-g86h250q.js → location-g86h250q.js} +0 -0
  761. /package/dist/chunks/{file-access-gebd4c9n.js → location-gebd4c9n.js} +0 -0
  762. /package/dist/chunks/{file-access-gftt206x.js → location-gftt206x.js} +0 -0
  763. /package/dist/chunks/{file-access-hjbc5kem.js → location-hjbc5kem.js} +0 -0
  764. /package/dist/chunks/{file-access-hk9envan.js → location-hk9envan.js} +0 -0
  765. /package/dist/chunks/{file-access-j2ntwpah.js → location-j2ntwpah.js} +0 -0
  766. /package/dist/chunks/{file-access-j5zkgpj8.js → location-j5zkgpj8.js} +0 -0
  767. /package/dist/chunks/{file-access-jjkms2e6.js → location-jjkms2e6.js} +0 -0
  768. /package/dist/chunks/{file-access-jr7sbwjy.js → location-jr7sbwjy.js} +0 -0
  769. /package/dist/chunks/{file-access-jwfs4k6c.js → location-jwfs4k6c.js} +0 -0
  770. /package/dist/chunks/{file-access-jzg6c2d5.js → location-jzg6c2d5.js} +0 -0
  771. /package/dist/chunks/{file-access-mp448xyj.js → location-mp448xyj.js} +0 -0
  772. /package/dist/chunks/{file-access-msx8hqn2.js → location-msx8hqn2.js} +0 -0
  773. /package/dist/chunks/{file-access-n05xt0ee.js → location-n05xt0ee.js} +0 -0
  774. /package/dist/chunks/{file-access-n3j8tn72.js → location-n3j8tn72.js} +0 -0
  775. /package/dist/chunks/{file-access-njntx4h6.js → location-njntx4h6.js} +0 -0
  776. /package/dist/chunks/{file-access-q3sfg36h.js → location-q3sfg36h.js} +0 -0
  777. /package/dist/chunks/{file-access-q74kybfr.js → location-q74kybfr.js} +0 -0
  778. /package/dist/chunks/{file-access-qaymkmh1.js → location-qaymkmh1.js} +0 -0
  779. /package/dist/chunks/{file-access-qb87gjwd.js → location-qb87gjwd.js} +0 -0
  780. /package/dist/chunks/{file-access-qfa1cgps.js → location-qfa1cgps.js} +0 -0
  781. /package/dist/chunks/{file-access-qg3g05ea.js → location-qg3g05ea.js} +0 -0
  782. /package/dist/chunks/{file-access-qrg20bc0.js → location-qrg20bc0.js} +0 -0
  783. /package/dist/chunks/{file-access-rcb2kzg1.js → location-rcb2kzg1.js} +0 -0
  784. /package/dist/chunks/{file-access-sdp7kfr6.js → location-sdp7kfr6.js} +0 -0
  785. /package/dist/chunks/{file-access-sk3qaz4a.js → location-sk3qaz4a.js} +0 -0
  786. /package/dist/chunks/{file-access-ssg3fenm.js → location-ssg3fenm.js} +0 -0
  787. /package/dist/chunks/{file-access-w803qqfp.js → location-w803qqfp.js} +0 -0
  788. /package/dist/chunks/{file-access-wc3fc9cn.js → location-wc3fc9cn.js} +0 -0
  789. /package/dist/chunks/{file-access-wer8tq1h.js → location-wer8tq1h.js} +0 -0
  790. /package/dist/chunks/{file-access-wtztk69x.js → location-wtztk69x.js} +0 -0
  791. /package/dist/chunks/{file-access-x0ckcb58.js → location-x0ckcb58.js} +0 -0
  792. /package/dist/chunks/{file-access-x61499pn.js → location-x61499pn.js} +0 -0
  793. /package/dist/chunks/{file-access-y44na4kk.js → location-y44na4kk.js} +0 -0
  794. /package/dist/chunks/{file-access-y8cydn3q.js → location-y8cydn3q.js} +0 -0
  795. /package/dist/chunks/{file-access-y8f7s663.js → location-y8f7s663.js} +0 -0
  796. /package/dist/chunks/{file-access-ygaqb7jw.js → location-ygaqb7jw.js} +0 -0
  797. /package/dist/chunks/{file-access-ym463w8f.js → location-ym463w8f.js} +0 -0
  798. /package/dist/chunks/{file-access-z9919s4g.js → location-z9919s4g.js} +0 -0
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  Ref4
3
- } from "./file-access-nyn33q22.js";
3
+ } from "./location-zxfsz17a.js";
4
4
  import {
5
5
  __export
6
- } from "./file-access-9rqn6x4v.js";
6
+ } from "./location-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: () => Service70,
13
13
  canonical: () => canonical3,
14
- node: () => node83,
14
+ node: () => node73,
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 Service70 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(Service70, (locations) => locations.get(ref)));
25
25
  }
26
26
  }
27
- var node83 = LayerNode.unbound(Service79, Node.tags.values.global);
27
+ var node73 = LayerNode.unbound(Service70, Node.tags.values.global);
28
28
  var reload2 = Effect.fn("LocationServiceMap.reload")(function* () {
29
- const locations = yield* Service79;
29
+ const locations = yield* Service70;
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 { Service70, node73, reload2, canonical3, exports_location_service_map };
@@ -1,27 +1,27 @@
1
1
  import {
2
2
  Service84
3
- } from "./file-access-qje44bf3.js";
3
+ } from "./location-vjnhtx5y.js";
4
4
  import {
5
- Service50
6
- } from "./file-access-hq8zt1th.js";
5
+ Service61
6
+ } from "./location-321x2wtd.js";
7
7
  import {
8
8
  awaitActivation2
9
- } from "./file-access-619r8v3y.js";
9
+ } from "./location-rap9a73h.js";
10
10
  import {
11
11
  provenance2
12
- } from "./file-access-5dkn69vz.js";
12
+ } from "./location-4j4tgtq5.js";
13
13
  import {
14
14
  preview2
15
- } from "./file-access-zfamtpfd.js";
15
+ } from "./location-ay4yd4d7.js";
16
16
  import {
17
17
  baseTranscript2
18
- } from "./file-access-kxastgyr.js";
18
+ } from "./location-hm2cbah8.js";
19
19
  import {
20
- Service30
21
- } from "./file-access-k070rzvq.js";
20
+ Service29
21
+ } from "./location-xg3m2ppk.js";
22
22
  import {
23
23
  __export
24
- } from "./file-access-9rqn6x4v.js";
24
+ } from "./location-9rqn6x4v.js";
25
25
 
26
26
  // src/session/generate.ts
27
27
  var exports_generate2 = {};
@@ -32,12 +32,12 @@ __export(exports_generate2, {
32
32
  import { LLMClient, Message } from "@opencode/ai";
33
33
  import { Effect } from "effect";
34
34
  var generate2 = Effect.fn("SessionGenerate.generate")(function* (input) {
35
- const instances = yield* Service50;
35
+ const instances = yield* Service61;
36
36
  const database = yield* Service84;
37
37
  const llm = yield* LLMClient.Service;
38
38
  return yield* Effect.gen(function* () {
39
39
  yield* awaitActivation2;
40
- const context = yield* Service30;
40
+ const context = yield* Service29;
41
41
  const selection = yield* context.select(input.session.id);
42
42
  const model = yield* context.resolveModel(selection.session);
43
43
  const history = yield* preview2(database.db, selection.session.id, selection.instructions, provenance2(model) ?? "local");
@@ -2,28 +2,28 @@ import {
2
2
  ephemeral2,
3
3
  Service83,
4
4
  node87
5
- } from "./file-access-a4cmfvx0.js";
5
+ } from "./location-yv7j04vt.js";
6
6
  import {
7
- Service76,
8
- node80
9
- } from "./file-access-nmj3j4b2.js";
7
+ Service81,
8
+ node85
9
+ } from "./location-bf4e40v7.js";
10
10
  import {
11
11
  __export
12
- } from "./file-access-9rqn6x4v.js";
12
+ } from "./location-9rqn6x4v.js";
13
13
 
14
14
  // src/wellknown.ts
15
15
  var exports_wellknown = {};
16
16
  __export(exports_wellknown, {
17
17
  Auth: () => Auth2,
18
18
  Config: () => Config2,
19
- Event: () => Event14,
19
+ Event: () => Event10,
20
20
  Manifest: () => Manifest2,
21
21
  RemoteConfig: () => RemoteConfig2,
22
- Service: () => Service66,
22
+ Service: () => Service49,
23
23
  WellKnown: () => exports_wellknown,
24
24
  inspect: () => inspect2,
25
- node: () => node69,
26
- resolve: () => resolve3
25
+ node: () => node52,
26
+ resolve: () => resolve2
27
27
  });
28
28
  import { Integration } from "@opencode/schema/integration";
29
29
  import { Context, Effect, Layer, Ref, Schema, Semaphore } from "effect";
@@ -46,9 +46,9 @@ var Manifest2 = Schema.Struct({
46
46
  remote_config: Schema.optional(RemoteConfig2)
47
47
  }).annotate({ identifier: "WellKnown.Manifest" });
48
48
 
49
- class Service66 extends Context.Service()("@opencode/WellKnown") {
49
+ class Service49 extends Context.Service()("@opencode/WellKnown") {
50
50
  }
51
- var Event14 = {
51
+ var Event10 = {
52
52
  Updated: ephemeral2({ type: "wellknown.updated", schema: {} })
53
53
  };
54
54
  var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
@@ -56,7 +56,7 @@ var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
56
56
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
57
57
  return yield* http.execute(HttpClientRequest.get(url).pipe(HttpClientRequest.acceptJson)).pipe(Effect.flatMap(HttpClientResponse.schemaBodyJson(Manifest2)), Effect.mapError((cause) => new Error(`Failed to load wellknown manifest from ${url}`, { cause })));
58
58
  });
59
- var resolve3 = Effect.fn("WellKnown.resolve")(function* (input) {
59
+ var resolve2 = Effect.fn("WellKnown.resolve")(function* (input) {
60
60
  const manifest = yield* inspect2(input.origin);
61
61
  return yield* resolveEntry({ origin: input.origin, integrationID: Integration.ID.make(input.origin.replace(/\/+$/, "")), manifest }, input.variables ?? {});
62
62
  });
@@ -75,9 +75,9 @@ var resolveEntry = Effect.fnUntraced(function* (entry, variables) {
75
75
  });
76
76
  var sourcesKey = "wellknown:sources";
77
77
  var Sources = Schema.Array(Schema.String);
78
- var layer = Layer.effect(Service66, Effect.gen(function* () {
78
+ var layer = Layer.effect(Service49, Effect.gen(function* () {
79
79
  const http = yield* HttpClient.HttpClient;
80
- const kv = yield* Service76;
80
+ const kv = yield* Service81;
81
81
  const bus = yield* Service83;
82
82
  const cache = yield* Ref.make(new Map);
83
83
  const lock = Semaphore.makeUnsafe(1);
@@ -109,10 +109,10 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
109
109
  if (!changed)
110
110
  return false;
111
111
  yield* Ref.set(cache, next);
112
- yield* bus.publish(Event14.Updated, {});
112
+ yield* bus.publish(Event10.Updated, {});
113
113
  return true;
114
114
  }, (effect) => lock.withPermit(effect));
115
- return Service66.of({
115
+ return Service49.of({
116
116
  entries: load,
117
117
  snapshot: () => Array.from(Ref.getUnsafe(cache).values()),
118
118
  refresh,
@@ -125,7 +125,7 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
125
125
  const origins = Schema.is(Sources)(sources) ? sources : [];
126
126
  yield* kv.set(sourcesKey, Array.from(new Set([...origins, origin])));
127
127
  yield* Ref.update(cache, (current) => new Map(current).set(origin, entry));
128
- yield* bus.publish(Event14.Updated, {});
128
+ yield* bus.publish(Event10.Updated, {});
129
129
  return entry;
130
130
  }, (effect, _value) => lock.withPermit(effect)),
131
131
  remove: Effect.fn("WellKnown.remove")(function* (value) {
@@ -138,11 +138,11 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
138
138
  next.delete(origin);
139
139
  return next;
140
140
  });
141
- yield* bus.publish(Event14.Updated, {});
141
+ yield* bus.publish(Event10.Updated, {});
142
142
  }, (effect, _value) => lock.withPermit(effect)),
143
143
  resolve: Effect.fn("WellKnown.resolveEntry")((entry, variables) => resolveEntry(entry, variables).pipe(Effect.provideService(HttpClient.HttpClient, http)))
144
144
  });
145
145
  }));
146
- var node69 = makeGlobalNode({ service: Service66, layer, deps: [httpClient, node80, node87] });
146
+ var node52 = makeGlobalNode({ service: Service49, layer, deps: [httpClient, node85, node87] });
147
147
 
148
- export { Auth2, RemoteConfig2, Config2, Manifest2, Service66, Event14, inspect2, resolve3, node69, exports_wellknown };
148
+ export { Auth2, RemoteConfig2, Config2, Manifest2, Service49, Event10, inspect2, resolve2, node52, exports_wellknown };
@@ -1,45 +1,45 @@
1
1
  import {
2
- Service65
3
- } from "./file-access-911xaqx0.js";
2
+ Service48
3
+ } from "./location-ent53862.js";
4
4
  import {
5
5
  unavailable3
6
- } from "./file-access-t550f9t1.js";
6
+ } from "./location-rhjbct0v.js";
7
7
  import {
8
8
  AbsolutePath2
9
- } from "./file-access-922hggd3.js";
9
+ } from "./location-922hggd3.js";
10
10
  import {
11
11
  File2,
12
- Service43
13
- } from "./file-access-n1jysz1p.js";
12
+ Service53
13
+ } from "./location-0bkc3y3d.js";
14
14
  import {
15
- Service80
16
- } from "./file-access-nyn33q22.js";
15
+ Service77
16
+ } from "./location-zxfsz17a.js";
17
17
  import {
18
18
  __export
19
- } from "./file-access-9rqn6x4v.js";
19
+ } from "./location-9rqn6x4v.js";
20
20
 
21
21
  // src/config/plugin/instruction.ts
22
22
  var exports_instruction = {};
23
23
  __export(exports_instruction, {
24
24
  ConfigInstructionPlugin: () => exports_instruction,
25
- Plugin: () => Plugin3
25
+ Plugin: () => Plugin33
26
26
  });
27
27
  import { define } from "@opencode/plugin/effect/plugin";
28
28
  import { FSUtil } from "@opencode/util/fs-util";
29
29
  import { Global } from "@opencode/util/global";
30
30
  import { dirname, join } from "path";
31
31
  import { Effect, PubSub, Semaphore, Stream } from "effect";
32
- var Plugin3 = define({
32
+ var Plugin33 = define({
33
33
  id: "opencode.config.instruction",
34
34
  effect: Effect.fn(function* () {
35
- const discovery = yield* Service43;
35
+ const discovery = yield* Service53;
36
36
  if (!discovery.project && !discovery.global)
37
37
  return;
38
38
  yield* Effect.gen(function* () {
39
39
  const fs = yield* FSUtil.Service;
40
40
  const global = yield* Global.Service;
41
- const location = yield* Service80;
42
- const watcher = yield* Service65;
41
+ const location = yield* Service77;
42
+ const watcher = yield* Service48;
43
43
  const changes = yield* PubSub.sliding(1);
44
44
  const lock = Semaphore.makeUnsafe(1);
45
45
  const start = yield* fs.resolve(location.directory);
@@ -114,4 +114,4 @@ function ancestorDirectories(start, stop) {
114
114
  return [start, ...ancestorDirectories(dirname(start), stop)];
115
115
  }
116
116
 
117
- export { Plugin3, exports_instruction };
117
+ export { Plugin33, exports_instruction };
@@ -1,27 +1,27 @@
1
1
  import {
2
2
  ascending2
3
- } from "./file-access-tvtrv512.js";
3
+ } from "./location-tvtrv512.js";
4
4
  import {
5
- Service76,
6
- node80
7
- } from "./file-access-nmj3j4b2.js";
5
+ Service81,
6
+ node85
7
+ } from "./location-bf4e40v7.js";
8
8
  import {
9
9
  SessionMessage2
10
- } from "./file-access-gftt206x.js";
10
+ } from "./location-gftt206x.js";
11
11
  import {
12
12
  SessionSchema2
13
- } from "./file-access-xxynqx5z.js";
13
+ } from "./location-y6f0p4jw.js";
14
14
  import {
15
15
  __export
16
- } from "./file-access-9rqn6x4v.js";
16
+ } from "./location-9rqn6x4v.js";
17
17
 
18
18
  // src/job.ts
19
19
  var exports_job = {};
20
20
  __export(exports_job, {
21
21
  Job: () => exports_job,
22
- Service: () => Service51,
23
- make: () => make18,
24
- node: () => node54
22
+ Service: () => Service62,
23
+ make: () => make19,
24
+ node: () => node65
25
25
  });
26
26
  import { Array, Cause, Clock, Context, Deferred, Effect, Exit, Layer, Schema, Scope, SynchronizedRef } from "effect";
27
27
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
@@ -51,7 +51,7 @@ var decodeBackground = Schema.decodeUnknownResult(Background);
51
51
  var backgroundPrefix = "job.background/";
52
52
  var COMPLETED_LIMIT = 25;
53
53
 
54
- class Service51 extends Context.Service()("@opencode/Job") {
54
+ class Service62 extends Context.Service()("@opencode/Job") {
55
55
  }
56
56
  function snapshot(job) {
57
57
  return {
@@ -86,8 +86,8 @@ function decrementSession(input, sessionID) {
86
86
  next.set(sessionID, count - 1);
87
87
  return next;
88
88
  }
89
- var make18 = Effect.gen(function* () {
90
- const kv = yield* Service76;
89
+ var make19 = Effect.gen(function* () {
90
+ const kv = yield* Service81;
91
91
  const state = {
92
92
  jobs: yield* SynchronizedRef.make(new Map),
93
93
  scope: yield* Scope.Scope
@@ -346,7 +346,7 @@ var make18 = Effect.gen(function* () {
346
346
  next.delete(entry[0]);
347
347
  return next;
348
348
  })));
349
- return Service51.of({
349
+ return Service62.of({
350
350
  get,
351
351
  start,
352
352
  wait,
@@ -358,7 +358,7 @@ var make18 = Effect.gen(function* () {
358
358
  completeBackground
359
359
  });
360
360
  });
361
- var layer = Layer.effect(Service51, make18);
362
- var node54 = makeGlobalNode({ service: Service51, layer, deps: [node80] });
361
+ var layer = Layer.effect(Service62, make19);
362
+ var node65 = makeGlobalNode({ service: Service62, layer, deps: [node85] });
363
363
 
364
- export { Service51, make18, node54, exports_job };
364
+ export { Service62, make19, node65, exports_job };
@@ -1,44 +1,44 @@
1
1
  import {
2
- Service54
3
- } from "./file-access-xax8qz02.js";
2
+ Service64
3
+ } from "./location-xd9p6rte.js";
4
4
  import {
5
5
  MAX_MARKDOWN_BYTES2,
6
6
  convertHTMLToMarkdown2
7
- } from "./file-access-4vcrnpx2.js";
7
+ } from "./location-4vcrnpx2.js";
8
8
  import {
9
9
  collectBoundedResponseBody2
10
- } from "./file-access-3v8g72cx.js";
10
+ } from "./location-3v8g72cx.js";
11
11
  import {
12
12
  __export
13
- } from "./file-access-9rqn6x4v.js";
13
+ } from "./location-9rqn6x4v.js";
14
14
 
15
15
  // src/tool/plugin/webfetch.ts
16
16
  var exports_webfetch = {};
17
17
  __export(exports_webfetch, {
18
18
  DEFAULT_TIMEOUT_SECONDS: () => DEFAULT_TIMEOUT_SECONDS2,
19
- Input: () => Input10,
20
- MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES3,
19
+ Input: () => Input11,
20
+ MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES2,
21
21
  MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
22
- Plugin: () => Plugin47,
22
+ Plugin: () => Plugin13,
23
23
  WebFetchTool: () => exports_webfetch,
24
24
  convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
25
25
  description: () => description5,
26
26
  extractTextFromHTML: () => extractTextFromHTML2,
27
- name: () => name10
27
+ name: () => name11
28
28
  });
29
29
  import { ToolFailure } from "@opencode/ai";
30
30
  import { Duration, Effect, Schema } from "effect";
31
31
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
32
32
  import { Parser } from "htmlparser2";
33
- var name10 = "webfetch";
34
- var MAX_RESPONSE_BYTES3 = MAX_MARKDOWN_BYTES2;
33
+ var name11 = "webfetch";
34
+ var MAX_RESPONSE_BYTES2 = MAX_MARKDOWN_BYTES2;
35
35
  var DEFAULT_TIMEOUT_SECONDS2 = 30;
36
36
  var MAX_TIMEOUT_SECONDS2 = 120;
37
37
  var description5 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
38
38
 
39
39
  Use a more targeted tool when one is available. This tool is read-only. Large text results may be replaced with a preview while the complete output is retained in managed storage.`;
40
40
  var Timeout = Schema.Finite.check(Schema.isGreaterThan(0), Schema.isLessThanOrEqualTo(MAX_TIMEOUT_SECONDS2));
41
- var Input10 = Schema.Struct({
41
+ var Input11 = Schema.Struct({
42
42
  url: Schema.String.annotate({ description: "The HTTP or HTTPS URL to fetch content from" }),
43
43
  format: Schema.Literals(["text", "markdown", "html"]).annotate({ description: "The format to return the content in. Defaults to markdown." }).pipe(Schema.withDecodingDefaultKey(Effect.succeed("markdown"))),
44
44
  timeout: Schema.optionalKey(Timeout).annotate({
@@ -48,7 +48,7 @@ var Input10 = Schema.Struct({
48
48
  var Output = Schema.Struct({
49
49
  url: Schema.String,
50
50
  contentType: Schema.String,
51
- format: Input10.fields.format,
51
+ format: Input11.fields.format,
52
52
  output: Schema.String
53
53
  });
54
54
  var acceptHeader = (format) => {
@@ -79,7 +79,7 @@ var assertHttpUrl = (url) => {
79
79
  throw new Error("URL must use http:// or https://");
80
80
  };
81
81
  var execute = (http, url, format, userAgent = openCodeUserAgent) => http.execute(request(url, format, userAgent)).pipe(Effect.flatMap(HttpClientResponse.filterStatusOk));
82
- var collectBody = (response) => collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES3, () => new Error(`Response too large (exceeds ${MAX_RESPONSE_BYTES3} byte limit)`));
82
+ var collectBody = (response) => collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES2, () => new Error(`Response too large (exceeds ${MAX_RESPONSE_BYTES2} byte limit)`));
83
83
  var mimeFrom = (contentType) => contentType.split(";", 1)[0]?.trim().toLowerCase() ?? "";
84
84
  var isImageAttachment = (mime) => mime.startsWith("image/") && mime !== "image/svg+xml" && mime !== "image/vnd.fastbidsheet";
85
85
  var isTextualMime = (mime) => !mime || mime.startsWith("text/") || mime === "application/json" || mime.endsWith("+json") || mime === "application/xml" || mime.endsWith("+xml") || mime === "application/javascript" || mime === "application/x-javascript";
@@ -92,16 +92,16 @@ var convert = (content, contentType, format) => {
92
92
  return extractTextFromHTML2(content);
93
93
  return content;
94
94
  };
95
- var Plugin47 = {
95
+ var Plugin13 = {
96
96
  id: "opencode.tool.webfetch",
97
97
  effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
98
98
  const http = yield* HttpClient.HttpClient;
99
- const permission = yield* Service54;
99
+ const permission = yield* Service64;
100
100
  yield* ctx.tool.transform((editor) => editor.add({
101
- name: name10,
101
+ name: name11,
102
102
  options: { codemode: false },
103
103
  description: description5,
104
- input: Input10,
104
+ input: Input11,
105
105
  output: Output,
106
106
  execute: (input, context) => Effect.gen(function* () {
107
107
  yield* Effect.try({
@@ -109,7 +109,7 @@ var Plugin47 = {
109
109
  catch: (error) => error
110
110
  });
111
111
  yield* permission.assert({
112
- action: name10,
112
+ action: name11,
113
113
  resources: [input.url],
114
114
  save: ["*"],
115
115
  metadata: input,
@@ -167,4 +167,4 @@ function extractTextFromHTML2(html) {
167
167
  parser.end();
168
168
  return text.trim();
169
169
  }
170
- export { name10, MAX_RESPONSE_BYTES3, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description5, Input10, Plugin47, extractTextFromHTML2, exports_webfetch };
170
+ export { name11, MAX_RESPONSE_BYTES2, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description5, Input11, Plugin13, extractTextFromHTML2, exports_webfetch };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./file-access-9rqn6x4v.js";
3
+ } from "./location-9rqn6x4v.js";
4
4
 
5
5
  // src/config/plugin/entry-observer.ts
6
6
  var exports_entry_observer = {};
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  ID12,
3
3
  Family2
4
- } from "./file-access-5jnj5r41.js";
4
+ } from "./location-6mk1zs0m.js";
5
5
  import {
6
- Service64
7
- } from "./file-access-8cr4de2n.js";
6
+ Service47
7
+ } from "./location-82mn4p1g.js";
8
8
  import {
9
9
  foldSettings2
10
- } from "./file-access-mqnkr8x4.js";
10
+ } from "./location-rk8e6c4e.js";
11
11
 
12
12
  // src/plugin/provider/ollama.ts
13
13
  import { define } from "@opencode/plugin/effect/plugin";
@@ -50,7 +50,7 @@ function make5(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
50
50
  id: "opencode.provider.ollama",
51
51
  effect: Effect.fn(function* (ctx) {
52
52
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
53
- const config = yield* Service64;
53
+ const config = yield* Service47;
54
54
  const source = { current: configured(yield* config.entries(), origin) };
55
55
  const loaded = { models: [], hash: "[]" };
56
56
  yield* ctx.integration.transform((integrations) => {
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./file-access-y71avatq.js";
3
+ } from "./location-y71avatq.js";
4
4
  import {
5
- Service67,
6
- node70
7
- } from "./file-access-779yr38r.js";
5
+ Service50,
6
+ node53
7
+ } from "./location-w168c8c1.js";
8
8
  import {
9
9
  __export
10
- } from "./file-access-9rqn6x4v.js";
10
+ } from "./location-9rqn6x4v.js";
11
11
 
12
12
  // src/file-mutation.ts
13
13
  var exports_file_mutation = {};
14
14
  __export(exports_file_mutation, {
15
15
  FileMutation: () => exports_file_mutation,
16
- Service: () => Service20,
17
- node: () => node23,
16
+ Service: () => Service15,
17
+ node: () => node17,
18
18
  readText: () => readText2,
19
19
  syncTextBom: () => syncTextBom2
20
20
  });
@@ -22,7 +22,7 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
22
22
  import { Context, Effect, Layer } from "effect";
23
23
  import { FSUtil } from "@opencode/util/fs-util";
24
24
  import { Bom } from "@opencode/util/bom";
25
- class Service20 extends Context.Service()("@opencode/FileMutation") {
25
+ class Service15 extends Context.Service()("@opencode/FileMutation") {
26
26
  }
27
27
  var readText2 = Effect.fn("FileMutation.readText")(function* (files, target) {
28
28
  return Bom.decodeBytes((yield* files.read(target)).bytes);
@@ -34,8 +34,8 @@ var syncTextBom2 = Effect.fn("FileMutation.syncTextBom")(function* (files, targe
34
34
  return synced.text;
35
35
  });
36
36
  var transactionLocks = makeUnsafe2();
37
- var layer = Layer.effect(Service20, Effect.gen(function* () {
38
- const environment = yield* Service67;
37
+ var layer = Layer.effect(Service15, Effect.gen(function* () {
38
+ const environment = yield* Service50;
39
39
  const locks = makeUnsafe2();
40
40
  const withLock = (targets) => (effect) => [...new Set(targets.map(FSUtil.resolve))].sort().reduceRight((result, target) => transactionLocks.withLock(target)(result), effect);
41
41
  const withTargetLock = (target) => (effect) => locks.withLock(target.absolute)(Effect.uninterruptible(effect));
@@ -56,8 +56,8 @@ var layer = Layer.effect(Service20, Effect.gen(function* () {
56
56
  yield* environment.files.write(input.target.absolute, new TextEncoder().encode(Bom.join(next.text, Boolean(current && Bom.has(current)) || next.bom)));
57
57
  return writeResult(input.target, current !== undefined);
58
58
  })));
59
- return Service20.of({ withLock, write, writeTextPreservingBom });
59
+ return Service15.of({ withLock, write, writeTextPreservingBom });
60
60
  }));
61
- var node23 = makeLocationNode({ service: Service20, layer, deps: [node70] });
61
+ var node17 = makeLocationNode({ service: Service15, layer, deps: [node53] });
62
62
 
63
- export { Service20, readText2, syncTextBom2, node23, exports_file_mutation };
63
+ export { Service15, readText2, syncTextBom2, node17, exports_file_mutation };
@@ -2,7 +2,7 @@ import {
2
2
  SQLiteEffectPreparedQuery2,
3
3
  SQLiteEffectSession2,
4
4
  SQLiteEffectTransaction2
5
- } from "./file-access-mce70z9k.js";
5
+ } from "./location-fkgkq2bq.js";
6
6
 
7
7
  // src/database/drizzle/effect-sqlite/session.ts
8
8
  import * as Context from "effect/Context";
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  __export
3
- } from "./file-access-9rqn6x4v.js";
3
+ } from "./location-9rqn6x4v.js";
4
4
 
5
5
  // src/app.ts
6
6
  var exports_app = {};
7
7
  __export(exports_app, {
8
8
  App: () => exports_app,
9
9
  Metadata: () => Metadata2,
10
- configured: () => configured7,
11
- layer: () => layer19,
12
- make: () => make15,
13
- node: () => node49,
10
+ configured: () => configured11,
11
+ layer: () => layer24,
12
+ make: () => make21,
13
+ node: () => node75,
14
14
  useragent: () => useragent2
15
15
  });
16
16
  import { Context, Layer } from "effect";
17
17
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
18
18
  var Metadata2 = Context.Reference("@opencode/App", {
19
- defaultValue: () => make15()
19
+ defaultValue: () => make21()
20
20
  });
21
- function make15(input = {}) {
21
+ function make21(input = {}) {
22
22
  return {
23
23
  name: input.name ?? "opencode",
24
24
  version: input.version ?? "unknown",
@@ -28,8 +28,8 @@ function make15(input = {}) {
28
28
  function useragent2(app) {
29
29
  return `opencode/${app.channel}/${app.version}/${app.name}`;
30
30
  }
31
- var layer19 = (input) => Layer.succeed(Metadata2, make15(input));
32
- var configured7 = (input) => makeGlobalNode({ service: Metadata2, layer: layer19(input), deps: [] });
33
- var node49 = configured7();
31
+ var layer24 = (input) => Layer.succeed(Metadata2, make21(input));
32
+ var configured11 = (input) => makeGlobalNode({ service: Metadata2, layer: layer24(input), deps: [] });
33
+ var node75 = configured11();
34
34
 
35
- export { Metadata2, make15, useragent2, layer19, configured7, node49, exports_app };
35
+ export { Metadata2, make21, useragent2, layer24, configured11, node75, exports_app };
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  codeInterpreterArgsSchema2
3
- } from "./file-access-eh3zwz77.js";
3
+ } from "./location-eh3zwz77.js";
4
4
  import {
5
5
  fileSearchArgsSchema2
6
- } from "./file-access-e73j6tqm.js";
6
+ } from "./location-e73j6tqm.js";
7
7
  import {
8
8
  webSearchArgsSchema2
9
- } from "./file-access-3wcehsnq.js";
9
+ } from "./location-3wcehsnq.js";
10
10
  import {
11
11
  webSearchPreviewArgsSchema2
12
- } from "./file-access-dap0rakb.js";
12
+ } from "./location-dap0rakb.js";
13
13
  import {
14
14
  imageGenerationArgsSchema2
15
- } from "./file-access-4y7fprxs.js";
15
+ } from "./location-4y7fprxs.js";
16
16
 
17
17
  // src/github-copilot/responses/openai-responses-prepare-tools.ts
18
18
  import {
@@ -0,0 +1,18 @@
1
+ import {
2
+ __export
3
+ } from "./location-9rqn6x4v.js";
4
+
5
+ // src/plugin/service.ts
6
+ var exports_service = {};
7
+ __export(exports_service, {
8
+ Plugin: () => exports_service,
9
+ Service: () => Service33,
10
+ awaitActivation: () => awaitActivation2
11
+ });
12
+ import { Context } from "effect";
13
+
14
+ class Service33 extends Context.Service()("@opencode/Plugin") {
15
+ }
16
+ var awaitActivation2 = Service33.use((plugins) => plugins.awaitActivation);
17
+
18
+ export { Service33, awaitActivation2, exports_service };