@opencode/core 0.0.0-dev-21541 → 0.0.0-dev-21557

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 (790) 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 +97 -97
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +71 -71
  7. package/dist/chunks/{workspace-kgjxwjg5.js → command-02g7aebq.js} +19 -19
  8. package/dist/chunks/{workspace-m22m6tzf.js → command-02hctrc4.js} +12 -12
  9. package/dist/chunks/{workspace-034tev2y.js → command-034tev2y.js} +2 -2
  10. package/dist/chunks/{workspace-qgn6gcr1.js → command-0jwsre1p.js} +5 -5
  11. package/dist/chunks/{workspace-wb9ff8bn.js → command-0ny45k08.js} +20 -20
  12. package/dist/chunks/{workspace-8xnx0mnd.js → command-0p5n951n.js} +8 -8
  13. package/dist/chunks/{workspace-ffvkjqdt.js → command-0t5b2y9d.js} +9 -9
  14. package/dist/chunks/{workspace-0vbcp93d.js → command-0vbcp93d.js} +2 -2
  15. package/dist/chunks/{workspace-cmwkp3r5.js → command-1ajx6rf5.js} +8 -8
  16. package/dist/chunks/{workspace-qv9b3h9n.js → command-1b1yf6g0.js} +30 -30
  17. package/dist/chunks/{workspace-1ep2p91f.js → command-1ep2p91f.js} +2 -2
  18. package/dist/chunks/{workspace-s305gxse.js → command-1hfxmt0w.js} +41 -41
  19. package/dist/chunks/{workspace-0tjpvapw.js → command-1hzj9kg1.js} +10 -10
  20. package/dist/chunks/{workspace-5fec3t3w.js → command-1j6m29mr.js} +4 -4
  21. package/dist/chunks/{workspace-gky04n8p.js → command-1kxdjam0.js} +17 -17
  22. package/dist/chunks/{workspace-15wxq0kj.js → command-1sqf9bkf.js} +8 -8
  23. package/dist/chunks/{workspace-j90sh0vw.js → command-1t3hpytd.js} +84 -84
  24. package/dist/chunks/{workspace-aar2av7x.js → command-210p74nv.js} +6 -6
  25. package/dist/chunks/{workspace-d4he2qe1.js → command-2mq1h16s.js} +9 -9
  26. package/dist/chunks/{workspace-bbyyxdtc.js → command-2q3kn6hv.js} +13 -13
  27. package/dist/chunks/{workspace-dq407baf.js → command-395q6j9z.js} +6 -6
  28. package/dist/chunks/{workspace-2phre6gr.js → command-3ct72kbc.js} +17 -17
  29. package/dist/chunks/{workspace-fstg4fsa.js → command-3dhsd59m.js} +17 -17
  30. package/dist/chunks/{workspace-3hepkmqq.js → command-3hepkmqq.js} +1 -1
  31. package/dist/chunks/{workspace-3hwn7j4h.js → command-3hwn7j4h.js} +2 -2
  32. package/dist/chunks/{workspace-gcb5g84z.js → command-3k3tgz1s.js} +36 -36
  33. package/dist/chunks/{workspace-sb9g34e0.js → command-3p9s8f8r.js} +5 -5
  34. package/dist/chunks/command-3q31v9sa.js +257 -0
  35. package/dist/chunks/{workspace-t3hn50w1.js → command-3qfe0xj5.js} +8 -8
  36. package/dist/chunks/{workspace-b10f7vcz.js → command-3tpbv33b.js} +6 -6
  37. package/dist/chunks/{workspace-3tvqynh2.js → command-3tvqynh2.js} +1 -1
  38. package/dist/chunks/{workspace-3eyct666.js → command-3w35w3cz.js} +35 -35
  39. package/dist/chunks/{workspace-xy9gzbcy.js → command-3y689znq.js} +18 -18
  40. package/dist/chunks/{workspace-3zsf4n22.js → command-3zsf4n22.js} +1 -1
  41. package/dist/chunks/{workspace-1rd0hf05.js → command-46jxkehv.js} +6 -6
  42. package/dist/chunks/{workspace-nvxqht09.js → command-48kw51zw.js} +3 -3
  43. package/dist/chunks/{workspace-p1apbq8w.js → command-4bz0312p.js} +11 -11
  44. package/dist/chunks/{workspace-5tgqe19z.js → command-4ezxk448.js} +54 -54
  45. package/dist/chunks/{workspace-z71n2avg.js → command-4j64n899.js} +4 -4
  46. package/dist/chunks/{workspace-dex2drwj.js → command-4y1psmjm.js} +7 -7
  47. package/dist/chunks/{workspace-st7p3hwb.js → command-4ytg8f8f.js} +2 -2
  48. package/dist/chunks/{workspace-ncqfdwrq.js → command-4z7vav0p.js} +16 -16
  49. package/dist/chunks/{workspace-2b6qkcs0.js → command-4znvr1ks.js} +50 -50
  50. package/dist/chunks/{workspace-54ma36ye.js → command-54ma36ye.js} +1 -1
  51. package/dist/chunks/{workspace-57b9ws8p.js → command-57b9ws8p.js} +1 -1
  52. package/dist/chunks/{workspace-w2h15q85.js → command-57myy5jh.js} +5 -5
  53. package/dist/chunks/{workspace-5g57z1ma.js → command-5g57z1ma.js} +1 -1
  54. package/dist/chunks/{workspace-tvgxg3g6.js → command-5kc27ehr.js} +4 -4
  55. package/dist/chunks/{workspace-5m9w47nd.js → command-5m9w47nd.js} +1 -1
  56. package/dist/chunks/{workspace-6h1z9x2t.js → command-5rk2deda.js} +20 -20
  57. package/dist/chunks/{workspace-m28avgzz.js → command-5smgpg59.js} +15 -15
  58. package/dist/chunks/{workspace-vm8sweqc.js → command-66gqgwkw.js} +2 -2
  59. package/dist/chunks/{workspace-6827pfxn.js → command-6827pfxn.js} +1 -1
  60. package/dist/chunks/{workspace-5gwxr4wz.js → command-6a980ypm.js} +16 -16
  61. package/dist/chunks/{workspace-n5d3v4c5.js → command-6a9ggp3a.js} +1 -1
  62. package/dist/chunks/{workspace-73a41k9m.js → command-6frn0zka.js} +43 -43
  63. package/dist/chunks/{workspace-fx7mmp1n.js → command-6ftnd7nz.js} +25 -25
  64. package/dist/chunks/{workspace-pzzw2hqw.js → command-6gmsgdx2.js} +5 -5
  65. package/dist/chunks/{workspace-w0rc49da.js → command-6pn57h68.js} +21 -21
  66. package/dist/chunks/{workspace-80ea5f6r.js → command-6qf2y9ve.js} +22 -22
  67. package/dist/chunks/{workspace-6xb47vfp.js → command-6xb47vfp.js} +1 -1
  68. package/dist/chunks/{workspace-775gj3j1.js → command-775gj3j1.js} +2 -2
  69. package/dist/chunks/{workspace-7bmhse3q.js → command-7bmhse3q.js} +1 -1
  70. package/dist/chunks/{workspace-3byrw2k0.js → command-7d822byb.js} +9 -9
  71. package/dist/chunks/{workspace-7zyx6fzq.js → command-7ta6mr36.js} +14 -14
  72. package/dist/chunks/{workspace-zqt4wd7s.js → command-7vcph9c5.js} +9 -9
  73. package/dist/chunks/{workspace-pbjcynf2.js → command-802megp1.js} +11 -11
  74. package/dist/chunks/{workspace-xf8yqmad.js → command-82rhge12.js} +9 -9
  75. package/dist/chunks/{workspace-84txncab.js → command-84txncab.js} +1 -1
  76. package/dist/chunks/{workspace-8m6m0r52.js → command-8m6m0r52.js} +1 -1
  77. package/dist/chunks/{workspace-8mywswrd.js → command-8mywswrd.js} +1 -1
  78. package/dist/chunks/{workspace-h6tfspxq.js → command-8qcf7amm.js} +14 -14
  79. package/dist/chunks/{workspace-f3crtseh.js → command-8qh1wvz2.js} +4 -4
  80. package/dist/chunks/{workspace-t2s68hp7.js → command-8sptrx30.js} +11 -11
  81. package/dist/chunks/{workspace-m6fea7hh.js → command-8yr3zrx2.js} +11 -11
  82. package/dist/chunks/{workspace-47xvp063.js → command-8zg8p5q1.js} +10 -10
  83. package/dist/chunks/{workspace-g6h99m46.js → command-941r3f3m.js} +1 -1
  84. package/dist/chunks/{workspace-r6k9he64.js → command-985ktdsx.js} +14 -14
  85. package/dist/chunks/{workspace-998yhzzq.js → command-998yhzzq.js} +3 -3
  86. package/dist/chunks/{workspace-ggk6kvmh.js → command-9c0aadwr.js} +14 -14
  87. package/dist/chunks/{workspace-hcgv7z9w.js → command-9c1a4kmv.js} +9 -9
  88. package/dist/chunks/{workspace-va6mm9z7.js → command-9e9hzcd0.js} +12 -12
  89. package/dist/chunks/{workspace-h7jf40e2.js → command-9hq0xw37.js} +15 -15
  90. package/dist/chunks/{workspace-9wev2pgg.js → command-9wev2pgg.js} +1 -1
  91. package/dist/chunks/{workspace-jyhwqdka.js → command-9zygn7h7.js} +18 -18
  92. package/dist/chunks/{workspace-4gx1jjxq.js → command-acdn2y46.js} +30 -30
  93. package/dist/chunks/{workspace-e4n1ebq2.js → command-ad8kq2nc.js} +3 -3
  94. package/dist/chunks/{workspace-j6jn98s4.js → command-ahsb9kpf.js} +6 -6
  95. package/dist/chunks/{workspace-rmja0r51.js → command-axq5kh8y.js} +10 -10
  96. package/dist/chunks/{workspace-ayjs7tqn.js → command-ayjs7tqn.js} +2 -2
  97. package/dist/chunks/{workspace-b11a7tx7.js → command-b11a7tx7.js} +1 -1
  98. package/dist/chunks/{workspace-qa3qhgw8.js → command-b27vhd2z.js} +4 -4
  99. package/dist/chunks/{workspace-y7nndgyc.js → command-bacj9t34.js} +9 -9
  100. package/dist/chunks/{workspace-zet3czjw.js → command-bhfmjk30.js} +19 -19
  101. package/dist/chunks/{workspace-s1sewrz2.js → command-bhk6njy6.js} +24 -24
  102. package/dist/chunks/{workspace-k0a3z2qz.js → command-btbmdjwj.js} +4 -4
  103. package/dist/chunks/{workspace-bzeyqsqd.js → command-bzeyqsqd.js} +1 -1
  104. package/dist/chunks/{workspace-pmpp0nb4.js → command-cb62p8s9.js} +22 -22
  105. package/dist/chunks/{workspace-ea9zv6cw.js → command-ccy38syf.js} +10 -10
  106. package/dist/chunks/{workspace-76skp782.js → command-cemytqje.js} +3 -3
  107. package/dist/chunks/{workspace-36cygfdp.js → command-cng6dfxk.js} +8 -8
  108. package/dist/chunks/{workspace-2ahabfrv.js → command-cqz7n2wt.js} +4 -4
  109. package/dist/chunks/{workspace-cr9hweqv.js → command-cr9hweqv.js} +2 -2
  110. package/dist/chunks/{workspace-qssh8sag.js → command-cvt24va3.js} +42 -42
  111. package/dist/chunks/{workspace-76475ja5.js → command-d1r1vdjn.js} +12 -12
  112. package/dist/chunks/{workspace-2xebcxdz.js → command-d97f9cxk.js} +12 -12
  113. package/dist/chunks/{workspace-bry36w7y.js → command-dedmnvkb.js} +20 -20
  114. package/dist/chunks/{workspace-k4814axw.js → command-deq2yphe.js} +17 -17
  115. package/dist/chunks/{workspace-y6rf4qat.js → command-dmn8f3fz.js} +34 -34
  116. package/dist/chunks/{workspace-fk85bsrp.js → command-dnkebwy9.js} +11 -11
  117. package/dist/chunks/{workspace-1bzs4kqq.js → command-drjmd517.js} +21 -21
  118. package/dist/chunks/{workspace-q8rwc74j.js → command-dsk8q8my.js} +23 -23
  119. package/dist/chunks/{workspace-gmce5qqj.js → command-dthc0v3v.js} +1 -1
  120. package/dist/chunks/{workspace-g1z83s7x.js → command-dvmztg5v.js} +43 -43
  121. package/dist/chunks/command-dxj72tfx.js +18 -0
  122. package/dist/chunks/{workspace-z34erevr.js → command-dz15z44q.js} +9 -9
  123. package/dist/chunks/{workspace-ansnh6at.js → command-dzg2v16h.js} +7 -7
  124. package/dist/chunks/{workspace-eej6y6fw.js → command-eej6y6fw.js} +2 -2
  125. package/dist/chunks/{workspace-ef5x83kb.js → command-ef5x83kb.js} +1 -1
  126. package/dist/chunks/{workspace-zx59jank.js → command-egvdenqz.js} +4 -4
  127. package/dist/chunks/{workspace-6n72fwwd.js → command-ehsy592z.js} +23 -23
  128. package/dist/chunks/{workspace-jvf3yq6v.js → command-embw8kgh.js} +4 -4
  129. package/dist/chunks/{workspace-mzmvkc7j.js → command-epa6at65.js} +26 -26
  130. package/dist/chunks/{workspace-5x8rsm2f.js → command-et97578y.js} +24 -24
  131. package/dist/chunks/{workspace-q40yvqvp.js → command-ew199m7p.js} +5 -5
  132. package/dist/chunks/{workspace-fcy631f0.js → command-fcy631f0.js} +1 -1
  133. package/dist/chunks/{workspace-fcyg4h47.js → command-fcyg4h47.js} +2 -2
  134. package/dist/chunks/{workspace-2ec29r6m.js → command-fmv8kpsp.js} +4 -4
  135. package/dist/chunks/{workspace-zfm65xnk.js → command-ft31182a.js} +8 -8
  136. package/dist/chunks/{workspace-y76gxhjg.js → command-fwr9p4fy.js} +324 -324
  137. package/dist/chunks/{workspace-jjrctdmw.js → command-g38g0fz0.js} +12 -12
  138. package/dist/chunks/{workspace-kc8eh7pk.js → command-g69zc3wy.js} +17 -17
  139. package/dist/chunks/{workspace-mcqdwfqb.js → command-g6x66mca.js} +11 -11
  140. package/dist/chunks/{workspace-3b7e46vg.js → command-g970mz3v.js} +20 -20
  141. package/dist/chunks/{workspace-1fnk0qcx.js → command-gawvjx7k.js} +13 -13
  142. package/dist/chunks/{workspace-gd4qta3r.js → command-gd4qta3r.js} +1 -1
  143. package/dist/chunks/{workspace-kccjhh93.js → command-gdc5cpct.js} +5 -5
  144. package/dist/chunks/{workspace-yefhp8xd.js → command-gryy9691.js} +9 -9
  145. package/dist/chunks/{workspace-xghm9m12.js → command-gvpgbncv.js} +15 -15
  146. package/dist/chunks/{workspace-h6vf3j39.js → command-h6vf3j39.js} +1 -1
  147. package/dist/chunks/{workspace-h8vwnyd8.js → command-h8vwnyd8.js} +1 -1
  148. package/dist/chunks/{workspace-e2t3pw6w.js → command-he40rdb8.js} +17 -17
  149. package/dist/chunks/{workspace-hgz4x7wa.js → command-hgz4x7wa.js} +1 -1
  150. package/dist/chunks/{workspace-tzprbfj6.js → command-hpkegr1y.js} +10 -10
  151. package/dist/chunks/command-hqp5gz7t.js +26 -0
  152. package/dist/chunks/{workspace-9sbtww25.js → command-j86wn4pa.js} +36 -36
  153. package/dist/chunks/{workspace-t18r7gq3.js → command-jbxhns51.js} +47 -47
  154. package/dist/chunks/{workspace-css516a4.js → command-jr0r6h1g.js} +3 -3
  155. package/dist/chunks/{workspace-07sqsv9w.js → command-jr2eqasw.js} +7 -7
  156. package/dist/chunks/{workspace-s8ch1s93.js → command-jrvn3mqz.js} +30 -30
  157. package/dist/chunks/{workspace-38phfjcn.js → command-k7myrtme.js} +9 -9
  158. package/dist/chunks/{workspace-8x4e5kq0.js → command-k98r0vz1.js} +27 -27
  159. package/dist/chunks/{workspace-8dh2j701.js → command-kcme49p2.js} +21 -21
  160. package/dist/chunks/{workspace-khmqacep.js → command-khmqacep.js} +1 -1
  161. package/dist/chunks/{workspace-wjst284m.js → command-kkyxct86.js} +2 -2
  162. package/dist/chunks/{workspace-etj2j5tt.js → command-kn6pff13.js} +19 -19
  163. package/dist/chunks/{workspace-yfattsqw.js → command-kv6t07rj.js} +17 -17
  164. package/dist/chunks/{workspace-kwb1v3vj.js → command-kwb1v3vj.js} +1 -1
  165. package/dist/chunks/{workspace-hp24smfg.js → command-kx57zey2.js} +11 -11
  166. package/dist/chunks/{workspace-gv7ndrzx.js → command-m26n4tkg.js} +4 -4
  167. package/dist/chunks/{workspace-pcs4hp0r.js → command-m38q3wy3.js} +11 -11
  168. package/dist/chunks/{workspace-db8n8p1c.js → command-m95xgvrp.js} +29 -29
  169. package/dist/chunks/{workspace-m9w0rfyh.js → command-m9w0rfyh.js} +1 -1
  170. package/dist/chunks/{workspace-maspj1v3.js → command-maspj1v3.js} +1 -1
  171. package/dist/chunks/{workspace-6gzxrv04.js → command-mdwjtjcb.js} +14 -14
  172. package/dist/chunks/{workspace-y6e8h1xc.js → command-mdzseb04.js} +23 -23
  173. package/dist/chunks/{workspace-zcfdnc2q.js → command-mfj0sxs3.js} +25 -25
  174. package/dist/chunks/{workspace-j6p3x2qe.js → command-mgym7y53.js} +44 -44
  175. package/dist/chunks/{workspace-bwq0z05b.js → command-mjqjpb51.js} +19 -19
  176. package/dist/chunks/{workspace-9qj6rkp4.js → command-mjzferrs.js} +5 -5
  177. package/dist/chunks/{workspace-074m64dp.js → command-mvnn9g24.js} +12 -12
  178. package/dist/chunks/{workspace-3y377wv9.js → command-mxvxcxwy.js} +4 -4
  179. package/dist/chunks/{workspace-8mr27nf4.js → command-mybp2pev.js} +4 -4
  180. package/dist/chunks/{workspace-r9s8agc4.js → command-n11rvh9p.js} +34 -34
  181. package/dist/chunks/{workspace-n6mrmtb3.js → command-n6mrmtb3.js} +1 -1
  182. package/dist/chunks/{workspace-rqgw4wbf.js → command-n6s6s5d0.js} +18 -18
  183. package/dist/chunks/{workspace-9z8cn46p.js → command-nn416cd4.js} +6 -6
  184. package/dist/chunks/{workspace-c3jpadc8.js → command-npm9b9zb.js} +5 -5
  185. package/dist/chunks/{workspace-e89xj288.js → command-p3p972wa.js} +5 -5
  186. package/dist/chunks/{workspace-nzg504jb.js → command-p3pg4pyc.js} +15 -15
  187. package/dist/chunks/{workspace-8yp4rne4.js → command-p51tpj98.js} +11 -11
  188. package/dist/chunks/{workspace-gm6mk2m9.js → command-p6d0b62k.js} +10 -10
  189. package/dist/chunks/{workspace-hhn6cs7f.js → command-p820w4f0.js} +25 -25
  190. package/dist/chunks/{workspace-srp09zfw.js → command-pazb1tph.js} +11 -11
  191. package/dist/chunks/{workspace-0ss1ygn7.js → command-pc1v25hk.js} +3 -3
  192. package/dist/chunks/{workspace-p8dm3ep0.js → command-pex2677d.js} +5 -5
  193. package/dist/chunks/{workspace-pjvnvgmy.js → command-pjvnvgmy.js} +1 -1
  194. package/dist/chunks/{workspace-9nygwmwc.js → command-pk1g9nse.js} +15 -15
  195. package/dist/chunks/{workspace-pknna89w.js → command-pknna89w.js} +1 -1
  196. package/dist/chunks/{workspace-6s9zvkg6.js → command-pkz1gcrh.js} +11 -11
  197. package/dist/chunks/{workspace-s6ckz0hn.js → command-psphhya3.js} +11 -11
  198. package/dist/chunks/{workspace-n8mct725.js → command-pv4gp5m4.js} +2 -2
  199. package/dist/chunks/{workspace-aq552fny.js → command-q1y8bwa4.js} +164 -164
  200. package/dist/chunks/{workspace-maers0pd.js → command-qakj2yt3.js} +6 -6
  201. package/dist/chunks/{workspace-xv7z1ba5.js → command-qc148cpv.js} +21 -21
  202. package/dist/chunks/{workspace-qp7m8750.js → command-qp7m8750.js} +3 -3
  203. package/dist/chunks/{workspace-qsdy395h.js → command-qsdy395h.js} +1 -1
  204. package/dist/chunks/{workspace-gs67eedh.js → command-qsyf62v5.js} +25 -25
  205. package/dist/chunks/{workspace-tr7gnt89.js → command-qxhg3shq.js} +11 -11
  206. package/dist/chunks/{workspace-dtmbvn3g.js → command-r57we6b1.js} +2 -2
  207. package/dist/chunks/{workspace-91p1v22t.js → command-r61qxybf.js} +8 -8
  208. package/dist/chunks/{workspace-rdw6cm16.js → command-rdw6cm16.js} +1 -1
  209. package/dist/chunks/{workspace-0gdmqesm.js → command-rhjbct0v.js} +4 -4
  210. package/dist/chunks/{workspace-5ggmzyjq.js → command-rv6zpw67.js} +35 -35
  211. package/dist/chunks/{workspace-etgqrbqm.js → command-rxmh8njq.js} +32 -32
  212. package/dist/chunks/{workspace-132rhf2q.js → command-rzsyqtcs.js} +23 -23
  213. package/dist/chunks/{workspace-c48qrqrp.js → command-s7cy65rz.js} +17 -17
  214. package/dist/chunks/{workspace-gwaf4cyv.js → command-sce0r76x.js} +10 -10
  215. package/dist/chunks/{workspace-2egnw719.js → command-sfd6krag.js} +12 -12
  216. package/dist/chunks/{workspace-r4fxfztp.js → command-sjs7wga1.js} +28 -28
  217. package/dist/chunks/{workspace-daz98v5x.js → command-smsqhasw.js} +28 -28
  218. package/dist/chunks/{workspace-x683dpmx.js → command-stq6srjr.js} +32 -32
  219. package/dist/chunks/{workspace-rzp7a2t4.js → command-svwczm27.js} +11 -11
  220. package/dist/chunks/{workspace-7ycdgr6s.js → command-t3e98aec.js} +9 -9
  221. package/dist/chunks/{workspace-eg33xqqg.js → command-t718dtrh.js} +41 -41
  222. package/dist/chunks/{workspace-cah5dkv9.js → command-t7bcp663.js} +10 -10
  223. package/dist/chunks/{workspace-tazgh4e4.js → command-tazgh4e4.js} +1 -1
  224. package/dist/chunks/{workspace-98bt88c5.js → command-tbjtr317.js} +18 -18
  225. package/dist/chunks/{workspace-tcezcvh9.js → command-tcezcvh9.js} +1 -1
  226. package/dist/chunks/{workspace-tdstcens.js → command-tdstcens.js} +1 -1
  227. package/dist/chunks/{workspace-h90v2x9d.js → command-tfzngn12.js} +4 -4
  228. package/dist/chunks/{workspace-s1v8awss.js → command-tp3hq1fz.js} +3 -3
  229. package/dist/chunks/{workspace-ae239eb7.js → command-tw1m0zds.js} +35 -35
  230. package/dist/chunks/{workspace-bxxa49vs.js → command-twx1y9b4.js} +28 -28
  231. package/dist/chunks/{workspace-qby9dwvd.js → command-tx9w5tca.js} +8 -8
  232. package/dist/chunks/{workspace-tyytaxap.js → command-tyytaxap.js} +1 -1
  233. package/dist/chunks/{workspace-ewxdsezr.js → command-v2x3p8dx.js} +32 -32
  234. package/dist/chunks/{workspace-v7p4zvkq.js → command-v7p4zvkq.js} +2 -2
  235. package/dist/chunks/{workspace-mx9vqzsb.js → command-v8jfbz3g.js} +6 -6
  236. package/dist/chunks/{workspace-n8nk40tj.js → command-v9a132p0.js} +24 -24
  237. package/dist/chunks/{workspace-abc6j8jm.js → command-vbamk4ns.js} +35 -35
  238. package/dist/chunks/{workspace-veqvce7d.js → command-veqvce7d.js} +1 -1
  239. package/dist/chunks/{workspace-0z8yhdqv.js → command-vj35nasm.js} +61 -61
  240. package/dist/chunks/{workspace-xjzqkwqn.js → command-vk5kq5j8.js} +13 -13
  241. package/dist/chunks/{workspace-c7kxmbtf.js → command-vvg7my21.js} +13 -13
  242. package/dist/chunks/{workspace-vzs5sf6e.js → command-vzs5sf6e.js} +1 -1
  243. package/dist/chunks/{workspace-w3wsvvr9.js → command-w3wsvvr9.js} +1 -1
  244. package/dist/chunks/{workspace-bqszwq89.js → command-w4axh9wz.js} +4 -4
  245. package/dist/chunks/{workspace-4myb3554.js → command-w4mk1hws.js} +16 -16
  246. package/dist/chunks/{workspace-1p07q0wb.js → command-w92k2e0p.js} +6 -6
  247. package/dist/chunks/{workspace-pwrxqpxd.js → command-wak8pa62.js} +18 -18
  248. package/dist/chunks/{workspace-wakvkjy4.js → command-wakvkjy4.js} +1 -1
  249. package/dist/chunks/{workspace-wd87259q.js → command-wd87259q.js} +1 -1
  250. package/dist/chunks/{workspace-keqvyq2w.js → command-web3t9xy.js} +4 -4
  251. package/dist/chunks/{workspace-wjr9rjd7.js → command-wjr9rjd7.js} +2 -2
  252. package/dist/chunks/{workspace-vsv97a0e.js → command-wn0xhw32.js} +25 -25
  253. package/dist/chunks/{workspace-ffq1c2je.js → command-wn13chhe.js} +21 -21
  254. package/dist/chunks/{workspace-efxx8rk8.js → command-wrc6k2zh.js} +12 -12
  255. package/dist/chunks/{workspace-wbnh8gjc.js → command-wsmpk9jk.js} +1 -1
  256. package/dist/chunks/{workspace-be4f7z37.js → command-x0g438en.js} +84 -84
  257. package/dist/chunks/{workspace-mshsb7tz.js → command-x6x33ar5.js} +15 -15
  258. package/dist/chunks/{workspace-dbe25myc.js → command-xdhksg1q.js} +11 -11
  259. package/dist/chunks/{workspace-g9vnk3jz.js → command-xdydn0yk.js} +16 -16
  260. package/dist/chunks/{workspace-gn585jta.js → command-xe70zbdz.js} +2 -2
  261. package/dist/chunks/{workspace-0xx3ns2v.js → command-xewwdcxe.js} +22 -22
  262. package/dist/chunks/{workspace-rdp8b27p.js → command-xexx9thr.js} +19 -19
  263. package/dist/chunks/{workspace-xg0qp6eg.js → command-xhmz0e2c.js} +11 -11
  264. package/dist/chunks/{workspace-r29avfkz.js → command-xr5vn762.js} +9 -9
  265. package/dist/chunks/{workspace-cbartrqj.js → command-xsq7pz40.js} +12 -12
  266. package/dist/chunks/{workspace-y1fvbwt7.js → command-y1fvbwt7.js} +1 -1
  267. package/dist/chunks/{workspace-qhd9gkgf.js → command-y4g1qmba.js} +9 -9
  268. package/dist/chunks/{workspace-dpkg50ah.js → command-y71avatq.js} +4 -4
  269. package/dist/chunks/{workspace-e6g20fz5.js → command-yc2cz67n.js} +32 -32
  270. package/dist/chunks/{workspace-a94rjkpn.js → command-yfxdcy39.js} +7 -7
  271. package/dist/chunks/{workspace-ynmknp8q.js → command-ymgkxg7n.js} +5 -5
  272. package/dist/chunks/{workspace-ynrxtasp.js → command-ysye7j36.js} +15 -15
  273. package/dist/chunks/{workspace-s4gy3dj7.js → command-yy8p69dz.js} +16 -16
  274. package/dist/chunks/{workspace-z0bkrqjs.js → command-z0bkrqjs.js} +1 -1
  275. package/dist/chunks/{workspace-ayabmdkg.js → command-z28rahrh.js} +29 -29
  276. package/dist/chunks/{workspace-9dmx38dk.js → command-z4a4venm.js} +21 -21
  277. package/dist/chunks/{workspace-4jhg1r7p.js → command-z9pbab2f.js} +13 -13
  278. package/dist/chunks/{workspace-g9ay48z2.js → command-zbak8g8s.js} +5 -5
  279. package/dist/chunks/{workspace-3chvherp.js → command-ze3ntbvb.js} +4 -4
  280. package/dist/chunks/{workspace-drdx3kxz.js → command-zhdc5kpb.js} +13 -13
  281. package/dist/chunks/{workspace-n56c0sd4.js → command-zjr49qxn.js} +42 -42
  282. package/dist/chunks/{workspace-zaq7yc5h.js → command-zqsad2gs.js} +2 -2
  283. package/dist/chunks/{workspace-zr2ceqn5.js → command-zr2ceqn5.js} +1 -1
  284. package/dist/chunks/{workspace-je188k40.js → command-zxn1czyk.js} +3 -3
  285. package/dist/chunks/{workspace-zxq2ej10.js → command-zxq2ej10.js} +1 -1
  286. package/dist/chunks/{workspace-neqjwg63.js → command-zxqtx2gp.js} +35 -35
  287. package/dist/codemode/catalog.js +1 -1
  288. package/dist/codemode/instructions.js +5 -5
  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 +84 -84
  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 +116 -116
  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 +113 -113
  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 +119 -119
  320. package/dist/credential/sql.js +2 -2
  321. package/dist/credential.js +79 -79
  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 +366 -366
  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 +97 -97
  409. package/dist/environment/local.js +2 -2
  410. package/dist/environment/memory.js +2 -2
  411. package/dist/environment/unavailable.js +1 -1
  412. package/dist/event/sql.js +1 -1
  413. package/dist/event-logger.js +72 -72
  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 +6 -6
  422. package/dist/filesystem/location-watcher.js +221 -221
  423. package/dist/filesystem/protected.js +1 -1
  424. package/dist/filesystem/search.js +101 -101
  425. package/dist/filesystem/watcher-binding.js +1 -1
  426. package/dist/filesystem/watcher.js +9 -9
  427. package/dist/filesystem.js +106 -106
  428. package/dist/form.js +86 -86
  429. package/dist/formatter/builtins.js +4 -4
  430. package/dist/formatter.js +89 -89
  431. package/dist/generate.js +107 -107
  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 +360 -360
  456. package/dist/instruction-discovery.js +86 -86
  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 +91 -91
  461. package/dist/job.js +78 -78
  462. package/dist/kv/sql.js +2 -2
  463. package/dist/kv.js +75 -75
  464. package/dist/location-activity.js +155 -155
  465. package/dist/location-lifecycle.js +109 -109
  466. package/dist/location-service-map.js +86 -86
  467. package/dist/location-services.js +357 -357
  468. package/dist/location.js +91 -91
  469. package/dist/managed-policy.js +8 -8
  470. package/dist/mcp/client.js +93 -93
  471. package/dist/mcp/index.js +107 -107
  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 +101 -101
  478. package/dist/model-retry.js +1 -1
  479. package/dist/model.js +98 -98
  480. package/dist/models-dev.js +101 -101
  481. package/dist/oauth/page.js +1 -1
  482. package/dist/permission/saved.js +84 -84
  483. package/dist/permission/sql.js +5 -5
  484. package/dist/permission.js +113 -113
  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 +5 -5
  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 +116 -116
  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 +113 -113
  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 +103 -103
  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 +125 -125
  537. package/dist/plugin/provider/xai.js +93 -93
  538. package/dist/plugin/provider/zenmux.js +1 -1
  539. package/dist/plugin/provider.js +170 -170
  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 +86 -86
  548. package/dist/plugin/vcs/hg.js +88 -88
  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 +8 -8
  560. package/dist/project/sql.js +4 -4
  561. package/dist/project.js +90 -90
  562. package/dist/provider.js +97 -97
  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 +91 -91
  567. package/dist/reference.js +91 -91
  568. package/dist/repository-cache.js +83 -83
  569. package/dist/repository.js +1 -1
  570. package/dist/ripgrep/binary.js +2 -2
  571. package/dist/ripgrep.js +97 -97
  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 +138 -138
  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 +221 -221
  583. package/dist/session/execution.js +130 -130
  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 +99 -99
  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 +132 -132
  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 +1 -1
  601. package/dist/session/runner/index.js +3 -3
  602. package/dist/session/runner/llm.js +229 -229
  603. package/dist/session/runner/max-steps.js +1 -1
  604. package/dist/session/runner/model.js +101 -101
  605. package/dist/session/runner/publish-llm-event.js +116 -116
  606. package/dist/session/runner/retry.js +5 -5
  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 +163 -163
  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 +212 -212
  618. package/dist/session/system-prompt.js +1 -1
  619. package/dist/session/title.js +162 -162
  620. package/dist/session/to-session-error.js +114 -114
  621. package/dist/session/transfer.js +217 -217
  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 +7 -7
  628. package/dist/shell.js +130 -130
  629. package/dist/skill/discovery.js +6 -6
  630. package/dist/skill/instructions.js +109 -109
  631. package/dist/skill.js +114 -114
  632. package/dist/snapshot.js +95 -95
  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 +135 -135
  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 +113 -113
  651. package/dist/tool/plugin/websearch.js +112 -112
  652. package/dist/tool/plugin/write.js +124 -124
  653. package/dist/tool/read-filesystem.js +102 -102
  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/git-executable.js +2 -2
  659. package/dist/util/lazy.js +1 -1
  660. package/dist/util/slug.js +1 -1
  661. package/dist/util/token.js +1 -1
  662. package/dist/util/which.js +1 -1
  663. package/dist/util/wildcard.js +1 -1
  664. package/dist/v1/config/agent.js +3 -3
  665. package/dist/v1/config/command.js +3 -3
  666. package/dist/v1/config/mcp.js +4 -4
  667. package/dist/v1/config/migrate.js +94 -94
  668. package/dist/v1/config/permission.js +3 -3
  669. package/dist/v1/config/plugin.js +3 -3
  670. package/dist/v1/config/provider-options.js +1 -1
  671. package/dist/v1/config/provider.js +2 -2
  672. package/dist/variant.js +93 -93
  673. package/dist/vcs/patch.js +1 -1
  674. package/dist/vcs.js +91 -91
  675. package/dist/voice.js +90 -90
  676. package/dist/websearch.js +86 -86
  677. package/dist/wellknown/plugin.js +78 -78
  678. package/dist/wellknown.js +81 -81
  679. package/dist/workspace/driver.js +3 -3
  680. package/dist/workspace/sql.js +1 -1
  681. package/dist/workspace.js +84 -84
  682. package/dist/worktree/directory.js +2 -2
  683. package/dist/worktree/git.js +8 -8
  684. package/dist/worktree/sql.js +5 -5
  685. package/dist/worktree/strategies.js +91 -91
  686. package/dist/worktree.js +100 -100
  687. package/package.json +8 -8
  688. package/dist/chunks/workspace-7jmfkexa.js +0 -26
  689. package/dist/chunks/workspace-by5v678g.js +0 -18
  690. package/dist/chunks/workspace-stn147wg.js +0 -257
  691. /package/dist/chunks/{workspace-0qkdqm5v.js → command-0qkdqm5v.js} +0 -0
  692. /package/dist/chunks/{workspace-0zkw76rk.js → command-0zkw76rk.js} +0 -0
  693. /package/dist/chunks/{workspace-17cy0kzp.js → command-17cy0kzp.js} +0 -0
  694. /package/dist/chunks/{workspace-1cnp2v09.js → command-1cnp2v09.js} +0 -0
  695. /package/dist/chunks/{workspace-24dcb14g.js → command-24dcb14g.js} +0 -0
  696. /package/dist/chunks/{workspace-2710q6r3.js → command-2710q6r3.js} +0 -0
  697. /package/dist/chunks/{workspace-2bv980vf.js → command-2bv980vf.js} +0 -0
  698. /package/dist/chunks/{workspace-2c3vjs8z.js → command-2c3vjs8z.js} +0 -0
  699. /package/dist/chunks/{workspace-359p4xyc.js → command-359p4xyc.js} +0 -0
  700. /package/dist/chunks/{workspace-3asan66x.js → command-3asan66x.js} +0 -0
  701. /package/dist/chunks/{workspace-3v8g72cx.js → command-3v8g72cx.js} +0 -0
  702. /package/dist/chunks/{workspace-3wcehsnq.js → command-3wcehsnq.js} +0 -0
  703. /package/dist/chunks/{workspace-43n2bw4t.js → command-43n2bw4t.js} +0 -0
  704. /package/dist/chunks/{workspace-4knz6hnm.js → command-4knz6hnm.js} +0 -0
  705. /package/dist/chunks/{workspace-4vcrnpx2.js → command-4vcrnpx2.js} +0 -0
  706. /package/dist/chunks/{workspace-4y7fprxs.js → command-4y7fprxs.js} +0 -0
  707. /package/dist/chunks/{workspace-53557ph1.js → command-53557ph1.js} +0 -0
  708. /package/dist/chunks/{workspace-550bvhaj.js → command-550bvhaj.js} +0 -0
  709. /package/dist/chunks/{workspace-5fjb7ams.js → command-5fjb7ams.js} +0 -0
  710. /package/dist/chunks/{workspace-6prwharc.js → command-6prwharc.js} +0 -0
  711. /package/dist/chunks/{workspace-6q2bdcd1.js → command-6q2bdcd1.js} +0 -0
  712. /package/dist/chunks/{workspace-7akdwqpd.js → command-7akdwqpd.js} +0 -0
  713. /package/dist/chunks/{workspace-7m9af43g.js → command-7m9af43g.js} +0 -0
  714. /package/dist/chunks/{workspace-822emrt2.js → command-822emrt2.js} +0 -0
  715. /package/dist/chunks/{workspace-84wd9syh.js → command-84wd9syh.js} +0 -0
  716. /package/dist/chunks/{workspace-88xbtdfr.js → command-88xbtdfr.js} +0 -0
  717. /package/dist/chunks/{workspace-8n3pysct.js → command-8n3pysct.js} +0 -0
  718. /package/dist/chunks/{workspace-8wj87zfr.js → command-8wj87zfr.js} +0 -0
  719. /package/dist/chunks/{workspace-9a4afbnw.js → command-9a4afbnw.js} +0 -0
  720. /package/dist/chunks/{workspace-9rqn6x4v.js → command-9rqn6x4v.js} +0 -0
  721. /package/dist/chunks/{workspace-a058387c.js → command-a058387c.js} +0 -0
  722. /package/dist/chunks/{workspace-a6k6eb26.js → command-a6k6eb26.js} +0 -0
  723. /package/dist/chunks/{workspace-af5trqkr.js → command-af5trqkr.js} +0 -0
  724. /package/dist/chunks/{workspace-afrmfg78.js → command-afrmfg78.js} +0 -0
  725. /package/dist/chunks/{workspace-aqzs7mqg.js → command-aqzs7mqg.js} +0 -0
  726. /package/dist/chunks/{workspace-atq7p7m5.js → command-atq7p7m5.js} +0 -0
  727. /package/dist/chunks/{workspace-bkyjaxrp.js → command-bkyjaxrp.js} +0 -0
  728. /package/dist/chunks/{workspace-bmr6ed5q.js → command-bmr6ed5q.js} +0 -0
  729. /package/dist/chunks/{workspace-cf4snx6d.js → command-cf4snx6d.js} +0 -0
  730. /package/dist/chunks/{workspace-cvy3z8tj.js → command-cvy3z8tj.js} +0 -0
  731. /package/dist/chunks/{workspace-d9fn303g.js → command-d9fn303g.js} +0 -0
  732. /package/dist/chunks/{workspace-d9jj8t3e.js → command-d9jj8t3e.js} +0 -0
  733. /package/dist/chunks/{workspace-dajrwvna.js → command-dajrwvna.js} +0 -0
  734. /package/dist/chunks/{workspace-dap0rakb.js → command-dap0rakb.js} +0 -0
  735. /package/dist/chunks/{workspace-df08tz66.js → command-df08tz66.js} +0 -0
  736. /package/dist/chunks/{workspace-dy18nga0.js → command-dy18nga0.js} +0 -0
  737. /package/dist/chunks/{workspace-e3qxr5gk.js → command-e3qxr5gk.js} +0 -0
  738. /package/dist/chunks/{workspace-e5kj55wp.js → command-e5kj55wp.js} +0 -0
  739. /package/dist/chunks/{workspace-e73j6tqm.js → command-e73j6tqm.js} +0 -0
  740. /package/dist/chunks/{workspace-ec1grn59.js → command-ec1grn59.js} +0 -0
  741. /package/dist/chunks/{workspace-eh3zwz77.js → command-eh3zwz77.js} +0 -0
  742. /package/dist/chunks/{workspace-emrn6kk6.js → command-emrn6kk6.js} +0 -0
  743. /package/dist/chunks/{workspace-f0mxakyp.js → command-f0mxakyp.js} +0 -0
  744. /package/dist/chunks/{workspace-f6n9ztr4.js → command-f6n9ztr4.js} +0 -0
  745. /package/dist/chunks/{workspace-faypxj3z.js → command-faypxj3z.js} +0 -0
  746. /package/dist/chunks/{workspace-fd410y7t.js → command-fd410y7t.js} +0 -0
  747. /package/dist/chunks/{workspace-g4wezp1m.js → command-g4wezp1m.js} +0 -0
  748. /package/dist/chunks/{workspace-g86h250q.js → command-g86h250q.js} +0 -0
  749. /package/dist/chunks/{workspace-gebd4c9n.js → command-gebd4c9n.js} +0 -0
  750. /package/dist/chunks/{workspace-gftt206x.js → command-gftt206x.js} +0 -0
  751. /package/dist/chunks/{workspace-hcxmzztb.js → command-hcxmzztb.js} +0 -0
  752. /package/dist/chunks/{workspace-hk9envan.js → command-hk9envan.js} +0 -0
  753. /package/dist/chunks/{workspace-j2ntwpah.js → command-j2ntwpah.js} +0 -0
  754. /package/dist/chunks/{workspace-j5zkgpj8.js → command-j5zkgpj8.js} +0 -0
  755. /package/dist/chunks/{workspace-jjkms2e6.js → command-jjkms2e6.js} +0 -0
  756. /package/dist/chunks/{workspace-jr7sbwjy.js → command-jr7sbwjy.js} +0 -0
  757. /package/dist/chunks/{workspace-jwfs4k6c.js → command-jwfs4k6c.js} +0 -0
  758. /package/dist/chunks/{workspace-jze0r7bz.js → command-jze0r7bz.js} +0 -0
  759. /package/dist/chunks/{workspace-jzg6c2d5.js → command-jzg6c2d5.js} +0 -0
  760. /package/dist/chunks/{workspace-m18g726c.js → command-m18g726c.js} +0 -0
  761. /package/dist/chunks/{workspace-mp448xyj.js → command-mp448xyj.js} +0 -0
  762. /package/dist/chunks/{workspace-msx8hqn2.js → command-msx8hqn2.js} +0 -0
  763. /package/dist/chunks/{workspace-n05xt0ee.js → command-n05xt0ee.js} +0 -0
  764. /package/dist/chunks/{workspace-n3j8tn72.js → command-n3j8tn72.js} +0 -0
  765. /package/dist/chunks/{workspace-njntx4h6.js → command-njntx4h6.js} +0 -0
  766. /package/dist/chunks/{workspace-pkyv6v7h.js → command-pkyv6v7h.js} +0 -0
  767. /package/dist/chunks/{workspace-q3sfg36h.js → command-q3sfg36h.js} +0 -0
  768. /package/dist/chunks/{workspace-q74kybfr.js → command-q74kybfr.js} +0 -0
  769. /package/dist/chunks/{workspace-qaymkmh1.js → command-qaymkmh1.js} +0 -0
  770. /package/dist/chunks/{workspace-qb87gjwd.js → command-qb87gjwd.js} +0 -0
  771. /package/dist/chunks/{workspace-qfa1cgps.js → command-qfa1cgps.js} +0 -0
  772. /package/dist/chunks/{workspace-qg3g05ea.js → command-qg3g05ea.js} +0 -0
  773. /package/dist/chunks/{workspace-qrg20bc0.js → command-qrg20bc0.js} +0 -0
  774. /package/dist/chunks/{workspace-rcb2kzg1.js → command-rcb2kzg1.js} +0 -0
  775. /package/dist/chunks/{workspace-sdp7kfr6.js → command-sdp7kfr6.js} +0 -0
  776. /package/dist/chunks/{workspace-ssg3fenm.js → command-ssg3fenm.js} +0 -0
  777. /package/dist/chunks/{workspace-ve7vex1e.js → command-ve7vex1e.js} +0 -0
  778. /package/dist/chunks/{workspace-w803qqfp.js → command-w803qqfp.js} +0 -0
  779. /package/dist/chunks/{workspace-wc3fc9cn.js → command-wc3fc9cn.js} +0 -0
  780. /package/dist/chunks/{workspace-wer8tq1h.js → command-wer8tq1h.js} +0 -0
  781. /package/dist/chunks/{workspace-wjj7prxr.js → command-wjj7prxr.js} +0 -0
  782. /package/dist/chunks/{workspace-wtztk69x.js → command-wtztk69x.js} +0 -0
  783. /package/dist/chunks/{workspace-x0ckcb58.js → command-x0ckcb58.js} +0 -0
  784. /package/dist/chunks/{workspace-x61499pn.js → command-x61499pn.js} +0 -0
  785. /package/dist/chunks/{workspace-y44na4kk.js → command-y44na4kk.js} +0 -0
  786. /package/dist/chunks/{workspace-y8f7s663.js → command-y8f7s663.js} +0 -0
  787. /package/dist/chunks/{workspace-ygaqb7jw.js → command-ygaqb7jw.js} +0 -0
  788. /package/dist/chunks/{workspace-ym463w8f.js → command-ym463w8f.js} +0 -0
  789. /package/dist/chunks/{workspace-z5v4ffb3.js → command-z5v4ffb3.js} +0 -0
  790. /package/dist/chunks/{workspace-z9919s4g.js → command-z9919s4g.js} +0 -0
