@opencode/core 0.0.0-dev-20848 → 0.0.0-dev-20850

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 (791) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +85 -85
  3. package/dist/aisdk-native.js +91 -91
  4. package/dist/aisdk.js +96 -96
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +71 -71
  7. package/dist/chunks/{mime-9c3np669.js → command-00832hy7.js} +8 -8
  8. package/dist/chunks/{mime-yt8s49gy.js → command-00v3p02c.js} +12 -12
  9. package/dist/chunks/{mime-3tdspdk0.js → command-03eecatj.js} +32 -32
  10. package/dist/chunks/{mime-4vy300yq.js → command-0651g2m8.js} +24 -24
  11. package/dist/chunks/{mime-ct5msdbx.js → command-0f74e6s6.js} +16 -16
  12. package/dist/chunks/{mime-thye16kd.js → command-0g7cgnx9.js} +1 -1
  13. package/dist/chunks/{mime-z2tkkdyw.js → command-0r9t40ws.js} +8 -8
  14. package/dist/chunks/{mime-0vbcp93d.js → command-0vbcp93d.js} +2 -2
  15. package/dist/chunks/{mime-wj4ga3q8.js → command-0yz1bb5z.js} +4 -4
  16. package/dist/chunks/{mime-7t21zscw.js → command-1078m2ze.js} +11 -11
  17. package/dist/chunks/{mime-y4783gag.js → command-125b2gjd.js} +25 -25
  18. package/dist/chunks/{mime-093ezmkq.js → command-141ztcwb.js} +15 -15
  19. package/dist/chunks/{mime-z001n1ar.js → command-1ake5xtc.js} +10 -10
  20. package/dist/chunks/{mime-grcxjrjv.js → command-1e7j80nv.js} +15 -15
  21. package/dist/chunks/{mime-03zdqwm6.js → command-1tc9ms7v.js} +80 -80
  22. package/dist/chunks/{mime-8ge66yjw.js → command-1xfjfm5k.js} +16 -16
  23. package/dist/chunks/{mime-qpm56zd3.js → command-266f832d.js} +22 -22
  24. package/dist/chunks/{mime-p84pazke.js → command-2ej7p5df.js} +17 -17
  25. package/dist/chunks/{mime-rnkwpqsj.js → command-2vn9a9m5.js} +13 -13
  26. package/dist/chunks/{mime-2vvh33eb.js → command-2vvh33eb.js} +2 -2
  27. package/dist/chunks/{mime-d3j1yfh5.js → command-2w85jf91.js} +3 -3
  28. package/dist/chunks/{mime-rjv486v1.js → command-2x98hj2d.js} +6 -6
  29. package/dist/chunks/{mime-kqkndje3.js → command-2ztj38qe.js} +20 -20
  30. package/dist/chunks/{mime-31xfzrxg.js → command-31xfzrxg.js} +2 -2
  31. package/dist/chunks/{mime-y82gm3gz.js → command-3b7e2402.js} +11 -11
  32. package/dist/chunks/{mime-3fc6dm20.js → command-3fc6dm20.js} +1 -1
  33. package/dist/chunks/{mime-341887x8.js → command-3ggbdzvf.js} +37 -37
  34. package/dist/chunks/{mime-jvcyxgjy.js → command-3grbmg3s.js} +17 -17
  35. package/dist/chunks/{mime-3hepkmqq.js → command-3hepkmqq.js} +1 -1
  36. package/dist/chunks/{mime-3hwn7j4h.js → command-3hwn7j4h.js} +2 -2
  37. package/dist/chunks/{mime-3smtnn6g.js → command-3smtnn6g.js} +1 -1
  38. package/dist/chunks/{mime-88j8nb7d.js → command-3t1dcsxj.js} +50 -50
  39. package/dist/chunks/{mime-3tvqynh2.js → command-3tvqynh2.js} +1 -1
  40. package/dist/chunks/{mime-xg6vc4yz.js → command-3xr281qj.js} +9 -9
  41. package/dist/chunks/{mime-3zsf4n22.js → command-3zsf4n22.js} +1 -1
  42. package/dist/chunks/{mime-wmswtf3a.js → command-43b4ysp3.js} +13 -13
  43. package/dist/chunks/{mime-ba07h9gm.js → command-48kw51zw.js} +3 -3
  44. package/dist/chunks/{mime-a01j9zgm.js → command-4ekscj25.js} +5 -5
  45. package/dist/chunks/{mime-9ayz8qe3.js → command-4h0vb0gq.js} +15 -15
  46. package/dist/chunks/{mime-nypk9e09.js → command-4jw9kfxa.js} +10 -10
  47. package/dist/chunks/{mime-td4h0tpz.js → command-4n4sjte8.js} +20 -20
  48. package/dist/chunks/{mime-fmwz837r.js → command-4s7sr0a4.js} +8 -8
  49. package/dist/chunks/{mime-2ccvkpx1.js → command-4ts7tf6z.js} +2 -2
  50. package/dist/chunks/command-4v7qdvcn.js +18 -0
  51. package/dist/chunks/{mime-5crmb2xf.js → command-50waebaf.js} +14 -14
  52. package/dist/chunks/{mime-bydzhrwf.js → command-51p4tjed.js} +18 -18
  53. package/dist/chunks/{mime-x19mfkfa.js → command-524nwbbt.js} +10 -10
  54. package/dist/chunks/{mime-44rdwtgh.js → command-54e5rmax.js} +4 -4
  55. package/dist/chunks/{mime-54ma36ye.js → command-54ma36ye.js} +1 -1
  56. package/dist/chunks/{mime-63qttpz0.js → command-5faj6gpx.js} +27 -27
  57. package/dist/chunks/{mime-5m9w47nd.js → command-5m9w47nd.js} +1 -1
  58. package/dist/chunks/{mime-e2n962sp.js → command-5mgptwxw.js} +11 -11
  59. package/dist/chunks/{mime-e3qxr5gk.js → command-5qd3pb7m.js} +2 -2
  60. package/dist/chunks/{mime-c28b4grb.js → command-5t3310k6.js} +4 -4
  61. package/dist/chunks/{mime-2njrmdps.js → command-5ytdfek8.js} +20 -20
  62. package/dist/chunks/{mime-nk1a0m4h.js → command-6674vnd9.js} +30 -30
  63. package/dist/chunks/{mime-48c45xbx.js → command-684z2rkg.js} +14 -12
  64. package/dist/chunks/{mime-6nhrap54.js → command-6qrtx4s9.js} +8 -8
  65. package/dist/chunks/{mime-ghdx6zwz.js → command-6rv30qxe.js} +6 -6
  66. package/dist/chunks/{mime-874mqwgr.js → command-6v23mrsw.js} +11 -11
  67. package/dist/chunks/{mime-q6k0rjqm.js → command-6w6dyk7v.js} +9 -9
  68. package/dist/chunks/{mime-6xb47vfp.js → command-6xb47vfp.js} +1 -1
  69. package/dist/chunks/{mime-b9hjh4zd.js → command-70az54m3.js} +29 -29
  70. package/dist/chunks/{mime-7c9rhtvt.js → command-754hrxp0.js} +21 -21
  71. package/dist/chunks/{mime-6pyvjtsa.js → command-7ad1qpnj.js} +16 -16
  72. package/dist/chunks/{mime-7bmhse3q.js → command-7bmhse3q.js} +1 -1
  73. package/dist/chunks/{mime-7dqw4kz8.js → command-7dqw4kz8.js} +1 -1
  74. package/dist/chunks/{mime-fv0pzh3a.js → command-7ffperky.js} +20 -20
  75. package/dist/chunks/{mime-0hzwm2j4.js → command-7fqkjd9x.js} +30 -30
  76. package/dist/chunks/{mime-avcrxgn1.js → command-7qskwz89.js} +24 -24
  77. package/dist/chunks/{mime-9khdf5s3.js → command-7rce4ag1.js} +11 -11
  78. package/dist/chunks/{mime-84txncab.js → command-84txncab.js} +1 -1
  79. package/dist/chunks/{mime-25x08sgb.js → command-886t639t.js} +11 -11
  80. package/dist/chunks/{mime-tpd4zc77.js → command-8akyxt9x.js} +171 -171
  81. package/dist/chunks/{mime-c3kdf4nh.js → command-8c2fejh3.js} +45 -45
  82. package/dist/chunks/{mime-t0czkw58.js → command-8dmft94a.js} +13 -13
  83. package/dist/chunks/{mime-z321w99j.js → command-8k7cnv0y.js} +1 -1
  84. package/dist/chunks/{mime-8m6m0r52.js → command-8m6m0r52.js} +1 -1
  85. package/dist/chunks/{mime-h0t0bv9g.js → command-8nehyppj.js} +13 -13
  86. package/dist/chunks/{mime-j09zfasm.js → command-91qna3x0.js} +3 -3
  87. package/dist/chunks/{mime-xay352td.js → command-99tgmy8e.js} +19 -19
  88. package/dist/chunks/{mime-h581xfce.js → command-9a3p6fm2.js} +41 -41
  89. package/dist/chunks/{mime-xbxz27st.js → command-9gz7rpcg.js} +17 -17
  90. package/dist/chunks/{mime-jexmkm21.js → command-9my8cp47.js} +46 -46
  91. package/dist/chunks/{mime-hqz60g6y.js → command-9rcsrpay.js} +25 -25
  92. package/dist/chunks/{mime-pzxj9hfq.js → command-9xnzsa35.js} +18 -18
  93. package/dist/chunks/{mime-f8wv18vk.js → command-9ygwj23r.js} +15 -15
  94. package/dist/chunks/{mime-c27esgm9.js → command-a2qe2ev9.js} +8 -8
  95. package/dist/chunks/{mime-nb9p6b26.js → command-a89e0tac.js} +4 -4
  96. package/dist/chunks/{mime-5zxyxt67.js → command-apj6cajm.js} +15 -15
  97. package/dist/chunks/{mime-5v4tq1pr.js → command-b1nzd013.js} +2 -2
  98. package/dist/chunks/{mime-rw63zn1c.js → command-b3d0s7yq.js} +5 -5
  99. package/dist/chunks/{mime-p75g0t75.js → command-b4fmh4gz.js} +4 -4
  100. package/dist/chunks/{mime-dzxpq3he.js → command-bep02zpa.js} +14 -14
  101. package/dist/chunks/{mime-fg20npmb.js → command-bz4h3gj4.js} +38 -38
  102. package/dist/chunks/{mime-z2z2ww5c.js → command-c10fq8yw.js} +70 -70
  103. package/dist/chunks/{mime-xvy6exsz.js → command-c1p4wns8.js} +11 -11
  104. package/dist/chunks/{mime-s79kdw20.js → command-c41h4f8s.js} +3 -3
  105. package/dist/chunks/{mime-c41wscbt.js → command-c41wscbt.js} +2 -2
  106. package/dist/chunks/{mime-ft3hqk2c.js → command-c765mh8b.js} +9 -9
  107. package/dist/chunks/{mime-c8ax2afj.js → command-c8ax2afj.js} +2 -2
  108. package/dist/chunks/{mime-yvd3xmh6.js → command-cccett8t.js} +85 -85
  109. package/dist/chunks/{mime-nr82q2y3.js → command-d331akc0.js} +27 -27
  110. package/dist/chunks/{mime-1nwrzgv4.js → command-d8npn8xg.js} +18 -18
  111. package/dist/chunks/{mime-addxnjmp.js → command-db2wf4at.js} +4 -4
  112. package/dist/chunks/{mime-hte375x9.js → command-ded7ed65.js} +13 -13
  113. package/dist/chunks/{mime-9cbcaerr.js → command-dehk00jt.js} +15 -15
  114. package/dist/chunks/{mime-drwq78ky.js → command-drwq78ky.js} +1 -1
  115. package/dist/chunks/{mime-64197h0s.js → command-dtpvhdth.js} +7 -7
  116. package/dist/chunks/{mime-vtqafnzr.js → command-dys7k0s0.js} +11 -11
  117. package/dist/chunks/{mime-2zrs9e1z.js → command-e3mqmg8e.js} +7 -7
  118. package/dist/chunks/{mime-jc7bxj62.js → command-e53ktggx.js} +43 -43
  119. package/dist/chunks/{mime-2c1y2c17.js → command-e87zkmfq.js} +22 -22
  120. package/dist/chunks/{mime-bsdt1m9e.js → command-eaeq0sye.js} +7 -7
  121. package/dist/chunks/{mime-t550f9t1.js → command-eaj1djv9.js} +8 -8
  122. package/dist/chunks/{mime-e80seqcp.js → command-ed1g29hy.js} +3 -3
  123. package/dist/chunks/{mime-8758vc7w.js → command-ee1byx1z.js} +24 -24
  124. package/dist/chunks/{mime-eej6y6fw.js → command-eej6y6fw.js} +2 -2
  125. package/dist/chunks/{mime-ef5x83kb.js → command-ef5x83kb.js} +1 -1
  126. package/dist/chunks/{mime-9h6b9xcq.js → command-emhev80g.js} +26 -26
  127. package/dist/chunks/{mime-vkjxqv50.js → command-eq3njjjt.js} +27 -27
  128. package/dist/chunks/{mime-2zznshrj.js → command-erj4chxm.js} +14 -14
  129. package/dist/chunks/{mime-es1vcfrp.js → command-es1vcfrp.js} +3 -3
  130. package/dist/chunks/{mime-4z58m4b4.js → command-f29mbr7f.js} +4 -4
  131. package/dist/chunks/{mime-fv1xpqq8.js → command-f4ej5vtm.js} +24 -24
  132. package/dist/chunks/{mime-bpcp2wk4.js → command-f5rky6pw.js} +30 -30
  133. package/dist/chunks/{mime-002yfvjw.js → command-f6zrmd8m.js} +20 -20
  134. package/dist/chunks/{mime-spdr2m8g.js → command-fcs8jd9f.js} +31 -31
  135. package/dist/chunks/{mime-nd4tfyg0.js → command-g686f6pq.js} +9 -9
  136. package/dist/chunks/{mime-ykgfn48v.js → command-gbst0gvm.js} +44 -44
  137. package/dist/chunks/{mime-n21cjp58.js → command-gcxv3h2c.js} +8 -8
  138. package/dist/chunks/{mime-gd4qta3r.js → command-gd4qta3r.js} +1 -1
  139. package/dist/chunks/{mime-qne3fa44.js → command-gj71zhbs.js} +5 -5
  140. package/dist/chunks/{mime-621kfk4a.js → command-gj7khvz3.js} +13 -13
  141. package/dist/chunks/{mime-gk8qb678.js → command-gk8qb678.js} +1 -1
  142. package/dist/chunks/{mime-4qneze2k.js → command-gnqwsg0j.js} +9 -9
  143. package/dist/chunks/{mime-bf73z2bd.js → command-gsnj80d9.js} +47 -98
  144. package/dist/chunks/{mime-2d3qjknd.js → command-gvxf58ty.js} +13 -13
  145. package/dist/chunks/command-gzksc6e4.js +26 -0
  146. package/dist/chunks/{mime-t8g2rvm9.js → command-h3k0sdzw.js} +9 -9
  147. package/dist/chunks/{mime-h6vf3j39.js → command-h6vf3j39.js} +1 -1
  148. package/dist/chunks/{mime-4nj4bn9q.js → command-h71w788e.js} +9 -9
  149. package/dist/chunks/{mime-w546eqkd.js → command-hatca7p1.js} +24 -24
  150. package/dist/chunks/{mime-scgrse2b.js → command-hdkng2sj.js} +5 -5
  151. package/dist/chunks/{mime-zg3tcem2.js → command-hes1j7ga.js} +9 -9
  152. package/dist/chunks/{mime-hgz4x7wa.js → command-hgz4x7wa.js} +1 -1
  153. package/dist/chunks/{mime-002hnt25.js → command-hqb6mdaz.js} +20 -20
  154. package/dist/chunks/{mime-vf2dg72c.js → command-hrvrjbe0.js} +5 -5
  155. package/dist/chunks/{mime-rwbv99bt.js → command-hvtsap7v.js} +20 -20
  156. package/dist/chunks/{mime-bfbcwk3j.js → command-hy8hfmse.js} +5 -5
  157. package/dist/chunks/{mime-znqq22v1.js → command-hyzzdb65.js} +12 -12
  158. package/dist/chunks/{mime-p167xd9m.js → command-hzs77mdg.js} +13 -13
  159. package/dist/chunks/{mime-j56e64zr.js → command-j56e64zr.js} +1 -1
  160. package/dist/chunks/{mime-6wzskj7v.js → command-ja2a058e.js} +4 -4
  161. package/dist/chunks/{mime-83r455cj.js → command-jdz4qjxc.js} +4 -4
  162. package/dist/chunks/{mime-aysmer6g.js → command-jnyt3wvk.js} +11 -11
  163. package/dist/chunks/{mime-d4qxdy3f.js → command-k085ax4w.js} +11 -11
  164. package/dist/chunks/{mime-rxkwhjbw.js → command-k3cg02ta.js} +5 -5
  165. package/dist/chunks/{mime-mqgk8r7f.js → command-ke0v1s51.js} +42 -42
  166. package/dist/chunks/{mime-hq3c8me3.js → command-khmqacep.js} +4 -4
  167. package/dist/chunks/{mime-7d8xn48g.js → command-kwbgkw7p.js} +3 -3
  168. package/dist/chunks/{mime-ex0pka66.js → command-kzdcqyn1.js} +5 -5
  169. package/dist/chunks/{mime-w6fjva46.js → command-m1q8be4e.js} +6 -6
  170. package/dist/chunks/{mime-8nn0aekz.js → command-m7jak9xg.js} +20 -20
  171. package/dist/chunks/{mime-m2zdk9kx.js → command-m9r522wj.js} +25 -25
  172. package/dist/chunks/{mime-m9w0rfyh.js → command-m9w0rfyh.js} +1 -1
  173. package/dist/chunks/{mime-v67tqvgv.js → command-mm236w6k.js} +17 -17
  174. package/dist/chunks/{mime-pccmesk3.js → command-mq9nb5yf.js} +14 -14
  175. package/dist/chunks/{mime-shxcat2w.js → command-mxv0ahxn.js} +34 -34
  176. package/dist/chunks/{mime-mz10zc8h.js → command-mzydhjeg.js} +3 -3
  177. package/dist/chunks/{mime-ttqh24zm.js → command-n4r3xatb.js} +4 -4
  178. package/dist/chunks/{mime-943skrnc.js → command-n7syarbg.js} +6 -6
  179. package/dist/chunks/{mime-18wcmczp.js → command-n8cj0r05.js} +3 -3
  180. package/dist/chunks/{mime-k1xhjma1.js → command-n94jt7k6.js} +11 -11
  181. package/dist/chunks/{mime-q52t79da.js → command-ngkkqbqm.js} +26 -26
  182. package/dist/chunks/{mime-1f45z9qr.js → command-njrwvgpc.js} +11 -11
  183. package/dist/chunks/{mime-agdd9xsj.js → command-npvtjmwq.js} +15 -15
  184. package/dist/chunks/{mime-v531ggt4.js → command-nr7p0et9.js} +5 -5
  185. package/dist/chunks/{mime-19vkts2s.js → command-nrxc3w5k.js} +31 -31
  186. package/dist/chunks/{mime-qa5vprxq.js → command-nt0mjwaw.js} +11 -11
  187. package/dist/chunks/{mime-egk29gxp.js → command-nz5tb3mz.js} +13 -13
  188. package/dist/chunks/{mime-dwctjmtf.js → command-p267qznr.js} +32 -32
  189. package/dist/chunks/{mime-p37cw4rj.js → command-p42hj8p8.js} +8 -8
  190. package/dist/chunks/{mime-19ehbbx2.js → command-p51cfpkz.js} +11 -11
  191. package/dist/chunks/{mime-010n58ab.js → command-p6dnv1qh.js} +20 -20
  192. package/dist/chunks/{mime-pjvnvgmy.js → command-pjvnvgmy.js} +1 -1
  193. package/dist/chunks/{mime-pknna89w.js → command-pknna89w.js} +1 -1
  194. package/dist/chunks/{mime-98tgrza1.js → command-pv5w45yn.js} +11 -11
  195. package/dist/chunks/{mime-qptva5a0.js → command-pz0ytm9k.js} +8 -8
  196. package/dist/chunks/{mime-0j77ygfz.js → command-q0xm7vwc.js} +6 -6
  197. package/dist/chunks/{mime-gd0tnyjc.js → command-q5e7cmwt.js} +1 -1
  198. package/dist/chunks/{mime-hvq1vxtv.js → command-qkb6y1tc.js} +30 -30
  199. package/dist/chunks/{mime-zfm2k9h8.js → command-qmwxrq4q.js} +3 -3
  200. package/dist/chunks/{mime-qnc92qwc.js → command-qnc92qwc.js} +1 -1
  201. package/dist/chunks/{mime-qsdy395h.js → command-qsdy395h.js} +1 -1
  202. package/dist/chunks/{mime-v56myrm4.js → command-r0p853b9.js} +28 -28
  203. package/dist/chunks/{mime-h8k9kr22.js → command-r5tpv63y.js} +319 -319
  204. package/dist/chunks/{mime-cthrtr0v.js → command-r6a4azr4.js} +11 -11
  205. package/dist/chunks/{mime-yp2x3t23.js → command-r8xr0va3.js} +4 -4
  206. package/dist/chunks/{mime-6258hrf2.js → command-r9vebypt.js} +16 -16
  207. package/dist/chunks/{mime-rdw6cm16.js → command-rdw6cm16.js} +1 -1
  208. package/dist/chunks/{mime-3wm8rynf.js → command-reevcg95.js} +16 -16
  209. package/dist/chunks/{mime-tyhvedd8.js → command-rg90hx5t.js} +24 -24
  210. package/dist/chunks/{mime-8vg2ek78.js → command-rhv7vgb3.js} +3 -3
  211. package/dist/chunks/{mime-rkprpv83.js → command-rkprpv83.js} +2 -2
  212. package/dist/chunks/{mime-q7sg16y8.js → command-rmpnsk58.js} +24 -24
  213. package/dist/chunks/{mime-85xxa1xb.js → command-rqa1jxse.js} +2 -2
  214. package/dist/chunks/{mime-7x88nx06.js → command-rvea9875.js} +9 -9
  215. package/dist/chunks/{mime-mtq6xxnx.js → command-ryr25ayn.js} +7 -7
  216. package/dist/chunks/{mime-50gcym7f.js → command-s5phpar0.js} +9 -9
  217. package/dist/chunks/{mime-h14hz9z0.js → command-s98w7xaq.js} +13 -13
  218. package/dist/chunks/{mime-nwb5j2mm.js → command-sd66kwnn.js} +11 -11
  219. package/dist/chunks/{mime-a3vy0zy5.js → command-sefmw985.js} +26 -26
  220. package/dist/chunks/{mime-8ja30ehw.js → command-sf0yp864.js} +8 -8
  221. package/dist/chunks/{mime-vqgjf46c.js → command-sf6256ff.js} +4 -4
  222. package/dist/chunks/{mime-b8j6recp.js → command-sg56rmc9.js} +9 -9
  223. package/dist/chunks/{mime-mg1adt76.js → command-sgfee8yb.js} +5 -5
  224. package/dist/chunks/{mime-5a2crbnm.js → command-snnejgvy.js} +23 -23
  225. package/dist/chunks/{mime-k3bh1kct.js → command-svcw9x3w.js} +5 -5
  226. package/dist/chunks/{mime-dvf6tdtm.js → command-sx7mvmwx.js} +5 -5
  227. package/dist/chunks/{mime-syv4x271.js → command-syv4x271.js} +1 -1
  228. package/dist/chunks/{mime-r1v71m1q.js → command-t4g07myj.js} +11 -11
  229. package/dist/chunks/{mime-305smynn.js → command-t5mnyv20.js} +3 -3
  230. package/dist/chunks/{mime-tazgh4e4.js → command-tazgh4e4.js} +1 -1
  231. package/dist/chunks/{mime-tcezcvh9.js → command-tcezcvh9.js} +1 -1
  232. package/dist/chunks/{mime-rcxxtyg9.js → command-tdcm2knz.js} +32 -32
  233. package/dist/chunks/{mime-tdstcens.js → command-tdstcens.js} +1 -1
  234. package/dist/chunks/{mime-tkb22qbm.js → command-tkb22qbm.js} +2 -2
  235. package/dist/chunks/{mime-0paq2nw3.js → command-tm0kqsz3.js} +26 -2
  236. package/dist/chunks/{mime-k5ha2rxc.js → command-trs4csaq.js} +27 -27
  237. package/dist/chunks/{mime-1fxcdfpr.js → command-ts860kc8.js} +11 -11
  238. package/dist/chunks/{mime-tyytaxap.js → command-tyytaxap.js} +1 -1
  239. package/dist/chunks/{mime-v0es1rhs.js → command-v0es1rhs.js} +2 -2
  240. package/dist/chunks/{mime-v7p4zvkq.js → command-v7p4zvkq.js} +2 -2
  241. package/dist/chunks/{mime-ztkjbas2.js → command-vdwvtvgk.js} +54 -54
  242. package/dist/chunks/{mime-fzejrech.js → command-vea3bt9n.js} +8 -8
  243. package/dist/chunks/{mime-veqvce7d.js → command-veqvce7d.js} +1 -1
  244. package/dist/chunks/{mime-817wyjpp.js → command-vy8bzexn.js} +20 -20
  245. package/dist/chunks/{mime-vzs5sf6e.js → command-vzs5sf6e.js} +1 -1
  246. package/dist/chunks/{mime-w3wsvvr9.js → command-w3wsvvr9.js} +1 -1
  247. package/dist/chunks/{mime-rkg4v3e5.js → command-waskdk5r.js} +9 -9
  248. package/dist/chunks/{mime-wd87259q.js → command-wd87259q.js} +1 -1
  249. package/dist/chunks/{mime-gsb0ytgh.js → command-wggd68j5.js} +4 -4
  250. package/dist/chunks/{mime-ft8f0j73.js → command-wh1armcy.js} +30 -30
  251. package/dist/chunks/{mime-6yz0wx8n.js → command-wh6zw745.js} +5 -5
  252. package/dist/chunks/{mime-1ffvrpkg.js → command-wjr9rjd7.js} +9 -9
  253. package/dist/chunks/{mime-nyq6zjbq.js → command-wkrrhx1g.js} +18 -18
  254. package/dist/chunks/{mime-vz1740cg.js → command-wtkbvwtp.js} +25 -25
  255. package/dist/chunks/{mime-b5expwxh.js → command-wymw8b6n.js} +12 -12
  256. package/dist/chunks/{mime-r9gmq3a3.js → command-x4e9fr25.js} +2 -2
  257. package/dist/chunks/{mime-b5pctew3.js → command-x7m2pq7s.js} +9 -9
  258. package/dist/chunks/{mime-cy5d7jcg.js → command-x7q2mydz.js} +6 -6
  259. package/dist/chunks/command-x8196b4w.js +253 -0
  260. package/dist/chunks/{mime-9gagznbj.js → command-xmmcf9bt.js} +5 -5
  261. package/dist/chunks/{mime-zdssxewb.js → command-xpgsdcx2.js} +8 -8
  262. package/dist/chunks/{mime-t44n0djv.js → command-xxc15cb4.js} +17 -17
  263. package/dist/chunks/{mime-y1fvbwt7.js → command-y1fvbwt7.js} +1 -1
  264. package/dist/chunks/{mime-dpkg50ah.js → command-y71avatq.js} +4 -4
  265. package/dist/chunks/{mime-hdnmq8jc.js → command-y7ppa9zv.js} +14 -14
  266. package/dist/chunks/{mime-cjdmztnd.js → command-y9y6emgs.js} +36 -36
  267. package/dist/chunks/{mime-28rmsg7j.js → command-yabdq57b.js} +15 -15
  268. package/dist/chunks/{mime-d0k1g5nx.js → command-ycjb11n5.js} +6 -6
  269. package/dist/chunks/{mime-c74pnqn7.js → command-yk0w1sxf.js} +5 -5
  270. package/dist/chunks/{mime-z0bkrqjs.js → command-z0bkrqjs.js} +1 -1
  271. package/dist/chunks/{mime-564q7t6e.js → command-z463bfa6.js} +19 -19
  272. package/dist/chunks/{mime-4b2pdyzr.js → command-z4zmw5wd.js} +43 -43
  273. package/dist/chunks/{mime-ctdy4p88.js → command-z65krm0a.js} +18 -18
  274. package/dist/chunks/{mime-2eqf98j4.js → command-zc7432er.js} +30 -30
  275. package/dist/chunks/{mime-bbmgsf8y.js → command-zkgp92a0.js} +16 -16
  276. package/dist/chunks/{mime-kbkgrfea.js → command-zmekajch.js} +11 -11
  277. package/dist/chunks/{mime-q4eqpz6z.js → command-zq51jzx2.js} +21 -21
  278. package/dist/chunks/{mime-zr2ceqn5.js → command-zr2ceqn5.js} +1 -1
  279. package/dist/chunks/{mime-7t45mqen.js → command-zryp2me0.js} +23 -23
  280. package/dist/chunks/{mime-1vdt07et.js → command-ztm4jwfz.js} +4 -4
  281. package/dist/chunks/{mime-zxq2ej10.js → command-zxq2ej10.js} +1 -1
  282. package/dist/chunks/{mime-vfjhn2wd.js → command-zy43x3f1.js} +4 -4
  283. package/dist/chunks/{mime-s674p844.js → command-zyfyd078.js} +2 -2
  284. package/dist/chunks/{mime-ydp8pw23.js → command-zynkq0bw.js} +10 -10
  285. package/dist/chunks/{mime-xyn3q1e0.js → command-zzqs5kr4.js} +49 -49
  286. package/dist/codemode/catalog.js +1 -1
  287. package/dist/codemode/instructions.js +5 -5
  288. package/dist/codemode/tool.js +3 -3
  289. package/dist/codemode/web.js +1 -1
  290. package/dist/command.js +87 -87
  291. package/dist/config/discovery.js +84 -84
  292. package/dist/config/markdown.js +1 -1
  293. package/dist/config/normalize.js +101 -101
  294. package/dist/config/plugin/agent.js +120 -120
  295. package/dist/config/plugin/command.js +209 -209
  296. package/dist/config/plugin/compaction.js +156 -156
  297. package/dist/config/plugin/compatibility.js +136 -136
  298. package/dist/config/plugin/entry-observer.js +1 -1
  299. package/dist/config/plugin/formatter.js +119 -119
  300. package/dist/config/plugin/image.js +118 -118
  301. package/dist/config/plugin/instruction.js +92 -92
  302. package/dist/config/plugin/location-watcher.js +120 -120
  303. package/dist/config/plugin/mcp.js +127 -127
  304. package/dist/config/plugin/policy.js +119 -119
  305. package/dist/config/plugin/provider.js +118 -118
  306. package/dist/config/plugin/reference.js +120 -120
  307. package/dist/config/plugin/shell.js +120 -120
  308. package/dist/config/plugin/skill-file.js +104 -104
  309. package/dist/config/plugin/skill.js +139 -139
  310. package/dist/config/plugin/snapshot.js +118 -118
  311. package/dist/config/plugin/source.js +121 -121
  312. package/dist/config/plugin/tool-output.js +119 -119
  313. package/dist/config/plugin/websearch.js +119 -119
  314. package/dist/config/plugin/worktree.js +120 -120
  315. package/dist/config/variable.js +3 -3
  316. package/dist/config/watch.js +1 -1
  317. package/dist/config.js +123 -123
  318. package/dist/credential/sql.js +2 -2
  319. package/dist/credential.js +87 -87
  320. package/dist/database/database.js +68 -68
  321. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  322. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  323. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  324. package/dist/database/drizzle/index.js +15 -15
  325. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  327. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  328. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  329. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  330. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  335. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  336. package/dist/database/drizzle.js +16 -16
  337. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  338. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  339. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  340. package/dist/database/migration/20260225215848_workspace.js +1 -1
  341. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  342. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  343. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  344. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  345. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  346. package/dist/database/migration/20260323234822_events.js +1 -1
  347. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  348. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  349. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  350. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  351. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  352. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  353. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  354. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  355. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  356. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  357. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  358. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  359. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  360. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  361. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  362. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  363. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  364. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  365. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  366. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  367. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  368. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  369. package/dist/database/migration/20260611035744_credential.js +1 -1
  370. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  371. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  372. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  373. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  374. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  375. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  376. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  377. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  378. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  379. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  380. package/dist/database/migration/20260812213948_worktree.js +1 -1
  381. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  382. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  383. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  384. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  385. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  386. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  387. package/dist/database/migration.gen.js +51 -51
  388. package/dist/database/migration.js +53 -53
  389. package/dist/database/path.js +2 -2
  390. package/dist/database/schema.gen.js +1 -1
  391. package/dist/database/schema.sql.js +1 -1
  392. package/dist/database/sqlite.bun.js +1 -1
  393. package/dist/database/sqlite.js +1 -1
  394. package/dist/database/sqlite.node.js +1 -1
  395. package/dist/database/sqlite.workerd.js +1 -1
  396. package/dist/database/v1-migration.bun.js +78 -78
  397. package/dist/database/v1-migration.js +1 -1
  398. package/dist/effect/app-node-builder.js +368 -368
  399. package/dist/effect/app-node-platform.js +2 -2
  400. package/dist/effect/keyed-mutex.js +3 -3
  401. package/dist/effect/websocket-constructor.js +1 -1
  402. package/dist/environment/driver.js +1 -1
  403. package/dist/environment/environment.js +95 -95
  404. package/dist/environment/exec-defaults.js +2 -2
  405. package/dist/environment/files.js +1 -1
  406. package/dist/environment/index.js +95 -95
  407. package/dist/environment/local.js +2 -2
  408. package/dist/environment/memory.js +2 -2
  409. package/dist/environment/unavailable.js +3 -3
  410. package/dist/event/sql.js +1 -1
  411. package/dist/event-logger.js +72 -72
  412. package/dist/file-access.js +106 -106
  413. package/dist/file-mutation.js +96 -96
  414. package/dist/file-retention.js +1 -1
  415. package/dist/filesystem/fff.bun.js +2 -2
  416. package/dist/filesystem/fff.js +1 -1
  417. package/dist/filesystem/fff.node.js +2 -2
  418. package/dist/filesystem/fff.workerd.js +2 -2
  419. package/dist/filesystem/location-watcher-policy.js +6 -6
  420. package/dist/filesystem/location-watcher.js +222 -222
  421. package/dist/filesystem/protected.js +1 -1
  422. package/dist/filesystem/search.js +105 -105
  423. package/dist/filesystem/watcher-binding.js +3 -3
  424. package/dist/filesystem/watcher.js +15 -15
  425. package/dist/filesystem.js +108 -108
  426. package/dist/form.js +72 -72
  427. package/dist/formatter/builtins.js +4 -4
  428. package/dist/formatter.js +89 -89
  429. package/dist/generate.js +105 -105
  430. package/dist/git.js +6 -6
  431. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  432. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  433. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  434. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  435. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  436. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  437. package/dist/github-copilot/copilot-provider.js +17 -17
  438. package/dist/github-copilot/models.js +101 -101
  439. package/dist/github-copilot/openai-compatible-error.js +1 -1
  440. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  441. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  442. package/dist/github-copilot/responses/openai-error.js +1 -1
  443. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  444. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  445. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  446. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  447. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  448. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  449. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  450. package/dist/image/photon.js +2 -2
  451. package/dist/image.js +6 -6
  452. package/dist/instance/service.js +5 -5
  453. package/dist/instance.js +359 -359
  454. package/dist/instruction-discovery.js +87 -87
  455. package/dist/instructions/builtins.js +89 -89
  456. package/dist/instructions/index.js +5 -5
  457. package/dist/integration/connection.js +3 -3
  458. package/dist/integration.js +89 -89
  459. package/dist/job.js +80 -80
  460. package/dist/kv/sql.js +2 -2
  461. package/dist/kv.js +71 -71
  462. package/dist/location-activity.js +133 -133
  463. package/dist/location-lifecycle.js +109 -109
  464. package/dist/location-service-map.js +88 -88
  465. package/dist/location-services.js +356 -356
  466. package/dist/location.js +83 -83
  467. package/dist/managed-policy.js +8 -8
  468. package/dist/mcp/client.js +93 -93
  469. package/dist/mcp/index.js +109 -109
  470. package/dist/mcp/instructions.js +129 -129
  471. package/dist/mcp/oauth.js +80 -80
  472. package/dist/mcp/stdio.js +92 -92
  473. package/dist/mime.js +1 -1
  474. package/dist/modal/models.js +101 -101
  475. package/dist/model-resolver.js +100 -100
  476. package/dist/model.js +102 -102
  477. package/dist/models-dev.js +99 -99
  478. package/dist/oauth/page.js +1 -1
  479. package/dist/permission/saved.js +82 -82
  480. package/dist/permission/sql.js +5 -5
  481. package/dist/permission.js +117 -117
  482. package/dist/persistent-pty/binary.bun.js +1 -1
  483. package/dist/persistent-pty/daemon.js +1 -1
  484. package/dist/persistent-pty/index.js +90 -90
  485. package/dist/persistent-pty/pty-binding.js +1 -1
  486. package/dist/persistent-pty.js +77 -77
  487. package/dist/plugin/agent.js +78 -78
  488. package/dist/plugin/command.js +104 -104
  489. package/dist/plugin/hooks.js +5 -5
  490. package/dist/plugin/host.js +213 -213
  491. package/dist/plugin/identity.js +3 -3
  492. package/dist/plugin/instance.js +5 -5
  493. package/dist/plugin/internal.js +331 -331
  494. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  495. package/dist/plugin/models-dev.js +98 -98
  496. package/dist/plugin/module.js +119 -119
  497. package/dist/plugin/optimize.js +2 -2
  498. package/dist/plugin/plan.js +104 -104
  499. package/dist/plugin/promise.js +1 -1
  500. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  501. package/dist/plugin/provider/azure.js +118 -119
  502. package/dist/plugin/provider/cerebras.js +1 -1
  503. package/dist/plugin/provider/chatgpt.js +96 -96
  504. package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
  505. package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
  506. package/dist/plugin/provider/cohere.js +2 -2
  507. package/dist/plugin/provider/configured.js +114 -114
  508. package/dist/plugin/provider/databricks.js +1 -1
  509. package/dist/plugin/provider/digitalocean.js +95 -95
  510. package/dist/plugin/provider/dynamic.js +2 -2
  511. package/dist/plugin/provider/factory.js +1 -1
  512. package/dist/plugin/provider/github-copilot.js +97 -97
  513. package/dist/plugin/provider/gitlab.js +95 -95
  514. package/dist/plugin/provider/google-vertex.js +115 -115
  515. package/dist/plugin/provider/kilo.js +1 -1
  516. package/dist/plugin/provider/llmgateway.js +80 -80
  517. package/dist/plugin/provider/lmstudio.js +127 -127
  518. package/dist/plugin/provider/local.js +124 -124
  519. package/dist/plugin/provider/modal.js +94 -94
  520. package/dist/plugin/provider/neon.js +1 -1
  521. package/dist/plugin/provider/nvidia.js +1 -1
  522. package/dist/plugin/provider/ollama.js +127 -127
  523. package/dist/plugin/provider/openai.js +95 -95
  524. package/dist/plugin/provider/opencode.js +99 -99
  525. package/dist/plugin/provider/openrouter.js +93 -93
  526. package/dist/plugin/provider/perplexity.js +2 -2
  527. package/dist/plugin/provider/poe.js +81 -81
  528. package/dist/plugin/provider/prompt-cache-key.js +92 -92
  529. package/dist/plugin/provider/sap-ai-core.js +93 -93
  530. package/dist/plugin/provider/sdk-factory.js +1 -1
  531. package/dist/plugin/provider/snowflake-cortex.js +117 -117
  532. package/dist/plugin/provider/vercel.js +92 -92
  533. package/dist/plugin/provider/vllm.js +127 -127
  534. package/dist/plugin/provider/xai.js +93 -93
  535. package/dist/plugin/provider/zenmux.js +1 -1
  536. package/dist/plugin/provider.js +169 -169
  537. package/dist/plugin/sdk.js +78 -78
  538. package/dist/plugin/service.js +3 -3
  539. package/dist/plugin/skill.js +134 -134
  540. package/dist/plugin/source-directory.js +1 -1
  541. package/dist/plugin/supervisor.js +350 -350
  542. package/dist/plugin/tool-input-repair.js +4 -4
  543. package/dist/plugin/update.js +6 -6
  544. package/dist/plugin/vcs/git.js +88 -88
  545. package/dist/plugin/vcs/hg.js +88 -88
  546. package/dist/plugin/verbosity.js +95 -95
  547. package/dist/plugin/warming.js +116 -116
  548. package/dist/plugin/websearch/exa.js +7 -7
  549. package/dist/plugin/websearch/firecrawl.js +8 -8
  550. package/dist/plugin/websearch/index.js +9 -9
  551. package/dist/plugin/websearch/mcp.js +6 -6
  552. package/dist/plugin/websearch/parallel.js +8 -8
  553. package/dist/plugin/websearch/tavily.js +6 -6
  554. package/dist/plugin/websearch/tinyfish.js +8 -8
  555. package/dist/plugin.js +220 -220
  556. package/dist/project/schema.js +2 -2
  557. package/dist/project/sql.js +4 -4
  558. package/dist/project.js +82 -82
  559. package/dist/provider.js +103 -103
  560. package/dist/pty/protocol.js +1 -1
  561. package/dist/pty/ticket.js +1 -1
  562. package/dist/pty.js +93 -93
  563. package/dist/reference/instructions.js +91 -91
  564. package/dist/reference.js +89 -89
  565. package/dist/repository-cache.js +83 -83
  566. package/dist/repository.js +1 -1
  567. package/dist/ripgrep/binary.js +2 -2
  568. package/dist/ripgrep.js +99 -99
  569. package/dist/rpc.js +88 -88
  570. package/dist/schema.js +1 -1
  571. package/dist/session/affinity.js +1 -1
  572. package/dist/session/command.js +76 -76
  573. package/dist/session/compaction.js +137 -137
  574. package/dist/session/context.js +155 -155
  575. package/dist/session/diff.js +90 -90
  576. package/dist/session/environment.js +5 -5
  577. package/dist/session/error.js +7 -7
  578. package/dist/session/event.js +1 -1
  579. package/dist/session/execution/restart.js +216 -216
  580. package/dist/session/execution.js +129 -129
  581. package/dist/session/generate.js +154 -154
  582. package/dist/session/history.js +15 -15
  583. package/dist/session/inbox.js +90 -90
  584. package/dist/session/info.js +3 -3
  585. package/dist/session/instruction-entry.js +79 -79
  586. package/dist/session/instruction-state.js +8 -8
  587. package/dist/session/instructions.js +99 -99
  588. package/dist/session/message-updater.js +2 -2
  589. package/dist/session/message.js +1 -1
  590. package/dist/session/model-request.js +122 -122
  591. package/dist/session/model-transport.js +9 -9
  592. package/dist/session/move.js +131 -131
  593. package/dist/session/projector.js +88 -88
  594. package/dist/session/prompt.js +107 -107
  595. package/dist/session/provider-context.js +3 -3
  596. package/dist/session/revert.js +92 -92
  597. package/dist/session/run-coordinator.js +3 -3
  598. package/dist/session/runner/index.js +3 -3
  599. package/dist/session/runner/llm.js +226 -226
  600. package/dist/session/runner/max-steps.js +1 -1
  601. package/dist/session/runner/model.js +100 -100
  602. package/dist/session/runner/publish-llm-event.js +115 -115
  603. package/dist/session/runner/retry.js +4 -4
  604. package/dist/session/runner/step.js +127 -127
  605. package/dist/session/runner/to-llm-message.js +2 -2
  606. package/dist/session/schema.js +5 -5
  607. package/dist/session/session.js +164 -164
  608. package/dist/session/shell.js +132 -132
  609. package/dist/session/skill.js +105 -105
  610. package/dist/session/sql.js +5 -5
  611. package/dist/session/stats.js +75 -75
  612. package/dist/session/store.js +87 -87
  613. package/dist/session/subagent-completion.js +1 -1
  614. package/dist/session/subagent-job.js +203 -203
  615. package/dist/session/system-prompt.js +1 -1
  616. package/dist/session/title.js +159 -159
  617. package/dist/session/to-session-error.js +113 -113
  618. package/dist/session/transfer.js +209 -209
  619. package/dist/session/usage.js +1 -1
  620. package/dist/session.js +213 -213
  621. package/dist/shell/parse.js +6 -6
  622. package/dist/shell/result.js +1 -1
  623. package/dist/shell/scan.js +1 -1
  624. package/dist/shell/select.js +9 -9
  625. package/dist/shell.js +134 -134
  626. package/dist/skill/discovery.js +6 -6
  627. package/dist/skill/instructions.js +107 -107
  628. package/dist/skill.js +108 -108
  629. package/dist/snapshot.js +95 -95
  630. package/dist/state.js +1 -1
  631. package/dist/tool/html-markdown.js +1 -1
  632. package/dist/tool/http-body.js +1 -1
  633. package/dist/tool/mcp.js +122 -122
  634. package/dist/tool/plugin/edit.js +122 -122
  635. package/dist/tool/plugin/file-diff.js +1 -1
  636. package/dist/tool/plugin/glob.js +124 -124
  637. package/dist/tool/plugin/grep.js +124 -124
  638. package/dist/tool/plugin/mcp-resource.js +119 -119
  639. package/dist/tool/plugin/opencode.js +111 -111
  640. package/dist/tool/plugin/patch.js +124 -124
  641. package/dist/tool/plugin/question.js +105 -105
  642. package/dist/tool/plugin/read.js +127 -127
  643. package/dist/tool/plugin/shell.js +212 -212
  644. package/dist/tool/plugin/skill.js +113 -113
  645. package/dist/tool/plugin/subagent.js +214 -214
  646. package/dist/tool/plugin/webfetch.js +114 -114
  647. package/dist/tool/plugin/websearch.js +116 -116
  648. package/dist/tool/plugin/write.js +124 -124
  649. package/dist/tool/read-filesystem.js +102 -102
  650. package/dist/tool/runtime.js +1 -1
  651. package/dist/tool-output.js +7 -7
  652. package/dist/tool.js +16 -16
  653. package/dist/types/plugin/provider/azure.d.ts +2 -3
  654. package/dist/types/v1/config/migrate.d.ts +9 -3
  655. package/dist/types/v1/config/provider-options.d.ts +8 -0
  656. package/dist/util/error-summary.js +1 -1
  657. package/dist/util/error.js +1 -1
  658. package/dist/util/git-executable.js +2 -2
  659. package/dist/util/iife.js +1 -1
  660. package/dist/util/lazy.js +1 -1
  661. package/dist/util/slug.js +1 -1
  662. package/dist/util/token.js +1 -1
  663. package/dist/util/which.js +1 -1
  664. package/dist/util/wildcard.js +1 -1
  665. package/dist/v1/config/agent.js +7 -7
  666. package/dist/v1/config/command.js +5 -5
  667. package/dist/v1/config/error.js +4 -4
  668. package/dist/v1/config/mcp.js +4 -4
  669. package/dist/v1/config/migrate.js +94 -94
  670. package/dist/v1/config/permission.js +7 -7
  671. package/dist/v1/config/plugin.js +1 -1
  672. package/dist/v1/config/provider-options.js +3 -1
  673. package/dist/v1/config/provider.js +4 -4
  674. package/dist/variant.js +93 -93
  675. package/dist/vcs/patch.js +1 -1
  676. package/dist/vcs.js +91 -91
  677. package/dist/websearch.js +86 -86
  678. package/dist/wellknown/plugin.js +78 -78
  679. package/dist/wellknown.js +79 -79
  680. package/dist/workspace/driver.js +7 -7
  681. package/dist/workspace/sql.js +1 -1
  682. package/dist/workspace.js +84 -84
  683. package/dist/worktree/directory.js +2 -2
  684. package/dist/worktree/git.js +10 -10
  685. package/dist/worktree/sql.js +5 -5
  686. package/dist/worktree/strategies.js +91 -91
  687. package/dist/worktree.js +98 -98
  688. package/package.json +8 -8
  689. package/dist/chunks/mime-5r09gv9w.js +0 -26
  690. package/dist/chunks/mime-9sh4wc5j.js +0 -18
  691. package/dist/chunks/mime-aars6rd8.js +0 -253
  692. /package/dist/chunks/{mime-0qkdqm5v.js → command-0qkdqm5v.js} +0 -0
  693. /package/dist/chunks/{mime-0zkw76rk.js → command-0zkw76rk.js} +0 -0
  694. /package/dist/chunks/{mime-17cy0kzp.js → command-17cy0kzp.js} +0 -0
  695. /package/dist/chunks/{mime-1cnp2v09.js → command-1cnp2v09.js} +0 -0
  696. /package/dist/chunks/{mime-1kg9ymc8.js → command-1kg9ymc8.js} +0 -0
  697. /package/dist/chunks/{mime-24dcb14g.js → command-24dcb14g.js} +0 -0
  698. /package/dist/chunks/{mime-2710q6r3.js → command-2710q6r3.js} +0 -0
  699. /package/dist/chunks/{mime-2axfhc9x.js → command-2axfhc9x.js} +0 -0
  700. /package/dist/chunks/{mime-2bv980vf.js → command-2bv980vf.js} +0 -0
  701. /package/dist/chunks/{mime-2c3vjs8z.js → command-2c3vjs8z.js} +0 -0
  702. /package/dist/chunks/{mime-359p4xyc.js → command-359p4xyc.js} +0 -0
  703. /package/dist/chunks/{mime-3asan66x.js → command-3asan66x.js} +0 -0
  704. /package/dist/chunks/{mime-3t0ybcrp.js → command-3t0ybcrp.js} +0 -0
  705. /package/dist/chunks/{mime-3v8g72cx.js → command-3v8g72cx.js} +0 -0
  706. /package/dist/chunks/{mime-3wcehsnq.js → command-3wcehsnq.js} +0 -0
  707. /package/dist/chunks/{mime-43n2bw4t.js → command-43n2bw4t.js} +0 -0
  708. /package/dist/chunks/{mime-4knz6hnm.js → command-4knz6hnm.js} +0 -0
  709. /package/dist/chunks/{mime-4vcrnpx2.js → command-4vcrnpx2.js} +0 -0
  710. /package/dist/chunks/{mime-4y7fprxs.js → command-4y7fprxs.js} +0 -0
  711. /package/dist/chunks/{mime-53557ph1.js → command-53557ph1.js} +0 -0
  712. /package/dist/chunks/{mime-550bvhaj.js → command-550bvhaj.js} +0 -0
  713. /package/dist/chunks/{mime-6prwharc.js → command-6prwharc.js} +0 -0
  714. /package/dist/chunks/{mime-6q2bdcd1.js → command-6q2bdcd1.js} +0 -0
  715. /package/dist/chunks/{mime-7akdwqpd.js → command-7akdwqpd.js} +0 -0
  716. /package/dist/chunks/{mime-7m9af43g.js → command-7m9af43g.js} +0 -0
  717. /package/dist/chunks/{mime-822emrt2.js → command-822emrt2.js} +0 -0
  718. /package/dist/chunks/{mime-84wd9syh.js → command-84wd9syh.js} +0 -0
  719. /package/dist/chunks/{mime-88xbtdfr.js → command-88xbtdfr.js} +0 -0
  720. /package/dist/chunks/{mime-8n3pysct.js → command-8n3pysct.js} +0 -0
  721. /package/dist/chunks/{mime-8wj87zfr.js → command-8wj87zfr.js} +0 -0
  722. /package/dist/chunks/{mime-9a4afbnw.js → command-9a4afbnw.js} +0 -0
  723. /package/dist/chunks/{mime-9rqn6x4v.js → command-9rqn6x4v.js} +0 -0
  724. /package/dist/chunks/{mime-a6k6eb26.js → command-a6k6eb26.js} +0 -0
  725. /package/dist/chunks/{mime-af5trqkr.js → command-af5trqkr.js} +0 -0
  726. /package/dist/chunks/{mime-afrmfg78.js → command-afrmfg78.js} +0 -0
  727. /package/dist/chunks/{mime-aqzs7mqg.js → command-aqzs7mqg.js} +0 -0
  728. /package/dist/chunks/{mime-atq7p7m5.js → command-atq7p7m5.js} +0 -0
  729. /package/dist/chunks/{mime-bkyjaxrp.js → command-bkyjaxrp.js} +0 -0
  730. /package/dist/chunks/{mime-bmr6ed5q.js → command-bmr6ed5q.js} +0 -0
  731. /package/dist/chunks/{mime-bw78ga2c.js → command-bw78ga2c.js} +0 -0
  732. /package/dist/chunks/{mime-cf4snx6d.js → command-cf4snx6d.js} +0 -0
  733. /package/dist/chunks/{mime-cvy3z8tj.js → command-cvy3z8tj.js} +0 -0
  734. /package/dist/chunks/{mime-d9fn303g.js → command-d9fn303g.js} +0 -0
  735. /package/dist/chunks/{mime-d9jj8t3e.js → command-d9jj8t3e.js} +0 -0
  736. /package/dist/chunks/{mime-dajrwvna.js → command-dajrwvna.js} +0 -0
  737. /package/dist/chunks/{mime-dap0rakb.js → command-dap0rakb.js} +0 -0
  738. /package/dist/chunks/{mime-df08tz66.js → command-df08tz66.js} +0 -0
  739. /package/dist/chunks/{mime-dy18nga0.js → command-dy18nga0.js} +0 -0
  740. /package/dist/chunks/{mime-e5kj55wp.js → command-e5kj55wp.js} +0 -0
  741. /package/dist/chunks/{mime-e73j6tqm.js → command-e73j6tqm.js} +0 -0
  742. /package/dist/chunks/{mime-ec1grn59.js → command-ec1grn59.js} +0 -0
  743. /package/dist/chunks/{mime-eh3zwz77.js → command-eh3zwz77.js} +0 -0
  744. /package/dist/chunks/{mime-emrn6kk6.js → command-emrn6kk6.js} +0 -0
  745. /package/dist/chunks/{mime-f0mxakyp.js → command-f0mxakyp.js} +0 -0
  746. /package/dist/chunks/{mime-f6n9ztr4.js → command-f6n9ztr4.js} +0 -0
  747. /package/dist/chunks/{mime-faypxj3z.js → command-faypxj3z.js} +0 -0
  748. /package/dist/chunks/{mime-fd410y7t.js → command-fd410y7t.js} +0 -0
  749. /package/dist/chunks/{mime-g4wezp1m.js → command-g4wezp1m.js} +0 -0
  750. /package/dist/chunks/{mime-g86h250q.js → command-g86h250q.js} +0 -0
  751. /package/dist/chunks/{mime-gebd4c9n.js → command-gebd4c9n.js} +0 -0
  752. /package/dist/chunks/{mime-gftt206x.js → command-gftt206x.js} +0 -0
  753. /package/dist/chunks/{mime-hk9envan.js → command-hk9envan.js} +0 -0
  754. /package/dist/chunks/{mime-j2ntwpah.js → command-j2ntwpah.js} +0 -0
  755. /package/dist/chunks/{mime-j5zkgpj8.js → command-j5zkgpj8.js} +0 -0
  756. /package/dist/chunks/{mime-jjkms2e6.js → command-jjkms2e6.js} +0 -0
  757. /package/dist/chunks/{mime-jr7sbwjy.js → command-jr7sbwjy.js} +0 -0
  758. /package/dist/chunks/{mime-jwfs4k6c.js → command-jwfs4k6c.js} +0 -0
  759. /package/dist/chunks/{mime-jze0r7bz.js → command-jze0r7bz.js} +0 -0
  760. /package/dist/chunks/{mime-jzg6c2d5.js → command-jzg6c2d5.js} +0 -0
  761. /package/dist/chunks/{mime-m18g726c.js → command-m18g726c.js} +0 -0
  762. /package/dist/chunks/{mime-mp448xyj.js → command-mp448xyj.js} +0 -0
  763. /package/dist/chunks/{mime-msx8hqn2.js → command-msx8hqn2.js} +0 -0
  764. /package/dist/chunks/{mime-n05xt0ee.js → command-n05xt0ee.js} +0 -0
  765. /package/dist/chunks/{mime-n3j8tn72.js → command-n3j8tn72.js} +0 -0
  766. /package/dist/chunks/{mime-njntx4h6.js → command-njntx4h6.js} +0 -0
  767. /package/dist/chunks/{mime-pkyv6v7h.js → command-pkyv6v7h.js} +0 -0
  768. /package/dist/chunks/{mime-pyv0edze.js → command-pyv0edze.js} +0 -0
  769. /package/dist/chunks/{mime-q3sfg36h.js → command-q3sfg36h.js} +0 -0
  770. /package/dist/chunks/{mime-q74kybfr.js → command-q74kybfr.js} +0 -0
  771. /package/dist/chunks/{mime-qaymkmh1.js → command-qaymkmh1.js} +0 -0
  772. /package/dist/chunks/{mime-qb87gjwd.js → command-qb87gjwd.js} +0 -0
  773. /package/dist/chunks/{mime-qfa1cgps.js → command-qfa1cgps.js} +0 -0
  774. /package/dist/chunks/{mime-qg3g05ea.js → command-qg3g05ea.js} +0 -0
  775. /package/dist/chunks/{mime-qrg20bc0.js → command-qrg20bc0.js} +0 -0
  776. /package/dist/chunks/{mime-rcb2kzg1.js → command-rcb2kzg1.js} +0 -0
  777. /package/dist/chunks/{mime-sdp7kfr6.js → command-sdp7kfr6.js} +0 -0
  778. /package/dist/chunks/{mime-ssg3fenm.js → command-ssg3fenm.js} +0 -0
  779. /package/dist/chunks/{mime-ve7vex1e.js → command-ve7vex1e.js} +0 -0
  780. /package/dist/chunks/{mime-w803qqfp.js → command-w803qqfp.js} +0 -0
  781. /package/dist/chunks/{mime-wc3fc9cn.js → command-wc3fc9cn.js} +0 -0
  782. /package/dist/chunks/{mime-wer8tq1h.js → command-wer8tq1h.js} +0 -0
  783. /package/dist/chunks/{mime-wtztk69x.js → command-wtztk69x.js} +0 -0
  784. /package/dist/chunks/{mime-x0ckcb58.js → command-x0ckcb58.js} +0 -0
  785. /package/dist/chunks/{mime-x61499pn.js → command-x61499pn.js} +0 -0
  786. /package/dist/chunks/{mime-y44na4kk.js → command-y44na4kk.js} +0 -0
  787. /package/dist/chunks/{mime-y8f7s663.js → command-y8f7s663.js} +0 -0
  788. /package/dist/chunks/{mime-ygaqb7jw.js → command-ygaqb7jw.js} +0 -0
  789. /package/dist/chunks/{mime-ym463w8f.js → command-ym463w8f.js} +0 -0
  790. /package/dist/chunks/{mime-z5v4ffb3.js → command-z5v4ffb3.js} +0 -0
  791. /package/dist/chunks/{mime-z9919s4g.js → command-z9919s4g.js} +0 -0
