@opencode/core 0.0.0-dev-19714 → 0.0.0-dev-19716

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 (790) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +82 -82
  3. package/dist/aisdk-native.js +88 -88
  4. package/dist/aisdk.js +93 -93
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +72 -72
  7. package/dist/chunks/{model-resolver-hvxy08g5.js → location-03vb6nv0.js} +16 -16
  8. package/dist/chunks/{model-resolver-g1f3nzyq.js → location-04rxcna7.js} +12 -12
  9. package/dist/chunks/{model-resolver-37w67f0s.js → location-07agr24d.js} +4 -4
  10. package/dist/chunks/{model-resolver-pdqjgxh5.js → location-0e2d0my9.js} +41 -41
  11. package/dist/chunks/{model-resolver-avm8jn6n.js → location-0f9afca0.js} +5 -5
  12. package/dist/chunks/{model-resolver-a4y05av3.js → location-0hts9xpv.js} +34 -34
  13. package/dist/chunks/{model-resolver-0paq2nw3.js → location-0paq2nw3.js} +1 -1
  14. package/dist/chunks/{model-resolver-0q0f95c6.js → location-0q0f95c6.js} +1 -1
  15. package/dist/chunks/{model-resolver-n2sfrcvm.js → location-0v5xzxqh.js} +9 -9
  16. package/dist/chunks/{model-resolver-gw1g6bxq.js → location-10aqkgyz.js} +38 -38
  17. package/dist/chunks/{model-resolver-gnp856re.js → location-15krg189.js} +11 -11
  18. package/dist/chunks/{model-resolver-aeqcmxjy.js → location-16515e26.js} +4 -4
  19. package/dist/chunks/{model-resolver-m879hchs.js → location-16w9ders.js} +20 -20
  20. package/dist/chunks/{model-resolver-tc5jn9f0.js → location-17mnmpxr.js} +31 -31
  21. package/dist/chunks/{model-resolver-1dazxqgg.js → location-1dazxqgg.js} +2 -2
  22. package/dist/chunks/{model-resolver-wgyq80v0.js → location-1g4swf33.js} +8 -8
  23. package/dist/chunks/{model-resolver-jfqtm2ew.js → location-1g7epwpd.js} +7 -7
  24. package/dist/chunks/{model-resolver-n7ec94wg.js → location-1p5sngkf.js} +20 -20
  25. package/dist/chunks/{model-resolver-d92zep6j.js → location-1zmmndd6.js} +3 -3
  26. package/dist/chunks/{model-resolver-21r38tys.js → location-21r38tys.js} +1 -1
  27. package/dist/chunks/{model-resolver-hbecdtej.js → location-29069r0y.js} +10 -10
  28. package/dist/chunks/{model-resolver-2a5m3afh.js → location-2a5m3afh.js} +1 -1
  29. package/dist/chunks/{model-resolver-qwhb49p5.js → location-2av5k0ex.js} +13 -13
  30. package/dist/chunks/{model-resolver-xqjcyj9c.js → location-2f31fhhr.js} +3 -3
  31. package/dist/chunks/{model-resolver-0tj19dxf.js → location-2jyc838z.js} +32 -32
  32. package/dist/chunks/{model-resolver-fcrkznn8.js → location-2k8khapm.js} +5 -5
  33. package/dist/chunks/{model-resolver-mae1f2vv.js → location-2rjsj06d.js} +26 -26
  34. package/dist/chunks/{model-resolver-jvf3yq6v.js → location-2vs2nh1n.js} +4 -4
  35. package/dist/chunks/{model-resolver-c2qzrg7b.js → location-2zpv682r.js} +8 -8
  36. package/dist/chunks/{model-resolver-43yktx36.js → location-341nwn3y.js} +11 -11
  37. package/dist/chunks/{model-resolver-797kpq2p.js → location-36nh78em.js} +11 -11
  38. package/dist/chunks/{model-resolver-3fc6dm20.js → location-3fc6dm20.js} +1 -1
  39. package/dist/chunks/{model-resolver-3hepkmqq.js → location-3hepkmqq.js} +1 -1
  40. package/dist/chunks/{model-resolver-3smtnn6g.js → location-3smtnn6g.js} +1 -1
  41. package/dist/chunks/{model-resolver-3tvqynh2.js → location-3tvqynh2.js} +1 -1
  42. package/dist/chunks/{model-resolver-j7bcq5se.js → location-3tx7s8ws.js} +10 -10
  43. package/dist/chunks/{model-resolver-54pcgdgx.js → location-40h225zc.js} +4 -4
  44. package/dist/chunks/{model-resolver-w7ejeta8.js → location-446f22m8.js} +23 -23
  45. package/dist/chunks/{model-resolver-g25ey1zv.js → location-47dwvvdh.js} +4 -4
  46. package/dist/chunks/{model-resolver-3a7v3mfb.js → location-49yfp6qw.js} +3 -3
  47. package/dist/chunks/{model-resolver-9p3ceqmc.js → location-4cme8wqz.js} +9 -9
  48. package/dist/chunks/{model-resolver-19x634pp.js → location-4mxy4x30.js} +27 -27
  49. package/dist/chunks/{model-resolver-xq5wqvhk.js → location-4tcynec1.js} +11 -11
  50. package/dist/chunks/{model-resolver-rd82n06c.js → location-4y6aj75k.js} +2 -2
  51. package/dist/chunks/{model-resolver-510m7gjw.js → location-510m7gjw.js} +2 -2
  52. package/dist/chunks/{model-resolver-mfqp6xfm.js → location-56gdpj1q.js} +6 -6
  53. package/dist/chunks/{model-resolver-57ez7d0k.js → location-57ez7d0k.js} +2 -2
  54. package/dist/chunks/{model-resolver-88sz8qcd.js → location-5c0f1prt.js} +4 -4
  55. package/dist/chunks/{model-resolver-5c4hm403.js → location-5c4hm403.js} +3 -3
  56. package/dist/chunks/{model-resolver-kjexfpn9.js → location-5d3r82j4.js} +11 -11
  57. package/dist/chunks/{model-resolver-5daktx2q.js → location-5daktx2q.js} +1 -1
  58. package/dist/chunks/{model-resolver-e3qxr5gk.js → location-5qd3pb7m.js} +2 -2
  59. package/dist/chunks/{model-resolver-dsqfhhxw.js → location-5sdpey35.js} +6 -6
  60. package/dist/chunks/{model-resolver-5t3nmthw.js → location-5t3nmthw.js} +2 -2
  61. package/dist/chunks/{model-resolver-669tq793.js → location-669tq793.js} +1 -1
  62. package/dist/chunks/{model-resolver-4hcdp5hb.js → location-66hnwthb.js} +18 -18
  63. package/dist/chunks/{model-resolver-1g2j4a9r.js → location-66xnrqgf.js} +15 -15
  64. package/dist/chunks/{model-resolver-szrkjaj8.js → location-67yf8xyg.js} +13 -13
  65. package/dist/chunks/{model-resolver-bxvw9c4f.js → location-6bjvpy3z.js} +30 -30
  66. package/dist/chunks/{model-resolver-ps87kzvs.js → location-6c52q5tt.js} +16 -16
  67. package/dist/chunks/{model-resolver-y8s1zs8h.js → location-6dcjsk18.js} +13 -13
  68. package/dist/chunks/{model-resolver-5pmj86cf.js → location-6gqfwrv9.js} +23 -23
  69. package/dist/chunks/{model-resolver-2402vzrj.js → location-6h73sxmp.js} +5 -5
  70. package/dist/chunks/{model-resolver-6msgmcgs.js → location-6msgmcgs.js} +1 -1
  71. package/dist/chunks/{model-resolver-qvsy8jwx.js → location-6my6xgtn.js} +18 -18
  72. package/dist/chunks/{model-resolver-7bmhse3q.js → location-7bmhse3q.js} +1 -1
  73. package/dist/chunks/{model-resolver-y57wc7ze.js → location-7jje38px.js} +87 -87
  74. package/dist/chunks/{model-resolver-hg488ry8.js → location-7md7yvmw.js} +21 -21
  75. package/dist/chunks/{model-resolver-w7wmj8nh.js → location-7njqjn6e.js} +31 -31
  76. package/dist/chunks/{model-resolver-sa4vrjjn.js → location-7np6y5v9.js} +12 -12
  77. package/dist/chunks/{model-resolver-4e8vs6eh.js → location-7s451enq.js} +8 -8
  78. package/dist/chunks/{model-resolver-6cv92x4b.js → location-7tzqssjy.js} +8 -8
  79. package/dist/chunks/{model-resolver-n8c291r7.js → location-7w3s9kd0.js} +6 -6
  80. package/dist/chunks/{model-resolver-vzvmv61a.js → location-7w60vn1f.js} +41 -41
  81. package/dist/chunks/{model-resolver-s2b6rjy8.js → location-80rhzvyv.js} +16 -16
  82. package/dist/chunks/{model-resolver-6j6rjarh.js → location-8753ede7.js} +8 -8
  83. package/dist/chunks/{model-resolver-8d7r5vzw.js → location-8d7r5vzw.js} +1 -1
  84. package/dist/chunks/{model-resolver-w0x80a1d.js → location-8ggx16vj.js} +1 -1
  85. package/dist/chunks/{model-resolver-dvh6e8nq.js → location-8gmdrp80.js} +2 -2
  86. package/dist/chunks/{model-resolver-0gzst43f.js → location-8h1wbkf2.js} +28 -25
  87. package/dist/chunks/{model-resolver-9ae838bd.js → location-8qaxm4pj.js} +9 -9
  88. package/dist/chunks/{model-resolver-grkqts8z.js → location-8r7r9fdq.js} +14 -14
  89. package/dist/chunks/{model-resolver-6dpxe5wv.js → location-8rp7g9cy.js} +40 -40
  90. package/dist/chunks/{model-resolver-6p3xqd60.js → location-8sgh5qkz.js} +1 -1
  91. package/dist/chunks/{model-resolver-vmakrqm7.js → location-945gedbd.js} +9 -9
  92. package/dist/chunks/{model-resolver-5pf115b2.js → location-96vnqt3j.js} +7 -7
  93. package/dist/chunks/{model-resolver-jkbwdfs8.js → location-99jmq6zc.js} +24 -24
  94. package/dist/chunks/{model-resolver-1sr9wk0z.js → location-9da2ad09.js} +23 -23
  95. package/dist/chunks/{model-resolver-3te71xag.js → location-9f4em37r.js} +15 -15
  96. package/dist/chunks/{model-resolver-k60bgaqn.js → location-9fmj559e.js} +22 -22
  97. package/dist/chunks/{model-resolver-1v4fec1y.js → location-9rrewzca.js} +11 -11
  98. package/dist/chunks/{model-resolver-rcz1rf0a.js → location-9ttjsn7w.js} +11 -11
  99. package/dist/chunks/{model-resolver-kmk2vv10.js → location-9w8twnxw.js} +12 -12
  100. package/dist/chunks/{model-resolver-a3r4dcrj.js → location-a3r4dcrj.js} +2 -2
  101. package/dist/chunks/{model-resolver-12x7tyn7.js → location-a4fef9kt.js} +17 -17
  102. package/dist/chunks/{model-resolver-c20khjev.js → location-a8bn8zg0.js} +21 -21
  103. package/dist/chunks/{model-resolver-aaet6srn.js → location-aaet6srn.js} +2 -2
  104. package/dist/chunks/{model-resolver-g22wph12.js → location-acetg5m5.js} +24 -24
  105. package/dist/chunks/{model-resolver-b5hby8zf.js → location-aeghxbft.js} +9 -9
  106. package/dist/chunks/{model-resolver-mvydm7va.js → location-af5hkrde.js} +4 -4
  107. package/dist/chunks/{model-resolver-s5qg1d5b.js → location-agz7cdrt.js} +3 -3
  108. package/dist/chunks/{model-resolver-91p1v22t.js → location-ahd542yp.js} +8 -8
  109. package/dist/chunks/{model-resolver-wq0zvr2n.js → location-ak8tfqh0.js} +10 -10
  110. package/dist/chunks/{model-resolver-cbkyy13e.js → location-aqb83mxp.js} +32 -32
  111. package/dist/chunks/{model-resolver-0wmjfan7.js → location-aqjkr82e.js} +11 -11
  112. package/dist/chunks/{model-resolver-cvn0pq7m.js → location-ar8f19jx.js} +4 -4
  113. package/dist/chunks/{model-resolver-j7k61pcz.js → location-ar97txna.js} +26 -26
  114. package/dist/chunks/{model-resolver-vje7zzhn.js → location-ayc4235b.js} +6 -6
  115. package/dist/chunks/{model-resolver-b6gygkdw.js → location-b6gygkdw.js} +2 -2
  116. package/dist/chunks/{model-resolver-3k1d3fsa.js → location-bq5cns8k.js} +28 -28
  117. package/dist/chunks/{model-resolver-07770t2t.js → location-bqszwq89.js} +4 -4
  118. package/dist/chunks/{model-resolver-qgwyt9kf.js → location-c35r68nx.js} +20 -20
  119. package/dist/chunks/{model-resolver-s8skvdk2.js → location-c6mftpmm.js} +12 -12
  120. package/dist/chunks/{model-resolver-09kan382.js → location-c7cfwd58.js} +28 -28
  121. package/dist/chunks/{model-resolver-26x0xdfb.js → location-cachp1nz.js} +31 -31
  122. package/dist/chunks/{model-resolver-t4zcj5pn.js → location-ceayma22.js} +8 -8
  123. package/dist/chunks/{model-resolver-21v8w307.js → location-cg60qzy9.js} +8 -8
  124. package/dist/chunks/{model-resolver-mtc1r9z5.js → location-cj7xm2yn.js} +47 -47
  125. package/dist/chunks/{model-resolver-4tvste0q.js → location-ckzk2jkt.js} +2 -2
  126. package/dist/chunks/{model-resolver-kycpm9x6.js → location-cxrs0jvz.js} +9 -9
  127. package/dist/chunks/{model-resolver-tpw6cwsb.js → location-czfptnv9.js} +8 -8
  128. package/dist/chunks/{model-resolver-er91jp3n.js → location-d5hmfdq1.js} +10 -10
  129. package/dist/chunks/{model-resolver-7z4dgn25.js → location-dbhy9y10.js} +11 -11
  130. package/dist/chunks/{model-resolver-k2f8e2fb.js → location-dbk0wazz.js} +19 -19
  131. package/dist/chunks/{model-resolver-zq6stcrg.js → location-dh75pk8w.js} +5 -5
  132. package/dist/chunks/{model-resolver-dj2t23y0.js → location-dj2t23y0.js} +2 -2
  133. package/dist/chunks/{model-resolver-dpkg50ah.js → location-dpkg50ah.js} +1 -1
  134. package/dist/chunks/{model-resolver-4fqcgg66.js → location-e6t6afcf.js} +19 -19
  135. package/dist/chunks/{model-resolver-sej7e0cf.js → location-ec8389mk.js} +4 -4
  136. package/dist/chunks/{model-resolver-ef5x83kb.js → location-ef5x83kb.js} +1 -1
  137. package/dist/chunks/{model-resolver-etq0c3wd.js → location-etq0c3wd.js} +1 -1
  138. package/dist/chunks/{model-resolver-xsgfbn57.js → location-etrrypk7.js} +32 -32
  139. package/dist/chunks/{model-resolver-yp2x3t23.js → location-f2n192rq.js} +4 -4
  140. package/dist/chunks/{model-resolver-fab8hzt3.js → location-fab8hzt3.js} +4 -4
  141. package/dist/chunks/{model-resolver-fxkmg59r.js → location-fppj5by2.js} +22 -22
  142. package/dist/chunks/{model-resolver-fxbjtjnd.js → location-fxbjtjnd.js} +1 -1
  143. package/dist/chunks/{model-resolver-h0za90c7.js → location-g43kd5zb.js} +11 -11
  144. package/dist/chunks/{model-resolver-280hqnth.js → location-g8kqh204.js} +15 -15
  145. package/dist/chunks/{model-resolver-gd4qta3r.js → location-gd4qta3r.js} +1 -1
  146. package/dist/chunks/{model-resolver-c8eb5bxh.js → location-gfxbkdwe.js} +31 -31
  147. package/dist/chunks/{model-resolver-gv6a8nnw.js → location-gv6a8nnw.js} +2 -2
  148. package/dist/chunks/{model-resolver-ymcr6gjs.js → location-gw1r2wcq.js} +9 -9
  149. package/dist/chunks/{model-resolver-h03wrkyp.js → location-h03wrkyp.js} +2 -2
  150. package/dist/chunks/{model-resolver-h6r3nrb9.js → location-h6r3nrb9.js} +1 -1
  151. package/dist/chunks/{model-resolver-h6vf3j39.js → location-h6vf3j39.js} +1 -1
  152. package/dist/chunks/{model-resolver-hdnk95c8.js → location-hdnk95c8.js} +2 -2
  153. package/dist/chunks/{model-resolver-b662eqrs.js → location-hedyh7s6.js} +29 -29
  154. package/dist/chunks/{model-resolver-sxk5rhme.js → location-hhanhgqp.js} +47 -47
  155. package/dist/chunks/{model-resolver-6vcd148b.js → location-hjrr39kg.js} +32 -32
  156. package/dist/chunks/{model-resolver-py5agcrg.js → location-j0d9e70d.js} +12 -12
  157. package/dist/chunks/{model-resolver-qqtwvk4z.js → location-j15mfg1p.js} +6 -6
  158. package/dist/chunks/{model-resolver-j56e64zr.js → location-j56e64zr.js} +1 -1
  159. package/dist/chunks/{model-resolver-jppvw2tx.js → location-jppvw2tx.js} +2 -2
  160. package/dist/chunks/{model-resolver-7jjj6fmh.js → location-jr53dr5m.js} +24 -24
  161. package/dist/chunks/location-jt1k8a7s.js +478 -0
  162. package/dist/chunks/{model-resolver-7ewmrn6e.js → location-jtq6z7z2.js} +1 -1
  163. package/dist/chunks/{model-resolver-gzgc3wej.js → location-jz02bzhy.js} +32 -32
  164. package/dist/chunks/{model-resolver-jsvzcvkq.js → location-k05f6hb9.js} +11 -11
  165. package/dist/chunks/{model-resolver-99qst2hg.js → location-kkdjd7sx.js} +32 -32
  166. package/dist/chunks/{model-resolver-t4pxw6gg.js → location-kqgc0d2k.js} +8 -8
  167. package/dist/chunks/{model-resolver-x442ch9z.js → location-kszj9asf.js} +1 -1
  168. package/dist/chunks/{model-resolver-136t2gc4.js → location-kyxg2szg.js} +13 -13
  169. package/dist/chunks/{model-resolver-m0jqrx5p.js → location-m0jqrx5p.js} +2 -2
  170. package/dist/chunks/{model-resolver-1e3gp6z5.js → location-m14n58wx.js} +3 -3
  171. package/dist/chunks/{model-resolver-m3fdjcah.js → location-m3fdjcah.js} +1 -1
  172. package/dist/chunks/{model-resolver-m9w0rfyh.js → location-m9w0rfyh.js} +1 -1
  173. package/dist/chunks/{model-resolver-32hhr2bd.js → location-mhafq4c6.js} +22 -22
  174. package/dist/chunks/{model-resolver-61bshzb4.js → location-mp468g0n.js} +21 -21
  175. package/dist/chunks/{model-resolver-w3nq1sqw.js → location-mqw5201m.js} +9 -9
  176. package/dist/chunks/{model-resolver-h96pgs48.js → location-msvegwct.js} +8 -8
  177. package/dist/chunks/{model-resolver-73tb2d7t.js → location-mvfsc1pv.js} +3 -3
  178. package/dist/chunks/{model-resolver-77t38nde.js → location-mxwfqr9b.js} +77 -77
  179. package/dist/chunks/{model-resolver-zpb5kyv6.js → location-ndde06na.js} +13 -13
  180. package/dist/chunks/{model-resolver-e0vtkr8g.js → location-nge3vtdb.js} +6 -6
  181. package/dist/chunks/{model-resolver-exbfn0n5.js → location-nkrk1h0r.js} +10 -10
  182. package/dist/chunks/{model-resolver-re1b4xdv.js → location-nneghs7t.js} +8 -8
  183. package/dist/chunks/{model-resolver-fav965pf.js → location-nyj9qeg3.js} +6 -6
  184. package/dist/chunks/{model-resolver-k3c624dm.js → location-nzks3jc8.js} +3 -3
  185. package/dist/chunks/{model-resolver-fwmj055g.js → location-p17j87wz.js} +31 -31
  186. package/dist/chunks/location-phz3h32g.js +18 -0
  187. package/dist/chunks/{model-resolver-pjvnvgmy.js → location-pjvnvgmy.js} +1 -1
  188. package/dist/chunks/{model-resolver-pknna89w.js → location-pknna89w.js} +1 -1
  189. package/dist/chunks/{model-resolver-t96rdxhd.js → location-pktg7h7y.js} +15 -15
  190. package/dist/chunks/{model-resolver-f2bg7dfe.js → location-py190zb7.js} +11 -11
  191. package/dist/chunks/{model-resolver-kewfkj5e.js → location-py6bk7z7.js} +10 -10
  192. package/dist/chunks/{model-resolver-8mrgngee.js → location-q8ba8d8n.js} +35 -35
  193. package/dist/chunks/{model-resolver-xndsvhpx.js → location-qab2nw4t.js} +24 -24
  194. package/dist/chunks/{model-resolver-hkbhb5q6.js → location-qffcmhtj.js} +6 -6
  195. package/dist/chunks/{model-resolver-h3v21342.js → location-qfjfqh5t.js} +28 -28
  196. package/dist/chunks/{model-resolver-57b9ws8p.js → location-qqeeq2t9.js} +4 -4
  197. package/dist/chunks/{model-resolver-qsdy395h.js → location-qsdy395h.js} +1 -1
  198. package/dist/chunks/{model-resolver-djszqvmq.js → location-r2m716tb.js} +9 -9
  199. package/dist/chunks/{model-resolver-y9g5yfg0.js → location-r4m2h3v6.js} +15 -15
  200. package/dist/chunks/{model-resolver-e9bbt0wn.js → location-r92fhvpg.js} +139 -139
  201. package/dist/chunks/{model-resolver-y56ehv6b.js → location-r9w3djhf.js} +9 -9
  202. package/dist/chunks/{model-resolver-d068vn8b.js → location-r9yepgex.js} +25 -25
  203. package/dist/chunks/{model-resolver-rdw6cm16.js → location-rdw6cm16.js} +1 -1
  204. package/dist/chunks/{model-resolver-rhjbct0v.js → location-rhjbct0v.js} +1 -1
  205. package/dist/chunks/{model-resolver-qnenbneg.js → location-rmm87f9n.js} +9 -9
  206. package/dist/chunks/{model-resolver-8gnjjt4m.js → location-rn79xn25.js} +9 -9
  207. package/dist/chunks/location-rnc8y5xx.js +252 -0
  208. package/dist/chunks/{model-resolver-03j0d1mj.js → location-s245t2v6.js} +3 -3
  209. package/dist/chunks/{model-resolver-6rgj1aye.js → location-s2vmkekr.js} +3 -3
  210. package/dist/chunks/{model-resolver-d4h3qc93.js → location-sb9bn2e6.js} +11 -11
  211. package/dist/chunks/{model-resolver-q38hx1yx.js → location-sdehcrsb.js} +9 -9
  212. package/dist/chunks/{model-resolver-knddexfq.js → location-smdb1w7c.js} +10 -10
  213. package/dist/chunks/{model-resolver-h9520sm0.js → location-smdjk38f.js} +15 -15
  214. package/dist/chunks/{model-resolver-cs9gs3bj.js → location-ssvs6b7e.js} +8 -8
  215. package/dist/chunks/{model-resolver-n2q19pyc.js → location-szmqx304.js} +17 -17
  216. package/dist/chunks/{model-resolver-0cwrv3rz.js → location-t81q7vse.js} +18 -18
  217. package/dist/chunks/{model-resolver-ve4pfa0n.js → location-t9zs3egg.js} +4 -4
  218. package/dist/chunks/{model-resolver-tsmnctvy.js → location-taadejx1.js} +20 -20
  219. package/dist/chunks/{model-resolver-tazgh4e4.js → location-tazgh4e4.js} +1 -1
  220. package/dist/chunks/{model-resolver-6706eqrn.js → location-tbfk151j.js} +16 -16
  221. package/dist/chunks/{model-resolver-h90v2x9d.js → location-tbmac1c7.js} +4 -4
  222. package/dist/chunks/{model-resolver-tcezcvh9.js → location-tcezcvh9.js} +1 -1
  223. package/dist/chunks/{model-resolver-qy0qaq8h.js → location-tcjrbdf6.js} +27 -27
  224. package/dist/chunks/{model-resolver-gpanbyjj.js → location-td4xbn75.js} +3 -3
  225. package/dist/chunks/{model-resolver-tdstcens.js → location-tdstcens.js} +1 -1
  226. package/dist/chunks/{model-resolver-q5dg9qes.js → location-tgcb6fx0.js} +28 -28
  227. package/dist/chunks/{model-resolver-wf37p31v.js → location-tnrwzpwm.js} +43 -43
  228. package/dist/chunks/{model-resolver-fb1pb7ec.js → location-tnztkhzv.js} +5 -5
  229. package/dist/chunks/{model-resolver-z6f2y3jk.js → location-tq8nnr3c.js} +37 -37
  230. package/dist/chunks/{model-resolver-tvtrv512.js → location-tvtrv512.js} +1 -1
  231. package/dist/chunks/{model-resolver-z3pw5915.js → location-tz2bjj40.js} +5 -5
  232. package/dist/chunks/{model-resolver-wy2za45w.js → location-v1ddstbj.js} +7 -7
  233. package/dist/chunks/{model-resolver-akv0dm8z.js → location-v5wmmv50.js} +16 -16
  234. package/dist/chunks/{model-resolver-hja6fhvt.js → location-v787tjtf.js} +28 -28
  235. package/dist/chunks/{model-resolver-hxd5vk3m.js → location-vdjm6brp.js} +22 -22
  236. package/dist/chunks/{model-resolver-32n3v4ks.js → location-vedx8cwj.js} +9 -9
  237. package/dist/chunks/{model-resolver-veqvce7d.js → location-veqvce7d.js} +1 -1
  238. package/dist/chunks/{model-resolver-mx9vqzsb.js → location-vqfzq50h.js} +6 -6
  239. package/dist/chunks/location-vtb1hg3s.js +26 -0
  240. package/dist/chunks/{model-resolver-8m6g92fr.js → location-vv5a2hcq.js} +23 -23
  241. package/dist/chunks/{model-resolver-vzcthcp8.js → location-vzcthcp8.js} +1 -1
  242. package/dist/chunks/{model-resolver-843r718v.js → location-w3424jcz.js} +2 -2
  243. package/dist/chunks/{model-resolver-w3wsvvr9.js → location-w3wsvvr9.js} +1 -1
  244. package/dist/chunks/{model-resolver-582h4ye8.js → location-w4cxarg0.js} +23 -23
  245. package/dist/chunks/{model-resolver-2eysy4zx.js → location-w4d6fy0p.js} +39 -39
  246. package/dist/chunks/{model-resolver-h28m7sc2.js → location-w7r1czy6.js} +1 -1
  247. package/dist/chunks/{model-resolver-105491yy.js → location-w9daxb4n.js} +55 -55
  248. package/dist/chunks/{model-resolver-8mdv2t2t.js → location-wasd3021.js} +9 -9
  249. package/dist/chunks/{model-resolver-wd87259q.js → location-wd87259q.js} +1 -1
  250. package/dist/chunks/{model-resolver-qzhqhqdj.js → location-wjtkehg3.js} +90 -90
  251. package/dist/chunks/{model-resolver-jt63vget.js → location-wk6w68nx.js} +11 -11
  252. package/dist/chunks/{model-resolver-jg86prm2.js → location-wn5vrjrm.js} +1 -1
  253. package/dist/chunks/{model-resolver-h2rkx437.js → location-wxfpnx53.js} +19 -19
  254. package/dist/chunks/{model-resolver-f4t5cf30.js → location-x0qhwc4r.js} +13 -13
  255. package/dist/chunks/{model-resolver-x1ezjp6w.js → location-x1ezjp6w.js} +1 -1
  256. package/dist/chunks/{model-resolver-b4scv1je.js → location-x1frxw2k.js} +7 -7
  257. package/dist/chunks/{model-resolver-p10e02dr.js → location-x7rm4bm5.js} +34 -34
  258. package/dist/chunks/{model-resolver-a0p1bqyg.js → location-xbhkafsn.js} +10 -10
  259. package/dist/chunks/{model-resolver-p55fzyn7.js → location-xgaytrrd.js} +25 -25
  260. package/dist/chunks/{model-resolver-fhs97t90.js → location-xk747vep.js} +8 -8
  261. package/dist/chunks/{model-resolver-4sxejfta.js → location-xtc376qs.js} +5 -5
  262. package/dist/chunks/{model-resolver-y1fvbwt7.js → location-y1fvbwt7.js} +1 -1
  263. package/dist/chunks/{model-resolver-tsc91ve6.js → location-y5hz63qk.js} +14 -14
  264. package/dist/chunks/{model-resolver-9afpsfvx.js → location-y6r52svf.js} +19 -19
  265. package/dist/chunks/{model-resolver-6a86sy3s.js → location-y7mhrj1b.js} +11 -11
  266. package/dist/chunks/{model-resolver-8xd21chy.js → location-y7x142mt.js} +11 -11
  267. package/dist/chunks/{model-resolver-mj754nyr.js → location-y9q9tkrd.js} +55 -55
  268. package/dist/chunks/{model-resolver-2qq7qy34.js → location-ybhbtxjg.js} +9 -9
  269. package/dist/chunks/{model-resolver-036p5t1s.js → location-ykv3t8te.js} +4 -4
  270. package/dist/chunks/{model-resolver-g5m51wyg.js → location-yng26616.js} +7 -7
  271. package/dist/chunks/{model-resolver-yrhqyw5v.js → location-yrhqyw5v.js} +1 -1
  272. package/dist/chunks/{model-resolver-s4enseaf.js → location-yrznvahk.js} +2 -2
  273. package/dist/chunks/{model-resolver-4aa2m1a0.js → location-yrzwczvk.js} +13 -13
  274. package/dist/chunks/{model-resolver-z0bkrqjs.js → location-z0bkrqjs.js} +1 -1
  275. package/dist/chunks/{model-resolver-q3bxgjqn.js → location-z1mphqcv.js} +4 -4
  276. package/dist/chunks/{model-resolver-fq77vv66.js → location-z5tqk6g1.js} +10 -10
  277. package/dist/chunks/{model-resolver-29x78va6.js → location-z63w68vq.js} +6 -6
  278. package/dist/chunks/{model-resolver-37med0fv.js → location-z7h5xcrq.js} +3 -3
  279. package/dist/chunks/{model-resolver-q378wj2a.js → location-z82a5ak4.js} +11 -11
  280. package/dist/chunks/{model-resolver-mcjy4xdq.js → location-zbf3s7c4.js} +25 -25
  281. package/dist/chunks/{model-resolver-zeh9ct20.js → location-zeh9ct20.js} +2 -2
  282. package/dist/chunks/{model-resolver-scq4khx8.js → location-zhq6vg7a.js} +1 -1
  283. package/dist/chunks/{model-resolver-b29mbqx6.js → location-zk8c4w5t.js} +5 -5
  284. package/dist/chunks/{model-resolver-xfdrc2qg.js → location-zqx8wcya.js} +2 -2
  285. package/dist/chunks/{model-resolver-zr2ceqn5.js → location-zr2ceqn5.js} +1 -1
  286. package/dist/chunks/{model-resolver-zxq2ej10.js → location-zxq2ej10.js} +1 -1
  287. package/dist/codemode/catalog.js +1 -1
  288. package/dist/codemode/instructions.js +7 -7
  289. package/dist/codemode/tool.js +3 -3
  290. package/dist/codemode/web.js +1 -1
  291. package/dist/command.js +84 -84
  292. package/dist/config/discovery.js +81 -81
  293. package/dist/config/markdown.js +1 -1
  294. package/dist/config/normalize.js +105 -105
  295. package/dist/config/plugin/agent.js +122 -122
  296. package/dist/config/plugin/command.js +211 -211
  297. package/dist/config/plugin/compaction.js +159 -159
  298. package/dist/config/plugin/compatibility.js +140 -140
  299. package/dist/config/plugin/entry-observer.js +1 -1
  300. package/dist/config/plugin/formatter.js +123 -123
  301. package/dist/config/plugin/image.js +122 -122
  302. package/dist/config/plugin/instruction.js +89 -89
  303. package/dist/config/plugin/location-watcher.js +124 -124
  304. package/dist/config/plugin/mcp.js +129 -129
  305. package/dist/config/plugin/policy.js +122 -122
  306. package/dist/config/plugin/provider.js +122 -122
  307. package/dist/config/plugin/reference.js +124 -124
  308. package/dist/config/plugin/shell.js +122 -122
  309. package/dist/config/plugin/skill-file.js +101 -101
  310. package/dist/config/plugin/skill.js +141 -141
  311. package/dist/config/plugin/snapshot.js +122 -122
  312. package/dist/config/plugin/source.js +123 -123
  313. package/dist/config/plugin/tool-output.js +124 -124
  314. package/dist/config/plugin/websearch.js +121 -121
  315. package/dist/config/plugin/worktree.js +124 -124
  316. package/dist/config/variable.js +3 -3
  317. package/dist/config/watch.js +1 -1
  318. package/dist/config.js +127 -127
  319. package/dist/credential/sql.js +2 -2
  320. package/dist/credential.js +72 -72
  321. package/dist/database/database.js +69 -69
  322. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  323. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  324. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  325. package/dist/database/drizzle/index.js +13 -13
  326. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  327. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  328. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  329. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  330. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  331. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  335. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  336. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  337. package/dist/database/drizzle.js +14 -14
  338. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  339. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  340. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  341. package/dist/database/migration/20260225215848_workspace.js +1 -1
  342. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  343. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  344. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  345. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  346. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  347. package/dist/database/migration/20260323234822_events.js +1 -1
  348. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  349. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  350. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  351. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  352. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  353. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  354. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  355. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  356. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  357. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  358. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  359. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  360. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  361. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  362. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  363. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  364. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  365. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  366. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  367. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  368. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  369. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  370. package/dist/database/migration/20260611035744_credential.js +1 -1
  371. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  372. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  373. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  374. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  375. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  376. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  377. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  378. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  379. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  380. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  381. package/dist/database/migration/20260812213948_worktree.js +1 -1
  382. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  383. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  384. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  385. package/dist/database/migration.gen.js +48 -48
  386. package/dist/database/migration.js +50 -50
  387. package/dist/database/path.js +2 -2
  388. package/dist/database/schema.gen.js +1 -1
  389. package/dist/database/schema.sql.js +1 -1
  390. package/dist/database/sqlite.bun.js +1 -1
  391. package/dist/database/sqlite.js +1 -1
  392. package/dist/database/sqlite.node.js +1 -1
  393. package/dist/database/sqlite.workerd.js +1 -1
  394. package/dist/database/v1-migration.bun.js +78 -78
  395. package/dist/database/v1-migration.js +1 -1
  396. package/dist/effect/app-node-builder.js +366 -366
  397. package/dist/effect/app-node-platform.js +2 -2
  398. package/dist/effect/keyed-mutex.js +1 -1
  399. package/dist/effect/websocket-constructor.js +1 -1
  400. package/dist/environment/driver.js +1 -1
  401. package/dist/environment/environment.js +92 -92
  402. package/dist/environment/exec-defaults.js +2 -2
  403. package/dist/environment/files.js +1 -1
  404. package/dist/environment/index.js +94 -94
  405. package/dist/environment/local.js +2 -2
  406. package/dist/environment/memory.js +2 -2
  407. package/dist/environment/unavailable.js +1 -1
  408. package/dist/event/sql.js +1 -1
  409. package/dist/event-logger.js +73 -73
  410. package/dist/file-access.js +103 -103
  411. package/dist/file-mutation.js +93 -93
  412. package/dist/file-retention.js +1 -1
  413. package/dist/file.js +1 -1
  414. package/dist/filesystem/fff.bun.js +2 -2
  415. package/dist/filesystem/fff.js +1 -1
  416. package/dist/filesystem/fff.node.js +2 -2
  417. package/dist/filesystem/fff.workerd.js +2 -2
  418. package/dist/filesystem/ignore.js +1 -1
  419. package/dist/filesystem/location-watcher-policy.js +6 -6
  420. package/dist/filesystem/location-watcher.js +226 -226
  421. package/dist/filesystem/protected.js +1 -1
  422. package/dist/filesystem/search.js +100 -100
  423. package/dist/filesystem/watcher-binding.js +3 -3
  424. package/dist/filesystem/watcher.js +15 -15
  425. package/dist/filesystem.js +99 -99
  426. package/dist/form.js +69 -69
  427. package/dist/formatter/builtins.js +4 -4
  428. package/dist/formatter.js +86 -86
  429. package/dist/generate.js +104 -104
  430. package/dist/git.js +10 -10
  431. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  432. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  433. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  434. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  435. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  436. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  437. package/dist/github-copilot/copilot-provider.js +17 -17
  438. package/dist/github-copilot/models.js +90 -90
  439. package/dist/github-copilot/openai-compatible-error.js +1 -1
  440. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  441. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  442. package/dist/github-copilot/responses/openai-error.js +1 -1
  443. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  444. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  445. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  446. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  447. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  448. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  449. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  450. package/dist/id/id.js +1 -1
  451. package/dist/image/photon.js +2 -2
  452. package/dist/image.js +6 -6
  453. package/dist/instance/service.js +5 -5
  454. package/dist/instance.js +357 -357
  455. package/dist/instruction-discovery.js +84 -84
  456. package/dist/instructions/builtins.js +86 -86
  457. package/dist/instructions/index.js +1 -1
  458. package/dist/integration/connection.js +1 -1
  459. package/dist/integration.js +75 -75
  460. package/dist/job.js +78 -78
  461. package/dist/kv/sql.js +2 -2
  462. package/dist/kv.js +72 -72
  463. package/dist/location-activity.js +134 -134
  464. package/dist/location-lifecycle.js +105 -105
  465. package/dist/location-mutation.js +103 -103
  466. package/dist/location-service-map.js +85 -85
  467. package/dist/location-services.js +354 -354
  468. package/dist/location.js +80 -80
  469. package/dist/mcp/client.js +90 -90
  470. package/dist/mcp/index.js +107 -107
  471. package/dist/mcp/instructions.js +127 -127
  472. package/dist/mcp/oauth.js +74 -74
  473. package/dist/mcp/stdio.js +89 -89
  474. package/dist/mime.js +1 -1
  475. package/dist/modal/models.js +90 -90
  476. package/dist/model-resolver.js +97 -97
  477. package/dist/model.js +101 -101
  478. package/dist/models-dev.js +106 -106
  479. package/dist/oauth/page.js +1 -1
  480. package/dist/permission/saved.js +81 -81
  481. package/dist/permission/sql.js +5 -5
  482. package/dist/permission.js +112 -112
  483. package/dist/persistent-pty/binary.bun.js +1 -1
  484. package/dist/persistent-pty/daemon.js +1 -1
  485. package/dist/persistent-pty/index.js +87 -87
  486. package/dist/persistent-pty/pty-binding.js +1 -1
  487. package/dist/persistent-pty.js +74 -74
  488. package/dist/plugin/agent.js +101 -101
  489. package/dist/plugin/command.js +98 -98
  490. package/dist/plugin/hooks.js +5 -5
  491. package/dist/plugin/host.js +217 -217
  492. package/dist/plugin/identity.js +3 -3
  493. package/dist/plugin/instance.js +5 -5
  494. package/dist/plugin/internal.js +328 -328
  495. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  496. package/dist/plugin/models-dev.js +95 -95
  497. package/dist/plugin/module.js +7 -7
  498. package/dist/plugin/optimize.js +2 -2
  499. package/dist/plugin/plan.js +101 -101
  500. package/dist/plugin/promise.js +1 -1
  501. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  502. package/dist/plugin/provider/azure.js +121 -121
  503. package/dist/plugin/provider/cerebras.js +1 -1
  504. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  505. package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
  506. package/dist/plugin/provider/cohere.js +2 -2
  507. package/dist/plugin/provider/configured.js +118 -118
  508. package/dist/plugin/provider/digitalocean.js +92 -92
  509. package/dist/plugin/provider/dynamic.js +2 -2
  510. package/dist/plugin/provider/factory.js +1 -1
  511. package/dist/plugin/provider/gateway.js +2 -2
  512. package/dist/plugin/provider/github-copilot.js +92 -92
  513. package/dist/plugin/provider/gitlab.js +90 -90
  514. package/dist/plugin/provider/google-vertex.js +89 -89
  515. package/dist/plugin/provider/kilo.js +1 -1
  516. package/dist/plugin/provider/llmgateway.js +76 -76
  517. package/dist/plugin/provider/lmstudio.js +119 -119
  518. package/dist/plugin/provider/modal.js +91 -91
  519. package/dist/plugin/provider/nvidia.js +1 -1
  520. package/dist/plugin/provider/ollama.js +121 -121
  521. package/dist/plugin/provider/openai.js +91 -91
  522. package/dist/plugin/provider/opencode.js +92 -92
  523. package/dist/plugin/provider/openrouter.js +90 -90
  524. package/dist/plugin/provider/perplexity.js +2 -2
  525. package/dist/plugin/provider/poe.js +77 -77
  526. package/dist/plugin/provider/prompt-cache-key.js +89 -89
  527. package/dist/plugin/provider/sap-ai-core.js +90 -90
  528. package/dist/plugin/provider/sdk-factory.js +1 -1
  529. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  530. package/dist/plugin/provider/venice.js +2 -2
  531. package/dist/plugin/provider/vercel.js +89 -89
  532. package/dist/plugin/provider/vllm.js +121 -121
  533. package/dist/plugin/provider/xai.js +90 -90
  534. package/dist/plugin/provider/zenmux.js +1 -1
  535. package/dist/plugin/provider.js +158 -158
  536. package/dist/plugin/sdk.js +73 -73
  537. package/dist/plugin/service.js +3 -3
  538. package/dist/plugin/skill.js +140 -140
  539. package/dist/plugin/source-directory.js +1 -1
  540. package/dist/plugin/supervisor.js +347 -347
  541. package/dist/plugin/update.js +6 -6
  542. package/dist/plugin/vcs/git.js +85 -85
  543. package/dist/plugin/vcs/hg.js +85 -85
  544. package/dist/plugin/warming.js +120 -120
  545. package/dist/plugin/websearch/exa.js +5 -5
  546. package/dist/plugin/websearch/firecrawl.js +6 -6
  547. package/dist/plugin/websearch/index.js +9 -9
  548. package/dist/plugin/websearch/mcp.js +4 -4
  549. package/dist/plugin/websearch/parallel.js +8 -8
  550. package/dist/plugin/websearch/tavily.js +4 -4
  551. package/dist/plugin/websearch/tinyfish.js +8 -8
  552. package/dist/plugin.js +224 -224
  553. package/dist/project/schema.js +2 -2
  554. package/dist/project/sql.js +4 -4
  555. package/dist/project.js +79 -79
  556. package/dist/provider.js +88 -88
  557. package/dist/pty/protocol.js +1 -1
  558. package/dist/pty/schema.js +1 -1
  559. package/dist/pty/ticket.js +1 -1
  560. package/dist/pty.js +91 -91
  561. package/dist/reference/instructions.js +88 -88
  562. package/dist/reference.js +90 -90
  563. package/dist/repository-cache.js +80 -80
  564. package/dist/repository.js +3 -3
  565. package/dist/ripgrep/binary.js +2 -2
  566. package/dist/ripgrep.js +92 -92
  567. package/dist/rpc.js +85 -85
  568. package/dist/schema.js +1 -1
  569. package/dist/session/command.js +73 -73
  570. package/dist/session/compaction.js +133 -133
  571. package/dist/session/context.js +151 -151
  572. package/dist/session/diff.js +87 -87
  573. package/dist/session/environment.js +5 -5
  574. package/dist/session/error.js +7 -7
  575. package/dist/session/event.js +1 -1
  576. package/dist/session/execution/restart.js +223 -223
  577. package/dist/session/execution.js +125 -125
  578. package/dist/session/generate.js +152 -152
  579. package/dist/session/history.js +15 -15
  580. package/dist/session/inbox.js +85 -85
  581. package/dist/session/info.js +3 -3
  582. package/dist/session/instruction-entry.js +76 -76
  583. package/dist/session/instruction-state.js +8 -8
  584. package/dist/session/instructions.js +96 -96
  585. package/dist/session/message-updater.js +2 -2
  586. package/dist/session/message.js +1 -1
  587. package/dist/session/model-request.js +118 -118
  588. package/dist/session/model-transport.js +9 -9
  589. package/dist/session/move.js +129 -129
  590. package/dist/session/projector.js +85 -85
  591. package/dist/session/prompt.js +104 -104
  592. package/dist/session/provider-context.js +3 -3
  593. package/dist/session/revert.js +89 -89
  594. package/dist/session/run-coordinator.js +3 -3
  595. package/dist/session/runner/index.js +3 -3
  596. package/dist/session/runner/llm.js +230 -230
  597. package/dist/session/runner/max-steps.js +1 -1
  598. package/dist/session/runner/model.js +97 -97
  599. package/dist/session/runner/publish-llm-event.js +3 -3
  600. package/dist/session/runner/retry.js +113 -113
  601. package/dist/session/runner/step.js +125 -125
  602. package/dist/session/runner/to-llm-message.js +2 -2
  603. package/dist/session/schema.js +1 -1
  604. package/dist/session/session.js +171 -171
  605. package/dist/session/shell.js +137 -137
  606. package/dist/session/skill.js +102 -102
  607. package/dist/session/sql.js +5 -5
  608. package/dist/session/stats.js +74 -74
  609. package/dist/session/store.js +86 -86
  610. package/dist/session/subagent-completion.js +1 -1
  611. package/dist/session/subagent-job.js +209 -209
  612. package/dist/session/system-prompt.js +3 -3
  613. package/dist/session/title.js +155 -155
  614. package/dist/session/to-session-error.js +110 -110
  615. package/dist/session/transfer.js +217 -217
  616. package/dist/session/usage.js +1 -1
  617. package/dist/session.js +211 -211
  618. package/dist/shell/parse.js +6 -6
  619. package/dist/shell/result.js +1 -1
  620. package/dist/shell/scan.js +1 -1
  621. package/dist/shell/select.js +13 -13
  622. package/dist/shell.js +139 -139
  623. package/dist/skill/discovery.js +4 -4
  624. package/dist/skill/instructions.js +104 -104
  625. package/dist/skill.js +111 -111
  626. package/dist/snapshot.js +88 -88
  627. package/dist/state.js +1 -1
  628. package/dist/tool/html-markdown.js +1 -1
  629. package/dist/tool/http-body.js +1 -1
  630. package/dist/tool/mcp.js +124 -124
  631. package/dist/tool/plugin/edit.js +119 -119
  632. package/dist/tool/plugin/file-diff.js +1 -1
  633. package/dist/tool/plugin/glob.js +123 -123
  634. package/dist/tool/plugin/grep.js +123 -123
  635. package/dist/tool/plugin/opencode.js +3 -3
  636. package/dist/tool/plugin/patch.js +121 -121
  637. package/dist/tool/plugin/question.js +102 -102
  638. package/dist/tool/plugin/read.js +124 -124
  639. package/dist/tool/plugin/shell.js +214 -214
  640. package/dist/tool/plugin/skill.js +112 -112
  641. package/dist/tool/plugin/subagent.js +212 -212
  642. package/dist/tool/plugin/webfetch.js +109 -109
  643. package/dist/tool/plugin/websearch.js +111 -111
  644. package/dist/tool/plugin/write.js +121 -121
  645. package/dist/tool/read-filesystem.js +99 -99
  646. package/dist/tool/runtime.js +1 -1
  647. package/dist/tool-output.js +8 -8
  648. package/dist/tool.js +14 -14
  649. package/dist/util/error-summary.js +1 -1
  650. package/dist/util/error.js +1 -1
  651. package/dist/util/git-executable.js +2 -2
  652. package/dist/util/iife.js +1 -1
  653. package/dist/util/lazy.js +1 -1
  654. package/dist/util/slug.js +1 -1
  655. package/dist/util/token.js +1 -1
  656. package/dist/util/which.js +1 -1
  657. package/dist/util/wildcard.js +1 -1
  658. package/dist/v1/config/agent.js +7 -7
  659. package/dist/v1/config/attachment.js +4 -4
  660. package/dist/v1/config/command.js +5 -5
  661. package/dist/v1/config/config.js +16 -16
  662. package/dist/v1/config/error.js +4 -4
  663. package/dist/v1/config/formatter.js +5 -5
  664. package/dist/v1/config/layout.js +1 -1
  665. package/dist/v1/config/lsp.js +5 -5
  666. package/dist/v1/config/mcp.js +4 -4
  667. package/dist/v1/config/migrate.js +91 -91
  668. package/dist/v1/config/permission.js +7 -7
  669. package/dist/v1/config/plugin.js +3 -3
  670. package/dist/v1/config/provider-options.js +1 -1
  671. package/dist/v1/config/provider.js +2 -2
  672. package/dist/v1/config/server.js +2 -2
  673. package/dist/v1/config/skills.js +3 -3
  674. package/dist/v1/permission.js +1 -1
  675. package/dist/variant.js +90 -90
  676. package/dist/vcs/patch.js +1 -1
  677. package/dist/vcs.js +88 -88
  678. package/dist/websearch.js +83 -83
  679. package/dist/wellknown/plugin.js +75 -75
  680. package/dist/wellknown.js +80 -80
  681. package/dist/workspace/driver.js +3 -3
  682. package/dist/workspace/sql.js +1 -1
  683. package/dist/workspace.js +77 -77
  684. package/dist/worktree/directory.js +2 -2
  685. package/dist/worktree/git.js +10 -10
  686. package/dist/worktree/sql.js +5 -5
  687. package/dist/worktree/strategies.js +88 -88
  688. package/dist/worktree.js +95 -95
  689. package/package.json +8 -8
  690. package/dist/chunks/model-resolver-aspdhtxw.js +0 -26
  691. package/dist/chunks/model-resolver-dxj72tfx.js +0 -18
  692. package/dist/chunks/model-resolver-qsj989em.js +0 -478
  693. package/dist/chunks/model-resolver-tz5bhpr7.js +0 -252
  694. /package/dist/chunks/{model-resolver-0mesazry.js → location-0mesazry.js} +0 -0
  695. /package/dist/chunks/{model-resolver-0qkdqm5v.js → location-0qkdqm5v.js} +0 -0
  696. /package/dist/chunks/{model-resolver-0zkw76rk.js → location-0zkw76rk.js} +0 -0
  697. /package/dist/chunks/{model-resolver-17cy0kzp.js → location-17cy0kzp.js} +0 -0
  698. /package/dist/chunks/{model-resolver-1cnp2v09.js → location-1cnp2v09.js} +0 -0
  699. /package/dist/chunks/{model-resolver-1kg9ymc8.js → location-1kg9ymc8.js} +0 -0
  700. /package/dist/chunks/{model-resolver-24dcb14g.js → location-24dcb14g.js} +0 -0
  701. /package/dist/chunks/{model-resolver-2710q6r3.js → location-2710q6r3.js} +0 -0
  702. /package/dist/chunks/{model-resolver-2axfhc9x.js → location-2axfhc9x.js} +0 -0
  703. /package/dist/chunks/{model-resolver-2c3vjs8z.js → location-2c3vjs8z.js} +0 -0
  704. /package/dist/chunks/{model-resolver-359p4xyc.js → location-359p4xyc.js} +0 -0
  705. /package/dist/chunks/{model-resolver-3asan66x.js → location-3asan66x.js} +0 -0
  706. /package/dist/chunks/{model-resolver-3v8g72cx.js → location-3v8g72cx.js} +0 -0
  707. /package/dist/chunks/{model-resolver-3w5fmr99.js → location-3w5fmr99.js} +0 -0
  708. /package/dist/chunks/{model-resolver-3wcehsnq.js → location-3wcehsnq.js} +0 -0
  709. /package/dist/chunks/{model-resolver-43n2bw4t.js → location-43n2bw4t.js} +0 -0
  710. /package/dist/chunks/{model-resolver-4knz6hnm.js → location-4knz6hnm.js} +0 -0
  711. /package/dist/chunks/{model-resolver-4vcrnpx2.js → location-4vcrnpx2.js} +0 -0
  712. /package/dist/chunks/{model-resolver-4y7fprxs.js → location-4y7fprxs.js} +0 -0
  713. /package/dist/chunks/{model-resolver-53557ph1.js → location-53557ph1.js} +0 -0
  714. /package/dist/chunks/{model-resolver-550bvhaj.js → location-550bvhaj.js} +0 -0
  715. /package/dist/chunks/{model-resolver-6prwharc.js → location-6prwharc.js} +0 -0
  716. /package/dist/chunks/{model-resolver-7akdwqpd.js → location-7akdwqpd.js} +0 -0
  717. /package/dist/chunks/{model-resolver-7m9af43g.js → location-7m9af43g.js} +0 -0
  718. /package/dist/chunks/{model-resolver-822emrt2.js → location-822emrt2.js} +0 -0
  719. /package/dist/chunks/{model-resolver-88xbtdfr.js → location-88xbtdfr.js} +0 -0
  720. /package/dist/chunks/{model-resolver-8n3pysct.js → location-8n3pysct.js} +0 -0
  721. /package/dist/chunks/{model-resolver-922hggd3.js → location-922hggd3.js} +0 -0
  722. /package/dist/chunks/{model-resolver-9a4afbnw.js → location-9a4afbnw.js} +0 -0
  723. /package/dist/chunks/{model-resolver-9rqn6x4v.js → location-9rqn6x4v.js} +0 -0
  724. /package/dist/chunks/{model-resolver-a6k6eb26.js → location-a6k6eb26.js} +0 -0
  725. /package/dist/chunks/{model-resolver-af5trqkr.js → location-af5trqkr.js} +0 -0
  726. /package/dist/chunks/{model-resolver-afrmfg78.js → location-afrmfg78.js} +0 -0
  727. /package/dist/chunks/{model-resolver-aqzs7mqg.js → location-aqzs7mqg.js} +0 -0
  728. /package/dist/chunks/{model-resolver-atq7p7m5.js → location-atq7p7m5.js} +0 -0
  729. /package/dist/chunks/{model-resolver-bkyjaxrp.js → location-bkyjaxrp.js} +0 -0
  730. /package/dist/chunks/{model-resolver-bmr6ed5q.js → location-bmr6ed5q.js} +0 -0
  731. /package/dist/chunks/{model-resolver-cf4snx6d.js → location-cf4snx6d.js} +0 -0
  732. /package/dist/chunks/{model-resolver-cvy3z8tj.js → location-cvy3z8tj.js} +0 -0
  733. /package/dist/chunks/{model-resolver-d9fn303g.js → location-d9fn303g.js} +0 -0
  734. /package/dist/chunks/{model-resolver-d9jj8t3e.js → location-d9jj8t3e.js} +0 -0
  735. /package/dist/chunks/{model-resolver-dajrwvna.js → location-dajrwvna.js} +0 -0
  736. /package/dist/chunks/{model-resolver-dap0rakb.js → location-dap0rakb.js} +0 -0
  737. /package/dist/chunks/{model-resolver-df08tz66.js → location-df08tz66.js} +0 -0
  738. /package/dist/chunks/{model-resolver-dy18nga0.js → location-dy18nga0.js} +0 -0
  739. /package/dist/chunks/{model-resolver-e5kj55wp.js → location-e5kj55wp.js} +0 -0
  740. /package/dist/chunks/{model-resolver-e73j6tqm.js → location-e73j6tqm.js} +0 -0
  741. /package/dist/chunks/{model-resolver-ec1grn59.js → location-ec1grn59.js} +0 -0
  742. /package/dist/chunks/{model-resolver-eh3zwz77.js → location-eh3zwz77.js} +0 -0
  743. /package/dist/chunks/{model-resolver-emrn6kk6.js → location-emrn6kk6.js} +0 -0
  744. /package/dist/chunks/{model-resolver-f0mxakyp.js → location-f0mxakyp.js} +0 -0
  745. /package/dist/chunks/{model-resolver-f6n9ztr4.js → location-f6n9ztr4.js} +0 -0
  746. /package/dist/chunks/{model-resolver-faypxj3z.js → location-faypxj3z.js} +0 -0
  747. /package/dist/chunks/{model-resolver-fd410y7t.js → location-fd410y7t.js} +0 -0
  748. /package/dist/chunks/{model-resolver-fxgpk5d8.js → location-fxgpk5d8.js} +0 -0
  749. /package/dist/chunks/{model-resolver-g4wezp1m.js → location-g4wezp1m.js} +0 -0
  750. /package/dist/chunks/{model-resolver-g86h250q.js → location-g86h250q.js} +0 -0
  751. /package/dist/chunks/{model-resolver-gebd4c9n.js → location-gebd4c9n.js} +0 -0
  752. /package/dist/chunks/{model-resolver-gftt206x.js → location-gftt206x.js} +0 -0
  753. /package/dist/chunks/{model-resolver-hjbc5kem.js → location-hjbc5kem.js} +0 -0
  754. /package/dist/chunks/{model-resolver-hk9envan.js → location-hk9envan.js} +0 -0
  755. /package/dist/chunks/{model-resolver-j2ntwpah.js → location-j2ntwpah.js} +0 -0
  756. /package/dist/chunks/{model-resolver-j5zkgpj8.js → location-j5zkgpj8.js} +0 -0
  757. /package/dist/chunks/{model-resolver-jexxy024.js → location-jexxy024.js} +0 -0
  758. /package/dist/chunks/{model-resolver-jjkms2e6.js → location-jjkms2e6.js} +0 -0
  759. /package/dist/chunks/{model-resolver-jr7sbwjy.js → location-jr7sbwjy.js} +0 -0
  760. /package/dist/chunks/{model-resolver-jwfs4k6c.js → location-jwfs4k6c.js} +0 -0
  761. /package/dist/chunks/{model-resolver-jzg6c2d5.js → location-jzg6c2d5.js} +0 -0
  762. /package/dist/chunks/{model-resolver-mp448xyj.js → location-mp448xyj.js} +0 -0
  763. /package/dist/chunks/{model-resolver-msx8hqn2.js → location-msx8hqn2.js} +0 -0
  764. /package/dist/chunks/{model-resolver-n05xt0ee.js → location-n05xt0ee.js} +0 -0
  765. /package/dist/chunks/{model-resolver-n3j8tn72.js → location-n3j8tn72.js} +0 -0
  766. /package/dist/chunks/{model-resolver-njntx4h6.js → location-njntx4h6.js} +0 -0
  767. /package/dist/chunks/{model-resolver-q3sfg36h.js → location-q3sfg36h.js} +0 -0
  768. /package/dist/chunks/{model-resolver-q74kybfr.js → location-q74kybfr.js} +0 -0
  769. /package/dist/chunks/{model-resolver-qaymkmh1.js → location-qaymkmh1.js} +0 -0
  770. /package/dist/chunks/{model-resolver-qb87gjwd.js → location-qb87gjwd.js} +0 -0
  771. /package/dist/chunks/{model-resolver-qfa1cgps.js → location-qfa1cgps.js} +0 -0
  772. /package/dist/chunks/{model-resolver-qg3g05ea.js → location-qg3g05ea.js} +0 -0
  773. /package/dist/chunks/{model-resolver-qrg20bc0.js → location-qrg20bc0.js} +0 -0
  774. /package/dist/chunks/{model-resolver-rcb2kzg1.js → location-rcb2kzg1.js} +0 -0
  775. /package/dist/chunks/{model-resolver-sdp7kfr6.js → location-sdp7kfr6.js} +0 -0
  776. /package/dist/chunks/{model-resolver-sk3qaz4a.js → location-sk3qaz4a.js} +0 -0
  777. /package/dist/chunks/{model-resolver-ssg3fenm.js → location-ssg3fenm.js} +0 -0
  778. /package/dist/chunks/{model-resolver-twg0f83k.js → location-twg0f83k.js} +0 -0
  779. /package/dist/chunks/{model-resolver-w803qqfp.js → location-w803qqfp.js} +0 -0
  780. /package/dist/chunks/{model-resolver-wc3fc9cn.js → location-wc3fc9cn.js} +0 -0
  781. /package/dist/chunks/{model-resolver-wer8tq1h.js → location-wer8tq1h.js} +0 -0
  782. /package/dist/chunks/{model-resolver-wtztk69x.js → location-wtztk69x.js} +0 -0
  783. /package/dist/chunks/{model-resolver-x0ckcb58.js → location-x0ckcb58.js} +0 -0
  784. /package/dist/chunks/{model-resolver-x61499pn.js → location-x61499pn.js} +0 -0
  785. /package/dist/chunks/{model-resolver-y44na4kk.js → location-y44na4kk.js} +0 -0
  786. /package/dist/chunks/{model-resolver-y8cydn3q.js → location-y8cydn3q.js} +0 -0
  787. /package/dist/chunks/{model-resolver-y8f7s663.js → location-y8f7s663.js} +0 -0
  788. /package/dist/chunks/{model-resolver-ygaqb7jw.js → location-ygaqb7jw.js} +0 -0
  789. /package/dist/chunks/{model-resolver-ym463w8f.js → location-ym463w8f.js} +0 -0
  790. /package/dist/chunks/{model-resolver-z9919s4g.js → location-z9919s4g.js} +0 -0
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  Metadata2,
3
- node51
4
- } from "./model-resolver-cs9gs3bj.js";
3
+ node55
4
+ } from "./location-ssvs6b7e.js";
5
5
  import {
6
- Service82,
7
- node86
8
- } from "./model-resolver-akv0dm8z.js";
6
+ Service81,
7
+ node85
8
+ } from "./location-v5wmmv50.js";
9
9
  import {
10
- ID9,
11
- Service55,
12
- node58
13
- } from "./model-resolver-qy0qaq8h.js";
10
+ ID10,
11
+ Service65,
12
+ node68
13
+ } from "./location-tcjrbdf6.js";
14
14
  import {
15
15
  ID15,
16
16
  OAuth3
17
- } from "./model-resolver-rcz1rf0a.js";
17
+ } from "./location-9ttjsn7w.js";
18
18
  import {
19
19
  ID14,
20
20
  MethodID2,
@@ -22,110 +22,110 @@ import {
22
22
  Method2,
23
23
  Service76,
24
24
  node80
25
- } from "./model-resolver-32n3v4ks.js";
25
+ } from "./location-vedx8cwj.js";
26
26
  import {
27
27
  AbsolutePath2
28
- } from "./model-resolver-922hggd3.js";
28
+ } from "./location-922hggd3.js";
29
29
  import {
30
30
  Info32,
31
31
  Ref4,
32
32
  Service79,
33
33
  node83
34
- } from "./model-resolver-4tvste0q.js";
34
+ } from "./location-ckzk2jkt.js";
35
35
  import {
36
36
  ID13,
37
37
  Service75,
38
38
  node79
39
- } from "./model-resolver-er91jp3n.js";
39
+ } from "./location-d5hmfdq1.js";
40
40
  import {
41
- Service57,
42
- node60
43
- } from "./model-resolver-n2sfrcvm.js";
41
+ Service67,
42
+ node70
43
+ } from "./location-0v5xzxqh.js";
44
44
  import {
45
- Service46,
46
- node48
47
- } from "./model-resolver-hja6fhvt.js";
45
+ Service53,
46
+ node56
47
+ } from "./location-v787tjtf.js";
48
48
  import {
49
- Service70,
50
- node73
51
- } from "./model-resolver-4aa2m1a0.js";
49
+ Service66,
50
+ node69
51
+ } from "./location-yrzwczvk.js";
52
52
  import {
53
- Service59,
54
- node62
55
- } from "./model-resolver-b5hby8zf.js";
53
+ Service54,
54
+ node57
55
+ } from "./location-aeghxbft.js";
56
56
  import {
57
- ID12,
58
- Service74,
59
- node78
60
- } from "./model-resolver-mcjy4xdq.js";
57
+ ID7,
58
+ Service61,
59
+ node64
60
+ } from "./location-zbf3s7c4.js";
61
61
  import {
62
- ID10
63
- } from "./model-resolver-19x634pp.js";
62
+ ID12
63
+ } from "./location-4mxy4x30.js";
64
64
  import {
65
- Service36,
66
- node39
67
- } from "./model-resolver-a4y05av3.js";
65
+ Service33,
66
+ node36
67
+ } from "./location-0hts9xpv.js";
68
68
  import {
69
- Service73,
70
- node77
71
- } from "./model-resolver-4e8vs6eh.js";
69
+ Service71,
70
+ node74
71
+ } from "./location-7s451enq.js";
72
72
  import {
73
- Service52,
74
- node55
75
- } from "./model-resolver-mj754nyr.js";
73
+ Service62,
74
+ node65
75
+ } from "./location-y9q9tkrd.js";
76
76
  import {
77
- Service37,
78
- node40
79
- } from "./model-resolver-jkbwdfs8.js";
77
+ Service69,
78
+ node72
79
+ } from "./location-99jmq6zc.js";
80
80
  import {
81
- Source3,
82
- Service39,
83
- node42
84
- } from "./model-resolver-fwmj055g.js";
81
+ Source4,
82
+ Service57,
83
+ node60
84
+ } from "./location-p17j87wz.js";
85
85
  import {
86
- Info9,
87
- Service48,
88
- node50
89
- } from "./model-resolver-q5dg9qes.js";
86
+ Info6,
87
+ Service37,
88
+ node40
89
+ } from "./location-tgcb6fx0.js";
90
90
  import {
91
- Service25,
92
- node28
93
- } from "./model-resolver-qzhqhqdj.js";
91
+ Service21,
92
+ node24
93
+ } from "./location-wjtkehg3.js";
94
94
  import {
95
- Service15,
96
- node18
97
- } from "./model-resolver-c8eb5bxh.js";
95
+ Service46,
96
+ node48
97
+ } from "./location-gfxbkdwe.js";
98
98
  import {
99
- Service51,
100
- node54
101
- } from "./model-resolver-tsc91ve6.js";
99
+ Service68,
100
+ node71
101
+ } from "./location-y5hz63qk.js";
102
102
  import {
103
- Service58,
104
- node61
105
- } from "./model-resolver-qgwyt9kf.js";
103
+ Service36,
104
+ node39
105
+ } from "./location-c35r68nx.js";
106
106
  import {
107
- ID4,
108
- Service21,
109
- node24
110
- } from "./model-resolver-h3v21342.js";
107
+ ID5,
108
+ Service38,
109
+ node41
110
+ } from "./location-qfjfqh5t.js";
111
111
  import {
112
- Service23,
113
- node26
114
- } from "./model-resolver-qvsy8jwx.js";
112
+ Service50,
113
+ node52
114
+ } from "./location-6my6xgtn.js";
115
115
  import {
116
116
  StrategyID2,
117
- Info4,
117
+ Info18,
118
118
  ListEntry3,
119
- Service22,
120
- node25
121
- } from "./model-resolver-vzvmv61a.js";
119
+ Service49,
120
+ node51
121
+ } from "./location-7w60vn1f.js";
122
122
  import {
123
- Service14,
124
- node17
125
- } from "./model-resolver-p55fzyn7.js";
123
+ Service59,
124
+ node62
125
+ } from "./location-xgaytrrd.js";
126
126
  import {
127
127
  __export
128
- } from "./model-resolver-9rqn6x4v.js";
128
+ } from "./location-9rqn6x4v.js";
129
129
 
