@opencode/core 0.0.0-dev-21165 → 0.0.0-dev-21167

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 (793) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +81 -81
  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 +71 -71
  7. package/dist/chunks/{aisdk-t5zv7wm8.js → location-04p168fs.js} +48 -48
  8. package/dist/chunks/{aisdk-rpg9c19m.js → location-06x8he3q.js} +4 -4
  9. package/dist/chunks/{aisdk-hhkdq0n7.js → location-07770t2t.js} +8 -8
  10. package/dist/chunks/{aisdk-t7g3dyv2.js → location-0ayascqm.js} +3 -3
  11. package/dist/chunks/{aisdk-8wbxkt1z.js → location-0br3sbwn.js} +4 -4
  12. package/dist/chunks/{aisdk-jztcgc0p.js → location-0fhz1623.js} +18 -18
  13. package/dist/chunks/{aisdk-rqg4wh3j.js → location-0ghrdfc7.js} +16 -16
  14. package/dist/chunks/{aisdk-cbtmrey0.js → location-0tpm4bjb.js} +28 -28
  15. package/dist/chunks/{aisdk-0vbcp93d.js → location-0vbcp93d.js} +2 -2
  16. package/dist/chunks/{aisdk-4nj4bn9q.js → location-11dqjexa.js} +9 -9
  17. package/dist/chunks/{aisdk-jbnyf9pt.js → location-1g4xzv17.js} +18 -18
  18. package/dist/chunks/{aisdk-m66w712w.js → location-1swd5j6x.js} +28 -28
  19. package/dist/chunks/{aisdk-d48x6jcz.js → location-2170x3g5.js} +9 -9
  20. package/dist/chunks/{aisdk-vcj3ae1a.js → location-2656ff51.js} +24 -24
  21. package/dist/chunks/{aisdk-t37sm7kz.js → location-279651ef.js} +13 -13
  22. package/dist/chunks/{aisdk-zsq5y3wa.js → location-2dqxsat8.js} +8 -8
  23. package/dist/chunks/{aisdk-qne3fa44.js → location-2k9fjx65.js} +5 -5
  24. package/dist/chunks/{aisdk-d31g3ckh.js → location-2pecxe0h.js} +317 -317
  25. package/dist/chunks/{aisdk-k5zc9ap2.js → location-2r1q1mzk.js} +14 -14
  26. package/dist/chunks/{aisdk-kqx1b4hy.js → location-2ryng5r3.js} +4 -4
  27. package/dist/chunks/{aisdk-9mcrn8z0.js → location-2ym858dx.js} +9 -9
  28. package/dist/chunks/{aisdk-h7s7r6s9.js → location-31xfzrxg.js} +5 -5
  29. package/dist/chunks/{aisdk-8bxrgrk0.js → location-3357mp80.js} +18 -18
  30. package/dist/chunks/{aisdk-j7b563xx.js → location-35gpyver.js} +8 -8
  31. package/dist/chunks/{aisdk-3fc6dm20.js → location-3fc6dm20.js} +1 -1
  32. package/dist/chunks/{aisdk-jncq68bc.js → location-3gf5j6sb.js} +11 -11
  33. package/dist/chunks/{aisdk-j0wfdg0j.js → location-3gn0rhd5.js} +71 -71
  34. package/dist/chunks/{aisdk-3hepkmqq.js → location-3hepkmqq.js} +1 -1
  35. package/dist/chunks/{aisdk-3hwn7j4h.js → location-3hwn7j4h.js} +2 -2
  36. package/dist/chunks/{aisdk-y0rx6xhh.js → location-3kyydbkc.js} +15 -15
  37. package/dist/chunks/{aisdk-vy5h1a70.js → location-3s9mjem9.js} +11 -11
  38. package/dist/chunks/{aisdk-3smtnn6g.js → location-3smtnn6g.js} +1 -1
  39. package/dist/chunks/{aisdk-3tvqynh2.js → location-3tvqynh2.js} +1 -1
  40. package/dist/chunks/{aisdk-bjnty173.js → location-3zkbaef1.js} +42 -42
  41. package/dist/chunks/{aisdk-3zsf4n22.js → location-3zsf4n22.js} +1 -1
  42. package/dist/chunks/{aisdk-91mz4wj7.js → location-49kmjwym.js} +21 -21
  43. package/dist/chunks/{aisdk-ty6fs3bm.js → location-4bq5bgy2.js} +25 -25
  44. package/dist/chunks/{aisdk-njdy6mf5.js → location-4cyjj1kj.js} +1 -1
  45. package/dist/chunks/{aisdk-prbmj0rt.js → location-4dr1jy63.js} +22 -22
  46. package/dist/chunks/{aisdk-426b87s3.js → location-4jdk9bya.js} +33 -33
  47. package/dist/chunks/{aisdk-bpxb72je.js → location-4mb9pp0y.js} +34 -34
  48. package/dist/chunks/{aisdk-jmtx8h4d.js → location-4r8naqcn.js} +9 -9
  49. package/dist/chunks/location-4v7qdvcn.js +18 -0
  50. package/dist/chunks/{aisdk-an9zbwa9.js → location-508w5ebs.js} +13 -13
  51. package/dist/chunks/{aisdk-r94pvvab.js → location-54ma36ye.js} +4 -4
  52. package/dist/chunks/{aisdk-d5t2jb6p.js → location-596mpw5j.js} +16 -16
  53. package/dist/chunks/{aisdk-h9wp8z5w.js → location-5dkn69vz.js} +4 -4
  54. package/dist/chunks/{aisdk-vk0zt8k2.js → location-5gcpkkgh.js} +1 -1
  55. package/dist/chunks/{aisdk-a3f1fsja.js → location-5hzva5en.js} +16 -16
  56. package/dist/chunks/{aisdk-5m9w47nd.js → location-5m9w47nd.js} +1 -1
  57. package/dist/chunks/{aisdk-e2nch71j.js → location-5ppqnkm2.js} +8 -8
  58. package/dist/chunks/{aisdk-yh0vgczd.js → location-5srbszfv.js} +13 -13
  59. package/dist/chunks/{aisdk-fsem3xgy.js → location-65mft1we.js} +4 -4
  60. package/dist/chunks/{aisdk-rxp2hjjc.js → location-6764vk3q.js} +28 -28
  61. package/dist/chunks/{aisdk-6827pfxn.js → location-6827pfxn.js} +1 -1
  62. package/dist/chunks/{aisdk-rkprpv83.js → location-6pc27hjz.js} +6 -6
  63. package/dist/chunks/{aisdk-1xnz6qps.js → location-6xadtkfd.js} +10 -10
  64. package/dist/chunks/{aisdk-6xb47vfp.js → location-6xb47vfp.js} +1 -1
  65. package/dist/chunks/{aisdk-6yz0wx8n.js → location-6yz0wx8n.js} +2 -2
  66. package/dist/chunks/{aisdk-h3405n8r.js → location-72nqjsff.js} +12 -12
  67. package/dist/chunks/{aisdk-wmt8s7k7.js → location-74e7m4fh.js} +13 -13
  68. package/dist/chunks/{aisdk-ven1q1z5.js → location-76wwsgby.js} +8 -8
  69. package/dist/chunks/{aisdk-775gj3j1.js → location-775gj3j1.js} +2 -2
  70. package/dist/chunks/{aisdk-7m1d6sc0.js → location-77q3x2ey.js} +11 -11
  71. package/dist/chunks/{aisdk-rdnccvzq.js → location-77s5kvpz.js} +21 -21
  72. package/dist/chunks/{aisdk-e7298pbw.js → location-79mg13ta.js} +21 -21
  73. package/dist/chunks/{aisdk-n19kh25r.js → location-7a08grbq.js} +10 -10
  74. package/dist/chunks/{aisdk-6pcp10ab.js → location-7bbe0ka3.js} +33 -33
  75. package/dist/chunks/{aisdk-7bmhse3q.js → location-7bmhse3q.js} +1 -1
  76. package/dist/chunks/{aisdk-qk802j1v.js → location-7h1ysmxt.js} +13 -13
  77. package/dist/chunks/{aisdk-x1k21vny.js → location-7hnrkwye.js} +17 -17
  78. package/dist/chunks/{aisdk-tkrq73cj.js → location-7mawf7qb.js} +6 -6
  79. package/dist/chunks/{aisdk-6se6dzbq.js → location-80rg9w16.js} +3 -3
  80. package/dist/chunks/{aisdk-sre1ae28.js → location-81rc8gm8.js} +20 -20
  81. package/dist/chunks/{aisdk-84txncab.js → location-84txncab.js} +1 -1
  82. package/dist/chunks/{aisdk-qp9vg2jq.js → location-85xxa1xb.js} +2 -2
  83. package/dist/chunks/{aisdk-k9vwfj98.js → location-86bv6903.js} +3 -3
  84. package/dist/chunks/{aisdk-xs79w4qk.js → location-88q2kk7w.js} +10 -10
  85. package/dist/chunks/{aisdk-n4k6cgy2.js → location-8erdrt3b.js} +20 -20
  86. package/dist/chunks/{aisdk-1zcpefwj.js → location-8jer7cp2.js} +29 -29
  87. package/dist/chunks/{aisdk-8m6m0r52.js → location-8m6m0r52.js} +1 -1
  88. package/dist/chunks/{aisdk-tqfcd1w8.js → location-8r1bk9m8.js} +27 -27
  89. package/dist/chunks/{aisdk-w4c76cxy.js → location-8rbs03yj.js} +7 -7
  90. package/dist/chunks/{aisdk-dyhakcmm.js → location-8rw554nj.js} +1 -1
  91. package/dist/chunks/{aisdk-kamb3qsf.js → location-8twfw7wm.js} +8 -8
  92. package/dist/chunks/{aisdk-a09060d2.js → location-8wmyvevz.js} +20 -20
  93. package/dist/chunks/{aisdk-n7nced9r.js → location-8xd334rx.js} +29 -29
  94. package/dist/chunks/{aisdk-j09zfasm.js → location-91qna3x0.js} +3 -3
  95. package/dist/chunks/{aisdk-ypty8jpq.js → location-946prdfx.js} +16 -16
  96. package/dist/chunks/{aisdk-gnza20my.js → location-95046942.js} +3 -3
  97. package/dist/chunks/{aisdk-b4ytdsdb.js → location-967benbv.js} +8 -8
  98. package/dist/chunks/{aisdk-4k3vg5dq.js → location-96pkh5sd.js} +15 -15
  99. package/dist/chunks/{aisdk-n4dsv9re.js → location-980kq1k5.js} +1 -1
  100. package/dist/chunks/{aisdk-9hn6k4tm.js → location-9hn6k4tm.js} +1 -1
  101. package/dist/chunks/{aisdk-jq76mnv4.js → location-9n3bc4fq.js} +26 -26
  102. package/dist/chunks/{aisdk-kcyv1s8t.js → location-9tg3nv82.js} +33 -33
  103. package/dist/chunks/{aisdk-tq7jj42n.js → location-9y8p4kwc.js} +14 -14
  104. package/dist/chunks/{aisdk-nxcy3rgr.js → location-9ykzgad9.js} +10 -10
  105. package/dist/chunks/{aisdk-4rp1d96y.js → location-a7ysfpsw.js} +28 -28
  106. package/dist/chunks/{aisdk-09vf9mn1.js → location-a8y8kc78.js} +28 -28
  107. package/dist/chunks/{aisdk-addxnjmp.js → location-addxnjmp.js} +1 -1
  108. package/dist/chunks/{aisdk-875hp0v4.js → location-af6x59c3.js} +16 -16
  109. package/dist/chunks/{aisdk-b8xm5rgb.js → location-agxtpttf.js} +15 -15
  110. package/dist/chunks/{aisdk-79s4y9te.js → location-aznyfhv6.js} +11 -11
  111. package/dist/chunks/{aisdk-hy512mf0.js → location-azwc7e5n.js} +17 -17
  112. package/dist/chunks/location-b84aqzgf.js +257 -0
  113. package/dist/chunks/{aisdk-5epte933.js → location-ba07h9gm.js} +3 -3
  114. package/dist/chunks/{aisdk-jq16bmns.js → location-bh8v5ww5.js} +10 -10
  115. package/dist/chunks/{aisdk-bjx1sjef.js → location-bjx1sjef.js} +2 -2
  116. package/dist/chunks/{aisdk-xh163gfe.js → location-br3dfngf.js} +4 -4
  117. package/dist/chunks/{aisdk-r63tr39a.js → location-br8m9pad.js} +79 -79
  118. package/dist/chunks/{aisdk-1ep4rre3.js → location-bzeyqsqd.js} +4 -4
  119. package/dist/chunks/{aisdk-rj3eygr5.js → location-c41wscbt.js} +2 -2
  120. package/dist/chunks/{aisdk-cpneeje0.js → location-c765mh8b.js} +8 -8
  121. package/dist/chunks/{aisdk-sa8ekw3f.js → location-c8ax2afj.js} +2 -2
  122. package/dist/chunks/{aisdk-fq42x2x4.js → location-c9phwppx.js} +15 -15
  123. package/dist/chunks/{aisdk-t42p1cja.js → location-chy52nxf.js} +16 -16
  124. package/dist/chunks/{aisdk-s97ksm5h.js → location-d2326s1m.js} +15 -15
  125. package/dist/chunks/{aisdk-70a8yax9.js → location-d4xra4yg.js} +8 -8
  126. package/dist/chunks/{aisdk-sv0nqeds.js → location-d5wrgfzq.js} +3 -3
  127. package/dist/chunks/{aisdk-pct1c8gm.js → location-d858xzj7.js} +4 -4
  128. package/dist/chunks/{aisdk-7q3bkqfb.js → location-d8exgxg3.js} +18 -18
  129. package/dist/chunks/{aisdk-y4djh4py.js → location-d9x1gjen.js} +82 -82
  130. package/dist/chunks/{aisdk-x5zd51fp.js → location-djcsq056.js} +17 -17
  131. package/dist/chunks/{aisdk-mbbzmfev.js → location-dmspabrr.js} +4 -4
  132. package/dist/chunks/{aisdk-dpkg50ah.js → location-dpkg50ah.js} +1 -1
  133. package/dist/chunks/{aisdk-drwq78ky.js → location-drwq78ky.js} +1 -1
  134. package/dist/chunks/{aisdk-nxxzakdb.js → location-dsc0h7gk.js} +9 -9
  135. package/dist/chunks/{aisdk-qfja8fnv.js → location-dxq1tm2j.js} +7 -7
  136. package/dist/chunks/{aisdk-6jg6e7qm.js → location-e304bmef.js} +11 -11
  137. package/dist/chunks/{aisdk-5xqnd2py.js → location-e6tgbxcd.js} +12 -12
  138. package/dist/chunks/{aisdk-nma959mg.js → location-e80seqcp.js} +3 -3
  139. package/dist/chunks/{aisdk-p8593brn.js → location-ecd3m7kj.js} +11 -11
  140. package/dist/chunks/{aisdk-eej6y6fw.js → location-eej6y6fw.js} +2 -2
  141. package/dist/chunks/{aisdk-ef5x83kb.js → location-ef5x83kb.js} +1 -1
  142. package/dist/chunks/{aisdk-hydvx0bh.js → location-ej844vx3.js} +1 -1
  143. package/dist/chunks/{aisdk-51zbrdrj.js → location-ek28ef31.js} +33 -33
  144. package/dist/chunks/{aisdk-c1fqxshp.js → location-es1vcfrp.js} +3 -3
  145. package/dist/chunks/{aisdk-wyyhv6hk.js → location-evnsakp9.js} +18 -18
  146. package/dist/chunks/{aisdk-0nrhkkag.js → location-ez5ayfgk.js} +11 -11
  147. package/dist/chunks/{aisdk-d335wv2a.js → location-f3m5b7dq.js} +16 -16
  148. package/dist/chunks/{aisdk-zs4gxsec.js → location-f5rny02c.js} +25 -25
  149. package/dist/chunks/{aisdk-eyy6pa5s.js → location-f6w3bzx6.js} +2 -2
  150. package/dist/chunks/{aisdk-f0jrrk8m.js → location-f7d2f8sr.js} +37 -37
  151. package/dist/chunks/{aisdk-n5q83168.js → location-f7fbxzn5.js} +5 -5
  152. package/dist/chunks/{aisdk-z51sas7x.js → location-f85jeg19.js} +3 -3
  153. package/dist/chunks/{aisdk-fcrkznn8.js → location-fcrkznn8.js} +1 -1
  154. package/dist/chunks/{aisdk-fcy631f0.js → location-fcy631f0.js} +1 -1
  155. package/dist/chunks/{aisdk-07bfhn93.js → location-fexx2wnt.js} +4 -4
  156. package/dist/chunks/{aisdk-tt8gc4fv.js → location-fn9t717r.js} +6 -6
  157. package/dist/chunks/{aisdk-t0tv9tfj.js → location-g9z16n36.js} +12 -12
  158. package/dist/chunks/{aisdk-8f56w51t.js → location-gbgj9g7h.js} +24 -24
  159. package/dist/chunks/{aisdk-r1616k2y.js → location-gbpyn874.js} +27 -27
  160. package/dist/chunks/{aisdk-gd4qta3r.js → location-gd4qta3r.js} +1 -1
  161. package/dist/chunks/{aisdk-6xwgnd5y.js → location-gq1wrjh7.js} +8 -8
  162. package/dist/chunks/{aisdk-xy7hnjrw.js → location-gq9rs75s.js} +19 -19
  163. package/dist/chunks/{aisdk-ya0qrc6d.js → location-gqqemsvr.js} +11 -11
  164. package/dist/chunks/{aisdk-egt26144.js → location-gvtxftkn.js} +26 -26
  165. package/dist/chunks/{aisdk-m6q0me2f.js → location-gws9cbsr.js} +11 -11
  166. package/dist/chunks/{aisdk-h6vf3j39.js → location-h6vf3j39.js} +1 -1
  167. package/dist/chunks/{aisdk-q25vhvzg.js → location-h8j75c1p.js} +15 -15
  168. package/dist/chunks/{aisdk-rytb5km2.js → location-ha3n25mh.js} +6 -6
  169. package/dist/chunks/{aisdk-70qy5gsz.js → location-hewkcgwf.js} +15 -15
  170. package/dist/chunks/{aisdk-hgz4x7wa.js → location-hgz4x7wa.js} +1 -1
  171. package/dist/chunks/{aisdk-jfsx45fr.js → location-hsjvmpjh.js} +8 -8
  172. package/dist/chunks/{aisdk-mvj51z83.js → location-hw91664y.js} +3 -3
  173. package/dist/chunks/{aisdk-64hykmhj.js → location-hw962j61.js} +21 -21
  174. package/dist/chunks/{aisdk-6qdkdryh.js → location-j5zx779k.js} +140 -140
  175. package/dist/chunks/{aisdk-p7nf93c6.js → location-jfw8sxf1.js} +4 -4
  176. package/dist/chunks/{aisdk-yqc6bamn.js → location-jhdf29st.js} +1 -1
  177. package/dist/chunks/{aisdk-0f7ygtf0.js → location-k0rwae6a.js} +7 -7
  178. package/dist/chunks/{aisdk-1twacjpa.js → location-k550d0f8.js} +29 -29
  179. package/dist/chunks/{aisdk-2ykqrg29.js → location-kdjm1ewm.js} +6 -6
  180. package/dist/chunks/{aisdk-76rvckpe.js → location-kecqjjhm.js} +5 -5
  181. package/dist/chunks/{aisdk-fxaymqdw.js → location-khmqacep.js} +4 -4
  182. package/dist/chunks/{aisdk-j7shp2nh.js → location-kjbqd4k5.js} +3 -3
  183. package/dist/chunks/{aisdk-7cx595n2.js → location-kqv3x6rj.js} +4 -4
  184. package/dist/chunks/{aisdk-kwb1v3vj.js → location-kwb1v3vj.js} +1 -1
  185. package/dist/chunks/{aisdk-m9w0rfyh.js → location-m9w0rfyh.js} +1 -1
  186. package/dist/chunks/{aisdk-fpcy6920.js → location-ma9xypmg.js} +7 -7
  187. package/dist/chunks/{aisdk-h2hf2vvh.js → location-mas8jxpn.js} +11 -11
  188. package/dist/chunks/{aisdk-maspj1v3.js → location-maspj1v3.js} +1 -1
  189. package/dist/chunks/{aisdk-f1nb0rk8.js → location-mf02evs1.js} +23 -23
  190. package/dist/chunks/{aisdk-cbkgmcqe.js → location-mgcym914.js} +32 -32
  191. package/dist/chunks/{aisdk-ahd542yp.js → location-ms93yq6r.js} +8 -8
  192. package/dist/chunks/{aisdk-7nb0j301.js → location-n487pwzc.js} +13 -13
  193. package/dist/chunks/{aisdk-dgwyq2v0.js → location-n6pkkeec.js} +43 -43
  194. package/dist/chunks/{aisdk-v62c8qgf.js → location-n7jd5fce.js} +3 -3
  195. package/dist/chunks/{aisdk-s5met55r.js → location-ngts6ef0.js} +8 -8
  196. package/dist/chunks/{aisdk-b12fh71z.js → location-nj7hqrdc.js} +5 -5
  197. package/dist/chunks/{aisdk-qz02d4gv.js → location-nrp9mwhy.js} +10 -10
  198. package/dist/chunks/{aisdk-wh8ww6es.js → location-nynfj6vr.js} +2 -2
  199. package/dist/chunks/{aisdk-nwdmf1ca.js → location-p141jy73.js} +4 -4
  200. package/dist/chunks/{aisdk-f4kv1xja.js → location-p6xhd61c.js} +7 -7
  201. package/dist/chunks/{aisdk-n7z5axv5.js → location-p76n1axe.js} +42 -42
  202. package/dist/chunks/{aisdk-gtg0yfsx.js → location-pesmq38c.js} +4 -4
  203. package/dist/chunks/{aisdk-pjvnvgmy.js → location-pjvnvgmy.js} +1 -1
  204. package/dist/chunks/{aisdk-pknna89w.js → location-pknna89w.js} +1 -1
  205. package/dist/chunks/{aisdk-83ey9fxt.js → location-pt7wvqpt.js} +10 -10
  206. package/dist/chunks/{aisdk-2a8f9bg8.js → location-q0kdvkfz.js} +11 -11
  207. package/dist/chunks/{aisdk-fegk541e.js → location-q17z9dx8.js} +5 -5
  208. package/dist/chunks/{aisdk-x7mwngbm.js → location-q229fd3c.js} +26 -26
  209. package/dist/chunks/{aisdk-2rgxr6yb.js → location-q2yp5mm4.js} +2 -2
  210. package/dist/chunks/{aisdk-04kyr8dc.js → location-qd7chy0n.js} +6 -6
  211. package/dist/chunks/{aisdk-1wcjck60.js → location-qdy98gs8.js} +13 -13
  212. package/dist/chunks/{aisdk-qnc92qwc.js → location-qnc92qwc.js} +1 -1
  213. package/dist/chunks/{aisdk-qsdy395h.js → location-qsdy395h.js} +1 -1
  214. package/dist/chunks/{aisdk-16zn0pm4.js → location-qz3gmm2p.js} +3 -3
  215. package/dist/chunks/{aisdk-2cnsnyjd.js → location-r06fjp3p.js} +13 -13
  216. package/dist/chunks/{aisdk-yssedqtc.js → location-r1j6ejcm.js} +5 -5
  217. package/dist/chunks/{aisdk-9n365qnn.js → location-r26zpbq3.js} +20 -20
  218. package/dist/chunks/{aisdk-n4d3d4w3.js → location-r6kb5pcb.js} +11 -11
  219. package/dist/chunks/{aisdk-gkb8hfxz.js → location-r9q2q9h8.js} +6 -6
  220. package/dist/chunks/{aisdk-a46v4e4v.js → location-ratrq7cm.js} +4 -4
  221. package/dist/chunks/{aisdk-rdw6cm16.js → location-rdw6cm16.js} +1 -1
  222. package/dist/chunks/{aisdk-rhjbct0v.js → location-rhjbct0v.js} +1 -1
  223. package/dist/chunks/{aisdk-hqnngn8j.js → location-rnb0fp5b.js} +6 -6
  224. package/dist/chunks/{aisdk-s8e7q1bf.js → location-s3hasvfa.js} +5 -5
  225. package/dist/chunks/{aisdk-g2gn91pk.js → location-sf3h3gbp.js} +19 -19
  226. package/dist/chunks/{aisdk-6h8mhza0.js → location-sff9pyzt.js} +11 -11
  227. package/dist/chunks/{aisdk-f6qjwz0a.js → location-sx6g28q1.js} +17 -17
  228. package/dist/chunks/{aisdk-edbfpfck.js → location-sxzvkvgj.js} +6 -6
  229. package/dist/chunks/{aisdk-syv4x271.js → location-syv4x271.js} +1 -1
  230. package/dist/chunks/{aisdk-fn24ytry.js → location-syyme4qc.js} +2 -2
  231. package/dist/chunks/{aisdk-dbt3qtfn.js → location-t1v93gsh.js} +18 -18
  232. package/dist/chunks/{aisdk-v1rq52jb.js → location-t2m0r48e.js} +6 -6
  233. package/dist/chunks/{aisdk-9w7t8wnk.js → location-t3crqbkt.js} +6 -6
  234. package/dist/chunks/{aisdk-j8s3b3b0.js → location-t6g1a1tj.js} +2 -2
  235. package/dist/chunks/{aisdk-9j4ry0rw.js → location-t74mf4k5.js} +14 -14
  236. package/dist/chunks/{aisdk-tazgh4e4.js → location-tazgh4e4.js} +1 -1
  237. package/dist/chunks/{aisdk-tcezcvh9.js → location-tcezcvh9.js} +1 -1
  238. package/dist/chunks/{aisdk-tdstcens.js → location-tdstcens.js} +1 -1
  239. package/dist/chunks/{aisdk-k3sfpeqe.js → location-tj4h5t6p.js} +3 -3
  240. package/dist/chunks/{aisdk-rert0e01.js → location-tkb22qbm.js} +2 -2
  241. package/dist/chunks/{aisdk-tm0kqsz3.js → location-tm0kqsz3.js} +1 -1
  242. package/dist/chunks/{aisdk-08rc9xny.js → location-tm4g9m88.js} +3 -3
  243. package/dist/chunks/{aisdk-74dbrd1v.js → location-tystnwaz.js} +11 -11
  244. package/dist/chunks/{aisdk-tyytaxap.js → location-tyytaxap.js} +1 -1
  245. package/dist/chunks/{aisdk-v210v162.js → location-v210v162.js} +2 -2
  246. package/dist/chunks/{aisdk-w6dwx825.js → location-v5kskatz.js} +12 -12
  247. package/dist/chunks/{aisdk-v7p4zvkq.js → location-v7p4zvkq.js} +2 -2
  248. package/dist/chunks/{aisdk-hsxxxj2g.js → location-vd93shqe.js} +26 -26
  249. package/dist/chunks/{aisdk-veqvce7d.js → location-veqvce7d.js} +1 -1
  250. package/dist/chunks/{aisdk-6ranmm6y.js → location-vp03p32s.js} +17 -17
  251. package/dist/chunks/{aisdk-q87czp7c.js → location-vtevn8b1.js} +48 -48
  252. package/dist/chunks/{aisdk-vzs5sf6e.js → location-vzs5sf6e.js} +1 -1
  253. package/dist/chunks/{aisdk-m4qw7nje.js → location-w319agzg.js} +11 -11
  254. package/dist/chunks/{aisdk-w3wsvvr9.js → location-w3wsvvr9.js} +1 -1
  255. package/dist/chunks/{aisdk-wd87259q.js → location-wd87259q.js} +1 -1
  256. package/dist/chunks/{aisdk-ke19jgsp.js → location-wgkxnvdd.js} +36 -36
  257. package/dist/chunks/{aisdk-mjp5m37f.js → location-ws642w3m.js} +23 -23
  258. package/dist/chunks/{aisdk-trg32b58.js → location-wvgy3s2v.js} +42 -42
  259. package/dist/chunks/{aisdk-251gbjhp.js → location-x4t79far.js} +3 -3
  260. package/dist/chunks/{aisdk-rk0dasmj.js → location-x5mh70ph.js} +16 -16
  261. package/dist/chunks/{aisdk-ax9sbbz8.js → location-x6k905z3.js} +10 -10
  262. package/dist/chunks/{aisdk-01n1kwcd.js → location-xfkdt1e3.js} +50 -50
  263. package/dist/chunks/{aisdk-2zj1tk32.js → location-xgsyd334.js} +25 -25
  264. package/dist/chunks/{aisdk-d0q8q246.js → location-xkva1xr6.js} +27 -27
  265. package/dist/chunks/{aisdk-kkgz0y6d.js → location-xn39yem9.js} +14 -14
  266. package/dist/chunks/{aisdk-k3525xym.js → location-xpakvqd9.js} +17 -17
  267. package/dist/chunks/{aisdk-ekjfvpgh.js → location-xsykp6z4.js} +13 -13
  268. package/dist/chunks/location-xzhrxm47.js +26 -0
  269. package/dist/chunks/{aisdk-y1fvbwt7.js → location-y1fvbwt7.js} +1 -1
  270. package/dist/chunks/{aisdk-j5ea0gxc.js → location-y4fre6jr.js} +32 -32
  271. package/dist/chunks/{aisdk-5mqg4y6p.js → location-y54hr7f3.js} +9 -9
  272. package/dist/chunks/{aisdk-q9e3qk30.js → location-y729g6m6.js} +9 -9
  273. package/dist/chunks/{aisdk-4xdpab2z.js → location-y7nndgyc.js} +9 -9
  274. package/dist/chunks/{aisdk-3h8s31n6.js → location-y9wpg32p.js} +7 -7
  275. package/dist/chunks/{aisdk-r8xr0va3.js → location-yp2x3t23.js} +4 -4
  276. package/dist/chunks/{aisdk-ap4w3rzp.js → location-yqt3nf50.js} +9 -9
  277. package/dist/chunks/{aisdk-yzke4xj3.js → location-yrjdz1vx.js} +24 -24
  278. package/dist/chunks/{aisdk-3npajrg6.js → location-yrq96tw7.js} +45 -45
  279. package/dist/chunks/{aisdk-16s6cm5x.js → location-yvf15whc.js} +11 -11
  280. package/dist/chunks/{aisdk-7jgz7t5s.js → location-yy653qm8.js} +13 -13
  281. package/dist/chunks/{aisdk-z0bkrqjs.js → location-z0bkrqjs.js} +1 -1
  282. package/dist/chunks/{aisdk-z4gd07h5.js → location-z9yvgd5a.js} +34 -34
  283. package/dist/chunks/{aisdk-zr2ceqn5.js → location-zr2ceqn5.js} +1 -1
  284. package/dist/chunks/{aisdk-rvyy05ds.js → location-zv1es41t.js} +11 -11
  285. package/dist/chunks/{aisdk-zxq2ej10.js → location-zxq2ej10.js} +1 -1
  286. package/dist/codemode/catalog.js +1 -1
  287. package/dist/codemode/instructions.js +7 -7
  288. package/dist/codemode/tool.js +3 -3
  289. package/dist/codemode/web.js +1 -1
  290. package/dist/command.js +83 -83
  291. package/dist/config/discovery.js +84 -84
  292. package/dist/config/markdown.js +1 -1
  293. package/dist/config/normalize.js +101 -101
  294. package/dist/config/plugin/agent.js +116 -116
  295. package/dist/config/plugin/command.js +206 -206
  296. package/dist/config/plugin/compaction.js +155 -155
  297. package/dist/config/plugin/compatibility.js +135 -135
  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 +116 -116
  301. package/dist/config/plugin/instruction.js +116 -116
  302. package/dist/config/plugin/location-watcher.js +116 -116
  303. package/dist/config/plugin/mcp.js +121 -121
  304. package/dist/config/plugin/policy.js +117 -117
  305. package/dist/config/plugin/provider.js +116 -116
  306. package/dist/config/plugin/reference.js +118 -118
  307. package/dist/config/plugin/shell.js +118 -118
  308. package/dist/config/plugin/skill-file.js +104 -104
  309. package/dist/config/plugin/skill-scan.js +3 -3
  310. package/dist/config/plugin/skill.js +138 -138
  311. package/dist/config/plugin/snapshot.js +116 -116
  312. package/dist/config/plugin/source.js +119 -119
  313. package/dist/config/plugin/tool-output.js +117 -117
  314. package/dist/config/plugin/websearch.js +117 -117
  315. package/dist/config/plugin/worktree.js +118 -118
  316. package/dist/config/variable.js +1 -1
  317. package/dist/config/watch.js +1 -1
  318. package/dist/config.js +119 -119
  319. package/dist/credential/sql.js +2 -2
  320. package/dist/credential.js +79 -79
  321. package/dist/database/database.js +68 -68
  322. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  323. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  324. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  325. package/dist/database/drizzle/index.js +13 -13
  326. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  327. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  328. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  329. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  330. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  331. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  335. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  336. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  337. package/dist/database/drizzle.js +14 -14
  338. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  339. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  340. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  341. package/dist/database/migration/20260225215848_workspace.js +1 -1
  342. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  343. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  344. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  345. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  346. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  347. package/dist/database/migration/20260323234822_events.js +1 -1
  348. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  349. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  350. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  351. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  352. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  353. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  354. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  355. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  356. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  357. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  358. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  359. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  360. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  361. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  362. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  363. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  364. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  365. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  366. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  367. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  368. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  369. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  370. package/dist/database/migration/20260611035744_credential.js +1 -1
  371. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  372. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  373. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  374. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  375. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  376. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  377. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  378. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  379. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  380. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  381. package/dist/database/migration/20260812213948_worktree.js +1 -1
  382. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  383. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  384. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  385. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  386. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  387. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  388. package/dist/database/migration.gen.js +51 -51
  389. package/dist/database/migration.js +53 -53
  390. package/dist/database/path.js +2 -2
  391. package/dist/database/schema.gen.js +1 -1
  392. package/dist/database/schema.sql.js +1 -1
  393. package/dist/database/sqlite.bun.js +1 -1
  394. package/dist/database/sqlite.js +1 -1
  395. package/dist/database/sqlite.node.js +1 -1
  396. package/dist/database/sqlite.workerd.js +1 -1
  397. package/dist/database/v1-migration.bun.js +78 -78
  398. package/dist/database/v1-migration.js +1 -1
  399. package/dist/effect/app-node-builder.js +369 -369
  400. package/dist/effect/app-node-platform.js +2 -2
  401. package/dist/effect/keyed-mutex.js +1 -1
  402. package/dist/effect/websocket-constructor.js +1 -1
  403. package/dist/environment/driver.js +1 -1
  404. package/dist/environment/environment.js +95 -95
  405. package/dist/environment/exec-defaults.js +2 -2
  406. package/dist/environment/files.js +1 -1
  407. package/dist/environment/index.js +95 -95
  408. package/dist/environment/local.js +2 -2
  409. package/dist/environment/memory.js +2 -2
  410. package/dist/environment/unavailable.js +3 -3
  411. package/dist/event/sql.js +1 -1
  412. package/dist/event-logger.js +72 -72
  413. package/dist/file-access.js +106 -106
  414. package/dist/file-mutation.js +96 -96
  415. package/dist/file-retention.js +1 -1
  416. package/dist/filesystem/fff.bun.js +2 -2
  417. package/dist/filesystem/fff.js +1 -1
  418. package/dist/filesystem/fff.node.js +2 -2
  419. package/dist/filesystem/fff.workerd.js +2 -2
  420. package/dist/filesystem/location-watcher-policy.js +4 -4
  421. package/dist/filesystem/location-watcher.js +219 -219
  422. package/dist/filesystem/protected.js +1 -1
  423. package/dist/filesystem/search.js +105 -105
  424. package/dist/filesystem/watcher-binding.js +1 -1
  425. package/dist/filesystem/watcher.js +11 -11
  426. package/dist/filesystem.js +104 -104
  427. package/dist/form.js +78 -78
  428. package/dist/formatter/builtins.js +4 -4
  429. package/dist/formatter.js +89 -89
  430. package/dist/generate.js +106 -106
  431. package/dist/git.js +6 -6
  432. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  433. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  434. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  435. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  436. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  437. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  438. package/dist/github-copilot/copilot-provider.js +17 -17
  439. package/dist/github-copilot/models.js +93 -93
  440. package/dist/github-copilot/openai-compatible-error.js +1 -1
  441. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  442. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  443. package/dist/github-copilot/responses/openai-error.js +1 -1
  444. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  445. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  446. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  447. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  448. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  449. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  450. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  451. package/dist/image/photon.js +2 -2
  452. package/dist/image.js +6 -6
  453. package/dist/instance/service.js +5 -5
  454. package/dist/instance.js +360 -360
  455. package/dist/instruction-discovery.js +84 -84
  456. package/dist/instructions/builtins.js +89 -89
  457. package/dist/instructions/index.js +1 -1
  458. package/dist/integration/connection.js +1 -1
  459. package/dist/integration.js +83 -83
  460. package/dist/job.js +80 -80
  461. package/dist/kv/sql.js +2 -2
  462. package/dist/kv.js +75 -75
  463. package/dist/location-activity.js +133 -133
  464. package/dist/location-lifecycle.js +109 -109
  465. package/dist/location-service-map.js +88 -88
  466. package/dist/location-services.js +357 -357
  467. package/dist/location.js +83 -83
  468. package/dist/managed-policy.js +8 -8
  469. package/dist/mcp/client.js +93 -93
  470. package/dist/mcp/index.js +111 -111
  471. package/dist/mcp/instructions.js +131 -131
  472. package/dist/mcp/oauth.js +80 -80
  473. package/dist/mcp/stdio.js +92 -92
  474. package/dist/mime.js +1 -1
  475. package/dist/modal/models.js +93 -93
  476. package/dist/model-resolver.js +100 -100
  477. package/dist/model-retry.js +1 -1
  478. package/dist/model.js +96 -96
  479. package/dist/models-dev.js +109 -109
  480. package/dist/oauth/page.js +1 -1
  481. package/dist/permission/saved.js +84 -84
  482. package/dist/permission/sql.js +5 -5
  483. package/dist/permission.js +111 -111
  484. package/dist/persistent-pty/binary.bun.js +1 -1
  485. package/dist/persistent-pty/daemon.js +1 -1
  486. package/dist/persistent-pty/index.js +90 -90
  487. package/dist/persistent-pty/pty-binding.js +1 -1
  488. package/dist/persistent-pty.js +77 -77
  489. package/dist/plugin/agent.js +76 -76
  490. package/dist/plugin/command.js +100 -100
  491. package/dist/plugin/hooks.js +5 -5
  492. package/dist/plugin/host.js +212 -212
  493. package/dist/plugin/identity.js +3 -3
  494. package/dist/plugin/instance.js +1 -1
  495. package/dist/plugin/internal.js +331 -331
  496. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  497. package/dist/plugin/models-dev.js +98 -98
  498. package/dist/plugin/module.js +115 -115
  499. package/dist/plugin/optimize.js +4 -4
  500. package/dist/plugin/plan.js +104 -104
  501. package/dist/plugin/promise.js +1 -1
  502. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  503. package/dist/plugin/provider/azure.js +114 -114
  504. package/dist/plugin/provider/cerebras.js +1 -1
  505. package/dist/plugin/provider/chatgpt.js +116 -116
  506. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  507. package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
  508. package/dist/plugin/provider/cohere.js +2 -2
  509. package/dist/plugin/provider/configured.js +112 -112
  510. package/dist/plugin/provider/databricks.js +1 -1
  511. package/dist/plugin/provider/digitalocean.js +95 -95
  512. package/dist/plugin/provider/dynamic.js +2 -2
  513. package/dist/plugin/provider/factory.js +1 -1
  514. package/dist/plugin/provider/github-copilot.js +97 -97
  515. package/dist/plugin/provider/gitlab.js +95 -95
  516. package/dist/plugin/provider/google-vertex.js +113 -113
  517. package/dist/plugin/provider/kilo.js +1 -1
  518. package/dist/plugin/provider/llmgateway.js +80 -80
  519. package/dist/plugin/provider/lmstudio.js +123 -123
  520. package/dist/plugin/provider/local.js +122 -122
  521. package/dist/plugin/provider/modal.js +94 -94
  522. package/dist/plugin/provider/neon.js +1 -1
  523. package/dist/plugin/provider/nvidia.js +1 -1
  524. package/dist/plugin/provider/ollama.js +125 -125
  525. package/dist/plugin/provider/openai.js +118 -118
  526. package/dist/plugin/provider/opencode.js +100 -100
  527. package/dist/plugin/provider/openrouter.js +93 -93
  528. package/dist/plugin/provider/perplexity.js +2 -2
  529. package/dist/plugin/provider/poe.js +81 -81
  530. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  531. package/dist/plugin/provider/sap-ai-core.js +93 -93
  532. package/dist/plugin/provider/sdk-factory.js +1 -1
  533. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  534. package/dist/plugin/provider/vercel.js +92 -92
  535. package/dist/plugin/provider/vllm.js +125 -125
  536. package/dist/plugin/provider/xai.js +93 -93
  537. package/dist/plugin/provider/zenmux.js +1 -1
  538. package/dist/plugin/provider.js +168 -168
  539. package/dist/plugin/sdk.js +72 -72
  540. package/dist/plugin/service.js +3 -3
  541. package/dist/plugin/skill.js +132 -132
  542. package/dist/plugin/source-directory.js +1 -1
  543. package/dist/plugin/supervisor.js +348 -348
  544. package/dist/plugin/tool-input-repair.js +4 -4
  545. package/dist/plugin/update.js +6 -6
  546. package/dist/plugin/vcs/git.js +86 -86
  547. package/dist/plugin/vcs/hg.js +86 -86
  548. package/dist/plugin/verbosity.js +95 -95
  549. package/dist/plugin/warming.js +114 -114
  550. package/dist/plugin/websearch/exa.js +7 -7
  551. package/dist/plugin/websearch/firecrawl.js +6 -6
  552. package/dist/plugin/websearch/index.js +9 -9
  553. package/dist/plugin/websearch/mcp.js +2 -2
  554. package/dist/plugin/websearch/parallel.js +8 -8
  555. package/dist/plugin/websearch/tavily.js +6 -6
  556. package/dist/plugin/websearch/tinyfish.js +8 -8
  557. package/dist/plugin.js +223 -223
  558. package/dist/project/schema.js +2 -2
  559. package/dist/project/sql.js +4 -4
  560. package/dist/project.js +82 -82
  561. package/dist/provider.js +95 -95
  562. package/dist/pty/protocol.js +1 -1
  563. package/dist/pty/ticket.js +1 -1
  564. package/dist/pty.js +97 -97
  565. package/dist/reference/instructions.js +87 -87
  566. package/dist/reference.js +93 -93
  567. package/dist/repository-cache.js +83 -83
  568. package/dist/repository.js +1 -1
  569. package/dist/ripgrep/binary.js +2 -2
  570. package/dist/ripgrep.js +99 -99
  571. package/dist/rpc.js +88 -88
  572. package/dist/schema.js +1 -1
  573. package/dist/session/affinity.js +3 -3
  574. package/dist/session/command.js +76 -76
  575. package/dist/session/compaction.js +138 -138
  576. package/dist/session/context.js +155 -155
  577. package/dist/session/diff.js +90 -90
  578. package/dist/session/environment.js +5 -5
  579. package/dist/session/error.js +3 -3
  580. package/dist/session/event.js +1 -1
  581. package/dist/session/execution/restart.js +215 -215
  582. package/dist/session/execution.js +129 -129
  583. package/dist/session/generate.js +157 -157
  584. package/dist/session/history.js +13 -13
  585. package/dist/session/inbox.js +90 -90
  586. package/dist/session/info.js +3 -3
  587. package/dist/session/instruction-entry.js +81 -81
  588. package/dist/session/instruction-state.js +8 -8
  589. package/dist/session/instructions.js +99 -99
  590. package/dist/session/message-updater.js +4 -4
  591. package/dist/session/message.js +1 -1
  592. package/dist/session/model-request.js +122 -122
  593. package/dist/session/model-transport.js +9 -9
  594. package/dist/session/move.js +131 -131
  595. package/dist/session/projector.js +88 -88
  596. package/dist/session/prompt.js +107 -107
  597. package/dist/session/provider-context.js +3 -3
  598. package/dist/session/revert.js +92 -92
  599. package/dist/session/run-coordinator.js +3 -3
  600. package/dist/session/runner/index.js +3 -3
  601. package/dist/session/runner/llm.js +225 -225
  602. package/dist/session/runner/max-steps.js +1 -1
  603. package/dist/session/runner/model.js +100 -100
  604. package/dist/session/runner/publish-llm-event.js +115 -115
  605. package/dist/session/runner/retry.js +5 -5
  606. package/dist/session/runner/step.js +128 -128
  607. package/dist/session/runner/to-llm-message.js +2 -2
  608. package/dist/session/schema.js +5 -5
  609. package/dist/session/session.js +162 -162
  610. package/dist/session/shell.js +130 -130
  611. package/dist/session/skill.js +107 -107
  612. package/dist/session/sql.js +5 -5
  613. package/dist/session/stats.js +75 -75
  614. package/dist/session/store.js +89 -89
  615. package/dist/session/subagent-completion.js +1 -1
  616. package/dist/session/subagent-job.js +206 -206
  617. package/dist/session/system-prompt.js +1 -1
  618. package/dist/session/title.js +159 -159
  619. package/dist/session/to-session-error.js +113 -113
  620. package/dist/session/transfer.js +208 -208
  621. package/dist/session/usage.js +1 -1
  622. package/dist/session.js +208 -208
  623. package/dist/shell/parse.js +8 -8
  624. package/dist/shell/result.js +1 -1
  625. package/dist/shell/scan.js +1 -1
  626. package/dist/shell/select.js +9 -9
  627. package/dist/shell.js +132 -132
  628. package/dist/skill/discovery.js +6 -6
  629. package/dist/skill/instructions.js +107 -107
  630. package/dist/skill.js +116 -116
  631. package/dist/snapshot.js +95 -95
  632. package/dist/state.js +1 -1
  633. package/dist/tool/html-markdown.js +1 -1
  634. package/dist/tool/http-body.js +1 -1
  635. package/dist/tool/mcp.js +130 -130
  636. package/dist/tool/plugin/edit.js +116 -116
  637. package/dist/tool/plugin/file-diff.js +1 -1
  638. package/dist/tool/plugin/glob.js +126 -126
  639. package/dist/tool/plugin/grep.js +126 -126
  640. package/dist/tool/plugin/mcp-resource.js +119 -119
  641. package/dist/tool/plugin/opencode.js +111 -111
  642. package/dist/tool/plugin/patch.js +124 -124
  643. package/dist/tool/plugin/question.js +107 -107
  644. package/dist/tool/plugin/read.js +127 -127
  645. package/dist/tool/plugin/shell.js +211 -211
  646. package/dist/tool/plugin/skill.js +115 -115
  647. package/dist/tool/plugin/subagent.js +211 -211
  648. package/dist/tool/plugin/webfetch.js +106 -106
  649. package/dist/tool/plugin/websearch.js +116 -116
  650. package/dist/tool/plugin/write.js +124 -124
  651. package/dist/tool/read-filesystem.js +102 -102
  652. package/dist/tool/runtime.js +1 -1
  653. package/dist/tool-output.js +7 -7
  654. package/dist/tool.js +14 -14
  655. package/dist/util/error-summary.js +1 -1
  656. package/dist/util/error.js +1 -1
  657. package/dist/util/git-executable.js +2 -2
  658. package/dist/util/iife.js +1 -1
  659. package/dist/util/lazy.js +1 -1
  660. package/dist/util/slug.js +1 -1
  661. package/dist/util/token.js +1 -1
  662. package/dist/util/which.js +1 -1
  663. package/dist/util/wildcard.js +1 -1
  664. package/dist/v1/config/agent.js +5 -5
  665. package/dist/v1/config/command.js +3 -3
  666. package/dist/v1/config/error.js +2 -2
  667. package/dist/v1/config/mcp.js +2 -2
  668. package/dist/v1/config/migrate.js +94 -94
  669. package/dist/v1/config/permission.js +3 -3
  670. package/dist/v1/config/plugin.js +1 -1
  671. package/dist/v1/config/provider-options.js +1 -1
  672. package/dist/v1/config/provider.js +4 -4
  673. package/dist/variant.js +93 -93
  674. package/dist/vcs/patch.js +1 -1
  675. package/dist/vcs.js +91 -91
  676. package/dist/voice.js +88 -88
  677. package/dist/websearch.js +86 -86
  678. package/dist/wellknown/plugin.js +78 -78
  679. package/dist/wellknown.js +79 -79
  680. package/dist/workspace/driver.js +7 -7
  681. package/dist/workspace/sql.js +1 -1
  682. package/dist/workspace.js +84 -84
  683. package/dist/worktree/directory.js +2 -2
  684. package/dist/worktree/git.js +10 -10
  685. package/dist/worktree/sql.js +5 -5
  686. package/dist/worktree/strategies.js +91 -91
  687. package/dist/worktree.js +98 -98
  688. package/package.json +8 -8
  689. package/dist/chunks/aisdk-9sh4wc5j.js +0 -18
  690. package/dist/chunks/aisdk-bdfb4q3w.js +0 -26
  691. package/dist/chunks/aisdk-t4evg6pt.js +0 -257
  692. /package/dist/chunks/{aisdk-0qkdqm5v.js → location-0qkdqm5v.js} +0 -0
  693. /package/dist/chunks/{aisdk-0zkw76rk.js → location-0zkw76rk.js} +0 -0
  694. /package/dist/chunks/{aisdk-17cy0kzp.js → location-17cy0kzp.js} +0 -0
  695. /package/dist/chunks/{aisdk-1cnp2v09.js → location-1cnp2v09.js} +0 -0
  696. /package/dist/chunks/{aisdk-1kg9ymc8.js → location-1kg9ymc8.js} +0 -0
  697. /package/dist/chunks/{aisdk-24dcb14g.js → location-24dcb14g.js} +0 -0
  698. /package/dist/chunks/{aisdk-2710q6r3.js → location-2710q6r3.js} +0 -0
  699. /package/dist/chunks/{aisdk-2axfhc9x.js → location-2axfhc9x.js} +0 -0
  700. /package/dist/chunks/{aisdk-2bv980vf.js → location-2bv980vf.js} +0 -0
  701. /package/dist/chunks/{aisdk-2c3vjs8z.js → location-2c3vjs8z.js} +0 -0
  702. /package/dist/chunks/{aisdk-359p4xyc.js → location-359p4xyc.js} +0 -0
  703. /package/dist/chunks/{aisdk-3asan66x.js → location-3asan66x.js} +0 -0
  704. /package/dist/chunks/{aisdk-3t0ybcrp.js → location-3t0ybcrp.js} +0 -0
  705. /package/dist/chunks/{aisdk-3v8g72cx.js → location-3v8g72cx.js} +0 -0
  706. /package/dist/chunks/{aisdk-3wcehsnq.js → location-3wcehsnq.js} +0 -0
  707. /package/dist/chunks/{aisdk-43n2bw4t.js → location-43n2bw4t.js} +0 -0
  708. /package/dist/chunks/{aisdk-4knz6hnm.js → location-4knz6hnm.js} +0 -0
  709. /package/dist/chunks/{aisdk-4vcrnpx2.js → location-4vcrnpx2.js} +0 -0
  710. /package/dist/chunks/{aisdk-4y7fprxs.js → location-4y7fprxs.js} +0 -0
  711. /package/dist/chunks/{aisdk-53557ph1.js → location-53557ph1.js} +0 -0
  712. /package/dist/chunks/{aisdk-550bvhaj.js → location-550bvhaj.js} +0 -0
  713. /package/dist/chunks/{aisdk-6prwharc.js → location-6prwharc.js} +0 -0
  714. /package/dist/chunks/{aisdk-6q2bdcd1.js → location-6q2bdcd1.js} +0 -0
  715. /package/dist/chunks/{aisdk-7akdwqpd.js → location-7akdwqpd.js} +0 -0
  716. /package/dist/chunks/{aisdk-7m9af43g.js → location-7m9af43g.js} +0 -0
  717. /package/dist/chunks/{aisdk-822emrt2.js → location-822emrt2.js} +0 -0
  718. /package/dist/chunks/{aisdk-84wd9syh.js → location-84wd9syh.js} +0 -0
  719. /package/dist/chunks/{aisdk-88xbtdfr.js → location-88xbtdfr.js} +0 -0
  720. /package/dist/chunks/{aisdk-8n3pysct.js → location-8n3pysct.js} +0 -0
  721. /package/dist/chunks/{aisdk-8wj87zfr.js → location-8wj87zfr.js} +0 -0
  722. /package/dist/chunks/{aisdk-9a4afbnw.js → location-9a4afbnw.js} +0 -0
  723. /package/dist/chunks/{aisdk-9rqn6x4v.js → location-9rqn6x4v.js} +0 -0
  724. /package/dist/chunks/{aisdk-a6k6eb26.js → location-a6k6eb26.js} +0 -0
  725. /package/dist/chunks/{aisdk-af5trqkr.js → location-af5trqkr.js} +0 -0
  726. /package/dist/chunks/{aisdk-afrmfg78.js → location-afrmfg78.js} +0 -0
  727. /package/dist/chunks/{aisdk-aqzs7mqg.js → location-aqzs7mqg.js} +0 -0
  728. /package/dist/chunks/{aisdk-atq7p7m5.js → location-atq7p7m5.js} +0 -0
  729. /package/dist/chunks/{aisdk-bkyjaxrp.js → location-bkyjaxrp.js} +0 -0
  730. /package/dist/chunks/{aisdk-bmr6ed5q.js → location-bmr6ed5q.js} +0 -0
  731. /package/dist/chunks/{aisdk-cf4snx6d.js → location-cf4snx6d.js} +0 -0
  732. /package/dist/chunks/{aisdk-cvy3z8tj.js → location-cvy3z8tj.js} +0 -0
  733. /package/dist/chunks/{aisdk-d9fn303g.js → location-d9fn303g.js} +0 -0
  734. /package/dist/chunks/{aisdk-d9jj8t3e.js → location-d9jj8t3e.js} +0 -0
  735. /package/dist/chunks/{aisdk-dajrwvna.js → location-dajrwvna.js} +0 -0
  736. /package/dist/chunks/{aisdk-dap0rakb.js → location-dap0rakb.js} +0 -0
  737. /package/dist/chunks/{aisdk-df08tz66.js → location-df08tz66.js} +0 -0
  738. /package/dist/chunks/{aisdk-dy18nga0.js → location-dy18nga0.js} +0 -0
  739. /package/dist/chunks/{aisdk-e3qxr5gk.js → location-e3qxr5gk.js} +0 -0
  740. /package/dist/chunks/{aisdk-e5kj55wp.js → location-e5kj55wp.js} +0 -0
  741. /package/dist/chunks/{aisdk-e73j6tqm.js → location-e73j6tqm.js} +0 -0
  742. /package/dist/chunks/{aisdk-ec1grn59.js → location-ec1grn59.js} +0 -0
  743. /package/dist/chunks/{aisdk-eh3zwz77.js → location-eh3zwz77.js} +0 -0
  744. /package/dist/chunks/{aisdk-emrn6kk6.js → location-emrn6kk6.js} +0 -0
  745. /package/dist/chunks/{aisdk-f0mxakyp.js → location-f0mxakyp.js} +0 -0
  746. /package/dist/chunks/{aisdk-f6n9ztr4.js → location-f6n9ztr4.js} +0 -0
  747. /package/dist/chunks/{aisdk-faypxj3z.js → location-faypxj3z.js} +0 -0
  748. /package/dist/chunks/{aisdk-fd410y7t.js → location-fd410y7t.js} +0 -0
  749. /package/dist/chunks/{aisdk-g4wezp1m.js → location-g4wezp1m.js} +0 -0
  750. /package/dist/chunks/{aisdk-g86h250q.js → location-g86h250q.js} +0 -0
  751. /package/dist/chunks/{aisdk-gebd4c9n.js → location-gebd4c9n.js} +0 -0
  752. /package/dist/chunks/{aisdk-gftt206x.js → location-gftt206x.js} +0 -0
  753. /package/dist/chunks/{aisdk-hcxmzztb.js → location-hcxmzztb.js} +0 -0
  754. /package/dist/chunks/{aisdk-hk9envan.js → location-hk9envan.js} +0 -0
  755. /package/dist/chunks/{aisdk-j2ntwpah.js → location-j2ntwpah.js} +0 -0
  756. /package/dist/chunks/{aisdk-j5zkgpj8.js → location-j5zkgpj8.js} +0 -0
  757. /package/dist/chunks/{aisdk-jjkms2e6.js → location-jjkms2e6.js} +0 -0
  758. /package/dist/chunks/{aisdk-jr7sbwjy.js → location-jr7sbwjy.js} +0 -0
  759. /package/dist/chunks/{aisdk-jwfs4k6c.js → location-jwfs4k6c.js} +0 -0
  760. /package/dist/chunks/{aisdk-jze0r7bz.js → location-jze0r7bz.js} +0 -0
  761. /package/dist/chunks/{aisdk-jzg6c2d5.js → location-jzg6c2d5.js} +0 -0
  762. /package/dist/chunks/{aisdk-m18g726c.js → location-m18g726c.js} +0 -0
  763. /package/dist/chunks/{aisdk-mp448xyj.js → location-mp448xyj.js} +0 -0
  764. /package/dist/chunks/{aisdk-msx8hqn2.js → location-msx8hqn2.js} +0 -0
  765. /package/dist/chunks/{aisdk-n05xt0ee.js → location-n05xt0ee.js} +0 -0
  766. /package/dist/chunks/{aisdk-n3j8tn72.js → location-n3j8tn72.js} +0 -0
  767. /package/dist/chunks/{aisdk-njntx4h6.js → location-njntx4h6.js} +0 -0
  768. /package/dist/chunks/{aisdk-pkyv6v7h.js → location-pkyv6v7h.js} +0 -0
  769. /package/dist/chunks/{aisdk-pyv0edze.js → location-pyv0edze.js} +0 -0
  770. /package/dist/chunks/{aisdk-q3sfg36h.js → location-q3sfg36h.js} +0 -0
  771. /package/dist/chunks/{aisdk-q74kybfr.js → location-q74kybfr.js} +0 -0
  772. /package/dist/chunks/{aisdk-qaymkmh1.js → location-qaymkmh1.js} +0 -0
  773. /package/dist/chunks/{aisdk-qb87gjwd.js → location-qb87gjwd.js} +0 -0
  774. /package/dist/chunks/{aisdk-qfa1cgps.js → location-qfa1cgps.js} +0 -0
  775. /package/dist/chunks/{aisdk-qg3g05ea.js → location-qg3g05ea.js} +0 -0
  776. /package/dist/chunks/{aisdk-qrg20bc0.js → location-qrg20bc0.js} +0 -0
  777. /package/dist/chunks/{aisdk-rcb2kzg1.js → location-rcb2kzg1.js} +0 -0
  778. /package/dist/chunks/{aisdk-sdp7kfr6.js → location-sdp7kfr6.js} +0 -0
  779. /package/dist/chunks/{aisdk-ssg3fenm.js → location-ssg3fenm.js} +0 -0
  780. /package/dist/chunks/{aisdk-ve7vex1e.js → location-ve7vex1e.js} +0 -0
  781. /package/dist/chunks/{aisdk-w803qqfp.js → location-w803qqfp.js} +0 -0
  782. /package/dist/chunks/{aisdk-wc3fc9cn.js → location-wc3fc9cn.js} +0 -0
  783. /package/dist/chunks/{aisdk-wer8tq1h.js → location-wer8tq1h.js} +0 -0
  784. /package/dist/chunks/{aisdk-wjj7prxr.js → location-wjj7prxr.js} +0 -0
  785. /package/dist/chunks/{aisdk-wtztk69x.js → location-wtztk69x.js} +0 -0
  786. /package/dist/chunks/{aisdk-x0ckcb58.js → location-x0ckcb58.js} +0 -0
  787. /package/dist/chunks/{aisdk-x61499pn.js → location-x61499pn.js} +0 -0
  788. /package/dist/chunks/{aisdk-y44na4kk.js → location-y44na4kk.js} +0 -0
  789. /package/dist/chunks/{aisdk-y8f7s663.js → location-y8f7s663.js} +0 -0
  790. /package/dist/chunks/{aisdk-ygaqb7jw.js → location-ygaqb7jw.js} +0 -0
  791. /package/dist/chunks/{aisdk-ym463w8f.js → location-ym463w8f.js} +0 -0
  792. /package/dist/chunks/{aisdk-z5v4ffb3.js → location-z5v4ffb3.js} +0 -0
  793. /package/dist/chunks/{aisdk-z9919s4g.js → location-z9919s4g.js} +0 -0
