@opencode/core 0.0.0-dev-21344 → 0.0.0-dev-21353

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (795) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +83 -83
  3. package/dist/aisdk-native.js +91 -91
  4. package/dist/aisdk.js +96 -96
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +75 -75
  7. package/dist/chunks/{form-268xe8g9.js → image-01h0gpd0.js} +8 -8
  8. package/dist/chunks/{form-7217af1g.js → image-083vb51a.js} +14 -14
  9. package/dist/chunks/{form-0vbcp93d.js → image-0vbcp93d.js} +2 -2
  10. package/dist/chunks/{form-9yd6k3gs.js → image-0wgykzth.js} +19 -19
  11. package/dist/chunks/{form-x86nz4fc.js → image-0yb1y9ej.js} +10 -10
  12. package/dist/chunks/{form-3mgq9tn8.js → image-1194cnex.js} +13 -13
  13. package/dist/chunks/{form-tpw6cwsb.js → image-1ajx6rf5.js} +8 -8
  14. package/dist/chunks/{form-whvnf6b4.js → image-1h1fsptm.js} +28 -28
  15. package/dist/chunks/{form-wryv9aq9.js → image-1hs8ay8h.js} +8 -8
  16. package/dist/chunks/{form-1a8kzx3z.js → image-1k7anrhw.js} +9 -9
  17. package/dist/chunks/{form-f88m6yqb.js → image-1kn5hemh.js} +14 -14
  18. package/dist/chunks/{form-ggkcxy96.js → image-1p1ve7qe.js} +9 -9
  19. package/dist/chunks/{form-n3gv7a1h.js → image-1rrzdxsd.js} +27 -27
  20. package/dist/chunks/{form-zx383xpj.js → image-1tw9c27j.js} +11 -11
  21. package/dist/chunks/{form-qq5nsf62.js → image-1vbha5hz.js} +27 -27
  22. package/dist/chunks/{form-z0p92055.js → image-1zt75xk3.js} +9 -9
  23. package/dist/chunks/{form-g97htqd3.js → image-22r91a23.js} +19 -19
  24. package/dist/chunks/{form-gv897vmw.js → image-2f6gh5w9.js} +13 -13
  25. package/dist/chunks/{form-vgcrqvce.js → image-2qbg3zpg.js} +19 -19
  26. package/dist/chunks/{form-22sd1qqc.js → image-30846h32.js} +7 -7
  27. package/dist/chunks/{form-46tcmqje.js → image-30b6sj23.js} +21 -21
  28. package/dist/chunks/{form-t3dbhzng.js → image-351565k0.js} +13 -13
  29. package/dist/chunks/{form-fn9t717r.js → image-395q6j9z.js} +6 -6
  30. package/dist/chunks/{form-3hepkmqq.js → image-3hepkmqq.js} +1 -1
  31. package/dist/chunks/{form-pypvpsrm.js → image-3hw58eqe.js} +11 -11
  32. package/dist/chunks/{form-3hwn7j4h.js → image-3hwn7j4h.js} +2 -2
  33. package/dist/chunks/{form-06qmw05c.js → image-3hwtt59p.js} +31 -31
  34. package/dist/chunks/{form-3smtnn6g.js → image-3smtnn6g.js} +1 -1
  35. package/dist/chunks/{form-1mn6fryd.js → image-3tfenn25.js} +31 -31
  36. package/dist/chunks/{form-3tvqynh2.js → image-3tvqynh2.js} +1 -1
  37. package/dist/chunks/{form-3zsf4n22.js → image-3zsf4n22.js} +1 -1
  38. package/dist/chunks/{form-4r8b378w.js → image-46pvfnqm.js} +8 -8
  39. package/dist/chunks/{form-8pdcb37s.js → image-4728cpmt.js} +181 -181
  40. package/dist/chunks/{form-ygdna4kr.js → image-47jkzegy.js} +5 -5
  41. package/dist/chunks/{form-1v56txv5.js → image-4asr5hs3.js} +32 -32
  42. package/dist/chunks/{form-7n556vnp.js → image-4dc6xvm0.js} +32 -32
  43. package/dist/chunks/{form-sgphrwae.js → image-4emc1x7w.js} +41 -41
  44. package/dist/chunks/{form-cyj5tmxp.js → image-4hq8n4vp.js} +21 -21
  45. package/dist/chunks/{form-brndm0ne.js → image-4k4srkdp.js} +18 -18
  46. package/dist/chunks/image-4zse7ahf.js +26 -0
  47. package/dist/chunks/{form-tre5yt63.js → image-518cpg7m.js} +8 -8
  48. package/dist/chunks/{form-54ma36ye.js → image-54ma36ye.js} +1 -1
  49. package/dist/chunks/{form-e7gxy7fd.js → image-5g57z1ma.js} +4 -4
  50. package/dist/chunks/{form-exh5eq2b.js → image-5g60a5nh.js} +11 -11
  51. package/dist/chunks/{form-5zh9a8yb.js → image-5gaecxeq.js} +16 -16
  52. package/dist/chunks/{form-5m9w47nd.js → image-5m9w47nd.js} +1 -1
  53. package/dist/chunks/{form-pgty7w5v.js → image-5vax2cp3.js} +37 -37
  54. package/dist/chunks/{form-yj7k2rcj.js → image-6559rxr6.js} +3 -3
  55. package/dist/chunks/{form-9f3m9enf.js → image-66fmfm27.js} +32 -32
  56. package/dist/chunks/{form-6827pfxn.js → image-6827pfxn.js} +1 -1
  57. package/dist/chunks/{form-1xag7s0d.js → image-6h1e3r96.js} +14 -14
  58. package/dist/chunks/{form-3snckwy5.js → image-6kzz2s8v.js} +17 -17
  59. package/dist/chunks/{form-gnbbadj4.js → image-6qfwa7rm.js} +49 -49
  60. package/dist/chunks/{form-6xb47vfp.js → image-6xb47vfp.js} +1 -1
  61. package/dist/chunks/{form-775gj3j1.js → image-775gj3j1.js} +2 -2
  62. package/dist/chunks/{form-7bmhse3q.js → image-7bmhse3q.js} +1 -1
  63. package/dist/chunks/{form-qgn6gcr1.js → image-7dqw4kz8.js} +5 -5
  64. package/dist/chunks/{form-hg8tkm75.js → image-7t4ht595.js} +6 -6
  65. package/dist/chunks/{form-j5897gd2.js → image-7yzy18e4.js} +23 -23
  66. package/dist/chunks/{form-d04ep358.js → image-7zkbhs7g.js} +11 -11
  67. package/dist/chunks/{form-g686f6pq.js → image-80z0vyq9.js} +9 -9
  68. package/dist/chunks/{form-84txncab.js → image-84txncab.js} +1 -1
  69. package/dist/chunks/{form-8m6m0r52.js → image-8m6m0r52.js} +1 -1
  70. package/dist/chunks/{form-8mywswrd.js → image-8mywswrd.js} +1 -1
  71. package/dist/chunks/{form-rkprpv83.js → image-8sze2n9a.js} +6 -6
  72. package/dist/chunks/{form-xyxs5dm1.js → image-8y0yx82m.js} +4 -4
  73. package/dist/chunks/{form-ejrgmtaq.js → image-8yewg0d7.js} +9 -9
  74. package/dist/chunks/{form-mjagy123.js → image-96te9d4b.js} +5 -5
  75. package/dist/chunks/{form-q82c1dje.js → image-97ymgzak.js} +87 -87
  76. package/dist/chunks/{form-nkc1tx59.js → image-97z0bs43.js} +28 -28
  77. package/dist/chunks/{form-251hxpd6.js → image-9bh5q6pj.js} +2 -2
  78. package/dist/chunks/{form-t89fqycx.js → image-9c3np669.js} +8 -8
  79. package/dist/chunks/{form-64vmcaw9.js → image-9gw0rpsb.js} +43 -43
  80. package/dist/chunks/{form-03hw1891.js → image-9jzf0aw1.js} +18 -18
  81. package/dist/chunks/{form-517dcg1a.js → image-9zh3v5nb.js} +11 -11
  82. package/dist/chunks/{form-a20pjse5.js → image-a20pjse5.js} +3 -3
  83. package/dist/chunks/{form-yef9qky4.js → image-a7ahas1f.js} +16 -16
  84. package/dist/chunks/{form-7xhhy66q.js → image-a80hvs68.js} +15 -15
  85. package/dist/chunks/{form-prv28kd3.js → image-aa1e1jy5.js} +14 -14
  86. package/dist/chunks/{form-x661k3y3.js → image-addxnjmp.js} +4 -4
  87. package/dist/chunks/{form-16jfehqd.js → image-amhhbad9.js} +34 -34
  88. package/dist/chunks/{form-v4v0g7kw.js → image-anrfh71g.js} +6 -6
  89. package/dist/chunks/{form-my4zabxr.js → image-axe3mf62.js} +3 -3
  90. package/dist/chunks/{form-12ceq3sd.js → image-b22jz9vm.js} +15 -15
  91. package/dist/chunks/{form-ryr25ayn.js → image-b27vhd2z.js} +4 -4
  92. package/dist/chunks/{form-zdha7q0e.js → image-b2wb4m7c.js} +4 -4
  93. package/dist/chunks/{form-d31hr9cr.js → image-bban3ndt.js} +13 -13
  94. package/dist/chunks/{form-j1mj860n.js → image-bezhzanq.js} +9 -9
  95. package/dist/chunks/{form-kj0herga.js → image-bx90z22d.js} +18 -18
  96. package/dist/chunks/{form-1ep4rre3.js → image-bzeyqsqd.js} +4 -4
  97. package/dist/chunks/{form-c1fqxshp.js → image-c1fqxshp.js} +3 -3
  98. package/dist/chunks/{form-ct33827a.js → image-c3ck1ek2.js} +46 -46
  99. package/dist/chunks/{form-k3qrda5j.js → image-cafbeayz.js} +17 -17
  100. package/dist/chunks/{form-w3qw7gwn.js → image-cdxmksqt.js} +11 -11
  101. package/dist/chunks/{form-cefkz2r6.js → image-cefkz2r6.js} +4 -4
  102. package/dist/chunks/{form-pkywgpj6.js → image-cegemc0n.js} +22 -22
  103. package/dist/chunks/{form-05praa0f.js → image-cmdcezg6.js} +17 -17
  104. package/dist/chunks/{form-yx0rmv9r.js → image-cr9wy6w1.js} +6 -6
  105. package/dist/chunks/{form-y5fzqhne.js → image-csarmdtz.js} +11 -11
  106. package/dist/chunks/{form-zjndanvv.js → image-ct0tjryq.js} +21 -21
  107. package/dist/chunks/{form-8myr7ban.js → image-d1h1yke4.js} +6 -6
  108. package/dist/chunks/{form-e6b459zv.js → image-d1hgjan3.js} +26 -26
  109. package/dist/chunks/{form-38cy47c3.js → image-d7kj1354.js} +7 -7
  110. package/dist/chunks/{form-d7j2b6b5.js → image-d9gh4r4w.js} +5 -5
  111. package/dist/chunks/{form-znjyvqyt.js → image-djz5h4wt.js} +31 -31
  112. package/dist/chunks/{form-crj8jj8v.js → image-dm6x1dpw.js} +34 -34
  113. package/dist/chunks/{form-we3w1333.js → image-dsckepem.js} +7 -7
  114. package/dist/chunks/{form-fj60yz2g.js → image-dt5mbat4.js} +17 -17
  115. package/dist/chunks/{form-5qd3pb7m.js → image-e3qxr5gk.js} +2 -2
  116. package/dist/chunks/{form-dgp61zeh.js → image-e6sdtbx3.js} +16 -16
  117. package/dist/chunks/{form-3xh7hkzg.js → image-e73frkv9.js} +23 -18
  118. package/dist/chunks/{form-e80seqcp.js → image-ed1g29hy.js} +3 -3
  119. package/dist/chunks/{form-eej6y6fw.js → image-eej6y6fw.js} +2 -2
  120. package/dist/chunks/{form-ef5x83kb.js → image-ef5x83kb.js} +1 -1
  121. package/dist/chunks/{form-ghxkdvab.js → image-efydrm8z.js} +38 -38
  122. package/dist/chunks/{form-t3afeeqz.js → image-eh9fasn9.js} +28 -28
  123. package/dist/chunks/{form-fhvqd07r.js → image-ejdpgxfh.js} +16 -16
  124. package/dist/chunks/{form-ra3vfzv1.js → image-erxz9e35.js} +8 -8
  125. package/dist/chunks/{form-wa3r9qa9.js → image-et5vwysx.js} +10 -10
  126. package/dist/chunks/{form-m3s3xc92.js → image-f1zvn1zp.js} +30 -30
  127. package/dist/chunks/{form-g6smwwgg.js → image-f3naraw2.js} +25 -25
  128. package/dist/chunks/{form-1f0rm155.js → image-f6byfets.js} +13 -13
  129. package/dist/chunks/{form-y56ehv6b.js → image-f6f3rwdv.js} +9 -9
  130. package/dist/chunks/{form-h1vf0xqq.js → image-f9vsjar2.js} +25 -25
  131. package/dist/chunks/{form-ggd4e67m.js → image-fb3qa2a3.js} +18 -18
  132. package/dist/chunks/{form-fcy631f0.js → image-fcy631f0.js} +1 -1
  133. package/dist/chunks/{form-nvb1bc80.js → image-fec344yp.js} +17 -17
  134. package/dist/chunks/{form-caz0srpv.js → image-fgwq36m4.js} +11 -11
  135. package/dist/chunks/{form-1rh4e964.js → image-fhq72wmn.js} +11 -11
  136. package/dist/chunks/{form-es3vcbkv.js → image-fs8xzatb.js} +1 -1
  137. package/dist/chunks/{form-djszqvmq.js → image-ft3hqk2c.js} +9 -9
  138. package/dist/chunks/{form-hzt320k7.js → image-g6xanekf.js} +17 -17
  139. package/dist/chunks/{form-t179r25m.js → image-gavj6vbb.js} +42 -42
  140. package/dist/chunks/{form-gd4qta3r.js → image-gd4qta3r.js} +1 -1
  141. package/dist/chunks/{form-ctf2yk4c.js → image-ggrkrqbp.js} +29 -29
  142. package/dist/chunks/{form-qfv36mrb.js → image-ghepbszt.js} +14 -14
  143. package/dist/chunks/{form-7eh5v8ez.js → image-gjvb00zj.js} +24 -24
  144. package/dist/chunks/{form-qh43smsn.js → image-gmcj73t6.js} +15 -15
  145. package/dist/chunks/{form-rc6vcpxp.js → image-gt43e7fh.js} +31 -31
  146. package/dist/chunks/{form-ft0vqakg.js → image-gvenbtv1.js} +48 -48
  147. package/dist/chunks/{form-7g9ka3b7.js → image-gyec0xxy.js} +14 -14
  148. package/dist/chunks/{form-gpmesn0v.js → image-h4ys6t5f.js} +44 -44
  149. package/dist/chunks/{form-h6vf3j39.js → image-h6vf3j39.js} +1 -1
  150. package/dist/chunks/{form-k60xj1t7.js → image-h9mg0s4d.js} +2 -2
  151. package/dist/chunks/{form-hgz4x7wa.js → image-hgz4x7wa.js} +1 -1
  152. package/dist/chunks/{form-1851grx7.js → image-hm1vmn1k.js} +13 -13
  153. package/dist/chunks/{form-4xf1jpfm.js → image-hqk4yetc.js} +4 -4
  154. package/dist/chunks/{form-wwvmde0v.js → image-hstfzaq7.js} +7 -7
  155. package/dist/chunks/{form-sxcwrkvg.js → image-hypd32sv.js} +5 -5
  156. package/dist/chunks/image-j5t1wkep.js +257 -0
  157. package/dist/chunks/{form-rcmz3p1d.js → image-j8yjkxsc.js} +16 -16
  158. package/dist/chunks/{form-gvj76kbm.js → image-jbx0qmp6.js} +13 -13
  159. package/dist/chunks/{form-x3fa5db0.js → image-jjbjr11c.js} +13 -13
  160. package/dist/chunks/{form-nnatg56w.js → image-jkyda9gr.js} +24 -24
  161. package/dist/chunks/{form-sqph2rem.js → image-jmjkmz1e.js} +3 -3
  162. package/dist/chunks/image-jqh9b0xq.js +18 -0
  163. package/dist/chunks/{form-90gj6ab4.js → image-jr45emde.js} +21 -21
  164. package/dist/chunks/{form-dpkg50ah.js → image-jwcy2c2z.js} +4 -4
  165. package/dist/chunks/{form-jpatghfr.js → image-jy18cvd3.js} +11 -11
  166. package/dist/chunks/{form-fz4d0gag.js → image-k2t3b49x.js} +45 -45
  167. package/dist/chunks/{form-9hhx5af9.js → image-kemp0nh6.js} +4 -4
  168. package/dist/chunks/{form-hq3c8me3.js → image-khmqacep.js} +4 -4
  169. package/dist/chunks/{form-1pxz8ven.js → image-kjdm35cs.js} +5 -5
  170. package/dist/chunks/{form-3kmbmqbb.js → image-kjk76est.js} +1 -1
  171. package/dist/chunks/{form-5h12h0cy.js → image-kkf1g7ev.js} +35 -35
  172. package/dist/chunks/{form-sz15zhhw.js → image-kqv3x6rj.js} +9 -9
  173. package/dist/chunks/{form-w4mkebwp.js → image-ktmtg3js.js} +28 -28
  174. package/dist/chunks/{form-86d0rtkg.js → image-kv5z1x5y.js} +11 -11
  175. package/dist/chunks/{form-kwb1v3vj.js → image-kwb1v3vj.js} +1 -1
  176. package/dist/chunks/{form-gp275c3d.js → image-kx2jnmha.js} +86 -86
  177. package/dist/chunks/{form-kx5nz21w.js → image-m05az60r.js} +7 -7
  178. package/dist/chunks/{form-nj7hqrdc.js → image-m2jn1rny.js} +8 -8
  179. package/dist/chunks/{form-gkn1t7a9.js → image-m6f686h9.js} +7 -7
  180. package/dist/chunks/{form-eba4qtm8.js → image-m6pzv6qy.js} +30 -30
  181. package/dist/chunks/{form-861n07f3.js → image-m7hsy9t7.js} +21 -21
  182. package/dist/chunks/{form-xvb5x7q0.js → image-m88e3v2c.js} +13 -13
  183. package/dist/chunks/{form-m9w0rfyh.js → image-m9w0rfyh.js} +1 -1
  184. package/dist/chunks/{form-qm4y2xbd.js → image-ma49tmbe.js} +16 -16
  185. package/dist/chunks/{form-maspj1v3.js → image-maspj1v3.js} +1 -1
  186. package/dist/chunks/{form-43pfpj47.js → image-mnrjv27a.js} +11 -11
  187. package/dist/chunks/{form-njd51qxm.js → image-mvq0hees.js} +29 -29
  188. package/dist/chunks/{form-ve45bn9x.js → image-n1n7vh17.js} +6 -6
  189. package/dist/chunks/{form-s031wkkr.js → image-n1ppvzbf.js} +18 -18
  190. package/dist/chunks/{form-s26hbv8p.js → image-n2srvep7.js} +4 -4
  191. package/dist/chunks/{form-jtf29y2t.js → image-n86af5gf.js} +12 -12
  192. package/dist/chunks/{form-ck9mnxsy.js → image-n8s7bsma.js} +19 -19
  193. package/dist/chunks/{form-yvgq1qte.js → image-nbh0xpzn.js} +11 -11
  194. package/dist/chunks/{form-65mr19er.js → image-nc0h3w2m.js} +12 -12
  195. package/dist/chunks/{form-gwc3z95n.js → image-ncrh0je9.js} +21 -21
  196. package/dist/chunks/{form-d45h4px0.js → image-ndm49mgb.js} +63 -63
  197. package/dist/chunks/{form-mbtcjnsj.js → image-nragh1dj.js} +9 -9
  198. package/dist/chunks/{form-48sw23k9.js → image-nvzrxvxc.js} +20 -20
  199. package/dist/chunks/{form-nz56sr1f.js → image-nz56sr1f.js} +2 -2
  200. package/dist/chunks/{form-sxzvkvgj.js → image-nzq7ck9f.js} +6 -6
  201. package/dist/chunks/{form-rzqnmzcf.js → image-p0xc8cbz.js} +28 -28
  202. package/dist/chunks/{form-p0ztmah6.js → image-p24h42ep.js} +27 -27
  203. package/dist/chunks/{form-ntwbnv8p.js → image-p29tfqw7.js} +8 -8
  204. package/dist/chunks/{form-h3jggzk4.js → image-p3v7df0d.js} +3 -3
  205. package/dist/chunks/{form-pxp0janp.js → image-p44ennw5.js} +28 -28
  206. package/dist/chunks/{form-svz1p6c6.js → image-p4vsvt80.js} +26 -26
  207. package/dist/chunks/{form-45ptwq2c.js → image-p7zyqd9z.js} +4 -4
  208. package/dist/chunks/{form-3jqnp5e1.js → image-panvc78e.js} +27 -27
  209. package/dist/chunks/{form-g7cb5dsr.js → image-pd4nms9f.js} +25 -25
  210. package/dist/chunks/{form-zy43x3f1.js → image-pgp1nwjn.js} +4 -4
  211. package/dist/chunks/{form-pjvnvgmy.js → image-pjvnvgmy.js} +1 -1
  212. package/dist/chunks/{form-pknna89w.js → image-pknna89w.js} +1 -1
  213. package/dist/chunks/{form-a5wmqwpc.js → image-pmbsp082.js} +5 -5
  214. package/dist/chunks/{form-c6jrq38e.js → image-pmyh7nqh.js} +11 -11
  215. package/dist/chunks/{form-e0vw22bh.js → image-pvxjgtaj.js} +13 -13
  216. package/dist/chunks/{form-mjb8sty1.js → image-pwv5f1qj.js} +14 -14
  217. package/dist/chunks/{form-1zvfhj0e.js → image-q5b9end6.js} +17 -17
  218. package/dist/chunks/{form-g2t9s127.js → image-q5c54jq2.js} +5 -5
  219. package/dist/chunks/{form-vcxbe612.js → image-qaytfw51.js} +11 -11
  220. package/dist/chunks/{form-qnc92qwc.js → image-qnc92qwc.js} +1 -1
  221. package/dist/chunks/{form-qsdy395h.js → image-qsdy395h.js} +1 -1
  222. package/dist/chunks/{form-wz5ft07p.js → image-qxtmr2bd.js} +4 -4
  223. package/dist/chunks/{form-y3446w5g.js → image-r8scfq5x.js} +11 -11
  224. package/dist/chunks/{form-rdw6cm16.js → image-rdw6cm16.js} +1 -1
  225. package/dist/chunks/{form-rert0e01.js → image-rert0e01.js} +2 -2
  226. package/dist/chunks/{form-rj3eygr5.js → image-rj3eygr5.js} +2 -2
  227. package/dist/chunks/{form-0nwnefwx.js → image-s42kenf7.js} +26 -26
  228. package/dist/chunks/{form-4q08mgzs.js → image-s7jracht.js} +50 -50
  229. package/dist/chunks/{form-sa8ekw3f.js → image-sa8ekw3f.js} +2 -2
  230. package/dist/chunks/{form-h2r6cra7.js → image-sehrhyyf.js} +29 -29
  231. package/dist/chunks/{form-npw39rc8.js → image-shq4beby.js} +8 -8
  232. package/dist/chunks/{form-6cw2sbjh.js → image-sp6vjzv0.js} +22 -22
  233. package/dist/chunks/{form-syv4x271.js → image-syv4x271.js} +1 -1
  234. package/dist/chunks/{form-9vkgtp31.js → image-t4ge0q7b.js} +11 -11
  235. package/dist/chunks/{form-t550f9t1.js → image-t550f9t1.js} +1 -1
  236. package/dist/chunks/{form-g4m4kdwx.js → image-t75jmxzf.js} +19 -19
  237. package/dist/chunks/{form-p9z0zkdt.js → image-t990ctgk.js} +17 -17
  238. package/dist/chunks/{form-tazgh4e4.js → image-tazgh4e4.js} +1 -1
  239. package/dist/chunks/{form-89znhe33.js → image-tcezcvh9.js} +4 -4
  240. package/dist/chunks/{form-tdstcens.js → image-tdstcens.js} +1 -1
  241. package/dist/chunks/{form-tm0kqsz3.js → image-tm0kqsz3.js} +1 -1
  242. package/dist/chunks/{form-xc1f0rvb.js → image-tm49qxme.js} +29 -29
  243. package/dist/chunks/{form-3n01zwdf.js → image-ttegwk89.js} +51 -51
  244. package/dist/chunks/{form-tyytaxap.js → image-tyytaxap.js} +1 -1
  245. package/dist/chunks/{form-v210v162.js → image-v210v162.js} +2 -2
  246. package/dist/chunks/{form-v7p4zvkq.js → image-v7p4zvkq.js} +2 -2
  247. package/dist/chunks/{form-veqvce7d.js → image-veqvce7d.js} +1 -1
  248. package/dist/chunks/{form-2z0hcvmw.js → image-vezscz40.js} +11 -11
  249. package/dist/chunks/{form-qy0p29jn.js → image-vjftp164.js} +20 -20
  250. package/dist/chunks/{form-q3nahge5.js → image-vn5825e0.js} +30 -30
  251. package/dist/chunks/{form-fww2ha2b.js → image-vppcbm3y.js} +10 -10
  252. package/dist/chunks/{form-c61xra83.js → image-vt86xne3.js} +24 -24
  253. package/dist/chunks/{form-e03vnsya.js → image-vwxanczf.js} +3 -3
  254. package/dist/chunks/{form-vzs5sf6e.js → image-vzs5sf6e.js} +1 -1
  255. package/dist/chunks/{form-w3wsvvr9.js → image-w3wsvvr9.js} +1 -1
  256. package/dist/chunks/{form-7je7e60q.js → image-w78vqhg3.js} +22 -22
  257. package/dist/chunks/{form-wd87259q.js → image-wd87259q.js} +1 -1
  258. package/dist/chunks/{form-znm2wwgf.js → image-wg4qsc1b.js} +3 -3
  259. package/dist/chunks/{form-1ffvrpkg.js → image-wjr9rjd7.js} +9 -9
  260. package/dist/chunks/{form-y0samtkt.js → image-wq6k0z11.js} +8 -8
  261. package/dist/chunks/{form-3gc7db2q.js → image-wsq2zfdz.js} +9 -9
  262. package/dist/chunks/{form-rsm4htgs.js → image-wt7tckee.js} +14 -14
  263. package/dist/chunks/{form-24whbny8.js → image-wwj4grbh.js} +14 -14
  264. package/dist/chunks/{form-mze36jyg.js → image-x5j6pcx9.js} +19 -19
  265. package/dist/chunks/{form-drwq78ky.js → image-xfkkasph.js} +4 -4
  266. package/dist/chunks/{form-tdqj5rj9.js → image-xj1aydcy.js} +5 -5
  267. package/dist/chunks/{form-eps22w94.js → image-xk4cpj8j.js} +11 -11
  268. package/dist/chunks/{form-a9fy9mxz.js → image-xkhyfmkz.js} +4 -4
  269. package/dist/chunks/{form-e17kez53.js → image-xpsv30eg.js} +9 -9
  270. package/dist/chunks/{form-cdyfjk22.js → image-xq4c3w27.js} +7 -7
  271. package/dist/chunks/{form-tag4a24h.js → image-xzyrnmr3.js} +5 -5
  272. package/dist/chunks/{form-y1fvbwt7.js → image-y1fvbwt7.js} +1 -1
  273. package/dist/chunks/{form-cjd6ew82.js → image-y1nrmgz3.js} +17 -17
  274. package/dist/chunks/{form-km5g435h.js → image-y5x4fqb9.js} +3 -3
  275. package/dist/chunks/{form-bmkdxg01.js → image-ya42eppp.js} +336 -336
  276. package/dist/chunks/{form-4kpsjb1s.js → image-ykyctq8j.js} +5 -5
  277. package/dist/chunks/{form-rnwvn009.js → image-ymfzg3r4.js} +20 -20
  278. package/dist/chunks/{form-awg6j8k5.js → image-yvxf7myb.js} +24 -24
  279. package/dist/chunks/{form-z0bkrqjs.js → image-z0bkrqjs.js} +1 -1
  280. package/dist/chunks/{form-z18fegx4.js → image-z18fegx4.js} +1 -1
  281. package/dist/chunks/{form-2vs2nh1n.js → image-zee1rnkq.js} +4 -4
  282. package/dist/chunks/{form-spvhq4rn.js → image-zgdtg3bp.js} +5 -5
  283. package/dist/chunks/{form-zr2ceqn5.js → image-zr2ceqn5.js} +1 -1
  284. package/dist/chunks/{form-hw9vqzfw.js → image-zsaz8xqx.js} +38 -38
  285. package/dist/chunks/{form-sacfpxxw.js → image-zsg2y1wt.js} +2 -2
  286. package/dist/chunks/{form-tdvmxvqx.js → image-zwcaz485.js} +1 -1
  287. package/dist/chunks/{form-zxq2ej10.js → image-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 +83 -83
  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 +208 -208
  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 +74 -74
  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 +370 -370
  402. package/dist/effect/app-node-platform.js +2 -2
  403. package/dist/effect/keyed-mutex.js +3 -3
  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 +74 -74
  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 +221 -221
  424. package/dist/filesystem/protected.js +3 -3
  425. package/dist/filesystem/search.js +105 -105
  426. package/dist/filesystem/watcher-binding.js +3 -3
  427. package/dist/filesystem/watcher.js +15 -15
  428. package/dist/filesystem.js +108 -108
  429. package/dist/form.js +80 -80
  430. package/dist/formatter/builtins.js +4 -4
  431. package/dist/formatter.js +89 -89
  432. package/dist/generate.js +106 -106
  433. package/dist/git.js +8 -8
  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 +361 -361
  457. package/dist/instruction-discovery.js +86 -86
  458. package/dist/instructions/builtins.js +89 -89
  459. package/dist/instructions/index.js +1 -1
  460. package/dist/integration/connection.js +3 -3
  461. package/dist/integration.js +89 -89
  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 +167 -140
  466. package/dist/location-lifecycle.js +109 -109
  467. package/dist/location-service-map.js +88 -88
  468. package/dist/location-services.js +358 -358
  469. package/dist/location.js +85 -85
  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 +131 -131
  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 +100 -100
  479. package/dist/model-retry.js +1 -1
  480. package/dist/model.js +98 -98
  481. package/dist/models-dev.js +109 -109
  482. package/dist/oauth/page.js +1 -1
  483. package/dist/permission/saved.js +86 -86
  484. package/dist/permission/sql.js +5 -5
  485. package/dist/permission.js +113 -113
  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 +3 -3
  494. package/dist/plugin/host.js +212 -212
  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 +4 -4
  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 +114 -114
  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 +118 -118
  528. package/dist/plugin/provider/opencode.js +100 -100
  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 +168 -168
  541. package/dist/plugin/sdk.js +78 -78
  542. package/dist/plugin/service.js +3 -3
  543. package/dist/plugin/skill.js +132 -132
  544. package/dist/plugin/source-directory.js +1 -1
  545. package/dist/plugin/supervisor.js +347 -347
  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 +7 -7
  553. package/dist/plugin/websearch/firecrawl.js +8 -8
  554. package/dist/plugin/websearch/index.js +9 -9
  555. package/dist/plugin/websearch/mcp.js +6 -6
  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 +6 -6
  559. package/dist/plugin.js +219 -219
  560. package/dist/project/schema.js +2 -2
  561. package/dist/project/sql.js +4 -4
  562. package/dist/project.js +84 -84
  563. package/dist/provider.js +101 -101
  564. package/dist/pty/protocol.js +1 -1
  565. package/dist/pty/ticket.js +1 -1
  566. package/dist/pty.js +97 -97
  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 +1 -1
  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 +155 -155
  579. package/dist/session/diff.js +90 -90
  580. package/dist/session/environment.js +5 -5
  581. package/dist/session/error.js +3 -3
  582. package/dist/session/event.js +1 -1
  583. package/dist/session/execution/restart.js +215 -215
  584. package/dist/session/execution.js +127 -127
  585. package/dist/session/generate.js +157 -157
  586. package/dist/session/history.js +15 -15
  587. package/dist/session/inbox.js +97 -97
  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 +122 -122
  595. package/dist/session/model-transport.js +9 -9
  596. package/dist/session/move.js +131 -131
  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 +223 -223
  604. package/dist/session/runner/max-steps.js +1 -1
  605. package/dist/session/runner/model.js +100 -100
  606. package/dist/session/runner/publish-llm-event.js +115 -115
  607. package/dist/session/runner/retry.js +5 -5
  608. package/dist/session/runner/step.js +126 -126
  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 +164 -164
  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 +85 -85
  617. package/dist/session/subagent-completion.js +1 -1
  618. package/dist/session/subagent-job.js +206 -206
  619. package/dist/session/system-prompt.js +3 -3
  620. package/dist/session/title.js +153 -153
  621. package/dist/session/to-session-error.js +113 -113
  622. package/dist/session/transfer.js +211 -211
  623. package/dist/session/usage.js +1 -1
  624. package/dist/session.js +210 -210
  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 +13 -13
  629. package/dist/shell.js +130 -130
  630. package/dist/skill/discovery.js +6 -6
  631. package/dist/skill/instructions.js +109 -109
  632. package/dist/skill.js +114 -114
  633. package/dist/snapshot.js +93 -93
  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 +130 -130
  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 +126 -126
  642. package/dist/tool/plugin/mcp-resource.js +119 -119
  643. package/dist/tool/plugin/opencode.js +111 -111
  644. package/dist/tool/plugin/patch.js +124 -124
  645. package/dist/tool/plugin/question.js +107 -107
  646. package/dist/tool/plugin/read.js +125 -125
  647. package/dist/tool/plugin/shell.js +211 -211
  648. package/dist/tool/plugin/skill.js +111 -111
  649. package/dist/tool/plugin/subagent.js +213 -213
  650. package/dist/tool/plugin/todo.js +138 -138
  651. package/dist/tool/plugin/webfetch.js +114 -114
  652. package/dist/tool/plugin/websearch.js +116 -116
  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 +16 -16
  658. package/dist/util/error-summary.js +1 -1
  659. package/dist/util/error.js +1 -1
  660. package/dist/util/git-executable.js +2 -2
  661. package/dist/util/iife.js +1 -1
  662. package/dist/util/lazy.js +1 -1
  663. package/dist/util/slug.js +1 -1
  664. package/dist/util/token.js +1 -1
  665. package/dist/util/which.js +1 -1
  666. package/dist/util/wildcard.js +1 -1
  667. package/dist/v1/config/agent.js +5 -5
  668. package/dist/v1/config/command.js +3 -3
  669. package/dist/v1/config/error.js +2 -2
  670. package/dist/v1/config/mcp.js +4 -4
  671. package/dist/v1/config/migrate.js +94 -94
  672. package/dist/v1/config/permission.js +7 -7
  673. package/dist/v1/config/plugin.js +3 -3
  674. package/dist/v1/config/provider-options.js +1 -1
  675. package/dist/v1/config/provider.js +4 -4
  676. package/dist/variant.js +93 -93
  677. package/dist/vcs/patch.js +1 -1
  678. package/dist/vcs.js +89 -89
  679. package/dist/voice.js +90 -90
  680. package/dist/websearch.js +86 -86
  681. package/dist/wellknown/plugin.js +78 -78
  682. package/dist/wellknown.js +83 -83
  683. package/dist/workspace/driver.js +5 -5
  684. package/dist/workspace/sql.js +1 -1
  685. package/dist/workspace.js +84 -84
  686. package/dist/worktree/directory.js +2 -2
  687. package/dist/worktree/git.js +10 -10
  688. package/dist/worktree/sql.js +5 -5
  689. package/dist/worktree/strategies.js +91 -91
  690. package/dist/worktree.js +98 -98
  691. package/package.json +8 -8
  692. package/dist/chunks/form-1x11rq2a.js +0 -18
  693. package/dist/chunks/form-49xamyg9.js +0 -257
  694. package/dist/chunks/form-8dempt9d.js +0 -26
  695. /package/dist/chunks/{form-0qkdqm5v.js → image-0qkdqm5v.js} +0 -0
  696. /package/dist/chunks/{form-0zkw76rk.js → image-0zkw76rk.js} +0 -0
  697. /package/dist/chunks/{form-17cy0kzp.js → image-17cy0kzp.js} +0 -0
  698. /package/dist/chunks/{form-1cnp2v09.js → image-1cnp2v09.js} +0 -0
  699. /package/dist/chunks/{form-1kg9ymc8.js → image-1kg9ymc8.js} +0 -0
  700. /package/dist/chunks/{form-24dcb14g.js → image-24dcb14g.js} +0 -0
  701. /package/dist/chunks/{form-2710q6r3.js → image-2710q6r3.js} +0 -0
  702. /package/dist/chunks/{form-2axfhc9x.js → image-2axfhc9x.js} +0 -0
  703. /package/dist/chunks/{form-2bv980vf.js → image-2bv980vf.js} +0 -0
  704. /package/dist/chunks/{form-2c3vjs8z.js → image-2c3vjs8z.js} +0 -0
  705. /package/dist/chunks/{form-359p4xyc.js → image-359p4xyc.js} +0 -0
  706. /package/dist/chunks/{form-3asan66x.js → image-3asan66x.js} +0 -0
  707. /package/dist/chunks/{form-3t0ybcrp.js → image-3t0ybcrp.js} +0 -0
  708. /package/dist/chunks/{form-3v8g72cx.js → image-3v8g72cx.js} +0 -0
  709. /package/dist/chunks/{form-3wcehsnq.js → image-3wcehsnq.js} +0 -0
  710. /package/dist/chunks/{form-43n2bw4t.js → image-43n2bw4t.js} +0 -0
  711. /package/dist/chunks/{form-4knz6hnm.js → image-4knz6hnm.js} +0 -0
  712. /package/dist/chunks/{form-4vcrnpx2.js → image-4vcrnpx2.js} +0 -0
  713. /package/dist/chunks/{form-4y7fprxs.js → image-4y7fprxs.js} +0 -0
  714. /package/dist/chunks/{form-53557ph1.js → image-53557ph1.js} +0 -0
  715. /package/dist/chunks/{form-550bvhaj.js → image-550bvhaj.js} +0 -0
  716. /package/dist/chunks/{form-6prwharc.js → image-6prwharc.js} +0 -0
  717. /package/dist/chunks/{form-6q2bdcd1.js → image-6q2bdcd1.js} +0 -0
  718. /package/dist/chunks/{form-7akdwqpd.js → image-7akdwqpd.js} +0 -0
  719. /package/dist/chunks/{form-7m9af43g.js → image-7m9af43g.js} +0 -0
  720. /package/dist/chunks/{form-822emrt2.js → image-822emrt2.js} +0 -0
  721. /package/dist/chunks/{form-84wd9syh.js → image-84wd9syh.js} +0 -0
  722. /package/dist/chunks/{form-88xbtdfr.js → image-88xbtdfr.js} +0 -0
  723. /package/dist/chunks/{form-8n3pysct.js → image-8n3pysct.js} +0 -0
  724. /package/dist/chunks/{form-8wj87zfr.js → image-8wj87zfr.js} +0 -0
  725. /package/dist/chunks/{form-9a4afbnw.js → image-9a4afbnw.js} +0 -0
  726. /package/dist/chunks/{form-9rqn6x4v.js → image-9rqn6x4v.js} +0 -0
  727. /package/dist/chunks/{form-a6k6eb26.js → image-a6k6eb26.js} +0 -0
  728. /package/dist/chunks/{form-af5trqkr.js → image-af5trqkr.js} +0 -0
  729. /package/dist/chunks/{form-afrmfg78.js → image-afrmfg78.js} +0 -0
  730. /package/dist/chunks/{form-aqzs7mqg.js → image-aqzs7mqg.js} +0 -0
  731. /package/dist/chunks/{form-atq7p7m5.js → image-atq7p7m5.js} +0 -0
  732. /package/dist/chunks/{form-bkyjaxrp.js → image-bkyjaxrp.js} +0 -0
  733. /package/dist/chunks/{form-bmr6ed5q.js → image-bmr6ed5q.js} +0 -0
  734. /package/dist/chunks/{form-cf4snx6d.js → image-cf4snx6d.js} +0 -0
  735. /package/dist/chunks/{form-cvy3z8tj.js → image-cvy3z8tj.js} +0 -0
  736. /package/dist/chunks/{form-d9fn303g.js → image-d9fn303g.js} +0 -0
  737. /package/dist/chunks/{form-d9jj8t3e.js → image-d9jj8t3e.js} +0 -0
  738. /package/dist/chunks/{form-dajrwvna.js → image-dajrwvna.js} +0 -0
  739. /package/dist/chunks/{form-dap0rakb.js → image-dap0rakb.js} +0 -0
  740. /package/dist/chunks/{form-df08tz66.js → image-df08tz66.js} +0 -0
  741. /package/dist/chunks/{form-dy18nga0.js → image-dy18nga0.js} +0 -0
  742. /package/dist/chunks/{form-e5kj55wp.js → image-e5kj55wp.js} +0 -0
  743. /package/dist/chunks/{form-e73j6tqm.js → image-e73j6tqm.js} +0 -0
  744. /package/dist/chunks/{form-ec1grn59.js → image-ec1grn59.js} +0 -0
  745. /package/dist/chunks/{form-eh3zwz77.js → image-eh3zwz77.js} +0 -0
  746. /package/dist/chunks/{form-emrn6kk6.js → image-emrn6kk6.js} +0 -0
  747. /package/dist/chunks/{form-f0mxakyp.js → image-f0mxakyp.js} +0 -0
  748. /package/dist/chunks/{form-f6n9ztr4.js → image-f6n9ztr4.js} +0 -0
  749. /package/dist/chunks/{form-faypxj3z.js → image-faypxj3z.js} +0 -0
  750. /package/dist/chunks/{form-fd410y7t.js → image-fd410y7t.js} +0 -0
  751. /package/dist/chunks/{form-g4wezp1m.js → image-g4wezp1m.js} +0 -0
  752. /package/dist/chunks/{form-g86h250q.js → image-g86h250q.js} +0 -0
  753. /package/dist/chunks/{form-gebd4c9n.js → image-gebd4c9n.js} +0 -0
  754. /package/dist/chunks/{form-gftt206x.js → image-gftt206x.js} +0 -0
  755. /package/dist/chunks/{form-hcxmzztb.js → image-hcxmzztb.js} +0 -0
  756. /package/dist/chunks/{form-hk9envan.js → image-hk9envan.js} +0 -0
  757. /package/dist/chunks/{form-j2ntwpah.js → image-j2ntwpah.js} +0 -0
  758. /package/dist/chunks/{form-j5zkgpj8.js → image-j5zkgpj8.js} +0 -0
  759. /package/dist/chunks/{form-jjkms2e6.js → image-jjkms2e6.js} +0 -0
  760. /package/dist/chunks/{form-jr7sbwjy.js → image-jr7sbwjy.js} +0 -0
  761. /package/dist/chunks/{form-jwfs4k6c.js → image-jwfs4k6c.js} +0 -0
  762. /package/dist/chunks/{form-jze0r7bz.js → image-jze0r7bz.js} +0 -0
  763. /package/dist/chunks/{form-jzg6c2d5.js → image-jzg6c2d5.js} +0 -0
  764. /package/dist/chunks/{form-m18g726c.js → image-m18g726c.js} +0 -0
  765. /package/dist/chunks/{form-mp448xyj.js → image-mp448xyj.js} +0 -0
  766. /package/dist/chunks/{form-msx8hqn2.js → image-msx8hqn2.js} +0 -0
  767. /package/dist/chunks/{form-n05xt0ee.js → image-n05xt0ee.js} +0 -0
  768. /package/dist/chunks/{form-n3j8tn72.js → image-n3j8tn72.js} +0 -0
  769. /package/dist/chunks/{form-njntx4h6.js → image-njntx4h6.js} +0 -0
  770. /package/dist/chunks/{form-pkyv6v7h.js → image-pkyv6v7h.js} +0 -0
  771. /package/dist/chunks/{form-pyv0edze.js → image-pyv0edze.js} +0 -0
  772. /package/dist/chunks/{form-q3sfg36h.js → image-q3sfg36h.js} +0 -0
  773. /package/dist/chunks/{form-q74kybfr.js → image-q74kybfr.js} +0 -0
  774. /package/dist/chunks/{form-qaymkmh1.js → image-qaymkmh1.js} +0 -0
  775. /package/dist/chunks/{form-qb87gjwd.js → image-qb87gjwd.js} +0 -0
  776. /package/dist/chunks/{form-qfa1cgps.js → image-qfa1cgps.js} +0 -0
  777. /package/dist/chunks/{form-qg3g05ea.js → image-qg3g05ea.js} +0 -0
  778. /package/dist/chunks/{form-qrg20bc0.js → image-qrg20bc0.js} +0 -0
  779. /package/dist/chunks/{form-rcb2kzg1.js → image-rcb2kzg1.js} +0 -0
  780. /package/dist/chunks/{form-sdp7kfr6.js → image-sdp7kfr6.js} +0 -0
  781. /package/dist/chunks/{form-ssg3fenm.js → image-ssg3fenm.js} +0 -0
  782. /package/dist/chunks/{form-ve7vex1e.js → image-ve7vex1e.js} +0 -0
  783. /package/dist/chunks/{form-w803qqfp.js → image-w803qqfp.js} +0 -0
  784. /package/dist/chunks/{form-wc3fc9cn.js → image-wc3fc9cn.js} +0 -0
  785. /package/dist/chunks/{form-wer8tq1h.js → image-wer8tq1h.js} +0 -0
  786. /package/dist/chunks/{form-wjj7prxr.js → image-wjj7prxr.js} +0 -0
  787. /package/dist/chunks/{form-wtztk69x.js → image-wtztk69x.js} +0 -0
  788. /package/dist/chunks/{form-x0ckcb58.js → image-x0ckcb58.js} +0 -0
  789. /package/dist/chunks/{form-x61499pn.js → image-x61499pn.js} +0 -0
  790. /package/dist/chunks/{form-y44na4kk.js → image-y44na4kk.js} +0 -0
  791. /package/dist/chunks/{form-y8f7s663.js → image-y8f7s663.js} +0 -0
  792. /package/dist/chunks/{form-ygaqb7jw.js → image-ygaqb7jw.js} +0 -0
  793. /package/dist/chunks/{form-ym463w8f.js → image-ym463w8f.js} +0 -0
  794. /package/dist/chunks/{form-z5v4ffb3.js → image-z5v4ffb3.js} +0 -0
  795. /package/dist/chunks/{form-z9919s4g.js → image-z9919s4g.js} +0 -0
@@ -1,60 +1,60 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./form-dpkg50ah.js";
3
+ } from "./image-jwcy2c2z.js";
4
4
  import {
5
5
  Service85,
6
- node89
7
- } from "./form-43pfpj47.js";
6
+ node88
7
+ } from "./image-mnrjv27a.js";
8
8
  import {
9
- Event18,
10
- Service75,
11
- node77
12
- } from "./form-m3s3xc92.js";
9
+ Event20,
10
+ Service81,
11
+ node84
12
+ } from "./image-f1zvn1zp.js";
13
13
  import {
14
14
  Service82,
15
- node86
16
- } from "./form-kx5nz21w.js";
15
+ node85
16
+ } from "./image-m05az60r.js";
17
17
  import {
18
- Service80,
19
- node83
20
- } from "./form-7je7e60q.js";
18
+ Service53,
19
+ node56
20
+ } from "./image-w78vqhg3.js";
21
21
  import {
22
22
  ID15,
23
- Service76,
24
- node78
25
- } from "./form-7217af1g.js";
23
+ Service80,
24
+ node83
25
+ } from "./image-083vb51a.js";
26
26
  import {
27
27
  reconcile2,
28
28
  create3
29
- } from "./form-rdw6cm16.js";
29
+ } from "./image-rdw6cm16.js";
30
30
  import {
31
- ID13,
31
+ ID14,
32
32
  MethodID2,
33
- Service74,
34
- node76
35
- } from "./form-qq5nsf62.js";
33
+ Service79,
34
+ node82
35
+ } from "./image-1vbha5hz.js";
36
36
  import {
37
37
  __export
38
- } from "./form-9rqn6x4v.js";
38
+ } from "./image-9rqn6x4v.js";
39
39
 