130
130
  // src/plugin/host.ts
131
131
  var exports_host = {};
@@ -143,30 +143,30 @@ var mutable = (value) => value;
143
143
  var isRpcEvent = (event) => event.type.startsWith("rpc.");
144
144
  var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test") {
145
145
  const app = yield* Metadata2;
146
- const agents = yield* Service55;
147
- const aisdk = yield* Service57;
146
+ const agents = yield* Service65;
147
+ const aisdk = yield* Service67;
148
148
  const providers = yield* Service75;
149
- const models = yield* Service74;
150
- const commands = yield* Service46;
151
- const bus = yield* Service82;
149
+ const models = yield* Service61;
150
+ const commands = yield* Service53;
151
+ const bus = yield* Service81;
152
152
  const integration = yield* Service76;
153
- const kv = yield* Service70;
154
- const mcp = yield* Service36;
153
+ const kv = yield* Service66;
154
+ const mcp = yield* Service33;
155
155
  const location = yield* Service79;
156
- const reference = yield* Service39;
157
- const rpc = yield* Service51;
158
- const skill = yield* Service48;
159
- const tools = yield* Service37;
160
- const vcs = yield* Service58;
161
- const websearch = yield* Service21;
162
- const generate = yield* Service14;
163
- const permission = yield* Service52;
164
- const hooks = yield* Service73;
165
- const sessions = yield* Service25;
166
- const persistentPty = yield* Service15;
167
- const locations = yield* Service59;
168
- const worktrees = yield* Service22;
169
- const worktreeStrategies = yield* Service23;
156
+ const reference = yield* Service57;
157
+ const rpc = yield* Service68;
158
+ const skill = yield* Service37;
159
+ const tools = yield* Service69;
160
+ const vcs = yield* Service36;
161
+ const websearch = yield* Service38;
162
+ const generate = yield* Service59;
163
+ const permission = yield* Service62;
164
+ const hooks = yield* Service71;
165
+ const sessions = yield* Service21;
166
+ const persistentPty = yield* Service46;
167
+ const locations = yield* Service54;
168
+ const worktrees = yield* Service49;
169
+ const worktreeStrategies = yield* Service50;
170
170
  const currentWorktreeStrategies = location.workspaceID ? undefined : worktreeStrategies;
