@opencode/core 0.0.0-dev-21351 → 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/{command-s4nj2b0b.js → image-01h0gpd0.js} +8 -8
  8. package/dist/chunks/{command-t62r8r49.js → image-083vb51a.js} +13 -13
  9. package/dist/chunks/{command-0vbcp93d.js → image-0vbcp93d.js} +2 -2
  10. package/dist/chunks/{command-f4b1a4m9.js → image-0wgykzth.js} +28 -28
  11. package/dist/chunks/{command-n88bvnwb.js → image-0yb1y9ej.js} +10 -10
  12. package/dist/chunks/{command-2ht9mx02.js → image-1194cnex.js} +15 -15
  13. package/dist/chunks/{command-p37cw4rj.js → image-1ajx6rf5.js} +8 -8
  14. package/dist/chunks/{command-a8hjw2pw.js → image-1h1fsptm.js} +26 -26
  15. package/dist/chunks/{command-b32ay7gd.js → image-1hs8ay8h.js} +8 -8
  16. package/dist/chunks/{command-njn2n5jy.js → image-1k7anrhw.js} +9 -9
  17. package/dist/chunks/{command-0x8wbs59.js → image-1kn5hemh.js} +14 -14
  18. package/dist/chunks/{command-9mfdrtvq.js → image-1p1ve7qe.js} +9 -9
  19. package/dist/chunks/{command-kg4apzy2.js → image-1rrzdxsd.js} +27 -27
  20. package/dist/chunks/{command-djc2hdbm.js → image-1tw9c27j.js} +11 -11
  21. package/dist/chunks/{command-w7sew22p.js → image-1vbha5hz.js} +27 -27
  22. package/dist/chunks/{command-asa9eaah.js → image-1zt75xk3.js} +12 -12
  23. package/dist/chunks/{command-avssq4vf.js → image-22r91a23.js} +19 -19
  24. package/dist/chunks/{command-5fp6vwb6.js → image-2f6gh5w9.js} +13 -13
  25. package/dist/chunks/{command-g54sgenx.js → image-2qbg3zpg.js} +21 -21
  26. package/dist/chunks/{command-4w5f3qm5.js → image-30846h32.js} +8 -8
  27. package/dist/chunks/{command-v0t8kgzm.js → image-30b6sj23.js} +21 -21
  28. package/dist/chunks/{command-385fh67q.js → image-351565k0.js} +13 -13
  29. package/dist/chunks/{command-fn9t717r.js → image-395q6j9z.js} +6 -6
  30. package/dist/chunks/{command-3hepkmqq.js → image-3hepkmqq.js} +1 -1
  31. package/dist/chunks/{command-g5wn2q2s.js → image-3hw58eqe.js} +11 -11
  32. package/dist/chunks/{command-3hwn7j4h.js → image-3hwn7j4h.js} +2 -2
  33. package/dist/chunks/{command-9tpen41z.js → image-3hwtt59p.js} +33 -33
  34. package/dist/chunks/{command-3smtnn6g.js → image-3smtnn6g.js} +1 -1
  35. package/dist/chunks/{command-xw5dbgmb.js → image-3tfenn25.js} +33 -33
  36. package/dist/chunks/{command-3tvqynh2.js → image-3tvqynh2.js} +1 -1
  37. package/dist/chunks/{command-3zsf4n22.js → image-3zsf4n22.js} +1 -1
  38. package/dist/chunks/{command-xfyaaxy5.js → image-46pvfnqm.js} +3 -3
  39. package/dist/chunks/{command-tjdqweme.js → image-4728cpmt.js} +177 -177
  40. package/dist/chunks/{command-ygdna4kr.js → image-47jkzegy.js} +5 -5
  41. package/dist/chunks/{command-rdtz8wvy.js → image-4asr5hs3.js} +34 -34
  42. package/dist/chunks/{command-vgye044z.js → image-4dc6xvm0.js} +19 -19
  43. package/dist/chunks/{command-j36hwdkw.js → image-4emc1x7w.js} +43 -43
  44. package/dist/chunks/{command-rtjf12cr.js → image-4hq8n4vp.js} +21 -21
  45. package/dist/chunks/{command-v9tzeyfp.js → image-4k4srkdp.js} +18 -18
  46. package/dist/chunks/image-4zse7ahf.js +26 -0
  47. package/dist/chunks/{command-hsjvmpjh.js → image-518cpg7m.js} +8 -8
  48. package/dist/chunks/{command-r94pvvab.js → image-54ma36ye.js} +4 -4
  49. package/dist/chunks/{command-e7gxy7fd.js → image-5g57z1ma.js} +4 -4
  50. package/dist/chunks/{command-vjtq7ejx.js → image-5g60a5nh.js} +11 -11
  51. package/dist/chunks/{command-05095fa7.js → image-5gaecxeq.js} +5 -5
  52. package/dist/chunks/{command-5m9w47nd.js → image-5m9w47nd.js} +1 -1
  53. package/dist/chunks/{command-mn47nv5k.js → image-5vax2cp3.js} +37 -37
  54. package/dist/chunks/{command-yj7k2rcj.js → image-6559rxr6.js} +3 -3
  55. package/dist/chunks/{command-m7etpe19.js → image-66fmfm27.js} +32 -32
  56. package/dist/chunks/{command-6827pfxn.js → image-6827pfxn.js} +1 -1
  57. package/dist/chunks/{command-bgvrfqm6.js → image-6h1e3r96.js} +14 -14
  58. package/dist/chunks/{command-da69ngs0.js → image-6kzz2s8v.js} +20 -20
  59. package/dist/chunks/{command-s10de7sg.js → image-6qfwa7rm.js} +46 -46
  60. package/dist/chunks/{command-6xb47vfp.js → image-6xb47vfp.js} +1 -1
  61. package/dist/chunks/{command-775gj3j1.js → image-775gj3j1.js} +2 -2
  62. package/dist/chunks/{command-7bmhse3q.js → image-7bmhse3q.js} +1 -1
  63. package/dist/chunks/{command-qgn6gcr1.js → image-7dqw4kz8.js} +5 -5
  64. package/dist/chunks/{command-fvgp290g.js → image-7t4ht595.js} +6 -6
  65. package/dist/chunks/{command-48jj4jxg.js → image-7yzy18e4.js} +23 -23
  66. package/dist/chunks/{command-1yd7h3h8.js → image-7zkbhs7g.js} +11 -11
  67. package/dist/chunks/{command-1jdt266a.js → image-80z0vyq9.js} +9 -9
  68. package/dist/chunks/{command-84txncab.js → image-84txncab.js} +1 -1
  69. package/dist/chunks/{command-8m6m0r52.js → image-8m6m0r52.js} +1 -1
  70. package/dist/chunks/{command-8mywswrd.js → image-8mywswrd.js} +1 -1
  71. package/dist/chunks/{command-6pc27hjz.js → image-8sze2n9a.js} +2 -2
  72. package/dist/chunks/{command-220na3xh.js → image-8y0yx82m.js} +4 -4
  73. package/dist/chunks/{command-93fzsdqz.js → image-8yewg0d7.js} +11 -11
  74. package/dist/chunks/{command-8dff8bqa.js → image-96te9d4b.js} +5 -5
  75. package/dist/chunks/{command-27qsxf2d.js → image-97ymgzak.js} +89 -89
  76. package/dist/chunks/{command-604rtc6f.js → image-97z0bs43.js} +26 -26
  77. package/dist/chunks/{command-251hxpd6.js → image-9bh5q6pj.js} +2 -2
  78. package/dist/chunks/{command-0t9wd588.js → image-9c3np669.js} +8 -8
  79. package/dist/chunks/{command-f4j6r664.js → image-9gw0rpsb.js} +43 -43
  80. package/dist/chunks/{command-0cz7970t.js → image-9jzf0aw1.js} +18 -18
  81. package/dist/chunks/{command-27mk30s9.js → image-9zh3v5nb.js} +11 -11
  82. package/dist/chunks/{command-a20pjse5.js → image-a20pjse5.js} +3 -3
  83. package/dist/chunks/{command-0z7w8q86.js → image-a7ahas1f.js} +16 -16
  84. package/dist/chunks/{command-hxz3bp73.js → image-a80hvs68.js} +15 -15
  85. package/dist/chunks/{command-56y3az4a.js → image-aa1e1jy5.js} +17 -17
  86. package/dist/chunks/{command-x661k3y3.js → image-addxnjmp.js} +4 -4
  87. package/dist/chunks/{command-0xgt1t5f.js → image-amhhbad9.js} +34 -34
  88. package/dist/chunks/{command-53216tw9.js → image-anrfh71g.js} +6 -6
  89. package/dist/chunks/{command-my4zabxr.js → image-axe3mf62.js} +3 -3
  90. package/dist/chunks/{command-jkndgnpn.js → image-b22jz9vm.js} +15 -15
  91. package/dist/chunks/{command-qm0v3jhh.js → image-b27vhd2z.js} +7 -7
  92. package/dist/chunks/{command-0xg0skbm.js → image-b2wb4m7c.js} +4 -4
  93. package/dist/chunks/{command-ef4pq4rq.js → image-bban3ndt.js} +13 -13
  94. package/dist/chunks/{command-d43tgzm4.js → image-bezhzanq.js} +9 -9
  95. package/dist/chunks/{command-15zv62fh.js → image-bx90z22d.js} +20 -20
  96. package/dist/chunks/{command-bzeyqsqd.js → image-bzeyqsqd.js} +1 -1
  97. package/dist/chunks/{command-c1fqxshp.js → image-c1fqxshp.js} +3 -3
  98. package/dist/chunks/{command-9rwhmys3.js → image-c3ck1ek2.js} +44 -44
  99. package/dist/chunks/{command-4zhk6gck.js → image-cafbeayz.js} +11 -11
  100. package/dist/chunks/{command-ce60aw2j.js → image-cdxmksqt.js} +11 -11
  101. package/dist/chunks/{command-baqyxak2.js → image-cefkz2r6.js} +4 -4
  102. package/dist/chunks/{command-6tphwxvp.js → image-cegemc0n.js} +23 -23
  103. package/dist/chunks/{command-ye5e9ygh.js → image-cmdcezg6.js} +13 -13
  104. package/dist/chunks/{command-z2qvtray.js → image-cr9wy6w1.js} +6 -6
  105. package/dist/chunks/{command-hfdh5dc7.js → image-csarmdtz.js} +14 -14
  106. package/dist/chunks/{command-an728vdg.js → image-ct0tjryq.js} +21 -21
  107. package/dist/chunks/{command-v2ns1dvt.js → image-d1h1yke4.js} +6 -6
  108. package/dist/chunks/{command-aphfpn53.js → image-d1hgjan3.js} +26 -26
  109. package/dist/chunks/{command-hsn4nmqy.js → image-d7kj1354.js} +7 -7
  110. package/dist/chunks/{command-zs18rbfx.js → image-d9gh4r4w.js} +5 -5
  111. package/dist/chunks/{command-3r1d6b2h.js → image-djz5h4wt.js} +34 -34
  112. package/dist/chunks/{command-6c31gg04.js → image-dm6x1dpw.js} +32 -32
  113. package/dist/chunks/{command-09kr4fhv.js → image-dsckepem.js} +4 -4
  114. package/dist/chunks/{command-n7t3y450.js → image-dt5mbat4.js} +6 -6
  115. package/dist/chunks/{command-5qd3pb7m.js → image-e3qxr5gk.js} +2 -2
  116. package/dist/chunks/{command-g3kxpvs4.js → image-e6sdtbx3.js} +16 -16
  117. package/dist/chunks/{command-kb1k1n05.js → image-e73frkv9.js} +23 -18
  118. package/dist/chunks/{command-e80seqcp.js → image-ed1g29hy.js} +3 -3
  119. package/dist/chunks/{command-eej6y6fw.js → image-eej6y6fw.js} +2 -2
  120. package/dist/chunks/{command-ef5x83kb.js → image-ef5x83kb.js} +1 -1
  121. package/dist/chunks/{command-x2h8bnd2.js → image-efydrm8z.js} +36 -36
  122. package/dist/chunks/{command-naw4xxfq.js → image-eh9fasn9.js} +26 -26
  123. package/dist/chunks/{command-g73w5qej.js → image-ejdpgxfh.js} +16 -16
  124. package/dist/chunks/{command-7fydwwh4.js → image-erxz9e35.js} +8 -8
  125. package/dist/chunks/{command-9fyafw4g.js → image-et5vwysx.js} +10 -10
  126. package/dist/chunks/{command-n135qwgn.js → image-f1zvn1zp.js} +30 -30
  127. package/dist/chunks/{command-0vb0cg2n.js → image-f3naraw2.js} +27 -27
  128. package/dist/chunks/{command-4xfaac4p.js → image-f6byfets.js} +13 -13
  129. package/dist/chunks/{command-fdms3n6w.js → image-f6f3rwdv.js} +9 -9
  130. package/dist/chunks/{command-vjtswx8y.js → image-f9vsjar2.js} +25 -25
  131. package/dist/chunks/{command-37eaq4pg.js → image-fb3qa2a3.js} +18 -18
  132. package/dist/chunks/{command-fcy631f0.js → image-fcy631f0.js} +1 -1
  133. package/dist/chunks/{command-bsksjwvt.js → image-fec344yp.js} +15 -15
  134. package/dist/chunks/{command-v2xqde73.js → image-fgwq36m4.js} +8 -8
  135. package/dist/chunks/{command-0n4gbw3s.js → image-fhq72wmn.js} +11 -11
  136. package/dist/chunks/{command-6qjch3xb.js → image-fs8xzatb.js} +1 -1
  137. package/dist/chunks/{command-cpneeje0.js → image-ft3hqk2c.js} +9 -9
  138. package/dist/chunks/{command-2gcctbpp.js → image-g6xanekf.js} +20 -20
  139. package/dist/chunks/{command-x4t6fkjq.js → image-gavj6vbb.js} +42 -42
  140. package/dist/chunks/{command-gd4qta3r.js → image-gd4qta3r.js} +1 -1
  141. package/dist/chunks/{command-fhnqh9t2.js → image-ggrkrqbp.js} +33 -33
  142. package/dist/chunks/{command-bg0682zv.js → image-ghepbszt.js} +14 -14
  143. package/dist/chunks/{command-1387w9ct.js → image-gjvb00zj.js} +24 -24
  144. package/dist/chunks/{command-0c8wkbnb.js → image-gmcj73t6.js} +18 -18
  145. package/dist/chunks/{command-rhyqmwwc.js → image-gt43e7fh.js} +32 -32
  146. package/dist/chunks/{command-d7ndwx9z.js → image-gvenbtv1.js} +44 -44
  147. package/dist/chunks/{command-84ze4qhs.js → image-gyec0xxy.js} +16 -16
  148. package/dist/chunks/{command-rmf492z6.js → image-h4ys6t5f.js} +44 -44
  149. package/dist/chunks/{command-h6vf3j39.js → image-h6vf3j39.js} +1 -1
  150. package/dist/chunks/{command-gj65pq0y.js → image-h9mg0s4d.js} +2 -2
  151. package/dist/chunks/{command-hgz4x7wa.js → image-hgz4x7wa.js} +1 -1
  152. package/dist/chunks/{command-db5a3xpd.js → image-hm1vmn1k.js} +13 -13
  153. package/dist/chunks/{command-dsmb6j4j.js → image-hqk4yetc.js} +4 -4
  154. package/dist/chunks/{command-tkq9v61v.js → image-hstfzaq7.js} +7 -7
  155. package/dist/chunks/{command-sz18dr9d.js → image-hypd32sv.js} +5 -5
  156. package/dist/chunks/image-j5t1wkep.js +257 -0
  157. package/dist/chunks/{command-j03zn41z.js → image-j8yjkxsc.js} +16 -16
  158. package/dist/chunks/{command-6rm67adk.js → image-jbx0qmp6.js} +13 -13
  159. package/dist/chunks/{command-zrqhmf6p.js → image-jjbjr11c.js} +13 -13
  160. package/dist/chunks/{command-2xgs0rjp.js → image-jkyda9gr.js} +19 -19
  161. package/dist/chunks/{command-c198g0h1.js → image-jmjkmz1e.js} +6 -6
  162. package/dist/chunks/image-jqh9b0xq.js +18 -0
  163. package/dist/chunks/{command-j1ps5swj.js → image-jr45emde.js} +21 -21
  164. package/dist/chunks/{command-y71avatq.js → image-jwcy2c2z.js} +4 -4
  165. package/dist/chunks/{command-hhhc48xm.js → image-jy18cvd3.js} +11 -11
  166. package/dist/chunks/{command-fgvq5ykp.js → image-k2t3b49x.js} +52 -52
  167. package/dist/chunks/{command-qr7b2z7s.js → image-kemp0nh6.js} +4 -4
  168. package/dist/chunks/{command-hq3c8me3.js → image-khmqacep.js} +4 -4
  169. package/dist/chunks/{command-y0jhh126.js → image-kjdm35cs.js} +5 -5
  170. package/dist/chunks/{command-wn1z5f4t.js → image-kjk76est.js} +1 -1
  171. package/dist/chunks/{command-t1nb18tz.js → image-kkf1g7ev.js} +33 -33
  172. package/dist/chunks/{command-pp79t3cy.js → image-kqv3x6rj.js} +9 -9
  173. package/dist/chunks/{command-qggje9jn.js → image-ktmtg3js.js} +30 -30
  174. package/dist/chunks/{command-n21ct7b2.js → image-kv5z1x5y.js} +11 -11
  175. package/dist/chunks/{command-kwb1v3vj.js → image-kwb1v3vj.js} +1 -1
  176. package/dist/chunks/{command-2a4xmc3t.js → image-kx2jnmha.js} +86 -86
  177. package/dist/chunks/{command-5xnwhm0z.js → image-m05az60r.js} +7 -7
  178. package/dist/chunks/{command-j6ktnsbj.js → image-m2jn1rny.js} +8 -8
  179. package/dist/chunks/{command-5c7wq0sw.js → image-m6f686h9.js} +7 -7
  180. package/dist/chunks/{command-brds95yc.js → image-m6pzv6qy.js} +29 -29
  181. package/dist/chunks/{command-2a88t129.js → image-m7hsy9t7.js} +26 -26
  182. package/dist/chunks/{command-jb04bhbq.js → image-m88e3v2c.js} +13 -13
  183. package/dist/chunks/{command-m9w0rfyh.js → image-m9w0rfyh.js} +1 -1
  184. package/dist/chunks/{command-94hhby22.js → image-ma49tmbe.js} +18 -18
  185. package/dist/chunks/{command-maspj1v3.js → image-maspj1v3.js} +1 -1
  186. package/dist/chunks/{command-bmgh3q8m.js → image-mnrjv27a.js} +11 -11
  187. package/dist/chunks/{command-an9279zr.js → image-mvq0hees.js} +29 -29
  188. package/dist/chunks/{command-622w9434.js → image-n1n7vh17.js} +6 -6
  189. package/dist/chunks/{command-g2eyzg35.js → image-n1ppvzbf.js} +14 -14
  190. package/dist/chunks/{command-pct1c8gm.js → image-n2srvep7.js} +4 -4
  191. package/dist/chunks/{command-gzwfafjp.js → image-n86af5gf.js} +12 -12
  192. package/dist/chunks/{command-hey9g07n.js → image-n8s7bsma.js} +21 -21
  193. package/dist/chunks/{command-bx3v92m9.js → image-nbh0xpzn.js} +11 -11
  194. package/dist/chunks/{command-mw6y76xd.js → image-nc0h3w2m.js} +7 -7
  195. package/dist/chunks/{command-pp9jn5kx.js → image-ncrh0je9.js} +20 -20
  196. package/dist/chunks/{command-bb705aa1.js → image-ndm49mgb.js} +73 -73
  197. package/dist/chunks/{command-bxcc14q9.js → image-nragh1dj.js} +9 -9
  198. package/dist/chunks/{command-vb39zxh1.js → image-nvzrxvxc.js} +16 -16
  199. package/dist/chunks/{command-v13b12ef.js → image-nz56sr1f.js} +5 -5
  200. package/dist/chunks/{command-yf4jcbx9.js → image-nzq7ck9f.js} +6 -6
  201. package/dist/chunks/{command-3k0bgyc5.js → image-p0xc8cbz.js} +26 -26
  202. package/dist/chunks/{command-gt2z1exm.js → image-p24h42ep.js} +27 -27
  203. package/dist/chunks/{command-dpsmw30v.js → image-p29tfqw7.js} +6 -6
  204. package/dist/chunks/{command-67kdra4q.js → image-p3v7df0d.js} +3 -3
  205. package/dist/chunks/{command-pvzb71g5.js → image-p44ennw5.js} +29 -29
  206. package/dist/chunks/{command-3yqrkyy4.js → image-p4vsvt80.js} +19 -19
  207. package/dist/chunks/{command-z8gf1a03.js → image-p7zyqd9z.js} +4 -4
  208. package/dist/chunks/{command-zpavnpw0.js → image-panvc78e.js} +23 -23
  209. package/dist/chunks/{command-wktdpkdp.js → image-pd4nms9f.js} +21 -21
  210. package/dist/chunks/{command-h6310vsd.js → image-pgp1nwjn.js} +4 -4
  211. package/dist/chunks/{command-pjvnvgmy.js → image-pjvnvgmy.js} +1 -1
  212. package/dist/chunks/{command-pknna89w.js → image-pknna89w.js} +1 -1
  213. package/dist/chunks/{command-zj1ec9ty.js → image-pmbsp082.js} +5 -5
  214. package/dist/chunks/{command-6jtaxcks.js → image-pmyh7nqh.js} +11 -11
  215. package/dist/chunks/{command-exg57wy8.js → image-pvxjgtaj.js} +13 -13
  216. package/dist/chunks/{command-sjq0w1dy.js → image-pwv5f1qj.js} +14 -14
  217. package/dist/chunks/{command-rwpvq48k.js → image-q5b9end6.js} +28 -28
  218. package/dist/chunks/{command-7wkzvct8.js → image-q5c54jq2.js} +5 -5
  219. package/dist/chunks/{command-mc8h1syp.js → image-qaytfw51.js} +11 -11
  220. package/dist/chunks/{command-qnc92qwc.js → image-qnc92qwc.js} +1 -1
  221. package/dist/chunks/{command-qsdy395h.js → image-qsdy395h.js} +1 -1
  222. package/dist/chunks/{command-fb1vsn26.js → image-qxtmr2bd.js} +4 -4
  223. package/dist/chunks/{command-zr2ps911.js → image-r8scfq5x.js} +11 -11
  224. package/dist/chunks/{command-rdw6cm16.js → image-rdw6cm16.js} +1 -1
  225. package/dist/chunks/{command-rert0e01.js → image-rert0e01.js} +2 -2
  226. package/dist/chunks/{command-rj3eygr5.js → image-rj3eygr5.js} +2 -2
  227. package/dist/chunks/{command-ed65y2xt.js → image-s42kenf7.js} +26 -26
  228. package/dist/chunks/{command-tw95hwns.js → image-s7jracht.js} +50 -50
  229. package/dist/chunks/{command-sa8ekw3f.js → image-sa8ekw3f.js} +2 -2
  230. package/dist/chunks/{command-jq52wte9.js → image-sehrhyyf.js} +29 -29
  231. package/dist/chunks/{command-rmh16r2t.js → image-shq4beby.js} +8 -8
  232. package/dist/chunks/{command-e234ef09.js → image-sp6vjzv0.js} +22 -22
  233. package/dist/chunks/{command-syv4x271.js → image-syv4x271.js} +1 -1
  234. package/dist/chunks/{command-n07afgf2.js → image-t4ge0q7b.js} +11 -11
  235. package/dist/chunks/{command-s8d7rejh.js → image-t550f9t1.js} +4 -4
  236. package/dist/chunks/{command-z71zmefb.js → image-t75jmxzf.js} +19 -19
  237. package/dist/chunks/{command-mh22khwx.js → image-t990ctgk.js} +17 -17
  238. package/dist/chunks/{command-tazgh4e4.js → image-tazgh4e4.js} +1 -1
  239. package/dist/chunks/{command-tcezcvh9.js → image-tcezcvh9.js} +1 -1
  240. package/dist/chunks/{command-tdstcens.js → image-tdstcens.js} +1 -1
  241. package/dist/chunks/{command-tm0kqsz3.js → image-tm0kqsz3.js} +1 -1
  242. package/dist/chunks/{command-wa1x5gqd.js → image-tm49qxme.js} +26 -26
  243. package/dist/chunks/{command-1xcqb8y9.js → image-ttegwk89.js} +52 -52
  244. package/dist/chunks/{command-tyytaxap.js → image-tyytaxap.js} +1 -1
  245. package/dist/chunks/{command-v210v162.js → image-v210v162.js} +2 -2
  246. package/dist/chunks/{command-v7p4zvkq.js → image-v7p4zvkq.js} +2 -2
  247. package/dist/chunks/{command-veqvce7d.js → image-veqvce7d.js} +1 -1
  248. package/dist/chunks/{command-zvsvprng.js → image-vezscz40.js} +11 -11
  249. package/dist/chunks/{command-0grvjp2e.js → image-vjftp164.js} +22 -22
  250. package/dist/chunks/{command-zydxjw4b.js → image-vn5825e0.js} +30 -30
  251. package/dist/chunks/{command-1ks1qykk.js → image-vppcbm3y.js} +10 -10
  252. package/dist/chunks/{command-xq96cc1n.js → image-vt86xne3.js} +20 -20
  253. package/dist/chunks/{command-8rzhxpaa.js → image-vwxanczf.js} +3 -3
  254. package/dist/chunks/{command-vzs5sf6e.js → image-vzs5sf6e.js} +1 -1
  255. package/dist/chunks/{command-w3wsvvr9.js → image-w3wsvvr9.js} +1 -1
  256. package/dist/chunks/{command-x3568k2f.js → image-w78vqhg3.js} +22 -22
  257. package/dist/chunks/{command-wd87259q.js → image-wd87259q.js} +1 -1
  258. package/dist/chunks/{command-k253d0v5.js → image-wg4qsc1b.js} +3 -3
  259. package/dist/chunks/{command-bjx1sjef.js → image-wjr9rjd7.js} +6 -6
  260. package/dist/chunks/{command-haej02k4.js → image-wq6k0z11.js} +10 -10
  261. package/dist/chunks/{command-3gaxmgjd.js → image-wsq2zfdz.js} +9 -9
  262. package/dist/chunks/{command-zrw8628a.js → image-wt7tckee.js} +16 -16
  263. package/dist/chunks/{command-z1q23cxf.js → image-wwj4grbh.js} +12 -12
  264. package/dist/chunks/{command-z8bsayw1.js → image-x5j6pcx9.js} +21 -21
  265. package/dist/chunks/{command-drwq78ky.js → image-xfkkasph.js} +4 -4
  266. package/dist/chunks/{command-w1ba7bfx.js → image-xj1aydcy.js} +5 -5
  267. package/dist/chunks/{command-98mtcx2z.js → image-xk4cpj8j.js} +11 -11
  268. package/dist/chunks/{command-mswa6128.js → image-xkhyfmkz.js} +4 -4
  269. package/dist/chunks/{command-5s6h66r9.js → image-xpsv30eg.js} +12 -12
  270. package/dist/chunks/{command-gd86bjwa.js → image-xq4c3w27.js} +7 -7
  271. package/dist/chunks/{command-wzmp8b6n.js → image-xzyrnmr3.js} +5 -5
  272. package/dist/chunks/{command-y1fvbwt7.js → image-y1fvbwt7.js} +1 -1
  273. package/dist/chunks/{command-0yfyxnbj.js → image-y1nrmgz3.js} +17 -17
  274. package/dist/chunks/{command-rx89xx9n.js → image-y5x4fqb9.js} +5 -5
  275. package/dist/chunks/{command-mnrpn436.js → image-ya42eppp.js} +332 -332
  276. package/dist/chunks/{command-p26dmfsa.js → image-ykyctq8j.js} +5 -5
  277. package/dist/chunks/{command-nbpkwy47.js → image-ymfzg3r4.js} +20 -20
  278. package/dist/chunks/{command-7hw33090.js → image-yvxf7myb.js} +24 -24
  279. package/dist/chunks/{command-z0bkrqjs.js → image-z0bkrqjs.js} +1 -1
  280. package/dist/chunks/{command-z18fegx4.js → image-z18fegx4.js} +1 -1
  281. package/dist/chunks/{command-k76fn4kw.js → image-zee1rnkq.js} +4 -4
  282. package/dist/chunks/{command-qjk7pmd1.js → image-zgdtg3bp.js} +5 -5
  283. package/dist/chunks/{command-zr2ceqn5.js → image-zr2ceqn5.js} +1 -1
  284. package/dist/chunks/{command-2qmdv9pq.js → image-zsaz8xqx.js} +43 -43
  285. package/dist/chunks/{command-2gdhf4ep.js → image-zsg2y1wt.js} +2 -2
  286. package/dist/chunks/{command-5mh3tc9m.js → image-zwcaz485.js} +1 -1
  287. package/dist/chunks/{command-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 +84 -84
  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 +1 -1
  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 +14 -14
  325. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  326. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  327. package/dist/database/drizzle/index.js +15 -15
  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 +16 -16
  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 +97 -97
  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 +1 -1
  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 +102 -102
  429. package/dist/form.js +78 -78
  430. package/dist/formatter/builtins.js +4 -4
  431. package/dist/formatter.js +89 -89
  432. package/dist/generate.js +108 -108
  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 +93 -93
  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 +84 -84
  458. package/dist/instructions/builtins.js +89 -89
  459. package/dist/instructions/index.js +3 -3
  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 +168 -141
  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 +109 -109
  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 +93 -93
  478. package/dist/model-resolver.js +100 -100
  479. package/dist/model-retry.js +1 -1
  480. package/dist/model.js +96 -96
  481. package/dist/models-dev.js +109 -109
  482. package/dist/oauth/page.js +1 -1
  483. package/dist/permission/saved.js +88 -88
  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 +88 -88
  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 +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 +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 +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 +116 -116
  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 +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 +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 +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 +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 +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 +1 -1
  571. package/dist/ripgrep/binary.js +2 -2
  572. package/dist/ripgrep.js +97 -97
  573. package/dist/rpc.js +88 -88
  574. package/dist/schema.js +1 -1
  575. package/dist/session/affinity.js +3 -3
  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 +216 -216
  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 +93 -93
  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 +95 -95
  592. package/dist/session/message-updater.js +4 -4
  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 +225 -225
  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 +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 +164 -164
  612. package/dist/session/shell.js +130 -130
  613. package/dist/session/skill.js +107 -107
  614. package/dist/session/sql.js +5 -5
  615. package/dist/session/stats.js +75 -75
  616. package/dist/session/store.js +89 -89
  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 +159 -159
  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 +6 -6
  626. package/dist/shell/result.js +1 -1
  627. package/dist/shell/scan.js +1 -1
  628. package/dist/shell/select.js +15 -15
  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 +128 -128
  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 +103 -103
  646. package/dist/tool/plugin/read.js +127 -127
  647. package/dist/tool/plugin/shell.js +211 -211
  648. package/dist/tool/plugin/skill.js +115 -115
  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 +112 -112
  652. package/dist/tool/plugin/websearch.js +116 -116
  653. package/dist/tool/plugin/write.js +122 -122
  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/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 +5 -5
  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 +91 -91
  679. package/dist/voice.js +88 -88
  680. package/dist/websearch.js +82 -82
  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/command-4v7qdvcn.js +0 -18
  693. package/dist/chunks/command-6ydndmq1.js +0 -257
  694. package/dist/chunks/command-bb572888.js +0 -26
  695. /package/dist/chunks/{command-0qkdqm5v.js → image-0qkdqm5v.js} +0 -0
  696. /package/dist/chunks/{command-0zkw76rk.js → image-0zkw76rk.js} +0 -0
  697. /package/dist/chunks/{command-17cy0kzp.js → image-17cy0kzp.js} +0 -0
  698. /package/dist/chunks/{command-1cnp2v09.js → image-1cnp2v09.js} +0 -0
  699. /package/dist/chunks/{command-1kg9ymc8.js → image-1kg9ymc8.js} +0 -0
  700. /package/dist/chunks/{command-24dcb14g.js → image-24dcb14g.js} +0 -0
  701. /package/dist/chunks/{command-2710q6r3.js → image-2710q6r3.js} +0 -0
  702. /package/dist/chunks/{command-2axfhc9x.js → image-2axfhc9x.js} +0 -0
  703. /package/dist/chunks/{command-2bv980vf.js → image-2bv980vf.js} +0 -0
  704. /package/dist/chunks/{command-2c3vjs8z.js → image-2c3vjs8z.js} +0 -0
  705. /package/dist/chunks/{command-359p4xyc.js → image-359p4xyc.js} +0 -0
  706. /package/dist/chunks/{command-3asan66x.js → image-3asan66x.js} +0 -0
  707. /package/dist/chunks/{command-3t0ybcrp.js → image-3t0ybcrp.js} +0 -0
  708. /package/dist/chunks/{command-3v8g72cx.js → image-3v8g72cx.js} +0 -0
  709. /package/dist/chunks/{command-3wcehsnq.js → image-3wcehsnq.js} +0 -0
  710. /package/dist/chunks/{command-43n2bw4t.js → image-43n2bw4t.js} +0 -0
  711. /package/dist/chunks/{command-4knz6hnm.js → image-4knz6hnm.js} +0 -0
  712. /package/dist/chunks/{command-4vcrnpx2.js → image-4vcrnpx2.js} +0 -0
  713. /package/dist/chunks/{command-4y7fprxs.js → image-4y7fprxs.js} +0 -0
  714. /package/dist/chunks/{command-53557ph1.js → image-53557ph1.js} +0 -0
  715. /package/dist/chunks/{command-550bvhaj.js → image-550bvhaj.js} +0 -0
  716. /package/dist/chunks/{command-6prwharc.js → image-6prwharc.js} +0 -0
  717. /package/dist/chunks/{command-6q2bdcd1.js → image-6q2bdcd1.js} +0 -0
  718. /package/dist/chunks/{command-7akdwqpd.js → image-7akdwqpd.js} +0 -0
  719. /package/dist/chunks/{command-7m9af43g.js → image-7m9af43g.js} +0 -0
  720. /package/dist/chunks/{command-822emrt2.js → image-822emrt2.js} +0 -0
  721. /package/dist/chunks/{command-84wd9syh.js → image-84wd9syh.js} +0 -0
  722. /package/dist/chunks/{command-88xbtdfr.js → image-88xbtdfr.js} +0 -0
  723. /package/dist/chunks/{command-8n3pysct.js → image-8n3pysct.js} +0 -0
  724. /package/dist/chunks/{command-8wj87zfr.js → image-8wj87zfr.js} +0 -0
  725. /package/dist/chunks/{command-9a4afbnw.js → image-9a4afbnw.js} +0 -0
  726. /package/dist/chunks/{command-9rqn6x4v.js → image-9rqn6x4v.js} +0 -0
  727. /package/dist/chunks/{command-a6k6eb26.js → image-a6k6eb26.js} +0 -0
  728. /package/dist/chunks/{command-af5trqkr.js → image-af5trqkr.js} +0 -0
  729. /package/dist/chunks/{command-afrmfg78.js → image-afrmfg78.js} +0 -0
  730. /package/dist/chunks/{command-aqzs7mqg.js → image-aqzs7mqg.js} +0 -0
  731. /package/dist/chunks/{command-atq7p7m5.js → image-atq7p7m5.js} +0 -0
  732. /package/dist/chunks/{command-bkyjaxrp.js → image-bkyjaxrp.js} +0 -0
  733. /package/dist/chunks/{command-bmr6ed5q.js → image-bmr6ed5q.js} +0 -0
  734. /package/dist/chunks/{command-cf4snx6d.js → image-cf4snx6d.js} +0 -0
  735. /package/dist/chunks/{command-cvy3z8tj.js → image-cvy3z8tj.js} +0 -0
  736. /package/dist/chunks/{command-d9fn303g.js → image-d9fn303g.js} +0 -0
  737. /package/dist/chunks/{command-d9jj8t3e.js → image-d9jj8t3e.js} +0 -0
  738. /package/dist/chunks/{command-dajrwvna.js → image-dajrwvna.js} +0 -0
  739. /package/dist/chunks/{command-dap0rakb.js → image-dap0rakb.js} +0 -0
  740. /package/dist/chunks/{command-df08tz66.js → image-df08tz66.js} +0 -0
  741. /package/dist/chunks/{command-dy18nga0.js → image-dy18nga0.js} +0 -0
  742. /package/dist/chunks/{command-e5kj55wp.js → image-e5kj55wp.js} +0 -0
  743. /package/dist/chunks/{command-e73j6tqm.js → image-e73j6tqm.js} +0 -0
  744. /package/dist/chunks/{command-ec1grn59.js → image-ec1grn59.js} +0 -0
  745. /package/dist/chunks/{command-eh3zwz77.js → image-eh3zwz77.js} +0 -0
  746. /package/dist/chunks/{command-emrn6kk6.js → image-emrn6kk6.js} +0 -0
  747. /package/dist/chunks/{command-f0mxakyp.js → image-f0mxakyp.js} +0 -0
  748. /package/dist/chunks/{command-f6n9ztr4.js → image-f6n9ztr4.js} +0 -0
  749. /package/dist/chunks/{command-faypxj3z.js → image-faypxj3z.js} +0 -0
  750. /package/dist/chunks/{command-fd410y7t.js → image-fd410y7t.js} +0 -0
  751. /package/dist/chunks/{command-g4wezp1m.js → image-g4wezp1m.js} +0 -0
  752. /package/dist/chunks/{command-g86h250q.js → image-g86h250q.js} +0 -0
  753. /package/dist/chunks/{command-gebd4c9n.js → image-gebd4c9n.js} +0 -0
  754. /package/dist/chunks/{command-gftt206x.js → image-gftt206x.js} +0 -0
  755. /package/dist/chunks/{command-hcxmzztb.js → image-hcxmzztb.js} +0 -0
  756. /package/dist/chunks/{command-hk9envan.js → image-hk9envan.js} +0 -0
  757. /package/dist/chunks/{command-j2ntwpah.js → image-j2ntwpah.js} +0 -0
  758. /package/dist/chunks/{command-j5zkgpj8.js → image-j5zkgpj8.js} +0 -0
  759. /package/dist/chunks/{command-jjkms2e6.js → image-jjkms2e6.js} +0 -0
  760. /package/dist/chunks/{command-jr7sbwjy.js → image-jr7sbwjy.js} +0 -0
  761. /package/dist/chunks/{command-jwfs4k6c.js → image-jwfs4k6c.js} +0 -0
  762. /package/dist/chunks/{command-jze0r7bz.js → image-jze0r7bz.js} +0 -0
  763. /package/dist/chunks/{command-jzg6c2d5.js → image-jzg6c2d5.js} +0 -0
  764. /package/dist/chunks/{command-m18g726c.js → image-m18g726c.js} +0 -0
  765. /package/dist/chunks/{command-mp448xyj.js → image-mp448xyj.js} +0 -0
  766. /package/dist/chunks/{command-msx8hqn2.js → image-msx8hqn2.js} +0 -0
  767. /package/dist/chunks/{command-n05xt0ee.js → image-n05xt0ee.js} +0 -0
  768. /package/dist/chunks/{command-n3j8tn72.js → image-n3j8tn72.js} +0 -0
  769. /package/dist/chunks/{command-njntx4h6.js → image-njntx4h6.js} +0 -0
  770. /package/dist/chunks/{command-pkyv6v7h.js → image-pkyv6v7h.js} +0 -0
  771. /package/dist/chunks/{command-pyv0edze.js → image-pyv0edze.js} +0 -0
  772. /package/dist/chunks/{command-q3sfg36h.js → image-q3sfg36h.js} +0 -0
  773. /package/dist/chunks/{command-q74kybfr.js → image-q74kybfr.js} +0 -0
  774. /package/dist/chunks/{command-qaymkmh1.js → image-qaymkmh1.js} +0 -0
  775. /package/dist/chunks/{command-qb87gjwd.js → image-qb87gjwd.js} +0 -0
  776. /package/dist/chunks/{command-qfa1cgps.js → image-qfa1cgps.js} +0 -0
  777. /package/dist/chunks/{command-qg3g05ea.js → image-qg3g05ea.js} +0 -0
  778. /package/dist/chunks/{command-qrg20bc0.js → image-qrg20bc0.js} +0 -0
  779. /package/dist/chunks/{command-rcb2kzg1.js → image-rcb2kzg1.js} +0 -0
  780. /package/dist/chunks/{command-sdp7kfr6.js → image-sdp7kfr6.js} +0 -0
  781. /package/dist/chunks/{command-ssg3fenm.js → image-ssg3fenm.js} +0 -0
  782. /package/dist/chunks/{command-ve7vex1e.js → image-ve7vex1e.js} +0 -0
  783. /package/dist/chunks/{command-w803qqfp.js → image-w803qqfp.js} +0 -0
  784. /package/dist/chunks/{command-wc3fc9cn.js → image-wc3fc9cn.js} +0 -0
  785. /package/dist/chunks/{command-wer8tq1h.js → image-wer8tq1h.js} +0 -0
  786. /package/dist/chunks/{command-wjj7prxr.js → image-wjj7prxr.js} +0 -0
  787. /package/dist/chunks/{command-wtztk69x.js → image-wtztk69x.js} +0 -0
  788. /package/dist/chunks/{command-x0ckcb58.js → image-x0ckcb58.js} +0 -0
  789. /package/dist/chunks/{command-x61499pn.js → image-x61499pn.js} +0 -0
  790. /package/dist/chunks/{command-y44na4kk.js → image-y44na4kk.js} +0 -0
  791. /package/dist/chunks/{command-y8f7s663.js → image-y8f7s663.js} +0 -0
  792. /package/dist/chunks/{command-ygaqb7jw.js → image-ygaqb7jw.js} +0 -0
  793. /package/dist/chunks/{command-ym463w8f.js → image-ym463w8f.js} +0 -0
  794. /package/dist/chunks/{command-z5v4ffb3.js → image-z5v4ffb3.js} +0 -0
  795. /package/dist/chunks/{command-z9919s4g.js → image-z9919s4g.js} +0 -0
@@ -1,44 +1,44 @@
1
1
  import {
2
- Service68
3
- } from "./command-fgvq5ykp.js";
2
+ Service64
3
+ } from "./image-k2t3b49x.js";
4
4
  import {
5
5
  MAX_MARKDOWN_BYTES2,
6
6
  convertHTMLToMarkdown2
7
- } from "./command-4vcrnpx2.js";
7
+ } from "./image-4vcrnpx2.js";
8
8
  import {
9
9
  collectBoundedResponseBody2
10
- } from "./command-3v8g72cx.js";
10
+ } from "./image-3v8g72cx.js";
11
11
  import {
12
12
  __export
13
- } from "./command-9rqn6x4v.js";
13
+ } from "./image-9rqn6x4v.js";
14
14
 
