@opencode/core 0.0.0-dev-21430 → 0.0.0-dev-21441

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 (795) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +83 -83
  3. package/dist/aisdk-native.js +91 -91
  4. package/dist/aisdk.js +96 -96
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +75 -75
  7. package/dist/chunks/{location-034tev2y.js → model-034tev2y.js} +2 -2
  8. package/dist/chunks/{location-mjjmqb1d.js → model-08jnn3k2.js} +33 -33
  9. package/dist/chunks/{location-a1cwsqdb.js → model-0dhmp2yd.js} +35 -35
  10. package/dist/chunks/{location-b28fxhss.js → model-0dkhwkzm.js} +13 -13
  11. package/dist/chunks/{location-gg795btt.js → model-0kpm6ny7.js} +24 -24
  12. package/dist/chunks/{location-9ceytgjn.js → model-0ry3h72d.js} +32 -32
  13. package/dist/chunks/{location-0vbcp93d.js → model-0vbcp93d.js} +2 -2
  14. package/dist/chunks/{location-07wcwaet.js → model-0xpx2h3j.js} +8 -8
  15. package/dist/chunks/{location-338tmc2w.js → model-15kwxkkw.js} +34 -34
  16. package/dist/chunks/{location-1ep2p91f.js → model-1ep2p91f.js} +2 -2
  17. package/dist/chunks/{location-n2r55xd1.js → model-1nxqr4r9.js} +45 -45
  18. package/dist/chunks/{location-kjdm35cs.js → model-1pxz8ven.js} +5 -5
  19. package/dist/chunks/{location-gg5w8wvf.js → model-1w8evpxr.js} +10 -10
  20. package/dist/chunks/model-1x11rq2a.js +18 -0
  21. package/dist/chunks/{location-y49bgj8b.js → model-1xasrt0z.js} +22 -22
  22. package/dist/chunks/{location-fmvmqg86.js → model-1xc2j506.js} +29 -29
  23. package/dist/chunks/{location-dys7k0s0.js → model-2395y7e1.js} +8 -8
  24. package/dist/chunks/{location-nry4qgac.js → model-27b5n917.js} +5 -5
  25. package/dist/chunks/{location-rdmm8wx1.js → model-2akrk0qn.js} +3 -3
  26. package/dist/chunks/{location-0qe50jst.js → model-2amemk0s.js} +13 -13
  27. package/dist/chunks/{location-fwy8kg2k.js → model-2dk47r97.js} +13 -13
  28. package/dist/chunks/{location-aecj3y8p.js → model-2n2s27fs.js} +21 -21
  29. package/dist/chunks/{location-83xz3hbj.js → model-2vtc1qv7.js} +33 -33
  30. package/dist/chunks/{location-hyvp8sn8.js → model-2y6xfkhh.js} +1 -1
  31. package/dist/chunks/{location-a2wnnmtd.js → model-2z6g8rew.js} +4 -4
  32. package/dist/chunks/{location-p2d2ky5d.js → model-30xa8m6v.js} +1 -1
  33. package/dist/chunks/model-33hq420q.js +257 -0
  34. package/dist/chunks/{location-zec5t9m9.js → model-34596wkg.js} +4 -4
  35. package/dist/chunks/{location-n5q7pmwt.js → model-3c7a270v.js} +326 -326
  36. package/dist/chunks/{location-3hepkmqq.js → model-3hepkmqq.js} +1 -1
  37. package/dist/chunks/{location-3hwn7j4h.js → model-3hwn7j4h.js} +2 -2
  38. package/dist/chunks/{location-5csbs030.js → model-3m9ff5cy.js} +14 -14
  39. package/dist/chunks/model-3tt614cf.js +26 -0
  40. package/dist/chunks/{location-3tvqynh2.js → model-3tvqynh2.js} +1 -1
  41. package/dist/chunks/{location-w9vf9qqj.js → model-3z0hjn58.js} +9 -9
  42. package/dist/chunks/{location-3zsf4n22.js → model-3zsf4n22.js} +1 -1
  43. package/dist/chunks/{location-ncmgswqr.js → model-4qx9rxvs.js} +11 -11
  44. package/dist/chunks/{location-trya7axm.js → model-4rqs6yce.js} +8 -8
  45. package/dist/chunks/{location-hfhp5k6j.js → model-4tv8d2yj.js} +3 -3
  46. package/dist/chunks/{location-8zbn9c46.js → model-4w56xpem.js} +2 -2
  47. package/dist/chunks/{location-d1ftyfm1.js → model-4zjt8g5w.js} +27 -27
  48. package/dist/chunks/{location-vdnac628.js → model-53b0axgb.js} +21 -21
  49. package/dist/chunks/{location-54ma36ye.js → model-54ma36ye.js} +1 -1
  50. package/dist/chunks/{location-stn64ya2.js → model-54x82z2x.js} +15 -15
  51. package/dist/chunks/{location-d99zq9a9.js → model-5a9tc6z0.js} +24 -24
  52. package/dist/chunks/{location-wxy29yzb.js → model-5b8v8zrf.js} +11 -11
  53. package/dist/chunks/{location-xc0mr4yb.js → model-5ja1d4ns.js} +7 -7
  54. package/dist/chunks/{location-mmyy2hne.js → model-5kyqk3pq.js} +14 -14
  55. package/dist/chunks/{location-5m9w47nd.js → model-5m9w47nd.js} +1 -1
  56. package/dist/chunks/{location-jzxww0nw.js → model-5vj573xy.js} +15 -15
  57. package/dist/chunks/{location-rqxnffma.js → model-5w4y226k.js} +11 -11
  58. package/dist/chunks/{location-6827pfxn.js → model-6827pfxn.js} +1 -1
  59. package/dist/chunks/{location-9bh5q6pj.js → model-6ac9zck1.js} +2 -2
  60. package/dist/chunks/{location-3r2m892a.js → model-6bsfpg63.js} +34 -34
  61. package/dist/chunks/{location-516j2px1.js → model-6f4br6b4.js} +15 -15
  62. package/dist/chunks/{location-6xb47vfp.js → model-6xb47vfp.js} +1 -1
  63. package/dist/chunks/{location-qhft0c11.js → model-6ytk35w5.js} +8 -8
  64. package/dist/chunks/{location-21b844t5.js → model-7428ym6e.js} +34 -34
  65. package/dist/chunks/{location-775gj3j1.js → model-775gj3j1.js} +2 -2
  66. package/dist/chunks/{location-xmrc0ft6.js → model-77yby8k2.js} +13 -13
  67. package/dist/chunks/{location-7bmhse3q.js → model-7bmhse3q.js} +1 -1
  68. package/dist/chunks/{location-m64xvjj1.js → model-7d2a7xbs.js} +5 -5
  69. package/dist/chunks/{location-j5yzhdah.js → model-7emsy3e5.js} +11 -11
  70. package/dist/chunks/{location-mzkqbs9t.js → model-7fhvptcd.js} +10 -10
  71. package/dist/chunks/{location-sm4k3a60.js → model-7rsrdkkd.js} +5 -5
  72. package/dist/chunks/{location-3y1df9hb.js → model-81e2q9d2.js} +6 -6
  73. package/dist/chunks/{location-5663gavc.js → model-85wqss2v.js} +23 -23
  74. package/dist/chunks/{location-68d09h7d.js → model-86adn4hf.js} +19 -19
  75. package/dist/chunks/{location-bfk5x8m4.js → model-87d4rxkd.js} +25 -25
  76. package/dist/chunks/{location-98hve3fq.js → model-89bp7pxy.js} +37 -37
  77. package/dist/chunks/{location-tcezcvh9.js → model-89znhe33.js} +4 -4
  78. package/dist/chunks/{location-r771kefb.js → model-8f2rgp07.js} +11 -11
  79. package/dist/chunks/{location-74mnjb9k.js → model-8f3yd2r3.js} +16 -16
  80. package/dist/chunks/{location-snt75n4w.js → model-8faye2d5.js} +3 -3
  81. package/dist/chunks/{location-8m6m0r52.js → model-8m6m0r52.js} +1 -1
  82. package/dist/chunks/{location-8mywswrd.js → model-8mywswrd.js} +1 -1
  83. package/dist/chunks/{location-n63hq1yp.js → model-8ppdvrmr.js} +32 -32
  84. package/dist/chunks/{location-dbapnq8x.js → model-8xb7wkp5.js} +5 -5
  85. package/dist/chunks/{location-0f97zcpq.js → model-8xxqt97s.js} +12 -12
  86. package/dist/chunks/{location-k0ze7r27.js → model-8yj6gt86.js} +19 -19
  87. package/dist/chunks/{location-w375ekyd.js → model-90vjyywb.js} +19 -19
  88. package/dist/chunks/{location-9hn6k4tm.js → model-9hn6k4tm.js} +1 -1
  89. package/dist/chunks/{location-zajs041s.js → model-9s88q58m.js} +32 -32
  90. package/dist/chunks/{location-9wev2pgg.js → model-9wev2pgg.js} +1 -1
  91. package/dist/chunks/{location-9jfsax2t.js → model-9zh18pxw.js} +12 -12
  92. package/dist/chunks/{location-7v6vae4w.js → model-a20pjse5.js} +3 -3
  93. package/dist/chunks/{location-2tbztjht.js → model-a3azppd8.js} +25 -25
  94. package/dist/chunks/{location-jpb42pwq.js → model-am1tmpj5.js} +10 -10
  95. package/dist/chunks/{location-k0wzqvjk.js → model-avhh8dq0.js} +48 -48
  96. package/dist/chunks/{location-am1vdybj.js → model-avvce0kw.js} +4 -4
  97. package/dist/chunks/{location-y05taef3.js → model-awq6q12e.js} +14 -14
  98. package/dist/chunks/{location-f32pwxtn.js → model-ay72y2y9.js} +11 -11
  99. package/dist/chunks/{location-addxnjmp.js → model-azwe5p1w.js} +4 -4
  100. package/dist/chunks/{location-76rvckpe.js → model-b4nzaj04.js} +5 -5
  101. package/dist/chunks/{location-4qxrp1dj.js → model-b58xtxx6.js} +36 -36
  102. package/dist/chunks/{location-qacj84y4.js → model-b66sbxdz.js} +32 -32
  103. package/dist/chunks/{location-9zsn4ryv.js → model-b8gd3dkx.js} +11 -11
  104. package/dist/chunks/{location-bjx1sjef.js → model-bjx1sjef.js} +2 -2
  105. package/dist/chunks/{location-waskdk5r.js → model-bmr56wjg.js} +4 -4
  106. package/dist/chunks/{location-1g1nqesa.js → model-bpxfg8jv.js} +22 -22
  107. package/dist/chunks/{location-nc7xb224.js → model-br1q80at.js} +51 -51
  108. package/dist/chunks/{location-tgvsetpk.js → model-brrmpkdk.js} +13 -13
  109. package/dist/chunks/{location-b674v2dg.js → model-bx0gyb4h.js} +5 -5
  110. package/dist/chunks/{location-bzeyqsqd.js → model-bzeyqsqd.js} +1 -1
  111. package/dist/chunks/{location-t2xhzx1r.js → model-c3rxg466.js} +36 -36
  112. package/dist/chunks/{location-s041gtt0.js → model-c5kkdnkt.js} +21 -21
  113. package/dist/chunks/{location-ysdyyay3.js → model-c6tn7fe1.js} +24 -24
  114. package/dist/chunks/{location-dhmh7aw6.js → model-ca7w653e.js} +4 -4
  115. package/dist/chunks/{location-28zjsd3e.js → model-cgbdwjd7.js} +11 -11
  116. package/dist/chunks/{location-txx63mhx.js → model-cxnntska.js} +89 -89
  117. package/dist/chunks/{location-wbq5q4f0.js → model-d2e8srxd.js} +20 -20
  118. package/dist/chunks/{location-v2f1b6th.js → model-d8wdsj84.js} +5 -5
  119. package/dist/chunks/{location-e357gpbq.js → model-dbqzdb30.js} +9 -9
  120. package/dist/chunks/{location-dgzq35zb.js → model-dgzq35zb.js} +3 -3
  121. package/dist/chunks/{location-vmt5mznf.js → model-dp7s877j.js} +6 -6
  122. package/dist/chunks/{location-77y8wgeh.js → model-dq6h6djq.js} +3 -3
  123. package/dist/chunks/{location-57b9ws8p.js → model-drwq78ky.js} +5 -5
  124. package/dist/chunks/{location-ysjtvpas.js → model-dsbszv0b.js} +5 -5
  125. package/dist/chunks/{location-gafzn91c.js → model-dwapqv7g.js} +30 -30
  126. package/dist/chunks/{location-tyk0w0pd.js → model-e23enc76.js} +15 -15
  127. package/dist/chunks/{location-1x8ctv13.js → model-e4w4kj9m.js} +5 -5
  128. package/dist/chunks/{location-e80seqcp.js → model-e80seqcp.js} +1 -1
  129. package/dist/chunks/{location-qg3jze5q.js → model-e9fdq14h.js} +11 -11
  130. package/dist/chunks/{location-ph842b28.js → model-eahhehpg.js} +4 -4
  131. package/dist/chunks/{location-eej6y6fw.js → model-eej6y6fw.js} +2 -2
  132. package/dist/chunks/{location-ef5x83kb.js → model-ef5x83kb.js} +1 -1
  133. package/dist/chunks/{location-8w3e00az.js → model-ev10eca8.js} +43 -43
  134. package/dist/chunks/{location-asa024m6.js → model-exttmg6k.js} +52 -52
  135. package/dist/chunks/{location-sf4c3jp0.js → model-f4bf12x2.js} +37 -37
  136. package/dist/chunks/{location-gg3qganw.js → model-f68rgk4v.js} +8 -8
  137. package/dist/chunks/{location-yvy8rc3z.js → model-f8ak2qw6.js} +18 -18
  138. package/dist/chunks/{location-h1s5a7fb.js → model-fa88cff1.js} +44 -44
  139. package/dist/chunks/{location-fcy631f0.js → model-fcy631f0.js} +1 -1
  140. package/dist/chunks/{location-r9w3djhf.js → model-fdms3n6w.js} +9 -9
  141. package/dist/chunks/{location-3adnxn06.js → model-fh73kyk7.js} +4 -4
  142. package/dist/chunks/{location-ctz7jbry.js → model-fqhbsnr5.js} +8 -8
  143. package/dist/chunks/{location-demjctvx.js → model-ftyq7w3n.js} +26 -26
  144. package/dist/chunks/{location-2excde36.js → model-gctjtgeh.js} +27 -27
  145. package/dist/chunks/{location-gd4qta3r.js → model-gd4qta3r.js} +1 -1
  146. package/dist/chunks/{location-313pbxt2.js → model-gqpz6z8g.js} +23 -23
  147. package/dist/chunks/{location-e9vjet1j.js → model-gscfk59s.js} +4 -4
  148. package/dist/chunks/{location-h6vf3j39.js → model-h6vf3j39.js} +1 -1
  149. package/dist/chunks/{location-cpq8ekdt.js → model-h9snv32e.js} +23 -23
  150. package/dist/chunks/{location-fn9t717r.js → model-hbb7npd7.js} +3 -3
  151. package/dist/chunks/{location-dmw8mvpz.js → model-hcmqm60a.js} +34 -34
  152. package/dist/chunks/{location-hgz4x7wa.js → model-hgz4x7wa.js} +1 -1
  153. package/dist/chunks/{location-c3dg826k.js → model-hwdjztbp.js} +23 -23
  154. package/dist/chunks/{location-tcay1cqt.js → model-j5w2yx54.js} +6 -6
  155. package/dist/chunks/{location-fd08frkx.js → model-jcdh4pz8.js} +2 -2
  156. package/dist/chunks/{location-yetj4y2f.js → model-jew53rqn.js} +192 -192
  157. package/dist/chunks/{location-0ferak4p.js → model-jgm9yn5c.js} +20 -20
  158. package/dist/chunks/{location-4pdt9v4n.js → model-jn9d9ctp.js} +9 -9
  159. package/dist/chunks/{location-020242mm.js → model-jy4cskw3.js} +15 -15
  160. package/dist/chunks/{location-wvzvsjpz.js → model-k4rzk3de.js} +23 -23
  161. package/dist/chunks/{location-62v5rbec.js → model-k5rzg22z.js} +13 -13
  162. package/dist/chunks/{location-b04q5t5m.js → model-khvb0rwv.js} +30 -30
  163. package/dist/chunks/{location-zgkfskaa.js → model-kknjmmkb.js} +53 -53
  164. package/dist/chunks/{location-e3x0acme.js → model-ktx3g641.js} +25 -25
  165. package/dist/chunks/{location-kwb1v3vj.js → model-kwb1v3vj.js} +1 -1
  166. package/dist/chunks/{location-vzcdy7t2.js → model-kzfz4mgv.js} +6 -6
  167. package/dist/chunks/{location-garxcygd.js → model-kzr27bp7.js} +31 -31
  168. package/dist/chunks/{location-m97symvc.js → model-m256j290.js} +39 -39
  169. package/dist/chunks/{location-8h9rdd29.js → model-m2t04kmm.js} +58 -58
  170. package/dist/chunks/{location-fr4cd36j.js → model-m39x472g.js} +12 -12
  171. package/dist/chunks/{location-axe3mf62.js → model-m5jcjszt.js} +3 -3
  172. package/dist/chunks/{location-6k57be7g.js → model-m5qzm2bd.js} +30 -30
  173. package/dist/chunks/{location-xc1ymh3x.js → model-m8v7608e.js} +6 -6
  174. package/dist/chunks/{location-m9w0rfyh.js → model-m9w0rfyh.js} +1 -1
  175. package/dist/chunks/{location-maspj1v3.js → model-maspj1v3.js} +1 -1
  176. package/dist/chunks/{location-d63h9wdy.js → model-mwbfd4d0.js} +25 -25
  177. package/dist/chunks/{location-hsr8yxc9.js → model-mwez8230.js} +23 -23
  178. package/dist/chunks/{location-m15ha2ry.js → model-n16tn8ct.js} +6 -6
  179. package/dist/chunks/{location-6hq2s9rg.js → model-n1vev70q.js} +40 -40
  180. package/dist/chunks/{location-7sn7bbtk.js → model-n58kta93.js} +8 -8
  181. package/dist/chunks/{location-z6z736zf.js → model-n9xrk5dn.js} +25 -25
  182. package/dist/chunks/{location-vt1s2zds.js → model-nckr5t4x.js} +4 -4
  183. package/dist/chunks/{location-fqtvmpfq.js → model-ngts6ef0.js} +8 -8
  184. package/dist/chunks/{location-vwsfg3fg.js → model-nhf8j9q0.js} +12 -12
  185. package/dist/chunks/{location-ek46kvq2.js → model-njf7xda2.js} +8 -8
  186. package/dist/chunks/{location-fxaymqdw.js → model-ny8edt06.js} +4 -4
  187. package/dist/chunks/{location-4sem758r.js → model-nyz2bd3h.js} +10 -10
  188. package/dist/chunks/{location-nz56sr1f.js → model-nz56sr1f.js} +2 -2
  189. package/dist/chunks/{location-v4r857ee.js → model-p6mr1rmw.js} +33 -33
  190. package/dist/chunks/{location-8ft9mnds.js → model-p7rtpkhv.js} +26 -26
  191. package/dist/chunks/{location-3v68m8yr.js → model-pew5zx78.js} +5 -5
  192. package/dist/chunks/{location-bzgnhg0n.js → model-phs6h013.js} +31 -31
  193. package/dist/chunks/{location-pjvnvgmy.js → model-pjvnvgmy.js} +1 -1
  194. package/dist/chunks/{location-pknna89w.js → model-pknna89w.js} +1 -1
  195. package/dist/chunks/{location-v97gy4rz.js → model-pr0snp0j.js} +14 -14
  196. package/dist/chunks/{location-2pz8qhez.js → model-pw60dnzh.js} +9 -9
  197. package/dist/chunks/{location-j973zg4r.js → model-pw8bav78.js} +8 -8
  198. package/dist/chunks/{location-jhn3db5w.js → model-pwfw76w7.js} +11 -11
  199. package/dist/chunks/{location-dkrr3wvc.js → model-py3gqn7c.js} +16 -16
  200. package/dist/chunks/{location-0spnvnyv.js → model-q0qyqwgx.js} +22 -22
  201. package/dist/chunks/{location-338tp1sw.js → model-q6ad194x.js} +17 -17
  202. package/dist/chunks/{location-ets9hpqy.js → model-qb0nxf2n.js} +18 -18
  203. package/dist/chunks/{location-fcrkznn8.js → model-qgn6gcr1.js} +5 -5
  204. package/dist/chunks/{location-n7dc1ar6.js → model-qkxbdw2e.js} +43 -43
  205. package/dist/chunks/{location-1wyvxh86.js → model-qn4zc13r.js} +9 -9
  206. package/dist/chunks/{location-jdsf1v6s.js → model-qrp2wwz7.js} +28 -28
  207. package/dist/chunks/{location-qsdy395h.js → model-qsdy395h.js} +1 -1
  208. package/dist/chunks/{location-e3naqsya.js → model-qx1ath16.js} +11 -11
  209. package/dist/chunks/{location-c765mh8b.js → model-r2m716tb.js} +5 -5
  210. package/dist/chunks/{location-gnx3cc6w.js → model-r7nsrefv.js} +8 -8
  211. package/dist/chunks/{location-phz50fbd.js → model-ra67jj04.js} +9 -9
  212. package/dist/chunks/{location-dgsn3vfw.js → model-rcepm1f5.js} +24 -24
  213. package/dist/chunks/{location-g4fwqmp5.js → model-rdkdw8j4.js} +16 -16
  214. package/dist/chunks/{location-rdw6cm16.js → model-rdw6cm16.js} +1 -1
  215. package/dist/chunks/{location-bzb0xpje.js → model-rgdzsb23.js} +26 -26
  216. package/dist/chunks/{location-w92k2e0p.js → model-rkprpv83.js} +8 -8
  217. package/dist/chunks/{location-pr35srdg.js → model-rnn7w1p4.js} +11 -11
  218. package/dist/chunks/{location-kypjhz4q.js → model-rrb7xk1e.js} +11 -11
  219. package/dist/chunks/{location-fp99e1xt.js → model-s1qgsmy4.js} +22 -22
  220. package/dist/chunks/{location-9t8hw933.js → model-skg07gn4.js} +18 -18
  221. package/dist/chunks/{location-jm6wfgtn.js → model-spzr18gk.js} +10 -10
  222. package/dist/chunks/{location-6fbgyqx2.js → model-svdetgap.js} +29 -29
  223. package/dist/chunks/{location-syv4x271.js → model-syv4x271.js} +1 -1
  224. package/dist/chunks/{location-mnc26hcw.js → model-t2vetksk.js} +7 -7
  225. package/dist/chunks/{location-s8d7rejh.js → model-t550f9t1.js} +4 -4
  226. package/dist/chunks/{location-ryr25ayn.js → model-t6vsspdg.js} +7 -7
  227. package/dist/chunks/{location-tazgh4e4.js → model-tazgh4e4.js} +1 -1
  228. package/dist/chunks/{location-22zynyp8.js → model-tbrkfg2j.js} +35 -35
  229. package/dist/chunks/{location-tdstcens.js → model-tdstcens.js} +1 -1
  230. package/dist/chunks/{location-ac8jf0gv.js → model-te2qnrax.js} +27 -27
  231. package/dist/chunks/{location-tnv0fyap.js → model-te35nyvt.js} +21 -21
  232. package/dist/chunks/{location-bvjxnz85.js → model-tevdrw4n.js} +12 -12
  233. package/dist/chunks/{location-jgwkv6jn.js → model-tg52m06j.js} +4 -4
  234. package/dist/chunks/{location-tm0kqsz3.js → model-tm0kqsz3.js} +1 -1
  235. package/dist/chunks/{location-ar4nzpwm.js → model-tsspjr8t.js} +15 -15
  236. package/dist/chunks/{location-tyytaxap.js → model-tyytaxap.js} +1 -1
  237. package/dist/chunks/{location-38vrzhk4.js → model-tz64kvcc.js} +15 -15
  238. package/dist/chunks/{location-ya11n351.js → model-tzbng3th.js} +12 -12
  239. package/dist/chunks/{location-v210v162.js → model-v210v162.js} +2 -2
  240. package/dist/chunks/{location-yh8p5p3y.js → model-v2naxce5.js} +17 -17
  241. package/dist/chunks/{location-hyarejjy.js → model-v37eec1m.js} +11 -11
  242. package/dist/chunks/{location-f5gknkdx.js → model-v7jr1a0f.js} +15 -15
  243. package/dist/chunks/{location-v7p4zvkq.js → model-v7p4zvkq.js} +2 -2
  244. package/dist/chunks/{location-h9pnpq88.js → model-v7z2bvyd.js} +4 -4
  245. package/dist/chunks/{location-5g57z1ma.js → model-vep9yay1.js} +4 -4
  246. package/dist/chunks/{location-veqvce7d.js → model-veqvce7d.js} +1 -1
  247. package/dist/chunks/{location-vzs5sf6e.js → model-vzs5sf6e.js} +1 -1
  248. package/dist/chunks/{location-84txncab.js → model-w1eejvng.js} +5 -5
  249. package/dist/chunks/{location-tw7m84f2.js → model-w234dzpk.js} +1 -1
  250. package/dist/chunks/{location-w3wsvvr9.js → model-w3wsvvr9.js} +1 -1
  251. package/dist/chunks/{location-x1n877dv.js → model-w77emq9p.js} +18 -18
  252. package/dist/chunks/{location-8n6gk45f.js → model-w8tsas1h.js} +8 -8
  253. package/dist/chunks/{location-wakvkjy4.js → model-wakvkjy4.js} +1 -1
  254. package/dist/chunks/{location-wd87259q.js → model-wd87259q.js} +1 -1
  255. package/dist/chunks/{location-dsyqdg7y.js → model-wmsy6ejg.js} +43 -43
  256. package/dist/chunks/{location-nymjqhfd.js → model-wsw3qazc.js} +19 -19
  257. package/dist/chunks/{location-m7kdtezn.js → model-wt7gg852.js} +13 -13
  258. package/dist/chunks/{location-9p7ryr2b.js → model-x9d5zs2r.js} +7 -7
  259. package/dist/chunks/{location-zp589yax.js → model-xe4x800z.js} +12 -12
  260. package/dist/chunks/{location-bhva45zq.js → model-xftgp53z.js} +12 -12
  261. package/dist/chunks/{location-829bc28g.js → model-xqpjqq35.js} +17 -17
  262. package/dist/chunks/{location-h01qn727.js → model-xqwg9xjb.js} +18 -18
  263. package/dist/chunks/{location-xw9fg8fb.js → model-xw9fg8fb.js} +2 -2
  264. package/dist/chunks/{location-vgqhef6t.js → model-xx1330xd.js} +50 -50
  265. package/dist/chunks/{location-t4dwgtwr.js → model-xx3qrjat.js} +11 -11
  266. package/dist/chunks/{location-y1fvbwt7.js → model-y1fvbwt7.js} +1 -1
  267. package/dist/chunks/{location-dpkg50ah.js → model-y71avatq.js} +4 -4
  268. package/dist/chunks/{location-fn7yw61f.js → model-y72932aq.js} +15 -15
  269. package/dist/chunks/{location-6xp44e9y.js → model-y8hhzqsr.js} +21 -21
  270. package/dist/chunks/{location-q84pcmhe.js → model-yjnk86sx.js} +70 -70
  271. package/dist/chunks/{location-xx7k8td3.js → model-yk480cxy.js} +4 -4
  272. package/dist/chunks/{location-p1wfrhak.js → model-yqbdvskr.js} +22 -22
  273. package/dist/chunks/{location-x2c0z4fa.js → model-ysh87z2r.js} +93 -93
  274. package/dist/chunks/{location-1a95124r.js → model-yvhtzdrt.js} +11 -11
  275. package/dist/chunks/{location-z0bkrqjs.js → model-z0bkrqjs.js} +1 -1
  276. package/dist/chunks/{location-z18fegx4.js → model-z18fegx4.js} +1 -1
  277. package/dist/chunks/{location-x3h37q7j.js → model-z3qwewxj.js} +23 -23
  278. package/dist/chunks/{location-6559rxr6.js → model-z6m6eyhw.js} +6 -6
  279. package/dist/chunks/{location-aacha31a.js → model-z8y91tz7.js} +12 -12
  280. package/dist/chunks/{location-jg8pxvea.js → model-z9xssfm8.js} +3 -3
  281. package/dist/chunks/{location-hmcw1xv3.js → model-zbj3bdxr.js} +35 -35
  282. package/dist/chunks/{location-zr2ceqn5.js → model-zr2ceqn5.js} +1 -1
  283. package/dist/chunks/{location-k5tmaff0.js → model-ztysxpw9.js} +36 -36
  284. package/dist/chunks/{location-zxq2ej10.js → model-zxq2ej10.js} +1 -1
  285. package/dist/chunks/{location-d63sgyqh.js → model-zxqf7zeg.js} +9 -9
  286. package/dist/chunks/{location-scdee33y.js → model-zye99vjm.js} +2 -2
  287. package/dist/codemode/catalog.js +1 -1
  288. package/dist/codemode/instructions.js +9 -9
  289. package/dist/codemode/tool.js +3 -3
  290. package/dist/codemode/web.js +1 -1
  291. package/dist/command.js +83 -83
  292. package/dist/config/discovery.js +86 -86
  293. package/dist/config/markdown.js +1 -1
  294. package/dist/config/normalize.js +101 -101
  295. package/dist/config/plugin/agent.js +116 -116
  296. package/dist/config/plugin/command.js +212 -212
  297. package/dist/config/plugin/compaction.js +155 -155
  298. package/dist/config/plugin/compatibility.js +135 -135
  299. package/dist/config/plugin/entry-observer.js +1 -1
  300. package/dist/config/plugin/formatter.js +117 -117
  301. package/dist/config/plugin/image.js +116 -116
  302. package/dist/config/plugin/instruction.js +116 -116
  303. package/dist/config/plugin/location-watcher.js +118 -118
  304. package/dist/config/plugin/mcp.js +123 -123
  305. package/dist/config/plugin/policy.js +117 -117
  306. package/dist/config/plugin/provider.js +116 -116
  307. package/dist/config/plugin/reference.js +118 -118
  308. package/dist/config/plugin/shell.js +116 -116
  309. package/dist/config/plugin/skill-file.js +104 -104
  310. package/dist/config/plugin/skill-scan.js +1 -1
  311. package/dist/config/plugin/skill.js +136 -136
  312. package/dist/config/plugin/snapshot.js +116 -116
  313. package/dist/config/plugin/source.js +119 -119
  314. package/dist/config/plugin/tool-output.js +117 -117
  315. package/dist/config/plugin/websearch.js +115 -115
  316. package/dist/config/plugin/worktree.js +118 -118
  317. package/dist/config/variable.js +1 -1
  318. package/dist/config/watch.js +1 -1
  319. package/dist/config.js +121 -121
  320. package/dist/credential/sql.js +2 -2
  321. package/dist/credential.js +85 -85
  322. package/dist/database/database.js +68 -68
  323. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  324. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  325. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  326. package/dist/database/drizzle/index.js +15 -15
  327. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  328. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  330. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  332. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  337. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  338. package/dist/database/drizzle.js +16 -16
  339. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  340. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  341. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  342. package/dist/database/migration/20260225215848_workspace.js +1 -1
  343. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  344. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  345. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  346. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  347. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  348. package/dist/database/migration/20260323234822_events.js +1 -1
  349. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  350. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  351. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  352. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  353. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  354. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  355. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  356. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  357. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  358. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  359. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  360. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  361. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  362. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  363. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  364. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  365. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  366. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  367. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  368. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  369. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  370. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  371. package/dist/database/migration/20260611035744_credential.js +1 -1
  372. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  373. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  374. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  375. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  376. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  377. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  378. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  379. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  380. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  381. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  382. package/dist/database/migration/20260812213948_worktree.js +1 -1
  383. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  384. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  385. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  386. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  387. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  388. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  389. package/dist/database/migration.gen.js +51 -51
  390. package/dist/database/migration.js +53 -53
  391. package/dist/database/path.js +2 -2
  392. package/dist/database/schema.gen.js +1 -1
  393. package/dist/database/schema.sql.js +1 -1
  394. package/dist/database/sqlite.bun.js +1 -1
  395. package/dist/database/sqlite.js +1 -1
  396. package/dist/database/sqlite.node.js +1 -1
  397. package/dist/database/sqlite.workerd.js +1 -1
  398. package/dist/database/v1-migration.bun.js +78 -78
  399. package/dist/database/v1-migration.js +1 -1
  400. package/dist/effect/app-node-builder.js +370 -370
  401. package/dist/effect/app-node-platform.js +2 -2
  402. package/dist/effect/keyed-mutex.js +3 -3
  403. package/dist/effect/websocket-constructor.js +1 -1
  404. package/dist/environment/driver.js +1 -1
  405. package/dist/environment/environment.js +95 -95
  406. package/dist/environment/exec-defaults.js +2 -2
  407. package/dist/environment/files.js +1 -1
  408. package/dist/environment/index.js +95 -95
  409. package/dist/environment/local.js +2 -2
  410. package/dist/environment/memory.js +2 -2
  411. package/dist/environment/unavailable.js +3 -3
  412. package/dist/event/sql.js +1 -1
  413. package/dist/event-logger.js +76 -76
  414. package/dist/file-access.js +106 -106
  415. package/dist/file-mutation.js +96 -96
  416. package/dist/file-retention.js +1 -1
  417. package/dist/filesystem/fff.bun.js +2 -2
  418. package/dist/filesystem/fff.js +1 -1
  419. package/dist/filesystem/fff.node.js +2 -2
  420. package/dist/filesystem/fff.workerd.js +2 -2
  421. package/dist/filesystem/location-watcher-policy.js +4 -4
  422. package/dist/filesystem/location-watcher.js +227 -227
  423. package/dist/filesystem/protected.js +3 -3
  424. package/dist/filesystem/search.js +105 -105
  425. package/dist/filesystem/watcher-binding.js +1 -1
  426. package/dist/filesystem/watcher.js +15 -15
  427. package/dist/filesystem.js +108 -108
  428. package/dist/form.js +86 -86
  429. package/dist/formatter/builtins.js +2 -2
  430. package/dist/formatter.js +89 -89
  431. package/dist/generate.js +106 -106
  432. package/dist/git.js +10 -10
  433. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  434. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  435. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  436. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  437. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  438. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  439. package/dist/github-copilot/copilot-provider.js +17 -17
  440. package/dist/github-copilot/models.js +93 -93
  441. package/dist/github-copilot/openai-compatible-error.js +1 -1
  442. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  443. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  444. package/dist/github-copilot/responses/openai-error.js +1 -1
  445. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  446. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  447. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  448. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  449. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  450. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  451. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  452. package/dist/image/photon.js +2 -2
  453. package/dist/image.js +6 -6
  454. package/dist/instance/service.js +5 -5
  455. package/dist/instance.js +361 -361
  456. package/dist/instruction-discovery.js +84 -84
  457. package/dist/instructions/builtins.js +89 -89
  458. package/dist/instructions/index.js +3 -3
  459. package/dist/integration/connection.js +3 -3
  460. package/dist/integration.js +89 -89
  461. package/dist/job.js +80 -80
  462. package/dist/kv/sql.js +2 -2
  463. package/dist/kv.js +75 -75
  464. package/dist/location-activity.js +158 -158
  465. package/dist/location-lifecycle.js +109 -109
  466. package/dist/location-service-map.js +88 -88
  467. package/dist/location-services.js +358 -358
  468. package/dist/location.js +87 -87
  469. package/dist/managed-policy.js +8 -8
  470. package/dist/mcp/client.js +93 -93
  471. package/dist/mcp/index.js +111 -111
  472. package/dist/mcp/instructions.js +140 -140
  473. package/dist/mcp/oauth.js +80 -80
  474. package/dist/mcp/stdio.js +92 -92
  475. package/dist/mime.js +1 -1
  476. package/dist/modal/models.js +93 -93
  477. package/dist/model-resolver.js +100 -100
  478. package/dist/model-retry.js +1 -1
  479. package/dist/model.js +104 -104
  480. package/dist/models-dev.js +103 -103
  481. package/dist/oauth/page.js +1 -1
  482. package/dist/permission/saved.js +88 -88
  483. package/dist/permission/sql.js +5 -5
  484. package/dist/permission.js +111 -111
  485. package/dist/persistent-pty/binary.bun.js +1 -1
  486. package/dist/persistent-pty/daemon.js +1 -1
  487. package/dist/persistent-pty/index.js +92 -92
  488. package/dist/persistent-pty/pty-binding.js +1 -1
  489. package/dist/persistent-pty.js +77 -77
  490. package/dist/plugin/agent.js +76 -76
  491. package/dist/plugin/command.js +102 -102
  492. package/dist/plugin/hooks.js +5 -5
  493. package/dist/plugin/host.js +218 -218
  494. package/dist/plugin/identity.js +3 -3
  495. package/dist/plugin/instance.js +1 -1
  496. package/dist/plugin/internal.js +332 -332
  497. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  498. package/dist/plugin/models-dev.js +98 -98
  499. package/dist/plugin/module.js +117 -117
  500. package/dist/plugin/optimize.js +4 -4
  501. package/dist/plugin/plan.js +102 -102
  502. package/dist/plugin/promise.js +1 -1
  503. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  504. package/dist/plugin/provider/azure.js +114 -114
  505. package/dist/plugin/provider/cerebras.js +1 -1
  506. package/dist/plugin/provider/chatgpt.js +116 -116
  507. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  508. package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
  509. package/dist/plugin/provider/cohere.js +2 -2
  510. package/dist/plugin/provider/configured.js +112 -112
  511. package/dist/plugin/provider/databricks.js +1 -1
  512. package/dist/plugin/provider/digitalocean.js +95 -95
  513. package/dist/plugin/provider/dynamic.js +2 -2
  514. package/dist/plugin/provider/factory.js +1 -1
  515. package/dist/plugin/provider/github-copilot.js +97 -97
  516. package/dist/plugin/provider/gitlab.js +95 -95
  517. package/dist/plugin/provider/google-vertex.js +113 -113
  518. package/dist/plugin/provider/kilo.js +1 -1
  519. package/dist/plugin/provider/llmgateway.js +80 -80
  520. package/dist/plugin/provider/lmstudio.js +125 -125
  521. package/dist/plugin/provider/local.js +122 -122
  522. package/dist/plugin/provider/modal.js +94 -94
  523. package/dist/plugin/provider/neon.js +1 -1
  524. package/dist/plugin/provider/nvidia.js +1 -1
  525. package/dist/plugin/provider/ollama.js +125 -125
  526. package/dist/plugin/provider/openai.js +118 -118
  527. package/dist/plugin/provider/opencode.js +100 -100
  528. package/dist/plugin/provider/openrouter.js +93 -93
  529. package/dist/plugin/provider/perplexity.js +2 -2
  530. package/dist/plugin/provider/poe.js +81 -81
  531. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  532. package/dist/plugin/provider/sap-ai-core.js +93 -93
  533. package/dist/plugin/provider/sdk-factory.js +1 -1
  534. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  535. package/dist/plugin/provider/vercel.js +92 -92
  536. package/dist/plugin/provider/vllm.js +123 -123
  537. package/dist/plugin/provider/xai.js +93 -93
  538. package/dist/plugin/provider/zenmux.js +1 -1
  539. package/dist/plugin/provider.js +168 -168
  540. package/dist/plugin/sdk.js +78 -78
  541. package/dist/plugin/service.js +3 -3
  542. package/dist/plugin/skill.js +132 -132
  543. package/dist/plugin/source-directory.js +1 -1
  544. package/dist/plugin/supervisor.js +347 -347
  545. package/dist/plugin/tool-input-repair.js +4 -4
  546. package/dist/plugin/update.js +6 -6
  547. package/dist/plugin/vcs/git.js +88 -88
  548. package/dist/plugin/vcs/hg.js +86 -86
  549. package/dist/plugin/verbosity.js +95 -95
  550. package/dist/plugin/warming.js +114 -114
  551. package/dist/plugin/websearch/exa.js +7 -7
  552. package/dist/plugin/websearch/firecrawl.js +8 -8
  553. package/dist/plugin/websearch/index.js +9 -9
  554. package/dist/plugin/websearch/mcp.js +2 -2
  555. package/dist/plugin/websearch/parallel.js +8 -8
  556. package/dist/plugin/websearch/tavily.js +6 -6
  557. package/dist/plugin/websearch/tinyfish.js +8 -8
  558. package/dist/plugin.js +229 -229
  559. package/dist/project/schema.js +2 -2
  560. package/dist/project/sql.js +4 -4
  561. package/dist/project.js +86 -86
  562. package/dist/provider.js +101 -101
  563. package/dist/pty/protocol.js +1 -1
  564. package/dist/pty/ticket.js +1 -1
  565. package/dist/pty.js +101 -101
  566. package/dist/reference/instructions.js +89 -89
  567. package/dist/reference.js +93 -93
  568. package/dist/repository-cache.js +83 -83
  569. package/dist/repository.js +3 -3
  570. package/dist/ripgrep/binary.js +2 -2
  571. package/dist/ripgrep.js +99 -99
  572. package/dist/rpc.js +88 -88
  573. package/dist/schema.js +1 -1
  574. package/dist/session/affinity.js +1 -1
  575. package/dist/session/command.js +76 -76
  576. package/dist/session/compaction.js +136 -136
  577. package/dist/session/context.js +164 -164
  578. package/dist/session/diff.js +90 -90
  579. package/dist/session/environment.js +5 -5
  580. package/dist/session/error.js +5 -5
  581. package/dist/session/event.js +1 -1
  582. package/dist/session/execution/restart.js +224 -224
  583. package/dist/session/execution.js +129 -129
  584. package/dist/session/generate.js +164 -164
  585. package/dist/session/history.js +13 -13
  586. package/dist/session/inbox.js +93 -93
  587. package/dist/session/info.js +3 -3
  588. package/dist/session/instruction-entry.js +81 -81
  589. package/dist/session/instruction-state.js +8 -8
  590. package/dist/session/instructions.js +95 -95
  591. package/dist/session/message-updater.js +2 -2
  592. package/dist/session/message.js +1 -1
  593. package/dist/session/model-request.js +122 -122
  594. package/dist/session/model-transport.js +9 -9
  595. package/dist/session/move.js +131 -131
  596. package/dist/session/projector.js +91 -91
  597. package/dist/session/prompt.js +107 -107
  598. package/dist/session/recent-text.js +1 -1
  599. package/dist/session/revert.js +96 -96
  600. package/dist/session/run-coordinator.js +3 -3
  601. package/dist/session/runner/index.js +3 -3
  602. package/dist/session/runner/llm.js +231 -231
  603. package/dist/session/runner/max-steps.js +1 -1
  604. package/dist/session/runner/model.js +100 -100
  605. package/dist/session/runner/publish-llm-event.js +115 -115
  606. package/dist/session/runner/retry.js +3 -3
  607. package/dist/session/runner/step.js +126 -126
  608. package/dist/session/runner/to-llm-message.js +14 -14
  609. package/dist/session/schema.js +5 -5
  610. package/dist/session/session.js +164 -164
  611. package/dist/session/shell.js +130 -130
  612. package/dist/session/skill.js +105 -105
  613. package/dist/session/sql.js +5 -5
  614. package/dist/session/stats.js +75 -75
  615. package/dist/session/store.js +87 -87
  616. package/dist/session/subagent-completion.js +1 -1
  617. package/dist/session/subagent-job.js +208 -208
  618. package/dist/session/system-prompt.js +3 -3
  619. package/dist/session/title.js +168 -168
  620. package/dist/session/to-session-error.js +113 -113
  621. package/dist/session/transfer.js +220 -220
  622. package/dist/session/usage.js +1 -1
  623. package/dist/session.js +216 -216
  624. package/dist/shell/parse.js +6 -6
  625. package/dist/shell/result.js +1 -1
  626. package/dist/shell/scan.js +1 -1
  627. package/dist/shell/select.js +13 -13
  628. package/dist/shell.js +132 -132
  629. package/dist/skill/discovery.js +6 -6
  630. package/dist/skill/instructions.js +109 -109
  631. package/dist/skill.js +116 -116
  632. package/dist/snapshot.js +93 -93
  633. package/dist/state.js +1 -1
  634. package/dist/tool/html-markdown.js +1 -1
  635. package/dist/tool/http-body.js +1 -1
  636. package/dist/tool/mcp.js +137 -137
  637. package/dist/tool/plugin/edit.js +122 -122
  638. package/dist/tool/plugin/file-diff.js +1 -1
  639. package/dist/tool/plugin/glob.js +126 -126
  640. package/dist/tool/plugin/grep.js +126 -126
  641. package/dist/tool/plugin/mcp-resource.js +126 -126
  642. package/dist/tool/plugin/opencode.js +111 -111
  643. package/dist/tool/plugin/patch.js +124 -124
  644. package/dist/tool/plugin/question.js +105 -105
  645. package/dist/tool/plugin/read.js +127 -127
  646. package/dist/tool/plugin/shell.js +215 -215
  647. package/dist/tool/plugin/skill.js +113 -113
  648. package/dist/tool/plugin/subagent.js +219 -219
  649. package/dist/tool/plugin/todo.js +138 -138
  650. package/dist/tool/plugin/webfetch.js +111 -111
  651. package/dist/tool/plugin/websearch.js +114 -114
  652. package/dist/tool/plugin/write.js +124 -124
  653. package/dist/tool/read-filesystem.js +104 -104
  654. package/dist/tool/runtime.js +1 -1
  655. package/dist/tool-output.js +7 -7
  656. package/dist/tool.js +16 -16
  657. package/dist/util/error-summary.js +1 -1
  658. package/dist/util/error.js +1 -1
  659. package/dist/util/git-executable.js +2 -2
  660. package/dist/util/iife.js +1 -1
  661. package/dist/util/lazy.js +1 -1
  662. package/dist/util/slug.js +1 -1
  663. package/dist/util/token.js +1 -1
  664. package/dist/util/which.js +1 -1
  665. package/dist/util/wildcard.js +1 -1
  666. package/dist/v1/config/agent.js +5 -5
  667. package/dist/v1/config/command.js +5 -5
  668. package/dist/v1/config/error.js +2 -2
  669. package/dist/v1/config/mcp.js +4 -4
  670. package/dist/v1/config/migrate.js +94 -94
  671. package/dist/v1/config/permission.js +3 -3
  672. package/dist/v1/config/plugin.js +3 -3
  673. package/dist/v1/config/provider-options.js +1 -1
  674. package/dist/v1/config/provider.js +4 -4
  675. package/dist/variant.js +93 -93
  676. package/dist/vcs/patch.js +1 -1
  677. package/dist/vcs.js +89 -89
  678. package/dist/voice.js +90 -90
  679. package/dist/websearch.js +86 -86
  680. package/dist/wellknown/plugin.js +78 -78
  681. package/dist/wellknown.js +83 -83
  682. package/dist/workspace/driver.js +7 -7
  683. package/dist/workspace/sql.js +1 -1
  684. package/dist/workspace.js +82 -82
  685. package/dist/worktree/directory.js +2 -2
  686. package/dist/worktree/git.js +10 -10
  687. package/dist/worktree/sql.js +5 -5
  688. package/dist/worktree/strategies.js +91 -91
  689. package/dist/worktree.js +100 -100
  690. package/package.json +8 -8
  691. package/dist/chunks/location-48fz5dd2.js +0 -257
  692. package/dist/chunks/location-ht5y0zrb.js +0 -18
  693. package/dist/chunks/location-z6xb3w2g.js +0 -26
  694. /package/dist/chunks/{location-0qkdqm5v.js → model-0qkdqm5v.js} +0 -0
  695. /package/dist/chunks/{location-0zkw76rk.js → model-0zkw76rk.js} +0 -0
  696. /package/dist/chunks/{location-17cy0kzp.js → model-17cy0kzp.js} +0 -0
  697. /package/dist/chunks/{location-1cnp2v09.js → model-1cnp2v09.js} +0 -0
  698. /package/dist/chunks/{location-1kg9ymc8.js → model-1kg9ymc8.js} +0 -0
  699. /package/dist/chunks/{location-24dcb14g.js → model-24dcb14g.js} +0 -0
  700. /package/dist/chunks/{location-2710q6r3.js → model-2710q6r3.js} +0 -0
  701. /package/dist/chunks/{location-2axfhc9x.js → model-2axfhc9x.js} +0 -0
  702. /package/dist/chunks/{location-2bv980vf.js → model-2bv980vf.js} +0 -0
  703. /package/dist/chunks/{location-2c3vjs8z.js → model-2c3vjs8z.js} +0 -0
  704. /package/dist/chunks/{location-359p4xyc.js → model-359p4xyc.js} +0 -0
  705. /package/dist/chunks/{location-3asan66x.js → model-3asan66x.js} +0 -0
  706. /package/dist/chunks/{location-3t0ybcrp.js → model-3t0ybcrp.js} +0 -0
  707. /package/dist/chunks/{location-3v8g72cx.js → model-3v8g72cx.js} +0 -0
  708. /package/dist/chunks/{location-3wcehsnq.js → model-3wcehsnq.js} +0 -0
  709. /package/dist/chunks/{location-43n2bw4t.js → model-43n2bw4t.js} +0 -0
  710. /package/dist/chunks/{location-4knz6hnm.js → model-4knz6hnm.js} +0 -0
  711. /package/dist/chunks/{location-4vcrnpx2.js → model-4vcrnpx2.js} +0 -0
  712. /package/dist/chunks/{location-4y7fprxs.js → model-4y7fprxs.js} +0 -0
  713. /package/dist/chunks/{location-53557ph1.js → model-53557ph1.js} +0 -0
  714. /package/dist/chunks/{location-550bvhaj.js → model-550bvhaj.js} +0 -0
  715. /package/dist/chunks/{location-5qd3pb7m.js → model-5qd3pb7m.js} +0 -0
  716. /package/dist/chunks/{location-6prwharc.js → model-6prwharc.js} +0 -0
  717. /package/dist/chunks/{location-6q2bdcd1.js → model-6q2bdcd1.js} +0 -0
  718. /package/dist/chunks/{location-7akdwqpd.js → model-7akdwqpd.js} +0 -0
  719. /package/dist/chunks/{location-7m9af43g.js → model-7m9af43g.js} +0 -0
  720. /package/dist/chunks/{location-822emrt2.js → model-822emrt2.js} +0 -0
  721. /package/dist/chunks/{location-84wd9syh.js → model-84wd9syh.js} +0 -0
  722. /package/dist/chunks/{location-88xbtdfr.js → model-88xbtdfr.js} +0 -0
  723. /package/dist/chunks/{location-8n3pysct.js → model-8n3pysct.js} +0 -0
  724. /package/dist/chunks/{location-8wj87zfr.js → model-8wj87zfr.js} +0 -0
  725. /package/dist/chunks/{location-9a4afbnw.js → model-9a4afbnw.js} +0 -0
  726. /package/dist/chunks/{location-9rqn6x4v.js → model-9rqn6x4v.js} +0 -0
  727. /package/dist/chunks/{location-a6k6eb26.js → model-a6k6eb26.js} +0 -0
  728. /package/dist/chunks/{location-af5trqkr.js → model-af5trqkr.js} +0 -0
  729. /package/dist/chunks/{location-afrmfg78.js → model-afrmfg78.js} +0 -0
  730. /package/dist/chunks/{location-aqzs7mqg.js → model-aqzs7mqg.js} +0 -0
  731. /package/dist/chunks/{location-atq7p7m5.js → model-atq7p7m5.js} +0 -0
  732. /package/dist/chunks/{location-bkyjaxrp.js → model-bkyjaxrp.js} +0 -0
  733. /package/dist/chunks/{location-bmr6ed5q.js → model-bmr6ed5q.js} +0 -0
  734. /package/dist/chunks/{location-cf4snx6d.js → model-cf4snx6d.js} +0 -0
  735. /package/dist/chunks/{location-cvy3z8tj.js → model-cvy3z8tj.js} +0 -0
  736. /package/dist/chunks/{location-d9fn303g.js → model-d9fn303g.js} +0 -0
  737. /package/dist/chunks/{location-d9jj8t3e.js → model-d9jj8t3e.js} +0 -0
  738. /package/dist/chunks/{location-dajrwvna.js → model-dajrwvna.js} +0 -0
  739. /package/dist/chunks/{location-dap0rakb.js → model-dap0rakb.js} +0 -0
  740. /package/dist/chunks/{location-df08tz66.js → model-df08tz66.js} +0 -0
  741. /package/dist/chunks/{location-dy18nga0.js → model-dy18nga0.js} +0 -0
  742. /package/dist/chunks/{location-e5kj55wp.js → model-e5kj55wp.js} +0 -0
  743. /package/dist/chunks/{location-e73j6tqm.js → model-e73j6tqm.js} +0 -0
  744. /package/dist/chunks/{location-ec1grn59.js → model-ec1grn59.js} +0 -0
  745. /package/dist/chunks/{location-eh3zwz77.js → model-eh3zwz77.js} +0 -0
  746. /package/dist/chunks/{location-emrn6kk6.js → model-emrn6kk6.js} +0 -0
  747. /package/dist/chunks/{location-f0mxakyp.js → model-f0mxakyp.js} +0 -0
  748. /package/dist/chunks/{location-f6n9ztr4.js → model-f6n9ztr4.js} +0 -0
  749. /package/dist/chunks/{location-faypxj3z.js → model-faypxj3z.js} +0 -0
  750. /package/dist/chunks/{location-fd410y7t.js → model-fd410y7t.js} +0 -0
  751. /package/dist/chunks/{location-g4wezp1m.js → model-g4wezp1m.js} +0 -0
  752. /package/dist/chunks/{location-g86h250q.js → model-g86h250q.js} +0 -0
  753. /package/dist/chunks/{location-gebd4c9n.js → model-gebd4c9n.js} +0 -0
  754. /package/dist/chunks/{location-gftt206x.js → model-gftt206x.js} +0 -0
  755. /package/dist/chunks/{location-hcxmzztb.js → model-hcxmzztb.js} +0 -0
  756. /package/dist/chunks/{location-hk9envan.js → model-hk9envan.js} +0 -0
  757. /package/dist/chunks/{location-j2ntwpah.js → model-j2ntwpah.js} +0 -0
  758. /package/dist/chunks/{location-j5zkgpj8.js → model-j5zkgpj8.js} +0 -0
  759. /package/dist/chunks/{location-jjkms2e6.js → model-jjkms2e6.js} +0 -0
  760. /package/dist/chunks/{location-jr7sbwjy.js → model-jr7sbwjy.js} +0 -0
  761. /package/dist/chunks/{location-jwfs4k6c.js → model-jwfs4k6c.js} +0 -0
  762. /package/dist/chunks/{location-jze0r7bz.js → model-jze0r7bz.js} +0 -0
  763. /package/dist/chunks/{location-jzg6c2d5.js → model-jzg6c2d5.js} +0 -0
  764. /package/dist/chunks/{location-m18g726c.js → model-m18g726c.js} +0 -0
  765. /package/dist/chunks/{location-mp448xyj.js → model-mp448xyj.js} +0 -0
  766. /package/dist/chunks/{location-msx8hqn2.js → model-msx8hqn2.js} +0 -0
  767. /package/dist/chunks/{location-n05xt0ee.js → model-n05xt0ee.js} +0 -0
  768. /package/dist/chunks/{location-n3j8tn72.js → model-n3j8tn72.js} +0 -0
  769. /package/dist/chunks/{location-njntx4h6.js → model-njntx4h6.js} +0 -0
  770. /package/dist/chunks/{location-pkyv6v7h.js → model-pkyv6v7h.js} +0 -0
  771. /package/dist/chunks/{location-pyv0edze.js → model-pyv0edze.js} +0 -0
  772. /package/dist/chunks/{location-q3sfg36h.js → model-q3sfg36h.js} +0 -0
  773. /package/dist/chunks/{location-q74kybfr.js → model-q74kybfr.js} +0 -0
  774. /package/dist/chunks/{location-qaymkmh1.js → model-qaymkmh1.js} +0 -0
  775. /package/dist/chunks/{location-qb87gjwd.js → model-qb87gjwd.js} +0 -0
  776. /package/dist/chunks/{location-qfa1cgps.js → model-qfa1cgps.js} +0 -0
  777. /package/dist/chunks/{location-qg3g05ea.js → model-qg3g05ea.js} +0 -0
  778. /package/dist/chunks/{location-qrg20bc0.js → model-qrg20bc0.js} +0 -0
  779. /package/dist/chunks/{location-rcb2kzg1.js → model-rcb2kzg1.js} +0 -0
  780. /package/dist/chunks/{location-sdp7kfr6.js → model-sdp7kfr6.js} +0 -0
  781. /package/dist/chunks/{location-ssg3fenm.js → model-ssg3fenm.js} +0 -0
  782. /package/dist/chunks/{location-ve7vex1e.js → model-ve7vex1e.js} +0 -0
  783. /package/dist/chunks/{location-w803qqfp.js → model-w803qqfp.js} +0 -0
  784. /package/dist/chunks/{location-wc3fc9cn.js → model-wc3fc9cn.js} +0 -0
  785. /package/dist/chunks/{location-wer8tq1h.js → model-wer8tq1h.js} +0 -0
  786. /package/dist/chunks/{location-wjj7prxr.js → model-wjj7prxr.js} +0 -0
  787. /package/dist/chunks/{location-wtztk69x.js → model-wtztk69x.js} +0 -0
  788. /package/dist/chunks/{location-x0ckcb58.js → model-x0ckcb58.js} +0 -0
  789. /package/dist/chunks/{location-x61499pn.js → model-x61499pn.js} +0 -0
  790. /package/dist/chunks/{location-y44na4kk.js → model-y44na4kk.js} +0 -0
  791. /package/dist/chunks/{location-y8f7s663.js → model-y8f7s663.js} +0 -0
  792. /package/dist/chunks/{location-ygaqb7jw.js → model-ygaqb7jw.js} +0 -0
  793. /package/dist/chunks/{location-ym463w8f.js → model-ym463w8f.js} +0 -0
  794. /package/dist/chunks/{location-z5v4ffb3.js → model-z5v4ffb3.js} +0 -0
  795. /package/dist/chunks/{location-z9919s4g.js → model-z9919s4g.js} +0 -0