@@ -1,47 +1,47 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./mime-z5v4ffb3.js";
3
+ } from "./command-z5v4ffb3.js";
4
4
  import {
5
5
  WorktreeError2
6
- } from "./mime-k3bh1kct.js";
6
+ } from "./command-svcw9x3w.js";
7
7
  import {
8
8
  Slug2
9
- } from "./mime-gebd4c9n.js";
9
+ } from "./command-gebd4c9n.js";
10
10
  import {
11
11
  Service85,
12
12
  node89
13
- } from "./mime-8vg2ek78.js";
13
+ } from "./command-rhv7vgb3.js";
14
14
  import {
15
15
  Service84,
16
16
  node88
17
- } from "./mime-p75g0t75.js";
17
+ } from "./command-b4fmh4gz.js";
18
18
  import {
19
19
  ProjectTable2
20
- } from "./mime-c41wscbt.js";
20
+ } from "./command-c41wscbt.js";
21
21
  import {
22
22
  WorktreeTable2
23
- } from "./mime-c8ax2afj.js";
23
+ } from "./command-c8ax2afj.js";
24
24
  import {
25
25
  ID17,
26
26
  NotFoundError11
27
- } from "./mime-z2tkkdyw.js";
27
+ } from "./command-0r9t40ws.js";
28
28
  import {
29
29
  Ref4
30
- } from "./mime-r9gmq3a3.js";
30
+ } from "./command-x4e9fr25.js";
31
31
  import {
32
- Service70,
33
- node74
34
- } from "./mime-50gcym7f.js";
32
+ Service74,
33
+ node78
34
+ } from "./command-s5phpar0.js";
35
35
  import {
36
36
  DirectoryUnavailableError2,
37
37
  canonical2
38
- } from "./mime-0vbcp93d.js";
38
+ } from "./command-0vbcp93d.js";
39
39
  import {
40
- Service69
41
- } from "./mime-bbmgsf8y.js";
40
+ Service41
41
+ } from "./command-zkgp92a0.js";
42
42
  import {
43
43
  __export
44
- } from "./mime-9rqn6x4v.js";
44
+ } from "./command-9rqn6x4v.js";
45
45
 
