@opencode/core 0.0.0-dev-20621 → 0.0.0-dev-20625

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (779) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +81 -81
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +69 -69
  7. package/dist/chunks/{tool-3sdb20zb.js → workspace-04792bgd.js} +11 -11
  8. package/dist/chunks/{tool-nkxtzyv4.js → workspace-077cgkzg.js} +23 -23
  9. package/dist/chunks/{tool-mx9vqzsb.js → workspace-07w59vex.js} +6 -6
  10. package/dist/chunks/{tool-4c8s8kge.js → workspace-08t9thee.js} +5 -5
  11. package/dist/chunks/{tool-zr70bgmb.js → workspace-0cnpbvek.js} +15 -15
  12. package/dist/chunks/{tool-dd40s8jk.js → workspace-0dygnakk.js} +4 -4
  13. package/dist/chunks/{tool-6qzp8a5z.js → workspace-0gh43fvp.js} +9 -9
  14. package/dist/chunks/{tool-qgn6gcr1.js → workspace-0jwsre1p.js} +5 -5
  15. package/dist/chunks/{tool-hmb6jn2z.js → workspace-0k0tdk4v.js} +20 -20
  16. package/dist/chunks/{tool-0paq2nw3.js → workspace-0paq2nw3.js} +1 -1
  17. package/dist/chunks/{tool-0emb60td.js → workspace-0vbcp93d.js} +2 -2
  18. package/dist/chunks/{tool-rjep82nj.js → workspace-0zm4vsbv.js} +17 -17
  19. package/dist/chunks/{tool-h65drem0.js → workspace-16m64twp.js} +16 -16
  20. package/dist/chunks/{tool-bcr0ksmf.js → workspace-1acz6075.js} +11 -11
  21. package/dist/chunks/{tool-4mpv5s2v.js → workspace-1d4zkfab.js} +40 -40
  22. package/dist/chunks/{tool-1dazxqgg.js → workspace-1dazxqgg.js} +2 -2
  23. package/dist/chunks/{tool-wk2zpc1v.js → workspace-1e10y0rh.js} +11 -11
  24. package/dist/chunks/{tool-j1ba0jw9.js → workspace-1fhw6qp6.js} +32 -32
  25. package/dist/chunks/{tool-40gsab6q.js → workspace-1v8896a1.js} +8 -8
  26. package/dist/chunks/{tool-r1z1z81h.js → workspace-24738xn5.js} +14 -14
  27. package/dist/chunks/{tool-2a5m3afh.js → workspace-2a5m3afh.js} +1 -1
  28. package/dist/chunks/{tool-rxn8twjw.js → workspace-2cabk1b6.js} +2 -2
  29. package/dist/chunks/{tool-vpfpr37q.js → workspace-2d4jh34x.js} +11 -11
  30. package/dist/chunks/{tool-350pbqn9.js → workspace-2eaaba8k.js} +26 -26
  31. package/dist/chunks/{tool-z26t8xx0.js → workspace-2g06r5p1.js} +15 -15
  32. package/dist/chunks/{tool-yxe8956e.js → workspace-2jygvae8.js} +11 -11
  33. package/dist/chunks/{tool-d0m8bny5.js → workspace-2kapx5s0.js} +21 -21
  34. package/dist/chunks/workspace-2qxg5hny.js +253 -0
  35. package/dist/chunks/{tool-7crx08a4.js → workspace-30ak4e5k.js} +8 -8
  36. package/dist/chunks/{tool-9thxh3x6.js → workspace-35vpxd0z.js} +7 -7
  37. package/dist/chunks/{tool-h43cy6bd.js → workspace-37gg4rjc.js} +8 -8
  38. package/dist/chunks/{tool-3cegwx68.js → workspace-3cegwx68.js} +2 -2
  39. package/dist/chunks/{tool-51r1g0v9.js → workspace-3d5pf0rw.js} +11 -11
  40. package/dist/chunks/{tool-3fc6dm20.js → workspace-3fc6dm20.js} +1 -1
  41. package/dist/chunks/{tool-3hepkmqq.js → workspace-3hepkmqq.js} +1 -1
  42. package/dist/chunks/{tool-tcyk0gcq.js → workspace-3qny4s1r.js} +13 -13
  43. package/dist/chunks/{tool-zsr4wwhv.js → workspace-3sj8yt8v.js} +4 -4
  44. package/dist/chunks/{tool-3smtnn6g.js → workspace-3smtnn6g.js} +1 -1
  45. package/dist/chunks/{tool-3tvqynh2.js → workspace-3tvqynh2.js} +1 -1
  46. package/dist/chunks/{tool-dcgfqf6n.js → workspace-3wfp78gc.js} +6 -6
  47. package/dist/chunks/{tool-3zsf4n22.js → workspace-3zsf4n22.js} +1 -1
  48. package/dist/chunks/{tool-16pwk8my.js → workspace-49494kth.js} +18 -18
  49. package/dist/chunks/{tool-n3kz9j5v.js → workspace-4bf12bpw.js} +5 -5
  50. package/dist/chunks/{tool-j6rvrjb2.js → workspace-4ctbs581.js} +15 -15
  51. package/dist/chunks/{tool-9xafsdbn.js → workspace-4jcpse7m.js} +15 -15
  52. package/dist/chunks/{tool-4ts7tf6z.js → workspace-4ts7tf6z.js} +2 -2
  53. package/dist/chunks/{tool-54ma36ye.js → workspace-54ma36ye.js} +1 -1
  54. package/dist/chunks/{tool-1ygqh575.js → workspace-56gdpj1q.js} +9 -9
  55. package/dist/chunks/{tool-tytd2jm0.js → workspace-56hrvcw3.js} +50 -50
  56. package/dist/chunks/{tool-p2y4rtdg.js → workspace-57nggxpn.js} +37 -37
  57. package/dist/chunks/{tool-a7bsh1ec.js → workspace-58twkbn2.js} +11 -11
  58. package/dist/chunks/{tool-23mntapz.js → workspace-5ct8ze0w.js} +11 -11
  59. package/dist/chunks/{tool-5daktx2q.js → workspace-5daktx2q.js} +1 -1
  60. package/dist/chunks/{tool-eaxx2kzt.js → workspace-5gjk7y31.js} +4 -4
  61. package/dist/chunks/{tool-5m9w47nd.js → workspace-5m9w47nd.js} +1 -1
  62. package/dist/chunks/{tool-wyyj98bv.js → workspace-5t0mhk5g.js} +3 -3
  63. package/dist/chunks/{tool-5t3nmthw.js → workspace-5t3nmthw.js} +2 -2
  64. package/dist/chunks/{tool-5yzzbxa7.js → workspace-5xtgfte3.js} +8 -8
  65. package/dist/chunks/{tool-8h9kzq6c.js → workspace-5xvy2j9s.js} +13 -13
  66. package/dist/chunks/workspace-619r8v3y.js +18 -0
  67. package/dist/chunks/{tool-zbt4vqdm.js → workspace-6b43n2qe.js} +23 -23
  68. package/dist/chunks/{tool-2n6fa56a.js → workspace-6j68t7ds.js} +1 -1
  69. package/dist/chunks/{tool-c1ant5c1.js → workspace-6kkym95p.js} +165 -165
  70. package/dist/chunks/{tool-e4gfb4rf.js → workspace-6n6n0wbe.js} +22 -22
  71. package/dist/chunks/{tool-w7jnj522.js → workspace-6qpyh92k.js} +18 -18
  72. package/dist/chunks/{tool-6xb47vfp.js → workspace-6xb47vfp.js} +1 -1
  73. package/dist/chunks/{tool-5jxm9yfz.js → workspace-6ygyve09.js} +26 -26
  74. package/dist/chunks/{tool-qt17f4h7.js → workspace-71tv947p.js} +15 -15
  75. package/dist/chunks/{tool-zcdqtjtf.js → workspace-74f6ffmn.js} +47 -47
  76. package/dist/chunks/{tool-ng6f7xag.js → workspace-7504msxf.js} +25 -25
  77. package/dist/chunks/{tool-7bmhse3q.js → workspace-7bmhse3q.js} +1 -1
  78. package/dist/chunks/{tool-x2jd95r3.js → workspace-7e820gef.js} +32 -32
  79. package/dist/chunks/{tool-yxnaqxdh.js → workspace-7naznwf1.js} +6 -6
  80. package/dist/chunks/{tool-ckag18vk.js → workspace-7w38sh68.js} +21 -21
  81. package/dist/chunks/{tool-84h8c373.js → workspace-84h8c373.js} +2 -2
  82. package/dist/chunks/{tool-84txncab.js → workspace-84txncab.js} +1 -1
  83. package/dist/chunks/{tool-6w4tq3mb.js → workspace-86km67cx.js} +9 -9
  84. package/dist/chunks/{tool-egspt8cm.js → workspace-86mjrc9q.js} +63 -63
  85. package/dist/chunks/{tool-w36j0bmk.js → workspace-8a6ws7jr.js} +9 -9
  86. package/dist/chunks/{tool-8d7r5vzw.js → workspace-8d7r5vzw.js} +1 -1
  87. package/dist/chunks/{tool-7q4nzkb9.js → workspace-8fkq3ra9.js} +16 -16
  88. package/dist/chunks/{tool-6m1hjez2.js → workspace-8gm8r8mn.js} +15 -15
  89. package/dist/chunks/{tool-qx8vbekt.js → workspace-8p3g3wy0.js} +11 -11
  90. package/dist/chunks/{tool-9swdtjav.js → workspace-8t5jjh5c.js} +5 -5
  91. package/dist/chunks/{tool-h9pcb0g7.js → workspace-8z7vm853.js} +5 -5
  92. package/dist/chunks/{tool-6zhvkmk5.js → workspace-94yy4jsn.js} +4 -4
  93. package/dist/chunks/{tool-g357tzjd.js → workspace-9jq6257y.js} +25 -25
  94. package/dist/chunks/{tool-b750x627.js → workspace-9rebvyz3.js} +4 -4
  95. package/dist/chunks/{tool-1x69mj4q.js → workspace-9vprb1nh.js} +12 -12
  96. package/dist/chunks/{tool-sxt8reb7.js → workspace-a3zzg5mb.js} +27 -27
  97. package/dist/chunks/{tool-kvvk39gs.js → workspace-a8bn8zg0.js} +4 -4
  98. package/dist/chunks/{tool-aaet6srn.js → workspace-aaet6srn.js} +2 -2
  99. package/dist/chunks/{tool-qtq3p0wt.js → workspace-aaqcndx2.js} +42 -42
  100. package/dist/chunks/{tool-g4ezwve1.js → workspace-ap1jses2.js} +23 -23
  101. package/dist/chunks/{tool-r9w3djhf.js → workspace-atytsmf1.js} +9 -9
  102. package/dist/chunks/{tool-c7f2cwkk.js → workspace-aw1g0m68.js} +3 -3
  103. package/dist/chunks/{tool-3j9bgvtg.js → workspace-axs6pdy0.js} +5 -5
  104. package/dist/chunks/{tool-9f2nvjyq.js → workspace-b3vk0wha.js} +3 -3
  105. package/dist/chunks/{tool-kzgmjn1f.js → workspace-b61vcdbg.js} +9 -9
  106. package/dist/chunks/{tool-b6gygkdw.js → workspace-b6gygkdw.js} +2 -2
  107. package/dist/chunks/{tool-2k71kv7p.js → workspace-bacyadyn.js} +4 -4
  108. package/dist/chunks/{tool-pz19f1h4.js → workspace-bf3ep3zf.js} +16 -16
  109. package/dist/chunks/{tool-scqzf1nw.js → workspace-bgnv3g07.js} +6 -6
  110. package/dist/chunks/{tool-mzrc21xj.js → workspace-bj5ap212.js} +40 -40
  111. package/dist/chunks/{tool-fe6bz30b.js → workspace-bjz294g4.js} +18 -18
  112. package/dist/chunks/{tool-yptech69.js → workspace-bq7qaacb.js} +38 -38
  113. package/dist/chunks/{tool-tdtgstz8.js → workspace-bt43sfkk.js} +18 -18
  114. package/dist/chunks/{tool-mktzjf14.js → workspace-bv2qvk3v.js} +48 -48
  115. package/dist/chunks/{tool-ydty4xqc.js → workspace-bvvmdrd3.js} +17 -17
  116. package/dist/chunks/{tool-s7nv2rwz.js → workspace-bx0gyb4h.js} +5 -5
  117. package/dist/chunks/{tool-42ayv7pm.js → workspace-bx4w3v62.js} +42 -42
  118. package/dist/chunks/{tool-3x1fhjfk.js → workspace-c1ka28h1.js} +5 -5
  119. package/dist/chunks/{tool-4xtwzbwp.js → workspace-ca6v8khj.js} +323 -323
  120. package/dist/chunks/{tool-vk9cvn9d.js → workspace-caf87exy.js} +27 -27
  121. package/dist/chunks/{tool-0xccjjzw.js → workspace-cg7s6gpq.js} +30 -30
  122. package/dist/chunks/{tool-kne8f3cn.js → workspace-ckf8nxjz.js} +4 -4
  123. package/dist/chunks/{tool-wpgamtwv.js → workspace-ckn890ey.js} +26 -26
  124. package/dist/chunks/{tool-4jjk64j7.js → workspace-cqqer672.js} +13 -13
  125. package/dist/chunks/{tool-2zv0bcyv.js → workspace-cscmnd2v.js} +8 -8
  126. package/dist/chunks/{tool-k1pmzggn.js → workspace-cvgbrmvq.js} +30 -30
  127. package/dist/chunks/{tool-2sejkfem.js → workspace-cwa6csj7.js} +9 -9
  128. package/dist/chunks/{tool-p10vm95c.js → workspace-d2ffjrg3.js} +7 -7
  129. package/dist/chunks/{tool-ynky3s72.js → workspace-desgj5fn.js} +26 -26
  130. package/dist/chunks/{tool-pdssdm3r.js → workspace-dwnnjgz6.js} +45 -45
  131. package/dist/chunks/{tool-rx871m47.js → workspace-e107jb5k.js} +2 -2
  132. package/dist/chunks/{tool-z5n58sqq.js → workspace-e2h0q4a9.js} +8 -8
  133. package/dist/chunks/{tool-1ewxhx38.js → workspace-e3gcztwa.js} +30 -30
  134. package/dist/chunks/{tool-pjsqfx9m.js → workspace-easapccs.js} +6 -6
  135. package/dist/chunks/{tool-ef5x83kb.js → workspace-ef5x83kb.js} +1 -1
  136. package/dist/chunks/{tool-9tqp4rjd.js → workspace-efbajcyc.js} +34 -34
  137. package/dist/chunks/{tool-853r27ye.js → workspace-ejgp49jg.js} +20 -20
  138. package/dist/chunks/{tool-txw06jcg.js → workspace-emx6shzs.js} +24 -24
  139. package/dist/chunks/{tool-etq0c3wd.js → workspace-etq0c3wd.js} +1 -1
  140. package/dist/chunks/{tool-mzraw8ha.js → workspace-ewx9y0me.js} +7 -7
  141. package/dist/chunks/{tool-bx021530.js → workspace-f6626pn0.js} +12 -12
  142. package/dist/chunks/{tool-f75zav2x.js → workspace-f75zav2x.js} +2 -2
  143. package/dist/chunks/{tool-qk33d3eb.js → workspace-f7gr38pv.js} +5 -5
  144. package/dist/chunks/{tool-f4tfcf42.js → workspace-fte4edzz.js} +10 -10
  145. package/dist/chunks/{tool-81bpzke5.js → workspace-g38n4cbf.js} +11 -11
  146. package/dist/chunks/{tool-1cz6w5aa.js → workspace-g6cj2pz3.js} +5 -5
  147. package/dist/chunks/{tool-zab19jja.js → workspace-g762atc6.js} +9 -9
  148. package/dist/chunks/{tool-wfdj1abq.js → workspace-g79x7y0t.js} +11 -11
  149. package/dist/chunks/{tool-cz3qxt32.js → workspace-gamkna2f.js} +32 -32
  150. package/dist/chunks/{tool-gd4qta3r.js → workspace-gd4qta3r.js} +1 -1
  151. package/dist/chunks/{tool-cjdpndr5.js → workspace-gr68n6sk.js} +7 -7
  152. package/dist/chunks/{tool-bbpgpzrp.js → workspace-grtn0enx.js} +4 -4
  153. package/dist/chunks/{tool-6ysrkrkr.js → workspace-h275bwc7.js} +8 -8
  154. package/dist/chunks/{tool-sgd5yhbj.js → workspace-h2txwa5e.js} +9 -9
  155. package/dist/chunks/{tool-3w57jhwt.js → workspace-h4ckqw4f.js} +8 -8
  156. package/dist/chunks/{tool-h6vf3j39.js → workspace-h6vf3j39.js} +1 -1
  157. package/dist/chunks/{tool-w0jh0ny2.js → workspace-hd75z5fa.js} +10 -10
  158. package/dist/chunks/{tool-a65exzz3.js → workspace-heymn33v.js} +13 -13
  159. package/dist/chunks/{tool-303t2pvh.js → workspace-hfr420wr.js} +26 -26
  160. package/dist/chunks/{tool-393z7mah.js → workspace-hgnewnvf.js} +3 -3
  161. package/dist/chunks/{tool-qbd5ma0n.js → workspace-hns92ys1.js} +10 -10
  162. package/dist/chunks/{tool-6az9vrde.js → workspace-hp2fw5k6.js} +24 -24
  163. package/dist/chunks/{tool-gx34rq0y.js → workspace-hqf62ytx.js} +3 -3
  164. package/dist/chunks/{tool-r9t00hsy.js → workspace-hr5bc81f.js} +8 -8
  165. package/dist/chunks/workspace-j49cp3s0.js +26 -0
  166. package/dist/chunks/{tool-j56e64zr.js → workspace-j56e64zr.js} +1 -1
  167. package/dist/chunks/{tool-pvnmdee5.js → workspace-jdzksevj.js} +10 -10
  168. package/dist/chunks/{tool-cfsekr6v.js → workspace-jktqzjpa.js} +8 -8
  169. package/dist/chunks/{tool-75v4x8jp.js → workspace-jvddzxac.js} +14 -14
  170. package/dist/chunks/{tool-krzbbgtd.js → workspace-k2vb740h.js} +9 -9
  171. package/dist/chunks/{tool-66t34m9w.js → workspace-k30vhdc4.js} +12 -12
  172. package/dist/chunks/{tool-mwwxnxty.js → workspace-k3sn4jay.js} +4 -4
  173. package/dist/chunks/{tool-zqrhdrkc.js → workspace-k471ddga.js} +43 -43
  174. package/dist/chunks/{tool-cjxvfp5z.js → workspace-k569he40.js} +7 -7
  175. package/dist/chunks/{tool-tnjsmpmj.js → workspace-kaq877jq.js} +11 -11
  176. package/dist/chunks/{tool-kb9j3d72.js → workspace-kb9j3d72.js} +3 -3
  177. package/dist/chunks/{tool-p6hyfmfc.js → workspace-kgzx153c.js} +3 -3
  178. package/dist/chunks/{tool-kfdtc9qy.js → workspace-km0c42ps.js} +11 -11
  179. package/dist/chunks/{tool-pnzjke2r.js → workspace-kn0kwb9r.js} +22 -22
  180. package/dist/chunks/{tool-fhm77ccb.js → workspace-kprvgbka.js} +3 -3
  181. package/dist/chunks/{tool-qc3y4bn0.js → workspace-kpv8xpp3.js} +4 -4
  182. package/dist/chunks/{tool-4set99t9.js → workspace-kt4j6m51.js} +3 -3
  183. package/dist/chunks/{tool-vdg7jmx3.js → workspace-kzykqk6j.js} +12 -12
  184. package/dist/chunks/{tool-m3fdjcah.js → workspace-m3fdjcah.js} +1 -1
  185. package/dist/chunks/{tool-n7c1m45s.js → workspace-m6f5ap24.js} +15 -15
  186. package/dist/chunks/{tool-m9w0rfyh.js → workspace-m9w0rfyh.js} +1 -1
  187. package/dist/chunks/{tool-9y9sk2j9.js → workspace-mbnxefga.js} +2 -2
  188. package/dist/chunks/{tool-czkrkmgx.js → workspace-mh5wyt4r.js} +11 -11
  189. package/dist/chunks/{tool-xcmk6yw7.js → workspace-mhnyy3p3.js} +11 -11
  190. package/dist/chunks/{tool-xqq6j46d.js → workspace-mq716n2q.js} +18 -18
  191. package/dist/chunks/{tool-adfa1w2n.js → workspace-msr7hntd.js} +4 -4
  192. package/dist/chunks/{tool-a1gpj94z.js → workspace-mvfsc1pv.js} +3 -3
  193. package/dist/chunks/{tool-ncnm8wen.js → workspace-n2thn3nx.js} +1 -1
  194. package/dist/chunks/{tool-2xcf8v2e.js → workspace-nex76z7d.js} +15 -15
  195. package/dist/chunks/{tool-cwxwnzw8.js → workspace-nfj32nd6.js} +6 -6
  196. package/dist/chunks/{tool-8sq1nazw.js → workspace-nqsd8asp.js} +43 -43
  197. package/dist/chunks/{tool-61m1wdtq.js → workspace-nvdeaskg.js} +15 -15
  198. package/dist/chunks/{tool-dpkg50ah.js → workspace-nxm207yx.js} +4 -4
  199. package/dist/chunks/{tool-c3227a7e.js → workspace-p1f7zze4.js} +17 -17
  200. package/dist/chunks/{tool-b8yxdv3q.js → workspace-p2wa0wpq.js} +22 -22
  201. package/dist/chunks/{tool-na90p5sz.js → workspace-pbp90nbc.js} +27 -27
  202. package/dist/chunks/{tool-tpypbtav.js → workspace-pghsmdqn.js} +4 -4
  203. package/dist/chunks/{tool-pjvnvgmy.js → workspace-pjvnvgmy.js} +1 -1
  204. package/dist/chunks/{tool-pknna89w.js → workspace-pknna89w.js} +1 -1
  205. package/dist/chunks/{tool-m9kfb99s.js → workspace-pqnryrb4.js} +9 -9
  206. package/dist/chunks/{tool-q0xm7vwc.js → workspace-q0xm7vwc.js} +2 -2
  207. package/dist/chunks/{tool-mrtp8nr7.js → workspace-q1v6wmhm.js} +10 -10
  208. package/dist/chunks/{tool-56avvebe.js → workspace-qagmmt9n.js} +33 -33
  209. package/dist/chunks/{tool-7vp466hh.js → workspace-qc4y4x1d.js} +18 -18
  210. package/dist/chunks/{tool-690bn0hf.js → workspace-qhjkx6qf.js} +21 -21
  211. package/dist/chunks/{tool-npt101jb.js → workspace-qj3j2ed4.js} +26 -26
  212. package/dist/chunks/{tool-qnc92qwc.js → workspace-qnc92qwc.js} +1 -1
  213. package/dist/chunks/{tool-qsdy395h.js → workspace-qsdy395h.js} +1 -1
  214. package/dist/chunks/{tool-sm965ndy.js → workspace-qvb3nf84.js} +8 -8
  215. package/dist/chunks/{tool-gkwkvfez.js → workspace-qx4ps3zc.js} +20 -20
  216. package/dist/chunks/{tool-mdmbfqgq.js → workspace-r01t9b5y.js} +8 -8
  217. package/dist/chunks/{tool-swk0q7s9.js → workspace-r3p59fwg.js} +4 -4
  218. package/dist/chunks/{tool-1acjjqhc.js → workspace-r8xr0va3.js} +4 -4
  219. package/dist/chunks/{tool-a2zv89qz.js → workspace-r9htttdr.js} +13 -13
  220. package/dist/chunks/{tool-see9wd13.js → workspace-rd8yy9nb.js} +66 -66
  221. package/dist/chunks/{tool-rdw6cm16.js → workspace-rdw6cm16.js} +1 -1
  222. package/dist/chunks/{tool-qdm0xvfe.js → workspace-rfmnp9jb.js} +4 -4
  223. package/dist/chunks/{tool-9t7a50xb.js → workspace-rhjbct0v.js} +4 -4
  224. package/dist/chunks/{tool-nesyhtff.js → workspace-rksdhb0n.js} +18 -18
  225. package/dist/chunks/{tool-semz41dm.js → workspace-rrn10n85.js} +8 -8
  226. package/dist/chunks/{tool-axe3mf62.js → workspace-rrt0a0ha.js} +3 -3
  227. package/dist/chunks/{tool-at1kfnmk.js → workspace-rvf0m9x6.js} +8 -8
  228. package/dist/chunks/{tool-dbqekdzp.js → workspace-s6rbynpa.js} +5 -5
  229. package/dist/chunks/{tool-y6wve3t3.js → workspace-s76r9yk2.js} +13 -13
  230. package/dist/chunks/{tool-gfygj460.js → workspace-sb1pzkvh.js} +16 -16
  231. package/dist/chunks/{tool-ct5kn7sm.js → workspace-se3n8wcd.js} +18 -18
  232. package/dist/chunks/{tool-g0vvyb83.js → workspace-sfvft427.js} +11 -11
  233. package/dist/chunks/{tool-bvjdq5yq.js → workspace-sgcq822w.js} +5 -5
  234. package/dist/chunks/{tool-fgvy1g99.js → workspace-smq3dd2v.js} +31 -31
  235. package/dist/chunks/{tool-wdeky1ys.js → workspace-t13mbkgb.js} +22 -22
  236. package/dist/chunks/{tool-h6tdr0wz.js → workspace-t1fjxj08.js} +13 -13
  237. package/dist/chunks/{tool-8rqycdgd.js → workspace-t2fc4mz5.js} +7 -7
  238. package/dist/chunks/{tool-wkqs3fc0.js → workspace-t3039at6.js} +26 -26
  239. package/dist/chunks/{tool-tazgh4e4.js → workspace-tazgh4e4.js} +1 -1
  240. package/dist/chunks/{tool-tcezcvh9.js → workspace-tcezcvh9.js} +1 -1
  241. package/dist/chunks/{tool-hv8s3tg2.js → workspace-tdj9jt6q.js} +11 -11
  242. package/dist/chunks/{tool-tdstcens.js → workspace-tdstcens.js} +1 -1
  243. package/dist/chunks/{tool-pzcaekwn.js → workspace-tdx4y9zn.js} +11 -11
  244. package/dist/chunks/{tool-0y2egbcr.js → workspace-tqrjxmaf.js} +8 -8
  245. package/dist/chunks/{tool-gxds6sjc.js → workspace-ty9zft9p.js} +15 -15
  246. package/dist/chunks/{tool-xecxzrdp.js → workspace-v0es1rhs.js} +2 -2
  247. package/dist/chunks/{tool-3936tkf8.js → workspace-v2fwckm2.js} +13 -13
  248. package/dist/chunks/{tool-apme4279.js → workspace-v9t2f4tw.js} +22 -22
  249. package/dist/chunks/{tool-ck2jvgzg.js → workspace-vaxgn10g.js} +25 -25
  250. package/dist/chunks/{tool-08ed4zmw.js → workspace-vbrdpthe.js} +6 -6
  251. package/dist/chunks/{tool-veqvce7d.js → workspace-veqvce7d.js} +1 -1
  252. package/dist/chunks/{tool-g6tpgah0.js → workspace-vgfxpara.js} +81 -81
  253. package/dist/chunks/{tool-kc6hkr7d.js → workspace-vhvtqta5.js} +6 -6
  254. package/dist/chunks/{tool-a1jynv3g.js → workspace-vjthrvv1.js} +12 -12
  255. package/dist/chunks/{tool-5d17xbav.js → workspace-vrpz8t5t.js} +5 -5
  256. package/dist/chunks/{tool-vzs5sf6e.js → workspace-vzs5sf6e.js} +1 -1
  257. package/dist/chunks/{tool-g5w8qwbj.js → workspace-w19d8598.js} +7 -7
  258. package/dist/chunks/{tool-g24rjnnt.js → workspace-w39jehkq.js} +5 -5
  259. package/dist/chunks/{tool-w3wsvvr9.js → workspace-w3wsvvr9.js} +1 -1
  260. package/dist/chunks/{tool-vcccfxhw.js → workspace-w8jg2tm8.js} +34 -34
  261. package/dist/chunks/{tool-wd87259q.js → workspace-wd87259q.js} +1 -1
  262. package/dist/chunks/{tool-jy0x8hkf.js → workspace-wqzz8241.js} +8 -8
  263. package/dist/chunks/{tool-hqwyy3bj.js → workspace-x07w92bc.js} +3 -3
  264. package/dist/chunks/{tool-125pv97z.js → workspace-x2bhny64.js} +7 -7
  265. package/dist/chunks/{tool-a3c7ahw6.js → workspace-x3gqap9d.js} +4 -4
  266. package/dist/chunks/{tool-addxnjmp.js → workspace-x661k3y3.js} +4 -4
  267. package/dist/chunks/{tool-entbm7rc.js → workspace-xa1y625z.js} +20 -20
  268. package/dist/chunks/{tool-a2gqrh8v.js → workspace-xcjenepd.js} +31 -31
  269. package/dist/chunks/{tool-cy8n646y.js → workspace-xh51jhwy.js} +26 -26
  270. package/dist/chunks/{tool-xkntkrq7.js → workspace-xkntkrq7.js} +2 -2
  271. package/dist/chunks/{tool-xyafkbt0.js → workspace-xyafkbt0.js} +3 -3
  272. package/dist/chunks/{tool-y1fvbwt7.js → workspace-y1fvbwt7.js} +1 -1
  273. package/dist/chunks/{tool-e4q1gg2w.js → workspace-y2bx8ks4.js} +16 -16
  274. package/dist/chunks/{tool-m8tjqkzb.js → workspace-y2tx55zg.js} +5 -5
  275. package/dist/chunks/{tool-ymj5q7t9.js → workspace-yvmkmgn5.js} +12 -12
  276. package/dist/chunks/{tool-dwktjsma.js → workspace-ywd8qmyg.js} +1 -1
  277. package/dist/chunks/{tool-z0bkrqjs.js → workspace-z0bkrqjs.js} +1 -1
  278. package/dist/chunks/{tool-csdqyeex.js → workspace-z0cec5bd.js} +14 -14
  279. package/dist/chunks/{tool-b1axcb5r.js → workspace-z28g1vpv.js} +31 -31
  280. package/dist/chunks/{tool-zr2ceqn5.js → workspace-zr2ceqn5.js} +1 -1
  281. package/dist/chunks/{tool-7rm45jzf.js → workspace-zrbek4sy.js} +4 -4
  282. package/dist/chunks/{tool-zxq2ej10.js → workspace-zxq2ej10.js} +1 -1
  283. package/dist/chunks/{tool-scgrse2b.js → workspace-zyk1yjk8.js} +5 -5
  284. package/dist/codemode/catalog.js +1 -1
  285. package/dist/codemode/instructions.js +9 -9
  286. package/dist/codemode/tool.js +3 -3
  287. package/dist/codemode/web.js +1 -1
  288. package/dist/command.js +83 -83
  289. package/dist/config/discovery.js +82 -82
  290. package/dist/config/markdown.js +1 -1
  291. package/dist/config/normalize.js +99 -99
  292. package/dist/config/plugin/agent.js +118 -118
  293. package/dist/config/plugin/command.js +207 -207
  294. package/dist/config/plugin/compaction.js +154 -154
  295. package/dist/config/plugin/compatibility.js +134 -134
  296. package/dist/config/plugin/entry-observer.js +1 -1
  297. package/dist/config/plugin/formatter.js +117 -117
  298. package/dist/config/plugin/image.js +116 -116
  299. package/dist/config/plugin/instruction.js +90 -90
  300. package/dist/config/plugin/location-watcher.js +118 -118
  301. package/dist/config/plugin/mcp.js +125 -125
  302. package/dist/config/plugin/policy.js +117 -117
  303. package/dist/config/plugin/provider.js +116 -116
  304. package/dist/config/plugin/reference.js +118 -118
  305. package/dist/config/plugin/shell.js +116 -116
  306. package/dist/config/plugin/skill-file.js +102 -102
  307. package/dist/config/plugin/skill.js +137 -137
  308. package/dist/config/plugin/snapshot.js +116 -116
  309. package/dist/config/plugin/source.js +119 -119
  310. package/dist/config/plugin/tool-output.js +117 -117
  311. package/dist/config/plugin/websearch.js +115 -115
  312. package/dist/config/plugin/worktree.js +118 -118
  313. package/dist/config/variable.js +3 -3
  314. package/dist/config/watch.js +1 -1
  315. package/dist/config.js +117 -117
  316. package/dist/credential/sql.js +2 -2
  317. package/dist/credential.js +77 -77
  318. package/dist/database/database.js +66 -66
  319. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  320. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  321. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  322. package/dist/database/drizzle/index.js +15 -15
  323. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  324. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  326. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  327. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  328. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  329. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  333. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  334. package/dist/database/drizzle.js +16 -16
  335. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  336. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  337. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  338. package/dist/database/migration/20260225215848_workspace.js +1 -1
  339. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  340. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  341. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  342. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  343. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  344. package/dist/database/migration/20260323234822_events.js +1 -1
  345. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  346. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  347. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  348. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  349. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  350. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  351. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  352. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  353. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  354. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  355. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  356. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  357. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  358. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  359. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  360. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  361. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  362. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  363. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  364. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  365. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  366. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  367. package/dist/database/migration/20260611035744_credential.js +1 -1
  368. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  369. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  370. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  371. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  372. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  373. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  374. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  375. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  376. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  377. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  378. package/dist/database/migration/20260812213948_worktree.js +1 -1
  379. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  380. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  381. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  382. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  383. package/dist/database/migration.gen.js +49 -49
  384. package/dist/database/migration.js +51 -51
  385. package/dist/database/path.js +2 -2
  386. package/dist/database/schema.gen.js +1 -1
  387. package/dist/database/schema.sql.js +1 -1
  388. package/dist/database/sqlite.bun.js +1 -1
  389. package/dist/database/sqlite.js +1 -1
  390. package/dist/database/sqlite.node.js +1 -1
  391. package/dist/database/sqlite.workerd.js +1 -1
  392. package/dist/database/v1-migration.bun.js +76 -76
  393. package/dist/database/v1-migration.js +1 -1
  394. package/dist/effect/app-node-builder.js +363 -363
  395. package/dist/effect/app-node-platform.js +2 -2
  396. package/dist/effect/keyed-mutex.js +3 -3
  397. package/dist/effect/websocket-constructor.js +1 -1
  398. package/dist/environment/driver.js +1 -1
  399. package/dist/environment/environment.js +93 -93
  400. package/dist/environment/exec-defaults.js +2 -2
  401. package/dist/environment/files.js +1 -1
  402. package/dist/environment/index.js +95 -95
  403. package/dist/environment/local.js +2 -2
  404. package/dist/environment/memory.js +2 -2
  405. package/dist/environment/unavailable.js +1 -1
  406. package/dist/event/sql.js +1 -1
  407. package/dist/event-logger.js +70 -70
  408. package/dist/file-access.js +104 -104
  409. package/dist/file-mutation.js +94 -94
  410. package/dist/file-retention.js +1 -1
  411. package/dist/filesystem/fff.bun.js +2 -2
  412. package/dist/filesystem/fff.js +1 -1
  413. package/dist/filesystem/fff.node.js +2 -2
  414. package/dist/filesystem/fff.workerd.js +2 -2
  415. package/dist/filesystem/location-watcher-policy.js +6 -6
  416. package/dist/filesystem/location-watcher.js +220 -220
  417. package/dist/filesystem/protected.js +1 -1
  418. package/dist/filesystem/search.js +93 -93
  419. package/dist/filesystem/watcher-binding.js +1 -1
  420. package/dist/filesystem/watcher.js +13 -13
  421. package/dist/filesystem.js +94 -94
  422. package/dist/form.js +84 -84
  423. package/dist/formatter/builtins.js +4 -4
  424. package/dist/formatter.js +87 -87
  425. package/dist/generate.js +99 -99
  426. package/dist/git.js +6 -6
  427. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  428. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  429. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  430. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  431. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  432. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  433. package/dist/github-copilot/copilot-provider.js +17 -17
  434. package/dist/github-copilot/models.js +91 -91
  435. package/dist/github-copilot/openai-compatible-error.js +1 -1
  436. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  437. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  438. package/dist/github-copilot/responses/openai-error.js +1 -1
  439. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  440. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  441. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  442. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  443. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  444. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  445. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  446. package/dist/image/photon.js +2 -2
  447. package/dist/image.js +6 -6
  448. package/dist/instance/service.js +5 -5
  449. package/dist/instance.js +354 -354
  450. package/dist/instruction-discovery.js +77 -77
  451. package/dist/instructions/builtins.js +83 -83
  452. package/dist/instructions/index.js +3 -3
  453. package/dist/integration/connection.js +3 -3
  454. package/dist/integration.js +87 -87
  455. package/dist/job.js +78 -78
  456. package/dist/kv/sql.js +2 -2
  457. package/dist/kv.js +73 -73
  458. package/dist/location-activity.js +131 -131
  459. package/dist/location-lifecycle.js +107 -107
  460. package/dist/location-service-map.js +86 -86
  461. package/dist/location-services.js +351 -351
  462. package/dist/location.js +81 -81
  463. package/dist/managed-policy.js +5 -5
  464. package/dist/mcp/client.js +91 -91
  465. package/dist/mcp/index.js +103 -103
  466. package/dist/mcp/instructions.js +125 -125
  467. package/dist/mcp/oauth.js +78 -78
  468. package/dist/mcp/stdio.js +90 -90
  469. package/dist/mime.js +1 -1
  470. package/dist/modal/models.js +91 -91
  471. package/dist/model-resolver.js +96 -96
  472. package/dist/model.js +100 -100
  473. package/dist/models-dev.js +103 -103
  474. package/dist/oauth/page.js +1 -1
  475. package/dist/permission/saved.js +80 -80
  476. package/dist/permission/sql.js +5 -5
  477. package/dist/permission.js +109 -109
  478. package/dist/persistent-pty/binary.bun.js +1 -1
  479. package/dist/persistent-pty/daemon.js +1 -1
  480. package/dist/persistent-pty/index.js +86 -86
  481. package/dist/persistent-pty/pty-binding.js +1 -1
  482. package/dist/persistent-pty.js +75 -75
  483. package/dist/plugin/agent.js +104 -104
  484. package/dist/plugin/command.js +102 -102
  485. package/dist/plugin/hooks.js +5 -5
  486. package/dist/plugin/host.js +211 -211
  487. package/dist/plugin/identity.js +3 -3
  488. package/dist/plugin/instance.js +5 -5
  489. package/dist/plugin/internal.js +326 -326
  490. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  491. package/dist/plugin/models-dev.js +96 -96
  492. package/dist/plugin/module.js +7 -7
  493. package/dist/plugin/optimize.js +4 -4
  494. package/dist/plugin/plan.js +102 -102
  495. package/dist/plugin/promise.js +1 -1
  496. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  497. package/dist/plugin/provider/azure.js +117 -117
  498. package/dist/plugin/provider/cerebras.js +1 -1
  499. package/dist/plugin/provider/chatgpt.js +93 -93
  500. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  501. package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
  502. package/dist/plugin/provider/cohere.js +2 -2
  503. package/dist/plugin/provider/configured.js +112 -112
  504. package/dist/plugin/provider/digitalocean.js +93 -93
  505. package/dist/plugin/provider/dynamic.js +2 -2
  506. package/dist/plugin/provider/factory.js +1 -1
  507. package/dist/plugin/provider/github-copilot.js +95 -95
  508. package/dist/plugin/provider/gitlab.js +93 -93
  509. package/dist/plugin/provider/google-vertex.js +90 -90
  510. package/dist/plugin/provider/kilo.js +1 -1
  511. package/dist/plugin/provider/llmgateway.js +78 -78
  512. package/dist/plugin/provider/lmstudio.js +116 -116
  513. package/dist/plugin/provider/local.js +113 -113
  514. package/dist/plugin/provider/modal.js +92 -92
  515. package/dist/plugin/provider/nvidia.js +1 -1
  516. package/dist/plugin/provider/ollama.js +116 -116
  517. package/dist/plugin/provider/openai.js +95 -95
  518. package/dist/plugin/provider/opencode.js +96 -96
  519. package/dist/plugin/provider/openrouter.js +91 -91
  520. package/dist/plugin/provider/perplexity.js +2 -2
  521. package/dist/plugin/provider/poe.js +79 -79
  522. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  523. package/dist/plugin/provider/sap-ai-core.js +91 -91
  524. package/dist/plugin/provider/sdk-factory.js +1 -1
  525. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  526. package/dist/plugin/provider/vercel.js +90 -90
  527. package/dist/plugin/provider/vllm.js +116 -116
  528. package/dist/plugin/provider/xai.js +91 -91
  529. package/dist/plugin/provider/zenmux.js +1 -1
  530. package/dist/plugin/provider.js +155 -155
  531. package/dist/plugin/sdk.js +76 -76
  532. package/dist/plugin/service.js +3 -3
  533. package/dist/plugin/skill.js +134 -134
  534. package/dist/plugin/source-directory.js +1 -1
  535. package/dist/plugin/supervisor.js +345 -345
  536. package/dist/plugin/tool-input-repair.js +4 -4
  537. package/dist/plugin/update.js +6 -6
  538. package/dist/plugin/vcs/git.js +86 -86
  539. package/dist/plugin/vcs/hg.js +86 -86
  540. package/dist/plugin/verbosity.js +93 -93
  541. package/dist/plugin/warming.js +114 -114
  542. package/dist/plugin/websearch/exa.js +7 -7
  543. package/dist/plugin/websearch/firecrawl.js +8 -8
  544. package/dist/plugin/websearch/index.js +9 -9
  545. package/dist/plugin/websearch/mcp.js +6 -6
  546. package/dist/plugin/websearch/parallel.js +8 -8
  547. package/dist/plugin/websearch/tavily.js +6 -6
  548. package/dist/plugin/websearch/tinyfish.js +6 -6
  549. package/dist/plugin.js +220 -220
  550. package/dist/project/schema.js +2 -2
  551. package/dist/project/sql.js +4 -4
  552. package/dist/project.js +80 -80
  553. package/dist/provider.js +99 -99
  554. package/dist/pty/protocol.js +1 -1
  555. package/dist/pty/ticket.js +1 -1
  556. package/dist/pty.js +99 -99
  557. package/dist/reference/instructions.js +87 -87
  558. package/dist/reference.js +91 -91
  559. package/dist/repository-cache.js +81 -81
  560. package/dist/repository.js +1 -1
  561. package/dist/ripgrep/binary.js +2 -2
  562. package/dist/ripgrep.js +95 -95
  563. package/dist/rpc.js +86 -86
  564. package/dist/schema.js +1 -1
  565. package/dist/session/affinity.js +1 -1
  566. package/dist/session/command.js +74 -74
  567. package/dist/session/compaction.js +135 -135
  568. package/dist/session/context.js +149 -149
  569. package/dist/session/diff.js +88 -88
  570. package/dist/session/environment.js +5 -5
  571. package/dist/session/error.js +5 -5
  572. package/dist/session/event.js +1 -1
  573. package/dist/session/execution/restart.js +214 -214
  574. package/dist/session/execution.js +127 -127
  575. package/dist/session/generate.js +152 -152
  576. package/dist/session/history.js +13 -13
  577. package/dist/session/inbox.js +88 -88
  578. package/dist/session/info.js +3 -3
  579. package/dist/session/instruction-entry.js +77 -77
  580. package/dist/session/instruction-state.js +8 -8
  581. package/dist/session/instructions.js +97 -97
  582. package/dist/session/message-updater.js +2 -2
  583. package/dist/session/message.js +1 -1
  584. package/dist/session/model-request.js +116 -116
  585. package/dist/session/model-transport.js +5 -5
  586. package/dist/session/move.js +129 -129
  587. package/dist/session/projector.js +86 -86
  588. package/dist/session/prompt.js +105 -105
  589. package/dist/session/provider-context.js +3 -3
  590. package/dist/session/revert.js +90 -90
  591. package/dist/session/run-coordinator.js +3 -3
  592. package/dist/session/runner/index.js +3 -3
  593. package/dist/session/runner/llm.js +224 -224
  594. package/dist/session/runner/max-steps.js +1 -1
  595. package/dist/session/runner/model.js +98 -98
  596. package/dist/session/runner/publish-llm-event.js +113 -113
  597. package/dist/session/runner/retry.js +4 -4
  598. package/dist/session/runner/step.js +125 -125
  599. package/dist/session/runner/to-llm-message.js +2 -2
  600. package/dist/session/schema.js +5 -5
  601. package/dist/session/session.js +162 -162
  602. package/dist/session/shell.js +130 -130
  603. package/dist/session/skill.js +103 -103
  604. package/dist/session/sql.js +5 -5
  605. package/dist/session/stats.js +73 -73
  606. package/dist/session/store.js +85 -85
  607. package/dist/session/subagent-completion.js +1 -1
  608. package/dist/session/subagent-job.js +203 -203
  609. package/dist/session/system-prompt.js +5 -5
  610. package/dist/session/title.js +157 -157
  611. package/dist/session/to-session-error.js +111 -111
  612. package/dist/session/transfer.js +207 -207
  613. package/dist/session/usage.js +1 -1
  614. package/dist/session.js +211 -211
  615. package/dist/shell/parse.js +6 -6
  616. package/dist/shell/result.js +1 -1
  617. package/dist/shell/scan.js +1 -1
  618. package/dist/shell/select.js +7 -7
  619. package/dist/shell.js +132 -132
  620. package/dist/skill/discovery.js +6 -6
  621. package/dist/skill/instructions.js +107 -107
  622. package/dist/skill.js +114 -114
  623. package/dist/snapshot.js +93 -93
  624. package/dist/state.js +1 -1
  625. package/dist/tool/html-markdown.js +1 -1
  626. package/dist/tool/http-body.js +1 -1
  627. package/dist/tool/mcp.js +122 -122
  628. package/dist/tool/plugin/edit.js +120 -120
  629. package/dist/tool/plugin/file-diff.js +1 -1
  630. package/dist/tool/plugin/glob.js +124 -124
  631. package/dist/tool/plugin/grep.js +122 -122
  632. package/dist/tool/plugin/mcp-resource.js +117 -117
  633. package/dist/tool/plugin/opencode.js +3 -3
  634. package/dist/tool/plugin/patch.js +122 -122
  635. package/dist/tool/plugin/question.js +101 -101
  636. package/dist/tool/plugin/read.js +125 -125
  637. package/dist/tool/plugin/shell.js +208 -208
  638. package/dist/tool/plugin/skill.js +111 -111
  639. package/dist/tool/plugin/subagent.js +212 -212
  640. package/dist/tool/plugin/webfetch.js +112 -112
  641. package/dist/tool/plugin/websearch.js +112 -112
  642. package/dist/tool/plugin/write.js +122 -122
  643. package/dist/tool/read-filesystem.js +100 -100
  644. package/dist/tool/runtime.js +1 -1
  645. package/dist/tool-output.js +7 -7
  646. package/dist/tool.js +12 -12
  647. package/dist/util/error-summary.js +1 -1
  648. package/dist/util/error.js +1 -1
  649. package/dist/util/git-executable.js +2 -2
  650. package/dist/util/iife.js +1 -1
  651. package/dist/util/lazy.js +1 -1
  652. package/dist/util/slug.js +1 -1
  653. package/dist/util/token.js +1 -1
  654. package/dist/util/which.js +1 -1
  655. package/dist/util/wildcard.js +1 -1
  656. package/dist/v1/config/agent.js +5 -5
  657. package/dist/v1/config/command.js +5 -5
  658. package/dist/v1/config/error.js +2 -2
  659. package/dist/v1/config/mcp.js +4 -4
  660. package/dist/v1/config/migrate.js +92 -92
  661. package/dist/v1/config/permission.js +3 -3
  662. package/dist/v1/config/plugin.js +3 -3
  663. package/dist/v1/config/provider-options.js +1 -1
  664. package/dist/v1/config/provider.js +4 -4
  665. package/dist/variant.js +91 -91
  666. package/dist/vcs/patch.js +1 -1
  667. package/dist/vcs.js +89 -89
  668. package/dist/websearch.js +82 -82
  669. package/dist/wellknown/plugin.js +76 -76
  670. package/dist/wellknown.js +79 -79
  671. package/dist/workspace/driver.js +7 -7
  672. package/dist/workspace/sql.js +1 -1
  673. package/dist/workspace.js +80 -80
  674. package/dist/worktree/directory.js +2 -2
  675. package/dist/worktree/git.js +8 -8
  676. package/dist/worktree/sql.js +5 -5
  677. package/dist/worktree/strategies.js +89 -89
  678. package/dist/worktree.js +96 -96
  679. package/package.json +8 -8
  680. package/dist/chunks/tool-39v3zkdd.js +0 -26
  681. package/dist/chunks/tool-gdn38z0d.js +0 -253
  682. package/dist/chunks/tool-q509s3k3.js +0 -18
  683. /package/dist/chunks/{tool-0qkdqm5v.js → workspace-0qkdqm5v.js} +0 -0
  684. /package/dist/chunks/{tool-0zkw76rk.js → workspace-0zkw76rk.js} +0 -0
  685. /package/dist/chunks/{tool-17cy0kzp.js → workspace-17cy0kzp.js} +0 -0
  686. /package/dist/chunks/{tool-1cnp2v09.js → workspace-1cnp2v09.js} +0 -0
  687. /package/dist/chunks/{tool-1kg9ymc8.js → workspace-1kg9ymc8.js} +0 -0
  688. /package/dist/chunks/{tool-24dcb14g.js → workspace-24dcb14g.js} +0 -0
  689. /package/dist/chunks/{tool-2710q6r3.js → workspace-2710q6r3.js} +0 -0
  690. /package/dist/chunks/{tool-2axfhc9x.js → workspace-2axfhc9x.js} +0 -0
  691. /package/dist/chunks/{tool-2c3vjs8z.js → workspace-2c3vjs8z.js} +0 -0
  692. /package/dist/chunks/{tool-34c7v6d4.js → workspace-34c7v6d4.js} +0 -0
  693. /package/dist/chunks/{tool-359p4xyc.js → workspace-359p4xyc.js} +0 -0
  694. /package/dist/chunks/{tool-3asan66x.js → workspace-3asan66x.js} +0 -0
  695. /package/dist/chunks/{tool-3t0ybcrp.js → workspace-3t0ybcrp.js} +0 -0
  696. /package/dist/chunks/{tool-3v8g72cx.js → workspace-3v8g72cx.js} +0 -0
  697. /package/dist/chunks/{tool-3w5fmr99.js → workspace-3w5fmr99.js} +0 -0
  698. /package/dist/chunks/{tool-3wcehsnq.js → workspace-3wcehsnq.js} +0 -0
  699. /package/dist/chunks/{tool-43n2bw4t.js → workspace-43n2bw4t.js} +0 -0
  700. /package/dist/chunks/{tool-4knz6hnm.js → workspace-4knz6hnm.js} +0 -0
  701. /package/dist/chunks/{tool-4vcrnpx2.js → workspace-4vcrnpx2.js} +0 -0
  702. /package/dist/chunks/{tool-4y7fprxs.js → workspace-4y7fprxs.js} +0 -0
  703. /package/dist/chunks/{tool-53557ph1.js → workspace-53557ph1.js} +0 -0
  704. /package/dist/chunks/{tool-550bvhaj.js → workspace-550bvhaj.js} +0 -0
  705. /package/dist/chunks/{tool-5qd3pb7m.js → workspace-5qd3pb7m.js} +0 -0
  706. /package/dist/chunks/{tool-6prwharc.js → workspace-6prwharc.js} +0 -0
  707. /package/dist/chunks/{tool-6q2bdcd1.js → workspace-6q2bdcd1.js} +0 -0
  708. /package/dist/chunks/{tool-7akdwqpd.js → workspace-7akdwqpd.js} +0 -0
  709. /package/dist/chunks/{tool-7m9af43g.js → workspace-7m9af43g.js} +0 -0
  710. /package/dist/chunks/{tool-822emrt2.js → workspace-822emrt2.js} +0 -0
  711. /package/dist/chunks/{tool-88xbtdfr.js → workspace-88xbtdfr.js} +0 -0
  712. /package/dist/chunks/{tool-8n3pysct.js → workspace-8n3pysct.js} +0 -0
  713. /package/dist/chunks/{tool-8wj87zfr.js → workspace-8wj87zfr.js} +0 -0
  714. /package/dist/chunks/{tool-9a4afbnw.js → workspace-9a4afbnw.js} +0 -0
  715. /package/dist/chunks/{tool-9rqn6x4v.js → workspace-9rqn6x4v.js} +0 -0
  716. /package/dist/chunks/{tool-a6k6eb26.js → workspace-a6k6eb26.js} +0 -0
  717. /package/dist/chunks/{tool-af5trqkr.js → workspace-af5trqkr.js} +0 -0
  718. /package/dist/chunks/{tool-afrmfg78.js → workspace-afrmfg78.js} +0 -0
  719. /package/dist/chunks/{tool-aqzs7mqg.js → workspace-aqzs7mqg.js} +0 -0
  720. /package/dist/chunks/{tool-atq7p7m5.js → workspace-atq7p7m5.js} +0 -0
  721. /package/dist/chunks/{tool-bkyjaxrp.js → workspace-bkyjaxrp.js} +0 -0
  722. /package/dist/chunks/{tool-bmr6ed5q.js → workspace-bmr6ed5q.js} +0 -0
  723. /package/dist/chunks/{tool-cf4snx6d.js → workspace-cf4snx6d.js} +0 -0
  724. /package/dist/chunks/{tool-cvy3z8tj.js → workspace-cvy3z8tj.js} +0 -0
  725. /package/dist/chunks/{tool-d9fn303g.js → workspace-d9fn303g.js} +0 -0
  726. /package/dist/chunks/{tool-d9jj8t3e.js → workspace-d9jj8t3e.js} +0 -0
  727. /package/dist/chunks/{tool-dajrwvna.js → workspace-dajrwvna.js} +0 -0
  728. /package/dist/chunks/{tool-dap0rakb.js → workspace-dap0rakb.js} +0 -0
  729. /package/dist/chunks/{tool-df08tz66.js → workspace-df08tz66.js} +0 -0
  730. /package/dist/chunks/{tool-dy18nga0.js → workspace-dy18nga0.js} +0 -0
  731. /package/dist/chunks/{tool-e5kj55wp.js → workspace-e5kj55wp.js} +0 -0
  732. /package/dist/chunks/{tool-e73j6tqm.js → workspace-e73j6tqm.js} +0 -0
  733. /package/dist/chunks/{tool-ec1grn59.js → workspace-ec1grn59.js} +0 -0
  734. /package/dist/chunks/{tool-eh3zwz77.js → workspace-eh3zwz77.js} +0 -0
  735. /package/dist/chunks/{tool-emrn6kk6.js → workspace-emrn6kk6.js} +0 -0
  736. /package/dist/chunks/{tool-f0mxakyp.js → workspace-f0mxakyp.js} +0 -0
  737. /package/dist/chunks/{tool-f6n9ztr4.js → workspace-f6n9ztr4.js} +0 -0
  738. /package/dist/chunks/{tool-faypxj3z.js → workspace-faypxj3z.js} +0 -0
  739. /package/dist/chunks/{tool-fd410y7t.js → workspace-fd410y7t.js} +0 -0
  740. /package/dist/chunks/{tool-fxgpk5d8.js → workspace-fxgpk5d8.js} +0 -0
  741. /package/dist/chunks/{tool-g4wezp1m.js → workspace-g4wezp1m.js} +0 -0
  742. /package/dist/chunks/{tool-g86h250q.js → workspace-g86h250q.js} +0 -0
  743. /package/dist/chunks/{tool-gebd4c9n.js → workspace-gebd4c9n.js} +0 -0
  744. /package/dist/chunks/{tool-gftt206x.js → workspace-gftt206x.js} +0 -0
  745. /package/dist/chunks/{tool-hk9envan.js → workspace-hk9envan.js} +0 -0
  746. /package/dist/chunks/{tool-j2ntwpah.js → workspace-j2ntwpah.js} +0 -0
  747. /package/dist/chunks/{tool-j5zkgpj8.js → workspace-j5zkgpj8.js} +0 -0
  748. /package/dist/chunks/{tool-jjkms2e6.js → workspace-jjkms2e6.js} +0 -0
  749. /package/dist/chunks/{tool-jr7sbwjy.js → workspace-jr7sbwjy.js} +0 -0
  750. /package/dist/chunks/{tool-jwfs4k6c.js → workspace-jwfs4k6c.js} +0 -0
  751. /package/dist/chunks/{tool-jzg6c2d5.js → workspace-jzg6c2d5.js} +0 -0
  752. /package/dist/chunks/{tool-mp448xyj.js → workspace-mp448xyj.js} +0 -0
  753. /package/dist/chunks/{tool-msx8hqn2.js → workspace-msx8hqn2.js} +0 -0
  754. /package/dist/chunks/{tool-n05xt0ee.js → workspace-n05xt0ee.js} +0 -0
  755. /package/dist/chunks/{tool-n3j8tn72.js → workspace-n3j8tn72.js} +0 -0
  756. /package/dist/chunks/{tool-njntx4h6.js → workspace-njntx4h6.js} +0 -0
  757. /package/dist/chunks/{tool-q3sfg36h.js → workspace-q3sfg36h.js} +0 -0
  758. /package/dist/chunks/{tool-q74kybfr.js → workspace-q74kybfr.js} +0 -0
  759. /package/dist/chunks/{tool-qaymkmh1.js → workspace-qaymkmh1.js} +0 -0
  760. /package/dist/chunks/{tool-qb87gjwd.js → workspace-qb87gjwd.js} +0 -0
  761. /package/dist/chunks/{tool-qfa1cgps.js → workspace-qfa1cgps.js} +0 -0
  762. /package/dist/chunks/{tool-qg3g05ea.js → workspace-qg3g05ea.js} +0 -0
  763. /package/dist/chunks/{tool-qrg20bc0.js → workspace-qrg20bc0.js} +0 -0
  764. /package/dist/chunks/{tool-rcb2kzg1.js → workspace-rcb2kzg1.js} +0 -0
  765. /package/dist/chunks/{tool-sdp7kfr6.js → workspace-sdp7kfr6.js} +0 -0
  766. /package/dist/chunks/{tool-ssg3fenm.js → workspace-ssg3fenm.js} +0 -0
  767. /package/dist/chunks/{tool-w803qqfp.js → workspace-w803qqfp.js} +0 -0
  768. /package/dist/chunks/{tool-wc3fc9cn.js → workspace-wc3fc9cn.js} +0 -0
  769. /package/dist/chunks/{tool-wer8tq1h.js → workspace-wer8tq1h.js} +0 -0
  770. /package/dist/chunks/{tool-wtztk69x.js → workspace-wtztk69x.js} +0 -0
  771. /package/dist/chunks/{tool-x0ckcb58.js → workspace-x0ckcb58.js} +0 -0
  772. /package/dist/chunks/{tool-x61499pn.js → workspace-x61499pn.js} +0 -0
  773. /package/dist/chunks/{tool-y44na4kk.js → workspace-y44na4kk.js} +0 -0
  774. /package/dist/chunks/{tool-y8cydn3q.js → workspace-y8cydn3q.js} +0 -0
  775. /package/dist/chunks/{tool-y8f7s663.js → workspace-y8f7s663.js} +0 -0
  776. /package/dist/chunks/{tool-ygaqb7jw.js → workspace-ygaqb7jw.js} +0 -0
  777. /package/dist/chunks/{tool-ym463w8f.js → workspace-ym463w8f.js} +0 -0
  778. /package/dist/chunks/{tool-z5v4ffb3.js → workspace-z5v4ffb3.js} +0 -0
  779. /package/dist/chunks/{tool-z9919s4g.js → workspace-z9919s4g.js} +0 -0