40
40
  // src/mcp/index.ts
41
41
  var exports_mcp4 = {};
42
42
  __export(exports_mcp4, {
43
43
  Mcp: () => exports_mcp4,
44
- NotFoundError: () => NotFoundError3,
45
- Options: () => Options3,
44
+ NotFoundError: () => NotFoundError4,
45
+ Options: () => Options5,
46
46
  PromptsChanged: () => PromptsChanged2,
47
47
  Resource: () => Resource2,
48
48
  ResourceCatalog: () => ResourceCatalog2,
49
49
  ResourceContent: () => ResourceContent2,
50
50
  ResourceTemplate: () => ResourceTemplate2,
51
51
  ServerName: () => ServerName2,
52
- Service: () => Service30,
52
+ Service: () => Service39,
53
53
  Status: () => Status2,
54
54
  ToolCallError: () => ToolCallError2,
55
- configured: () => configured3,
56
- layer: () => layer15,
57
- node: () => node33
55
+ configured: () => configured5,
56
+ layer: () => layer19,
57
+ node: () => node42
58
58
  });
59
59
  import { Mcp } from "@opencode/schema/mcp";
60
60
  import { McpEvent } from "@opencode/schema/mcp-event";
@@ -72,7 +72,7 @@ var ResourceTemplate2 = Mcp.ResourceTemplate;
72
72
  var ResourceCatalog2 = Mcp.ResourceCatalog;