46
46
  // src/worktree.ts
47
47
  var exports_worktree2 = {};
@@ -49,19 +49,19 @@ __export(exports_worktree2, {
49
49
  CreateInput: () => CreateInput3,
50
50
  DestinationExistsError: () => DestinationExistsError2,
51
51
  DirectoryUnavailableError: () => DirectoryUnavailableError2,
52
- Event: () => Event14,
53
- Info: () => Info19,
52
+ Event: () => Event6,
53
+ Info: () => Info7,
54
54
  InvalidDirectoryError: () => InvalidDirectoryError2,
55
55
  List: () => List2,
56
56
  ListEntry: () => ListEntry3,
57
57
  OperationError: () => OperationError2,
58
58
  RemoveInput: () => RemoveInput2,
59
- Service: () => Service68,
59
+ Service: () => Service40,
60
60
  SourceDirectoryNotFoundError: () => SourceDirectoryNotFoundError2,
61
61
  StrategyID: () => StrategyID2,
62
62
  StrategyUnavailableError: () => StrategyUnavailableError2,
63
63
  Worktree: () => exports_worktree2,
64
- node: () => node72
64
+ node: () => node43
65
65
  });
66
66
  import { Context, Effect, Layer, Schema } from "effect";
67
67
  import { and, asc, desc, eq, isNull, sql } from "drizzle-orm";
