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

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 +85 -85
  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/{command-4z7vav0p.js → agent-01kz1ps7.js} +10 -10
  8. package/dist/chunks/{command-034tev2y.js → agent-034tev2y.js} +2 -2
  9. package/dist/chunks/{command-g6x66mca.js → agent-06xye173.js} +11 -11
  10. package/dist/chunks/{command-7d822byb.js → agent-0bg0bx69.js} +9 -9
  11. package/dist/chunks/{command-g970mz3v.js → agent-0c04ntqn.js} +37 -37
  12. package/dist/chunks/{command-1kxdjam0.js → agent-0cn9gq1n.js} +17 -17
  13. package/dist/chunks/{command-w4axh9wz.js → agent-0e181atj.js} +8 -8
  14. package/dist/chunks/{command-210p74nv.js → agent-0gcad0bv.js} +6 -6
  15. package/dist/chunks/{command-v9a132p0.js → agent-0rtpdasm.js} +22 -22
  16. package/dist/chunks/{command-0vbcp93d.js → agent-0vbcp93d.js} +2 -2
  17. package/dist/chunks/{command-1ep2p91f.js → agent-1ep2p91f.js} +2 -2
  18. package/dist/chunks/{command-bzeyqsqd.js → agent-1ep4rre3.js} +4 -4
  19. package/dist/chunks/{command-tx9w5tca.js → agent-1gfgk62c.js} +8 -8
  20. package/dist/chunks/{command-cvt24va3.js → agent-1qbbqxat.js} +48 -48
  21. package/dist/chunks/{command-dvmztg5v.js → agent-1waxmwv9.js} +46 -46
  22. package/dist/chunks/{command-7ta6mr36.js → agent-1wcsaky3.js} +19 -19
  23. package/dist/chunks/{command-ze3ntbvb.js → agent-1wy3gn7h.js} +7 -7
  24. package/dist/chunks/{command-tfzngn12.js → agent-277eer69.js} +4 -4
  25. package/dist/chunks/{command-nn416cd4.js → agent-2gs5rnc2.js} +6 -6
  26. package/dist/chunks/{command-m38q3wy3.js → agent-2rczfdfv.js} +14 -14
  27. package/dist/chunks/{command-8qcf7amm.js → agent-2vd2ww1t.js} +14 -14
  28. package/dist/chunks/{command-z9pbab2f.js → agent-30y6nqd9.js} +13 -13
  29. package/dist/chunks/{command-mjzferrs.js → agent-39n3vqkw.js} +3 -3
  30. package/dist/chunks/{command-3hepkmqq.js → agent-3hepkmqq.js} +1 -1
  31. package/dist/chunks/{command-3hwn7j4h.js → agent-3hwn7j4h.js} +2 -2
  32. package/dist/chunks/{command-5rk2deda.js → agent-3spbe93k.js} +25 -25
  33. package/dist/chunks/{command-3tvqynh2.js → agent-3tvqynh2.js} +1 -1
  34. package/dist/chunks/{command-qakj2yt3.js → agent-3zewz7xc.js} +3 -3
  35. package/dist/chunks/{command-3zsf4n22.js → agent-3zsf4n22.js} +1 -1
  36. package/dist/chunks/{command-v2x3p8dx.js → agent-4bqcy7j7.js} +32 -32
  37. package/dist/chunks/{command-1hfxmt0w.js → agent-4cpvsvst.js} +48 -48
  38. package/dist/chunks/{command-wak8pa62.js → agent-4rc13h46.js} +15 -15
  39. package/dist/chunks/{command-0ny45k08.js → agent-4w15n2v0.js} +23 -23
  40. package/dist/chunks/{command-fcyg4h47.js → agent-54cckf1a.js} +5 -5
  41. package/dist/chunks/{command-54ma36ye.js → agent-54ma36ye.js} +1 -1
  42. package/dist/chunks/agent-5d10wpg8.js +257 -0
  43. package/dist/chunks/{command-5m9w47nd.js → agent-5m9w47nd.js} +1 -1
  44. package/dist/chunks/{command-tp3hq1fz.js → agent-5mx90py9.js} +3 -3
  45. package/dist/chunks/{command-e3qxr5gk.js → agent-5qd3pb7m.js} +2 -2
  46. package/dist/chunks/{command-ft31182a.js → agent-5rr2xw51.js} +8 -8
  47. package/dist/chunks/{command-vj35nasm.js → agent-60ds0mnt.js} +68 -68
  48. package/dist/chunks/{command-smsqhasw.js → agent-64abga9g.js} +24 -24
  49. package/dist/chunks/{command-mjqjpb51.js → agent-658y71pm.js} +22 -22
  50. package/dist/chunks/{command-6827pfxn.js → agent-6827pfxn.js} +1 -1
  51. package/dist/chunks/{command-d97f9cxk.js → agent-6dxqerh2.js} +14 -14
  52. package/dist/chunks/{command-dsk8q8my.js → agent-6scxdq94.js} +26 -26
  53. package/dist/chunks/{command-mybp2pev.js → agent-6tphdy7g.js} +4 -4
  54. package/dist/chunks/{command-6xb47vfp.js → agent-6xb47vfp.js} +1 -1
  55. package/dist/chunks/{command-q1y8bwa4.js → agent-72ynmsqb.js} +188 -188
  56. package/dist/chunks/{command-z4a4venm.js → agent-7623g4n6.js} +16 -16
  57. package/dist/chunks/{command-xdhksg1q.js → agent-76cxhb07.js} +14 -14
  58. package/dist/chunks/{command-775gj3j1.js → agent-775gj3j1.js} +2 -2
  59. package/dist/chunks/{command-7bmhse3q.js → agent-7bmhse3q.js} +1 -1
  60. package/dist/chunks/{command-9hq0xw37.js → agent-7m0k4634.js} +15 -15
  61. package/dist/chunks/{command-zqsad2gs.js → agent-7qh4aqtb.js} +2 -2
  62. package/dist/chunks/{command-cb62p8s9.js → agent-8423s3gk.js} +28 -28
  63. package/dist/chunks/{command-axq5kh8y.js → agent-87bdh2h2.js} +10 -10
  64. package/dist/chunks/{command-tcezcvh9.js → agent-89znhe33.js} +4 -4
  65. package/dist/chunks/{command-svwczm27.js → agent-8a61520m.js} +11 -11
  66. package/dist/chunks/{command-rxmh8njq.js → agent-8bf1vej8.js} +32 -32
  67. package/dist/chunks/{command-zbak8g8s.js → agent-8gvnjk36.js} +5 -5
  68. package/dist/chunks/{command-d1r1vdjn.js → agent-8k49cjh1.js} +28 -28
  69. package/dist/chunks/{command-8m6m0r52.js → agent-8m6m0r52.js} +1 -1
  70. package/dist/chunks/{command-8mywswrd.js → agent-8mywswrd.js} +1 -1
  71. package/dist/chunks/{command-w92k2e0p.js → agent-8sze2n9a.js} +4 -4
  72. package/dist/chunks/{command-m26n4tkg.js → agent-8vd89vx3.js} +4 -4
  73. package/dist/chunks/{command-8qh1wvz2.js → agent-8w9gpa2a.js} +4 -4
  74. package/dist/chunks/{command-3p9s8f8r.js → agent-8ww2gede.js} +5 -5
  75. package/dist/chunks/{command-t3e98aec.js → agent-8x019s04.js} +15 -15
  76. package/dist/chunks/{command-6ftnd7nz.js → agent-92zns5dy.js} +28 -28
  77. package/dist/chunks/{command-qxhg3shq.js → agent-93yh5dc7.js} +11 -11
  78. package/dist/chunks/{command-egvdenqz.js → agent-97gt6j6v.js} +4 -4
  79. package/dist/chunks/{command-998yhzzq.js → agent-998yhzzq.js} +3 -3
  80. package/dist/chunks/{command-j86wn4pa.js → agent-9ava3as1.js} +30 -30
  81. package/dist/chunks/{command-pkz1gcrh.js → agent-9g9xrmrw.js} +14 -14
  82. package/dist/chunks/{command-1ajx6rf5.js → agent-9hn6k4tm.js} +8 -8
  83. package/dist/chunks/{command-dmn8f3fz.js → agent-9jtgc0ag.js} +34 -34
  84. package/dist/chunks/{command-fwr9p4fy.js → agent-9sbwc68p.js} +347 -347
  85. package/dist/chunks/{command-kkyxct86.js → agent-9tcm4z7n.js} +4 -4
  86. package/dist/chunks/{command-9wev2pgg.js → agent-9wev2pgg.js} +1 -1
  87. package/dist/chunks/{command-n6s6s5d0.js → agent-a3gjs1qw.js} +45 -45
  88. package/dist/chunks/{command-9zygn7h7.js → agent-a5x7x9kw.js} +18 -18
  89. package/dist/chunks/{command-mxvxcxwy.js → agent-addxnjmp.js} +4 -4
  90. package/dist/chunks/{command-r61qxybf.js → agent-ahd542yp.js} +8 -8
  91. package/dist/chunks/{command-3k3tgz1s.js → agent-aq6ssqh8.js} +38 -38
  92. package/dist/chunks/{command-rzsyqtcs.js → agent-aw089k6n.js} +21 -21
  93. package/dist/chunks/{command-6gmsgdx2.js → agent-awzqkd9p.js} +7 -7
  94. package/dist/chunks/{command-ayjs7tqn.js → agent-ayjs7tqn.js} +2 -2
  95. package/dist/chunks/{command-t718dtrh.js → agent-b0b1syqq.js} +46 -46
  96. package/dist/chunks/{command-6frn0zka.js → agent-b0nwj2n5.js} +43 -43
  97. package/dist/chunks/{command-0p5n951n.js → agent-b0xapsmc.js} +8 -8
  98. package/dist/chunks/{command-b11a7tx7.js → agent-b11a7tx7.js} +1 -1
  99. package/dist/chunks/{command-wn0xhw32.js → agent-b1wrcdv1.js} +24 -24
  100. package/dist/chunks/{command-xsq7pz40.js → agent-b2gqg30f.js} +16 -16
  101. package/dist/chunks/{command-acdn2y46.js → agent-b3gp8cby.js} +45 -45
  102. package/dist/chunks/{command-gryy9691.js → agent-b5efm14a.js} +11 -11
  103. package/dist/chunks/{command-4ezxk448.js → agent-b60a0p85.js} +53 -53
  104. package/dist/chunks/{command-r57we6b1.js → agent-b9312sca.js} +5 -5
  105. package/dist/chunks/{command-gawvjx7k.js → agent-bc7q5vrg.js} +13 -13
  106. package/dist/chunks/{command-twx1y9b4.js → agent-bhj7yhfp.js} +28 -28
  107. package/dist/chunks/{command-wjr9rjd7.js → agent-bjx1sjef.js} +6 -6
  108. package/dist/chunks/{command-n11rvh9p.js → agent-bnq8ffg3.js} +32 -32
  109. package/dist/chunks/{command-802megp1.js → agent-bqwheb6v.js} +7 -7
  110. package/dist/chunks/{command-et97578y.js → agent-btchm180.js} +24 -24
  111. package/dist/chunks/{command-jrvn3mqz.js → agent-c2ym5zbg.js} +30 -30
  112. package/dist/chunks/{command-kx57zey2.js → agent-c484vbkt.js} +11 -11
  113. package/dist/chunks/{command-dnkebwy9.js → agent-c4jysj7e.js} +11 -11
  114. package/dist/chunks/{command-46jxkehv.js → agent-c9scfykt.js} +18 -18
  115. package/dist/chunks/{command-cr9hweqv.js → agent-cr9hweqv.js} +2 -2
  116. package/dist/chunks/{command-8yr3zrx2.js → agent-cre9sv7v.js} +11 -11
  117. package/dist/chunks/{command-2mq1h16s.js → agent-cwa6csj7.js} +9 -9
  118. package/dist/chunks/{command-g69zc3wy.js → agent-cxchh17q.js} +36 -36
  119. package/dist/chunks/{command-pex2677d.js → agent-d5h0167e.js} +5 -5
  120. package/dist/chunks/{command-embw8kgh.js → agent-dhmh7aw6.js} +4 -4
  121. package/dist/chunks/{command-mdzseb04.js → agent-djb6c8mr.js} +20 -20
  122. package/dist/chunks/{command-6qf2y9ve.js → agent-dkase1ea.js} +34 -34
  123. package/dist/chunks/{command-ymgkxg7n.js → agent-dys7k0s0.js} +11 -11
  124. package/dist/chunks/{command-ysye7j36.js → agent-e0qjs091.js} +20 -20
  125. package/dist/chunks/{command-kv6t07rj.js → agent-e0tmjqd2.js} +16 -16
  126. package/dist/chunks/{command-bhfmjk30.js → agent-e654tkxv.js} +19 -19
  127. package/dist/chunks/{command-5g57z1ma.js → agent-e7gxy7fd.js} +4 -4
  128. package/dist/chunks/{command-eej6y6fw.js → agent-eej6y6fw.js} +2 -2
  129. package/dist/chunks/{command-ef5x83kb.js → agent-ef5x83kb.js} +1 -1
  130. package/dist/chunks/{command-pazb1tph.js → agent-ev0vvt40.js} +14 -14
  131. package/dist/chunks/{command-941r3f3m.js → agent-f06p7v79.js} +1 -1
  132. package/dist/chunks/{command-5smgpg59.js → agent-f4wgghpj.js} +15 -15
  133. package/dist/chunks/{command-zxn1czyk.js → agent-f8rdyd8z.js} +23 -23
  134. package/dist/chunks/{command-fcy631f0.js → agent-fcy631f0.js} +1 -1
  135. package/dist/chunks/{command-82rhge12.js → agent-fdms3n6w.js} +9 -9
  136. package/dist/chunks/{command-pv4gp5m4.js → agent-fmjx2h3e.js} +2 -2
  137. package/dist/chunks/{command-k98r0vz1.js → agent-fs73a89a.js} +27 -27
  138. package/dist/chunks/{command-dthc0v3v.js → agent-g2zwajds.js} +1 -1
  139. package/dist/chunks/{command-xewwdcxe.js → agent-g3b65czc.js} +17 -17
  140. package/dist/chunks/{command-vbamk4ns.js → agent-g3jry2r0.js} +35 -35
  141. package/dist/chunks/{command-57myy5jh.js → agent-g6yfr6ja.js} +5 -5
  142. package/dist/chunks/{command-02hctrc4.js → agent-g72yd4k4.js} +12 -12
  143. package/dist/chunks/{command-dzg2v16h.js → agent-gabnxzjb.js} +10 -10
  144. package/dist/chunks/{command-gd4qta3r.js → agent-gd4qta3r.js} +1 -1
  145. package/dist/chunks/{command-hpkegr1y.js → agent-gpnk9bds.js} +10 -10
  146. package/dist/chunks/{command-3tpbv33b.js → agent-gqc3hykc.js} +6 -6
  147. package/dist/chunks/{command-g38g0fz0.js → agent-gvk2e4nv.js} +14 -14
  148. package/dist/chunks/{command-t7bcp663.js → agent-gx42yg2y.js} +9 -9
  149. package/dist/chunks/agent-gyce5qg1.js +18 -0
  150. package/dist/chunks/{command-3qfe0xj5.js → agent-h22kh94c.js} +8 -8
  151. package/dist/chunks/{command-mgym7y53.js → agent-h3hta0fv.js} +50 -50
  152. package/dist/chunks/{command-yfxdcy39.js → agent-h5btj78v.js} +7 -7
  153. package/dist/chunks/{command-h6vf3j39.js → agent-h6vf3j39.js} +1 -1
  154. package/dist/chunks/{command-h8vwnyd8.js → agent-h8vwnyd8.js} +1 -1
  155. package/dist/chunks/{command-btbmdjwj.js → agent-h9pnpq88.js} +4 -4
  156. package/dist/chunks/{command-395q6j9z.js → agent-hbb7npd7.js} +6 -6
  157. package/dist/chunks/{command-sce0r76x.js → agent-hfbyhya8.js} +10 -10
  158. package/dist/chunks/{command-hgz4x7wa.js → agent-hgz4x7wa.js} +1 -1
  159. package/dist/chunks/{command-xdydn0yk.js → agent-hkd76wam.js} +16 -16
  160. package/dist/chunks/{command-khmqacep.js → agent-hq3c8me3.js} +4 -4
  161. package/dist/chunks/{command-48kw51zw.js → agent-hzrfc1p4.js} +3 -3
  162. package/dist/chunks/{command-mfj0sxs3.js → agent-j1eznksd.js} +28 -28
  163. package/dist/chunks/{command-he40rdb8.js → agent-j414fcmn.js} +17 -17
  164. package/dist/chunks/{command-jr0r6h1g.js → agent-jnpb6kqk.js} +3 -3
  165. package/dist/chunks/{command-1b1yf6g0.js → agent-k6hwnssb.js} +24 -24
  166. package/dist/chunks/{command-6a980ypm.js → agent-k7mbsg3c.js} +26 -26
  167. package/dist/chunks/{command-xexx9thr.js → agent-kby49ynp.js} +19 -19
  168. package/dist/chunks/{command-ahsb9kpf.js → agent-krdey6nc.js} +6 -6
  169. package/dist/chunks/{command-2q3kn6hv.js → agent-kt55wntw.js} +18 -18
  170. package/dist/chunks/{command-8zg8p5q1.js → agent-ktqrr5j9.js} +17 -17
  171. package/dist/chunks/{command-kwb1v3vj.js → agent-kwb1v3vj.js} +1 -1
  172. package/dist/chunks/{command-x6x33ar5.js → agent-m2bbs62m.js} +15 -15
  173. package/dist/chunks/agent-m3gkkj97.js +26 -0
  174. package/dist/chunks/{command-m9w0rfyh.js → agent-m9w0rfyh.js} +1 -1
  175. package/dist/chunks/{command-maspj1v3.js → agent-maspj1v3.js} +1 -1
  176. package/dist/chunks/{command-npm9b9zb.js → agent-mq3tyw2r.js} +5 -5
  177. package/dist/chunks/{command-w4mk1hws.js → agent-mvd2y75j.js} +20 -20
  178. package/dist/chunks/{command-yy8p69dz.js → agent-n4bxf1bq.js} +16 -16
  179. package/dist/chunks/{command-n6mrmtb3.js → agent-n6mrmtb3.js} +1 -1
  180. package/dist/chunks/{command-xe70zbdz.js → agent-n9kd73fy.js} +5 -5
  181. package/dist/chunks/{command-cng6dfxk.js → agent-n9tqm6c9.js} +11 -11
  182. package/dist/chunks/{command-3w35w3cz.js → agent-n9xp8ka0.js} +37 -37
  183. package/dist/chunks/{command-wn13chhe.js → agent-nd3tx038.js} +23 -23
  184. package/dist/chunks/{command-k7myrtme.js → agent-ndn5nttk.js} +9 -9
  185. package/dist/chunks/{command-kcme49p2.js → agent-ne0dd1rk.js} +21 -21
  186. package/dist/chunks/{command-1sqf9bkf.js → agent-ng3918dk.js} +5 -5
  187. package/dist/chunks/{command-02g7aebq.js → agent-ntcam9rv.js} +19 -19
  188. package/dist/chunks/{command-8sptrx30.js → agent-nw3tt376.js} +13 -13
  189. package/dist/chunks/{command-p51tpj98.js → agent-nwg5v2wf.js} +11 -11
  190. package/dist/chunks/{command-jr2eqasw.js → agent-nyxdgnr4.js} +7 -7
  191. package/dist/chunks/{command-4bz0312p.js → agent-p8vnz59a.js} +11 -11
  192. package/dist/chunks/{command-rv6zpw67.js → agent-p8z5pjn4.js} +25 -25
  193. package/dist/chunks/{command-3ct72kbc.js → agent-p9gx55xe.js} +17 -17
  194. package/dist/chunks/{command-pc1v25hk.js → agent-pc1v25hk.js} +1 -1
  195. package/dist/chunks/{command-x0g438en.js → agent-pfmyemp7.js} +84 -84
  196. package/dist/chunks/{command-z28rahrh.js → agent-pjtv5xgn.js} +27 -27
  197. package/dist/chunks/{command-pjvnvgmy.js → agent-pjvnvgmy.js} +1 -1
  198. package/dist/chunks/{command-pknna89w.js → agent-pknna89w.js} +1 -1
  199. package/dist/chunks/{command-tbjtr317.js → agent-pq7ehxfq.js} +18 -18
  200. package/dist/chunks/{command-y4g1qmba.js → agent-q20pbgba.js} +9 -9
  201. package/dist/chunks/{command-dz15z44q.js → agent-qcsawjgq.js} +9 -9
  202. package/dist/chunks/{command-0jwsre1p.js → agent-qgn6gcr1.js} +5 -5
  203. package/dist/chunks/{command-deq2yphe.js → agent-qkdq18ke.js} +15 -15
  204. package/dist/chunks/{command-6a9ggp3a.js → agent-qnzjvx7w.js} +3 -3
  205. package/dist/chunks/{command-qp7m8750.js → agent-qp7m8750.js} +3 -3
  206. package/dist/chunks/{command-zjr49qxn.js → agent-qrpk9c9k.js} +42 -42
  207. package/dist/chunks/{command-qsdy395h.js → agent-qsdy395h.js} +1 -1
  208. package/dist/chunks/{command-ew199m7p.js → agent-r2g6g664.js} +10 -10
  209. package/dist/chunks/{command-bacj9t34.js → agent-r70na3yp.js} +9 -9
  210. package/dist/chunks/{command-rdw6cm16.js → agent-rdw6cm16.js} +1 -1
  211. package/dist/chunks/{command-1hzj9kg1.js → agent-re229bga.js} +10 -10
  212. package/dist/chunks/{command-qsyf62v5.js → agent-rhrndxa2.js} +308 -308
  213. package/dist/chunks/{command-jbxhns51.js → agent-rm3b56at.js} +47 -47
  214. package/dist/chunks/{command-4ytg8f8f.js → agent-rxrz6b15.js} +2 -2
  215. package/dist/chunks/{command-drjmd517.js → agent-s59cy3r3.js} +21 -21
  216. package/dist/chunks/{command-gdc5cpct.js → agent-sb9w5nny.js} +5 -5
  217. package/dist/chunks/{command-ehsy592z.js → agent-sj1zydaf.js} +26 -26
  218. package/dist/chunks/{command-cqz7n2wt.js → agent-sk5011s6.js} +4 -4
  219. package/dist/chunks/{command-6pn57h68.js → agent-smqp6h5x.js} +33 -33
  220. package/dist/chunks/{command-4y1psmjm.js → agent-snvy5g5t.js} +10 -10
  221. package/dist/chunks/{command-epa6at65.js → agent-sp2b9xzv.js} +28 -28
  222. package/dist/chunks/{command-4znvr1ks.js → agent-sq7qz21n.js} +50 -50
  223. package/dist/chunks/{command-stq6srjr.js → agent-svdvx995.js} +33 -33
  224. package/dist/chunks/{command-rhjbct0v.js → agent-t550f9t1.js} +4 -4
  225. package/dist/chunks/{command-0t5b2y9d.js → agent-t93swj6g.js} +9 -9
  226. package/dist/chunks/{command-5kc27ehr.js → agent-tascwatk.js} +4 -4
  227. package/dist/chunks/{command-tazgh4e4.js → agent-tazgh4e4.js} +1 -1
  228. package/dist/chunks/{command-v8jfbz3g.js → agent-tcay1cqt.js} +6 -6
  229. package/dist/chunks/{command-tdstcens.js → agent-tdstcens.js} +1 -1
  230. package/dist/chunks/{command-p6d0b62k.js → agent-tjsfqyz1.js} +12 -12
  231. package/dist/chunks/{command-cemytqje.js → agent-tnypmhpx.js} +22 -22
  232. package/dist/chunks/{command-fmv8kpsp.js → agent-tr99e1w1.js} +4 -4
  233. package/dist/chunks/{command-xhmz0e2c.js → agent-ttxw2dcy.js} +11 -11
  234. package/dist/chunks/{command-bhk6njy6.js → agent-twy6e1pt.js} +19 -19
  235. package/dist/chunks/{command-tyytaxap.js → agent-tyytaxap.js} +1 -1
  236. package/dist/chunks/{command-ccy38syf.js → agent-v3sm3b29.js} +13 -13
  237. package/dist/chunks/{command-b27vhd2z.js → agent-v5dkyp31.js} +4 -4
  238. package/dist/chunks/{command-mvnn9g24.js → agent-v71mf45a.js} +20 -20
  239. package/dist/chunks/{command-v7p4zvkq.js → agent-v7p4zvkq.js} +2 -2
  240. package/dist/chunks/{command-9c1a4kmv.js → agent-vak4j5e1.js} +9 -9
  241. package/dist/chunks/{command-4j64n899.js → agent-vbgzaw66.js} +4 -4
  242. package/dist/chunks/{command-psphhya3.js → agent-vcykmhej.js} +11 -11
  243. package/dist/chunks/{command-veqvce7d.js → agent-veqvce7d.js} +1 -1
  244. package/dist/chunks/{command-gvpgbncv.js → agent-vgfdpj26.js} +18 -18
  245. package/dist/chunks/{command-m95xgvrp.js → agent-vgn4papj.js} +35 -35
  246. package/dist/chunks/{command-vzs5sf6e.js → agent-vzs5sf6e.js} +1 -1
  247. package/dist/chunks/{command-84txncab.js → agent-w1eejvng.js} +5 -5
  248. package/dist/chunks/{command-w3wsvvr9.js → agent-w3wsvvr9.js} +1 -1
  249. package/dist/chunks/{command-wakvkjy4.js → agent-wakvkjy4.js} +1 -1
  250. package/dist/chunks/{command-1j6m29mr.js → agent-waskdk5r.js} +9 -9
  251. package/dist/chunks/{command-9e9hzcd0.js → agent-wb1k0b0z.js} +14 -14
  252. package/dist/chunks/{command-wd87259q.js → agent-wd87259q.js} +1 -1
  253. package/dist/chunks/{command-qc148cpv.js → agent-wez96qer.js} +21 -21
  254. package/dist/chunks/{command-dedmnvkb.js → agent-ws4pm92m.js} +20 -20
  255. package/dist/chunks/{command-sfd6krag.js → agent-x395z3h3.js} +12 -12
  256. package/dist/chunks/{command-web3t9xy.js → agent-xaq53c1m.js} +4 -4
  257. package/dist/chunks/{command-p820w4f0.js → agent-xcs1qr88.js} +23 -23
  258. package/dist/chunks/{command-66gqgwkw.js → agent-xe9rh51h.js} +4 -4
  259. package/dist/chunks/{command-9c0aadwr.js → agent-xenxtz2r.js} +21 -21
  260. package/dist/chunks/{command-57b9ws8p.js → agent-xfkkasph.js} +7 -7
  261. package/dist/chunks/{command-zhdc5kpb.js → agent-xgyvc81b.js} +13 -13
  262. package/dist/chunks/{command-mdwjtjcb.js → agent-xj13yeyq.js} +16 -16
  263. package/dist/chunks/{command-ad8kq2nc.js → agent-xrt977hg.js} +3 -3
  264. package/dist/chunks/{command-3dhsd59m.js → agent-xs09rgb4.js} +20 -20
  265. package/dist/chunks/{command-s7cy65rz.js → agent-xshm6x7r.js} +18 -18
  266. package/dist/chunks/{command-y1fvbwt7.js → agent-y1fvbwt7.js} +1 -1
  267. package/dist/chunks/{command-pk1g9nse.js → agent-y1gbkt6d.js} +27 -27
  268. package/dist/chunks/{command-p3pg4pyc.js → agent-y1twntmg.js} +15 -15
  269. package/dist/chunks/{command-y71avatq.js → agent-y71avatq.js} +1 -1
  270. package/dist/chunks/{command-sjs7wga1.js → agent-y8k9ntag.js} +26 -26
  271. package/dist/chunks/{command-xr5vn762.js → agent-y9793g9a.js} +6 -6
  272. package/dist/chunks/{command-1t3hpytd.js → agent-yf6cfcxz.js} +82 -82
  273. package/dist/chunks/{command-wsmpk9jk.js → agent-yfb8499c.js} +5 -5
  274. package/dist/chunks/{command-tw1m0zds.js → agent-ypxwtm4x.js} +45 -45
  275. package/dist/chunks/{command-z0bkrqjs.js → agent-z0bkrqjs.js} +1 -1
  276. package/dist/chunks/{command-7vcph9c5.js → agent-z4dyzcgg.js} +12 -12
  277. package/dist/chunks/{command-zxqtx2gp.js → agent-zg5n0cvz.js} +33 -33
  278. package/dist/chunks/{command-vvg7my21.js → agent-zgq2zk3m.js} +17 -17
  279. package/dist/chunks/{command-kn6pff13.js → agent-zhj7pt8s.js} +21 -21
  280. package/dist/chunks/{command-yc2cz67n.js → agent-zk00g8zz.js} +32 -32
  281. package/dist/chunks/{command-3y689znq.js → agent-zk2rfxgs.js} +18 -18
  282. package/dist/chunks/{command-p3p972wa.js → agent-zk8c4w5t.js} +5 -5
  283. package/dist/chunks/{command-vk5kq5j8.js → agent-zmjze8as.js} +13 -13
  284. package/dist/chunks/{command-zr2ceqn5.js → agent-zr2ceqn5.js} +1 -1
  285. package/dist/chunks/{command-985ktdsx.js → agent-zwhbkwqf.js} +18 -18
  286. package/dist/chunks/{command-wrc6k2zh.js → agent-zwxs4smc.js} +13 -13
  287. package/dist/chunks/{command-zxq2ej10.js → agent-zxq2ej10.js} +1 -1
  288. package/dist/codemode/catalog.js +1 -1
  289. package/dist/codemode/instructions.js +7 -7
  290. package/dist/codemode/tool.js +3 -3
  291. package/dist/codemode/web.js +1 -1
  292. package/dist/command.js +85 -85
  293. package/dist/config/discovery.js +86 -86
  294. package/dist/config/markdown.js +1 -1
  295. package/dist/config/normalize.js +101 -101
  296. package/dist/config/plugin/agent.js +118 -118
  297. package/dist/config/plugin/command.js +214 -214
  298. package/dist/config/plugin/compaction.js +155 -155
  299. package/dist/config/plugin/compatibility.js +135 -135
  300. package/dist/config/plugin/entry-observer.js +1 -1
  301. package/dist/config/plugin/formatter.js +117 -117
  302. package/dist/config/plugin/image.js +116 -116
  303. package/dist/config/plugin/instruction.js +116 -116
  304. package/dist/config/plugin/location-watcher.js +118 -118
  305. package/dist/config/plugin/mcp.js +125 -125
  306. package/dist/config/plugin/policy.js +117 -117
  307. package/dist/config/plugin/provider.js +116 -116
  308. package/dist/config/plugin/reference.js +118 -118
  309. package/dist/config/plugin/shell.js +118 -118
  310. package/dist/config/plugin/skill-file.js +104 -104
  311. package/dist/config/plugin/skill-scan.js +3 -3
  312. package/dist/config/plugin/skill.js +138 -138
  313. package/dist/config/plugin/snapshot.js +116 -116
  314. package/dist/config/plugin/source.js +119 -119
  315. package/dist/config/plugin/tool-output.js +117 -117
  316. package/dist/config/plugin/websearch.js +117 -117
  317. package/dist/config/plugin/worktree.js +118 -118
  318. package/dist/config/variable.js +1 -1
  319. package/dist/config/watch.js +1 -1
  320. package/dist/config.js +121 -121
  321. package/dist/credential/sql.js +2 -2
  322. package/dist/credential.js +85 -85
  323. package/dist/database/database.js +68 -68
  324. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  325. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  326. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  327. package/dist/database/drizzle/index.js +13 -13
  328. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  331. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  333. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  336. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  337. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  338. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  339. package/dist/database/drizzle.js +14 -14
  340. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  341. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  342. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  343. package/dist/database/migration/20260225215848_workspace.js +1 -1
  344. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  345. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  346. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  347. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  348. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  349. package/dist/database/migration/20260323234822_events.js +1 -1
  350. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  351. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  352. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  353. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  354. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  355. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  356. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  357. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  358. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  359. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  360. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  361. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  362. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  363. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  364. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  365. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  366. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  367. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  368. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  369. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  370. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  371. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  372. package/dist/database/migration/20260611035744_credential.js +1 -1
  373. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  374. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  375. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  376. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  377. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  378. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  379. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  380. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  381. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  382. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  383. package/dist/database/migration/20260812213948_worktree.js +1 -1
  384. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  385. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  386. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  387. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  388. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  389. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  390. package/dist/database/migration.gen.js +51 -51
  391. package/dist/database/migration.js +53 -53
  392. package/dist/database/path.js +2 -2
  393. package/dist/database/schema.gen.js +1 -1
  394. package/dist/database/schema.sql.js +1 -1
  395. package/dist/database/sqlite.bun.js +1 -1
  396. package/dist/database/sqlite.js +1 -1
  397. package/dist/database/sqlite.node.js +1 -1
  398. package/dist/database/sqlite.workerd.js +1 -1
  399. package/dist/database/v1-migration.bun.js +78 -78
  400. package/dist/database/v1-migration.js +1 -1
  401. package/dist/effect/app-node-builder.js +369 -369
  402. package/dist/effect/app-node-platform.js +2 -2
  403. package/dist/effect/keyed-mutex.js +1 -1
  404. package/dist/effect/websocket-constructor.js +1 -1
  405. package/dist/environment/driver.js +1 -1
  406. package/dist/environment/environment.js +95 -95
  407. package/dist/environment/exec-defaults.js +2 -2
  408. package/dist/environment/files.js +1 -1
  409. package/dist/environment/index.js +95 -95
  410. package/dist/environment/local.js +2 -2
  411. package/dist/environment/memory.js +2 -2
  412. package/dist/environment/unavailable.js +3 -3
  413. package/dist/event/sql.js +1 -1
  414. package/dist/event-logger.js +72 -72
  415. package/dist/file-access.js +106 -106
  416. package/dist/file-mutation.js +96 -96
  417. package/dist/file-retention.js +1 -1
  418. package/dist/filesystem/fff.bun.js +2 -2
  419. package/dist/filesystem/fff.js +1 -1
  420. package/dist/filesystem/fff.node.js +2 -2
  421. package/dist/filesystem/fff.workerd.js +2 -2
  422. package/dist/filesystem/location-watcher-policy.js +6 -6
  423. package/dist/filesystem/location-watcher.js +227 -227
  424. package/dist/filesystem/protected.js +3 -3
  425. package/dist/filesystem/search.js +101 -101
  426. package/dist/filesystem/watcher-binding.js +3 -3
  427. package/dist/filesystem/watcher.js +11 -11
  428. package/dist/filesystem.js +106 -106
  429. package/dist/form.js +84 -84
  430. package/dist/formatter/builtins.js +2 -2
  431. package/dist/formatter.js +89 -89
  432. package/dist/generate.js +109 -109
  433. package/dist/git.js +10 -10
  434. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  435. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  436. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  437. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  438. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  439. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  440. package/dist/github-copilot/copilot-provider.js +17 -17
  441. package/dist/github-copilot/models.js +101 -101
  442. package/dist/github-copilot/openai-compatible-error.js +1 -1
  443. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  444. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  445. package/dist/github-copilot/responses/openai-error.js +1 -1
  446. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  447. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  448. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  449. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  450. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  451. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  452. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  453. package/dist/image/photon.js +2 -2
  454. package/dist/image.js +6 -6
  455. package/dist/instance/service.js +5 -5
  456. package/dist/instance.js +360 -360
  457. package/dist/instruction-discovery.js +84 -84
  458. package/dist/instructions/builtins.js +85 -85
  459. package/dist/instructions/index.js +3 -3
  460. package/dist/integration/connection.js +3 -3
  461. package/dist/integration.js +87 -87
  462. package/dist/job.js +80 -80
  463. package/dist/kv/sql.js +2 -2
  464. package/dist/kv.js +75 -75
  465. package/dist/location-activity.js +156 -156
  466. package/dist/location-lifecycle.js +109 -109
  467. package/dist/location-service-map.js +88 -88
  468. package/dist/location-services.js +357 -357
  469. package/dist/location.js +89 -89
  470. package/dist/managed-policy.js +8 -8
  471. package/dist/mcp/client.js +93 -93
  472. package/dist/mcp/index.js +111 -111
  473. package/dist/mcp/instructions.js +140 -140
  474. package/dist/mcp/oauth.js +80 -80
  475. package/dist/mcp/stdio.js +92 -92
  476. package/dist/mime.js +1 -1
  477. package/dist/modal/models.js +101 -101
  478. package/dist/model-resolver.js +101 -101
  479. package/dist/model-retry.js +1 -1
  480. package/dist/model.js +104 -104
  481. package/dist/models-dev.js +109 -109
  482. package/dist/oauth/page.js +1 -1
  483. package/dist/permission/saved.js +82 -82
  484. package/dist/permission/sql.js +5 -5
  485. package/dist/permission.js +115 -115
  486. package/dist/persistent-pty/binary.bun.js +1 -1
  487. package/dist/persistent-pty/daemon.js +1 -1
  488. package/dist/persistent-pty/index.js +90 -90
  489. package/dist/persistent-pty/pty-binding.js +1 -1
  490. package/dist/persistent-pty.js +77 -77
  491. package/dist/plugin/agent.js +78 -78
  492. package/dist/plugin/command.js +104 -104
  493. package/dist/plugin/hooks.js +5 -5
  494. package/dist/plugin/host.js +218 -218
  495. package/dist/plugin/identity.js +3 -3
  496. package/dist/plugin/instance.js +5 -5
  497. package/dist/plugin/internal.js +332 -332
  498. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  499. package/dist/plugin/models-dev.js +98 -98
  500. package/dist/plugin/module.js +117 -117
  501. package/dist/plugin/optimize.js +2 -2
  502. package/dist/plugin/plan.js +104 -104
  503. package/dist/plugin/promise.js +1 -1
  504. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  505. package/dist/plugin/provider/azure.js +116 -116
  506. package/dist/plugin/provider/cerebras.js +1 -1
  507. package/dist/plugin/provider/chatgpt.js +116 -116
  508. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  509. package/dist/plugin/provider/cloudflare-workers-ai.js +113 -113
  510. package/dist/plugin/provider/cohere.js +2 -2
  511. package/dist/plugin/provider/configured.js +112 -112
  512. package/dist/plugin/provider/databricks.js +1 -1
  513. package/dist/plugin/provider/digitalocean.js +95 -95
  514. package/dist/plugin/provider/dynamic.js +2 -2
  515. package/dist/plugin/provider/factory.js +1 -1
  516. package/dist/plugin/provider/github-copilot.js +97 -97
  517. package/dist/plugin/provider/gitlab.js +95 -95
  518. package/dist/plugin/provider/google-vertex.js +113 -113
  519. package/dist/plugin/provider/kilo.js +1 -1
  520. package/dist/plugin/provider/llmgateway.js +80 -80
  521. package/dist/plugin/provider/lmstudio.js +125 -125
  522. package/dist/plugin/provider/local.js +122 -122
  523. package/dist/plugin/provider/modal.js +94 -94
  524. package/dist/plugin/provider/neon.js +1 -1
  525. package/dist/plugin/provider/nvidia.js +1 -1
  526. package/dist/plugin/provider/ollama.js +125 -125
  527. package/dist/plugin/provider/openai.js +116 -116
  528. package/dist/plugin/provider/opencode.js +103 -103
  529. package/dist/plugin/provider/openrouter.js +93 -93
  530. package/dist/plugin/provider/perplexity.js +2 -2
  531. package/dist/plugin/provider/poe.js +81 -81
  532. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  533. package/dist/plugin/provider/sap-ai-core.js +93 -93
  534. package/dist/plugin/provider/sdk-factory.js +1 -1
  535. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  536. package/dist/plugin/provider/vercel.js +92 -92
  537. package/dist/plugin/provider/vllm.js +125 -125
  538. package/dist/plugin/provider/xai.js +93 -93
  539. package/dist/plugin/provider/zenmux.js +1 -1
  540. package/dist/plugin/provider.js +170 -170
  541. package/dist/plugin/sdk.js +78 -78
  542. package/dist/plugin/service.js +3 -3
  543. package/dist/plugin/skill.js +134 -134
  544. package/dist/plugin/source-directory.js +1 -1
  545. package/dist/plugin/supervisor.js +351 -351
  546. package/dist/plugin/tool-input-repair.js +4 -4
  547. package/dist/plugin/update.js +6 -6
  548. package/dist/plugin/vcs/git.js +88 -88
  549. package/dist/plugin/vcs/hg.js +88 -88
  550. package/dist/plugin/verbosity.js +95 -95
  551. package/dist/plugin/warming.js +114 -114
  552. package/dist/plugin/websearch/exa.js +5 -5
  553. package/dist/plugin/websearch/firecrawl.js +6 -6
  554. package/dist/plugin/websearch/index.js +9 -9
  555. package/dist/plugin/websearch/mcp.js +4 -4
  556. package/dist/plugin/websearch/parallel.js +8 -8
  557. package/dist/plugin/websearch/tavily.js +6 -6
  558. package/dist/plugin/websearch/tinyfish.js +8 -8
  559. package/dist/plugin.js +229 -229
  560. package/dist/project/schema.js +8 -8
  561. package/dist/project/sql.js +4 -4
  562. package/dist/project.js +92 -92
  563. package/dist/provider.js +99 -99
  564. package/dist/pty/protocol.js +1 -1
  565. package/dist/pty/ticket.js +1 -1
  566. package/dist/pty.js +101 -101
  567. package/dist/reference/instructions.js +91 -91
  568. package/dist/reference.js +93 -93
  569. package/dist/repository-cache.js +83 -83
  570. package/dist/repository.js +3 -3
  571. package/dist/ripgrep/binary.js +2 -2
  572. package/dist/ripgrep.js +99 -99
  573. package/dist/rpc.js +88 -88
  574. package/dist/schema.js +1 -1
  575. package/dist/session/affinity.js +1 -1
  576. package/dist/session/command.js +76 -76
  577. package/dist/session/compaction.js +138 -138
  578. package/dist/session/context.js +164 -164
  579. package/dist/session/diff.js +90 -90
  580. package/dist/session/environment.js +5 -5
  581. package/dist/session/error.js +5 -5
  582. package/dist/session/event.js +1 -1
  583. package/dist/session/execution/restart.js +221 -221
  584. package/dist/session/execution.js +130 -130
  585. package/dist/session/generate.js +166 -166
  586. package/dist/session/history.js +15 -15
  587. package/dist/session/inbox.js +95 -95
  588. package/dist/session/info.js +3 -3
  589. package/dist/session/instruction-entry.js +81 -81
  590. package/dist/session/instruction-state.js +8 -8
  591. package/dist/session/instructions.js +99 -99
  592. package/dist/session/message-updater.js +2 -2
  593. package/dist/session/message.js +1 -1
  594. package/dist/session/model-request.js +120 -120
  595. package/dist/session/model-transport.js +7 -7
  596. package/dist/session/move.js +132 -132
  597. package/dist/session/projector.js +91 -91
  598. package/dist/session/prompt.js +107 -107
  599. package/dist/session/recent-text.js +1 -1
  600. package/dist/session/revert.js +96 -96
  601. package/dist/session/run-coordinator.js +3 -3
  602. package/dist/session/runner/index.js +3 -3
  603. package/dist/session/runner/llm.js +231 -231
  604. package/dist/session/runner/max-steps.js +1 -1
  605. package/dist/session/runner/model.js +101 -101
  606. package/dist/session/runner/publish-llm-event.js +116 -116
  607. package/dist/session/runner/retry.js +5 -5
  608. package/dist/session/runner/step.js +128 -128
  609. package/dist/session/runner/to-llm-message.js +14 -14
  610. package/dist/session/schema.js +5 -5
  611. package/dist/session/session.js +163 -163
  612. package/dist/session/shell.js +130 -130
  613. package/dist/session/skill.js +105 -105
  614. package/dist/session/sql.js +5 -5
  615. package/dist/session/stats.js +75 -75
  616. package/dist/session/store.js +87 -87
  617. package/dist/session/subagent-completion.js +1 -1
  618. package/dist/session/subagent-job.js +212 -212
  619. package/dist/session/system-prompt.js +5 -5
  620. package/dist/session/title.js +168 -168
  621. package/dist/session/to-session-error.js +114 -114
  622. package/dist/session/transfer.js +217 -217
  623. package/dist/session/usage.js +1 -1
  624. package/dist/session.js +216 -216
  625. package/dist/shell/parse.js +8 -8
  626. package/dist/shell/result.js +1 -1
  627. package/dist/shell/scan.js +1 -1
  628. package/dist/shell/select.js +9 -9
  629. package/dist/shell.js +132 -132
  630. package/dist/skill/discovery.js +6 -6
  631. package/dist/skill/instructions.js +107 -107
  632. package/dist/skill.js +112 -112
  633. package/dist/snapshot.js +95 -95
  634. package/dist/state.js +1 -1
  635. package/dist/tool/html-markdown.js +1 -1
  636. package/dist/tool/http-body.js +1 -1
  637. package/dist/tool/mcp.js +139 -139
  638. package/dist/tool/plugin/edit.js +122 -122
  639. package/dist/tool/plugin/file-diff.js +1 -1
  640. package/dist/tool/plugin/glob.js +126 -126
  641. package/dist/tool/plugin/grep.js +120 -120
  642. package/dist/tool/plugin/mcp-resource.js +126 -126
  643. package/dist/tool/plugin/opencode.js +111 -111
  644. package/dist/tool/plugin/patch.js +120 -120
  645. package/dist/tool/plugin/question.js +105 -105
  646. package/dist/tool/plugin/read.js +127 -127
  647. package/dist/tool/plugin/shell.js +217 -217
  648. package/dist/tool/plugin/skill.js +115 -115
  649. package/dist/tool/plugin/subagent.js +219 -219
  650. package/dist/tool/plugin/todo.js +138 -138
  651. package/dist/tool/plugin/webfetch.js +113 -113
  652. package/dist/tool/plugin/websearch.js +114 -114
  653. package/dist/tool/plugin/write.js +124 -124
  654. package/dist/tool/read-filesystem.js +102 -102
  655. package/dist/tool/runtime.js +1 -1
  656. package/dist/tool-output.js +7 -7
  657. package/dist/tool.js +14 -14
  658. package/dist/util/error-summary.js +1 -1
  659. package/dist/util/git-executable.js +2 -2
  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 +3 -3
  667. package/dist/v1/config/mcp.js +4 -4
  668. package/dist/v1/config/migrate.js +94 -94
  669. package/dist/v1/config/permission.js +7 -7
  670. package/dist/v1/config/plugin.js +3 -3
  671. package/dist/v1/config/provider-options.js +1 -1
  672. package/dist/v1/config/provider.js +4 -4
  673. package/dist/variant.js +93 -93
  674. package/dist/vcs/patch.js +1 -1
  675. package/dist/vcs.js +91 -91
  676. package/dist/voice.js +88 -88
  677. package/dist/websearch.js +84 -84
  678. package/dist/wellknown/plugin.js +78 -78
  679. package/dist/wellknown.js +81 -81
  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 +8 -8
  685. package/dist/worktree/sql.js +5 -5
  686. package/dist/worktree/strategies.js +91 -91
  687. package/dist/worktree.js +100 -100
  688. package/package.json +8 -8
  689. package/dist/chunks/command-3q31v9sa.js +0 -257
  690. package/dist/chunks/command-dxj72tfx.js +0 -18
  691. package/dist/chunks/command-hqp5gz7t.js +0 -26
  692. /package/dist/chunks/{command-0qkdqm5v.js → agent-0qkdqm5v.js} +0 -0
  693. /package/dist/chunks/{command-0zkw76rk.js → agent-0zkw76rk.js} +0 -0
  694. /package/dist/chunks/{command-17cy0kzp.js → agent-17cy0kzp.js} +0 -0
  695. /package/dist/chunks/{command-1cnp2v09.js → agent-1cnp2v09.js} +0 -0
  696. /package/dist/chunks/{command-24dcb14g.js → agent-24dcb14g.js} +0 -0
  697. /package/dist/chunks/{command-2710q6r3.js → agent-2710q6r3.js} +0 -0
  698. /package/dist/chunks/{command-2bv980vf.js → agent-2bv980vf.js} +0 -0
  699. /package/dist/chunks/{command-2c3vjs8z.js → agent-2c3vjs8z.js} +0 -0
  700. /package/dist/chunks/{command-359p4xyc.js → agent-359p4xyc.js} +0 -0
  701. /package/dist/chunks/{command-3asan66x.js → agent-3asan66x.js} +0 -0
  702. /package/dist/chunks/{command-3v8g72cx.js → agent-3v8g72cx.js} +0 -0
  703. /package/dist/chunks/{command-3wcehsnq.js → agent-3wcehsnq.js} +0 -0
  704. /package/dist/chunks/{command-43n2bw4t.js → agent-43n2bw4t.js} +0 -0
  705. /package/dist/chunks/{command-4knz6hnm.js → agent-4knz6hnm.js} +0 -0
  706. /package/dist/chunks/{command-4vcrnpx2.js → agent-4vcrnpx2.js} +0 -0
  707. /package/dist/chunks/{command-4y7fprxs.js → agent-4y7fprxs.js} +0 -0
  708. /package/dist/chunks/{command-53557ph1.js → agent-53557ph1.js} +0 -0
  709. /package/dist/chunks/{command-550bvhaj.js → agent-550bvhaj.js} +0 -0
  710. /package/dist/chunks/{command-5fjb7ams.js → agent-5fjb7ams.js} +0 -0
  711. /package/dist/chunks/{command-6prwharc.js → agent-6prwharc.js} +0 -0
  712. /package/dist/chunks/{command-6q2bdcd1.js → agent-6q2bdcd1.js} +0 -0
  713. /package/dist/chunks/{command-7akdwqpd.js → agent-7akdwqpd.js} +0 -0
  714. /package/dist/chunks/{command-7m9af43g.js → agent-7m9af43g.js} +0 -0
  715. /package/dist/chunks/{command-822emrt2.js → agent-822emrt2.js} +0 -0
  716. /package/dist/chunks/{command-84wd9syh.js → agent-84wd9syh.js} +0 -0
  717. /package/dist/chunks/{command-88xbtdfr.js → agent-88xbtdfr.js} +0 -0
  718. /package/dist/chunks/{command-8n3pysct.js → agent-8n3pysct.js} +0 -0
  719. /package/dist/chunks/{command-8wj87zfr.js → agent-8wj87zfr.js} +0 -0
  720. /package/dist/chunks/{command-9a4afbnw.js → agent-9a4afbnw.js} +0 -0
  721. /package/dist/chunks/{command-9rqn6x4v.js → agent-9rqn6x4v.js} +0 -0
  722. /package/dist/chunks/{command-a058387c.js → agent-a058387c.js} +0 -0
  723. /package/dist/chunks/{command-a6k6eb26.js → agent-a6k6eb26.js} +0 -0
  724. /package/dist/chunks/{command-af5trqkr.js → agent-af5trqkr.js} +0 -0
  725. /package/dist/chunks/{command-afrmfg78.js → agent-afrmfg78.js} +0 -0
  726. /package/dist/chunks/{command-aqzs7mqg.js → agent-aqzs7mqg.js} +0 -0
  727. /package/dist/chunks/{command-atq7p7m5.js → agent-atq7p7m5.js} +0 -0
  728. /package/dist/chunks/{command-bkyjaxrp.js → agent-bkyjaxrp.js} +0 -0
  729. /package/dist/chunks/{command-bmr6ed5q.js → agent-bmr6ed5q.js} +0 -0
  730. /package/dist/chunks/{command-cf4snx6d.js → agent-cf4snx6d.js} +0 -0
  731. /package/dist/chunks/{command-cvy3z8tj.js → agent-cvy3z8tj.js} +0 -0
  732. /package/dist/chunks/{command-d9fn303g.js → agent-d9fn303g.js} +0 -0
  733. /package/dist/chunks/{command-d9jj8t3e.js → agent-d9jj8t3e.js} +0 -0
  734. /package/dist/chunks/{command-dajrwvna.js → agent-dajrwvna.js} +0 -0
  735. /package/dist/chunks/{command-dap0rakb.js → agent-dap0rakb.js} +0 -0
  736. /package/dist/chunks/{command-df08tz66.js → agent-df08tz66.js} +0 -0
  737. /package/dist/chunks/{command-dy18nga0.js → agent-dy18nga0.js} +0 -0
  738. /package/dist/chunks/{command-e5kj55wp.js → agent-e5kj55wp.js} +0 -0
  739. /package/dist/chunks/{command-e73j6tqm.js → agent-e73j6tqm.js} +0 -0
  740. /package/dist/chunks/{command-ec1grn59.js → agent-ec1grn59.js} +0 -0
  741. /package/dist/chunks/{command-eh3zwz77.js → agent-eh3zwz77.js} +0 -0
  742. /package/dist/chunks/{command-emrn6kk6.js → agent-emrn6kk6.js} +0 -0
  743. /package/dist/chunks/{command-f0mxakyp.js → agent-f0mxakyp.js} +0 -0
  744. /package/dist/chunks/{command-f6n9ztr4.js → agent-f6n9ztr4.js} +0 -0
  745. /package/dist/chunks/{command-faypxj3z.js → agent-faypxj3z.js} +0 -0
  746. /package/dist/chunks/{command-fd410y7t.js → agent-fd410y7t.js} +0 -0
  747. /package/dist/chunks/{command-g4wezp1m.js → agent-g4wezp1m.js} +0 -0
  748. /package/dist/chunks/{command-g86h250q.js → agent-g86h250q.js} +0 -0
  749. /package/dist/chunks/{command-gebd4c9n.js → agent-gebd4c9n.js} +0 -0
  750. /package/dist/chunks/{command-gftt206x.js → agent-gftt206x.js} +0 -0
  751. /package/dist/chunks/{command-hcxmzztb.js → agent-hcxmzztb.js} +0 -0
  752. /package/dist/chunks/{command-hk9envan.js → agent-hk9envan.js} +0 -0
  753. /package/dist/chunks/{command-j2ntwpah.js → agent-j2ntwpah.js} +0 -0
  754. /package/dist/chunks/{command-j5zkgpj8.js → agent-j5zkgpj8.js} +0 -0
  755. /package/dist/chunks/{command-jjkms2e6.js → agent-jjkms2e6.js} +0 -0
  756. /package/dist/chunks/{command-jr7sbwjy.js → agent-jr7sbwjy.js} +0 -0
  757. /package/dist/chunks/{command-jwfs4k6c.js → agent-jwfs4k6c.js} +0 -0
  758. /package/dist/chunks/{command-jze0r7bz.js → agent-jze0r7bz.js} +0 -0
  759. /package/dist/chunks/{command-jzg6c2d5.js → agent-jzg6c2d5.js} +0 -0
  760. /package/dist/chunks/{command-m18g726c.js → agent-m18g726c.js} +0 -0
  761. /package/dist/chunks/{command-mp448xyj.js → agent-mp448xyj.js} +0 -0
  762. /package/dist/chunks/{command-msx8hqn2.js → agent-msx8hqn2.js} +0 -0
  763. /package/dist/chunks/{command-n05xt0ee.js → agent-n05xt0ee.js} +0 -0
  764. /package/dist/chunks/{command-n3j8tn72.js → agent-n3j8tn72.js} +0 -0
  765. /package/dist/chunks/{command-njntx4h6.js → agent-njntx4h6.js} +0 -0
  766. /package/dist/chunks/{command-pkyv6v7h.js → agent-pkyv6v7h.js} +0 -0
  767. /package/dist/chunks/{command-q3sfg36h.js → agent-q3sfg36h.js} +0 -0
  768. /package/dist/chunks/{command-q74kybfr.js → agent-q74kybfr.js} +0 -0
  769. /package/dist/chunks/{command-qaymkmh1.js → agent-qaymkmh1.js} +0 -0
  770. /package/dist/chunks/{command-qb87gjwd.js → agent-qb87gjwd.js} +0 -0
  771. /package/dist/chunks/{command-qfa1cgps.js → agent-qfa1cgps.js} +0 -0
  772. /package/dist/chunks/{command-qg3g05ea.js → agent-qg3g05ea.js} +0 -0
  773. /package/dist/chunks/{command-qrg20bc0.js → agent-qrg20bc0.js} +0 -0
  774. /package/dist/chunks/{command-rcb2kzg1.js → agent-rcb2kzg1.js} +0 -0
  775. /package/dist/chunks/{command-sdp7kfr6.js → agent-sdp7kfr6.js} +0 -0
  776. /package/dist/chunks/{command-ssg3fenm.js → agent-ssg3fenm.js} +0 -0
  777. /package/dist/chunks/{command-ve7vex1e.js → agent-ve7vex1e.js} +0 -0
  778. /package/dist/chunks/{command-w803qqfp.js → agent-w803qqfp.js} +0 -0
  779. /package/dist/chunks/{command-wc3fc9cn.js → agent-wc3fc9cn.js} +0 -0
  780. /package/dist/chunks/{command-wer8tq1h.js → agent-wer8tq1h.js} +0 -0
  781. /package/dist/chunks/{command-wjj7prxr.js → agent-wjj7prxr.js} +0 -0
  782. /package/dist/chunks/{command-wtztk69x.js → agent-wtztk69x.js} +0 -0
  783. /package/dist/chunks/{command-x0ckcb58.js → agent-x0ckcb58.js} +0 -0
  784. /package/dist/chunks/{command-x61499pn.js → agent-x61499pn.js} +0 -0
  785. /package/dist/chunks/{command-y44na4kk.js → agent-y44na4kk.js} +0 -0
  786. /package/dist/chunks/{command-y8f7s663.js → agent-y8f7s663.js} +0 -0
  787. /package/dist/chunks/{command-ygaqb7jw.js → agent-ygaqb7jw.js} +0 -0
  788. /package/dist/chunks/{command-ym463w8f.js → agent-ym463w8f.js} +0 -0
  789. /package/dist/chunks/{command-z5v4ffb3.js → agent-z5v4ffb3.js} +0 -0
  790. /package/dist/chunks/{command-z9919s4g.js → agent-z9919s4g.js} +0 -0
