@opencode/core 0.0.0-dev-19646 → 0.0.0-dev-19648

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 (789) 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 +7 -7
  6. package/dist/bus.js +68 -68
  7. package/dist/chunks/{location-services-xpqk3eh0.js → reference-0045qx7c.js} +44 -44
  8. package/dist/chunks/{location-services-je647k4c.js → reference-02qvqdkf.js} +12 -12
  9. package/dist/chunks/{location-services-4cb531x0.js → reference-03b5bxzy.js} +15 -15
  10. package/dist/chunks/{location-services-ryaverbc.js → reference-0n7seg06.js} +10 -10
  11. package/dist/chunks/{location-services-0paq2nw3.js → reference-0paq2nw3.js} +1 -1
  12. package/dist/chunks/{location-services-0q0f95c6.js → reference-0q0f95c6.js} +1 -1
  13. package/dist/chunks/{location-services-rwejf1ab.js → reference-0rq8bjrt.js} +9 -9
  14. package/dist/chunks/{location-services-yaw0dvfn.js → reference-10c8x8f6.js} +38 -38
  15. package/dist/chunks/{location-services-escff1en.js → reference-134kf2wt.js} +25 -25
  16. package/dist/chunks/{location-services-vk829m9g.js → reference-14k51jca.js} +15 -15
  17. package/dist/chunks/{location-services-y25vqx85.js → reference-14mggxhb.js} +28 -28
  18. package/dist/chunks/{location-services-1bbkgx8g.js → reference-1bbkgx8g.js} +1 -1
  19. package/dist/chunks/{location-services-1dazxqgg.js → reference-1dazxqgg.js} +2 -2
  20. package/dist/chunks/{location-services-deadhj81.js → reference-1h7fvzqe.js} +17 -17
  21. package/dist/chunks/{location-services-bvf11d5q.js → reference-1hmm269h.js} +6 -6
  22. package/dist/chunks/{location-services-1v6wmkfd.js → reference-1jfn0zqb.js} +12 -12
  23. package/dist/chunks/{location-services-a4w185c3.js → reference-1k5by4aq.js} +40 -40
  24. package/dist/chunks/{location-services-rf569v5d.js → reference-1vp1f7c9.js} +6 -6
  25. package/dist/chunks/{location-services-21r38tys.js → reference-21r38tys.js} +1 -1
  26. package/dist/chunks/{location-services-n8bvb90d.js → reference-25ksdg08.js} +10 -10
  27. package/dist/chunks/{location-services-np7skr3v.js → reference-27wf16dy.js} +9 -9
  28. package/dist/chunks/{location-services-2a5m3afh.js → reference-2a5m3afh.js} +1 -1
  29. package/dist/chunks/{location-services-fvsy7c6q.js → reference-2c609f5b.js} +23 -23
  30. package/dist/chunks/{location-services-zgxes4ak.js → reference-2dqx1b4a.js} +5 -5
  31. package/dist/chunks/{location-services-57ez7d0k.js → reference-2fgn2we9.js} +9 -9
  32. package/dist/chunks/{location-services-w3krsc1n.js → reference-2k7rez0t.js} +10 -10
  33. package/dist/chunks/{location-services-sp39rzf0.js → reference-2m4s448y.js} +23 -23
  34. package/dist/chunks/{location-services-ywfgr7ts.js → reference-2tn7d7pp.js} +14 -14
  35. package/dist/chunks/{location-services-v3b6g8zk.js → reference-32kve5rw.js} +20 -20
  36. package/dist/chunks/{location-services-gc2d77n3.js → reference-36gw4j2m.js} +26 -26
  37. package/dist/chunks/{location-services-3fc6dm20.js → reference-3fc6dm20.js} +1 -1
  38. package/dist/chunks/{location-services-g8pq9weq.js → reference-3fr1jb2b.js} +22 -22
  39. package/dist/chunks/{location-services-adt7kv3m.js → reference-3h9hgzm4.js} +3 -3
  40. package/dist/chunks/{location-services-3hepkmqq.js → reference-3hepkmqq.js} +1 -1
  41. package/dist/chunks/{location-services-3smtnn6g.js → reference-3smtnn6g.js} +1 -1
  42. package/dist/chunks/{location-services-3tvqynh2.js → reference-3tvqynh2.js} +1 -1
  43. package/dist/chunks/{location-services-bdqj2w6e.js → reference-3wyww8w1.js} +19 -19
  44. package/dist/chunks/{location-services-kz603ydr.js → reference-3xne0rkq.js} +32 -32
  45. package/dist/chunks/{location-services-zv3d04tz.js → reference-3xvzxc70.js} +27 -27
  46. package/dist/chunks/{location-services-j4nftgh5.js → reference-40zbstrq.js} +8 -8
  47. package/dist/chunks/{location-services-nq7qqy46.js → reference-44faxhpp.js} +25 -25
  48. package/dist/chunks/{location-services-h3vnthrd.js → reference-44xq9en3.js} +10 -10
  49. package/dist/chunks/{location-services-qwjmgwmn.js → reference-4e8vs6eh.js} +8 -8
  50. package/dist/chunks/{location-services-6rybd781.js → reference-4jc5c4h4.js} +1 -1
  51. package/dist/chunks/{location-services-5gg6f7ne.js → reference-4r69v978.js} +24 -24
  52. package/dist/chunks/{location-services-68fytkrv.js → reference-4s1yk193.js} +29 -29
  53. package/dist/chunks/{location-services-v7yf89ty.js → reference-4t6jmgq9.js} +33 -33
  54. package/dist/chunks/{location-services-v75vanfq.js → reference-51qrhgsb.js} +91 -91
  55. package/dist/chunks/{location-services-jcrjmqjq.js → reference-52r7d24f.js} +9 -9
  56. package/dist/chunks/{location-services-nqm4p04r.js → reference-5ap9q5kf.js} +32 -32
  57. package/dist/chunks/{location-services-cwa6csj7.js → reference-5d607bsg.js} +9 -9
  58. package/dist/chunks/{location-services-5daktx2q.js → reference-5daktx2q.js} +1 -1
  59. package/dist/chunks/{location-services-rnk60ejx.js → reference-5erzqq8j.js} +10 -10
  60. package/dist/chunks/{location-services-781n25pw.js → reference-5ffjw098.js} +11 -11
  61. package/dist/chunks/{location-services-5t3nmthw.js → reference-5t3nmthw.js} +2 -2
  62. package/dist/chunks/{location-services-2rrz687z.js → reference-5x1bh28b.js} +16 -16
  63. package/dist/chunks/{location-services-azqhcxjd.js → reference-604ftt35.js} +5 -5
  64. package/dist/chunks/{location-services-gk2jh81v.js → reference-61gxz8zw.js} +11 -11
  65. package/dist/chunks/{location-services-669tq793.js → reference-669tq793.js} +1 -1
  66. package/dist/chunks/{location-services-8y62cfgq.js → reference-6h3wybc7.js} +6 -6
  67. package/dist/chunks/{location-services-6h73sxmp.js → reference-6h73sxmp.js} +1 -1
  68. package/dist/chunks/{location-services-6msgmcgs.js → reference-6msgmcgs.js} +1 -1
  69. package/dist/chunks/{location-services-ezrbh4zz.js → reference-6pwhbvw4.js} +18 -18
  70. package/dist/chunks/{location-services-atqsbchn.js → reference-6r5g6tjt.js} +6 -6
  71. package/dist/chunks/reference-6rqqxte6.js +478 -0
  72. package/dist/chunks/{location-services-7ac170kv.js → reference-6tt5evqq.js} +4 -4
  73. package/dist/chunks/{location-services-hdvwcw0z.js → reference-71y3sgmq.js} +64 -64
  74. package/dist/chunks/{location-services-7bmhse3q.js → reference-7bmhse3q.js} +1 -1
  75. package/dist/chunks/{location-services-d5mtgc27.js → reference-7f3re3ee.js} +32 -32
  76. package/dist/chunks/{location-services-y66019s9.js → reference-7gjg976t.js} +14 -14
  77. package/dist/chunks/{location-services-aj9pnh4n.js → reference-865g0eh4.js} +11 -11
  78. package/dist/chunks/{location-services-8d7r5vzw.js → reference-8d7r5vzw.js} +1 -1
  79. package/dist/chunks/{location-services-dj2t23y0.js → reference-8p4f9s12.js} +2 -2
  80. package/dist/chunks/{location-services-tbp620s5.js → reference-8p8s83ww.js} +28 -28
  81. package/dist/chunks/{location-services-82zyvcah.js → reference-8srhhvcs.js} +11 -11
  82. package/dist/chunks/{location-services-vhyp5dk4.js → reference-8t7r2jb8.js} +16 -16
  83. package/dist/chunks/{location-services-gr09cxn6.js → reference-8t83zea3.js} +13 -13
  84. package/dist/chunks/{location-services-gp57js1t.js → reference-8ynznrcf.js} +179 -179
  85. package/dist/chunks/{location-services-h6r3nrb9.js → reference-8z00fdkb.js} +4 -4
  86. package/dist/chunks/{location-services-g3kb93e8.js → reference-93cvdxb3.js} +13 -13
  87. package/dist/chunks/{location-services-z59fwxgv.js → reference-95mgk45z.js} +5 -5
  88. package/dist/chunks/{location-services-yebec9g6.js → reference-981b0br5.js} +12 -12
  89. package/dist/chunks/{location-services-hg2ajb6b.js → reference-9fkctmz4.js} +4 -4
  90. package/dist/chunks/{location-services-myjt55zq.js → reference-9w2869zr.js} +18 -18
  91. package/dist/chunks/{location-services-f068e6wh.js → reference-9y4077kg.js} +46 -46
  92. package/dist/chunks/{location-services-5c4hm403.js → reference-a1bz86dw.js} +3 -3
  93. package/dist/chunks/{location-services-nb0n8t9k.js → reference-aa2skrxv.js} +11 -11
  94. package/dist/chunks/{location-services-aaet6srn.js → reference-aaet6srn.js} +2 -2
  95. package/dist/chunks/{location-services-yx32magx.js → reference-abm9hpd7.js} +33 -33
  96. package/dist/chunks/{location-services-pa0gt5x9.js → reference-arecezhq.js} +24 -24
  97. package/dist/chunks/{location-services-xc3sk8sy.js → reference-b342pyrz.js} +35 -35
  98. package/dist/chunks/{location-services-v4nysbcg.js → reference-b3x7keah.js} +1 -1
  99. package/dist/chunks/{location-services-gf19svat.js → reference-b68c1mkf.js} +4 -4
  100. package/dist/chunks/{location-services-b6gygkdw.js → reference-b6gygkdw.js} +2 -2
  101. package/dist/chunks/{location-services-wsd1ss6t.js → reference-b9qa799g.js} +53 -53
  102. package/dist/chunks/{location-services-ydtevv15.js → reference-bhhrrwb2.js} +22 -22
  103. package/dist/chunks/{location-services-s6zy68bd.js → reference-bhmgakb5.js} +5 -5
  104. package/dist/chunks/{location-services-e5nv3ght.js → reference-bndc73cn.js} +5 -5
  105. package/dist/chunks/{location-services-1f98cwtd.js → reference-c1fv4dkx.js} +51 -51
  106. package/dist/chunks/{location-services-2bmpyzcd.js → reference-c5pd54gy.js} +8 -8
  107. package/dist/chunks/{location-services-ybkzn9j1.js → reference-cdada34a.js} +25 -25
  108. package/dist/chunks/{location-services-bvjrvzat.js → reference-cex7s4hh.js} +15 -15
  109. package/dist/chunks/{location-services-m0jqrx5p.js → reference-cfpkc3c9.js} +2 -2
  110. package/dist/chunks/{location-services-2q8hmj7g.js → reference-chzjgv92.js} +17 -17
  111. package/dist/chunks/{location-services-mcfrtzmy.js → reference-cxgjevne.js} +5 -5
  112. package/dist/chunks/{location-services-ep9bxrrg.js → reference-cxt45380.js} +9 -9
  113. package/dist/chunks/{location-services-fqnmpcgq.js → reference-d3vn7cdf.js} +10 -10
  114. package/dist/chunks/{location-services-netmb1kz.js → reference-d4w8kf3r.js} +20 -20
  115. package/dist/chunks/{location-services-e1a1pwhq.js → reference-d8c7rh5j.js} +17 -17
  116. package/dist/chunks/{location-services-y1xhwned.js → reference-dhgpazgq.js} +13 -13
  117. package/dist/chunks/{location-services-1p39h8sh.js → reference-djakxvzp.js} +32 -32
  118. package/dist/chunks/{location-services-6kkxyhkv.js → reference-dkbfs573.js} +4 -4
  119. package/dist/chunks/{location-services-28tn16s0.js → reference-dr0vfmy3.js} +32 -32
  120. package/dist/chunks/{location-services-bbpz3t8j.js → reference-drfaqnzf.js} +7 -7
  121. package/dist/chunks/{location-services-xfkkasph.js → reference-drwq78ky.js} +4 -4
  122. package/dist/chunks/{location-services-p3ayzxyn.js → reference-e3r06aex.js} +12 -12
  123. package/dist/chunks/{location-services-7xspgfqj.js → reference-e9djx9ep.js} +15 -15
  124. package/dist/chunks/{location-services-ef5x83kb.js → reference-ef5x83kb.js} +1 -1
  125. package/dist/chunks/{location-services-yv65nh8h.js → reference-ekj9s94f.js} +20 -20
  126. package/dist/chunks/{location-services-ph4cn991.js → reference-emh2q5yj.js} +13 -13
  127. package/dist/chunks/{location-services-1ch5qaya.js → reference-enc3c1en.js} +12 -12
  128. package/dist/chunks/{location-services-etq0c3wd.js → reference-etq0c3wd.js} +1 -1
  129. package/dist/chunks/{location-services-gwns8bgm.js → reference-ezgzkxar.js} +35 -35
  130. package/dist/chunks/{location-services-5n4xgvhz.js → reference-f4w1sefg.js} +18 -18
  131. package/dist/chunks/{location-services-evfh7863.js → reference-f7ta5rfa.js} +32 -32
  132. package/dist/chunks/{location-services-hdnk95c8.js → reference-f828m53h.js} +2 -2
  133. package/dist/chunks/{location-services-dkt3e60b.js → reference-fcymrbm6.js} +4 -4
  134. package/dist/chunks/{location-services-yvnj23bv.js → reference-fpw6v5x5.js} +3 -3
  135. package/dist/chunks/{location-services-xgyv9tjv.js → reference-fpxser7j.js} +7 -7
  136. package/dist/chunks/{location-services-fxbjtjnd.js → reference-fxbjtjnd.js} +1 -1
  137. package/dist/chunks/{location-services-keat3kjn.js → reference-fyymr9xg.js} +4 -4
  138. package/dist/chunks/{location-services-2et47t4y.js → reference-g1823667.js} +15 -15
  139. package/dist/chunks/{location-services-s5vpnh3h.js → reference-g34hxex7.js} +11 -11
  140. package/dist/chunks/{location-services-m91p7e2t.js → reference-g3y70r00.js} +18 -18
  141. package/dist/chunks/{location-services-hcp4grc4.js → reference-g5a5y1mz.js} +36 -36
  142. package/dist/chunks/{location-services-1sxjw9hv.js → reference-g6kf3b8w.js} +22 -22
  143. package/dist/chunks/{location-services-gd4qta3r.js → reference-gd4qta3r.js} +1 -1
  144. package/dist/chunks/{location-services-139zgem4.js → reference-gj9znxmq.js} +11 -11
  145. package/dist/chunks/{location-services-s7tseabv.js → reference-gmffswna.js} +4 -4
  146. package/dist/chunks/{location-services-gv6a8nnw.js → reference-gv6a8nnw.js} +2 -2
  147. package/dist/chunks/{location-services-h03wrkyp.js → reference-h03wrkyp.js} +2 -2
  148. package/dist/chunks/{location-services-h6vf3j39.js → reference-h6vf3j39.js} +1 -1
  149. package/dist/chunks/reference-h7tfxyx6.js +26 -0
  150. package/dist/chunks/{location-services-39rqm1tv.js → reference-h8bmxzy2.js} +43 -43
  151. package/dist/chunks/{location-services-ff0svapt.js → reference-hkagk5ex.js} +2 -2
  152. package/dist/chunks/{location-services-fc1cjeqt.js → reference-hw1bdftb.js} +7 -7
  153. package/dist/chunks/{location-services-gx0vxm5t.js → reference-hwgr52re.js} +30 -30
  154. package/dist/chunks/reference-hxa7m5za.js +4 -0
  155. package/dist/chunks/{location-services-t4x8ybjh.js → reference-j18tycq9.js} +3 -3
  156. package/dist/chunks/{location-services-j56e64zr.js → reference-j56e64zr.js} +1 -1
  157. package/dist/chunks/{location-services-em227t39.js → reference-jdpkqg09.js} +20 -20
  158. package/dist/chunks/{location-services-1qghmjy0.js → reference-jemfgm91.js} +6 -6
  159. package/dist/chunks/{location-services-avjf5276.js → reference-jm6dm3k4.js} +14 -14
  160. package/dist/chunks/{location-services-djrp4qhb.js → reference-jpaa4kn2.js} +26 -26
  161. package/dist/chunks/{location-services-8ks451pa.js → reference-jpmxzj60.js} +27 -27
  162. package/dist/chunks/{location-services-f3ngv102.js → reference-jw80jp6b.js} +4 -4
  163. package/dist/chunks/{location-services-m91gvp7t.js → reference-k18ytf7m.js} +6 -6
  164. package/dist/chunks/{location-services-76v7th7s.js → reference-k2ednzn6.js} +15 -15
  165. package/dist/chunks/{location-services-wk8kxcxf.js → reference-kbnzd5ek.js} +20 -20
  166. package/dist/chunks/{location-services-pg1wgx4z.js → reference-kmnkk0k6.js} +6 -6
  167. package/dist/chunks/{location-services-k9kj6xed.js → reference-knb7evpn.js} +6 -6
  168. package/dist/chunks/{location-services-r9w3djhf.js → reference-kp8q1t60.js} +9 -9
  169. package/dist/chunks/{location-services-kgfzjyt4.js → reference-kvkwxqvc.js} +9 -9
  170. package/dist/chunks/{location-services-5cq9r6wf.js → reference-kvqct8d7.js} +19 -19
  171. package/dist/chunks/{location-services-j15mfg1p.js → reference-kxpygcw9.js} +6 -6
  172. package/dist/chunks/{location-services-6x40s7vz.js → reference-kxw0p7t7.js} +4 -4
  173. package/dist/chunks/{location-services-kktnm5cw.js → reference-m3agvr0s.js} +11 -11
  174. package/dist/chunks/{location-services-rmm45jmv.js → reference-m64xvjj1.js} +5 -5
  175. package/dist/chunks/{location-services-nyfcz8dg.js → reference-m8ejta5g.js} +3 -3
  176. package/dist/chunks/{location-services-yjt0sm5p.js → reference-m8zkp0x2.js} +54 -54
  177. package/dist/chunks/{location-services-m9w0rfyh.js → reference-m9w0rfyh.js} +1 -1
  178. package/dist/chunks/{location-services-g6hxn58d.js → reference-mahgktyj.js} +33 -33
  179. package/dist/chunks/{location-services-33w4ejhs.js → reference-mfqp6xfm.js} +9 -9
  180. package/dist/chunks/{location-services-w7e82c7b.js → reference-mp9pavxw.js} +4 -4
  181. package/dist/chunks/{location-services-w21bzq9q.js → reference-mrvjcs5x.js} +6 -6
  182. package/dist/chunks/{location-services-hpfvhvya.js → reference-ms93yq6r.js} +8 -8
  183. package/dist/chunks/{location-services-7b6g25ep.js → reference-mvfq7z39.js} +6 -6
  184. package/dist/chunks/{location-services-cdbhm1yn.js → reference-n1ytvyqk.js} +13 -13
  185. package/dist/chunks/{location-services-z7wrdhz3.js → reference-n396qpd7.js} +5 -5
  186. package/dist/chunks/{location-services-dt2x0zh0.js → reference-n76hx912.js} +8 -8
  187. package/dist/chunks/{location-services-hjhsnn6c.js → reference-nawp3sa8.js} +17 -17
  188. package/dist/chunks/{location-services-6bsje7ws.js → reference-ndmv45hp.js} +3 -3
  189. package/dist/chunks/{location-services-7w3s9kd0.js → reference-ndqtf2h8.js} +6 -6
  190. package/dist/chunks/{location-services-s4mk8tc4.js → reference-ndska8nx.js} +18 -18
  191. package/dist/chunks/{location-services-269f66cv.js → reference-ngads3cw.js} +1 -1
  192. package/dist/chunks/{location-services-s2y6tv1r.js → reference-nm61wxq0.js} +7 -7
  193. package/dist/chunks/{location-services-xsn4scgh.js → reference-nm88qpht.js} +13 -13
  194. package/dist/chunks/{location-services-24dd53tp.js → reference-nq7qbqzc.js} +9 -9
  195. package/dist/chunks/{location-services-yzvbtrh0.js → reference-nvt68vec.js} +20 -20
  196. package/dist/chunks/{location-services-v8r25ppc.js → reference-p10yth8x.js} +11 -11
  197. package/dist/chunks/{location-services-5yzzbxa7.js → reference-p37cw4rj.js} +8 -8
  198. package/dist/chunks/{location-services-vs7hrzt9.js → reference-pdfyt4tn.js} +11 -11
  199. package/dist/chunks/{location-services-0f9afca0.js → reference-pecb0brz.js} +5 -5
  200. package/dist/chunks/reference-phz3h32g.js +18 -0
  201. package/dist/chunks/{location-services-0jr2e6y1.js → reference-pj5amqmw.js} +21 -21
  202. package/dist/chunks/{location-services-pjvnvgmy.js → reference-pjvnvgmy.js} +1 -1
  203. package/dist/chunks/{location-services-3s77hqr9.js → reference-pk5sdxey.js} +11 -11
  204. package/dist/chunks/{location-services-pknna89w.js → reference-pknna89w.js} +1 -1
  205. package/dist/chunks/{location-services-3d4q28mx.js → reference-ppn8xss7.js} +3 -3
  206. package/dist/chunks/{location-services-xqfzcbkh.js → reference-pz21jr5g.js} +13 -13
  207. package/dist/chunks/{location-services-b2frq1xf.js → reference-q9g8rvr0.js} +15 -15
  208. package/dist/chunks/{location-services-b27vhd2z.js → reference-qa3qhgw8.js} +4 -4
  209. package/dist/chunks/{location-services-0jwsre1p.js → reference-qgn6gcr1.js} +5 -5
  210. package/dist/chunks/{location-services-gx3sq1pv.js → reference-qmbakkq8.js} +21 -21
  211. package/dist/chunks/{location-services-qsdy395h.js → reference-qsdy395h.js} +1 -1
  212. package/dist/chunks/{location-services-vzh6wn7r.js → reference-qv6jaz9v.js} +4 -4
  213. package/dist/chunks/reference-qw05y2jm.js +247 -0
  214. package/dist/chunks/{location-services-r9mregkx.js → reference-r9mregkx.js} +2 -2
  215. package/dist/chunks/{location-services-rdw6cm16.js → reference-rdw6cm16.js} +1 -1
  216. package/dist/chunks/{location-services-c09q68jz.js → reference-rh3h661e.js} +2 -2
  217. package/dist/chunks/{location-services-ct1qeewn.js → reference-rv9pf5qx.js} +89 -89
  218. package/dist/chunks/{location-services-1y4p7nrp.js → reference-s1vw05sc.js} +9 -9
  219. package/dist/chunks/{location-services-vy7zhves.js → reference-s87jav8w.js} +30 -30
  220. package/dist/chunks/{location-services-s8d7rejh.js → reference-s8d7rejh.js} +1 -1
  221. package/dist/chunks/{location-services-6hbnmab1.js → reference-sa7v3xbp.js} +5 -5
  222. package/dist/chunks/{location-services-t408tbvg.js → reference-sbn35ts9.js} +26 -26
  223. package/dist/chunks/{location-services-bzq0czea.js → reference-shr2sdsm.js} +23 -23
  224. package/dist/chunks/{location-services-10ggzwzy.js → reference-spt16dfm.js} +30 -30
  225. package/dist/chunks/{location-services-tm1heg02.js → reference-swvnyk58.js} +8 -8
  226. package/dist/chunks/{location-services-atrbvfby.js → reference-sxmp26qp.js} +13 -13
  227. package/dist/chunks/{location-services-dfe8djrf.js → reference-t9zs3egg.js} +4 -4
  228. package/dist/chunks/{location-services-tazgh4e4.js → reference-tazgh4e4.js} +1 -1
  229. package/dist/chunks/{location-services-tcezcvh9.js → reference-tcezcvh9.js} +1 -1
  230. package/dist/chunks/{location-services-ne66tkmq.js → reference-td40qxmx.js} +21 -21
  231. package/dist/chunks/{location-services-tdstcens.js → reference-tdstcens.js} +1 -1
  232. package/dist/chunks/{location-services-h0v62rke.js → reference-tkbt61sv.js} +41 -41
  233. package/dist/chunks/{location-services-zmw5anwf.js → reference-tnt42qtz.js} +11 -11
  234. package/dist/chunks/{location-services-tvtrv512.js → reference-tvtrv512.js} +1 -1
  235. package/dist/chunks/{location-services-3w2b2yj4.js → reference-tz2bjj40.js} +5 -5
  236. package/dist/chunks/{location-services-1rzrj0t8.js → reference-v3d30ngf.js} +15 -15
  237. package/dist/chunks/{location-services-veqvce7d.js → reference-veqvce7d.js} +1 -1
  238. package/dist/chunks/{location-services-167waerb.js → reference-vgfjjsrb.js} +5 -5
  239. package/dist/chunks/{location-services-b9txhqnf.js → reference-vrg0y3vt.js} +24 -24
  240. package/dist/chunks/{location-services-a36t319h.js → reference-vttrqb4n.js} +8 -8
  241. package/dist/chunks/{location-services-kht76ygp.js → reference-vtwtbqc7.js} +5 -5
  242. package/dist/chunks/{location-services-vzcthcp8.js → reference-vzcthcp8.js} +1 -1
  243. package/dist/chunks/{location-services-rsdf2nvv.js → reference-w1k39n5e.js} +4 -4
  244. package/dist/chunks/{location-services-btnc3pk1.js → reference-w1rs9k2x.js} +25 -25
  245. package/dist/chunks/{location-services-w3wsvvr9.js → reference-w3wsvvr9.js} +1 -1
  246. package/dist/chunks/{location-services-mp6drm3w.js → reference-w5eb0z32.js} +3 -3
  247. package/dist/chunks/{location-services-e9qsksz7.js → reference-w94zwhkx.js} +46 -46
  248. package/dist/chunks/{location-services-qn4ba14w.js → reference-wbkyxrgf.js} +5 -5
  249. package/dist/chunks/{location-services-wd87259q.js → reference-wd87259q.js} +1 -1
  250. package/dist/chunks/{location-services-nqh98rja.js → reference-wn7brba8.js} +23 -23
  251. package/dist/chunks/{location-services-x1ezjp6w.js → reference-x1ezjp6w.js} +1 -1
  252. package/dist/chunks/{location-services-kv9e5br2.js → reference-x9dg854n.js} +9 -9
  253. package/dist/chunks/{location-services-fbqqrxjq.js → reference-xa5y1v1s.js} +47 -47
  254. package/dist/chunks/{location-services-mfe713bv.js → reference-xcm12kff.js} +8 -8
  255. package/dist/chunks/{location-services-fr6z3a7g.js → reference-xkp3n9nh.js} +15 -15
  256. package/dist/chunks/{location-services-t7n9q6bq.js → reference-xw0r27ex.js} +4 -4
  257. package/dist/chunks/{location-services-yz88ab0y.js → reference-xwn03wp9.js} +9 -9
  258. package/dist/chunks/{location-services-2fajfwx1.js → reference-xx83pe84.js} +9 -9
  259. package/dist/chunks/{location-services-b3frasm9.js → reference-xye9w2dv.js} +10 -10
  260. package/dist/chunks/{location-services-zszn2v6m.js → reference-y0w5bt7m.js} +36 -36
  261. package/dist/chunks/{location-services-st5ykjtm.js → reference-y15fhebr.js} +17 -17
  262. package/dist/chunks/{location-services-y1fvbwt7.js → reference-y1fvbwt7.js} +1 -1
  263. package/dist/chunks/{location-services-f4rta1r6.js → reference-y61jd4yh.js} +5 -5
  264. package/dist/chunks/{location-services-5pgkrn72.js → reference-y64wkpzd.js} +5 -5
  265. package/dist/chunks/{location-services-dpkg50ah.js → reference-y71avatq.js} +4 -4
  266. package/dist/chunks/{location-services-mthvd3x6.js → reference-y8r82tqy.js} +14 -14
  267. package/dist/chunks/{location-services-1dnbpee6.js → reference-ycqmpjnx.js} +13 -13
  268. package/dist/chunks/{location-services-rq2ev7pp.js → reference-yejsh80d.js} +29 -29
  269. package/dist/chunks/{location-services-y8saezta.js → reference-ynhtccz1.js} +43 -43
  270. package/dist/chunks/{location-services-1acjjqhc.js → reference-yp2x3t23.js} +4 -4
  271. package/dist/chunks/{location-services-hc9acsgr.js → reference-ypx73geg.js} +5 -5
  272. package/dist/chunks/{location-services-yrhqyw5v.js → reference-yrhqyw5v.js} +1 -1
  273. package/dist/chunks/{location-services-yrznvahk.js → reference-yrznvahk.js} +2 -2
  274. package/dist/chunks/{location-services-z0bkrqjs.js → reference-z0bkrqjs.js} +1 -1
  275. package/dist/chunks/{location-services-z63w68vq.js → reference-z63w68vq.js} +2 -2
  276. package/dist/chunks/{location-services-2bah9vp1.js → reference-z9bkweyj.js} +20 -20
  277. package/dist/chunks/{location-services-12q1t22t.js → reference-zd2jvyct.js} +20 -20
  278. package/dist/chunks/{location-services-zeh9ct20.js → reference-zeh9ct20.js} +2 -2
  279. package/dist/chunks/{location-services-70kjx1n8.js → reference-zf2x6a7d.js} +24 -24
  280. package/dist/chunks/{location-services-s5gt9c9b.js → reference-zfhw6n37.js} +7 -7
  281. package/dist/chunks/{location-services-k5ynfrnd.js → reference-znz75wx4.js} +15 -15
  282. package/dist/chunks/{location-services-zr2ceqn5.js → reference-zr2ceqn5.js} +1 -1
  283. package/dist/chunks/{location-services-zxq2ej10.js → reference-zxq2ej10.js} +1 -1
  284. package/dist/chunks/{location-services-rrmvx1xt.js → reference-zyaqxzpp.js} +18 -18
  285. package/dist/chunks/{location-services-srt412n5.js → reference-zyghnjwz.js} +4 -4
  286. package/dist/codemode/catalog.js +1 -1
  287. package/dist/codemode/instructions.js +7 -7
  288. package/dist/codemode/tool.js +2 -2
  289. package/dist/command.js +76 -76
  290. package/dist/config/discovery.js +81 -81
  291. package/dist/config/markdown.js +1 -1
  292. package/dist/config/normalize.js +105 -105
  293. package/dist/config/plugin/agent.js +124 -124
  294. package/dist/config/plugin/command.js +212 -212
  295. package/dist/config/plugin/compaction.js +158 -158
  296. package/dist/config/plugin/compatibility.js +140 -140
  297. package/dist/config/plugin/entry-observer.js +1 -1
  298. package/dist/config/plugin/formatter.js +123 -123
  299. package/dist/config/plugin/image.js +122 -122
  300. package/dist/config/plugin/instruction.js +89 -89
  301. package/dist/config/plugin/location-watcher.js +124 -124
  302. package/dist/config/plugin/mcp.js +131 -131
  303. package/dist/config/plugin/policy.js +122 -122
  304. package/dist/config/plugin/provider.js +122 -122
  305. package/dist/config/plugin/reference.js +124 -124
  306. package/dist/config/plugin/shell.js +124 -124
  307. package/dist/config/plugin/skill-file.js +101 -101
  308. package/dist/config/plugin/skill.js +143 -143
  309. package/dist/config/plugin/snapshot.js +122 -122
  310. package/dist/config/plugin/source.js +125 -125
  311. package/dist/config/plugin/tool-output.js +124 -124
  312. package/dist/config/plugin/websearch.js +123 -123
  313. package/dist/config/plugin/worktree.js +124 -124
  314. package/dist/config/variable.js +3 -3
  315. package/dist/config/watch.js +1 -1
  316. package/dist/config.js +127 -127
  317. package/dist/credential/sql.js +2 -2
  318. package/dist/credential.js +82 -82
  319. package/dist/database/database.js +65 -65
  320. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  321. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  322. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  323. package/dist/database/drizzle/index.js +15 -15
  324. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  327. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  328. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  329. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  330. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  334. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  335. package/dist/database/drizzle.js +16 -16
  336. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  337. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  338. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  339. package/dist/database/migration/20260225215848_workspace.js +1 -1
  340. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  341. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  342. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  343. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  344. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  345. package/dist/database/migration/20260323234822_events.js +1 -1
  346. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  347. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  348. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  349. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  350. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  351. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  352. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  353. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  354. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  355. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  356. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  357. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  358. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  359. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  360. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  361. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  362. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  363. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  364. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  365. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  366. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  367. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  368. package/dist/database/migration/20260611035744_credential.js +1 -1
  369. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  370. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  371. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  372. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  373. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  374. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  375. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  376. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  377. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  378. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  379. package/dist/database/migration/20260812213948_worktree.js +1 -1
  380. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  381. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  382. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  383. package/dist/database/migration.gen.js +48 -48
  384. package/dist/database/migration.js +50 -50
  385. package/dist/database/path.js +2 -2
  386. package/dist/database/schema.gen.js +1 -1
  387. package/dist/database/schema.sql.js +1 -1
  388. package/dist/database/sqlite.bun.js +1 -1
  389. package/dist/database/sqlite.js +1 -1
  390. package/dist/database/sqlite.node.js +1 -1
  391. package/dist/database/sqlite.workerd.js +1 -1
  392. package/dist/database/v1-migration.bun.js +75 -75
  393. package/dist/database/v1-migration.js +1 -1
  394. package/dist/effect/app-node-builder.js +364 -364
  395. package/dist/effect/app-node-platform.js +2 -2
  396. package/dist/effect/keyed-mutex.js +3 -3
  397. package/dist/effect/websocket-constructor.js +1 -1
  398. package/dist/environment/driver.js +1 -1
  399. package/dist/environment/environment.js +92 -92
  400. package/dist/environment/exec-defaults.js +2 -2
  401. package/dist/environment/files.js +1 -1
  402. package/dist/environment/index.js +94 -94
  403. package/dist/environment/local.js +2 -2
  404. package/dist/environment/memory.js +2 -2
  405. package/dist/environment/unavailable.js +1 -1
  406. package/dist/event/sql.js +1 -1
  407. package/dist/event-logger.js +69 -69
  408. package/dist/file-access.js +103 -103
  409. package/dist/file-mutation.js +93 -93
  410. package/dist/file-retention.js +1 -1
  411. package/dist/file.js +1 -1
  412. package/dist/filesystem/fff.bun.js +2 -2
  413. package/dist/filesystem/fff.js +1 -1
  414. package/dist/filesystem/fff.node.js +2 -2
  415. package/dist/filesystem/fff.workerd.js +2 -2
  416. package/dist/filesystem/ignore.js +1 -1
  417. package/dist/filesystem/location-watcher-policy.js +6 -6
  418. package/dist/filesystem/location-watcher.js +225 -225
  419. package/dist/filesystem/protected.js +1 -1
  420. package/dist/filesystem/search.js +102 -102
  421. package/dist/filesystem/watcher-binding.js +1 -1
  422. package/dist/filesystem/watcher.js +13 -13
  423. package/dist/filesystem.js +105 -105
  424. package/dist/form.js +85 -85
  425. package/dist/formatter/builtins.js +2 -2
  426. package/dist/formatter.js +86 -86
  427. package/dist/generate.js +100 -100
  428. package/dist/git.js +10 -10
  429. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  430. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  431. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  432. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  433. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  434. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  435. package/dist/github-copilot/copilot-provider.js +17 -17
  436. package/dist/github-copilot/models.js +90 -90
  437. package/dist/github-copilot/openai-compatible-error.js +1 -1
  438. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  439. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  440. package/dist/github-copilot/responses/openai-error.js +1 -1
  441. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  442. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  443. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  444. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  445. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  446. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  447. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  448. package/dist/id/id.js +1 -1
  449. package/dist/image/photon.js +2 -2
  450. package/dist/image.js +4 -4
  451. package/dist/instance/service.js +5 -5
  452. package/dist/instance.js +355 -355
  453. package/dist/instruction-discovery.js +84 -84
  454. package/dist/instructions/builtins.js +86 -86
  455. package/dist/instructions/index.js +1 -1
  456. package/dist/integration/connection.js +3 -3
  457. package/dist/integration.js +85 -85
  458. package/dist/job.js +78 -78
  459. package/dist/kv/sql.js +2 -2
  460. package/dist/kv.js +72 -72
  461. package/dist/location-activity.js +131 -131
  462. package/dist/location-mutation.js +103 -103
  463. package/dist/location-service-map.js +85 -85
  464. package/dist/location-services.js +352 -352
  465. package/dist/location.js +86 -86
  466. package/dist/mcp/client.js +90 -90
  467. package/dist/mcp/index.js +107 -107
  468. package/dist/mcp/instructions.js +126 -126
  469. package/dist/mcp/oauth.js +101 -79
  470. package/dist/mcp/stdio.js +89 -89
  471. package/dist/mime.js +1 -1
  472. package/dist/modal/models.js +90 -90
  473. package/dist/model-resolver.js +97 -97
  474. package/dist/model.js +99 -99
  475. package/dist/models-dev.js +106 -106
  476. package/dist/oauth/page.js +1 -1
  477. package/dist/permission/saved.js +79 -79
  478. package/dist/permission/sql.js +5 -5
  479. package/dist/permission.js +112 -112
  480. package/dist/persistent-pty/binary.bun.js +1 -1
  481. package/dist/persistent-pty/daemon.js +1 -1
  482. package/dist/persistent-pty/index.js +81 -81
  483. package/dist/persistent-pty/pty-binding.js +1 -1
  484. package/dist/persistent-pty.js +74 -74
  485. package/dist/plugin/agent.js +103 -103
  486. package/dist/plugin/command.js +100 -100
  487. package/dist/plugin/hooks.js +5 -5
  488. package/dist/plugin/host.js +216 -216
  489. package/dist/plugin/identity.js +3 -3
  490. package/dist/plugin/instance.js +5 -5
  491. package/dist/plugin/internal.js +327 -327
  492. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  493. package/dist/plugin/models-dev.js +95 -95
  494. package/dist/plugin/module.js +5 -5
  495. package/dist/plugin/optimize.js +4 -4
  496. package/dist/plugin/plan.js +101 -101
  497. package/dist/plugin/promise.js +1 -1
  498. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  499. package/dist/plugin/provider/azure.js +121 -121
  500. package/dist/plugin/provider/cerebras.js +1 -1
  501. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  502. package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
  503. package/dist/plugin/provider/cohere.js +2 -2
  504. package/dist/plugin/provider/configured.js +118 -118
  505. package/dist/plugin/provider/digitalocean.js +92 -92
  506. package/dist/plugin/provider/dynamic.js +2 -2
  507. package/dist/plugin/provider/factory.js +1 -1
  508. package/dist/plugin/provider/gateway.js +2 -2
  509. package/dist/plugin/provider/github-copilot.js +92 -92
  510. package/dist/plugin/provider/gitlab.js +90 -90
  511. package/dist/plugin/provider/google-vertex.js +89 -89
  512. package/dist/plugin/provider/kilo.js +1 -1
  513. package/dist/plugin/provider/llmgateway.js +76 -76
  514. package/dist/plugin/provider/lmstudio.js +121 -121
  515. package/dist/plugin/provider/modal.js +91 -91
  516. package/dist/plugin/provider/nvidia.js +1 -1
  517. package/dist/plugin/provider/ollama.js +121 -121
  518. package/dist/plugin/provider/openai.js +93 -93
  519. package/dist/plugin/provider/opencode.js +92 -92
  520. package/dist/plugin/provider/openrouter.js +90 -90
  521. package/dist/plugin/provider/perplexity.js +2 -2
  522. package/dist/plugin/provider/poe.js +77 -77
  523. package/dist/plugin/provider/prompt-cache-key.js +89 -89
  524. package/dist/plugin/provider/sap-ai-core.js +90 -90
  525. package/dist/plugin/provider/sdk-factory.js +1 -1
  526. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  527. package/dist/plugin/provider/venice.js +2 -2
  528. package/dist/plugin/provider/vercel.js +89 -89
  529. package/dist/plugin/provider/vllm.js +119 -119
  530. package/dist/plugin/provider/xai.js +90 -90
  531. package/dist/plugin/provider/zenmux.js +1 -1
  532. package/dist/plugin/provider.js +158 -158
  533. package/dist/plugin/sdk.js +75 -75
  534. package/dist/plugin/service.js +3 -3
  535. package/dist/plugin/skill.js +138 -138
  536. package/dist/plugin/source-directory.js +1 -1
  537. package/dist/plugin/supervisor.js +344 -344
  538. package/dist/plugin/update.js +6 -6
  539. package/dist/plugin/vcs/git.js +85 -85
  540. package/dist/plugin/vcs/hg.js +85 -85
  541. package/dist/plugin/warming.js +120 -120
  542. package/dist/plugin/websearch/exa.js +7 -7
  543. package/dist/plugin/websearch/firecrawl.js +8 -8
  544. package/dist/plugin/websearch/index.js +9 -9
  545. package/dist/plugin/websearch/mcp.js +6 -6
  546. package/dist/plugin/websearch/parallel.js +8 -8
  547. package/dist/plugin/websearch/tavily.js +4 -4
  548. package/dist/plugin/websearch/tinyfish.js +8 -8
  549. package/dist/plugin.js +227 -227
  550. package/dist/project/schema.js +8 -8
  551. package/dist/project/sql.js +4 -4
  552. package/dist/project.js +89 -89
  553. package/dist/provider.js +100 -100
  554. package/dist/pty/protocol.js +1 -1
  555. package/dist/pty/schema.js +3 -3
  556. package/dist/pty/ticket.js +1 -1
  557. package/dist/pty.js +95 -95
  558. package/dist/reference/instructions.js +88 -88
  559. package/dist/reference.js +88 -88
  560. package/dist/repository-cache.js +80 -80
  561. package/dist/repository.js +1 -1
  562. package/dist/ripgrep/binary.js +2 -2
  563. package/dist/ripgrep.js +96 -96
  564. package/dist/rpc.js +85 -85
  565. package/dist/schema.js +1 -1
  566. package/dist/session/command.js +73 -73
  567. package/dist/session/compaction.js +132 -132
  568. package/dist/session/context.js +150 -150
  569. package/dist/session/diff.js +87 -87
  570. package/dist/session/environment.js +5 -5
  571. package/dist/session/error.js +5 -5
  572. package/dist/session/event.js +1 -1
  573. package/dist/session/execution/restart.js +219 -219
  574. package/dist/session/execution.js +127 -127
  575. package/dist/session/generate.js +149 -149
  576. package/dist/session/history.js +13 -13
  577. package/dist/session/inbox.js +87 -87
  578. package/dist/session/info.js +3 -3
  579. package/dist/session/instruction-entry.js +78 -78
  580. package/dist/session/instruction-state.js +8 -8
  581. package/dist/session/instructions.js +96 -96
  582. package/dist/session/message-updater.js +4 -4
  583. package/dist/session/message.js +1 -1
  584. package/dist/session/model-request.js +117 -117
  585. package/dist/session/model-transport.js +9 -9
  586. package/dist/session/move.js +129 -129
  587. package/dist/session/projector.js +85 -85
  588. package/dist/session/prompt.js +104 -104
  589. package/dist/session/provider-context.js +3 -3
  590. package/dist/session/revert.js +89 -89
  591. package/dist/session/run-coordinator.js +3 -3
  592. package/dist/session/runner/index.js +3 -3
  593. package/dist/session/runner/llm.js +228 -228
  594. package/dist/session/runner/max-steps.js +1 -1
  595. package/dist/session/runner/model.js +97 -97
  596. package/dist/session/runner/publish-llm-event.js +3 -3
  597. package/dist/session/runner/retry.js +113 -113
  598. package/dist/session/runner/step.js +124 -124
  599. package/dist/session/runner/to-llm-message.js +2 -2
  600. package/dist/session/schema.js +5 -5
  601. package/dist/session/session.js +171 -171
  602. package/dist/session/shell.js +137 -137
  603. package/dist/session/skill.js +102 -102
  604. package/dist/session/sql.js +5 -5
  605. package/dist/session/stats.js +72 -72
  606. package/dist/session/store.js +84 -84
  607. package/dist/session/subagent-completion.js +1 -1
  608. package/dist/session/subagent-job.js +208 -208
  609. package/dist/session/system-prompt.js +3 -3
  610. package/dist/session/title.js +154 -154
  611. package/dist/session/to-session-error.js +110 -110
  612. package/dist/session/transfer.js +215 -215
  613. package/dist/session/usage.js +1 -1
  614. package/dist/session.js +216 -216
  615. package/dist/shell/parse.js +6 -6
  616. package/dist/shell/result.js +1 -1
  617. package/dist/shell/scan.js +1 -1
  618. package/dist/shell/select.js +7 -7
  619. package/dist/shell.js +139 -139
  620. package/dist/skill/discovery.js +6 -6
  621. package/dist/skill/instructions.js +106 -106
  622. package/dist/skill.js +109 -109
  623. package/dist/snapshot.js +90 -90
  624. package/dist/state.js +1 -1
  625. package/dist/tool/html-markdown.js +1 -1
  626. package/dist/tool/http-body.js +1 -1
  627. package/dist/tool/mcp.js +123 -123
  628. package/dist/tool/plugin/edit.js +119 -119
  629. package/dist/tool/plugin/file-diff.js +1 -1
  630. package/dist/tool/plugin/glob.js +119 -119
  631. package/dist/tool/plugin/grep.js +123 -123
  632. package/dist/tool/plugin/opencode.js +3 -3
  633. package/dist/tool/plugin/patch.js +121 -121
  634. package/dist/tool/plugin/question.js +100 -100
  635. package/dist/tool/plugin/read.js +124 -124
  636. package/dist/tool/plugin/shell.js +215 -215
  637. package/dist/tool/plugin/skill.js +110 -110
  638. package/dist/tool/plugin/subagent.js +213 -213
  639. package/dist/tool/plugin/webfetch.js +111 -111
  640. package/dist/tool/plugin/websearch.js +113 -113
  641. package/dist/tool/plugin/write.js +121 -121
  642. package/dist/tool/read-filesystem.js +99 -99
  643. package/dist/tool/runtime.js +1 -1
  644. package/dist/tool-output.js +8 -8
  645. package/dist/tool.js +15 -15
  646. package/dist/types/mcp/oauth.d.ts +4 -0
  647. package/dist/types/v1/config/migrate.d.ts +1 -0
  648. package/dist/util/error-summary.js +1 -1
  649. package/dist/util/error.js +1 -1
  650. package/dist/util/git-executable.js +2 -2
  651. package/dist/util/iife.js +1 -1
  652. package/dist/util/lazy.js +1 -1
  653. package/dist/util/slug.js +1 -1
  654. package/dist/util/token.js +1 -1
  655. package/dist/util/which.js +1 -1
  656. package/dist/util/wildcard.js +1 -1
  657. package/dist/v1/config/agent.js +5 -5
  658. package/dist/v1/config/attachment.js +4 -4
  659. package/dist/v1/config/command.js +3 -3
  660. package/dist/v1/config/config.js +16 -16
  661. package/dist/v1/config/error.js +2 -2
  662. package/dist/v1/config/formatter.js +5 -5
  663. package/dist/v1/config/layout.js +1 -1
  664. package/dist/v1/config/lsp.js +5 -5
  665. package/dist/v1/config/mcp.js +4 -4
  666. package/dist/v1/config/migrate.js +91 -91
  667. package/dist/v1/config/permission.js +3 -3
  668. package/dist/v1/config/plugin.js +3 -3
  669. package/dist/v1/config/provider-options.js +1 -1
  670. package/dist/v1/config/provider.js +4 -4
  671. package/dist/v1/config/server.js +2 -2
  672. package/dist/v1/config/skills.js +3 -3
  673. package/dist/v1/permission.js +1 -1
  674. package/dist/variant.js +90 -90
  675. package/dist/vcs/patch.js +1 -1
  676. package/dist/vcs.js +88 -88
  677. package/dist/websearch.js +81 -81
  678. package/dist/wellknown/plugin.js +73 -73
  679. package/dist/wellknown.js +78 -78
  680. package/dist/workspace/driver.js +5 -5
  681. package/dist/workspace/sql.js +1 -1
  682. package/dist/workspace.js +75 -75
  683. package/dist/worktree/directory.js +2 -2
  684. package/dist/worktree/git.js +10 -10
  685. package/dist/worktree/sql.js +5 -5
  686. package/dist/worktree/strategies.js +88 -88
  687. package/dist/worktree.js +95 -95
  688. package/package.json +9 -8
  689. package/dist/chunks/location-services-0mesazry.js +0 -4
  690. package/dist/chunks/location-services-10w680va.js +0 -478
  691. package/dist/chunks/location-services-74b8z681.js +0 -26
  692. package/dist/chunks/location-services-q509s3k3.js +0 -18
  693. package/dist/chunks/location-services-qghmpbmc.js +0 -247
  694. /package/dist/chunks/{location-services-0qkdqm5v.js → reference-0qkdqm5v.js} +0 -0
  695. /package/dist/chunks/{location-services-0zkw76rk.js → reference-0zkw76rk.js} +0 -0
  696. /package/dist/chunks/{location-services-17cy0kzp.js → reference-17cy0kzp.js} +0 -0
  697. /package/dist/chunks/{location-services-1cnp2v09.js → reference-1cnp2v09.js} +0 -0
  698. /package/dist/chunks/{location-services-1kg9ymc8.js → reference-1kg9ymc8.js} +0 -0
  699. /package/dist/chunks/{location-services-24dcb14g.js → reference-24dcb14g.js} +0 -0
  700. /package/dist/chunks/{location-services-2710q6r3.js → reference-2710q6r3.js} +0 -0
  701. /package/dist/chunks/{location-services-2axfhc9x.js → reference-2axfhc9x.js} +0 -0
  702. /package/dist/chunks/{location-services-2c3vjs8z.js → reference-2c3vjs8z.js} +0 -0
  703. /package/dist/chunks/{location-services-359p4xyc.js → reference-359p4xyc.js} +0 -0
  704. /package/dist/chunks/{location-services-3asan66x.js → reference-3asan66x.js} +0 -0
  705. /package/dist/chunks/{location-services-3v8g72cx.js → reference-3v8g72cx.js} +0 -0
  706. /package/dist/chunks/{location-services-3w5fmr99.js → reference-3w5fmr99.js} +0 -0
  707. /package/dist/chunks/{location-services-3wcehsnq.js → reference-3wcehsnq.js} +0 -0
  708. /package/dist/chunks/{location-services-43n2bw4t.js → reference-43n2bw4t.js} +0 -0
  709. /package/dist/chunks/{location-services-4knz6hnm.js → reference-4knz6hnm.js} +0 -0
  710. /package/dist/chunks/{location-services-4vcrnpx2.js → reference-4vcrnpx2.js} +0 -0
  711. /package/dist/chunks/{location-services-4y7fprxs.js → reference-4y7fprxs.js} +0 -0
  712. /package/dist/chunks/{location-services-53557ph1.js → reference-53557ph1.js} +0 -0
  713. /package/dist/chunks/{location-services-550bvhaj.js → reference-550bvhaj.js} +0 -0
  714. /package/dist/chunks/{location-services-5qd3pb7m.js → reference-5qd3pb7m.js} +0 -0
  715. /package/dist/chunks/{location-services-6prwharc.js → reference-6prwharc.js} +0 -0
  716. /package/dist/chunks/{location-services-7akdwqpd.js → reference-7akdwqpd.js} +0 -0
  717. /package/dist/chunks/{location-services-7m9af43g.js → reference-7m9af43g.js} +0 -0
  718. /package/dist/chunks/{location-services-822emrt2.js → reference-822emrt2.js} +0 -0
  719. /package/dist/chunks/{location-services-88xbtdfr.js → reference-88xbtdfr.js} +0 -0
  720. /package/dist/chunks/{location-services-8n3pysct.js → reference-8n3pysct.js} +0 -0
  721. /package/dist/chunks/{location-services-922hggd3.js → reference-922hggd3.js} +0 -0
  722. /package/dist/chunks/{location-services-9a4afbnw.js → reference-9a4afbnw.js} +0 -0
  723. /package/dist/chunks/{location-services-9rqn6x4v.js → reference-9rqn6x4v.js} +0 -0
  724. /package/dist/chunks/{location-services-a6k6eb26.js → reference-a6k6eb26.js} +0 -0
  725. /package/dist/chunks/{location-services-af5trqkr.js → reference-af5trqkr.js} +0 -0
  726. /package/dist/chunks/{location-services-afrmfg78.js → reference-afrmfg78.js} +0 -0
  727. /package/dist/chunks/{location-services-aqzs7mqg.js → reference-aqzs7mqg.js} +0 -0
  728. /package/dist/chunks/{location-services-atq7p7m5.js → reference-atq7p7m5.js} +0 -0
  729. /package/dist/chunks/{location-services-bkyjaxrp.js → reference-bkyjaxrp.js} +0 -0
  730. /package/dist/chunks/{location-services-bmr6ed5q.js → reference-bmr6ed5q.js} +0 -0
  731. /package/dist/chunks/{location-services-cf4snx6d.js → reference-cf4snx6d.js} +0 -0
  732. /package/dist/chunks/{location-services-cvy3z8tj.js → reference-cvy3z8tj.js} +0 -0
  733. /package/dist/chunks/{location-services-d9fn303g.js → reference-d9fn303g.js} +0 -0
  734. /package/dist/chunks/{location-services-d9jj8t3e.js → reference-d9jj8t3e.js} +0 -0
  735. /package/dist/chunks/{location-services-dajrwvna.js → reference-dajrwvna.js} +0 -0
  736. /package/dist/chunks/{location-services-dap0rakb.js → reference-dap0rakb.js} +0 -0
  737. /package/dist/chunks/{location-services-df08tz66.js → reference-df08tz66.js} +0 -0
  738. /package/dist/chunks/{location-services-dy18nga0.js → reference-dy18nga0.js} +0 -0
  739. /package/dist/chunks/{location-services-e5kj55wp.js → reference-e5kj55wp.js} +0 -0
  740. /package/dist/chunks/{location-services-e73j6tqm.js → reference-e73j6tqm.js} +0 -0
  741. /package/dist/chunks/{location-services-ec1grn59.js → reference-ec1grn59.js} +0 -0
  742. /package/dist/chunks/{location-services-eh3zwz77.js → reference-eh3zwz77.js} +0 -0
  743. /package/dist/chunks/{location-services-emrn6kk6.js → reference-emrn6kk6.js} +0 -0
  744. /package/dist/chunks/{location-services-f0mxakyp.js → reference-f0mxakyp.js} +0 -0
  745. /package/dist/chunks/{location-services-f6n9ztr4.js → reference-f6n9ztr4.js} +0 -0
  746. /package/dist/chunks/{location-services-faypxj3z.js → reference-faypxj3z.js} +0 -0
  747. /package/dist/chunks/{location-services-fd410y7t.js → reference-fd410y7t.js} +0 -0
  748. /package/dist/chunks/{location-services-fxgpk5d8.js → reference-fxgpk5d8.js} +0 -0
  749. /package/dist/chunks/{location-services-g4wezp1m.js → reference-g4wezp1m.js} +0 -0
  750. /package/dist/chunks/{location-services-g86h250q.js → reference-g86h250q.js} +0 -0
  751. /package/dist/chunks/{location-services-gebd4c9n.js → reference-gebd4c9n.js} +0 -0
  752. /package/dist/chunks/{location-services-gftt206x.js → reference-gftt206x.js} +0 -0
  753. /package/dist/chunks/{location-services-hjbc5kem.js → reference-hjbc5kem.js} +0 -0
  754. /package/dist/chunks/{location-services-hk9envan.js → reference-hk9envan.js} +0 -0
  755. /package/dist/chunks/{location-services-j2ntwpah.js → reference-j2ntwpah.js} +0 -0
  756. /package/dist/chunks/{location-services-j5zkgpj8.js → reference-j5zkgpj8.js} +0 -0
  757. /package/dist/chunks/{location-services-jjkms2e6.js → reference-jjkms2e6.js} +0 -0
  758. /package/dist/chunks/{location-services-jr7sbwjy.js → reference-jr7sbwjy.js} +0 -0
  759. /package/dist/chunks/{location-services-jwfs4k6c.js → reference-jwfs4k6c.js} +0 -0
  760. /package/dist/chunks/{location-services-jzg6c2d5.js → reference-jzg6c2d5.js} +0 -0
  761. /package/dist/chunks/{location-services-mp448xyj.js → reference-mp448xyj.js} +0 -0
  762. /package/dist/chunks/{location-services-msx8hqn2.js → reference-msx8hqn2.js} +0 -0
  763. /package/dist/chunks/{location-services-n05xt0ee.js → reference-n05xt0ee.js} +0 -0
  764. /package/dist/chunks/{location-services-n3j8tn72.js → reference-n3j8tn72.js} +0 -0
  765. /package/dist/chunks/{location-services-njntx4h6.js → reference-njntx4h6.js} +0 -0
  766. /package/dist/chunks/{location-services-q3sfg36h.js → reference-q3sfg36h.js} +0 -0
  767. /package/dist/chunks/{location-services-q74kybfr.js → reference-q74kybfr.js} +0 -0
  768. /package/dist/chunks/{location-services-qaymkmh1.js → reference-qaymkmh1.js} +0 -0
  769. /package/dist/chunks/{location-services-qb87gjwd.js → reference-qb87gjwd.js} +0 -0
  770. /package/dist/chunks/{location-services-qfa1cgps.js → reference-qfa1cgps.js} +0 -0
  771. /package/dist/chunks/{location-services-qg3g05ea.js → reference-qg3g05ea.js} +0 -0
  772. /package/dist/chunks/{location-services-qrg20bc0.js → reference-qrg20bc0.js} +0 -0
  773. /package/dist/chunks/{location-services-rcb2kzg1.js → reference-rcb2kzg1.js} +0 -0
  774. /package/dist/chunks/{location-services-sdp7kfr6.js → reference-sdp7kfr6.js} +0 -0
  775. /package/dist/chunks/{location-services-sk3qaz4a.js → reference-sk3qaz4a.js} +0 -0
  776. /package/dist/chunks/{location-services-ssg3fenm.js → reference-ssg3fenm.js} +0 -0
  777. /package/dist/chunks/{location-services-twg0f83k.js → reference-twg0f83k.js} +0 -0
  778. /package/dist/chunks/{location-services-w803qqfp.js → reference-w803qqfp.js} +0 -0
  779. /package/dist/chunks/{location-services-wc3fc9cn.js → reference-wc3fc9cn.js} +0 -0
  780. /package/dist/chunks/{location-services-wer8tq1h.js → reference-wer8tq1h.js} +0 -0
  781. /package/dist/chunks/{location-services-wtztk69x.js → reference-wtztk69x.js} +0 -0
  782. /package/dist/chunks/{location-services-x0ckcb58.js → reference-x0ckcb58.js} +0 -0
  783. /package/dist/chunks/{location-services-x61499pn.js → reference-x61499pn.js} +0 -0
  784. /package/dist/chunks/{location-services-y44na4kk.js → reference-y44na4kk.js} +0 -0
  785. /package/dist/chunks/{location-services-y8cydn3q.js → reference-y8cydn3q.js} +0 -0
  786. /package/dist/chunks/{location-services-y8f7s663.js → reference-y8f7s663.js} +0 -0
  787. /package/dist/chunks/{location-services-ygaqb7jw.js → reference-ygaqb7jw.js} +0 -0
  788. /package/dist/chunks/{location-services-ym463w8f.js → reference-ym463w8f.js} +0 -0
  789. /package/dist/chunks/{location-services-z9919s4g.js → reference-z9919s4g.js} +0 -0