@@ -75,7 +75,7 @@ import { OperationError as OperationError2 } from "@opencode/schema/worktree";
75
75
  var StrategyID2 = Worktree.StrategyID;
76
76
  var CreateInput3 = Worktree.CreateInput;
77
77
  var RemoveInput2 = Worktree.RemoveInput;
78
- var Info19 = Worktree.Info;
78
+ var Info7 = Worktree.Info;
79
79
  var List2 = Worktree.List;
80
80
  var ListEntry3 = Worktree.ListEntry;
81
81
 
@@ -90,17 +90,17 @@ class InvalidDirectoryError2 extends Schema.TaggedError()("Worktree.InvalidDirec
90
90
 
91
91
  class StrategyUnavailableError2 extends Schema.TaggedError()("Worktree.StrategyUnavailableError", { strategy: StrategyID2 }) {
92
92
  }
93
- var Event14 = Worktree.Event;
93
+ var Event6 = Worktree.Event;
94
94
 
95
- class Service68 extends Context.Service()("@opencode/Worktree") {
95
+ class Service40 extends Context.Service()("@opencode/Worktree") {
96
96
  }
97
- var layer = Layer.effect(Service68, Effect.gen(function* () {
97
+ var layer = Layer.effect(Service40, Effect.gen(function* () {
98
98
  const fs = yield* FSUtil.Service;
99
99
  const database = yield* Service85;
100
100
  const db = database.db;
101
101
  const bus = yield* Service84;
102
102
  const processService = yield* AppProcess.Service;
103
- const locations = yield* Service70;
103
+ const locations = yield* Service74;
104
104
  const project = Effect.fnUntraced(function* (projectID) {
105
105
  const row = yield* db.select().from(ProjectTable2).where(eq(ProjectTable2.id, projectID)).get().pipe(Effect.orDie);
106
106
  if (!row)
@@ -115,11 +115,11 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
115
115
  const { Plugin } = yield* Effect.promise(() => import("../plugin.js"));
116
116
  const context = yield* locations.contextEffect(Ref4.make({ directory }));
117
117
  yield* Context.get(context, Plugin.Service).awaitActivation;
118
- return Context.get(context, Service69).get();
118
+ return Context.get(context, Service41).get();
119
119
  });
120
120
  const changed = Effect.fnUntraced(function* (projectID, update) {
121
121
  if (update)
122
- yield* bus.publish(Event14.Updated, { projectID });
122
+ yield* bus.publish(Event6.Updated, { projectID });
123
123
  });
124
124
  const ops = {
125
125
  list: Effect.fnUntraced(function* (projectID) {
@@ -246,7 +246,7 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
246
246
  })).pipe(Effect.orDie);
247
247
  yield* changed(input.projectID, changes.updated.length > 0 || changes.removed.length > 0);
248
248
  }, Effect.scoped);
249
- return Service68.of({
249
+ return Service40.of({
250
250
  list: Effect.fn("Worktree.list")(function* (input) {
251
251
  yield* project(input.projectID);
252
252
  return yield* ops.list(input.projectID);
@@ -256,10 +256,10 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
256
256
  refresh
257
257
  });
258
258
  }));
259
- var node72 = Node.makeGlobalNode({
260
- service: Service68,
259
+ var node43 = Node.makeGlobalNode({
260
+ service: Service40,
261
261
  layer,
262
- deps: [FSUtil.node, node88, node89, AppProcess.node, node74]
262
+ deps: [FSUtil.node, node88, node89, AppProcess.node, node78]
263
263
  });
264
264
  function operationError(strategy, operation, error) {
265
265
  if (error instanceof WorktreeError2 || error instanceof DirectoryUnavailableError2 || error instanceof Worktree.OperationError)
@@ -269,4 +269,4 @@ function operationError(strategy, operation, error) {
269
269
  });
270
270
  }
271
271
 
272
- export { StrategyID2, CreateInput3, RemoveInput2, Info19, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, Event14, Service68, node72, exports_worktree2, OperationError2 };
272
+ export { StrategyID2, CreateInput3, RemoveInput2, Info7, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, Event6, Service40, node43, exports_worktree2, OperationError2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./mime-9rqn6x4v.js";
3
+ } from "./command-9rqn6x4v.js";
4
4
 
5
5
  // src/session/usage.ts
6
6
  var exports_usage = {};
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  Timestamps2
3
- } from "./mime-qfa1cgps.js";
3
+ } from "./command-qfa1cgps.js";
4
4
  import {
5
5
  ProjectTable2
6
- } from "./mime-c41wscbt.js";
6
+ } from "./command-c41wscbt.js";
7
7
 
8
8
  // src/permission/sql.ts
9
9
  import { sqliteTable, text, uniqueIndex } from "drizzle-orm/sqlite-core";
@@ -1,11 +1,12 @@
1
1
  import {
2
2
  __export
3
- } from "./mime-9rqn6x4v.js";
3
+ } from "./command-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/provider-options.ts
6
6
  var exports_provider_options = {};
7
7
  __export(exports_provider_options, {
8
8
  ConfigProviderOptionsV1: () => exports_provider_options,
9
+ compatibleModel: () => compatibleModel2,
9
10
  model: () => model2,
10
11
  provider: () => provider2
11
12
  });
@@ -24,5 +25,28 @@ function provider2(options) {
24
25
  function model2(options) {
25
26
  return { ...options };
26
27
  }
28
+ var COMPATIBLE_KEYS = new Set([
29
+ "apiKey",
30
+ "baseURL",
31
+ "headers",
32
+ "body",
33
+ "extraBody",
34
+ "timeout",
35
+ "chunkTimeout",
36
+ "headerTimeout",
37
+ "disabled",
38
+ "reasoningEffort",
39
+ "textVerbosity",
40
+ "user",
41
+ "strictJsonSchema"
42
+ ]);
43
+ function compatibleModel2(options) {
44
+ const entries = Object.entries(options);
45
+ const body = Object.fromEntries(entries.filter(([key]) => !COMPATIBLE_KEYS.has(key)));
46
+ return {
47
+ settings: Object.fromEntries(entries.filter(([key]) => COMPATIBLE_KEYS.has(key))),
48
+ body: Object.keys(body).length ? body : undefined
49
+ };
50
+ }
27
51
 
28
- export { provider2, model2, exports_provider_options };
52
+ export { provider2, model2, compatibleModel2, exports_provider_options };
@@ -1,28 +1,28 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./mime-p75g0t75.js";
4
+ } from "./command-b4fmh4gz.js";
5
5
  import {
6
6
  shutdown2,
7
7
  create3
8
- } from "./mime-rdw6cm16.js";
8
+ } from "./command-rdw6cm16.js";
9
9
  import {
10
10
  Service81,
11
11
  node85
12
- } from "./mime-r9gmq3a3.js";
12
+ } from "./command-x4e9fr25.js";
13
13
  import {
14
14
  rewrite2,
15
- ID13,
15
+ ID9,
16
16
  modelSettings2,
17
17
  mergeOverlay2,
18
18
  mergeHeaders2,
19
- Service77,
20
- node81,
21
- Event17
22
- } from "./mime-b9hjh4zd.js";
19
+ Service68,
20
+ node72,
21
+ Event14
22
+ } from "./command-70az54m3.js";
23
23
  import {
24
24
  __export
25
- } from "./mime-9rqn6x4v.js";
25
+ } from "./command-9rqn6x4v.js";
26
26
 
