@opencode/core 0.0.0-dev-20967 → 0.0.0-dev-20968

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (789) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +85 -85
  3. package/dist/aisdk-native.js +91 -91
  4. package/dist/aisdk.js +96 -96
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +75 -75
  7. package/dist/chunks/{agent-ndzpxf5d.js → location-service-map-04ttag0w.js} +32 -32
  8. package/dist/chunks/{agent-a57r0kz2.js → location-service-map-05hkmm44.js} +12 -12
  9. package/dist/chunks/{agent-fedffhe2.js → location-service-map-07w9enf1.js} +14 -14
  10. package/dist/chunks/{agent-ejzsq301.js → location-service-map-0a3bg0j5.js} +32 -32
  11. package/dist/chunks/{agent-hqhp0zxs.js → location-service-map-0b5g1ynf.js} +4 -4
  12. package/dist/chunks/{agent-n47fwd3f.js → location-service-map-0bztnv55.js} +18 -18
  13. package/dist/chunks/{agent-agsg9aqy.js → location-service-map-0fzbfnq7.js} +16 -16
  14. package/dist/chunks/{agent-xztn33cf.js → location-service-map-0hw4dk4w.js} +1 -1
  15. package/dist/chunks/{agent-q0xm7vwc.js → location-service-map-0j77ygfz.js} +6 -6
  16. package/dist/chunks/{agent-2mnwjzbq.js → location-service-map-0pj15cwb.js} +42 -42
  17. package/dist/chunks/{agent-0vbcp93d.js → location-service-map-0vbcp93d.js} +2 -2
  18. package/dist/chunks/{agent-z841tj5z.js → location-service-map-0ycdfwp1.js} +11 -11
  19. package/dist/chunks/{agent-kdm1wyhj.js → location-service-map-112anbc5.js} +20 -20
  20. package/dist/chunks/{agent-w8htg8v3.js → location-service-map-17t4d4av.js} +17 -17
  21. package/dist/chunks/{agent-796e0hcr.js → location-service-map-189fjxnc.js} +25 -25
  22. package/dist/chunks/{agent-z3jjyfsa.js → location-service-map-190mk5vc.js} +13 -13
  23. package/dist/chunks/{agent-ap35jyd0.js → location-service-map-1bz87fsm.js} +13 -13
  24. package/dist/chunks/location-service-map-1g906he0.js +26 -0
  25. package/dist/chunks/{agent-dx0v7867.js → location-service-map-1hyeesvh.js} +22 -22
  26. package/dist/chunks/{agent-txm3e8qz.js → location-service-map-1j6m29mr.js} +9 -9
  27. package/dist/chunks/{agent-vjsjzb07.js → location-service-map-1krj7acz.js} +49 -49
  28. package/dist/chunks/{agent-0tx2rcqt.js → location-service-map-1xjc3krj.js} +5 -5
  29. package/dist/chunks/{agent-fg3zfvg2.js → location-service-map-285qnyny.js} +16 -16
  30. package/dist/chunks/{agent-hb3xq6qf.js → location-service-map-2gw07b48.js} +9 -9
  31. package/dist/chunks/{agent-2k8khapm.js → location-service-map-2k8khapm.js} +1 -1
  32. package/dist/chunks/{agent-en47egvd.js → location-service-map-38x8v0tv.js} +28 -28
  33. package/dist/chunks/{agent-kecqjjhm.js → location-service-map-3b16v5tt.js} +5 -5
  34. package/dist/chunks/{agent-85zx94yt.js → location-service-map-3dq15cxk.js} +14 -14
  35. package/dist/chunks/{agent-3fc6dm20.js → location-service-map-3fc6dm20.js} +1 -1
  36. package/dist/chunks/{agent-s9xxcfn6.js → location-service-map-3fgtv7ze.js} +22 -22
  37. package/dist/chunks/{agent-3hepkmqq.js → location-service-map-3hepkmqq.js} +1 -1
  38. package/dist/chunks/{agent-3hwn7j4h.js → location-service-map-3hwn7j4h.js} +2 -2
  39. package/dist/chunks/{agent-3smtnn6g.js → location-service-map-3smtnn6g.js} +1 -1
  40. package/dist/chunks/{agent-3tvqynh2.js → location-service-map-3tvqynh2.js} +1 -1
  41. package/dist/chunks/{agent-3zsf4n22.js → location-service-map-3zsf4n22.js} +1 -1
  42. package/dist/chunks/{agent-180ns14n.js → location-service-map-453vx0dg.js} +34 -34
  43. package/dist/chunks/{agent-f32g4658.js → location-service-map-4c3ndrn6.js} +3 -3
  44. package/dist/chunks/{agent-txnezeta.js → location-service-map-4pn1xf0p.js} +23 -23
  45. package/dist/chunks/{agent-gbsmeqc4.js → location-service-map-4sqgwhvg.js} +17 -17
  46. package/dist/chunks/{agent-8wbxkt1z.js → location-service-map-4v7ngy20.js} +4 -4
  47. package/dist/chunks/{agent-yrcj3v3g.js → location-service-map-4z58m4b4.js} +4 -4
  48. package/dist/chunks/{agent-sxzvkvgj.js → location-service-map-51f5btjf.js} +6 -6
  49. package/dist/chunks/{agent-54ma36ye.js → location-service-map-54ma36ye.js} +1 -1
  50. package/dist/chunks/{agent-hpf5e1pv.js → location-service-map-5cs9fw4j.js} +20 -20
  51. package/dist/chunks/{agent-gh8hfe7d.js → location-service-map-5e6vztpv.js} +18 -18
  52. package/dist/chunks/{agent-jt5tbdk1.js → location-service-map-5jvy51wy.js} +1 -1
  53. package/dist/chunks/{agent-5m9w47nd.js → location-service-map-5m9w47nd.js} +1 -1
  54. package/dist/chunks/{agent-23w5gghw.js → location-service-map-5pyvwtgy.js} +18 -18
  55. package/dist/chunks/{agent-9rer32p9.js → location-service-map-605e1jbp.js} +8 -8
  56. package/dist/chunks/{agent-m1ej6awc.js → location-service-map-61qtfb41.js} +17 -17
  57. package/dist/chunks/{agent-swhagcwe.js → location-service-map-69jqfsnf.js} +13 -13
  58. package/dist/chunks/{agent-n98t1xmn.js → location-service-map-6bkr64fg.js} +6 -6
  59. package/dist/chunks/{agent-6dkb2293.js → location-service-map-6c5stfwb.js} +3 -3
  60. package/dist/chunks/{agent-jk540des.js → location-service-map-6g107h22.js} +2 -2
  61. package/dist/chunks/{agent-r9w3djhf.js → location-service-map-6hjx5zpb.js} +2 -2
  62. package/dist/chunks/{agent-j5s6pzyj.js → location-service-map-6kpyj4fb.js} +11 -11
  63. package/dist/chunks/{agent-8dpt1mes.js → location-service-map-6mdwj01c.js} +11 -11
  64. package/dist/chunks/{agent-p3gs223r.js → location-service-map-6npkjnc9.js} +16 -16
  65. package/dist/chunks/{agent-6xb47vfp.js → location-service-map-6xb47vfp.js} +1 -1
  66. package/dist/chunks/{agent-s1y6cy45.js → location-service-map-6xc75jjq.js} +37 -37
  67. package/dist/chunks/{agent-775gj3j1.js → location-service-map-775gj3j1.js} +2 -2
  68. package/dist/chunks/{agent-maq6rst1.js → location-service-map-79rgchyy.js} +25 -25
  69. package/dist/chunks/{agent-7bmhse3q.js → location-service-map-7bmhse3q.js} +1 -1
  70. package/dist/chunks/location-service-map-7fj5dwt0.js +18 -0
  71. package/dist/chunks/{agent-79rtasgx.js → location-service-map-7hff53af.js} +9 -9
  72. package/dist/chunks/{agent-bckd7sn2.js → location-service-map-7mp49jye.js} +27 -27
  73. package/dist/chunks/{agent-84txncab.js → location-service-map-84txncab.js} +1 -1
  74. package/dist/chunks/{agent-b2awc4se.js → location-service-map-88jjz5re.js} +17 -17
  75. package/dist/chunks/{agent-tcezcvh9.js → location-service-map-89znhe33.js} +4 -4
  76. package/dist/chunks/{agent-mqrg35xz.js → location-service-map-8cxvr4t8.js} +48 -48
  77. package/dist/chunks/{agent-4vfrwfxm.js → location-service-map-8czxvfjx.js} +29 -29
  78. package/dist/chunks/{agent-s0xj90rb.js → location-service-map-8kzy7b3z.js} +12 -12
  79. package/dist/chunks/{agent-8m6m0r52.js → location-service-map-8m6m0r52.js} +1 -1
  80. package/dist/chunks/{agent-8j1pwav1.js → location-service-map-8sqat94k.js} +34 -34
  81. package/dist/chunks/{agent-rkprpv83.js → location-service-map-8sze2n9a.js} +6 -6
  82. package/dist/chunks/{agent-nas6s75n.js → location-service-map-8ykp9xbw.js} +34 -34
  83. package/dist/chunks/{agent-rshzb64a.js → location-service-map-95kyz0q3.js} +4 -4
  84. package/dist/chunks/{agent-kx705y8y.js → location-service-map-96kn8jjj.js} +7 -7
  85. package/dist/chunks/{agent-930se4a2.js → location-service-map-977pwvh6.js} +5 -5
  86. package/dist/chunks/{agent-g57505q5.js → location-service-map-9d2vkprr.js} +7 -7
  87. package/dist/chunks/{agent-vgsgsp1h.js → location-service-map-9h357zpk.js} +39 -39
  88. package/dist/chunks/{agent-5yzzbxa7.js → location-service-map-9hn6k4tm.js} +8 -8
  89. package/dist/chunks/{agent-e26ynm9z.js → location-service-map-9tr2qfdk.js} +9 -9
  90. package/dist/chunks/{agent-4fnxzqcp.js → location-service-map-9vjjhptz.js} +9 -9
  91. package/dist/chunks/{agent-zk163zkt.js → location-service-map-9zdssp4n.js} +9 -9
  92. package/dist/chunks/{agent-qx3j1ntd.js → location-service-map-a41h3yhs.js} +33 -33
  93. package/dist/chunks/{agent-d4z6p2e9.js → location-service-map-a42kkhkg.js} +35 -35
  94. package/dist/chunks/{agent-1wsef6eh.js → location-service-map-a4hp8e9p.js} +16 -16
  95. package/dist/chunks/{agent-7yns2gfh.js → location-service-map-a62egxb3.js} +5 -5
  96. package/dist/chunks/location-service-map-asevcyq5.js +253 -0
  97. package/dist/chunks/{agent-wynzsb0k.js → location-service-map-av8cscef.js} +28 -28
  98. package/dist/chunks/{agent-1h53t7jj.js → location-service-map-ayt5007s.js} +1 -1
  99. package/dist/chunks/{agent-m5jcjszt.js → location-service-map-b1a1n7cj.js} +3 -3
  100. package/dist/chunks/{agent-b3f8fkhc.js → location-service-map-b3f8fkhc.js} +2 -2
  101. package/dist/chunks/{agent-zvdqdbwe.js → location-service-map-b7hvd3bh.js} +11 -11
  102. package/dist/chunks/{agent-x9af4wsh.js → location-service-map-b89jdn4q.js} +19 -19
  103. package/dist/chunks/{agent-5nwmaxse.js → location-service-map-bh3fdk74.js} +3 -3
  104. package/dist/chunks/{agent-mmsn9nmm.js → location-service-map-bhhmebad.js} +25 -25
  105. package/dist/chunks/{agent-80nxcd2h.js → location-service-map-bjkg2ks4.js} +24 -24
  106. package/dist/chunks/{agent-bjx1sjef.js → location-service-map-bjx1sjef.js} +2 -2
  107. package/dist/chunks/{agent-pvv3kt52.js → location-service-map-bm095xha.js} +11 -11
  108. package/dist/chunks/{agent-bv2h4xww.js → location-service-map-bpq9gadp.js} +14 -14
  109. package/dist/chunks/{agent-bgs9y14h.js → location-service-map-btec747f.js} +5 -5
  110. package/dist/chunks/{agent-es1vcfrp.js → location-service-map-c1fqxshp.js} +3 -3
  111. package/dist/chunks/{agent-fgmp5hy9.js → location-service-map-c6nr29zh.js} +10 -10
  112. package/dist/chunks/{agent-6458qwm7.js → location-service-map-c7s5xd0e.js} +53 -53
  113. package/dist/chunks/{agent-pvshdx0y.js → location-service-map-c87q280n.js} +3 -3
  114. package/dist/chunks/{agent-ky65x1wg.js → location-service-map-cakf0m7d.js} +29 -29
  115. package/dist/chunks/{agent-gn31e51v.js → location-service-map-d04ep358.js} +11 -11
  116. package/dist/chunks/{agent-fs1nt83f.js → location-service-map-d54g0exn.js} +9 -9
  117. package/dist/chunks/{agent-n9vqf08a.js → location-service-map-dacbrmk2.js} +11 -11
  118. package/dist/chunks/{agent-5p5k132e.js → location-service-map-dkpnw212.js} +5 -5
  119. package/dist/chunks/{agent-dqxsqydv.js → location-service-map-dqxsqydv.js} +1 -1
  120. package/dist/chunks/{agent-2gvqmv1x.js → location-service-map-dzrvr4nb.js} +44 -44
  121. package/dist/chunks/{agent-b2kwkbq4.js → location-service-map-e2t7s5t4.js} +59 -59
  122. package/dist/chunks/{agent-7zgrsrws.js → location-service-map-e334ff5n.js} +21 -21
  123. package/dist/chunks/{agent-5qd3pb7m.js → location-service-map-e3qxr5gk.js} +2 -2
  124. package/dist/chunks/{agent-nqc6nt79.js → location-service-map-eb5nwvjj.js} +32 -32
  125. package/dist/chunks/{agent-ygmj74e5.js → location-service-map-ebbyhdvc.js} +37 -37
  126. package/dist/chunks/{agent-eej6y6fw.js → location-service-map-eej6y6fw.js} +2 -2
  127. package/dist/chunks/{agent-ef5x83kb.js → location-service-map-ef5x83kb.js} +1 -1
  128. package/dist/chunks/{agent-fkdm2qkv.js → location-service-map-ej81gkeg.js} +11 -11
  129. package/dist/chunks/{agent-qm6xtvat.js → location-service-map-emxdjm72.js} +25 -25
  130. package/dist/chunks/{agent-je8b1457.js → location-service-map-erts2f6e.js} +13 -13
  131. package/dist/chunks/{agent-j7tg2zvf.js → location-service-map-ewf8j77t.js} +11 -11
  132. package/dist/chunks/{agent-fekzr37r.js → location-service-map-exs4tskk.js} +44 -44
  133. package/dist/chunks/{agent-xy5artkv.js → location-service-map-f50nbvzh.js} +47 -47
  134. package/dist/chunks/{agent-2x91x8py.js → location-service-map-fkhvp8gb.js} +23 -23
  135. package/dist/chunks/{agent-hq3c8me3.js → location-service-map-fxaymqdw.js} +4 -4
  136. package/dist/chunks/{agent-je2tex47.js → location-service-map-g0xzmjr0.js} +24 -24
  137. package/dist/chunks/{agent-ftqg6eaw.js → location-service-map-gabsh7yw.js} +13 -13
  138. package/dist/chunks/{agent-pnzf6mjf.js → location-service-map-gd0tnyjc.js} +1 -1
  139. package/dist/chunks/{agent-gd4qta3r.js → location-service-map-gd4qta3r.js} +1 -1
  140. package/dist/chunks/{agent-x4z7rv0g.js → location-service-map-gk6ab8mf.js} +15 -15
  141. package/dist/chunks/{agent-w6jg7vpf.js → location-service-map-gv2dj64n.js} +5 -5
  142. package/dist/chunks/{agent-h6vf3j39.js → location-service-map-h6vf3j39.js} +1 -1
  143. package/dist/chunks/{agent-h7s7r6s9.js → location-service-map-h7s7r6s9.js} +2 -2
  144. package/dist/chunks/{agent-1pxz8ven.js → location-service-map-h83xjv7f.js} +5 -5
  145. package/dist/chunks/{agent-jdvv509r.js → location-service-map-h8rphgn6.js} +4 -4
  146. package/dist/chunks/{agent-x5h44zm2.js → location-service-map-h9mky73t.js} +7 -7
  147. package/dist/chunks/{agent-0w62qmxp.js → location-service-map-had4kgfk.js} +6 -6
  148. package/dist/chunks/{agent-hgz4x7wa.js → location-service-map-hgz4x7wa.js} +1 -1
  149. package/dist/chunks/{agent-ng3918dk.js → location-service-map-hhyv66vq.js} +8 -8
  150. package/dist/chunks/{agent-6q2cgkqa.js → location-service-map-hmdrvyfh.js} +72 -72
  151. package/dist/chunks/{agent-d1g60r3j.js → location-service-map-hsvqr7g3.js} +35 -35
  152. package/dist/chunks/{agent-p9ygtxzj.js → location-service-map-hxtckxf3.js} +36 -36
  153. package/dist/chunks/{agent-tv87x6sc.js → location-service-map-hzp768xy.js} +6 -6
  154. package/dist/chunks/{agent-91qna3x0.js → location-service-map-j09zfasm.js} +3 -3
  155. package/dist/chunks/{agent-s7m34cvg.js → location-service-map-j5chjq9f.js} +11 -11
  156. package/dist/chunks/{agent-k9vctcmz.js → location-service-map-j8ssv6es.js} +11 -11
  157. package/dist/chunks/{agent-8zsb3mb5.js → location-service-map-j947zhwf.js} +11 -11
  158. package/dist/chunks/{agent-ajgp1yf6.js → location-service-map-jeewe651.js} +4 -4
  159. package/dist/chunks/{agent-4yzy4pya.js → location-service-map-jpaf2qm1.js} +45 -45
  160. package/dist/chunks/{agent-6w81mfcv.js → location-service-map-jrzj45fy.js} +12 -12
  161. package/dist/chunks/{agent-06x8he3q.js → location-service-map-jvf3yq6v.js} +4 -4
  162. package/dist/chunks/{agent-22sd1qqc.js → location-service-map-jvnghvnw.js} +8 -8
  163. package/dist/chunks/{agent-gbc8mqyx.js → location-service-map-jxr5ks98.js} +6 -6
  164. package/dist/chunks/{agent-m7n954ym.js → location-service-map-k4xdy46r.js} +26 -26
  165. package/dist/chunks/{agent-762tx1s9.js → location-service-map-k6709ays.js} +19 -19
  166. package/dist/chunks/{agent-h9d1fc2y.js → location-service-map-kcdapykd.js} +6 -6
  167. package/dist/chunks/{agent-d4eaz24s.js → location-service-map-kdxh9szv.js} +11 -11
  168. package/dist/chunks/{agent-g0g0hspt.js → location-service-map-kp5we7ps.js} +26 -26
  169. package/dist/chunks/{agent-v0xmac3n.js → location-service-map-ktgr00t7.js} +2 -2
  170. package/dist/chunks/{agent-n8y364wa.js → location-service-map-kwqk5vnc.js} +22 -22
  171. package/dist/chunks/{agent-98xjsagk.js → location-service-map-kww7pfa5.js} +9 -9
  172. package/dist/chunks/{agent-2xnadmta.js → location-service-map-kxssyy3x.js} +32 -32
  173. package/dist/chunks/{agent-m9w0rfyh.js → location-service-map-m9w0rfyh.js} +1 -1
  174. package/dist/chunks/{agent-maspj1v3.js → location-service-map-maspj1v3.js} +1 -1
  175. package/dist/chunks/{agent-6ps2rfac.js → location-service-map-mdmc61fe.js} +4 -4
  176. package/dist/chunks/{agent-fqp62crg.js → location-service-map-mgjjdy5b.js} +10 -10
  177. package/dist/chunks/{agent-qbcjqvkm.js → location-service-map-mh8n60fa.js} +53 -53
  178. package/dist/chunks/{agent-5fc1p0g9.js → location-service-map-mpw5hxye.js} +19 -19
  179. package/dist/chunks/{agent-k00hq61p.js → location-service-map-mt6brxxc.js} +4 -4
  180. package/dist/chunks/{agent-7312p45z.js → location-service-map-najnejyn.js} +21 -21
  181. package/dist/chunks/{agent-pv49kqqp.js → location-service-map-nc1ev885.js} +91 -91
  182. package/dist/chunks/{agent-dz30mbn2.js → location-service-map-ncp1h5wm.js} +4 -4
  183. package/dist/chunks/{agent-r2z489rp.js → location-service-map-nma959mg.js} +3 -3
  184. package/dist/chunks/{agent-8pp8jf47.js → location-service-map-npgv39fj.js} +2 -2
  185. package/dist/chunks/{agent-hjd09z3h.js → location-service-map-nqsv03v6.js} +80 -80
  186. package/dist/chunks/{agent-d4fz9c6m.js → location-service-map-pck7vvdx.js} +8 -8
  187. package/dist/chunks/{agent-pjvnvgmy.js → location-service-map-pjvnvgmy.js} +1 -1
  188. package/dist/chunks/{agent-1s48y8yj.js → location-service-map-pjykpq9n.js} +40 -40
  189. package/dist/chunks/{agent-pknna89w.js → location-service-map-pknna89w.js} +1 -1
  190. package/dist/chunks/{agent-sdnsagax.js → location-service-map-q4aap459.js} +28 -28
  191. package/dist/chunks/{agent-1yrss14f.js → location-service-map-q85n4xbh.js} +9 -9
  192. package/dist/chunks/{agent-sxz7zm75.js → location-service-map-qavnhd3j.js} +36 -36
  193. package/dist/chunks/{agent-fx8q68yx.js → location-service-map-qb7q1f1d.js} +18 -18
  194. package/dist/chunks/{agent-vqpsfxv1.js → location-service-map-qce5rqyv.js} +31 -31
  195. package/dist/chunks/{agent-p5sfywmf.js → location-service-map-qe178b41.js} +30 -30
  196. package/dist/chunks/{agent-hwqt3mf0.js → location-service-map-qezm2w8e.js} +21 -21
  197. package/dist/chunks/{agent-1z2272r9.js → location-service-map-qgw57eb3.js} +10 -10
  198. package/dist/chunks/{agent-qnc92qwc.js → location-service-map-qnc92qwc.js} +1 -1
  199. package/dist/chunks/{agent-9tr386xz.js → location-service-map-qrabmw5q.js} +45 -45
  200. package/dist/chunks/{agent-qsdy395h.js → location-service-map-qsdy395h.js} +1 -1
  201. package/dist/chunks/{agent-pfvt33xv.js → location-service-map-qvcr5dcn.js} +19 -19
  202. package/dist/chunks/{agent-wwk1k3yf.js → location-service-map-qwf29bqw.js} +3 -3
  203. package/dist/chunks/{agent-n0r990cb.js → location-service-map-qyvjbqsg.js} +18 -18
  204. package/dist/chunks/{agent-2sejkfem.js → location-service-map-r2m716tb.js} +9 -9
  205. package/dist/chunks/{agent-b46260rf.js → location-service-map-r3yrqnb5.js} +26 -26
  206. package/dist/chunks/{agent-r70na3yp.js → location-service-map-ra67jj04.js} +5 -5
  207. package/dist/chunks/{agent-sxz6gkc3.js → location-service-map-ratrq7cm.js} +7 -7
  208. package/dist/chunks/{agent-b95g883h.js → location-service-map-raxjnfg2.js} +11 -11
  209. package/dist/chunks/{agent-rdw6cm16.js → location-service-map-rdw6cm16.js} +1 -1
  210. package/dist/chunks/{agent-tkb22qbm.js → location-service-map-rert0e01.js} +2 -2
  211. package/dist/chunks/{agent-tnc73fh6.js → location-service-map-rfnwmvtk.js} +11 -11
  212. package/dist/chunks/{agent-kshzeqx8.js → location-service-map-rht436q7.js} +17 -17
  213. package/dist/chunks/{agent-c41wscbt.js → location-service-map-rj3eygr5.js} +2 -2
  214. package/dist/chunks/{agent-et8f4tj8.js → location-service-map-s6a94ykt.js} +50 -50
  215. package/dist/chunks/{agent-5den7fts.js → location-service-map-s90bytks.js} +15 -15
  216. package/dist/chunks/{agent-c8ax2afj.js → location-service-map-sa8ekw3f.js} +2 -2
  217. package/dist/chunks/{agent-92bt4rsk.js → location-service-map-sdk84yjp.js} +5 -5
  218. package/dist/chunks/{agent-4ts0d71h.js → location-service-map-sfz6vzg3.js} +12 -12
  219. package/dist/chunks/{agent-gyt3gf5g.js → location-service-map-st6tfvct.js} +32 -32
  220. package/dist/chunks/{agent-bkb67qdq.js → location-service-map-svcw9x3w.js} +12 -12
  221. package/dist/chunks/{agent-syv4x271.js → location-service-map-syv4x271.js} +1 -1
  222. package/dist/chunks/{agent-9xk8zs32.js → location-service-map-t4jzmwkk.js} +7 -7
  223. package/dist/chunks/{agent-t550f9t1.js → location-service-map-t550f9t1.js} +1 -1
  224. package/dist/chunks/{agent-102ecrqc.js → location-service-map-t7n4d1yf.js} +16 -16
  225. package/dist/chunks/{agent-be7qvw84.js → location-service-map-t89fqycx.js} +8 -8
  226. package/dist/chunks/{agent-xqhm0etf.js → location-service-map-t9es0ena.js} +16 -16
  227. package/dist/chunks/{agent-tazgh4e4.js → location-service-map-tazgh4e4.js} +1 -1
  228. package/dist/chunks/{agent-tdstcens.js → location-service-map-tdstcens.js} +1 -1
  229. package/dist/chunks/{agent-214q8xwt.js → location-service-map-thf5141v.js} +5 -5
  230. package/dist/chunks/{agent-tm0kqsz3.js → location-service-map-tm0kqsz3.js} +1 -1
  231. package/dist/chunks/{agent-q3ysppy7.js → location-service-map-trecwywa.js} +24 -24
  232. package/dist/chunks/{agent-fey4ey3t.js → location-service-map-ttbvdjdw.js} +22 -22
  233. package/dist/chunks/{agent-tyytaxap.js → location-service-map-tyytaxap.js} +1 -1
  234. package/dist/chunks/{agent-tg7bkhef.js → location-service-map-v0es1rhs.js} +7 -7
  235. package/dist/chunks/location-service-map-v2exr8cw.js +513 -0
  236. package/dist/chunks/{agent-gaxmf6kv.js → location-service-map-v2fstvx9.js} +26 -26
  237. package/dist/chunks/{agent-d6b4z57v.js → location-service-map-v6tgae3y.js} +191 -191
  238. package/dist/chunks/{agent-v7p4zvkq.js → location-service-map-v7p4zvkq.js} +2 -2
  239. package/dist/chunks/{agent-dmxxwj5k.js → location-service-map-vdcsbfm7.js} +4 -4
  240. package/dist/chunks/{agent-veqvce7d.js → location-service-map-veqvce7d.js} +1 -1
  241. package/dist/chunks/{agent-yy6p74h0.js → location-service-map-vfd5z52g.js} +27 -27
  242. package/dist/chunks/{agent-15c4ebpx.js → location-service-map-vh4rw25j.js} +13 -13
  243. package/dist/chunks/{agent-nrync45e.js → location-service-map-vhvv9bf9.js} +22 -22
  244. package/dist/chunks/{agent-jt820sv4.js → location-service-map-vxznmwbn.js} +11 -11
  245. package/dist/chunks/{agent-d858xzj7.js → location-service-map-vycw7md4.js} +4 -4
  246. package/dist/chunks/{agent-vzs5sf6e.js → location-service-map-vzs5sf6e.js} +1 -1
  247. package/dist/chunks/{agent-n7yaz7xh.js → location-service-map-w34bt5ev.js} +13 -13
  248. package/dist/chunks/{agent-w3wsvvr9.js → location-service-map-w3wsvvr9.js} +1 -1
  249. package/dist/chunks/{agent-a7bcxdzj.js → location-service-map-w5rka97k.js} +9 -9
  250. package/dist/chunks/{agent-9sypp5q9.js → location-service-map-w75czvp0.js} +5 -5
  251. package/dist/chunks/{agent-6hmrvhhd.js → location-service-map-w7th8kft.js} +11 -11
  252. package/dist/chunks/{agent-ggd3cdse.js → location-service-map-w85jx7ef.js} +29 -29
  253. package/dist/chunks/{agent-wd87259q.js → location-service-map-wd87259q.js} +1 -1
  254. package/dist/chunks/{agent-58k5txrt.js → location-service-map-whqshyfz.js} +8 -8
  255. package/dist/chunks/{agent-2ppj7n2d.js → location-service-map-wnsxc07p.js} +27 -27
  256. package/dist/chunks/{agent-t9bew3r6.js → location-service-map-wve2b6s5.js} +13 -13
  257. package/dist/chunks/{agent-003zf483.js → location-service-map-wvf4y7rr.js} +24 -24
  258. package/dist/chunks/{agent-3bsp9417.js → location-service-map-x309wg9x.js} +10 -10
  259. package/dist/chunks/{agent-hcv80w8f.js → location-service-map-x5wrmng7.js} +11 -11
  260. package/dist/chunks/{agent-x661k3y3.js → location-service-map-x661k3y3.js} +1 -1
  261. package/dist/chunks/{agent-wtmn7q1g.js → location-service-map-x852hbsc.js} +4 -4
  262. package/dist/chunks/{agent-8x632nv7.js → location-service-map-x94bbvss.js} +4 -4
  263. package/dist/chunks/{agent-7p6vy070.js → location-service-map-xdfgfet0.js} +34 -34
  264. package/dist/chunks/{agent-zk0pt4kf.js → location-service-map-xe6vm9p8.js} +17 -17
  265. package/dist/chunks/{agent-drwq78ky.js → location-service-map-xfkkasph.js} +4 -4
  266. package/dist/chunks/{agent-38885ps5.js → location-service-map-xsccak5w.js} +15 -15
  267. package/dist/chunks/{agent-y1fvbwt7.js → location-service-map-y1fvbwt7.js} +1 -1
  268. package/dist/chunks/{agent-ey2qp6v7.js → location-service-map-y4a0ptp4.js} +5 -5
  269. package/dist/chunks/{agent-dpkg50ah.js → location-service-map-y71avatq.js} +4 -4
  270. package/dist/chunks/{agent-68yndbk8.js → location-service-map-yhebgegd.js} +25 -25
  271. package/dist/chunks/{agent-j9ph6mae.js → location-service-map-yjqnk9hn.js} +34 -34
  272. package/dist/chunks/{agent-sxge8dhz.js → location-service-map-ykdkqy2w.js} +24 -24
  273. package/dist/chunks/{agent-hjsbj7af.js → location-service-map-ykxyh7k6.js} +13 -13
  274. package/dist/chunks/{agent-yp2x3t23.js → location-service-map-yp2x3t23.js} +1 -1
  275. package/dist/chunks/{agent-z0bkrqjs.js → location-service-map-z0bkrqjs.js} +1 -1
  276. package/dist/chunks/{agent-th3ytxdg.js → location-service-map-z1a6nf3f.js} +16 -16
  277. package/dist/chunks/{agent-4jnevpyt.js → location-service-map-z4qs0yhw.js} +33 -33
  278. package/dist/chunks/{agent-2m5mp251.js → location-service-map-z5rnbfrr.js} +9 -9
  279. package/dist/chunks/{agent-k3bqjcjm.js → location-service-map-zcfatamc.js} +14 -14
  280. package/dist/chunks/{agent-47jkzegy.js → location-service-map-zmr78fwr.js} +5 -5
  281. package/dist/chunks/{agent-bhdhebx5.js → location-service-map-zpfqjb86.js} +20 -20
  282. package/dist/chunks/{agent-zr2ceqn5.js → location-service-map-zr2ceqn5.js} +1 -1
  283. package/dist/chunks/{agent-10j0zpwz.js → location-service-map-zt28r1k4.js} +26 -26
  284. package/dist/chunks/{agent-zxq2ej10.js → location-service-map-zxq2ej10.js} +1 -1
  285. package/dist/codemode/catalog.js +1 -1
  286. package/dist/codemode/instructions.js +5 -5
  287. package/dist/codemode/tool.js +3 -3
  288. package/dist/codemode/web.js +1 -1
  289. package/dist/command.js +87 -87
  290. package/dist/config/discovery.js +86 -86
  291. package/dist/config/markdown.js +1 -1
  292. package/dist/config/normalize.js +101 -101
  293. package/dist/config/plugin/agent.js +118 -118
  294. package/dist/config/plugin/command.js +207 -207
  295. package/dist/config/plugin/compaction.js +156 -156
  296. package/dist/config/plugin/compatibility.js +136 -136
  297. package/dist/config/plugin/entry-observer.js +1 -1
  298. package/dist/config/plugin/formatter.js +119 -119
  299. package/dist/config/plugin/image.js +118 -118
  300. package/dist/config/plugin/instruction.js +118 -118
  301. package/dist/config/plugin/location-watcher.js +120 -120
  302. package/dist/config/plugin/mcp.js +125 -125
  303. package/dist/config/plugin/policy.js +119 -119
  304. package/dist/config/plugin/provider.js +118 -118
  305. package/dist/config/plugin/reference.js +120 -120
  306. package/dist/config/plugin/shell.js +120 -120
  307. package/dist/config/plugin/skill-file.js +104 -104
  308. package/dist/config/plugin/skill.js +139 -139
  309. package/dist/config/plugin/snapshot.js +118 -118
  310. package/dist/config/plugin/source.js +121 -121
  311. package/dist/config/plugin/tool-output.js +119 -119
  312. package/dist/config/plugin/websearch.js +119 -119
  313. package/dist/config/plugin/worktree.js +120 -120
  314. package/dist/config/variable.js +3 -3
  315. package/dist/config/watch.js +1 -1
  316. package/dist/config.js +123 -123
  317. package/dist/credential/sql.js +2 -2
  318. package/dist/credential.js +85 -85
  319. package/dist/database/database.js +72 -72
  320. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  321. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  322. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  323. package/dist/database/drizzle/index.js +15 -15
  324. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  327. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  328. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  329. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  330. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  334. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  335. package/dist/database/drizzle.js +16 -16
  336. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  337. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  338. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  339. package/dist/database/migration/20260225215848_workspace.js +1 -1
  340. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  341. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  342. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  343. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  344. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  345. package/dist/database/migration/20260323234822_events.js +1 -1
  346. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  347. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  348. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  349. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  350. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  351. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  352. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  353. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  354. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  355. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  356. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  357. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  358. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  359. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  360. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  361. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  362. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  363. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  364. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  365. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  366. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  367. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  368. package/dist/database/migration/20260611035744_credential.js +1 -1
  369. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  370. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  371. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  372. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  373. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  374. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  375. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  376. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  377. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  378. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  379. package/dist/database/migration/20260812213948_worktree.js +1 -1
  380. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  381. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  382. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  383. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  384. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  385. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  386. package/dist/database/migration.gen.js +51 -51
  387. package/dist/database/migration.js +53 -53
  388. package/dist/database/path.js +2 -2
  389. package/dist/database/schema.gen.js +1 -1
  390. package/dist/database/schema.sql.js +1 -1
  391. package/dist/database/sqlite.bun.js +1 -1
  392. package/dist/database/sqlite.js +1 -1
  393. package/dist/database/sqlite.node.js +1 -1
  394. package/dist/database/sqlite.workerd.js +1 -1
  395. package/dist/database/v1-migration.bun.js +81 -81
  396. package/dist/database/v1-migration.js +1 -1
  397. package/dist/effect/app-node-builder.js +368 -368
  398. package/dist/effect/app-node-platform.js +2 -2
  399. package/dist/effect/keyed-mutex.js +3 -3
  400. package/dist/effect/websocket-constructor.js +1 -1
  401. package/dist/environment/driver.js +1 -1
  402. package/dist/environment/environment.js +95 -95
  403. package/dist/environment/exec-defaults.js +2 -2
  404. package/dist/environment/files.js +1 -1
  405. package/dist/environment/index.js +97 -97
  406. package/dist/environment/local.js +2 -2
  407. package/dist/environment/memory.js +2 -2
  408. package/dist/environment/unavailable.js +3 -3
  409. package/dist/event/sql.js +1 -1
  410. package/dist/event-logger.js +76 -76
  411. package/dist/file-access.js +106 -106
  412. package/dist/file-mutation.js +96 -96
  413. package/dist/file-retention.js +1 -1
  414. package/dist/filesystem/fff.bun.js +2 -2
  415. package/dist/filesystem/fff.js +1 -1
  416. package/dist/filesystem/fff.node.js +2 -2
  417. package/dist/filesystem/fff.workerd.js +2 -2
  418. package/dist/filesystem/location-watcher-policy.js +6 -6
  419. package/dist/filesystem/location-watcher.js +222 -222
  420. package/dist/filesystem/protected.js +3 -3
  421. package/dist/filesystem/search.js +105 -105
  422. package/dist/filesystem/watcher-binding.js +3 -3
  423. package/dist/filesystem/watcher.js +15 -15
  424. package/dist/filesystem.js +108 -108
  425. package/dist/form.js +80 -80
  426. package/dist/formatter/builtins.js +4 -4
  427. package/dist/formatter.js +87 -87
  428. package/dist/generate.js +107 -107
  429. package/dist/git.js +10 -10
  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 +93 -93
  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/image/photon.js +2 -2
  450. package/dist/image.js +6 -6
  451. package/dist/instance/service.js +5 -5
  452. package/dist/instance.js +359 -359
  453. package/dist/instruction-discovery.js +82 -82
  454. package/dist/instructions/builtins.js +89 -89
  455. package/dist/instructions/index.js +1 -1
  456. package/dist/integration/connection.js +1 -1
  457. package/dist/integration.js +85 -85
  458. package/dist/job.js +80 -80
  459. package/dist/kv/sql.js +2 -2
  460. package/dist/kv.js +75 -75
  461. package/dist/location-activity.js +136 -136
  462. package/dist/location-lifecycle.js +109 -109
  463. package/dist/location-service-map.js +88 -88
  464. package/dist/location-services.js +356 -356
  465. package/dist/location.js +89 -89
  466. package/dist/managed-policy.js +6 -6
  467. package/dist/mcp/client.js +93 -93
  468. package/dist/mcp/index.js +107 -107
  469. package/dist/mcp/instructions.js +129 -129
  470. package/dist/mcp/oauth.js +80 -80
  471. package/dist/mcp/stdio.js +92 -92
  472. package/dist/mime.js +1 -1
  473. package/dist/modal/models.js +93 -93
  474. package/dist/model-resolver.js +100 -100
  475. package/dist/model.js +98 -98
  476. package/dist/models-dev.js +105 -105
  477. package/dist/oauth/page.js +1 -1
  478. package/dist/permission/saved.js +84 -84
  479. package/dist/permission/sql.js +5 -5
  480. package/dist/permission.js +113 -113
  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 +92 -92
  484. package/dist/persistent-pty/pty-binding.js +1 -1
  485. package/dist/persistent-pty.js +77 -77
  486. package/dist/plugin/agent.js +76 -76
  487. package/dist/plugin/command.js +102 -102
  488. package/dist/plugin/hooks.js +5 -5
  489. package/dist/plugin/host.js +213 -213
  490. package/dist/plugin/identity.js +3 -3
  491. package/dist/plugin/instance.js +5 -5
  492. package/dist/plugin/internal.js +331 -331
  493. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  494. package/dist/plugin/models-dev.js +98 -98
  495. package/dist/plugin/module.js +117 -117
  496. package/dist/plugin/optimize.js +4 -4
  497. package/dist/plugin/plan.js +104 -104
  498. package/dist/plugin/promise.js +1 -1
  499. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  500. package/dist/plugin/provider/azure.js +116 -116
  501. package/dist/plugin/provider/cerebras.js +1 -1
  502. package/dist/plugin/provider/chatgpt.js +118 -118
  503. package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
  504. package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
  505. package/dist/plugin/provider/cohere.js +2 -2
  506. package/dist/plugin/provider/configured.js +114 -114
  507. package/dist/plugin/provider/databricks.js +1 -1
  508. package/dist/plugin/provider/digitalocean.js +95 -95
  509. package/dist/plugin/provider/dynamic.js +2 -2
  510. package/dist/plugin/provider/factory.js +1 -1
  511. package/dist/plugin/provider/github-copilot.js +97 -97
  512. package/dist/plugin/provider/gitlab.js +95 -95
  513. package/dist/plugin/provider/google-vertex.js +115 -115
  514. package/dist/plugin/provider/kilo.js +1 -1
  515. package/dist/plugin/provider/llmgateway.js +80 -80
  516. package/dist/plugin/provider/lmstudio.js +125 -125
  517. package/dist/plugin/provider/local.js +124 -124
  518. package/dist/plugin/provider/modal.js +94 -94
  519. package/dist/plugin/provider/neon.js +1 -1
  520. package/dist/plugin/provider/nvidia.js +1 -1
  521. package/dist/plugin/provider/ollama.js +127 -127
  522. package/dist/plugin/provider/openai.js +120 -120
  523. package/dist/plugin/provider/opencode.js +99 -99
  524. package/dist/plugin/provider/openrouter.js +93 -93
  525. package/dist/plugin/provider/perplexity.js +2 -2
  526. package/dist/plugin/provider/poe.js +81 -81
  527. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  528. package/dist/plugin/provider/sap-ai-core.js +93 -93
  529. package/dist/plugin/provider/sdk-factory.js +1 -1
  530. package/dist/plugin/provider/snowflake-cortex.js +117 -117
  531. package/dist/plugin/provider/vercel.js +92 -92
  532. package/dist/plugin/provider/vllm.js +127 -127
  533. package/dist/plugin/provider/xai.js +93 -93
  534. package/dist/plugin/provider/zenmux.js +1 -1
  535. package/dist/plugin/provider.js +169 -169
  536. package/dist/plugin/sdk.js +76 -76
  537. package/dist/plugin/service.js +3 -3
  538. package/dist/plugin/skill.js +134 -134
  539. package/dist/plugin/source-directory.js +1 -1
  540. package/dist/plugin/supervisor.js +346 -346
  541. package/dist/plugin/tool-input-repair.js +4 -4
  542. package/dist/plugin/update.js +2 -2
  543. package/dist/plugin/vcs/git.js +88 -88
  544. package/dist/plugin/vcs/hg.js +88 -88
  545. package/dist/plugin/verbosity.js +95 -95
  546. package/dist/plugin/warming.js +114 -114
  547. package/dist/plugin/websearch/exa.js +7 -7
  548. package/dist/plugin/websearch/firecrawl.js +6 -6
  549. package/dist/plugin/websearch/index.js +9 -9
  550. package/dist/plugin/websearch/mcp.js +2 -2
  551. package/dist/plugin/websearch/parallel.js +8 -8
  552. package/dist/plugin/websearch/tavily.js +4 -4
  553. package/dist/plugin/websearch/tinyfish.js +4 -4
  554. package/dist/plugin.js +224 -224
  555. package/dist/project/schema.js +6 -6
  556. package/dist/project/sql.js +4 -4
  557. package/dist/project.js +90 -90
  558. package/dist/provider.js +97 -97
  559. package/dist/pty/protocol.js +1 -1
  560. package/dist/pty/ticket.js +1 -1
  561. package/dist/pty.js +101 -101
  562. package/dist/reference/instructions.js +91 -91
  563. package/dist/reference.js +93 -93
  564. package/dist/repository-cache.js +83 -83
  565. package/dist/repository.js +1 -1
  566. package/dist/ripgrep/binary.js +2 -2
  567. package/dist/ripgrep.js +99 -99
  568. package/dist/rpc.js +88 -88
  569. package/dist/schema.js +1 -1
  570. package/dist/session/affinity.js +1 -1
  571. package/dist/session/command.js +76 -76
  572. package/dist/session/compaction.js +137 -137
  573. package/dist/session/context.js +153 -153
  574. package/dist/session/diff.js +90 -90
  575. package/dist/session/environment.js +5 -5
  576. package/dist/session/error.js +5 -5
  577. package/dist/session/event.js +1 -1
  578. package/dist/session/execution/restart.js +219 -219
  579. package/dist/session/execution.js +127 -127
  580. package/dist/session/generate.js +156 -156
  581. package/dist/session/history.js +15 -15
  582. package/dist/session/inbox.js +90 -90
  583. package/dist/session/info.js +3 -3
  584. package/dist/session/instruction-entry.js +79 -79
  585. package/dist/session/instruction-state.js +8 -8
  586. package/dist/session/instructions.js +99 -99
  587. package/dist/session/message-updater.js +2 -2
  588. package/dist/session/message.js +1 -1
  589. package/dist/session/model-request.js +120 -120
  590. package/dist/session/model-transport.js +7 -7
  591. package/dist/session/move.js +131 -131
  592. package/dist/session/projector.js +88 -88
  593. package/dist/session/prompt.js +107 -107
  594. package/dist/session/provider-context.js +3 -3
  595. package/dist/session/revert.js +92 -92
  596. package/dist/session/run-coordinator.js +1 -1
  597. package/dist/session/runner/index.js +3 -3
  598. package/dist/session/runner/llm.js +226 -226
  599. package/dist/session/runner/max-steps.js +1 -1
  600. package/dist/session/runner/model.js +100 -100
  601. package/dist/session/runner/publish-llm-event.js +115 -115
  602. package/dist/session/runner/retry.js +2 -2
  603. package/dist/session/runner/step.js +127 -127
  604. package/dist/session/runner/to-llm-message.js +2 -2
  605. package/dist/session/schema.js +5 -5
  606. package/dist/session/session.js +166 -166
  607. package/dist/session/shell.js +132 -132
  608. package/dist/session/skill.js +105 -105
  609. package/dist/session/sql.js +5 -5
  610. package/dist/session/stats.js +77 -77
  611. package/dist/session/store.js +89 -89
  612. package/dist/session/subagent-completion.js +1 -1
  613. package/dist/session/subagent-job.js +207 -207
  614. package/dist/session/system-prompt.js +3 -3
  615. package/dist/session/title.js +159 -159
  616. package/dist/session/to-session-error.js +113 -113
  617. package/dist/session/transfer.js +218 -218
  618. package/dist/session/usage.js +1 -1
  619. package/dist/session.js +213 -213
  620. package/dist/shell/parse.js +6 -6
  621. package/dist/shell/result.js +1 -1
  622. package/dist/shell/scan.js +1 -1
  623. package/dist/shell/select.js +13 -13
  624. package/dist/shell.js +132 -132
  625. package/dist/skill/discovery.js +4 -4
  626. package/dist/skill/instructions.js +107 -107
  627. package/dist/skill.js +114 -114
  628. package/dist/snapshot.js +93 -93
  629. package/dist/state.js +1 -1
  630. package/dist/tool/html-markdown.js +1 -1
  631. package/dist/tool/http-body.js +1 -1
  632. package/dist/tool/mcp.js +128 -128
  633. package/dist/tool/plugin/edit.js +122 -122
  634. package/dist/tool/plugin/file-diff.js +1 -1
  635. package/dist/tool/plugin/glob.js +126 -126
  636. package/dist/tool/plugin/grep.js +124 -124
  637. package/dist/tool/plugin/mcp-resource.js +119 -119
  638. package/dist/tool/plugin/opencode.js +111 -111
  639. package/dist/tool/plugin/patch.js +122 -122
  640. package/dist/tool/plugin/question.js +105 -105
  641. package/dist/tool/plugin/read.js +127 -127
  642. package/dist/tool/plugin/shell.js +212 -212
  643. package/dist/tool/plugin/skill.js +115 -115
  644. package/dist/tool/plugin/subagent.js +214 -214
  645. package/dist/tool/plugin/webfetch.js +108 -108
  646. package/dist/tool/plugin/websearch.js +116 -116
  647. package/dist/tool/plugin/write.js +124 -124
  648. package/dist/tool/read-filesystem.js +102 -102
  649. package/dist/tool/runtime.js +1 -1
  650. package/dist/tool-output.js +7 -7
  651. package/dist/tool.js +16 -16
  652. package/dist/util/error-summary.js +1 -1
  653. package/dist/util/error.js +1 -1
  654. package/dist/util/git-executable.js +2 -2
  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/command.js +5 -5
  663. package/dist/v1/config/error.js +4 -4
  664. package/dist/v1/config/mcp.js +4 -4
  665. package/dist/v1/config/migrate.js +94 -94
  666. package/dist/v1/config/permission.js +7 -7
  667. package/dist/v1/config/plugin.js +1 -1
  668. package/dist/v1/config/provider-options.js +1 -1
  669. package/dist/v1/config/provider.js +4 -4
  670. package/dist/variant.js +93 -93
  671. package/dist/vcs/patch.js +1 -1
  672. package/dist/vcs.js +91 -91
  673. package/dist/websearch.js +86 -86
  674. package/dist/wellknown/plugin.js +78 -78
  675. package/dist/wellknown.js +83 -83
  676. package/dist/workspace/driver.js +5 -5
  677. package/dist/workspace/sql.js +1 -1
  678. package/dist/workspace.js +84 -84
  679. package/dist/worktree/directory.js +2 -2
  680. package/dist/worktree/git.js +10 -10
  681. package/dist/worktree/sql.js +5 -5
  682. package/dist/worktree/strategies.js +91 -91
  683. package/dist/worktree.js +100 -100
  684. package/package.json +8 -8
  685. package/dist/chunks/agent-1x11rq2a.js +0 -18
  686. package/dist/chunks/agent-3e0v5z2a.js +0 -253
  687. package/dist/chunks/agent-99m0tgr4.js +0 -513
  688. package/dist/chunks/agent-a1xb6f6n.js +0 -26
  689. /package/dist/chunks/{agent-0qkdqm5v.js → location-service-map-0qkdqm5v.js} +0 -0
  690. /package/dist/chunks/{agent-0zkw76rk.js → location-service-map-0zkw76rk.js} +0 -0
  691. /package/dist/chunks/{agent-17cy0kzp.js → location-service-map-17cy0kzp.js} +0 -0
  692. /package/dist/chunks/{agent-1cnp2v09.js → location-service-map-1cnp2v09.js} +0 -0
  693. /package/dist/chunks/{agent-1kg9ymc8.js → location-service-map-1kg9ymc8.js} +0 -0
  694. /package/dist/chunks/{agent-24dcb14g.js → location-service-map-24dcb14g.js} +0 -0
  695. /package/dist/chunks/{agent-2710q6r3.js → location-service-map-2710q6r3.js} +0 -0
  696. /package/dist/chunks/{agent-2axfhc9x.js → location-service-map-2axfhc9x.js} +0 -0
  697. /package/dist/chunks/{agent-2bv980vf.js → location-service-map-2bv980vf.js} +0 -0
  698. /package/dist/chunks/{agent-2c3vjs8z.js → location-service-map-2c3vjs8z.js} +0 -0
  699. /package/dist/chunks/{agent-359p4xyc.js → location-service-map-359p4xyc.js} +0 -0
  700. /package/dist/chunks/{agent-3asan66x.js → location-service-map-3asan66x.js} +0 -0
  701. /package/dist/chunks/{agent-3t0ybcrp.js → location-service-map-3t0ybcrp.js} +0 -0
  702. /package/dist/chunks/{agent-3v8g72cx.js → location-service-map-3v8g72cx.js} +0 -0
  703. /package/dist/chunks/{agent-3wcehsnq.js → location-service-map-3wcehsnq.js} +0 -0
  704. /package/dist/chunks/{agent-43n2bw4t.js → location-service-map-43n2bw4t.js} +0 -0
  705. /package/dist/chunks/{agent-4knz6hnm.js → location-service-map-4knz6hnm.js} +0 -0
  706. /package/dist/chunks/{agent-4vcrnpx2.js → location-service-map-4vcrnpx2.js} +0 -0
  707. /package/dist/chunks/{agent-4y7fprxs.js → location-service-map-4y7fprxs.js} +0 -0
  708. /package/dist/chunks/{agent-53557ph1.js → location-service-map-53557ph1.js} +0 -0
  709. /package/dist/chunks/{agent-550bvhaj.js → location-service-map-550bvhaj.js} +0 -0
  710. /package/dist/chunks/{agent-6prwharc.js → location-service-map-6prwharc.js} +0 -0
  711. /package/dist/chunks/{agent-6q2bdcd1.js → location-service-map-6q2bdcd1.js} +0 -0
  712. /package/dist/chunks/{agent-7akdwqpd.js → location-service-map-7akdwqpd.js} +0 -0
  713. /package/dist/chunks/{agent-7m9af43g.js → location-service-map-7m9af43g.js} +0 -0
  714. /package/dist/chunks/{agent-822emrt2.js → location-service-map-822emrt2.js} +0 -0
  715. /package/dist/chunks/{agent-84wd9syh.js → location-service-map-84wd9syh.js} +0 -0
  716. /package/dist/chunks/{agent-88xbtdfr.js → location-service-map-88xbtdfr.js} +0 -0
  717. /package/dist/chunks/{agent-8n3pysct.js → location-service-map-8n3pysct.js} +0 -0
  718. /package/dist/chunks/{agent-8wj87zfr.js → location-service-map-8wj87zfr.js} +0 -0
  719. /package/dist/chunks/{agent-9a4afbnw.js → location-service-map-9a4afbnw.js} +0 -0
  720. /package/dist/chunks/{agent-9rqn6x4v.js → location-service-map-9rqn6x4v.js} +0 -0
  721. /package/dist/chunks/{agent-a6k6eb26.js → location-service-map-a6k6eb26.js} +0 -0
  722. /package/dist/chunks/{agent-af5trqkr.js → location-service-map-af5trqkr.js} +0 -0
  723. /package/dist/chunks/{agent-afrmfg78.js → location-service-map-afrmfg78.js} +0 -0
  724. /package/dist/chunks/{agent-aqzs7mqg.js → location-service-map-aqzs7mqg.js} +0 -0
  725. /package/dist/chunks/{agent-atq7p7m5.js → location-service-map-atq7p7m5.js} +0 -0
  726. /package/dist/chunks/{agent-bkyjaxrp.js → location-service-map-bkyjaxrp.js} +0 -0
  727. /package/dist/chunks/{agent-bmr6ed5q.js → location-service-map-bmr6ed5q.js} +0 -0
  728. /package/dist/chunks/{agent-cf4snx6d.js → location-service-map-cf4snx6d.js} +0 -0
  729. /package/dist/chunks/{agent-cvy3z8tj.js → location-service-map-cvy3z8tj.js} +0 -0
  730. /package/dist/chunks/{agent-d9fn303g.js → location-service-map-d9fn303g.js} +0 -0
  731. /package/dist/chunks/{agent-d9jj8t3e.js → location-service-map-d9jj8t3e.js} +0 -0
  732. /package/dist/chunks/{agent-dajrwvna.js → location-service-map-dajrwvna.js} +0 -0
  733. /package/dist/chunks/{agent-dap0rakb.js → location-service-map-dap0rakb.js} +0 -0
  734. /package/dist/chunks/{agent-df08tz66.js → location-service-map-df08tz66.js} +0 -0
  735. /package/dist/chunks/{agent-dy18nga0.js → location-service-map-dy18nga0.js} +0 -0
  736. /package/dist/chunks/{agent-e5kj55wp.js → location-service-map-e5kj55wp.js} +0 -0
  737. /package/dist/chunks/{agent-e73j6tqm.js → location-service-map-e73j6tqm.js} +0 -0
  738. /package/dist/chunks/{agent-ec1grn59.js → location-service-map-ec1grn59.js} +0 -0
  739. /package/dist/chunks/{agent-eh3zwz77.js → location-service-map-eh3zwz77.js} +0 -0
  740. /package/dist/chunks/{agent-emrn6kk6.js → location-service-map-emrn6kk6.js} +0 -0
  741. /package/dist/chunks/{agent-f0mxakyp.js → location-service-map-f0mxakyp.js} +0 -0
  742. /package/dist/chunks/{agent-f6n9ztr4.js → location-service-map-f6n9ztr4.js} +0 -0
  743. /package/dist/chunks/{agent-faypxj3z.js → location-service-map-faypxj3z.js} +0 -0
  744. /package/dist/chunks/{agent-fd410y7t.js → location-service-map-fd410y7t.js} +0 -0
  745. /package/dist/chunks/{agent-g4wezp1m.js → location-service-map-g4wezp1m.js} +0 -0
  746. /package/dist/chunks/{agent-g86h250q.js → location-service-map-g86h250q.js} +0 -0
  747. /package/dist/chunks/{agent-gebd4c9n.js → location-service-map-gebd4c9n.js} +0 -0
  748. /package/dist/chunks/{agent-gftt206x.js → location-service-map-gftt206x.js} +0 -0
  749. /package/dist/chunks/{agent-hcxmzztb.js → location-service-map-hcxmzztb.js} +0 -0
  750. /package/dist/chunks/{agent-hk9envan.js → location-service-map-hk9envan.js} +0 -0
  751. /package/dist/chunks/{agent-j2ntwpah.js → location-service-map-j2ntwpah.js} +0 -0
  752. /package/dist/chunks/{agent-j5zkgpj8.js → location-service-map-j5zkgpj8.js} +0 -0
  753. /package/dist/chunks/{agent-jjkms2e6.js → location-service-map-jjkms2e6.js} +0 -0
  754. /package/dist/chunks/{agent-jr7sbwjy.js → location-service-map-jr7sbwjy.js} +0 -0
  755. /package/dist/chunks/{agent-jwfs4k6c.js → location-service-map-jwfs4k6c.js} +0 -0
  756. /package/dist/chunks/{agent-jze0r7bz.js → location-service-map-jze0r7bz.js} +0 -0
  757. /package/dist/chunks/{agent-jzg6c2d5.js → location-service-map-jzg6c2d5.js} +0 -0
  758. /package/dist/chunks/{agent-m18g726c.js → location-service-map-m18g726c.js} +0 -0
  759. /package/dist/chunks/{agent-mp448xyj.js → location-service-map-mp448xyj.js} +0 -0
  760. /package/dist/chunks/{agent-msx8hqn2.js → location-service-map-msx8hqn2.js} +0 -0
  761. /package/dist/chunks/{agent-n05xt0ee.js → location-service-map-n05xt0ee.js} +0 -0
  762. /package/dist/chunks/{agent-n3j8tn72.js → location-service-map-n3j8tn72.js} +0 -0
  763. /package/dist/chunks/{agent-njntx4h6.js → location-service-map-njntx4h6.js} +0 -0
  764. /package/dist/chunks/{agent-pkyv6v7h.js → location-service-map-pkyv6v7h.js} +0 -0
  765. /package/dist/chunks/{agent-pyv0edze.js → location-service-map-pyv0edze.js} +0 -0
  766. /package/dist/chunks/{agent-q3sfg36h.js → location-service-map-q3sfg36h.js} +0 -0
  767. /package/dist/chunks/{agent-q74kybfr.js → location-service-map-q74kybfr.js} +0 -0
  768. /package/dist/chunks/{agent-qaymkmh1.js → location-service-map-qaymkmh1.js} +0 -0
  769. /package/dist/chunks/{agent-qb87gjwd.js → location-service-map-qb87gjwd.js} +0 -0
  770. /package/dist/chunks/{agent-qfa1cgps.js → location-service-map-qfa1cgps.js} +0 -0
  771. /package/dist/chunks/{agent-qg3g05ea.js → location-service-map-qg3g05ea.js} +0 -0
  772. /package/dist/chunks/{agent-qrg20bc0.js → location-service-map-qrg20bc0.js} +0 -0
  773. /package/dist/chunks/{agent-rcb2kzg1.js → location-service-map-rcb2kzg1.js} +0 -0
  774. /package/dist/chunks/{agent-sdp7kfr6.js → location-service-map-sdp7kfr6.js} +0 -0
  775. /package/dist/chunks/{agent-ssg3fenm.js → location-service-map-ssg3fenm.js} +0 -0
  776. /package/dist/chunks/{agent-ve7vex1e.js → location-service-map-ve7vex1e.js} +0 -0
  777. /package/dist/chunks/{agent-w803qqfp.js → location-service-map-w803qqfp.js} +0 -0
  778. /package/dist/chunks/{agent-wc3fc9cn.js → location-service-map-wc3fc9cn.js} +0 -0
  779. /package/dist/chunks/{agent-wer8tq1h.js → location-service-map-wer8tq1h.js} +0 -0
  780. /package/dist/chunks/{agent-wjj7prxr.js → location-service-map-wjj7prxr.js} +0 -0
  781. /package/dist/chunks/{agent-wtztk69x.js → location-service-map-wtztk69x.js} +0 -0
  782. /package/dist/chunks/{agent-x0ckcb58.js → location-service-map-x0ckcb58.js} +0 -0
  783. /package/dist/chunks/{agent-x61499pn.js → location-service-map-x61499pn.js} +0 -0
  784. /package/dist/chunks/{agent-y44na4kk.js → location-service-map-y44na4kk.js} +0 -0
  785. /package/dist/chunks/{agent-y8f7s663.js → location-service-map-y8f7s663.js} +0 -0
  786. /package/dist/chunks/{agent-ygaqb7jw.js → location-service-map-ygaqb7jw.js} +0 -0
  787. /package/dist/chunks/{agent-ym463w8f.js → location-service-map-ym463w8f.js} +0 -0
  788. /package/dist/chunks/{agent-z5v4ffb3.js → location-service-map-z5v4ffb3.js} +0 -0
  789. /package/dist/chunks/{agent-z9919s4g.js → location-service-map-z9919s4g.js} +0 -0
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./agent-z5v4ffb3.js";
3
+ } from "./location-service-map-z5v4ffb3.js";
4
4
  import {
5
- Service79
6
- } from "./agent-agsg9aqy.js";
5
+ Service81
6
+ } from "./location-service-map-0fzbfnq7.js";
7
7
  import {
8
- Service22
9
- } from "./agent-23w5gghw.js";
8
+ Service16
9
+ } from "./location-service-map-5pyvwtgy.js";
10
10
  import {
11
- Service9
12
- } from "./agent-fey4ey3t.js";
11
+ Service12
12
+ } from "./location-service-map-ttbvdjdw.js";
13
13
  import {
14
14
  NotFound3
15
- } from "./agent-hgz4x7wa.js";
15
+ } from "./location-service-map-hgz4x7wa.js";
16
16
  import {
17
17
  MEDIA_MIMES2,
18
18
  BinaryFileError2,
@@ -23,26 +23,26 @@ import {
23
23
  FileContent2,
24
24
  TextPage2,
25
25
  ListPage2,
26
- Service6
27
- } from "./agent-kshzeqx8.js";
26
+ Service9
27
+ } from "./location-service-map-rht436q7.js";
28
28
  import {
29
29
  __export
30
- } from "./agent-9rqn6x4v.js";
30
+ } from "./location-service-map-9rqn6x4v.js";
31
31
 
