@opencode/core 2.0.1 → 2.0.2

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 (788) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +80 -80
  3. package/dist/aisdk-native.js +2 -2
  4. package/dist/aisdk.js +6 -6
  5. package/dist/app.js +5 -5
  6. package/dist/bus.js +72 -72
  7. package/dist/catalog.js +84 -84
  8. package/dist/chunks/{repository-ezbaq0hv.js → location-services-03g9n59p.js} +4 -4
  9. package/dist/chunks/{repository-cg1ew3t4.js → location-services-0artwwxx.js} +3 -3
  10. package/dist/chunks/{repository-2k8khapm.js → location-services-0jwsre1p.js} +5 -5
  11. package/dist/chunks/location-services-0mesazry.js +4 -0
  12. package/dist/chunks/{repository-36564s8r.js → location-services-0mt0kscd.js} +29 -29
  13. package/dist/chunks/{repository-0paq2nw3.js → location-services-0paq2nw3.js} +1 -1
  14. package/dist/chunks/{repository-8c7y8dn0.js → location-services-0pb75hch.js} +5 -5
  15. package/dist/chunks/{repository-0q0f95c6.js → location-services-0q0f95c6.js} +1 -1
  16. package/dist/chunks/{repository-5892jdtn.js → location-services-0r684n0p.js} +8 -8
  17. package/dist/chunks/{repository-8gs4w1fy.js → location-services-107p1e5w.js} +30 -30
  18. package/dist/chunks/{repository-pctvcs1g.js → location-services-15f8axbg.js} +14 -14
  19. package/dist/chunks/{repository-g4kbd5hn.js → location-services-1a66p2eq.js} +22 -22
  20. package/dist/chunks/{repository-r8xr0va3.js → location-services-1acjjqhc.js} +4 -4
  21. package/dist/chunks/{repository-1bbkgx8g.js → location-services-1bbkgx8g.js} +1 -1
  22. package/dist/chunks/{repository-h90k734v.js → location-services-1cw6jyks.js} +9 -9
  23. package/dist/chunks/{repository-1dazxqgg.js → location-services-1dazxqgg.js} +2 -2
  24. package/dist/chunks/{repository-ehajtz8g.js → location-services-1emffesh.js} +5 -5
  25. package/dist/chunks/{repository-fmdgzt8c.js → location-services-1ewwg606.js} +45 -45
  26. package/dist/chunks/{repository-de42ff3x.js → location-services-1ezhg5n2.js} +19 -19
  27. package/dist/chunks/{repository-3yetcf2r.js → location-services-1m7gs3ah.js} +49 -49
  28. package/dist/chunks/{repository-r33ff4dw.js → location-services-1s3p39g4.js} +4 -4
  29. package/dist/chunks/{repository-s2t8c8fj.js → location-services-1txhhsar.js} +4 -4
  30. package/dist/chunks/{repository-w75dnx21.js → location-services-20ct9c8y.js} +42 -42
  31. package/dist/chunks/{repository-fv2d43cy.js → location-services-20tey5zg.js} +25 -25
  32. package/dist/chunks/{repository-qkrnz1pz.js → location-services-219neeqh.js} +5 -5
  33. package/dist/chunks/{repository-21r38tys.js → location-services-21r38tys.js} +1 -1
  34. package/dist/chunks/{repository-bkhh0yw4.js → location-services-24w6x0js.js} +16 -16
  35. package/dist/chunks/{repository-peejr10p.js → location-services-265kqrgy.js} +1 -1
  36. package/dist/chunks/{repository-2a5m3afh.js → location-services-2a5m3afh.js} +1 -1
  37. package/dist/chunks/location-services-2est6f04.js +76 -0
  38. package/dist/chunks/{repository-yz39bey7.js → location-services-2gv9ss0t.js} +29 -29
  39. package/dist/chunks/{repository-1g6ktzxp.js → location-services-2hf86re2.js} +46 -46
  40. package/dist/chunks/{repository-haj0byqn.js → location-services-2mk0xfrn.js} +4 -4
  41. package/dist/chunks/{repository-j5xt7epv.js → location-services-2p1x4cae.js} +12 -12
  42. package/dist/chunks/{repository-cq37gk0t.js → location-services-2tfmgkzg.js} +4 -4
  43. package/dist/chunks/{repository-58e8mpmb.js → location-services-2xh74eyw.js} +7 -7
  44. package/dist/chunks/{repository-pye8sh6e.js → location-services-33n3bzdy.js} +6 -6
  45. package/dist/chunks/{repository-56gdpj1q.js → location-services-33w4ejhs.js} +6 -6
  46. package/dist/chunks/{repository-c9wtqnwj.js → location-services-34cjg5aj.js} +11 -11
  47. package/dist/chunks/{repository-b6hy6gkz.js → location-services-35wynegs.js} +2 -2
  48. package/dist/chunks/{repository-gdvy8fx6.js → location-services-3fc6dm20.js} +4 -4
  49. package/dist/chunks/{repository-3hepkmqq.js → location-services-3hepkmqq.js} +1 -1
  50. package/dist/chunks/{repository-4emgtgzt.js → location-services-3hrj6hc1.js} +22 -22
  51. package/dist/chunks/{repository-84czwvzw.js → location-services-3kx4em2y.js} +13 -13
  52. package/dist/chunks/{repository-q8rd9qhs.js → location-services-3qccx5hy.js} +30 -30
  53. package/dist/chunks/{repository-3smtnn6g.js → location-services-3smtnn6g.js} +1 -1
  54. package/dist/chunks/{repository-3tvqynh2.js → location-services-3tvqynh2.js} +1 -1
  55. package/dist/chunks/{repository-dj9sq318.js → location-services-3w0fmcng.js} +5 -5
  56. package/dist/chunks/{repository-3seenrp7.js → location-services-3z34j0cx.js} +9 -9
  57. package/dist/chunks/{repository-bejabbw1.js → location-services-42etq36e.js} +32 -32
  58. package/dist/chunks/{repository-1tjfkw5v.js → location-services-4tka16dg.js} +25 -25
  59. package/dist/chunks/{repository-4y66k410.js → location-services-4y66k410.js} +2 -2
  60. package/dist/chunks/{repository-rsbh8q26.js → location-services-542ghrza.js} +51 -51
  61. package/dist/chunks/{repository-a8ygtzbq.js → location-services-585kdyqn.js} +19 -19
  62. package/dist/chunks/{repository-02dev0ez.js → location-services-5a8my2dm.js} +15 -15
  63. package/dist/chunks/{repository-fmvngk0a.js → location-services-5adankya.js} +29 -29
  64. package/dist/chunks/{repository-1n274c67.js → location-services-5agpr7j3.js} +15 -15
  65. package/dist/chunks/{repository-a1bz86dw.js → location-services-5c4hm403.js} +3 -3
  66. package/dist/chunks/{repository-5daktx2q.js → location-services-5daktx2q.js} +1 -1
  67. package/dist/chunks/{repository-5t3nmthw.js → location-services-5t3nmthw.js} +2 -2
  68. package/dist/chunks/{repository-5cy52y0z.js → location-services-615073jg.js} +6 -6
  69. package/dist/chunks/{repository-669tq793.js → location-services-669tq793.js} +1 -1
  70. package/dist/chunks/{repository-x6rcf4cj.js → location-services-69j49pks.js} +16 -16
  71. package/dist/chunks/location-services-69vkpgwa.js +26 -0
  72. package/dist/chunks/{repository-2402vzrj.js → location-services-6h73sxmp.js} +5 -5
  73. package/dist/chunks/{repository-g8d3gcyj.js → location-services-6hh8tjw2.js} +7 -7
  74. package/dist/chunks/{repository-6msgmcgs.js → location-services-6msgmcgs.js} +1 -1
  75. package/dist/chunks/{repository-b5n11jz6.js → location-services-6vgebzwc.js} +24 -24
  76. package/dist/chunks/{repository-r2dfp6se.js → location-services-6xpnb31x.js} +37 -37
  77. package/dist/chunks/{repository-zc2xj3qj.js → location-services-70d2s7af.js} +1 -1
  78. package/dist/chunks/{repository-71q4at8m.js → location-services-71q4at8m.js} +1 -1
  79. package/dist/chunks/{repository-ky16kd9n.js → location-services-76h67nm5.js} +12 -12
  80. package/dist/chunks/{repository-7bmhse3q.js → location-services-7bmhse3q.js} +1 -1
  81. package/dist/chunks/{repository-cedwm630.js → location-services-7fyj755m.js} +40 -40
  82. package/dist/chunks/{repository-pecb0brz.js → location-services-7gvwkz6m.js} +5 -5
  83. package/dist/chunks/{repository-zdwyj9y5.js → location-services-7mrkexn2.js} +32 -32
  84. package/dist/chunks/{repository-8d7r5vzw.js → location-services-8d7r5vzw.js} +1 -1
  85. package/dist/chunks/{repository-pwf15mvc.js → location-services-8pysh2wa.js} +4 -4
  86. package/dist/chunks/{repository-y1b098n8.js → location-services-8qgkpww5.js} +9 -9
  87. package/dist/chunks/{repository-xqzn0vp7.js → location-services-8ztsynak.js} +9 -9
  88. package/dist/chunks/{repository-xp6wb0v9.js → location-services-948cxjmy.js} +23 -23
  89. package/dist/chunks/{repository-petjzngd.js → location-services-97gsetns.js} +14 -14
  90. package/dist/chunks/{repository-2fbr18f9.js → location-services-97x9kwse.js} +42 -42
  91. package/dist/chunks/{repository-c968x2fe.js → location-services-9bxfga2g.js} +11 -11
  92. package/dist/chunks/{repository-yjknk9j9.js → location-services-9q7w8qe9.js} +5 -5
  93. package/dist/chunks/{repository-pn143qvt.js → location-services-9yz08dhv.js} +19 -19
  94. package/dist/chunks/{repository-nxamnhdf.js → location-services-a2jtfxjw.js} +14 -14
  95. package/dist/chunks/{repository-47vy4edm.js → location-services-a5nry4jq.js} +5 -5
  96. package/dist/chunks/{repository-j8g7a3j8.js → location-services-a8kyr2x4.js} +8 -8
  97. package/dist/chunks/{repository-aaet6srn.js → location-services-aaet6srn.js} +2 -2
  98. package/dist/chunks/{repository-88zp0tbv.js → location-services-adadcvct.js} +10 -10
  99. package/dist/chunks/{repository-h71w788e.js → location-services-akybccbs.js} +9 -9
  100. package/dist/chunks/{repository-fmpkkhtn.js → location-services-awf1vrqt.js} +18 -18
  101. package/dist/chunks/{repository-3mdgf1e2.js → location-services-b1h6aq5y.js} +24 -24
  102. package/dist/chunks/{repository-213v9py0.js → location-services-b1yrrjjr.js} +6 -6
  103. package/dist/chunks/{repository-w0cvk6jr.js → location-services-b2r28sfe.js} +25 -25
  104. package/dist/chunks/{repository-j4z2qnee.js → location-services-b3frasm9.js} +7 -7
  105. package/dist/chunks/{repository-b6gygkdw.js → location-services-b6gygkdw.js} +2 -2
  106. package/dist/chunks/{repository-h0gkjmvb.js → location-services-bcb9n2af.js} +13 -13
  107. package/dist/chunks/{repository-drknmmyh.js → location-services-bna2jm49.js} +9 -9
  108. package/dist/chunks/{repository-10jtetaj.js → location-services-bscb95cy.js} +4 -4
  109. package/dist/chunks/{repository-evxnsm19.js → location-services-bx9k359n.js} +15 -15
  110. package/dist/chunks/{repository-ext3js1z.js → location-services-byj6491s.js} +20 -20
  111. package/dist/chunks/{repository-cabt264k.js → location-services-c04yyk0p.js} +14 -14
  112. package/dist/chunks/{repository-y5pstp70.js → location-services-c293rtmv.js} +6 -6
  113. package/dist/chunks/{repository-kkdm9ajw.js → location-services-ccxa221s.js} +5 -5
  114. package/dist/chunks/{repository-v3v5frkk.js → location-services-cfq2tqyc.js} +31 -31
  115. package/dist/chunks/{repository-eprkdeyt.js → location-services-cgryk3d0.js} +18 -18
  116. package/dist/chunks/{repository-jzksghxf.js → location-services-cj7k1vck.js} +30 -30
  117. package/dist/chunks/{repository-p6v0vyws.js → location-services-csqhwd0e.js} +23 -23
  118. package/dist/chunks/{repository-gtm8txn9.js → location-services-cv4zdsrn.js} +28 -28
  119. package/dist/chunks/{repository-bbarxbyb.js → location-services-cvtmmhw6.js} +1 -1
  120. package/dist/chunks/{repository-t59s3hhv.js → location-services-cydqfn8g.js} +36 -36
  121. package/dist/chunks/{repository-pzjh8mr9.js → location-services-d5t04rjd.js} +15 -15
  122. package/dist/chunks/{repository-jby58kjs.js → location-services-d9627bvv.js} +13 -13
  123. package/dist/chunks/{repository-qrj9d2ct.js → location-services-db0ywk9p.js} +22 -22
  124. package/dist/chunks/{repository-4e540xxx.js → location-services-dgmwn8ez.js} +8 -8
  125. package/dist/chunks/{repository-8p4f9s12.js → location-services-dj2t23y0.js} +2 -2
  126. package/dist/chunks/{repository-y71avatq.js → location-services-dpkg50ah.js} +4 -4
  127. package/dist/chunks/{repository-9xb0s4b9.js → location-services-dpv3ckk4.js} +28 -28
  128. package/dist/chunks/{repository-he3792rk.js → location-services-drkq60sc.js} +32 -32
  129. package/dist/chunks/{repository-cmwkp3r5.js → location-services-dv1qgsyq.js} +8 -8
  130. package/dist/chunks/{repository-wxpch4dk.js → location-services-e1m73h80.js} +27 -27
  131. package/dist/chunks/{repository-csp720wb.js → location-services-e7vk223c.js} +22 -22
  132. package/dist/chunks/{repository-rhjbct0v.js → location-services-eaj1djv9.js} +8 -8
  133. package/dist/chunks/{repository-q8bcy8ws.js → location-services-endx0wqw.js} +2 -2
  134. package/dist/chunks/{repository-txzqvs6q.js → location-services-eqtkqxc7.js} +22 -22
  135. package/dist/chunks/{repository-etq0c3wd.js → location-services-etq0c3wd.js} +1 -1
  136. package/dist/chunks/{repository-ykpr0q7c.js → location-services-fe7neb4g.js} +55 -55
  137. package/dist/chunks/{repository-pvp1cs2e.js → location-services-fkbdwje6.js} +18 -18
  138. package/dist/chunks/{repository-ct93djtc.js → location-services-fmcxa852.js} +9 -9
  139. package/dist/chunks/{repository-sgk3431w.js → location-services-fme7gyv2.js} +27 -27
  140. package/dist/chunks/{repository-5b88mxz1.js → location-services-fv23cpfe.js} +7 -7
  141. package/dist/chunks/{repository-qfmvv2sm.js → location-services-fx8h9evn.js} +3 -3
  142. package/dist/chunks/{repository-fxbjtjnd.js → location-services-fxbjtjnd.js} +1 -1
  143. package/dist/chunks/{repository-r14cnnrw.js → location-services-garbmm90.js} +4 -4
  144. package/dist/chunks/{repository-gd4qta3r.js → location-services-gd4qta3r.js} +1 -1
  145. package/dist/chunks/{repository-yahs3f01.js → location-services-ghv2730f.js} +46 -46
  146. package/dist/chunks/{repository-sm236kpq.js → location-services-gsr2pv6w.js} +11 -11
  147. package/dist/chunks/{repository-gv6a8nnw.js → location-services-gv6a8nnw.js} +2 -2
  148. package/dist/chunks/{repository-h03wrkyp.js → location-services-h03wrkyp.js} +2 -2
  149. package/dist/chunks/{repository-w4wc2211.js → location-services-h0e829jw.js} +32 -32
  150. package/dist/chunks/{repository-za4pw5w1.js → location-services-h2r7bbkd.js} +8 -8
  151. package/dist/chunks/{repository-sksn9mf1.js → location-services-h43s0y1m.js} +9 -9
  152. package/dist/chunks/{repository-h6vf3j39.js → location-services-h6vf3j39.js} +1 -1
  153. package/dist/chunks/{repository-xhhmv89y.js → location-services-ha8q569c.js} +4 -4
  154. package/dist/chunks/{repository-ztky2hbm.js → location-services-hajzqnjk.js} +14 -14
  155. package/dist/chunks/{repository-f828m53h.js → location-services-hdnk95c8.js} +2 -2
  156. package/dist/chunks/{repository-mqsc2h20.js → location-services-hj95hp1y.js} +24 -24
  157. package/dist/chunks/{repository-hjt4xg1x.js → location-services-hjt4xg1x.js} +1 -1
  158. package/dist/chunks/{repository-2yv9jfkc.js → location-services-hkn3d3em.js} +10 -10
  159. package/dist/chunks/{repository-0zkv00cg.js → location-services-htcxsbd3.js} +31 -31
  160. package/dist/chunks/{repository-51cmmk6m.js → location-services-hyqjefsy.js} +85 -85
  161. package/dist/chunks/{repository-1gnhqkth.js → location-services-j26kwb45.js} +10 -10
  162. package/dist/chunks/{repository-j56e64zr.js → location-services-j56e64zr.js} +1 -1
  163. package/dist/chunks/{repository-w96k05dy.js → location-services-j7t2khjb.js} +11 -11
  164. package/dist/chunks/{repository-y6f0p4jw.js → location-services-j7wq2tw5.js} +3 -3
  165. package/dist/chunks/{repository-mgx963cj.js → location-services-jj63jgrn.js} +8 -8
  166. package/dist/chunks/{repository-mw6spqsr.js → location-services-js2cb58t.js} +15 -15
  167. package/dist/chunks/{repository-0r7yqxbf.js → location-services-jv01nqvq.js} +5 -5
  168. package/dist/chunks/{repository-g190xswt.js → location-services-jw80jp6b.js} +4 -4
  169. package/dist/chunks/{repository-hj2f0bzq.js → location-services-jwd472vv.js} +7 -7
  170. package/dist/chunks/{repository-ff9w6xrb.js → location-services-jxnawz51.js} +9 -9
  171. package/dist/chunks/{repository-g9cr3d5v.js → location-services-jxyew9fw.js} +4 -4
  172. package/dist/chunks/{repository-9rs4eqfv.js → location-services-jy6ssemz.js} +16 -16
  173. package/dist/chunks/{repository-59j62b79.js → location-services-k46ek28k.js} +11 -11
  174. package/dist/chunks/{repository-6wjjjhy6.js → location-services-k4e7wm7p.js} +17 -17
  175. package/dist/chunks/{repository-kg06axw8.js → location-services-kg06axw8.js} +1 -1
  176. package/dist/chunks/{repository-87v8z91d.js → location-services-kj36tdkt.js} +11 -11
  177. package/dist/chunks/{repository-fmykz272.js → location-services-kke3pb1j.js} +7 -7
  178. package/dist/chunks/{repository-jwjk52g2.js → location-services-kqd2wwpf.js} +4 -4
  179. package/dist/chunks/{repository-cfpkc3c9.js → location-services-m0jqrx5p.js} +2 -2
  180. package/dist/chunks/{repository-m2d0j7c0.js → location-services-m2d0j7c0.js} +2 -2
  181. package/dist/chunks/{repository-w4axh9wz.js → location-services-m91gvp7t.js} +6 -6
  182. package/dist/chunks/{repository-fcgysgr5.js → location-services-m9e6zxeh.js} +11 -11
  183. package/dist/chunks/{repository-m9w0rfyh.js → location-services-m9w0rfyh.js} +1 -1
  184. package/dist/chunks/{repository-b0sf2pns.js → location-services-mjbh00zx.js} +6 -6
  185. package/dist/chunks/{repository-eztf1wzg.js → location-services-mz6ae2yf.js} +1 -1
  186. package/dist/chunks/{repository-je6c5z5p.js → location-services-n5xg6qpj.js} +9 -9
  187. package/dist/chunks/{repository-0xfnng1h.js → location-services-n9qvx0dx.js} +16 -16
  188. package/dist/chunks/{repository-zr3d0gxg.js → location-services-nh7bjnck.js} +22 -22
  189. package/dist/chunks/{repository-my7gf51c.js → location-services-nqntf4eh.js} +68 -68
  190. package/dist/chunks/{repository-39fveamk.js → location-services-nsme3wtk.js} +27 -25
  191. package/dist/chunks/{repository-3tamc9js.js → location-services-nvksyjxq.js} +28 -28
  192. package/dist/chunks/{repository-sztg2hv4.js → location-services-nwd6ekzm.js} +35 -35
  193. package/dist/chunks/{repository-1bvekr7f.js → location-services-p0a23dx6.js} +6 -6
  194. package/dist/chunks/{repository-n4a6bgqk.js → location-services-p1qy1t52.js} +14 -14
  195. package/dist/chunks/{repository-a5h5qkjp.js → location-services-p3sqqmz6.js} +35 -35
  196. package/dist/chunks/{repository-msq0jde0.js → location-services-paegk39x.js} +4 -4
  197. package/dist/chunks/location-services-pd96nw7e.js +462 -0
  198. package/dist/chunks/{repository-pjvnvgmy.js → location-services-pjvnvgmy.js} +1 -1
  199. package/dist/chunks/{repository-pknna89w.js → location-services-pknna89w.js} +1 -1
  200. package/dist/chunks/{repository-rgmexsye.js → location-services-pn0ragf5.js} +13 -13
  201. package/dist/chunks/{repository-h4e6z68e.js → location-services-pqxmvtn6.js} +15 -15
  202. package/dist/chunks/{repository-t2x602yk.js → location-services-pvdm847m.js} +18 -18
  203. package/dist/chunks/{repository-ppq9etn0.js → location-services-pz39f4ja.js} +34 -34
  204. package/dist/chunks/{repository-1j4qb6e1.js → location-services-q6fregp6.js} +8 -8
  205. package/dist/chunks/{repository-9yhr46n3.js → location-services-qr5f7037.js} +22 -22
  206. package/dist/chunks/{repository-qsdy395h.js → location-services-qsdy395h.js} +1 -1
  207. package/dist/chunks/{repository-3x8gcmrs.js → location-services-qwkytnft.js} +6 -6
  208. package/dist/chunks/{repository-27wgnz1z.js → location-services-r4p7g342.js} +11 -11
  209. package/dist/chunks/{repository-xjmr3883.js → location-services-r6qxwhmr.js} +6 -6
  210. package/dist/chunks/{repository-x384g1hs.js → location-services-r986sde3.js} +15 -15
  211. package/dist/chunks/{repository-r9mregkx.js → location-services-r9mregkx.js} +2 -2
  212. package/dist/chunks/{repository-r94mrtfv.js → location-services-r9x9035c.js} +18 -18
  213. package/dist/chunks/{repository-smnv2tch.js → location-services-req99jdj.js} +95 -46
  214. package/dist/chunks/{repository-mhbk2b8a.js → location-services-rh0bdmv0.js} +15 -15
  215. package/dist/chunks/{repository-shg3amz7.js → location-services-rkkpgdp7.js} +20 -20
  216. package/dist/chunks/{repository-ztwfyng4.js → location-services-rmmsmjb4.js} +4 -4
  217. package/dist/chunks/{repository-0wjw63yk.js → location-services-rq8nv58m.js} +26 -26
  218. package/dist/chunks/{repository-hqjg1cx1.js → location-services-rsym84ch.js} +9 -9
  219. package/dist/chunks/location-services-sakrjbba.js +247 -0
  220. package/dist/chunks/{repository-hrncarcf.js → location-services-sas8pg5s.js} +1 -1
  221. package/dist/chunks/{repository-tat7nwhe.js → location-services-sczemkxt.js} +10 -10
  222. package/dist/chunks/{repository-2m84dfka.js → location-services-sjzmzw6k.js} +22 -22
  223. package/dist/chunks/{repository-19c2b9rb.js → location-services-sng378jj.js} +11 -11
  224. package/dist/chunks/{repository-6tpt9h9q.js → location-services-ssjhvfxk.js} +62 -62
  225. package/dist/chunks/{repository-rg2zvvyz.js → location-services-sxat3wmc.js} +11 -11
  226. package/dist/chunks/{repository-t0x5rdq8.js → location-services-t0x5rdq8.js} +2 -2
  227. package/dist/chunks/{repository-h1rn3ct5.js → location-services-t1y5sq03.js} +83 -83
  228. package/dist/chunks/{repository-f78hydwg.js → location-services-t6wppts7.js} +6 -6
  229. package/dist/chunks/{repository-y973e7aq.js → location-services-t71tw57v.js} +13 -13
  230. package/dist/chunks/{repository-5n0sh9d6.js → location-services-t9wdc6hm.js} +7 -7
  231. package/dist/chunks/{repository-tazgh4e4.js → location-services-tazgh4e4.js} +1 -1
  232. package/dist/chunks/{repository-gxgjkd0x.js → location-services-tbbfetw3.js} +13 -13
  233. package/dist/chunks/{repository-tcezcvh9.js → location-services-tcezcvh9.js} +1 -1
  234. package/dist/chunks/{repository-tdstcens.js → location-services-tdstcens.js} +1 -1
  235. package/dist/chunks/{repository-0k7wafs3.js → location-services-tf1j6dqp.js} +28 -28
  236. package/dist/chunks/{repository-8vg4n516.js → location-services-tnrzkm65.js} +20 -20
  237. package/dist/chunks/{repository-72ds7gf6.js → location-services-tqntqbg3.js} +30 -30
  238. package/dist/chunks/{repository-tvtrv512.js → location-services-tvtrv512.js} +1 -1
  239. package/dist/chunks/{repository-7zs56f9j.js → location-services-twbrtgyh.js} +6 -6
  240. package/dist/chunks/{repository-tx9qvpbt.js → location-services-tx9qvpbt.js} +2 -2
  241. package/dist/chunks/location-services-v1faaxn9.js +18 -0
  242. package/dist/chunks/{repository-1t2s0wry.js → location-services-v64gcnw2.js} +5 -5
  243. package/dist/chunks/{repository-8m31s27t.js → location-services-v9b1dqp1.js} +11 -11
  244. package/dist/chunks/{repository-c13f7gjw.js → location-services-vbjhd26x.js} +34 -34
  245. package/dist/chunks/{repository-veqvce7d.js → location-services-veqvce7d.js} +1 -1
  246. package/dist/chunks/{repository-z0xnky3q.js → location-services-vgm7d86c.js} +31 -31
  247. package/dist/chunks/{repository-20q8k894.js → location-services-vjngb1jq.js} +9 -9
  248. package/dist/chunks/{repository-j83byb14.js → location-services-vncycja5.js} +4 -4
  249. package/dist/chunks/{repository-ksjan0t5.js → location-services-vpbqjthg.js} +13 -13
  250. package/dist/chunks/{repository-penaav09.js → location-services-vv213pfm.js} +30 -30
  251. package/dist/chunks/{repository-me4pxbk2.js → location-services-vzaj5ab4.js} +32 -32
  252. package/dist/chunks/{repository-vzcthcp8.js → location-services-vzcthcp8.js} +1 -1
  253. package/dist/chunks/{repository-8db04et3.js → location-services-w365kw1b.js} +8 -8
  254. package/dist/chunks/{repository-w3wsvvr9.js → location-services-w3wsvvr9.js} +1 -1
  255. package/dist/chunks/{repository-p33ejz0k.js → location-services-w79zsp0s.js} +1 -1
  256. package/dist/chunks/{repository-a3n1dpj2.js → location-services-wajnf5bs.js} +9 -9
  257. package/dist/chunks/{repository-pjrv1sn1.js → location-services-wavq5vqb.js} +1 -1
  258. package/dist/chunks/{repository-2cgm8dc1.js → location-services-wcg6xr7g.js} +11 -11
  259. package/dist/chunks/{repository-wd87259q.js → location-services-wd87259q.js} +1 -1
  260. package/dist/chunks/{repository-seps633m.js → location-services-wv08tht3.js} +28 -28
  261. package/dist/chunks/{repository-0k3t14ts.js → location-services-x0mzf5sc.js} +7 -7
  262. package/dist/chunks/{repository-x1ezjp6w.js → location-services-x1ezjp6w.js} +1 -1
  263. package/dist/chunks/{repository-d75w7jnc.js → location-services-x8f1tbsj.js} +18 -18
  264. package/dist/chunks/{repository-j5346eb1.js → location-services-x9k84rm6.js} +169 -169
  265. package/dist/chunks/{repository-g8mks886.js → location-services-xd2p8b6x.js} +11 -11
  266. package/dist/chunks/{repository-2v08kgv1.js → location-services-xfm7bwgx.js} +23 -23
  267. package/dist/chunks/{repository-b09hzw3k.js → location-services-xg9t41r3.js} +2 -2
  268. package/dist/chunks/{repository-g0dr00md.js → location-services-xvqk5qet.js} +29 -29
  269. package/dist/chunks/{repository-18e56dsp.js → location-services-xwwz9aqf.js} +4 -4
  270. package/dist/chunks/{repository-y1fvbwt7.js → location-services-y1fvbwt7.js} +1 -1
  271. package/dist/chunks/{repository-5y5h33xd.js → location-services-y5r1chhz.js} +5 -5
  272. package/dist/chunks/{repository-j38hs89b.js → location-services-y7wy22rx.js} +31 -25
  273. package/dist/chunks/{repository-tkvvdtgj.js → location-services-yd6mkx5z.js} +5 -5
  274. package/dist/chunks/{repository-aa4x36r7.js → location-services-yj94a1d5.js} +47 -47
  275. package/dist/chunks/{repository-386j3b86.js → location-services-yqzynv2p.js} +20 -20
  276. package/dist/chunks/{repository-yrhqyw5v.js → location-services-yrhqyw5v.js} +1 -1
  277. package/dist/chunks/{repository-yrznvahk.js → location-services-yrznvahk.js} +2 -2
  278. package/dist/chunks/{repository-qt3bdkqw.js → location-services-ywn91hmh.js} +22 -22
  279. package/dist/chunks/{repository-1jnd8eq9.js → location-services-yz6937d7.js} +16 -16
  280. package/dist/chunks/{repository-z0bkrqjs.js → location-services-z0bkrqjs.js} +1 -1
  281. package/dist/chunks/{repository-3ke3s58r.js → location-services-z4fsc67a.js} +15 -14
  282. package/dist/chunks/{repository-z63w68vq.js → location-services-z63w68vq.js} +2 -2
  283. package/dist/chunks/{repository-zeh9ct20.js → location-services-zeh9ct20.js} +2 -2
  284. package/dist/chunks/{repository-nrk5vjbf.js → location-services-zk8c4w5t.js} +5 -5
  285. package/dist/chunks/{repository-zr2ceqn5.js → location-services-zr2ceqn5.js} +1 -1
  286. package/dist/chunks/{repository-8gxqpgph.js → location-services-zvt5dnpc.js} +4 -4
  287. package/dist/chunks/{repository-zxq2ej10.js → location-services-zxq2ej10.js} +1 -1
  288. package/dist/codemode/catalog.js +3 -3
  289. package/dist/codemode/instructions.js +5 -5
  290. package/dist/codemode/tool.js +2 -2
  291. package/dist/command.js +84 -84
  292. package/dist/config/discovery.js +78 -78
  293. package/dist/config/markdown.js +1 -1
  294. package/dist/config/normalize.js +19 -19
  295. package/dist/config/plugin/agent.js +118 -118
  296. package/dist/config/plugin/command.js +210 -210
  297. package/dist/config/plugin/compaction.js +156 -156
  298. package/dist/config/plugin/entry-observer.js +1 -1
  299. package/dist/config/plugin/formatter.js +118 -118
  300. package/dist/config/plugin/image.js +116 -116
  301. package/dist/config/plugin/instruction.js +86 -86
  302. package/dist/config/plugin/location-watcher.js +116 -116
  303. package/dist/config/plugin/mcp.js +127 -127
  304. package/dist/config/plugin/policy.js +115 -115
  305. package/dist/config/plugin/provider.js +114 -114
  306. package/dist/config/plugin/reference.js +118 -118
  307. package/dist/config/plugin/shell.js +119 -119
  308. package/dist/config/plugin/skill-file.js +98 -98
  309. package/dist/config/plugin/skill.js +137 -137
  310. package/dist/config/plugin/snapshot.js +116 -116
  311. package/dist/config/plugin/source.js +118 -118
  312. package/dist/config/plugin/tool-output.js +118 -118
  313. package/dist/config/plugin/websearch.js +116 -116
  314. package/dist/config/plugin/worktree.js +119 -119
  315. package/dist/config/variable.js +3 -3
  316. package/dist/config/watch.js +1 -1
  317. package/dist/config.js +120 -120
  318. package/dist/credential/sql.js +2 -2
  319. package/dist/credential.js +84 -84
  320. package/dist/database/database.js +69 -69
  321. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  322. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  323. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  324. package/dist/database/drizzle/index.js +15 -15
  325. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  327. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  328. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  329. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  330. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  335. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  336. package/dist/database/drizzle.js +16 -16
  337. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  338. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  339. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  340. package/dist/database/migration/20260225215848_workspace.js +1 -1
  341. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  342. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  343. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  344. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  345. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  346. package/dist/database/migration/20260323234822_events.js +1 -1
  347. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  348. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  349. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  350. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  351. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  352. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  353. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  354. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  355. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  356. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  357. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  358. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  359. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  360. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  361. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  362. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  363. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  364. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  365. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  366. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  367. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  368. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  369. package/dist/database/migration/20260611035744_credential.js +1 -1
  370. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  371. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  372. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  373. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  374. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  375. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  376. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  377. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  378. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  379. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  380. package/dist/database/migration/20260812213948_worktree.js +1 -1
  381. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  382. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  383. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  384. package/dist/database/migration.gen.js +48 -48
  385. package/dist/database/migration.js +50 -50
  386. package/dist/database/path.js +2 -2
  387. package/dist/database/schema.gen.js +1 -1
  388. package/dist/database/schema.sql.js +1 -1
  389. package/dist/database/sqlite.bun.js +1 -1
  390. package/dist/database/sqlite.js +1 -1
  391. package/dist/database/sqlite.node.js +1 -1
  392. package/dist/database/sqlite.workerd.js +1 -1
  393. package/dist/database/v1-migration.bun.js +78 -78
  394. package/dist/database/v1-migration.js +1 -1
  395. package/dist/effect/app-node-builder.js +362 -361
  396. package/dist/effect/app-node-platform.js +2 -2
  397. package/dist/effect/keyed-mutex.js +3 -3
  398. package/dist/effect/websocket-constructor.js +1 -1
  399. package/dist/environment/driver.js +1 -1
  400. package/dist/environment/environment.js +89 -89
  401. package/dist/environment/exec-defaults.js +2 -2
  402. package/dist/environment/files.js +1 -1
  403. package/dist/environment/index.js +91 -91
  404. package/dist/environment/local.js +2 -2
  405. package/dist/environment/memory.js +2 -2
  406. package/dist/environment/unavailable.js +1 -1
  407. package/dist/event/sql.js +1 -1
  408. package/dist/event-logger.js +73 -73
  409. package/dist/file-access.js +100 -100
  410. package/dist/file-mutation.js +90 -90
  411. package/dist/file-retention.js +1 -1
  412. package/dist/file.js +1 -1
  413. package/dist/filesystem/fff.bun.js +2 -2
  414. package/dist/filesystem/fff.js +1 -1
  415. package/dist/filesystem/fff.node.js +2 -2
  416. package/dist/filesystem/fff.workerd.js +2 -2
  417. package/dist/filesystem/ignore.js +1 -1
  418. package/dist/filesystem/location-watcher-policy.js +2 -2
  419. package/dist/filesystem/location-watcher.js +217 -217
  420. package/dist/filesystem/protected.js +1 -1
  421. package/dist/filesystem/search.js +100 -100
  422. package/dist/filesystem/watcher-binding.js +1 -1
  423. package/dist/filesystem/watcher.js +13 -13
  424. package/dist/filesystem.js +99 -97
  425. package/dist/form.js +85 -85
  426. package/dist/formatter/builtins.js +2 -2
  427. package/dist/formatter.js +79 -79
  428. package/dist/generate.js +92 -92
  429. package/dist/git.js +7 -7
  430. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  431. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  432. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  433. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  434. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  435. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  436. package/dist/github-copilot/copilot-provider.js +17 -17
  437. package/dist/github-copilot/models.js +3 -3
  438. package/dist/github-copilot/openai-compatible-error.js +1 -1
  439. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  440. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  441. package/dist/github-copilot/responses/openai-error.js +1 -1
  442. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  443. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  444. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  445. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  446. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  447. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  448. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  449. package/dist/id/id.js +1 -1
  450. package/dist/image/photon.js +2 -2
  451. package/dist/image.js +6 -6
  452. package/dist/instance/service.js +5 -5
  453. package/dist/instance.js +353 -352
  454. package/dist/instruction-discovery.js +84 -84
  455. package/dist/instructions/builtins.js +83 -83
  456. package/dist/instructions/index.js +5 -5
  457. package/dist/integration/connection.js +1 -1
  458. package/dist/integration.js +85 -85
  459. package/dist/job.js +76 -76
  460. package/dist/kv/sql.js +2 -2
  461. package/dist/kv.js +72 -72
  462. package/dist/location-activity.js +132 -132
  463. package/dist/location-mutation.js +100 -100
  464. package/dist/location-service-map.js +82 -82
  465. package/dist/location-services.js +350 -349
  466. package/dist/location.js +85 -85
  467. package/dist/mcp/client.js +87 -87
  468. package/dist/mcp/index.js +102 -102
  469. package/dist/mcp/instructions.js +121 -121
  470. package/dist/mcp/oauth.js +3 -3
  471. package/dist/mcp/stdio.js +86 -86
  472. package/dist/mime.js +1 -1
  473. package/dist/modal/models.js +3 -3
  474. package/dist/model-resolver.js +87 -87
  475. package/dist/model.js +10 -10
  476. package/dist/models-dev.js +75 -75
  477. package/dist/oauth/page.js +1 -1
  478. package/dist/permission/saved.js +79 -79
  479. package/dist/permission/sql.js +5 -5
  480. package/dist/permission.js +107 -107
  481. package/dist/persistent-pty/binary.bun.js +1 -1
  482. package/dist/persistent-pty/daemon.js +1 -1
  483. package/dist/persistent-pty/index.js +87 -87
  484. package/dist/persistent-pty/pty-binding.js +1 -1
  485. package/dist/persistent-pty.js +74 -74
  486. package/dist/plugin/agent.js +100 -100
  487. package/dist/plugin/command.js +97 -97
  488. package/dist/plugin/hooks.js +5 -5
  489. package/dist/plugin/host.js +214 -214
  490. package/dist/plugin/instance.js +5 -5
  491. package/dist/plugin/internal.js +324 -323
  492. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  493. package/dist/plugin/models-dev.js +76 -76
  494. package/dist/plugin/module.js +7 -7
  495. package/dist/plugin/optimize.js +2 -2
  496. package/dist/plugin/plan.js +98 -98
  497. package/dist/plugin/promise.js +1 -1
  498. package/dist/plugin/provider/alibaba.js +2 -2
  499. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  500. package/dist/plugin/provider/azure.js +119 -119
  501. package/dist/plugin/provider/cerebras.js +2 -2
  502. package/dist/plugin/provider/cloudflare-ai-gateway.js +118 -118
  503. package/dist/plugin/provider/cloudflare-workers-ai.js +118 -118
  504. package/dist/plugin/provider/cohere.js +2 -2
  505. package/dist/plugin/provider/configured.js +115 -115
  506. package/dist/plugin/provider/digitalocean.js +80 -80
  507. package/dist/plugin/provider/dynamic.js +2 -2
  508. package/dist/plugin/provider/factory.js +1 -1
  509. package/dist/plugin/provider/gateway.js +2 -2
  510. package/dist/plugin/provider/github-copilot.js +81 -81
  511. package/dist/plugin/provider/gitlab.js +3 -3
  512. package/dist/plugin/provider/google-vertex.js +2 -2
  513. package/dist/plugin/provider/kilo.js +2 -2
  514. package/dist/plugin/provider/llmgateway.js +77 -77
  515. package/dist/plugin/provider/lmstudio.js +116 -116
  516. package/dist/plugin/provider/modal.js +80 -80
  517. package/dist/plugin/provider/nvidia.js +2 -2
  518. package/dist/plugin/provider/ollama.js +118 -118
  519. package/dist/plugin/provider/openai-compatible.js +1 -1
  520. package/dist/plugin/provider/openai.js +79 -79
  521. package/dist/plugin/provider/opencode.js +80 -80
  522. package/dist/plugin/provider/openrouter.js +3 -3
  523. package/dist/plugin/provider/perplexity.js +2 -2
  524. package/dist/plugin/provider/poe.js +77 -77
  525. package/dist/plugin/provider/sap-ai-core.js +3 -3
  526. package/dist/plugin/provider/sdk-factory.js +1 -1
  527. package/dist/plugin/provider/snowflake-cortex.js +118 -118
  528. package/dist/plugin/provider/venice.js +2 -2
  529. package/dist/plugin/provider/vercel.js +2 -2
  530. package/dist/plugin/provider/vllm.js +116 -116
  531. package/dist/plugin/provider/xai.js +78 -78
  532. package/dist/plugin/provider/zenmux.js +2 -2
  533. package/dist/plugin/provider.js +157 -157
  534. package/dist/plugin/sdk.js +71 -71
  535. package/dist/plugin/service.js +3 -3
  536. package/dist/plugin/skill.js +134 -134
  537. package/dist/plugin/source-directory.js +1 -1
  538. package/dist/plugin/supervisor.js +339 -338
  539. package/dist/plugin/update.js +6 -6
  540. package/dist/plugin/variant.js +4 -4
  541. package/dist/plugin/vcs/git.js +83 -83
  542. package/dist/plugin/vcs/hg.js +83 -83
  543. package/dist/plugin/warming.js +113 -113
  544. package/dist/plugin/websearch/exa.js +7 -7
  545. package/dist/plugin/websearch/firecrawl.js +8 -8
  546. package/dist/plugin/websearch/index.js +9 -8
  547. package/dist/plugin/websearch/mcp.js +4 -4
  548. package/dist/plugin/websearch/parallel.js +8 -8
  549. package/dist/plugin/websearch/tavily.js +4 -4
  550. package/dist/plugin/websearch/tinyfish.js +13 -0
  551. package/dist/plugin.js +225 -225
  552. package/dist/project/schema.js +8 -8
  553. package/dist/project/sql.js +4 -4
  554. package/dist/project.js +86 -86
  555. package/dist/provider.js +5 -5
  556. package/dist/pty/protocol.js +1 -1
  557. package/dist/pty/schema.js +3 -3
  558. package/dist/pty/ticket.js +1 -1
  559. package/dist/pty.js +95 -95
  560. package/dist/reference/instructions.js +85 -85
  561. package/dist/reference.js +87 -87
  562. package/dist/repository-cache.js +77 -77
  563. package/dist/repository.js +3 -3
  564. package/dist/ripgrep/binary.js +2 -2
  565. package/dist/ripgrep.js +92 -92
  566. package/dist/rpc.js +82 -82
  567. package/dist/schema.js +1 -1
  568. package/dist/session/command.js +73 -73
  569. package/dist/session/compaction.js +130 -130
  570. package/dist/session/context.js +148 -148
  571. package/dist/session/environment.js +5 -5
  572. package/dist/session/error.js +5 -5
  573. package/dist/session/event.js +1 -1
  574. package/dist/session/execution/restart.js +220 -220
  575. package/dist/session/execution.js +123 -123
  576. package/dist/session/generate.js +147 -147
  577. package/dist/session/history.js +13 -13
  578. package/dist/session/inbox.js +87 -87
  579. package/dist/session/info.js +3 -3
  580. package/dist/session/instruction-entry.js +74 -74
  581. package/dist/session/instruction-state.js +8 -8
  582. package/dist/session/instructions.js +89 -89
  583. package/dist/session/message-updater.js +2 -2
  584. package/dist/session/message.js +1 -1
  585. package/dist/session/model-request.js +114 -114
  586. package/dist/session/model-transport.js +9 -9
  587. package/dist/session/move.js +127 -127
  588. package/dist/session/projector.js +85 -85
  589. package/dist/session/prompt.js +101 -101
  590. package/dist/session/provider-context.js +3 -3
  591. package/dist/session/revert.js +86 -86
  592. package/dist/session/run-coordinator.js +3 -3
  593. package/dist/session/runner/index.js +3 -3
  594. package/dist/session/runner/llm.js +224 -224
  595. package/dist/session/runner/max-steps.js +1 -1
  596. package/dist/session/runner/model.js +87 -87
  597. package/dist/session/runner/publish-llm-event.js +3 -3
  598. package/dist/session/runner/retry.js +111 -111
  599. package/dist/session/runner/step.js +122 -122
  600. package/dist/session/runner/to-llm-message.js +2 -2
  601. package/dist/session/schema.js +5 -5
  602. package/dist/session/session.js +168 -168
  603. package/dist/session/shell.js +132 -132
  604. package/dist/session/skill.js +99 -99
  605. package/dist/session/sql.js +5 -5
  606. package/dist/session/stats.js +74 -74
  607. package/dist/session/store.js +84 -84
  608. package/dist/session/subagent-completion.js +1 -1
  609. package/dist/session/subagent-job.js +206 -206
  610. package/dist/session/system-prompt.js +1 -1
  611. package/dist/session/title.js +152 -152
  612. package/dist/session/to-session-error.js +108 -108
  613. package/dist/session/transfer.js +218 -218
  614. package/dist/session/usage.js +1 -1
  615. package/dist/session.js +212 -212
  616. package/dist/shell/parse.js +6 -6
  617. package/dist/shell/result.js +1 -1
  618. package/dist/shell/scan.js +1 -1
  619. package/dist/shell/select.js +9 -9
  620. package/dist/shell.js +134 -134
  621. package/dist/skill/discovery.js +2 -2
  622. package/dist/skill/instructions.js +103 -103
  623. package/dist/skill.js +108 -108
  624. package/dist/snapshot.js +87 -87
  625. package/dist/state.js +1 -1
  626. package/dist/tool/html-markdown.js +1 -1
  627. package/dist/tool/http-body.js +1 -1
  628. package/dist/tool/mcp.js +118 -118
  629. package/dist/tool/plugin/edit.js +114 -114
  630. package/dist/tool/plugin/file-diff.js +1 -1
  631. package/dist/tool/plugin/glob.js +121 -121
  632. package/dist/tool/plugin/grep.js +119 -119
  633. package/dist/tool/plugin/opencode.js +3 -3
  634. package/dist/tool/plugin/patch.js +118 -118
  635. package/dist/tool/plugin/question.js +101 -101
  636. package/dist/tool/plugin/read.js +120 -120
  637. package/dist/tool/plugin/shell.js +213 -213
  638. package/dist/tool/plugin/skill.js +107 -107
  639. package/dist/tool/plugin/subagent.js +211 -211
  640. package/dist/tool/plugin/webfetch.js +106 -106
  641. package/dist/tool/plugin/websearch.js +110 -110
  642. package/dist/tool/plugin/write.js +118 -118
  643. package/dist/tool/read-filesystem.js +97 -97
  644. package/dist/tool/runtime.js +1 -1
  645. package/dist/tool-output.js +8 -8
  646. package/dist/tool.js +13 -13
  647. package/dist/types/config.d.ts +5 -1
  648. package/dist/types/filesystem.d.ts +6 -1
  649. package/dist/types/plugin/websearch/index.d.ts +1 -1
  650. package/dist/types/plugin/websearch/tinyfish.d.ts +5 -0
  651. package/dist/types/shell/select.d.ts +1 -0
  652. package/dist/util/error-summary.js +1 -1
  653. package/dist/util/error.js +1 -1
  654. package/dist/util/iife.js +1 -1
  655. package/dist/util/lazy.js +1 -1
  656. package/dist/util/slug.js +1 -1
  657. package/dist/util/token.js +1 -1
  658. package/dist/util/which.js +1 -1
  659. package/dist/util/wildcard.js +1 -1
  660. package/dist/v1/config/agent.js +5 -5
  661. package/dist/v1/config/attachment.js +4 -4
  662. package/dist/v1/config/command.js +5 -5
  663. package/dist/v1/config/config.js +16 -16
  664. package/dist/v1/config/error.js +2 -2
  665. package/dist/v1/config/formatter.js +3 -3
  666. package/dist/v1/config/layout.js +1 -1
  667. package/dist/v1/config/lsp.js +3 -3
  668. package/dist/v1/config/mcp.js +4 -4
  669. package/dist/v1/config/migrate.js +4 -4
  670. package/dist/v1/config/permission.js +3 -3
  671. package/dist/v1/config/plugin.js +3 -3
  672. package/dist/v1/config/provider-options.js +1 -1
  673. package/dist/v1/config/provider.js +4 -4
  674. package/dist/v1/config/server.js +2 -2
  675. package/dist/v1/config/skills.js +3 -3
  676. package/dist/v1/permission.js +1 -1
  677. package/dist/vcs/patch.js +1 -1
  678. package/dist/vcs.js +86 -86
  679. package/dist/websearch.js +83 -83
  680. package/dist/wellknown/plugin.js +75 -75
  681. package/dist/wellknown.js +76 -76
  682. package/dist/workspace/driver.js +5 -5
  683. package/dist/workspace/sql.js +1 -1
  684. package/dist/workspace.js +79 -79
  685. package/dist/worktree/directory.js +2 -2
  686. package/dist/worktree/git.js +5 -5
  687. package/dist/worktree/refresh.js +340 -339
  688. package/dist/worktree/sql.js +5 -5
  689. package/dist/worktree.js +92 -92
  690. package/package.json +8 -8
  691. package/dist/chunks/repository-jqh9b0xq.js +0 -18
  692. package/dist/chunks/repository-mppgq2kn.js +0 -462
  693. package/dist/chunks/repository-qapv375x.js +0 -4
  694. package/dist/chunks/repository-qec2v6cx.js +0 -247
  695. package/dist/chunks/repository-sj51pd9c.js +0 -22
  696. /package/dist/chunks/{repository-0qkdqm5v.js → location-services-0qkdqm5v.js} +0 -0
  697. /package/dist/chunks/{repository-0zkw76rk.js → location-services-0zkw76rk.js} +0 -0
  698. /package/dist/chunks/{repository-17cy0kzp.js → location-services-17cy0kzp.js} +0 -0
  699. /package/dist/chunks/{repository-1cnp2v09.js → location-services-1cnp2v09.js} +0 -0
  700. /package/dist/chunks/{repository-1kg9ymc8.js → location-services-1kg9ymc8.js} +0 -0
  701. /package/dist/chunks/{repository-2710q6r3.js → location-services-2710q6r3.js} +0 -0
  702. /package/dist/chunks/{repository-2axfhc9x.js → location-services-2axfhc9x.js} +0 -0
  703. /package/dist/chunks/{repository-2c3vjs8z.js → location-services-2c3vjs8z.js} +0 -0
  704. /package/dist/chunks/{repository-359p4xyc.js → location-services-359p4xyc.js} +0 -0
  705. /package/dist/chunks/{repository-3asan66x.js → location-services-3asan66x.js} +0 -0
  706. /package/dist/chunks/{repository-3v8g72cx.js → location-services-3v8g72cx.js} +0 -0
  707. /package/dist/chunks/{repository-3w5fmr99.js → location-services-3w5fmr99.js} +0 -0
  708. /package/dist/chunks/{repository-3wcehsnq.js → location-services-3wcehsnq.js} +0 -0
  709. /package/dist/chunks/{repository-43n2bw4t.js → location-services-43n2bw4t.js} +0 -0
  710. /package/dist/chunks/{repository-4knz6hnm.js → location-services-4knz6hnm.js} +0 -0
  711. /package/dist/chunks/{repository-4vcrnpx2.js → location-services-4vcrnpx2.js} +0 -0
  712. /package/dist/chunks/{repository-4y7fprxs.js → location-services-4y7fprxs.js} +0 -0
  713. /package/dist/chunks/{repository-53557ph1.js → location-services-53557ph1.js} +0 -0
  714. /package/dist/chunks/{repository-550bvhaj.js → location-services-550bvhaj.js} +0 -0
  715. /package/dist/chunks/{repository-6prwharc.js → location-services-6prwharc.js} +0 -0
  716. /package/dist/chunks/{repository-7akdwqpd.js → location-services-7akdwqpd.js} +0 -0
  717. /package/dist/chunks/{repository-7m9af43g.js → location-services-7m9af43g.js} +0 -0
  718. /package/dist/chunks/{repository-822emrt2.js → location-services-822emrt2.js} +0 -0
  719. /package/dist/chunks/{repository-88xbtdfr.js → location-services-88xbtdfr.js} +0 -0
  720. /package/dist/chunks/{repository-8n3pysct.js → location-services-8n3pysct.js} +0 -0
  721. /package/dist/chunks/{repository-922hggd3.js → location-services-922hggd3.js} +0 -0
  722. /package/dist/chunks/{repository-9a4afbnw.js → location-services-9a4afbnw.js} +0 -0
  723. /package/dist/chunks/{repository-9rqn6x4v.js → location-services-9rqn6x4v.js} +0 -0
  724. /package/dist/chunks/{repository-a6k6eb26.js → location-services-a6k6eb26.js} +0 -0
  725. /package/dist/chunks/{repository-af5trqkr.js → location-services-af5trqkr.js} +0 -0
  726. /package/dist/chunks/{repository-afrmfg78.js → location-services-afrmfg78.js} +0 -0
  727. /package/dist/chunks/{repository-aqzs7mqg.js → location-services-aqzs7mqg.js} +0 -0
  728. /package/dist/chunks/{repository-atq7p7m5.js → location-services-atq7p7m5.js} +0 -0
  729. /package/dist/chunks/{repository-bkyjaxrp.js → location-services-bkyjaxrp.js} +0 -0
  730. /package/dist/chunks/{repository-bmr6ed5q.js → location-services-bmr6ed5q.js} +0 -0
  731. /package/dist/chunks/{repository-cf4snx6d.js → location-services-cf4snx6d.js} +0 -0
  732. /package/dist/chunks/{repository-cvy3z8tj.js → location-services-cvy3z8tj.js} +0 -0
  733. /package/dist/chunks/{repository-d9fn303g.js → location-services-d9fn303g.js} +0 -0
  734. /package/dist/chunks/{repository-d9jj8t3e.js → location-services-d9jj8t3e.js} +0 -0
  735. /package/dist/chunks/{repository-dajrwvna.js → location-services-dajrwvna.js} +0 -0
  736. /package/dist/chunks/{repository-dap0rakb.js → location-services-dap0rakb.js} +0 -0
  737. /package/dist/chunks/{repository-df08tz66.js → location-services-df08tz66.js} +0 -0
  738. /package/dist/chunks/{repository-dy18nga0.js → location-services-dy18nga0.js} +0 -0
  739. /package/dist/chunks/{repository-e5kj55wp.js → location-services-e5kj55wp.js} +0 -0
  740. /package/dist/chunks/{repository-e73j6tqm.js → location-services-e73j6tqm.js} +0 -0
  741. /package/dist/chunks/{repository-ec1grn59.js → location-services-ec1grn59.js} +0 -0
  742. /package/dist/chunks/{repository-eh3zwz77.js → location-services-eh3zwz77.js} +0 -0
  743. /package/dist/chunks/{repository-emrn6kk6.js → location-services-emrn6kk6.js} +0 -0
  744. /package/dist/chunks/{repository-f0mxakyp.js → location-services-f0mxakyp.js} +0 -0
  745. /package/dist/chunks/{repository-f6n9ztr4.js → location-services-f6n9ztr4.js} +0 -0
  746. /package/dist/chunks/{repository-faypxj3z.js → location-services-faypxj3z.js} +0 -0
  747. /package/dist/chunks/{repository-fd410y7t.js → location-services-fd410y7t.js} +0 -0
  748. /package/dist/chunks/{repository-fxgpk5d8.js → location-services-fxgpk5d8.js} +0 -0
  749. /package/dist/chunks/{repository-g4wezp1m.js → location-services-g4wezp1m.js} +0 -0
  750. /package/dist/chunks/{repository-g86h250q.js → location-services-g86h250q.js} +0 -0
  751. /package/dist/chunks/{repository-gebd4c9n.js → location-services-gebd4c9n.js} +0 -0
  752. /package/dist/chunks/{repository-gftt206x.js → location-services-gftt206x.js} +0 -0
  753. /package/dist/chunks/{repository-hjbc5kem.js → location-services-hjbc5kem.js} +0 -0
  754. /package/dist/chunks/{repository-hk9envan.js → location-services-hk9envan.js} +0 -0
  755. /package/dist/chunks/{repository-hrnqkpcd.js → location-services-hrnqkpcd.js} +0 -0
  756. /package/dist/chunks/{repository-j2ntwpah.js → location-services-j2ntwpah.js} +0 -0
  757. /package/dist/chunks/{repository-j5zkgpj8.js → location-services-j5zkgpj8.js} +0 -0
  758. /package/dist/chunks/{repository-jr7sbwjy.js → location-services-jr7sbwjy.js} +0 -0
  759. /package/dist/chunks/{repository-jwfs4k6c.js → location-services-jwfs4k6c.js} +0 -0
  760. /package/dist/chunks/{repository-jzg6c2d5.js → location-services-jzg6c2d5.js} +0 -0
  761. /package/dist/chunks/{repository-mp448xyj.js → location-services-mp448xyj.js} +0 -0
  762. /package/dist/chunks/{repository-msx8hqn2.js → location-services-msx8hqn2.js} +0 -0
  763. /package/dist/chunks/{repository-n05xt0ee.js → location-services-n05xt0ee.js} +0 -0
  764. /package/dist/chunks/{repository-n3j8tn72.js → location-services-n3j8tn72.js} +0 -0
  765. /package/dist/chunks/{repository-njntx4h6.js → location-services-njntx4h6.js} +0 -0
  766. /package/dist/chunks/{repository-paphc93g.js → location-services-paphc93g.js} +0 -0
  767. /package/dist/chunks/{repository-q3sfg36h.js → location-services-q3sfg36h.js} +0 -0
  768. /package/dist/chunks/{repository-q74kybfr.js → location-services-q74kybfr.js} +0 -0
  769. /package/dist/chunks/{repository-qaymkmh1.js → location-services-qaymkmh1.js} +0 -0
  770. /package/dist/chunks/{repository-qb87gjwd.js → location-services-qb87gjwd.js} +0 -0
  771. /package/dist/chunks/{repository-qfa1cgps.js → location-services-qfa1cgps.js} +0 -0
  772. /package/dist/chunks/{repository-qrg20bc0.js → location-services-qrg20bc0.js} +0 -0
  773. /package/dist/chunks/{repository-rcb2kzg1.js → location-services-rcb2kzg1.js} +0 -0
  774. /package/dist/chunks/{repository-sdp7kfr6.js → location-services-sdp7kfr6.js} +0 -0
  775. /package/dist/chunks/{repository-sk3qaz4a.js → location-services-sk3qaz4a.js} +0 -0
  776. /package/dist/chunks/{repository-ssg3fenm.js → location-services-ssg3fenm.js} +0 -0
  777. /package/dist/chunks/{repository-twg0f83k.js → location-services-twg0f83k.js} +0 -0
  778. /package/dist/chunks/{repository-w803qqfp.js → location-services-w803qqfp.js} +0 -0
  779. /package/dist/chunks/{repository-wer8tq1h.js → location-services-wer8tq1h.js} +0 -0
  780. /package/dist/chunks/{repository-wtztk69x.js → location-services-wtztk69x.js} +0 -0
  781. /package/dist/chunks/{repository-x0ckcb58.js → location-services-x0ckcb58.js} +0 -0
  782. /package/dist/chunks/{repository-x61499pn.js → location-services-x61499pn.js} +0 -0
  783. /package/dist/chunks/{repository-y44na4kk.js → location-services-y44na4kk.js} +0 -0
  784. /package/dist/chunks/{repository-y8cydn3q.js → location-services-y8cydn3q.js} +0 -0
  785. /package/dist/chunks/{repository-y8f7s663.js → location-services-y8f7s663.js} +0 -0
  786. /package/dist/chunks/{repository-ygaqb7jw.js → location-services-ygaqb7jw.js} +0 -0
  787. /package/dist/chunks/{repository-ym463w8f.js → location-services-ym463w8f.js} +0 -0
  788. /package/dist/chunks/{repository-z9919s4g.js → location-services-z9919s4g.js} +0 -0