@@ -1,23 +1,23 @@
1
1
  import {
2
2
  Service81,
3
3
  node85
4
- } from "./location-services-dkt3e60b.js";
4
+ } from "./reference-fcymrbm6.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 "./reference-tazgh4e4.js";
10
10
  import {
11
- Service78,
12
- node82
13
- } from "./location-services-vhyp5dk4.js";
11
+ Service75,
12
+ node79
13
+ } from "./reference-8t7r2jb8.js";
14
14
  import {
15
15
  reconcile2,
16
16
  create3
17
- } from "./location-services-rdw6cm16.js";
17
+ } from "./reference-rdw6cm16.js";
18
18
  import {
19
19
  __export
20
- } from "./location-services-9rqn6x4v.js";
20
+ } from "./reference-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: () => Info4,
29
+ Info: () => Info5,
30
30
  Mode: () => Mode2,
31
- Service: () => Service21,
31
+ Service: () => Service35,
32
32
  Vcs: () => exports_vcs,
33
- node: () => node24
33
+ node: () => node37
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 Info4, Mode as Mode2 } from "@opencode/schema/vcs";
39
+ import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info5, 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 Service21 extends Context.Service()("@opencode/Vcs") {
48
+ class Service35 extends Context.Service()("@opencode/Vcs") {
49
49
  }
50
- var layer = Layer.effect(Service21, Effect.gen(function* () {
50
+ var layer = Layer.effect(Service35, Effect.gen(function* () {
51
51
  const fs = yield* FSUtil.Service;
52
- const location = yield* Service78;
52
+ const location = yield* Service75;
53
53
  const bus = yield* Service81;
54
54
  const root = yield* Effect.scope;
55
55
  const fork = yield* FiberSet.makeRuntime();
@@ -62,7 +62,7 @@ var layer = Layer.effect(Service21, Effect.gen(function* () {
62
62
  canonical: location.project.canonical,
63
63
  ...vcs ? { store: vcs.store } : {}
64
64
  };
65
- const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info4));
65
+ const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info5));
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));
@@ -115,7 +115,7 @@ var layer = Layer.effect(Service21, Effect.gen(function* () {
115
115
  const isBranchMetadata = vcs.type === "git" ? (file) => path.basename(file) === "HEAD" && FSUtil.contains(store, file) : (file) => path.resolve(file) === path.join(store, "branch");
116
116
  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 }));
117
117
  }
118
- return Service21.of({
118
+ return Service35.of({
119
119
  transform: state.transform,
120
120
  reload: state.reload,
121
121
  info: Effect.fn("Vcs.info")(function* () {
@@ -161,10 +161,10 @@ var layer = Layer.effect(Service21, Effect.gen(function* () {
161
161
  })
162
162
  });
163
163
  }));
164
- var node24 = makeLocationNode({
165
- service: Service21,
164
+ var node37 = makeLocationNode({
165
+ service: Service35,
166
166
  layer,
167
- deps: [FSUtil.node, node82, node85]
167
+ deps: [FSUtil.node, node79, node85]
168
168
  });
169
169
 
170
- export { Base2, BranchList2, FileStatus2, Info4, Mode2, DiffError2, Service21, node24, exports_vcs };
170
+ export { Base2, BranchList2, FileStatus2, Info5, Mode2, DiffError2, Service35, node37, exports_vcs };
@@ -1,32 +1,32 @@
1
1
  import {
2
- Service56
3
- } from "./location-services-netmb1kz.js";
2
+ Service53
3
+ } from "./reference-d4w8kf3r.js";
4
4
  import {
5
- Service55
6
- } from "./location-services-39rqm1tv.js";
5
+ Service52
6
+ } from "./reference-h8bmxzy2.js";
7
7
  import {
8
8
  parse2
9
- } from "./location-services-atqsbchn.js";
9
+ } from "./reference-6r5g6tjt.js";
10
10
  import {
11
11
  __export
12
- } from "./location-services-9rqn6x4v.js";
12
+ } from "./reference-9rqn6x4v.js";
13
13
 
14
14
  // src/config/plugin/compatibility.ts
15
15
  var exports_compatibility = {};
16
16
  __export(exports_compatibility, {
17
17
  ConfigCompatibilityPlugin: () => exports_compatibility,
18
- Plugin: () => Plugin44
18
+ Plugin: () => Plugin14
19
19
  });
20
20
  import { define } from "@opencode/plugin/effect/plugin";
21
21
  import { FSUtil } from "@opencode/util/fs-util";
22
22
  import path from "path";
23
23
  import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
24
- var Plugin44 = define({
24
+ var Plugin14 = define({
25
25
  id: "opencode.config.compatibility",
26
26
  effect: Effect.fn(function* (ctx) {
27
- const config = yield* Service55;
27
+ const config = yield* Service52;
28
28
  const fs = yield* FSUtil.Service;
29
- const watcher = yield* Service56;
29
+ const watcher = yield* Service53;
30
30
  const watches = yield* FiberMap.make();
31
31
  const changes = yield* PubSub.sliding(1);
32
32
  const lock = Semaphore.makeUnsafe(1);
@@ -73,4 +73,4 @@ var Plugin44 = define({
73
73
  })
74
74
  });
75
75
 
76
- export { Plugin44, exports_compatibility };
76
+ export { Plugin14, exports_compatibility };
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  __export
3
- } from "./location-services-9rqn6x4v.js";
3
+ } from "./reference-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/instance.ts
6
6
  var exports_instance2 = {};
7
7
  __export(exports_instance2, {
8
8
  InstancePlugins: () => exports_instance2,
9
- Service: () => Service2,
9
+ Service: () => Service4,
10
10
  bound: () => bound2,
11
- node: () => node3
11
+ node: () => node5
12
12
  });
13
13
  import { Context, Layer } from "effect";
14
14
  import { makeLocationNode } from "@opencode/util/effect/app-node";
15
15
 
16
- class Service2 extends Context.Service()("@opencode/InstancePlugins") {
16
+ class Service4 extends Context.Service()("@opencode/InstancePlugins") {
17
17
  }
18
- var node3 = makeLocationNode({
19
- service: Service2,
18
+ var node5 = makeLocationNode({
19
+ service: Service4,
20
20
  layer: bound2([]),
21
21
  deps: []
22
22
  });
@@ -26,7 +26,7 @@ function bound2(plugins) {
26
26
  throw new Error(`duplicate instance plugin ids: ${duplicates.map((plugin) => plugin.id).join(", ")}`);
27
27
  }
28
28
  const stamped = plugins.map((plugin) => ({ ...plugin, revision: "instance", source: { type: "sdk" } }));
29
- return Layer.succeed(Service2, Service2.of({ all: () => stamped }));
29
+ return Layer.succeed(Service4, Service4.of({ all: () => stamped }));
30
30
  }
31
31
 
32
- export { Service2, node3, bound2, exports_instance2 };
32
+ export { Service4, node5, bound2, exports_instance2 };
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  webSocketConstructor2
3
- } from "./location-services-5t3nmthw.js";
3
+ } from "./reference-5t3nmthw.js";
4
4
  import {
5
5
  __export
6
- } from "./location-services-9rqn6x4v.js";
6
+ } from "./reference-9rqn6x4v.js";
7
7
 
8
8
  // src/session/model-transport.ts
9
9
  var exports_model_transport = {};
10
10
  __export(exports_model_transport, {
11
- Service: () => Service35,
11
+ Service: () => Service24,
12
12
  SessionModelTransport: () => exports_model_transport,
13
- layer: () => layer14,
13
+ layer: () => layer12,
14
14
  makeLayer: () => makeLayer2,
15
- node: () => node38
15
+ node: () => node27
16
16
  });
17
17
  import {
18
18
  WebSocketTransport
@@ -33,7 +33,7 @@ var events = Metric.counter("opencode_session_websocket_events_total", {
33
33
  });
34
34
  var metric = (event, attributes = {}) => Metric.update(events.pipe(Metric.withAttributes({ event, ...attributes })), 1);
35
35
 
36
- class Service35 extends Context.Service()("@opencode/SessionModelTransport") {
36
+ class Service24 extends Context.Service()("@opencode/SessionModelTransport") {
37
37
  }
38
38
  var transportError = (message, input) => new AIError({
39
39
  reason: new TransportError({ message, transport: "websocket", ...input })
@@ -57,7 +57,7 @@ var observationFrame = (observation) => {
57
57
  return Effect.fail(observation.error);
58
58
  };
59
59
  var observationTerminal = (observation) => observation.type !== "frame";
60
- var makeLayer2 = (connector) => Layer.effect(Service35, Effect.gen(function* () {
60
+ var makeLayer2 = (connector) => Layer.effect(Service24, Effect.gen(function* () {
61
61
  const scope = yield* Scope.Scope;
62
62
  const states = new Map;
63
63
  const state = (sessionID) => {
@@ -359,11 +359,11 @@ var makeLayer2 = (connector) => Layer.effect(Service35, Effect.gen(function* ()
359
359
  }, { discard: true });
360
360
  });
361
361
  yield* Effect.addFinalizer(() => closeAll);
362
- return Service35.of({ bind, close, closeAll });
362
+ return Service24.of({ bind, close, closeAll });
363
363
  }));
364
- var layer14 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
364
+ var layer12 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
365
365
  open: (input) => WebSocketTransport.open(input).pipe(Effect.provideService(Socket.WebSocketConstructor, constructor))
366
366
  })));
367
- var node38 = makeGlobalNode({ service: Service35, layer: layer14, deps: [webSocketConstructor2] });
367
+ var node27 = makeGlobalNode({ service: Service24, layer: layer12, deps: [webSocketConstructor2] });
368
368
 
369
- export { Service35, makeLayer2, layer14, node38, exports_model_transport };
369
+ export { Service24, makeLayer2, layer12, node27, exports_model_transport };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./location-services-922hggd3.js";
3
+ } from "./reference-922hggd3.js";
4
4
  import {
5
5
  __export
6
- } from "./location-services-9rqn6x4v.js";
6
+ } from "./reference-9rqn6x4v.js";
7
7
 
8
8
  // src/v1/config/mcp.ts
9
9
  var exports_mcp5 = {};
10
10
  __export(exports_mcp5, {
11
11
  ConfigMCPV1: () => exports_mcp5,
12
- Info: () => Info13,
12
+ Info: () => Info10,
13
13
  Local: () => Local2,
14
14
  OAuth: () => OAuth2,
15
15
  Remote: () => Remote2
@@ -64,6 +64,6 @@ var Remote2 = Schema.Struct({
64
64
  description: "Timeout in ms for MCP server requests. Defaults to 5000 (5 seconds) if not specified."
65
65
  })
66
66
  }).annotate({ identifier: "McpRemoteConfig" });
67
- var Info13 = Schema.Union([Local2, Remote2]).annotate({ discriminator: "type" });
67
+ var Info10 = Schema.Union([Local2, Remote2]).annotate({ discriminator: "type" });
68
68
 
69
- export { Local2, OAuth2, Remote2, Info13, exports_mcp5 };
69
+ export { Local2, OAuth2, Remote2, Info10, exports_mcp5 };
@@ -0,0 +1,18 @@
1
+ import {
2
+ __export
3
+ } from "./reference-9rqn6x4v.js";
4
+
5
+ // src/plugin/service.ts
6
+ var exports_service = {};
7
+ __export(exports_service, {
8
+ Plugin: () => exports_service,
9
+ Service: () => Service23,
10
+ awaitActivation: () => awaitActivation2
11
+ });
12
+ import { Context } from "effect";
13
+
14
+ class Service23 extends Context.Service()("@opencode/Plugin") {
15
+ }
16
+ var awaitActivation2 = Service23.use((plugins) => plugins.awaitActivation);
17
+
18
+ export { Service23, awaitActivation2, exports_service };
@@ -1,33 +1,33 @@
1
1
  import {
2
2
  Service82,
3
3
  node86
4
- } from "./location-services-yvnj23bv.js";
4
+ } from "./reference-fpw6v5x5.js";
5
5
  import {
6
6
  makeUnsafe2
7
- } from "./location-services-dpkg50ah.js";
7
+ } from "./reference-y71avatq.js";
8
8
  import {
9
9
  Binding2,
10
10
  RegistryService2,
11
- node69
12
- } from "./location-services-m91gvp7t.js";
11
+ node63
12
+ } from "./reference-k18ytf7m.js";
13
13
  import {
14
14
  WorkspaceTable2
15
- } from "./location-services-faypxj3z.js";
15
+ } from "./reference-faypxj3z.js";
16
16
  import {
17
17
  __export
18
- } from "./location-services-9rqn6x4v.js";
18
+ } from "./reference-9rqn6x4v.js";
19
19
 