@@ -1,43 +1,43 @@
1
1
  import {
2
2
  Service86
3
- } from "./command-tp3hq1fz.js";
3
+ } from "./agent-5mx90py9.js";
4
4
  import {
5
- Service49
6
- } from "./command-v8jfbz3g.js";
5
+ Service48
6
+ } from "./agent-tcay1cqt.js";
7
7
  import {
8
8
  awaitActivation2
9
- } from "./command-dxj72tfx.js";
9
+ } from "./agent-gyce5qg1.js";
10
10
  import {
11
11
  preview2
12
- } from "./command-4y1psmjm.js";
12
+ } from "./agent-snvy5g5t.js";
13
13
  import {
14
14
  baseTranscript2
15
- } from "./command-1b1yf6g0.js";
15
+ } from "./agent-k6hwnssb.js";
16
16
  import {
17
- Service26
18
- } from "./command-1t3hpytd.js";
17
+ Service22
18
+ } from "./agent-yf6cfcxz.js";
19
19
  import {
20
20
  retry2
21
- } from "./command-fcy631f0.js";
21
+ } from "./agent-fcy631f0.js";
22
22
  import {
23
23
  __export
24
- } from "./command-9rqn6x4v.js";
24
+ } from "./agent-9rqn6x4v.js";
25
25
 