15
15
  // src/tool/plugin/webfetch.ts
16
16
  var exports_webfetch = {};
17
17
  __export(exports_webfetch, {
18
18
  DEFAULT_TIMEOUT_SECONDS: () => DEFAULT_TIMEOUT_SECONDS2,
19
- Input: () => Input11,
19
+ Input: () => Input4,
20
20
  MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES3,
21
21
  MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
22
- Plugin: () => Plugin27,
22
+ Plugin: () => Plugin39,
23
23
  WebFetchTool: () => exports_webfetch,
24
24
  convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
25
- description: () => description3,
25
+ description: () => description2,
26
26
  extractTextFromHTML: () => extractTextFromHTML2,
27
- name: () => name11
27
+ name: () => name4
28
28
  });
29
29
  import { ToolFailure } from "@opencode/ai";
30
30
  import { Duration, Effect, Schema } from "effect";
31
31
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
32
32
  import { Parser } from "htmlparser2";
33
- var name11 = "webfetch";
33
+ var name4 = "webfetch";
34
34
  var MAX_RESPONSE_BYTES3 = MAX_MARKDOWN_BYTES2;
35
35
  var DEFAULT_TIMEOUT_SECONDS2 = 30;
36
36
  var MAX_TIMEOUT_SECONDS2 = 120;
