@opencode/core 0.0.0-dev-20450 → 0.0.0-dev-20452

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 (804) 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 +7 -7
  6. package/dist/bus.js +69 -69
  7. package/dist/chunks/{location-services-zkmsq240.js → models-dev-0854p0gv.js} +11 -11
  8. package/dist/chunks/{location-services-dcr84v06.js → models-dev-0941922b.js} +13 -13
  9. package/dist/chunks/{location-services-23pqda6t.js → models-dev-0gaj4617.js} +6 -6
  10. package/dist/chunks/{location-services-q0xm7vwc.js → models-dev-0j77ygfz.js} +6 -6
  11. package/dist/chunks/{location-services-0paq2nw3.js → models-dev-0paq2nw3.js} +1 -1
  12. package/dist/chunks/{location-services-d3cqp89z.js → models-dev-0rgzkkjh.js} +18 -18
  13. package/dist/chunks/{location-services-0vbcp93d.js → models-dev-0vbcp93d.js} +2 -2
  14. package/dist/chunks/{location-services-me3s3vv4.js → models-dev-0xkn7ts5.js} +11 -11
  15. package/dist/chunks/{location-services-sjv5qmhe.js → models-dev-15khhqps.js} +3 -3
  16. package/dist/chunks/{location-services-sx1n432n.js → models-dev-1a6p2twq.js} +4 -4
  17. package/dist/chunks/{location-services-yp2x3t23.js → models-dev-1acjjqhc.js} +4 -4
  18. package/dist/chunks/{location-services-p37cw4rj.js → models-dev-1ajx6rf5.js} +8 -8
  19. package/dist/chunks/{location-services-ejfvs62f.js → models-dev-1bnhazxr.js} +20 -20
  20. package/dist/chunks/{location-services-1dazxqgg.js → models-dev-1dazxqgg.js} +2 -2
  21. package/dist/chunks/{location-services-bvrvs8m0.js → models-dev-1nr7swwt.js} +29 -27
  22. package/dist/chunks/{location-services-5t1kfqwj.js → models-dev-1xzpbkn4.js} +9 -9
  23. package/dist/chunks/{location-services-21r38tys.js → models-dev-21r38tys.js} +1 -1
  24. package/dist/chunks/{location-services-epx8jvpp.js → models-dev-28jzq77a.js} +7 -7
  25. package/dist/chunks/{location-services-2a5m3afh.js → models-dev-2a5m3afh.js} +1 -1
  26. package/dist/chunks/{location-services-4ts7tf6z.js → models-dev-2ccvkpx1.js} +2 -2
  27. package/dist/chunks/{location-services-jexxy024.js → models-dev-2f04pwep.js} +3 -3
  28. package/dist/chunks/{location-services-bmztvrbp.js → models-dev-2hd82kvp.js} +16 -16
  29. package/dist/chunks/{location-services-14363efp.js → models-dev-2q0q2dbh.js} +11 -11
  30. package/dist/chunks/{location-services-xchyqy34.js → models-dev-30a4a7c7.js} +27 -27
  31. package/dist/chunks/{location-services-33w4ejhs.js → models-dev-33w4ejhs.js} +2 -2
  32. package/dist/chunks/{location-services-sw8y5djv.js → models-dev-34b2e4q6.js} +31 -31
  33. package/dist/chunks/{location-services-3cegwx68.js → models-dev-3cegwx68.js} +2 -2
  34. package/dist/chunks/{location-services-2xmq3vpz.js → models-dev-3d7fh724.js} +41 -41
  35. package/dist/chunks/{location-services-3fc6dm20.js → models-dev-3fc6dm20.js} +1 -1
  36. package/dist/chunks/{location-services-7wsn8jkm.js → models-dev-3fkh8yn6.js} +4 -4
  37. package/dist/chunks/{location-services-98wga3pz.js → models-dev-3h2t63zm.js} +5 -5
  38. package/dist/chunks/{location-services-3hepkmqq.js → models-dev-3hepkmqq.js} +1 -1
  39. package/dist/chunks/{location-services-hqj0fwng.js → models-dev-3hwtxg0v.js} +8 -8
  40. package/dist/chunks/{location-services-46jba6n7.js → models-dev-3krgv8g4.js} +15 -15
  41. package/dist/chunks/{location-services-4mwpykj0.js → models-dev-3ppptnan.js} +6 -6
  42. package/dist/chunks/{location-services-3smtnn6g.js → models-dev-3smtnn6g.js} +1 -1
  43. package/dist/chunks/{location-services-3tvqynh2.js → models-dev-3tvqynh2.js} +1 -1
  44. package/dist/chunks/{location-services-3v5tjer0.js → models-dev-3v5tjer0.js} +2 -2
  45. package/dist/chunks/{location-services-dnxkq42g.js → models-dev-3y377wv9.js} +4 -4
  46. package/dist/chunks/{location-services-3zsf4n22.js → models-dev-3zsf4n22.js} +1 -1
  47. package/dist/chunks/{location-services-btbmdjwj.js → models-dev-41czef58.js} +4 -4
  48. package/dist/chunks/{location-services-8ssz5kmw.js → models-dev-4689bssz.js} +66 -66
  49. package/dist/chunks/{location-services-fy1jztjm.js → models-dev-47fz0wt3.js} +35 -35
  50. package/dist/chunks/{location-services-1ftb5ecd.js → models-dev-4b5nm53p.js} +5 -5
  51. package/dist/chunks/{location-services-amfvtdma.js → models-dev-4bwj76ev.js} +5 -5
  52. package/dist/chunks/{location-services-f79znmm7.js → models-dev-4w44m13j.js} +20 -20
  53. package/dist/chunks/{location-services-73esx66y.js → models-dev-4z2rrndc.js} +9 -9
  54. package/dist/chunks/{location-services-3fb919v3.js → models-dev-4z7vafm8.js} +3 -3
  55. package/dist/chunks/{location-services-rwb9syv2.js → models-dev-50ff8der.js} +11 -11
  56. package/dist/chunks/{location-services-54ma36ye.js → models-dev-54ma36ye.js} +1 -1
  57. package/dist/chunks/{location-services-wh6zw745.js → models-dev-57myy5jh.js} +5 -5
  58. package/dist/chunks/{location-services-41sxqzm2.js → models-dev-5camj7kj.js} +20 -20
  59. package/dist/chunks/{location-services-5daktx2q.js → models-dev-5daktx2q.js} +1 -1
  60. package/dist/chunks/{location-services-f29mbr7f.js → models-dev-5dkn69vz.js} +4 -4
  61. package/dist/chunks/{location-services-5t3nmthw.js → models-dev-5t3nmthw.js} +2 -2
  62. package/dist/chunks/{location-services-jw80jp6b.js → models-dev-5wtwrezn.js} +19 -19
  63. package/dist/chunks/{location-services-qvzqmbkj.js → models-dev-5yr0wy5h.js} +15 -15
  64. package/dist/chunks/{location-services-669tq793.js → models-dev-669tq793.js} +1 -1
  65. package/dist/chunks/{location-services-0h4fw62m.js → models-dev-69gs4be7.js} +2 -2
  66. package/dist/chunks/{location-services-36mwe6xe.js → models-dev-6fa1qwgn.js} +12 -12
  67. package/dist/chunks/{location-services-9rzpcnh1.js → models-dev-6pk1e853.js} +7 -7
  68. package/dist/chunks/{location-services-wnxjsq8q.js → models-dev-6vpxdn2q.js} +10 -10
  69. package/dist/chunks/{location-services-anjjwhm7.js → models-dev-72sx6zak.js} +17 -17
  70. package/dist/chunks/{location-services-jybhndc8.js → models-dev-76b9s0hs.js} +26 -26
  71. package/dist/chunks/{location-services-zdw92gas.js → models-dev-76jv6ta8.js} +12 -12
  72. package/dist/chunks/{location-services-pvvy0xx7.js → models-dev-78z7twd2.js} +11 -11
  73. package/dist/chunks/{location-services-7bmhse3q.js → models-dev-7bmhse3q.js} +1 -1
  74. package/dist/chunks/{location-services-p4n2n4ge.js → models-dev-7dhc0z2g.js} +10 -10
  75. package/dist/chunks/{location-services-qjb5tr49.js → models-dev-7gpa0nna.js} +12 -12
  76. package/dist/chunks/{location-services-1k85hbs2.js → models-dev-7pdbbtzd.js} +29 -29
  77. package/dist/chunks/{location-services-a0805j8t.js → models-dev-7pt59mmg.js} +3 -3
  78. package/dist/chunks/models-dev-7vde8y59.js +26 -0
  79. package/dist/chunks/{location-services-04zc97jq.js → models-dev-7wyxp894.js} +11 -11
  80. package/dist/chunks/{location-services-8q3z2749.js → models-dev-7zcddhn7.js} +25 -25
  81. package/dist/chunks/{location-services-sh8k95kz.js → models-dev-7zxwfvat.js} +19 -19
  82. package/dist/chunks/{location-services-84h8c373.js → models-dev-84h8c373.js} +2 -2
  83. package/dist/chunks/{location-services-84txncab.js → models-dev-84txncab.js} +1 -1
  84. package/dist/chunks/{location-services-5tcm9639.js → models-dev-8a6ws7jr.js} +9 -9
  85. package/dist/chunks/{location-services-8d7r5vzw.js → models-dev-8d7r5vzw.js} +1 -1
  86. package/dist/chunks/{location-services-e9fq58ym.js → models-dev-8fj5kwwn.js} +5 -5
  87. package/dist/chunks/{location-services-x0amqr8p.js → models-dev-8th4ygjr.js} +17 -17
  88. package/dist/chunks/{location-services-0t9wd588.js → models-dev-91p1v22t.js} +8 -8
  89. package/dist/chunks/{location-services-h6xkfdk1.js → models-dev-94nzh446.js} +2 -2
  90. package/dist/chunks/{location-services-jv56kan4.js → models-dev-96n8ayew.js} +11 -11
  91. package/dist/chunks/{location-services-qa7075pb.js → models-dev-994b2pxg.js} +5 -5
  92. package/dist/chunks/{location-services-bepr5r9g.js → models-dev-9aq1p9cp.js} +12 -12
  93. package/dist/chunks/{location-services-74zfjb84.js → models-dev-9gb2ync7.js} +24 -24
  94. package/dist/chunks/{location-services-ywqkw4ef.js → models-dev-9tk07j9p.js} +50 -50
  95. package/dist/chunks/{location-services-4t9dhaga.js → models-dev-9vm7vwcp.js} +13 -13
  96. package/dist/chunks/{location-services-29zgt1j1.js → models-dev-9zvcehk9.js} +23 -23
  97. package/dist/chunks/{location-services-eq1pz5kg.js → models-dev-a1gpj94z.js} +3 -3
  98. package/dist/chunks/{location-services-ryr25ayn.js → models-dev-a46v4e4v.js} +4 -4
  99. package/dist/chunks/{location-services-aaet6srn.js → models-dev-aaet6srn.js} +2 -2
  100. package/dist/chunks/{location-services-f7mex5kc.js → models-dev-axajacq6.js} +10 -10
  101. package/dist/chunks/{location-services-syyy2hrt.js → models-dev-ayf8bq8f.js} +4 -4
  102. package/dist/chunks/{location-services-ks2k44qg.js → models-dev-b19dd42m.js} +10 -10
  103. package/dist/chunks/{location-services-b3f8fkhc.js → models-dev-b3f8fkhc.js} +2 -2
  104. package/dist/chunks/{location-services-b6gygkdw.js → models-dev-b6gygkdw.js} +2 -2
  105. package/dist/chunks/{location-services-ym7fjfg8.js → models-dev-ba15hegp.js} +12 -12
  106. package/dist/chunks/{location-services-w4gvx3xt.js → models-dev-bdn2jqxx.js} +6 -6
  107. package/dist/chunks/{location-services-qsxf26yz.js → models-dev-bdqrk2vk.js} +6 -6
  108. package/dist/chunks/{location-services-k8f3jam7.js → models-dev-bfnsmjbw.js} +5 -5
  109. package/dist/chunks/{location-services-32ht5shb.js → models-dev-bqr0zv8z.js} +13 -13
  110. package/dist/chunks/{location-services-c7nc5arv.js → models-dev-bssw5rpn.js} +12 -12
  111. package/dist/chunks/{location-services-390gkeb4.js → models-dev-bvqgm5rf.js} +10 -10
  112. package/dist/chunks/{location-services-72yd8x0q.js → models-dev-c4ww8g45.js} +9 -9
  113. package/dist/chunks/{location-services-czsbxpcf.js → models-dev-c81zrbea.js} +34 -34
  114. package/dist/chunks/{location-services-a0mgmfsd.js → models-dev-c8gaqqnw.js} +21 -21
  115. package/dist/chunks/{location-services-kn4gmbet.js → models-dev-c99jdjhh.js} +41 -41
  116. package/dist/chunks/{location-services-jv2zxr46.js → models-dev-cjamm04q.js} +25 -25
  117. package/dist/chunks/{location-services-me9c30nh.js → models-dev-cjp0a610.js} +4 -4
  118. package/dist/chunks/{location-services-va9vvq6w.js → models-dev-cw8px619.js} +52 -52
  119. package/dist/chunks/{location-services-52n7b4yz.js → models-dev-d0h48npz.js} +168 -168
  120. package/dist/chunks/{location-services-znt0jm4s.js → models-dev-d26jcb5s.js} +20 -20
  121. package/dist/chunks/{location-services-52ewndf0.js → models-dev-d697ebzy.js} +16 -16
  122. package/dist/chunks/{location-services-0x4gzyfe.js → models-dev-dessa7tv.js} +25 -25
  123. package/dist/chunks/{location-services-gjwgx2c5.js → models-dev-djszqvmq.js} +9 -9
  124. package/dist/chunks/{location-services-xkntkrq7.js → models-dev-dmqcgk4z.js} +5 -5
  125. package/dist/chunks/{location-services-k5qgma61.js → models-dev-dnms7f4c.js} +4 -4
  126. package/dist/chunks/{location-services-6xg7r5mv.js → models-dev-dny01r52.js} +1 -1
  127. package/dist/chunks/{location-services-5qd3pb7m.js → models-dev-e3qxr5gk.js} +2 -2
  128. package/dist/chunks/{location-services-gy63srrv.js → models-dev-ea1ysjqz.js} +30 -30
  129. package/dist/chunks/{location-services-5sp908nt.js → models-dev-ea2mkzh4.js} +17 -17
  130. package/dist/chunks/{location-services-ef5x83kb.js → models-dev-ef5x83kb.js} +1 -1
  131. package/dist/chunks/{location-services-sj40p6t1.js → models-dev-egk0xxbt.js} +13 -13
  132. package/dist/chunks/{location-services-mjqndqed.js → models-dev-ep44p4pe.js} +5 -5
  133. package/dist/chunks/{location-services-jey8fzdt.js → models-dev-es70bpzk.js} +9 -9
  134. package/dist/chunks/{location-services-etq0c3wd.js → models-dev-etq0c3wd.js} +1 -1
  135. package/dist/chunks/{location-services-nvpwytbf.js → models-dev-f48bmfs2.js} +32 -32
  136. package/dist/chunks/{location-services-jr693m90.js → models-dev-f5w4681e.js} +6 -6
  137. package/dist/chunks/{location-services-f75zav2x.js → models-dev-f75zav2x.js} +2 -2
  138. package/dist/chunks/{location-services-607tc6va.js → models-dev-fcrkznn8.js} +5 -5
  139. package/dist/chunks/{location-services-tw8eapz5.js → models-dev-ffej5mt0.js} +48 -48
  140. package/dist/chunks/{location-services-5dwaewr7.js → models-dev-fjg160xg.js} +22 -22
  141. package/dist/chunks/{location-services-8r8xekqf.js → models-dev-fjpwdv2c.js} +22 -22
  142. package/dist/chunks/{location-services-vz7e0fzz.js → models-dev-fvd1j64v.js} +19 -19
  143. package/dist/chunks/{location-services-23hntbrw.js → models-dev-fwzq5ze9.js} +12 -12
  144. package/dist/chunks/{location-services-mkmsq5z4.js → models-dev-g3bs2z4s.js} +8 -8
  145. package/dist/chunks/{location-services-y7s822h0.js → models-dev-g4vce337.js} +8 -8
  146. package/dist/chunks/{location-services-6t5a38x7.js → models-dev-gc17wrd4.js} +20 -20
  147. package/dist/chunks/{location-services-gd4qta3r.js → models-dev-gd4qta3r.js} +1 -1
  148. package/dist/chunks/{location-services-pmqjbaym.js → models-dev-gfz42td9.js} +5 -5
  149. package/dist/chunks/{location-services-egwe353v.js → models-dev-ggx4xapp.js} +6 -6
  150. package/dist/chunks/models-dev-gjn21cm9.js +507 -0
  151. package/dist/chunks/{location-services-vp1kxwwv.js → models-dev-gnmz4mfp.js} +24 -24
  152. package/dist/chunks/{location-services-p6e7n9ts.js → models-dev-grjzxk1n.js} +11 -11
  153. package/dist/chunks/{location-services-az6fhp2f.js → models-dev-gt865pk9.js} +35 -35
  154. package/dist/chunks/{location-services-rk1r2hx8.js → models-dev-h5w29vws.js} +1 -1
  155. package/dist/chunks/{location-services-rj7xh4qx.js → models-dev-h68w0c9y.js} +42 -42
  156. package/dist/chunks/{location-services-h6vf3j39.js → models-dev-h6vf3j39.js} +1 -1
  157. package/dist/chunks/{location-services-57wdwfaz.js → models-dev-hg94kzqt.js} +35 -35
  158. package/dist/chunks/{location-services-n2y4thpt.js → models-dev-hjj70apt.js} +11 -11
  159. package/dist/chunks/{location-services-tvwbq7qm.js → models-dev-hn03y5ym.js} +13 -13
  160. package/dist/chunks/{location-services-jvf3yq6v.js → models-dev-hn57h045.js} +4 -4
  161. package/dist/chunks/{location-services-9jgm88yh.js → models-dev-hqz2x645.js} +4 -4
  162. package/dist/chunks/{location-services-kbntd7j9.js → models-dev-hs0m3p05.js} +6 -6
  163. package/dist/chunks/{location-services-dm1xdvy1.js → models-dev-hzev1cpq.js} +17 -17
  164. package/dist/chunks/{location-services-xjy4ntws.js → models-dev-j06x3ba4.js} +15 -15
  165. package/dist/chunks/{location-services-mmfgc0ta.js → models-dev-j1z9jwn5.js} +9 -9
  166. package/dist/chunks/{location-services-k69ha7yf.js → models-dev-j45zys5r.js} +3 -3
  167. package/dist/chunks/{location-services-j56e64zr.js → models-dev-j56e64zr.js} +1 -1
  168. package/dist/chunks/{location-services-8q61w4ba.js → models-dev-j7zryc91.js} +8 -8
  169. package/dist/chunks/{location-services-dahv1f9d.js → models-dev-j9f4ayep.js} +5 -5
  170. package/dist/chunks/{location-services-wvnyy24z.js → models-dev-j9pj3dv9.js} +11 -11
  171. package/dist/chunks/{location-services-cf9x4s5a.js → models-dev-jcrngy5a.js} +84 -84
  172. package/dist/chunks/{location-services-775wrvb1.js → models-dev-jjne9kqm.js} +21 -21
  173. package/dist/chunks/{location-services-6wc3ddhe.js → models-dev-jjpnvsv5.js} +22 -22
  174. package/dist/chunks/{location-services-expg6636.js → models-dev-jkb8b3m3.js} +68 -68
  175. package/dist/chunks/{location-services-4cgedjbr.js → models-dev-k1j07rkf.js} +5 -5
  176. package/dist/chunks/{location-services-k3c624dm.js → models-dev-k3c624dm.js} +3 -3
  177. package/dist/chunks/{location-services-hnr8f6ws.js → models-dev-k3sn4jay.js} +4 -4
  178. package/dist/chunks/{location-services-v04b82c1.js → models-dev-k575kmd9.js} +20 -20
  179. package/dist/chunks/{location-services-kb9j3d72.js → models-dev-kb9j3d72.js} +3 -3
  180. package/dist/chunks/{location-services-1qwgzmm5.js → models-dev-kg7ge82a.js} +11 -11
  181. package/dist/chunks/{location-services-954vm9zf.js → models-dev-knpw8ths.js} +6 -6
  182. package/dist/chunks/{location-services-mcsbd5qr.js → models-dev-kwjg5y80.js} +32 -32
  183. package/dist/chunks/{location-services-ynd1z268.js → models-dev-kxg15bn0.js} +21 -21
  184. package/dist/chunks/{location-services-m3fdjcah.js → models-dev-m3fdjcah.js} +1 -1
  185. package/dist/chunks/{location-services-rtg35nam.js → models-dev-m8h539s8.js} +5 -5
  186. package/dist/chunks/{location-services-m9w0rfyh.js → models-dev-m9w0rfyh.js} +1 -1
  187. package/dist/chunks/{location-services-mazbtkaa.js → models-dev-mazbtkaa.js} +2 -2
  188. package/dist/chunks/{location-services-73qcdwhn.js → models-dev-mdf0vfvr.js} +43 -43
  189. package/dist/chunks/{location-services-9rbsrj1n.js → models-dev-mj3gjnr3.js} +8 -8
  190. package/dist/chunks/{location-services-kkehhrdv.js → models-dev-mjn2kb0q.js} +11 -11
  191. package/dist/chunks/{location-services-fer3tpfm.js → models-dev-mpd49xq9.js} +8 -8
  192. package/dist/chunks/{location-services-tex88hhx.js → models-dev-msm8dbqf.js} +43 -43
  193. package/dist/chunks/{location-services-vcn47bng.js → models-dev-mw5vjjnv.js} +36 -36
  194. package/dist/chunks/{location-services-sqsz59mf.js → models-dev-mz2wn5cm.js} +8 -8
  195. package/dist/chunks/{location-services-mevczv93.js → models-dev-mz8j3se7.js} +18 -18
  196. package/dist/chunks/{location-services-dppkjzwm.js → models-dev-mzg4v7ne.js} +6 -6
  197. package/dist/chunks/{location-services-6k1exbnf.js → models-dev-n64ekd07.js} +34 -34
  198. package/dist/chunks/{location-services-41rzyp0m.js → models-dev-n7kgbkmj.js} +17 -17
  199. package/dist/chunks/{location-services-4nj4bn9q.js → models-dev-n9j73x72.js} +9 -9
  200. package/dist/chunks/{location-services-xgpppxj9.js → models-dev-nj9rn0w0.js} +24 -24
  201. package/dist/chunks/{location-services-137fq5y8.js → models-dev-nwecgvxa.js} +24 -24
  202. package/dist/chunks/{location-services-dpkg50ah.js → models-dev-nxm207yx.js} +4 -4
  203. package/dist/chunks/{location-services-rv7smp43.js → models-dev-p7th5rf1.js} +27 -27
  204. package/dist/chunks/{location-services-70h9fc4n.js → models-dev-pg1edytp.js} +3 -3
  205. package/dist/chunks/{location-services-pjvnvgmy.js → models-dev-pjvnvgmy.js} +1 -1
  206. package/dist/chunks/{location-services-7bn9z2m5.js → models-dev-pkarsag3.js} +3 -3
  207. package/dist/chunks/{location-services-cjwpz2jw.js → models-dev-pkk3tbq8.js} +48 -48
  208. package/dist/chunks/{location-services-pknna89w.js → models-dev-pknna89w.js} +1 -1
  209. package/dist/chunks/{location-services-stp9s0k1.js → models-dev-pmpd12e6.js} +24 -24
  210. package/dist/chunks/{location-services-8sze2n9a.js → models-dev-py3kkmfq.js} +6 -6
  211. package/dist/chunks/{location-services-sf9kj30k.js → models-dev-pyknvk9f.js} +8 -8
  212. package/dist/chunks/models-dev-q509s3k3.js +18 -0
  213. package/dist/chunks/{location-services-5ypfgryp.js → models-dev-q7qc39dk.js} +10 -10
  214. package/dist/chunks/{location-services-k2wwdrk0.js → models-dev-q9v720k4.js} +20 -20
  215. package/dist/chunks/{location-services-32p4hgsf.js → models-dev-qberb5rk.js} +43 -43
  216. package/dist/chunks/{location-services-hrkp49d3.js → models-dev-qcf84e04.js} +15 -15
  217. package/dist/chunks/{location-services-qnc92qwc.js → models-dev-qnc92qwc.js} +1 -1
  218. package/dist/chunks/{location-services-n674yaej.js → models-dev-qpba4stm.js} +11 -11
  219. package/dist/chunks/{location-services-qsdy395h.js → models-dev-qsdy395h.js} +1 -1
  220. package/dist/chunks/{location-services-v20z2ba4.js → models-dev-qtgkeadk.js} +10 -10
  221. package/dist/chunks/{location-services-7cgmbdtc.js → models-dev-qvex2fwt.js} +9 -9
  222. package/dist/chunks/{location-services-qvreyy9g.js → models-dev-qvreyy9g.js} +2 -2
  223. package/dist/chunks/{location-services-0y8qv4v3.js → models-dev-qxv76s3g.js} +26 -26
  224. package/dist/chunks/{location-services-j34cs6sj.js → models-dev-r46qcwzx.js} +21 -21
  225. package/dist/chunks/{location-services-7fnnxkfn.js → models-dev-r760g5yg.js} +29 -29
  226. package/dist/chunks/{location-services-51hvf86a.js → models-dev-rah7jrnv.js} +28 -28
  227. package/dist/chunks/{location-services-rdw6cm16.js → models-dev-rdw6cm16.js} +1 -1
  228. package/dist/chunks/{location-services-6dr0wsep.js → models-dev-rj0h5jdm.js} +15 -15
  229. package/dist/chunks/{location-services-vr9n9w3y.js → models-dev-rv1r98f4.js} +23 -23
  230. package/dist/chunks/{location-services-r2dnqh6n.js → models-dev-rx9ava5n.js} +4 -4
  231. package/dist/chunks/{location-services-p8f82s16.js → models-dev-rxdvt16e.js} +17 -17
  232. package/dist/chunks/{location-services-8bh61ygk.js → models-dev-rxnymjhb.js} +43 -43
  233. package/dist/chunks/{location-services-kc54qyfz.js → models-dev-rxxn2p47.js} +13 -13
  234. package/dist/chunks/{location-services-kzc3h1h3.js → models-dev-s26hbv8p.js} +4 -4
  235. package/dist/chunks/{location-services-9t7a50xb.js → models-dev-s8d7rejh.js} +4 -4
  236. package/dist/chunks/{location-services-jxzvcdat.js → models-dev-s9y893z5.js} +13 -13
  237. package/dist/chunks/models-dev-srxc1jks.js +252 -0
  238. package/dist/chunks/{location-services-tazgh4e4.js → models-dev-tazgh4e4.js} +1 -1
  239. package/dist/chunks/{location-services-89znhe33.js → models-dev-tcezcvh9.js} +4 -4
  240. package/dist/chunks/{location-services-tdstcens.js → models-dev-tdstcens.js} +1 -1
  241. package/dist/chunks/{location-services-vjjxy6yb.js → models-dev-tf9n7p6x.js} +9 -9
  242. package/dist/chunks/{location-services-07nzww9r.js → models-dev-thz89ekf.js} +35 -35
  243. package/dist/chunks/{location-services-hybaecqw.js → models-dev-tk5pxr4m.js} +24 -24
  244. package/dist/chunks/{location-services-tvtrv512.js → models-dev-tvtrv512.js} +1 -1
  245. package/dist/chunks/{location-services-4e8vs6eh.js → models-dev-tx9w5tca.js} +8 -8
  246. package/dist/chunks/{location-services-j46s9538.js → models-dev-txbqve9a.js} +20 -20
  247. package/dist/chunks/{location-services-0ajh95vz.js → models-dev-v2ywphxf.js} +6 -6
  248. package/dist/chunks/{location-services-47ttr96j.js → models-dev-v74bjsep.js} +20 -20
  249. package/dist/chunks/{location-services-aa0cewsz.js → models-dev-v8x1qhfk.js} +10 -10
  250. package/dist/chunks/{location-services-veqvce7d.js → models-dev-veqvce7d.js} +1 -1
  251. package/dist/chunks/{location-services-fkj2796b.js → models-dev-vfrzc6ap.js} +11 -11
  252. package/dist/chunks/{location-services-n2hn6ctt.js → models-dev-vtmev6yp.js} +9 -9
  253. package/dist/chunks/{location-services-qv34apq4.js → models-dev-vxxrqfnj.js} +7 -7
  254. package/dist/chunks/{location-services-vzcthcp8.js → models-dev-vzcthcp8.js} +1 -1
  255. package/dist/chunks/{location-services-vzs5sf6e.js → models-dev-vzs5sf6e.js} +1 -1
  256. package/dist/chunks/{location-services-hae1aec3.js → models-dev-w09wcjew.js} +8 -8
  257. package/dist/chunks/{location-services-w3wsvvr9.js → models-dev-w3wsvvr9.js} +1 -1
  258. package/dist/chunks/{location-services-wd87259q.js → models-dev-wd87259q.js} +1 -1
  259. package/dist/chunks/{location-services-5kw0n2ma.js → models-dev-wewgh3cc.js} +8 -8
  260. package/dist/chunks/{location-services-159dq0vr.js → models-dev-wr868rd8.js} +11 -11
  261. package/dist/chunks/{location-services-5k3kwaah.js → models-dev-wrewqvzj.js} +18 -18
  262. package/dist/chunks/{location-services-573974vw.js → models-dev-wrs1pmrk.js} +24 -24
  263. package/dist/chunks/{location-services-a4fdsy1e.js → models-dev-wrw7ce18.js} +30 -30
  264. package/dist/chunks/{location-services-ejctqn46.js → models-dev-wvakb6ya.js} +9 -9
  265. package/dist/chunks/{location-services-ffxkc1dx.js → models-dev-wwb7w8xq.js} +11 -11
  266. package/dist/chunks/{location-services-kq8f09n9.js → models-dev-wz78mht8.js} +22 -22
  267. package/dist/chunks/{location-services-x1ezjp6w.js → models-dev-x1ezjp6w.js} +1 -1
  268. package/dist/chunks/{location-services-ppkrdbkc.js → models-dev-x3kzhska.js} +5 -5
  269. package/dist/chunks/{location-services-px41mg2v.js → models-dev-x9tj9kct.js} +24 -24
  270. package/dist/chunks/{location-services-rtdzv965.js → models-dev-xbd41jnn.js} +16 -16
  271. package/dist/chunks/{location-services-dzw83ac5.js → models-dev-xdx7acry.js} +9 -9
  272. package/dist/chunks/{location-services-xfkkasph.js → models-dev-xfkkasph.js} +1 -1
  273. package/dist/chunks/{location-services-geb4a7yy.js → models-dev-xgmb673h.js} +5 -5
  274. package/dist/chunks/{location-services-zk6h76qn.js → models-dev-xjkfysn5.js} +14 -14
  275. package/dist/chunks/{location-services-2nqey637.js → models-dev-xs7syv2k.js} +10 -10
  276. package/dist/chunks/{location-services-rr0pykap.js → models-dev-xtpj533y.js} +7 -7
  277. package/dist/chunks/{location-services-y1fvbwt7.js → models-dev-y1fvbwt7.js} +1 -1
  278. package/dist/chunks/{location-services-67jv4443.js → models-dev-y7yg13q5.js} +16 -16
  279. package/dist/chunks/{location-services-p08aktn5.js → models-dev-ycwt2det.js} +2 -2
  280. package/dist/chunks/{location-services-qh51x0bq.js → models-dev-yfa166b5.js} +20 -20
  281. package/dist/chunks/{location-services-m5wbs23r.js → models-dev-ype27pzt.js} +25 -25
  282. package/dist/chunks/{location-services-yrhqyw5v.js → models-dev-yrhqyw5v.js} +1 -1
  283. package/dist/chunks/{location-services-yy9j72hh.js → models-dev-yw3sds42.js} +44 -44
  284. package/dist/chunks/{location-services-z0bkrqjs.js → models-dev-z0bkrqjs.js} +1 -1
  285. package/dist/chunks/{location-services-3zt9s3jj.js → models-dev-z3zz13kr.js} +18 -18
  286. package/dist/chunks/{location-services-7446rjjn.js → models-dev-z40qz8jp.js} +1 -1
  287. package/dist/chunks/{location-services-9a1bht1a.js → models-dev-z651bw9w.js} +4 -4
  288. package/dist/chunks/{location-services-qv6w546m.js → models-dev-zavx45x2.js} +11 -11
  289. package/dist/chunks/{location-services-bg7m88fe.js → models-dev-zkawt10r.js} +24 -24
  290. package/dist/chunks/{location-services-n8vdnqrc.js → models-dev-zmr78fwr.js} +5 -5
  291. package/dist/chunks/{location-services-dp2bb01k.js → models-dev-zpwh3y5j.js} +17 -17
  292. package/dist/chunks/{location-services-zr2ceqn5.js → models-dev-zr2ceqn5.js} +1 -1
  293. package/dist/chunks/{location-services-zxq2ej10.js → models-dev-zxq2ej10.js} +1 -1
  294. package/dist/codemode/catalog.js +1 -1
  295. package/dist/codemode/instructions.js +7 -7
  296. package/dist/codemode/tool.js +3 -3
  297. package/dist/codemode/web.js +1 -1
  298. package/dist/command.js +83 -83
  299. package/dist/config/discovery.js +84 -84
  300. package/dist/config/markdown.js +1 -1
  301. package/dist/config/normalize.js +106 -106
  302. package/dist/config/plugin/agent.js +123 -123
  303. package/dist/config/plugin/command.js +213 -213
  304. package/dist/config/plugin/compaction.js +161 -161
  305. package/dist/config/plugin/compatibility.js +141 -141
  306. package/dist/config/plugin/entry-observer.js +1 -1
  307. package/dist/config/plugin/formatter.js +124 -124
  308. package/dist/config/plugin/image.js +123 -123
  309. package/dist/config/plugin/instruction.js +90 -90
  310. package/dist/config/plugin/location-watcher.js +123 -123
  311. package/dist/config/plugin/mcp.js +130 -130
  312. package/dist/config/plugin/policy.js +124 -124
  313. package/dist/config/plugin/provider.js +123 -123
  314. package/dist/config/plugin/reference.js +125 -125
  315. package/dist/config/plugin/shell.js +123 -123
  316. package/dist/config/plugin/skill-file.js +102 -102
  317. package/dist/config/plugin/skill.js +142 -142
  318. package/dist/config/plugin/snapshot.js +123 -123
  319. package/dist/config/plugin/source.js +126 -126
  320. package/dist/config/plugin/tool-output.js +125 -125
  321. package/dist/config/plugin/websearch.js +122 -122
  322. package/dist/config/plugin/worktree.js +125 -125
  323. package/dist/config/variable.js +3 -3
  324. package/dist/config/watch.js +1 -1
  325. package/dist/config.js +128 -128
  326. package/dist/credential/sql.js +2 -2
  327. package/dist/credential.js +81 -81
  328. package/dist/database/database.js +66 -66
  329. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  330. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  331. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  332. package/dist/database/drizzle/index.js +15 -15
  333. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  336. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  337. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  338. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  339. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  340. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  341. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  342. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  343. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  344. package/dist/database/drizzle.js +16 -16
  345. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  346. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  347. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  348. package/dist/database/migration/20260225215848_workspace.js +1 -1
  349. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  350. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  351. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  352. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  353. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  354. package/dist/database/migration/20260323234822_events.js +1 -1
  355. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  356. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  357. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  358. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  359. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  360. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  361. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  362. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  363. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  364. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  365. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  366. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  367. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  368. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  369. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  370. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  371. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  372. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  373. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  374. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  375. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  376. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  377. package/dist/database/migration/20260611035744_credential.js +1 -1
  378. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  379. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  380. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  381. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  382. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  383. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  384. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  385. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  386. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  387. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  388. package/dist/database/migration/20260812213948_worktree.js +1 -1
  389. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  390. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  391. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  392. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  393. package/dist/database/migration.gen.js +49 -49
  394. package/dist/database/migration.js +51 -51
  395. package/dist/database/path.js +2 -2
  396. package/dist/database/schema.gen.js +1 -1
  397. package/dist/database/schema.sql.js +1 -1
  398. package/dist/database/sqlite.bun.js +1 -1
  399. package/dist/database/sqlite.js +1 -1
  400. package/dist/database/sqlite.node.js +1 -1
  401. package/dist/database/sqlite.workerd.js +1 -1
  402. package/dist/database/v1-migration.bun.js +76 -76
  403. package/dist/database/v1-migration.js +1 -1
  404. package/dist/effect/app-node-builder.js +372 -372
  405. package/dist/effect/app-node-platform.js +2 -2
  406. package/dist/effect/keyed-mutex.js +3 -3
  407. package/dist/effect/websocket-constructor.js +1 -1
  408. package/dist/environment/driver.js +1 -1
  409. package/dist/environment/environment.js +93 -93
  410. package/dist/environment/exec-defaults.js +2 -2
  411. package/dist/environment/files.js +1 -1
  412. package/dist/environment/index.js +93 -93
  413. package/dist/environment/local.js +2 -2
  414. package/dist/environment/memory.js +2 -2
  415. package/dist/environment/unavailable.js +1 -1
  416. package/dist/event/sql.js +1 -1
  417. package/dist/event-logger.js +70 -70
  418. package/dist/file-access.js +104 -104
  419. package/dist/file-mutation.js +94 -94
  420. package/dist/file-retention.js +1 -1
  421. package/dist/filesystem/fff.bun.js +2 -2
  422. package/dist/filesystem/fff.js +1 -1
  423. package/dist/filesystem/fff.node.js +2 -2
  424. package/dist/filesystem/fff.workerd.js +2 -2
  425. package/dist/filesystem/location-watcher-policy.js +6 -6
  426. package/dist/filesystem/location-watcher.js +222 -222
  427. package/dist/filesystem/protected.js +3 -3
  428. package/dist/filesystem/search.js +103 -103
  429. package/dist/filesystem/watcher-binding.js +3 -3
  430. package/dist/filesystem/watcher.js +15 -15
  431. package/dist/filesystem.js +108 -108
  432. package/dist/form.js +80 -80
  433. package/dist/formatter/builtins.js +4 -4
  434. package/dist/formatter.js +87 -87
  435. package/dist/generate.js +103 -103
  436. package/dist/git.js +6 -6
  437. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  438. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  439. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  440. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  441. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  442. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  443. package/dist/github-copilot/copilot-provider.js +17 -17
  444. package/dist/github-copilot/models.js +91 -91
  445. package/dist/github-copilot/openai-compatible-error.js +1 -1
  446. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  447. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  448. package/dist/github-copilot/responses/openai-error.js +1 -1
  449. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  450. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  451. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  452. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  453. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  454. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  455. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  456. package/dist/id/id.js +1 -1
  457. package/dist/image/photon.js +2 -2
  458. package/dist/image.js +6 -6
  459. package/dist/instance/service.js +5 -5
  460. package/dist/instance.js +363 -363
  461. package/dist/instruction-discovery.js +85 -85
  462. package/dist/instructions/builtins.js +85 -85
  463. package/dist/instructions/index.js +3 -3
  464. package/dist/integration/connection.js +3 -3
  465. package/dist/integration.js +85 -85
  466. package/dist/job.js +79 -79
  467. package/dist/kv/sql.js +2 -2
  468. package/dist/kv.js +73 -73
  469. package/dist/location-activity.js +132 -132
  470. package/dist/location-lifecycle.js +107 -107
  471. package/dist/location-service-map.js +86 -86
  472. package/dist/location-services.js +360 -360
  473. package/dist/location.js +81 -81
  474. package/dist/managed-policy.js +5 -5
  475. package/dist/mcp/client.js +91 -91
  476. package/dist/mcp/index.js +109 -109
  477. package/dist/mcp/instructions.js +127 -127
  478. package/dist/mcp/oauth.js +78 -78
  479. package/dist/mcp/stdio.js +90 -90
  480. package/dist/mime.js +1 -1
  481. package/dist/modal/models.js +91 -91
  482. package/dist/model-resolver.js +98 -98
  483. package/dist/model.js +100 -100
  484. package/dist/models-dev.js +105 -105
  485. package/dist/oauth/page.js +1 -1
  486. package/dist/permission/saved.js +80 -80
  487. package/dist/permission/sql.js +5 -5
  488. package/dist/permission.js +113 -113
  489. package/dist/persistent-pty/binary.bun.js +3 -1
  490. package/dist/persistent-pty/binary.node.js +2 -0
  491. package/dist/persistent-pty/binary.workerd.js +2 -0
  492. package/dist/persistent-pty/daemon.js +1 -1
  493. package/dist/persistent-pty/index.js +91 -89
  494. package/dist/persistent-pty/pty-binding.js +1 -1
  495. package/dist/persistent-pty.js +75 -75
  496. package/dist/plugin/agent.js +102 -102
  497. package/dist/plugin/command.js +100 -100
  498. package/dist/plugin/hooks.js +5 -5
  499. package/dist/plugin/host.js +219 -219
  500. package/dist/plugin/identity.js +3 -3
  501. package/dist/plugin/instance.js +5 -5
  502. package/dist/plugin/internal.js +335 -335
  503. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  504. package/dist/plugin/models-dev.js +96 -96
  505. package/dist/plugin/module.js +7 -7
  506. package/dist/plugin/optimize.js +4 -4
  507. package/dist/plugin/plan.js +102 -102
  508. package/dist/plugin/promise.js +1 -1
  509. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  510. package/dist/plugin/provider/azure.js +124 -124
  511. package/dist/plugin/provider/cerebras.js +1 -1
  512. package/dist/plugin/provider/chatgpt.js +93 -93
  513. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  514. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  515. package/dist/plugin/provider/cohere.js +2 -2
  516. package/dist/plugin/provider/configured.js +119 -119
  517. package/dist/plugin/provider/digitalocean.js +93 -93
  518. package/dist/plugin/provider/dynamic.js +2 -2
  519. package/dist/plugin/provider/factory.js +1 -1
  520. package/dist/plugin/provider/gateway.js +2 -2
  521. package/dist/plugin/provider/github-copilot.js +95 -95
  522. package/dist/plugin/provider/gitlab.js +93 -93
  523. package/dist/plugin/provider/google-vertex.js +90 -90
  524. package/dist/plugin/provider/kilo.js +1 -1
  525. package/dist/plugin/provider/llmgateway.js +78 -78
  526. package/dist/plugin/provider/lmstudio.js +122 -122
  527. package/dist/plugin/provider/modal.js +92 -92
  528. package/dist/plugin/provider/nvidia.js +1 -1
  529. package/dist/plugin/provider/ollama.js +122 -122
  530. package/dist/plugin/provider/openai.js +95 -95
  531. package/dist/plugin/provider/opencode.js +96 -96
  532. package/dist/plugin/provider/openrouter.js +91 -91
  533. package/dist/plugin/provider/perplexity.js +2 -2
  534. package/dist/plugin/provider/poe.js +79 -79
  535. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  536. package/dist/plugin/provider/sap-ai-core.js +91 -91
  537. package/dist/plugin/provider/sdk-factory.js +1 -1
  538. package/dist/plugin/provider/snowflake-cortex.js +122 -122
  539. package/dist/plugin/provider/venice.js +2 -2
  540. package/dist/plugin/provider/vercel.js +90 -90
  541. package/dist/plugin/provider/vllm.js +122 -122
  542. package/dist/plugin/provider/xai.js +91 -91
  543. package/dist/plugin/provider/zenmux.js +1 -1
  544. package/dist/plugin/provider.js +163 -163
  545. package/dist/plugin/sdk.js +76 -76
  546. package/dist/plugin/service.js +3 -3
  547. package/dist/plugin/skill.js +139 -139
  548. package/dist/plugin/source-directory.js +1 -1
  549. package/dist/plugin/supervisor.js +354 -354
  550. package/dist/plugin/tool-input-repair.js +2 -2
  551. package/dist/plugin/update.js +6 -6
  552. package/dist/plugin/vcs/git.js +84 -84
  553. package/dist/plugin/vcs/hg.js +86 -86
  554. package/dist/plugin/verbosity.js +91 -91
  555. package/dist/plugin/warming.js +121 -121
  556. package/dist/plugin/websearch/exa.js +7 -7
  557. package/dist/plugin/websearch/firecrawl.js +8 -8
  558. package/dist/plugin/websearch/index.js +9 -9
  559. package/dist/plugin/websearch/mcp.js +2 -2
  560. package/dist/plugin/websearch/parallel.js +8 -8
  561. package/dist/plugin/websearch/tavily.js +6 -6
  562. package/dist/plugin/websearch/tinyfish.js +8 -8
  563. package/dist/plugin.js +230 -230
  564. package/dist/project/schema.js +2 -2
  565. package/dist/project/sql.js +4 -4
  566. package/dist/project.js +80 -80
  567. package/dist/provider.js +97 -97
  568. package/dist/pty/protocol.js +1 -1
  569. package/dist/pty/ticket.js +1 -1
  570. package/dist/pty.js +97 -97
  571. package/dist/reference/instructions.js +89 -89
  572. package/dist/reference.js +87 -87
  573. package/dist/repository-cache.js +81 -81
  574. package/dist/repository.js +1 -1
  575. package/dist/ripgrep/binary.js +2 -2
  576. package/dist/ripgrep.js +97 -97
  577. package/dist/rpc.js +86 -86
  578. package/dist/schema.js +1 -1
  579. package/dist/session/affinity.js +1 -1
  580. package/dist/session/command.js +74 -74
  581. package/dist/session/compaction.js +133 -133
  582. package/dist/session/context.js +151 -151
  583. package/dist/session/diff.js +88 -88
  584. package/dist/session/environment.js +5 -5
  585. package/dist/session/error.js +7 -7
  586. package/dist/session/event.js +1 -1
  587. package/dist/session/execution/restart.js +222 -222
  588. package/dist/session/execution.js +126 -126
  589. package/dist/session/generate.js +152 -152
  590. package/dist/session/history.js +15 -15
  591. package/dist/session/inbox.js +88 -88
  592. package/dist/session/info.js +3 -3
  593. package/dist/session/instruction-entry.js +75 -75
  594. package/dist/session/instruction-state.js +8 -8
  595. package/dist/session/instructions.js +97 -97
  596. package/dist/session/message-updater.js +4 -4
  597. package/dist/session/message.js +1 -1
  598. package/dist/session/model-request.js +120 -120
  599. package/dist/session/model-transport.js +9 -9
  600. package/dist/session/move.js +130 -130
  601. package/dist/session/projector.js +86 -86
  602. package/dist/session/prompt.js +105 -105
  603. package/dist/session/provider-context.js +3 -3
  604. package/dist/session/revert.js +90 -90
  605. package/dist/session/run-coordinator.js +3 -3
  606. package/dist/session/runner/index.js +3 -3
  607. package/dist/session/runner/llm.js +232 -232
  608. package/dist/session/runner/max-steps.js +1 -1
  609. package/dist/session/runner/model.js +98 -98
  610. package/dist/session/runner/publish-llm-event.js +113 -113
  611. package/dist/session/runner/retry.js +2 -2
  612. package/dist/session/runner/step.js +126 -126
  613. package/dist/session/runner/to-llm-message.js +2 -2
  614. package/dist/session/schema.js +5 -5
  615. package/dist/session/session.js +170 -170
  616. package/dist/session/shell.js +138 -138
  617. package/dist/session/skill.js +103 -103
  618. package/dist/session/sql.js +5 -5
  619. package/dist/session/stats.js +73 -73
  620. package/dist/session/store.js +85 -85
  621. package/dist/session/subagent-completion.js +1 -1
  622. package/dist/session/subagent-job.js +211 -211
  623. package/dist/session/system-prompt.js +1 -1
  624. package/dist/session/title.js +157 -157
  625. package/dist/session/to-session-error.js +111 -111
  626. package/dist/session/transfer.js +215 -215
  627. package/dist/session/usage.js +1 -1
  628. package/dist/session.js +221 -221
  629. package/dist/shell/parse.js +6 -6
  630. package/dist/shell/result.js +1 -1
  631. package/dist/shell/scan.js +1 -1
  632. package/dist/shell/select.js +13 -13
  633. package/dist/shell.js +140 -140
  634. package/dist/skill/discovery.js +6 -6
  635. package/dist/skill/instructions.js +107 -107
  636. package/dist/skill.js +112 -112
  637. package/dist/snapshot.js +91 -91
  638. package/dist/state.js +1 -1
  639. package/dist/tool/html-markdown.js +1 -1
  640. package/dist/tool/http-body.js +1 -1
  641. package/dist/tool/mcp.js +124 -124
  642. package/dist/tool/plugin/edit.js +120 -120
  643. package/dist/tool/plugin/file-diff.js +1 -1
  644. package/dist/tool/plugin/glob.js +124 -124
  645. package/dist/tool/plugin/grep.js +124 -124
  646. package/dist/tool/plugin/mcp-resource.js +117 -117
  647. package/dist/tool/plugin/opencode.js +3 -3
  648. package/dist/tool/plugin/patch.js +122 -122
  649. package/dist/tool/plugin/question.js +101 -101
  650. package/dist/tool/plugin/read.js +125 -125
  651. package/dist/tool/plugin/shell.js +216 -216
  652. package/dist/tool/plugin/skill.js +109 -109
  653. package/dist/tool/plugin/subagent.js +218 -218
  654. package/dist/tool/plugin/webfetch.js +110 -110
  655. package/dist/tool/plugin/websearch.js +112 -112
  656. package/dist/tool/plugin/write.js +122 -122
  657. package/dist/tool/read-filesystem.js +100 -100
  658. package/dist/tool/runtime.js +1 -1
  659. package/dist/tool-output.js +8 -8
  660. package/dist/tool.js +16 -16
  661. package/dist/types/persistent-pty/binary.bun.d.ts +1 -0
  662. package/dist/types/persistent-pty/binary.node.d.ts +1 -0
  663. package/dist/types/persistent-pty/binary.workerd.d.ts +1 -0
  664. package/dist/types/persistent-pty/index.d.ts +1 -0
  665. package/dist/util/error-summary.js +1 -1
  666. package/dist/util/error.js +1 -1
  667. package/dist/util/git-executable.js +2 -2
  668. package/dist/util/iife.js +1 -1
  669. package/dist/util/lazy.js +1 -1
  670. package/dist/util/slug.js +1 -1
  671. package/dist/util/token.js +1 -1
  672. package/dist/util/which.js +1 -1
  673. package/dist/util/wildcard.js +1 -1
  674. package/dist/v1/config/agent.js +7 -7
  675. package/dist/v1/config/attachment.js +4 -4
  676. package/dist/v1/config/command.js +3 -3
  677. package/dist/v1/config/config.js +16 -16
  678. package/dist/v1/config/error.js +4 -4
  679. package/dist/v1/config/formatter.js +5 -5
  680. package/dist/v1/config/layout.js +1 -1
  681. package/dist/v1/config/lsp.js +5 -5
  682. package/dist/v1/config/mcp.js +4 -4
  683. package/dist/v1/config/migrate.js +92 -92
  684. package/dist/v1/config/permission.js +5 -5
  685. package/dist/v1/config/plugin.js +3 -3
  686. package/dist/v1/config/provider-options.js +1 -1
  687. package/dist/v1/config/provider.js +4 -4
  688. package/dist/v1/config/server.js +2 -2
  689. package/dist/v1/config/skills.js +3 -3
  690. package/dist/variant.js +93 -93
  691. package/dist/vcs/patch.js +1 -1
  692. package/dist/vcs.js +89 -89
  693. package/dist/websearch.js +80 -80
  694. package/dist/wellknown/plugin.js +76 -76
  695. package/dist/wellknown.js +81 -81
  696. package/dist/workspace/driver.js +7 -7
  697. package/dist/workspace/sql.js +1 -1
  698. package/dist/workspace.js +80 -80
  699. package/dist/worktree/directory.js +2 -2
  700. package/dist/worktree/git.js +10 -10
  701. package/dist/worktree/sql.js +5 -5
  702. package/dist/worktree/strategies.js +89 -89
  703. package/dist/worktree.js +96 -96
  704. package/package.json +8 -8
  705. package/dist/chunks/location-services-0df77v9g.js +0 -507
  706. package/dist/chunks/location-services-c9d4en3z.js +0 -252
  707. package/dist/chunks/location-services-qdyb70sk.js +0 -18
  708. package/dist/chunks/location-services-tqewcpxk.js +0 -26
  709. /package/dist/chunks/{location-services-0qkdqm5v.js → models-dev-0qkdqm5v.js} +0 -0
  710. /package/dist/chunks/{location-services-0zkw76rk.js → models-dev-0zkw76rk.js} +0 -0
  711. /package/dist/chunks/{location-services-17cy0kzp.js → models-dev-17cy0kzp.js} +0 -0
  712. /package/dist/chunks/{location-services-1cnp2v09.js → models-dev-1cnp2v09.js} +0 -0
  713. /package/dist/chunks/{location-services-1kg9ymc8.js → models-dev-1kg9ymc8.js} +0 -0
  714. /package/dist/chunks/{location-services-24dcb14g.js → models-dev-24dcb14g.js} +0 -0
  715. /package/dist/chunks/{location-services-2710q6r3.js → models-dev-2710q6r3.js} +0 -0
  716. /package/dist/chunks/{location-services-2axfhc9x.js → models-dev-2axfhc9x.js} +0 -0
  717. /package/dist/chunks/{location-services-2c3vjs8z.js → models-dev-2c3vjs8z.js} +0 -0
  718. /package/dist/chunks/{location-services-34c7v6d4.js → models-dev-34c7v6d4.js} +0 -0
  719. /package/dist/chunks/{location-services-359p4xyc.js → models-dev-359p4xyc.js} +0 -0
  720. /package/dist/chunks/{location-services-3asan66x.js → models-dev-3asan66x.js} +0 -0
  721. /package/dist/chunks/{location-services-3v8g72cx.js → models-dev-3v8g72cx.js} +0 -0
  722. /package/dist/chunks/{location-services-3w5fmr99.js → models-dev-3w5fmr99.js} +0 -0
  723. /package/dist/chunks/{location-services-3wcehsnq.js → models-dev-3wcehsnq.js} +0 -0
  724. /package/dist/chunks/{location-services-43n2bw4t.js → models-dev-43n2bw4t.js} +0 -0
  725. /package/dist/chunks/{location-services-4knz6hnm.js → models-dev-4knz6hnm.js} +0 -0
  726. /package/dist/chunks/{location-services-4vcrnpx2.js → models-dev-4vcrnpx2.js} +0 -0
  727. /package/dist/chunks/{location-services-4y7fprxs.js → models-dev-4y7fprxs.js} +0 -0
  728. /package/dist/chunks/{location-services-53557ph1.js → models-dev-53557ph1.js} +0 -0
  729. /package/dist/chunks/{location-services-550bvhaj.js → models-dev-550bvhaj.js} +0 -0
  730. /package/dist/chunks/{location-services-6prwharc.js → models-dev-6prwharc.js} +0 -0
  731. /package/dist/chunks/{location-services-7akdwqpd.js → models-dev-7akdwqpd.js} +0 -0
  732. /package/dist/chunks/{location-services-7m9af43g.js → models-dev-7m9af43g.js} +0 -0
  733. /package/dist/chunks/{location-services-822emrt2.js → models-dev-822emrt2.js} +0 -0
  734. /package/dist/chunks/{location-services-88xbtdfr.js → models-dev-88xbtdfr.js} +0 -0
  735. /package/dist/chunks/{location-services-8n3pysct.js → models-dev-8n3pysct.js} +0 -0
  736. /package/dist/chunks/{location-services-8wj87zfr.js → models-dev-8wj87zfr.js} +0 -0
  737. /package/dist/chunks/{location-services-9a4afbnw.js → models-dev-9a4afbnw.js} +0 -0
  738. /package/dist/chunks/{location-services-9rqn6x4v.js → models-dev-9rqn6x4v.js} +0 -0
  739. /package/dist/chunks/{location-services-a6k6eb26.js → models-dev-a6k6eb26.js} +0 -0
  740. /package/dist/chunks/{location-services-af5trqkr.js → models-dev-af5trqkr.js} +0 -0
  741. /package/dist/chunks/{location-services-afrmfg78.js → models-dev-afrmfg78.js} +0 -0
  742. /package/dist/chunks/{location-services-aqzs7mqg.js → models-dev-aqzs7mqg.js} +0 -0
  743. /package/dist/chunks/{location-services-atq7p7m5.js → models-dev-atq7p7m5.js} +0 -0
  744. /package/dist/chunks/{location-services-bkyjaxrp.js → models-dev-bkyjaxrp.js} +0 -0
  745. /package/dist/chunks/{location-services-bmr6ed5q.js → models-dev-bmr6ed5q.js} +0 -0
  746. /package/dist/chunks/{location-services-cf4snx6d.js → models-dev-cf4snx6d.js} +0 -0
  747. /package/dist/chunks/{location-services-cvy3z8tj.js → models-dev-cvy3z8tj.js} +0 -0
  748. /package/dist/chunks/{location-services-d9fn303g.js → models-dev-d9fn303g.js} +0 -0
  749. /package/dist/chunks/{location-services-d9jj8t3e.js → models-dev-d9jj8t3e.js} +0 -0
  750. /package/dist/chunks/{location-services-dajrwvna.js → models-dev-dajrwvna.js} +0 -0
  751. /package/dist/chunks/{location-services-dap0rakb.js → models-dev-dap0rakb.js} +0 -0
  752. /package/dist/chunks/{location-services-df08tz66.js → models-dev-df08tz66.js} +0 -0
  753. /package/dist/chunks/{location-services-dy18nga0.js → models-dev-dy18nga0.js} +0 -0
  754. /package/dist/chunks/{location-services-e5kj55wp.js → models-dev-e5kj55wp.js} +0 -0
  755. /package/dist/chunks/{location-services-e73j6tqm.js → models-dev-e73j6tqm.js} +0 -0
  756. /package/dist/chunks/{location-services-ec1grn59.js → models-dev-ec1grn59.js} +0 -0
  757. /package/dist/chunks/{location-services-eh3zwz77.js → models-dev-eh3zwz77.js} +0 -0
  758. /package/dist/chunks/{location-services-emrn6kk6.js → models-dev-emrn6kk6.js} +0 -0
  759. /package/dist/chunks/{location-services-f0mxakyp.js → models-dev-f0mxakyp.js} +0 -0
  760. /package/dist/chunks/{location-services-f6n9ztr4.js → models-dev-f6n9ztr4.js} +0 -0
  761. /package/dist/chunks/{location-services-faypxj3z.js → models-dev-faypxj3z.js} +0 -0
  762. /package/dist/chunks/{location-services-fd410y7t.js → models-dev-fd410y7t.js} +0 -0
  763. /package/dist/chunks/{location-services-fxgpk5d8.js → models-dev-fxgpk5d8.js} +0 -0
  764. /package/dist/chunks/{location-services-g4wezp1m.js → models-dev-g4wezp1m.js} +0 -0
  765. /package/dist/chunks/{location-services-g86h250q.js → models-dev-g86h250q.js} +0 -0
  766. /package/dist/chunks/{location-services-gebd4c9n.js → models-dev-gebd4c9n.js} +0 -0
  767. /package/dist/chunks/{location-services-gftt206x.js → models-dev-gftt206x.js} +0 -0
  768. /package/dist/chunks/{location-services-hjbc5kem.js → models-dev-hjbc5kem.js} +0 -0
  769. /package/dist/chunks/{location-services-hk9envan.js → models-dev-hk9envan.js} +0 -0
  770. /package/dist/chunks/{location-services-j2ntwpah.js → models-dev-j2ntwpah.js} +0 -0
  771. /package/dist/chunks/{location-services-j5zkgpj8.js → models-dev-j5zkgpj8.js} +0 -0
  772. /package/dist/chunks/{location-services-jjkms2e6.js → models-dev-jjkms2e6.js} +0 -0
  773. /package/dist/chunks/{location-services-jr7sbwjy.js → models-dev-jr7sbwjy.js} +0 -0
  774. /package/dist/chunks/{location-services-jwfs4k6c.js → models-dev-jwfs4k6c.js} +0 -0
  775. /package/dist/chunks/{location-services-jzg6c2d5.js → models-dev-jzg6c2d5.js} +0 -0
  776. /package/dist/chunks/{location-services-mp448xyj.js → models-dev-mp448xyj.js} +0 -0
  777. /package/dist/chunks/{location-services-msx8hqn2.js → models-dev-msx8hqn2.js} +0 -0
  778. /package/dist/chunks/{location-services-n05xt0ee.js → models-dev-n05xt0ee.js} +0 -0
  779. /package/dist/chunks/{location-services-n3j8tn72.js → models-dev-n3j8tn72.js} +0 -0
  780. /package/dist/chunks/{location-services-njntx4h6.js → models-dev-njntx4h6.js} +0 -0
  781. /package/dist/chunks/{location-services-q3sfg36h.js → models-dev-q3sfg36h.js} +0 -0
  782. /package/dist/chunks/{location-services-q74kybfr.js → models-dev-q74kybfr.js} +0 -0
  783. /package/dist/chunks/{location-services-qaymkmh1.js → models-dev-qaymkmh1.js} +0 -0
  784. /package/dist/chunks/{location-services-qb87gjwd.js → models-dev-qb87gjwd.js} +0 -0
  785. /package/dist/chunks/{location-services-qfa1cgps.js → models-dev-qfa1cgps.js} +0 -0
  786. /package/dist/chunks/{location-services-qg3g05ea.js → models-dev-qg3g05ea.js} +0 -0
  787. /package/dist/chunks/{location-services-qrg20bc0.js → models-dev-qrg20bc0.js} +0 -0
  788. /package/dist/chunks/{location-services-rcb2kzg1.js → models-dev-rcb2kzg1.js} +0 -0
  789. /package/dist/chunks/{location-services-sdp7kfr6.js → models-dev-sdp7kfr6.js} +0 -0
  790. /package/dist/chunks/{location-services-sk3qaz4a.js → models-dev-sk3qaz4a.js} +0 -0
  791. /package/dist/chunks/{location-services-ssg3fenm.js → models-dev-ssg3fenm.js} +0 -0
  792. /package/dist/chunks/{location-services-w803qqfp.js → models-dev-w803qqfp.js} +0 -0
  793. /package/dist/chunks/{location-services-wc3fc9cn.js → models-dev-wc3fc9cn.js} +0 -0
  794. /package/dist/chunks/{location-services-wer8tq1h.js → models-dev-wer8tq1h.js} +0 -0
  795. /package/dist/chunks/{location-services-wtztk69x.js → models-dev-wtztk69x.js} +0 -0
  796. /package/dist/chunks/{location-services-x0ckcb58.js → models-dev-x0ckcb58.js} +0 -0
  797. /package/dist/chunks/{location-services-x61499pn.js → models-dev-x61499pn.js} +0 -0
  798. /package/dist/chunks/{location-services-y44na4kk.js → models-dev-y44na4kk.js} +0 -0
  799. /package/dist/chunks/{location-services-y8cydn3q.js → models-dev-y8cydn3q.js} +0 -0
  800. /package/dist/chunks/{location-services-y8f7s663.js → models-dev-y8f7s663.js} +0 -0
  801. /package/dist/chunks/{location-services-ygaqb7jw.js → models-dev-ygaqb7jw.js} +0 -0
  802. /package/dist/chunks/{location-services-ym463w8f.js → models-dev-ym463w8f.js} +0 -0
  803. /package/dist/chunks/{location-services-z5v4ffb3.js → models-dev-z5v4ffb3.js} +0 -0
  804. /package/dist/chunks/{location-services-z9919s4g.js → models-dev-z9919s4g.js} +0 -0
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  SessionMessage2
3
- } from "./location-services-gftt206x.js";
3
+ } from "./models-dev-gftt206x.js";
4
4
  import {
5
5
  SessionSchema2
6
- } from "./location-services-jexxy024.js";
6
+ } from "./models-dev-2f04pwep.js";
7
7
  import {
8
8
  __export
9
- } from "./location-services-9rqn6x4v.js";
9
+ } from "./models-dev-9rqn6x4v.js";
10
10
 