20
20
  // src/workspace.ts
21
21
  var exports_workspace = {};
22
22
  __export(exports_workspace, {
23
23
  CreateConflict: () => CreateConflict2,
24
- ID: () => ID7,
24
+ ID: () => ID8,
25
25
  Info: () => Info21,
26
26
  NotFound: () => NotFound3,
27
- Service: () => Service65,
27
+ Service: () => Service59,
28
28
  Workspace: () => exports_workspace,
29
29
  configured: () => configured9,
30
- node: () => node68
30
+ node: () => node62
31
31
  });
32
32
  import { Workspace } from "@opencode/schema/workspace";
33
33
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
@@ -35,10 +35,10 @@ import { eq } from "drizzle-orm";
35
35
  import { Clock, Context, Deferred, Duration, Effect, Exit, FiberSet, Layer, Ref, Schedule, Schema, Scope } from "effect";
36
36
  import { systemError } from "effect/PlatformError";
37
37
  import { make } from "effect/unstable/process/ChildProcessSpawner";
38
- var ID7 = Workspace.ID;
38
+ var ID8 = Workspace.ID;
39
39
 
40
40
  class Info21 extends Schema.Class("Workspace.Info")({
41
- id: ID7,
41
+ id: ID8,
42
42
  provider: Schema.String,
43
43
  binding: Binding2,
44
44
  createdAt: Schema.Number,
@@ -46,24 +46,24 @@ class Info21 extends Schema.Class("Workspace.Info")({
46
46
  }) {
47
47
  }
48
48
 
49
- class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID7 }) {
49
+ class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID8 }) {
50
50
  }