27
27
  // src/model.ts
28
28
  var exports_model2 = {};
@@ -30,18 +30,18 @@ __export(exports_model2, {
30
30
  Capabilities: () => Capabilities2,
31
31
  Compatibility: () => Compatibility2,
32
32
  Cost: () => Cost2,
33
- Event: () => Event16,
33
+ Event: () => Event13,
34
34
  Family: () => Family2,
35
- ID: () => ID12,
36
- Info: () => Info21,
35
+ ID: () => ID8,
36
+ Info: () => Info17,
37
37
  Model: () => exports_model2,
38
38
  ReasoningField: () => ReasoningField2,
39
39
  Ref: () => Ref2,
40
- Service: () => Service76,
40
+ Service: () => Service66,
41
41
  VariantID: () => VariantID2,
42
42
  compatibility: () => compatibility2,
43
43
  mergeCapabilities: () => mergeCapabilities2,
44
- node: () => node80,
44
+ node: () => node70,
45
45
  parse: () => parse5,
46
46
  supportsText: () => supportsText2
47
47
  });
@@ -49,8 +49,8 @@ import { Model } from "@opencode/schema/model";
49
49
  import { Context, Effect, Layer, Stream } from "effect";
50
50
  import { makeLocationNode } from "@opencode/util/effect/app-node";
