@opencode/core 0.0.0-beta-19278 → 0.0.0-beta-19288

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 (779) 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 +67 -67
  7. package/dist/catalog.js +83 -83
  8. package/dist/chunks/{project-3dtfbbnv.js → location-02hgpx06.js} +7 -7
  9. package/dist/chunks/{project-ymdp8m11.js → location-07cpqq5c.js} +28 -28
  10. package/dist/chunks/{project-pnc9b5m6.js → location-0bzsvv4f.js} +11 -11
  11. package/dist/chunks/{project-d6cypdy5.js → location-0dh601sh.js} +9 -9
  12. package/dist/chunks/{project-hc9xewxz.js → location-0njzyrny.js} +25 -25
  13. package/dist/chunks/{project-0paq2nw3.js → location-0paq2nw3.js} +1 -1
  14. package/dist/chunks/{project-0q0f95c6.js → location-0q0f95c6.js} +1 -1
  15. package/dist/chunks/{project-84wz94gt.js → location-0yq2vxwx.js} +25 -25
  16. package/dist/chunks/{project-rd7hwmph.js → location-0zzhyfap.js} +11 -11
  17. package/dist/chunks/{project-1dazxqgg.js → location-1dazxqgg.js} +2 -2
  18. package/dist/chunks/{project-1dfhrqqs.js → location-1dfhrqqs.js} +2 -2
  19. package/dist/chunks/{project-wa6xq0j9.js → location-1hfsjvjf.js} +24 -24
  20. package/dist/chunks/{project-as6gj6jx.js → location-1kqd8z3g.js} +6 -6
  21. package/dist/chunks/location-1x11rq2a.js +18 -0
  22. package/dist/chunks/{project-8jtjdsme.js → location-1xnwpsdb.js} +26 -26
  23. package/dist/chunks/{project-21r38tys.js → location-21r38tys.js} +1 -1
  24. package/dist/chunks/{project-r8qn9tz0.js → location-22zgx542.js} +6 -6
  25. package/dist/chunks/{project-2402vzrj.js → location-2402vzrj.js} +1 -1
  26. package/dist/chunks/{project-ry1v2pfa.js → location-24xcqkxa.js} +8 -8
  27. package/dist/chunks/{project-027geym4.js → location-2699pam8.js} +27 -27
  28. package/dist/chunks/{project-tm9beczq.js → location-27xkhkzw.js} +22 -22
  29. package/dist/chunks/{project-2a5m3afh.js → location-2a5m3afh.js} +1 -1
  30. package/dist/chunks/{project-drdmq256.js → location-2dqf8fez.js} +4 -4
  31. package/dist/chunks/{project-e43fv40x.js → location-2erkhkk3.js} +33 -33
  32. package/dist/chunks/{project-nvxqht09.js → location-2f04pwep.js} +3 -3
  33. package/dist/chunks/{project-endcmcv4.js → location-2n69zwpj.js} +23 -23
  34. package/dist/chunks/{project-h9dgkh5z.js → location-2ydbzgba.js} +4 -4
  35. package/dist/chunks/{project-8r6bj34c.js → location-3280sxnm.js} +6 -6
  36. package/dist/chunks/{project-1ygqh575.js → location-33w4ejhs.js} +6 -6
  37. package/dist/chunks/{project-fhz301gp.js → location-34njjamc.js} +10 -10
  38. package/dist/chunks/{project-13weepf4.js → location-37hegrs4.js} +13 -13
  39. package/dist/chunks/{project-bqcj21xz.js → location-39gsfx95.js} +24 -24
  40. package/dist/chunks/{project-bcn5dnkb.js → location-3cxp5vcp.js} +4 -4
  41. package/dist/chunks/{project-3fc6dm20.js → location-3fc6dm20.js} +1 -1
  42. package/dist/chunks/{project-3hepkmqq.js → location-3hepkmqq.js} +1 -1
  43. package/dist/chunks/{project-ksz0h0wp.js → location-3rran09x.js} +1 -1
  44. package/dist/chunks/{project-fygdb7h7.js → location-3rx2nwvc.js} +3 -3
  45. package/dist/chunks/{project-3smtnn6g.js → location-3smtnn6g.js} +1 -1
  46. package/dist/chunks/{project-3tvqynh2.js → location-3tvqynh2.js} +1 -1
  47. package/dist/chunks/{project-30wjqkww.js → location-3v0ddjaj.js} +11 -11
  48. package/dist/chunks/{project-j76wc2xt.js → location-3xt2dn0n.js} +9 -9
  49. package/dist/chunks/{project-5b46j773.js → location-41jkd1br.js} +24 -24
  50. package/dist/chunks/{project-vdgebjhh.js → location-4ctep4ed.js} +16 -16
  51. package/dist/chunks/{project-ff0htmxq.js → location-4m2pmvxz.js} +6 -6
  52. package/dist/chunks/{project-gykabrhp.js → location-4n03wa3j.js} +33 -33
  53. package/dist/chunks/{project-f70c5qx7.js → location-4ycpd48q.js} +11 -11
  54. package/dist/chunks/{project-51e3a5p7.js → location-51e3a5p7.js} +2 -2
  55. package/dist/chunks/{project-gn2hfjap.js → location-5892jdtn.js} +8 -8
  56. package/dist/chunks/{project-6jmh5c9g.js → location-59m3ejf3.js} +11 -11
  57. package/dist/chunks/{project-5daktx2q.js → location-5daktx2q.js} +1 -1
  58. package/dist/chunks/{project-j17absjw.js → location-5dgmpcyt.js} +18 -18
  59. package/dist/chunks/{project-c7qmhs35.js → location-5h99c1kf.js} +6 -6
  60. package/dist/chunks/{project-qp3v07n2.js → location-5kw0n2ma.js} +8 -8
  61. package/dist/chunks/{project-5t3nmthw.js → location-5t3nmthw.js} +2 -2
  62. package/dist/chunks/{project-5ykeyche.js → location-61f9xf4r.js} +5 -5
  63. package/dist/chunks/{project-669tq793.js → location-669tq793.js} +1 -1
  64. package/dist/chunks/{project-dx2tbdwn.js → location-66sq9ze3.js} +26 -26
  65. package/dist/chunks/{project-8wm8yswe.js → location-6cd6tdvt.js} +6 -6
  66. package/dist/chunks/{project-2er49d5v.js → location-6h508dp1.js} +17 -17
  67. package/dist/chunks/{project-6msgmcgs.js → location-6msgmcgs.js} +1 -1
  68. package/dist/chunks/{project-h4jnxhkz.js → location-6qr3rp4k.js} +6 -6
  69. package/dist/chunks/{project-4t3kg1n6.js → location-6wfj5a9a.js} +6 -6
  70. package/dist/chunks/{project-2ekntkva.js → location-6xkqp8dp.js} +10 -10
  71. package/dist/chunks/{project-yqt70mwr.js → location-6y8723ne.js} +26 -26
  72. package/dist/chunks/{project-jem476zw.js → location-6zyexpsp.js} +13 -13
  73. package/dist/chunks/{project-71q4at8m.js → location-71q4at8m.js} +1 -1
  74. package/dist/chunks/{project-b2fkw21j.js → location-77vyn52g.js} +25 -25
  75. package/dist/chunks/{project-7bmhse3q.js → location-7bmhse3q.js} +1 -1
  76. package/dist/chunks/{project-mmxjhrgn.js → location-7ny1t5fr.js} +24 -24
  77. package/dist/chunks/{project-m27pyyd3.js → location-7ny3kv6n.js} +8 -8
  78. package/dist/chunks/{project-5nqmcer4.js → location-7w1wksne.js} +4 -4
  79. package/dist/chunks/{project-rr27b465.js → location-7wpt1821.js} +13 -13
  80. package/dist/chunks/{project-zh7q37t8.js → location-7x5129vx.js} +12 -12
  81. package/dist/chunks/{project-72cmdp6g.js → location-7zfdt07m.js} +10 -10
  82. package/dist/chunks/{project-gr12maw1.js → location-7zmb2mwr.js} +5 -5
  83. package/dist/chunks/{project-1ezn0t51.js → location-81c9b8hz.js} +4 -4
  84. package/dist/chunks/{project-v33xfvcj.js → location-81swgkk7.js} +9 -9
  85. package/dist/chunks/{project-8d7r5vzw.js → location-8d7r5vzw.js} +1 -1
  86. package/dist/chunks/{project-q1290kd6.js → location-8dr2m966.js} +9 -9
  87. package/dist/chunks/{project-dj2t23y0.js → location-8p4f9s12.js} +2 -2
  88. package/dist/chunks/{project-qmt7w6hr.js → location-8pa9qqqg.js} +16 -16
  89. package/dist/chunks/{project-e30j1gg8.js → location-8t891vs4.js} +11 -11
  90. package/dist/chunks/{project-2ga1wswe.js → location-95c54xjs.js} +41 -41
  91. package/dist/chunks/{project-m7getmd9.js → location-9enfn6ca.js} +61 -61
  92. package/dist/chunks/{project-djzy5cyb.js → location-9g2mmtg8.js} +22 -22
  93. package/dist/chunks/{project-fgh0kbhd.js → location-9h3amn4q.js} +1 -1
  94. package/dist/chunks/{project-k4zk1pey.js → location-9jbrb7s7.js} +17 -17
  95. package/dist/chunks/{project-cksygnyb.js → location-9k0trt10.js} +11 -11
  96. package/dist/chunks/{project-4xw5r8dm.js → location-9k1y1b4w.js} +6 -6
  97. package/dist/chunks/{project-sakpmmn5.js → location-9tk4atd8.js} +13 -13
  98. package/dist/chunks/{project-mfb27c90.js → location-9zb490gy.js} +7 -7
  99. package/dist/chunks/{project-5c4hm403.js → location-a1bz86dw.js} +3 -3
  100. package/dist/chunks/{project-vnwzej4v.js → location-a1qbdnb3.js} +82 -82
  101. package/dist/chunks/{project-wv9ccret.js → location-a1z1dycg.js} +23 -23
  102. package/dist/chunks/{project-aaet6srn.js → location-aaet6srn.js} +2 -2
  103. package/dist/chunks/{project-09bvnwrm.js → location-ac0cyhm9.js} +43 -43
  104. package/dist/chunks/{project-kne8f3cn.js → location-afdssyjb.js} +4 -4
  105. package/dist/chunks/{project-7bg4t14r.js → location-akj0j9h5.js} +2 -2
  106. package/dist/chunks/{project-swctkwxd.js → location-ap0kd4ae.js} +15 -15
  107. package/dist/chunks/{project-43k15f45.js → location-apys6pqf.js} +4 -4
  108. package/dist/chunks/{project-819m2fyr.js → location-astwgj0c.js} +11 -11
  109. package/dist/chunks/{project-hdvn1z9e.js → location-at3ax2rg.js} +16 -16
  110. package/dist/chunks/{project-kk6hqvx2.js → location-atdh1fr1.js} +28 -28
  111. package/dist/chunks/{project-51tzyhx5.js → location-av62z334.js} +35 -35
  112. package/dist/chunks/{project-b6gygkdw.js → location-b6gygkdw.js} +2 -2
  113. package/dist/chunks/{project-yz665w9a.js → location-barpv3dv.js} +24 -24
  114. package/dist/chunks/{project-jxa7e7w5.js → location-bbd53drz.js} +165 -165
  115. package/dist/chunks/{project-jte1t19p.js → location-bbwyhmbr.js} +14 -14
  116. package/dist/chunks/{project-mc8q7c69.js → location-bgeh6wn9.js} +17 -17
  117. package/dist/chunks/{project-gnx4ytbv.js → location-bha4atvq.js} +4 -4
  118. package/dist/chunks/{project-vxcq4j7n.js → location-bjyyddbn.js} +11 -11
  119. package/dist/chunks/{project-prsdv4b2.js → location-bw60cda1.js} +35 -35
  120. package/dist/chunks/location-cbzcwh25.js +22 -0
  121. package/dist/chunks/{project-f8q7mv7a.js → location-cek2cznd.js} +1 -1
  122. package/dist/chunks/{project-m0jqrx5p.js → location-cfpkc3c9.js} +2 -2
  123. package/dist/chunks/{project-m6h2rqwk.js → location-cy6spc12.js} +7 -7
  124. package/dist/chunks/{project-pk7h5ckr.js → location-d2412gps.js} +18 -18
  125. package/dist/chunks/{project-y53ps50f.js → location-d36y1n73.js} +12 -12
  126. package/dist/chunks/{project-h1w0e5zb.js → location-d5hy5d1s.js} +3 -3
  127. package/dist/chunks/{project-ss9zsf3v.js → location-d6x20h48.js} +38 -38
  128. package/dist/chunks/{project-sbk6mfjb.js → location-dc76j9wz.js} +8 -8
  129. package/dist/chunks/{project-n37c4crj.js → location-depwzj9d.js} +9 -9
  130. package/dist/chunks/{project-tm0edggk.js → location-dj7v5w9k.js} +4 -4
  131. package/dist/chunks/{project-1awm1f41.js → location-djxjwwc9.js} +12 -12
  132. package/dist/chunks/{project-s1angysq.js → location-dsd22mfz.js} +3 -3
  133. package/dist/chunks/{project-nb4tc1st.js → location-dt587sme.js} +28 -28
  134. package/dist/chunks/{project-vxx8gf98.js → location-dtyxkw1z.js} +24 -24
  135. package/dist/chunks/{project-nca7p386.js → location-dwvzh0g2.js} +6 -6
  136. package/dist/chunks/{project-1tyfraxr.js → location-e328z05c.js} +14 -14
  137. package/dist/chunks/{project-a08t2777.js → location-e46r4s3c.js} +11 -11
  138. package/dist/chunks/{project-eaj1djv9.js → location-eaj1djv9.js} +1 -1
  139. package/dist/chunks/{project-xjemz1cz.js → location-eb6ejpsy.js} +20 -20
  140. package/dist/chunks/{project-vx993qx3.js → location-ejcg2d9c.js} +18 -18
  141. package/dist/chunks/{project-cvyappcd.js → location-essgt512.js} +82 -82
  142. package/dist/chunks/{project-etq0c3wd.js → location-etq0c3wd.js} +1 -1
  143. package/dist/chunks/{project-8mjrrxm6.js → location-f3wm46p4.js} +10 -10
  144. package/dist/chunks/{project-hdnk95c8.js → location-f828m53h.js} +2 -2
  145. package/dist/chunks/{project-n76fdqym.js → location-fmxbrafm.js} +5 -5
  146. package/dist/chunks/{project-2ehqxkpw.js → location-fvz0rdtn.js} +12 -12
  147. package/dist/chunks/{project-q5tpj0kh.js → location-fw0f0qsw.js} +46 -46
  148. package/dist/chunks/{project-fxbjtjnd.js → location-fxbjtjnd.js} +1 -1
  149. package/dist/chunks/{project-s7cxktgw.js → location-fzhxzx5q.js} +21 -21
  150. package/dist/chunks/{project-axmvebxj.js → location-g190xswt.js} +21 -21
  151. package/dist/chunks/{project-e6z3r01t.js → location-g72gjvtz.js} +8 -8
  152. package/dist/chunks/{project-b27vhd2z.js → location-g8d3gcyj.js} +7 -7
  153. package/dist/chunks/{project-gd4qta3r.js → location-gd4qta3r.js} +1 -1
  154. package/dist/chunks/{project-t61k8twr.js → location-gj6r9tb3.js} +8 -8
  155. package/dist/chunks/{project-0mr65q2h.js → location-grrcjh3r.js} +9 -9
  156. package/dist/chunks/{project-h7ygw6q4.js → location-gsx0ryk4.js} +9 -9
  157. package/dist/chunks/{project-gv6a8nnw.js → location-gv6a8nnw.js} +2 -2
  158. package/dist/chunks/{project-2sy09y68.js → location-gwzbkwjt.js} +17 -17
  159. package/dist/chunks/{project-9495k3mj.js → location-gxbbas38.js} +16 -16
  160. package/dist/chunks/{project-ykfxwqmv.js → location-gxq3v17r.js} +15 -15
  161. package/dist/chunks/{project-f32czd11.js → location-gxr1dr9e.js} +11 -11
  162. package/dist/chunks/{project-h03wrkyp.js → location-h03wrkyp.js} +2 -2
  163. package/dist/chunks/{project-h6vf3j39.js → location-h6vf3j39.js} +1 -1
  164. package/dist/chunks/{project-phzb6rq6.js → location-h9kgsp7e.js} +28 -28
  165. package/dist/chunks/{project-ctmfyf3j.js → location-hapt17z5.js} +27 -27
  166. package/dist/chunks/{project-zhxw6mnd.js → location-hnbxh1ec.js} +2 -2
  167. package/dist/chunks/{project-j56e64zr.js → location-j56e64zr.js} +1 -1
  168. package/dist/chunks/{project-kv84k9wf.js → location-jefma2gq.js} +10 -10
  169. package/dist/chunks/{project-qgh4s17a.js → location-jjmq01nn.js} +36 -36
  170. package/dist/chunks/{project-b3zxthpz.js → location-jp8bt662.js} +20 -20
  171. package/dist/chunks/{project-vdnmb5h5.js → location-jwye7syw.js} +9 -9
  172. package/dist/chunks/{project-h39c7km2.js → location-jzx475sk.js} +55 -55
  173. package/dist/chunks/{project-92g4te2e.js → location-k1e9d5er.js} +13 -13
  174. package/dist/chunks/{project-gc48s5ez.js → location-k74qewf5.js} +19 -19
  175. package/dist/chunks/{project-k3aec3va.js → location-k7d0894y.js} +9 -9
  176. package/dist/chunks/{project-kg06axw8.js → location-kg06axw8.js} +1 -1
  177. package/dist/chunks/{project-tfngb0ww.js → location-kkcepbrv.js} +4 -4
  178. package/dist/chunks/{project-j7vv7h2p.js → location-kkedg04s.js} +11 -11
  179. package/dist/chunks/{project-jmm2s19w.js → location-kqrx6mz9.js} +33 -33
  180. package/dist/chunks/{project-vj3jbsbe.js → location-m3g1yjqx.js} +18 -18
  181. package/dist/chunks/{project-k16ay38w.js → location-m43qeqsy.js} +1 -1
  182. package/dist/chunks/{project-m9w0rfyh.js → location-m9w0rfyh.js} +1 -1
  183. package/dist/chunks/{project-xdckn6ya.js → location-mgcrt4av.js} +41 -41
  184. package/dist/chunks/{project-1bbkgx8g.js → location-mhkvc446.js} +3 -3
  185. package/dist/chunks/{project-mkcjrzeh.js → location-mkcjrzeh.js} +1 -1
  186. package/dist/chunks/{project-86gp7mh5.js → location-mmx9f08p.js} +41 -41
  187. package/dist/chunks/{project-7bspjkrj.js → location-n2qrf0kt.js} +43 -43
  188. package/dist/chunks/{project-acrqcsaw.js → location-nc09bz1g.js} +32 -32
  189. package/dist/chunks/{project-96yt6zt0.js → location-nc3fjawf.js} +1 -1
  190. package/dist/chunks/{project-nhy5jxhy.js → location-nhy5jxhy.js} +1 -1
  191. package/dist/chunks/{project-kzvekf0w.js → location-nmxf6tf3.js} +21 -21
  192. package/dist/chunks/{project-n21ydmp7.js → location-nrg6p0d7.js} +24 -24
  193. package/dist/chunks/{project-y9ktt6kr.js → location-nty3ym86.js} +5 -5
  194. package/dist/chunks/{project-q0bpc06z.js → location-nvpsz6mb.js} +1 -1
  195. package/dist/chunks/{project-vmaj1q0b.js → location-nxts4mre.js} +20 -20
  196. package/dist/chunks/{project-2e8stk25.js → location-nzwad44m.js} +292 -292
  197. package/dist/chunks/{project-gn9xne58.js → location-p2fyd12k.js} +22 -22
  198. package/dist/chunks/{project-avm8jn6n.js → location-p44d8wdy.js} +5 -5
  199. package/dist/chunks/{project-62qy00sv.js → location-p72z5xx6.js} +2 -2
  200. package/dist/chunks/{project-srrqt7rk.js → location-p7tj0pd3.js} +15 -15
  201. package/dist/chunks/{project-v25jqm1t.js → location-p8vbaxe4.js} +26 -26
  202. package/dist/chunks/{project-j935v87r.js → location-paphc93g.js} +2 -2
  203. package/dist/chunks/{project-dcxvb2gw.js → location-pg1rtztb.js} +35 -35
  204. package/dist/chunks/{project-ynyckyng.js → location-ph9kp892.js} +5 -5
  205. package/dist/chunks/{project-pjvnvgmy.js → location-pjvnvgmy.js} +1 -1
  206. package/dist/chunks/{project-pknna89w.js → location-pknna89w.js} +1 -1
  207. package/dist/chunks/{project-t10zzpzb.js → location-q221t5h0.js} +9 -9
  208. package/dist/chunks/{project-q26tgv94.js → location-q26tgv94.js} +1 -1
  209. package/dist/chunks/{project-wzrzwyda.js → location-q3m96704.js} +24 -24
  210. package/dist/chunks/{project-wncagjbn.js → location-q636n16a.js} +41 -41
  211. package/dist/chunks/{project-1jfm9dfr.js → location-qa467n4w.js} +3 -3
  212. package/dist/chunks/{project-0x0q0z21.js → location-qfrw2mns.js} +17 -17
  213. package/dist/chunks/{project-7dqw4kz8.js → location-qgn6gcr1.js} +5 -5
  214. package/dist/chunks/{project-n59hvazh.js → location-qgzeej5c.js} +5 -5
  215. package/dist/chunks/{project-qsdy395h.js → location-qsdy395h.js} +1 -1
  216. package/dist/chunks/{project-p0eb35gv.js → location-qy2vc8de.js} +11 -11
  217. package/dist/chunks/{project-10edwj7x.js → location-r5paa9gw.js} +13 -13
  218. package/dist/chunks/{project-khz9dh7n.js → location-r6yj4sg3.js} +9 -9
  219. package/dist/chunks/{project-sy03ybs5.js → location-r8a1vay2.js} +9 -9
  220. package/dist/chunks/{project-yp2x3t23.js → location-r8xr0va3.js} +4 -4
  221. package/dist/chunks/{project-gx1zhcta.js → location-rfnzy394.js} +1 -1
  222. package/dist/chunks/{project-rdcaty2e.js → location-rqay9ghw.js} +24 -24
  223. package/dist/chunks/{project-932tnxz1.js → location-s7pvzq3g.js} +20 -20
  224. package/dist/chunks/{project-zrz3bzz3.js → location-sm589ezq.js} +32 -32
  225. package/dist/chunks/{project-r98e92ep.js → location-sx1n432n.js} +4 -4
  226. package/dist/chunks/{project-tn0aqsam.js → location-t0fxg8b9.js} +5 -5
  227. package/dist/chunks/{project-gfqzzqy5.js → location-t0x5rdq8.js} +9 -9
  228. package/dist/chunks/{project-y0zapfev.js → location-t21qt4wp.js} +8 -8
  229. package/dist/chunks/{project-fp1knm32.js → location-t2y4ag3j.js} +16 -16
  230. package/dist/chunks/{project-7150tr69.js → location-t45krj2e.js} +9 -9
  231. package/dist/chunks/{project-ghx2em0z.js → location-t4a9fvmm.js} +20 -20
  232. package/dist/chunks/{project-yzaj2zf7.js → location-t6dzybgg.js} +14 -14
  233. package/dist/chunks/{project-x1xcpfha.js → location-t97t2t7r.js} +7 -7
  234. package/dist/chunks/{project-tazgh4e4.js → location-tazgh4e4.js} +1 -1
  235. package/dist/chunks/{project-tcezcvh9.js → location-tcezcvh9.js} +1 -1
  236. package/dist/chunks/{project-sm4sqa5b.js → location-td52w80p.js} +18 -18
  237. package/dist/chunks/{project-tdstcens.js → location-tdstcens.js} +1 -1
  238. package/dist/chunks/{project-6sfrn00q.js → location-th0feps4.js} +11 -11
  239. package/dist/chunks/{project-tvtrv512.js → location-tvtrv512.js} +1 -1
  240. package/dist/chunks/{project-rea82nnp.js → location-tz2p0jnc.js} +59 -59
  241. package/dist/chunks/{project-n4d3y0nm.js → location-v3xga481.js} +9 -9
  242. package/dist/chunks/{project-epajpt77.js → location-v4p0vwen.js} +14 -14
  243. package/dist/chunks/{project-56qyepyq.js → location-v74jsawt.js} +32 -32
  244. package/dist/chunks/{project-43xem47a.js → location-v75cpdd6.js} +15 -15
  245. package/dist/chunks/{project-veqvce7d.js → location-veqvce7d.js} +1 -1
  246. package/dist/chunks/{project-8yk1fhag.js → location-vjv4gnc9.js} +20 -20
  247. package/dist/chunks/{project-hjzewyz6.js → location-vma08mpn.js} +16 -16
  248. package/dist/chunks/{project-jcmb94gz.js → location-vqkn863g.js} +28 -28
  249. package/dist/chunks/{project-17gqxarq.js → location-vt07bx5r.js} +8 -8
  250. package/dist/chunks/{project-6vq97qmv.js → location-vxp3kcg3.js} +5 -5
  251. package/dist/chunks/{project-vzcthcp8.js → location-vzcthcp8.js} +1 -1
  252. package/dist/chunks/{project-64kphnzf.js → location-w1k39n5e.js} +4 -4
  253. package/dist/chunks/{project-w3wsvvr9.js → location-w3wsvvr9.js} +1 -1
  254. package/dist/chunks/{project-7ebn0nc0.js → location-w4arg62q.js} +6 -6
  255. package/dist/chunks/{project-d6aefva6.js → location-w54brc8f.js} +7 -7
  256. package/dist/chunks/location-w6mxp700.js +247 -0
  257. package/dist/chunks/{project-wd87259q.js → location-wd87259q.js} +1 -1
  258. package/dist/chunks/{project-r9babyk8.js → location-wyam1r5m.js} +1 -1
  259. package/dist/chunks/{project-dfcnm7e4.js → location-x1aqk77e.js} +10 -10
  260. package/dist/chunks/{project-x1ezjp6w.js → location-x1ezjp6w.js} +1 -1
  261. package/dist/chunks/{project-x43y2vfs.js → location-x43y2vfs.js} +2 -2
  262. package/dist/chunks/{project-jr5gwc1n.js → location-x7728wc6.js} +27 -27
  263. package/dist/chunks/{project-70xwxnv0.js → location-x8pfpgt4.js} +9 -9
  264. package/dist/chunks/{project-3rv0aqry.js → location-xgcvvaqd.js} +4 -4
  265. package/dist/chunks/{project-d8t3pxs6.js → location-xhg80140.js} +19 -19
  266. package/dist/chunks/{project-qgn1mnrt.js → location-xpbp2ggf.js} +19 -19
  267. package/dist/chunks/{project-hwsy4xhf.js → location-xtbntpkm.js} +7 -7
  268. package/dist/chunks/{project-z69s9t6b.js → location-xvs1sa11.js} +5 -5
  269. package/dist/chunks/{project-2evyaa68.js → location-xwwz9aqf.js} +4 -4
  270. package/dist/chunks/{project-a9ctzdev.js → location-xywxz97c.js} +6 -6
  271. package/dist/chunks/{project-y1fvbwt7.js → location-y1fvbwt7.js} +1 -1
  272. package/dist/chunks/{project-h78fqkj7.js → location-y6498y89.js} +20 -20
  273. package/dist/chunks/{project-dpkg50ah.js → location-y71avatq.js} +4 -4
  274. package/dist/chunks/{project-7dfyzsb9.js → location-ydpmm19b.js} +16 -16
  275. package/dist/chunks/{project-kbfpxq7g.js → location-yg5x8fk4.js} +12 -12
  276. package/dist/chunks/{project-jv01nqvq.js → location-yjptyezs.js} +5 -5
  277. package/dist/chunks/{project-yrhqyw5v.js → location-yrhqyw5v.js} +1 -1
  278. package/dist/chunks/{project-s4enseaf.js → location-yrznvahk.js} +2 -2
  279. package/dist/chunks/{project-m60zcb18.js → location-yzcb4rs3.js} +9 -9
  280. package/dist/chunks/{project-z0bkrqjs.js → location-z0bkrqjs.js} +1 -1
  281. package/dist/chunks/{project-29x78va6.js → location-z63w68vq.js} +6 -6
  282. package/dist/chunks/{project-jtv49rer.js → location-zb0kem16.js} +27 -27
  283. package/dist/chunks/{project-zeh9ct20.js → location-zeh9ct20.js} +2 -2
  284. package/dist/chunks/{project-cgj7rfmq.js → location-zkt8qzze.js} +35 -35
  285. package/dist/chunks/{project-zr2ceqn5.js → location-zr2ceqn5.js} +1 -1
  286. package/dist/chunks/{project-ctr5k99x.js → location-ztj8pse5.js} +15 -15
  287. package/dist/chunks/{project-zxq2ej10.js → location-zxq2ej10.js} +1 -1
  288. package/dist/codemode/catalog.js +1 -1
  289. package/dist/codemode/instructions.js +5 -5
  290. package/dist/codemode/tool.js +2 -2
  291. package/dist/command.js +81 -81
  292. package/dist/config/discovery.js +77 -77
  293. package/dist/config/markdown.js +1 -1
  294. package/dist/config/normalize.js +19 -19
  295. package/dist/config/plugin/agent.js +115 -115
  296. package/dist/config/plugin/command.js +207 -207
  297. package/dist/config/plugin/compaction.js +155 -155
  298. package/dist/config/plugin/entry-observer.js +1 -1
  299. package/dist/config/plugin/formatter.js +117 -117
  300. package/dist/config/plugin/image.js +115 -115
  301. package/dist/config/plugin/instruction.js +85 -85
  302. package/dist/config/plugin/location-watcher.js +117 -117
  303. package/dist/config/plugin/mcp.js +124 -124
  304. package/dist/config/plugin/policy.js +114 -114
  305. package/dist/config/plugin/provider.js +113 -113
  306. package/dist/config/plugin/reference.js +117 -117
  307. package/dist/config/plugin/shell.js +116 -116
  308. package/dist/config/plugin/skill-file.js +97 -97
  309. package/dist/config/plugin/skill.js +134 -134
  310. package/dist/config/plugin/snapshot.js +115 -115
  311. package/dist/config/plugin/source.js +117 -117
  312. package/dist/config/plugin/tool-output.js +117 -117
  313. package/dist/config/plugin/websearch.js +113 -113
  314. package/dist/config/plugin/worktree.js +118 -118
  315. package/dist/config/variable.js +3 -3
  316. package/dist/config/watch.js +1 -1
  317. package/dist/config.js +117 -117
  318. package/dist/credential/sql.js +2 -2
  319. package/dist/credential.js +81 -81
  320. package/dist/database/database.js +64 -64
  321. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  322. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  323. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  324. package/dist/database/drizzle/index.js +15 -15
  325. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  327. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  328. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  329. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  330. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  335. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  336. package/dist/database/drizzle.js +16 -16
  337. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  338. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  339. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  340. package/dist/database/migration/20260225215848_workspace.js +1 -1
  341. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  342. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  343. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  344. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  345. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  346. package/dist/database/migration/20260323234822_events.js +1 -1
  347. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  348. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  349. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  350. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  351. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  352. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  353. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  354. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  355. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  356. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  357. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  358. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  359. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  360. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  361. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  362. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  363. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  364. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  365. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  366. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  367. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  368. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  369. package/dist/database/migration/20260611035744_credential.js +1 -1
  370. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  371. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  372. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  373. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  374. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  375. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  376. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  377. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  378. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  379. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  380. package/dist/database/migration/20260812213948_worktree.js +1 -1
  381. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  382. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  383. package/dist/database/migration.gen.js +47 -47
  384. package/dist/database/migration.js +49 -49
  385. package/dist/database/path.js +2 -2
  386. package/dist/database/schema.gen.js +1 -1
  387. package/dist/database/schema.sql.js +1 -1
  388. package/dist/database/sqlite.bun.js +1 -1
  389. package/dist/database/sqlite.js +1 -1
  390. package/dist/database/sqlite.node.js +1 -1
  391. package/dist/database/sqlite.workerd.js +1 -1
  392. package/dist/database/v1-migration.bun.js +74 -74
  393. package/dist/database/v1-migration.js +1 -1
  394. package/dist/effect/app-node-builder.js +361 -361
  395. package/dist/effect/app-node-platform.js +2 -2
  396. package/dist/effect/keyed-mutex.js +3 -3
  397. package/dist/effect/websocket-constructor.js +1 -1
  398. package/dist/environment/driver.js +1 -1
  399. package/dist/environment/environment.js +88 -88
  400. package/dist/environment/exec-defaults.js +2 -2
  401. package/dist/environment/files.js +1 -1
  402. package/dist/environment/index.js +90 -90
  403. package/dist/environment/local.js +2 -2
  404. package/dist/environment/memory.js +2 -2
  405. package/dist/environment/unavailable.js +1 -1
  406. package/dist/event/sql.js +1 -1
  407. package/dist/event-logger.js +68 -68
  408. package/dist/file-access.js +99 -99
  409. package/dist/file-mutation.js +89 -89
  410. package/dist/file-retention.js +1 -1
  411. package/dist/file.js +1 -1
  412. package/dist/filesystem/fff.bun.js +2 -2
  413. package/dist/filesystem/fff.js +1 -1
  414. package/dist/filesystem/fff.node.js +2 -2
  415. package/dist/filesystem/fff.workerd.js +2 -2
  416. package/dist/filesystem/ignore.js +1 -1
  417. package/dist/filesystem/location-watcher-policy.js +6 -6
  418. package/dist/filesystem/location-watcher.js +222 -222
  419. package/dist/filesystem/protected.js +1 -1
  420. package/dist/filesystem/search.js +93 -93
  421. package/dist/filesystem/watcher-binding.js +3 -3
  422. package/dist/filesystem/watcher.js +11 -11
  423. package/dist/filesystem.js +96 -96
  424. package/dist/form.js +84 -84
  425. package/dist/formatter/builtins.js +4 -4
  426. package/dist/formatter.js +82 -82
  427. package/dist/generate.js +91 -91
  428. package/dist/git.js +7 -7
  429. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  430. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  431. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  432. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  433. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  434. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  435. package/dist/github-copilot/copilot-provider.js +17 -17
  436. package/dist/github-copilot/models.js +3 -3
  437. package/dist/github-copilot/openai-compatible-error.js +1 -1
  438. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  439. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  440. package/dist/github-copilot/responses/openai-error.js +1 -1
  441. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  442. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  443. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  444. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  445. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  446. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  447. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  448. package/dist/id/id.js +1 -1
  449. package/dist/image/photon.js +2 -2
  450. package/dist/image.js +6 -6
  451. package/dist/instance/service.js +5 -5
  452. package/dist/instance.js +352 -352
  453. package/dist/instruction-discovery.js +81 -81
  454. package/dist/instructions/builtins.js +82 -82
  455. package/dist/instructions/index.js +1 -1
  456. package/dist/integration/connection.js +1 -1
  457. package/dist/integration.js +84 -84
  458. package/dist/job.js +77 -77
  459. package/dist/kv/sql.js +2 -2
  460. package/dist/kv.js +71 -71
  461. package/dist/location-activity.js +128 -128
  462. package/dist/location-mutation.js +99 -99
  463. package/dist/location-service-map.js +81 -81
  464. package/dist/location-services.js +349 -349
  465. package/dist/location.js +84 -84
  466. package/dist/mcp/client.js +86 -86
  467. package/dist/mcp/index.js +93 -93
  468. package/dist/mcp/instructions.js +122 -122
  469. package/dist/mcp/oauth.js +3 -3
  470. package/dist/mcp/stdio.js +85 -85
  471. package/dist/mime.js +1 -1
  472. package/dist/modal/models.js +3 -3
  473. package/dist/model-resolver.js +86 -86
  474. package/dist/model.js +8 -8
  475. package/dist/models-dev.js +80 -80
  476. package/dist/oauth/page.js +1 -1
  477. package/dist/permission/saved.js +78 -78
  478. package/dist/permission/sql.js +5 -5
  479. package/dist/permission.js +112 -112
  480. package/dist/persistent-pty/binary.bun.js +1 -1
  481. package/dist/persistent-pty/daemon.js +1 -1
  482. package/dist/persistent-pty/index.js +80 -80
  483. package/dist/persistent-pty/pty-binding.js +1 -1
  484. package/dist/persistent-pty.js +73 -73
  485. package/dist/plugin/agent.js +97 -97
  486. package/dist/plugin/command.js +94 -94
  487. package/dist/plugin/hooks.js +5 -5
  488. package/dist/plugin/host.js +213 -213
  489. package/dist/plugin/instance.js +1 -1
  490. package/dist/plugin/internal.js +323 -323
  491. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  492. package/dist/plugin/models-dev.js +75 -75
  493. package/dist/plugin/module.js +5 -5
  494. package/dist/plugin/optimize.js +2 -2
  495. package/dist/plugin/plan.js +97 -97
  496. package/dist/plugin/promise.js +1 -1
  497. package/dist/plugin/provider/alibaba.js +2 -2
  498. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  499. package/dist/plugin/provider/anthropic.js +2 -2
  500. package/dist/plugin/provider/azure.js +118 -118
  501. package/dist/plugin/provider/cerebras.js +2 -2
  502. package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
  503. package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
  504. package/dist/plugin/provider/cohere.js +2 -2
  505. package/dist/plugin/provider/configured.js +114 -114
  506. package/dist/plugin/provider/digitalocean.js +79 -79
  507. package/dist/plugin/provider/dynamic.js +2 -2
  508. package/dist/plugin/provider/factory.js +1 -1
  509. package/dist/plugin/provider/gateway.js +2 -2
  510. package/dist/plugin/provider/github-copilot.js +80 -80
  511. package/dist/plugin/provider/gitlab.js +3 -3
  512. package/dist/plugin/provider/google-vertex.js +2 -2
  513. package/dist/plugin/provider/kilo.js +2 -2
  514. package/dist/plugin/provider/llmgateway.js +76 -76
  515. package/dist/plugin/provider/lmstudio.js +117 -117
  516. package/dist/plugin/provider/mistral.js +2 -2
  517. package/dist/plugin/provider/modal.js +79 -79
  518. package/dist/plugin/provider/nvidia.js +2 -2
  519. package/dist/plugin/provider/ollama.js +117 -117
  520. package/dist/plugin/provider/openai-compatible.js +1 -1
  521. package/dist/plugin/provider/openai.js +78 -78
  522. package/dist/plugin/provider/opencode.js +76 -76
  523. package/dist/plugin/provider/openrouter.js +3 -3
  524. package/dist/plugin/provider/perplexity.js +2 -2
  525. package/dist/plugin/provider/sap-ai-core.js +3 -3
  526. package/dist/plugin/provider/sdk-factory.js +1 -1
  527. package/dist/plugin/provider/snowflake-cortex.js +2 -2
  528. package/dist/plugin/provider/venice.js +2 -2
  529. package/dist/plugin/provider/vercel.js +2 -2
  530. package/dist/plugin/provider/vllm.js +115 -115
  531. package/dist/plugin/provider/xai.js +77 -77
  532. package/dist/plugin/provider/zenmux.js +2 -2
  533. package/dist/plugin/provider.js +156 -156
  534. package/dist/plugin/sdk.js +72 -72
  535. package/dist/plugin/service.js +3 -3
  536. package/dist/plugin/skill.js +133 -133
  537. package/dist/plugin/source-directory.js +1 -1
  538. package/dist/plugin/supervisor.js +338 -338
  539. package/dist/plugin/update.js +6 -6
  540. package/dist/plugin/variant.js +4 -4
  541. package/dist/plugin/vcs/git.js +82 -82
  542. package/dist/plugin/vcs/hg.js +82 -82
  543. package/dist/plugin/warming.js +112 -112
  544. package/dist/plugin/websearch/exa.js +7 -7
  545. package/dist/plugin/websearch/firecrawl.js +8 -8
  546. package/dist/plugin/websearch/index.js +8 -8
  547. package/dist/plugin/websearch/mcp.js +4 -4
  548. package/dist/plugin/websearch/parallel.js +8 -8
  549. package/dist/plugin/websearch/tavily.js +6 -6
  550. package/dist/plugin.js +218 -218
  551. package/dist/project/schema.js +8 -8
  552. package/dist/project/sql.js +4 -4
  553. package/dist/project.js +85 -85
  554. package/dist/provider.js +7 -7
  555. package/dist/pty/protocol.js +1 -1
  556. package/dist/pty/schema.js +1 -1
  557. package/dist/pty/ticket.js +1 -1
  558. package/dist/pty.js +88 -88
  559. package/dist/reference/instructions.js +84 -84
  560. package/dist/reference.js +86 -86
  561. package/dist/repository-cache.js +76 -76
  562. package/dist/repository.js +1 -1
  563. package/dist/ripgrep/binary.js +2 -2
  564. package/dist/ripgrep.js +91 -91
  565. package/dist/rpc.js +81 -81
  566. package/dist/schema.js +1 -1
  567. package/dist/session/command.js +72 -72
  568. package/dist/session/compaction.js +123 -123
  569. package/dist/session/context.js +147 -147
  570. package/dist/session/environment.js +5 -5
  571. package/dist/session/error.js +7 -7
  572. package/dist/session/event.js +1 -1
  573. package/dist/session/execution/restart.js +216 -216
  574. package/dist/session/execution.js +124 -124
  575. package/dist/session/generate.js +146 -146
  576. package/dist/session/history.js +15 -15
  577. package/dist/session/inbox.js +88 -88
  578. package/dist/session/info.js +3 -3
  579. package/dist/session/instruction-entry.js +77 -77
  580. package/dist/session/instruction-state.js +8 -8
  581. package/dist/session/instructions.js +92 -92
  582. package/dist/session/message-updater.js +2 -2
  583. package/dist/session/message.js +1 -1
  584. package/dist/session/model-request.js +113 -113
  585. package/dist/session/model-transport.js +9 -9
  586. package/dist/session/move.js +126 -126
  587. package/dist/session/projector.js +84 -84
  588. package/dist/session/prompt.js +100 -100
  589. package/dist/session/provider-context.js +3 -3
  590. package/dist/session/revert.js +85 -85
  591. package/dist/session/run-coordinator.js +3 -3
  592. package/dist/session/runner/index.js +3 -3
  593. package/dist/session/runner/llm.js +225 -225
  594. package/dist/session/runner/max-steps.js +1 -1
  595. package/dist/session/runner/model.js +86 -86
  596. package/dist/session/runner/publish-llm-event.js +3 -3
  597. package/dist/session/runner/retry.js +110 -110
  598. package/dist/session/runner/step.js +121 -121
  599. package/dist/session/runner/to-llm-message.js +2 -2
  600. package/dist/session/schema.js +5 -5
  601. package/dist/session/session.js +169 -169
  602. package/dist/session/shell.js +131 -131
  603. package/dist/session/skill.js +98 -98
  604. package/dist/session/sql.js +5 -5
  605. package/dist/session/stats.js +71 -71
  606. package/dist/session/store.js +83 -83
  607. package/dist/session/subagent-completion.js +1 -1
  608. package/dist/session/subagent-job.js +205 -205
  609. package/dist/session/system-prompt.js +1 -1
  610. package/dist/session/title.js +151 -151
  611. package/dist/session/to-session-error.js +107 -107
  612. package/dist/session/transfer.js +212 -212
  613. package/dist/session/usage.js +1 -1
  614. package/dist/session.js +211 -211
  615. package/dist/shell/parse.js +6 -6
  616. package/dist/shell/result.js +1 -1
  617. package/dist/shell/scan.js +1 -1
  618. package/dist/shell/select.js +13 -13
  619. package/dist/shell.js +131 -131
  620. package/dist/skill/discovery.js +6 -6
  621. package/dist/skill/instructions.js +102 -102
  622. package/dist/skill.js +107 -107
  623. package/dist/snapshot.js +86 -86
  624. package/dist/state.js +1 -1
  625. package/dist/tool/html-markdown.js +1 -1
  626. package/dist/tool/http-body.js +1 -1
  627. package/dist/tool/mcp.js +121 -121
  628. package/dist/tool/plugin/edit.js +115 -115
  629. package/dist/tool/plugin/file-diff.js +1 -1
  630. package/dist/tool/plugin/glob.js +120 -120
  631. package/dist/tool/plugin/grep.js +120 -120
  632. package/dist/tool/plugin/opencode.js +3 -3
  633. package/dist/tool/plugin/patch.js +117 -117
  634. package/dist/tool/plugin/question.js +98 -98
  635. package/dist/tool/plugin/read.js +121 -121
  636. package/dist/tool/plugin/shell.js +210 -210
  637. package/dist/tool/plugin/skill.js +108 -108
  638. package/dist/tool/plugin/subagent.js +210 -210
  639. package/dist/tool/plugin/webfetch.js +107 -107
  640. package/dist/tool/plugin/websearch.js +107 -107
  641. package/dist/tool/plugin/write.js +117 -117
  642. package/dist/tool/read-filesystem.js +96 -96
  643. package/dist/tool/runtime.js +1 -1
  644. package/dist/tool-output.js +8 -8
  645. package/dist/tool.js +11 -11
  646. package/dist/util/error-summary.js +1 -1
  647. package/dist/util/error.js +1 -1
  648. package/dist/util/iife.js +1 -1
  649. package/dist/util/lazy.js +1 -1
  650. package/dist/util/slug.js +1 -1
  651. package/dist/util/token.js +1 -1
  652. package/dist/util/which.js +1 -1
  653. package/dist/util/wildcard.js +1 -1
  654. package/dist/v1/config/agent.js +7 -7
  655. package/dist/v1/config/attachment.js +4 -4
  656. package/dist/v1/config/command.js +5 -5
  657. package/dist/v1/config/config.js +16 -16
  658. package/dist/v1/config/error.js +4 -4
  659. package/dist/v1/config/formatter.js +5 -5
  660. package/dist/v1/config/layout.js +1 -1
  661. package/dist/v1/config/lsp.js +5 -5
  662. package/dist/v1/config/mcp.js +4 -4
  663. package/dist/v1/config/migrate.js +4 -4
  664. package/dist/v1/config/permission.js +7 -7
  665. package/dist/v1/config/plugin.js +3 -3
  666. package/dist/v1/config/provider-options.js +1 -1
  667. package/dist/v1/config/provider.js +4 -4
  668. package/dist/v1/config/server.js +2 -2
  669. package/dist/v1/config/skills.js +3 -3
  670. package/dist/v1/permission.js +1 -1
  671. package/dist/vcs/patch.js +1 -1
  672. package/dist/vcs.js +85 -85
  673. package/dist/websearch.js +78 -78
  674. package/dist/wellknown/plugin.js +72 -72
  675. package/dist/wellknown.js +77 -77
  676. package/dist/workspace/driver.js +5 -5
  677. package/dist/workspace/sql.js +1 -1
  678. package/dist/workspace.js +78 -78
  679. package/dist/worktree/directory.js +2 -2
  680. package/dist/worktree/git.js +7 -7
  681. package/dist/worktree/refresh.js +339 -339
  682. package/dist/worktree/sql.js +5 -5
  683. package/dist/worktree.js +89 -89
  684. package/package.json +8 -8
  685. package/dist/chunks/project-7fj5dwt0.js +0 -18
  686. package/dist/chunks/project-m8reha27.js +0 -22
  687. package/dist/chunks/project-vyq6fvzk.js +0 -247
  688. /package/dist/chunks/{project-0mesazry.js → location-0mesazry.js} +0 -0
  689. /package/dist/chunks/{project-0qkdqm5v.js → location-0qkdqm5v.js} +0 -0
  690. /package/dist/chunks/{project-0zkw76rk.js → location-0zkw76rk.js} +0 -0
  691. /package/dist/chunks/{project-17cy0kzp.js → location-17cy0kzp.js} +0 -0
  692. /package/dist/chunks/{project-1cnp2v09.js → location-1cnp2v09.js} +0 -0
  693. /package/dist/chunks/{project-1kg9ymc8.js → location-1kg9ymc8.js} +0 -0
  694. /package/dist/chunks/{project-2710q6r3.js → location-2710q6r3.js} +0 -0
  695. /package/dist/chunks/{project-2axfhc9x.js → location-2axfhc9x.js} +0 -0
  696. /package/dist/chunks/{project-2c3vjs8z.js → location-2c3vjs8z.js} +0 -0
  697. /package/dist/chunks/{project-359p4xyc.js → location-359p4xyc.js} +0 -0
  698. /package/dist/chunks/{project-3asan66x.js → location-3asan66x.js} +0 -0
  699. /package/dist/chunks/{project-3v8g72cx.js → location-3v8g72cx.js} +0 -0
  700. /package/dist/chunks/{project-3w5fmr99.js → location-3w5fmr99.js} +0 -0
  701. /package/dist/chunks/{project-3wcehsnq.js → location-3wcehsnq.js} +0 -0
  702. /package/dist/chunks/{project-43n2bw4t.js → location-43n2bw4t.js} +0 -0
  703. /package/dist/chunks/{project-4knz6hnm.js → location-4knz6hnm.js} +0 -0
  704. /package/dist/chunks/{project-4y7fprxs.js → location-4y7fprxs.js} +0 -0
  705. /package/dist/chunks/{project-53557ph1.js → location-53557ph1.js} +0 -0
  706. /package/dist/chunks/{project-550bvhaj.js → location-550bvhaj.js} +0 -0
  707. /package/dist/chunks/{project-6prwharc.js → location-6prwharc.js} +0 -0
  708. /package/dist/chunks/{project-7akdwqpd.js → location-7akdwqpd.js} +0 -0
  709. /package/dist/chunks/{project-7m9af43g.js → location-7m9af43g.js} +0 -0
  710. /package/dist/chunks/{project-822emrt2.js → location-822emrt2.js} +0 -0
  711. /package/dist/chunks/{project-88xbtdfr.js → location-88xbtdfr.js} +0 -0
  712. /package/dist/chunks/{project-8n3pysct.js → location-8n3pysct.js} +0 -0
  713. /package/dist/chunks/{project-922hggd3.js → location-922hggd3.js} +0 -0
  714. /package/dist/chunks/{project-9a4afbnw.js → location-9a4afbnw.js} +0 -0
  715. /package/dist/chunks/{project-9rqn6x4v.js → location-9rqn6x4v.js} +0 -0
  716. /package/dist/chunks/{project-a1tpkmh4.js → location-a1tpkmh4.js} +0 -0
  717. /package/dist/chunks/{project-a6k6eb26.js → location-a6k6eb26.js} +0 -0
  718. /package/dist/chunks/{project-af5trqkr.js → location-af5trqkr.js} +0 -0
  719. /package/dist/chunks/{project-afrmfg78.js → location-afrmfg78.js} +0 -0
  720. /package/dist/chunks/{project-aqzs7mqg.js → location-aqzs7mqg.js} +0 -0
  721. /package/dist/chunks/{project-atq7p7m5.js → location-atq7p7m5.js} +0 -0
  722. /package/dist/chunks/{project-bkyjaxrp.js → location-bkyjaxrp.js} +0 -0
  723. /package/dist/chunks/{project-bmr6ed5q.js → location-bmr6ed5q.js} +0 -0
  724. /package/dist/chunks/{project-cf4snx6d.js → location-cf4snx6d.js} +0 -0
  725. /package/dist/chunks/{project-cvy3z8tj.js → location-cvy3z8tj.js} +0 -0
  726. /package/dist/chunks/{project-d9fn303g.js → location-d9fn303g.js} +0 -0
  727. /package/dist/chunks/{project-d9jj8t3e.js → location-d9jj8t3e.js} +0 -0
  728. /package/dist/chunks/{project-dajrwvna.js → location-dajrwvna.js} +0 -0
  729. /package/dist/chunks/{project-dap0rakb.js → location-dap0rakb.js} +0 -0
  730. /package/dist/chunks/{project-df08tz66.js → location-df08tz66.js} +0 -0
  731. /package/dist/chunks/{project-dy18nga0.js → location-dy18nga0.js} +0 -0
  732. /package/dist/chunks/{project-e5kj55wp.js → location-e5kj55wp.js} +0 -0
  733. /package/dist/chunks/{project-e73j6tqm.js → location-e73j6tqm.js} +0 -0
  734. /package/dist/chunks/{project-ec1grn59.js → location-ec1grn59.js} +0 -0
  735. /package/dist/chunks/{project-eh3zwz77.js → location-eh3zwz77.js} +0 -0
  736. /package/dist/chunks/{project-emrn6kk6.js → location-emrn6kk6.js} +0 -0
  737. /package/dist/chunks/{project-f0mxakyp.js → location-f0mxakyp.js} +0 -0
  738. /package/dist/chunks/{project-f6n9ztr4.js → location-f6n9ztr4.js} +0 -0
  739. /package/dist/chunks/{project-faypxj3z.js → location-faypxj3z.js} +0 -0
  740. /package/dist/chunks/{project-fd410y7t.js → location-fd410y7t.js} +0 -0
  741. /package/dist/chunks/{project-fxgpk5d8.js → location-fxgpk5d8.js} +0 -0
  742. /package/dist/chunks/{project-g4wezp1m.js → location-g4wezp1m.js} +0 -0
  743. /package/dist/chunks/{project-g86h250q.js → location-g86h250q.js} +0 -0
  744. /package/dist/chunks/{project-gebd4c9n.js → location-gebd4c9n.js} +0 -0
  745. /package/dist/chunks/{project-gftt206x.js → location-gftt206x.js} +0 -0
  746. /package/dist/chunks/{project-hjbc5kem.js → location-hjbc5kem.js} +0 -0
  747. /package/dist/chunks/{project-hk9envan.js → location-hk9envan.js} +0 -0
  748. /package/dist/chunks/{project-hrnqkpcd.js → location-hrnqkpcd.js} +0 -0
  749. /package/dist/chunks/{project-j2ntwpah.js → location-j2ntwpah.js} +0 -0
  750. /package/dist/chunks/{project-j5zkgpj8.js → location-j5zkgpj8.js} +0 -0
  751. /package/dist/chunks/{project-jr7sbwjy.js → location-jr7sbwjy.js} +0 -0
  752. /package/dist/chunks/{project-jwfs4k6c.js → location-jwfs4k6c.js} +0 -0
  753. /package/dist/chunks/{project-jzg6c2d5.js → location-jzg6c2d5.js} +0 -0
  754. /package/dist/chunks/{project-mp448xyj.js → location-mp448xyj.js} +0 -0
  755. /package/dist/chunks/{project-msx8hqn2.js → location-msx8hqn2.js} +0 -0
  756. /package/dist/chunks/{project-n05xt0ee.js → location-n05xt0ee.js} +0 -0
  757. /package/dist/chunks/{project-n3j8tn72.js → location-n3j8tn72.js} +0 -0
  758. /package/dist/chunks/{project-njntx4h6.js → location-njntx4h6.js} +0 -0
  759. /package/dist/chunks/{project-q3sfg36h.js → location-q3sfg36h.js} +0 -0
  760. /package/dist/chunks/{project-q74kybfr.js → location-q74kybfr.js} +0 -0
  761. /package/dist/chunks/{project-qaymkmh1.js → location-qaymkmh1.js} +0 -0
  762. /package/dist/chunks/{project-qb87gjwd.js → location-qb87gjwd.js} +0 -0
  763. /package/dist/chunks/{project-qfa1cgps.js → location-qfa1cgps.js} +0 -0
  764. /package/dist/chunks/{project-qrg20bc0.js → location-qrg20bc0.js} +0 -0
  765. /package/dist/chunks/{project-rcb2kzg1.js → location-rcb2kzg1.js} +0 -0
  766. /package/dist/chunks/{project-sdp7kfr6.js → location-sdp7kfr6.js} +0 -0
  767. /package/dist/chunks/{project-sk3qaz4a.js → location-sk3qaz4a.js} +0 -0
  768. /package/dist/chunks/{project-ssg3fenm.js → location-ssg3fenm.js} +0 -0
  769. /package/dist/chunks/{project-twg0f83k.js → location-twg0f83k.js} +0 -0
  770. /package/dist/chunks/{project-w803qqfp.js → location-w803qqfp.js} +0 -0
  771. /package/dist/chunks/{project-wer8tq1h.js → location-wer8tq1h.js} +0 -0
  772. /package/dist/chunks/{project-wtztk69x.js → location-wtztk69x.js} +0 -0
  773. /package/dist/chunks/{project-x0ckcb58.js → location-x0ckcb58.js} +0 -0
  774. /package/dist/chunks/{project-x61499pn.js → location-x61499pn.js} +0 -0
  775. /package/dist/chunks/{project-y44na4kk.js → location-y44na4kk.js} +0 -0
  776. /package/dist/chunks/{project-y8cydn3q.js → location-y8cydn3q.js} +0 -0
  777. /package/dist/chunks/{project-ygaqb7jw.js → location-ygaqb7jw.js} +0 -0
  778. /package/dist/chunks/{project-ym463w8f.js → location-ym463w8f.js} +0 -0
  779. /package/dist/chunks/{project-z9919s4g.js → location-z9919s4g.js} +0 -0