26
26
  // src/session/generate.ts
27
- var exports_generate2 = {};
28
- __export(exports_generate2, {
29
- SessionGenerate: () => exports_generate2,
27
+ var exports_generate = {};
28
+ __export(exports_generate, {
29
+ SessionGenerate: () => exports_generate,
30
30
  generate: () => generate2
31
31
  });
32
32
  import { LLMClient, Message } from "@opencode/ai";
33
33
  import { Effect } from "effect";
34
34
  var generate2 = Effect.fn("SessionGenerate.generate")(function* (input) {
35
- const instances = yield* Service49;
35
+ const instances = yield* Service48;
36
36
  const database = yield* Service86;
37
37
  const llm = yield* LLMClient.Service;
38
38
  return yield* Effect.gen(function* () {
39
39
  yield* awaitActivation2;
40
- const context = yield* Service26;
40
+ const context = yield* Service22;
41
41
  const selection = yield* context.select(input.session.id);
42
42
  const model = yield* context.resolveModel(selection.session);
43
43
  const history = yield* preview2(database.db, selection.session.id, selection.instructions, model.ref);
@@ -71,4 +71,4 @@ var generate2 = Effect.fn("SessionGenerate.generate")(function* (input) {
71
71
  }).pipe(instances.provide(input.session));
72
72
  });
73
73
 
74
- export { generate2, exports_generate2 };
74
+ export { generate2, exports_generate };
@@ -1,10 +1,10 @@
1
1
  import {
2
- ID12,
3
- Service73,
4
- node76
5
- } from "./command-smsqhasw.js";
2
+ ID13,
3
+ Service77,
4
+ node81
5
+ } from "./agent-64abga9g.js";
6
6
  import {
7
- ID11,
7
+ ID12,
8
8
  isAISDK2,
9
9
  packageName2,
10
10
  loadPackage2,
@@ -15,24 +15,24 @@ import {
15
15
  encoding2,
16
16
  mergeOverlay2,
17
17
  mergeHeaders2,
18
- Service72,
19
- node75
20
- } from "./command-qsyf62v5.js";
18
+ Service76,
19
+ node80
20
+ } from "./agent-rhrndxa2.js";
21
21
  import {
22
- Service52,
23
- node55
24
- } from "./command-p6d0b62k.js";
22
+ Service56,
23
+ node58
24
+ } from "./agent-tjsfqyz1.js";
25
25
  import {
26
- ID10,
26
+ ID6,
27
27
  VariantID2,
28
28
  Ref2,
29
- Service71,
30
- node74,
29
+ Service59,
30
+ node61,
31
31
  supportsText2
32
- } from "./command-6qf2y9ve.js";
32
+ } from "./agent-dkase1ea.js";
33
33
  import {
34
34
  __export
35
- } from "./command-9rqn6x4v.js";
35
+ } from "./agent-9rqn6x4v.js";
36
36
 
