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

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 +81 -81
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +3 -3
  6. package/dist/bus.js +69 -69
  7. package/dist/chunks/{location-services-zkmsq240.js → model-resolver-03698r9s.js} +11 -11
  8. package/dist/chunks/{location-services-0x4gzyfe.js → model-resolver-09w5hx8q.js} +22 -22
  9. package/dist/chunks/{location-services-rk1r2hx8.js → model-resolver-0bfcnrg1.js} +1 -1
  10. package/dist/chunks/{location-services-23hntbrw.js → model-resolver-0dxv4pc1.js} +15 -15
  11. package/dist/chunks/{location-services-hrkp49d3.js → model-resolver-0n2zq7cp.js} +18 -18
  12. package/dist/chunks/{location-services-0paq2nw3.js → model-resolver-0paq2nw3.js} +1 -1
  13. package/dist/chunks/{location-services-n8vdnqrc.js → model-resolver-0r3c1bmw.js} +5 -5
  14. package/dist/chunks/{location-services-rtg35nam.js → model-resolver-0smnwsv0.js} +5 -5
  15. package/dist/chunks/{location-services-0vbcp93d.js → model-resolver-0vbcp93d.js} +2 -2
  16. package/dist/chunks/{location-services-14363efp.js → model-resolver-0yjfzc4y.js} +8 -8
  17. package/dist/chunks/{location-services-159dq0vr.js → model-resolver-1093zhcq.js} +11 -11
  18. package/dist/chunks/{location-services-32p4hgsf.js → model-resolver-13cq8rcn.js} +39 -39
  19. package/dist/chunks/{location-services-xchyqy34.js → model-resolver-13gay51w.js} +27 -27
  20. package/dist/chunks/{location-services-1dazxqgg.js → model-resolver-1dazxqgg.js} +2 -2
  21. package/dist/chunks/{location-services-84h8c373.js → model-resolver-1dvck2a7.js} +2 -2
  22. package/dist/chunks/{location-services-9rzpcnh1.js → model-resolver-1gn2mkkg.js} +7 -7
  23. package/dist/chunks/{location-services-gy63srrv.js → model-resolver-1p1dbgcw.js} +30 -30
  24. package/dist/chunks/{location-services-mcsbd5qr.js → model-resolver-1t43bwgc.js} +35 -35
  25. package/dist/chunks/{location-services-anjjwhm7.js → model-resolver-1w8tpf8c.js} +15 -15
  26. package/dist/chunks/{location-services-33w4ejhs.js → model-resolver-1ygqh575.js} +6 -6
  27. package/dist/chunks/{location-services-dahv1f9d.js → model-resolver-1zbgyhkq.js} +5 -5
  28. package/dist/chunks/{location-services-21r38tys.js → model-resolver-21r38tys.js} +1 -1
  29. package/dist/chunks/{location-services-hqj0fwng.js → model-resolver-23mzt4g8.js} +5 -5
  30. package/dist/chunks/{location-services-bepr5r9g.js → model-resolver-27w6v31t.js} +12 -12
  31. package/dist/chunks/{location-services-btbmdjwj.js → model-resolver-29qym6xz.js} +4 -4
  32. package/dist/chunks/{location-services-72yd8x0q.js → model-resolver-2a545107.js} +9 -9
  33. package/dist/chunks/{location-services-2a5m3afh.js → model-resolver-2a5m3afh.js} +1 -1
  34. package/dist/chunks/{location-services-0t9wd588.js → model-resolver-2aet7wja.js} +8 -8
  35. package/dist/chunks/{location-services-7cgmbdtc.js → model-resolver-2fhst40w.js} +9 -9
  36. package/dist/chunks/{location-services-46jba6n7.js → model-resolver-2g3v3994.js} +17 -17
  37. package/dist/chunks/{location-services-qa7075pb.js → model-resolver-2hg7qvzt.js} +5 -5
  38. package/dist/chunks/{location-services-dzw83ac5.js → model-resolver-2kewd2va.js} +9 -9
  39. package/dist/chunks/{location-services-rj7xh4qx.js → model-resolver-2nw4ywcq.js} +43 -43
  40. package/dist/chunks/{location-services-n674yaej.js → model-resolver-2pnbxc62.js} +11 -11
  41. package/dist/chunks/{location-services-ynd1z268.js → model-resolver-2q0dq8kx.js} +21 -21
  42. package/dist/chunks/{location-services-tvwbq7qm.js → model-resolver-2xwzbqew.js} +13 -13
  43. package/dist/chunks/{location-services-6k1exbnf.js → model-resolver-308n8ycv.js} +32 -32
  44. package/dist/chunks/{location-services-hnr8f6ws.js → model-resolver-30krspkn.js} +4 -4
  45. package/dist/chunks/{location-services-sf9kj30k.js → model-resolver-3f3sb00w.js} +8 -8
  46. package/dist/chunks/{location-services-3fc6dm20.js → model-resolver-3fc6dm20.js} +1 -1
  47. package/dist/chunks/{location-services-jxzvcdat.js → model-resolver-3gz55zfp.js} +13 -13
  48. package/dist/chunks/{location-services-3hepkmqq.js → model-resolver-3hepkmqq.js} +1 -1
  49. package/dist/chunks/{location-services-n2y4thpt.js → model-resolver-3kp3mpme.js} +11 -11
  50. package/dist/chunks/{location-services-6dr0wsep.js → model-resolver-3m0yxqav.js} +15 -15
  51. package/dist/chunks/{location-services-4mwpykj0.js → model-resolver-3ppptnan.js} +6 -6
  52. package/dist/chunks/{location-services-3smtnn6g.js → model-resolver-3smtnn6g.js} +1 -1
  53. package/dist/chunks/{location-services-3tvqynh2.js → model-resolver-3tvqynh2.js} +1 -1
  54. package/dist/chunks/{location-services-3v5tjer0.js → model-resolver-3v5tjer0.js} +2 -2
  55. package/dist/chunks/{location-services-3zsf4n22.js → model-resolver-3zsf4n22.js} +1 -1
  56. package/dist/chunks/{location-services-p4n2n4ge.js → model-resolver-407ckyyg.js} +10 -10
  57. package/dist/chunks/{location-services-2xmq3vpz.js → model-resolver-42r0vthb.js} +29 -29
  58. package/dist/chunks/{location-services-137fq5y8.js → model-resolver-4ek442ae.js} +12 -12
  59. package/dist/chunks/{location-services-pmqjbaym.js → model-resolver-4h9h96qc.js} +5 -5
  60. package/dist/chunks/{location-services-8q61w4ba.js → model-resolver-4jk0qxj4.js} +6 -6
  61. package/dist/chunks/{location-services-qvreyy9g.js → model-resolver-4n607a2z.js} +5 -5
  62. package/dist/chunks/{location-services-4ts7tf6z.js → model-resolver-4ts7tf6z.js} +2 -2
  63. package/dist/chunks/{location-services-54ma36ye.js → model-resolver-54ma36ye.js} +1 -1
  64. package/dist/chunks/{location-services-4cgedjbr.js → model-resolver-57pz8w7b.js} +3 -3
  65. package/dist/chunks/{location-services-jexxy024.js → model-resolver-5cmxdwv8.js} +3 -3
  66. package/dist/chunks/{location-services-5daktx2q.js → model-resolver-5daktx2q.js} +1 -1
  67. package/dist/chunks/{location-services-kn4gmbet.js → model-resolver-5hvxb13s.js} +39 -39
  68. package/dist/chunks/{location-services-5sp908nt.js → model-resolver-5ms1yq5h.js} +15 -15
  69. package/dist/chunks/{location-services-5t3nmthw.js → model-resolver-5t3nmthw.js} +2 -2
  70. package/dist/chunks/{location-services-74zfjb84.js → model-resolver-5vfmzxnc.js} +24 -24
  71. package/dist/chunks/{location-services-0ajh95vz.js → model-resolver-5zt844k8.js} +6 -6
  72. package/dist/chunks/{location-services-wnxjsq8q.js → model-resolver-60wzt80q.js} +12 -12
  73. package/dist/chunks/{location-services-669tq793.js → model-resolver-669tq793.js} +1 -1
  74. package/dist/chunks/{location-services-9jgm88yh.js → model-resolver-66gm3q6y.js} +4 -4
  75. package/dist/chunks/{location-services-6t5a38x7.js → model-resolver-6cjrbf46.js} +23 -23
  76. package/dist/chunks/{location-services-qvzqmbkj.js → model-resolver-6qajxv40.js} +13 -13
  77. package/dist/chunks/{location-services-va9vvq6w.js → model-resolver-6sy3a1sn.js} +52 -52
  78. package/dist/chunks/{location-services-k5qgma61.js → model-resolver-70jrxnh2.js} +4 -4
  79. package/dist/chunks/{location-services-98wga3pz.js → model-resolver-7190hwh5.js} +5 -5
  80. package/dist/chunks/{location-services-f75zav2x.js → model-resolver-71az546q.js} +2 -2
  81. package/dist/chunks/{location-services-7bmhse3q.js → model-resolver-7bmhse3q.js} +1 -1
  82. package/dist/chunks/{location-services-e9fq58ym.js → model-resolver-7c08zpn2.js} +5 -5
  83. package/dist/chunks/{location-services-8q3z2749.js → model-resolver-7k895je9.js} +22 -22
  84. package/dist/chunks/{location-services-czsbxpcf.js → model-resolver-7psexnws.js} +34 -34
  85. package/dist/chunks/{location-services-v20z2ba4.js → model-resolver-7r06ja40.js} +8 -8
  86. package/dist/chunks/{location-services-954vm9zf.js → model-resolver-7zdrdht4.js} +6 -6
  87. package/dist/chunks/{location-services-5dwaewr7.js → model-resolver-815qh5kc.js} +25 -25
  88. package/dist/chunks/{location-services-84txncab.js → model-resolver-84txncab.js} +1 -1
  89. package/dist/chunks/{location-services-kzc3h1h3.js → model-resolver-86qzxe6p.js} +4 -4
  90. package/dist/chunks/{location-services-73esx66y.js → model-resolver-8a61e19g.js} +9 -9
  91. package/dist/chunks/{location-services-6wc3ddhe.js → model-resolver-8d6mt9k1.js} +20 -20
  92. package/dist/chunks/{location-services-8d7r5vzw.js → model-resolver-8d7r5vzw.js} +1 -1
  93. package/dist/chunks/{location-services-7bn9z2m5.js → model-resolver-8ejhbdfw.js} +3 -3
  94. package/dist/chunks/{location-services-mmfgc0ta.js → model-resolver-8nsvf304.js} +9 -9
  95. package/dist/chunks/{location-services-jv2zxr46.js → model-resolver-8q54bcf9.js} +20 -20
  96. package/dist/chunks/{location-services-51hvf86a.js → model-resolver-8r34s1qs.js} +18 -18
  97. package/dist/chunks/{location-services-kkehhrdv.js → model-resolver-8r8vfh9s.js} +8 -8
  98. package/dist/chunks/{location-services-8sze2n9a.js → model-resolver-8sze2n9a.js} +2 -2
  99. package/dist/chunks/{location-services-y7s822h0.js → model-resolver-8w6zmm29.js} +5 -5
  100. package/dist/chunks/{location-services-stp9s0k1.js → model-resolver-91933pa3.js} +30 -30
  101. package/dist/chunks/{location-services-fy1jztjm.js → model-resolver-98nepyqz.js} +35 -35
  102. package/dist/chunks/{location-services-9rbsrj1n.js → model-resolver-99cqk6xv.js} +8 -8
  103. package/dist/chunks/{location-services-kb9j3d72.js → model-resolver-9e5bzkjp.js} +3 -3
  104. package/dist/chunks/{location-services-p37cw4rj.js → model-resolver-9hn6k4tm.js} +8 -8
  105. package/dist/chunks/{location-services-41rzyp0m.js → model-resolver-9hz0dqf5.js} +17 -17
  106. package/dist/chunks/{location-services-52ewndf0.js → model-resolver-9j6n7gng.js} +16 -16
  107. package/dist/chunks/{location-services-aa0cewsz.js → model-resolver-a28jd6sb.js} +8 -8
  108. package/dist/chunks/{location-services-ejfvs62f.js → model-resolver-a37e8zcw.js} +16 -16
  109. package/dist/chunks/{location-services-fer3tpfm.js → model-resolver-a8tp2z0n.js} +4 -4
  110. package/dist/chunks/{location-services-7446rjjn.js → model-resolver-aads351p.js} +1 -1
  111. package/dist/chunks/{location-services-aaet6srn.js → model-resolver-aaet6srn.js} +2 -2
  112. package/dist/chunks/{location-services-1qwgzmm5.js → model-resolver-ae2sw1mw.js} +11 -11
  113. package/dist/chunks/{location-services-fkj2796b.js → model-resolver-akfm9xjf.js} +11 -11
  114. package/dist/chunks/{location-services-390gkeb4.js → model-resolver-ar6s7d1p.js} +10 -10
  115. package/dist/chunks/{location-services-pvvy0xx7.js → model-resolver-ay2xdk2g.js} +8 -8
  116. package/dist/chunks/{location-services-mkmsq5z4.js → model-resolver-b00xvs8t.js} +8 -8
  117. package/dist/chunks/{location-services-rr0pykap.js → model-resolver-b23z4qnb.js} +7 -7
  118. package/dist/chunks/{location-services-b3f8fkhc.js → model-resolver-b3f8fkhc.js} +2 -2
  119. package/dist/chunks/{location-services-kq8f09n9.js → model-resolver-b3vyfqsd.js} +22 -22
  120. package/dist/chunks/{location-services-b6gygkdw.js → model-resolver-b6gygkdw.js} +2 -2
  121. package/dist/chunks/{location-services-c7nc5arv.js → model-resolver-b9hjm50k.js} +12 -12
  122. package/dist/chunks/{location-services-me3s3vv4.js → model-resolver-bpke0n4y.js} +14 -14
  123. package/dist/chunks/{location-services-41sxqzm2.js → model-resolver-cdahn06p.js} +17 -17
  124. package/dist/chunks/{location-services-29zgt1j1.js → model-resolver-cms9xxzm.js} +29 -29
  125. package/dist/chunks/{location-services-kbntd7j9.js → model-resolver-dbvwyaaj.js} +4 -4
  126. package/dist/chunks/{location-services-zdw92gas.js → model-resolver-df54n7py.js} +12 -12
  127. package/dist/chunks/{location-services-qsxf26yz.js → model-resolver-dg5bcj4q.js} +6 -6
  128. package/dist/chunks/{location-services-d3cqp89z.js → model-resolver-dg8e6nc3.js} +18 -18
  129. package/dist/chunks/{location-services-3fb919v3.js → model-resolver-djk2jk4m.js} +3 -3
  130. package/dist/chunks/{location-services-xkntkrq7.js → model-resolver-dmqcgk4z.js} +5 -5
  131. package/dist/chunks/{location-services-1ftb5ecd.js → model-resolver-dnv1ypcb.js} +5 -5
  132. package/dist/chunks/{location-services-dpkg50ah.js → model-resolver-dpkg50ah.js} +1 -1
  133. package/dist/chunks/{location-services-7fnnxkfn.js → model-resolver-dyv1acsa.js} +29 -29
  134. package/dist/chunks/{location-services-sj40p6t1.js → model-resolver-ee0fmwbc.js} +13 -13
  135. package/dist/chunks/{location-services-ef5x83kb.js → model-resolver-ef5x83kb.js} +1 -1
  136. package/dist/chunks/{location-services-hae1aec3.js → model-resolver-efmywzjq.js} +11 -11
  137. package/dist/chunks/{location-services-px41mg2v.js → model-resolver-eg948mnw.js} +22 -22
  138. package/dist/chunks/{location-services-sh8k95kz.js → model-resolver-ekfwq4bz.js} +17 -17
  139. package/dist/chunks/{location-services-eq1pz5kg.js → model-resolver-eq1pz5kg.js} +1 -1
  140. package/dist/chunks/{location-services-07nzww9r.js → model-resolver-et0g6e5t.js} +35 -35
  141. package/dist/chunks/model-resolver-etcmb7zb.js +252 -0
  142. package/dist/chunks/{location-services-etq0c3wd.js → model-resolver-etq0c3wd.js} +1 -1
  143. package/dist/chunks/{location-services-ks2k44qg.js → model-resolver-fc6w6yf8.js} +10 -10
  144. package/dist/chunks/{location-services-607tc6va.js → model-resolver-fcrkznn8.js} +5 -5
  145. package/dist/chunks/{location-services-73qcdwhn.js → model-resolver-fj6ewzsk.js} +43 -43
  146. package/dist/chunks/{location-services-9a1bht1a.js → model-resolver-fwfvrmc2.js} +4 -4
  147. package/dist/chunks/{location-services-wh6zw745.js → model-resolver-g6yfr6ja.js} +5 -5
  148. package/dist/chunks/{location-services-epx8jvpp.js → model-resolver-gaep76ax.js} +7 -7
  149. package/dist/chunks/{location-services-gd4qta3r.js → model-resolver-gd4qta3r.js} +1 -1
  150. package/dist/chunks/{location-services-32ht5shb.js → model-resolver-gfgy34x3.js} +13 -13
  151. package/dist/chunks/{location-services-6xg7r5mv.js → model-resolver-gfvjxb5k.js} +1 -1
  152. package/dist/chunks/{location-services-egwe353v.js → model-resolver-gkwvz8ht.js} +3 -3
  153. package/dist/chunks/{location-services-tex88hhx.js → model-resolver-gp83hdk9.js} +44 -44
  154. package/dist/chunks/{location-services-a0805j8t.js → model-resolver-gse0ck6f.js} +3 -3
  155. package/dist/chunks/{location-services-jvf3yq6v.js → model-resolver-gst7axd9.js} +4 -4
  156. package/dist/chunks/{location-services-k69ha7yf.js → model-resolver-h0e1kdvt.js} +3 -3
  157. package/dist/chunks/{location-services-3cegwx68.js → model-resolver-h2b79v29.js} +2 -2
  158. package/dist/chunks/{location-services-h6vf3j39.js → model-resolver-h6vf3j39.js} +1 -1
  159. package/dist/chunks/{location-services-nvpwytbf.js → model-resolver-h9hhdsha.js} +32 -32
  160. package/dist/chunks/{location-services-bvrvs8m0.js → model-resolver-h9jfnbdc.js} +26 -24
  161. package/dist/chunks/{location-services-ppkrdbkc.js → model-resolver-hbw5wb31.js} +5 -5
  162. package/dist/chunks/{location-services-0h4fw62m.js → model-resolver-hfm9a2d0.js} +2 -2
  163. package/dist/chunks/{location-services-sjv5qmhe.js → model-resolver-hns04bnr.js} +3 -3
  164. package/dist/chunks/{location-services-47ttr96j.js → model-resolver-j3w99yee.js} +20 -20
  165. package/dist/chunks/{location-services-j56e64zr.js → model-resolver-j56e64zr.js} +1 -1
  166. package/dist/chunks/{location-services-n2hn6ctt.js → model-resolver-jv7q5gx3.js} +9 -9
  167. package/dist/chunks/{location-services-jw80jp6b.js → model-resolver-jw80jp6b.js} +1 -1
  168. package/dist/chunks/{location-services-syyy2hrt.js → model-resolver-jz1jgw4t.js} +4 -4
  169. package/dist/chunks/{location-services-k3c624dm.js → model-resolver-k3c624dm.js} +3 -3
  170. package/dist/chunks/{location-services-a0mgmfsd.js → model-resolver-k3hh5zvs.js} +23 -23
  171. package/dist/chunks/model-resolver-k40pk40z.js +26 -0
  172. package/dist/chunks/{location-services-ywqkw4ef.js → model-resolver-k5hqpvc4.js} +50 -50
  173. package/dist/chunks/{location-services-k8f3jam7.js → model-resolver-k8f3jam7.js} +2 -2
  174. package/dist/chunks/{location-services-573974vw.js → model-resolver-kan6af9e.js} +22 -22
  175. package/dist/chunks/{location-services-znt0jm4s.js → model-resolver-kmkk6jeb.js} +26 -26
  176. package/dist/chunks/{location-services-bg7m88fe.js → model-resolver-ksdw2mz7.js} +22 -22
  177. package/dist/chunks/{location-services-cf9x4s5a.js → model-resolver-kwasnf1h.js} +85 -85
  178. package/dist/chunks/{location-services-m3fdjcah.js → model-resolver-m3fdjcah.js} +1 -1
  179. package/dist/chunks/{location-services-cjwpz2jw.js → model-resolver-m3ma28tp.js} +48 -48
  180. package/dist/chunks/{location-services-8bh61ygk.js → model-resolver-m5ddjyhh.js} +38 -38
  181. package/dist/chunks/{location-services-dp2bb01k.js → model-resolver-m73je9hm.js} +17 -17
  182. package/dist/chunks/{location-services-m9w0rfyh.js → model-resolver-m9w0rfyh.js} +1 -1
  183. package/dist/chunks/{location-services-mazbtkaa.js → model-resolver-mazbtkaa.js} +2 -2
  184. package/dist/chunks/{location-services-ym7fjfg8.js → model-resolver-mkpw75cb.js} +9 -9
  185. package/dist/chunks/{location-services-dcr84v06.js → model-resolver-mmr9n9n6.js} +13 -13
  186. package/dist/chunks/{location-services-ffxkc1dx.js → model-resolver-mmxxk9et.js} +9 -9
  187. package/dist/chunks/{location-services-p6e7n9ts.js → model-resolver-mv3tycdn.js} +8 -8
  188. package/dist/chunks/{location-services-jv56kan4.js → model-resolver-myqg0pwz.js} +9 -9
  189. package/dist/chunks/{location-services-2nqey637.js → model-resolver-myw6wz04.js} +10 -10
  190. package/dist/chunks/{location-services-vjjxy6yb.js → model-resolver-n3vygs5b.js} +6 -6
  191. package/dist/chunks/{location-services-52n7b4yz.js → model-resolver-n5cn0tb9.js} +171 -171
  192. package/dist/chunks/{location-services-5tcm9639.js → model-resolver-n8sna2wb.js} +9 -9
  193. package/dist/chunks/{location-services-5ypfgryp.js → model-resolver-ne9ahhv5.js} +9 -9
  194. package/dist/chunks/{location-services-dppkjzwm.js → model-resolver-nkmk0g3b.js} +6 -6
  195. package/dist/chunks/model-resolver-npsq8fb9.js +507 -0
  196. package/dist/chunks/{location-services-xjy4ntws.js → model-resolver-p17a2fe3.js} +10 -10
  197. package/dist/chunks/{location-services-23pqda6t.js → model-resolver-pf2hb43r.js} +4 -4
  198. package/dist/chunks/{location-services-sqsz59mf.js → model-resolver-pf4vdr5b.js} +8 -8
  199. package/dist/chunks/model-resolver-phz3h32g.js +18 -0
  200. package/dist/chunks/{location-services-pjvnvgmy.js → model-resolver-pjvnvgmy.js} +1 -1
  201. package/dist/chunks/{location-services-pknna89w.js → model-resolver-pknna89w.js} +1 -1
  202. package/dist/chunks/{location-services-r2dnqh6n.js → model-resolver-pkqb68ka.js} +4 -4
  203. package/dist/chunks/{location-services-qv34apq4.js → model-resolver-prt7p8he.js} +7 -7
  204. package/dist/chunks/{location-services-rwb9syv2.js → model-resolver-pvxf3j12.js} +11 -11
  205. package/dist/chunks/{location-services-wvnyy24z.js → model-resolver-q00e2evn.js} +11 -11
  206. package/dist/chunks/{location-services-q0xm7vwc.js → model-resolver-q0xm7vwc.js} +2 -2
  207. package/dist/chunks/{location-services-8r8xekqf.js → model-resolver-q4kmjcgn.js} +22 -22
  208. package/dist/chunks/{location-services-hybaecqw.js → model-resolver-q639q6k1.js} +30 -30
  209. package/dist/chunks/{location-services-ryr25ayn.js → model-resolver-qa3qhgw8.js} +4 -4
  210. package/dist/chunks/{location-services-8ssz5kmw.js → model-resolver-qkp9yadg.js} +55 -55
  211. package/dist/chunks/{location-services-qnc92qwc.js → model-resolver-qnc92qwc.js} +1 -1
  212. package/dist/chunks/{location-services-f7mex5kc.js → model-resolver-qp1n1vy7.js} +5 -5
  213. package/dist/chunks/{location-services-qsdy395h.js → model-resolver-qsdy395h.js} +1 -1
  214. package/dist/chunks/{location-services-j46s9538.js → model-resolver-qv8n8zgy.js} +25 -25
  215. package/dist/chunks/{location-services-m5wbs23r.js → model-resolver-qzvme19v.js} +21 -21
  216. package/dist/chunks/{location-services-gjwgx2c5.js → model-resolver-r2m716tb.js} +9 -9
  217. package/dist/chunks/{location-services-sx1n432n.js → model-resolver-r98e92ep.js} +4 -4
  218. package/dist/chunks/{location-services-4nj4bn9q.js → model-resolver-r9w3djhf.js} +9 -9
  219. package/dist/chunks/{location-services-f79znmm7.js → model-resolver-rc77m1db.js} +20 -20
  220. package/dist/chunks/{location-services-rdw6cm16.js → model-resolver-rdw6cm16.js} +1 -1
  221. package/dist/chunks/{location-services-kc54qyfz.js → model-resolver-re5ckjab.js} +13 -13
  222. package/dist/chunks/{location-services-yy9j72hh.js → model-resolver-rkqabadz.js} +37 -37
  223. package/dist/chunks/{location-services-v04b82c1.js → model-resolver-rsdvke6b.js} +18 -18
  224. package/dist/chunks/{location-services-vp1kxwwv.js → model-resolver-rz5y6gq8.js} +21 -21
  225. package/dist/chunks/{location-services-5k3kwaah.js → model-resolver-rz96cyzp.js} +14 -14
  226. package/dist/chunks/{location-services-f29mbr7f.js → model-resolver-s30fyz93.js} +4 -4
  227. package/dist/chunks/{location-services-k2wwdrk0.js → model-resolver-shcrmf00.js} +15 -15
  228. package/dist/chunks/{location-services-4t9dhaga.js → model-resolver-skgj9ax5.js} +17 -17
  229. package/dist/chunks/{location-services-sw8y5djv.js → model-resolver-snag70gz.js} +27 -27
  230. package/dist/chunks/{location-services-5t1kfqwj.js → model-resolver-ss33t2y8.js} +6 -6
  231. package/dist/chunks/{location-services-a4fdsy1e.js → model-resolver-t3ta0jn1.js} +27 -27
  232. package/dist/chunks/{location-services-70h9fc4n.js → model-resolver-t4phn8cw.js} +1 -1
  233. package/dist/chunks/{location-services-36mwe6xe.js → model-resolver-t9kqhrb1.js} +13 -13
  234. package/dist/chunks/{location-services-j34cs6sj.js → model-resolver-taxap598.js} +21 -21
  235. package/dist/chunks/{location-services-tazgh4e4.js → model-resolver-tazgh4e4.js} +1 -1
  236. package/dist/chunks/{location-services-89znhe33.js → model-resolver-tcezcvh9.js} +4 -4
  237. package/dist/chunks/{location-services-tdstcens.js → model-resolver-tdstcens.js} +1 -1
  238. package/dist/chunks/{location-services-rv7smp43.js → model-resolver-te3gjas8.js} +27 -27
  239. package/dist/chunks/{location-services-qv6w546m.js → model-resolver-tsp4afg5.js} +11 -11
  240. package/dist/chunks/{location-services-bmztvrbp.js → model-resolver-tvjfdkdg.js} +16 -16
  241. package/dist/chunks/{location-services-tvtrv512.js → model-resolver-tvtrv512.js} +1 -1
  242. package/dist/chunks/{location-services-jybhndc8.js → model-resolver-tx6hj8vh.js} +26 -26
  243. package/dist/chunks/{location-services-4e8vs6eh.js → model-resolver-tx9w5tca.js} +8 -8
  244. package/dist/chunks/{location-services-p8f82s16.js → model-resolver-v2j2nd9r.js} +17 -17
  245. package/dist/chunks/{location-services-p08aktn5.js → model-resolver-v5g0yskm.js} +2 -2
  246. package/dist/chunks/{location-services-xgpppxj9.js → model-resolver-v7aegc90.js} +16 -16
  247. package/dist/chunks/{location-services-veqvce7d.js → model-resolver-veqvce7d.js} +1 -1
  248. package/dist/chunks/{location-services-jey8fzdt.js → model-resolver-vff75evq.js} +9 -9
  249. package/dist/chunks/{location-services-5kw0n2ma.js → model-resolver-vkt5fbj2.js} +5 -5
  250. package/dist/chunks/{location-services-tw8eapz5.js → model-resolver-vwfaknzj.js} +42 -42
  251. package/dist/chunks/{location-services-57wdwfaz.js → model-resolver-vxtvrbna.js} +31 -31
  252. package/dist/chunks/{location-services-vzcthcp8.js → model-resolver-vzcthcp8.js} +1 -1
  253. package/dist/chunks/{location-services-vzs5sf6e.js → model-resolver-vzs5sf6e.js} +1 -1
  254. package/dist/chunks/{location-services-w3wsvvr9.js → model-resolver-w3wsvvr9.js} +1 -1
  255. package/dist/chunks/{location-services-wd87259q.js → model-resolver-wd87259q.js} +1 -1
  256. package/dist/chunks/{location-services-ejctqn46.js → model-resolver-wegd5fp2.js} +9 -9
  257. package/dist/chunks/{location-services-zk6h76qn.js → model-resolver-wkr32rjm.js} +14 -14
  258. package/dist/chunks/{location-services-9t7a50xb.js → model-resolver-wv396vej.js} +6 -6
  259. package/dist/chunks/{location-services-775wrvb1.js → model-resolver-wv3dv6v0.js} +23 -23
  260. package/dist/chunks/{location-services-geb4a7yy.js → model-resolver-ww2b7n8h.js} +8 -8
  261. package/dist/chunks/{location-services-x1ezjp6w.js → model-resolver-x1ezjp6w.js} +1 -1
  262. package/dist/chunks/{location-services-dm1xdvy1.js → model-resolver-x3pwywrr.js} +25 -25
  263. package/dist/chunks/{location-services-7wsn8jkm.js → model-resolver-x73h0cn1.js} +4 -4
  264. package/dist/chunks/{location-services-xfkkasph.js → model-resolver-xfkkasph.js} +1 -1
  265. package/dist/chunks/{location-services-0y8qv4v3.js → model-resolver-xk8t8a3e.js} +26 -26
  266. package/dist/chunks/{location-services-jr693m90.js → model-resolver-xv43dmfe.js} +6 -6
  267. package/dist/chunks/{location-services-h6xkfdk1.js → model-resolver-xvyvc58w.js} +2 -2
  268. package/dist/chunks/{location-services-mevczv93.js → model-resolver-y144jg7q.js} +20 -20
  269. package/dist/chunks/{location-services-y1fvbwt7.js → model-resolver-y1fvbwt7.js} +1 -1
  270. package/dist/chunks/{location-services-az6fhp2f.js → model-resolver-y2naxmkz.js} +29 -29
  271. package/dist/chunks/{location-services-me9c30nh.js → model-resolver-y3nba2x3.js} +4 -4
  272. package/dist/chunks/{location-services-qjb5tr49.js → model-resolver-y4z5xdc7.js} +16 -16
  273. package/dist/chunks/{location-services-dnxkq42g.js → model-resolver-y6bex35g.js} +4 -4
  274. package/dist/chunks/{location-services-3zt9s3jj.js → model-resolver-y7ts3hqa.js} +15 -15
  275. package/dist/chunks/{location-services-qh51x0bq.js → model-resolver-y8ny8g7a.js} +20 -20
  276. package/dist/chunks/{location-services-rtdzv965.js → model-resolver-yacwftk6.js} +9 -9
  277. package/dist/chunks/{location-services-amfvtdma.js → model-resolver-ybgaf8pp.js} +8 -8
  278. package/dist/chunks/{location-services-yp2x3t23.js → model-resolver-yp2x3t23.js} +1 -1
  279. package/dist/chunks/{location-services-67jv4443.js → model-resolver-ypnw9vt7.js} +14 -14
  280. package/dist/chunks/{location-services-yrhqyw5v.js → model-resolver-yrhqyw5v.js} +1 -1
  281. package/dist/chunks/{location-services-expg6636.js → model-resolver-yyjgzmbq.js} +81 -81
  282. package/dist/chunks/{location-services-z0bkrqjs.js → model-resolver-z0bkrqjs.js} +1 -1
  283. package/dist/chunks/{location-services-1k85hbs2.js → model-resolver-z1wzh4em.js} +20 -20
  284. package/dist/chunks/{location-services-vr9n9w3y.js → model-resolver-z4qahwf9.js} +21 -21
  285. package/dist/chunks/{location-services-mjqndqed.js → model-resolver-zc5g640q.js} +5 -5
  286. package/dist/chunks/{location-services-04zc97jq.js → model-resolver-zfe5250d.js} +17 -17
  287. package/dist/chunks/{location-services-x0amqr8p.js → model-resolver-zh60fjan.js} +10 -10
  288. package/dist/chunks/{location-services-vcn47bng.js → model-resolver-zm76h1z5.js} +34 -34
  289. package/dist/chunks/{location-services-zr2ceqn5.js → model-resolver-zr2ceqn5.js} +1 -1
  290. package/dist/chunks/{location-services-w4gvx3xt.js → model-resolver-ztb5xmgg.js} +3 -3
  291. package/dist/chunks/{location-services-vz7e0fzz.js → model-resolver-zw9m0b6f.js} +19 -19
  292. package/dist/chunks/{location-services-zxq2ej10.js → model-resolver-zxq2ej10.js} +1 -1
  293. package/dist/codemode/catalog.js +1 -1
  294. package/dist/codemode/instructions.js +5 -5
  295. package/dist/codemode/tool.js +3 -3
  296. package/dist/codemode/web.js +1 -1
  297. package/dist/command.js +83 -83
  298. package/dist/config/discovery.js +84 -84
  299. package/dist/config/markdown.js +1 -1
  300. package/dist/config/normalize.js +106 -106
  301. package/dist/config/plugin/agent.js +123 -123
  302. package/dist/config/plugin/command.js +213 -213
  303. package/dist/config/plugin/compaction.js +161 -161
  304. package/dist/config/plugin/compatibility.js +141 -141
  305. package/dist/config/plugin/entry-observer.js +1 -1
  306. package/dist/config/plugin/formatter.js +122 -122
  307. package/dist/config/plugin/image.js +123 -123
  308. package/dist/config/plugin/instruction.js +90 -90
  309. package/dist/config/plugin/location-watcher.js +123 -123
  310. package/dist/config/plugin/mcp.js +130 -130
  311. package/dist/config/plugin/policy.js +124 -124
  312. package/dist/config/plugin/provider.js +123 -123
  313. package/dist/config/plugin/reference.js +125 -125
  314. package/dist/config/plugin/shell.js +125 -125
  315. package/dist/config/plugin/skill-file.js +102 -102
  316. package/dist/config/plugin/skill.js +144 -144
  317. package/dist/config/plugin/snapshot.js +123 -123
  318. package/dist/config/plugin/source.js +120 -120
  319. package/dist/config/plugin/tool-output.js +123 -123
  320. package/dist/config/plugin/websearch.js +124 -124
  321. package/dist/config/plugin/worktree.js +125 -125
  322. package/dist/config/variable.js +3 -3
  323. package/dist/config/watch.js +1 -1
  324. package/dist/config.js +128 -128
  325. package/dist/credential/sql.js +2 -2
  326. package/dist/credential.js +85 -85
  327. package/dist/database/database.js +66 -66
  328. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  329. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  330. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  331. package/dist/database/drizzle/index.js +13 -13
  332. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  335. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  337. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  338. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  339. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  340. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  341. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  342. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  343. package/dist/database/drizzle.js +14 -14
  344. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  345. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  346. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  347. package/dist/database/migration/20260225215848_workspace.js +1 -1
  348. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  349. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  350. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  351. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  352. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  353. package/dist/database/migration/20260323234822_events.js +1 -1
  354. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  355. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  356. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  357. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  358. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  359. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  360. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  361. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  362. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  363. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  364. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  365. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  366. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  367. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  368. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  369. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  370. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  371. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  372. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  373. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  374. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  375. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  376. package/dist/database/migration/20260611035744_credential.js +1 -1
  377. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  378. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  379. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  380. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  381. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  382. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  383. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  384. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  385. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  386. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  387. package/dist/database/migration/20260812213948_worktree.js +1 -1
  388. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  389. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  390. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  391. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  392. package/dist/database/migration.gen.js +49 -49
  393. package/dist/database/migration.js +51 -51
  394. package/dist/database/path.js +2 -2
  395. package/dist/database/schema.gen.js +1 -1
  396. package/dist/database/schema.sql.js +1 -1
  397. package/dist/database/sqlite.bun.js +1 -1
  398. package/dist/database/sqlite.js +1 -1
  399. package/dist/database/sqlite.node.js +1 -1
  400. package/dist/database/sqlite.workerd.js +1 -1
  401. package/dist/database/v1-migration.bun.js +76 -76
  402. package/dist/database/v1-migration.js +1 -1
  403. package/dist/effect/app-node-builder.js +372 -372
  404. package/dist/effect/app-node-platform.js +2 -2
  405. package/dist/effect/keyed-mutex.js +1 -1
  406. package/dist/effect/websocket-constructor.js +1 -1
  407. package/dist/environment/driver.js +1 -1
  408. package/dist/environment/environment.js +93 -93
  409. package/dist/environment/exec-defaults.js +2 -2
  410. package/dist/environment/files.js +1 -1
  411. package/dist/environment/index.js +95 -95
  412. package/dist/environment/local.js +2 -2
  413. package/dist/environment/memory.js +2 -2
  414. package/dist/environment/unavailable.js +1 -1
  415. package/dist/event/sql.js +1 -1
  416. package/dist/event-logger.js +70 -70
  417. package/dist/file-access.js +104 -104
  418. package/dist/file-mutation.js +94 -94
  419. package/dist/file-retention.js +1 -1
  420. package/dist/filesystem/fff.bun.js +2 -2
  421. package/dist/filesystem/fff.js +1 -1
  422. package/dist/filesystem/fff.node.js +2 -2
  423. package/dist/filesystem/fff.workerd.js +2 -2
  424. package/dist/filesystem/location-watcher-policy.js +6 -6
  425. package/dist/filesystem/location-watcher.js +222 -222
  426. package/dist/filesystem/protected.js +3 -3
  427. package/dist/filesystem/search.js +103 -103
  428. package/dist/filesystem/watcher-binding.js +1 -1
  429. package/dist/filesystem/watcher.js +15 -15
  430. package/dist/filesystem.js +102 -102
  431. package/dist/form.js +84 -84
  432. package/dist/formatter/builtins.js +2 -2
  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 +99 -99
  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 +363 -363
  460. package/dist/instruction-discovery.js +85 -85
  461. package/dist/instructions/builtins.js +87 -87
  462. package/dist/instructions/index.js +3 -3
  463. package/dist/integration/connection.js +3 -3
  464. package/dist/integration.js +87 -87
  465. package/dist/job.js +77 -77
  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 +360 -360
  472. package/dist/location.js +81 -81
  473. package/dist/managed-policy.js +5 -5
  474. package/dist/mcp/client.js +91 -91
  475. package/dist/mcp/index.js +103 -103
  476. package/dist/mcp/instructions.js +127 -127
  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 +99 -99
  481. package/dist/model-resolver.js +98 -98
  482. package/dist/model.js +96 -96
  483. package/dist/models-dev.js +103 -103
  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 +113 -113
  488. package/dist/persistent-pty/binary.bun.js +3 -1
  489. package/dist/persistent-pty/binary.node.js +2 -0
  490. package/dist/persistent-pty/binary.workerd.js +2 -0
  491. package/dist/persistent-pty/daemon.js +1 -1
  492. package/dist/persistent-pty/index.js +89 -87
  493. package/dist/persistent-pty/pty-binding.js +1 -1
  494. package/dist/persistent-pty.js +75 -75
  495. package/dist/plugin/agent.js +102 -102
  496. package/dist/plugin/command.js +100 -100
  497. package/dist/plugin/hooks.js +5 -5
  498. package/dist/plugin/host.js +219 -219
  499. package/dist/plugin/identity.js +3 -3
  500. package/dist/plugin/instance.js +5 -5
  501. package/dist/plugin/internal.js +335 -335
  502. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  503. package/dist/plugin/models-dev.js +96 -96
  504. package/dist/plugin/module.js +5 -5
  505. package/dist/plugin/optimize.js +2 -2
  506. package/dist/plugin/plan.js +102 -102
  507. package/dist/plugin/promise.js +1 -1
  508. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  509. package/dist/plugin/provider/azure.js +122 -122
  510. package/dist/plugin/provider/cerebras.js +1 -1
  511. package/dist/plugin/provider/chatgpt.js +93 -93
  512. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  513. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  514. package/dist/plugin/provider/cohere.js +2 -2
  515. package/dist/plugin/provider/configured.js +119 -119
  516. package/dist/plugin/provider/digitalocean.js +93 -93
  517. package/dist/plugin/provider/dynamic.js +2 -2
  518. package/dist/plugin/provider/factory.js +1 -1
  519. package/dist/plugin/provider/gateway.js +2 -2
  520. package/dist/plugin/provider/github-copilot.js +95 -95
  521. package/dist/plugin/provider/gitlab.js +93 -93
  522. package/dist/plugin/provider/google-vertex.js +90 -90
  523. package/dist/plugin/provider/kilo.js +1 -1
  524. package/dist/plugin/provider/llmgateway.js +78 -78
  525. package/dist/plugin/provider/lmstudio.js +122 -122
  526. package/dist/plugin/provider/modal.js +92 -92
  527. package/dist/plugin/provider/nvidia.js +1 -1
  528. package/dist/plugin/provider/ollama.js +122 -122
  529. package/dist/plugin/provider/openai.js +93 -93
  530. package/dist/plugin/provider/opencode.js +96 -96
  531. package/dist/plugin/provider/openrouter.js +91 -91
  532. package/dist/plugin/provider/perplexity.js +2 -2
  533. package/dist/plugin/provider/poe.js +79 -79
  534. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  535. package/dist/plugin/provider/sap-ai-core.js +91 -91
  536. package/dist/plugin/provider/sdk-factory.js +1 -1
  537. package/dist/plugin/provider/snowflake-cortex.js +122 -122
  538. package/dist/plugin/provider/venice.js +2 -2
  539. package/dist/plugin/provider/vercel.js +90 -90
  540. package/dist/plugin/provider/vllm.js +120 -120
  541. package/dist/plugin/provider/xai.js +91 -91
  542. package/dist/plugin/provider/zenmux.js +1 -1
  543. package/dist/plugin/provider.js +163 -163
  544. package/dist/plugin/sdk.js +74 -74
  545. package/dist/plugin/service.js +3 -3
  546. package/dist/plugin/skill.js +141 -141
  547. package/dist/plugin/source-directory.js +1 -1
  548. package/dist/plugin/supervisor.js +350 -350
  549. package/dist/plugin/tool-input-repair.js +4 -4
  550. package/dist/plugin/update.js +6 -6
  551. package/dist/plugin/vcs/git.js +86 -86
  552. package/dist/plugin/vcs/hg.js +86 -86
  553. package/dist/plugin/verbosity.js +93 -93
  554. package/dist/plugin/warming.js +121 -121
  555. package/dist/plugin/websearch/exa.js +5 -5
  556. package/dist/plugin/websearch/firecrawl.js +8 -8
  557. package/dist/plugin/websearch/index.js +9 -9
  558. package/dist/plugin/websearch/mcp.js +4 -4
  559. package/dist/plugin/websearch/parallel.js +8 -8
  560. package/dist/plugin/websearch/tavily.js +4 -4
  561. package/dist/plugin/websearch/tinyfish.js +8 -8
  562. package/dist/plugin.js +230 -230
  563. package/dist/project/schema.js +2 -2
  564. package/dist/project/sql.js +4 -4
  565. package/dist/project.js +80 -80
  566. package/dist/provider.js +101 -101
  567. package/dist/pty/protocol.js +1 -1
  568. package/dist/pty/ticket.js +1 -1
  569. package/dist/pty.js +97 -97
  570. package/dist/reference/instructions.js +87 -87
  571. package/dist/reference.js +91 -91
  572. package/dist/repository-cache.js +81 -81
  573. package/dist/repository.js +1 -1
  574. package/dist/ripgrep/binary.js +2 -2
  575. package/dist/ripgrep.js +95 -95
  576. package/dist/rpc.js +86 -86
  577. package/dist/schema.js +1 -1
  578. package/dist/session/affinity.js +1 -1
  579. package/dist/session/command.js +74 -74
  580. package/dist/session/compaction.js +129 -129
  581. package/dist/session/context.js +153 -153
  582. package/dist/session/diff.js +88 -88
  583. package/dist/session/environment.js +5 -5
  584. package/dist/session/error.js +5 -5
  585. package/dist/session/event.js +1 -1
  586. package/dist/session/execution/restart.js +222 -222
  587. package/dist/session/execution.js +126 -126
  588. package/dist/session/generate.js +152 -152
  589. package/dist/session/history.js +13 -13
  590. package/dist/session/inbox.js +86 -86
  591. package/dist/session/info.js +3 -3
  592. package/dist/session/instruction-entry.js +79 -79
  593. package/dist/session/instruction-state.js +8 -8
  594. package/dist/session/instructions.js +93 -93
  595. package/dist/session/message-updater.js +4 -4
  596. package/dist/session/message.js +1 -1
  597. package/dist/session/model-request.js +118 -118
  598. package/dist/session/model-transport.js +7 -7
  599. package/dist/session/move.js +130 -130
  600. package/dist/session/projector.js +86 -86
  601. package/dist/session/prompt.js +105 -105
  602. package/dist/session/provider-context.js +3 -3
  603. package/dist/session/revert.js +90 -90
  604. package/dist/session/run-coordinator.js +1 -1
  605. package/dist/session/runner/index.js +3 -3
  606. package/dist/session/runner/llm.js +230 -230
  607. package/dist/session/runner/max-steps.js +1 -1
  608. package/dist/session/runner/model.js +98 -98
  609. package/dist/session/runner/publish-llm-event.js +113 -113
  610. package/dist/session/runner/retry.js +2 -2
  611. package/dist/session/runner/step.js +124 -124
  612. package/dist/session/runner/to-llm-message.js +2 -2
  613. package/dist/session/schema.js +5 -5
  614. package/dist/session/session.js +170 -170
  615. package/dist/session/shell.js +138 -138
  616. package/dist/session/skill.js +103 -103
  617. package/dist/session/sql.js +5 -5
  618. package/dist/session/stats.js +73 -73
  619. package/dist/session/store.js +87 -87
  620. package/dist/session/subagent-completion.js +1 -1
  621. package/dist/session/subagent-job.js +209 -209
  622. package/dist/session/system-prompt.js +1 -1
  623. package/dist/session/title.js +151 -151
  624. package/dist/session/to-session-error.js +111 -111
  625. package/dist/session/transfer.js +215 -215
  626. package/dist/session/usage.js +1 -1
  627. package/dist/session.js +217 -217
  628. package/dist/shell/parse.js +6 -6
  629. package/dist/shell/result.js +1 -1
  630. package/dist/shell/scan.js +1 -1
  631. package/dist/shell/select.js +13 -13
  632. package/dist/shell.js +138 -138
  633. package/dist/skill/discovery.js +6 -6
  634. package/dist/skill/instructions.js +107 -107
  635. package/dist/skill.js +110 -110
  636. package/dist/snapshot.js +89 -89
  637. package/dist/state.js +1 -1
  638. package/dist/tool/html-markdown.js +1 -1
  639. package/dist/tool/http-body.js +1 -1
  640. package/dist/tool/mcp.js +124 -124
  641. package/dist/tool/plugin/edit.js +118 -118
  642. package/dist/tool/plugin/file-diff.js +1 -1
  643. package/dist/tool/plugin/glob.js +124 -124
  644. package/dist/tool/plugin/grep.js +124 -124
  645. package/dist/tool/plugin/mcp-resource.js +117 -117
  646. package/dist/tool/plugin/opencode.js +3 -3
  647. package/dist/tool/plugin/patch.js +122 -122
  648. package/dist/tool/plugin/question.js +101 -101
  649. package/dist/tool/plugin/read.js +123 -123
  650. package/dist/tool/plugin/shell.js +218 -218
  651. package/dist/tool/plugin/skill.js +111 -111
  652. package/dist/tool/plugin/subagent.js +220 -220
  653. package/dist/tool/plugin/webfetch.js +112 -112
  654. package/dist/tool/plugin/websearch.js +112 -112
  655. package/dist/tool/plugin/write.js +122 -122
  656. package/dist/tool/read-filesystem.js +100 -100
  657. package/dist/tool/runtime.js +1 -1
  658. package/dist/tool-output.js +8 -8
  659. package/dist/tool.js +12 -12
  660. package/dist/types/persistent-pty/binary.bun.d.ts +1 -0
  661. package/dist/types/persistent-pty/binary.node.d.ts +1 -0
  662. package/dist/types/persistent-pty/binary.workerd.d.ts +1 -0
  663. package/dist/types/persistent-pty/index.d.ts +1 -0
  664. package/dist/util/error-summary.js +1 -1
  665. package/dist/util/error.js +1 -1
  666. package/dist/util/git-executable.js +2 -2
  667. package/dist/util/iife.js +1 -1
  668. package/dist/util/lazy.js +1 -1
  669. package/dist/util/slug.js +1 -1
  670. package/dist/util/token.js +1 -1
  671. package/dist/util/which.js +1 -1
  672. package/dist/util/wildcard.js +1 -1
  673. package/dist/v1/config/agent.js +5 -5
  674. package/dist/v1/config/attachment.js +2 -2
  675. package/dist/v1/config/command.js +3 -3
  676. package/dist/v1/config/config.js +16 -16
  677. package/dist/v1/config/error.js +2 -2
  678. package/dist/v1/config/formatter.js +5 -5
  679. package/dist/v1/config/layout.js +1 -1
  680. package/dist/v1/config/lsp.js +3 -3
  681. package/dist/v1/config/mcp.js +4 -4
  682. package/dist/v1/config/migrate.js +92 -92
  683. package/dist/v1/config/permission.js +1 -1
  684. package/dist/v1/config/plugin.js +3 -3
  685. package/dist/v1/config/provider-options.js +1 -1
  686. package/dist/v1/config/provider.js +4 -4
  687. package/dist/v1/config/server.js +2 -2
  688. package/dist/v1/config/skills.js +3 -3
  689. package/dist/variant.js +93 -93
  690. package/dist/vcs/patch.js +1 -1
  691. package/dist/vcs.js +85 -85
  692. package/dist/websearch.js +82 -82
  693. package/dist/wellknown/plugin.js +76 -76
  694. package/dist/wellknown.js +81 -81
  695. package/dist/workspace/driver.js +5 -5
  696. package/dist/workspace/sql.js +1 -1
  697. package/dist/workspace.js +80 -80
  698. package/dist/worktree/directory.js +2 -2
  699. package/dist/worktree/git.js +8 -8
  700. package/dist/worktree/sql.js +5 -5
  701. package/dist/worktree/strategies.js +89 -89
  702. package/dist/worktree.js +94 -94
  703. package/package.json +8 -8
  704. package/dist/chunks/location-services-0df77v9g.js +0 -507
  705. package/dist/chunks/location-services-c9d4en3z.js +0 -252
  706. package/dist/chunks/location-services-qdyb70sk.js +0 -18
  707. package/dist/chunks/location-services-tqewcpxk.js +0 -26
  708. /package/dist/chunks/{location-services-0qkdqm5v.js → model-resolver-0qkdqm5v.js} +0 -0
  709. /package/dist/chunks/{location-services-0zkw76rk.js → model-resolver-0zkw76rk.js} +0 -0
  710. /package/dist/chunks/{location-services-17cy0kzp.js → model-resolver-17cy0kzp.js} +0 -0
  711. /package/dist/chunks/{location-services-1cnp2v09.js → model-resolver-1cnp2v09.js} +0 -0
  712. /package/dist/chunks/{location-services-1kg9ymc8.js → model-resolver-1kg9ymc8.js} +0 -0
  713. /package/dist/chunks/{location-services-24dcb14g.js → model-resolver-24dcb14g.js} +0 -0
  714. /package/dist/chunks/{location-services-2710q6r3.js → model-resolver-2710q6r3.js} +0 -0
  715. /package/dist/chunks/{location-services-2axfhc9x.js → model-resolver-2axfhc9x.js} +0 -0
  716. /package/dist/chunks/{location-services-2c3vjs8z.js → model-resolver-2c3vjs8z.js} +0 -0
  717. /package/dist/chunks/{location-services-34c7v6d4.js → model-resolver-34c7v6d4.js} +0 -0
  718. /package/dist/chunks/{location-services-359p4xyc.js → model-resolver-359p4xyc.js} +0 -0
  719. /package/dist/chunks/{location-services-3asan66x.js → model-resolver-3asan66x.js} +0 -0
  720. /package/dist/chunks/{location-services-3v8g72cx.js → model-resolver-3v8g72cx.js} +0 -0
  721. /package/dist/chunks/{location-services-3w5fmr99.js → model-resolver-3w5fmr99.js} +0 -0
  722. /package/dist/chunks/{location-services-3wcehsnq.js → model-resolver-3wcehsnq.js} +0 -0
  723. /package/dist/chunks/{location-services-43n2bw4t.js → model-resolver-43n2bw4t.js} +0 -0
  724. /package/dist/chunks/{location-services-4knz6hnm.js → model-resolver-4knz6hnm.js} +0 -0
  725. /package/dist/chunks/{location-services-4vcrnpx2.js → model-resolver-4vcrnpx2.js} +0 -0
  726. /package/dist/chunks/{location-services-4y7fprxs.js → model-resolver-4y7fprxs.js} +0 -0
  727. /package/dist/chunks/{location-services-53557ph1.js → model-resolver-53557ph1.js} +0 -0
  728. /package/dist/chunks/{location-services-550bvhaj.js → model-resolver-550bvhaj.js} +0 -0
  729. /package/dist/chunks/{location-services-5qd3pb7m.js → model-resolver-5qd3pb7m.js} +0 -0
  730. /package/dist/chunks/{location-services-6prwharc.js → model-resolver-6prwharc.js} +0 -0
  731. /package/dist/chunks/{location-services-7akdwqpd.js → model-resolver-7akdwqpd.js} +0 -0
  732. /package/dist/chunks/{location-services-7m9af43g.js → model-resolver-7m9af43g.js} +0 -0
  733. /package/dist/chunks/{location-services-822emrt2.js → model-resolver-822emrt2.js} +0 -0
  734. /package/dist/chunks/{location-services-88xbtdfr.js → model-resolver-88xbtdfr.js} +0 -0
  735. /package/dist/chunks/{location-services-8n3pysct.js → model-resolver-8n3pysct.js} +0 -0
  736. /package/dist/chunks/{location-services-8wj87zfr.js → model-resolver-8wj87zfr.js} +0 -0
  737. /package/dist/chunks/{location-services-9a4afbnw.js → model-resolver-9a4afbnw.js} +0 -0
  738. /package/dist/chunks/{location-services-9rqn6x4v.js → model-resolver-9rqn6x4v.js} +0 -0
  739. /package/dist/chunks/{location-services-a6k6eb26.js → model-resolver-a6k6eb26.js} +0 -0
  740. /package/dist/chunks/{location-services-af5trqkr.js → model-resolver-af5trqkr.js} +0 -0
  741. /package/dist/chunks/{location-services-afrmfg78.js → model-resolver-afrmfg78.js} +0 -0
  742. /package/dist/chunks/{location-services-aqzs7mqg.js → model-resolver-aqzs7mqg.js} +0 -0
  743. /package/dist/chunks/{location-services-atq7p7m5.js → model-resolver-atq7p7m5.js} +0 -0
  744. /package/dist/chunks/{location-services-bkyjaxrp.js → model-resolver-bkyjaxrp.js} +0 -0
  745. /package/dist/chunks/{location-services-bmr6ed5q.js → model-resolver-bmr6ed5q.js} +0 -0
  746. /package/dist/chunks/{location-services-cf4snx6d.js → model-resolver-cf4snx6d.js} +0 -0
  747. /package/dist/chunks/{location-services-cvy3z8tj.js → model-resolver-cvy3z8tj.js} +0 -0
  748. /package/dist/chunks/{location-services-d9fn303g.js → model-resolver-d9fn303g.js} +0 -0
  749. /package/dist/chunks/{location-services-d9jj8t3e.js → model-resolver-d9jj8t3e.js} +0 -0
  750. /package/dist/chunks/{location-services-dajrwvna.js → model-resolver-dajrwvna.js} +0 -0
  751. /package/dist/chunks/{location-services-dap0rakb.js → model-resolver-dap0rakb.js} +0 -0
  752. /package/dist/chunks/{location-services-df08tz66.js → model-resolver-df08tz66.js} +0 -0
  753. /package/dist/chunks/{location-services-dy18nga0.js → model-resolver-dy18nga0.js} +0 -0
  754. /package/dist/chunks/{location-services-e5kj55wp.js → model-resolver-e5kj55wp.js} +0 -0
  755. /package/dist/chunks/{location-services-e73j6tqm.js → model-resolver-e73j6tqm.js} +0 -0
  756. /package/dist/chunks/{location-services-ec1grn59.js → model-resolver-ec1grn59.js} +0 -0
  757. /package/dist/chunks/{location-services-eh3zwz77.js → model-resolver-eh3zwz77.js} +0 -0
  758. /package/dist/chunks/{location-services-emrn6kk6.js → model-resolver-emrn6kk6.js} +0 -0
  759. /package/dist/chunks/{location-services-f0mxakyp.js → model-resolver-f0mxakyp.js} +0 -0
  760. /package/dist/chunks/{location-services-f6n9ztr4.js → model-resolver-f6n9ztr4.js} +0 -0
  761. /package/dist/chunks/{location-services-faypxj3z.js → model-resolver-faypxj3z.js} +0 -0
  762. /package/dist/chunks/{location-services-fd410y7t.js → model-resolver-fd410y7t.js} +0 -0
  763. /package/dist/chunks/{location-services-fxgpk5d8.js → model-resolver-fxgpk5d8.js} +0 -0
  764. /package/dist/chunks/{location-services-g4wezp1m.js → model-resolver-g4wezp1m.js} +0 -0
  765. /package/dist/chunks/{location-services-g86h250q.js → model-resolver-g86h250q.js} +0 -0
  766. /package/dist/chunks/{location-services-gebd4c9n.js → model-resolver-gebd4c9n.js} +0 -0
  767. /package/dist/chunks/{location-services-gftt206x.js → model-resolver-gftt206x.js} +0 -0
  768. /package/dist/chunks/{location-services-hjbc5kem.js → model-resolver-hjbc5kem.js} +0 -0
  769. /package/dist/chunks/{location-services-hk9envan.js → model-resolver-hk9envan.js} +0 -0
  770. /package/dist/chunks/{location-services-j2ntwpah.js → model-resolver-j2ntwpah.js} +0 -0
  771. /package/dist/chunks/{location-services-j5zkgpj8.js → model-resolver-j5zkgpj8.js} +0 -0
  772. /package/dist/chunks/{location-services-jjkms2e6.js → model-resolver-jjkms2e6.js} +0 -0
  773. /package/dist/chunks/{location-services-jr7sbwjy.js → model-resolver-jr7sbwjy.js} +0 -0
  774. /package/dist/chunks/{location-services-jwfs4k6c.js → model-resolver-jwfs4k6c.js} +0 -0
  775. /package/dist/chunks/{location-services-jzg6c2d5.js → model-resolver-jzg6c2d5.js} +0 -0
  776. /package/dist/chunks/{location-services-mp448xyj.js → model-resolver-mp448xyj.js} +0 -0
  777. /package/dist/chunks/{location-services-msx8hqn2.js → model-resolver-msx8hqn2.js} +0 -0
  778. /package/dist/chunks/{location-services-n05xt0ee.js → model-resolver-n05xt0ee.js} +0 -0
  779. /package/dist/chunks/{location-services-n3j8tn72.js → model-resolver-n3j8tn72.js} +0 -0
  780. /package/dist/chunks/{location-services-njntx4h6.js → model-resolver-njntx4h6.js} +0 -0
  781. /package/dist/chunks/{location-services-q3sfg36h.js → model-resolver-q3sfg36h.js} +0 -0
  782. /package/dist/chunks/{location-services-q74kybfr.js → model-resolver-q74kybfr.js} +0 -0
  783. /package/dist/chunks/{location-services-qaymkmh1.js → model-resolver-qaymkmh1.js} +0 -0
  784. /package/dist/chunks/{location-services-qb87gjwd.js → model-resolver-qb87gjwd.js} +0 -0
  785. /package/dist/chunks/{location-services-qfa1cgps.js → model-resolver-qfa1cgps.js} +0 -0
  786. /package/dist/chunks/{location-services-qg3g05ea.js → model-resolver-qg3g05ea.js} +0 -0
  787. /package/dist/chunks/{location-services-qrg20bc0.js → model-resolver-qrg20bc0.js} +0 -0
  788. /package/dist/chunks/{location-services-rcb2kzg1.js → model-resolver-rcb2kzg1.js} +0 -0
  789. /package/dist/chunks/{location-services-sdp7kfr6.js → model-resolver-sdp7kfr6.js} +0 -0
  790. /package/dist/chunks/{location-services-sk3qaz4a.js → model-resolver-sk3qaz4a.js} +0 -0
  791. /package/dist/chunks/{location-services-ssg3fenm.js → model-resolver-ssg3fenm.js} +0 -0
  792. /package/dist/chunks/{location-services-w803qqfp.js → model-resolver-w803qqfp.js} +0 -0
  793. /package/dist/chunks/{location-services-wc3fc9cn.js → model-resolver-wc3fc9cn.js} +0 -0
  794. /package/dist/chunks/{location-services-wer8tq1h.js → model-resolver-wer8tq1h.js} +0 -0
  795. /package/dist/chunks/{location-services-wtztk69x.js → model-resolver-wtztk69x.js} +0 -0
  796. /package/dist/chunks/{location-services-x0ckcb58.js → model-resolver-x0ckcb58.js} +0 -0
  797. /package/dist/chunks/{location-services-x61499pn.js → model-resolver-x61499pn.js} +0 -0
  798. /package/dist/chunks/{location-services-y44na4kk.js → model-resolver-y44na4kk.js} +0 -0
  799. /package/dist/chunks/{location-services-y8cydn3q.js → model-resolver-y8cydn3q.js} +0 -0
  800. /package/dist/chunks/{location-services-y8f7s663.js → model-resolver-y8f7s663.js} +0 -0
  801. /package/dist/chunks/{location-services-ygaqb7jw.js → model-resolver-ygaqb7jw.js} +0 -0
  802. /package/dist/chunks/{location-services-ym463w8f.js → model-resolver-ym463w8f.js} +0 -0
  803. /package/dist/chunks/{location-services-z5v4ffb3.js → model-resolver-z5v4ffb3.js} +0 -0
  804. /package/dist/chunks/{location-services-z9919s4g.js → model-resolver-z9919s4g.js} +0 -0