@@ -1,57 +1,57 @@
1
1
  import {
2
- Service79
3
- } from "./repository-8m31s27t.js";
2
+ Service80
3
+ } from "./location-services-v9b1dqp1.js";
4
4
  import {
5
- Service78
6
- } from "./repository-x6rcf4cj.js";
5
+ Service79
6
+ } from "./location-services-69j49pks.js";
7
7
  import {
8
- Service52
9
- } from "./repository-1bvekr7f.js";
8
+ Service45
9
+ } from "./location-services-p0a23dx6.js";
10
10
  import {
11
11
  userNotification2
12
- } from "./repository-fxbjtjnd.js";
12
+ } from "./location-services-fxbjtjnd.js";
13
13
  import {
14
14
  SessionMessage2
15
- } from "./repository-gftt206x.js";
15
+ } from "./location-services-gftt206x.js";
16
16
  import {
17
- NotFoundError7,
17
+ NotFoundError9,
18
18
  PromptConflictError2,
19
19
  SyntheticConflictError2,
20
20
  CompactionConflictError2,
21
21
  BusyError2,
22
22
  InboxConflictError2
23
- } from "./repository-3x8gcmrs.js";
23
+ } from "./location-services-qwkytnft.js";
24
24
  import {
25
25
  SessionEvent2
26
- } from "./repository-ec1grn59.js";
26
+ } from "./location-services-ec1grn59.js";
27
27
  import {
28
- Service60
29
- } from "./repository-1n274c67.js";
28
+ Service71
29
+ } from "./location-services-5agpr7j3.js";
30
30
  import {
31
31
  Delivery2,
32
32
  SyntheticPayload2,
33
- Service50
34
- } from "./repository-0wjw63yk.js";
33
+ Service46
34
+ } from "./location-services-rq8nv58m.js";
35
35
  import {
36
- Service48
37
- } from "./repository-2fbr18f9.js";
36
+ Service43
37
+ } from "./location-services-97x9kwse.js";
38
38
  import {
39
39
  prepare2
40
- } from "./repository-1jnd8eq9.js";
40
+ } from "./location-services-yz6937d7.js";
41
41
  import {
42
42
  stage2,
43
43
  clear2,
44
44
  commit2
45
- } from "./repository-1tjfkw5v.js";
45
+ } from "./location-services-4tka16dg.js";
46
46
  import {
47
47
  start2
48
- } from "./repository-a3n1dpj2.js";
48
+ } from "./location-services-wajnf5bs.js";
49
49
  import {
50
50
  get4
51
- } from "./repository-h90k734v.js";
51
+ } from "./location-services-1cw6jyks.js";
52
52
  import {
53
53
  __export
54
- } from "./repository-9rqn6x4v.js";
54
+ } from "./location-services-9rqn6x4v.js";
55
55
 