@@ -1,27 +1,27 @@
1
1
  import {
2
2
  Service79
3
- } from "./project-3rv0aqry.js";
3
+ } from "./location-xgcvvaqd.js";
4
4
  import {
5
- Service68
6
- } from "./project-dfcnm7e4.js";
5
+ Service67
6
+ } from "./location-x1aqk77e.js";
7
7
  import {
8
8
  group2,
9
9
  batch2,
10
10
  shutdown2,
11
11
  inherit2
12
- } from "./project-kg06axw8.js";
12
+ } from "./location-kg06axw8.js";
13
13
  import {
14
- Service38,
14
+ Service27,
15
15
  awaitActivation2
16
- } from "./project-7fj5dwt0.js";
16
+ } from "./location-1x11rq2a.js";
17
17
  import {
18
18
  make11,
19
19
  requirements3,
20
20
  storage2
21
- } from "./project-jxa7e7w5.js";
21
+ } from "./location-bbd53drz.js";
22
22
  import {
23
23
  __export
24
- } from "./project-9rqn6x4v.js";
24
+ } from "./location-9rqn6x4v.js";
25
25
 
26
26
  // src/plugin.ts
27
27
  var exports_plugin2 = {};
@@ -30,19 +30,19 @@ __export(exports_plugin2, {
30
30
  ID: () => ID3,
31
31
  Info: () => Info3,
32
32
  Plugin: () => exports_plugin2,
33
- Service: () => Service38,
33
+ Service: () => Service27,
34
34
  Source: () => Source2,
35
35
  State: () => State2,
36
36
  awaitActivation: () => awaitActivation2,
37
- node: () => node21
37
+ node: () => node18
38
38
  });