@@ -2,28 +2,28 @@ import {
2
2
  ephemeral2,
3
3
  Service83,
4
4
  node87
5
- } from "./location-services-k5qgma61.js";
5
+ } from "./model-resolver-70jrxnh2.js";
6
6
  import {
7
- Service51,
8
- node53
9
- } from "./location-services-2nqey637.js";
7
+ Service61,
8
+ node64
9
+ } from "./model-resolver-myw6wz04.js";
10
10
  import {
11
11
  __export
12
- } from "./location-services-9rqn6x4v.js";
12
+ } from "./model-resolver-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: () => Event7,
19
+ Event: () => Event12,
20
20
  Manifest: () => Manifest2,
21
21
  RemoteConfig: () => RemoteConfig2,
22
- Service: () => Service39,
22
+ Service: () => Service60,
23
23
  WellKnown: () => exports_wellknown,
24
24
  inspect: () => inspect2,
25
- node: () => node42,
26
- resolve: () => resolve2
25
+ node: () => node63,
26
+ resolve: () => resolve4
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 Service39 extends Context.Service()("@opencode/WellKnown") {
49
+ class Service60 extends Context.Service()("@opencode/WellKnown") {
50
50
  }
51
- var Event7 = {
51
+ var Event12 = {
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 resolve2 = Effect.fn("WellKnown.resolve")(function* (input) {
59
+ var resolve4 = 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(Service39, Effect.gen(function* () {
78
+ var layer = Layer.effect(Service60, Effect.gen(function* () {
79
79
  const http = yield* HttpClient.HttpClient;
80
- const kv = yield* Service51;
80
+ const kv = yield* Service61;
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(Service39, Effect.gen(function* () {
109
109
  if (!changed)
110
110
  return false;
111
111
  yield* Ref.set(cache, next);
112
- yield* bus.publish(Event7.Updated, {});
112
+ yield* bus.publish(Event12.Updated, {});
113
113
  return true;
114
114
  }, (effect) => lock.withPermit(effect));
115
- return Service39.of({
115
+ return Service60.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(Service39, 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(Event7.Updated, {});
128
+ yield* bus.publish(Event12.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(Service39, Effect.gen(function* () {
138
138
  next.delete(origin);
139
139
  return next;
140
140
  });
141
- yield* bus.publish(Event7.Updated, {});
141
+ yield* bus.publish(Event12.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 node42 = makeGlobalNode({ service: Service39, layer, deps: [httpClient, node53, node87] });
146
+ var node63 = makeGlobalNode({ service: Service60, layer, deps: [httpClient, node64, node87] });
147
147
 
148
- export { Auth2, RemoteConfig2, Config2, Manifest2, Service39, Event7, inspect2, resolve2, node42, exports_wellknown };
148
+ export { Auth2, RemoteConfig2, Config2, Manifest2, Service60, Event12, inspect2, resolve4, node63, exports_wellknown };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./location-services-9rqn6x4v.js";
3
+ } from "./model-resolver-9rqn6x4v.js";
4
4
 
5
5
  // src/state.ts
6
6
  var exports_state = {};
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./location-services-dpkg50ah.js";
3
+ } from "./model-resolver-dpkg50ah.js";
4
4
  import {
5
- Service57,
6
- node60
7
- } from "./location-services-j34cs6sj.js";
5
+ Service45,
6
+ node47
7
+ } from "./model-resolver-taxap598.js";
8
8
  import {
9
9
  __export
10
- } from "./location-services-9rqn6x4v.js";
10
+ } from "./model-resolver-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: () => Service15,
17
- node: () => node18,
16
+ Service: () => Service34,
17
+ node: () => node37,
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 Service15 extends Context.Service()("@opencode/FileMutation") {
25
+ class Service34 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(Service15, Effect.gen(function* () {
38
- const environment = yield* Service57;
37
+ var layer = Layer.effect(Service34, Effect.gen(function* () {
38
+ const environment = yield* Service45;
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(Service15, 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 Service15.of({ withLock, write, writeTextPreservingBom });
59
+ return Service34.of({ withLock, write, writeTextPreservingBom });
60
60
  }));
61
- var node18 = makeLocationNode({ service: Service15, layer, deps: [node60] });
61
+ var node37 = makeLocationNode({ service: Service34, layer, deps: [node47] });
62
62
 
63
- export { Service15, readText2, syncTextBom2, node18, exports_file_mutation };
63
+ export { Service34, readText2, syncTextBom2, node37, exports_file_mutation };
@@ -1,10 +1,10 @@
1
1
  import {
2
- ID14,
3
- Service77,
4
- node81
5
- } from "./location-services-hybaecqw.js";
2
+ ID10,
3
+ Service71,
4
+ node75
5
+ } from "./model-resolver-q639q6k1.js";
6
6
  import {
7
- ID13,
7
+ ID9,
8
8
  isAISDK2,
9
9
  packageName2,
10
10
  loadPackage2,
@@ -14,23 +14,23 @@ import {
14
14
  timeouts2,
15
15
  mergeOverlay2,
16
16
  mergeHeaders2,
17
- Service76,
18
- node80
19
- } from "./location-services-29zgt1j1.js";
17
+ Service70,
18
+ node74
19
+ } from "./model-resolver-cms9xxzm.js";
20
20
  import {
21
- Service65,
22
- node69
23
- } from "./location-services-n674yaej.js";
21
+ Service68,
22
+ node72
23
+ } from "./model-resolver-2pnbxc62.js";
24
24
  import {
25
25
  ID8,
26
26
  VariantID2,
27
27
  Ref2,
28
- Service66,
29
- node70
30
- } from "./location-services-m5wbs23r.js";
28
+ Service69,
29
+ node73
30
+ } from "./model-resolver-qzvme19v.js";
31
31
  import {
32
32
  __export
33
- } from "./location-services-9rqn6x4v.js";
33
+ } from "./model-resolver-9rqn6x4v.js";
34
34
 
35
35
  // src/model-resolver.ts
36
36
  var exports_model_resolver = {};
@@ -39,15 +39,15 @@ __export(exports_model_resolver, {
39
39
  ModelConfigurationError: () => ModelConfigurationError2,
40
40
  ModelInitializationError: () => ModelInitializationError2,
41
41
  ModelResolver: () => exports_model_resolver,
42
- Service: () => Service64,
42
+ Service: () => Service67,
43
43
  UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
44
44
  UnsupportedCompactionError: () => UnsupportedCompactionError2,
45
45
  UnsupportedPackageError: () => UnsupportedPackageError2,
46
46
  VariantUnavailableError: () => VariantUnavailableError2,
47
47
  fromCatalogModel: () => fromCatalogModel2,
48
48
  hasPackage: () => hasPackage2,
49
- layer: () => layer22,
50
- node: () => node68,
49
+ layer: () => layer24,
50
+ node: () => node71,
51
51
  resolveModel: () => resolveModel2,
52
52
  withVariant: () => withVariant2
53
53
  });
@@ -57,7 +57,7 @@ import { Auth } from "@opencode/ai/route";
57
57
  import { Context, Effect, Layer, Schema, Struct } from "effect";
58
58
  import { Npm } from "@opencode/util/npm";
59
59
  class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.VariantUnavailableError", {
60
- providerID: ID13,
60
+ providerID: ID9,
61
61
  modelID: ID8,
62
62
  variant: VariantID2
63
63
  }) {
@@ -67,7 +67,7 @@ class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.
67
67
  }
68
68
 
69
69
  class UnsupportedPackageError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedPackageError", {
70
- providerID: ID13,
70
+ providerID: ID9,
71
71
  modelID: ID8,
72
72
  package: Schema.String
73
73
  }) {
@@ -78,7 +78,7 @@ class UnsupportedPackageError2 extends Schema.TaggedError()("SessionRunnerModel.
78
78
  var InitializationPhase2 = Schema.Literals(["load", "init", "construct"]);
79
79
 
80
80
  class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelConfigurationError", {
81
- providerID: ID13,
81
+ providerID: ID9,
82
82
  modelID: ID8,
83
83
  package: Schema.String,
84
84
  detail: Schema.String
@@ -89,7 +89,7 @@ class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.
89
89
  }
90
90
 
91
91
  class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelInitializationError", {
92
- providerID: ID13,
92
+ providerID: ID9,
93
93
  modelID: ID8,
94
94
  package: Schema.String,
95
95
  phase: InitializationPhase2,
@@ -101,7 +101,7 @@ class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel
101
101
  }
102
102
 
103
103
  class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRunnerModel.UnresolvedProviderVariablesError", {
104
- providerID: ID13,
104
+ providerID: ID9,
105
105
  modelID: ID8,
106
106
  variables: Schema.Array(Schema.String)
107
107
  }) {
@@ -111,7 +111,7 @@ class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRun
111
111
  }
112
112
 
113
113
  class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedCompactionError", {
114
- providerID: ID13,
114
+ providerID: ID9,
115
115
  modelID: ID8,
116
116
  route: Schema.String
117
117
  }) {
@@ -120,7 +120,7 @@ class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerMod
120
120
  }
121
121
  }
122
122
 
123
- class Service64 extends Context.Service()("@opencode/ModelResolver") {
123
+ class Service67 extends Context.Service()("@opencode/ModelResolver") {
124
124
  }
125
125
  var withVariant2 = (model, variantID) => {
126
126
  const id = variantID === "default" ? undefined : variantID;
@@ -264,15 +264,15 @@ var causeMessage = (cause) => {
264
264
  };
265
265
  var resolveModel2 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
266
266
  var hasPackage2 = (model) => Boolean(model.package);
267
- var layer22 = Layer.effect(Service64, Effect.gen(function* () {
268
- const providers = yield* Service76;
269
- const models = yield* Service66;
270
- const integrations = yield* Service77;
267
+ var layer24 = Layer.effect(Service67, Effect.gen(function* () {
268
+ const providers = yield* Service70;
269
+ const models = yield* Service69;
270
+ const integrations = yield* Service71;
271
271
  const npm = yield* Npm.Service;
272
- const aisdk = yield* Service65;
272
+ const aisdk = yield* Service68;
273
273
  const load = Effect.fn("ModelResolver.resolveModel")(function* (selected, variant) {
274
274
  const provider = yield* providers.get(selected.providerID);
275
- const connection = yield* integrations.connection.active(provider?.integrationID ?? ID14.make(selected.providerID));
275
+ const connection = yield* integrations.connection.active(provider?.integrationID ?? ID10.make(selected.providerID));
276
276
  const credential = connection ? yield* integrations.connection.resolve(connection) : undefined;
277
277
  const selectedVariant = yield* withVariant2(selected, variant);
278
278
  const runtimeInfo = {
@@ -299,7 +299,7 @@ var layer22 = Layer.effect(Service64, Effect.gen(function* () {
299
299
  chunkTimeout: timeout2(provider?.settings?.chunkTimeout)
300
300
  };
301
301
  });
302
- return Service64.of({
302
+ return Service67.of({
303
303
  resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
304
304
  const selected = requested ? yield* models.get(requested.providerID, requested.id) : yield* models.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(models.available(), (models) => models.find(hasPackage2))));
305
305
  if (!selected)
@@ -316,10 +316,10 @@ function usesAPIKeyAuth(packageName) {
316
316
  const name = packageName2(packageName);
317
317
  return name === "@ai-sdk/openai" || name === "@ai-sdk/anthropic" || name === "@ai-sdk/cerebras" || name === "@ai-sdk/deepinfra" || name === "@ai-sdk/openai-compatible" || name === "@ai-sdk/google" || name === "@ai-sdk/groq" || name === "@ai-sdk/mistral" || name === "@ai-sdk/togetherai" || name === "@ai-sdk/xai" || name === "@openrouter/ai-sdk-provider" || name === "@ai-sdk/azure" || name === "@opencode/ai/providers/openai" || name?.startsWith("@opencode/ai/providers/openai/") === true || name === "@opencode/ai/providers/anthropic" || name === "@opencode/ai/providers/anthropic-compatible" || name === "@opencode/ai/providers/baseten" || name === "@opencode/ai/providers/cerebras" || name === "@opencode/ai/providers/cloudflare-ai-gateway" || name === "@opencode/ai/providers/cloudflare-workers-ai" || name === "@opencode/ai/providers/deepinfra" || name === "@opencode/ai/providers/deepseek" || name === "@opencode/ai/providers/fireworks" || name === "@opencode/ai/providers/openai-compatible" || name === "@opencode/ai/providers/google" || name === "@opencode/ai/providers/groq" || name === "@opencode/ai/providers/mistral" || name === "@opencode/ai/providers/togetherai" || name === "@opencode/ai/providers/xai" || name === "@opencode/ai/providers/openrouter" || name === "@opencode/ai/providers/azure" || name?.startsWith("@opencode/ai/providers/azure/") === true;
318
318
  }
319
- var node68 = makeLocationNode({
320
- service: Service64,
321
- layer: layer22,
322
- deps: [node80, node70, node81, Npm.node, node69]
319
+ var node71 = makeLocationNode({
320
+ service: Service67,
321
+ layer: layer24,
322
+ deps: [node74, node73, node75, Npm.node, node72]
323
323
  });
324
324
 
325
- export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service64, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer22, node68, exports_model_resolver };
325
+ export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service67, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer24, node71, exports_model_resolver };
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./location-services-3fb919v3.js";
4
+ } from "./model-resolver-djk2jk4m.js";
5
5
  import {
6
6
  makeUnsafe2
7
- } from "./location-services-dpkg50ah.js";
7
+ } from "./model-resolver-dpkg50ah.js";
8
8
  import {
9
9
  Service83,
10
10
  node87
11
- } from "./location-services-k5qgma61.js";
11
+ } from "./model-resolver-70jrxnh2.js";
12
12
  import {
13
13
  SessionEvent2
14
- } from "./location-services-ec1grn59.js";
14
+ } from "./model-resolver-ec1grn59.js";
15
15
  import {
16
16
  SessionMessage2
17
- } from "./location-services-gftt206x.js";
17
+ } from "./model-resolver-gftt206x.js";
18
18
  import {
19
19
  SessionSchema2
20
- } from "./location-services-jexxy024.js";
20
+ } from "./model-resolver-5cmxdwv8.js";
21
21
  import {
22
22
  SessionMessageTable2,
23
23
  SessionInboxTable2
24
- } from "./location-services-kb9j3d72.js";
24
+ } from "./model-resolver-9e5bzkjp.js";
25
25
  import {
26
26
  __export
27
- } from "./location-services-9rqn6x4v.js";
27
+ } from "./model-resolver-9rqn6x4v.js";
28
28
 
29
29
  // src/session/inbox.ts
30
30
  var exports_inbox = {};
@@ -32,12 +32,12 @@ __export(exports_inbox, {
32
32
  Compaction: () => Compaction2,
33
33
  CompactionPayload: () => CompactionPayload2,
34
34
  Delivery: () => Delivery2,
35
- Info: () => Info18,
35
+ Info: () => Info7,
36
36
  Item: () => Item2,
37
37
  LifecycleConflict: () => LifecycleConflict2,
38
38
  Move: () => Move2,
39
39
  MovePayload: () => MovePayload2,
40
- Service: () => Service44,
40
+ Service: () => Service39,
41
41
  SessionInbox: () => exports_inbox,
42
42
  Synthetic: () => Synthetic2,
43
43
  SyntheticPayload: () => SyntheticPayload2,
@@ -45,12 +45,12 @@ __export(exports_inbox, {
45
45
  UserPayload: () => UserPayload2,
46
46
  find: () => find2,
47
47
  has: () => has2,
48
- layer: () => layer18,
48
+ layer: () => layer15,
49
49
  list: () => list3,
50
50
  make: () => make17,
51
51
  moveIDs: () => moveIDs2,
52
52
  nextPromotable: () => nextPromotable2,
53
- node: () => node46,
53
+ node: () => node41,
54
54
  projectAdmitted: () => projectAdmitted2,
55
55
  projectCancelled: () => projectCancelled2,
56
56
  projectDelivered: () => projectDelivered2,
@@ -65,7 +65,7 @@ import {
65
65
  Compaction as Compaction2,
66
66
  CompactionPayload as CompactionPayload2,
67
67
  Delivery as Delivery2,
68
- Info as Info18,
68
+ Info as Info7,
69
69
  Item as Item2,
70
70
  Move as Move2,
71
71
  MovePayload as MovePayload2,
@@ -151,7 +151,7 @@ var promotedFromMessage = Effect.fn("SessionInbox.promotedFromMessage")(function
151
151
  return yield* new LifecycleConflict2({ id });
152
152
  });
153
153
 
154
- class Service44 extends Context.Service()("@opencode/SessionInbox") {
154
+ class Service39 extends Context.Service()("@opencode/SessionInbox") {
155
155
  }
156
156
  var make17 = Effect.fn("SessionInbox.make")(function* () {
157
157
  const database = yield* Service84;
@@ -173,7 +173,7 @@ var make17 = Effect.fn("SessionInbox.make")(function* () {
173
173
  inboxID: request.id,
174
174
  sessionID: request.sessionID,
175
175
  item: request.item
176
- }).pipe(Effect.map((event) => Info18.make({
176
+ }).pipe(Effect.map((event) => Info7.make({
177
177
  id: request.id,
178
178
  sessionID: request.sessionID,
179
179
  time: { created: DateTime.makeUnsafe(event.created) },
@@ -227,8 +227,8 @@ var make17 = Effect.fn("SessionInbox.make")(function* () {
227
227
  queue
228
228
  };
229
229
  });
230
- var layer18 = Layer.effect(Service44, make17());
231
- var node46 = makeGlobalNode({ service: Service44, layer: layer18, deps: [node88, node87] });
230
+ var layer15 = Layer.effect(Service39, make17());
231
+ var node41 = makeGlobalNode({ service: Service39, layer: layer15, deps: [node88, node87] });
232
232
  var projectAdmitted2 = Effect.fn("SessionInbox.projectAdmitted")(function* (db, request) {
233
233
  const message = yield* db.select({ id: SessionMessageTable2.id }).from(SessionMessageTable2).where(eq(SessionMessageTable2.id, request.id)).get().pipe(Effect.orDie);
234
234
  if (message !== undefined)
@@ -326,4 +326,4 @@ var pendingSteers = (db, sessionID) => db.select().from(SessionInboxTable2).wher
326
326
  return rows;
327
327
  }));
328
328
 
329
- export { Compaction2, CompactionPayload2, Delivery2, Info18, Item2, Move2, MovePayload2, Synthetic2, SyntheticPayload2, User2, UserPayload2, serialized2, LifecycleConflict2, find2, Service44, make17, layer18, node46, projectAdmitted2, projectDelivered2, projectCancelled2, projectDeliveryChanged2, list3, moveIDs2, nextPromotable2, has2, promote2, exports_inbox };
329
+ export { Compaction2, CompactionPayload2, Delivery2, Info7, Item2, Move2, MovePayload2, Synthetic2, SyntheticPayload2, User2, UserPayload2, serialized2, LifecycleConflict2, find2, Service39, make17, layer15, node41, projectAdmitted2, projectDelivered2, projectCancelled2, projectDeliveryChanged2, list3, moveIDs2, nextPromotable2, has2, promote2, exports_inbox };
@@ -1,44 +1,44 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./location-services-k5qgma61.js";
4
+ } from "./model-resolver-70jrxnh2.js";
5
5
  import {
6
6
  create3
7
- } from "./location-services-rdw6cm16.js";
7
+ } from "./model-resolver-rdw6cm16.js";
8
8
  import {
9
9
  __export
10
- } from "./location-services-9rqn6x4v.js";
10
+ } from "./model-resolver-9rqn6x4v.js";
11
11
 
12
12
  // src/agent.ts
13
13
  var exports_agent4 = {};
14
14
  __export(exports_agent4, {
15
15
  Agent: () => exports_agent4,
16
16
  Color: () => Color2,
17
- Event: () => Event15,
18
- ID: () => ID12,
19
- Info: () => Info26,
17
+ Event: () => Event20,
18
+ ID: () => ID15,
19
+ Info: () => Info30,
20
20
  Name: () => Name3,
21
- Service: () => Service74,
21
+ Service: () => Service79,
22
22
  defaultID: () => defaultID2,
23
- node: () => node78
23
+ node: () => node83
24
24
  });
25
25
  import path from "path";
26
26
  import { makeLocationNode } from "@opencode/util/effect/app-node";
27
27
  import { Array, Context, Effect, Layer } from "effect";
28
28
  import { Agent } from "@opencode/schema/agent";
29
29
  import { Global } from "@opencode/util/global";
30
- import { Event as Event15 } from "@opencode/schema/agent";
30
+ import { Event as Event20 } from "@opencode/schema/agent";
31
31
  var SHELL_OUTPUT_GLOB = (data) => path.join(data, "shell", "*", "*");
32
32
  var TOOL_OUTPUT_GLOB = (data) => path.join(data, "tool-output", "*");
33
- var ID12 = Agent.ID;
33
+ var ID15 = Agent.ID;
34
34
  var Name3 = Agent.Name;
35
- var defaultID2 = ID12.make("build");
35
+ var defaultID2 = ID15.make("build");
36
36
  var Color2 = Agent.Color;
37
- var Info26 = Agent.Info;
37
+ var Info30 = Agent.Info;
38
38
 
39
- class Service74 extends Context.Service()("@opencode/Agent") {
39
+ class Service79 extends Context.Service()("@opencode/Agent") {
40
40
  }
41
- var layer = Layer.effect(Service74, Effect.gen(function* () {
41
+ var layer = Layer.effect(Service79, Effect.gen(function* () {
42
42
  const bus = yield* Service83;
43
43
  const global = yield* Global.Service;
44
44
  const permissions = [
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
57
57
  editor.default = id;
58
58
  },
59
59
  update: (id, fn) => {
60
- const defaults = Info26.default(id);
60
+ const defaults = Info30.default(id);
61
61
  const current = editor.agents.get(id) ?? {
62
62
  ...defaults,
63
63
  permissions: [...defaults.permissions, ...permissions]
@@ -79,7 +79,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
79
79
  const configured = data.default ? selectable(data.agents.get(data.default)) : undefined;
80
80
  if (configured)
81
81
  return configured;
82
- const build = selectable(data.agents.get(ID12.make("build")));
82
+ const build = selectable(data.agents.get(ID15.make("build")));
83
83
  if (build)
84
84
  return build;
85
85
  for (const agent of data.agents.values()) {
@@ -88,7 +88,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
88
88
  return fallback;
89
89
  }
90
90
  };
91
- return Service74.of({
91
+ return Service79.of({
92
92
  transform: state.transform,
93
93
  reload: state.reload,
94
94
  get: Effect.fn("Agent.get")(function* (id) {
@@ -96,12 +96,12 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
96
96
  }),
97
97
  resolve: Effect.fnUntraced(function* (id) {
98
98
  if (id !== undefined)
99
- return state.get().agents.get(ID12.make(id));
99
+ return state.get().agents.get(ID15.make(id));
100
100
  return selectedDefault();
101
101
  }),
102
102
  select: Effect.fn("Agent.select")(function* (id) {
103
103
  if (id !== undefined) {
104
- const selected = ID12.make(id);
104
+ const selected = ID15.make(id);
105
105
  return { id: selected, info: state.get().agents.get(selected) };
106
106
  }
107
107
  const info = selectedDefault();
@@ -116,6 +116,6 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
116
116
  })
117
117
  });
118
118
  }));
119
- var node78 = makeLocationNode({ service: Service74, layer, deps: [node87, Global.node] });
119
+ var node83 = makeLocationNode({ service: Service79, layer, deps: [node87, Global.node] });
120
120
 
121
- export { ID12, Name3, defaultID2, Color2, Info26, Service74, node78, exports_agent4, Event15 };
121
+ export { ID15, Name3, defaultID2, Color2, Info30, Service79, node83, exports_agent4, Event20 };
@@ -2,17 +2,17 @@ import {
2
2
  NonNegativeInt2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./location-services-z5v4ffb3.js";
5
+ } from "./model-resolver-z5v4ffb3.js";
6
6
  import {
7
- Service57,
8
- node60
9
- } from "./location-services-j34cs6sj.js";
7
+ Service45,
8
+ node47
9
+ } from "./model-resolver-taxap598.js";
10
10
  import {
11
11
  RipgrepBinary2
12
- } from "./location-services-8d7r5vzw.js";
12
+ } from "./model-resolver-8d7r5vzw.js";
13
13
  import {
14
14
  __export
15
- } from "./location-services-9rqn6x4v.js";
15
+ } from "./model-resolver-9rqn6x4v.js";
16
16
 
17
17
  // src/ripgrep.ts
18
18
  var exports_ripgrep = {};
@@ -20,8 +20,8 @@ __export(exports_ripgrep, {
20
20
  Error: () => Error3,
21
21
  InvalidPatternError: () => InvalidPatternError2,
22
22
  Ripgrep: () => exports_ripgrep,
23
- Service: () => Service56,
24
- node: () => node59
23
+ Service: () => Service44,
24
+ node: () => node46
25
25
  });
26
26
  import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
27
27
  import { ChildProcess } from "effect/unstable/process";
@@ -58,13 +58,13 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
58
58
  }) {
59
59
  }
60
60
 
61
- class Service56 extends Context.Service()("@opencode/Ripgrep") {
61
+ class Service44 extends Context.Service()("@opencode/Ripgrep") {
62
62
  }
63
63
  var failure = (message, cause) => new Error3({ message, cause });
64
64
  var normalizePath = (value) => value.replace(/^(?:\.[\\/])+/u, "").replace(/^[\\/]+/u, "").replaceAll("\\", "/");
65
65
  var isInvalidPattern = (stderr) => stderr.includes("regex parse error") || stderr.includes("error parsing regex");
66
- var layer = Layer.effect(Service56, Effect.gen(function* () {
67
- const environment = yield* Service57;
66
+ var layer = Layer.effect(Service44, Effect.gen(function* () {
67
+ const environment = yield* Service45;
68
68
  const binary = yield* RipgrepBinary2.Service;
69
69
  const run = (input) => {
70
70
  const program = Effect.scoped(Effect.gen(function* () {
@@ -92,7 +92,7 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
92
92
  const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
93
93
  return abortable.pipe(Effect.mapError((cause) => cause instanceof Error3 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
94
94
  };
95
- return Service56.of({
95
+ return Service44.of({
96
96
  glob: (input) => run({
97
97
  cwd: input.cwd,
98
98
  limit: input.limit,
@@ -175,6 +175,6 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
175
175
  }))))
176
176
  });
177
177
  }));
178
- var node59 = makeLocationNode({ service: Service56, layer, deps: [node60, RipgrepBinary2.node] });
178
+ var node46 = makeLocationNode({ service: Service44, layer, deps: [node47, RipgrepBinary2.node] });
179
179
 
180
- export { Error3, InvalidPatternError2, Service56, node59, exports_ripgrep };
180
+ export { Error3, InvalidPatternError2, Service44, node46, exports_ripgrep };