@@ -1,48 +1,48 @@
1
1
  import {
2
- Service85
3
- } from "./location-bvjxnz85.js";
2
+ Service82
3
+ } from "./model-tevdrw4n.js";
4
4
  import {
5
- Service66
6
- } from "./location-4sem758r.js";
5
+ Service84
6
+ } from "./model-nyz2bd3h.js";
7
7
  import {
8
8
  group2,
9
9
  batch2,
10
10
  shutdown2,
11
11
  inherit2
12
- } from "./location-rdw6cm16.js";
12
+ } from "./model-rdw6cm16.js";
13
13
  import {
14
- Service28,
14
+ Service27,
15
15
  awaitActivation2
16
- } from "./location-ht5y0zrb.js";
16
+ } from "./model-1x11rq2a.js";
17
17
  import {
18
18
  make11,
19
19
  requirements3,
20
20
  storage2
21
- } from "./location-yetj4y2f.js";
21
+ } from "./model-jew53rqn.js";
22
22
  import {
23
23
  __export
24
- } from "./location-9rqn6x4v.js";
24
+ } from "./model-9rqn6x4v.js";
25
25
 
26
26
  // src/plugin.ts
27
27
  var exports_plugin2 = {};
28
28
  __export(exports_plugin2, {
29
- Event: () => Event4,
30
- ID: () => ID3,
31
- Info: () => Info4,
29
+ Event: () => Event3,
30
+ ID: () => ID2,
31
+ Info: () => Info3,
32
32
  Plugin: () => exports_plugin2,
33
- Service: () => Service28,
33
+ Service: () => Service27,
34
34
  Source: () => Source2,
35
35
  State: () => State2,
36
36
  awaitActivation: () => awaitActivation2,
37
- node: () => node20
37
+ node: () => node19
38
38
  });