51
51
 
52
52
  class CreateConflict2 extends Schema.TaggedError()("Workspace.CreateConflict", {
53
- workspaceID: ID7,
53
+ workspaceID: ID8,
54
54
  provider: Schema.String,
55
55
  existingProvider: Schema.String
56
56
  }) {
57
57
  }
58
58
 
59
- class Service65 extends Context.Service()("@opencode/Workspace") {
59
+ class Service59 extends Context.Service()("@opencode/Workspace") {
60
60
  }
61
61
  var configured9 = (options = {}) => makeGlobalNode({
62
- service: Service65,
62
+ service: Service59,
63
63
  layer: layer(options),
64
- deps: [node86, node69]
64
+ deps: [node86, node63]
65
65
  });
66
- var layer = (options) => Layer.effect(Service65, Effect.gen(function* () {
66
+ var layer = (options) => Layer.effect(Service59, Effect.gen(function* () {
67
67
  const db = (yield* Service82).db;
68
68
  const registry = yield* RegistryService2;
69
69
  const lifetime = yield* Scope.Scope;
@@ -154,9 +154,9 @@ var layer = (options) => Layer.effect(Service65, Effect.gen(function* () {
154
154
  yield* Scope.close(connection.scope, Exit.void);
155
155
  }).pipe(Effect.catchCause((cause) => Effect.logError("workspace idle suspension failed", cause)))), { concurrency: "unbounded", discard: true });
156
156
  }).pipe(Effect.repeat(Schedule.spaced(options.pollInterval ?? Duration.minutes(1))), Effect.forkScoped);
157
- return Service65.of({
157
+ return Service59.of({
158
158
  create: Effect.fn("Workspace.create")(function* (input) {
159
- const workspaceID = input.id ?? ID7.create();
159
+ const workspaceID = input.id ?? ID8.create();
160
160
  const existing = yield* db.select({ provider: WorkspaceTable2.provider }).from(WorkspaceTable2).where(eq(WorkspaceTable2.id, workspaceID)).get().pipe(Effect.orDie);
161
161
  if (existing) {
162
162
  if (existing.provider === input.provider)
@@ -221,6 +221,6 @@ var layer = (options) => Layer.effect(Service65, Effect.gen(function* () {
221
221
  })
222
222
  });
223
223
  }));
224
- var node68 = configured9();
224
+ var node62 = configured9();
225
225
 
226
- export { ID7, Info21, NotFound3, CreateConflict2, Service65, configured9, node68, exports_workspace };
226
+ export { ID8, Info21, NotFound3, CreateConflict2, Service59, configured9, node62, exports_workspace };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./location-services-9rqn6x4v.js";
3
+ } from "./reference-9rqn6x4v.js";
4
4
 
5
5
  // src/oauth/page.ts
6
6
  var exports_page = {};
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  latest2,
3
- Service55
4
- } from "./location-services-39rqm1tv.js";
3
+ Service52
4
+ } from "./reference-h8bmxzy2.js";
5
5
  import {
6
- Service57
7
- } from "./location-services-1ch5qaya.js";
6
+ Service45
7
+ } from "./reference-enc3c1en.js";
8
8
  import {
9
9
  observe2
10
- } from "./location-services-qsdy395h.js";
10
+ } from "./reference-qsdy395h.js";
11
11
  import {
12
12
  __export
13
- } from "./location-services-9rqn6x4v.js";
13
+ } from "./reference-9rqn6x4v.js";
14
14
 
15
15
  // src/config/plugin/tool-output.ts
16
16
  var exports_tool_output = {};
17
17
  __export(exports_tool_output, {
18
18
  ConfigToolOutputPlugin: () => exports_tool_output,
19
- Plugin: () => Plugin30
19
+ Plugin: () => Plugin2
20
20
  });
21
21
  import { define } from "@opencode/plugin/effect/plugin";
22
22
  import { Effect } from "effect";
23
- var Plugin30 = define({
23
+ var Plugin2 = define({
24
24
  id: "opencode.config.tool-output",
25
25
  effect: Effect.fn(function* (ctx) {
26
- const config = yield* Service55;
27
- const output = yield* Service57;
26
+ const config = yield* Service52;
27
+ const output = yield* Service45;
28
28
  const loaded = yield* observe2(config, ctx.event, output.reload());
29
29
  yield* output.transform((editor) => {
30
30
  const configured = latest2(loaded.entries, "tool_output");
@@ -38,4 +38,4 @@ var Plugin30 = define({
38
38
  })
39
39
  });
40
40
 
41
- export { Plugin30, exports_tool_output };
41
+ export { Plugin2, exports_tool_output };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Timestamps2
3
- } from "./location-services-qfa1cgps.js";
3
+ } from "./reference-qfa1cgps.js";
4
4
 
5
5
  // src/credential/sql.ts
6
6
  import { integer, sqliteTable, text } from "drizzle-orm/sqlite-core";
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  aisdk2
3
- } from "./location-services-d5mtgc27.js";
3
+ } from "./reference-7f3re3ee.js";
4
4
  import {
5
5
  VariantID2
6
- } from "./location-services-gx0vxm5t.js";
6
+ } from "./reference-hwgr52re.js";
7
7
  import {
8
8
  __export
9
- } from "./location-services-9rqn6x4v.js";
9
+ } from "./reference-9rqn6x4v.js";
10
10
 
11
11
  // src/variant.ts
12
12
  var exports_variant = {};
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  Service81
3
- } from "./location-services-dkt3e60b.js";
3
+ } from "./reference-fcymrbm6.js";
4
4
  import {
5
5
  key2
6
- } from "./location-services-h6r3nrb9.js";
6
+ } from "./reference-8z00fdkb.js";
7
7
  import {
8
- Event19
9
- } from "./location-services-y25vqx85.js";
8
+ Event21
9
+ } from "./reference-14mggxhb.js";
10
10
  import {
11
- ID14
12
- } from "./location-services-nq7qqy46.js";
11
+ ID9
12
+ } from "./reference-44faxhpp.js";
13
13
  import {
14
- ID13,
15
- Service74
16
- } from "./location-services-d5mtgc27.js";
14
+ ID7,
15
+ Service55
16
+ } from "./reference-7f3re3ee.js";
17
17
  import {
18
18
  load3,
19
19
  derive3
20
- } from "./location-services-yebec9g6.js";
20
+ } from "./reference-981b0br5.js";
21
21
 