171
171
  const locationInfo = () => new Info32({
172
172
  directory: location.directory,
@@ -175,15 +175,15 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
175
175
  });
176
176
  const locationRef = (input) => input?.location === undefined ? undefined : Ref4.make({
177
177
  directory: AbsolutePath2.make(input.location.directory ?? location.directory),
178
- workspaceID: input.location.workspace === undefined ? location.workspaceID : ID10.make(input.location.workspace)
178
+ workspaceID: input.location.workspace === undefined ? location.workspaceID : ID12.make(input.location.workspace)
179
179
  });
180
180
  const isCurrentLocation = (ref) => ref.directory === location.directory && ref.workspaceID === location.workspaceID;
181
181
  const response = (effect) => effect.pipe(Effect.map((data) => ({ location: locationInfo(), data })));
182
- const decodeWorktree = Schema.decodeUnknownEffect(Info4);
182
+ const decodeWorktree = Schema.decodeUnknownEffect(Info18);
183
183
  const decodeWorktrees = Schema.decodeUnknownEffect(Schema.Array(ListEntry3));
184
184
  const listAgents = Effect.fn("PluginHost.listAgents")((ref) => Effect.gen(function* () {
185
185
  const location = yield* Service79;
186
- const agents = yield* Service55;
186
+ const agents = yield* Service65;
187
187
  return {
188
188
  location: new Info32({
189
189
  directory: location.directory,
@@ -217,10 +217,10 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
217
217
  transform: (callback) => agents.transform((editor) => {
218
218
  callback({
219
219
  list: () => mutable(editor.list()),
220
- get: (id) => mutable(editor.get(ID9.make(id))),
221
- default: (id) => editor.default(id === undefined ? undefined : ID9.make(id)),
222
- update: (id, update) => editor.update(ID9.make(id), update),
223
- remove: (id) => editor.remove(ID9.make(id))
220
+ get: (id) => mutable(editor.get(ID10.make(id))),
221
+ default: (id) => editor.default(id === undefined ? undefined : ID10.make(id)),
222
+ update: (id, update) => editor.update(ID10.make(id), update),
223
+ remove: (id) => editor.remove(ID10.make(id))
224
224
  });
225
225
  })
226
226
  },
@@ -268,8 +268,8 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
268
268
  remove: (id) => editor.remove(ID13.make(id)),
269
269
  models: {
270
270
  set: (id, models) => editor.models.set(ID13.make(id), models),
271
- update: (providerID, modelID, update) => editor.models.update(ID13.make(providerID), ID12.make(modelID), update),
272
- remove: (providerID, modelID) => editor.models.remove(ID13.make(providerID), ID12.make(modelID))
271
+ update: (providerID, modelID, update) => editor.models.update(ID13.make(providerID), ID7.make(modelID), update),
272
+ remove: (providerID, modelID) => editor.models.remove(ID13.make(providerID), ID7.make(modelID))
273
273
  }
274
274
  });
275
275
  })
@@ -280,12 +280,12 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
280
280
  reload: models.reload,
281
281
  transform: (callback) => models.transform((editor) => callback({
282
282
  list: (providerID) => editor.list(providerID === undefined ? undefined : ID13.make(providerID)),
283
- get: (providerID, modelID) => editor.get(ID13.make(providerID), ID12.make(modelID)),
284
- update: (providerID, modelID, update) => editor.update(ID13.make(providerID), ID12.make(modelID), update),
285
- remove: (providerID, modelID) => editor.remove(ID13.make(providerID), ID12.make(modelID)),
283
+ get: (providerID, modelID) => editor.get(ID13.make(providerID), ID7.make(modelID)),
284
+ update: (providerID, modelID, update) => editor.update(ID13.make(providerID), ID7.make(modelID), update),
285
+ remove: (providerID, modelID) => editor.remove(ID13.make(providerID), ID7.make(modelID)),
286
286
  default: {
287
287
  get: editor.default.get,
288
- set: (providerID, modelID) => editor.default.set(ID13.make(providerID), ID12.make(modelID))
288
+ set: (providerID, modelID) => editor.default.set(ID13.make(providerID), ID7.make(modelID))
289
289
  },
290
290
  provider: {
291
291
  list: editor.provider.list,
@@ -386,7 +386,7 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
386
386
  if (ref && !isCurrentLocation(ref))
387
387
  return Effect.gen(function* () {
388
388
  const location = yield* Service79;
389
- const mcp = yield* Service36;
389
+ const mcp = yield* Service33;
390
390
  return {
391
391
  location: new Info32({
392
392
  directory: location.directory,
@@ -423,7 +423,7 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
423
423
  reload: reference.reload,
424
424
  transform: (callback) => reference.transform((editor) => {
425
425
  callback({
426
- add: (name, source) => editor.add(name, Schema.decodeUnknownSync(Source3)(source)),
426
+ add: (name, source) => editor.add(name, Schema.decodeUnknownSync(Source4)(source)),
427
427
  remove: editor.remove,
428
428
  list: editor.list,
429
429
  get: editor.get
@@ -437,7 +437,7 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
437
437
  callback({
438
438
  list: () => mutable(editor.list()),
439
439
  get: editor.get,
440
- add: (value) => editor.add(Schema.decodeUnknownSync(Info9)(value)),
440
+ add: (value) => editor.add(Schema.decodeUnknownSync(Info6)(value)),
441
441
  update: editor.update,
442
442
  remove: editor.remove
443
443
  });
@@ -467,19 +467,19 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
467
467
  providers: () => response(websearch.providers()),
468
468
  query: (input) => response(websearch.query({
469
469
  query: input.query,
470
- providerID: input.providerID === undefined ? undefined : ID4.make(input.providerID)
470
+ providerID: input.providerID === undefined ? undefined : ID5.make(input.providerID)
471
471
  })),
472
472
  reload: websearch.reload,
473
473
  transform: (callback) => websearch.transform((editor) => {
474
474
  callback({
475
475
  add: (definition) => editor.add({
476
- id: ID4.make(definition.id),
476
+ id: ID5.make(definition.id),
477
477
  name: definition.name,
478
478
  execute: definition.execute
479
479
  }),
480
480
  default: {
481
481
  get: editor.default.get,
482
- set: (selection) => editor.default.set(selection === false || selection === "random" ? selection : ID4.make(selection))
482
+ set: (selection) => editor.default.set(selection === false || selection === "random" ? selection : ID5.make(selection))
483
483
  }
484
484
  });
485
485
  })
@@ -533,31 +533,31 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
533
533
  return context;
534
534
  });
535
535
  var requirements3 = LayerNode.group([
536
- node51,
537
- node58,
538
- node60,
536
+ node55,
537
+ node68,
538
+ node70,
539
539
  node79,
540
- node78,
541
- node48,
542
- node86,
540
+ node64,
541
+ node56,
542
+ node85,
543
543
  node80,
544
- node73,
545
- node39,
544
+ node69,
545
+ node36,
546
546
  node83,
547
- node42,
548
- node54,
549
- node50,
547
+ node60,
548
+ node71,
550
549
  node40,
551
- node61,
550
+ node72,
551
+ node39,
552
+ node41,
553
+ node51,
554
+ node52,
555
+ node62,
556
+ node65,
557
+ node74,
552
558
  node24,
553
- node25,
554
- node26,
555
- node17,
556
- node55,
557
- node77,
558
- node28,
559
- node18,
560
- node62
559
+ node48,
560
+ node57
561
561
  ]);
562
562
  function storage2(kv, pluginID) {
563
563
  const namespace = `plugin:${pluginID.split("").map((value) => value.charCodeAt(0).toString(16).padStart(4, "0")).join("")}:`;
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./model-resolver-dpkg50ah.js";
3
+ } from "./location-dpkg50ah.js";
4
4
  import {
5
5
  __export
6
- } from "./model-resolver-9rqn6x4v.js";
6
+ } from "./location-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/update.ts
9
9
  var exports_update = {};
10
10
  __export(exports_update, {
11
11
  PluginUpdate: () => exports_update,
12
- Service: () => Service5,
13
- node: () => node7
12
+ Service: () => Service4,
13
+ node: () => node5
14
14
  });
15
15
  import { Clock, Context, Effect, Exit, Layer, Option, PubSub, Stream } from "effect";
16
16
  import { Npm } from "@opencode/util/npm";
17
17
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
18
18
  var interval = 24 * 60 * 60 * 1000;
19
19
 
20
- class Service5 extends Context.Service()("@opencode/PluginUpdate") {
20
+ class Service4 extends Context.Service()("@opencode/PluginUpdate") {
21
21
  }
22
- var layer = Layer.effect(Service5, Effect.gen(function* () {
22
+ var layer = Layer.effect(Service4, Effect.gen(function* () {
23
23
  const npm = yield* Npm.Service;
24
24
  const locks = makeUnsafe2();
25
25
  const status = new Map;
26
26
  const changes = yield* PubSub.unbounded();
27
- return Service5.of({
27
+ return Service4.of({
28
28
  check: (target, options) => locks.withLock(target)(Effect.gen(function* () {
29
29
  const checkedAt = yield* Clock.currentTimeMillis;
30
30
  const current = status.get(target);
@@ -49,6 +49,6 @@ var layer = Layer.effect(Service5, Effect.gen(function* () {
49
49
  changes: () => Stream.fromPubSub(changes)
50
50
  });
51
51
  }));
52
- var node7 = makeGlobalNode({ service: Service5, layer, deps: [Npm.node] });
52
+ var node5 = makeGlobalNode({ service: Service4, layer, deps: [Npm.node] });
53
53
 
54
- export { Service5, node7, exports_update };
54
+ export { Service4, node5, exports_update };
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./model-resolver-922hggd3.js";
3
+ } from "./location-922hggd3.js";
4
4
  import {
5
5
  Service79
6
- } from "./model-resolver-4tvste0q.js";
6
+ } from "./location-ckzk2jkt.js";
7
7
  import {
8
- Service24
9
- } from "./model-resolver-t96rdxhd.js";
8
+ Service17
9
+ } from "./location-pktg7h7y.js";
10
10
  import {
11
- Service11
12
- } from "./model-resolver-4fqcgg66.js";
11
+ Service10
12
+ } from "./location-e6t6afcf.js";
13
13
  import {
14
14
  NotFound2
15
- } from "./model-resolver-2a5m3afh.js";
15
+ } from "./location-2a5m3afh.js";
16
16
  import {
17
17
  MEDIA_MIMES2,
18
18
  BinaryFileError2,
@@ -23,26 +23,26 @@ import {
23
23
  FileContent2,
24
24
  TextPage2,
25
25
  ListPage2,
26
- Service12
27
- } from "./model-resolver-280hqnth.js";
26
+ Service8
27
+ } from "./location-g8kqh204.js";
28
28
  import {
29
29
  __export
30
- } from "./model-resolver-9rqn6x4v.js";
30
+ } from "./location-9rqn6x4v.js";
31
31
 
32
32
  // src/tool/plugin/read.ts
33
33
  var exports_read = {};
34
34
  __export(exports_read, {
35
- Input: () => Input11,
36
- Plugin: () => Plugin44,
35
+ Input: () => Input12,
36
+ Plugin: () => Plugin31,
37
37
  ReadTool: () => exports_read,
38
- name: () => name11,
39
- toModelContent: () => toModelContent5
38
+ name: () => name12,
39
+ toModelContent: () => toModelContent6
40
40
  });
41
41
  import { basename, dirname, join } from "path";
42
42
  import { ToolFailure } from "@opencode/ai";
43
43
  import { Effect, Schema } from "effect";
44
44
  import { FSUtil } from "@opencode/util/fs-util";
45
- var name11 = "read";
45
+ var name12 = "read";
46
46
  var FILENAME = "AGENTS.md";
47
47
  var LocationInput = Schema.Struct({
48
48
  path: Schema.String.annotate({ description: "File or directory to read" }),
@@ -53,21 +53,21 @@ var LocationInput = Schema.Struct({
53
53
  description: "The maximum number of lines or directory entries to read (defaults to 2000)"
54
54
  })
55
55
  });
56
- var Input11 = LocationInput;
56
+ var Input12 = LocationInput;
57
57
  var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
58
- var Plugin44 = {
58
+ var Plugin31 = {
59
59
  id: "opencode.tool.read",
60
60
  effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
61
- const reader = yield* Service12;
62
- const access = yield* Service24;
63
- const sessionInstructions = yield* Service11;
61
+ const reader = yield* Service8;
62
+ const access = yield* Service17;
63
+ const sessionInstructions = yield* Service10;
64
64
  const fs = yield* FSUtil.Service;
65
65
  const location = yield* Service79;
66
66
  yield* ctx.tool.transform((editor) => editor.add({
67
- name: name11,
67
+ name: name12,
68
68
  options: { codemode: false },
69
69
  description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
70
- input: Input11,
70
+ input: Input12,
71
71
  output: Output,
72
72
  execute: (input, context) => {
73
73
  return Effect.gen(function* () {
@@ -112,7 +112,7 @@ var Plugin44 = {
112
112
  return { output: result.content, path: result.path };
113
113
  }).pipe(Effect.map((result) => ({
114
114
  output: result.output,
115
- content: toModelContent5(result.path, input.offset, result.output),
115
+ content: toModelContent6(result.path, input.offset, result.output),
116
116
  metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
117
117
  })), Effect.mapError((error) => {
118
118
  if (error instanceof ToolFailure)
@@ -144,7 +144,7 @@ ${suggestions.join(`
144
144
  });
145
145
  })
146
146
  };
147
- var toModelContent5 = (path, offset, output) => {
147
+ var toModelContent6 = (path, offset, output) => {
148
148
  if (output.type === "file" && output.encoding === "base64")
149
149
  return [
150
150
  { type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
@@ -180,4 +180,4 @@ var toModelContent5 = (path, offset, output) => {
180
180
  `);
181
181
  };
182
182
 
183
- export { name11, Input11, Plugin44, toModelContent5, exports_read };
183
+ export { name12, Input12, Plugin31, toModelContent6, exports_read };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./model-resolver-9rqn6x4v.js";
3
+ } from "./location-9rqn6x4v.js";
4
4
 
5
5
  // src/state.ts
6
6
  var exports_state = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./model-resolver-9rqn6x4v.js";
3
+ } from "./location-9rqn6x4v.js";
4
4
 
5
5
  // src/instructions/index.ts
6
6
  var exports_instructions6 = {};
@@ -1,18 +1,18 @@
1
1
  import {
2
- Service45
3
- } from "./model-resolver-mx9vqzsb.js";
2
+ Service41
3
+ } from "./location-vqfzq50h.js";
4
4
  import {
5
5
  awaitActivation2
6
- } from "./model-resolver-dxj72tfx.js";
6
+ } from "./location-phz3h32g.js";
7
7
  import {
8
8
  SkillNotFoundError2
9
- } from "./model-resolver-2qq7qy34.js";
9
+ } from "./location-ybhbtxjg.js";
10
10
  import {
11
- Service48
12
- } from "./model-resolver-q5dg9qes.js";
11
+ Service37
12
+ } from "./location-tgcb6fx0.js";
13
13
  import {
14
14
  __export
15
- } from "./model-resolver-9rqn6x4v.js";
15
+ } from "./location-9rqn6x4v.js";
16
16
 
17
17
  // src/session/skill.ts
18
18
  var exports_skill4 = {};
@@ -22,8 +22,8 @@ __export(exports_skill4, {
22
22
  });
23
23
  import { Effect } from "effect";
24
24
  var get4 = Effect.fn("SessionSkill.get")(function* (input) {
25
- const instances = yield* Service45;
26
- const skills = yield* awaitActivation2.pipe(Effect.andThen(Service48), instances.provide(input.session));
25
+ const instances = yield* Service41;
26
+ const skills = yield* awaitActivation2.pipe(Effect.andThen(Service37), instances.provide(input.session));
27
27
  const skill = yield* skills.get(input.skill);
28
28
  if (!skill)
29
29
  return yield* new SkillNotFoundError2({ skill: input.skill });