51
51
  import { freeze } from "immer";
52
- import { Event as Event16 } from "@opencode/schema/model";
53
- var ID12 = Model.ID;
52
+ import { Event as Event13 } from "@opencode/schema/model";
53
+ var ID8 = Model.ID;
54
54
  var VariantID2 = Model.VariantID;
55
55
  var Family2 = Model.Family;
56
56
  var ReasoningField2 = Model.ReasoningField;
@@ -66,12 +66,12 @@ var mergeCapabilities2 = (config, base) => {
66
66
  };
67
67
  var Cost2 = Model.Cost;
68
68
  var Ref2 = Model.Ref;
69
- var Info21 = Model.Info;
69
+ var Info17 = Model.Info;
70
70
 
71
- class Service76 extends Context.Service()("@opencode/Model") {
71
+ class Service66 extends Context.Service()("@opencode/Model") {
72
72
  }
73
- var layer = Layer.effect(Service76, Effect.gen(function* () {
74
- const providers = yield* Service77;
73
+ var layer = Layer.effect(Service66, Effect.gen(function* () {
74
+ const providers = yield* Service68;
75
75
  const bus = yield* Service84;
76
76
  const location = yield* Service81;
77
77
  let input;
@@ -118,7 +118,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
118
118
  const models = writable(providerID);
119
119
  if (!models)
120
120
  return;
121
- const model = draft(providerID, modelID) ?? Info21.default(providerID, modelID);
121
+ const model = draft(providerID, modelID) ?? Info17.default(providerID, modelID);
122
122
  update(model);
123
123
  model.id = modelID;
124
124
  model.providerID = providerID;
@@ -207,8 +207,8 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
207
207
  location: { directory: location.directory, workspaceID: location.workspaceID }
208
208
  });
209
209
  });
210
- yield* bus.subscribe(Event17.Updated).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
211
- return Service76.of({
210
+ yield* bus.subscribe(Event14.Updated).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
211
+ return Service66.of({
212
212
  transform: (update) => prepare.pipe(Effect.andThen(state.transform(update))),
213
213
  reload,
214
214
  get: Effect.fn("Model.get")((providerID, modelID) => read().pipe(Effect.map((value) => value.byProvider.get(providerID)?.get(modelID)))),
@@ -227,7 +227,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
227
227
  })
228
228
  });
229
229
  }));