37
- var description3 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
37
+ var description2 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
38
38
 
39
39
  Use a more targeted tool when one is available. This tool is read-only. Large text results may be replaced with a preview while the complete output is retained in managed storage.`;
40
40
  var Timeout = Schema.Finite.check(Schema.isGreaterThan(0), Schema.isLessThanOrEqualTo(MAX_TIMEOUT_SECONDS2));
41
- var Input11 = Schema.Struct({
41
+ var Input4 = Schema.Struct({
42
42
  url: Schema.String.annotate({ description: "The HTTP or HTTPS URL to fetch content from" }),
43
43
  format: Schema.Literals(["text", "markdown", "html"]).annotate({ description: "The format to return the content in. Defaults to markdown." }).pipe(Schema.withDecodingDefaultKey(Effect.succeed("markdown"))),
44
44
  timeout: Schema.optionalKey(Timeout).annotate({
@@ -48,7 +48,7 @@ var Input11 = Schema.Struct({
48
48
  var Output = Schema.Struct({
49
49
  url: Schema.String,
50
50
  contentType: Schema.String,
51
- format: Input11.fields.format,
51
+ format: Input4.fields.format,
52
52
  output: Schema.String
53
53
  });
54
54
  var acceptHeader = (format) => {
@@ -92,16 +92,16 @@ var convert = (content, contentType, format) => {
92
92
  return extractTextFromHTML2(content);
93
93
  return content;
94
94
  };
95
- var Plugin27 = {
95
+ var Plugin39 = {
96
96
  id: "opencode.tool.webfetch",
97
97
  effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
98
98
  const http = yield* HttpClient.HttpClient;
99
- const permission = yield* Service68;
99
+ const permission = yield* Service64;
100
100
  yield* ctx.tool.transform((editor) => editor.add({
101
- name: name11,
101
+ name: name4,
102
102
  options: { codemode: false },
103
- description: description3,
104
- input: Input11,
103
+ description: description2,
104
+ input: Input4,
105
105
  output: Output,
106
106
  execute: (input, context) => Effect.gen(function* () {
107
107
  yield* Effect.try({
@@ -109,7 +109,7 @@ var Plugin27 = {
109
109
  catch: (error) => error
110
110
  });
111
111
  yield* permission.assert({
112
- action: name11,
112
+ action: name4,
113
113
  resources: [input.url],
114
114
  save: ["*"],
115
115
  metadata: input,
@@ -167,4 +167,4 @@ function extractTextFromHTML2(html) {
167
167
  parser.end();
168
168
  return text.trim();
169
169
  }
170
- export { name11, MAX_RESPONSE_BYTES3, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description3, Input11, Plugin27, extractTextFromHTML2, exports_webfetch };
170
+ export { name4, MAX_RESPONSE_BYTES3, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description2, Input4, Plugin39, extractTextFromHTML2, exports_webfetch };
@@ -1,105 +1,105 @@
1
1
  import {
2
2
  Service86,
3
- node90
4
- } from "./command-mc8h1syp.js";
3
+ node89
4
+ } from "./image-qaytfw51.js";
5
5
  import {
6
6
  Service85,
7
- node89
8
- } from "./command-bmgh3q8m.js";
7
+ node88
8
+ } from "./image-mnrjv27a.js";
9
9
  import {
10
10
  SessionMessage2
11
- } from "./command-gftt206x.js";
11
+ } from "./image-gftt206x.js";
12
12
  import {
13
13
  StepFailedError2
14
- } from "./command-yj7k2rcj.js";
14
+ } from "./image-6559rxr6.js";
15
15
  import {
16
16
  SessionEvent2
17
- } from "./command-ec1grn59.js";
17
+ } from "./image-ec1grn59.js";
18
18
  import {
19
19
  SessionMessageTable2
20
- } from "./command-c1fqxshp.js";
20
+ } from "./image-c1fqxshp.js";
21
21
  import {
22
22
  prepare4
23
- } from "./command-baqyxak2.js";
23
+ } from "./image-cefkz2r6.js";
24
24
  import {
25
25
  decodeMessageRow2,
26
26
  preview2
27
- } from "./command-hhhc48xm.js";
27
+ } from "./image-jy18cvd3.js";
28
28
  import {
29
- Service70,
30
- node74
31
- } from "./command-56y3az4a.js";
29
+ Service65,
30
+ node68
31
+ } from "./image-aa1e1jy5.js";
32
32
  import {
33
- Service15,
34
- node17
35
- } from "./command-pvzb71g5.js";
33
+ Service23,
34
+ node26
35
+ } from "./image-p44ennw5.js";
36
36
  import {
37
37
  llmClient2
38
- } from "./command-775gj3j1.js";
38
+ } from "./image-775gj3j1.js";
39
39
  import {
40
- Service26,
41
- node30
42
- } from "./command-ce60aw2j.js";
40
+ Service33,
41
+ node37
42
+ } from "./image-cdxmksqt.js";
43
43
  import {
44
44
  baseTranscript2
45
- } from "./command-3r1d6b2h.js";
45
+ } from "./image-djz5h4wt.js";
46
46
  import {
47
- make9
48
- } from "./command-fn9t717r.js";
47
+ make4
48
+ } from "./image-395q6j9z.js";
49
49
  import {
50
50
  toSessionError2
51
- } from "./command-p26dmfsa.js";
51
+ } from "./image-ykyctq8j.js";
52
52
  import {
53
- Service10,
54
- node12,
53
+ Service4,
54
+ node6,
55
55
  estimatePrompt2
56
- } from "./command-9rwhmys3.js";
56
+ } from "./image-c3ck1ek2.js";
57
57
  import {
58
- Service21,
59
- node24
60
- } from "./command-2a4xmc3t.js";
58
+ Service30,
59
+ node34
60
+ } from "./image-kx2jnmha.js";
61
61
  import {
62
62
  serialized2,
63
63
  nextPromotable2,
64
64
  promote2
65
- } from "./command-zpavnpw0.js";
65
+ } from "./image-panvc78e.js";
66
66
  import {
67
- Service12,
67
+ Service2,
68
68
  isUntitled2,
69
- node14
70
- } from "./command-rwpvq48k.js";
69
+ node3
70
+ } from "./image-q5b9end6.js";
71
71
  import {
72
72
  DrainResult2,
73
- Service51
74
- } from "./command-k76fn4kw.js";
75
- import {
76
- node58
77
- } from "./command-3k0bgyc5.js";
73
+ Service60
74
+ } from "./image-zee1rnkq.js";
78
75
  import {
79
76
  node46
80
- } from "./command-1yd7h3h8.js";
77
+ } from "./image-p0xc8cbz.js";
78
+ import {
79
+ node49
80
+ } from "./image-7zkbhs7g.js";
81
81
  import {
82
82
  Outcome2,
83
- make8
84
- } from "./command-2gcctbpp.js";
83
+ make3
84
+ } from "./image-g6xanekf.js";
85
85
  import {
86
- Service29
87
- } from "./command-4v7qdvcn.js";
86
+ Service36
87
+ } from "./image-jqh9b0xq.js";
88
88
  import {
89
- node21
90
- } from "./command-v9tzeyfp.js";
89
+ node22
90
+ } from "./image-4k4srkdp.js";
91
91
  import {
92
92
  MAX_STEPS_PROMPT2
93
- } from "./command-y44na4kk.js";
93
+ } from "./image-y44na4kk.js";
94
94
  import {
95
95
  __export
96
- } from "./command-9rqn6x4v.js";
96
+ } from "./image-9rqn6x4v.js";
97
97
 
98
98
  // src/session/runner/llm.ts
99
99
  var exports_llm = {};
100
100
  __export(exports_llm, {
101
101
  SessionRunnerLLM: () => exports_llm,
102
- node: () => node10
102
+ node: () => node2
103
103
  });
104
104
  import { Message } from "@opencode/ai";
105
105
  import { and, desc, eq, inArray, sql } from "drizzle-orm";
@@ -107,17 +107,17 @@ import { Cause, Effect, Exit, FiberMap, Layer } from "effect";
107
107
  import { makeLocationNode } from "@opencode/util/effect/app-node";
108
108
  var CONTINUE_AFTER_INCOMPLETE_STREAM = "The previous response was interrupted. Continue from where you left off without repeating completed content.";
109
109
  var CONTINUE_AFTER_OUTPUT_LIMIT = "Your last response hit the output token limit (stop reason: length). Do not apologize, recap, or repeat yourself. Break the remaining work into smaller pieces.";
110
- var layer = Layer.effect(Service51, Effect.gen(function* () {
110
+ var layer = Layer.effect(Service60, Effect.gen(function* () {
111
111
  const bus = yield* Service85;
112
- const lifecycle = yield* Service15;
113
- const store = yield* Service70;
114
- const context = yield* Service21;
115
- const modelTransport = yield* Service26;
112
+ const lifecycle = yield* Service23;
113
+ const store = yield* Service65;
114
+ const context = yield* Service30;
115
+ const modelTransport = yield* Service33;
116
116
  const db = (yield* Service86).db;
117
- const compaction = yield* Service10;
118
- const plugins = yield* Service29;
119
- const title = yield* Service12;
120
- const steps = yield* make8;
117
+ const compaction = yield* Service4;
118
+ const plugins = yield* Service36;
119
+ const title = yield* Service2;
120
+ const steps = yield* make3;
121
121
  const titles = yield* FiberMap.make();
122
122
  const drain = Effect.fn("SessionRunner.drain")(function* (input) {
123
123
  const sessionID = input.sessionID;
@@ -238,7 +238,7 @@ var layer = Layer.effect(Service51, Effect.gen(function* () {
238
238
  const runStep = Effect.fn("SessionRunner.runStep")(function* (first, step) {
239
239
  const sessionID = first.session.id;
240
240
  let assistantMessageID = SessionMessage2.ID.create();
241
- const retry = yield* make9(bus, sessionID);
241
+ const retry = yield* make4(bus, sessionID);
242
242
  let initial = first;
243
243
  let recoverOverflow = true;
244
244
  let recoverContinuation = true;
@@ -370,25 +370,25 @@ var layer = Layer.effect(Service51, Effect.gen(function* () {
370
370
  }
371
371
  }
372
372
  });
373
- return Service51.of({ drain });
373
+ return Service60.of({ drain });
374
374
  }));
375
- var node10 = makeLocationNode({
376
- service: Service51,
375
+ var node2 = makeLocationNode({
376
+ service: Service60,
377
377
  layer,
378
378
  deps: [
379
- node89,
380
- node17,
379
+ node88,
380
+ node26,
381
381
  llmClient2,
382
- node24,
383
- node30,
384
- node74,
385
- node12,
386
- node21,
387
- node14,
388
- node58,
382
+ node34,
383
+ node37,
384
+ node68,
385
+ node6,
386
+ node22,
387
+ node3,
389
388
  node46,
390
- node90
389
+ node49,
390
+ node89
391
391
  ]
392
392
  });
393
393
 
394
- export { node10, exports_llm };
394
+ export { node2, exports_llm };
@@ -1,18 +1,18 @@
1
1
  import {
2
- Service54
3
- } from "./command-yf4jcbx9.js";
2
+ Service62
3
+ } from "./image-nzq7ck9f.js";
4
4
  import {
5
5
  awaitActivation2
6
- } from "./command-4v7qdvcn.js";
6
+ } from "./image-jqh9b0xq.js";
7
7
  import {
8
- Service33
9
- } from "./command-j36hwdkw.js";
8
+ Service41
9
+ } from "./image-4emc1x7w.js";
10
10
  import {
11
11
  unavailable2
12
- } from "./command-vzs5sf6e.js";
12
+ } from "./image-vzs5sf6e.js";
13
13
  import {
14
14
  __export
15
- } from "./command-9rqn6x4v.js";
15
+ } from "./image-9rqn6x4v.js";
16
16
 
17
17
  // src/session/shell.ts
18
18
  var exports_shell3 = {};
@@ -22,8 +22,8 @@ __export(exports_shell3, {
22
22
  });
23
23
  import { Effect } from "effect";
24
24
  var start2 = Effect.fn("SessionShell.start")(function* (input) {
25
- const instances = yield* Service54;
26
- const shell = yield* awaitActivation2.pipe(Effect.andThen(Service33), instances.provide(input.session));
25
+ const instances = yield* Service62;
26
+ const shell = yield* awaitActivation2.pipe(Effect.andThen(Service41), instances.provide(input.session));
27
27
  const info = yield* shell.create({
28
28
  command: input.command,
29
29
  cwd: input.session.location.directory,
@@ -1,34 +1,34 @@
1
1
  import {
2
2
  Service86
3
- } from "./command-mc8h1syp.js";
3
+ } from "./image-qaytfw51.js";
4
4
  import {
5
5
  Service85
6
- } from "./command-bmgh3q8m.js";
6
+ } from "./image-mnrjv27a.js";
7
7
  import {
8
- Service54
9
- } from "./command-yf4jcbx9.js";
8
+ Service62
9
+ } from "./image-nzq7ck9f.js";
10
10
  import {
11
11
  RelativePath2
12
- } from "./command-z5v4ffb3.js";
12
+ } from "./image-z5v4ffb3.js";
13
13
  import {
14
14
  ID3,
15
- Service56
16
- } from "./command-3k0bgyc5.js";
15
+ Service43
16
+ } from "./image-p0xc8cbz.js";
17
17
  import {
18
18
  SessionEvent2
19
- } from "./command-ec1grn59.js";
19
+ } from "./image-ec1grn59.js";
20
20
  import {
21
21
  MessageNotFoundError2
22
- } from "./command-yj7k2rcj.js";
22
+ } from "./image-6559rxr6.js";
23
23
  import {
24
24
  SessionMessageTable2
25
- } from "./command-c1fqxshp.js";
25
+ } from "./image-c1fqxshp.js";
26
26
  import {
27
27
  decodeMessageRowSync2
28
- } from "./command-hhhc48xm.js";
28
+ } from "./image-jy18cvd3.js";
29
29
  import {
30
30
  __export
31
- } from "./command-9rqn6x4v.js";
31
+ } from "./image-9rqn6x4v.js";
32
32
 
33
33
  // src/session/revert.ts
34
34
  var exports_revert = {};
@@ -41,11 +41,11 @@ __export(exports_revert, {
41
41
  import { and, asc, eq, gt } from "drizzle-orm";
42
42
  import { Effect } from "effect";
43
43
  var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
44
- const instances = yield* Service54;
44
+ const instances = yield* Service62;
45
45
  const database = yield* Service86;
46
46
  const bus = yield* Service85;
47
47
  return yield* Effect.gen(function* () {
48
- const snapshot = yield* Service56;
48
+ const snapshot = yield* Service43;
49
49
  const original = input.session.revert?.snapshot ? ID3.make(input.session.revert.snapshot) : yield* snapshot.capture();
50
50
  const next = yield* plan(database.db, { sessionID: input.session.id, messageID: input.messageID });
51
51
  const restore = new Map;
@@ -73,10 +73,10 @@ var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
73
73
  }).pipe(instances.provide(input.session));
74
74
  });
75
75
  var clear2 = Effect.fn("SessionRevert.clear")(function* (session) {
76
- const instances = yield* Service54;
76
+ const instances = yield* Service62;
77
77
  const bus = yield* Service85;
78
78
  yield* Effect.gen(function* () {
79
- const snapshot = yield* Service56;
79
+ const snapshot = yield* Service43;
80
80
  if (!session.revert)
81
81
  return;
82
82
  const original = session.revert.snapshot ? ID3.make(session.revert.snapshot) : undefined;
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  SessionMessage2
3
- } from "./command-gftt206x.js";
3
+ } from "./image-gftt206x.js";
4
4
  import {
5
5
  __export
6
- } from "./command-9rqn6x4v.js";
6
+ } from "./image-9rqn6x4v.js";
7
7
 
8
8
  // src/session/message-updater.ts
9
9
  var exports_message_updater = {};
10
10
  __export(exports_message_updater, {
11
11
  SessionMessageUpdater: () => exports_message_updater,
12
- update: () => update3
12
+ update: () => update2
13
13
  });
14
14
  import { castDraft, produce } from "immer";
15
15
  import { DateTime, Effect, Match, pipe, Schema } from "effect";
@@ -21,7 +21,7 @@ var projectTerminalSnapshot = (draft, event) => {
21
21
  files: event.data.files ? Array.from(event.data.files) : undefined
22
22
  };
23
23
  };
24
- function update3(adapter, event) {
24
+ function update2(adapter, event) {
25
25
  const created = DateTime.makeUnsafe(event.created);
26
26
  const latestTool = (assistant, id) => assistant.content.findLast((item) => item.type === "tool" && item.id === id);
27
27
  const latestText = (assistant) => assistant.content.findLast((item) => item.type === "text");
@@ -402,4 +402,4 @@ function update3(adapter, event) {
402
402
  return project(event);
403
403
  }
404
404
 
405
- export { update3, exports_message_updater };
405
+ export { update2, exports_message_updater };
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  __export
3
- } from "./command-9rqn6x4v.js";
3
+ } from "./image-9rqn6x4v.js";
4
4
 
5
5
  // src/instance/service.ts
6
6
  var exports_service2 = {};
7
7
  __export(exports_service2, {
8
8
  Instance: () => exports_service2,
9
- Service: () => Service54,
10
- node: () => node56
9
+ Service: () => Service62,
10
+ node: () => node65
11
11
  });
12
12
  import { Context } from "effect";
13
13
  import { Node } from "@opencode/util/effect/app-node";
14
14
  import { LayerNode } from "@opencode/util/effect/layer-node";
15
15
 
16
- class Service54 extends Context.Service()("@opencode/Instance") {
16
+ class Service62 extends Context.Service()("@opencode/Instance") {
17
17
  }
18
- var node56 = LayerNode.unbound(Service54, Node.tags.values.global);
18
+ var node65 = LayerNode.unbound(Service62, Node.tags.values.global);
19
19
 
20
- export { Service54, node56, exports_service2 };
20
+ export { Service62, node65, exports_service2 };
@@ -1,33 +1,33 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./command-z5v4ffb3.js";
4
+ } from "./image-z5v4ffb3.js";
5
5
  import {
6
6
  Repository2,
7
7
  TreeID2,
8
8
  Service84,
9
- node88
10
- } from "./command-j6ktnsbj.js";
9
+ node87
10
+ } from "./image-m2jn1rny.js";
11
11
  import {
12
12
  Service82,
13
- node86
14
- } from "./command-5xnwhm0z.js";
13
+ node85
14
+ } from "./image-m05az60r.js";
15
15
  import {
16
16
  create3
17
- } from "./command-rdw6cm16.js";
17
+ } from "./image-rdw6cm16.js";
18
18
  import {
19
19
  __export
20
- } from "./command-9rqn6x4v.js";
20
+ } from "./image-9rqn6x4v.js";
21
21
 
22
22
  // src/snapshot.ts
23
23
  var exports_snapshot2 = {};
24
24
  __export(exports_snapshot2, {
25
- Error: () => Error4,
25
+ Error: () => Error3,
26
26
  ID: () => ID3,
27
- Service: () => Service56,
27
+ Service: () => Service43,
28
28
  Snapshot: () => exports_snapshot2,
29
- node: () => node58,
30
- noopLayer: () => noopLayer3
29
+ node: () => node46,
30
+ noopLayer: () => noopLayer2
31
31
  });
32
32
  import { makeLocationNode } from "@opencode/util/effect/app-node";
33
33
  import path from "path";
@@ -36,16 +36,16 @@ import { FSUtil } from "@opencode/util/fs-util";
36
36
  import { Global } from "@opencode/util/global";
37
37
  import { ID as ID3 } from "@opencode/schema/snapshot";
38
38
  import { Hash } from "@opencode/util/hash";
39
- class Error4 extends Schema.TaggedError()("Snapshot.Error", {
39
+ class Error3 extends Schema.TaggedError()("Snapshot.Error", {
40
40
  operation: Schema.Literals(["capture", "files", "diff", "restore"]),
41
41
  message: Schema.String,
42
42
  cause: Schema.optional(Schema.Defect())
43
43
  }) {
44
44
  }
45
45
 
46
- class Service56 extends Context.Service()("@opencode/Snapshot") {
46
+ class Service43 extends Context.Service()("@opencode/Snapshot") {
47
47
  }
48
- var layer = Layer.effect(Service56, Effect.gen(function* () {
48
+ var layer = Layer.effect(Service43, Effect.gen(function* () {
49
49
  const fs = yield* FSUtil.Service;
50
50
  const git = yield* Service84;
51
51
  const global = yield* Global.Service;
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
63
63
  const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
64
64
  const source = yield* git.repo.discover(location.project.directory);
65
65
  if (!source)
66
- return yield* new Error4({ operation: "capture", message: "Project is not a Git repository" });
66
+ return yield* new Error3({ operation: "capture", message: "Project is not a Git repository" });
67
67
  const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
68
68
  const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
69
69
  const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
72
72
  const repository = repositoryFiber.pipe(Effect.uninterruptible, Effect.flatMap(Fiber.join));
73
73
  const scope = Effect.fnUntraced(function* (worktree) {
74
74
  if (!FSUtil.contains(worktree, location.directory))
75
- return yield* new Error4({ operation: "capture", message: "Location is outside the project" });
75
+ return yield* new Error3({ operation: "capture", message: "Location is outside the project" });
76
76
  return RelativePath2.make(path.relative(worktree, location.directory).replaceAll("\\", "/") || ".");
77
77
  });
78
78
  const enabled = () => location.vcs?.type === "git" && state.get().enabled;
@@ -136,25 +136,25 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
136
136
  for (const [file, snapshot] of input.files) {
137
137
  const absolute = path.resolve(worktree, file);
138
138
  if (!FSUtil.contains(worktree, absolute))
139
- return yield* new Error4({ operation: "restore", message: `Path escapes the project: ${file}` });
139
+ return yield* new Error3({ operation: "restore", message: `Path escapes the project: ${file}` });
140
140
  files.set(file, TreeID2.make(snapshot));
141
141
  }
142
142
  return files;
143
143
  });
144
144
  const restore = Effect.fn("Snapshot.restore")(function* (input) {
145
145
  if (!enabled())
146
- return yield* new Error4({ operation: "restore", message: "Snapshots are disabled" });
146
+ return yield* new Error3({ operation: "restore", message: "Snapshots are disabled" });
147
147
  const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
148
148
  yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
149
149
  });
150
- return Service56.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
150
+ return Service43.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
151
151
  }).pipe(Effect.withSpan("Snapshot.boot")));
152
- var node58 = makeLocationNode({
153
- service: Service56,
152
+ var node46 = makeLocationNode({
153
+ service: Service43,
154
154
  layer,
155
- deps: [FSUtil.node, node88, Global.node, node86]
155
+ deps: [FSUtil.node, node87, Global.node, node85]
156
156
  });
157
- var noopLayer3 = Layer.succeed(Service56, Service56.of({
157
+ var noopLayer2 = Layer.succeed(Service43, Service43.of({
158
158
  transform: () => Effect.succeed({ dispose: Effect.void }),
159
159
  reload: () => Effect.void,
160
160
  capture: () => Effect.undefined,
@@ -163,13 +163,13 @@ var noopLayer3 = Layer.succeed(Service56, Service56.of({
163
163
  restore: () => Effect.void
164
164
  }));
165
165
  function failure(operation, cause) {
166
- if (cause instanceof Error4 && cause.operation === operation)
166
+ if (cause instanceof Error3 && cause.operation === operation)
167
167
  return cause;
168
- return new Error4({
168
+ return new Error3({
169
169
  operation,
170
170
  message: cause instanceof globalThis.Error ? cause.message : String(cause),
171
171
  cause
172
172
  });
173
173
  }
174
174
 
175
- export { ID3, Error4, Service56, node58, noopLayer3, exports_snapshot2 };
175
+ export { ID3, Error3, Service43, node46, noopLayer2, exports_snapshot2 };