@opencode/core 0.0.0-beta-19296 → 0.0.0-beta-19365

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 (787) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +81 -81
  3. package/dist/aisdk-native.js +2 -2
  4. package/dist/aisdk.js +6 -6
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +71 -71
  7. package/dist/catalog.js +83 -83
  8. package/dist/chunks/{websearch-26xtjh69.js → location-services-01dqx1kz.js} +24 -24
  9. package/dist/chunks/{websearch-p0vcawym.js → location-services-03v3txqr.js} +6 -6
  10. package/dist/chunks/{websearch-2k8khapm.js → location-services-0jwsre1p.js} +5 -5
  11. package/dist/chunks/{websearch-0paq2nw3.js → location-services-0paq2nw3.js} +1 -1
  12. package/dist/chunks/{websearch-0q0f95c6.js → location-services-0q0f95c6.js} +1 -1
  13. package/dist/chunks/{websearch-3are32kr.js → location-services-0q0kb4ad.js} +10 -10
  14. package/dist/chunks/{websearch-2n295dmf.js → location-services-0r684n0p.js} +8 -8
  15. package/dist/chunks/{websearch-sdet2h3j.js → location-services-13v8yyep.js} +20 -20
  16. package/dist/chunks/{websearch-p08t8n2g.js → location-services-14qjdv8x.js} +17 -17
  17. package/dist/chunks/{websearch-49v45h60.js → location-services-17vcgm03.js} +19 -19
  18. package/dist/chunks/{websearch-yp2x3t23.js → location-services-1acjjqhc.js} +4 -4
  19. package/dist/chunks/{websearch-eq1pz5kg.js → location-services-1bbkgx8g.js} +3 -3
  20. package/dist/chunks/{websearch-1dazxqgg.js → location-services-1dazxqgg.js} +2 -2
  21. package/dist/chunks/{websearch-1dfhrqqs.js → location-services-1dfhrqqs.js} +2 -2
  22. package/dist/chunks/{websearch-d95h25nb.js → location-services-1emffesh.js} +8 -8
  23. package/dist/chunks/{websearch-m68hgq7s.js → location-services-1j4f8vqa.js} +15 -15
  24. package/dist/chunks/{websearch-t41sh3fy.js → location-services-1jht073e.js} +12 -12
  25. package/dist/chunks/{websearch-h7nqhz63.js → location-services-1kxjkr9e.js} +10 -10
  26. package/dist/chunks/{websearch-mjqsc3m4.js → location-services-1w78zr67.js} +30 -30
  27. package/dist/chunks/{websearch-yzjzatkn.js → location-services-1x1zf2vh.js} +11 -11
  28. package/dist/chunks/{websearch-21r38tys.js → location-services-21r38tys.js} +1 -1
  29. package/dist/chunks/location-services-21w3pn94.js +462 -0
  30. package/dist/chunks/{websearch-ypmm91wz.js → location-services-25mgdrrq.js} +29 -29
  31. package/dist/chunks/{websearch-0erg3m1e.js → location-services-26h9dnh4.js} +17 -17
  32. package/dist/chunks/{websearch-hpm7wbtc.js → location-services-27zz9e36.js} +4 -4
  33. package/dist/chunks/{websearch-vqdnz30e.js → location-services-28ansd8c.js} +15 -15
  34. package/dist/chunks/{websearch-x3y69024.js → location-services-28mykjjc.js} +7 -7
  35. package/dist/chunks/{websearch-2a5m3afh.js → location-services-2a5m3afh.js} +1 -1
  36. package/dist/chunks/location-services-2mhm0ygy.js +247 -0
  37. package/dist/chunks/{websearch-cq37gk0t.js → location-services-2tfmgkzg.js} +4 -4
  38. package/dist/chunks/{websearch-c29cwycq.js → location-services-2w3rb6m7.js} +25 -25
  39. package/dist/chunks/{websearch-45emdgqj.js → location-services-2wgr2zhm.js} +11 -11
  40. package/dist/chunks/{websearch-1ygqh575.js → location-services-33w4ejhs.js} +6 -6
  41. package/dist/chunks/{websearch-sx0p1kt4.js → location-services-35cqnyv0.js} +5 -5
  42. package/dist/chunks/{websearch-xgz9es2x.js → location-services-38h8a3yf.js} +35 -35
  43. package/dist/chunks/{websearch-xh5pks4n.js → location-services-3aa8y6y8.js} +50 -50
  44. package/dist/chunks/{websearch-kq8jn941.js → location-services-3cdbrfwe.js} +18 -18
  45. package/dist/chunks/{websearch-gbr9kgm4.js → location-services-3dh3hjhe.js} +9 -9
  46. package/dist/chunks/{websearch-3hepkmqq.js → location-services-3hepkmqq.js} +1 -1
  47. package/dist/chunks/{websearch-tpq6rqx4.js → location-services-3n9z35hx.js} +33 -33
  48. package/dist/chunks/{websearch-mma61h02.js → location-services-3rdnfe1a.js} +11 -11
  49. package/dist/chunks/{websearch-3smtnn6g.js → location-services-3smtnn6g.js} +1 -1
  50. package/dist/chunks/{websearch-3tvqynh2.js → location-services-3tvqynh2.js} +1 -1
  51. package/dist/chunks/{websearch-nxjw51y5.js → location-services-48btbcp5.js} +24 -24
  52. package/dist/chunks/{websearch-xrn84mgy.js → location-services-4k80sd60.js} +26 -26
  53. package/dist/chunks/{websearch-sgfkh1bp.js → location-services-4p58venj.js} +4 -4
  54. package/dist/chunks/{websearch-snxt8tdc.js → location-services-4te6grs0.js} +4 -4
  55. package/dist/chunks/{websearch-y19x3nk6.js → location-services-4twgxvm9.js} +16 -16
  56. package/dist/chunks/{websearch-wbkyxrgf.js → location-services-510m7gjw.js} +5 -5
  57. package/dist/chunks/{websearch-qs9hxpkb.js → location-services-5bgb8413.js} +35 -35
  58. package/dist/chunks/{websearch-a1bz86dw.js → location-services-5c4hm403.js} +3 -3
  59. package/dist/chunks/{websearch-5daktx2q.js → location-services-5daktx2q.js} +1 -1
  60. package/dist/chunks/{websearch-9g8bh1ef.js → location-services-5p05h9hk.js} +12 -12
  61. package/dist/chunks/{websearch-5t3nmthw.js → location-services-5t3nmthw.js} +2 -2
  62. package/dist/chunks/{websearch-b2zg7s1d.js → location-services-65py24zx.js} +11 -11
  63. package/dist/chunks/{websearch-669tq793.js → location-services-669tq793.js} +1 -1
  64. package/dist/chunks/{websearch-d4egmwvg.js → location-services-6fwabw78.js} +9 -9
  65. package/dist/chunks/{websearch-2402vzrj.js → location-services-6h73sxmp.js} +5 -5
  66. package/dist/chunks/{websearch-6msgmcgs.js → location-services-6msgmcgs.js} +1 -1
  67. package/dist/chunks/{websearch-yr3g59gf.js → location-services-6zb9h53h.js} +19 -19
  68. package/dist/chunks/{websearch-b7ns8anh.js → location-services-7194xbzc.js} +6 -6
  69. package/dist/chunks/{websearch-71q4at8m.js → location-services-71q4at8m.js} +1 -1
  70. package/dist/chunks/{websearch-1wc53y1e.js → location-services-76h67nm5.js} +12 -12
  71. package/dist/chunks/location-services-77h4sy2b.js +123 -0
  72. package/dist/chunks/{websearch-gnzk2c3p.js → location-services-77tk9we0.js} +19 -19
  73. package/dist/chunks/{websearch-7bmhse3q.js → location-services-7bmhse3q.js} +1 -1
  74. package/dist/chunks/{websearch-hgsze466.js → location-services-7btp50nq.js} +33 -33
  75. package/dist/chunks/{websearch-f0a6vjf3.js → location-services-7h61b3js.js} +22 -22
  76. package/dist/chunks/{websearch-zqcqevqh.js → location-services-7scnp8fh.js} +11 -11
  77. package/dist/chunks/{websearch-yvmq8qxx.js → location-services-7tw5v7xe.js} +14 -14
  78. package/dist/chunks/{websearch-p4q4hee3.js → location-services-7vrm16hs.js} +28 -28
  79. package/dist/chunks/{websearch-5dxe2w0c.js → location-services-7vvv1tr8.js} +16 -16
  80. package/dist/chunks/{websearch-zyr433b0.js → location-services-818pfwc9.js} +11 -11
  81. package/dist/chunks/{websearch-8d7r5vzw.js → location-services-8d7r5vzw.js} +1 -1
  82. package/dist/chunks/{websearch-gqbb51sz.js → location-services-8hy619a9.js} +26 -26
  83. package/dist/chunks/{websearch-vn6k26c2.js → location-services-8vzn018h.js} +7 -7
  84. package/dist/chunks/{websearch-mgj6a2ns.js → location-services-90016ntc.js} +32 -32
  85. package/dist/chunks/{websearch-c5ykpkef.js → location-services-926w9v4r.js} +17 -17
  86. package/dist/chunks/{websearch-rf53tn46.js → location-services-938tgqqs.js} +20 -20
  87. package/dist/chunks/{websearch-83x6p9kd.js → location-services-96yt6zt0.js} +1 -1
  88. package/dist/chunks/{websearch-zvx2hyhz.js → location-services-9fg9wkmf.js} +24 -24
  89. package/dist/chunks/{websearch-0gr7cw0d.js → location-services-9h41vc4j.js} +4 -4
  90. package/dist/chunks/{websearch-kxwbgyam.js → location-services-9q7w8qe9.js} +5 -5
  91. package/dist/chunks/{websearch-r3zq2d2f.js → location-services-9qx34ve8.js} +16 -16
  92. package/dist/chunks/{websearch-aaet6srn.js → location-services-aaet6srn.js} +2 -2
  93. package/dist/chunks/{websearch-f6j0t076.js → location-services-aewz22a9.js} +19 -19
  94. package/dist/chunks/{websearch-zgt86zhe.js → location-services-afn8c1vq.js} +25 -25
  95. package/dist/chunks/{websearch-depwzj9d.js → location-services-akybccbs.js} +9 -9
  96. package/dist/chunks/{websearch-7ftp1p3n.js → location-services-az0y13ra.js} +14 -14
  97. package/dist/chunks/{websearch-jgjn4qh1.js → location-services-b3frasm9.js} +11 -11
  98. package/dist/chunks/{websearch-b6gygkdw.js → location-services-b6gygkdw.js} +2 -2
  99. package/dist/chunks/{websearch-2my2jec7.js → location-services-b6khz9cq.js} +5 -5
  100. package/dist/chunks/{websearch-e90e9h05.js → location-services-b84tpdk1.js} +9 -9
  101. package/dist/chunks/{websearch-xycjtdwc.js → location-services-bcnz578n.js} +3 -3
  102. package/dist/chunks/{websearch-478vk9r5.js → location-services-bjtft5hn.js} +14 -14
  103. package/dist/chunks/{websearch-jx8g4evx.js → location-services-bna2jm49.js} +9 -9
  104. package/dist/chunks/{websearch-wg42tg3h.js → location-services-bv56xrks.js} +2 -6
  105. package/dist/chunks/{websearch-9c1zk87q.js → location-services-bvfebvap.js} +15 -15
  106. package/dist/chunks/{websearch-dqmwfghx.js → location-services-c78bbtc9.js} +5 -5
  107. package/dist/chunks/{websearch-1bj5saeq.js → location-services-cag037j2.js} +43 -43
  108. package/dist/chunks/{websearch-tct0adjb.js → location-services-cf55n9f0.js} +6 -6
  109. package/dist/chunks/{websearch-7zjjknfr.js → location-services-cqm39syx.js} +6 -6
  110. package/dist/chunks/{websearch-dr2w76rp.js → location-services-cxp4ejjw.js} +31 -31
  111. package/dist/chunks/{websearch-7gvwkz6m.js → location-services-d2aac7k2.js} +5 -5
  112. package/dist/chunks/{websearch-8t6t38nc.js → location-services-d3fc49e9.js} +28 -28
  113. package/dist/chunks/{websearch-dfvdhkr9.js → location-services-d3vw0k0a.js} +20 -20
  114. package/dist/chunks/{websearch-h212frhe.js → location-services-d5kwtv32.js} +60 -60
  115. package/dist/chunks/{websearch-021awceq.js → location-services-d9sn21bc.js} +2 -2
  116. package/dist/chunks/{websearch-q7h5d3m6.js → location-services-dbvb3fc3.js} +44 -44
  117. package/dist/chunks/{websearch-05xfxpq7.js → location-services-dgmwn8ez.js} +8 -8
  118. package/dist/chunks/{websearch-9j5rkn4p.js → location-services-dgskfwz0.js} +15 -15
  119. package/dist/chunks/{websearch-8p4f9s12.js → location-services-dj2t23y0.js} +2 -2
  120. package/dist/chunks/{websearch-jskxt0f7.js → location-services-dpjp4nqx.js} +17 -17
  121. package/dist/chunks/{websearch-y71avatq.js → location-services-dpkg50ah.js} +4 -4
  122. package/dist/chunks/{websearch-04zx74aq.js → location-services-dpqseq3m.js} +47 -47
  123. package/dist/chunks/{websearch-89sr0xjz.js → location-services-dsgqmc9d.js} +81 -30
  124. package/dist/chunks/{websearch-cmwkp3r5.js → location-services-dv1qgsyq.js} +8 -8
  125. package/dist/chunks/{websearch-33jfmvf3.js → location-services-dw47z06m.js} +18 -18
  126. package/dist/chunks/{websearch-ss0awb04.js → location-services-e6hd9jay.js} +6 -6
  127. package/dist/chunks/{websearch-4x3w2b9w.js → location-services-ead5n236.js} +27 -27
  128. package/dist/chunks/{websearch-rhjbct0v.js → location-services-eaj1djv9.js} +8 -8
  129. package/dist/chunks/{websearch-0755jzb2.js → location-services-eay15qda.js} +15 -15
  130. package/dist/chunks/{websearch-e5q5a43z.js → location-services-endx0wqw.js} +2 -2
  131. package/dist/chunks/{websearch-etq0c3wd.js → location-services-etq0c3wd.js} +1 -1
  132. package/dist/chunks/{websearch-6mmbv679.js → location-services-ew99gprq.js} +3 -3
  133. package/dist/chunks/{websearch-50crwb10.js → location-services-f2mbwh22.js} +22 -22
  134. package/dist/chunks/{websearch-t8mcaem5.js → location-services-f8q7mv7a.js} +1 -1
  135. package/dist/chunks/{websearch-gt0cxfk7.js → location-services-fgh0kbhd.js} +1 -1
  136. package/dist/chunks/{websearch-fxbjtjnd.js → location-services-fxbjtjnd.js} +1 -1
  137. package/dist/chunks/{websearch-jhetwysa.js → location-services-fygdb7h7.js} +3 -3
  138. package/dist/chunks/{websearch-2pnhn36q.js → location-services-g190xswt.js} +21 -21
  139. package/dist/chunks/{websearch-htmh7j47.js → location-services-g4k0nsm5.js} +12 -12
  140. package/dist/chunks/{websearch-gd4qta3r.js → location-services-gd4qta3r.js} +1 -1
  141. package/dist/chunks/{websearch-3fc6dm20.js → location-services-gdvy8fx6.js} +4 -4
  142. package/dist/chunks/{websearch-gv6a8nnw.js → location-services-gv6a8nnw.js} +2 -2
  143. package/dist/chunks/{websearch-1sfa2a0d.js → location-services-gyr4z3nc.js} +13 -13
  144. package/dist/chunks/{websearch-h03wrkyp.js → location-services-h03wrkyp.js} +2 -2
  145. package/dist/chunks/{websearch-h6vf3j39.js → location-services-h6vf3j39.js} +1 -1
  146. package/dist/chunks/{websearch-1cc28rc9.js → location-services-hapx9efs.js} +11 -11
  147. package/dist/chunks/{websearch-f828m53h.js → location-services-hdnk95c8.js} +2 -2
  148. package/dist/chunks/{websearch-31y9be5w.js → location-services-hg3kf1wh.js} +24 -24
  149. package/dist/chunks/{websearch-nhy5jxhy.js → location-services-hjt4xg1x.js} +4 -4
  150. package/dist/chunks/{websearch-g0xxe7ep.js → location-services-hzzdchkt.js} +9 -9
  151. package/dist/chunks/{websearch-rme5v0wm.js → location-services-j26kwb45.js} +10 -10
  152. package/dist/chunks/{websearch-j22b20c9.js → location-services-j2er9mpe.js} +14 -14
  153. package/dist/chunks/{websearch-m2f4f69a.js → location-services-j3e7j141.js} +82 -82
  154. package/dist/chunks/{websearch-j56e64zr.js → location-services-j56e64zr.js} +1 -1
  155. package/dist/chunks/{websearch-thph018j.js → location-services-j5pcr10t.js} +23 -23
  156. package/dist/chunks/{websearch-k6yq57aq.js → location-services-j7wq2tw5.js} +3 -3
  157. package/dist/chunks/{websearch-61j69c1n.js → location-services-jg1v5s7w.js} +37 -33
  158. package/dist/chunks/{websearch-2s50d4an.js → location-services-jj63jgrn.js} +8 -8
  159. package/dist/chunks/{websearch-8yxyf177.js → location-services-jx9yc53e.js} +29 -29
  160. package/dist/chunks/{websearch-5nsrms9d.js → location-services-k16ay38w.js} +1 -1
  161. package/dist/chunks/{websearch-h6tzq0g1.js → location-services-k41knq1q.js} +7 -7
  162. package/dist/chunks/{websearch-k2w7c5ek.js → location-services-k57m1jzp.js} +4 -4
  163. package/dist/chunks/{websearch-f1qy17ef.js → location-services-kdqxszpx.js} +10 -10
  164. package/dist/chunks/{websearch-1nx7yvga.js → location-services-kefkpy3s.js} +15 -15
  165. package/dist/chunks/{websearch-kg06axw8.js → location-services-kg06axw8.js} +1 -1
  166. package/dist/chunks/{websearch-hyj2vz80.js → location-services-kqd2wwpf.js} +4 -4
  167. package/dist/chunks/{websearch-zxwpk2nb.js → location-services-ksz0h0wp.js} +1 -1
  168. package/dist/chunks/{websearch-cfpkc3c9.js → location-services-m0jqrx5p.js} +2 -2
  169. package/dist/chunks/{websearch-c7ecgrk6.js → location-services-m27pyyd3.js} +6 -6
  170. package/dist/chunks/{websearch-2bt6bea8.js → location-services-m2d0j7c0.js} +9 -9
  171. package/dist/chunks/{websearch-6ea2fwcg.js → location-services-m91gvp7t.js} +6 -6
  172. package/dist/chunks/{websearch-m9w0rfyh.js → location-services-m9w0rfyh.js} +1 -1
  173. package/dist/chunks/{websearch-svekdxsq.js → location-services-ma4jf699.js} +10 -10
  174. package/dist/chunks/{websearch-mkcjrzeh.js → location-services-mkcjrzeh.js} +1 -1
  175. package/dist/chunks/location-services-mvrygv8d.js +22 -0
  176. package/dist/chunks/{websearch-g196mbqx.js → location-services-n0yhhsrm.js} +28 -28
  177. package/dist/chunks/{websearch-98raenma.js → location-services-n5deg3hq.js} +26 -26
  178. package/dist/chunks/{websearch-k8exn2cw.js → location-services-n71swj86.js} +23 -23
  179. package/dist/chunks/{websearch-4mkcvr19.js → location-services-n76fdqym.js} +5 -5
  180. package/dist/chunks/{websearch-dyn65gx1.js → location-services-na9jc3zz.js} +15 -15
  181. package/dist/chunks/{websearch-0vc4g4y4.js → location-services-nt7gfj6r.js} +35 -35
  182. package/dist/chunks/{websearch-qfzde7bh.js → location-services-p0a23dx6.js} +6 -6
  183. package/dist/chunks/{websearch-r4tjn19r.js → location-services-p7jc52kh.js} +23 -23
  184. package/dist/chunks/{websearch-n08x0d0z.js → location-services-p8pncxt6.js} +11 -11
  185. package/dist/chunks/{websearch-8301y4zq.js → location-services-p9npvqvf.js} +27 -27
  186. package/dist/chunks/{websearch-64kphnzf.js → location-services-paegk39x.js} +4 -4
  187. package/dist/chunks/{websearch-j935v87r.js → location-services-paphc93g.js} +2 -2
  188. package/dist/chunks/{websearch-3q76zk4e.js → location-services-pbmqy3fk.js} +9 -9
  189. package/dist/chunks/{websearch-pjvnvgmy.js → location-services-pjvnvgmy.js} +1 -1
  190. package/dist/chunks/{websearch-fgtgmky3.js → location-services-pkgn47pe.js} +7 -7
  191. package/dist/chunks/{websearch-pknna89w.js → location-services-pknna89w.js} +1 -1
  192. package/dist/chunks/{websearch-72gev72r.js → location-services-pm3pscn2.js} +28 -28
  193. package/dist/chunks/{websearch-an7cqtb7.js → location-services-pmr4s4kc.js} +4 -4
  194. package/dist/chunks/{websearch-k5jec5xd.js → location-services-pn1pd4vv.js} +23 -23
  195. package/dist/chunks/{websearch-kkyjec0m.js → location-services-prn1pyrq.js} +22 -22
  196. package/dist/chunks/{websearch-1d8a1kez.js → location-services-pvg1h8v8.js} +13 -13
  197. package/dist/chunks/{websearch-qy32snha.js → location-services-py6h8ymf.js} +46 -46
  198. package/dist/chunks/{websearch-dbehg565.js → location-services-pzr03x85.js} +29 -29
  199. package/dist/chunks/{websearch-9np0bycx.js → location-services-q6fregp6.js} +5 -5
  200. package/dist/chunks/{websearch-czx16w8t.js → location-services-q7rews6h.js} +19 -19
  201. package/dist/chunks/{websearch-pcpkg30b.js → location-services-qdprg751.js} +6 -6
  202. package/dist/chunks/{websearch-493f7437.js → location-services-qh692y7z.js} +11 -11
  203. package/dist/chunks/{websearch-d6nr5nr7.js → location-services-qq2qyb22.js} +52 -45
  204. package/dist/chunks/{websearch-mss67jyv.js → location-services-qq79xw43.js} +41 -41
  205. package/dist/chunks/{websearch-j5208yae.js → location-services-qq8x5mwt.js} +6 -6
  206. package/dist/chunks/{websearch-qsdy395h.js → location-services-qsdy395h.js} +1 -1
  207. package/dist/chunks/{websearch-yet3n8wb.js → location-services-qtcbh1xh.js} +10 -10
  208. package/dist/chunks/{websearch-rmvjz9y5.js → location-services-qvk4e0h1.js} +41 -41
  209. package/dist/chunks/{websearch-5d35sq1p.js → location-services-qwnhvfyv.js} +42 -42
  210. package/dist/chunks/{websearch-m71ma2ar.js → location-services-qx0n0hnh.js} +15 -15
  211. package/dist/chunks/{websearch-0n9gyfew.js → location-services-r3qsfapx.js} +4 -4
  212. package/dist/chunks/{websearch-5cmjskm6.js → location-services-r4yvx32h.js} +11 -11
  213. package/dist/chunks/{websearch-1wxb385z.js → location-services-r9babyk8.js} +1 -1
  214. package/dist/chunks/{websearch-11crq5fk.js → location-services-rcqzqd81.js} +16 -16
  215. package/dist/chunks/{websearch-8xch1t93.js → location-services-rkkpgdp7.js} +18 -18
  216. package/dist/chunks/{websearch-hjcw82wr.js → location-services-rmmsmjb4.js} +4 -4
  217. package/dist/chunks/{websearch-rk0rec3h.js → location-services-rsym84ch.js} +9 -9
  218. package/dist/chunks/{websearch-9jvy7ydv.js → location-services-rwvbz859.js} +41 -41
  219. package/dist/chunks/{websearch-6j3xmf2b.js → location-services-rxc2end9.js} +12 -12
  220. package/dist/chunks/{websearch-3vhd93cw.js → location-services-rzvnvf72.js} +5 -5
  221. package/dist/chunks/{websearch-dhrxvkq0.js → location-services-sas8pg5s.js} +1 -1
  222. package/dist/chunks/{websearch-1q463h1w.js → location-services-sbpg0tan.js} +13 -13
  223. package/dist/chunks/{websearch-rhpv4pef.js → location-services-sdb4t7xa.js} +40 -40
  224. package/dist/chunks/{websearch-3cftakhg.js → location-services-sk12407m.js} +23 -23
  225. package/dist/chunks/{websearch-q1hatp1z.js → location-services-sm54wpq2.js} +84 -91
  226. package/dist/chunks/{websearch-dbyn5c67.js → location-services-sqtkc2m2.js} +55 -55
  227. package/dist/chunks/{websearch-2swp24h4.js → location-services-sy3r942d.js} +9 -9
  228. package/dist/chunks/{websearch-5kptn8c0.js → location-services-t0x5rdq8.js} +9 -9
  229. package/dist/chunks/{websearch-2pfmtds4.js → location-services-t6wppts7.js} +6 -6
  230. package/dist/chunks/{websearch-mrgdqvct.js → location-services-t7t4ctms.js} +7 -7
  231. package/dist/chunks/{websearch-w8cshh8g.js → location-services-t8zm0rfy.js} +27 -27
  232. package/dist/chunks/{websearch-hj64bk9y.js → location-services-t9wdc6hm.js} +7 -7
  233. package/dist/chunks/{websearch-tazgh4e4.js → location-services-tazgh4e4.js} +1 -1
  234. package/dist/chunks/{websearch-htw1ycyk.js → location-services-tbvegfey.js} +13 -13
  235. package/dist/chunks/{websearch-tcezcvh9.js → location-services-tcezcvh9.js} +1 -1
  236. package/dist/chunks/{websearch-tdstcens.js → location-services-tdstcens.js} +1 -1
  237. package/dist/chunks/{websearch-tvtrv512.js → location-services-tvtrv512.js} +1 -1
  238. package/dist/chunks/{websearch-1fz7hf79.js → location-services-twbrtgyh.js} +6 -6
  239. package/dist/chunks/{websearch-8a3zjqsd.js → location-services-tyedwpwk.js} +28 -28
  240. package/dist/chunks/{websearch-94sf61n7.js → location-services-typb56dn.js} +9 -9
  241. package/dist/chunks/location-services-v1faaxn9.js +18 -0
  242. package/dist/chunks/{websearch-19vf66h0.js → location-services-v5dkyp31.js} +4 -4
  243. package/dist/chunks/{websearch-z19yvwwa.js → location-services-v6x176th.js} +67 -67
  244. package/dist/chunks/{websearch-awadhvm4.js → location-services-v8nbvaxc.js} +3 -3
  245. package/dist/chunks/{websearch-veqvce7d.js → location-services-veqvce7d.js} +1 -1
  246. package/dist/chunks/{websearch-xsg863kr.js → location-services-vqfxkn1p.js} +19 -19
  247. package/dist/chunks/{websearch-vzcthcp8.js → location-services-vzcthcp8.js} +1 -1
  248. package/dist/chunks/{websearch-2xd0aq0j.js → location-services-vzdxznzr.js} +30 -30
  249. package/dist/chunks/{websearch-2nkb2xdd.js → location-services-w0vkrcvg.js} +38 -40
  250. package/dist/chunks/{websearch-w3wsvvr9.js → location-services-w3wsvvr9.js} +1 -1
  251. package/dist/chunks/{websearch-gx1zhcta.js → location-services-w79zsp0s.js} +1 -1
  252. package/dist/chunks/{websearch-wd87259q.js → location-services-wd87259q.js} +1 -1
  253. package/dist/chunks/{websearch-wshz9cdg.js → location-services-weghmnna.js} +26 -26
  254. package/dist/chunks/{websearch-r76bmaj0.js → location-services-wh6nx8gk.js} +4 -4
  255. package/dist/chunks/{websearch-qvnm1bpb.js → location-services-wzgdh32c.js} +7 -7
  256. package/dist/chunks/{websearch-gpamd96a.js → location-services-x0ws3ag5.js} +6 -6
  257. package/dist/chunks/{websearch-m5q1xh1y.js → location-services-x1091fq2.js} +12 -12
  258. package/dist/chunks/{websearch-x1ezjp6w.js → location-services-x1ezjp6w.js} +1 -1
  259. package/dist/chunks/{websearch-ha64d30f.js → location-services-x2hsxp9g.js} +175 -175
  260. package/dist/chunks/{websearch-x43y2vfs.js → location-services-x43y2vfs.js} +2 -2
  261. package/dist/chunks/{websearch-gqvas9p6.js → location-services-xwxrb2wb.js} +11 -11
  262. package/dist/chunks/{websearch-wxbxhdt4.js → location-services-xy39xcbf.js} +10 -10
  263. package/dist/chunks/{websearch-c6vv51zx.js → location-services-xzx8bjh9.js} +24 -24
  264. package/dist/chunks/{websearch-y1fvbwt7.js → location-services-y1fvbwt7.js} +1 -1
  265. package/dist/chunks/{websearch-ed6htbmz.js → location-services-y3c1traj.js} +4 -4
  266. package/dist/chunks/{websearch-fm348ene.js → location-services-y3fm6296.js} +19 -19
  267. package/dist/chunks/{websearch-2qda5vxm.js → location-services-y5r1chhz.js} +8 -8
  268. package/dist/chunks/{websearch-067w384p.js → location-services-y8n92kwn.js} +9 -30
  269. package/dist/chunks/{websearch-7jpweqvj.js → location-services-yh913qbr.js} +36 -69
  270. package/dist/chunks/{websearch-3d2zznj1.js → location-services-ypf42t62.js} +22 -22
  271. package/dist/chunks/{websearch-yrhqyw5v.js → location-services-yrhqyw5v.js} +1 -1
  272. package/dist/chunks/{websearch-s4enseaf.js → location-services-yrznvahk.js} +2 -2
  273. package/dist/chunks/{websearch-z0bkrqjs.js → location-services-z0bkrqjs.js} +1 -1
  274. package/dist/chunks/{websearch-c76p7jxk.js → location-services-z4cnv83b.js} +9 -9
  275. package/dist/chunks/{websearch-29x78va6.js → location-services-z63w68vq.js} +6 -6
  276. package/dist/chunks/{websearch-en74w496.js → location-services-z69s9t6b.js} +5 -5
  277. package/dist/chunks/{websearch-7ktgg3cs.js → location-services-za8kymys.js} +5 -5
  278. package/dist/chunks/{websearch-pn3svwfm.js → location-services-zc4z9477.js} +17 -17
  279. package/dist/chunks/{websearch-zeh9ct20.js → location-services-zeh9ct20.js} +2 -2
  280. package/dist/chunks/{websearch-6xw3seg4.js → location-services-zk8c4w5t.js} +5 -5
  281. package/dist/chunks/{websearch-qttzxqf3.js → location-services-zmcbp07n.js} +29 -29
  282. package/dist/chunks/{websearch-n57936qs.js → location-services-zpdf8d1q.js} +18 -18
  283. package/dist/chunks/{websearch-vfwqcd3q.js → location-services-zqgbsb8r.js} +24 -24
  284. package/dist/chunks/{websearch-zr2ceqn5.js → location-services-zr2ceqn5.js} +1 -1
  285. package/dist/chunks/{websearch-hn57h045.js → location-services-zvt5dnpc.js} +4 -4
  286. package/dist/chunks/{websearch-5r8gm5p4.js → location-services-zxpvnfs4.js} +9 -9
  287. package/dist/chunks/{websearch-zxq2ej10.js → location-services-zxq2ej10.js} +1 -1
  288. package/dist/chunks/{websearch-g1pypaes.js → location-services-zz7n74gb.js} +8 -8
  289. package/dist/codemode/catalog.js +3 -3
  290. package/dist/codemode/instructions.js +7 -7
  291. package/dist/codemode/tool.js +2 -2
  292. package/dist/command.js +79 -79
  293. package/dist/config/discovery.js +77 -77
  294. package/dist/config/markdown.js +1 -1
  295. package/dist/config/normalize.js +19 -19
  296. package/dist/config/plugin/agent.js +115 -115
  297. package/dist/config/plugin/command.js +207 -207
  298. package/dist/config/plugin/compaction.js +155 -155
  299. package/dist/config/plugin/entry-observer.js +1 -1
  300. package/dist/config/plugin/formatter.js +117 -117
  301. package/dist/config/plugin/image.js +115 -115
  302. package/dist/config/plugin/instruction.js +85 -85
  303. package/dist/config/plugin/location-watcher.js +117 -117
  304. package/dist/config/plugin/mcp.js +124 -124
  305. package/dist/config/plugin/policy.js +114 -114
  306. package/dist/config/plugin/provider.js +113 -113
  307. package/dist/config/plugin/reference.js +117 -117
  308. package/dist/config/plugin/shell.js +116 -116
  309. package/dist/config/plugin/skill-file.js +97 -97
  310. package/dist/config/plugin/skill.js +134 -134
  311. package/dist/config/plugin/snapshot.js +115 -115
  312. package/dist/config/plugin/source.js +117 -117
  313. package/dist/config/plugin/tool-output.js +117 -117
  314. package/dist/config/plugin/websearch.js +111 -111
  315. package/dist/config/plugin/worktree.js +118 -118
  316. package/dist/config/variable.js +3 -3
  317. package/dist/config/watch.js +1 -1
  318. package/dist/config.js +115 -115
  319. package/dist/credential/sql.js +2 -2
  320. package/dist/credential.js +83 -83
  321. package/dist/database/database.js +64 -64
  322. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  323. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  324. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  325. package/dist/database/drizzle/index.js +15 -15
  326. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  327. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  328. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  329. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  330. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  331. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  335. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  336. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  337. package/dist/database/drizzle.js +16 -16
  338. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  339. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  340. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  341. package/dist/database/migration/20260225215848_workspace.js +1 -1
  342. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  343. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  344. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  345. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  346. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  347. package/dist/database/migration/20260323234822_events.js +1 -1
  348. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  349. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  350. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  351. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  352. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  353. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  354. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  355. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  356. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  357. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  358. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  359. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  360. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  361. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  362. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  363. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  364. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  365. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  366. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  367. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  368. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  369. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  370. package/dist/database/migration/20260611035744_credential.js +1 -1
  371. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  372. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  373. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  374. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  375. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  376. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  377. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  378. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  379. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  380. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  381. package/dist/database/migration/20260812213948_worktree.js +1 -1
  382. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  383. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  384. package/dist/database/migration.gen.js +47 -47
  385. package/dist/database/migration.js +49 -49
  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 +74 -74
  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 +88 -88
  401. package/dist/environment/exec-defaults.js +2 -2
  402. package/dist/environment/files.js +1 -1
  403. package/dist/environment/index.js +90 -90
  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 +72 -72
  409. package/dist/file-access.js +99 -99
  410. package/dist/file-mutation.js +85 -85
  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 +6 -6
  419. package/dist/filesystem/location-watcher.js +222 -222
  420. package/dist/filesystem/protected.js +1 -1
  421. package/dist/filesystem/search.js +93 -93
  422. package/dist/filesystem/watcher-binding.js +3 -3
  423. package/dist/filesystem/watcher.js +9 -9
  424. package/dist/filesystem.js +94 -94
  425. package/dist/form.js +84 -84
  426. package/dist/formatter/builtins.js +4 -4
  427. package/dist/formatter.js +78 -78
  428. package/dist/generate.js +87 -87
  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 +81 -81
  455. package/dist/instructions/builtins.js +82 -82
  456. package/dist/instructions/index.js +5 -5
  457. package/dist/integration/connection.js +1 -1
  458. package/dist/integration.js +84 -84
  459. package/dist/job.js +77 -77
  460. package/dist/kv/sql.js +2 -2
  461. package/dist/kv.js +71 -71
  462. package/dist/location-activity.js +131 -131
  463. package/dist/location-mutation.js +99 -99
  464. package/dist/location-service-map.js +81 -81
  465. package/dist/location-services.js +350 -349
  466. package/dist/location.js +84 -84
  467. package/dist/mcp/client.js +86 -86
  468. package/dist/mcp/index.js +97 -97
  469. package/dist/mcp/instructions.js +120 -120
  470. package/dist/mcp/oauth.js +3 -3
  471. package/dist/mcp/stdio.js +85 -85
  472. package/dist/mime.js +1 -1
  473. package/dist/modal/models.js +3 -3
  474. package/dist/model-resolver.js +86 -86
  475. package/dist/model.js +10 -10
  476. package/dist/models-dev.js +74 -74
  477. package/dist/oauth/page.js +1 -1
  478. package/dist/permission/saved.js +78 -78
  479. package/dist/permission/sql.js +5 -5
  480. package/dist/permission.js +110 -110
  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 +84 -84
  484. package/dist/persistent-pty/pty-binding.js +1 -1
  485. package/dist/persistent-pty.js +73 -73
  486. package/dist/plugin/agent.js +97 -97
  487. package/dist/plugin/command.js +94 -94
  488. package/dist/plugin/hooks.js +5 -5
  489. package/dist/plugin/host.js +213 -213
  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 +75 -75
  494. package/dist/plugin/module.js +5 -5
  495. package/dist/plugin/optimize.js +2 -2
  496. package/dist/plugin/plan.js +97 -97
  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/anthropic.js +2 -2
  501. package/dist/plugin/provider/azure.js +118 -118
  502. package/dist/plugin/provider/cerebras.js +2 -2
  503. package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
  504. package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
  505. package/dist/plugin/provider/cohere.js +2 -2
  506. package/dist/plugin/provider/configured.js +114 -114
  507. package/dist/plugin/provider/digitalocean.js +79 -79
  508. package/dist/plugin/provider/dynamic.js +2 -2
  509. package/dist/plugin/provider/factory.js +1 -1
  510. package/dist/plugin/provider/gateway.js +2 -2
  511. package/dist/plugin/provider/github-copilot.js +80 -80
  512. package/dist/plugin/provider/gitlab.js +3 -3
  513. package/dist/plugin/provider/google-vertex.js +2 -2
  514. package/dist/plugin/provider/kilo.js +2 -2
  515. package/dist/plugin/provider/llmgateway.js +76 -76
  516. package/dist/plugin/provider/lmstudio.js +115 -115
  517. package/dist/plugin/provider/mistral.js +2 -2
  518. package/dist/plugin/provider/modal.js +79 -79
  519. package/dist/plugin/provider/nvidia.js +2 -2
  520. package/dist/plugin/provider/ollama.js +117 -117
  521. package/dist/plugin/provider/openai-compatible.js +1 -1
  522. package/dist/plugin/provider/openai.js +78 -78
  523. package/dist/plugin/provider/opencode.js +79 -76
  524. package/dist/plugin/provider/openrouter.js +3 -3
  525. package/dist/plugin/provider/perplexity.js +2 -2
  526. package/dist/plugin/provider/poe.js +81 -0
  527. package/dist/plugin/provider/sap-ai-core.js +3 -3
  528. package/dist/plugin/provider/sdk-factory.js +1 -1
  529. package/dist/plugin/provider/snowflake-cortex.js +117 -117
  530. package/dist/plugin/provider/venice.js +2 -2
  531. package/dist/plugin/provider/vercel.js +2 -2
  532. package/dist/plugin/provider/vllm.js +117 -117
  533. package/dist/plugin/provider/xai.js +77 -77
  534. package/dist/plugin/provider/zenmux.js +2 -2
  535. package/dist/plugin/provider.js +158 -156
  536. package/dist/plugin/sdk.js +68 -68
  537. package/dist/plugin/service.js +3 -3
  538. package/dist/plugin/skill.js +133 -133
  539. package/dist/plugin/source-directory.js +1 -1
  540. package/dist/plugin/supervisor.js +341 -340
  541. package/dist/plugin/update.js +6 -6
  542. package/dist/plugin/variant.js +4 -4
  543. package/dist/plugin/vcs/git.js +82 -82
  544. package/dist/plugin/vcs/hg.js +82 -82
  545. package/dist/plugin/warming.js +112 -112
  546. package/dist/plugin/websearch/exa.js +7 -7
  547. package/dist/plugin/websearch/firecrawl.js +8 -8
  548. package/dist/plugin/websearch/index.js +8 -8
  549. package/dist/plugin/websearch/mcp.js +4 -4
  550. package/dist/plugin/websearch/parallel.js +8 -8
  551. package/dist/plugin/websearch/tavily.js +6 -6
  552. package/dist/plugin.js +216 -216
  553. package/dist/project/schema.js +8 -8
  554. package/dist/project/sql.js +4 -4
  555. package/dist/project.js +83 -83
  556. package/dist/provider.js +5 -5
  557. package/dist/pty/protocol.js +1 -1
  558. package/dist/pty/schema.js +1 -1
  559. package/dist/pty/ticket.js +1 -1
  560. package/dist/pty.js +82 -82
  561. package/dist/reference/instructions.js +84 -84
  562. package/dist/reference.js +84 -84
  563. package/dist/repository-cache.js +76 -76
  564. package/dist/repository.js +3 -3
  565. package/dist/ripgrep/binary.js +2 -2
  566. package/dist/ripgrep.js +91 -91
  567. package/dist/rpc.js +81 -81
  568. package/dist/schema.js +1 -1
  569. package/dist/session/command.js +72 -72
  570. package/dist/session/compaction.js +129 -129
  571. package/dist/session/context.js +147 -147
  572. package/dist/session/environment.js +5 -5
  573. package/dist/session/error.js +7 -13
  574. package/dist/session/event.js +1 -1
  575. package/dist/session/execution/restart.js +219 -219
  576. package/dist/session/execution.js +122 -122
  577. package/dist/session/generate.js +146 -146
  578. package/dist/session/history.js +15 -15
  579. package/dist/session/inbox.js +86 -86
  580. package/dist/session/info.js +3 -3
  581. package/dist/session/instruction-entry.js +77 -77
  582. package/dist/session/instruction-state.js +8 -8
  583. package/dist/session/instructions.js +92 -92
  584. package/dist/session/message-updater.js +2 -2
  585. package/dist/session/message.js +1 -1
  586. package/dist/session/model-request.js +111 -111
  587. package/dist/session/model-transport.js +7 -7
  588. package/dist/session/move.js +124 -124
  589. package/dist/session/projector.js +84 -84
  590. package/dist/session/prompt.js +100 -100
  591. package/dist/session/provider-context.js +3 -3
  592. package/dist/session/revert.js +85 -85
  593. package/dist/session/run-coordinator.js +3 -3
  594. package/dist/session/runner/index.js +3 -3
  595. package/dist/session/runner/llm.js +225 -225
  596. package/dist/session/runner/max-steps.js +1 -1
  597. package/dist/session/runner/model.js +86 -86
  598. package/dist/session/runner/publish-llm-event.js +3 -3
  599. package/dist/session/runner/retry.js +110 -110
  600. package/dist/session/runner/step.js +121 -121
  601. package/dist/session/runner/to-llm-message.js +2 -2
  602. package/dist/session/schema.js +5 -5
  603. package/dist/session/session.js +169 -169
  604. package/dist/session/shell.js +131 -131
  605. package/dist/session/skill.js +98 -98
  606. package/dist/session/sql.js +5 -5
  607. package/dist/session/stats.js +71 -71
  608. package/dist/session/store.js +83 -83
  609. package/dist/session/subagent-completion.js +1 -1
  610. package/dist/session/subagent-job.js +205 -205
  611. package/dist/session/system-prompt.js +3 -3
  612. package/dist/session/title.js +151 -151
  613. package/dist/session/to-session-error.js +107 -107
  614. package/dist/session/transfer.js +215 -215
  615. package/dist/session/usage.js +1 -1
  616. package/dist/session.js +211 -217
  617. package/dist/shell/parse.js +6 -6
  618. package/dist/shell/result.js +1 -1
  619. package/dist/shell/scan.js +1 -1
  620. package/dist/shell/select.js +11 -11
  621. package/dist/shell.js +133 -133
  622. package/dist/skill/discovery.js +6 -6
  623. package/dist/skill/instructions.js +98 -98
  624. package/dist/skill.js +105 -105
  625. package/dist/snapshot.js +84 -84
  626. package/dist/state.js +1 -1
  627. package/dist/tool/html-markdown.js +1 -1
  628. package/dist/tool/http-body.js +1 -1
  629. package/dist/tool/mcp.js +117 -117
  630. package/dist/tool/plugin/edit.js +115 -115
  631. package/dist/tool/plugin/file-diff.js +1 -1
  632. package/dist/tool/plugin/glob.js +120 -120
  633. package/dist/tool/plugin/grep.js +120 -120
  634. package/dist/tool/plugin/opencode.js +3 -3
  635. package/dist/tool/plugin/patch.js +117 -117
  636. package/dist/tool/plugin/question.js +96 -96
  637. package/dist/tool/plugin/read.js +121 -121
  638. package/dist/tool/plugin/shell.js +210 -210
  639. package/dist/tool/plugin/skill.js +108 -108
  640. package/dist/tool/plugin/subagent.js +214 -214
  641. package/dist/tool/plugin/webfetch.js +107 -107
  642. package/dist/tool/plugin/websearch.js +107 -107
  643. package/dist/tool/plugin/write.js +117 -117
  644. package/dist/tool/read-filesystem.js +96 -96
  645. package/dist/tool/runtime.js +1 -1
  646. package/dist/tool-output.js +8 -8
  647. package/dist/tool.js +13 -13
  648. package/dist/types/plugin/provider/poe.d.ts +2 -0
  649. package/dist/types/session/compaction.d.ts +1 -1
  650. package/dist/types/session/error.d.ts +0 -36
  651. package/dist/types/session/session.d.ts +1 -5
  652. package/dist/types/session.d.ts +2 -5
  653. package/dist/util/error-summary.js +1 -1
  654. package/dist/util/error.js +1 -1
  655. package/dist/util/iife.js +1 -1
  656. package/dist/util/lazy.js +1 -1
  657. package/dist/util/slug.js +1 -1
  658. package/dist/util/token.js +1 -1
  659. package/dist/util/which.js +1 -1
  660. package/dist/util/wildcard.js +1 -1
  661. package/dist/v1/config/agent.js +7 -7
  662. package/dist/v1/config/attachment.js +4 -4
  663. package/dist/v1/config/command.js +3 -3
  664. package/dist/v1/config/config.js +16 -16
  665. package/dist/v1/config/error.js +4 -4
  666. package/dist/v1/config/formatter.js +5 -5
  667. package/dist/v1/config/layout.js +1 -1
  668. package/dist/v1/config/lsp.js +5 -5
  669. package/dist/v1/config/mcp.js +4 -4
  670. package/dist/v1/config/migrate.js +4 -4
  671. package/dist/v1/config/permission.js +7 -7
  672. package/dist/v1/config/plugin.js +3 -3
  673. package/dist/v1/config/provider-options.js +1 -1
  674. package/dist/v1/config/provider.js +4 -4
  675. package/dist/v1/config/server.js +2 -2
  676. package/dist/v1/config/skills.js +3 -3
  677. package/dist/v1/permission.js +1 -1
  678. package/dist/vcs/patch.js +1 -1
  679. package/dist/vcs.js +85 -85
  680. package/dist/websearch.js +80 -80
  681. package/dist/wellknown/plugin.js +74 -74
  682. package/dist/wellknown.js +77 -77
  683. package/dist/workspace/driver.js +5 -5
  684. package/dist/workspace/sql.js +1 -1
  685. package/dist/workspace.js +76 -76
  686. package/dist/worktree/directory.js +2 -2
  687. package/dist/worktree/git.js +7 -7
  688. package/dist/worktree/refresh.js +342 -341
  689. package/dist/worktree/sql.js +5 -5
  690. package/dist/worktree.js +89 -89
  691. package/package.json +8 -8
  692. package/dist/chunks/websearch-1x11rq2a.js +0 -18
  693. package/dist/chunks/websearch-3d6cm71h.js +0 -22
  694. package/dist/chunks/websearch-5fhb7dgn.js +0 -462
  695. package/dist/chunks/websearch-szyg4q7j.js +0 -247
  696. /package/dist/chunks/{websearch-0mesazry.js → location-services-0mesazry.js} +0 -0
  697. /package/dist/chunks/{websearch-0qkdqm5v.js → location-services-0qkdqm5v.js} +0 -0
  698. /package/dist/chunks/{websearch-0zkw76rk.js → location-services-0zkw76rk.js} +0 -0
  699. /package/dist/chunks/{websearch-17cy0kzp.js → location-services-17cy0kzp.js} +0 -0
  700. /package/dist/chunks/{websearch-1cnp2v09.js → location-services-1cnp2v09.js} +0 -0
  701. /package/dist/chunks/{websearch-1kg9ymc8.js → location-services-1kg9ymc8.js} +0 -0
  702. /package/dist/chunks/{websearch-2710q6r3.js → location-services-2710q6r3.js} +0 -0
  703. /package/dist/chunks/{websearch-2axfhc9x.js → location-services-2axfhc9x.js} +0 -0
  704. /package/dist/chunks/{websearch-2c3vjs8z.js → location-services-2c3vjs8z.js} +0 -0
  705. /package/dist/chunks/{websearch-359p4xyc.js → location-services-359p4xyc.js} +0 -0
  706. /package/dist/chunks/{websearch-3asan66x.js → location-services-3asan66x.js} +0 -0
  707. /package/dist/chunks/{websearch-3v8g72cx.js → location-services-3v8g72cx.js} +0 -0
  708. /package/dist/chunks/{websearch-3w5fmr99.js → location-services-3w5fmr99.js} +0 -0
  709. /package/dist/chunks/{websearch-3wcehsnq.js → location-services-3wcehsnq.js} +0 -0
  710. /package/dist/chunks/{websearch-43n2bw4t.js → location-services-43n2bw4t.js} +0 -0
  711. /package/dist/chunks/{websearch-4knz6hnm.js → location-services-4knz6hnm.js} +0 -0
  712. /package/dist/chunks/{websearch-4y7fprxs.js → location-services-4y7fprxs.js} +0 -0
  713. /package/dist/chunks/{websearch-53557ph1.js → location-services-53557ph1.js} +0 -0
  714. /package/dist/chunks/{websearch-550bvhaj.js → location-services-550bvhaj.js} +0 -0
  715. /package/dist/chunks/{websearch-6prwharc.js → location-services-6prwharc.js} +0 -0
  716. /package/dist/chunks/{websearch-7akdwqpd.js → location-services-7akdwqpd.js} +0 -0
  717. /package/dist/chunks/{websearch-7m9af43g.js → location-services-7m9af43g.js} +0 -0
  718. /package/dist/chunks/{websearch-822emrt2.js → location-services-822emrt2.js} +0 -0
  719. /package/dist/chunks/{websearch-88xbtdfr.js → location-services-88xbtdfr.js} +0 -0
  720. /package/dist/chunks/{websearch-8n3pysct.js → location-services-8n3pysct.js} +0 -0
  721. /package/dist/chunks/{websearch-922hggd3.js → location-services-922hggd3.js} +0 -0
  722. /package/dist/chunks/{websearch-9a4afbnw.js → location-services-9a4afbnw.js} +0 -0
  723. /package/dist/chunks/{websearch-9rqn6x4v.js → location-services-9rqn6x4v.js} +0 -0
  724. /package/dist/chunks/{websearch-a1tpkmh4.js → location-services-a1tpkmh4.js} +0 -0
  725. /package/dist/chunks/{websearch-a6k6eb26.js → location-services-a6k6eb26.js} +0 -0
  726. /package/dist/chunks/{websearch-af5trqkr.js → location-services-af5trqkr.js} +0 -0
  727. /package/dist/chunks/{websearch-afrmfg78.js → location-services-afrmfg78.js} +0 -0
  728. /package/dist/chunks/{websearch-aqzs7mqg.js → location-services-aqzs7mqg.js} +0 -0
  729. /package/dist/chunks/{websearch-atq7p7m5.js → location-services-atq7p7m5.js} +0 -0
  730. /package/dist/chunks/{websearch-bkyjaxrp.js → location-services-bkyjaxrp.js} +0 -0
  731. /package/dist/chunks/{websearch-bmr6ed5q.js → location-services-bmr6ed5q.js} +0 -0
  732. /package/dist/chunks/{websearch-cf4snx6d.js → location-services-cf4snx6d.js} +0 -0
  733. /package/dist/chunks/{websearch-cvy3z8tj.js → location-services-cvy3z8tj.js} +0 -0
  734. /package/dist/chunks/{websearch-d9fn303g.js → location-services-d9fn303g.js} +0 -0
  735. /package/dist/chunks/{websearch-d9jj8t3e.js → location-services-d9jj8t3e.js} +0 -0
  736. /package/dist/chunks/{websearch-dajrwvna.js → location-services-dajrwvna.js} +0 -0
  737. /package/dist/chunks/{websearch-dap0rakb.js → location-services-dap0rakb.js} +0 -0
  738. /package/dist/chunks/{websearch-df08tz66.js → location-services-df08tz66.js} +0 -0
  739. /package/dist/chunks/{websearch-dy18nga0.js → location-services-dy18nga0.js} +0 -0
  740. /package/dist/chunks/{websearch-e5kj55wp.js → location-services-e5kj55wp.js} +0 -0
  741. /package/dist/chunks/{websearch-e73j6tqm.js → location-services-e73j6tqm.js} +0 -0
  742. /package/dist/chunks/{websearch-ec1grn59.js → location-services-ec1grn59.js} +0 -0
  743. /package/dist/chunks/{websearch-eh3zwz77.js → location-services-eh3zwz77.js} +0 -0
  744. /package/dist/chunks/{websearch-emrn6kk6.js → location-services-emrn6kk6.js} +0 -0
  745. /package/dist/chunks/{websearch-f0mxakyp.js → location-services-f0mxakyp.js} +0 -0
  746. /package/dist/chunks/{websearch-f6n9ztr4.js → location-services-f6n9ztr4.js} +0 -0
  747. /package/dist/chunks/{websearch-faypxj3z.js → location-services-faypxj3z.js} +0 -0
  748. /package/dist/chunks/{websearch-fd410y7t.js → location-services-fd410y7t.js} +0 -0
  749. /package/dist/chunks/{websearch-fxgpk5d8.js → location-services-fxgpk5d8.js} +0 -0
  750. /package/dist/chunks/{websearch-g4wezp1m.js → location-services-g4wezp1m.js} +0 -0
  751. /package/dist/chunks/{websearch-g86h250q.js → location-services-g86h250q.js} +0 -0
  752. /package/dist/chunks/{websearch-gebd4c9n.js → location-services-gebd4c9n.js} +0 -0
  753. /package/dist/chunks/{websearch-gftt206x.js → location-services-gftt206x.js} +0 -0
  754. /package/dist/chunks/{websearch-hjbc5kem.js → location-services-hjbc5kem.js} +0 -0
  755. /package/dist/chunks/{websearch-hk9envan.js → location-services-hk9envan.js} +0 -0
  756. /package/dist/chunks/{websearch-hrnqkpcd.js → location-services-hrnqkpcd.js} +0 -0
  757. /package/dist/chunks/{websearch-j2ntwpah.js → location-services-j2ntwpah.js} +0 -0
  758. /package/dist/chunks/{websearch-j5zkgpj8.js → location-services-j5zkgpj8.js} +0 -0
  759. /package/dist/chunks/{websearch-jr7sbwjy.js → location-services-jr7sbwjy.js} +0 -0
  760. /package/dist/chunks/{websearch-jwfs4k6c.js → location-services-jwfs4k6c.js} +0 -0
  761. /package/dist/chunks/{websearch-jzg6c2d5.js → location-services-jzg6c2d5.js} +0 -0
  762. /package/dist/chunks/{websearch-mp448xyj.js → location-services-mp448xyj.js} +0 -0
  763. /package/dist/chunks/{websearch-msx8hqn2.js → location-services-msx8hqn2.js} +0 -0
  764. /package/dist/chunks/{websearch-n05xt0ee.js → location-services-n05xt0ee.js} +0 -0
  765. /package/dist/chunks/{websearch-n3j8tn72.js → location-services-n3j8tn72.js} +0 -0
  766. /package/dist/chunks/{websearch-njntx4h6.js → location-services-njntx4h6.js} +0 -0
  767. /package/dist/chunks/{websearch-q3sfg36h.js → location-services-q3sfg36h.js} +0 -0
  768. /package/dist/chunks/{websearch-q74kybfr.js → location-services-q74kybfr.js} +0 -0
  769. /package/dist/chunks/{websearch-qaymkmh1.js → location-services-qaymkmh1.js} +0 -0
  770. /package/dist/chunks/{websearch-qb87gjwd.js → location-services-qb87gjwd.js} +0 -0
  771. /package/dist/chunks/{websearch-qfa1cgps.js → location-services-qfa1cgps.js} +0 -0
  772. /package/dist/chunks/{websearch-qrg20bc0.js → location-services-qrg20bc0.js} +0 -0
  773. /package/dist/chunks/{websearch-rcb2kzg1.js → location-services-rcb2kzg1.js} +0 -0
  774. /package/dist/chunks/{websearch-sdp7kfr6.js → location-services-sdp7kfr6.js} +0 -0
  775. /package/dist/chunks/{websearch-sk3qaz4a.js → location-services-sk3qaz4a.js} +0 -0
  776. /package/dist/chunks/{websearch-ssg3fenm.js → location-services-ssg3fenm.js} +0 -0
  777. /package/dist/chunks/{websearch-twg0f83k.js → location-services-twg0f83k.js} +0 -0
  778. /package/dist/chunks/{websearch-w803qqfp.js → location-services-w803qqfp.js} +0 -0
  779. /package/dist/chunks/{websearch-wer8tq1h.js → location-services-wer8tq1h.js} +0 -0
  780. /package/dist/chunks/{websearch-wtztk69x.js → location-services-wtztk69x.js} +0 -0
  781. /package/dist/chunks/{websearch-x0ckcb58.js → location-services-x0ckcb58.js} +0 -0
  782. /package/dist/chunks/{websearch-x61499pn.js → location-services-x61499pn.js} +0 -0
  783. /package/dist/chunks/{websearch-y44na4kk.js → location-services-y44na4kk.js} +0 -0
  784. /package/dist/chunks/{websearch-y8cydn3q.js → location-services-y8cydn3q.js} +0 -0
  785. /package/dist/chunks/{websearch-ygaqb7jw.js → location-services-ygaqb7jw.js} +0 -0
  786. /package/dist/chunks/{websearch-ym463w8f.js → location-services-ym463w8f.js} +0 -0
  787. /package/dist/chunks/{websearch-z9919s4g.js → location-services-z9919s4g.js} +0 -0