39
- import { Event as Event4, ID as ID3, Info as Info4, Source as Source2, State as State2 } from "@opencode/schema/plugin";
39
+ import { Event as Event3, ID as ID2, 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(Service28, Effect.gen(function* () {
44
- const bus = yield* Service85;
45
- const kv = yield* Service66;
43
+ var layer = Layer.effect(Service27, Effect.gen(function* () {
44
+ const bus = yield* Service82;
45
+ const kv = yield* Service84;
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(Service28, Effect.gen(function* () {
205
205
  yield* shutdown2(Scope.close(scope, exit));
206
206
  }));
207
207
  yield* Effect.addFinalizer(close);
208
- return Service28.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 node20 = Node.makeLocationNode({
226
- service: Service28,
225
+ var node19 = Node.makeLocationNode({
226
+ service: Service27,
227
227
  layer,
228
228
  deps: [requirements3]
229
229
  });
230
230
 
231
- export { node20, exports_plugin2, Event4, ID3, Info4, Source2, State2 };
231
+ export { node19, exports_plugin2, Event3, ID2, Info3, Source2, State2 };
@@ -1,34 +1,34 @@
1
1
  import {
2
2
  useragent2
3
- } from "./location-hyarejjy.js";
3
+ } from "./model-v37eec1m.js";
4
4
  import {
5
- Service85
6
- } from "./location-bvjxnz85.js";
5
+ Service82
6
+ } from "./model-tevdrw4n.js";
7
7
  import {
8
8
  OAuth3,
9
- Event20
10
- } from "./location-garxcygd.js";
9
+ Event15
10
+ } from "./model-kzr27bp7.js";
11
11
  import {
12
- ID14,
12
+ ID12,
13
13
  MethodID2
14
- } from "./location-fmvmqg86.js";
14
+ } from "./model-1xc2j506.js";
15
15
  import {
16
- ID13
17
- } from "./location-83xz3hbj.js";
16
+ ID11
17
+ } from "./model-2vtc1qv7.js";
18
18
  import {
19
- ID7,
19
+ ID10,
20
20
  Family2
21
- } from "./location-98hve3fq.js";
21
+ } from "./model-89bp7pxy.js";
22
22
  import {
23
23
  bootstrap2
24
- } from "./location-pjvnvgmy.js";
24
+ } from "./model-pjvnvgmy.js";
25
25
 
26
26
  // src/plugin/provider/digitalocean.ts
27
27
  import { define } from "@opencode/plugin/effect/plugin";
28
28
  import { Clock, Deferred, Effect, Option, Schema, Semaphore, Stream } from "effect";
29
29
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
30
- var providerID = ID13.make("digitalocean");
31
- var integrationID = ID14.make("digitalocean");
30
+ var providerID = ID11.make("digitalocean");
31
+ var integrationID = ID12.make("digitalocean");
32
32
  var methodID = MethodID2.make("browser");
33
33
  var clientID = "b1a6c5158156caac821fd1b30253ca8acb52454a48fa744420e41889cb589f82";
34
34
  var authorizeEndpoint = "https://cloud.digitalocean.com/v1/oauth/authorize";
@@ -116,7 +116,7 @@ var oauth = {
116
116
  var DigitalOceanPlugin2 = define({
117
117
  id: "opencode.provider.digitalocean",
118
118
  effect: Effect.fn(function* (ctx) {
119
- const bus = yield* Service85;
119
+ const bus = yield* Service82;
120
120
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
121
121
  const loading = Semaphore.makeUnsafe(1);
122
122
  const loaded = { routers: [] };
@@ -148,7 +148,7 @@ var DigitalOceanPlugin2 = define({
148
148
  return;
149
149
  for (const router of loaded.routers) {
150
150
  const id = `router:${router.name}`;
151
- if (evt.get(providerID)?.models.has(ID7.make(id)))
151
+ if (evt.get(providerID)?.models.has(ID10.make(id)))
152
152
  continue;
153
153
  evt.models.update(providerID, id, (draft) => {
154
154
  draft.name = router.name;
@@ -159,7 +159,7 @@ var DigitalOceanPlugin2 = define({
159
159
  }
160
160
  });
161
161
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
162
- yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
162
+ yield* bus.subscribe(Event15.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
163
163
  yield* refresh().pipe(Effect.forkScoped);
164
164
  })
165
165
  });
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./location-z5v4ffb3.js";
3
+ } from "./model-z5v4ffb3.js";
4
4
  import {
5
5
  root2
6
- } from "./location-dgsn3vfw.js";
6
+ } from "./model-rcepm1f5.js";
7
7
  import {
8
- Service82,
9
- node86
10
- } from "./location-y05taef3.js";
8
+ Service80,
9
+ node84
10
+ } from "./model-awq6q12e.js";
11
11
  import {
12
- Service72,
13
- node76
14
- } from "./location-asa024m6.js";
12
+ Service58,
13
+ node61
14
+ } from "./model-exttmg6k.js";
15
15
  import {
16
16
  __export
17
- } from "./location-9rqn6x4v.js";
17
+ } from "./model-9rqn6x4v.js";
18
18
 
19
19
  // src/file-access.ts
20
20
  var exports_file_access = {};
@@ -22,8 +22,8 @@ __export(exports_file_access, {
22
22
  FileAccess: () => exports_file_access,
23
23
  Kind: () => Kind2,
24
24
  ResolveInput: () => ResolveInput2,
25
- Service: () => Service14,
26
- node: () => node16,
25
+ Service: () => Service57,
26
+ node: () => node60,
27
27
  resolvePath: () => resolvePath2
28
28
  });
29
29
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -37,7 +37,7 @@ var ResolveInput2 = Schema.Struct({
37
37
  kind: Kind2.pipe(Schema.optional)
38
38
  });
39
39
 
40
- class Service14 extends Context.Service()("@opencode/FileAccess") {
40
+ class Service57 extends Context.Service()("@opencode/FileAccess") {
41
41
  }
42
42
  var resolvePath2 = (directory, input, home = Global.Path.home) => {
43
43
  const normalized = FSUtil.windowsPath(input);
@@ -49,10 +49,10 @@ var invocation = (context) => ({
49
49
  agent: context.agent,
50
50
  source: { type: "tool", messageID: context.messageID, id: context.id }
51
51
  });
52
- var layer = Layer.effect(Service14, Effect.gen(function* () {
52
+ var layer = Layer.effect(Service57, Effect.gen(function* () {
53
53
  const fs = yield* FSUtil.Service;
54
- const location = yield* Service82;
55
- const permission = yield* Service72;
54
+ const location = yield* Service80;
55
+ const permission = yield* Service58;
56
56
  const resolve = Effect.fn("FileAccess.resolve")(function* (input) {
57
57
  const absolute = AbsolutePath2.make(resolvePath2(location.directory, input.path));
58
58
  const worktree = path.resolve(location.project.directory);
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service14, Effect.gen(function* () {
101
101
  });
102
102
  return target;
103
103
  });
104
- return Service14.of({ resolve, authorizeExternal, authorizeRead });
104
+ return Service57.of({ resolve, authorizeExternal, authorizeRead });
105
105
  }));
106
- var node16 = makeLocationNode({ service: Service14, layer, deps: [FSUtil.node, node86, node76] });
106
+ var node60 = makeLocationNode({ service: Service57, layer, deps: [FSUtil.node, node84, node61] });
107
107
 
108
- export { Kind2, ResolveInput2, Service14, resolvePath2, node16, exports_file_access };
108
+ export { Kind2, ResolveInput2, Service57, resolvePath2, node60, exports_file_access };
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  __export
3
- } from "./location-9rqn6x4v.js";
3
+ } from "./model-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/plugin.ts
6
6
  var exports_plugin3 = {};
7
7
  __export(exports_plugin3, {
8
8
  ConfigPluginV1: () => exports_plugin3,
9
- Options: () => Options10,
9
+ Options: () => Options7,
10
10
  Spec: () => Spec2
11
11
  });
12
12
  import { Schema } from "effect";
13
- var Options10 = Schema.Record(Schema.String, Schema.Unknown);
14
- var Spec2 = Schema.Union([Schema.String, Schema.mutable(Schema.Tuple([Schema.String, Options10]))]);
13
+ var Options7 = Schema.Record(Schema.String, Schema.Unknown);
14
+ var Spec2 = Schema.Union([Schema.String, Schema.mutable(Schema.Tuple([Schema.String, Options7]))]);
15
15
 
16
- export { Options10, Spec2, exports_plugin3 };
16
+ export { Options7, Spec2, exports_plugin3 };
@@ -1,51 +1,51 @@
1
1
  import {
2
- ID11,
3
- Service75
4
- } from "./location-d99zq9a9.js";
2
+ ID8,
3
+ Service61
4
+ } from "./model-5a9tc6z0.js";
5
5
  import {
6
6
  Ref2,
7
- Service70
8
- } from "./location-98hve3fq.js";
7
+ Service63
8
+ } from "./model-89bp7pxy.js";
9
9
  import {
10
10
  latest2,
11
- Service58
12
- } from "./location-nc7xb224.js";
11
+ Service43
12
+ } from "./model-br1q80at.js";
13
13
  import {
14
14
  SessionSchema2
15
- } from "./location-axe3mf62.js";
15
+ } from "./model-m5jcjszt.js";
16
16
  import {
17
- Service50
18
- } from "./location-dkrr3wvc.js";
17
+ Service45
18
+ } from "./model-py3gqn7c.js";
19
19
  import {
20
20
  evaluate2,
21
- Service72
22
- } from "./location-asa024m6.js";
21
+ Service58
22
+ } from "./model-exttmg6k.js";
23
23
  import {
24
- Service26
25
- } from "./location-x2c0z4fa.js";
24
+ Service17
25
+ } from "./model-ysh87z2r.js";
26
26
  import {
27
27
  NO_TEXT2
28
- } from "./location-6xb47vfp.js";
28
+ } from "./model-6xb47vfp.js";
29
29
  import {
30
30
  Service12
31
- } from "./location-28zjsd3e.js";
31
+ } from "./model-cgbdwjd7.js";
32
32
  import {
33
33
  __export
34
- } from "./location-9rqn6x4v.js";
34
+ } from "./model-9rqn6x4v.js";
35
35
 