56
56
  // src/session/session.ts
57
57
  var exports_session2 = {};
@@ -63,18 +63,18 @@ import { DateTime, Effect, Fiber, Scope } from "effect";
63
63
  import { Event } from "@opencode/schema/event";
64
64
  import { FSUtil } from "@opencode/util/fs-util";
65
65
  var make13 = Effect.fn("Session.make")(function* () {
66
- const bus = yield* Service78;
67
- const database = yield* Service79;
68
- const store = yield* Service60;
69
- const instances = yield* Service52;
70
- const execution = yield* Service48;
71
- const admission = yield* Service50;
66
+ const bus = yield* Service79;
67
+ const database = yield* Service80;
68
+ const store = yield* Service71;
69
+ const instances = yield* Service45;
70
+ const execution = yield* Service43;
71
+ const admission = yield* Service46;
72
72
  const fs = yield* FSUtil.Service;
73
73
  const scope = yield* Scope.Scope;
74
74
  const get = Effect.fn("Session.get")(function* (sessionID) {
75
75
  const session = yield* store.get(sessionID);
76
76
  if (!session)
77
- return yield* new NotFoundError7({ sessionID });
77
+ return yield* new NotFoundError9({ sessionID });
78
78
  return session;
79
79
  });
80
80
  const message = Effect.fn("Session.message")(function* (sessionID, messageID) {
@@ -131,7 +131,7 @@ var make13 = Effect.fn("Session.make")(function* () {
131
131
  });
132
132
  if (existing)
133
133
  return existing;
134
- const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service52, instances), Effect.provideService(FSUtil.Service, fs)));
134
+ const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service45, instances), Effect.provideService(FSUtil.Service, fs)));
135
135
  if (session.revert)
