@opencode/core 0.0.0-dev-19742 → 0.0.0-dev-19743

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 (792) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +80 -80
  3. package/dist/aisdk-native.js +88 -88
  4. package/dist/aisdk.js +93 -93
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +68 -68
  7. package/dist/chunks/{location-services-5tjjgn68.js → aisdk-006sasan.js} +3 -3
  8. package/dist/chunks/{location-services-zfhdmptt.js → aisdk-05h6ed1q.js} +6 -6
  9. package/dist/chunks/{location-services-5c0f1prt.js → aisdk-06dxphr1.js} +4 -4
  10. package/dist/chunks/{location-services-f4v42jqx.js → aisdk-0he4gxhe.js} +27 -27
  11. package/dist/chunks/{location-services-7n86tvyp.js → aisdk-0kg00bba.js} +9 -9
  12. package/dist/chunks/aisdk-0mesazry.js +4 -0
  13. package/dist/chunks/{location-services-0paq2nw3.js → aisdk-0paq2nw3.js} +1 -1
  14. package/dist/chunks/{location-services-3kyvxja7.js → aisdk-0pb9s1xb.js} +5 -5
  15. package/dist/chunks/{location-services-0q0f95c6.js → aisdk-0q0f95c6.js} +1 -1
  16. package/dist/chunks/{location-services-cwx4x0dd.js → aisdk-0xz4qxxd.js} +65 -65
  17. package/dist/chunks/{location-services-z2012gvx.js → aisdk-0y50sgw1.js} +37 -37
  18. package/dist/chunks/{location-services-ygk3awzv.js → aisdk-0z8h461j.js} +26 -26
  19. package/dist/chunks/{location-services-x2aynqqh.js → aisdk-11dqjexa.js} +9 -9
  20. package/dist/chunks/{location-services-ch35dqjr.js → aisdk-16xr51w1.js} +24 -24
  21. package/dist/chunks/{location-services-6vnzct9r.js → aisdk-1780my4h.js} +157 -157
  22. package/dist/chunks/{location-services-x4nj4b9x.js → aisdk-17h4crvz.js} +15 -15
  23. package/dist/chunks/{location-services-mvfsc1pv.js → aisdk-1bbkgx8g.js} +3 -3
  24. package/dist/chunks/{location-services-1dazxqgg.js → aisdk-1dazxqgg.js} +2 -2
  25. package/dist/chunks/{location-services-7hawy35n.js → aisdk-1e8n84a9.js} +13 -13
  26. package/dist/chunks/{location-services-pajqd7p6.js → aisdk-1ee9xjts.js} +24 -24
  27. package/dist/chunks/{location-services-g1ep8q13.js → aisdk-1fnxvgxr.js} +15 -15
  28. package/dist/chunks/{location-services-34rkz0x9.js → aisdk-1g7epwpd.js} +4 -4
  29. package/dist/chunks/{location-services-d2xc2jwh.js → aisdk-1gk0kxhs.js} +47 -47
  30. package/dist/chunks/{location-services-qr6drbwe.js → aisdk-1jmksr7g.js} +32 -32
  31. package/dist/chunks/{location-services-wm2hqhc4.js → aisdk-1xwb3a65.js} +9 -9
  32. package/dist/chunks/{location-services-6dvc98m6.js → aisdk-1y56khtd.js} +1 -1
  33. package/dist/chunks/{location-services-mfqp6xfm.js → aisdk-1ygqh575.js} +6 -6
  34. package/dist/chunks/{location-services-21r38tys.js → aisdk-21r38tys.js} +1 -1
  35. package/dist/chunks/{location-services-cvet6nsk.js → aisdk-2401b0fc.js} +6 -6
  36. package/dist/chunks/{location-services-2402vzrj.js → aisdk-2402vzrj.js} +1 -1
  37. package/dist/chunks/{location-services-rhafb4aa.js → aisdk-24dd53tp.js} +9 -9
  38. package/dist/chunks/{location-services-pf6cgfs2.js → aisdk-28ngf8yp.js} +36 -36
  39. package/dist/chunks/{location-services-2a5m3afh.js → aisdk-2a5m3afh.js} +1 -1
  40. package/dist/chunks/{location-services-7p3xftwe.js → aisdk-2ehxpneg.js} +12 -12
  41. package/dist/chunks/{location-services-qs2g0y6d.js → aisdk-2gs12enf.js} +11 -11
  42. package/dist/chunks/{location-services-qgn6gcr1.js → aisdk-2k8khapm.js} +5 -5
  43. package/dist/chunks/{location-services-7t8e8ps1.js → aisdk-2t9fkgxh.js} +11 -11
  44. package/dist/chunks/{location-services-pqwh9zsn.js → aisdk-2xn2vpwj.js} +18 -18
  45. package/dist/chunks/{location-services-09gbft45.js → aisdk-33xsejrf.js} +4 -4
  46. package/dist/chunks/{location-services-cys4dgee.js → aisdk-39mz3sjb.js} +32 -32
  47. package/dist/chunks/{location-services-3fc6dm20.js → aisdk-3fc6dm20.js} +1 -1
  48. package/dist/chunks/{location-services-3hepkmqq.js → aisdk-3hepkmqq.js} +1 -1
  49. package/dist/chunks/{location-services-1e1y4qmt.js → aisdk-3q4efp1a.js} +14 -14
  50. package/dist/chunks/{location-services-3smtnn6g.js → aisdk-3smtnn6g.js} +1 -1
  51. package/dist/chunks/{location-services-3tvqynh2.js → aisdk-3tvqynh2.js} +1 -1
  52. package/dist/chunks/{location-services-fkjmw100.js → aisdk-44ke2mar.js} +6 -6
  53. package/dist/chunks/{location-services-rbfpryyb.js → aisdk-4ag8df43.js} +6 -6
  54. package/dist/chunks/{location-services-v8v96swe.js → aisdk-4cd5pmbq.js} +13 -13
  55. package/dist/chunks/{location-services-h6r3nrb9.js → aisdk-4dgbcxzg.js} +4 -4
  56. package/dist/chunks/{location-services-gtenmb26.js → aisdk-4f0cc54b.js} +22 -22
  57. package/dist/chunks/{location-services-7gc9k1mh.js → aisdk-4jm4hxny.js} +12 -12
  58. package/dist/chunks/{location-services-07z7m3r0.js → aisdk-4p8rm3hf.js} +3 -3
  59. package/dist/chunks/{location-services-kazmqbag.js → aisdk-4spq00r0.js} +25 -25
  60. package/dist/chunks/{location-services-7jgg7q0m.js → aisdk-4wk90cvq.js} +8 -8
  61. package/dist/chunks/{location-services-37mxhb92.js → aisdk-4zznhz4t.js} +22 -22
  62. package/dist/chunks/{location-services-2rh66w0b.js → aisdk-561btxre.js} +20 -20
  63. package/dist/chunks/{location-services-j9v00nmq.js → aisdk-569x6e4f.js} +33 -33
  64. package/dist/chunks/aisdk-59ejvp71.js +252 -0
  65. package/dist/chunks/{location-services-5daktx2q.js → aisdk-5daktx2q.js} +1 -1
  66. package/dist/chunks/{location-services-sr3a5bp1.js → aisdk-5mxfeeh1.js} +13 -13
  67. package/dist/chunks/{location-services-5t3nmthw.js → aisdk-5t3nmthw.js} +2 -2
  68. package/dist/chunks/{location-services-acsb2ab5.js → aisdk-5tpnda8e.js} +16 -16
  69. package/dist/chunks/{location-services-e0x352hd.js → aisdk-62z5zcwv.js} +32 -32
  70. package/dist/chunks/{location-services-669tq793.js → aisdk-669tq793.js} +1 -1
  71. package/dist/chunks/{location-services-nx1mz71v.js → aisdk-6fey8c0p.js} +41 -41
  72. package/dist/chunks/{location-services-s338r0jz.js → aisdk-6h9dznn3.js} +7 -7
  73. package/dist/chunks/{location-services-6msgmcgs.js → aisdk-6msgmcgs.js} +1 -1
  74. package/dist/chunks/{location-services-yh9mwy9w.js → aisdk-6skqymyq.js} +27 -27
  75. package/dist/chunks/{location-services-hfdr1yjj.js → aisdk-6tt5evqq.js} +4 -4
  76. package/dist/chunks/{location-services-w8xr7nv8.js → aisdk-6vq97qmv.js} +5 -5
  77. package/dist/chunks/{location-services-c4vtem9y.js → aisdk-71fkwm4x.js} +18 -18
  78. package/dist/chunks/{location-services-k77hftfd.js → aisdk-72p6bnp4.js} +24 -24
  79. package/dist/chunks/{location-services-hs11hgz1.js → aisdk-7534kgpw.js} +43 -43
  80. package/dist/chunks/{location-services-3q180tsg.js → aisdk-7atgh4d8.js} +22 -22
  81. package/dist/chunks/{location-services-7bmhse3q.js → aisdk-7bmhse3q.js} +1 -1
  82. package/dist/chunks/{location-services-jwm07f16.js → aisdk-7fyhb82m.js} +5 -5
  83. package/dist/chunks/{location-services-20t16kv5.js → aisdk-7kwn4p60.js} +46 -46
  84. package/dist/chunks/{location-services-zf3513pr.js → aisdk-7pt56w61.js} +15 -15
  85. package/dist/chunks/{location-services-fhtz75pq.js → aisdk-7qc9w1c0.js} +34 -34
  86. package/dist/chunks/{location-services-6xcmfak7.js → aisdk-7xe0qrds.js} +15 -15
  87. package/dist/chunks/{location-services-959x3j7n.js → aisdk-88geax4g.js} +9 -9
  88. package/dist/chunks/{location-services-8d7r5vzw.js → aisdk-8d7r5vzw.js} +1 -1
  89. package/dist/chunks/{location-services-j5tpcpx5.js → aisdk-8ecsra3h.js} +5 -5
  90. package/dist/chunks/{location-services-xe99ny0v.js → aisdk-8mj7tn8y.js} +15 -15
  91. package/dist/chunks/{location-services-8p4f9s12.js → aisdk-8p4f9s12.js} +2 -2
  92. package/dist/chunks/{location-services-eq4zd08d.js → aisdk-8v79jha7.js} +20 -20
  93. package/dist/chunks/{location-services-rvz4r40v.js → aisdk-8wb5afcq.js} +10 -10
  94. package/dist/chunks/{location-services-rfe8f7qr.js → aisdk-90er3e6e.js} +37 -37
  95. package/dist/chunks/{location-services-pt81pzmj.js → aisdk-91f5q3nk.js} +24 -24
  96. package/dist/chunks/{location-services-8078vm6x.js → aisdk-932pzk7w.js} +1 -1
  97. package/dist/chunks/{location-services-dahfv0b8.js → aisdk-98bqs6v1.js} +21 -21
  98. package/dist/chunks/{location-services-ydta7ff5.js → aisdk-9b2v8ddb.js} +28 -28
  99. package/dist/chunks/{location-services-g0e3ejhr.js → aisdk-9b3szmgb.js} +18 -18
  100. package/dist/chunks/{location-services-p37cw4rj.js → aisdk-9hn6k4tm.js} +8 -8
  101. package/dist/chunks/{location-services-bsgcsy6n.js → aisdk-9vjsf365.js} +9 -9
  102. package/dist/chunks/{location-services-a1bz86dw.js → aisdk-a1bz86dw.js} +3 -3
  103. package/dist/chunks/{location-services-aaet6srn.js → aisdk-aaet6srn.js} +2 -2
  104. package/dist/chunks/{location-services-6anwy9fs.js → aisdk-ab9238g2.js} +6 -6
  105. package/dist/chunks/{location-services-yskaqpbc.js → aisdk-ac1jafr8.js} +25 -25
  106. package/dist/chunks/{location-services-sa2qr51e.js → aisdk-akpx6pzc.js} +8 -8
  107. package/dist/chunks/{location-services-a58nmf2f.js → aisdk-appk7fzw.js} +11 -11
  108. package/dist/chunks/{location-services-qjxfe6zh.js → aisdk-assbnj7g.js} +6 -6
  109. package/dist/chunks/{location-services-1rpsx04s.js → aisdk-ay48axk9.js} +32 -32
  110. package/dist/chunks/{location-services-8habrbe1.js → aisdk-b4p40z3j.js} +28 -28
  111. package/dist/chunks/{location-services-b6gygkdw.js → aisdk-b6gygkdw.js} +2 -2
  112. package/dist/chunks/{location-services-gbay818y.js → aisdk-bchsbmg9.js} +6 -6
  113. package/dist/chunks/{location-services-xa8mwyge.js → aisdk-bfw5e3j5.js} +2 -2
  114. package/dist/chunks/{location-services-7fm0yp7k.js → aisdk-bh3xzmfh.js} +32 -32
  115. package/dist/chunks/{location-services-zhq6vg7a.js → aisdk-bz85s9hh.js} +1 -1
  116. package/dist/chunks/{location-services-m4jqfbnh.js → aisdk-c3ts0g06.js} +20 -20
  117. package/dist/chunks/{location-services-ja6ed9xr.js → aisdk-cave902z.js} +21 -21
  118. package/dist/chunks/{location-services-6we4q7zk.js → aisdk-cd1v3yav.js} +4 -4
  119. package/dist/chunks/{location-services-cfpkc3c9.js → aisdk-cfpkc3c9.js} +2 -2
  120. package/dist/chunks/aisdk-cmv7hf2c.js +65 -0
  121. package/dist/chunks/{location-services-3tzfttan.js → aisdk-cn4vms6y.js} +37 -37
  122. package/dist/chunks/{location-services-aamtrqep.js → aisdk-cntxze1n.js} +7 -7
  123. package/dist/chunks/{location-services-6vk32evd.js → aisdk-cvr7hmec.js} +19 -19
  124. package/dist/chunks/{location-services-1jryqany.js → aisdk-cy1rc5fj.js} +20 -20
  125. package/dist/chunks/{location-services-w1xzzgns.js → aisdk-d7x3031z.js} +11 -11
  126. package/dist/chunks/{location-services-hrkwn6h0.js → aisdk-dh3m1xt2.js} +10 -10
  127. package/dist/chunks/{location-services-y71avatq.js → aisdk-dpkg50ah.js} +4 -4
  128. package/dist/chunks/{location-services-xq5zbssz.js → aisdk-dwnm4n7z.js} +88 -88
  129. package/dist/chunks/{location-services-2ykh22ph.js → aisdk-e6n9wc5j.js} +13 -13
  130. package/dist/chunks/{location-services-s0hza5ac.js → aisdk-ec87kc5z.js} +4 -4
  131. package/dist/chunks/{location-services-ef5x83kb.js → aisdk-ef5x83kb.js} +1 -1
  132. package/dist/chunks/{location-services-5ajfnc04.js → aisdk-ep1wqbx0.js} +22 -22
  133. package/dist/chunks/{location-services-6semq976.js → aisdk-epdr6g6w.js} +14 -14
  134. package/dist/chunks/{location-services-etq0c3wd.js → aisdk-etq0c3wd.js} +1 -1
  135. package/dist/chunks/{location-services-tz2bjj40.js → aisdk-evbgk2k8.js} +5 -5
  136. package/dist/chunks/{location-services-kzh82faq.js → aisdk-ezb9z1pv.js} +30 -30
  137. package/dist/chunks/{location-services-gpf1akt4.js → aisdk-f1mg6cbx.js} +8 -8
  138. package/dist/chunks/{location-services-zee1rnkq.js → aisdk-f73rjn58.js} +4 -4
  139. package/dist/chunks/{location-services-dz3n6ket.js → aisdk-f7qdh6j2.js} +35 -35
  140. package/dist/chunks/{location-services-f828m53h.js → aisdk-f828m53h.js} +2 -2
  141. package/dist/chunks/{location-services-drfpxjgx.js → aisdk-fa7xg5a5.js} +13 -13
  142. package/dist/chunks/{location-services-j85ebrbn.js → aisdk-fsegns3d.js} +55 -55
  143. package/dist/chunks/{location-services-ced3yeaf.js → aisdk-ft62j1mr.js} +11 -11
  144. package/dist/chunks/{location-services-j41a475f.js → aisdk-fv5cfh7k.js} +11 -11
  145. package/dist/chunks/{location-services-fxbjtjnd.js → aisdk-fxbjtjnd.js} +1 -1
  146. package/dist/chunks/{location-services-pnaxc6j9.js → aisdk-g1sxm558.js} +8 -8
  147. package/dist/chunks/{location-services-zs51yffv.js → aisdk-g5vndnxm.js} +3 -3
  148. package/dist/chunks/{location-services-hy61wner.js → aisdk-gb0hjbwp.js} +11 -11
  149. package/dist/chunks/{location-services-87x3xb46.js → aisdk-gcs9tca4.js} +5 -5
  150. package/dist/chunks/{location-services-gd4qta3r.js → aisdk-gd4qta3r.js} +1 -1
  151. package/dist/chunks/{location-services-r2m716tb.js → aisdk-gjwgx2c5.js} +9 -9
  152. package/dist/chunks/{location-services-8v3c42p4.js → aisdk-gp0dzfj9.js} +7 -7
  153. package/dist/chunks/{location-services-3f7778ma.js → aisdk-gsk1e5b7.js} +25 -25
  154. package/dist/chunks/{location-services-88pk7gn3.js → aisdk-gv63wtv4.js} +11 -11
  155. package/dist/chunks/{location-services-gv6a8nnw.js → aisdk-gv6a8nnw.js} +2 -2
  156. package/dist/chunks/{location-services-5ag325a7.js → aisdk-gxpaa7h4.js} +20 -20
  157. package/dist/chunks/{location-services-wcrvbbfg.js → aisdk-gy551h6f.js} +11 -11
  158. package/dist/chunks/{location-services-h03wrkyp.js → aisdk-h03wrkyp.js} +2 -2
  159. package/dist/chunks/{location-services-h6vf3j39.js → aisdk-h6vf3j39.js} +1 -1
  160. package/dist/chunks/{location-services-16nqpafv.js → aisdk-hdtnfasj.js} +20 -20
  161. package/dist/chunks/{location-services-hafv7pha.js → aisdk-hf0zbf8h.js} +10 -10
  162. package/dist/chunks/{location-services-repb58am.js → aisdk-htjw9qza.js} +4 -4
  163. package/dist/chunks/{location-services-ftafywpx.js → aisdk-hzzkw0mw.js} +13 -13
  164. package/dist/chunks/{location-services-kzrz6mk7.js → aisdk-j1qnbarn.js} +11 -11
  165. package/dist/chunks/{location-services-j56e64zr.js → aisdk-j56e64zr.js} +1 -1
  166. package/dist/chunks/{location-services-tksejaeh.js → aisdk-j75tdgem.js} +3 -3
  167. package/dist/chunks/{location-services-36gktzve.js → aisdk-j92qhbm3.js} +2 -2
  168. package/dist/chunks/{location-services-k3gnzxs0.js → aisdk-jppvw2tx.js} +5 -5
  169. package/dist/chunks/{location-services-magykp64.js → aisdk-jw80jp6b.js} +4 -4
  170. package/dist/chunks/{location-services-1qdj8r61.js → aisdk-k06phyrf.js} +4 -4
  171. package/dist/chunks/{location-services-k3c624dm.js → aisdk-k3c624dm.js} +3 -3
  172. package/dist/chunks/{location-services-hxx1ax7w.js → aisdk-k3tjvz7j.js} +49 -49
  173. package/dist/chunks/{location-services-9jjhp2ka.js → aisdk-kaqkvdz7.js} +20 -20
  174. package/dist/chunks/{location-services-kr67dsen.js → aisdk-kgbp45q5.js} +9 -9
  175. package/dist/chunks/{location-services-69j91c1q.js → aisdk-kh9sx4kg.js} +8 -8
  176. package/dist/chunks/{location-services-nng2ktcm.js → aisdk-ky3seynh.js} +2 -2
  177. package/dist/chunks/{location-services-m3fdjcah.js → aisdk-m3fdjcah.js} +1 -1
  178. package/dist/chunks/{location-services-qvn2gqcg.js → aisdk-m86w560s.js} +33 -33
  179. package/dist/chunks/{location-services-amax4ght.js → aisdk-m9nx8vh3.js} +11 -11
  180. package/dist/chunks/{location-services-m9w0rfyh.js → aisdk-m9w0rfyh.js} +1 -1
  181. package/dist/chunks/{location-services-98p7gzxk.js → aisdk-mbw66wwe.js} +6 -6
  182. package/dist/chunks/{location-services-t5ey53gg.js → aisdk-mdczzxs1.js} +18 -18
  183. package/dist/chunks/{location-services-vs02wkx2.js → aisdk-mfasrae1.js} +1 -1
  184. package/dist/chunks/{location-services-2a535hsk.js → aisdk-mft52ta0.js} +30 -30
  185. package/dist/chunks/aisdk-mg71nkrs.js +26 -0
  186. package/dist/chunks/{location-services-34hvhtp7.js → aisdk-mp8evstp.js} +14 -14
  187. package/dist/chunks/aisdk-mw3w0x0k.js +478 -0
  188. package/dist/chunks/{location-services-k9avtbwf.js → aisdk-mwz6j41z.js} +6 -6
  189. package/dist/chunks/{location-services-s9gcex8s.js → aisdk-mzdc1wr1.js} +9 -9
  190. package/dist/chunks/{location-services-h0s6deas.js → aisdk-n2q4qe72.js} +39 -39
  191. package/dist/chunks/{location-services-9txp4hbw.js → aisdk-n37fzfbd.js} +8 -8
  192. package/dist/chunks/aisdk-n95b3jav.js +18 -0
  193. package/dist/chunks/{location-services-dmg16yjh.js → aisdk-na0fnjnh.js} +6 -6
  194. package/dist/chunks/{location-services-tpsrfwtg.js → aisdk-narpgyzg.js} +17 -17
  195. package/dist/chunks/{location-services-ax228mh5.js → aisdk-nkgkam60.js} +24 -24
  196. package/dist/chunks/{location-services-3axme2ba.js → aisdk-np6my297.js} +12 -12
  197. package/dist/chunks/{location-services-mvex88qa.js → aisdk-npytfamt.js} +11 -11
  198. package/dist/chunks/{location-services-aygy83kf.js → aisdk-nv2dp8ps.js} +4 -4
  199. package/dist/chunks/{location-services-7crnfscb.js → aisdk-nvbzy6sc.js} +17 -17
  200. package/dist/chunks/{location-services-ddc1b1w5.js → aisdk-p0a6103n.js} +24 -24
  201. package/dist/chunks/{location-services-cj45y46z.js → aisdk-p1cp9498.js} +38 -38
  202. package/dist/chunks/{location-services-9twmqstx.js → aisdk-p69x3qq6.js} +9 -9
  203. package/dist/chunks/{location-services-pjvnvgmy.js → aisdk-pjvnvgmy.js} +1 -1
  204. package/dist/chunks/{location-services-pknna89w.js → aisdk-pknna89w.js} +1 -1
  205. package/dist/chunks/{location-services-b1vd0026.js → aisdk-pt74dzj7.js} +20 -20
  206. package/dist/chunks/{location-services-sa45wwhj.js → aisdk-pva9fj43.js} +15 -15
  207. package/dist/chunks/{location-services-132n0e07.js → aisdk-q084w11f.js} +90 -90
  208. package/dist/chunks/{location-services-439dx3w9.js → aisdk-q5rhn9x0.js} +9 -9
  209. package/dist/chunks/{location-services-5znk54qx.js → aisdk-q6tyma5m.js} +33 -33
  210. package/dist/chunks/{location-services-0z1gmn2q.js → aisdk-qdyw34ax.js} +6 -6
  211. package/dist/chunks/{location-services-6wx8xhdj.js → aisdk-qh5jrqfz.js} +13 -13
  212. package/dist/chunks/{location-services-var4818b.js → aisdk-qhdc024g.js} +1 -1
  213. package/dist/chunks/{location-services-w7qw9xwr.js → aisdk-qnb0rh6n.js} +8 -8
  214. package/dist/chunks/{location-services-qsdy395h.js → aisdk-qsdy395h.js} +1 -1
  215. package/dist/chunks/{location-services-bphss62d.js → aisdk-rd3pnmmg.js} +43 -43
  216. package/dist/chunks/{location-services-rdw6cm16.js → aisdk-rdw6cm16.js} +1 -1
  217. package/dist/chunks/{location-services-3xjrp8vt.js → aisdk-reqtqwwe.js} +21 -21
  218. package/dist/chunks/{location-services-7knahq77.js → aisdk-rgwpr805.js} +12 -12
  219. package/dist/chunks/{location-services-r8xr0va3.js → aisdk-rhraev7y.js} +4 -4
  220. package/dist/chunks/{location-services-s8d7rejh.js → aisdk-s8d7rejh.js} +1 -1
  221. package/dist/chunks/{location-services-hkfg6fzm.js → aisdk-s8zy8myc.js} +5 -5
  222. package/dist/chunks/{location-services-pb1eahw5.js → aisdk-sbnsh8k5.js} +8 -8
  223. package/dist/chunks/{location-services-c6m1n2c7.js → aisdk-sdg3hsn6.js} +36 -36
  224. package/dist/chunks/{location-services-5yy5v8xs.js → aisdk-sgvrcx4h.js} +8 -8
  225. package/dist/chunks/{location-services-szjrhb9a.js → aisdk-sm18gw9h.js} +1 -1
  226. package/dist/chunks/{location-services-w8m4edh1.js → aisdk-stdq9vyg.js} +4 -4
  227. package/dist/chunks/{location-services-j5m0tr6e.js → aisdk-t01wyw4m.js} +4 -4
  228. package/dist/chunks/{location-services-1yv162eq.js → aisdk-t9d84gp7.js} +4 -4
  229. package/dist/chunks/{location-services-tazgh4e4.js → aisdk-tazgh4e4.js} +1 -1
  230. package/dist/chunks/{location-services-1sg8k3x6.js → aisdk-tbjpesg0.js} +12 -12
  231. package/dist/chunks/{location-services-89znhe33.js → aisdk-tcezcvh9.js} +4 -4
  232. package/dist/chunks/{location-services-tdstcens.js → aisdk-tdstcens.js} +1 -1
  233. package/dist/chunks/{location-services-v6gb7zv2.js → aisdk-tegs1ycp.js} +6 -6
  234. package/dist/chunks/{location-services-33294r0b.js → aisdk-tfxws9nx.js} +8 -8
  235. package/dist/chunks/{location-services-6jqerq4j.js → aisdk-tjt6v5nx.js} +20 -20
  236. package/dist/chunks/{location-services-y022vn7y.js → aisdk-tsqdc71q.js} +18 -18
  237. package/dist/chunks/{location-services-tvtrv512.js → aisdk-tvtrv512.js} +1 -1
  238. package/dist/chunks/{location-services-6t298p2h.js → aisdk-twghag3f.js} +12 -12
  239. package/dist/chunks/{location-services-93c99t7r.js → aisdk-v1qmp7wq.js} +20 -20
  240. package/dist/chunks/{location-services-es36zed6.js → aisdk-vbfentrr.js} +14 -14
  241. package/dist/chunks/{location-services-80scg3y3.js → aisdk-vbfgae2j.js} +4 -4
  242. package/dist/chunks/{location-services-sx1n432n.js → aisdk-ve4pfa0n.js} +4 -4
  243. package/dist/chunks/{location-services-veqvce7d.js → aisdk-veqvce7d.js} +1 -1
  244. package/dist/chunks/{location-services-nzdggpth.js → aisdk-vgspftqv.js} +13 -13
  245. package/dist/chunks/{location-services-4xhhjths.js → aisdk-vkt5fbj2.js} +8 -8
  246. package/dist/chunks/{location-services-xfsrjhjb.js → aisdk-vqff8b3j.js} +2 -2
  247. package/dist/chunks/{location-services-m9wy7qrr.js → aisdk-vyqn3nqs.js} +6 -6
  248. package/dist/chunks/{location-services-y911dxk0.js → aisdk-vz88fkwm.js} +17 -17
  249. package/dist/chunks/{location-services-vzcthcp8.js → aisdk-vzcthcp8.js} +1 -1
  250. package/dist/chunks/{location-services-w3wsvvr9.js → aisdk-w3wsvvr9.js} +1 -1
  251. package/dist/chunks/{location-services-e6hmchc5.js → aisdk-wbkyxrgf.js} +5 -5
  252. package/dist/chunks/{location-services-wd87259q.js → aisdk-wd87259q.js} +1 -1
  253. package/dist/chunks/{location-services-vf88r308.js → aisdk-wh0jc7gn.js} +13 -13
  254. package/dist/chunks/{location-services-cg0397kv.js → aisdk-wmxxk3sc.js} +3 -3
  255. package/dist/chunks/{location-services-qd6rj703.js → aisdk-wv8we0v5.js} +5 -5
  256. package/dist/chunks/{location-services-5wse32sw.js → aisdk-wxs3we96.js} +18 -18
  257. package/dist/chunks/{location-services-x1ezjp6w.js → aisdk-x1ezjp6w.js} +1 -1
  258. package/dist/chunks/{location-services-ag0w7sb1.js → aisdk-x74gt3qg.js} +18 -18
  259. package/dist/chunks/{location-services-vh668qnd.js → aisdk-x7d2t585.js} +14 -14
  260. package/dist/chunks/{location-services-xxyg89kp.js → aisdk-xawtgtg3.js} +32 -32
  261. package/dist/chunks/{location-services-drwq78ky.js → aisdk-xfkkasph.js} +4 -4
  262. package/dist/chunks/{location-services-8srm5xw3.js → aisdk-xgcxmpe2.js} +46 -46
  263. package/dist/chunks/{location-services-z9szqmxk.js → aisdk-xwdm2w21.js} +27 -27
  264. package/dist/chunks/{location-services-g23y2d6e.js → aisdk-xwfvenya.js} +10 -10
  265. package/dist/chunks/{location-services-7w99qc9d.js → aisdk-xxynqx5z.js} +2 -2
  266. package/dist/chunks/{location-services-be2hac41.js → aisdk-y16p1w2y.js} +9 -9
  267. package/dist/chunks/{location-services-y1fvbwt7.js → aisdk-y1fvbwt7.js} +1 -1
  268. package/dist/chunks/{location-services-hha0j8te.js → aisdk-y59dcsea.js} +8 -8
  269. package/dist/chunks/{location-services-f63sy675.js → aisdk-y702y932.js} +22 -22
  270. package/dist/chunks/{location-services-9eyr8qgw.js → aisdk-ybwbcp2b.js} +9 -9
  271. package/dist/chunks/{location-services-69q04mfm.js → aisdk-yg36tpc9.js} +27 -27
  272. package/dist/chunks/{location-services-bdfxp8y4.js → aisdk-ym6cgwqt.js} +1 -1
  273. package/dist/chunks/{location-services-3f06dy19.js → aisdk-yrh7p4rc.js} +11 -11
  274. package/dist/chunks/{location-services-yrhqyw5v.js → aisdk-yrhqyw5v.js} +1 -1
  275. package/dist/chunks/{location-services-yrznvahk.js → aisdk-yrznvahk.js} +2 -2
  276. package/dist/chunks/{location-services-z3w6djs0.js → aisdk-yvk2sn0g.js} +15 -15
  277. package/dist/chunks/{location-services-m2ytg560.js → aisdk-ywqr9nfr.js} +6 -6
  278. package/dist/chunks/{location-services-z0bkrqjs.js → aisdk-z0bkrqjs.js} +1 -1
  279. package/dist/chunks/{location-services-z63w68vq.js → aisdk-z63w68vq.js} +2 -2
  280. package/dist/chunks/{location-services-w71gma7k.js → aisdk-z8crshbf.js} +22 -22
  281. package/dist/chunks/{location-services-w48yskvc.js → aisdk-zbg2y0tv.js} +12 -12
  282. package/dist/chunks/{location-services-zeh9ct20.js → aisdk-zeh9ct20.js} +2 -2
  283. package/dist/chunks/{location-services-824w6ej1.js → aisdk-zhxcwtke.js} +8 -8
  284. package/dist/chunks/{location-services-py1xq93p.js → aisdk-zm1yjvg6.js} +10 -10
  285. package/dist/chunks/{location-services-zr2ceqn5.js → aisdk-zr2ceqn5.js} +1 -1
  286. package/dist/chunks/{location-services-zxq2ej10.js → aisdk-zxq2ej10.js} +1 -1
  287. package/dist/chunks/{location-services-nd78smks.js → aisdk-zz4a1676.js} +17 -17
  288. package/dist/codemode/catalog.js +1 -1
  289. package/dist/codemode/instructions.js +7 -7
  290. package/dist/codemode/tool.js +3 -3
  291. package/dist/codemode/web.js +1 -1
  292. package/dist/command.js +82 -82
  293. package/dist/config/discovery.js +83 -83
  294. package/dist/config/markdown.js +1 -1
  295. package/dist/config/normalize.js +105 -105
  296. package/dist/config/plugin/agent.js +124 -124
  297. package/dist/config/plugin/command.js +213 -213
  298. package/dist/config/plugin/compaction.js +159 -159
  299. package/dist/config/plugin/compatibility.js +140 -140
  300. package/dist/config/plugin/entry-observer.js +1 -1
  301. package/dist/config/plugin/formatter.js +123 -123
  302. package/dist/config/plugin/image.js +122 -122
  303. package/dist/config/plugin/instruction.js +89 -89
  304. package/dist/config/plugin/location-watcher.js +124 -124
  305. package/dist/config/plugin/mcp.js +131 -131
  306. package/dist/config/plugin/policy.js +122 -122
  307. package/dist/config/plugin/provider.js +122 -122
  308. package/dist/config/plugin/reference.js +124 -124
  309. package/dist/config/plugin/shell.js +122 -122
  310. package/dist/config/plugin/skill-file.js +101 -101
  311. package/dist/config/plugin/skill.js +143 -143
  312. package/dist/config/plugin/snapshot.js +122 -122
  313. package/dist/config/plugin/source.js +125 -125
  314. package/dist/config/plugin/tool-output.js +124 -124
  315. package/dist/config/plugin/websearch.js +121 -121
  316. package/dist/config/plugin/worktree.js +124 -124
  317. package/dist/config/variable.js +3 -3
  318. package/dist/config/watch.js +1 -1
  319. package/dist/config.js +127 -127
  320. package/dist/credential/sql.js +2 -2
  321. package/dist/credential.js +82 -82
  322. package/dist/database/database.js +65 -65
  323. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  324. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  325. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  326. package/dist/database/drizzle/index.js +15 -15
  327. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  328. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  330. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  332. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  337. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  338. package/dist/database/drizzle.js +16 -16
  339. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  340. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  341. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  342. package/dist/database/migration/20260225215848_workspace.js +1 -1
  343. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  344. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  345. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  346. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  347. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  348. package/dist/database/migration/20260323234822_events.js +1 -1
  349. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  350. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  351. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  352. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  353. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  354. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  355. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  356. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  357. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  358. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  359. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  360. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  361. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  362. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  363. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  364. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  365. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  366. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  367. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  368. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  369. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  370. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  371. package/dist/database/migration/20260611035744_credential.js +1 -1
  372. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  373. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  374. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  375. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  376. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  377. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  378. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  379. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  380. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  381. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  382. package/dist/database/migration/20260812213948_worktree.js +1 -1
  383. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  384. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  385. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  386. package/dist/database/migration.gen.js +48 -48
  387. package/dist/database/migration.js +50 -50
  388. package/dist/database/path.js +2 -2
  389. package/dist/database/schema.gen.js +1 -1
  390. package/dist/database/schema.sql.js +1 -1
  391. package/dist/database/sqlite.bun.js +1 -1
  392. package/dist/database/sqlite.js +1 -1
  393. package/dist/database/sqlite.node.js +1 -1
  394. package/dist/database/sqlite.workerd.js +1 -1
  395. package/dist/database/v1-migration.bun.js +75 -75
  396. package/dist/database/v1-migration.js +1 -1
  397. package/dist/effect/app-node-builder.js +366 -366
  398. package/dist/effect/app-node-platform.js +2 -2
  399. package/dist/effect/keyed-mutex.js +3 -3
  400. package/dist/effect/websocket-constructor.js +1 -1
  401. package/dist/environment/driver.js +1 -1
  402. package/dist/environment/environment.js +92 -92
  403. package/dist/environment/exec-defaults.js +2 -2
  404. package/dist/environment/files.js +1 -1
  405. package/dist/environment/index.js +94 -94
  406. package/dist/environment/local.js +2 -2
  407. package/dist/environment/memory.js +2 -2
  408. package/dist/environment/unavailable.js +1 -1
  409. package/dist/event/sql.js +1 -1
  410. package/dist/event-logger.js +69 -69
  411. package/dist/file-access.js +103 -103
  412. package/dist/file-mutation.js +93 -93
  413. package/dist/file-retention.js +1 -1
  414. package/dist/file.js +1 -1
  415. package/dist/filesystem/fff.bun.js +2 -2
  416. package/dist/filesystem/fff.js +1 -1
  417. package/dist/filesystem/fff.node.js +2 -2
  418. package/dist/filesystem/fff.workerd.js +2 -2
  419. package/dist/filesystem/ignore.js +1 -1
  420. package/dist/filesystem/location-watcher-policy.js +6 -6
  421. package/dist/filesystem/location-watcher.js +226 -226
  422. package/dist/filesystem/protected.js +3 -3
  423. package/dist/filesystem/search.js +102 -102
  424. package/dist/filesystem/watcher-binding.js +1 -1
  425. package/dist/filesystem/watcher.js +15 -15
  426. package/dist/filesystem.js +107 -107
  427. package/dist/form.js +81 -81
  428. package/dist/formatter/builtins.js +4 -4
  429. package/dist/formatter.js +86 -86
  430. package/dist/generate.js +102 -102
  431. package/dist/git.js +10 -10
  432. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  433. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  434. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  435. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  436. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  437. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  438. package/dist/github-copilot/copilot-provider.js +17 -17
  439. package/dist/github-copilot/models.js +90 -90
  440. package/dist/github-copilot/openai-compatible-error.js +1 -1
  441. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  442. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  443. package/dist/github-copilot/responses/openai-error.js +1 -1
  444. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  445. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  446. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  447. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  448. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  449. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  450. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  451. package/dist/id/id.js +1 -1
  452. package/dist/image/photon.js +2 -2
  453. package/dist/image.js +6 -6
  454. package/dist/instance/service.js +5 -5
  455. package/dist/instance.js +357 -357
  456. package/dist/instruction-discovery.js +84 -84
  457. package/dist/instructions/builtins.js +86 -86
  458. package/dist/instructions/index.js +1 -1
  459. package/dist/integration/connection.js +3 -3
  460. package/dist/integration.js +87 -87
  461. package/dist/job.js +76 -76
  462. package/dist/kv/sql.js +2 -2
  463. package/dist/kv.js +72 -72
  464. package/dist/location-activity.js +131 -131
  465. package/dist/location-lifecycle.js +105 -105
  466. package/dist/location-mutation.js +103 -103
  467. package/dist/location-service-map.js +85 -85
  468. package/dist/location-services.js +354 -354
  469. package/dist/location.js +88 -88
  470. package/dist/mcp/client.js +90 -90
  471. package/dist/mcp/index.js +105 -105
  472. package/dist/mcp/instructions.js +125 -125
  473. package/dist/mcp/oauth.js +77 -77
  474. package/dist/mcp/stdio.js +89 -89
  475. package/dist/mime.js +1 -1
  476. package/dist/modal/models.js +90 -90
  477. package/dist/model-resolver.js +97 -97
  478. package/dist/model.js +97 -97
  479. package/dist/models-dev.js +106 -106
  480. package/dist/oauth/page.js +1 -1
  481. package/dist/permission/saved.js +77 -77
  482. package/dist/permission/sql.js +5 -5
  483. package/dist/permission.js +106 -106
  484. package/dist/persistent-pty/binary.bun.js +1 -1
  485. package/dist/persistent-pty/daemon.js +1 -1
  486. package/dist/persistent-pty/index.js +85 -85
  487. package/dist/persistent-pty/pty-binding.js +1 -1
  488. package/dist/persistent-pty.js +74 -74
  489. package/dist/plugin/agent.js +103 -103
  490. package/dist/plugin/command.js +100 -100
  491. package/dist/plugin/hooks.js +5 -5
  492. package/dist/plugin/host.js +217 -217
  493. package/dist/plugin/identity.js +3 -3
  494. package/dist/plugin/instance.js +5 -5
  495. package/dist/plugin/internal.js +328 -328
  496. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  497. package/dist/plugin/models-dev.js +95 -95
  498. package/dist/plugin/module.js +5 -5
  499. package/dist/plugin/optimize.js +4 -4
  500. package/dist/plugin/plan.js +101 -101
  501. package/dist/plugin/promise.js +1 -1
  502. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  503. package/dist/plugin/provider/azure.js +121 -121
  504. package/dist/plugin/provider/cerebras.js +1 -1
  505. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  506. package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
  507. package/dist/plugin/provider/cohere.js +2 -2
  508. package/dist/plugin/provider/configured.js +118 -118
  509. package/dist/plugin/provider/digitalocean.js +92 -92
  510. package/dist/plugin/provider/dynamic.js +2 -2
  511. package/dist/plugin/provider/factory.js +1 -1
  512. package/dist/plugin/provider/gateway.js +2 -2
  513. package/dist/plugin/provider/github-copilot.js +92 -92
  514. package/dist/plugin/provider/gitlab.js +90 -90
  515. package/dist/plugin/provider/google-vertex.js +89 -89
  516. package/dist/plugin/provider/kilo.js +1 -1
  517. package/dist/plugin/provider/llmgateway.js +76 -76
  518. package/dist/plugin/provider/lmstudio.js +121 -121
  519. package/dist/plugin/provider/modal.js +91 -91
  520. package/dist/plugin/provider/nvidia.js +1 -1
  521. package/dist/plugin/provider/ollama.js +121 -121
  522. package/dist/plugin/provider/openai.js +93 -93
  523. package/dist/plugin/provider/opencode.js +92 -92
  524. package/dist/plugin/provider/openrouter.js +90 -90
  525. package/dist/plugin/provider/perplexity.js +2 -2
  526. package/dist/plugin/provider/poe.js +77 -77
  527. package/dist/plugin/provider/prompt-cache-key.js +89 -89
  528. package/dist/plugin/provider/sap-ai-core.js +90 -90
  529. package/dist/plugin/provider/sdk-factory.js +1 -1
  530. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  531. package/dist/plugin/provider/venice.js +2 -2
  532. package/dist/plugin/provider/vercel.js +89 -89
  533. package/dist/plugin/provider/vllm.js +121 -121
  534. package/dist/plugin/provider/xai.js +90 -90
  535. package/dist/plugin/provider/zenmux.js +1 -1
  536. package/dist/plugin/provider.js +158 -158
  537. package/dist/plugin/sdk.js +75 -75
  538. package/dist/plugin/service.js +3 -3
  539. package/dist/plugin/skill.js +140 -140
  540. package/dist/plugin/source-directory.js +1 -1
  541. package/dist/plugin/supervisor.js +345 -345
  542. package/dist/plugin/update.js +6 -6
  543. package/dist/plugin/vcs/git.js +85 -85
  544. package/dist/plugin/vcs/hg.js +85 -85
  545. package/dist/plugin/warming.js +120 -120
  546. package/dist/plugin/websearch/exa.js +7 -7
  547. package/dist/plugin/websearch/firecrawl.js +8 -8
  548. package/dist/plugin/websearch/index.js +9 -9
  549. package/dist/plugin/websearch/mcp.js +4 -4
  550. package/dist/plugin/websearch/parallel.js +6 -6
  551. package/dist/plugin/websearch/tavily.js +6 -6
  552. package/dist/plugin/websearch/tinyfish.js +8 -8
  553. package/dist/plugin.js +228 -228
  554. package/dist/project/schema.js +6 -6
  555. package/dist/project/sql.js +4 -4
  556. package/dist/project.js +89 -89
  557. package/dist/provider.js +96 -96
  558. package/dist/pty/protocol.js +1 -1
  559. package/dist/pty/schema.js +3 -3
  560. package/dist/pty/ticket.js +1 -1
  561. package/dist/pty.js +97 -97
  562. package/dist/reference/instructions.js +86 -86
  563. package/dist/reference.js +88 -88
  564. package/dist/repository-cache.js +80 -80
  565. package/dist/repository.js +1 -1
  566. package/dist/ripgrep/binary.js +2 -2
  567. package/dist/ripgrep.js +96 -96
  568. package/dist/rpc.js +85 -85
  569. package/dist/schema.js +1 -1
  570. package/dist/session/command.js +73 -73
  571. package/dist/session/compaction.js +131 -131
  572. package/dist/session/context.js +151 -151
  573. package/dist/session/diff.js +87 -87
  574. package/dist/session/environment.js +5 -5
  575. package/dist/session/error.js +5 -5
  576. package/dist/session/event.js +1 -1
  577. package/dist/session/execution/restart.js +220 -220
  578. package/dist/session/execution.js +125 -125
  579. package/dist/session/generate.js +150 -150
  580. package/dist/session/history.js +13 -13
  581. package/dist/session/inbox.js +87 -87
  582. package/dist/session/info.js +3 -3
  583. package/dist/session/instruction-entry.js +78 -78
  584. package/dist/session/instruction-state.js +8 -8
  585. package/dist/session/instructions.js +96 -96
  586. package/dist/session/message-updater.js +4 -4
  587. package/dist/session/message.js +1 -1
  588. package/dist/session/model-request.js +118 -118
  589. package/dist/session/model-transport.js +9 -9
  590. package/dist/session/move.js +129 -129
  591. package/dist/session/projector.js +85 -85
  592. package/dist/session/prompt.js +104 -104
  593. package/dist/session/provider-context.js +3 -3
  594. package/dist/session/revert.js +89 -89
  595. package/dist/session/run-coordinator.js +3 -3
  596. package/dist/session/runner/index.js +3 -3
  597. package/dist/session/runner/llm.js +230 -230
  598. package/dist/session/runner/max-steps.js +1 -1
  599. package/dist/session/runner/model.js +97 -97
  600. package/dist/session/runner/publish-llm-event.js +3 -3
  601. package/dist/session/runner/retry.js +111 -111
  602. package/dist/session/runner/step.js +123 -123
  603. package/dist/session/runner/to-llm-message.js +2 -2
  604. package/dist/session/schema.js +3 -3
  605. package/dist/session/session.js +171 -171
  606. package/dist/session/shell.js +137 -137
  607. package/dist/session/skill.js +102 -102
  608. package/dist/session/sql.js +5 -5
  609. package/dist/session/stats.js +72 -72
  610. package/dist/session/store.js +84 -84
  611. package/dist/session/subagent-completion.js +1 -1
  612. package/dist/session/subagent-job.js +207 -207
  613. package/dist/session/system-prompt.js +3 -3
  614. package/dist/session/title.js +153 -153
  615. package/dist/session/to-session-error.js +110 -110
  616. package/dist/session/transfer.js +216 -216
  617. package/dist/session/usage.js +1 -1
  618. package/dist/session.js +217 -217
  619. package/dist/shell/parse.js +6 -6
  620. package/dist/shell/result.js +1 -1
  621. package/dist/shell/scan.js +1 -1
  622. package/dist/shell/select.js +11 -11
  623. package/dist/shell.js +139 -139
  624. package/dist/skill/discovery.js +6 -6
  625. package/dist/skill/instructions.js +104 -104
  626. package/dist/skill.js +107 -107
  627. package/dist/snapshot.js +90 -90
  628. package/dist/state.js +1 -1
  629. package/dist/tool/html-markdown.js +1 -1
  630. package/dist/tool/http-body.js +1 -1
  631. package/dist/tool/mcp.js +124 -124
  632. package/dist/tool/plugin/edit.js +119 -119
  633. package/dist/tool/plugin/file-diff.js +1 -1
  634. package/dist/tool/plugin/glob.js +121 -121
  635. package/dist/tool/plugin/grep.js +123 -123
  636. package/dist/tool/plugin/opencode.js +3 -3
  637. package/dist/tool/plugin/patch.js +121 -121
  638. package/dist/tool/plugin/question.js +104 -104
  639. package/dist/tool/plugin/read.js +124 -124
  640. package/dist/tool/plugin/shell.js +214 -214
  641. package/dist/tool/plugin/skill.js +110 -110
  642. package/dist/tool/plugin/subagent.js +214 -214
  643. package/dist/tool/plugin/webfetch.js +109 -109
  644. package/dist/tool/plugin/websearch.js +111 -111
  645. package/dist/tool/plugin/write.js +121 -121
  646. package/dist/tool/read-filesystem.js +99 -99
  647. package/dist/tool/runtime.js +1 -1
  648. package/dist/tool-output.js +8 -8
  649. package/dist/tool.js +16 -16
  650. package/dist/util/error-summary.js +1 -1
  651. package/dist/util/error.js +1 -1
  652. package/dist/util/git-executable.js +2 -2
  653. package/dist/util/iife.js +1 -1
  654. package/dist/util/lazy.js +1 -1
  655. package/dist/util/slug.js +1 -1
  656. package/dist/util/token.js +1 -1
  657. package/dist/util/which.js +1 -1
  658. package/dist/util/wildcard.js +1 -1
  659. package/dist/v1/config/agent.js +5 -5
  660. package/dist/v1/config/attachment.js +4 -4
  661. package/dist/v1/config/command.js +3 -3
  662. package/dist/v1/config/config.js +16 -16
  663. package/dist/v1/config/error.js +2 -2
  664. package/dist/v1/config/formatter.js +5 -5
  665. package/dist/v1/config/layout.js +1 -1
  666. package/dist/v1/config/lsp.js +5 -5
  667. package/dist/v1/config/mcp.js +4 -4
  668. package/dist/v1/config/migrate.js +91 -91
  669. package/dist/v1/config/permission.js +3 -3
  670. package/dist/v1/config/plugin.js +3 -3
  671. package/dist/v1/config/provider-options.js +1 -1
  672. package/dist/v1/config/provider.js +4 -4
  673. package/dist/v1/config/server.js +2 -2
  674. package/dist/v1/config/skills.js +3 -3
  675. package/dist/v1/permission.js +1 -1
  676. package/dist/variant.js +92 -92
  677. package/dist/vcs/patch.js +1 -1
  678. package/dist/vcs.js +88 -88
  679. package/dist/websearch.js +79 -79
  680. package/dist/wellknown/plugin.js +75 -75
  681. package/dist/wellknown.js +80 -80
  682. package/dist/workspace/driver.js +3 -3
  683. package/dist/workspace/sql.js +1 -1
  684. package/dist/workspace.js +75 -75
  685. package/dist/worktree/directory.js +2 -2
  686. package/dist/worktree/git.js +10 -10
  687. package/dist/worktree/sql.js +5 -5
  688. package/dist/worktree/strategies.js +88 -88
  689. package/dist/worktree.js +93 -93
  690. package/package.json +8 -8
  691. package/dist/chunks/location-services-57p3bxwn.js +0 -26
  692. package/dist/chunks/location-services-6qfj1prg.js +0 -478
  693. package/dist/chunks/location-services-exny8ayn.js +0 -65
  694. package/dist/chunks/location-services-gbadjzag.js +0 -4
  695. package/dist/chunks/location-services-ndg9br84.js +0 -252
  696. package/dist/chunks/location-services-pf31ssb9.js +0 -18
  697. /package/dist/chunks/{location-services-0qkdqm5v.js → aisdk-0qkdqm5v.js} +0 -0
  698. /package/dist/chunks/{location-services-0zkw76rk.js → aisdk-0zkw76rk.js} +0 -0
  699. /package/dist/chunks/{location-services-17cy0kzp.js → aisdk-17cy0kzp.js} +0 -0
  700. /package/dist/chunks/{location-services-1cnp2v09.js → aisdk-1cnp2v09.js} +0 -0
  701. /package/dist/chunks/{location-services-1kg9ymc8.js → aisdk-1kg9ymc8.js} +0 -0
  702. /package/dist/chunks/{location-services-24dcb14g.js → aisdk-24dcb14g.js} +0 -0
  703. /package/dist/chunks/{location-services-2710q6r3.js → aisdk-2710q6r3.js} +0 -0
  704. /package/dist/chunks/{location-services-2axfhc9x.js → aisdk-2axfhc9x.js} +0 -0
  705. /package/dist/chunks/{location-services-2c3vjs8z.js → aisdk-2c3vjs8z.js} +0 -0
  706. /package/dist/chunks/{location-services-359p4xyc.js → aisdk-359p4xyc.js} +0 -0
  707. /package/dist/chunks/{location-services-3asan66x.js → aisdk-3asan66x.js} +0 -0
  708. /package/dist/chunks/{location-services-3v8g72cx.js → aisdk-3v8g72cx.js} +0 -0
  709. /package/dist/chunks/{location-services-3w5fmr99.js → aisdk-3w5fmr99.js} +0 -0
  710. /package/dist/chunks/{location-services-3wcehsnq.js → aisdk-3wcehsnq.js} +0 -0
  711. /package/dist/chunks/{location-services-43n2bw4t.js → aisdk-43n2bw4t.js} +0 -0
  712. /package/dist/chunks/{location-services-4knz6hnm.js → aisdk-4knz6hnm.js} +0 -0
  713. /package/dist/chunks/{location-services-4vcrnpx2.js → aisdk-4vcrnpx2.js} +0 -0
  714. /package/dist/chunks/{location-services-4y7fprxs.js → aisdk-4y7fprxs.js} +0 -0
  715. /package/dist/chunks/{location-services-53557ph1.js → aisdk-53557ph1.js} +0 -0
  716. /package/dist/chunks/{location-services-550bvhaj.js → aisdk-550bvhaj.js} +0 -0
  717. /package/dist/chunks/{location-services-5qd3pb7m.js → aisdk-5qd3pb7m.js} +0 -0
  718. /package/dist/chunks/{location-services-6prwharc.js → aisdk-6prwharc.js} +0 -0
  719. /package/dist/chunks/{location-services-7akdwqpd.js → aisdk-7akdwqpd.js} +0 -0
  720. /package/dist/chunks/{location-services-7m9af43g.js → aisdk-7m9af43g.js} +0 -0
  721. /package/dist/chunks/{location-services-822emrt2.js → aisdk-822emrt2.js} +0 -0
  722. /package/dist/chunks/{location-services-88xbtdfr.js → aisdk-88xbtdfr.js} +0 -0
  723. /package/dist/chunks/{location-services-8n3pysct.js → aisdk-8n3pysct.js} +0 -0
  724. /package/dist/chunks/{location-services-922hggd3.js → aisdk-922hggd3.js} +0 -0
  725. /package/dist/chunks/{location-services-9a4afbnw.js → aisdk-9a4afbnw.js} +0 -0
  726. /package/dist/chunks/{location-services-9rqn6x4v.js → aisdk-9rqn6x4v.js} +0 -0
  727. /package/dist/chunks/{location-services-a6k6eb26.js → aisdk-a6k6eb26.js} +0 -0
  728. /package/dist/chunks/{location-services-af5trqkr.js → aisdk-af5trqkr.js} +0 -0
  729. /package/dist/chunks/{location-services-afrmfg78.js → aisdk-afrmfg78.js} +0 -0
  730. /package/dist/chunks/{location-services-aqzs7mqg.js → aisdk-aqzs7mqg.js} +0 -0
  731. /package/dist/chunks/{location-services-atq7p7m5.js → aisdk-atq7p7m5.js} +0 -0
  732. /package/dist/chunks/{location-services-bkyjaxrp.js → aisdk-bkyjaxrp.js} +0 -0
  733. /package/dist/chunks/{location-services-bmr6ed5q.js → aisdk-bmr6ed5q.js} +0 -0
  734. /package/dist/chunks/{location-services-cf4snx6d.js → aisdk-cf4snx6d.js} +0 -0
  735. /package/dist/chunks/{location-services-cvy3z8tj.js → aisdk-cvy3z8tj.js} +0 -0
  736. /package/dist/chunks/{location-services-d9fn303g.js → aisdk-d9fn303g.js} +0 -0
  737. /package/dist/chunks/{location-services-d9jj8t3e.js → aisdk-d9jj8t3e.js} +0 -0
  738. /package/dist/chunks/{location-services-dajrwvna.js → aisdk-dajrwvna.js} +0 -0
  739. /package/dist/chunks/{location-services-dap0rakb.js → aisdk-dap0rakb.js} +0 -0
  740. /package/dist/chunks/{location-services-df08tz66.js → aisdk-df08tz66.js} +0 -0
  741. /package/dist/chunks/{location-services-dy18nga0.js → aisdk-dy18nga0.js} +0 -0
  742. /package/dist/chunks/{location-services-e5kj55wp.js → aisdk-e5kj55wp.js} +0 -0
  743. /package/dist/chunks/{location-services-e73j6tqm.js → aisdk-e73j6tqm.js} +0 -0
  744. /package/dist/chunks/{location-services-ec1grn59.js → aisdk-ec1grn59.js} +0 -0
  745. /package/dist/chunks/{location-services-eh3zwz77.js → aisdk-eh3zwz77.js} +0 -0
  746. /package/dist/chunks/{location-services-emrn6kk6.js → aisdk-emrn6kk6.js} +0 -0
  747. /package/dist/chunks/{location-services-f0mxakyp.js → aisdk-f0mxakyp.js} +0 -0
  748. /package/dist/chunks/{location-services-f6n9ztr4.js → aisdk-f6n9ztr4.js} +0 -0
  749. /package/dist/chunks/{location-services-faypxj3z.js → aisdk-faypxj3z.js} +0 -0
  750. /package/dist/chunks/{location-services-fd410y7t.js → aisdk-fd410y7t.js} +0 -0
  751. /package/dist/chunks/{location-services-fxgpk5d8.js → aisdk-fxgpk5d8.js} +0 -0
  752. /package/dist/chunks/{location-services-g4wezp1m.js → aisdk-g4wezp1m.js} +0 -0
  753. /package/dist/chunks/{location-services-g86h250q.js → aisdk-g86h250q.js} +0 -0
  754. /package/dist/chunks/{location-services-gebd4c9n.js → aisdk-gebd4c9n.js} +0 -0
  755. /package/dist/chunks/{location-services-gftt206x.js → aisdk-gftt206x.js} +0 -0
  756. /package/dist/chunks/{location-services-hjbc5kem.js → aisdk-hjbc5kem.js} +0 -0
  757. /package/dist/chunks/{location-services-hk9envan.js → aisdk-hk9envan.js} +0 -0
  758. /package/dist/chunks/{location-services-j2ntwpah.js → aisdk-j2ntwpah.js} +0 -0
  759. /package/dist/chunks/{location-services-j5zkgpj8.js → aisdk-j5zkgpj8.js} +0 -0
  760. /package/dist/chunks/{location-services-jjkms2e6.js → aisdk-jjkms2e6.js} +0 -0
  761. /package/dist/chunks/{location-services-jr7sbwjy.js → aisdk-jr7sbwjy.js} +0 -0
  762. /package/dist/chunks/{location-services-jwfs4k6c.js → aisdk-jwfs4k6c.js} +0 -0
  763. /package/dist/chunks/{location-services-jzg6c2d5.js → aisdk-jzg6c2d5.js} +0 -0
  764. /package/dist/chunks/{location-services-mp448xyj.js → aisdk-mp448xyj.js} +0 -0
  765. /package/dist/chunks/{location-services-msx8hqn2.js → aisdk-msx8hqn2.js} +0 -0
  766. /package/dist/chunks/{location-services-n05xt0ee.js → aisdk-n05xt0ee.js} +0 -0
  767. /package/dist/chunks/{location-services-n3j8tn72.js → aisdk-n3j8tn72.js} +0 -0
  768. /package/dist/chunks/{location-services-njntx4h6.js → aisdk-njntx4h6.js} +0 -0
  769. /package/dist/chunks/{location-services-q3sfg36h.js → aisdk-q3sfg36h.js} +0 -0
  770. /package/dist/chunks/{location-services-q74kybfr.js → aisdk-q74kybfr.js} +0 -0
  771. /package/dist/chunks/{location-services-qaymkmh1.js → aisdk-qaymkmh1.js} +0 -0
  772. /package/dist/chunks/{location-services-qb87gjwd.js → aisdk-qb87gjwd.js} +0 -0
  773. /package/dist/chunks/{location-services-qfa1cgps.js → aisdk-qfa1cgps.js} +0 -0
  774. /package/dist/chunks/{location-services-qg3g05ea.js → aisdk-qg3g05ea.js} +0 -0
  775. /package/dist/chunks/{location-services-qrg20bc0.js → aisdk-qrg20bc0.js} +0 -0
  776. /package/dist/chunks/{location-services-rcb2kzg1.js → aisdk-rcb2kzg1.js} +0 -0
  777. /package/dist/chunks/{location-services-sdp7kfr6.js → aisdk-sdp7kfr6.js} +0 -0
  778. /package/dist/chunks/{location-services-sk3qaz4a.js → aisdk-sk3qaz4a.js} +0 -0
  779. /package/dist/chunks/{location-services-ssg3fenm.js → aisdk-ssg3fenm.js} +0 -0
  780. /package/dist/chunks/{location-services-twg0f83k.js → aisdk-twg0f83k.js} +0 -0
  781. /package/dist/chunks/{location-services-w803qqfp.js → aisdk-w803qqfp.js} +0 -0
  782. /package/dist/chunks/{location-services-wc3fc9cn.js → aisdk-wc3fc9cn.js} +0 -0
  783. /package/dist/chunks/{location-services-wer8tq1h.js → aisdk-wer8tq1h.js} +0 -0
  784. /package/dist/chunks/{location-services-wtztk69x.js → aisdk-wtztk69x.js} +0 -0
  785. /package/dist/chunks/{location-services-x0ckcb58.js → aisdk-x0ckcb58.js} +0 -0
  786. /package/dist/chunks/{location-services-x61499pn.js → aisdk-x61499pn.js} +0 -0
  787. /package/dist/chunks/{location-services-y44na4kk.js → aisdk-y44na4kk.js} +0 -0
  788. /package/dist/chunks/{location-services-y8cydn3q.js → aisdk-y8cydn3q.js} +0 -0
  789. /package/dist/chunks/{location-services-y8f7s663.js → aisdk-y8f7s663.js} +0 -0
  790. /package/dist/chunks/{location-services-ygaqb7jw.js → aisdk-ygaqb7jw.js} +0 -0
  791. /package/dist/chunks/{location-services-ym463w8f.js → aisdk-ym463w8f.js} +0 -0
  792. /package/dist/chunks/{location-services-z9919s4g.js → aisdk-z9919s4g.js} +0 -0