230
- var node80 = makeLocationNode({ service: Service76, layer, deps: [node81, node88, node85] });
230
+ var node70 = makeLocationNode({ service: Service66, layer, deps: [node72, node88, node85] });
231
231
  function supportsText2(model) {
232
232
  return (model.capabilities.input.length === 0 || model.capabilities.input.some((item) => item.startsWith("text"))) && (model.capabilities.output.length === 0 || model.capabilities.output.some((item) => item.startsWith("text")));
233
233
  }
@@ -241,9 +241,9 @@ function compatibility2(input) {
241
241
  function parse5(input) {
242
242
  const index = input.indexOf("/");
243
243
  return {
244
- providerID: ID13.make(index === -1 ? input : input.slice(0, index)),
245
- modelID: ID12.make(index === -1 ? "" : input.slice(index + 1))
244
+ providerID: ID9.make(index === -1 ? input : input.slice(0, index)),
245
+ modelID: ID8.make(index === -1 ? "" : input.slice(index + 1))
246
246
  };
247
247
  }
248
248
 
249
- export { ID12, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, mergeCapabilities2, Cost2, Ref2, Info21, Service76, node80, supportsText2, compatibility2, parse5, exports_model2, Event16 };
249
+ export { ID8, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, mergeCapabilities2, Cost2, Ref2, Info17, Service66, node70, supportsText2, compatibility2, parse5, exports_model2, Event13 };
@@ -1,22 +1,22 @@
1
1
  import {
2
- Key3,
2
+ Key4,
3
3
  removed2,
4
- make19,
4
+ make21,
5
5
  diffByKey2
6
- } from "./mime-t550f9t1.js";
6
+ } from "./command-eaj1djv9.js";
7
7
  import {
8
8
  Summary2,
9
9
  summarize2,
10
10
  namespaceLine2
11
- } from "./mime-3fc6dm20.js";
11
+ } from "./command-3fc6dm20.js";
12
12
  import {
13
13
  __export
14
- } from "./mime-9rqn6x4v.js";
14
+ } from "./command-9rqn6x4v.js";
15
15
 
16
16
  // src/codemode/instructions.ts