@@ -1,51 +1,51 @@
1
1
  import {
2
2
  typeFollowing2
3
- } from "./aisdk-hgz4x7wa.js";
3
+ } from "./location-hgz4x7wa.js";
4
4
  import {
5
5
  RelativePath2
6
- } from "./aisdk-z5v4ffb3.js";
6
+ } from "./location-z5v4ffb3.js";
7
7
  import {
8
8
  Service82
9
- } from "./aisdk-fn24ytry.js";
9
+ } from "./location-syyme4qc.js";
10
10
  import {
11
- Service38
12
- } from "./aisdk-64hykmhj.js";
11
+ Service71
12
+ } from "./location-hw962j61.js";
13
13
  import {
14
14
  InvalidPatternError2,
15
- Service20
16
- } from "./aisdk-jbnyf9pt.js";
15
+ Service70
16
+ } from "./location-1g4xzv17.js";
17
17
  import {
18
18
  DEFAULT_SEARCH_LIMIT2,
19
19
  DEFAULT_SEARCH_TIMEOUT_MS2,
20
20
  GrepInput2,
21
21
  Entry2,
22
22
  Match2
23
- } from "./aisdk-tqfcd1w8.js";
23
+ } from "./location-8r1bk9m8.js";
24
24
  import {
25
- Service63
26
- } from "./aisdk-3npajrg6.js";
25
+ Service59
26
+ } from "./location-yrq96tw7.js";
27
27
  import {
28
- Service62
29
- } from "./aisdk-y0rx6xhh.js";
28
+ Service21
29
+ } from "./location-3kyydbkc.js";
30
30
  import {
31
31
  __export
32
- } from "./aisdk-9rqn6x4v.js";
32
+ } from "./location-9rqn6x4v.js";
33
33
 