32
32
  // src/tool/plugin/read.ts
33
33
  var exports_read = {};
34
34
  __export(exports_read, {
35
- Input: () => Input9,
36
- Plugin: () => Plugin28,
35
+ Input: () => Input8,
36
+ Plugin: () => Plugin44,
37
37
  ReadTool: () => exports_read,
38
- name: () => name9,
39
- toModelContent: () => toModelContent4
38
+ name: () => name8,
39
+ toModelContent: () => toModelContent3
40
40
  });
41
41
  import { basename, dirname, join } from "path";
42
42
  import { ToolFailure } from "@opencode/ai";
43
43
  import { Effect, Schema } from "effect";
44
44
  import { FSUtil } from "@opencode/util/fs-util";
45
- var name9 = "read";
45
+ var name8 = "read";
46
46
  var FILENAME = "AGENTS.md";
47
47
  var LocationInput = Schema.Struct({
48
48
  path: Schema.String.annotate({ description: "File or directory to read" }),
@@ -53,21 +53,21 @@ var LocationInput = Schema.Struct({
53
53
  description: "The maximum number of lines or directory entries to read (defaults to and capped at 2000)"
54
54
  })
55
55
  });
56
- var Input9 = LocationInput;
56
+ var Input8 = LocationInput;
57
57
  var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