39
39
  import { Event as Event4, ID as ID3, Info as Info3, Source as Source2, State as State2 } from "@opencode/schema/plugin";
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(Service38, Effect.gen(function* () {
43
+ var layer = Layer.effect(Service27, Effect.gen(function* () {
44
44
  const bus = yield* Service79;
45
- const kv = yield* Service68;
45
+ const kv = yield* Service67;
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(Service38, Effect.gen(function* () {
205
205
  yield* shutdown2(Scope.close(scope, exit));
206
206
  }));
207
207
  yield* Effect.addFinalizer(close);
208
- return Service38.of({
208
+ return Service27.of({
209
209
  activate,
210
210
  close,
211
211
  awaitActivation: ready.await,
@@ -222,10 +222,10 @@ function slotInfo(slot) {
222
222
  features: { server: true, ...slot.plugin.features }
223
223
  };
224
224
  }
225
- var node21 = Node.makeLocationNode({
226
- service: Service38,
225
+ var node18 = Node.makeLocationNode({
226
+ service: Service27,
227
227
  layer,
228
228
  deps: [requirements3]
229
229
  });
230
230
 
231
- export { node21, exports_plugin2, Event4, ID3, Info3, Source2, State2 };
231
+ export { node18, exports_plugin2, Event4, ID3, Info3, Source2, State2 };
@@ -1,45 +1,45 @@
1
1
  import {
2
- Service66
3
- } from "./project-vmaj1q0b.js";
2
+ Service46
3
+ } from "./location-nxts4mre.js";
4
4
  import {
5
5
  unavailable3
6
- } from "./project-eaj1djv9.js";
6
+ } from "./location-eaj1djv9.js";
7
7
  import {
8
8
  AbsolutePath2
9
- } from "./project-922hggd3.js";
9
+ } from "./location-922hggd3.js";
10
10
  import {
11
11
  File2,
12
- Service78
13
- } from "./project-8yk1fhag.js";
12
+ Service48
13
+ } from "./location-vjv4gnc9.js";
14
14
  import {
15
- Service71
16
- } from "./project-2er49d5v.js";
15
+ Service76
16
+ } from "./location-6h508dp1.js";
17
17
  import {
18
18
  __export
19
- } from "./project-9rqn6x4v.js";
19
+ } from "./location-9rqn6x4v.js";
20
20
 
21
21
  // src/config/plugin/instruction.ts
22
22
  var exports_instruction = {};
23
23
  __export(exports_instruction, {
24
24
  ConfigInstructionPlugin: () => exports_instruction,
25
- Plugin: () => Plugin39
25
+ Plugin: () => Plugin43
26
26
  });
27
27
  import { define } from "@opencode/plugin/effect/plugin";
28
28
  import { FSUtil } from "@opencode/util/fs-util";
29
29
  import { Global } from "@opencode/util/global";
30
30
  import { dirname, join } from "path";
31
31
  import { Effect, PubSub, Semaphore, Stream } from "effect";
32
- var Plugin39 = define({
32
+ var Plugin43 = define({
33
33
  id: "opencode.config.instruction",
34
34
  effect: Effect.fn(function* () {
35
- const discovery = yield* Service78;
35
+ const discovery = yield* Service48;
36
36
  if (!discovery.project && !discovery.global)
37
37
  return;
38
38
  yield* Effect.gen(function* () {
39
39
  const fs = yield* FSUtil.Service;
40
40
  const global = yield* Global.Service;
41
- const location = yield* Service71;
42
- const watcher = yield* Service66;
41
+ const location = yield* Service76;
42
+ const watcher = yield* Service46;
43
43
  const changes = yield* PubSub.sliding(1);
44
44
  const lock = Semaphore.makeUnsafe(1);
45
45
  const start = yield* fs.resolve(location.directory);
@@ -114,4 +114,4 @@ function ancestorDirectories(start, stop) {
114
114
  return [start, ...ancestorDirectories(dirname(start), stop)];
115
115
  }
116
116
 
117
- export { Plugin39, exports_instruction };
117
+ export { Plugin43, exports_instruction };
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./project-922hggd3.js";
3
+ } from "./location-922hggd3.js";
4
4
  import {
5
- Info22
6
- } from "./project-axmvebxj.js";
5
+ Info16
6
+ } from "./location-g190xswt.js";
7
7
  import {
8
8
  __export
9
- } from "./project-9rqn6x4v.js";
9
+ } from "./location-9rqn6x4v.js";
10
10
 
11
11
  // src/v1/config/agent.ts
12
- var exports_agent4 = {};
13
- __export(exports_agent4, {
14
- ConfigAgentV1: () => exports_agent4,
15
- Info: () => Info21
12
+ var exports_agent3 = {};
13
+ __export(exports_agent3, {
14
+ ConfigAgentV1: () => exports_agent3,
15
+ Info: () => Info8
16
16
  });
17
17
  import { Schema, SchemaGetter } from "effect";
18
18
  var Color = Schema.Union([
@@ -44,7 +44,7 @@ var AgentSchema = Schema.StructWithRest(Schema.Struct({
44
44
  description: "Maximum number of agentic iterations before forcing text-only response"
45
45
  }),
46
46
  maxSteps: Schema.optional(PositiveInt2).annotate({ description: "@deprecated Use 'steps' field instead." }),
47
- permission: Schema.optional(Info22)
47
+ permission: Schema.optional(Info16)
48
48
  }), [Schema.Record(Schema.String, Schema.Any)]);
49
49
  var KNOWN_KEYS = new Set(["name", ...Object.keys(AgentSchema.schema.fields)]);
50
50
  var normalize = (agent) => {
@@ -66,9 +66,9 @@ var normalize = (agent) => {
66
66
  const steps = agent.steps ?? agent.maxSteps;
67
67
  return { ...agent, options, permission, ...steps !== undefined ? { steps } : {} };
68
68
  };
69
- var Info21 = AgentSchema.pipe(Schema.decodeTo(AgentSchema, {
69
+ var Info8 = AgentSchema.pipe(Schema.decodeTo(AgentSchema, {
70
70
  decode: SchemaGetter.transform(normalize),
71
71
  encode: SchemaGetter.passthrough({ strict: false })
72
72
  })).annotate({ identifier: "AgentConfig" });
73
73
 
74
- export { Info21, exports_agent4 };
74
+ export { Info8, exports_agent3 };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  SessionEvent2
3
- } from "./project-ec1grn59.js";
3
+ } from "./location-ec1grn59.js";
4
4
  import {
5
5
  tokens2
6
- } from "./project-tdstcens.js";
6
+ } from "./location-tdstcens.js";
7
7
 
8
8
  // src/session/runner/publish-llm-event.ts
9
9
  import { Effect, Fiber, Iterable } from "effect";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./project-9rqn6x4v.js";
3
+ } from "./location-9rqn6x4v.js";
4
4
 
5
5
  // src/util/token.ts
6
6
  var exports_token = {};
@@ -1,48 +1,48 @@
1
1
  import {
2
2
  Metadata2,
3
3
  useragent2,
4
- node78
5
- } from "./project-cksygnyb.js";
4
+ node45
5
+ } from "./location-9k0trt10.js";
6
6
  import {
7
7
  provenance2,
8
8
  compatible2
9
- } from "./project-64kphnzf.js";
9
+ } from "./location-w1k39n5e.js";
10
10
  import {
11
- Service63,
12
- node66
13
- } from "./project-sbk6mfjb.js";
11
+ Service75,
12
+ node80
13
+ } from "./location-dc76j9wz.js";
14
14
  import {
15
15
  DeclinedError2
16
- } from "./project-rea82nnp.js";
16
+ } from "./location-tz2p0jnc.js";
17
17
  import {
18
18
  CancelledError2
19
- } from "./project-e30j1gg8.js";
19
+ } from "./location-8t891vs4.js";
20
20
  import {
21
21
  Error4
22
- } from "./project-djzy5cyb.js";
22
+ } from "./location-9g2mmtg8.js";
23
23
  import {
24
- Service33,
25
- node38
26
- } from "./project-j7vv7h2p.js";
24
+ Service35,
25
+ node39
26
+ } from "./location-kkedg04s.js";
27
27
  import {
28
28
  make14
29
- } from "./project-nhy5jxhy.js";
29
+ } from "./location-nhy5jxhy.js";
30
30
  import {
31
31
  toLLMMessages2
32
- } from "./project-gx1zhcta.js";
32
+ } from "./location-rfnzy394.js";
33
33
  import {
34
34
  __export
35
- } from "./project-9rqn6x4v.js";
35
+ } from "./location-9rqn6x4v.js";
36
36
 
37
37
  // src/session/model-request.ts
38
38
  var exports_model_request = {};
39
39
  __export(exports_model_request, {
40
- Service: () => Service32,
40
+ Service: () => Service34,
41
41
  SessionModelRequest: () => exports_model_request,
42
42
  baseTranscript: () => baseTranscript2,
43
43
  boundImages: () => boundImages2,
44
- layer: () => layer12,
45
- node: () => node37,
44
+ layer: () => layer14,
45
+ node: () => node38,
46
46
  unsupportedParts: () => unsupportedParts2
47
47
  });
48
48
  import { HttpOptions, LanguageModel, LLM, LLMRequest, Message, SystemPart } from "@opencode/ai";
@@ -189,11 +189,11 @@ var httpMiddleware = (hooks, scope) => (request, handler) => Effect.gen(function
189
189
  return HttpClientResponse.fromWeb(sent, after.response);
190
190
  }).pipe(Effect.mapError((cause) => cause instanceof Error ? cause : new Error(String(cause))));
191
191
 
192
- class Service32 extends Context.Service()("@opencode/SessionModelRequest") {
192
+ class Service34 extends Context.Service()("@opencode/SessionModelRequest") {
193
193
  }
194
- var layer12 = Layer.effect(Service32, Effect.gen(function* () {
195
- const hooks = yield* Service63;
196
- const transport = yield* Service33;
194
+ var layer14 = Layer.effect(Service34, Effect.gen(function* () {
195
+ const hooks = yield* Service75;
196
+ const transport = yield* Service35;
197
197
  const app = yield* Metadata2;
198
198
  const prepare = Effect.fn("SessionModelRequest.prepare")(function* (input) {
199
199
  const session = input.scope.session;
@@ -261,12 +261,12 @@ var layer12 = Layer.effect(Service32, Effect.gen(function* () {
261
261
  executeTool
262
262
  };
263
263
  });
264
- return Service32.of({ prepare });
264
+ return Service34.of({ prepare });
265
265
  }));
266
- var node37 = makeLocationNode({
267
- service: Service32,
268
- layer: layer12,
269
- deps: [node66, node38, node78]
266
+ var node38 = makeLocationNode({
267
+ service: Service34,
268
+ layer: layer14,
269
+ deps: [node80, node39, node45]
270
270
  });
271
271
 
272
- export { baseTranscript2, unsupportedParts2, boundImages2, Service32, layer12, node37, exports_model_request };
272
+ export { baseTranscript2, unsupportedParts2, boundImages2, Service34, layer14, node38, exports_model_request };
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./project-922hggd3.js";
3
+ } from "./location-922hggd3.js";
4
4
  import {
5
- Service71
6
- } from "./project-2er49d5v.js";
5
+ Service76
6
+ } from "./location-6h508dp1.js";
7
7
  import {
8
- Service14
9
- } from "./project-pk7h5ckr.js";
8
+ Service56
9
+ } from "./location-d2412gps.js";
10
10
  import {
11
- Service11
12
- } from "./project-qgn1mnrt.js";
11
+ Service7
12
+ } from "./location-xpbp2ggf.js";
13
13
  import {
14
14
  NotFound2
15
- } from "./project-2a5m3afh.js";
15
+ } from "./location-2a5m3afh.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
- Service5
27
- } from "./project-srrqt7rk.js";
26
+ Service4
27
+ } from "./location-p7tj0pd3.js";
28
28
  import {
29
29
  __export
30
- } from "./project-9rqn6x4v.js";
30
+ } from "./location-9rqn6x4v.js";
31
31
 
32
32
  // src/tool/plugin/read.ts
33
33
  var exports_read = {};
34
34
  __export(exports_read, {
35
- Input: () => Input3,
36
- Plugin: () => Plugin16,
35
+ Input: () => Input6,
36
+ Plugin: () => Plugin6,
37
37
  ReadTool: () => exports_read,
38
- name: () => name3,
39
- toModelContent: () => toModelContent2
38
+ name: () => name6,
39
+ toModelContent: () => toModelContent4
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 name3 = "read";
45
+ var name6 = "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 2000)"
54
54
  })
55
55
  });