34
34
  // src/tool/plugin/grep.ts
35
35
  var exports_grep = {};
36
36
  __export(exports_grep, {
37
37
  GrepTool: () => exports_grep,
38
- Input: () => Input2,
39
- Output: () => Output2,
40
- Plugin: () => Plugin19,
41
- name: () => name2,
42
- toModelContent: () => toModelContent2
38
+ Input: () => Input6,
39
+ Output: () => Output5,
40
+ Plugin: () => Plugin42,
41
+ name: () => name6,
42
+ toModelContent: () => toModelContent3
43
43
  });
44
44
  import { ToolFailure } from "@opencode/ai";
45
45
  import { Effect, Schema } from "effect";
46
46
  import path from "path";
47
- var name2 = "grep";
48
- var Input2 = Schema.Struct({
47
+ var name6 = "grep";
48
+ var Input6 = Schema.Struct({
49
49
  pattern: GrepInput2.fields.pattern.check(Schema.isMinLength(1, { message: "Pattern must not be empty" })).annotate({
50
50
  description: "Regular expression or literal text to match in file contents."
51
51
  }),
@@ -65,8 +65,8 @@ var Input2 = Schema.Struct({
65
65
  description: `Maximum number of matching lines to return (default: ${DEFAULT_SEARCH_LIMIT2})`
66
66
  })
67
67
  });
68
- var Output2 = Schema.Array(Match2);
69
- var toModelContent2 = (matches, truncated = false) => {
68
+ var Output5 = Schema.Array(Match2);
69
+ var toModelContent3 = (matches, truncated = false) => {
70
70
  const lines = matches.length === 0 ? ["No matches found"] : [`Found ${matches.length} matches`];
71
71
  let current = "";
72
72
  for (const match of matches) {
@@ -83,26 +83,26 @@ var toModelContent2 = (matches, truncated = false) => {
83
83
  return lines.join(`
84
84
  `);
85
85
  };
86
- var Plugin19 = {
86
+ var Plugin42 = {
87
87
  id: "opencode.tool.grep",
88
88
  effect: Effect.fn("GrepTool.Plugin")(function* (ctx) {
89
- const environment = yield* Service38;
90
- const ripgrep = yield* Service20;
89
+ const environment = yield* Service71;
90
+ const ripgrep = yield* Service70;
91
91
  const location = yield* Service82;
92
- const access = yield* Service62;
93
- const permission = yield* Service63;
92
+ const access = yield* Service21;
93
+ const permission = yield* Service59;
94
94
  yield* ctx.tool.transform((editor) => editor.add({
95
- name: name2,
95
+ name: name6,
96
96
  options: { codemode: false },
97
97
  description: "Search file contents using ripgrep's regular expression syntax or literal text matching. Use it to locate specific code, symbols, or text patterns, and narrow searches with `path` or `include`. Returns matching file paths, line numbers, and line previews.",
98
- input: Input2,
99
- output: Output2,
98
+ input: Input6,
99
+ output: Output5,
100
100
  execute: (input, context) => Effect.gen(function* () {
101
101
  const source = { type: "tool", messageID: context.messageID, id: context.id };
102
102
  const target = yield* access.resolve({ path: input.path ?? "." });
103
103
  yield* access.authorizeExternal([target], context);
104
104
  yield* permission.assert({
105
- action: name2,
105
+ action: name6,
106
106
  resources: [input.pattern],
107
107
  save: ["*"],
108
108
  metadata: {
@@ -144,7 +144,7 @@ var Plugin19 = {
144
144
  return { matches: matches.slice(0, limit), truncated: matches.length > limit };
145
145
  }).pipe(Effect.map((result) => ({
146
146
  output: result.matches,
147
- content: toModelContent2(result.matches.map((match) => ({
147
+ content: toModelContent3(result.matches.map((match) => ({
148
148
  ...match,
149
149
  entry: { ...match.entry, path: path.resolve(location.directory, match.entry.path) }
150
150
  })), result.truncated),
@@ -154,4 +154,4 @@ var Plugin19 = {
154
154
  })
155
155
  };
156
156
 
157
- export { name2, Input2, Output2, toModelContent2, Plugin19, exports_grep };
157
+ export { name6, Input6, Output5, toModelContent3, Plugin42, exports_grep };
@@ -2,45 +2,45 @@ import {
2
2
  NotFound3,
3
3
  WrongKind2,
4
4
  Failed2
5
- } from "./aisdk-hgz4x7wa.js";
5
+ } from "./location-hgz4x7wa.js";
6
6
  import {
7
7
  Service82
8
- } from "./aisdk-fn24ytry.js";
8
+ } from "./location-syyme4qc.js";
9
9
  import {
10
- Service38
11
- } from "./aisdk-64hykmhj.js";
10
+ Service71
11
+ } from "./location-hw962j61.js";
12
12
  import {
13
- Service50
14
- } from "./aisdk-7m1d6sc0.js";
13
+ Service81
14
+ } from "./location-77q3x2ey.js";
15
15
  import {
16
- Service16,
16
+ Service19,
17
17
  readText2,
18
18
  syncTextBom2
19
- } from "./aisdk-1wcjck60.js";
19
+ } from "./location-qdy98gs8.js";
20
20
  import {
21
- Service63
22
- } from "./aisdk-3npajrg6.js";
21
+ Service59
22
+ } from "./location-yrq96tw7.js";
23
23
  import {
24
- Service62,
24
+ Service21,
25
25
  resolvePath2
26
- } from "./aisdk-y0rx6xhh.js";
26
+ } from "./location-3kyydbkc.js";
27
27
  import {
28
28
  fileDiff2
29
- } from "./aisdk-6prwharc.js";
29
+ } from "./location-6prwharc.js";
30
30
  import {
31
31
  __export
32
- } from "./aisdk-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: () => Input11,
39
- Output: () => Output8,
38
+ Input: () => Input9,
39
+ Output: () => Output7,
40
40
  PatchTool: () => exports_patch,
41
- Plugin: () => Plugin29,
42
- name: () => name11,
43
- toModelContent: () => toModelContent5
41
+ Plugin: () => Plugin45,
42
+ name: () => name9,
43
+ toModelContent: () => toModelContent4
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 name11 = "patch";
89
- var Input11 = Schema.Struct({
88
+ var name9 = "patch";
89
+ var Input9 = 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 Output8 = Schema.Struct({
99
+ var Output7 = Schema.Struct({
100
100
  applied: Schema.Array(Applied2),
101
101
  files: Schema.Array(FileDiff.Info)
102
102
  });
103
- var toModelContent5 = (output) => [
103
+ var toModelContent4 = (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 Plugin29 = {
108
+ var Plugin45 = {
109
109
  id: "opencode.tool.patch",
110
110
  effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
111
- const environment = yield* Service38;
112
- const access = yield* Service62;
113
- const fileMutation = yield* Service16;
114
- const formatter = yield* Service50;
111
+ const environment = yield* Service71;
112
+ const access = yield* Service21;
113
+ const fileMutation = yield* Service19;
114
+ const formatter = yield* Service81;
115
115
  const location = yield* Service82;
116
- const permission = yield* Service63;
116
+ const permission = yield* Service59;
117
117
  yield* ctx.tool.transform((editor) => editor.add({
118
- name: name11,
118
+ name: name9,
119
119
  options: { codemode: false, permission: "edit" },
120
120
  description: patch_default,
121
- input: Input11,
122
- output: Output8,
121
+ input: Input9,
122
+ output: Output7,
123
123
  execute: (input, context) => {
124
124
  const applied = [];
125
125
  const parsed = Patch.parse(input.patchText);
@@ -266,7 +266,7 @@ var Plugin29 = {
266
266
  return { applied, files };
267
267
  }).pipe(fileMutation.withLock(lockTargets), Effect.map((output) => ({
268
268
  output,
269
- content: toModelContent5(output),
269
+ content: toModelContent4(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
  }
@@ -326,4 +326,4 @@ function trimDiff(diff) {
326
326
  `);
327
327
  }
328
328
 
329
- export { name11, Input11, Applied2, Output8, toModelContent5, Plugin29, exports_patch };
329
+ export { name9, Input9, Applied2, Output7, toModelContent4, Plugin45, exports_patch };
@@ -1,18 +1,18 @@
1
1
  import {
2
- Service55
3
- } from "./aisdk-edbfpfck.js";
2
+ Service42
3
+ } from "./location-sxzvkvgj.js";
4
4
  import {
5
5
  awaitActivation2
6
- } from "./aisdk-9sh4wc5j.js";
6
+ } from "./location-4v7qdvcn.js";
7
7
  import {
8
- Service34
9
- } from "./aisdk-dgwyq2v0.js";
8
+ Service43
9
+ } from "./location-n6pkkeec.js";
10
10
  import {
11
11
  unavailable2
12
- } from "./aisdk-vzs5sf6e.js";
12
+ } from "./location-vzs5sf6e.js";
13
13
  import {
14
14
  __export
15
- } from "./aisdk-9rqn6x4v.js";
15
+ } from "./location-9rqn6x4v.js";
16
16
 
17
17
  // src/session/shell.ts
18
18
  var exports_shell3 = {};
@@ -22,8 +22,8 @@ __export(exports_shell3, {
22
22
  });
23
23
  import { Effect } from "effect";
24
24
  var start2 = Effect.fn("SessionShell.start")(function* (input) {
25
- const instances = yield* Service55;
26
- const shell = yield* awaitActivation2.pipe(Effect.andThen(Service34), instances.provide(input.session));
25
+ const instances = yield* Service42;
26
+ const shell = yield* awaitActivation2.pipe(Effect.andThen(Service43), instances.provide(input.session));
27
27
  const info = yield* shell.create({
28
28
  command: input.command,
29
29
  cwd: input.session.location.directory,
@@ -0,0 +1,18 @@
1
+ import {
2
+ __export
3
+ } from "./location-9rqn6x4v.js";
4
+
5
+ // src/plugin/service.ts
6
+ var exports_service = {};
7
+ __export(exports_service, {
8
+ Plugin: () => exports_service,
9
+ Service: () => Service29,
10
+ awaitActivation: () => awaitActivation2
11
+ });
12
+ import { Context } from "effect";
13
+
14
+ class Service29 extends Context.Service()("@opencode/Plugin") {
15
+ }
16
+ var awaitActivation2 = Service29.use((plugins) => plugins.awaitActivation);
17
+
18
+ export { Service29, awaitActivation2, exports_service };
@@ -1,37 +1,37 @@
1
1
  import {
2
2
  useragent2
3
- } from "./aisdk-rvyy05ds.js";
3
+ } from "./location-zv1es41t.js";
4
4
  import {
5
5
  Service85
6
- } from "./aisdk-fsem3xgy.js";
6
+ } from "./location-65mft1we.js";
7
7
  import {
8
8
  OAuth3,
9
9
  Event19,
10
- Service80
11
- } from "./aisdk-5xqnd2py.js";
10
+ Service78
11
+ } from "./location-e6tgbxcd.js";
12
12
  import {
13
13
  ID14,
14
14
  MethodID2
15
- } from "./aisdk-wyyhv6hk.js";
15
+ } from "./location-evnsakp9.js";
16
16
  import {
17
17
  ID13,
18
18
  mergeOverlay2
19
- } from "./aisdk-d5t2jb6p.js";
19
+ } from "./location-596mpw5j.js";
20
20
  import {
21
21
  ID12,
22
22
  VariantID2,
23
23
  Info21
24
- } from "./aisdk-s97ksm5h.js";
24
+ } from "./location-d2326s1m.js";
25
25
  import {
26
26
  success2,
27
27
  error2
28
- } from "./aisdk-pjvnvgmy.js";
28
+ } from "./location-pjvnvgmy.js";
29
29
  import {
30
- get4
31
- } from "./aisdk-r94pvvab.js";
30
+ get5
31
+ } from "./location-54ma36ye.js";
32
32
  import {
33
33
  configuredSettings2
34
- } from "./aisdk-9w7t8wnk.js";
34
+ } from "./location-t3crqbkt.js";
35
35
 
36
36
  // src/plugin/provider/chatgpt.ts
37
37
  import { define } from "@opencode/plugin/effect/plugin";
@@ -180,7 +180,7 @@ var ChatGPTPlugin2 = define({
180
180
  id: "opencode.provider.chatgpt",
181
181
  effect: Effect.fn(function* (ctx) {
182
182
  const bus = yield* Service85;
183
- const credentials = yield* Service80;
183
+ const credentials = yield* Service78;
184
184
  const loading = Semaphore.makeUnsafe(1);
185
185
  let chatgpt;
186
186
  let source;
@@ -224,7 +224,7 @@ var ChatGPTPlugin2 = define({
224
224
  const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
225
225
  return;
226
226
  }));
227
- evt.headers["session-id"] = session ? get4(session) : evt.sessionID;
227
+ evt.headers["session-id"] = session ? get5(session) : evt.sessionID;
228
228
  evt.headers["thread-id"] = evt.sessionID;
229
229
  evt.headers["x-client-request-id"] = evt.sessionID;
230
230
  }), { providerID });
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  __export
3
- } from "./aisdk-9rqn6x4v.js";
3
+ } from "./location-9rqn6x4v.js";
4
4
 
5
5
  // src/session/affinity.ts
6
6
  var exports_affinity = {};
7
7
  __export(exports_affinity, {
8
8
  SessionAffinity: () => exports_affinity,
9
- get: () => get4
9
+ get: () => get5
10
10
  });
11
- var get4 = (session) => session.parentID ?? session.fork?.sessionID ?? session.id;
11
+ var get5 = (session) => session.parentID ?? session.fork?.sessionID ?? session.id;
12
12
 
13
- export { get4, exports_affinity };
13
+ export { get5, exports_affinity };
@@ -1,27 +1,27 @@
1
1
  import {
2
2
  Service85,
3
3
  node89
4
- } from "./aisdk-fsem3xgy.js";
4
+ } from "./location-65mft1we.js";
5
5
  import {
6
6
  shutdown2,
7
7
  create3
8
- } from "./aisdk-rdw6cm16.js";
8
+ } from "./location-rdw6cm16.js";
9
9
  import {
10
10
  key2
11
- } from "./aisdk-addxnjmp.js";
11
+ } from "./location-addxnjmp.js";
12
12
  import {
13
13
  ID14,
14
- Service79,
15
- node83,
14
+ Service77,
15
+ node81,
16
16
  Event18
17
- } from "./aisdk-wyyhv6hk.js";
17
+ } from "./location-evnsakp9.js";
18
18
  import {
19
19
  Service82,
20
20
  node86
21
- } from "./aisdk-fn24ytry.js";
21
+ } from "./location-syyme4qc.js";
22
22
  import {
23
23
  __export
24
- } from "./aisdk-9rqn6x4v.js";
24
+ } from "./location-9rqn6x4v.js";
25
25
 
26
26
  // src/aisdk-native.ts
27
27
  var exports_aisdk_native = {};
@@ -45,7 +45,7 @@ __export(exports_provider3, {
45
45
  LoadError: () => LoadError3,
46
46
  Provider: () => exports_provider3,
47
47
  Request: () => Request3,
48
- Service: () => Service78,
48
+ Service: () => Service76,
49
49
  Settings: () => Settings2,
50
50
  Transport: () => Transport2,
51
51
  aisdk: () => aisdk2,
@@ -57,7 +57,7 @@ __export(exports_provider3, {
57
57
  mergeOverlay: () => mergeOverlay2,
58
58
  modelSettings: () => modelSettings2,
59
59
  nativeSettings: () => nativeSettings2,
60
- node: () => node82,
60
+ node: () => node80,
61
61
  packageName: () => packageName2,
62
62
  timeout: () => timeout2,
63
63
  timeouts: () => timeouts2
@@ -285,7 +285,7 @@ var Transport2 = Provider.Transport;
285
285
  var Settings2 = Provider.Settings;
286
286
  var Info22 = Provider.Info;
287
287
 
288
- class Service78 extends Context.Service()("@opencode/Provider") {
288
+ class Service76 extends Context.Service()("@opencode/Provider") {
289
289
  }
290
290
  var definitions = new WeakMap;
291
291
  function index(providerID, models) {
@@ -298,9 +298,9 @@ function index(providerID, models) {
298
298
  definitions.set(models, indexes);
299
299
  return result;
300
300
  }
301
- var layer = Layer.effect(Service78, Effect.gen(function* () {
301
+ var layer = Layer.effect(Service76, Effect.gen(function* () {
302
302
  const bus = yield* Service85;
303
- const integrations = yield* Service79;
303
+ const integrations = yield* Service77;
304
304
  const location = yield* Service82;
305
305
  const state = create3({
306
306
  name: "provider",
@@ -420,7 +420,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
420
420
  });
421
421
  });
422
422
  yield* bus.subscribe([Event18.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
423
- return Service78.of({
423
+ return Service76.of({
424
424
  transform: state.transform,
425
425
  reload: state.reload,
426
426
  get: Effect.fn("Provider.get")((id) => Effect.sync(() => freeze(state.get().get(id)?.provider, true))),
@@ -429,7 +429,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
429
429
  snapshot
430
430
  });
431
431
  }));
432
- var node82 = makeLocationNode({ service: Service78, layer, deps: [node89, node83, node86] });
432
+ var node80 = makeLocationNode({ service: Service76, layer, deps: [node89, node81, node86] });
433
433
  var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
434
434
  const module = yield* Effect.tryPromise({
435
435
  try: () => {
@@ -699,4 +699,4 @@ var Legacy = Schema2.StructWithRest(Schema2.Struct({
699
699
  }), [Schema2.Record(Schema2.String, Schema2.Unknown)]);
700
700
  var decode = Schema2.decodeUnknownSync(Legacy);
701
701
 
702
- export { rewrite2, native2, exports_aisdk_native, ID13, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, builtinPackages2, loadPackage2, nativeSettings2, modelSettings2, DEFAULT_TIMEOUT_MS3, DEFAULT_CHUNK_TIMEOUT_MS2, timeout2, timeouts2, encoding2, mergeOverlay2, mergeHeaders2, Request3, Compaction3, Transport2, Settings2, Info22, Service78, node82, exports_provider3, Event17 };
702
+ export { rewrite2, native2, exports_aisdk_native, ID13, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, builtinPackages2, loadPackage2, nativeSettings2, modelSettings2, DEFAULT_TIMEOUT_MS3, DEFAULT_CHUNK_TIMEOUT_MS2, timeout2, timeouts2, encoding2, mergeOverlay2, mergeHeaders2, Request3, Compaction3, Transport2, Settings2, Info22, Service76, node80, exports_provider3, Event17 };
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  __export
3
- } from "./aisdk-9rqn6x4v.js";
3
+ } from "./location-9rqn6x4v.js";
4
4
 
5
5
  // src/session/provider-context.ts
6
6
  var exports_provider_context = {};
7
7
  __export(exports_provider_context, {
8
- Info: () => Info12,
8
+ Info: () => Info10,
9
9
  SessionProviderContext: () => exports_provider_context,
10
10
  compatible: () => compatible2,
11
11
  decode: () => decode2,
@@ -19,7 +19,7 @@ import { SessionProviderContext } from "@opencode/schema/session-provider-contex
19
19
  import { Predicate, Schema } from "effect";
20
20
  import { isDeepStrictEqual } from "node:util";
21
21
  import { Hash } from "@opencode/util/hash";
22
- var Info12 = SessionProviderContext.Info;
22
+ var Info10 = SessionProviderContext.Info;
23
23
  var messages = Schema.toCodecJson(Schema.Array(Message));
24
24
  function provenance2(resolved) {
25
25
  const model = resolved.model;
@@ -66,4 +66,4 @@ function upgradeLegacyMedia(input) {
66
66
  });
67
67
  }
68
68
 
69
- export { Info12, provenance2, compatible2, isCheckpoint2, encode2, decode2, validate2, exports_provider_context };
69
+ export { Info10, provenance2, compatible2, isCheckpoint2, encode2, decode2, validate2, exports_provider_context };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createLocalProviderPlugin2
3
- } from "./aisdk-xs79w4qk.js";
3
+ } from "./location-88q2kk7w.js";
4
4
 
5
5
  // src/plugin/provider/lmstudio.ts
6
6
  import { Effect, Schema } from "effect";
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./aisdk-z5v4ffb3.js";
3
+ } from "./location-z5v4ffb3.js";
4
4
  import {
5
5
  node88
6
- } from "./aisdk-b12fh71z.js";
6
+ } from "./location-nj7hqrdc.js";
7
7
  import {
8
8
  Service82,
9
9
  node86
10
- } from "./aisdk-fn24ytry.js";
10
+ } from "./location-syyme4qc.js";
11
11
  import {
12
12
  create3
13
- } from "./aisdk-rdw6cm16.js";
13
+ } from "./location-rdw6cm16.js";
14
14
  import {
15
- make21
16
- } from "./aisdk-v1rq52jb.js";
15
+ make19
16
+ } from "./location-t2m0r48e.js";
17
17
  import {
18
18
  __export
19
- } from "./aisdk-9rqn6x4v.js";
19
+ } from "./location-9rqn6x4v.js";
20
20
 
21
21
  // src/worktree/strategies.ts
22
22
  var exports_strategies = {};
23
23
  __export(exports_strategies, {
24
- Service: () => Service71,
24
+ Service: () => Service56,
25
25
  WorktreeStrategies: () => exports_strategies,
26
- node: () => node75
26
+ node: () => node59
27
27
  });
28
28
  import { Context, Effect, Layer } from "effect";
29
29
  import path from "path";
@@ -31,12 +31,12 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
31
31
  import { Global } from "@opencode/util/global";
32
32
  import { FSUtil } from "@opencode/util/fs-util";
33
33
 
34
- class Service71 extends Context.Service()("@opencode/WorktreeStrategies") {
34
+ class Service56 extends Context.Service()("@opencode/WorktreeStrategies") {
35
35
  }
36
- var layer = Layer.effect(Service71, Effect.gen(function* () {
36
+ var layer = Layer.effect(Service56, Effect.gen(function* () {
37
37
  const location = yield* Service82;
38
38
  const global = yield* Global.Service;
39
- const git = yield* make21;
39
+ const git = yield* make19;
40
40
  const state = create3({
41
41
  name: "worktree",
42
42
  initial: () => ({
@@ -55,12 +55,12 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
55
55
  }
56
56
  })
57
57
  });
58
- return Service71.of({ ...state, directory: location.directory });
58
+ return Service56.of({ ...state, directory: location.directory });
59
59
  }));
60
- var node75 = makeLocationNode({
61
- service: Service71,
60
+ var node59 = makeLocationNode({
61
+ service: Service56,
62
62
  layer,
63
63
  deps: [node86, Global.node, node88, FSUtil.node]
64
64
  });
65
65
 
66
- export { Service71, node75, exports_strategies };
66
+ export { Service56, node59, exports_strategies };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  loadSDKFactory2
3
- } from "./aisdk-6q2bdcd1.js";
3
+ } from "./location-6q2bdcd1.js";
4
4
 
5
5
  // src/plugin/provider/dynamic.ts
6
6
  import { Effect } from "effect";
@@ -1,15 +1,15 @@
1
1
  import {
2
- Service48
3
- } from "./aisdk-7q3bkqfb.js";
2
+ Service46
3
+ } from "./location-d8exgxg3.js";
4
4
  import {
5
- Service55
6
- } from "./aisdk-edbfpfck.js";
5
+ Service42
6
+ } from "./location-sxzvkvgj.js";
7
7
  import {
8
8
  awaitActivation2
9
- } from "./aisdk-9sh4wc5j.js";
9
+ } from "./location-4v7qdvcn.js";
10
10
  import {
11
11
  __export
12
- } from "./aisdk-9rqn6x4v.js";
12
+ } from "./location-9rqn6x4v.js";
13
13
 
14
14
  // src/session/command.ts
15
15
  var exports_command3 = {};
@@ -19,8 +19,8 @@ __export(exports_command3, {
19
19
  });
20
20
  import { Effect } from "effect";
21
21
  var execute2 = Effect.fn("SessionCommand.execute")(function* (input) {
22
- const instances = yield* Service55;
23
- const commands = yield* awaitActivation2.pipe(Effect.andThen(Service48), instances.provide(input.session));
22
+ const instances = yield* Service42;
23
+ const commands = yield* awaitActivation2.pipe(Effect.andThen(Service46), instances.provide(input.session));
24
24
  yield* commands.execute({
25
25
  name: input.command,
26
26
  invocation: {