73
73
  var ResourceContent2 = Mcp.ResourceContent;
74
74
 
75
- class NotFoundError3 extends Schema.TaggedError()("MCP.NotFoundError", {
75
+ class NotFoundError4 extends Schema.TaggedError()("MCP.NotFoundError", {
76
76
  server: ServerName2
77
77
  }) {
78
78
  get message() {
@@ -103,21 +103,21 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
103
103
  var endpointLoads = makeUnsafe2();
104
104
  var cloneConfig = (config) => structuredClone(config);
105
105
 
106
- class Service30 extends Context.Service()("@opencode/MCP") {
106
+ class Service39 extends Context.Service()("@opencode/MCP") {
107
107
  }
108
- var Options3 = Schema.Struct({
108
+ var Options5 = Schema.Struct({
109
109
  clientInfo: Schema.optional(Schema.Struct({
110
110
  name: Schema.String,
111
111
  version: Schema.String
112
112
  }))
113
113
  });
114
- var layer15 = (options) => Layer.effect(Service30, Effect.gen(function* () {
114
+ var layer19 = (options) => Layer.effect(Service39, Effect.gen(function* () {
115
115
  const location = yield* Service82;
116
- const environment = yield* Service80;
116
+ const environment = yield* Service53;
117
117
  const bus = yield* Service85;
118
- const forms = yield* Service76;
119
- const integration = yield* Service74;
120
- const credentials = yield* Service75;
118
+ const forms = yield* Service80;
119
+ const integration = yield* Service79;
120
+ const credentials = yield* Service81;
121
121
  const root = yield* Effect.scope;
122
122
  const fork = yield* FiberSet.makeRuntime();
123
123
  const entries = new Map;
@@ -129,7 +129,7 @@ var layer15 = (options) => Layer.effect(Service30, Effect.gen(function* () {
129
129
  return;
130
130
  const remote = entry.config;
131
131
  const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
132
- const integrationID = ID13.make(suffix);
132
+ const integrationID = ID14.make(suffix);
133
133
  entry.integrationID = integrationID;
134
134
  owned.add(integrationID);
135
135
  const methodID = MethodID2.make(suffix);
@@ -145,7 +145,7 @@ var layer15 = (options) => Layer.effect(Service30, Effect.gen(function* () {
145
145
  method: { id: methodID, type: "oauth", label: name },
146
146
  authorize: () => Effect.gen(function* () {
147
147
  const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
148
- return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service75, credentials));
148
+ return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service81, credentials));
149
149
  })
150
150
  });
151
151
  }).pipe(Scope.provide(scope));
@@ -154,14 +154,14 @@ var layer15 = (options) => Layer.effect(Service30, Effect.gen(function* () {
154
154
  const name = ServerName2.make(server);
155
155
  const entry = entries.get(name);
156
156
  if (!entry)
157
- return yield* new NotFoundError3({ server: name });
157
+ return yield* new NotFoundError4({ server: name });
158
158
  return { name, entry };
159
159
  });
160
160
  const connectProvider = Effect.fnUntraced(function* (entry) {
161
161
  if (entry.config.type !== "remote" || !entry.integrationID)
162
162
  return;
163
163
  const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
164
- return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service75, credentials));
164
+ return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service81, credentials));
165
165
  });
166
166
  const elicitation = {
167
167
  create: (input) => Effect.gen(function* () {
@@ -269,7 +269,7 @@ var layer15 = (options) => Layer.effect(Service30, Effect.gen(function* () {
269
269
  entry.scope = scope;
270
270
  const authProvider = yield* connectProvider(entry);
271
271
  const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
272
- const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service80, environment), Scope.provide(scope));
272
+ const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service53, environment), Scope.provide(scope));
273
273
  const result = yield* (entry.config.type === "remote" ? endpointLoads.withLock(entry.config.url)(load) : load).pipe(Effect.exit);
274
274
  if (Exit.isSuccess(result)) {
275
275
  entry.client = result.value.connection;
@@ -394,7 +394,7 @@ var layer15 = (options) => Layer.effect(Service30, Effect.gen(function* () {
394
394
  yield* startServer(name, entry);
395
395
  }).pipe(locks.withLock(name));
396
396
  });
397
- fork(bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
397
+ fork(bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
398
398
  const state = create3({
399
399
  name: "mcp",
400
400
  initial: () => ({
@@ -420,7 +420,7 @@ var layer15 = (options) => Layer.effect(Service30, Effect.gen(function* () {
420
420
  }),
421
421
  notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
422
422
  });
423
- return Service30.of({
423
+ return Service39.of({
424
424
  transform: state.transform,
425
425
  reload: state.reload,
426
426
  servers: Effect.fn("MCP.servers")(function* () {
@@ -530,14 +530,14 @@ function mergeCatalogs(catalogs) {
530
530
  templates: catalogs.flatMap((catalog) => catalog.templates).toSorted((a, b) => a.server.localeCompare(b.server) || a.name.localeCompare(b.name) || a.uriTemplate.localeCompare(b.uriTemplate))
531
531
  });
532
532
  }
533
- function configured3(options) {
533
+ function configured5(options) {
534
534
  return makeLocationNode({
535
- service: Service30,
536
- layer: layer15(options),
537
- deps: [node86, node83, node89, node78, node76, node77]
535
+ service: Service39,
536
+ layer: layer19(options),
537
+ deps: [node85, node56, node88, node83, node82, node84]
538
538
  });
539
539
  }
540
- var node33 = configured3();
540
+ var node42 = configured5();
541
541
  function toElicitationField(key, property, required) {
542
542
  const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
543
543
  const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
@@ -588,4 +588,4 @@ function toElicitationField(key, property, required) {
588
588
  }
589
589
  }
590
590
 
591
- export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError3, ToolCallError2, Service30, Options3, layer15, configured3, node33, exports_mcp4 };
591
+ export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError4, ToolCallError2, Service39, Options5, layer19, configured5, node42, exports_mcp4 };
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  Service86,
3
- node90
4
- } from "./form-vcxbe612.js";
3
+ node89
4
+ } from "./image-qaytfw51.js";
5
5
  import {
6
6
  Key3,
7
7
  removed2,
8
8
  make19,
9
9
  combine2
10
- } from "./form-t550f9t1.js";
10
+ } from "./image-t550f9t1.js";
11
11
  import {
12
12
  InstructionEntryTable2
13
- } from "./form-c1fqxshp.js";
13
+ } from "./image-c1fqxshp.js";
14
14
  import {
15
15
  __export
16
- } from "./form-9rqn6x4v.js";
16
+ } from "./image-9rqn6x4v.js";
17
17
 
18
18
  // src/session/instruction-entry.ts
19
19
  var exports_instruction_entry = {};
20
20
  __export(exports_instruction_entry, {
21
- Info: () => Info5,
21
+ Info: () => Info6,
22
22
  InstructionEntry: () => exports_instruction_entry,
23
23
  Key: () => Key2,
24
24
  MaxValueBytes: () => MaxValueBytes2,
25
- Service: () => Service24,
25
+ Service: () => Service31,
26
26
  Snapshot: () => Snapshot2,
27
27
  ValueTooLargeError: () => ValueTooLargeError2,
28
28
  initialize: () => initialize2,
29
- node: () => node28,
29
+ node: () => node35,
30
30
  snapshot: () => snapshot2
31
31
  });
32
32
  import { and, asc, eq, isNotNull, isNull, ne, or } from "drizzle-orm";
@@ -34,7 +34,7 @@ import { Context, Effect, Layer, Schema } from "effect";
34
34
  import { InstructionEntry } from "@opencode/schema/instruction-entry";
35
35
  import { makeLocationNode } from "@opencode/util/effect/app-node";
36
36
  var Key2 = InstructionEntry.Key;
37
- var Info5 = InstructionEntry.Info;
37
+ var Info6 = InstructionEntry.Info;
38
38
  var Snapshot2 = InstructionEntry.Snapshot;
39
39
  var MaxValueBytes2 = InstructionEntry.MaxValueBytes;
40
40
  var ValueTooLargeError2 = InstructionEntry.ValueTooLargeError;
@@ -56,7 +56,7 @@ var initialize2 = Effect.fn("InstructionEntry.initialize")(function* (db, sessio
56
56
  }))).run().pipe(Effect.orDie), { discard: true });
57
57
  });
58
58
 
59
- class Service24 extends Context.Service()("@opencode/InstructionEntry") {
59
+ class Service31 extends Context.Service()("@opencode/InstructionEntry") {
60
60
  }
61
61
  var renderValue = (value) => typeof value === "string" ? value : JSON.stringify(value, null, 2);
62
62
  var renderBlock = (key, value) => [`<context key="${key}">`, renderValue(value), "</context>"].join(`
@@ -75,7 +75,7 @@ var source = (entry) => make19({
75
75
  removed: () => `The context under "${entry.key}" no longer applies. Disregard it.`
76
76
  }
77
77
  });
78
- var layer = Layer.effect(Service24, Effect.gen(function* () {
78
+ var layer = Layer.effect(Service31, Effect.gen(function* () {
79
79
  const { db } = yield* Service86;
80
80
  const rows = Effect.fnUntraced(function* (sessionID, includeRemoved) {
81
81
  return yield* db.select({
@@ -108,8 +108,8 @@ var layer = Layer.effect(Service24, Effect.gen(function* () {
108
108
  const load = Effect.fn("InstructionEntry.load")(function* (sessionID) {
109
109
  return combine2((yield* rows(sessionID, true)).map(source));
110
110
  });
111
- return Service24.of({ list, put, remove, load });
111
+ return Service31.of({ list, put, remove, load });
112
112
  }));
113
- var node28 = makeLocationNode({ service: Service24, layer, deps: [node90] });
113
+ var node35 = makeLocationNode({ service: Service31, layer, deps: [node89] });
114
114
 
115
- export { Key2, Info5, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service24, node28, exports_instruction_entry };
115
+ export { Key2, Info6, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service31, node35, exports_instruction_entry };
@@ -1,63 +1,63 @@
1
1
  import {
2
2
  NonNegativeInt2
3
- } from "./form-z5v4ffb3.js";
3
+ } from "./image-z5v4ffb3.js";
4
4
  import {
5
5
  latest2,
6
- Service52
7
- } from "./form-gnbbadj4.js";
6
+ Service70
7
+ } from "./image-6qfwa7rm.js";
8
8
  import {
9
9
  typeFollowing2
10
- } from "./form-hgz4x7wa.js";
10
+ } from "./image-hgz4x7wa.js";
11
11
  import {
12
- Service80
13
- } from "./form-7je7e60q.js";
12
+ Service53
13
+ } from "./image-w78vqhg3.js";
14
14
  import {
15
- Service44
16
- } from "./form-fhvqd07r.js";
15
+ Service76
16
+ } from "./image-ejdpgxfh.js";
17
17
  import {
18
18
  Service64
19
- } from "./form-fz4d0gag.js";
19
+ } from "./image-k2t3b49x.js";
20
20
  import {
21
- Service48,
21
+ Service15,
22
22
  resolvePath2
23
- } from "./form-rsm4htgs.js";
23
+ } from "./image-wt7tckee.js";
24
24
  import {
25
25
  output2,
26
26
  notice2,
27
27
  metadata2,
28
28
  notification2
29
- } from "./form-vzs5sf6e.js";
29
+ } from "./image-vzs5sf6e.js";
30
30
  import {
31
- Service62,
31
+ Service56,
32
32
  name16
33
- } from "./form-qy0p29jn.js";
33
+ } from "./image-vjftp164.js";
34
34
  import {
35
35
  NotFoundError5,
36
- Service49
37
- } from "./form-sgphrwae.js";
36
+ Service41
37
+ } from "./image-4emc1x7w.js";
38
38
  import {
39
- Service19
40
- } from "./form-q82c1dje.js";
39
+ Service28
40
+ } from "./image-97ymgzak.js";
41
41
  import {
42
- scan2
43
- } from "./form-we3w1333.js";
42
+ scan3
43
+ } from "./image-dsckepem.js";
44
44
  import {
45
45
  __export
46
- } from "./form-9rqn6x4v.js";
46
+ } from "./image-9rqn6x4v.js";
47
47
 
48
48
  // src/tool/plugin/shell.ts
49
- var exports_shell = {};
50
- __export(exports_shell, {
49
+ var exports_shell2 = {};
50
+ __export(exports_shell2, {
51
51
  DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
52
- Input: () => Input10,
53
- Plugin: () => Plugin11,
54
- ShellTool: () => exports_shell,
55
- name: () => name10
52
+ Input: () => Input7,
53
+ Plugin: () => Plugin44,
54
+ ShellTool: () => exports_shell2,
55
+ name: () => name7
56
56
  });
57
57
  import { ToolFailure } from "@opencode/ai";
58
58
  import { Deferred, Effect, Schema, Scope } from "effect";
59
59
  import { shellParserWasm } from "#shell-parser-wasm";
60
- var name10 = "shell";
60
+ var name7 = "shell";
61
61
  var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
62
62
  var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
63
63
  var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
@@ -71,7 +71,7 @@ var description = (shell) => [
71
71
  "Commands accept an optional timeout, background commands have no timeout by default.",
72
72
  "Background commands return immediately, and you will be notified when they complete."
73
73
  ].join(" ");
74
- var Input10 = Schema.Struct({
74
+ var Input7 = Schema.Struct({
75
75
  command: Schema.String.annotate({ description: "Shell command string to execute" }),
76
76
  workdir: Schema.optionalKey(Schema.String).annotate({
77
77
  description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
@@ -117,19 +117,19 @@ Output is streaming to: ${file}`,
117
117
  truncated: false,
118
118
  status: "running"
119
119
  });
120
- var Plugin11 = {
120
+ var Plugin44 = {
121
121
  id: "opencode.tool.shell",
122
122
  effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
123
- const sessions = yield* Service19;
124
- const jobs = yield* Service44;
123
+ const sessions = yield* Service28;
124
+ const jobs = yield* Service76;
125
125
  const scope = yield* Scope.Scope;
126
- const environment = yield* Service80;
127
- const access = yield* Service48;
128
- const shell = yield* Service49;
129
- const shellSelect = yield* Service62;
126
+ const environment = yield* Service53;
127
+ const access = yield* Service15;
128
+ const shell = yield* Service41;
129
+ const shellSelect = yield* Service56;
130
130
  const compatibleShell = shellSelect.resolve({ priority: "compat" });
131
131
  const permission = yield* Service64;
132
- const config = yield* Service52;
132
+ const config = yield* Service70;
133
133
  const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
134
134
  const source = {
135
135
  type: "tool",
@@ -140,7 +140,7 @@ var Plugin11 = {
140
140
  invocation.cwd = target.absolute;
141
141
  const timeout = invocation.timeout;
142
142
  const portable = latest2(yield* config.entries(), "experimental")?.portable_shell_scanner ?? (shellParserWasm.bash === "" || ctx.app.channel === "local" || ctx.app.channel === "dev");
143
- const parsed = yield* scan2(invocation.command, invocation.shell, target.absolute, { portable });
143
+ const parsed = yield* scan3(invocation.command, invocation.shell, target.absolute, { portable });
144
144
  const directories = yield* Effect.forEach(parsed.directories, (directory) => access.resolve({
145
145
  path: resolvePath2(target.absolute, directory),
146
146
  kind: "directory"
@@ -148,7 +148,7 @@ var Plugin11 = {
148
148
  yield* access.authorizeExternal([target, ...directories], context);
149
149
  if (parsed.commands.length > 0)
150
150
  yield* permission.assert({
151
- action: name10,
151
+ action: name7,
152
152
  resources: parsed.commands.map((command) => command.resource),
153
153
  save: parsed.commands.map((command) => command.save),
154
154
  sessionID: context.sessionID,
@@ -185,10 +185,10 @@ var Plugin11 = {
185
185
  yield* jobs.completeBackground(info.notificationID);
186
186
  }, Effect.forkIn(scope, { startImmediately: true }));
187
187
  yield* ctx.tool.transform((editor) => editor.add({
188
- name: name10,
188
+ name: name7,
189
189
  options: { codemode: false },
190
190
  description: description(),
191
- input: Input10,
191
+ input: Input7,
192
192
  output: Output,
193
193
  execute: (input, context) => Effect.gen(function* () {
194
194
  const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
@@ -225,7 +225,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
225
225
  `)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
226
226
  const job = yield* jobs.start({
227
227
  id: info.id,
228
- type: name10,
228
+ type: name7,
229
229
  title: info.command,
230
230
  metadata: { sessionID: context.sessionID, shellID: info.id },
231
231
  recovery: {
@@ -255,7 +255,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
255
255
  }).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
256
256
  })).pipe(Effect.orDie);
257
257
  const hook = (event) => Effect.gen(function* () {
258
- const tool = event.tools[name10];
258
+ const tool = event.tools[name7];
259
259
  if (!tool)
260
260
  return;
261
261
  tool.description = description(name16(yield* compatibleShell));
@@ -266,4 +266,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
266
266
  })
267
267
  };
268
268
 
269
- export { name10, DEFAULT_TIMEOUT_MS2, Input10, Plugin11, exports_shell };
269
+ export { name7, DEFAULT_TIMEOUT_MS2, Input7, Plugin44, exports_shell2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./form-9rqn6x4v.js";
3
+ } from "./image-9rqn6x4v.js";
4
4
 
5
5
  // src/util/token.ts
6
6
  var exports_token = {};
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  resolveNullableObjectPaths2,
3
3
  mapResultRow2
4
- } from "./form-emrn6kk6.js";
4
+ } from "./image-emrn6kk6.js";
5
5
  import {
6
6
  SQLiteEffectDatabase2
7
- } from "./form-gkn1t7a9.js";
7
+ } from "./image-m6f686h9.js";
8
8
 
9
9
  // src/database/drizzle/sqlite-core/effect/session.ts
10
10
  import * as Cause from "effect/Cause";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./form-9rqn6x4v.js";
3
+ } from "./image-9rqn6x4v.js";
4
4
 
5
5
  // src/environment/files.ts
6
6
  var exports_files = {};
@@ -1,31 +1,31 @@
1
1
  import {
2
- Service52
3
- } from "./form-gnbbadj4.js";
2
+ Service70
3
+ } from "./image-6qfwa7rm.js";
4
4
  import {
5
- Service30
6
- } from "./form-ft0vqakg.js";
5
+ Service39
6
+ } from "./image-gvenbtv1.js";
7
7
  import {
8
8
  __export
9
- } from "./form-9rqn6x4v.js";
9
+ } from "./image-9rqn6x4v.js";
10
10
 
11
11
  // src/config/plugin/mcp.ts
12
- var exports_mcp2 = {};
13
- __export(exports_mcp2, {
14
- ConfigMcpPlugin: () => exports_mcp2,
15
- Plugin: () => Plugin50,
12
+ var exports_mcp = {};
13
+ __export(exports_mcp, {
14
+ ConfigMcpPlugin: () => exports_mcp,
15
+ Plugin: () => Plugin20,
16
16
  register: () => register2
17
17
  });
18
18
  import { define } from "@opencode/plugin/effect/plugin";
19
19
  import { Effect, Stream } from "effect";
20
- var Plugin50 = define({
20
+ var Plugin20 = define({
21
21
  id: "opencode.config.mcp",
22
22
  effect: Effect.fn(function* (ctx) {
23
23
  yield* register2(ctx.event.subscribe());
24
24
  })
25
25
  });
26
26
  var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
27
- const config = yield* Service52;
28
- const mcp = yield* Service30;
27
+ const config = yield* Service70;
28
+ const mcp = yield* Service39;
29
29
  const loaded = { entries: [] };
30
30
  yield* events.pipe(Stream.filter((event) => event.type === "config.updated"), Stream.runForEach(() => config.entries().pipe(Effect.tap((entries) => Effect.sync(() => loaded.entries = entries)), Effect.andThen(mcp.reload()), Effect.catchCause((cause) => Effect.logError("failed to reload MCP config", { cause })))), Effect.ignore, Effect.forkScoped({ startImmediately: true }));
31
31
  loaded.entries = yield* config.entries();
@@ -46,4 +46,4 @@ var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
46
46
  });
47
47
  });
48
48
 
49
- export { Plugin50, register2, exports_mcp2 };
49
+ export { Plugin20, register2, exports_mcp };
@@ -1,9 +1,9 @@
1
1
  import {
2
- Service80
3
- } from "./form-7je7e60q.js";
2
+ Service53
3
+ } from "./image-w78vqhg3.js";
4
4
  import {
5
5
  __export
6
- } from "./form-9rqn6x4v.js";
6
+ } from "./image-9rqn6x4v.js";
7
7
 
8
8
  // src/mcp/stdio.ts
9
9
  var exports_stdio = {};
@@ -21,7 +21,7 @@ var MAX_FRAME_BYTES = 16 * 1024 * 1024;
21
21
  var EXIT_WAIT = Duration.seconds(1);
22
22
  var STDERR_TAIL = 1000;
23
23
  var make2 = Effect.fnUntraced(function* (options) {
24
- const environment = yield* Service80;
24
+ const environment = yield* Service53;
25
25
  const scope = yield* Effect.scope;
26
26
  const outgoing = yield* Queue.bounded(OUTGOING_CAPACITY);
27
27
  const buffer = new ReadBuffer;
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  Service85
3
- } from "./form-43pfpj47.js";
3
+ } from "./image-mnrjv27a.js";
4
4
  import {
5
5
  supportsText2
6
- } from "./form-c61xra83.js";
6
+ } from "./image-vt86xne3.js";
7
7
  import {
8
- Service55,
9
- Event9
10
- } from "./form-9f3m9enf.js";
8
+ Service14,
9
+ Event2
10
+ } from "./image-66fmfm27.js";
11
11
 
12
12
  // src/plugin/models-dev.ts
13
13
  import { define } from "@opencode/plugin/effect/plugin";
@@ -38,7 +38,7 @@ var BEDROCK_PROFILE_ONLY_IDS = [
38
38
  var ModelsDevPlugin2 = define({
39
39
  id: "opencode.models.dev",
40
40
  effect: Effect.fn(function* (ctx) {
41
- const modelsDev = yield* Service55;
41
+ const modelsDev = yield* Service14;
42
42
  const bus = yield* Service85;
43
43
  const loaded = { data: snapshots(yield* modelsDev.get()) };
44
44
  yield* ctx.integration.transform((integrations) => {
@@ -72,7 +72,7 @@ var ModelsDevPlugin2 = define({
72
72
  loaded.data = snapshots(data);
73
73
  return ctx.integration.reload().pipe(Effect.andThen(ctx.provider.reload()));
74
74
  };
75
- yield* bus.subscribe(Event9.Refreshed).pipe(Stream.runForEach(() => modelsDev.get().pipe(Effect.flatMap(apply))), Effect.forkScoped({ startImmediately: true }));
75
+ yield* bus.subscribe(Event2.Refreshed).pipe(Stream.runForEach(() => modelsDev.get().pipe(Effect.flatMap(apply))), Effect.forkScoped({ startImmediately: true }));
76
76
  const latest = yield* modelsDev.get();
77
77
  if (snapshots(latest) !== loaded.data)
78
78
  yield* apply(latest);
@@ -1,18 +1,18 @@
1
1
  import {
2
- ID12
3
- } from "./form-njd51qxm.js";
2
+ ID13
3
+ } from "./image-mvq0hees.js";
4
4
  import {
5
5
  iife2
6
- } from "./form-1kg9ymc8.js";
6
+ } from "./image-1kg9ymc8.js";
7
7
  import {
8
8
  configuredSettings2
9
- } from "./form-v4v0g7kw.js";
9
+ } from "./image-anrfh71g.js";
10
10
 
11
11
  // src/plugin/provider/cloudflare-workers-ai.ts
12
12
  import { Effect } from "effect";
13
13
  import { define } from "@opencode/plugin/effect/plugin";
14
14
  import { Form } from "@opencode/schema/form";
15
- var providerID = ID12.make("cloudflare-workers-ai");
15
+ var providerID = ID13.make("cloudflare-workers-ai");
16
16
  var CloudflareWorkersAIPlugin2 = define({
17
17
  id: "opencode.provider.cloudflare.workers.ai",
18
18
  effect: Effect.fn(function* (ctx) {