56
- var Input3 = LocationInput;
56
+ var Input6 = LocationInput;
57
57
  var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
58
- var Plugin16 = {
58
+ var Plugin6 = {
59
59
  id: "opencode.tool.read",
60
60
  effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
61
- const reader = yield* Service5;
62
- const access = yield* Service14;
63
- const sessionInstructions = yield* Service11;
61
+ const reader = yield* Service4;
62
+ const access = yield* Service56;
63
+ const sessionInstructions = yield* Service7;
64
64
  const fs = yield* FSUtil.Service;
65
- const location = yield* Service71;
65
+ const location = yield* Service76;
66
66
  yield* ctx.tool.transform((editor) => editor.add({
67
- name: name3,
67
+ name: name6,
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: Input3,
70
+ input: Input6,
71
71
  output: Output,
72
72
  execute: (input, context) => {
73
73
  return Effect.gen(function* () {
@@ -112,7 +112,7 @@ var Plugin16 = {
112
112
  return { output: result.content, path: result.path };
113
113
  }).pipe(Effect.map((result) => ({
114
114
  output: result.output,
115
- content: toModelContent2(result.path, input.offset, result.output),
115
+ content: toModelContent4(result.path, input.offset, result.output),
116
116
  metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
117
117
  })), Effect.mapError((error) => {
118
118
  if (error instanceof ToolFailure)
@@ -144,7 +144,7 @@ ${suggestions.join(`
144
144
  });
145
145
  })
146
146
  };
147
- var toModelContent2 = (path, offset, output) => {
147
+ var toModelContent4 = (path, offset, output) => {
148
148
  if (output.type === "file" && output.encoding === "base64")
149
149
  return [
150
150
  { type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
@@ -179,4 +179,4 @@ var toModelContent2 = (path, offset, output) => {
179
179
  `);
180
180
  };
181
181
 
182
- export { name3, Input3, Plugin16, toModelContent2, exports_read };
182
+ export { name6, Input6, Plugin6, toModelContent4, exports_read };
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  mergeOverlay2,
3
3
  mergeHeaders2
4
- } from "./project-m27pyyd3.js";
4
+ } from "./location-7ny3kv6n.js";
5
5
  import {
6
6
  __export
7
- } from "./project-9rqn6x4v.js";
7
+ } from "./location-9rqn6x4v.js";
8
8
 
9
9
  // src/aisdk-native.ts
10
10
  var exports_aisdk_native = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./project-9rqn6x4v.js";
3
+ } from "./location-9rqn6x4v.js";
4
4
 
5
5
  // src/config/watch.ts
6
6
  var exports_watch = {};
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./project-922hggd3.js";
4
+ } from "./location-922hggd3.js";
5
5
  import {
6
6
  makeUnsafe2
7
- } from "./project-dpkg50ah.js";
7
+ } from "./location-y71avatq.js";
8
8
  import {
9
9
  __export
10
- } from "./project-9rqn6x4v.js";
10
+ } from "./location-9rqn6x4v.js";
11
11
 
12
12
  // src/git.ts
13
13
  var exports_git3 = {};
@@ -15,11 +15,11 @@ __export(exports_git3, {
15
15
  Git: () => exports_git3,
16
16
  OperationError: () => OperationError3,
17
17
  Repository: () => Repository2,
18
- Service: () => Service73,
18
+ Service: () => Service78,
19
19
  TreeID: () => TreeID2,
20
20
  Worktree: () => Worktree2,
21
21
  WorktreeError: () => WorktreeError2,
22
- node: () => node77
22
+ node: () => node83
23
23
  });
24
24
  import path from "path";
25
25
  import { Context, Effect, Layer, Schema } from "effect";
@@ -85,9 +85,9 @@ class WorktreeError2 extends Schema.TaggedError()("Git.WorktreeError", {
85
85
  }) {
86
86
  }
87
87
 
88
- class Service73 extends Context.Service()("@opencode/Git") {
88
+ class Service78 extends Context.Service()("@opencode/Git") {
89
89
  }
90
- var layer = Layer.effect(Service73, Effect.gen(function* () {
90
+ var layer = Layer.effect(Service78, Effect.gen(function* () {
91
91
  const fs = yield* FSUtil.Service;
92
92
  const proc = yield* AppProcess.Service;
93
93
  const locks = makeUnsafe2();
@@ -409,7 +409,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
409
409
  kind: index === 0 ? "main" : "linked"
410
410
  }));
411
411
  });
412
- return Service73.of({
412
+ return Service78.of({
413
413
  repo: { discover, clone, create },
414
414
  remote: { get: remote },
415
415
  history: { head, branch, defaultRemoteBranch: remoteHead, rootCommits: roots },
@@ -425,7 +425,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
425
425
  }
426
426
  });
427
427
  }));
428
- var node77 = makeGlobalNode({ service: Service73, layer, deps: [FSUtil.node, AppProcess.node] });
428
+ var node83 = makeGlobalNode({ service: Service78, layer, deps: [FSUtil.node, AppProcess.node] });
429
429
  function run(cwd, proc, args) {
430
430
  return execute(cwd, proc, args).pipe(Effect.orElseSucceed(() => ({ exitCode: 1, text: "", stderr: "" })));
431
431
  }
@@ -450,4 +450,4 @@ function resolvePath(cwd, value) {
450
450
  return path.resolve(cwd, normalized);
451
451
  }
452
452
 
453
- export { Repository2, TreeID2, OperationError3, Worktree2, WorktreeError2, Service73, node77, exports_git3 };
453
+ export { Repository2, TreeID2, OperationError3, Worktree2, WorktreeError2, Service78, node83, exports_git3 };
@@ -2,45 +2,45 @@ import {
2
2
  NotFound2,
3
3
  WrongKind2,
4
4
  Failed2
5
- } from "./project-2a5m3afh.js";
5
+ } from "./location-2a5m3afh.js";
6
6
  import {
7
- Service71
8
- } from "./project-2er49d5v.js";
7
+ Service76
8
+ } from "./location-6h508dp1.js";
9
9
  import {
10
- Service69
11
- } from "./project-bqcj21xz.js";
10
+ Service52
11
+ } from "./location-39gsfx95.js";
12
12
  import {
13
- Service17
14
- } from "./project-swctkwxd.js";
13
+ Service19
14
+ } from "./location-ap0kd4ae.js";
15
15
  import {
16
- Service13,
16
+ Service21,
17
17
  readText2,
18
18
  syncTextBom2
19
- } from "./project-10edwj7x.js";
19
+ } from "./location-r5paa9gw.js";
20
20
  import {
21
- Service59
22
- } from "./project-rea82nnp.js";
21
+ Service71
22
+ } from "./location-tz2p0jnc.js";
23
23
  import {
24
- Service14,
24
+ Service56,
25
25
  resolvePath2
26
- } from "./project-pk7h5ckr.js";
26
+ } from "./location-d2412gps.js";
27
27
  import {
28
28
  fileDiff2
29
- } from "./project-6prwharc.js";
29
+ } from "./location-6prwharc.js";
30
30
  import {
31
31
  __export
32
- } from "./project-9rqn6x4v.js";
32
+ } from "./location-9rqn6x4v.js";
33
33
 