@@ -1,29 +1,29 @@
1
1
  import {
2
- Service67
3
- } from "./tool-zab19jja.js";
2
+ Service76
3
+ } from "./workspace-g762atc6.js";
4
4
  import {
5
- Service45
6
- } from "./tool-mx9vqzsb.js";
5
+ Service58
6
+ } from "./workspace-07w59vex.js";
7
7
  import {
8
8
  detect2
9
- } from "./tool-3smtnn6g.js";
9
+ } from "./workspace-3smtnn6g.js";
10
10
  import {
11
11
  awaitActivation2
12
- } from "./tool-q509s3k3.js";
12
+ } from "./workspace-619r8v3y.js";
13
13
  import {
14
- Service74
15
- } from "./tool-at1kfnmk.js";
14
+ Service64
15
+ } from "./workspace-rvf0m9x6.js";
16
16
  import {
17
17
  AttachmentError2,
18
18
  SkillNotFoundError2
19
- } from "./tool-pjsqfx9m.js";
19
+ } from "./workspace-easapccs.js";
20
20
  import {
21
21
  prepare3,
22
- Service69
23
- } from "./tool-npt101jb.js";
22
+ Service39
23
+ } from "./workspace-qj3j2ed4.js";
24
24
  import {
25
25
  __export
26
- } from "./tool-9rqn6x4v.js";
26
+ } from "./workspace-9rqn6x4v.js";
27
27
 