@@ -1,26 +1,26 @@
1
1
  import {
2
2
  Service85,
3
3
  node89
4
- } from "./workspace-tvgxg3g6.js";
4
+ } from "./command-5kc27ehr.js";
5
5
  import {
6
6
  PATCH_CONTEXT_LINES2,
7
7
  MAX_TOTAL_PATCH_BYTES2,
8
8
  emptyPatch2
9
- } from "./workspace-tazgh4e4.js";
9
+ } from "./command-tazgh4e4.js";
10
10
  import {
11
11
  root2
12
- } from "./workspace-g1z83s7x.js";
12
+ } from "./command-dvmztg5v.js";
13
13
  import {
14
- Service77,
15
- node81
16
- } from "./workspace-yfattsqw.js";
14
+ Service79,
15
+ node83
16
+ } from "./command-kv6t07rj.js";
17
17
  import {
18
18
  reconcile2,
19
19
  create3
20
- } from "./workspace-rdw6cm16.js";
20
+ } from "./command-rdw6cm16.js";
21
21
  import {
22
22
  __export
23
- } from "./workspace-9rqn6x4v.js";
23
+ } from "./command-9rqn6x4v.js";
24
24
 
25
25
  // src/vcs.ts
26
26
  var exports_vcs = {};
@@ -29,18 +29,18 @@ __export(exports_vcs, {
29
29
  BranchList: () => BranchList2,
30
30
  DiffError: () => DiffError2,
31
31
  FileStatus: () => FileStatus2,
32
- Info: () => Info5,
32
+ Info: () => Info6,
33
33
  InitializeError: () => InitializeError2,
34
34
  Mode: () => Mode2,
35
- Service: () => Service25,
35
+ Service: () => Service23,
36
36
  Vcs: () => exports_vcs,
37
- node: () => node28
37
+ node: () => node26
38
38
  });