34
34
  // src/tool/plugin/patch.ts
35
35
  var exports_patch = {};
36
36
  __export(exports_patch, {
37
37
  Applied: () => Applied2,
38
- Input: () => Input5,
39
- Output: () => Output4,
38
+ Input: () => Input2,
39
+ Output: () => Output2,
40
40
  PatchTool: () => exports_patch,
41
- Plugin: () => Plugin18,
42
- name: () => name5,
43
- toModelContent: () => toModelContent4
41
+ Plugin: () => Plugin2,
42
+ name: () => name2,
43
+ toModelContent: () => toModelContent2
44
44
  });
45
45
  import { ToolFailure } from "@opencode/ai";
46
46
  import { FileDiff } from "@opencode/schema/file-diff";
@@ -85,8 +85,8 @@ It is important to remember:
85
85
  `;
86
86
 
87
87
  // src/tool/plugin/patch.ts
88
- var name5 = "patch";
89
- var Input5 = Schema.Struct({
88
+ var name2 = "patch";
89
+ var Input2 = Schema.Struct({
90
90
  patchText: Schema.String.annotate({
91
91
  description: "The full patch text describing add, update, and delete operations"
92
92
  })
@@ -96,30 +96,30 @@ var Applied2 = Schema.Struct({
96
96
  resource: Schema.String,
97
97
  target: Schema.String
98
98
  });
99
- var Output4 = Schema.Struct({
99
+ var Output2 = Schema.Struct({
100
100
  applied: Schema.Array(Applied2),
101
101
  files: Schema.Array(FileDiff.Info)
102
102
  });
103
- var toModelContent4 = (output) => [
103
+ var toModelContent2 = (output) => [
104
104
  "Success. Updated the following files:",
105
105
  ...output.applied.map((item) => `${item.type === "add" ? "A" : item.type === "delete" ? "D" : "M"} ${item.resource}`)
106
106
  ].join(`