22
22
  // src/plugin/provider/modal.ts
23
23
  import { Effect, Semaphore, Stream } from "effect";
24
24
  import { define } from "@opencode/plugin/effect/plugin";
25
- var providerID = ID13.make("modal");
25
+ var providerID = ID7.make("modal");
26
26
  var ModalPlugin2 = define({
27
27
  id: "opencode.provider.modal",
28
28
  effect: Effect.fn(function* (ctx) {
29
- const providers = yield* Service74;
29
+ const providers = yield* Service55;
30
30
  const bus = yield* Service81;
31
31
  const loading = Semaphore.makeUnsafe(1);
32
32
  const loaded = {};
@@ -67,7 +67,7 @@ var ModalPlugin2 = define({
67
67
  });
68
68
  });
69
69
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
70
- yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("modal")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
70
+ yield* bus.subscribe(Event21.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID9.make("modal")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
71
71
  yield* refresh().pipe(Effect.forkScoped);
72
72
  })
73
73
  });
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  Service81
3
- } from "./location-services-dkt3e60b.js";
3
+ } from "./reference-fcymrbm6.js";
4
4
  import {
5
5
  OAuth3,
6
- Event19
7
- } from "./location-services-y25vqx85.js";
6
+ Event21
7
+ } from "./reference-14mggxhb.js";
8
8
  import {
9
- ID14,
9
+ ID9,
10
10
  MethodID2
11
- } from "./location-services-nq7qqy46.js";
11
+ } from "./reference-44faxhpp.js";
12
12
  import {
13
- ID13,
13
+ ID7,
14
14
  mergeOverlay2,
15
15
  mergeHeaders2
16
- } from "./location-services-d5mtgc27.js";
16
+ } from "./reference-7f3re3ee.js";
17
17
  import {
18
- ID6,
18
+ ID4,
19
19
  Input14,
20
20
  Response2
21
- } from "./location-services-sp39rzf0.js";
21
+ } from "./reference-2m4s448y.js";
22
22
 