39
39
  import path from "path";
40
40
  import { Cause, Context, Effect, FiberSet, Layer, Schema, Semaphore, Stream } from "effect";
41
41
  import { FileDiff } from "@opencode/schema/file-diff";
42
42
  import { FileSystem } from "@opencode/schema/filesystem";
43
- import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info5, Mode as Mode2 } from "@opencode/schema/vcs";
43
+ import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info6, Mode as Mode2 } from "@opencode/schema/vcs";
44
44
  import { VcsEvent } from "@opencode/schema/vcs-event";
45
45
  import { makeLocationNode } from "@opencode/util/effect/app-node";
46
46
  import { FSUtil } from "@opencode/util/fs-util";
@@ -54,11 +54,11 @@ class InitializeError2 extends Schema.TaggedError()("Vcs.InitializeError", {
54
54
  }) {
55
55
  }
56
56
 
57
- class Service25 extends Context.Service()("@opencode/Vcs") {
57
+ class Service23 extends Context.Service()("@opencode/Vcs") {
58
58
  }
59
- var layer = Layer.effect(Service25, Effect.gen(function* () {
59
+ var layer = Layer.effect(Service23, Effect.gen(function* () {
60
60
  const fs = yield* FSUtil.Service;
61
- const location = yield* Service77;
61
+ const location = yield* Service79;
62
62
  const bus = yield* Service85;
63
63
  const root = yield* Effect.scope;
64
64
  const fork = yield* FiberSet.makeRuntime();
@@ -71,7 +71,7 @@ var layer = Layer.effect(Service25, Effect.gen(function* () {
71
71
  canonical: location.project.canonical,
72
72
  ...vcs ? { store: vcs.store } : {}
73
73
  };
74
- const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info5));
74
+ const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info6));
75
75
  const decodeBase = Schema.decodeUnknownEffect(Schema.NullOr(Base2));
76
76
  const decodeBranches = Schema.decodeUnknownEffect(BranchList2);
77
77
  const decodeStatus = Schema.decodeUnknownEffect(Schema.Array(FileStatus2));
@@ -129,7 +129,7 @@ var layer = Layer.effect(Service25, Effect.gen(function* () {
129
129
  const isBranchMetadata = vcs.type === "git" ? (file) => path.basename(file) === "HEAD" && FSUtil.contains(store, file) : (file) => path.resolve(file) === path.join(store, "branch");
130
130
  yield* bus.subscribe(FileSystem.Event.Changed).pipe(Stream.filter((event) => isBranchMetadata(event.data.file)), Stream.runForEach((event) => refresh().pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logWarning("vcs refresh failed", { file: event.data.file, cause })), Effect.withSpan("Vcs.refreshBranch", { attributes: { file: event.data.file } }))), Effect.forkScoped({ startImmediately: true }));
131
131
  }
132
- return Service25.of({
132
+ return Service23.of({
133
133
  transform: state.transform,
134
134
  reload: state.reload,
135
135
  initialize: Effect.fn("Vcs.initialize")(function* (providerID) {
@@ -187,10 +187,10 @@ var layer = Layer.effect(Service25, Effect.gen(function* () {
187
187
  })
188
188
  });
189
189
  }));
190
- var node28 = makeLocationNode({
191
- service: Service25,
190
+ var node26 = makeLocationNode({
191
+ service: Service23,
192
192
  layer,
193
- deps: [FSUtil.node, node81, node89]
193
+ deps: [FSUtil.node, node83, node89]
194
194
  });
195
195
 
196
- export { Base2, BranchList2, FileStatus2, Info5, Mode2, DiffError2, InitializeError2, Service25, node28, exports_vcs };
196
+ export { Base2, BranchList2, FileStatus2, Info6, Mode2, DiffError2, InitializeError2, Service23, node26, exports_vcs };
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  definition2,
3
3
  normalizedName2
4
- } from "./workspace-5fjb7ams.js";
4
+ } from "./command-5fjb7ams.js";
5
5
  import {
6
6
  extension2,
7
7
  display2
8
- } from "./workspace-h8vwnyd8.js";
8
+ } from "./command-h8vwnyd8.js";
9
9
  import {
10
10
  __export
11
- } from "./workspace-9rqn6x4v.js";
11
+ } from "./command-9rqn6x4v.js";
12
12
 
13
13
  // src/codemode/tool.ts
14
14
  var exports_tool2 = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./workspace-9rqn6x4v.js";
3
+ } from "./command-9rqn6x4v.js";
4
4
 
5
5
  // src/config/plugin/entry-observer.ts
6
6
  var exports_entry_observer = {};
@@ -1,27 +1,27 @@
1
1
  import {
2
2
  Service85,
3
3
  node89
4
- } from "./workspace-tvgxg3g6.js";
4
+ } from "./command-5kc27ehr.js";
5
5
  import {
6
6
  shutdown2,
7
7
  create3
8
- } from "./workspace-rdw6cm16.js";
8
+ } from "./command-rdw6cm16.js";
9
9
  import {
10
10
  key2
11
- } from "./workspace-3y377wv9.js";
11
+ } from "./command-mxvxcxwy.js";
12
12
  import {
13
- ID16,
14
- Service82,
15
- node86,
16
- Event18
17
- } from "./workspace-daz98v5x.js";
13
+ ID12,
14
+ Service73,
15
+ node76,
16
+ Event17
17
+ } from "./command-smsqhasw.js";
18
18
  import {
19
- Service77,
20
- node81
21
- } from "./workspace-yfattsqw.js";
19
+ Service79,
20
+ node83
21
+ } from "./command-kv6t07rj.js";
22
22
  import {
23
23
  __export
24
- } from "./workspace-9rqn6x4v.js";
24
+ } from "./command-9rqn6x4v.js";
25
25
 