28
28
  // src/session/prompt.ts
29
29
  var exports_prompt = {};
@@ -39,10 +39,10 @@ import path from "path";
39
39
  import { fileURLToPath } from "url";
40
40
  var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
41
41
  const fs = yield* FSUtil.Service;
42
- const instances = yield* Service45;
42
+ const instances = yield* Service58;
43
43
  return yield* Effect.gen(function* () {
44
44
  yield* awaitActivation2;
45
- const hooks = yield* Service74;
45
+ const hooks = yield* Service64;
46
46
  const event = yield* hooks.trigger("session", "prompt", {
47
47
  sessionID: request.session.id,
48
48
  messageID: request.messageID,
@@ -61,7 +61,7 @@ var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
61
61
  const selected = yield* Effect.gen(function* () {
62
62
  if (!requested?.length)
63
63
  return;
64
- const skillService = yield* Service69;
64
+ const skillService = yield* Service39;
65
65
  const prepared = new Map;
66
66
  return yield* Effect.forEach(requested, (attachment) => Effect.gen(function* () {
67
67
  const name = prepared.get(attachment.id);
@@ -126,7 +126,7 @@ var materializeAttachment = Effect.fn("SessionPrompt.materializeAttachment")(fun
126
126
  var normalizeImageAttachment = Effect.fn("SessionPrompt.normalizeImageAttachment")(function* (input, data, mime) {
127
127
  if (!mime.startsWith("image/"))
128
128
  return { data: Base64.make(data), mime };
129
- const image = yield* Service67;
129
+ const image = yield* Service76;
130
130
  const label = attachmentLabel(input);
131
131
  const content = { uri: label, content: data, encoding: "base64", mime };
132
132
  const normalized = yield* image.normalize(label, content).pipe(Effect.catchTag("Image.ResizerUnavailableError", () => Effect.succeed(content)), Effect.mapError((error) => new AttachmentError2({ uri: label, message: error.message })));
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  Key3,
3
3
  removed2,
4
- make22,
4
+ make20,
5
5
  diffByKey2
6
- } from "./tool-9t7a50xb.js";
6
+ } from "./workspace-rhjbct0v.js";
7
7
  import {
8
8
  Summary2,
9
9
  summarize2,
10
10
  namespaceLine2
11
- } from "./tool-3fc6dm20.js";
11
+ } from "./workspace-3fc6dm20.js";
12
12
  import {
13
13
  __export
14
- } from "./tool-9rqn6x4v.js";
14
+ } from "./workspace-9rqn6x4v.js";
15
15
 
16
16
  // src/codemode/instructions.ts
17
- var exports_instructions5 = {};
18
- __export(exports_instructions5, {
19
- CodeModeInstructions: () => exports_instructions5,
20
- make: () => make15,
21
- render: () => render2,
17
+ var exports_instructions4 = {};
18
+ __export(exports_instructions4, {
19
+ CodeModeInstructions: () => exports_instructions4,
20
+ make: () => make16,
21
+ render: () => render3,
22
22
  update: () => update3
23
23
  });
24
24
  import { searchSignature, toolExpression } from "@opencode/codemode";
@@ -32,7 +32,7 @@ ${hasMoreTools ? `The catalog is partial. Inside \`execute\`, use \`search(...)\
32
32
  - ${searchSignature}` : "The catalog is complete. Do not guess tool names."}
33
33
 
34
34
  ## Available tools`;
35
- function render2(catalog) {
35
+ function render3(catalog) {
36
36
  if (catalog.total === 0)
37
37
  return "No Code Mode tools are currently available. Later Code Mode catalog updates may add or remove tools. Do not call `execute` unless there is at least one available Code Mode tool.";
38
38
  const tools = catalog.namespaces.flatMap((namespace) => {
@@ -46,7 +46,7 @@ ${tools.join(`
46
46
  function update3(previous, current) {
47
47
  const replacement = `The Code Mode tool catalog has changed. This catalog supersedes the previous Code Mode tool catalog.
48
48
 
49
- ${render2(current)}`;
49
+ ${render3(current)}`;
50
50
  if (current.total === 0)
51
51
  return replacement;
52
52
  const previousComplete = previous.shown === previous.total;
@@ -111,18 +111,18 @@ ${render2(current)}`;
111
111
  }
112
112
  var key = Key3.make("core/codemode");
113
113
  var codec = Schema.toCodecJson(Summary2);
114
- var make15 = (inventory) => {
114
+ var make16 = (inventory) => {
115
115
  const catalog = inventory === undefined ? removed2 : summarize2(inventory);
116
- return make22({
116
+ return make20({
117
117
  key,
118
118
  codec,
119
119
  read: Effect.succeed(catalog),
120
120
  render: {
121
- initial: render2,
121
+ initial: render3,
122
122
  changed: update3,
123
123
  removed: () => "Code Mode tools are no longer available. Do not use any previously listed Code Mode tools."
124
124
  }
125
125
  });
126
126
  };
127
127
 
128
- export { render2, update3, make15, exports_instructions5 };
128
+ export { render3, update3, make16, exports_instructions4 };
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  PATCH_CONTEXT_LINES2
3
- } from "./tool-tazgh4e4.js";
3
+ } from "./workspace-tazgh4e4.js";
4
4
  import {
5
- ID7,
6
- Service68
7
- } from "./tool-wpgamtwv.js";
5
+ ID3,
6
+ Service38
7
+ } from "./workspace-ckn890ey.js";
8
8
  import {
9
9
  SessionSchema2
10
- } from "./tool-axe3mf62.js";
10
+ } from "./workspace-rrt0a0ha.js";
11
11
  import {
12
12
  MessageNotFoundError2
13
- } from "./tool-pjsqfx9m.js";
13
+ } from "./workspace-easapccs.js";
14
14
  import {
15
15
  SessionMessageTable2
16
- } from "./tool-kb9j3d72.js";
16
+ } from "./workspace-kb9j3d72.js";
17
17
  import {
18
18
  __export
19
- } from "./tool-9rqn6x4v.js";
19
+ } from "./workspace-9rqn6x4v.js";
20
20
 
21
21
  // src/session/diff.ts
22
22
  var exports_diff = {};
@@ -81,14 +81,14 @@ var turn2 = Effect.fn("SessionDiff.turn")(function* (db, locations, input) {
81
81
  const location = before ? decodeLocation(before) : after ? decodeLocation(after) : input.session.location;
82
82
  const recorded = steps.findLast((step) => step.end)?.end;
83
83
  return yield* Effect.gen(function* () {
84
- const snapshot = yield* Service68;
84
+ const snapshot = yield* Service38;
85
85
  const running = input.active && final.completed === null;
86
86
  const to = running ? (yield* snapshot.capture()) ?? recorded : recorded;
87
87
  if (!to)
88
88
  return [];
89
89
  return yield* snapshot.diff({
90
- from: ID7.make(from),
91
- to: ID7.make(to),
90
+ from: ID3.make(from),
91
+ to: ID3.make(to),
92
92
  context: input.context ?? PATCH_CONTEXT_LINES2
93
93
  });
94
94
  }).pipe(Effect.provide(locations.get(location)));
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  webSocketConstructor2
3
- } from "./tool-5t3nmthw.js";
3
+ } from "./workspace-5t3nmthw.js";
4
4
  import {
5
5
  __export
6
- } from "./tool-9rqn6x4v.js";
6
+ } from "./workspace-9rqn6x4v.js";
7
7
 
8
8
  // src/session/model-transport.ts
9
9
  var exports_model_transport = {};
@@ -12,7 +12,7 @@ __export(exports_model_transport, {
12
12
  SessionModelTransport: () => exports_model_transport,
13
13
  layer: () => layer13,
14
14
  makeLayer: () => makeLayer2,
15
- node: () => node37
15
+ node: () => node38
16
16
  });
17
17
  import {
18
18
  WebSocketTransport
@@ -372,6 +372,6 @@ var makeLayer2 = (connector) => Layer.effect(Service34, Effect.gen(function* ()
372
372
  var layer13 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
373
373
  open: (input) => WebSocketTransport.open(input).pipe(Effect.provideService(Socket.WebSocketConstructor, constructor))
374
374
  })));
375
- var node37 = makeGlobalNode({ service: Service34, layer: layer13, deps: [webSocketConstructor2] });
375
+ var node38 = makeGlobalNode({ service: Service34, layer: layer13, deps: [webSocketConstructor2] });
376
376
 
377
- export { Service34, makeLayer2, layer13, node37, exports_model_transport };
377
+ export { Service34, makeLayer2, layer13, node38, exports_model_transport };
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./tool-z5v4ffb3.js";
4
+ } from "./workspace-z5v4ffb3.js";
5
5
  import {
6
6
  makeUnsafe2
7
- } from "./tool-dpkg50ah.js";
7
+ } from "./workspace-nxm207yx.js";
8
8
  import {
9
9
  MAX_TOTAL_PATCH_BYTES2,
10
10
  emptyPatch2,
11
11
  chunksByFile2
12
- } from "./tool-tazgh4e4.js";
12
+ } from "./workspace-tazgh4e4.js";
13
13
  import {
14
14
  gitExecutable2
15
- } from "./tool-ef5x83kb.js";
15
+ } from "./workspace-ef5x83kb.js";
16
16
  import {
17
17
  __export
18
- } from "./tool-9rqn6x4v.js";
18
+ } from "./workspace-9rqn6x4v.js";
19
19
 
20
20
  // src/git.ts
21
21
  var exports_git3 = {};
@@ -1,9 +1,9 @@
1
1
  import {
2
- Service50
3
- } from "./tool-690bn0hf.js";
2
+ Service45
3
+ } from "./workspace-qhjkx6qf.js";
4
4
  import {
5
5
  __export
6
- } from "./tool-9rqn6x4v.js";
6
+ } from "./workspace-9rqn6x4v.js";
7
7
 
8
8
  // src/mcp/stdio.ts
9
9
  var exports_stdio = {};
@@ -21,7 +21,7 @@ var MAX_FRAME_BYTES = 16 * 1024 * 1024;
21
21
  var EXIT_WAIT = Duration.seconds(1);
22
22
  var STDERR_TAIL = 1000;
23
23
  var make2 = Effect.fnUntraced(function* (options) {
24
- const environment = yield* Service50;
24
+ const environment = yield* Service45;
25
25
  const scope = yield* Effect.scope;
26
26
  const outgoing = yield* Queue.bounded(OUTGOING_CAPACITY);
27
27
  const buffer = new ReadBuffer;
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./tool-z5v4ffb3.js";
3
+ } from "./workspace-z5v4ffb3.js";
4
4
  import {
5
5
  Service80
6
- } from "./tool-rxn8twjw.js";
6
+ } from "./workspace-2cabk1b6.js";
7
7
  import {
8
- Service16
9
- } from "./tool-j6rvrjb2.js";
8
+ Service17
9
+ } from "./workspace-4ctbs581.js";
10
10
  import {
11
- Service6
12
- } from "./tool-h65drem0.js";
11
+ Service5
12
+ } from "./workspace-16m64twp.js";
13
13
  import {
14
14
  NotFound2
15
- } from "./tool-2a5m3afh.js";
15
+ } from "./workspace-2a5m3afh.js";
16
16
  import {
17
17
  MEDIA_MIMES2,
18
18
  BinaryFileError2,
@@ -23,26 +23,26 @@ import {
23
23
  FileContent2,
24
24
  TextPage2,
25
25
  ListPage2,
26
- Service7
27
- } from "./tool-qt17f4h7.js";
26
+ Service6
27
+ } from "./workspace-71tv947p.js";
28
28
  import {
29
29
  __export
30
- } from "./tool-9rqn6x4v.js";
30
+ } from "./workspace-9rqn6x4v.js";
31
31
 
32
32
  // src/tool/plugin/read.ts
33
33
  var exports_read = {};
34
34
  __export(exports_read, {
35
- Input: () => Input8,
36
- Plugin: () => Plugin26,
35
+ Input: () => Input12,
36
+ Plugin: () => Plugin14,
37
37
  ReadTool: () => exports_read,
38
- name: () => name8,
39
- toModelContent: () => toModelContent5
38
+ name: () => name12,
39
+ toModelContent: () => toModelContent6
40
40
  });
41
41
  import { basename, dirname, join } from "path";
42
42
  import { ToolFailure } from "@opencode/ai";
43
43
  import { Effect, Schema } from "effect";
44
44
  import { FSUtil } from "@opencode/util/fs-util";
45
- var name8 = "read";
45
+ var name12 = "read";
46
46
  var FILENAME = "AGENTS.md";
47
47
  var LocationInput = Schema.Struct({
48
48
  path: Schema.String.annotate({ description: "File or directory to read" }),
@@ -53,21 +53,21 @@ var LocationInput = Schema.Struct({
53
53
  description: "The maximum number of lines or directory entries to read (defaults to and capped at 2000)"
54
54
  })
55
55
  });
56
- var Input8 = LocationInput;
56
+ var Input12 = LocationInput;
57
57
  var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
58
- var Plugin26 = {
58
+ var Plugin14 = {
59
59
  id: "opencode.tool.read",
60
60
  effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
61
- const reader = yield* Service7;
62
- const access = yield* Service16;
63
- const sessionInstructions = yield* Service6;
61
+ const reader = yield* Service6;
62
+ const access = yield* Service17;
63
+ const sessionInstructions = yield* Service5;
64
64
  const fs = yield* FSUtil.Service;
65
65
  const location = yield* Service80;
66
66
  yield* ctx.tool.transform((editor) => editor.add({
67
- name: name8,
67
+ name: name12,
68
68
  options: { codemode: false },
69
69
  description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
70
- input: Input8,
70
+ input: Input12,
71
71
  output: Output,
72
72
  execute: (input, context) => {
73
73
  return Effect.gen(function* () {
@@ -113,7 +113,7 @@ var Plugin26 = {
113
113
  return { output: result.content, path: result.path };
114
114
  }).pipe(Effect.map((result) => ({
115
115
  output: result.output,
116
- content: toModelContent5(result.path, input.offset, result.output),
116
+ content: toModelContent6(result.path, input.offset, result.output),
117
117
  metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
118
118
  })), Effect.mapError((error) => {
119
119
  if (error instanceof ToolFailure)
@@ -146,7 +146,7 @@ ${suggestions.join(`
146
146
  });
147
147
  })
148
148
  };
149
- var toModelContent5 = (path, offset, output) => {
149
+ var toModelContent6 = (path, offset, output) => {
150
150
  if (output.type === "file" && output.encoding === "base64")
151
151
  return [
152
152
  { type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
@@ -182,4 +182,4 @@ var toModelContent5 = (path, offset, output) => {
182
182
  `);
183
183
  };
184
184
 
185
- export { name8, Input8, Plugin26, toModelContent5, exports_read };
185
+ export { name12, Input12, Plugin14, toModelContent6, exports_read };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createLocalProviderPlugin2
3
- } from "./tool-cjxvfp5z.js";
3
+ } from "./workspace-k569he40.js";
4
4
 
5
5
  // src/plugin/provider/vllm.ts
6
6
  import { Effect, Schema } from "effect";
@@ -11,7 +11,7 @@ var RemoteModel = Schema.Struct({
11
11
  max_model_len: Schema.NullOr(Schema.Int)
12
12
  });
13
13
  var Response = Schema.Struct({ data: Schema.Array(RemoteModel) });
14
- var make3 = createLocalProviderPlugin2({
14
+ var make7 = createLocalProviderPlugin2({
15
15
  id: "opencode.provider.vllm",
16
16
  providerID,
17
17
  name: "vLLM",
@@ -26,6 +26,6 @@ var make3 = createLocalProviderPlugin2({
26
26
  context: item.max_model_len
27
27
  })
28
28
  });
29
- var VLLMPlugin2 = make3();
29
+ var VLLMPlugin2 = make7();
30
30
 
31
- export { make3, VLLMPlugin2 };
31
+ export { make7, VLLMPlugin2 };
@@ -1,32 +1,32 @@
1
1
  import {
2
- Service39
3
- } from "./tool-vcccfxhw.js";
2
+ Service47
3
+ } from "./workspace-w8jg2tm8.js";
4
4
  import {
5
- Service15
6
- } from "./tool-6ysrkrkr.js";
5
+ Service53
6
+ } from "./workspace-h275bwc7.js";
7
7
  import {
8
8
  match2
9
- } from "./tool-y1fvbwt7.js";
9
+ } from "./workspace-y1fvbwt7.js";
10
10
  import {
11
11
  observe2
12
- } from "./tool-qsdy395h.js";
12
+ } from "./workspace-qsdy395h.js";
13
13
  import {
14
14
  __export
15
- } from "./tool-9rqn6x4v.js";
15
+ } from "./workspace-9rqn6x4v.js";
16
16
 
17
17
  // src/config/plugin/policy.ts
18
18
  var exports_policy = {};
19
19
  __export(exports_policy, {
20
20
  ConfigPolicyPlugin: () => exports_policy,
21
- Plugin: () => Plugin34
21
+ Plugin: () => Plugin32
22
22
  });
23
23
  import { define } from "@opencode/plugin/effect/plugin";
24
24
  import { Effect } from "effect";
25
- var Plugin34 = define({
25
+ var Plugin32 = define({
26
26
  id: "opencode.config.policy",
27
27
  effect: Effect.fn(function* (ctx) {
28
- const config = yield* Service39;
29
- const managed = yield* Service15;
28
+ const config = yield* Service47;
29
+ const managed = yield* Service53;
30
30
  const loaded = yield* observe2(config, ctx.event, ctx.provider.reload());
31
31
  const policies = () => {
32
32
  const organization = managed.current();
@@ -57,4 +57,4 @@ var Plugin34 = define({
57
57
  })
58
58
  });
59
59
 
60
- export { Plugin34, exports_policy };
60
+ export { Plugin32, exports_policy };
@@ -1,58 +1,58 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./tool-qdm0xvfe.js";
4
+ } from "./workspace-rfmnp9jb.js";
5
5
  import {
6
- Service79,
7
- node83
8
- } from "./tool-txw06jcg.js";
6
+ Service74,
7
+ node77
8
+ } from "./workspace-emx6shzs.js";
9
9
  import {
10
10
  Service81,
11
11
  node85
12
- } from "./tool-jy0x8hkf.js";
12
+ } from "./workspace-wqzz8241.js";
13
13
  import {
14
14
  Ref4,
15
15
  Service80,
16
16
  node84
17
- } from "./tool-rxn8twjw.js";
17
+ } from "./workspace-2cabk1b6.js";
18
18
  import {
19
19
  canonical3
20
- } from "./tool-kzgmjn1f.js";
20
+ } from "./workspace-b61vcdbg.js";
21
21
  import {
22
22
  SessionEvent2
23
- } from "./tool-ec1grn59.js";
24
- import {
25
- Service70,
26
- node74
27
- } from "./tool-zcdqtjtf.js";
23
+ } from "./workspace-ec1grn59.js";
28
24
  import {
29
25
  Service60,
30
- node64
31
- } from "./tool-tnjsmpmj.js";
26
+ node62
27
+ } from "./workspace-74f6ffmn.js";
28
+ import {
29
+ Service21,
30
+ node24
31
+ } from "./workspace-kaq877jq.js";
32
32
  import {
33
33
  __export
34
- } from "./tool-9rqn6x4v.js";
34
+ } from "./workspace-9rqn6x4v.js";
35
35
 
36
36
  // src/location-lifecycle.ts
37
37
  var exports_location_lifecycle = {};
38
38
  __export(exports_location_lifecycle, {
39
39
  LocationLifecycle: () => exports_location_lifecycle,
40
- Service: () => Service59,
41
- node: () => node63
40
+ Service: () => Service16,
41
+ node: () => node18
42
42
  });
43
43
  import { Context, Effect, Layer, Schema } from "effect";
44
44
  import { makeLocationNode } from "@opencode/util/effect/app-node";
45
45
  import { LocationEvent } from "@opencode/schema/location-event";
46
46
  var isSessionEvent = Schema.is(SessionEvent2.Durable);
47
47
 
48
- class Service59 extends Context.Service()("@opencode/LocationLifecycle") {
48
+ class Service16 extends Context.Service()("@opencode/LocationLifecycle") {
49
49
  }
50
- var layer = Layer.effect(Service59, Effect.gen(function* () {
50
+ var layer = Layer.effect(Service16, Effect.gen(function* () {
51
51
  const bus = yield* Service83;
52
52
  const location = yield* Service80;
53
- const permission = yield* Service70;
54
- const forms = yield* Service79;
55
- const rpc = yield* Service60;
53
+ const permission = yield* Service60;
54
+ const forms = yield* Service74;
55
+ const rpc = yield* Service21;
56
56
  const project = yield* Service81;
57
57
  const scope = yield* Effect.scope;
58
58
  yield* project.activate(location.project.id);
@@ -75,15 +75,15 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
75
75
  location: Ref4.make({ directory: location.directory, workspaceID: location.workspaceID })
76
76
  });
77
77
  }).pipe(Effect.uninterruptible));
78
- return Service59.of({
78
+ return Service16.of({
79
79
  isClosed: () => closed,
80
80
  shutdown
81
81
  });
82
82
  }));
83
- var node63 = makeLocationNode({
84
- service: Service59,
83
+ var node18 = makeLocationNode({
84
+ service: Service16,
85
85
  layer,
86
- deps: [node87, node84, node74, node85, node83, node64]
86
+ deps: [node87, node84, node62, node85, node77, node24]
87
87
  });
88
88
 
89
- export { Service59, node63, exports_location_lifecycle };
89
+ export { Service16, node18, exports_location_lifecycle };
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  __export
3
- } from "./tool-9rqn6x4v.js";
3
+ } from "./workspace-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/permission.ts
6
6
  var exports_permission = {};
7
7
  __export(exports_permission, {
8
8
  Action: () => Action2,
9
9
  ConfigPermissionV1: () => exports_permission,
10
- Info: () => Info9,
10
+ Info: () => Info12,
11
11
  Object: () => Object2,
12
12
  Rule: () => Rule2
13
13
  });
@@ -33,9 +33,9 @@ var InputObject = Schema.StructWithRest(Schema.Struct({
33
33
  }), [Schema.Record(Schema.String, Rule2)]);
34
34
  var InputSchema = Schema.Union([Action2, InputObject]);
35
35
  var normalizeInput = (input) => typeof input === "string" ? { "*": input } : input;
36
- var Info9 = InputSchema.pipe(Schema.decodeTo(InputObject, {
36
+ var Info12 = InputSchema.pipe(Schema.decodeTo(InputObject, {
37
37
  decode: SchemaGetter.transform(normalizeInput),
38
38
  encode: SchemaGetter.passthrough({ strict: false })
39
39
  })).annotate({ identifier: "PermissionConfig" });
40
40
 
41
- export { Action2, Object2, Rule2, Info9, exports_permission };
41
+ export { Action2, Object2, Rule2, Info12, exports_permission };
@@ -2,10 +2,10 @@ import {
2
2
  NotFound2,
3
3
  WrongKind2,
4
4
  Failed2
5
- } from "./tool-2a5m3afh.js";
5
+ } from "./workspace-2a5m3afh.js";
6
6
  import {
7
7
  __export
8
- } from "./tool-9rqn6x4v.js";
8
+ } from "./workspace-9rqn6x4v.js";
9
9
 
10
10
  // src/environment/memory.ts
11
11
  var exports_memory = {};