136
136
  yield* commit2(bus, session);
137
137
  return yield* admission.admit({
@@ -147,7 +147,7 @@ var make13 = Effect.fn("Session.make")(function* () {
147
147
  const shell = Effect.fn("Session.shell")(function* (sessionID, input) {
148
148
  const session = yield* get(sessionID);
149
149
  const running = yield* Effect.gen(function* () {
150
- const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service52, instances), Effect.tapError((error) => synthetic(sessionID, {
150
+ const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service45, instances), Effect.tapError((error) => synthetic(sessionID, {
151
151
  text: `User shell command failed to start:
152
152
  ${input.command}
153
153
 
@@ -176,7 +176,7 @@ ${error.message}`,
176
176
  });
177
177
  const skill = Effect.fn("Session.skill")(function* (sessionID, input) {
178
178
  const session = yield* get(sessionID);
179
- const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service52, instances));
179
+ const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service45, instances));
180
180
  yield* bus.publish(SessionEvent2.Skill.Activated, {
181
181
  sessionID,
182
182
  id: skill.id,
@@ -233,13 +233,13 @@ ${error.message}`,
233
233
  const session = yield* get(sessionID);
234
234
  if (yield* execution.isActive(sessionID))
235
235
  return yield* new BusyError2({ sessionID });
236
- return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service52, instances), Effect.provideService(Service79, database), Effect.provideService(Service78, bus));
236
+ return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service45, instances), Effect.provideService(Service80, database), Effect.provideService(Service79, bus));
237
237
  });
238
238
  const clear = Effect.fn("Session.revert.clear")(function* (sessionID) {
239
239
  const session = yield* get(sessionID);
240
240
  if (yield* execution.isActive(sessionID))
241
241
  return yield* new BusyError2({ sessionID });
242
- yield* clear2(session).pipe(Effect.provideService(Service52, instances), Effect.provideService(Service78, bus));
242
+ yield* clear2(session).pipe(Effect.provideService(Service45, instances), Effect.provideService(Service79, bus));
243
243
  return yield* execution.wake(sessionID);
244
244
  });
245
245
  const commit = Effect.fn("Session.revert.commit")(function* (sessionID) {
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  fromPromise2
3
- } from "./repository-zr2ceqn5.js";
3
+ } from "./location-services-zr2ceqn5.js";
4
4
  import {
5
- Service45
6
- } from "./repository-shg3amz7.js";
5
+ Service56
6
+ } from "./location-services-rkkpgdp7.js";
7
7
  import {
8
8
  __export
9
- } from "./repository-9rqn6x4v.js";
9
+ } from "./location-services-9rqn6x4v.js";
10
10
 
11
11
  // src/plugin/module.ts
12
12
  var exports_module = {};
13
13
  __export(exports_module, {
14
14
  LoadError: () => LoadError2,
15
15
  PluginModule: () => exports_module,
16
- make: () => make6
16
+ make: () => make3
17
17
  });
18
18
  import { Host } from "@opencode/plugin/host";
19
19
  import { createPluginSources } from "@opencode/plugin/source";
@@ -22,8 +22,8 @@ import { Deferred, Effect, FiberSet, PubSub, Schema, Stream } from "effect";
22
22
  import path from "path";
23
23
  import { stat } from "node:fs/promises";
24
24
  import { fileURLToPath, pathToFileURL } from "url";
25
- var make6 = Effect.fn("PluginModule.make")(function* () {
26
- const watcher = yield* Service45;
25
+ var make3 = Effect.fn("PluginModule.make")(function* () {
26
+ const watcher = yield* Service56;
27
27
  const scope = yield* Effect.scope;
28
28
  const runPromise = yield* FiberSet.makeRuntimePromise();
29
29
  const changes = yield* PubSub.unbounded();
@@ -102,4 +102,4 @@ var load = Effect.fn("PluginModule.load")(function* (operation, sources, options
102
102
  };
103
103
  });
104
104
 
105
- export { make6, LoadError2, exports_module };
105
+ export { make3, LoadError2, exports_module };
@@ -1,61 +1,61 @@
1
1
  import {
2
- Service79,
3
- node84
4
- } from "./repository-8m31s27t.js";
2
+ Service80,
3
+ node85
4
+ } from "./location-services-v9b1dqp1.js";
5
5
  import {
6
6
  reserveSequence2,
7
- Service78,
8
- node83
9
- } from "./repository-x6rcf4cj.js";
7
+ Service79,
8
+ node84
9
+ } from "./location-services-69j49pks.js";
10
10
  import {
11
11
  SessionEvent2
12
- } from "./repository-ec1grn59.js";
12
+ } from "./location-services-ec1grn59.js";
13
13
  import {
14
14
  SessionMessage2
15
- } from "./repository-gftt206x.js";
15
+ } from "./location-services-gftt206x.js";
16
16
  import {
17
17
  update2
18
- } from "./repository-4y66k410.js";
18
+ } from "./location-services-4y66k410.js";
19
19
  import {
20
20
  AbsolutePath2,
21
21
  RelativePath2
22
- } from "./repository-922hggd3.js";
22
+ } from "./location-services-922hggd3.js";
23
23
  import {
24
24
  ProjectTable2
25
- } from "./repository-8p4f9s12.js";
25
+ } from "./location-services-dj2t23y0.js";
26
26
  import {
27
27
  SessionTable2,
28
28
  SessionMessageTable2,
29
29
  SessionInboxTable2
30
- } from "./repository-a1bz86dw.js";
30
+ } from "./location-services-5c4hm403.js";
31
31
  import {
32
32
  projectAdmitted2,
33
33
  projectDelivered2,
34
34
  projectCancelled2,
35
35
  projectDeliveryChanged2
36
- } from "./repository-0wjw63yk.js";
36
+ } from "./location-services-rq8nv58m.js";
37
37
  import {
38
38
  apply2,
39
39
  initialize3,
40
40
  advanceEpoch2,
41
41
  reset2
42
- } from "./repository-cq37gk0t.js";
42
+ } from "./location-services-2tfmgkzg.js";
43
43
  import {
44
44
  initialize2
45
- } from "./repository-pctvcs1g.js";
45
+ } from "./location-services-15f8axbg.js";
46
46
  import {
47
47
  Slug2
48
- } from "./repository-gebd4c9n.js";
48
+ } from "./location-services-gebd4c9n.js";
49
49
  import {
50
50
  __export
51
- } from "./repository-9rqn6x4v.js";
51
+ } from "./location-services-9rqn6x4v.js";
52
52
 
53
53
  // src/session/projector.ts
54
54
  var exports_projector = {};
55
55
  __export(exports_projector, {
56
56
  SessionAlreadyProjected: () => SessionAlreadyProjected2,
57
57
  SessionProjector: () => exports_projector,
58
- node: () => node32
58
+ node: () => node29
59
59
  });
60
60
  import { and, asc, desc, eq, gt, gte, inArray, isNull, lt, lte, or, sql } from "drizzle-orm";
61
61
  import { DateTime, Effect, Layer, Schema, Stream } from "effect";
@@ -276,8 +276,8 @@ function projectIdle(db, event) {
276
276
  });
277
277
  }
278
278
  var layer = Layer.effectDiscard(Effect.gen(function* () {
279
- const bus = yield* Service78;
280
- const db = (yield* Service79).db;
279
+ const bus = yield* Service79;
280
+ const db = (yield* Service80).db;
281
281
  yield* bus.project(SessionEvent2.Created, (event) => Effect.gen(function* () {
282
282
  const stored = yield* db.insert(SessionTable2).values({
283
283
  id: event.data.sessionID,
@@ -458,6 +458,6 @@ var layer = Layer.effectDiscard(Effect.gen(function* () {
458
458
  return publishSessionUsage(db, bus, event.data.sessionID);
459
459
  }), Effect.forkScoped({ startImmediately: true }));
460
460
  }));
461
- var node32 = makeGlobalNode({ name: "session-projector", layer, deps: [node83, node84] });
461
+ var node29 = makeGlobalNode({ name: "session-projector", layer, deps: [node84, node85] });
462
462
 
463
- export { SessionAlreadyProjected2, node32, exports_projector };
463
+ export { SessionAlreadyProjected2, node29, exports_projector };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./repository-9rqn6x4v.js";
3
+ } from "./location-services-9rqn6x4v.js";
4
4
 
5
5
  // src/config/plugin/entry-observer.ts
6
6
  var exports_entry_observer = {};
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  SessionMessage2
3
- } from "./repository-gftt206x.js";
3
+ } from "./location-services-gftt206x.js";
4
4
  import {
5
5
  SessionSchema2
6
- } from "./repository-y6f0p4jw.js";
6
+ } from "./location-services-j7wq2tw5.js";
7
7
  import {
8
8
  __export
9
- } from "./repository-9rqn6x4v.js";
9
+ } from "./location-services-9rqn6x4v.js";
10
10
 
11
11
  // src/session/error.ts
12
12
  var exports_error2 = {};
@@ -19,7 +19,7 @@ __export(exports_error2, {
19
19
  InboxConflictError: () => InboxConflictError2,
20
20
  MessageDecodeError: () => MessageDecodeError2,
21
21
  MessageNotFoundError: () => MessageNotFoundError2,
22
- NotFoundError: () => NotFoundError7,
22
+ NotFoundError: () => NotFoundError9,
23
23
  PromptConflictError: () => PromptConflictError2,
24
24
  SessionErrors: () => exports_error2,
25
25
  SkillNotFoundError: () => SkillNotFoundError2,
@@ -32,7 +32,7 @@ import { Agent } from "@opencode/schema/agent";
32
32
  import { Skill } from "@opencode/schema/skill";
33
33
  import { SessionError } from "@opencode/schema/session-error";
34
34
 
35
- class NotFoundError7 extends Schema.TaggedError()("Session.NotFoundError", {
35
+ class NotFoundError9 extends Schema.TaggedError()("Session.NotFoundError", {
36
36
  sessionID: SessionSchema2.ID
37
37
  }) {
38
38
  }
@@ -123,4 +123,4 @@ class SkillNotFoundError2 extends Schema.TaggedError()("Session.SkillNotFoundErr
123
123
  }) {
124
124
  }
125
125
 
126
- export { NotFoundError7, MessageNotFoundError2, ForkEmptyError2, MessageDecodeError2, AgentNotFoundError2, StepFailedError2, UserInterruptedError2, PromptConflictError2, SyntheticConflictError2, AttachmentError2, CompactionConflictError2, BusyError2, InboxConflictError2, SkillNotFoundError2, exports_error2 };
126
+ export { NotFoundError9, MessageNotFoundError2, ForkEmptyError2, MessageDecodeError2, AgentNotFoundError2, StepFailedError2, UserInterruptedError2, PromptConflictError2, SyntheticConflictError2, AttachmentError2, CompactionConflictError2, BusyError2, InboxConflictError2, SkillNotFoundError2, exports_error2 };
@@ -1,30 +1,30 @@
1
1
  import {
2
- Service44
3
- } from "./repository-smnv2tch.js";
2
+ Service55
3
+ } from "./location-services-req99jdj.js";
4
4
  import {
5
5
  Service31
6
- } from "./repository-3yetcf2r.js";
6
+ } from "./location-services-1m7gs3ah.js";
7
7
  import {
8
8
  __export
9
- } from "./repository-9rqn6x4v.js";
9
+ } from "./location-services-9rqn6x4v.js";
10
10
 
11
11
  // src/config/plugin/mcp.ts
12
- var exports_mcp = {};
13
- __export(exports_mcp, {
14
- ConfigMcpPlugin: () => exports_mcp,
15
- Plugin: () => Plugin7,
12
+ var exports_mcp2 = {};
13
+ __export(exports_mcp2, {
14
+ ConfigMcpPlugin: () => exports_mcp2,
15
+ Plugin: () => Plugin36,
16
16
  register: () => register2
17
17
  });
18
18
  import { define } from "@opencode/plugin/effect/plugin";
19
19
  import { Effect, Stream } from "effect";
20
- var Plugin7 = define({
20
+ var Plugin36 = define({
21
21
  id: "opencode.config.mcp",
22
22
  effect: Effect.fn(function* (ctx) {
23
23
  yield* register2(ctx.event.subscribe());
24
24
  })
25
25
  });
26
26
  var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
27
- const config = yield* Service44;
27
+ const config = yield* Service55;
28
28
  const mcp = yield* Service31;
29
29
  const loaded = { entries: [] };
30
30
  yield* events.pipe(Stream.filter((event) => event.type === "config.updated"), Stream.runForEach(() => config.entries().pipe(Effect.tap((entries) => Effect.sync(() => loaded.entries = entries)), Effect.andThen(mcp.reload()), Effect.catchCause((cause) => Effect.logError("failed to reload MCP config", { cause })))), Effect.ignore, Effect.forkScoped({ startImmediately: true }));
@@ -46,4 +46,4 @@ var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
46
46
  });
47
47
  });
48
48
 
49
- export { Plugin7, register2, exports_mcp };
49
+ export { Plugin36, register2, exports_mcp2 };
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  useragent2
3
- } from "./repository-j4z2qnee.js";
3
+ } from "./location-services-b3frasm9.js";
4
4
  import {
5
- ID16
6
- } from "./repository-pye8sh6e.js";
5
+ ID18
6
+ } from "./location-services-33n3bzdy.js";
7
7
  import {
8
8
  iife2
9
- } from "./repository-1kg9ymc8.js";
9
+ } from "./location-services-1kg9ymc8.js";
10
10
  import {
11
11
  configuredSettings2
12
- } from "./repository-5b88mxz1.js";
12
+ } from "./location-services-fv23cpfe.js";
13
13
 
14
14
  // src/plugin/provider/cloudflare-ai-gateway.ts
15
15
  import os from "os";
16
16
  import { Effect, Option, Schema } from "effect";
17
17
  import { define } from "@opencode/plugin/effect/plugin";
18
18
  import { Form } from "@opencode/schema/form";
19
- var providerID = ID16.make("cloudflare-ai-gateway");
19
+ var providerID = ID18.make("cloudflare-ai-gateway");
20
20
  var CloudflareAIGatewayPlugin2 = define({
21
21
  id: "opencode.provider.cloudflare.ai.gateway",
22
22
  effect: Effect.fn(function* (ctx) {
@@ -2,20 +2,20 @@ import {
2
2
  NonNegativeInt2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./repository-922hggd3.js";
5
+ } from "./location-services-922hggd3.js";
6
6
  import {
7
- Service65,
8
- node69
9
- } from "./repository-3mdgf1e2.js";
7
+ Service63,
8
+ node67
9
+ } from "./location-services-b1h6aq5y.js";
10
10
  import {
11
11
  Content2
12
- } from "./repository-j38hs89b.js";
12
+ } from "./location-services-y7wy22rx.js";
13
13
  import {
14
14
  detect2
15
- } from "./repository-3smtnn6g.js";
15
+ } from "./location-services-3smtnn6g.js";
16
16
  import {
17
17
  __export
18
- } from "./repository-9rqn6x4v.js";
18
+ } from "./location-services-9rqn6x4v.js";
19
19
 
20
20
  // src/tool/read-filesystem.ts
21
21
  var exports_read_filesystem = {};
@@ -33,9 +33,9 @@ __export(exports_read_filesystem, {
33
33
  PageInput: () => PageInput2,
34
34
  PathKindError: () => PathKindError2,
35
35
  ReadToolFileSystem: () => exports_read_filesystem,
36
- Service: () => Service3,
36
+ Service: () => Service5,
37
37
  TextPage: () => TextPage2,
38
- node: () => node5,
38
+ node: () => node7,
39
39
  read: () => read2
40
40
  });
41
41
  import path from "path";
@@ -114,7 +114,7 @@ class ListPage2 extends Schema.Class("ReadTool.ListPage")({
114
114
  }) {
115
115
  }
116
116
 
117
- class Service3 extends Context.Service()("@opencode/ReadToolFileSystem") {
117
+ class Service5 extends Context.Service()("@opencode/ReadToolFileSystem") {
118
118
  }
119
119
  var mimeType = (value) => lookup(value) || "application/octet-stream";
120
120
  var read2 = Effect.fn("ReadTool.read")(function* (files, input, resource, page = {}) {
@@ -326,13 +326,13 @@ var nthNewline = (bytes, count) => {
326
326
  return index + 1;
327
327
  }
328
328
  };
329
- var layer = Layer.effect(Service3, Effect.gen(function* () {
330
- const environment = yield* Service65;
331
- return Service3.of({
329
+ var layer = Layer.effect(Service5, Effect.gen(function* () {
330
+ const environment = yield* Service63;
331
+ return Service5.of({
332
332
  list: environment.files.list,
333
333
  read: (path2, resource, page) => read2(environment.files, path2, resource, page)
334
334
  });
335
335
  }));
336
- var node5 = makeLocationNode({ service: Service3, layer, deps: [node69] });
336
+ var node7 = makeLocationNode({ service: Service5, layer, deps: [node67] });
337
337
 
338
- export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service3, read2, node5, exports_read_filesystem };
338
+ export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service5, read2, node7, exports_read_filesystem };
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  definition2,
3
3
  normalizedName2
4
- } from "./repository-3w5fmr99.js";
4
+ } from "./location-services-3w5fmr99.js";
5
5
  import {
6
6
  __export
7
- } from "./repository-9rqn6x4v.js";
7
+ } from "./location-services-9rqn6x4v.js";
8
8
 
9
9
  // src/codemode/tool.ts
10
10
  var exports_tool2 = {};
@@ -1,32 +1,32 @@
1
1
  import {
2
- Service79,
3
- node84
4
- } from "./repository-8m31s27t.js";
2
+ Service80,
3
+ node85
4
+ } from "./location-services-v9b1dqp1.js";
5
5
  import {
6
6
  PermissionTable2
7
- } from "./repository-f828m53h.js";
7
+ } from "./location-services-hdnk95c8.js";
8
8
  import {
9
9
  __export
10
- } from "./repository-9rqn6x4v.js";
10
+ } from "./location-services-9rqn6x4v.js";
11
11
 
12
12
  // src/permission/saved.ts
13
13
  var exports_saved = {};
14
14
  __export(exports_saved, {
15
15
  AddInput: () => AddInput2,
16
- ID: () => ID8,
17
- Info: () => Info20,
16
+ ID: () => ID13,
17
+ Info: () => Info26,
18
18
  ListInput: () => ListInput4,
19
19
  PermissionSaved: () => exports_saved,
20
- Service: () => Service59,
21
- node: () => node63
20
+ Service: () => Service70,
21
+ node: () => node75
22
22
  });
23
23
  import { eq } from "drizzle-orm";
24
24
  import { Context, Effect, Layer, Schema } from "effect";
25
25
  import { Project } from "@opencode/schema/project";
26
26
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
27
27
  import { PermissionSaved } from "@opencode/schema/permission-saved";
28
- var ID8 = PermissionSaved.ID;
29
- var Info20 = PermissionSaved.Info;
28
+ var ID13 = PermissionSaved.ID;
29
+ var Info26 = PermissionSaved.Info;
30
30
  var ListInput4 = Schema.Struct({
31
31
  projectID: Project.ID.pipe(Schema.optional)
32
32
  }).annotate({ identifier: "PermissionSaved.ListInput" });
@@ -36,10 +36,10 @@ var AddInput2 = Schema.Struct({
36
36
  resources: Schema.Array(Schema.String)
37
37
  }).annotate({ identifier: "PermissionSaved.AddInput" });
38
38
 
39
- class Service59 extends Context.Service()("@opencode/PermissionSaved") {
39
+ class Service70 extends Context.Service()("@opencode/PermissionSaved") {
40
40
  }
41
- var layer = Layer.effect(Service59, Effect.gen(function* () {
42
- const db = (yield* Service79).db;
41
+ var layer = Layer.effect(Service70, Effect.gen(function* () {
42
+ const db = (yield* Service80).db;
43
43
  const list = Effect.fnUntraced(function* (input) {
44
44
  const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
45
45
  return rows.map((row) => ({
@@ -53,7 +53,7 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
53
53
  if (!input.resources.length)
54
54
  return;
55
55
  yield* db.insert(PermissionTable2).values(input.resources.map((resource) => ({
56
- id: ID8.create(),
56
+ id: ID13.create(),
57
57
  project_id: input.projectID,
58
58
  action: input.action,
59
59
  resource
@@ -62,8 +62,8 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
62
62
  const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
63
63
  yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
64
64
  });
65
- return Service59.of({ list, add, remove });
65
+ return Service70.of({ list, add, remove });
66
66
  }));
67
- var node63 = makeGlobalNode({ service: Service59, layer, deps: [node84] });
67
+ var node75 = makeGlobalNode({ service: Service70, layer, deps: [node85] });
68
68
 
69
- export { ID8, Info20, ListInput4, AddInput2, Service59, node63, exports_saved };
69
+ export { ID13, Info26, ListInput4, AddInput2, Service70, node75, exports_saved };