@@ -1,44 +1,44 @@
1
1
  import {
2
2
  Service82,
3
3
  node86
4
- } from "./location-services-w8m4edh1.js";
4
+ } from "./aisdk-stdq9vyg.js";
5
5
  import {
6
6
  create3
7
- } from "./location-services-rdw6cm16.js";
7
+ } from "./aisdk-rdw6cm16.js";
8
8
  import {
9
9
  __export
10
- } from "./location-services-9rqn6x4v.js";
10
+ } from "./aisdk-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: () => ID11,
19
- Info: () => Info25,
17
+ Event: () => Event13,
18
+ ID: () => ID10,
19
+ Info: () => Info23,
20
20
  Name: () => Name3,
21
- Service: () => Service69,
21
+ Service: () => Service65,
22
22
  defaultID: () => defaultID2,
23
- node: () => node73
23
+ node: () => node69
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 Event13 } 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 ID11 = Agent.ID;
33
+ var ID10 = Agent.ID;
34
34
  var Name3 = Agent.Name;
35
- var defaultID2 = ID11.make("build");
35
+ var defaultID2 = ID10.make("build");
36
36
  var Color2 = Agent.Color;
37
- var Info25 = Agent.Info;
37
+ var Info23 = Agent.Info;
38
38
 
39
- class Service69 extends Context.Service()("@opencode/Agent") {
39
+ class Service65 extends Context.Service()("@opencode/Agent") {
40
40
  }
41
- var layer = Layer.effect(Service69, Effect.gen(function* () {
41
+ var layer = Layer.effect(Service65, Effect.gen(function* () {
42
42
  const bus = yield* Service82;
43
43
  const global = yield* Global.Service;
44
44
  const permissions = [
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
57
57
  editor.default = id;
58
58
  },
59
59
  update: (id, fn) => {
60
- const defaults = Info25.default(id);
60
+ const defaults = Info23.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(Service69, 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(ID11.make("build")));
82
+ const build = selectable(data.agents.get(ID10.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(Service69, Effect.gen(function* () {
88
88
  return fallback;
89
89
  }
90
90
  };
91
- return Service69.of({
91
+ return Service65.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(Service69, Effect.gen(function* () {
96
96
  }),
97
97
  resolve: Effect.fnUntraced(function* (id) {
98
98
  if (id !== undefined)
99
- return state.get().agents.get(ID11.make(id));
99
+ return state.get().agents.get(ID10.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 = ID11.make(id);
104
+ const selected = ID10.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(Service69, Effect.gen(function* () {
116
116
  })
117
117
  });
118
118
  }));
119
- var node73 = makeLocationNode({ service: Service69, layer, deps: [node86, Global.node] });
119
+ var node69 = makeLocationNode({ service: Service65, layer, deps: [node86, Global.node] });
120
120
 
121
- export { ID11, Name3, defaultID2, Color2, Info25, Service69, node73, exports_agent4, Event15 };
121
+ export { ID10, Name3, defaultID2, Color2, Info23, Service65, node69, exports_agent4, Event13 };
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  provider2,
3
3
  model2
4
- } from "./location-services-0paq2nw3.js";
4
+ } from "./aisdk-0paq2nw3.js";
5
5
  import {
6
6
  aisdk2
7
- } from "./location-services-8habrbe1.js";
7
+ } from "./aisdk-b4p40z3j.js";
8
8
  import {
9
9
  Capabilities2,
10
10
  compatibility2
11
- } from "./location-services-3f7778ma.js";
11
+ } from "./aisdk-gsk1e5b7.js";
12
12
  import {
13
13
  __export
14
- } from "./location-services-9rqn6x4v.js";
14
+ } from "./aisdk-9rqn6x4v.js";
15
15
 
16
16
  // src/v1/config/migrate.ts
17
17
  var exports_migrate = {};
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  absoluteColumn2
3
- } from "./location-services-6msgmcgs.js";
3
+ } from "./aisdk-6msgmcgs.js";
4
4
  import {
5
5
  ProjectTable2
6
- } from "./location-services-8p4f9s12.js";
6
+ } from "./aisdk-8p4f9s12.js";
7
7
 
8
8
  // src/worktree/sql.ts
9
9
  import { integer, primaryKey, sqliteTable, text } from "drizzle-orm/sqlite-core";
@@ -0,0 +1,65 @@
1
+ import {
2
+ Service82,
3
+ node86
4
+ } from "./aisdk-stdq9vyg.js";
5
+ import {
6
+ Service78,
7
+ node82
8
+ } from "./aisdk-y702y932.js";
9
+ import {
10
+ Ref4,
11
+ Service75,
12
+ node79
13
+ } from "./aisdk-nvbzy6sc.js";
14
+ import {
15
+ Service62,
16
+ node66
17
+ } from "./aisdk-6fey8c0p.js";
18
+ import {
19
+ Service74,
20
+ node78
21
+ } from "./aisdk-c3ts0g06.js";
22
+ import {
23
+ __export
24
+ } from "./aisdk-9rqn6x4v.js";
25
+
26
+ // src/location-lifecycle.ts
27
+ var exports_location_lifecycle = {};
28
+ __export(exports_location_lifecycle, {
29
+ LocationLifecycle: () => exports_location_lifecycle,
30
+ Service: () => Service13,
31
+ node: () => node15
32
+ });
33
+ import { Context, Effect, Layer } from "effect";
34
+ import { makeLocationNode } from "@opencode/util/effect/app-node";
35
+ import { LocationEvent } from "@opencode/schema/location-event";
36
+ class Service13 extends Context.Service()("@opencode/LocationLifecycle") {
37
+ }
38
+ var layer = Layer.effect(Service13, Effect.gen(function* () {
39
+ const bus = yield* Service82;
40
+ const location = yield* Service75;
41
+ const permission = yield* Service62;
42
+ const forms = yield* Service78;
43
+ const rpc = yield* Service74;
44
+ let closed = false;
45
+ const shutdown = yield* Effect.cached(Effect.gen(function* () {
46
+ closed = true;
47
+ yield* permission.close;
48
+ yield* forms.close;
49
+ yield* rpc.close;
50
+ yield* bus.publish(LocationEvent.Shutdown, {}, {
51
+ location: Ref4.make({ directory: location.directory, workspaceID: location.workspaceID })
52
+ });
53
+ }).pipe(Effect.uninterruptible));
54
+ return Service13.of({
55
+ isClosed: () => closed,
56
+ shutdown
57
+ });
58
+ }));
59
+ var node15 = makeLocationNode({
60
+ service: Service13,
61
+ layer,
62
+ deps: [node86, node79, node66, node82, node78]
63
+ });
64
+
65
+ export { Service13, node15, exports_location_lifecycle };
@@ -1,51 +1,51 @@
1
1
  import {
2
2
  typeFollowing2
3
- } from "./location-services-2a5m3afh.js";
3
+ } from "./aisdk-2a5m3afh.js";
4
4
  import {
5
5
  RelativePath2
6
- } from "./location-services-922hggd3.js";
6
+ } from "./aisdk-922hggd3.js";
7
7
  import {
8
- Service76
9
- } from "./location-services-7crnfscb.js";
8
+ Service75
9
+ } from "./aisdk-nvbzy6sc.js";
10
10
  import {
11
- Service57
12
- } from "./location-services-pajqd7p6.js";
11
+ Service54
12
+ } from "./aisdk-1ee9xjts.js";
13
13
  import {
14
14
  InvalidPatternError2,
15
- Service56
16
- } from "./location-services-y022vn7y.js";
15
+ Service25
16
+ } from "./aisdk-tsqdc71q.js";
17
17
  import {
18
18
  DEFAULT_SEARCH_LIMIT2,
19
19
  DEFAULT_SEARCH_TIMEOUT_MS2,
20
20
  GrepInput2,
21
- Entry4,
21
+ Entry2,
22
22
  Match2
23
- } from "./location-services-7fm0yp7k.js";
23
+ } from "./aisdk-bh3xzmfh.js";
24
24
  import {
25
- Service66
26
- } from "./location-services-nx1mz71v.js";
25
+ Service62
26
+ } from "./aisdk-6fey8c0p.js";
27
27
  import {
28
- Service41
29
- } from "./location-services-g0e3ejhr.js";
28
+ Service26
29
+ } from "./aisdk-9b3szmgb.js";
30
30
  import {
31
31
  __export
32
- } from "./location-services-9rqn6x4v.js";
32
+ } from "./aisdk-9rqn6x4v.js";
33
33
 