@@ -1,70 +1,70 @@
1
1
  import {
2
- Service78,
3
- node83
4
- } from "./websearch-htmh7j47.js";
2
+ Service79,
3
+ node84
4
+ } from "./location-services-g4k0nsm5.js";
5
5
  import {
6
- Service71,
7
- node76
8
- } from "./websearch-pn3svwfm.js";
6
+ Service74,
7
+ node79
8
+ } from "./location-services-zc4z9477.js";
9
9
  import {
10
- ID8,
11
- Service57,
12
- node60
13
- } from "./websearch-4x3w2b9w.js";
10
+ ID14,
11
+ Service72,
12
+ node77
13
+ } from "./location-services-ead5n236.js";
14
14
  import {
15
- NotFoundError7
16
- } from "./websearch-067w384p.js";
15
+ NotFoundError8
16
+ } from "./location-services-y8n92kwn.js";
17
17
  import {
18
- Service56,
19
- node59
20
- } from "./websearch-7ftp1p3n.js";
18
+ Service71,
19
+ node76
20
+ } from "./location-services-az0y13ra.js";
21
21
  import {
22
22
  match2
23
- } from "./websearch-y1fvbwt7.js";
23
+ } from "./location-services-y1fvbwt7.js";
24
24
  import {
25
- Service55,
26
- node58
27
- } from "./websearch-9c1zk87q.js";
25
+ Service70,
26
+ node75
27
+ } from "./location-services-bvfebvap.js";
28
28
  import {
29
- Service64,
30
- node67
31
- } from "./websearch-2s50d4an.js";
29
+ Service73,
30
+ node78
31
+ } from "./location-services-jj63jgrn.js";
32
32
  import {
33
33
  __export
34
- } from "./websearch-9rqn6x4v.js";
34
+ } from "./location-services-9rqn6x4v.js";
35
35
 