11
11
  // src/session/error.ts
12
- var exports_error2 = {};
13
- __export(exports_error2, {
12
+ var exports_error = {};
13
+ __export(exports_error, {
14
14
  AgentNotFoundError: () => AgentNotFoundError2,
15
15
  AttachmentError: () => AttachmentError2,
16
16
  BusyError: () => BusyError2,
@@ -19,9 +19,9 @@ __export(exports_error2, {
19
19
  InboxConflictError: () => InboxConflictError2,
20
20
  MessageDecodeError: () => MessageDecodeError2,
21
21
  MessageNotFoundError: () => MessageNotFoundError2,
22
- NotFoundError: () => NotFoundError9,
22
+ NotFoundError: () => NotFoundError8,
23
23
  PromptConflictError: () => PromptConflictError2,
24
- SessionErrors: () => exports_error2,
24
+ SessionErrors: () => exports_error,
25
25
  SkillNotFoundError: () => SkillNotFoundError2,
26
26
  StepFailedError: () => StepFailedError2,
27
27
  SyntheticConflictError: () => SyntheticConflictError2
@@ -31,7 +31,7 @@ import { Agent } from "@opencode/schema/agent";
31
31
  import { Skill } from "@opencode/schema/skill";
32
32
  import { SessionError } from "@opencode/schema/session-error";
33
33
 
34
- class NotFoundError9 extends Schema.TaggedError()("Session.NotFoundError", {
34
+ class NotFoundError8 extends Schema.TaggedError()("Session.NotFoundError", {
35
35
  sessionID: SessionSchema2.ID
36
36
  }) {
37
37
  }
@@ -116,4 +116,4 @@ class SkillNotFoundError2 extends Schema.TaggedError()("Session.SkillNotFoundErr
116
116
  }) {
117
117
  }
118
118
 
119
- export { NotFoundError9, MessageNotFoundError2, ForkEmptyError2, MessageDecodeError2, AgentNotFoundError2, StepFailedError2, PromptConflictError2, SyntheticConflictError2, AttachmentError2, CompactionConflictError2, BusyError2, InboxConflictError2, SkillNotFoundError2, exports_error2 };
119
+ export { NotFoundError8, MessageNotFoundError2, ForkEmptyError2, MessageDecodeError2, AgentNotFoundError2, StepFailedError2, PromptConflictError2, SyntheticConflictError2, AttachmentError2, CompactionConflictError2, BusyError2, InboxConflictError2, SkillNotFoundError2, exports_error };
@@ -1,51 +1,51 @@
1
1
  import {
2
2
  typeFollowing2
3
- } from "./location-services-2a5m3afh.js";
3
+ } from "./models-dev-2a5m3afh.js";
4
4
  import {
5
5
  RelativePath2
6
- } from "./location-services-z5v4ffb3.js";
6
+ } from "./models-dev-z5v4ffb3.js";
7
7
  import {
8
8
  Service80
9
- } from "./location-services-h6xkfdk1.js";
9
+ } from "./models-dev-94nzh446.js";
10
10
  import {
11
- Service57
12
- } from "./location-services-j34cs6sj.js";
11
+ Service68
12
+ } from "./models-dev-r46qcwzx.js";
13
13
  import {
14
14
  InvalidPatternError2,
15
- Service56
16
- } from "./location-services-5k3kwaah.js";
15
+ Service16
16
+ } from "./models-dev-wrewqvzj.js";
17
17
  import {
18
18
  DEFAULT_SEARCH_LIMIT2,
19
19
  DEFAULT_SEARCH_TIMEOUT_MS2,
20
20
  GrepInput2,
21
- Entry4,
21
+ Entry2,
22
22
  Match2
23
- } from "./location-services-1k85hbs2.js";
23
+ } from "./models-dev-7pdbbtzd.js";
24
24
  import {
25
- Service70
26
- } from "./location-services-va9vvq6w.js";
25
+ Service59
26
+ } from "./models-dev-cw8px619.js";
27
27
  import {
28
- Service69
29
- } from "./location-services-6dr0wsep.js";
28
+ Service48
29
+ } from "./models-dev-rj0h5jdm.js";
30
30
  import {
31
31
  __export
32
- } from "./location-services-9rqn6x4v.js";
32
+ } from "./models-dev-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: () => Input2,
39
- Output: () => Output2,
40
- Plugin: () => Plugin2,
41
- name: () => name2,
42
- toModelContent: () => toModelContent2
38
+ Input: () => Input5,
39
+ Output: () => Output3,
40
+ Plugin: () => Plugin7,
41
+ name: () => name5,
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 name2 = "grep";
48
- var Input2 = Schema.Struct({
47
+ var name5 = "grep";
48
+ var Input5 = 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 Input2 = Schema.Struct({
65
65
  description: `Maximum number of matching lines to return (default: ${DEFAULT_SEARCH_LIMIT2})`
66
66
  })
67
67
  });