107
107
  `);
108
- var Plugin18 = {
108
+ var Plugin2 = {
109
109
  id: "opencode.tool.patch",
110
110
  effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
111
- const environment = yield* Service69;
112
- const access = yield* Service14;
113
- const fileMutation = yield* Service13;
114
- const formatter = yield* Service17;
115
- const location = yield* Service71;
116
- const permission = yield* Service59;
111
+ const environment = yield* Service52;
112
+ const access = yield* Service56;
113
+ const fileMutation = yield* Service21;
114
+ const formatter = yield* Service19;
115
+ const location = yield* Service76;
116
+ const permission = yield* Service71;
117
117
  yield* ctx.tool.transform((editor) => editor.add({
118
- name: name5,
118
+ name: name2,
119
119
  options: { codemode: false, permission: "edit" },
120
120
  description: patch_default,
121
- input: Input5,
122
- output: Output4,
121
+ input: Input2,
122
+ output: Output2,
123
123
  execute: (input, context) => {
124
124
  const applied = [];
125
125
  const parsed = Patch.parse(input.patchText);
@@ -266,7 +266,7 @@ var Plugin18 = {
266
266
  return { applied, files };
267
267
  }).pipe(fileMutation.withLock(lockTargets), Effect.map((output) => ({
268
268
  output,
269
- content: toModelContent4(output),
269
+ content: toModelContent2(output),
270
270
  metadata: { files: output.files }
271
271
  })), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: "Unable to apply patch", error })));
272
272
  }
@@ -323,4 +323,4 @@ function trimDiff(diff) {
323
323
  `);
324
324
  }
325
325
 
326
- export { name5, Input5, Applied2, Output4, toModelContent4, Plugin18, exports_patch };
326
+ export { name2, Input2, Applied2, Output2, toModelContent2, Plugin2, exports_patch };