37
37
  // src/model-resolver.ts
38
38
  var exports_model_resolver = {};
@@ -41,15 +41,15 @@ __export(exports_model_resolver, {
41
41
  ModelConfigurationError: () => ModelConfigurationError2,
42
42
  ModelInitializationError: () => ModelInitializationError2,
43
43
  ModelResolver: () => exports_model_resolver,
44
- Service: () => Service51,
44
+ Service: () => Service55,
45
45
  UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
46
46
  UnsupportedCompactionError: () => UnsupportedCompactionError2,
47
47
  UnsupportedPackageError: () => UnsupportedPackageError2,
48
48
  VariantUnavailableError: () => VariantUnavailableError2,
49
49
  fromCatalogModel: () => fromCatalogModel2,
50
50
  hasPackage: () => hasPackage2,
51
- layer: () => layer22,
52
- node: () => node54,
51
+ layer: () => layer25,
52
+ node: () => node57,
53
53
  resolveModel: () => resolveModel2,
54
54
  withVariant: () => withVariant2
55
55
  });
@@ -59,8 +59,8 @@ import { Auth } from "@opencode/ai/route";
59
59
  import { Context, Effect, Layer, Schema, Struct } from "effect";
60
60
  import { Npm } from "@opencode/util/npm";
61
61
  class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.VariantUnavailableError", {