23
23
  // src/plugin/provider/opencode.ts
24
24
  import { Duration, Effect, Equal, Schema, Semaphore, Stream } from "effect";
@@ -32,7 +32,7 @@ var methodID = MethodID2.make("device");
32
32
  var RemoteResponse = Schema.Struct({
33
33
  providers: Schema.Record(Schema.String, ConfigProvider.Info),
34
34
  websearch: Schema.Struct({
35
- providerID: ID6
35
+ providerID: ID4
36
36
  }).pipe(Schema.optional)
37
37
  });
38
38
  var Device = Schema.Struct({
@@ -54,7 +54,7 @@ var User = Schema.Struct({ id: Schema.String, email: Schema.String });
54
54
  var Org = Schema.Struct({ id: Schema.String, name: Schema.String });
55
55
  function oauth(http) {
56
56
  return {
57
- integrationID: ID14.make("opencode"),
57
+ integrationID: ID9.make("opencode"),
58
58
  method: {
59
59
  id: methodID,
60
60
  type: "oauth",
@@ -125,7 +125,7 @@ var OpencodePlugin2 = define({
125
125
  providers.update(providerID, (provider) => {
126
126
  if (source && source.provider !== provider)
127
127
  Object.assign(provider, structuredClone(source.provider), { id: provider.id });
128
- provider.integrationID = ID14.make("opencode");
128
+ provider.integrationID = ID9.make("opencode");
129
129
  if (item.canonical !== undefined)
130
130
  provider.canonical = item.canonical;
131
131
  if (item.name !== undefined)
@@ -195,7 +195,7 @@ var OpencodePlugin2 = define({
195
195
  sourceConnection: snapshot.connection
196
196
  });
197
197
  }
198
- const item = providers.get(ID13.opencode);
198
+ const item = providers.get(ID7.opencode);
199
199
  if (!item)
200
200
  return;
201
201
  const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
@@ -207,7 +207,7 @@ var OpencodePlugin2 = define({
207
207
  });
208
208
  });
209
209
  yield* ctx.model.transform((models) => {
210
- const item = models.provider.get(ID13.opencode);
210
+ const item = models.provider.get(ID7.opencode);
211
211
  if (!item)
212
212
  return;
213
213
  const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey && item.provider.settings.apiKey !== "public");
@@ -262,7 +262,7 @@ var OpencodePlugin2 = define({
262
262
  yield* Effect.all([ctx.provider.reload(), ctx.websearch.reload()], { concurrency: 2, discard: true });
263
263
  });
264
264
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(apply)));
265
- yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
265
+ yield* bus.subscribe(Event21.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID9.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
266
266
  yield* Effect.sleep(Duration.minutes(10)).pipe(Effect.andThen(loading.withPermit(load().pipe(Effect.flatMap((next) => Equal.equals(snapshot, next) ? Effect.void : apply(next))))), Effect.forever, Effect.forkScoped);
267
267
  })
268
268
  });
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  __export
3
- } from "./location-services-9rqn6x4v.js";
3
+ } from "./reference-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/command.ts
6
6
  var exports_command5 = {};
7
7
  __export(exports_command5, {
8
8
  ConfigCommandV1: () => exports_command5,
9
- Info: () => Info16
9
+ Info: () => Info14
10
10
  });
11
11
  import { Schema } from "effect";
12
- var Info16 = Schema.Struct({
12
+ var Info14 = Schema.Struct({
13
13
  template: Schema.String,
14
14
  description: Schema.optional(Schema.String),
15
15
  agent: Schema.optional(Schema.String),
@@ -18,4 +18,4 @@ var Info16 = Schema.Struct({
18
18
  subtask: Schema.optional(Schema.Boolean)
19
19
  });
20
20
 
21
- export { Info16, exports_command5 };
21
+ export { Info14, exports_command5 };