58
- var Plugin28 = {
58
+ var Plugin44 = {
59
59
  id: "opencode.tool.read",
60
60
  effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
61
- const reader = yield* Service6;
62
- const access = yield* Service22;
63
- const sessionInstructions = yield* Service9;
61
+ const reader = yield* Service9;
62
+ const access = yield* Service16;
63
+ const sessionInstructions = yield* Service12;
64
64
  const fs = yield* FSUtil.Service;
65
- const location = yield* Service79;
65
+ const location = yield* Service81;
66
66
  yield* ctx.tool.transform((editor) => editor.add({
67
- name: name9,
67
+ name: name8,
68
68
  options: { codemode: false },
69
69
  description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
70
- input: Input9,
70
+ input: Input8,
71
71
  output: Output,
72
72
  execute: (input, context) => {
73
73
  return Effect.gen(function* () {
@@ -113,7 +113,7 @@ var Plugin28 = {
113
113
  return { output: result.content, path: result.path };
114
114
  }).pipe(Effect.map((result) => ({
115
115
  output: result.output,
116
- content: toModelContent4(result.path, input.offset, result.output),
116
+ content: toModelContent3(result.path, input.offset, result.output),
117
117
  metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
118
118
  })), Effect.mapError((error) => {
119
119
  if (error instanceof ToolFailure)
@@ -146,7 +146,7 @@ ${suggestions.join(`
146
146
  });
147
147
  })
148
148
  };
149
- var toModelContent4 = (path, offset, output) => {
149
+ var toModelContent3 = (path, offset, output) => {
150
150
  if (output.type === "file" && output.encoding === "base64")
151
151
  return [
152
152
  { type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
@@ -182,4 +182,4 @@ var toModelContent4 = (path, offset, output) => {
182
182
  `);
183
183
  };
184
184
 
185
- export { name9, Input9, Plugin28, toModelContent4, exports_read };
185
+ export { name8, Input8, Plugin44, toModelContent3, exports_read };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./agent-9rqn6x4v.js";
3
+ } from "./location-service-map-9rqn6x4v.js";
4
4
 
5
5
  // src/repository.ts
6
6
  var exports_repository = {};
@@ -1,27 +1,27 @@
1
1
  import {
2
- Service79
3
- } from "./agent-agsg9aqy.js";
2
+ Service81
3
+ } from "./location-service-map-0fzbfnq7.js";
4
4
  import {
5
- Service61
6
- } from "./agent-6458qwm7.js";
5
+ Service66
6
+ } from "./location-service-map-c7s5xd0e.js";
7
7
  import {
8
- Service15
9
- } from "./agent-n7yaz7xh.js";
8
+ Service14
9
+ } from "./location-service-map-w34bt5ev.js";
10
10
  import {
11
- make9
12
- } from "./agent-r2z489rp.js";
11
+ make8
12
+ } from "./location-service-map-nma959mg.js";
13
13
  import {
14
14
  observe2
15
- } from "./agent-qsdy395h.js";
15
+ } from "./location-service-map-qsdy395h.js";
16
16
  import {
17
17
  __export
18
- } from "./agent-9rqn6x4v.js";
18
+ } from "./location-service-map-9rqn6x4v.js";
19
19
 
20
20
  // src/config/plugin/formatter.ts
21
21
  var exports_formatter = {};
22
22
  __export(exports_formatter, {
23
23
  ConfigFormatterPlugin: () => exports_formatter,
24
- Plugin: () => Plugin34
24
+ Plugin: () => Plugin27
25
25
  });
26
26
  import { define } from "@opencode/plugin/effect/plugin";
27
27
  import { FSUtil } from "@opencode/util/fs-util";
@@ -29,14 +29,14 @@ import { Global } from "@opencode/util/global";
29
29
  import { Npm } from "@opencode/util/npm";
30
30
  import { AppProcess } from "@opencode/util/process";
31
31
  import { Effect } from "effect";
32
- var Plugin34 = define({
32
+ var Plugin27 = define({
33
33
  id: "opencode.config.formatter",
34
34
  effect: Effect.fn(function* (ctx) {
35
- const config = yield* Service61;
36
- const formatter = yield* Service15;
35
+ const config = yield* Service66;
36
+ const formatter = yield* Service14;
37
37
  const fs = yield* FSUtil.Service;
38
38
  const global = yield* Global.Service;
39
- const location = yield* Service79;
39
+ const location = yield* Service81;
40
40
  const npm = yield* Npm.Service;
41
41
  const processes = yield* AppProcess.Service;
42
42
  const loaded = yield* observe2(config, ctx.event, formatter.reload());
@@ -44,7 +44,7 @@ var Plugin34 = define({
44
44
  const configured = resolve(loaded.entries);
45
45
  if (!configured)
46
46
  return;
47
- const builtIns = make9({
47
+ const builtIns = make8({
48
48
  directory: location.directory,
49
49
  worktree: location.project.directory,
50
50
  fs,
@@ -85,4 +85,4 @@ function resolve(entries) {
85
85
  }, undefined);
86
86
  }
87
87
 
88
- export { Plugin34, exports_formatter };
88
+ export { Plugin27, exports_formatter };
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  __export
3
- } from "./agent-9rqn6x4v.js";
3
+ } from "./location-service-map-9rqn6x4v.js";
4
4
 
5
5
  // src/filesystem/protected.ts
6
6
  var exports_protected = {};
7
7
  __export(exports_protected, {
8
8
  Protected: () => exports_protected,
9
9
  isHome: () => isHome2,
10
- names: () => names3,
10
+ names: () => names4,
11
11
  paths: () => paths2
12
12
  });
13
13
  import os from "os";
@@ -41,7 +41,7 @@ var DARWIN_LIBRARY = [
41
41
  ];
42
42
  var DARWIN_ROOT = ["/.DocumentRevisions-V100", "/.Spotlight-V100", "/.Trashes", "/.fseventsd"];
43
43
  var WIN32_HOME = ["AppData", "Downloads", "Desktop", "Documents", "Pictures", "Music", "Videos", "OneDrive"];
44
- function names3() {
44
+ function names4() {
45
45
  if (process.platform === "darwin")
46
46
  return new Set(DARWIN_HOME);
47
47
  if (process.platform === "win32")
@@ -60,4 +60,4 @@ function paths2() {
60
60
  return [];
61
61
  }
62
62
 
63
- export { isHome2, names3, paths2, exports_protected };
63
+ export { isHome2, names4, paths2, exports_protected };
@@ -1,47 +1,47 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./agent-dpkg50ah.js";
3
+ } from "./location-service-map-y71avatq.js";
4
4
  import {
5
- Service82,
6
- node86
7
- } from "./agent-102ecrqc.js";
5
+ Service84,
6
+ node88
7
+ } from "./location-service-map-t7n4d1yf.js";
8
8
  import {
9
- Event19,
10
- Service78,
11
- node82
12
- } from "./agent-j9ph6mae.js";
9
+ Event18,
10
+ Service73,
11
+ node76
12
+ } from "./location-service-map-yjqnk9hn.js";
13
13
  import {
14
- Service79,
15
- node83
16
- } from "./agent-agsg9aqy.js";
14
+ Service81,
15
+ node85
16
+ } from "./location-service-map-0fzbfnq7.js";
17
17
  import {
18
- Service64,
19
- node66
20
- } from "./agent-je2tex47.js";
18
+ Service79,
19
+ node82
20
+ } from "./location-service-map-g0xzmjr0.js";
21
21
  import {
22
22
  ID15,
23
- Service77,
24
- node81
25
- } from "./agent-th3ytxdg.js";
23
+ Service75,
24
+ node78
25
+ } from "./location-service-map-z1a6nf3f.js";
26
26
  import {
27
27
  reconcile2,
28
28
  create3
29
- } from "./agent-rdw6cm16.js";
29
+ } from "./location-service-map-rdw6cm16.js";
30
30
  import {
31
- ID14,
31
+ ID13,
32
32
  MethodID2,
33
- Service76,
34
- node80
35
- } from "./agent-80nxcd2h.js";
33
+ Service72,
34
+ node75
35
+ } from "./location-service-map-bjkg2ks4.js";
36
36
  import {
37
37
  __export
38
- } from "./agent-9rqn6x4v.js";
38
+ } from "./location-service-map-9rqn6x4v.js";
39
39
 
40
40
  // src/mcp/index.ts
41
41
  var exports_mcp4 = {};
42
42
  __export(exports_mcp4, {
43
43
  Mcp: () => exports_mcp4,
44
- NotFoundError: () => NotFoundError4,
44
+ NotFoundError: () => NotFoundError3,
45
45
  Options: () => Options4,
46
46
  PromptsChanged: () => PromptsChanged2,
47
47
  Resource: () => Resource2,
@@ -49,12 +49,12 @@ __export(exports_mcp4, {
49
49
  ResourceContent: () => ResourceContent2,
50
50
  ResourceTemplate: () => ResourceTemplate2,
51
51
  ServerName: () => ServerName2,
52
- Service: () => Service35,
52
+ Service: () => Service32,
53
53
  Status: () => Status2,
54
54
  ToolCallError: () => ToolCallError2,
55
55
  configured: () => configured4,
56
- layer: () => layer14,
57
- node: () => node38
56
+ layer: () => layer15,
57
+ node: () => node36
58
58
  });
59
59
  import { Mcp } from "@opencode/schema/mcp";
60
60
  import { McpEvent } from "@opencode/schema/mcp-event";
@@ -72,7 +72,7 @@ var ResourceTemplate2 = Mcp.ResourceTemplate;
72
72
  var ResourceCatalog2 = Mcp.ResourceCatalog;
73
73
  var ResourceContent2 = Mcp.ResourceContent;
74
74
 
75
- class NotFoundError4 extends Schema.TaggedError()("MCP.NotFoundError", {
75
+ class NotFoundError3 extends Schema.TaggedError()("MCP.NotFoundError", {
76
76
  server: ServerName2
77
77
  }) {
78
78
  get message() {
@@ -103,7 +103,7 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
103
103
  var endpointLoads = makeUnsafe2();
104
104
  var cloneConfig = (config) => structuredClone(config);
105
105
 
106
- class Service35 extends Context.Service()("@opencode/MCP") {
106
+ class Service32 extends Context.Service()("@opencode/MCP") {
107
107
  }
108
108
  var Options4 = Schema.Struct({
109
109
  clientInfo: Schema.optional(Schema.Struct({
@@ -111,13 +111,13 @@ var Options4 = Schema.Struct({
111
111
  version: Schema.String
112
112
  }))
113
113
  });
114
- var layer14 = (options) => Layer.effect(Service35, Effect.gen(function* () {
115
- const location = yield* Service79;
116
- const environment = yield* Service64;
117
- const bus = yield* Service82;
118
- const forms = yield* Service77;
119
- const integration = yield* Service76;
120
- const credentials = yield* Service78;
114
+ var layer15 = (options) => Layer.effect(Service32, Effect.gen(function* () {
115
+ const location = yield* Service81;
116
+ const environment = yield* Service79;
117
+ const bus = yield* Service84;
118
+ const forms = yield* Service75;
119
+ const integration = yield* Service72;
120
+ const credentials = yield* Service73;
121
121
  const root = yield* Effect.scope;
122
122
  const fork = yield* FiberSet.makeRuntime();
123
123
  const entries = new Map;
@@ -129,7 +129,7 @@ var layer14 = (options) => Layer.effect(Service35, Effect.gen(function* () {
129
129
  return;
130
130
  const remote = entry.config;
131
131
  const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
132
- const integrationID = ID14.make(suffix);
132
+ const integrationID = ID13.make(suffix);
133
133
  entry.integrationID = integrationID;
134
134
  owned.add(integrationID);
135
135
  const methodID = MethodID2.make(suffix);
@@ -145,7 +145,7 @@ var layer14 = (options) => Layer.effect(Service35, Effect.gen(function* () {
145
145
  method: { id: methodID, type: "oauth", label: name },
146
146
  authorize: () => Effect.gen(function* () {
147
147
  const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
148
- return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service78, credentials));
148
+ return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service73, credentials));
149
149
  })
150
150
  });
151
151
  }).pipe(Scope.provide(scope));
@@ -154,14 +154,14 @@ var layer14 = (options) => Layer.effect(Service35, Effect.gen(function* () {
154
154
  const name = ServerName2.make(server);
155
155
  const entry = entries.get(name);
156
156
  if (!entry)
157
- return yield* new NotFoundError4({ server: name });
157
+ return yield* new NotFoundError3({ server: name });
158
158
  return { name, entry };
159
159
  });
160
160
  const connectProvider = Effect.fnUntraced(function* (entry) {
161
161
  if (entry.config.type !== "remote" || !entry.integrationID)
162
162
  return;
163
163
  const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
164
- return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service78, credentials));
164
+ return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service73, credentials));
165
165
  });
166
166
  const elicitation = {
167
167
  create: (input) => Effect.gen(function* () {
@@ -269,7 +269,7 @@ var layer14 = (options) => Layer.effect(Service35, Effect.gen(function* () {
269
269
  entry.scope = scope;
270
270
  const authProvider = yield* connectProvider(entry);
271
271
  const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
272
- const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service64, environment), Scope.provide(scope));
272
+ const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service79, environment), Scope.provide(scope));
273
273
  const result = yield* (entry.config.type === "remote" ? endpointLoads.withLock(entry.config.url)(load) : load).pipe(Effect.exit);
274
274
  if (Exit.isSuccess(result)) {
275
275
  entry.client = result.value.connection;
@@ -394,7 +394,7 @@ var layer14 = (options) => Layer.effect(Service35, Effect.gen(function* () {
394
394
  yield* startServer(name, entry);
395
395
  }).pipe(locks.withLock(name));
396
396
  });
397
- fork(bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
397
+ fork(bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
398
398
  const state = create3({
399
399
  name: "mcp",
400
400
  initial: () => ({
@@ -420,7 +420,7 @@ var layer14 = (options) => Layer.effect(Service35, Effect.gen(function* () {
420
420
  }),
421
421
  notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
422
422
  });
423
- return Service35.of({
423
+ return Service32.of({
424
424
  transform: state.transform,
425
425
  reload: state.reload,
426
426
  servers: Effect.fn("MCP.servers")(function* () {
@@ -532,12 +532,12 @@ function mergeCatalogs(catalogs) {
532
532
  }
533
533
  function configured4(options) {
534
534
  return makeLocationNode({
535
- service: Service35,
536
- layer: layer14(options),
537
- deps: [node83, node66, node86, node81, node80, node82]
535
+ service: Service32,
536
+ layer: layer15(options),
537
+ deps: [node85, node82, node88, node78, node75, node76]
538
538
  });
539
539
  }
540
- var node38 = configured4();
540
+ var node36 = configured4();
541
541
  function toElicitationField(key, property, required) {
542
542
  const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
543
543
  const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
@@ -588,4 +588,4 @@ function toElicitationField(key, property, required) {
588
588
  }
589
589
  }
590
590
 
591
- export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError4, ToolCallError2, Service35, Options4, layer14, configured4, node38, exports_mcp4 };
591
+ export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError3, ToolCallError2, Service32, Options4, layer15, configured4, node36, exports_mcp4 };
@@ -1,66 +1,66 @@
1
1
  import {
2
- Service77
3
- } from "./agent-th3ytxdg.js";
2
+ Service75
3
+ } from "./location-service-map-z1a6nf3f.js";
4
4
  import {
5
- Service65
6
- } from "./agent-qbcjqvkm.js";
5
+ Service55
6
+ } from "./location-service-map-mh8n60fa.js";
7
7
  import {
8
- ID5,
8
+ ID3,
9
9
  Result2,
10
10
  ProviderRequiredError2,
11
11
  DisabledError2,
12
12
  RequestError2,
13
- Service48
14
- } from "./agent-sdnsagax.js";
13
+ Service20
14
+ } from "./location-service-map-q4aap459.js";
15
15
  import {
16
16
  __export
17
- } from "./agent-9rqn6x4v.js";
17
+ } from "./location-service-map-9rqn6x4v.js";
18
18
 
19
19
  // src/tool/plugin/websearch.ts
20
- var exports_websearch = {};
21
- __export(exports_websearch, {
22
- Input: () => Input7,
20
+ var exports_websearch2 = {};
21
+ __export(exports_websearch2, {
22
+ Input: () => Input4,
23
23
  NO_RESULTS: () => NO_RESULTS2,
24
- Plugin: () => Plugin25,
25
- WebSearchTool: () => exports_websearch,
26
- description: () => description5,
27
- name: () => name7
24
+ Plugin: () => Plugin39,
25
+ WebSearchTool: () => exports_websearch2,
26
+ description: () => description3,
27
+ name: () => name4
28
28
  });
29
29
  import { ToolFailure } from "@opencode/ai";
30
30
  import { Effect, Schema, Semaphore } from "effect";
31
31
  import { HttpClientError } from "effect/http";
32
- var name7 = "websearch";
32
+ var name4 = "websearch";
33
33
  var NO_RESULTS2 = "No search results found. Please try a different query.";
34
34
  var providerSelectionLock = Semaphore.makeUnsafe(1);
35
35
  var httpErrors = new Map([
36
36
  [429, "Web search rate limited (HTTP 429)"],
37
37
  [401, "Web search authentication failed (HTTP 401)"]
38
38
  ]);
39
- var description5 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
39
+ var description3 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
40
40
 
41
41
  The current year is ${new Date().getFullYear()}. Use this year when searching for recent information or current events.`;
42
- var Input7 = Schema.Struct({
42
+ var Input4 = Schema.Struct({
43
43
  query: Schema.String.annotate({ description: "Websearch query" })
44
44
  });
45
45
  var Output = Schema.Struct({
46
- provider: ID5,
46
+ provider: ID3,
47
47
  results: Schema.Array(Result2)
48
48
  });
49
- var Plugin25 = {
49
+ var Plugin39 = {
50
50
  id: "opencode.tool.websearch",
51
51
  effect: Effect.fn("WebSearchTool.Plugin")(function* (ctx) {
52
- const permission = yield* Service65;
53
- const forms = yield* Service77;
54
- const websearch = yield* Service48;
52
+ const permission = yield* Service55;
53
+ const forms = yield* Service75;
54
+ const websearch = yield* Service20;
55
55
  yield* ctx.tool.transform((editor) => editor.add({
56
- name: name7,
56
+ name: name4,
57
57
  options: { codemode: false },
58
- description: description5,
59
- input: Input7,
58
+ description: description3,
59
+ input: Input4,
60
60
  output: Output,
61
61
  execute: (input, context) => Effect.gen(function* () {
62
62
  yield* permission.assert({
63
- action: name7,
63
+ action: name4,
64
64
  resources: [input.query],
65
65
  save: ["*"],
66
66
  metadata: input,
@@ -176,7 +176,7 @@ ${result.content}` : ""}`;
176
176
  const hook = (event) => Effect.gen(function* () {
177
177
  const disabled = yield* websearch.default().pipe(Effect.as(false), Effect.catchTag("WebSearch.Disabled", () => Effect.succeed(true)));
178
178
  if (disabled)
179
- delete event.tools[name7];
179
+ delete event.tools[name4];
180
180
  });
181
181
  yield* ctx.session.hook("context", hook);
182
182
  yield* ctx.session.hook("compaction", hook);
@@ -184,4 +184,4 @@ ${result.content}` : ""}`;
184
184
  })
185
185
  };
186
186
 
187
- export { name7, NO_RESULTS2, description5, Input7, Plugin25, exports_websearch };
187
+ export { name4, NO_RESULTS2, description3, Input4, Plugin39, exports_websearch2 };
@@ -1,16 +1,16 @@
1
1
  import {
2
- Service65
3
- } from "./agent-qbcjqvkm.js";
2
+ Service55
3
+ } from "./location-service-map-mh8n60fa.js";
4
4
  import {
5
5
  MAX_MARKDOWN_BYTES2,
6
6
  convertHTMLToMarkdown2
7
- } from "./agent-4vcrnpx2.js";
7
+ } from "./location-service-map-4vcrnpx2.js";
8
8
  import {
9
9
  collectBoundedResponseBody2
10
- } from "./agent-3v8g72cx.js";
10
+ } from "./location-service-map-3v8g72cx.js";
11
11
  import {
12
12
  __export
13
- } from "./agent-9rqn6x4v.js";
13
+ } from "./location-service-map-9rqn6x4v.js";
14
14
 
15
15
  // src/tool/plugin/webfetch.ts
16
16
  var exports_webfetch = {};
@@ -19,10 +19,10 @@ __export(exports_webfetch, {
19
19
  Input: () => Input5,
20
20
  MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES3,
21
21
  MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
22
- Plugin: () => Plugin23,
22
+ Plugin: () => Plugin40,
23
23
  WebFetchTool: () => exports_webfetch,
24
24
  convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
25
- description: () => description3,
25
+ description: () => description4,
26
26
  extractTextFromHTML: () => extractTextFromHTML2,
27
27
  name: () => name5
28
28
  });
@@ -34,7 +34,7 @@ var name5 = "webfetch";
34
34
  var MAX_RESPONSE_BYTES3 = MAX_MARKDOWN_BYTES2;
35
35
  var DEFAULT_TIMEOUT_SECONDS2 = 30;
36
36
  var MAX_TIMEOUT_SECONDS2 = 120;
37
- var description3 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
37
+ var description4 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
38
38
 
39
39
  Use a more targeted tool when one is available. This tool is read-only. Large text results may be replaced with a preview while the complete output is retained in managed storage.`;
40
40
  var Timeout = Schema.Finite.check(Schema.isGreaterThan(0), Schema.isLessThanOrEqualTo(MAX_TIMEOUT_SECONDS2));
@@ -92,15 +92,15 @@ var convert = (content, contentType, format) => {
92
92
  return extractTextFromHTML2(content);
93
93
  return content;
94
94
  };
95
- var Plugin23 = {
95
+ var Plugin40 = {
96
96
  id: "opencode.tool.webfetch",
97
97
  effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
98
98
  const http = yield* HttpClient.HttpClient;
99
- const permission = yield* Service65;
99
+ const permission = yield* Service55;
100
100
  yield* ctx.tool.transform((editor) => editor.add({
101
101
  name: name5,
102
102
  options: { codemode: false },
103
- description: description3,
103
+ description: description4,
104
104
  input: Input5,
105
105
  output: Output,
106
106
  execute: (input, context) => Effect.gen(function* () {
@@ -167,4 +167,4 @@ function extractTextFromHTML2(html) {
167
167
  parser.end();
168
168
  return text.trim();
169
169
  }
170
- export { name5, MAX_RESPONSE_BYTES3, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description3, Input5, Plugin23, extractTextFromHTML2, exports_webfetch };
170
+ export { name5, MAX_RESPONSE_BYTES3, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description4, Input5, Plugin40, extractTextFromHTML2, exports_webfetch };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./agent-9rqn6x4v.js";
3
+ } from "./location-service-map-9rqn6x4v.js";
4
4
 
5
5
  // src/config/markdown.ts
6
6
  var exports_markdown = {};