34
34
  // src/tool/plugin/grep.ts
35
35
  var exports_grep = {};
36
36
  __export(exports_grep, {
37
37
  GrepTool: () => exports_grep,
38
- Input: () => Input12,
39
- Output: () => Output8,
40
- Plugin: () => Plugin46,
41
- name: () => name12,
42
- toModelContent: () => toModelContent6
38
+ Input: () => Input10,
39
+ Output: () => Output7,
40
+ Plugin: () => Plugin44,
41
+ name: () => name10,
42
+ toModelContent: () => toModelContent5
43
43
  });
44
44
  import { ToolFailure } from "@opencode/ai";
45
45
  import { Effect, Schema } from "effect";
46
46
  import path from "path";
47
- var name12 = "grep";
48
- var Input12 = Schema.Struct({
47
+ var name10 = "grep";
48
+ var Input10 = Schema.Struct({
49
49
  pattern: GrepInput2.fields.pattern.check(Schema.isMinLength(1, { message: "Pattern must not be empty" })).annotate({
50
50
  description: "Regular expression or literal text to match in file contents."
51
51
  }),
@@ -65,8 +65,8 @@ var Input12 = Schema.Struct({
65
65
  description: `Maximum number of matching lines to return (default: ${DEFAULT_SEARCH_LIMIT2})`
66
66
  })
67
67
  });
68
- var Output8 = Schema.Array(Match2);
69
- var toModelContent6 = (matches, truncated = false) => {
68
+ var Output7 = Schema.Array(Match2);
69
+ var toModelContent5 = (matches, truncated = false) => {
70
70
  const lines = matches.length === 0 ? ["No matches found"] : [`Found ${matches.length} matches`];
71
71
  let current = "";
72
72
  for (const match of matches) {
@@ -83,26 +83,26 @@ var toModelContent6 = (matches, truncated = false) => {
83
83
  return lines.join(`
84
84
  `);
85
85
  };
86
- var Plugin46 = {
86
+ var Plugin44 = {
87
87
  id: "opencode.tool.grep",
88
88
  effect: Effect.fn("GrepTool.Plugin")(function* (ctx) {
89
- const environment = yield* Service57;
90
- const ripgrep = yield* Service56;
91
- const location = yield* Service76;
92
- const access = yield* Service41;
93
- const permission = yield* Service66;
89
+ const environment = yield* Service54;
90
+ const ripgrep = yield* Service25;
91
+ const location = yield* Service75;
92
+ const access = yield* Service26;
93
+ const permission = yield* Service62;
94
94
  yield* ctx.tool.transform((editor) => editor.add({
95
- name: name12,
95
+ name: name10,
96
96
  options: { codemode: false },
97
97
  description: "Search file contents using ripgrep's regular expression syntax or literal text matching. Use it to locate specific code, symbols, or text patterns, and narrow searches with `path` or `include`. Returns matching file paths, line numbers, and line previews.",
98
- input: Input12,
99
- output: Output8,
98
+ input: Input10,
99
+ output: Output7,
100
100
  execute: (input, context) => Effect.gen(function* () {
101
101
  const source = { type: "tool", messageID: context.messageID, id: context.id };
102
102
  const target = yield* access.resolve({ path: input.path ?? "." });
103
103
  yield* access.authorizeExternal([target], context);
104
104
  yield* permission.assert({
105
- action: name12,
105
+ action: name10,
106
106
  resources: [input.pattern],
107
107
  save: ["*"],
108
108
  metadata: {
@@ -136,7 +136,7 @@ var Plugin46 = {
136
136
  }))
137
137
  }), Effect.map((result) => result.map((match) => Match2.make({
138
138
  ...match,
139
- entry: Entry4.make({
139
+ entry: Entry2.make({
140
140
  ...match.entry,
141
141
  path: RelativePath2.make(path.relative(location.directory, path.resolve(cwd, match.entry.path)))
142
142
  })
@@ -144,7 +144,7 @@ var Plugin46 = {
144
144
  return { matches: matches.slice(0, limit), truncated: matches.length > limit };
145
145
  }).pipe(Effect.map((result) => ({
146
146
  output: result.matches,
147
- content: toModelContent6(result.matches.map((match) => ({
147
+ content: toModelContent5(result.matches.map((match) => ({
148
148
  ...match,
149
149
  entry: { ...match.entry, path: path.resolve(location.directory, match.entry.path) }
150
150
  })), result.truncated),
@@ -154,4 +154,4 @@ var Plugin46 = {
154
154
  })
155
155
  };
156
156
 
157
- export { name12, Input12, Output8, toModelContent6, Plugin46, exports_grep };
157
+ export { name10, Input10, Output7, toModelContent5, Plugin44, exports_grep };
@@ -1,26 +1,26 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./location-services-922hggd3.js";
3
+ } from "./aisdk-922hggd3.js";
4
4
  import {
5
5
  __export
6
- } from "./location-services-9rqn6x4v.js";
6
+ } from "./aisdk-9rqn6x4v.js";
7
7
 
8
8
  // src/project/schema.ts
9
9
  var exports_schema = {};
10
10
  __export(exports_schema, {
11
11
  Current: () => Current3,
12
12
  Event: () => Event18,
13
- ID: () => ID15,
14
- Info: () => Info31,
13
+ ID: () => ID17,
14
+ Info: () => Info32,
15
15
  ProjectSchema: () => exports_schema,
16
16
  UpdateInput: () => UpdateInput4,
17
17
  Vcs: () => Vcs3
18
18
  });
19
19
  import { Schema } from "effect";
20
20
  import { Project } from "@opencode/schema/project";
21
- var ID15 = Project.ID;
21
+ var ID17 = Project.ID;
22
22
  var Current3 = Project.Current;
23
- var Info31 = Project.Info;
23
+ var Info32 = Project.Info;
24
24
  var UpdateInput4 = Project.UpdateInput;
25
25
  var Event18 = Project.Event;
26
26
  var Vcs3 = Schema.Struct({
@@ -28,4 +28,4 @@ var Vcs3 = Schema.Struct({
28
28
  store: AbsolutePath2
29
29
  });
30
30
 
31
- export { ID15, Current3, Info31, UpdateInput4, Event18, Vcs3, exports_schema };
31
+ export { ID17, Current3, Info32, UpdateInput4, Event18, Vcs3, exports_schema };
@@ -1,28 +1,28 @@
1
1
  import {
2
2
  Service82,
3
3
  node86
4
- } from "./location-services-w8m4edh1.js";
4
+ } from "./aisdk-stdq9vyg.js";
5
5
  import {
6
- Service76,
7
- node80
8
- } from "./location-services-7crnfscb.js";
6
+ Service75,
7
+ node79
8
+ } from "./aisdk-nvbzy6sc.js";
9
9
  import {
10
10
  SessionEvent2
11
- } from "./location-services-ec1grn59.js";
11
+ } from "./aisdk-ec1grn59.js";
12
12
  import {
13
- Service68,
14
- node72
15
- } from "./location-services-7knahq77.js";
13
+ Service64,
14
+ node68
15
+ } from "./aisdk-rgwpr805.js";
16
16
  import {
17
17
  __export
18
- } from "./location-services-9rqn6x4v.js";
18
+ } from "./aisdk-9rqn6x4v.js";
19
19
 
20
20
  // src/session/instructions.ts
21
21
  var exports_instructions = {};
22
22
  __export(exports_instructions, {
23
- Service: () => Service11,
23
+ Service: () => Service12,
24
24
  SessionInstructions: () => exports_instructions,
25
- node: () => node13
25
+ node: () => node14
26
26
  });
27
27
  import { relative } from "path";
28
28
  import { Context, Effect, Layer, Option, Ref, Schema } from "effect";
@@ -32,13 +32,13 @@ var InjectedMetadata = Schema.Struct({
32
32
  instruction: Schema.Struct({ paths: Schema.Array(Schema.String) })
33
33
  });
34
34
 
35
- class Service11 extends Context.Service()("@opencode/SessionInstructions") {
35
+ class Service12 extends Context.Service()("@opencode/SessionInstructions") {
36
36
  }
37
- var layer = Layer.effect(Service11, Effect.gen(function* () {
37
+ var layer = Layer.effect(Service12, Effect.gen(function* () {
38
38
  const bus = yield* Service82;
39
39
  const fs = yield* FSUtil.Service;
40
- const store = yield* Service68;
41
- const location = yield* Service76;
40
+ const store = yield* Service64;
41
+ const location = yield* Service75;
42
42
  const root = yield* fs.resolve(location.project.directory);
43
43
  const inFlight = yield* Ref.make(new Map);
44
44
  const load = Effect.fn("SessionInstructions.load")(function* (input) {
@@ -84,7 +84,7 @@ ${file.content}`).join(`
84
84
  return next;
85
85
  })));
86
86
  });
87
- return Service11.of({ load });
87
+ return Service12.of({ load });
88
88
  }));
89
89
  function previouslyInjected(store, sessionID) {
90
90
  return Effect.gen(function* () {
@@ -95,10 +95,10 @@ function previouslyInjected(store, sessionID) {
95
95
  function describePath(root, path) {
96
96
  return FSUtil.contains(root, path) ? relative(root, path) : path;
97
97
  }
98
- var node13 = makeLocationNode({
98
+ var node14 = makeLocationNode({
99
99
  name: "session-instructions",
100
100
  layer,
101
- deps: [node86, FSUtil.node, node80, node72]
101
+ deps: [node86, FSUtil.node, node79, node68]
102
102
  });
103
103
 
104
- export { Service11, node13, exports_instructions };
104
+ export { Service12, node14, exports_instructions };
@@ -1,23 +1,23 @@
1
1
  import {
2
2
  Service82,
3
3
  node86
4
- } from "./location-services-w8m4edh1.js";
4
+ } from "./aisdk-stdq9vyg.js";
5
5
  import {
6
6
  PATCH_CONTEXT_LINES2,
7
7
  MAX_TOTAL_PATCH_BYTES2,
8
8
  emptyPatch2
9
- } from "./location-services-tazgh4e4.js";
9
+ } from "./aisdk-tazgh4e4.js";
10
10
  import {
11
- Service76,
12
- node80
13
- } from "./location-services-7crnfscb.js";
11
+ Service75,
12
+ node79
13
+ } from "./aisdk-nvbzy6sc.js";
14
14
  import {
15
15
  reconcile2,
16
16
  create3
17
- } from "./location-services-rdw6cm16.js";
17
+ } from "./aisdk-rdw6cm16.js";
18
18
  import {
19
19
  __export
20
- } from "./location-services-9rqn6x4v.js";
20
+ } from "./aisdk-9rqn6x4v.js";
21
21
 
22
22
  // src/vcs.ts
23
23
  var exports_vcs = {};
@@ -26,17 +26,17 @@ __export(exports_vcs, {
26
26
  BranchList: () => BranchList2,
27
27
  DiffError: () => DiffError2,
28
28
  FileStatus: () => FileStatus2,
29
- Info: () => Info7,
29
+ Info: () => Info4,
30
30
  Mode: () => Mode2,
31
- Service: () => Service43,
31
+ Service: () => Service17,
32
32
  Vcs: () => exports_vcs,
33
- node: () => node47
33
+ node: () => node20
34
34
  });
35
35
  import path from "path";
36
36
  import { Cause, Context, Effect, FiberSet, Layer, Schema, Semaphore, Stream } from "effect";
37
37
  import { FileDiff } from "@opencode/schema/file-diff";
38
38
  import { FileSystem } from "@opencode/schema/filesystem";
39
- import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info7, Mode as Mode2 } from "@opencode/schema/vcs";
39
+ import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info4, Mode as Mode2 } from "@opencode/schema/vcs";
40
40
  import { VcsEvent } from "@opencode/schema/vcs-event";
41
41
  import { makeLocationNode } from "@opencode/util/effect/app-node";
42
42
  import { FSUtil } from "@opencode/util/fs-util";
@@ -45,11 +45,11 @@ class DiffError2 extends Schema.TaggedError()("Vcs.DiffError", {
45
45
  }) {
46
46
  }
47
47
 
48
- class Service43 extends Context.Service()("@opencode/Vcs") {
48
+ class Service17 extends Context.Service()("@opencode/Vcs") {
49
49
  }
50
- var layer = Layer.effect(Service43, Effect.gen(function* () {
50
+ var layer = Layer.effect(Service17, Effect.gen(function* () {
51
51
  const fs = yield* FSUtil.Service;
52
- const location = yield* Service76;
52
+ const location = yield* Service75;
53
53
  const bus = yield* Service82;
54
54
  const root = yield* Effect.scope;
55
55
  const fork = yield* FiberSet.makeRuntime();
@@ -62,7 +62,7 @@ var layer = Layer.effect(Service43, Effect.gen(function* () {
62
62
  canonical: location.project.canonical,
63
63
  ...vcs ? { store: vcs.store } : {}
64
64
  };
65
- const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info7));
65
+ const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info4));
66
66
  const decodeBase = Schema.decodeUnknownEffect(Schema.NullOr(Base2));
67
67
  const decodeBranches = Schema.decodeUnknownEffect(BranchList2);
68
68
  const decodeStatus = Schema.decodeUnknownEffect(Schema.Array(FileStatus2));
@@ -118,7 +118,7 @@ var layer = Layer.effect(Service43, Effect.gen(function* () {
118
118
  const isBranchMetadata = vcs.type === "git" ? (file) => path.basename(file) === "HEAD" && FSUtil.contains(store, file) : (file) => path.resolve(file) === path.join(store, "branch");
119
119
  yield* bus.subscribe(FileSystem.Event.Changed).pipe(Stream.filter((event) => isBranchMetadata(event.data.file)), Stream.runForEach((event) => refresh().pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logWarning("vcs refresh failed", { file: event.data.file, cause })), Effect.withSpan("Vcs.refreshBranch", { attributes: { file: event.data.file } }))), Effect.forkScoped({ startImmediately: true }));
120
120
  }
121
- return Service43.of({
121
+ return Service17.of({
122
122
  transform: state.transform,
123
123
  reload: state.reload,
124
124
  info: Effect.fn("Vcs.info")(function* () {
@@ -164,10 +164,10 @@ var layer = Layer.effect(Service43, Effect.gen(function* () {
164
164
  })
165
165
  });
166
166
  }));
167
- var node47 = makeLocationNode({
168
- service: Service43,
167
+ var node20 = makeLocationNode({
168
+ service: Service17,
169
169
  layer,
170
- deps: [FSUtil.node, node80, node86]
170
+ deps: [FSUtil.node, node79, node86]
171
171
  });
172
172
 
173
- export { Base2, BranchList2, FileStatus2, Info7, Mode2, DiffError2, Service43, node47, exports_vcs };
173
+ export { Base2, BranchList2, FileStatus2, Info4, Mode2, DiffError2, Service17, node20, exports_vcs };
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  useragent2
3
- } from "./location-services-j41a475f.js";
3
+ } from "./aisdk-fv5cfh7k.js";
4
4
  import {
5
5
  Service82
6
- } from "./location-services-w8m4edh1.js";
6
+ } from "./aisdk-stdq9vyg.js";
7
7
  import {
8
8
  OAuth3,
9
- Event21
10
- } from "./location-services-ydta7ff5.js";
9
+ Event17
10
+ } from "./aisdk-9b2v8ddb.js";
11
11
  import {
12
- ID16,
12
+ ID14,
13
13
  MethodID2
14
- } from "./location-services-f4v42jqx.js";
14
+ } from "./aisdk-0he4gxhe.js";
15
15
  import {
16
16
  which2
17
- } from "./location-services-qaymkmh1.js";
17
+ } from "./aisdk-qaymkmh1.js";
18
18
  import {
19
19
  ID13,
20
20
  mergeOverlay2
21
- } from "./location-services-8habrbe1.js";
21
+ } from "./aisdk-b4p40z3j.js";
22
22
  import {
23
23
  iife2
24
- } from "./location-services-1kg9ymc8.js";
24
+ } from "./aisdk-1kg9ymc8.js";
25
25
  import {
26
26
  configuredSettings2
27
- } from "./location-services-98p7gzxk.js";
27
+ } from "./aisdk-mbw66wwe.js";
28
28
 
29
29
  // src/plugin/provider/azure.ts
30
30
  import { Clock, Effect, Schema, Semaphore, Stream } from "effect";
@@ -161,7 +161,7 @@ var AzurePlugin2 = define({
161
161
  }
162
162
  });
163
163
  const reload = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
164
- yield* bus.subscribe(Event21.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID16.make("azure")), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
164
+ yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("azure")), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
165
165
  const bearer = Effect.fn("AzurePlugin.bearer")(function* (url) {
166
166
  const connection = yield* ctx.integration.connection.active(ID13.azure);
167
167
  const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
@@ -1,27 +1,27 @@
1
1
  import {
2
2
  Service82
3
- } from "./location-services-w8m4edh1.js";
3
+ } from "./aisdk-stdq9vyg.js";
4
4
  import {
5
- Service47,
6
- Event10
7
- } from "./location-services-93c99t7r.js";
5
+ Service79,
6
+ Event20
7
+ } from "./aisdk-v1qmp7wq.js";
8
8
  import {
9
9
  __export
10
- } from "./location-services-9rqn6x4v.js";
10
+ } from "./aisdk-9rqn6x4v.js";
11
11
 
12
12
  // src/wellknown/plugin.ts
13
13
  var exports_plugin = {};
14
14
  __export(exports_plugin, {
15
- Plugin: () => Plugin20,
15
+ Plugin: () => Plugin2,
16
16
  WellKnownPlugin: () => exports_plugin
17
17
  });
18
18
  import { define } from "@opencode/plugin/effect/plugin";
19
19
  import { Effect, Stream } from "effect";
20
- var Plugin20 = define({
20
+ var Plugin2 = define({
21
21
  id: "opencode.wellknown",
22
22
  effect: Effect.fn(function* (ctx) {
23
23
  const bus = yield* Service82;
24
- const wellknown = yield* Service47;
24
+ const wellknown = yield* Service79;
25
25
  yield* wellknown.entries().pipe(Effect.orDie);
26
26
  yield* ctx.integration.transform((editor) => {
27
27
  wellknown.snapshot().forEach((entry) => {
@@ -41,8 +41,8 @@ var Plugin20 = define({
41
41
  });
42
42
  });
43
43
  });
44
- yield* bus.subscribe(Event10.Updated).pipe(Stream.runForEach(() => ctx.integration.reload()), Effect.forkScoped({ startImmediately: true }));
44
+ yield* bus.subscribe(Event20.Updated).pipe(Stream.runForEach(() => ctx.integration.reload()), Effect.forkScoped({ startImmediately: true }));
45
45
  })
46
46
  });
47
47
 
48
- export { Plugin20, exports_plugin };
48
+ export { Plugin2, exports_plugin };