26
26
  // src/aisdk-native.ts
27
27
  var exports_aisdk_native = {};
@@ -39,13 +39,13 @@ __export(exports_provider3, {
39
39
  Compaction: () => Compaction3,
40
40
  DEFAULT_CHUNK_TIMEOUT_MS: () => DEFAULT_CHUNK_TIMEOUT_MS2,
41
41
  DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS3,
42
- Event: () => Event15,
42
+ Event: () => Event16,
43
43
  ID: () => ID11,
44
44
  Info: () => Info20,
45
45
  LoadError: () => LoadError3,
46
46
  Provider: () => exports_provider3,
47
47
  Request: () => Request3,
48
- Service: () => Service71,
48
+ Service: () => Service72,
49
49
  Settings: () => Settings2,
50
50
  Transport: () => Transport2,
51
51
  aisdk: () => aisdk2,
@@ -57,7 +57,7 @@ __export(exports_provider3, {
57
57
  mergeOverlay: () => mergeOverlay2,
58
58
  modelSettings: () => modelSettings2,
59
59
  nativeSettings: () => nativeSettings2,
60
- node: () => node74,
60
+ node: () => node75,
61
61
  packageName: () => packageName2,
62
62
  timeout: () => timeout2,
63
63
  timeouts: () => timeouts2
@@ -71,7 +71,7 @@ import { isRecord } from "@opencode/ai/utils/record";
71
71
  import { importModule, resolveModule } from "@opencode/util/runtime-import";
72
72
  import { Credential } from "@opencode/schema/credential";
73
73
  import { freeze } from "immer";
74
- import { Event as Event15 } from "@opencode/schema/provider";
74
+ import { Event as Event16 } from "@opencode/schema/provider";
75
75
  var ID11 = Provider.ID;
76
76
  var AISDK_PREFIX2 = "aisdk:";
77
77
  var isAISDK2 = (value) => value?.startsWith(AISDK_PREFIX2) ?? false;
@@ -288,7 +288,7 @@ var Transport2 = Provider.Transport;
288
288
  var Settings2 = Provider.Settings;
289
289
  var Info20 = Provider.Info;
290
290
 
291
- class Service71 extends Context.Service()("@opencode/Provider") {
291
+ class Service72 extends Context.Service()("@opencode/Provider") {
292
292
  }
293
293
  var definitions = new WeakMap;
294
294
  function index(providerID, models) {
@@ -301,10 +301,10 @@ function index(providerID, models) {
301
301
  definitions.set(models, indexes);
302
302
  return result;
303
303
  }
304
- var layer = Layer.effect(Service71, Effect.gen(function* () {
304
+ var layer = Layer.effect(Service72, Effect.gen(function* () {
305
305
  const bus = yield* Service85;
306
- const integrations = yield* Service82;
307
- const location = yield* Service77;
306
+ const integrations = yield* Service73;
307
+ const location = yield* Service79;
308
308
  const state = create3({
309
309
  name: "provider",
310
310
  initial: () => new Map,
@@ -396,7 +396,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
396
396
  const available = Array.from(records.values()).filter((record) => {
397
397
  if (record.provider.activation === "disabled")
398
398
  return false;
399
- const integration = byID.get(record.provider.integrationID ?? ID16.make(record.provider.id));
399
+ const integration = byID.get(record.provider.integrationID ?? ID12.make(record.provider.id));
400
400
  if (record.sourceConnection && key2(record.sourceConnection) !== key2(integration?.connections[0]))
401
401
  return false;
402
402
  if (record.provider.activation === "enabled")
@@ -422,8 +422,8 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
422
422
  location: { directory: location.directory, workspaceID: location.workspaceID }
423
423
  });
424
424
  });
425
- yield* bus.subscribe([Event18.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
426
- return Service71.of({
425
+ yield* bus.subscribe([Event17.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
426
+ return Service72.of({
427
427
  transform: state.transform,
428
428
  reload: state.reload,
429
429
  get: Effect.fn("Provider.get")((id) => Effect.sync(() => freeze(state.get().get(id)?.provider, true))),
@@ -432,7 +432,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
432
432
  snapshot
433
433
  });
434
434
  }));
435
- var node74 = makeLocationNode({ service: Service71, layer, deps: [node89, node86, node81] });
435
+ var node75 = makeLocationNode({ service: Service72, layer, deps: [node89, node76, node83] });
436
436
  var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
437
437
  const module = yield* Effect.tryPromise({
438
438
  try: () => {
@@ -702,4 +702,4 @@ var Legacy = Schema2.StructWithRest(Schema2.Struct({
702
702
  }), [Schema2.Record(Schema2.String, Schema2.Unknown)]);
703
703
  var decode = Schema2.decodeUnknownSync(Legacy);
704
704
 
705
- export { rewrite2, native2, exports_aisdk_native, ID11, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, builtinPackages2, loadPackage2, nativeSettings2, modelSettings2, DEFAULT_TIMEOUT_MS3, DEFAULT_CHUNK_TIMEOUT_MS2, timeout2, timeouts2, encoding2, mergeOverlay2, mergeHeaders2, Request3, Compaction3, Transport2, Settings2, Info20, Service71, node74, exports_provider3, Event15 };
705
+ export { rewrite2, native2, exports_aisdk_native, ID11, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, builtinPackages2, loadPackage2, nativeSettings2, modelSettings2, DEFAULT_TIMEOUT_MS3, DEFAULT_CHUNK_TIMEOUT_MS2, timeout2, timeouts2, encoding2, mergeOverlay2, mergeHeaders2, Request3, Compaction3, Transport2, Settings2, Info20, Service72, node75, exports_provider3, Event16 };
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  latest2,
3
- Service67
4
- } from "./workspace-qssh8sag.js";
3
+ Service68
4
+ } from "./command-cvt24va3.js";
5
5
  import {
6
- Service53
7
- } from "./workspace-x683dpmx.js";
6
+ Service42
7
+ } from "./command-stq6srjr.js";
8
8
  import {
9
9
  observe2
10
- } from "./workspace-qsdy395h.js";
10
+ } from "./command-qsdy395h.js";
11
11
  import {
12
12
  __export
13
- } from "./workspace-9rqn6x4v.js";
13
+ } from "./command-9rqn6x4v.js";
14
14
 
15
15
  // src/config/plugin/snapshot.ts
16
16
  var exports_snapshot = {};
17
17
  __export(exports_snapshot, {
18
18
  ConfigSnapshotPlugin: () => exports_snapshot,
19
- Plugin: () => Plugin9
19
+ Plugin: () => Plugin12
20
20
  });
21
21
  import { define } from "@opencode/plugin/effect/plugin";
22
22
  import { Effect } from "effect";
23
- var Plugin9 = define({
23
+ var Plugin12 = define({
24
24
  id: "opencode.config.snapshot",
25
25
  effect: Effect.fn(function* (ctx) {
26
- const config = yield* Service67;
27
- const snapshot = yield* Service53;
26
+ const config = yield* Service68;
27
+ const snapshot = yield* Service42;
28
28
  const loaded = yield* observe2(config, ctx.event, snapshot.reload());
29
29
  yield* snapshot.transform((editor) => {
30
30
  const configured = latest2(loaded.entries, "snapshots");
@@ -35,4 +35,4 @@ var Plugin9 = define({
35
35
  })
36
36
  });
37
37
 
38
- export { Plugin9, exports_snapshot };
38
+ export { Plugin12, exports_snapshot };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  ID11
3
- } from "./workspace-gs67eedh.js";
3
+ } from "./command-qsyf62v5.js";
4
4
  import {
5
5
  loadSDKFactory2
6
- } from "./workspace-6q2bdcd1.js";
6
+ } from "./command-6q2bdcd1.js";
7
7
 
8
8
  // src/plugin/provider/sap-ai-core.ts
9
9
  import { Effect } from "effect";
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  __export
3
- } from "./workspace-9rqn6x4v.js";
3
+ } from "./command-9rqn6x4v.js";
4
4
 
5
5
  // src/session/environment.ts
6
6
  var exports_environment = {};
7
7
  __export(exports_environment, {
8
- Service: () => Service64,
8
+ Service: () => Service66,
9
9
  SessionEnvironment: () => exports_environment,
10
- node: () => node67
10
+ node: () => node69
11
11
  });
12
12
  import { Context, Effect, Layer } from "effect";
13
13
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
14
14
 
15
- class Service64 extends Context.Service()("@opencode/SessionEnvironment") {
15
+ class Service66 extends Context.Service()("@opencode/SessionEnvironment") {
16
16
  }
17
- var layer = Layer.sync(Service64, () => {
17
+ var layer = Layer.sync(Service66, () => {
18
18
  const environments = new Map;
19
- return Service64.of({
19
+ return Service66.of({
20
20
  get: (sessionID) => Effect.sync(() => environments.get(sessionID)),
21
21
  set: (sessionID, variables) => Effect.sync(() => {
22
22
  environments.set(sessionID, { ...variables });
@@ -26,6 +26,6 @@ var layer = Layer.sync(Service64, () => {
26
26
  })
27
27
  });
28
28
  });
29
- var node67 = makeGlobalNode({ service: Service64, layer, deps: [] });
29
+ var node69 = makeGlobalNode({ service: Service66, layer, deps: [] });
30
30
 
31
- export { Service64, node67, exports_environment };
31
+ export { Service66, node69, exports_environment };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./workspace-9rqn6x4v.js";
3
+ } from "./command-9rqn6x4v.js";
4
4
 
5
5
  // src/state.ts
6
6
  var exports_state = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./workspace-9rqn6x4v.js";
3
+ } from "./command-9rqn6x4v.js";
4
4
 
5
5
  // src/instructions/index.ts
6
6
  var exports_instructions6 = {};
@@ -18,7 +18,7 @@ __export(exports_instructions6, {
18
18
  diffByKey: () => diffByKey2,
19
19
  empty: () => empty3,
20
20
  hash: () => hash2,
21
- make: () => make18,
21
+ make: () => make20,
22
22
  read: () => read3,
23
23
  removed: () => removed2,
24
24
  renderInitial: () => renderInitial2,
@@ -50,7 +50,7 @@ class DuplicateKeyError2 extends Schema.TaggedError()("Instructions.DuplicateKey
50
50
  }
51
51
  }
52
52
  var empty3 = [];
53
- function make18(source) {
53
+ function make20(source) {
54
54
  const decode = Schema.decodeUnknownOption(source.codec);
55
55
  const encode = Schema.encodeSync(source.codec);
56
56
  const initial = (value) => requireText(source.key, "initial", source.render.initial(value));
@@ -193,4 +193,4 @@ function requireText(key, kind, text) {
193
193
  return text;
194
194
  }
195
195
 
196
- export { Key3, Hash2, Values2, Delta2, unavailable3, removed2, InitializationBlocked2, DuplicateKeyError2, empty3, make18, combine2, read3, diff2, renderInitial2, renderUpdate2, hash2, applyHashDelta2, diffByKey2, exports_instructions6 };
196
+ export { Key3, Hash2, Values2, Delta2, unavailable3, removed2, InitializationBlocked2, DuplicateKeyError2, empty3, make20, combine2, read3, diff2, renderInitial2, renderUpdate2, hash2, applyHashDelta2, diffByKey2, exports_instructions6 };
@@ -1,51 +1,51 @@
1
1
  import {
2
2
  typeFollowing2
3
- } from "./workspace-hgz4x7wa.js";
3
+ } from "./command-hgz4x7wa.js";
4
4
  import {
5
5
  RelativePath2
6
- } from "./workspace-z5v4ffb3.js";
6
+ } from "./command-z5v4ffb3.js";
7
7
  import {
8
- Service77
9
- } from "./workspace-yfattsqw.js";
8
+ Service79
9
+ } from "./command-kv6t07rj.js";
10
10
  import {
11
- Service73
12
- } from "./workspace-5x8rsm2f.js";
11
+ Service76
12
+ } from "./command-et97578y.js";
13
13
  import {
14
14
  InvalidPatternError2,
15
- Service61
16
- } from "./workspace-r6k9he64.js";
15
+ Service43
16
+ } from "./command-985ktdsx.js";
17
17
  import {
18
18
  DEFAULT_SEARCH_LIMIT2,
19
19
  DEFAULT_SEARCH_TIMEOUT_MS2,
20
20
  GrepInput2,
21
21
  Entry2,
22
22
  Match2
23
- } from "./workspace-e6g20fz5.js";
23
+ } from "./command-yc2cz67n.js";
24
24
  import {
25
- Service46
26
- } from "./workspace-t18r7gq3.js";
25
+ Service61
26
+ } from "./command-jbxhns51.js";
27
27
  import {
28
- Service15
29
- } from "./workspace-xy9gzbcy.js";
28
+ Service18
29
+ } from "./command-3y689znq.js";
30
30
  import {
31
31
  __export
32
- } from "./workspace-9rqn6x4v.js";
32
+ } from "./command-9rqn6x4v.js";
33
33
 
34
34
  // src/tool/plugin/grep.ts
35
35
  var exports_grep = {};
36
36
  __export(exports_grep, {
37
37
  GrepTool: () => exports_grep,
38
- Input: () => Input9,
39
- Output: () => Output7,
40
- Plugin: () => Plugin45,
41
- name: () => name9,
42
- toModelContent: () => toModelContent6
38
+ Input: () => Input8,
39
+ Output: () => Output6,
40
+ Plugin: () => Plugin44,
41
+ name: () => name8,
42
+ toModelContent: () => toModelContent5
43
43
  });
44
44
  import { ToolFailure } from "@opencode/ai";
45
45
  import { Effect, Schema } from "effect";
46
46
  import path from "path";
47
- var name9 = "grep";
48
- var Input9 = Schema.Struct({
47
+ var name8 = "grep";
48
+ var Input8 = Schema.Struct({
49
49
  pattern: GrepInput2.fields.pattern.check(Schema.isMinLength(1, { message: "Pattern must not be empty" })).annotate({
50
50
  description: "Regular expression or literal text to match in file contents."
51
51
  }),
@@ -65,8 +65,8 @@ var Input9 = Schema.Struct({
65
65
  description: `Maximum number of matching lines to return (default: ${DEFAULT_SEARCH_LIMIT2})`
66
66
  })
67
67
  });
68
- var Output7 = Schema.Array(Match2);
69
- var toModelContent6 = (matches, truncated = false) => {
68
+ var Output6 = Schema.Array(Match2);
69
+ var toModelContent5 = (matches, truncated = false) => {
70
70
  const lines = matches.length === 0 ? ["No matches found"] : [`Found ${matches.length} matches`];
71
71
  let current = "";
72
72
  for (const match of matches) {
@@ -83,26 +83,26 @@ var toModelContent6 = (matches, truncated = false) => {
83
83
  return lines.join(`
84
84
  `);
85
85
  };
86
- var Plugin45 = {
86
+ var Plugin44 = {
87
87
  id: "opencode.tool.grep",
88
88
  effect: Effect.fn("GrepTool.Plugin")(function* (ctx) {
89
- const environment = yield* Service73;
90
- const ripgrep = yield* Service61;
91
- const location = yield* Service77;
92
- const access = yield* Service15;
93
- const permission = yield* Service46;
89
+ const environment = yield* Service76;
90
+ const ripgrep = yield* Service43;
91
+ const location = yield* Service79;
92
+ const access = yield* Service18;
93
+ const permission = yield* Service61;
94
94
  yield* ctx.tool.transform((editor) => editor.add({
95
- name: name9,
95
+ name: name8,
96
96
  options: { codemode: false },
97
97
  description: "Search file contents using ripgrep's regular expression syntax or literal text matching. Use it to locate specific code, symbols, or text patterns, and narrow searches with `path` or `include`. Returns matching file paths, line numbers, and line previews.",
98
- input: Input9,
99
- output: Output7,
98
+ input: Input8,
99
+ output: Output6,
100
100
  execute: (input, context) => Effect.gen(function* () {
101
101
  const source = { type: "tool", messageID: context.messageID, id: context.id };
102
102
  const target = yield* access.resolve({ path: input.path ?? "." });
103
103
  yield* access.authorizeExternal([target], context);
104
104
  yield* permission.assert({
105
- action: name9,
105
+ action: name8,
106
106
  resources: [input.pattern],
107
107
  save: ["*"],
108
108
  metadata: {
@@ -144,7 +144,7 @@ var Plugin45 = {
144
144
  return { matches: matches.slice(0, limit), truncated: matches.length > limit };
145
145
  }).pipe(Effect.map((result) => ({
146
146
  output: result.matches,
147
- content: toModelContent6(result.matches.map((match) => ({
147
+ content: toModelContent5(result.matches.map((match) => ({
148
148
  ...match,
149
149
  entry: { ...match.entry, path: path.resolve(location.directory, match.entry.path) }
150
150
  })), result.truncated),
@@ -154,4 +154,4 @@ var Plugin45 = {
154
154
  })
155
155
  };
156
156
 
157
- export { name9, Input9, Output7, toModelContent6, Plugin45, exports_grep };
157
+ export { name8, Input8, Output6, toModelContent5, Plugin44, exports_grep };
@@ -1,46 +1,46 @@
1
1
  import {
2
- Service77
3
- } from "./workspace-yfattsqw.js";
2
+ Service79
3
+ } from "./command-kv6t07rj.js";
4
4
  import {
5
- Service73
6
- } from "./workspace-5x8rsm2f.js";
5
+ Service76
6
+ } from "./command-et97578y.js";
7
7
  import {
8
- Service13,
8
+ Service60,
9
9
  readText2,
10
10
  syncTextBom2
11
- } from "./workspace-1fnk0qcx.js";
11
+ } from "./command-gawvjx7k.js";
12
12
  import {
13
- Service17
14
- } from "./workspace-mshsb7tz.js";
13
+ Service15
14
+ } from "./command-x6x33ar5.js";
15
15
  import {
16
- Service46
17
- } from "./workspace-t18r7gq3.js";
16
+ Service61
17
+ } from "./command-jbxhns51.js";
18
18
  import {
19
- Service15,
19
+ Service18,
20
20
  resolvePath2
21
- } from "./workspace-xy9gzbcy.js";
21
+ } from "./command-3y689znq.js";
22
22
  import {
23
23
  fileDiff2
24
- } from "./workspace-6prwharc.js";
24
+ } from "./command-6prwharc.js";
25
25
  import {
26
26
  __export
27
- } from "./workspace-9rqn6x4v.js";
27
+ } from "./command-9rqn6x4v.js";
28
28
 
29
29
  // src/tool/plugin/edit.ts
30
30
  var exports_edit = {};
31
31
  __export(exports_edit, {
32
32
  EditTool: () => exports_edit,
33
- Input: () => Input5,
34
- Output: () => Output4,
35
- Plugin: () => Plugin40,
36
- name: () => name5
33
+ Input: () => Input10,
34
+ Output: () => Output8,
35
+ Plugin: () => Plugin46,
36
+ name: () => name10
37
37
  });
38
38
  import { ToolFailure } from "@opencode/ai";
39
39
  import { FileDiff } from "@opencode/schema/file-diff";
40
40
  import { Bom } from "@opencode/util/bom";
41
41
  import { Effect, Schema } from "effect";
42
- var name5 = "edit";
43
- var Input5 = Schema.Struct({
42
+ var name10 = "edit";
43
+ var Input10 = Schema.Struct({
44
44
  path: Schema.String.annotate({
45
45
  description: "File to edit"
46
46
  }),
@@ -50,7 +50,7 @@ var Input5 = Schema.Struct({
50
50
  description: "Whether to replace every occurrence of oldString. When false, oldString must match exactly once. Defaults to false."
51
51
  })
52
52
  });
53
- var Output4 = Schema.Struct({
53
+ var Output8 = Schema.Struct({
54
54
  files: Schema.Array(FileDiff.Info),
55
55
  replacements: Schema.Number
56
56
  });
@@ -190,21 +190,21 @@ var countBefore = (positions, offset) => {
190
190
  }
191
191
  return low;
192
192
  };
193
- var Plugin40 = {
193
+ var Plugin46 = {
194
194
  id: "opencode.tool.edit",
195
195
  effect: Effect.fn("EditTool.Plugin")(function* (ctx) {
196
- const access = yield* Service15;
197
- const fileMutation = yield* Service13;
198
- const environment = yield* Service73;
199
- const formatter = yield* Service17;
200
- const location = yield* Service77;
201
- const permission = yield* Service46;
196
+ const access = yield* Service18;
197
+ const fileMutation = yield* Service60;
198
+ const environment = yield* Service76;
199
+ const formatter = yield* Service15;
200
+ const location = yield* Service79;
201
+ const permission = yield* Service61;
202
202
  yield* ctx.tool.transform((editor) => editor.add({
203
- name: name5,
203
+ name: name10,
204
204
  options: { codemode: false, permission: "edit" },
205
205
  description: "Edit the contents of a file by finding and replacing exact text. When editing text from Read output, preserve the exact indentation (tabs or spaces) and omit the line-number prefix, such as `1: `. Never include the prefix in oldString or newString. Write line breaks as \\n; the file's existing CRLF or LF line endings are matched and preserved. To change line endings themselves, make oldString and newString differ only in \\r; that edit applies to the exact bytes. If there is no exact match, the edit retries while ignoring typographic quote, dash, and space variants, then trailing whitespace on each line. The edit fails if oldString is not found. By default, oldString must identify a UNIQUE location. Multiple matches FAIL unless replaceAll is true. Add more surrounding context to disambiguate, or set replaceAll to true to replace every occurrence. Use replaceAll when the change should apply to every occurrence, such as renaming a variable.",
206
- input: Input5,
207
- output: Output4,
206
+ input: Input10,
207
+ output: Output8,
208
208
  execute: (input, context) => {
209
209
  return Effect.gen(function* () {
210
210
  const permissionSource = {
@@ -276,4 +276,4 @@ var Plugin40 = {
276
276
  })
277
277
  };
278
278
 
279
- export { name5, Input5, Output4, Plugin40, exports_edit };
279
+ export { name10, Input10, Output8, Plugin46, exports_edit };