36
36
  // src/tool/plugin/subagent.ts
37
37
  var exports_subagent = {};
38
38
  __export(exports_subagent, {
39
- Input: () => Input13,
40
- Output: () => Output9,
41
- Plugin: () => Plugin50,
39
+ Input: () => Input6,
40
+ Output: () => Output4,
41
+ Plugin: () => Plugin42,
42
42
  SubagentTool: () => exports_subagent,
43
- description: () => description5,
44
- name: () => name13
43
+ description: () => description2,
44
+ name: () => name6
45
45
  });
46
46
  import { ToolFailure } from "@opencode/ai";
47
47
  import { Effect, Predicate, Schema } from "effect";
48
- var name13 = "subagent";
48
+ var name6 = "subagent";
49
49
  var backgroundResult = (sessionID) => ({
50
50
  sessionID,
51
51
  status: "running",
@@ -56,7 +56,7 @@ var backgroundResult = (sessionID) => ({
56
56
  ].join(`
57
57
  `)
58
58
  });
59
- var Input13 = Schema.Struct({
59
+ var Input6 = Schema.Struct({
60
60
  agent: Schema.String.annotate({
61
61
  description: "The type of specialized agent to use for this task. If the user asks for a subagent by a name that is not one of the available subagents, they most likely mean a model: pick a suitable agent and pass the name through the model parameter instead."
62
62
  }),
@@ -72,12 +72,12 @@ var Input13 = Schema.Struct({
72
72
  description: "Run the subagent in the background and return immediately. You will be notified when it completes. DO NOT sleep, poll, or proactively check on its progress."
73
73
  })
74
74
  });
75
- var Output9 = Schema.Struct({
75
+ var Output4 = Schema.Struct({
76
76
  sessionID: SessionSchema2.ID,
77
77
  status: Schema.Literals(["completed", "running"]),
78
78
  output: Schema.String
79
79
  });
80
- var description5 = [
80
+ var description2 = [
81
81
  "Spawns an agent in a child session to work on the specified task.",
82
82
  "The output includes a sessionID you can pass back later to continue that specific conversation with the subagent.",
83
83
  "New child sessions start with fresh context, so include all relevant context and instructions when you don't pass a sessionID.",
@@ -86,15 +86,15 @@ var description5 = [
86
86
  "Use background only for independent work that can run while you continue elsewhere."
87
87
  ].join(`
88
88
  `);
89
- var Plugin50 = {
89
+ var Plugin42 = {
90
90
  id: "opencode.tool.subagent",
91
91
  effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
92
- const sessions = yield* Service26;
93
- const jobs = yield* Service50;
94
- const agents = yield* Service75;
95
- const config = yield* Service58;
96
- const permission = yield* Service72;
97
- const models = yield* Service70;
92
+ const sessions = yield* Service17;
93
+ const jobs = yield* Service45;
94
+ const agents = yield* Service61;
95
+ const config = yield* Service43;
96
+ const permission = yield* Service58;
97
+ const models = yield* Service63;
98
98
  const subagents = yield* Service12;
99
99
  const resolveModel = Effect.fn("SubagentTool.resolveModel")(function* (input) {
100
100
  const ref = yield* Effect.try({
@@ -115,11 +115,11 @@ var Plugin50 = {
115
115
  return ref;
116
116
  });
117
117
  yield* ctx.tool.transform((editor) => editor.add({
118
- name: name13,
118
+ name: name6,
119
119
  options: { codemode: false },
120
- description: description5,
121
- input: Input13,
122
- output: Output9,
120
+ description: description2,
121
+ input: Input6,
122
+ output: Output4,
123
123
  execute: (input, context) => Effect.gen(function* () {
124
124
  const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
125
125
  let current = parent;
@@ -139,7 +139,7 @@ var Plugin50 = {
139
139
  if (agent.mode === "primary")
140
140
  return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
141
141
  yield* permission.assert({
142
- action: name13,
142
+ action: name6,
143
143
  resources: [agent.id],
144
144
  save: [agent.id],
145
145
  sessionID: context.sessionID,
@@ -168,7 +168,7 @@ var Plugin50 = {
168
168
  const child = existing ?? (yield* sessions.create({
169
169
  parentID: context.sessionID,
170
170
  title: input.description,
171
- agent: ID11.make(input.agent),
171
+ agent: ID8.make(input.agent),
172
172
  model
173
173
  }).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error }))));
174
174
  const background = input.background === true;
@@ -218,7 +218,7 @@ ${output.output}
218
218
  })))
219
219
  })).pipe(Effect.orDie);
220
220
  yield* ctx.tool.hook("execute.before", (event) => Effect.sync(() => {
221
- if (event.tool !== name13 || !Predicate.isObject(event.input))
221
+ if (event.tool !== name6 || !Predicate.isObject(event.input))
222
222
  return;
223
223
  if (event.input.model !== "" && event.input.sessionID !== "")
224
224
  return;
@@ -230,13 +230,13 @@ ${output.output}
230
230
  event.input = input;
231
231
  }));
232
232
  const hook = (event) => Effect.gen(function* () {
233
- const tool = event.tools[name13];
233
+ const tool = event.tools[name6];
234
234
  if (!tool)
235
235
  return;
236
236
  const selected = yield* agents.resolve(event.agent);
237
237
  if (!selected)
238
238
  return;
239
- const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name13, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
239
+ const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name6, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
240
240
  if (available.length === 0)
241
241
  return;
242
242
  tool.description = [
@@ -253,4 +253,4 @@ ${output.output}
253
253
  })
254
254
  };
255
255
 
256
- export { name13, Input13, Output9, description5, Plugin50, exports_subagent };
256
+ export { name6, Input6, Output4, description2, Plugin42, exports_subagent };
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  Ref4
3
- } from "./location-y05taef3.js";
3
+ } from "./model-awq6q12e.js";
4
4
  import {
5
5
  __export
6
- } from "./location-9rqn6x4v.js";
6
+ } from "./model-9rqn6x4v.js";
7
7
 
8
8
  // src/location-service-map.ts
9
9
  var exports_location_service_map = {};
10
10
  __export(exports_location_service_map, {
11
11
  LocationServiceMap: () => exports_location_service_map,
12
- Service: () => Service51,
12
+ Service: () => Service79,
13
13
  canonical: () => canonical3,
14
- node: () => node53,
14
+ node: () => node83,
15
15
  reload: () => reload2
16
16
  });
17
17
  import { Context, Effect, Exit, Layer, RcMap } from "effect";
@@ -19,14 +19,14 @@ import { LayerNode } from "@opencode/util/effect/layer-node";
19
19
  import { Node } from "@opencode/util/effect/app-node";
20
20
  import { AbsolutePath } from "@opencode/schema/schema";
21
21
  import path from "path";
22
- class Service51 extends Context.Service()("@opencode/example/LocationServiceMap") {
22
+ class Service79 extends Context.Service()("@opencode/example/LocationServiceMap") {
23
23
  static get(ref) {
24
- return Layer.unwrap(Effect.map(Service51, (locations) => locations.get(ref)));
24
+ return Layer.unwrap(Effect.map(Service79, (locations) => locations.get(ref)));
25
25
  }
26
26
  }
27
- var node53 = LayerNode.unbound(Service51, Node.tags.values.global);
27
+ var node83 = LayerNode.unbound(Service79, Node.tags.values.global);
28
28
  var reload2 = Effect.fn("LocationServiceMap.reload")(function* () {
29
- const locations = yield* Service51;
29
+ const locations = yield* Service79;
30
30
  const refs = Array.from(yield* RcMap.keys(locations.rcMap));
31
31
  yield* Effect.forEach(refs, (ref) => locations.invalidate(ref), {
32
32
  discard: true,
@@ -45,4 +45,4 @@ function canonical3(ref) {
45
45
  });
46
46
  }
47
47
 
48
- export { Service51, node53, reload2, canonical3, exports_location_service_map };
48
+ export { Service79, node83, reload2, canonical3, exports_location_service_map };
@@ -1,25 +1,25 @@
1
1
  import {
2
- Service85,
3
- node89
4
- } from "./location-bvjxnz85.js";
2
+ Service82,
3
+ node86
4
+ } from "./model-tevdrw4n.js";
5
5
  import {
6
- Service66,
7
- node70
8
- } from "./location-4sem758r.js";
6
+ Service84,
7
+ node88
8
+ } from "./model-nyz2bd3h.js";
9
9
  import {
10
10
  create3
11
- } from "./location-rdw6cm16.js";
11
+ } from "./model-rdw6cm16.js";
12
12
  import {
13
13
  __export
14
- } from "./location-9rqn6x4v.js";
14
+ } from "./model-9rqn6x4v.js";
15
15
 
16
16
  // src/websearch.ts
17
17
  var exports_websearch3 = {};
18
18
  __export(exports_websearch3, {
19
19
  DisabledError: () => DisabledError2,
20
- Event: () => Event5,
21
- ID: () => ID4,
22
- Input: () => Input14,
20
+ Event: () => Event6,
21
+ ID: () => ID3,
22
+ Input: () => Input15,
23
23
  Provider: () => Provider2,
24
24
  ProviderKey: () => ProviderKey2,
25
25
  ProviderNotFoundError: () => ProviderNotFoundError2,
@@ -28,29 +28,29 @@ __export(exports_websearch3, {
28
28
  Response: () => Response2,
29
29
  Result: () => Result2,
30
30
  Selection: () => Selection2,
31
- Service: () => Service18,
31
+ Service: () => Service46,
32
32
  WebSearch: () => exports_websearch3,
33
- node: () => node21
33
+ node: () => node48
34
34
  });
35
35
  import { WebSearch } from "@opencode/schema/websearch";
36
36
  import { SessionEvent } from "@opencode/schema/session-event";
37
37
  import { Clock, Context, Effect, Layer, Option, Schema, Stream } from "effect";
38
38
  import { HttpClientError } from "effect/http";
39
39
  import { makeLocationNode } from "@opencode/util/effect/app-node";
40
- import { Event as Event5 } from "@opencode/schema/websearch";
41
- var ID4 = WebSearch.ID;
40
+ import { Event as Event6 } from "@opencode/schema/websearch";
41
+ var ID3 = WebSearch.ID;
42
42
  var Provider2 = WebSearch.Provider;
43
- var Input14 = WebSearch.Input;
43
+ var Input15 = WebSearch.Input;
44
44
  var Result2 = WebSearch.Result;
45
45
  var Response2 = WebSearch.Response;
46
46
  var ProviderKey2 = "websearch:provider";
47
- var Selection2 = Schema.Union([ID4, Schema.Literal("random"), Schema.Literal(false)]);
47
+ var Selection2 = Schema.Union([ID3, Schema.Literal("random"), Schema.Literal(false)]);
48
48
 
49
49
  class ProviderRequiredError2 extends Schema.TaggedError()("WebSearch.ProviderRequired", {}) {
50
50
  }
51
51
 
52
52
  class ProviderNotFoundError2 extends Schema.TaggedError()("WebSearch.ProviderNotFound", {
53
- providerID: ID4
53
+ providerID: ID3
54
54
  }) {
55
55
  }
56
56
 
@@ -58,16 +58,16 @@ class DisabledError2 extends Schema.TaggedError()("WebSearch.Disabled", {}) {
58
58
  }
59
59
 
60
60
  class RequestError2 extends Schema.TaggedError()("WebSearch.Request", {
61
- providerID: ID4,
61
+ providerID: ID3,
62
62
  cause: Schema.Defect()
63
63
  }) {
64
64
  }
65
65
 
66
- class Service18 extends Context.Service()("@opencode/WebSearch") {
66
+ class Service46 extends Context.Service()("@opencode/WebSearch") {
67
67
  }
68
- var layer = Layer.effect(Service18, Effect.gen(function* () {
69
- const bus = yield* Service85;
70
- const kv = yield* Service66;
68
+ var layer = Layer.effect(Service46, Effect.gen(function* () {
69
+ const bus = yield* Service82;
70
+ const kv = yield* Service84;
71
71
  const decodeResults = Schema.decodeUnknownEffect(Schema.Array(Result2));
72
72
  const cooldowns = new Map;
73
73
  const preferred = new Map;
@@ -124,7 +124,7 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
124
124
  }
125
125
  return choice ? state.get().providers.get(choice) : undefined;
126
126
  });
127
- return Service18.of({
127
+ return Service46.of({
128
128
  transform: state.transform,
129
129
  reload: state.reload,
130
130
  providers: Effect.fn("WebSearch.providers")(function* () {
@@ -184,10 +184,10 @@ function cooldownMillis(value, now) {
184
184
  const date = Date.parse(value);
185
185
  return Number.isFinite(date) ? Math.max(0, date - now) : 60000;
186
186
  }
187
- var node21 = makeLocationNode({
188
- service: Service18,
187
+ var node48 = makeLocationNode({
188
+ service: Service46,
189
189
  layer,
190
- deps: [node89, node70]
190
+ deps: [node86, node88]
191
191
  });
192
192
 
193
- export { ID4, Provider2, Input14, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2, Service18, node21, exports_websearch3, Event5 };
193
+ export { ID3, Provider2, Input15, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2, Service46, node48, exports_websearch3, Event6 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./location-9rqn6x4v.js";
3
+ } from "./model-9rqn6x4v.js";
4
4
 
5
5
  // src/config/plugin/entry-observer.ts
6
6
  var exports_entry_observer = {};