68
- var Output2 = Schema.Array(Match2);
69
- var toModelContent2 = (matches, truncated = false) => {
68
+ var Output3 = 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 toModelContent2 = (matches, truncated = false) => {
83
83
  return lines.join(`
84
84
  `);
85
85
  };
86
- var Plugin2 = {
86
+ var Plugin7 = {
87
87
  id: "opencode.tool.grep",
88
88
  effect: Effect.fn("GrepTool.Plugin")(function* (ctx) {
89
- const environment = yield* Service57;
90
- const ripgrep = yield* Service56;
89
+ const environment = yield* Service68;
90
+ const ripgrep = yield* Service16;
91
91
  const location = yield* Service80;
92
- const access = yield* Service69;
93
- const permission = yield* Service70;
92
+ const access = yield* Service48;
93
+ const permission = yield* Service59;
94
94
  yield* ctx.tool.transform((editor) => editor.add({
95
- name: name2,
95
+ name: name5,
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: Input2,
99
- output: Output2,
98
+ input: Input5,
99
+ output: Output3,
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: name2,
105
+ action: name5,
106
106
  resources: [input.pattern],
107
107
  save: ["*"],
108
108
  metadata: {
@@ -136,7 +136,7 @@ var Plugin2 = {
136
136
  }))
137
137
  }), Effect.map((result) => result.map((match) => Match2.make({
138
138
  ...match,
139
- entry: Entry4.make({
139
+ entry: Entry2.make({
140
140
  ...match.entry,
141
141
  path: RelativePath2.make(path.relative(location.directory, path.resolve(cwd, match.entry.path)))
142
142
  })
@@ -144,7 +144,7 @@ var Plugin2 = {
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: toModelContent2(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 Plugin2 = {
154
154
  })
155
155
  };
156
156
 
157
- export { name2, Input2, Output2, toModelContent2, Plugin2, exports_grep };
157
+ export { name5, Input5, Output3, toModelContent4, Plugin7, exports_grep };
@@ -1,25 +1,25 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./location-services-k5qgma61.js";
4
+ } from "./models-dev-dnms7f4c.js";
5
5
  import {
6
6
  Key4,
7
- Service78,
8
- node82
9
- } from "./location-services-stp9s0k1.js";
7
+ Service76,
8
+ node80
9
+ } from "./models-dev-pmpd12e6.js";
10
10
  import {
11
11
  create3
12
- } from "./location-services-rdw6cm16.js";
12
+ } from "./models-dev-rdw6cm16.js";
13
13
  import {
14
14
  key2
15
- } from "./location-services-dnxkq42g.js";
15
+ } from "./models-dev-3y377wv9.js";
16
16
  import {
17
17
  validateAnswer2,
18
18
  validateFields2
19
- } from "./location-services-j46s9538.js";
19
+ } from "./models-dev-txbqve9a.js";
20
20
  import {
21
21
  __export
22
- } from "./location-services-9rqn6x4v.js";
22
+ } from "./models-dev-9rqn6x4v.js";
23
23
 
24
24
  // src/integration.ts
25
25
  var exports_integration = {};
@@ -35,16 +35,16 @@ __export(exports_integration, {
35
35
  CommandMethod: () => CommandMethod2,
36
36
  EnvMethod: () => EnvMethod2,
37
37
  Event: () => Event18,
38
- ID: () => ID14,
39
- Info: () => Info28,
38
+ ID: () => ID13,
39
+ Info: () => Info26,
40
40
  Integration: () => exports_integration,
41
41
  KeyMethod: () => KeyMethod2,
42
42
  Method: () => Method2,
43
43
  MethodID: () => MethodID2,
44
44
  OAuthMethod: () => OAuthMethod2,
45
45
  Ref: () => Ref3,
46
- Service: () => Service77,
47
- node: () => node81
46
+ Service: () => Service74,
47
+ node: () => node78
48
48
  });
49
49
  import { makeLocationNode } from "@opencode/util/effect/app-node";
50
50
  import {
@@ -67,7 +67,7 @@ import { Integration } from "@opencode/schema/integration";
67
67
  import { AppProcess } from "@opencode/util/process";
68
68
  import { ChildProcess } from "effect/unstable/process";
69
69
  import { Event as Event18 } from "@opencode/schema/integration";
70
- var ID14 = Integration.ID;
70
+ var ID13 = Integration.ID;
71
71
  var MethodID2 = Integration.MethodID;
72
72
  var AttemptID2 = Integration.AttemptID;
73
73
  var OAuthMethod2 = Integration.OAuthMethod;
@@ -75,7 +75,7 @@ var CommandMethod2 = Integration.CommandMethod;
75
75
  var KeyMethod2 = Integration.KeyMethod;
76
76
  var EnvMethod2 = Integration.EnvMethod;
77
77
  var Method2 = Integration.Method;
78
- var Info28 = Integration.Info;
78
+ var Info26 = Integration.Info;
79
79
  var Attempt2 = Integration.Attempt;
80
80
  var AttemptStatus2 = Integration.AttemptStatus;
81
81
  var CommandAttempt2 = Integration.CommandAttempt;
@@ -98,19 +98,19 @@ class AuthorizationError2 extends Schema.TaggedError()("Integration.Authorizatio
98
98
  }
99
99
 
100
100
  class AttemptNotFoundError2 extends Schema.TaggedError()("Integration.AttemptNotFound", {
101
- integrationID: ID14,
101
+ integrationID: ID13,
102
102
  attemptID: AttemptID2
103
103
  }) {
104
104
  }
105
105
  var Ref3 = Integration.Ref;
106
106
 
107
- class Service77 extends Context.Service()("@opencode/Integration") {
107
+ class Service74 extends Context.Service()("@opencode/Integration") {
108
108
  }
109
109
  var attemptLifetime = Duration.toMillis(Duration.minutes(10));
110
110
  var terminalRetention = Duration.toMillis(Duration.minutes(1));
111
111
  var scrubInterval = Duration.seconds(30);
112
- var layer = Layer.effect(Service77, Effect.gen(function* () {
113
- const credentials = yield* Service78;
112
+ var layer = Layer.effect(Service74, Effect.gen(function* () {
113
+ const credentials = yield* Service76;
114
114
  const bus = yield* Service83;
115
115
  const processes = yield* AppProcess.Service;
116
116
  const scope = yield* Scope.Scope;
@@ -207,7 +207,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
207
207
  const env = (entry?.methods ?? []).filter((method) => method.type === "env").flatMap((method) => method.names.filter((name) => process.env[name])).map((name) => ({ type: "env", name }));
208
208
  return [...credentials, ...env];
209
209
  };
210
- const project = (entry, connections) => Info28.make({
210
+ const project = (entry, connections) => Info26.make({
211
211
  id: entry.ref.id,
212
212
  name: entry.ref.name,
213
213
  ...entry.ref.metadata === undefined ? {} : { metadata: entry.ref.metadata },
@@ -440,7 +440,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
440
440
  }).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
441
441
  return CommandAttempt2.make({ attemptID, time });
442
442
  });
443
- return Service77.of({
443
+ return Service74.of({
444
444
  transform: state.transform,
445
445
  reload: state.reload,
446
446
  revision: state.revision,
@@ -599,10 +599,10 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
599
599
  }
600
600
  });
601
601
  }));
602
- var node81 = makeLocationNode({
603
- service: Service77,
602
+ var node78 = makeLocationNode({
603
+ service: Service74,
604
604
  layer,
605
- deps: [node82, node87, AppProcess.node]
605
+ deps: [node80, node87, AppProcess.node]
606
606
  });
607
607
 
608
- export { ID14, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info28, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref3, Service77, node81, exports_integration, Event18 };
608
+ export { ID13, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info26, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref3, Service74, node78, exports_integration, Event18 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./location-services-9rqn6x4v.js";
3
+ } from "./models-dev-9rqn6x4v.js";
4
4
 
5
5
  // src/id/id.ts
6
6
  var exports_id = {};
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  __export
3
- } from "./location-services-9rqn6x4v.js";
3
+ } from "./models-dev-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/hooks.ts
6
6
  var exports_hooks = {};
7
7
  __export(exports_hooks, {
8
8
  PluginHooks: () => exports_hooks,
9
- Service: () => Service73,
10
- node: () => node77
9
+ Service: () => Service78,
10
+ node: () => node82
11
11
  });
12
12
  import { Context, Effect, Layer, Scope } from "effect";
13
13
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -20,9 +20,9 @@ var eventProviderID = (event) => {
20
20
  return typeof model.providerID === "string" ? model.providerID : undefined;
21
21
  };
22
22
 
23
- class Service73 extends Context.Service()("@opencode/PluginHooks") {
23
+ class Service78 extends Context.Service()("@opencode/PluginHooks") {
24
24
  }
25
- var layer = Layer.effect(Service73, Effect.gen(function* () {
25
+ var layer = Layer.effect(Service78, Effect.gen(function* () {
26
26
  const callbacks = new Map;
27
27
  const key = (domain, name) => `${domain}.${String(name)}`;
28
28
  const register = Effect.fn("PluginHooks.register")(function* (domain, name, callback, options) {
@@ -54,8 +54,8 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
54
54
  return event;
55
55
  });
56
56
  const has = (domain, name, providerID) => Effect.sync(() => (callbacks.get(key(domain, name)) ?? []).some((entry) => entry.options?.providerID === undefined || entry.options.providerID === providerID));
57
- return Service73.of({ has, register, trigger });
57
+ return Service78.of({ has, register, trigger });
58
58
  }));
59
- var node77 = makeLocationNode({ service: Service73, layer, deps: [] });
59
+ var node82 = makeLocationNode({ service: Service78, layer, deps: [] });
60
60
 
61
- export { Service73, node77, exports_hooks };
61
+ export { Service78, node82, exports_hooks };
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./location-services-k5qgma61.js";
4
+ } from "./models-dev-dnms7f4c.js";
5
5
  import {
6
6
  __export
7
- } from "./location-services-9rqn6x4v.js";
7
+ } from "./models-dev-9rqn6x4v.js";
8
8
 
9
9
  // src/form.ts
10
10
  var exports_form = {};
@@ -12,31 +12,31 @@ __export(exports_form, {
12
12
  AlreadyExistsError: () => AlreadyExistsError2,
13
13
  AlreadySettledError: () => AlreadySettledError2,
14
14
  Answer: () => Answer2,
15
- Event: () => Event20,
15
+ Event: () => Event19,
16
16
  Field: () => Field2,
17
17
  Fields: () => Fields2,
18
18
  Form: () => exports_form,
19
- ID: () => ID16,
20
- Info: () => Info31,
19
+ ID: () => ID14,
20
+ Info: () => Info28,
21
21
  InvalidAnswerError: () => InvalidAnswerError2,
22
22
  InvalidFormError: () => InvalidFormError2,
23
23
  NotFoundError: () => NotFoundError10,
24
24
  Reply: () => Reply3,
25
- Service: () => Service79,
25
+ Service: () => Service75,
26
26
  State: () => State3,
27
27
  When: () => When2,
28
28
  layer: () => layer25,
29
- node: () => node83,
29
+ node: () => node79,
30
30
  validateAnswer: () => validateAnswer2,
31
31
  validateFields: () => validateFields2
32
32
  });
33
33
  import { Form } from "@opencode/schema/form";
34
34
  import { Cache, Context, Deferred, Duration, Effect, Exit, Layer, Option, Schema } from "effect";
35
35
  import { makeLocationNode } from "@opencode/util/effect/app-node";
36
- import { Event as Event20 } from "@opencode/schema/form";
36
+ import { Event as Event19 } from "@opencode/schema/form";
37
37
  var RETENTION = Duration.minutes(10);
38
- var ID16 = Form.ID;
39
- var Info31 = Form.Info;
38
+ var ID14 = Form.ID;
39
+ var Info28 = Form.Info;
40
40
  var Field2 = Form.Field;
41
41
  var Fields2 = Form.Fields;
42
42
  var When2 = Form.When;
@@ -45,7 +45,7 @@ var Answer2 = Form.Answer;
45
45
  var Reply3 = Form.Reply;
46
46
 
47
47
  class NotFoundError10 extends Schema.TaggedError()("Form.NotFoundError", {
48
- id: ID16
48
+ id: ID14
49
49
  }) {
50
50
  get message() {
51
51
  return `Form not found: ${this.id}`;
@@ -53,7 +53,7 @@ class NotFoundError10 extends Schema.TaggedError()("Form.NotFoundError", {
53
53
  }
54
54
 
55
55
  class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledError", {
56
- id: ID16
56
+ id: ID14
57
57
  }) {
58
58
  get message() {
59
59
  return `Form already settled: ${this.id}`;
@@ -61,7 +61,7 @@ class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledErro
61
61
  }
62
62
 
63
63
  class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError", {
64
- id: ID16
64
+ id: ID14
65
65
  }) {
66
66
  get message() {
67
67
  return `Form already exists: ${this.id}`;
@@ -69,7 +69,7 @@ class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError"
69
69
  }
70
70
 
71
71
  class InvalidAnswerError2 extends Schema.TaggedError()("Form.InvalidAnswerError", {
72
- id: ID16,
72
+ id: ID14,
73
73
  message: Schema.String
74
74
  }) {
75
75
  }
@@ -79,9 +79,9 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
79
79
  }) {
80
80
  }
81
81
 
82
- class Service79 extends Context.Service()("@opencode/Form") {
82
+ class Service75 extends Context.Service()("@opencode/Form") {
83
83
  }
84
- var layer25 = Layer.effect(Service79, Effect.gen(function* () {
84
+ var layer25 = Layer.effect(Service75, Effect.gen(function* () {
85
85
  const bus = yield* Service83;
86
86
  let closed = false;
87
87
  const forms = yield* Cache.makeWith(() => Effect.die(new Error("Form cache must be used via set/getSuccess, never get")), {
@@ -90,7 +90,7 @@ var layer25 = Layer.effect(Service79, Effect.gen(function* () {
90
90
  });
91
91
  const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError10({ id })))));
92
92
  const create = Effect.fn("Form.create")((input) => Effect.uninterruptible(Effect.gen(function* () {
93
- const id = input.id ?? ID16.create();
93
+ const id = input.id ?? ID14.create();
94
94
  const existing = yield* Cache.getSuccess(forms, id);
95
95
  if (Option.isSome(existing))
96
96
  return yield* new AlreadyExistsError2({ id });
@@ -162,9 +162,9 @@ var layer25 = Layer.effect(Service79, Effect.gen(function* () {
162
162
  closed = true;
163
163
  }).pipe(Effect.andThen(Cache.values(forms)), Effect.flatMap((entries) => Effect.forEach(Array.from(entries).filter((entry) => entry.state.status === "pending"), (entry) => cancel(entry.form.id).pipe(Effect.ignore), { discard: true })));
164
164
  yield* Effect.addFinalizer(() => close);
165
- return Service79.of({ create, ask, get, list, state, reply, cancel, close });
165
+ return Service75.of({ create, ask, get, list, state, reply, cancel, close });
166
166
  }));
167
- var node83 = makeLocationNode({ service: Service79, layer: layer25, deps: [node87] });
167
+ var node79 = makeLocationNode({ service: Service75, layer: layer25, deps: [node87] });
168
168
  function validateAnswer2(form, answer) {
169
169
  const fields = new Map(form.map((field) => [field.key, field]));
170
170
  for (const key of Object.keys(answer)) {
@@ -316,4 +316,4 @@ function isDateTime(value) {
316
316
  return !Number.isNaN(new Date(value).getTime());
317
317
  }
318
318
 
319
- export { ID16, Info31, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError10, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service79, layer25, node83, validateAnswer2, validateFields2, exports_form, Event20 };
319
+ export { ID14, Info28, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError10, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service75, layer25, node79, validateAnswer2, validateFields2, exports_form, Event19 };
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  mergeOverlay2,
3
- Service76
4
- } from "./location-services-29zgt1j1.js";
3
+ Service73
4
+ } from "./models-dev-9zvcehk9.js";
5
5
  import {
6
- Service37
7
- } from "./location-services-73qcdwhn.js";
6
+ Service66
7
+ } from "./models-dev-mdf0vfvr.js";
8
8
 
9
9
  // src/plugin/provider/configured.ts
10
10
  import { Effect, Option } from "effect";
11
11
  var configuredSettings2 = Effect.fn("ProviderPlugin.configuredSettings")(function* (id) {
12
- const providers = yield* Service76;
12
+ const providers = yield* Service73;
13
13
  const current = (yield* providers.get(id))?.settings;
14
- const service = yield* Effect.serviceOption(Service37);
14
+ const service = yield* Effect.serviceOption(Service66);
15
15
  const entries = Option.isSome(service) ? yield* service.value.entries() : [];
16
16
  return foldSettings2(entries, id, current);
17
17
  });
@@ -1,48 +1,48 @@
1
1
  import {
2
2
  Service83
3
- } from "./location-services-k5qgma61.js";
3
+ } from "./models-dev-dnms7f4c.js";
4
4
  import {
5
- Service51
6
- } from "./location-services-2nqey637.js";
5
+ Service77
6
+ } from "./models-dev-xs7syv2k.js";
7
7
  import {
8
8
  group2,
9
9
  batch2,
10
10
  shutdown2,
11
11
  inherit2
12
- } from "./location-services-rdw6cm16.js";
12
+ } from "./models-dev-rdw6cm16.js";
13
13
  import {
14
- Service18,
14
+ Service25,
15
15
  awaitActivation2
16
- } from "./location-services-qdyb70sk.js";
16
+ } from "./models-dev-q509s3k3.js";
17
17
  import {
18
18
  make12,
19
19
  requirements3,
20
20
  storage2
21
- } from "./location-services-52n7b4yz.js";
21
+ } from "./models-dev-d0h48npz.js";
22
22
  import {
23
23
  __export
24
- } from "./location-services-9rqn6x4v.js";
24
+ } from "./models-dev-9rqn6x4v.js";
25
25
 
26
26
  // src/plugin.ts
27
27
  var exports_plugin2 = {};
28
28
  __export(exports_plugin2, {
29
- Event: () => Event2,
30
- ID: () => ID2,
31
- Info: () => Info2,
29
+ Event: () => Event4,
30
+ ID: () => ID3,
31
+ Info: () => Info3,
32
32
  Plugin: () => exports_plugin2,
33
- Service: () => Service18,
33
+ Service: () => Service25,
34
34
  Source: () => Source2,
35
35
  State: () => State2,
36
36
  awaitActivation: () => awaitActivation2,
37
- node: () => node15
37
+ node: () => node19
38
38
  });
39
- import { Event as Event2, ID as ID2, Info as Info2, Source as Source2, State as State2 } from "@opencode/schema/plugin";
39
+ import { Event as Event4, ID as ID3, Info as Info3, Source as Source2, State as State2 } from "@opencode/schema/plugin";
40
40
  import { Plugin } from "@opencode/schema/plugin";
41
41
  import { Node } from "@opencode/util/effect/app-node";
42
42
  import { Cause, Context, Effect, Exit, Latch, Layer, Logger, Queue, References, Scope, Semaphore } from "effect";
43
- var layer = Layer.effect(Service18, Effect.gen(function* () {
43
+ var layer = Layer.effect(Service25, Effect.gen(function* () {
44
44
  const bus = yield* Service83;
45
- const kv = yield* Service51;
45
+ const kv = yield* Service77;
46
46
  const scope = yield* Scope.make();
47
47
  const active = new Map;
48
48
  const lock = Semaphore.makeUnsafe(1);
@@ -205,7 +205,7 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
205
205
  yield* shutdown2(Scope.close(scope, exit));
206
206
  }));
207
207
  yield* Effect.addFinalizer(close);
208
- return Service18.of({
208
+ return Service25.of({
209
209
  activate,
210
210
  close,
211
211
  awaitActivation: ready.await,
@@ -222,10 +222,10 @@ function slotInfo(slot) {
222
222
  features: { server: true, ...slot.plugin.features }
223
223
  };
224
224
  }
225
- var node15 = Node.makeLocationNode({
226
- service: Service18,
225
+ var node19 = Node.makeLocationNode({
226
+ service: Service25,
227
227
  layer,
228
228
  deps: [requirements3]
229
229
  });
230
230
 
231
- export { node15, exports_plugin2, Event2, ID2, Info2, Source2, State2 };
231
+ export { node19, exports_plugin2, Event4, ID3, Info3, Source2, State2 };
@@ -1,13 +1,13 @@
1
1
  import {
2
- ID8,
2
+ ID11,
3
3
  Family2
4
- } from "./location-services-m5wbs23r.js";
4
+ } from "./models-dev-ype27pzt.js";
5
5
  import {
6
- Service37
7
- } from "./location-services-73qcdwhn.js";
6
+ Service66
7
+ } from "./models-dev-mdf0vfvr.js";
8
8
  import {
9
9
  foldSettings2
10
- } from "./location-services-0ajh95vz.js";
10
+ } from "./models-dev-v2ywphxf.js";
11
11
 
12
12
  // src/plugin/provider/ollama.ts
13
13
  import { define } from "@opencode/plugin/effect/plugin";
@@ -45,12 +45,12 @@ var ShowResponse = Schema.Struct({
45
45
  });
46
46
  var discovery = new Map;
47
47
  var discoveryLock = Semaphore.makeUnsafe(1);
48
- function make7(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
48
+ function make5(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
49
49
  return define({
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* Service37;
53
+ const config = yield* Service66;
54
54
  const source = { current: configured(yield* config.entries(), origin) };
55
55
  const loaded = { models: [], hash: "[]" };
56
56
  yield* ctx.integration.transform((integrations) => {
@@ -77,7 +77,7 @@ function make7(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
77
77
  });
78
78
  for (const item of loaded.models) {
79
79
  providers.models.update(providerID, item.model, (model) => {
80
- model.modelID = ID8.make(item.model);
80
+ model.modelID = ID11.make(item.model);
81
81
  model.name = item.name || item.model;
82
82
  model.family = item.show.details?.family ? Family2.make(item.show.details.family) : item.details.family ? Family2.make(item.details.family) : undefined;
83
83
  model.capabilities = {
@@ -151,7 +151,7 @@ function make7(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
151
151
  })
152
152
  });
153
153
  }
154
- var OllamaPlugin2 = make7();
154
+ var OllamaPlugin2 = make5();
155
155
  function configured(entries, origin) {
156
156
  const settings = foldSettings2(entries, providerID, undefined);
157
157
  const baseURL = (typeof settings?.baseURL === "string" ? settings.baseURL : `${origin.replace(/\/+$/, "")}/v1`).replace(/\/+$/, "");
@@ -170,4 +170,4 @@ function configured(entries, origin) {
170
170
  return { baseURL, apiKey, tagsEndpoint, showEndpoint: url.toString() };
171
171
  }
172
172
 
173
- export { make7, OllamaPlugin2 };
173
+ export { make5, OllamaPlugin2 };