36
36
  // src/permission.ts
37
- var exports_permission = {};
38
- __export(exports_permission, {
37
+ var exports_permission2 = {};
38
+ __export(exports_permission2, {
39
39
  AskResult: () => AskResult2,
40
40
  AssertInput: () => AssertInput2,
41
41
  BlockedError: () => BlockedError2,
42
42
  CorrectedError: () => CorrectedError2,
43
43
  DeclinedError: () => DeclinedError2,
44
44
  Effect: () => PermissionEffect,
45
- Event: () => Event10,
46
- ID: () => ID6,
47
- NotFoundError: () => NotFoundError6,
48
- Permission: () => exports_permission,
49
- Reply: () => Reply2,
45
+ Event: () => Event18,
46
+ ID: () => ID12,
47
+ NotFoundError: () => NotFoundError7,
48
+ Permission: () => exports_permission2,
49
+ Reply: () => Reply3,
50
50
  ReplyInput: () => ReplyInput2,
51
51
  Request: () => Request2,
52
- Rule: () => Rule2,
52
+ Rule: () => Rule3,
53
53
  Ruleset: () => Ruleset2,
54
- Service: () => Service54,
54
+ Service: () => Service69,
55
55
  Source: () => Source5,
56
56
  evaluate: () => evaluate2,
57
57
  merge: () => merge2,
58
- node: () => node57
58
+ node: () => node74
59
59
  });
60
60
  import { makeLocationNode } from "@opencode/util/effect/app-node";
61
61
  import { Context, Deferred, Effect, Layer, Schema } from "effect";
62
62
  import { Permission } from "@opencode/schema/permission";
63
- import { Rule as Rule2, Ruleset as Ruleset2 } from "@opencode/schema/permission";
64
- import { Event as Event10 } from "@opencode/schema/permission";
63
+ import { Rule as Rule3, Ruleset as Ruleset2 } from "@opencode/schema/permission";
64
+ import { Event as Event18 } from "@opencode/schema/permission";
65
65
  var PermissionEffect = Permission.Effect;
66
66
  var missingAgentPermissions = [{ action: "*", resource: "*", effect: "deny" }];
67
- var ID6 = Permission.ID;
67
+ var ID12 = Permission.ID;
68
68
  var Source5 = Permission.Source;
69
69
  var RequestFields = {
70
70
  sessionID: Permission.Request.fields.sessionID,
@@ -75,19 +75,19 @@ var RequestFields = {
75
75
  source: Permission.Request.fields.source
76
76
  };
77
77
  var Request2 = Permission.Request;
78
- var Reply2 = Permission.Reply;
78
+ var Reply3 = Permission.Reply;
79
79
  var AssertInput2 = Schema.Struct({
80
- id: ID6.pipe(Schema.optional),
80
+ id: ID12.pipe(Schema.optional),
81
81
  ...RequestFields,
82
- agent: ID8.pipe(Schema.optional)
82
+ agent: ID14.pipe(Schema.optional)
83
83
  }).annotate({ identifier: "Permission.AssertInput" });
84
84
  var ReplyInput2 = Schema.Struct({
85
- requestID: ID6,
86
- reply: Reply2,
85
+ requestID: ID12,
86
+ reply: Reply3,
87
87
  message: Schema.String.pipe(Schema.optional)
88
88
  }).annotate({ identifier: "Permission.ReplyInput" });
89
89
  var AskResult2 = Schema.Struct({
90
- id: ID6,
90
+ id: ID12,
91
91
  effect: Permission.Effect
92
92
  }).annotate({ identifier: "Permission.AskResult" });
93
93
 
@@ -110,8 +110,8 @@ class BlockedError2 extends Schema.TaggedError()("Permission.BlockedError", {
110
110
  }
111
111
  }
112
112
 
113
- class NotFoundError6 extends Schema.TaggedError()("Permission.NotFoundError", {
114
- requestID: ID6
113
+ class NotFoundError7 extends Schema.TaggedError()("Permission.NotFoundError", {
114
+ requestID: ID12
115
115
  }) {
116
116
  }
117
117
  function evaluate2(action, resource, ...rulesets) {
@@ -125,15 +125,15 @@ function merge2(...rulesets) {
125
125
  return rulesets.flat();
126
126
  }
127
127
 
128
- class Service54 extends Context.Service()("@opencode/Permission") {
128
+ class Service69 extends Context.Service()("@opencode/Permission") {
129
129
  }
130
- var layer = Layer.effect(Service54, Effect.gen(function* () {
131
- const bus = yield* Service78;
132
- const location = yield* Service71;
133
- const agents = yield* Service57;
134
- const sessions = yield* Service56;
135
- const saved = yield* Service55;
136
- const hooks = yield* Service64;
130
+ var layer = Layer.effect(Service69, Effect.gen(function* () {
131
+ const bus = yield* Service79;
132
+ const location = yield* Service74;
133
+ const agents = yield* Service72;
134
+ const sessions = yield* Service71;
135
+ const saved = yield* Service70;
136
+ const hooks = yield* Service73;
137
137
  const pending = new Map;
138
138
  yield* Effect.addFinalizer(() => Effect.forEach(pending.values(), (item) => Deferred.fail(item.deferred, new DeclinedError2), {
139
139
  discard: true
@@ -150,7 +150,7 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
150
150
  const configured = Effect.fnUntraced(function* (sessionID, agentID) {
151
151
  const session = yield* sessions.get(sessionID);
152
152
  if (!session)
153
- return yield* new NotFoundError7({ sessionID });
153
+ return yield* new NotFoundError8({ sessionID });
154
154
  const agent = yield* agents.resolve(agentID ?? session.agent);
155
155
  return agent?.permissions ?? missingAgentPermissions;
156
156
  });
@@ -180,7 +180,7 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
180
180
  });
181
181
  function request(input, message) {
182
182
  return {
183
- id: input.id ?? ID6.create(),
183
+ id: input.id ?? ID12.create(),
184
184
  sessionID: input.sessionID,
185
185
  action: input.action,
186
186
  resources: input.resources,
@@ -228,7 +228,7 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
228
228
  const reply = Effect.fn("Permission.reply")((input) => Effect.uninterruptible(Effect.gen(function* () {
229
229
  const existing = pending.get(input.requestID);
230
230
  if (!existing)
231
- return yield* new NotFoundError6({ requestID: input.requestID });
231
+ return yield* new NotFoundError7({ requestID: input.requestID });
232
232
  yield* bus.publish(Permission.Event.Replied, {
233
233
  sessionID: existing.request.sessionID,
234
234
  requestID: existing.request.id,
@@ -283,12 +283,12 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
283
283
  const forSession = Effect.fn("Permission.forSession")(function* (sessionID) {
284
284
  return Array.from(pending.values(), (item) => item.request).filter((request) => request.sessionID === sessionID);
285
285
  });
286
- return Service54.of({ ask, assert, reply, get, forSession, list });
286
+ return Service69.of({ ask, assert, reply, get, forSession, list });
287
287
  }));
288
- var node57 = makeLocationNode({
289
- service: Service54,
288
+ var node74 = makeLocationNode({
289
+ service: Service69,
290
290
  layer,
291
- deps: [node83, node76, node60, node59, node58, node67]
291
+ deps: [node84, node79, node77, node76, node75, node78]
292
292
  });
293
293
 
294
- export { PermissionEffect, ID6, Source5, Request2, Reply2, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError6, evaluate2, merge2, Service54, node57, exports_permission, Rule2, Ruleset2, Event10 };
294
+ export { PermissionEffect, ID12, Source5, Request2, Reply3, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError7, evaluate2, merge2, Service69, node74, exports_permission2, Rule3, Ruleset2, Event18 };
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./websearch-922hggd3.js";
4
+ } from "./location-services-922hggd3.js";
5
5
  import {
6
6
  SessionSchema2
7
- } from "./websearch-k6yq57aq.js";
7
+ } from "./location-services-j7wq2tw5.js";
8
8
 
9
9
  // src/session/info.ts
10
10
  import { DateTime, Schema } from "effect";
@@ -1,64 +1,64 @@
1
1
  import {
2
2
  NonNegativeInt2
3
- } from "./websearch-922hggd3.js";
3
+ } from "./location-services-922hggd3.js";
4
4
  import {
5
5
  latest2,
6
- Service60
7
- } from "./websearch-5d35sq1p.js";
6
+ Service55
7
+ } from "./location-services-qwnhvfyv.js";
8
8
  import {
9
9
  typeFollowing2
10
- } from "./websearch-2a5m3afh.js";
10
+ } from "./location-services-2a5m3afh.js";
11
11
  import {
12
- Service65
13
- } from "./websearch-zvx2hyhz.js";
12
+ Service63
13
+ } from "./location-services-9fg9wkmf.js";
14
14
  import {
15
- Service42
16
- } from "./websearch-c5ykpkef.js";
15
+ Service49
16
+ } from "./location-services-926w9v4r.js";
17
17
  import {
18
- Service54
19
- } from "./websearch-h212frhe.js";
18
+ Service69
19
+ } from "./location-services-d5kwtv32.js";
20
20
  import {
21
- Service19,
21
+ Service16,
22
22
  resolvePath2
23
- } from "./websearch-kq8jn941.js";
23
+ } from "./location-services-3cdbrfwe.js";
24
24
  import {
25
25
  output2,
26
26
  notice2,
27
27
  metadata2,
28
28
  notification2
29
- } from "./websearch-fxbjtjnd.js";
29
+ } from "./location-services-fxbjtjnd.js";
30
30
  import {
31
- Service63,
31
+ Service78,
32
32
  name15
33
- } from "./websearch-m71ma2ar.js";
33
+ } from "./location-services-qx0n0hnh.js";
34
34
  import {
35
- NotFoundError8,
36
- Service58
37
- } from "./websearch-xh5pks4n.js";
35
+ NotFoundError5,
36
+ Service53
37
+ } from "./location-services-3aa8y6y8.js";
38
38
  import {
39
- Service21
40
- } from "./websearch-q1hatp1z.js";
39
+ Service23
40
+ } from "./location-services-sm54wpq2.js";
41
41
  import {
42
42
  scan2
43
- } from "./websearch-r76bmaj0.js";
43
+ } from "./location-services-wh6nx8gk.js";
44
44
  import {
45
45
  __export
46
- } from "./websearch-9rqn6x4v.js";
46
+ } from "./location-services-9rqn6x4v.js";
47
47
 
48
48
  // src/tool/plugin/shell.ts
49
49
  var exports_shell = {};
50
50
  __export(exports_shell, {
51
51
  DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
52
- Input: () => Input11,
53
- Plugin: () => Plugin25,
52
+ Input: () => Input4,
53
+ Plugin: () => Plugin4,
54
54
  ShellTool: () => exports_shell,
55
- name: () => name11
55
+ name: () => name4
56
56
  });
57
57
  import { ToolFailure } from "@opencode/ai";
58
58
  import { Deferred, Effect, Schema, Scope } from "effect";
59
- var name11 = "shell";
59
+ var name4 = "shell";
60
60
  var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
61
- var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. DO NOT run sleep commands or poll the output file to check for completion. You can read from the file when its current output would be useful, such as when inspecting logs from a background server. Otherwise, continue with other work or end your response.";
61
+ var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
62
62
  var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
63
63
  var description = (shell) => [
64
64
  "Execute a shell command and return its output.",
@@ -70,7 +70,7 @@ var description = (shell) => [
70
70
  "Commands accept an optional timeout, background commands have no timeout by default.",
71
71
  "Background commands return immediately, and you will be notified when they complete."
72
72
  ].join(" ");
73
- var Input11 = Schema.Struct({
73
+ var Input4 = Schema.Struct({
74
74
  command: Schema.String.annotate({ description: "Shell command string to execute" }),
75
75
  workdir: Schema.optionalKey(Schema.String).annotate({
76
76
  description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
@@ -115,19 +115,19 @@ Output is streaming to: ${file}`,
115
115
  truncated: false,
116
116
  status: "running"
117
117
  });
118
- var Plugin25 = {
118
+ var Plugin4 = {
119
119
  id: "opencode.tool.shell",
120
120
  effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
121
- const sessions = yield* Service21;
122
- const jobs = yield* Service42;
121
+ const sessions = yield* Service23;
122
+ const jobs = yield* Service49;
123
123
  const scope = yield* Scope.Scope;
124
- const environment = yield* Service65;
125
- const access = yield* Service19;
126
- const shell = yield* Service58;
127
- const shellSelect = yield* Service63;
124
+ const environment = yield* Service63;
125
+ const access = yield* Service16;
126
+ const shell = yield* Service53;
127
+ const shellSelect = yield* Service78;
128
128
  const compatibleShell = shellSelect.resolve({ priority: "compat" });
129
- const permission = yield* Service54;
130
- const config = yield* Service60;
129
+ const permission = yield* Service69;
130
+ const config = yield* Service55;
131
131
  const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
132
132
  const source = {
133
133
  type: "tool",
@@ -146,7 +146,7 @@ var Plugin25 = {
146
146
  yield* access.authorizeExternal([target, ...directories], context);
147
147
  if (parsed.commands.length > 0)
148
148
  yield* permission.assert({
149
- action: name11,
149
+ action: name4,
150
150
  resources: parsed.commands.map((command) => command.resource),
151
151
  save: parsed.commands.map((command) => command.save),
152
152
  sessionID: context.sessionID,
@@ -183,10 +183,10 @@ var Plugin25 = {
183
183
  yield* jobs.completeBackground(info.notificationID);
184
184
  }, Effect.forkIn(scope, { startImmediately: true }));
185
185
  yield* ctx.tool.transform((editor) => editor.add({
186
- name: name11,
186
+ name: name4,
187
187
  options: { codemode: false },
188
188
  description: description(),
189
- input: Input11,
189
+ input: Input4,
190
190
  output: Output,
191
191
  execute: (input, context) => Effect.gen(function* () {
192
192
  const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
@@ -205,7 +205,7 @@ var Plugin25 = {
205
205
  const run = Effect.gen(function* () {
206
206
  const result = yield* shell.result(info);
207
207
  if (!result.capture)
208
- return yield* new NotFoundError8({ id: info.id });
208
+ return yield* new NotFoundError5({ id: info.id });
209
209
  const output = output2(result);
210
210
  return {
211
211
  ...output,
@@ -219,7 +219,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
219
219
  `)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
220
220
  const job = yield* jobs.start({
221
221
  id: info.id,
222
- type: name11,
222
+ type: name4,
223
223
  title: info.command,
224
224
  metadata: { sessionID: context.sessionID, shellID: info.id },
225
225
  recovery: {
@@ -249,7 +249,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
249
249
  }).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
250
250
  })).pipe(Effect.orDie);
251
251
  yield* ctx.session.hook("context", (event) => Effect.gen(function* () {
252
- const tool = event.tools[name11];
252
+ const tool = event.tools[name4];
253
253
  if (!tool)
254
254
  return;
255
255
  tool.description = description(name15(yield* compatibleShell));
@@ -257,4 +257,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
257
257
  })
258
258
  };
259
259
 
260
- export { name11, DEFAULT_TIMEOUT_MS2, Input11, Plugin25, exports_shell };
260
+ export { name4, DEFAULT_TIMEOUT_MS2, Input4, Plugin4, exports_shell };
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  call2
3
- } from "./websearch-1ygqh575.js";
3
+ } from "./location-services-33w4ejhs.js";
4
4
  import {
5
5
  __export
6
- } from "./websearch-9rqn6x4v.js";
6
+ } from "./location-services-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/websearch/exa.ts
9
9
  var exports_exa = {};
10
10
  __export(exports_exa, {
11
- Plugin: () => Plugin7,
11
+ Plugin: () => Plugin14,
12
12
  WebSearchExa: () => exports_exa,
13
- endpoint: () => endpoint4
13
+ endpoint: () => endpoint2
14
14
  });
15
15
  import { define } from "@opencode/plugin/effect/plugin";
16
16
  import { Effect, Schema } from "effect";
17
17
  import { HttpClient } from "effect/unstable/http";
18
- var endpoint4 = "https://mcp.exa.ai/mcp";
18
+ var endpoint2 = "https://mcp.exa.ai/mcp";
19
19
  var McpInput = Schema.Struct({
20
20
  query: Schema.String,
21
21
  numResults: Schema.Number.pipe(Schema.optional)
@@ -27,7 +27,7 @@ var McpOutput = Schema.Struct({
27
27
  _meta: Schema.Struct({ searchTime: Schema.Number }).pipe(Schema.optional)
28
28
  }))
29
29
  });
30
- var Plugin7 = define({
30
+ var Plugin14 = define({
31
31
  id: "opencode.websearch.exa",
32
32
  effect: Effect.fn("WebSearchExa.Plugin")(function* (ctx) {
33
33
  const http = yield* HttpClient.HttpClient;
@@ -49,7 +49,7 @@ var Plugin7 = define({
49
49
  execute: (input) => Effect.gen(function* () {
50
50
  const connection = yield* ctx.integration.connection.active("exa");
51
51
  const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
52
- const url = new URL(endpoint4);
52
+ const url = new URL(endpoint2);
53
53
  if (credential?.type === "key")
54
54
  url.searchParams.set("exaApiKey", credential.key);
55
55
  const result = yield* call2(http, url.toString(), "web_search_exa", { input: McpInput, output: McpOutput }, { query: input.query, numResults: 8 });
@@ -80,4 +80,4 @@ function parseResults(text) {
80
80
  });
81
81
  }
82
82
 
83
- export { endpoint4, Plugin7, exports_exa };
83
+ export { endpoint2, Plugin14, exports_exa };
@@ -1,27 +1,27 @@
1
- import {
2
- Service78
3
- } from "./websearch-htmh7j47.js";
4
1
  import {
5
2
  Service79
6
- } from "./websearch-h7nqhz63.js";
3
+ } from "./location-services-g4k0nsm5.js";
4
+ import {
5
+ Service62
6
+ } from "./location-services-1kxjkr9e.js";
7
7
  import {
8
8
  group2,
9
9
  batch2,
10
10
  shutdown2,
11
11
  inherit2
12
- } from "./websearch-kg06axw8.js";
12
+ } from "./location-services-kg06axw8.js";
13
13
  import {
14
- Service27,
14
+ Service24,
15
15
  awaitActivation2
16
- } from "./websearch-1x11rq2a.js";
16
+ } from "./location-services-v1faaxn9.js";
17
17
  import {
18
18
  make11,
19
19
  requirements3,
20
20
  storage2
21
- } from "./websearch-ha64d30f.js";
21
+ } from "./location-services-x2hsxp9g.js";
22
22
  import {
23
23
  __export
24
- } from "./websearch-9rqn6x4v.js";
24
+ } from "./location-services-9rqn6x4v.js";
25
25
 
26
26
  // src/plugin.ts
27
27
  var exports_plugin2 = {};
@@ -30,7 +30,7 @@ __export(exports_plugin2, {
30
30
  ID: () => ID3,
31
31
  Info: () => Info3,
32
32
  Plugin: () => exports_plugin2,
33
- Service: () => Service27,
33
+ Service: () => Service24,
34
34
  Source: () => Source2,
35
35
  State: () => State2,
36
36
  awaitActivation: () => awaitActivation2,
@@ -40,9 +40,9 @@ import { Event as Event5, ID as ID3, Info as Info3, Source as Source2, State as
40
40
  import { Plugin } from "@opencode/schema/plugin";
41
41
  import { Node } from "@opencode/util/effect/app-node";
42
42
  import { Cause, Context, Effect, Exit, Latch, Layer, Logger, Queue, References, Scope, Semaphore } from "effect";
43
- var layer = Layer.effect(Service27, Effect.gen(function* () {
44
- const bus = yield* Service78;
45
- const kv = yield* Service79;
43
+ var layer = Layer.effect(Service24, Effect.gen(function* () {
44
+ const bus = yield* Service79;
45
+ const kv = yield* Service62;
46
46
  const scope = yield* Scope.make();
47
47
  const active = new Map;
48
48
  const lock = Semaphore.makeUnsafe(1);
@@ -205,7 +205,7 @@ var layer = Layer.effect(Service27, Effect.gen(function* () {
205
205
  yield* shutdown2(Scope.close(scope, exit));
206
206
  }));
207
207
  yield* Effect.addFinalizer(close);
208
- return Service27.of({
208
+ return Service24.of({
209
209
  activate,
210
210
  close,
211
211
  awaitActivation: ready.await,
@@ -223,7 +223,7 @@ function slotInfo(slot) {
223
223
  };
224
224
  }
225
225
  var node24 = Node.makeLocationNode({
226
- service: Service27,
226
+ service: Service24,
227
227
  layer,
228
228
  deps: [requirements3]
229
229
  });
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  absoluteColumn2,
3
3
  absoluteArrayColumn2
4
- } from "./websearch-6msgmcgs.js";
4
+ } from "./location-services-6msgmcgs.js";
5
5
  import {
6
6
  Timestamps2
7
- } from "./websearch-qfa1cgps.js";
7
+ } from "./location-services-qfa1cgps.js";
8
8
 
9
9
  // src/project/sql.ts
10
10
  import { isNotNull, isNull, ne, or } from "drizzle-orm";
@@ -1,31 +1,31 @@
1
1
  import {
2
- ID8
3
- } from "./websearch-4x3w2b9w.js";
2
+ ID14
3
+ } from "./location-services-ead5n236.js";
4
4
  import {
5
5
  AbsolutePath2
6
- } from "./websearch-922hggd3.js";
6
+ } from "./location-services-922hggd3.js";
7
7
  import {
8
- Info17
9
- } from "./websearch-zyr433b0.js";
8
+ Info15
9
+ } from "./location-services-818pfwc9.js";
10
10
  import {
11
11
  migrateAgent2
12
- } from "./websearch-sgfkh1bp.js";
12
+ } from "./location-services-4p58venj.js";
13
13
  import {
14
14
  latest2,
15
- Service60
16
- } from "./websearch-5d35sq1p.js";
15
+ Service55
16
+ } from "./location-services-qwnhvfyv.js";
17
17
  import {
18
18
  parseOption2
19
- } from "./websearch-5daktx2q.js";
19
+ } from "./location-services-5daktx2q.js";
20
20
  import {
21
21
  __export
22
- } from "./websearch-9rqn6x4v.js";
22
+ } from "./location-services-9rqn6x4v.js";
23
23
 
24
24
  // src/config/plugin/agent.ts
25
25
  var exports_agent2 = {};
26
26
  __export(exports_agent2, {
27
27
  ConfigAgentPlugin: () => exports_agent2,
28
- Plugin: () => Plugin35
28
+ Plugin: () => Plugin31
29
29
  });
30
30
  import { define } from "@opencode/plugin/effect/plugin";
31
31
  import { Document, Info } from "@opencode/schema/config";
@@ -40,14 +40,14 @@ var legacySources = [
40
40
  ];
41
41
  var sourceDirectories = ["agent", "agents", "mode", "modes"];
42
42
  var decodeAgent = Schema.decodeUnknownOption(ConfigAgent.Info);
43
- var decodeLegacyAgent = Schema.decodeUnknownOption(Info17);
43
+ var decodeLegacyAgent = Schema.decodeUnknownOption(Info15);
44
44
  var decodeConfig = Schema.decodeUnknownOption(Info);
45
45
  var pathActions = ["external_directory", "read", "edit"];
46
46
  var agentKeys = new Set(["variant", ...Object.keys(ConfigAgent.Info.fields)]);
47
- var Plugin35 = define({
47
+ var Plugin31 = define({
48
48
  id: "opencode.config.agent",
49
49
  effect: Effect.fn(function* (ctx) {
50
- const config = yield* Service60;
50
+ const config = yield* Service55;
51
51
  const fs = yield* FSUtil.Service;
52
52
  const global = yield* Global.Service;
53
53
  const loadEntry = Effect.fnUntraced(function* (entry) {
@@ -76,13 +76,13 @@ var Plugin35 = define({
76
76
  const permissions = expandPermissions(loaded.documents.flatMap((document) => document.info.permissions ?? []), global.home);
77
77
  const configuredDefault = latest2(loaded.documents, "default_agent");
78
78
  if (configuredDefault !== undefined)
79
- editor.default(ID8.make(configuredDefault));
79
+ editor.default(ID14.make(configuredDefault));
80
80
  for (const current of editor.list()) {
81
81
  editor.update(current.id, (agent) => agent.permissions.push(...permissions));
82
82
  }
83
83
  for (const document of loaded.documents) {
84
84
  for (const [id, item] of Object.entries(document.info.agents ?? {})) {
85
- const agentID = ID8.make(id);
85
+ const agentID = ID14.make(id);
86
86
  if (item.disabled) {
87
87
  editor.remove(agentID);
88
88
  continue;
@@ -160,4 +160,4 @@ function decode(file, content) {
160
160
  return new Document({ type: "document", path: AbsolutePath2.make(file.filepath), info });
161
161
  }
162
162
 
163
- export { Plugin35, exports_agent2 };
163
+ export { Plugin31, exports_agent2 };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  __export
3
- } from "./websearch-9rqn6x4v.js";
3
+ } from "./location-services-9rqn6x4v.js";
4
4
 
5
5
  // src/effect/keyed-mutex.ts
6
6
  var exports_keyed_mutex = {};
7
7
  __export(exports_keyed_mutex, {
8
8
  KeyedMutex: () => exports_keyed_mutex,
9
- make: () => make22,
9
+ make: () => make23,
10
10
  makeUnsafe: () => makeUnsafe2
11
11
  });
12
12
  import { Effect, Semaphore } from "effect";
@@ -26,6 +26,6 @@ var makeUnsafe2 = () => {
26
26
  });
27
27
  return { size: Effect.sync(() => locks.size), withLock };
28
28
  };
29
- var make22 = () => Effect.sync(makeUnsafe2);
29
+ var make23 = () => Effect.sync(makeUnsafe2);
30
30
 
31
- export { makeUnsafe2, make22, exports_keyed_mutex };
31
+ export { makeUnsafe2, make23, exports_keyed_mutex };