62
- providerID: ID11,
63
- modelID: ID10,
62
+ providerID: ID12,
63
+ modelID: ID6,
64
64
  variant: VariantID2
65
65
  }) {
66
66
  get message() {
@@ -69,8 +69,8 @@ class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.
69
69
  }
70
70
 
71
71
  class UnsupportedPackageError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedPackageError", {
72
- providerID: ID11,
73
- modelID: ID10,
72
+ providerID: ID12,
73
+ modelID: ID6,
74
74
  package: Schema.String
75
75
  }) {
76
76
  get message() {
@@ -80,8 +80,8 @@ class UnsupportedPackageError2 extends Schema.TaggedError()("SessionRunnerModel.
80
80
  var InitializationPhase2 = Schema.Literals(["load", "init", "construct"]);
81
81
 
82
82
  class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelConfigurationError", {
83
- providerID: ID11,
84
- modelID: ID10,
83
+ providerID: ID12,
84
+ modelID: ID6,
85
85
  package: Schema.String,
86
86
  detail: Schema.String
87
87
  }) {
@@ -91,8 +91,8 @@ class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.
91
91
  }
92
92
 
93
93
  class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelInitializationError", {
94
- providerID: ID11,
95
- modelID: ID10,
94
+ providerID: ID12,
95
+ modelID: ID6,
96
96
  package: Schema.String,
97
97
  phase: InitializationPhase2,
98
98
  detail: Schema.String
@@ -103,8 +103,8 @@ class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel
103
103
  }