17
- var exports_instructions4 = {};
18
- __export(exports_instructions4, {
19
- CodeModeInstructions: () => exports_instructions4,
17
+ var exports_instructions3 = {};
18
+ __export(exports_instructions3, {
19
+ CodeModeInstructions: () => exports_instructions3,
20
20
  make: () => make12,
21
21
  render: () => render2,
22
22
  update: () => update2
@@ -109,11 +109,11 @@ ${render2(current)}`;
109
109
  return delta;
110
110
  return replacement;
111
111
  }
112
- var key = Key3.make("core/codemode");
112
+ var key = Key4.make("core/codemode");
113
113
  var codec = Schema.toCodecJson(Summary2);
114
114
  var make12 = (inventory) => {
115
115
  const catalog = inventory === undefined ? removed2 : summarize2(inventory);
116
- return make19({
116
+ return make21({
117
117
  key,
118
118
  codec,
119
119
  read: Effect.succeed(catalog),
@@ -125,4 +125,4 @@ var make12 = (inventory) => {
125
125
  });
126
126
  };
127
127
 
128
- export { render2, update2, make12, exports_instructions4 };
128
+ export { render2, update2, make12, exports_instructions3 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./mime-9rqn6x4v.js";
3
+ } from "./command-9rqn6x4v.js";
4
4
 
5
5
  // src/database/sqlite.ts
6
6
  var exports_sqlite = {};
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./mime-z5v4ffb3.js";
3
+ } from "./command-z5v4ffb3.js";
4
4
  import {
5
5
  __export
6
- } from "./mime-9rqn6x4v.js";
6
+ } from "./command-9rqn6x4v.js";
7
7
 
8
8
  // src/project/schema.ts
9
9
  var exports_schema = {};
@@ -2,10 +2,10 @@ import {
2
2
  NotFound3,
3
3
  WrongKind2,
4
4
  Failed2
5
- } from "./mime-hgz4x7wa.js";
5
+ } from "./command-hgz4x7wa.js";
6
6
  import {
7
7
  __export
8
- } from "./mime-9rqn6x4v.js";
8
+ } from "./command-9rqn6x4v.js";
9
9
 
10
10
  // src/environment/memory.ts
11
11
  var exports_memory = {};
@@ -1,70 +1,70 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./mime-p75g0t75.js";
4
+ } from "./command-b4fmh4gz.js";
5
5
  import {
6
6
  Service81,
7
7
  node85
8
- } from "./mime-r9gmq3a3.js";
8
+ } from "./command-x4e9fr25.js";
9
9
  import {
10
- ID10,
11
- Service62,
12
- node65
13
- } from "./mime-q7sg16y8.js";
10
+ ID14,
11
+ Service78,
12
+ node82
13
+ } from "./command-rmpnsk58.js";
14
14
  import {
15
- NotFoundError8
16
- } from "./mime-t8g2rvm9.js";
15
+ NotFoundError9
16
+ } from "./command-h3k0sdzw.js";
17
17
  import {
18
- Service60,
19
- node63
20
- } from "./mime-pccmesk3.js";
18
+ Service77,
19
+ node81
20
+ } from "./command-mq9nb5yf.js";
21
21
  import {
22
22
  match2
23
- } from "./mime-y1fvbwt7.js";
23
+ } from "./command-y1fvbwt7.js";
24
24
  import {
25
- Service59,
26
- node62
27
- } from "./mime-9cbcaerr.js";
25
+ Service76,
26
+ node80
27
+ } from "./command-dehk00jt.js";
28
28
  import {
29
- Service61,
30
- node64
31
- } from "./mime-c27esgm9.js";
29
+ Service79,
30
+ node83
31
+ } from "./command-a2qe2ev9.js";
32
32
  import {
33
33
  __export
34
- } from "./mime-9rqn6x4v.js";
34
+ } from "./command-9rqn6x4v.js";
35
35
 
36
36
  // src/permission.ts
37
- var exports_permission = {};
38
- __export(exports_permission, {
37
+ var exports_permission2 = {};
38
+ __export(exports_permission2, {
39
39
  AskResult: () => AskResult2,
40
40
  AssertInput: () => AssertInput2,
41
41
  BlockedError: () => BlockedError2,
42
42
  CorrectedError: () => CorrectedError2,
43
43
  DeclinedError: () => DeclinedError2,
44
44
  Effect: () => PermissionEffect,
45
- Event: () => Event10,
46
- ID: () => ID7,
47
- NotFoundError: () => NotFoundError7,
48
- Permission: () => exports_permission,
45
+ Event: () => Event18,
46
+ ID: () => ID12,
47
+ NotFoundError: () => NotFoundError8,
48
+ Permission: () => exports_permission2,
49
49
  Reply: () => Reply2,
50
50
  ReplyInput: () => ReplyInput2,
51
- Request: () => Request2,
52
- Rule: () => Rule2,
51
+ Request: () => Request3,
52
+ Rule: () => Rule3,
53
53
  Ruleset: () => Ruleset2,
54
- Service: () => Service58,
54
+ Service: () => Service75,
55
55
  Source: () => Source5,
56
56
  evaluate: () => evaluate2,
57
57
  merge: () => merge2,
58
- node: () => node61
58
+ node: () => node79
59
59
  });
60
60
  import { makeLocationNode } from "@opencode/util/effect/app-node";
61
61
  import { Context, Deferred, Effect, Layer, Schema } from "effect";
62
62
  import { Permission } from "@opencode/schema/permission";
63
- import { Rule as Rule2, Ruleset as Ruleset2 } from "@opencode/schema/permission";
64
- import { Event as Event10 } from "@opencode/schema/permission";
63
+ import { Rule as Rule3, Ruleset as Ruleset2 } from "@opencode/schema/permission";
64
+ import { Event as Event18 } from "@opencode/schema/permission";
65
65
  var PermissionEffect = Permission.Effect;
66
66
  var missingAgentPermissions = [{ action: "*", resource: "*", effect: "deny" }];
67
- var ID7 = Permission.ID;
67
+ var ID12 = Permission.ID;
68
68
  var Source5 = Permission.Source;
69
69
  var RequestFields = {
70
70
  sessionID: Permission.Request.fields.sessionID,
@@ -74,20 +74,20 @@ var RequestFields = {
74
74
  metadata: Permission.Request.fields.metadata,
75
75
  source: Permission.Request.fields.source
76
76
  };
77
- var Request2 = Permission.Request;
77
+ var Request3 = Permission.Request;
78
78
  var Reply2 = Permission.Reply;
79
79
  var AssertInput2 = Schema.Struct({
80
- id: ID7.pipe(Schema.optional),
80
+ id: ID12.pipe(Schema.optional),
81
81
  ...RequestFields,
82
- agent: ID10.pipe(Schema.optional)
82
+ agent: ID14.pipe(Schema.optional)
83
83
  }).annotate({ identifier: "Permission.AssertInput" });
84
84
  var ReplyInput2 = Schema.Struct({
85
- requestID: ID7,
85
+ requestID: ID12,
86
86
  reply: Reply2,
87
87
  message: Schema.String.pipe(Schema.optional)
88
88
  }).annotate({ identifier: "Permission.ReplyInput" });
89
89
  var AskResult2 = Schema.Struct({
90
- id: ID7,
90
+ id: ID12,
91
91
  effect: Permission.Effect
92
92
  }).annotate({ identifier: "Permission.AskResult" });
93
93
 
@@ -110,8 +110,8 @@ class BlockedError2 extends Schema.TaggedError()("Permission.BlockedError", {
110
110
  }
111
111
  }
112
112
 
113
- class NotFoundError7 extends Schema.TaggedError()("Permission.NotFoundError", {
114
- requestID: ID7
113
+ class NotFoundError8 extends Schema.TaggedError()("Permission.NotFoundError", {
114
+ requestID: ID12
115
115
  }) {
116
116
  }
117
117
  function evaluate2(action, resource, ...rulesets) {
@@ -125,15 +125,15 @@ function merge2(...rulesets) {
125
125
  return rulesets.flat();
126
126
  }
127
127
 
128
- class Service58 extends Context.Service()("@opencode/Permission") {
128
+ class Service75 extends Context.Service()("@opencode/Permission") {
129
129
  }
130
- var layer = Layer.effect(Service58, Effect.gen(function* () {
130
+ var layer = Layer.effect(Service75, Effect.gen(function* () {
131
131
  const bus = yield* Service84;
132
132
  const location = yield* Service81;
133
- const agents = yield* Service62;
134
- const sessions = yield* Service60;
135
- const saved = yield* Service59;
136
- const hooks = yield* Service61;
133
+ const agents = yield* Service78;
134
+ const sessions = yield* Service77;
135
+ const saved = yield* Service76;
136
+ const hooks = yield* Service79;
137
137
  const pending = new Map;
138
138
  let closed = false;
139
139
  const close = Effect.gen(function* () {
@@ -156,7 +156,7 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
156
156
  const configured = Effect.fnUntraced(function* (sessionID, agentID) {
157
157
  const session = yield* sessions.get(sessionID);
158
158
  if (!session)
159
- return yield* new NotFoundError8({ sessionID });
159
+ return yield* new NotFoundError9({ sessionID });
160
160
  const agent = yield* agents.resolve(agentID ?? session.agent);
161
161
  return merge2(agent?.permissions ?? missingAgentPermissions, session.permissions ?? []);
162
162
  });
@@ -186,7 +186,7 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
186
186
  });
187
187
  function request(input, message) {
188
188
  return {
189
- id: input.id ?? ID7.create(),
189
+ id: input.id ?? ID12.create(),
190
190
  sessionID: input.sessionID,
191
191
  action: input.action,
192
192
  resources: input.resources,
@@ -211,7 +211,7 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
211
211
  }));
212
212
  const ask = Effect.fn("Permission.ask")(function* (input) {
213
213
  if (closed)
214
- return { id: input.id ?? ID7.create(), effect: "deny" };
214
+ return { id: input.id ?? ID12.create(), effect: "deny" };
215
215
  const result = yield* evaluateInput(input);
216
216
  const value = request(input, result.message);
217
217
  if (result.effect === "ask")
@@ -242,7 +242,7 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
242
242
  const reply = Effect.fn("Permission.reply")((input) => Effect.uninterruptible(Effect.gen(function* () {
243
243
  const existing = pending.get(input.requestID);
244
244
  if (!existing)
245
- return yield* new NotFoundError7({ requestID: input.requestID });
245
+ return yield* new NotFoundError8({ requestID: input.requestID });
246
246
  yield* bus.publish(Permission.Event.Replied, {
247
247
  sessionID: existing.request.sessionID,
248
248
  requestID: existing.request.id,
@@ -297,12 +297,12 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
297
297
  const forSession = Effect.fn("Permission.forSession")(function* (sessionID) {
298
298
  return Array.from(pending.values(), (item) => item.request).filter((request) => request.sessionID === sessionID);
299
299
  });
300
- return Service58.of({ ask, assert, reply, get, forSession, list, close });
300
+ return Service75.of({ ask, assert, reply, get, forSession, list, close });
301
301
  }));
302
- var node61 = makeLocationNode({
303
- service: Service58,
302
+ var node79 = makeLocationNode({
303
+ service: Service75,
304
304
  layer,
305
- deps: [node88, node85, node65, node63, node62, node64]
305
+ deps: [node88, node85, node82, node81, node80, node83]
306
306
  });
307
307
 
308
- export { PermissionEffect, ID7, Source5, Request2, Reply2, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError7, evaluate2, merge2, Service58, node61, exports_permission, Rule2, Ruleset2, Event10 };
308
+ export { PermissionEffect, ID12, Source5, Request3, Reply2, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError8, evaluate2, merge2, Service75, node79, exports_permission2, Rule3, Ruleset2, Event18 };