104
104
 
105
105
  class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRunnerModel.UnresolvedProviderVariablesError", {
106
- providerID: ID11,
107
- modelID: ID10,
106
+ providerID: ID12,
107
+ modelID: ID6,
108
108
  variables: Schema.Array(Schema.String)
109
109
  }) {
110
110
  get message() {
@@ -113,8 +113,8 @@ class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRun
113
113
  }
114
114
 
115
115
  class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedCompactionError", {
116
- providerID: ID11,
117
- modelID: ID10,
116
+ providerID: ID12,
117
+ modelID: ID6,
118
118
  route: Schema.String
119
119
  }) {
120
120
  get message() {
@@ -122,7 +122,7 @@ class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerMod
122
122
  }
123
123
  }
124
124
 
125
- class Service51 extends Context.Service()("@opencode/ModelResolver") {
125
+ class Service55 extends Context.Service()("@opencode/ModelResolver") {
126
126
  }
127
127
  var withVariant2 = (model, variantID) => {
128
128
  const id = variantID === "default" ? undefined : variantID;
@@ -234,7 +234,7 @@ var nativeCredentialSettings = (model, specifier, credential) => {
234
234
  return tokenSettings(specifier, credential.access);
235
235
  if (specifier.startsWith("@opencode/ai/providers/amazon-bedrock"))
236
236
  return { auth: "sigv4" };
237
- if (model.providerID === ID11.azure)
237
+ if (model.providerID === ID12.azure)
238
238
  return tokenSettings(specifier, "azure-cli");
239
239
  return {};
240
240
  };
@@ -269,15 +269,15 @@ var causeMessage = (cause) => {
269
269
  };
270
270
  var resolveModel2 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
271
271
  var hasPackage2 = (model) => Boolean(model.package);
272
- var layer22 = Layer.effect(Service51, Effect.gen(function* () {
273
- const providers = yield* Service72;
274
- const models = yield* Service71;
275
- const integrations = yield* Service73;
272
+ var layer25 = Layer.effect(Service55, Effect.gen(function* () {
273
+ const providers = yield* Service76;
274
+ const models = yield* Service59;
275
+ const integrations = yield* Service77;
276
276
  const npm = yield* Npm.Service;
277
- const aisdk = yield* Service52;
277
+ const aisdk = yield* Service56;
278
278
  const load = Effect.fn("ModelResolver.resolveModel")(function* (selected, variant) {
279
279
  const provider = yield* providers.get(selected.providerID);
280
- const connection = yield* integrations.connection.active(provider?.integrationID ?? ID12.make(selected.providerID));
280
+ const connection = yield* integrations.connection.active(provider?.integrationID ?? ID13.make(selected.providerID));
281
281
  const credential = connection ? yield* integrations.connection.resolve(connection) : undefined;
282
282
  const selectedVariant = yield* withVariant2(selected, variant);
283
283
  const runtimeInfo = {
@@ -304,7 +304,7 @@ var layer22 = Layer.effect(Service51, Effect.gen(function* () {
304
304
  chunkTimeout: timeout2(provider?.settings?.chunkTimeout)
305
305
  };
306
306
  });
307
- return Service51.of({
307
+ return Service55.of({
308
308
  resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
309
309
  const selected = requested ? yield* models.get(requested.providerID, requested.id) : yield* models.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(models.available(), (models) => models.find((model) => hasPackage2(model) && supportsText2(model)))));
310
310
  if (!selected)
@@ -321,10 +321,10 @@ function usesAPIKeyAuth(packageName) {
321
321
  const name = packageName2(packageName);
322
322
  return name === "@ai-sdk/openai" || name === "@ai-sdk/anthropic" || name === "@ai-sdk/cerebras" || name === "@ai-sdk/deepinfra" || name === "@ai-sdk/openai-compatible" || name === "@ai-sdk/google" || name === "@ai-sdk/groq" || name === "@ai-sdk/mistral" || name === "@ai-sdk/togetherai" || name === "@ai-sdk/xai" || name === "@openrouter/ai-sdk-provider" || name === "@ai-sdk/azure" || name === "@opencode/ai/providers/openai" || name?.startsWith("@opencode/ai/providers/openai/") === true || name === "@opencode/ai/providers/anthropic" || name === "@opencode/ai/providers/anthropic-compatible" || name === "@opencode/ai/providers/baseten" || name === "@opencode/ai/providers/cerebras" || name === "@opencode/ai/providers/cloudflare-ai-gateway" || name === "@opencode/ai/providers/cloudflare-workers-ai" || name === "@opencode/ai/providers/deepinfra" || name === "@opencode/ai/providers/deepseek" || name === "@opencode/ai/providers/fireworks" || name === "@opencode/ai/providers/openai-compatible" || name === "@opencode/ai/providers/google" || name === "@opencode/ai/providers/google/interactions" || name === "@opencode/ai/providers/groq" || name === "@opencode/ai/providers/mistral" || name === "@opencode/ai/providers/togetherai" || name === "@opencode/ai/providers/vercel-ai-gateway" || name === "@opencode/ai/providers/xai" || name === "@opencode/ai/providers/openrouter" || name === "@opencode/ai/providers/azure" || name?.startsWith("@opencode/ai/providers/azure/") === true;
323
323
  }
324
- var node54 = makeLocationNode({
325
- service: Service51,
326
- layer: layer22,
327
- deps: [node75, node74, node76, Npm.node, node55]
324
+ var node57 = makeLocationNode({
325
+ service: Service55,
326
+ layer: layer25,
327
+ deps: [node80, node61, node81, Npm.node, node58]
328
328
  });
329
329
 
330
- export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service51, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer22, node54, exports_model_resolver };
330
+ export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service55, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer25, node57, exports_model_resolver };
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  useragent2
3
- } from "./command-8yr3zrx2.js";
3
+ } from "./agent-cre9sv7v.js";
4
4
  import {
5
5
  OAuth3,
6
- Service82
7
- } from "./command-d1r1vdjn.js";
6
+ Service79
7
+ } from "./agent-8k49cjh1.js";
8
8
  import {
9
- ID12,
9
+ ID13,
10
10
  MethodID2
11
- } from "./command-smsqhasw.js";
11
+ } from "./agent-64abga9g.js";
12
12
  import {
13
- ID11,
13
+ ID12,
14
14
  mergeOverlay2
15
- } from "./command-qsyf62v5.js";
15
+ } from "./agent-rhrndxa2.js";
16
16
 
17
17
  // src/plugin/provider/xai.ts
18
18
  import { define } from "@opencode/plugin/effect/plugin";
@@ -24,7 +24,7 @@ var scope = "openid profile email offline_access grok-cli:access api:access";
24
24
  var pollingSafetyMargin = 3000;
25
25
  var browserMethodID = MethodID2.make("browser");
26
26
  var deviceMethodID = MethodID2.make("device");
27
- var providerID = ID11.make("xai");
27
+ var providerID = ID12.make("xai");
28
28
  var Token = Schema.Struct({
29
29
  access_token: Schema.String,
30
30
  refresh_token: Schema.optional(Schema.String),
@@ -44,7 +44,7 @@ var DeviceError = Schema.Struct({
44
44
  });
45
45
  var decodeDeviceError = Schema.decodeUnknownOption(Schema.fromJsonString(DeviceError));
46
46
  var device = (app) => ({
47
- integrationID: ID12.make("xai"),
47
+ integrationID: ID13.make("xai"),
48
48
  method: {
49
49
  id: deviceMethodID,
50
50
  type: "oauth",
@@ -69,8 +69,8 @@ var device = (app) => ({
69
69
  var XAIPlugin2 = define({
70
70
  id: "opencode.provider.xai",
71
71
  effect: Effect.fn(function* (ctx) {
72
- const credentials = yield* Service82;
73
- yield* Effect.forEach(yield* credentials.list(ID12.make("xai")), (credential) => {
72
+ const credentials = yield* Service79;
73
+ yield* Effect.forEach(yield* credentials.list(ID13.make("xai")), (credential) => {
74
74
  if (credential.value.type !== "oauth" || credential.value.methodID !== browserMethodID)
75
75
  return Effect.void;
76
76
  return credentials.update(credential.id, {
@@ -1,63 +1,63 @@
1
1
  import {
2
2
  Service86,
3
3
  node90
4
- } from "./command-tp3hq1fz.js";
4
+ } from "./agent-5mx90py9.js";
5
5
  import {
6
6
  Service85,
7
7
  node89
8
- } from "./command-5kc27ehr.js";
8
+ } from "./agent-tascwatk.js";
9
9
  import {
10
- Service49,
11
- node52
12
- } from "./command-v8jfbz3g.js";
10
+ Service48,
11
+ node50
12
+ } from "./agent-tcay1cqt.js";
13
13
  import {
14
14
  AbsolutePath2,
15
15
  RelativePath2
16
- } from "./command-z5v4ffb3.js";
16
+ } from "./agent-z5v4ffb3.js";
17
17
  import {
18
- Service80,
19
- node84
20
- } from "./command-dvmztg5v.js";
18
+ Service83,
19
+ node87
20
+ } from "./agent-1waxmwv9.js";
21
21
  import {
22
22
  Ref4
23
- } from "./command-kv6t07rj.js";
23
+ } from "./agent-e0tmjqd2.js";
24
24
  import {
25
- Service53,
26
- node56
27
- } from "./command-t7bcp663.js";
25
+ Service50,
26
+ node52
27
+ } from "./agent-gx42yg2y.js";
28
28
  import {
29
29
  SessionMessage2
30
- } from "./command-gftt206x.js";
30
+ } from "./agent-gftt206x.js";
31
31
  import {
32
- NotFoundError7
33
- } from "./command-ahsb9kpf.js";
32
+ NotFoundError9
33
+ } from "./agent-krdey6nc.js";
34
34
  import {
35
35
  SessionEvent2
36
- } from "./command-ec1grn59.js";
36
+ } from "./agent-ec1grn59.js";
37
37
  import {
38
- Service47
39
- } from "./command-embw8kgh.js";
38
+ Service46
39
+ } from "./agent-dhmh7aw6.js";
40
40
  import {
41
- Service62,
42
- node65
43
- } from "./command-g38g0fz0.js";
41
+ Service65,
42
+ node67
43
+ } from "./agent-gvk2e4nv.js";
44
44
  import {
45
45
  Item2,
46
46
  serialized2,
47
- Service48,
48
- node51,
47
+ Service47,
48
+ node49,
49
49
  moveIDs2
50
- } from "./command-3dhsd59m.js";
50
+ } from "./agent-xs09rgb4.js";
51
51
  import {
52
- Service46,
53
- node50
54
- } from "./command-3w35w3cz.js";
52
+ Service45,
53
+ node48
54
+ } from "./agent-n9xp8ka0.js";
55
55
  import {
56
- node31
57
- } from "./command-3ct72kbc.js";
56
+ node24
57
+ } from "./agent-p9gx55xe.js";
58
58
  import {
59
59
  __export
60
- } from "./command-9rqn6x4v.js";
60
+ } from "./agent-9rqn6x4v.js";
61
61
 
62
62
  // src/session/move.ts
63
63
  var exports_move = {};
@@ -65,9 +65,9 @@ __export(exports_move, {
65
65
  DestinationNotDirectoryError: () => DestinationNotDirectoryError2,
66
66
  DestinationNotFoundError: () => DestinationNotFoundError2,
67
67
  DestinationUnavailableError: () => DestinationUnavailableError2,
68
- Service: () => Service25,
68
+ Service: () => Service20,
69
69
  SessionMove: () => exports_move,
70
- node: () => node28
70
+ node: () => node23
71
71
  });
72
72
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
73
73
  import { FSUtil } from "@opencode/util/fs-util";
@@ -83,23 +83,23 @@ class DestinationNotDirectoryError2 extends Schema.TaggedError()("Session.Destin
83
83
  class DestinationUnavailableError2 extends Schema.TaggedError()("Session.DestinationUnavailableError", { directory: AbsolutePath2 }) {
84
84
  }
85
85
 
86
- class Service25 extends Context.Service()("@opencode/SessionMove") {
86
+ class Service20 extends Context.Service()("@opencode/SessionMove") {
87
87
  }
88
- var layer = Layer.effect(Service25, Effect.gen(function* () {
88
+ var layer = Layer.effect(Service20, Effect.gen(function* () {
89
89
  const fs = yield* FSUtil.Service;
90
90
  const global = yield* Global.Service;
91
- const projects = yield* Service80;
92
- const locations = yield* Service53;
93
- const store = yield* Service62;
94
- const execution = yield* Service46;
95
- const instances = yield* Service49;
96
- const admission = yield* Service48;
91
+ const projects = yield* Service83;
92
+ const locations = yield* Service50;
93
+ const store = yield* Service65;
94
+ const execution = yield* Service45;
95
+ const instances = yield* Service48;
96
+ const admission = yield* Service47;
97
97
  const database = yield* Service86;
98
98
  const bus = yield* Service85;
99
99
  const get = Effect.fn("SessionMove.get")(function* (sessionID) {
100
100
  const session = yield* store.get(sessionID);
101
101
  if (!session)
102
- return yield* new NotFoundError7({ sessionID });
102
+ return yield* new NotFoundError9({ sessionID });
103
103
  return session;
104
104
  });
105
105
  const resolveDestination = Effect.fn("SessionMove.resolveDestination")(function* (session, input) {
@@ -131,9 +131,9 @@ var layer = Layer.effect(Service25, Effect.gen(function* () {
131
131
  return false;
132
132
  if (!(yield* fs.isDir(session.location.directory)))
133
133
  return true;
134
- return yield* Service47.pipe(instances.provide(session), Effect.as(false), Effect.catchCause((cause) => Cause.hasInterrupts(cause) ? Effect.failCause(Cause.fromReasons(cause.reasons.filter(Cause.isInterruptReason))) : Effect.succeed(true)));
134
+ return yield* Service46.pipe(instances.provide(session), Effect.as(false), Effect.catchCause((cause) => Cause.hasInterrupts(cause) ? Effect.failCause(Cause.fromReasons(cause.reasons.filter(Cause.isInterruptReason))) : Effect.succeed(true)));
135
135
  });
136
- return Service25.of({
136
+ return Service20.of({
137
137
  move: Effect.fn("SessionMove.move")(function* (input) {
138
138
  const session = yield* get(input.sessionID);
139
139
  const destination = yield* resolveDestination(session, input);
@@ -163,22 +163,22 @@ var layer = Layer.effect(Service25, Effect.gen(function* () {
163
163
  })
164
164
  });
165
165
  }));
166
- var node28 = makeGlobalNode({
167
- service: Service25,
166
+ var node23 = makeGlobalNode({
167
+ service: Service20,
168
168
  layer,
169
169
  deps: [
170
170
  FSUtil.node,
171
171
  Global.node,
172
- node84,
173
- node56,
174
- node65,
175
- node50,
172
+ node87,
176
173
  node52,
177
- node51,
174
+ node67,
175
+ node48,
176
+ node50,
177
+ node49,
178
178
  node90,
179
179
  node89,
180
- node31
180
+ node24
181
181
  ]
182
182
  });
183
183
 
184
- export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2, Service25, node28, exports_move };
184
+ export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2, Service20, node23, exports_move };
@@ -1,9 +1,9 @@
1
1
  import {
2
- ID11
3
- } from "./command-qsyf62v5.js";
2
+ ID12
3
+ } from "./agent-rhrndxa2.js";
4
4
  import {
5
5
  loadSDKFactory2
6
- } from "./command-6q2bdcd1.js";
6
+ } from "./agent-6q2bdcd1.js";
7
7
 
8
8
  // src/plugin/provider/sap-ai-core.ts
9
9
  import { Effect } from "effect";
@@ -14,7 +14,7 @@ var SapAICorePlugin2 = define({
14
14
  effect: Effect.fn(function* (ctx) {
15
15
  const npm = yield* Npm.Service;
16
16
  yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
17
- if (evt.model.providerID !== ID11.make("sap-ai-core"))
17
+ if (evt.model.providerID !== ID12.make("sap-ai-core"))
18
18
  return;
19
19
  const serviceKey = process.env.AICORE_SERVICE_KEY ?? (typeof evt.options.serviceKey === "string" ? evt.options.serviceKey : undefined);
20
20
  if (serviceKey && !process.env.AICORE_SERVICE_KEY)
@@ -25,7 +25,7 @@ var SapAICorePlugin2 = define({
25
25
  evt.sdk = factory(serviceKey ? { deploymentId: process.env.AICORE_DEPLOYMENT_ID, resourceGroup: process.env.AICORE_RESOURCE_GROUP } : {});
26
26
  }));
27
27
  yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
28
- if (evt.model.providerID !== ID11.make("sap-ai-core"))
28
+ if (evt.model.providerID !== ID12.make("sap-ai-core"))
29
29
  return;
30
30
  evt.language = evt.sdk(evt.model.modelID ?? evt.model.id);
31
31
  }));
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./command-y71avatq.js";
3
+ } from "./agent-y71avatq.js";
4
4
  import {
5
- Service76,
6
- node79
7
- } from "./command-et97578y.js";
5
+ Service69,
6
+ node71
7
+ } from "./agent-btchm180.js";
8
8
  import {
9
9
  __export
10
- } from "./command-9rqn6x4v.js";
10
+ } from "./agent-9rqn6x4v.js";
11
11
 
12
12
  // src/file-mutation.ts
13
13
  var exports_file_mutation = {};
14
14
  __export(exports_file_mutation, {
15
15
  FileMutation: () => exports_file_mutation,
16
- Service: () => Service60,
17
- node: () => node63,
16
+ Service: () => Service68,
17
+ node: () => node70,
18
18
  readText: () => readText2,
19
19
  syncTextBom: () => syncTextBom2
20
20
  });
@@ -22,7 +22,7 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
22
22
  import { Context, Effect, Layer } from "effect";
23
23
  import { FSUtil } from "@opencode/util/fs-util";
24
24
  import { Bom } from "@opencode/util/bom";
25
- class Service60 extends Context.Service()("@opencode/FileMutation") {
25
+ class Service68 extends Context.Service()("@opencode/FileMutation") {
26
26
  }
27
27
  var readText2 = Effect.fn("FileMutation.readText")(function* (files, target) {
28
28
  return Bom.decodeBytes((yield* files.read(target)).bytes);
@@ -34,8 +34,8 @@ var syncTextBom2 = Effect.fn("FileMutation.syncTextBom")(function* (files, targe
34
34
  return synced.text;
35
35
  });
36
36
  var transactionLocks = makeUnsafe2();
37
- var layer = Layer.effect(Service60, Effect.gen(function* () {
38
- const environment = yield* Service76;
37
+ var layer = Layer.effect(Service68, Effect.gen(function* () {
38
+ const environment = yield* Service69;
39
39
  const locks = makeUnsafe2();
40
40
  const withLock = (targets) => (effect) => [...new Set(targets.map(FSUtil.resolve))].sort().reduceRight((result, target) => transactionLocks.withLock(target)(result), effect);
41
41
  const withTargetLock = (target) => (effect) => locks.withLock(target.absolute)(Effect.uninterruptible(effect));
@@ -56,8 +56,8 @@ var layer = Layer.effect(Service60, Effect.gen(function* () {
56
56
  yield* environment.files.write(input.target.absolute, new TextEncoder().encode(Bom.join(next.text, Boolean(current && Bom.has(current)) || next.bom)));
57
57
  return writeResult(input.target, current !== undefined);
58
58
  })));
59
- return Service60.of({ withLock, write, writeTextPreservingBom });
59
+ return Service68.of({ withLock, write, writeTextPreservingBom });
60
60
  }));
61
- var node63 = makeLocationNode({ service: Service60, layer, deps: [node79] });
61
+ var node70 = makeLocationNode({ service: Service68, layer, deps: [node71] });
62
62
 
63
- export { Service60, readText2, syncTextBom2, node63, exports_file_mutation };
63
+ export { Service68, readText2, syncTextBom2, node70, exports_file_mutation };