@opencode/core 0.0.0-dev-21351 → 0.0.0-dev-21354

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 (796) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +85 -85
  3. package/dist/aisdk-native.js +91 -91
  4. package/dist/aisdk.js +96 -96
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +71 -71
  7. package/dist/chunks/{command-xq96cc1n.js → model-resolver-03f7gaj9.js} +31 -31
  8. package/dist/chunks/{command-z8gf1a03.js → model-resolver-0d74j82x.js} +1 -1
  9. package/dist/chunks/{command-fdms3n6w.js → model-resolver-0jq9fyba.js} +9 -9
  10. package/dist/chunks/{command-0vbcp93d.js → model-resolver-0vbcp93d.js} +2 -2
  11. package/dist/chunks/{command-27mk30s9.js → model-resolver-0y23mm2p.js} +11 -11
  12. package/dist/chunks/{command-bsksjwvt.js → model-resolver-0z62s2d8.js} +17 -17
  13. package/dist/chunks/{command-0x8wbs59.js → model-resolver-13n3hwre.js} +14 -14
  14. package/dist/chunks/{command-j1ps5swj.js → model-resolver-16qtt0td.js} +15 -15
  15. package/dist/chunks/{command-2xgs0rjp.js → model-resolver-16t55p56.js} +17 -17
  16. package/dist/chunks/model-resolver-1ajxh176.js +26 -0
  17. package/dist/chunks/{command-kb1k1n05.js → model-resolver-1g0trf6w.js} +23 -18
  18. package/dist/chunks/{command-x3568k2f.js → model-resolver-1psxftkd.js} +24 -24
  19. package/dist/chunks/{command-0yfyxnbj.js → model-resolver-1tknn31b.js} +17 -17
  20. package/dist/chunks/{command-zvsvprng.js → model-resolver-25er9rbr.js} +11 -11
  21. package/dist/chunks/{command-yf4jcbx9.js → model-resolver-2a6rn6yr.js} +6 -6
  22. package/dist/chunks/{command-ef4pq4rq.js → model-resolver-2jhpg0z0.js} +13 -13
  23. package/dist/chunks/{command-pct1c8gm.js → model-resolver-2k71kv7p.js} +4 -4
  24. package/dist/chunks/{command-wa1x5gqd.js → model-resolver-2kgvm4ga.js} +29 -29
  25. package/dist/chunks/{command-6c31gg04.js → model-resolver-2r67f062.js} +34 -34
  26. package/dist/chunks/{command-3yqrkyy4.js → model-resolver-2sz974pf.js} +23 -23
  27. package/dist/chunks/{command-m7etpe19.js → model-resolver-2tj97pmg.js} +37 -37
  28. package/dist/chunks/{command-9tpen41z.js → model-resolver-377tx7tw.js} +35 -35
  29. package/dist/chunks/{command-56y3az4a.js → model-resolver-3c9v7fz9.js} +16 -16
  30. package/dist/chunks/{command-84ze4qhs.js → model-resolver-3h19w961.js} +13 -13
  31. package/dist/chunks/{command-3hepkmqq.js → model-resolver-3hepkmqq.js} +1 -1
  32. package/dist/chunks/{command-3hwn7j4h.js → model-resolver-3hwn7j4h.js} +2 -2
  33. package/dist/chunks/{command-bb705aa1.js → model-resolver-3kpnj44v.js} +68 -68
  34. package/dist/chunks/{command-2gcctbpp.js → model-resolver-3nx0ym5x.js} +18 -18
  35. package/dist/chunks/{command-3smtnn6g.js → model-resolver-3smtnn6g.js} +1 -1
  36. package/dist/chunks/{command-3tvqynh2.js → model-resolver-3tvqynh2.js} +1 -1
  37. package/dist/chunks/{command-x661k3y3.js → model-resolver-3y377wv9.js} +4 -4
  38. package/dist/chunks/{command-j36hwdkw.js → model-resolver-3yqxwn64.js} +45 -45
  39. package/dist/chunks/{command-3zsf4n22.js → model-resolver-3zsf4n22.js} +1 -1
  40. package/dist/chunks/{command-gt2z1exm.js → model-resolver-4134zm2w.js} +24 -24
  41. package/dist/chunks/model-resolver-43a422m2.js +257 -0
  42. package/dist/chunks/{command-mswa6128.js → model-resolver-46p5gayd.js} +1 -1
  43. package/dist/chunks/{command-ygdna4kr.js → model-resolver-47jkzegy.js} +5 -5
  44. package/dist/chunks/{command-h6310vsd.js → model-resolver-4v7ngy20.js} +4 -4
  45. package/dist/chunks/{command-bmgh3q8m.js → model-resolver-4vdcag56.js} +4 -4
  46. package/dist/chunks/{command-r94pvvab.js → model-resolver-54ma36ye.js} +4 -4
  47. package/dist/chunks/{command-zydxjw4b.js → model-resolver-5a4rr9ep.js} +33 -33
  48. package/dist/chunks/{command-5m9w47nd.js → model-resolver-5m9w47nd.js} +1 -1
  49. package/dist/chunks/{command-vgye044z.js → model-resolver-5v9zgnrp.js} +34 -34
  50. package/dist/chunks/{command-fb1vsn26.js → model-resolver-5ycagacq.js} +4 -4
  51. package/dist/chunks/{command-p37cw4rj.js → model-resolver-5yzzbxa7.js} +8 -8
  52. package/dist/chunks/{command-k253d0v5.js → model-resolver-65zyc1z3.js} +6 -6
  53. package/dist/chunks/{command-6827pfxn.js → model-resolver-6827pfxn.js} +1 -1
  54. package/dist/chunks/{command-mw6y76xd.js → model-resolver-6b89zbgc.js} +7 -7
  55. package/dist/chunks/{command-pvzb71g5.js → model-resolver-6dt87k62.js} +34 -34
  56. package/dist/chunks/{command-djc2hdbm.js → model-resolver-6fabj146.js} +11 -11
  57. package/dist/chunks/{command-15zv62fh.js → model-resolver-6gejepc3.js} +22 -22
  58. package/dist/chunks/{command-an9279zr.js → model-resolver-6hen7d63.js} +30 -30
  59. package/dist/chunks/model-resolver-6tdfsx48.js +517 -0
  60. package/dist/chunks/{command-6xb47vfp.js → model-resolver-6xb47vfp.js} +1 -1
  61. package/dist/chunks/{command-rmf492z6.js → model-resolver-6zyxy6vr.js} +46 -46
  62. package/dist/chunks/{command-5c7wq0sw.js → model-resolver-71jhssm2.js} +7 -7
  63. package/dist/chunks/{command-1yd7h3h8.js → model-resolver-73wr0wn5.js} +11 -11
  64. package/dist/chunks/{command-w1ba7bfx.js → model-resolver-76rvckpe.js} +5 -5
  65. package/dist/chunks/{command-775gj3j1.js → model-resolver-775gj3j1.js} +2 -2
  66. package/dist/chunks/{command-7bmhse3q.js → model-resolver-7bmhse3q.js} +1 -1
  67. package/dist/chunks/{command-rhyqmwwc.js → model-resolver-7dtw93gw.js} +31 -31
  68. package/dist/chunks/{command-6pc27hjz.js → model-resolver-7fkffz83.js} +8 -8
  69. package/dist/chunks/{command-g73w5qej.js → model-resolver-7j2zvw39.js} +16 -16
  70. package/dist/chunks/{command-t62r8r49.js → model-resolver-7jav1qs0.js} +23 -23
  71. package/dist/chunks/{command-a20pjse5.js → model-resolver-7v6vae4w.js} +3 -3
  72. package/dist/chunks/{command-n88bvnwb.js → model-resolver-7x4gmhf6.js} +10 -10
  73. package/dist/chunks/{command-6tphwxvp.js → model-resolver-84ha93mn.js} +18 -18
  74. package/dist/chunks/{command-84txncab.js → model-resolver-84txncab.js} +1 -1
  75. package/dist/chunks/{command-jq52wte9.js → model-resolver-88fjbbyn.js} +28 -28
  76. package/dist/chunks/{command-3r1d6b2h.js → model-resolver-8asjp7hq.js} +30 -30
  77. package/dist/chunks/{command-385fh67q.js → model-resolver-8h28ekbz.js} +15 -15
  78. package/dist/chunks/{command-8m6m0r52.js → model-resolver-8m6m0r52.js} +1 -1
  79. package/dist/chunks/{command-wktdpkdp.js → model-resolver-8m8th7g9.js} +25 -25
  80. package/dist/chunks/{command-qr7b2z7s.js → model-resolver-8mqj9xbr.js} +4 -4
  81. package/dist/chunks/{command-8mywswrd.js → model-resolver-8mywswrd.js} +1 -1
  82. package/dist/chunks/{command-my4zabxr.js → model-resolver-8n9x2wf6.js} +2 -2
  83. package/dist/chunks/{command-d7ndwx9z.js → model-resolver-8y8pe54n.js} +50 -50
  84. package/dist/chunks/{command-vjtq7ejx.js → model-resolver-91dnb5t9.js} +11 -11
  85. package/dist/chunks/{command-pp9jn5kx.js → model-resolver-94wae3rr.js} +20 -20
  86. package/dist/chunks/{command-n21ct7b2.js → model-resolver-953qjn97.js} +10 -10
  87. package/dist/chunks/{command-rmh16r2t.js → model-resolver-967benbv.js} +11 -11
  88. package/dist/chunks/{command-c198g0h1.js → model-resolver-984c2jwc.js} +3 -3
  89. package/dist/chunks/{command-sjq0w1dy.js → model-resolver-9gzkep83.js} +11 -11
  90. package/dist/chunks/{command-hfdh5dc7.js → model-resolver-9s481m48.js} +15 -15
  91. package/dist/chunks/{command-2a4xmc3t.js → model-resolver-af3s9495.js} +79 -79
  92. package/dist/chunks/{command-8rzhxpaa.js → model-resolver-ajasdxgg.js} +3 -3
  93. package/dist/chunks/{command-bxcc14q9.js → model-resolver-aq38rpj0.js} +9 -9
  94. package/dist/chunks/{command-05095fa7.js → model-resolver-awpkagge.js} +23 -23
  95. package/dist/chunks/{command-qm0v3jhh.js → model-resolver-b27vhd2z.js} +7 -7
  96. package/dist/chunks/{command-g2eyzg35.js → model-resolver-b6rs5hhk.js} +18 -18
  97. package/dist/chunks/{command-1jdt266a.js → model-resolver-bacj9t34.js} +9 -9
  98. package/dist/chunks/{command-0xgt1t5f.js → model-resolver-bdehnvdw.js} +38 -38
  99. package/dist/chunks/{command-bjx1sjef.js → model-resolver-bjx1sjef.js} +2 -2
  100. package/dist/chunks/{command-0c8wkbnb.js → model-resolver-bnzbpt6f.js} +15 -15
  101. package/dist/chunks/{command-2qmdv9pq.js → model-resolver-bp6qvqjj.js} +33 -33
  102. package/dist/chunks/{command-fhnqh9t2.js → model-resolver-bt2m3cq7.js} +36 -36
  103. package/dist/chunks/{command-bx3v92m9.js → model-resolver-bw7h8fsx.js} +14 -14
  104. package/dist/chunks/{command-bzeyqsqd.js → model-resolver-bzeyqsqd.js} +1 -1
  105. package/dist/chunks/{command-bgvrfqm6.js → model-resolver-c1f0ef0e.js} +14 -14
  106. package/dist/chunks/{command-c1fqxshp.js → model-resolver-c1fqxshp.js} +3 -3
  107. package/dist/chunks/{command-9mfdrtvq.js → model-resolver-cck04ss7.js} +9 -9
  108. package/dist/chunks/{command-baqyxak2.js → model-resolver-cefkz2r6.js} +4 -4
  109. package/dist/chunks/{command-9fyafw4g.js → model-resolver-cqq90766.js} +14 -14
  110. package/dist/chunks/{command-2gdhf4ep.js → model-resolver-crfkxg47.js} +2 -2
  111. package/dist/chunks/{command-2ht9mx02.js → model-resolver-d2c2r0dp.js} +13 -13
  112. package/dist/chunks/{command-sz18dr9d.js → model-resolver-d3v28z1t.js} +5 -5
  113. package/dist/chunks/{command-asa9eaah.js → model-resolver-d6acxb5p.js} +12 -12
  114. package/dist/chunks/{command-8dff8bqa.js → model-resolver-d9wzmzc3.js} +5 -5
  115. package/dist/chunks/{command-0grvjp2e.js → model-resolver-e0fw30bj.js} +19 -19
  116. package/dist/chunks/{command-hxz3bp73.js → model-resolver-e0vbf2p2.js} +17 -17
  117. package/dist/chunks/{command-n7t3y450.js → model-resolver-e2yycdng.js} +22 -22
  118. package/dist/chunks/{command-5qd3pb7m.js → model-resolver-e3qxr5gk.js} +2 -2
  119. package/dist/chunks/{command-fvgp290g.js → model-resolver-e6jb2a33.js} +8 -8
  120. package/dist/chunks/{command-e7gxy7fd.js → model-resolver-e7gxy7fd.js} +1 -1
  121. package/dist/chunks/{command-tkq9v61v.js → model-resolver-e930j4e4.js} +7 -7
  122. package/dist/chunks/{command-eej6y6fw.js → model-resolver-eej6y6fw.js} +2 -2
  123. package/dist/chunks/{command-ef5x83kb.js → model-resolver-ef5x83kb.js} +1 -1
  124. package/dist/chunks/{command-z2qvtray.js → model-resolver-eq20ba7x.js} +6 -6
  125. package/dist/chunks/{command-brds95yc.js → model-resolver-evrqa78t.js} +32 -32
  126. package/dist/chunks/{command-gj65pq0y.js → model-resolver-f1b05866.js} +2 -2
  127. package/dist/chunks/{command-fcy631f0.js → model-resolver-fcy631f0.js} +1 -1
  128. package/dist/chunks/{command-xfyaaxy5.js → model-resolver-fczeefh4.js} +5 -5
  129. package/dist/chunks/{command-cpneeje0.js → model-resolver-ft3hqk2c.js} +9 -9
  130. package/dist/chunks/{command-qggje9jn.js → model-resolver-g1thfskw.js} +32 -32
  131. package/dist/chunks/{command-0n4gbw3s.js → model-resolver-g1xbyxhn.js} +11 -11
  132. package/dist/chunks/{command-tjdqweme.js → model-resolver-g2qxcqrf.js} +181 -181
  133. package/dist/chunks/{command-z1q23cxf.js → model-resolver-g56rc5zd.js} +12 -12
  134. package/dist/chunks/{command-db5a3xpd.js → model-resolver-g5fw83fw.js} +10 -10
  135. package/dist/chunks/{command-fgvq5ykp.js → model-resolver-g90hexag.js} +50 -50
  136. package/dist/chunks/{command-0z7w8q86.js → model-resolver-gc8nt84s.js} +46 -46
  137. package/dist/chunks/{command-j03zn41z.js → model-resolver-gcvbawqp.js} +14 -14
  138. package/dist/chunks/{command-gd4qta3r.js → model-resolver-gd4qta3r.js} +1 -1
  139. package/dist/chunks/{command-27qsxf2d.js → model-resolver-gps0vx81.js} +88 -88
  140. package/dist/chunks/{command-aphfpn53.js → model-resolver-gv2b8e0t.js} +24 -24
  141. package/dist/chunks/{command-j6ktnsbj.js → model-resolver-gyk6nsb6.js} +12 -12
  142. package/dist/chunks/{command-3k0bgyc5.js → model-resolver-gzdnfxqj.js} +30 -30
  143. package/dist/chunks/{command-5fp6vwb6.js → model-resolver-h3g77kky.js} +20 -20
  144. package/dist/chunks/{command-an728vdg.js → model-resolver-h5kde8xe.js} +23 -23
  145. package/dist/chunks/{command-zpavnpw0.js → model-resolver-h6ag9tfj.js} +21 -21
  146. package/dist/chunks/{command-h6vf3j39.js → model-resolver-h6vf3j39.js} +1 -1
  147. package/dist/chunks/{command-w7sew22p.js → model-resolver-h9ta6350.js} +28 -28
  148. package/dist/chunks/{command-wn1z5f4t.js → model-resolver-he2rnee2.js} +1 -1
  149. package/dist/chunks/{command-220na3xh.js → model-resolver-hffg64zm.js} +4 -4
  150. package/dist/chunks/{command-hgz4x7wa.js → model-resolver-hgz4x7wa.js} +1 -1
  151. package/dist/chunks/{command-vb39zxh1.js → model-resolver-hktqavzm.js} +16 -16
  152. package/dist/chunks/{command-9rwhmys3.js → model-resolver-hkz952tc.js} +44 -44
  153. package/dist/chunks/{command-e234ef09.js → model-resolver-hr20tfp9.js} +24 -24
  154. package/dist/chunks/{command-njn2n5jy.js → model-resolver-htk2qbym.js} +6 -6
  155. package/dist/chunks/{command-xw5dbgmb.js → model-resolver-hz2tqvgg.js} +29 -29
  156. package/dist/chunks/{command-rwpvq48k.js → model-resolver-hzw94499.js} +25 -25
  157. package/dist/chunks/{command-5mh3tc9m.js → model-resolver-j75xb4yb.js} +1 -1
  158. package/dist/chunks/{command-622w9434.js → model-resolver-jqyzchqw.js} +6 -6
  159. package/dist/chunks/{command-0cz7970t.js → model-resolver-jvfpmyx9.js} +18 -18
  160. package/dist/chunks/{command-d43tgzm4.js → model-resolver-k7myrtme.js} +9 -9
  161. package/dist/chunks/{command-hey9g07n.js → model-resolver-k9kzfgz6.js} +23 -23
  162. package/dist/chunks/{command-ed65y2xt.js → model-resolver-kcq0jhd1.js} +25 -25
  163. package/dist/chunks/{command-y0jhh126.js → model-resolver-kjdm35cs.js} +5 -5
  164. package/dist/chunks/{command-rtjf12cr.js → model-resolver-km4rycv7.js} +24 -24
  165. package/dist/chunks/{command-f4b1a4m9.js → model-resolver-kmq3cj41.js} +22 -22
  166. package/dist/chunks/{command-98mtcx2z.js → model-resolver-kntzm8s7.js} +10 -10
  167. package/dist/chunks/{command-dsmb6j4j.js → model-resolver-kpcbcdy7.js} +4 -4
  168. package/dist/chunks/{command-pp79t3cy.js → model-resolver-kqv3x6rj.js} +9 -9
  169. package/dist/chunks/{command-vjtswx8y.js → model-resolver-kw1e5yb6.js} +25 -25
  170. package/dist/chunks/{command-kwb1v3vj.js → model-resolver-kwb1v3vj.js} +1 -1
  171. package/dist/chunks/{command-0vb0cg2n.js → model-resolver-m0k3p8s9.js} +26 -26
  172. package/dist/chunks/{command-zr2ps911.js → model-resolver-m2b6v9cc.js} +11 -11
  173. package/dist/chunks/{command-b32ay7gd.js → model-resolver-m3bqnvcv.js} +8 -8
  174. package/dist/chunks/{command-g3kxpvs4.js → model-resolver-m9gxmxmt.js} +12 -12
  175. package/dist/chunks/{command-m9w0rfyh.js → model-resolver-m9w0rfyh.js} +1 -1
  176. package/dist/chunks/{command-maspj1v3.js → model-resolver-maspj1v3.js} +1 -1
  177. package/dist/chunks/{command-avssq4vf.js → model-resolver-mbq1c8qd.js} +19 -19
  178. package/dist/chunks/{command-5s6h66r9.js → model-resolver-mcexwfpj.js} +12 -12
  179. package/dist/chunks/{command-604rtc6f.js → model-resolver-mcv1jzh9.js} +21 -21
  180. package/dist/chunks/{command-rx89xx9n.js → model-resolver-mmsbh3wq.js} +3 -3
  181. package/dist/chunks/{command-t1nb18tz.js → model-resolver-mnvhm04t.js} +38 -38
  182. package/dist/chunks/{command-naw4xxfq.js → model-resolver-mq8c8wma.js} +23 -23
  183. package/dist/chunks/{command-kg4apzy2.js → model-resolver-n62bhn6h.js} +29 -29
  184. package/dist/chunks/{command-ce60aw2j.js → model-resolver-nhpkjp8j.js} +11 -11
  185. package/dist/chunks/{command-e80seqcp.js → model-resolver-nma959mg.js} +3 -3
  186. package/dist/chunks/{command-s4nj2b0b.js → model-resolver-nme8cjen.js} +6 -6
  187. package/dist/chunks/{command-g5wn2q2s.js → model-resolver-nvq1gv7c.js} +11 -11
  188. package/dist/chunks/{command-z8bsayw1.js → model-resolver-nvqyc4x4.js} +21 -21
  189. package/dist/chunks/{command-hq3c8me3.js → model-resolver-ny8edt06.js} +4 -4
  190. package/dist/chunks/{command-v13b12ef.js → model-resolver-nz56sr1f.js} +5 -5
  191. package/dist/chunks/{command-6jtaxcks.js → model-resolver-nzr8rkf6.js} +13 -13
  192. package/dist/chunks/{command-zrw8628a.js → model-resolver-pbptwtxn.js} +18 -18
  193. package/dist/chunks/model-resolver-pf31ssb9.js +18 -0
  194. package/dist/chunks/{command-pjvnvgmy.js → model-resolver-pjvnvgmy.js} +1 -1
  195. package/dist/chunks/{command-pknna89w.js → model-resolver-pknna89w.js} +1 -1
  196. package/dist/chunks/{command-bg0682zv.js → model-resolver-pqrhrnaw.js} +11 -11
  197. package/dist/chunks/{command-48jj4jxg.js → model-resolver-prcvzp3b.js} +23 -23
  198. package/dist/chunks/{command-mh22khwx.js → model-resolver-pty45f7z.js} +20 -20
  199. package/dist/chunks/{command-tw95hwns.js → model-resolver-py4ye5jk.js} +50 -50
  200. package/dist/chunks/{command-1ks1qykk.js → model-resolver-q0nrsbdj.js} +10 -10
  201. package/dist/chunks/{command-1387w9ct.js → model-resolver-q11cbr1m.js} +24 -24
  202. package/dist/chunks/{command-haej02k4.js → model-resolver-q4v9s1ey.js} +10 -10
  203. package/dist/chunks/{command-4xfaac4p.js → model-resolver-q4w1a1ev.js} +13 -13
  204. package/dist/chunks/{command-6qjch3xb.js → model-resolver-q4x9wazd.js} +3 -3
  205. package/dist/chunks/{command-53216tw9.js → model-resolver-q63t359z.js} +6 -6
  206. package/dist/chunks/{command-zj1ec9ty.js → model-resolver-q6jqqp9b.js} +5 -5
  207. package/dist/chunks/{command-v9tzeyfp.js → model-resolver-qe9z13v3.js} +18 -18
  208. package/dist/chunks/{command-qgn6gcr1.js → model-resolver-qgn6gcr1.js} +1 -1
  209. package/dist/chunks/{command-x2h8bnd2.js → model-resolver-qm7j4bgw.js} +45 -45
  210. package/dist/chunks/{command-qnc92qwc.js → model-resolver-qnc92qwc.js} +1 -1
  211. package/dist/chunks/{command-jkndgnpn.js → model-resolver-qprs721h.js} +17 -17
  212. package/dist/chunks/{command-drwq78ky.js → model-resolver-qqeeq2t9.js} +7 -7
  213. package/dist/chunks/{command-7wkzvct8.js → model-resolver-qrv63xef.js} +5 -5
  214. package/dist/chunks/{command-qsdy395h.js → model-resolver-qsdy395h.js} +1 -1
  215. package/dist/chunks/{command-mc8h1syp.js → model-resolver-qswqrcwe.js} +3 -3
  216. package/dist/chunks/{command-09kr4fhv.js → model-resolver-qt2d63t9.js} +4 -4
  217. package/dist/chunks/{command-2a88t129.js → model-resolver-r799sh1q.js} +23 -23
  218. package/dist/chunks/{command-5xnwhm0z.js → model-resolver-rba33dr3.js} +17 -17
  219. package/dist/chunks/{command-rdw6cm16.js → model-resolver-rdw6cm16.js} +1 -1
  220. package/dist/chunks/{command-rert0e01.js → model-resolver-rert0e01.js} +2 -2
  221. package/dist/chunks/{command-3gaxmgjd.js → model-resolver-rf6pxv7z.js} +11 -11
  222. package/dist/chunks/{command-rj3eygr5.js → model-resolver-rj3eygr5.js} +2 -2
  223. package/dist/chunks/{command-mn47nv5k.js → model-resolver-rsa08myv.js} +35 -35
  224. package/dist/chunks/{command-93fzsdqz.js → model-resolver-rscvxc63.js} +18 -18
  225. package/dist/chunks/{command-zs18rbfx.js → model-resolver-s30r45k4.js} +5 -5
  226. package/dist/chunks/{command-sa8ekw3f.js → model-resolver-sa8ekw3f.js} +2 -2
  227. package/dist/chunks/{command-4zhk6gck.js → model-resolver-sctb5je3.js} +19 -19
  228. package/dist/chunks/{command-4w5f3qm5.js → model-resolver-sk5hrgtc.js} +4 -4
  229. package/dist/chunks/{command-ye5e9ygh.js → model-resolver-smak4gza.js} +17 -17
  230. package/dist/chunks/{command-v0t8kgzm.js → model-resolver-sr8at2s6.js} +18 -18
  231. package/dist/chunks/{command-0xg0skbm.js → model-resolver-svmspn7k.js} +4 -4
  232. package/dist/chunks/{command-gd86bjwa.js → model-resolver-syv183bv.js} +9 -9
  233. package/dist/chunks/{command-syv4x271.js → model-resolver-syv4x271.js} +1 -1
  234. package/dist/chunks/{command-zrqhmf6p.js → model-resolver-t1ns4htq.js} +15 -15
  235. package/dist/chunks/{command-gzwfafjp.js → model-resolver-t5205bkj.js} +11 -11
  236. package/dist/chunks/{command-s8d7rejh.js → model-resolver-t550f9t1.js} +4 -4
  237. package/dist/chunks/{command-qjk7pmd1.js → model-resolver-t5j7jw81.js} +5 -5
  238. package/dist/chunks/{command-nbpkwy47.js → model-resolver-t67qckpp.js} +17 -17
  239. package/dist/chunks/{command-tazgh4e4.js → model-resolver-tazgh4e4.js} +1 -1
  240. package/dist/chunks/{command-tcezcvh9.js → model-resolver-tcezcvh9.js} +1 -1
  241. package/dist/chunks/{command-tdstcens.js → model-resolver-tdstcens.js} +1 -1
  242. package/dist/chunks/{command-yj7k2rcj.js → model-resolver-tjkhcpzj.js} +6 -6
  243. package/dist/chunks/{command-tm0kqsz3.js → model-resolver-tm0kqsz3.js} +1 -1
  244. package/dist/chunks/{command-g54sgenx.js → model-resolver-tt71e4t5.js} +19 -19
  245. package/dist/chunks/{command-fn9t717r.js → model-resolver-tt8gc4fv.js} +6 -6
  246. package/dist/chunks/{command-da69ngs0.js → model-resolver-ttrv0ee4.js} +21 -21
  247. package/dist/chunks/{command-v210v162.js → model-resolver-tx0gtb9m.js} +9 -9
  248. package/dist/chunks/{command-tyytaxap.js → model-resolver-tyytaxap.js} +1 -1
  249. package/dist/chunks/{command-v7p4zvkq.js → model-resolver-v7p4zvkq.js} +2 -2
  250. package/dist/chunks/{command-n135qwgn.js → model-resolver-v9t9bmqx.js} +28 -28
  251. package/dist/chunks/{command-hsjvmpjh.js → model-resolver-vbrars45.js} +8 -8
  252. package/dist/chunks/{command-veqvce7d.js → model-resolver-veqvce7d.js} +1 -1
  253. package/dist/chunks/{command-1xcqb8y9.js → model-resolver-vhbqgehn.js} +56 -56
  254. package/dist/chunks/{command-vzs5sf6e.js → model-resolver-vzs5sf6e.js} +1 -1
  255. package/dist/chunks/{command-exg57wy8.js → model-resolver-w232x9j5.js} +15 -15
  256. package/dist/chunks/{command-w3wsvvr9.js → model-resolver-w3wsvvr9.js} +1 -1
  257. package/dist/chunks/{command-dpsmw30v.js → model-resolver-w55jn1kt.js} +8 -8
  258. package/dist/chunks/{command-wd87259q.js → model-resolver-wd87259q.js} +1 -1
  259. package/dist/chunks/{command-6rm67adk.js → model-resolver-wgwbykmc.js} +13 -13
  260. package/dist/chunks/{command-7hw33090.js → model-resolver-wmbhbf7k.js} +22 -22
  261. package/dist/chunks/{command-7fydwwh4.js → model-resolver-wmsgs64j.js} +10 -10
  262. package/dist/chunks/{command-z71zmefb.js → model-resolver-wpn34573.js} +21 -21
  263. package/dist/chunks/{command-a8hjw2pw.js → model-resolver-wv50gdba.js} +30 -30
  264. package/dist/chunks/{command-v2ns1dvt.js → model-resolver-x24jdsad.js} +6 -6
  265. package/dist/chunks/{command-f4j6r664.js → model-resolver-xcypc51k.js} +45 -45
  266. package/dist/chunks/{command-37eaq4pg.js → model-resolver-xjy4dz85.js} +20 -20
  267. package/dist/chunks/{command-x4t6fkjq.js → model-resolver-xkgtb7n5.js} +45 -45
  268. package/dist/chunks/{command-n07afgf2.js → model-resolver-xq54jxm8.js} +11 -11
  269. package/dist/chunks/{command-hhhc48xm.js → model-resolver-xztctcj7.js} +11 -11
  270. package/dist/chunks/{command-y1fvbwt7.js → model-resolver-y1fvbwt7.js} +1 -1
  271. package/dist/chunks/{command-wzmp8b6n.js → model-resolver-y4pqvk03.js} +5 -5
  272. package/dist/chunks/{command-hsn4nmqy.js → model-resolver-y5cvjd5e.js} +7 -7
  273. package/dist/chunks/{command-y71avatq.js → model-resolver-y71avatq.js} +1 -1
  274. package/dist/chunks/{command-67kdra4q.js → model-resolver-ya7hh75j.js} +3 -3
  275. package/dist/chunks/{command-p26dmfsa.js → model-resolver-yentwms3.js} +5 -5
  276. package/dist/chunks/{command-z0bkrqjs.js → model-resolver-z0bkrqjs.js} +1 -1
  277. package/dist/chunks/{command-z18fegx4.js → model-resolver-z18fegx4.js} +1 -1
  278. package/dist/chunks/{command-s10de7sg.js → model-resolver-z1cx7jj0.js} +45 -45
  279. package/dist/chunks/{command-251hxpd6.js → model-resolver-z2rrnsn5.js} +2 -2
  280. package/dist/chunks/{command-0t9wd588.js → model-resolver-z733aene.js} +8 -8
  281. package/dist/chunks/{command-rdtz8wvy.js → model-resolver-zenctmbx.js} +33 -33
  282. package/dist/chunks/{command-v2xqde73.js → model-resolver-zpz5hs3v.js} +8 -8
  283. package/dist/chunks/{command-jb04bhbq.js → model-resolver-zqbntp8m.js} +13 -13
  284. package/dist/chunks/{command-zr2ceqn5.js → model-resolver-zr2ceqn5.js} +1 -1
  285. package/dist/chunks/{command-k76fn4kw.js → model-resolver-zvt5dnpc.js} +4 -4
  286. package/dist/chunks/{command-zxq2ej10.js → model-resolver-zxq2ej10.js} +1 -1
  287. package/dist/chunks/{command-94hhby22.js → model-resolver-zyhj209a.js} +18 -18
  288. package/dist/codemode/catalog.js +1 -1
  289. package/dist/codemode/instructions.js +11 -11
  290. package/dist/codemode/tool.js +3 -3
  291. package/dist/codemode/web.js +1 -1
  292. package/dist/command.js +87 -87
  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 +116 -116
  297. package/dist/config/plugin/command.js +206 -206
  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 +123 -123
  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 +117 -117
  315. package/dist/config/plugin/tool-output.js +117 -117
  316. package/dist/config/plugin/websearch.js +117 -117
  317. package/dist/config/plugin/worktree.js +118 -118
  318. package/dist/config/variable.js +1 -1
  319. package/dist/config/watch.js +1 -1
  320. package/dist/config.js +121 -121
  321. package/dist/credential/sql.js +2 -2
  322. package/dist/credential.js +85 -85
  323. package/dist/database/database.js +68 -68
  324. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  325. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  326. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  327. package/dist/database/drizzle/index.js +13 -13
  328. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  331. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  333. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  336. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  337. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  338. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  339. package/dist/database/drizzle.js +14 -14
  340. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  341. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  342. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  343. package/dist/database/migration/20260225215848_workspace.js +1 -1
  344. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  345. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  346. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  347. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  348. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  349. package/dist/database/migration/20260323234822_events.js +1 -1
  350. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  351. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  352. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  353. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  354. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  355. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  356. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  357. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  358. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  359. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  360. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  361. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  362. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  363. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  364. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  365. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  366. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  367. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  368. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  369. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  370. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  371. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  372. package/dist/database/migration/20260611035744_credential.js +1 -1
  373. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  374. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  375. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  376. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  377. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  378. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  379. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  380. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  381. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  382. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  383. package/dist/database/migration/20260812213948_worktree.js +1 -1
  384. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  385. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  386. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  387. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  388. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  389. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  390. package/dist/database/migration.gen.js +51 -51
  391. package/dist/database/migration.js +53 -53
  392. package/dist/database/path.js +2 -2
  393. package/dist/database/schema.gen.js +1 -1
  394. package/dist/database/schema.sql.js +1 -1
  395. package/dist/database/sqlite.bun.js +1 -1
  396. package/dist/database/sqlite.js +1 -1
  397. package/dist/database/sqlite.node.js +1 -1
  398. package/dist/database/sqlite.workerd.js +1 -1
  399. package/dist/database/v1-migration.bun.js +78 -78
  400. package/dist/database/v1-migration.js +1 -1
  401. package/dist/effect/app-node-builder.js +370 -370
  402. package/dist/effect/app-node-platform.js +2 -2
  403. package/dist/effect/keyed-mutex.js +1 -1
  404. package/dist/effect/websocket-constructor.js +1 -1
  405. package/dist/environment/driver.js +1 -1
  406. package/dist/environment/environment.js +95 -95
  407. package/dist/environment/exec-defaults.js +2 -2
  408. package/dist/environment/files.js +1 -1
  409. package/dist/environment/index.js +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 +72 -72
  415. package/dist/file-access.js +106 -106
  416. package/dist/file-mutation.js +96 -96
  417. package/dist/file-retention.js +1 -1
  418. package/dist/filesystem/fff.bun.js +2 -2
  419. package/dist/filesystem/fff.js +1 -1
  420. package/dist/filesystem/fff.node.js +2 -2
  421. package/dist/filesystem/fff.workerd.js +2 -2
  422. package/dist/filesystem/location-watcher-policy.js +6 -6
  423. package/dist/filesystem/location-watcher.js +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 +108 -108
  429. package/dist/form.js +84 -84
  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 +10 -10
  434. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  435. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  436. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  437. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  438. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  439. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  440. package/dist/github-copilot/copilot-provider.js +17 -17
  441. package/dist/github-copilot/models.js +101 -101
  442. package/dist/github-copilot/openai-compatible-error.js +1 -1
  443. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  444. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  445. package/dist/github-copilot/responses/openai-error.js +1 -1
  446. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  447. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  448. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  449. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  450. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  451. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  452. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  453. package/dist/image/photon.js +2 -2
  454. package/dist/image.js +6 -6
  455. package/dist/instance/service.js +5 -5
  456. package/dist/instance.js +361 -361
  457. package/dist/instruction-discovery.js +86 -86
  458. package/dist/instructions/builtins.js +87 -87
  459. package/dist/instructions/index.js +3 -3
  460. package/dist/integration/connection.js +3 -3
  461. package/dist/integration.js +91 -91
  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 +91 -91
  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 +127 -127
  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 +102 -102
  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 +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 +92 -92
  489. package/dist/persistent-pty/pty-binding.js +1 -1
  490. package/dist/persistent-pty.js +77 -77
  491. package/dist/plugin/agent.js +76 -76
  492. package/dist/plugin/command.js +102 -102
  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 +115 -115
  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 +123 -123
  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 +123 -123
  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 +2 -2
  556. package/dist/plugin/websearch/parallel.js +6 -6
  557. package/dist/plugin/websearch/tavily.js +4 -4
  558. package/dist/plugin/websearch/tinyfish.js +8 -8
  559. package/dist/plugin.js +219 -219
  560. package/dist/project/schema.js +8 -8
  561. package/dist/project/sql.js +4 -4
  562. package/dist/project.js +92 -92
  563. package/dist/provider.js +101 -101
  564. package/dist/pty/protocol.js +1 -1
  565. package/dist/pty/ticket.js +1 -1
  566. package/dist/pty.js +103 -103
  567. package/dist/reference/instructions.js +91 -91
  568. package/dist/reference.js +91 -91
  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 +3 -3
  576. package/dist/session/command.js +76 -76
  577. package/dist/session/compaction.js +138 -138
  578. package/dist/session/context.js +153 -153
  579. package/dist/session/diff.js +90 -90
  580. package/dist/session/environment.js +5 -5
  581. package/dist/session/error.js +5 -5
  582. package/dist/session/event.js +1 -1
  583. package/dist/session/execution/restart.js +215 -215
  584. package/dist/session/execution.js +129 -129
  585. package/dist/session/generate.js +155 -155
  586. package/dist/session/history.js +15 -15
  587. package/dist/session/inbox.js +95 -95
  588. package/dist/session/info.js +3 -3
  589. package/dist/session/instruction-entry.js +79 -79
  590. package/dist/session/instruction-state.js +8 -8
  591. package/dist/session/instructions.js +99 -99
  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 +1 -1
  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 +3 -3
  611. package/dist/session/session.js +162 -162
  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 +5 -5
  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 +212 -212
  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 +13 -13
  629. package/dist/shell.js +132 -132
  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 +126 -126
  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 +122 -122
  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 +122 -122
  645. package/dist/tool/plugin/question.js +103 -103
  646. package/dist/tool/plugin/read.js +121 -121
  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 +112 -112
  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 +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 +7 -7
  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 +1 -1
  674. package/dist/v1/config/provider-options.js +1 -1
  675. package/dist/v1/config/provider.js +4 -4
  676. package/dist/variant.js +95 -95
  677. package/dist/vcs/patch.js +1 -1
  678. package/dist/vcs.js +91 -91
  679. package/dist/voice.js +86 -86
  680. package/dist/websearch.js +84 -84
  681. package/dist/wellknown/plugin.js +78 -78
  682. package/dist/wellknown.js +81 -81
  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-mnrpn436.js +0 -517
  696. /package/dist/chunks/{command-0qkdqm5v.js → model-resolver-0qkdqm5v.js} +0 -0
  697. /package/dist/chunks/{command-0zkw76rk.js → model-resolver-0zkw76rk.js} +0 -0
  698. /package/dist/chunks/{command-17cy0kzp.js → model-resolver-17cy0kzp.js} +0 -0
  699. /package/dist/chunks/{command-1cnp2v09.js → model-resolver-1cnp2v09.js} +0 -0
  700. /package/dist/chunks/{command-1kg9ymc8.js → model-resolver-1kg9ymc8.js} +0 -0
  701. /package/dist/chunks/{command-24dcb14g.js → model-resolver-24dcb14g.js} +0 -0
  702. /package/dist/chunks/{command-2710q6r3.js → model-resolver-2710q6r3.js} +0 -0
  703. /package/dist/chunks/{command-2axfhc9x.js → model-resolver-2axfhc9x.js} +0 -0
  704. /package/dist/chunks/{command-2bv980vf.js → model-resolver-2bv980vf.js} +0 -0
  705. /package/dist/chunks/{command-2c3vjs8z.js → model-resolver-2c3vjs8z.js} +0 -0
  706. /package/dist/chunks/{command-359p4xyc.js → model-resolver-359p4xyc.js} +0 -0
  707. /package/dist/chunks/{command-3asan66x.js → model-resolver-3asan66x.js} +0 -0
  708. /package/dist/chunks/{command-3t0ybcrp.js → model-resolver-3t0ybcrp.js} +0 -0
  709. /package/dist/chunks/{command-3v8g72cx.js → model-resolver-3v8g72cx.js} +0 -0
  710. /package/dist/chunks/{command-3wcehsnq.js → model-resolver-3wcehsnq.js} +0 -0
  711. /package/dist/chunks/{command-43n2bw4t.js → model-resolver-43n2bw4t.js} +0 -0
  712. /package/dist/chunks/{command-4knz6hnm.js → model-resolver-4knz6hnm.js} +0 -0
  713. /package/dist/chunks/{command-4vcrnpx2.js → model-resolver-4vcrnpx2.js} +0 -0
  714. /package/dist/chunks/{command-4y7fprxs.js → model-resolver-4y7fprxs.js} +0 -0
  715. /package/dist/chunks/{command-53557ph1.js → model-resolver-53557ph1.js} +0 -0
  716. /package/dist/chunks/{command-550bvhaj.js → model-resolver-550bvhaj.js} +0 -0
  717. /package/dist/chunks/{command-6prwharc.js → model-resolver-6prwharc.js} +0 -0
  718. /package/dist/chunks/{command-6q2bdcd1.js → model-resolver-6q2bdcd1.js} +0 -0
  719. /package/dist/chunks/{command-7akdwqpd.js → model-resolver-7akdwqpd.js} +0 -0
  720. /package/dist/chunks/{command-7m9af43g.js → model-resolver-7m9af43g.js} +0 -0
  721. /package/dist/chunks/{command-822emrt2.js → model-resolver-822emrt2.js} +0 -0
  722. /package/dist/chunks/{command-84wd9syh.js → model-resolver-84wd9syh.js} +0 -0
  723. /package/dist/chunks/{command-88xbtdfr.js → model-resolver-88xbtdfr.js} +0 -0
  724. /package/dist/chunks/{command-8n3pysct.js → model-resolver-8n3pysct.js} +0 -0
  725. /package/dist/chunks/{command-8wj87zfr.js → model-resolver-8wj87zfr.js} +0 -0
  726. /package/dist/chunks/{command-9a4afbnw.js → model-resolver-9a4afbnw.js} +0 -0
  727. /package/dist/chunks/{command-9rqn6x4v.js → model-resolver-9rqn6x4v.js} +0 -0
  728. /package/dist/chunks/{command-a6k6eb26.js → model-resolver-a6k6eb26.js} +0 -0
  729. /package/dist/chunks/{command-af5trqkr.js → model-resolver-af5trqkr.js} +0 -0
  730. /package/dist/chunks/{command-afrmfg78.js → model-resolver-afrmfg78.js} +0 -0
  731. /package/dist/chunks/{command-aqzs7mqg.js → model-resolver-aqzs7mqg.js} +0 -0
  732. /package/dist/chunks/{command-atq7p7m5.js → model-resolver-atq7p7m5.js} +0 -0
  733. /package/dist/chunks/{command-bkyjaxrp.js → model-resolver-bkyjaxrp.js} +0 -0
  734. /package/dist/chunks/{command-bmr6ed5q.js → model-resolver-bmr6ed5q.js} +0 -0
  735. /package/dist/chunks/{command-cf4snx6d.js → model-resolver-cf4snx6d.js} +0 -0
  736. /package/dist/chunks/{command-cvy3z8tj.js → model-resolver-cvy3z8tj.js} +0 -0
  737. /package/dist/chunks/{command-d9fn303g.js → model-resolver-d9fn303g.js} +0 -0
  738. /package/dist/chunks/{command-d9jj8t3e.js → model-resolver-d9jj8t3e.js} +0 -0
  739. /package/dist/chunks/{command-dajrwvna.js → model-resolver-dajrwvna.js} +0 -0
  740. /package/dist/chunks/{command-dap0rakb.js → model-resolver-dap0rakb.js} +0 -0
  741. /package/dist/chunks/{command-df08tz66.js → model-resolver-df08tz66.js} +0 -0
  742. /package/dist/chunks/{command-dy18nga0.js → model-resolver-dy18nga0.js} +0 -0
  743. /package/dist/chunks/{command-e5kj55wp.js → model-resolver-e5kj55wp.js} +0 -0
  744. /package/dist/chunks/{command-e73j6tqm.js → model-resolver-e73j6tqm.js} +0 -0
  745. /package/dist/chunks/{command-ec1grn59.js → model-resolver-ec1grn59.js} +0 -0
  746. /package/dist/chunks/{command-eh3zwz77.js → model-resolver-eh3zwz77.js} +0 -0
  747. /package/dist/chunks/{command-emrn6kk6.js → model-resolver-emrn6kk6.js} +0 -0
  748. /package/dist/chunks/{command-f0mxakyp.js → model-resolver-f0mxakyp.js} +0 -0
  749. /package/dist/chunks/{command-f6n9ztr4.js → model-resolver-f6n9ztr4.js} +0 -0
  750. /package/dist/chunks/{command-faypxj3z.js → model-resolver-faypxj3z.js} +0 -0
  751. /package/dist/chunks/{command-fd410y7t.js → model-resolver-fd410y7t.js} +0 -0
  752. /package/dist/chunks/{command-g4wezp1m.js → model-resolver-g4wezp1m.js} +0 -0
  753. /package/dist/chunks/{command-g86h250q.js → model-resolver-g86h250q.js} +0 -0
  754. /package/dist/chunks/{command-gebd4c9n.js → model-resolver-gebd4c9n.js} +0 -0
  755. /package/dist/chunks/{command-gftt206x.js → model-resolver-gftt206x.js} +0 -0
  756. /package/dist/chunks/{command-hcxmzztb.js → model-resolver-hcxmzztb.js} +0 -0
  757. /package/dist/chunks/{command-hk9envan.js → model-resolver-hk9envan.js} +0 -0
  758. /package/dist/chunks/{command-j2ntwpah.js → model-resolver-j2ntwpah.js} +0 -0
  759. /package/dist/chunks/{command-j5zkgpj8.js → model-resolver-j5zkgpj8.js} +0 -0
  760. /package/dist/chunks/{command-jjkms2e6.js → model-resolver-jjkms2e6.js} +0 -0
  761. /package/dist/chunks/{command-jr7sbwjy.js → model-resolver-jr7sbwjy.js} +0 -0
  762. /package/dist/chunks/{command-jwfs4k6c.js → model-resolver-jwfs4k6c.js} +0 -0
  763. /package/dist/chunks/{command-jze0r7bz.js → model-resolver-jze0r7bz.js} +0 -0
  764. /package/dist/chunks/{command-jzg6c2d5.js → model-resolver-jzg6c2d5.js} +0 -0
  765. /package/dist/chunks/{command-m18g726c.js → model-resolver-m18g726c.js} +0 -0
  766. /package/dist/chunks/{command-mp448xyj.js → model-resolver-mp448xyj.js} +0 -0
  767. /package/dist/chunks/{command-msx8hqn2.js → model-resolver-msx8hqn2.js} +0 -0
  768. /package/dist/chunks/{command-n05xt0ee.js → model-resolver-n05xt0ee.js} +0 -0
  769. /package/dist/chunks/{command-n3j8tn72.js → model-resolver-n3j8tn72.js} +0 -0
  770. /package/dist/chunks/{command-njntx4h6.js → model-resolver-njntx4h6.js} +0 -0
  771. /package/dist/chunks/{command-pkyv6v7h.js → model-resolver-pkyv6v7h.js} +0 -0
  772. /package/dist/chunks/{command-pyv0edze.js → model-resolver-pyv0edze.js} +0 -0
  773. /package/dist/chunks/{command-q3sfg36h.js → model-resolver-q3sfg36h.js} +0 -0
  774. /package/dist/chunks/{command-q74kybfr.js → model-resolver-q74kybfr.js} +0 -0
  775. /package/dist/chunks/{command-qaymkmh1.js → model-resolver-qaymkmh1.js} +0 -0
  776. /package/dist/chunks/{command-qb87gjwd.js → model-resolver-qb87gjwd.js} +0 -0
  777. /package/dist/chunks/{command-qfa1cgps.js → model-resolver-qfa1cgps.js} +0 -0
  778. /package/dist/chunks/{command-qg3g05ea.js → model-resolver-qg3g05ea.js} +0 -0
  779. /package/dist/chunks/{command-qrg20bc0.js → model-resolver-qrg20bc0.js} +0 -0
  780. /package/dist/chunks/{command-rcb2kzg1.js → model-resolver-rcb2kzg1.js} +0 -0
  781. /package/dist/chunks/{command-sdp7kfr6.js → model-resolver-sdp7kfr6.js} +0 -0
  782. /package/dist/chunks/{command-ssg3fenm.js → model-resolver-ssg3fenm.js} +0 -0
  783. /package/dist/chunks/{command-ve7vex1e.js → model-resolver-ve7vex1e.js} +0 -0
  784. /package/dist/chunks/{command-w803qqfp.js → model-resolver-w803qqfp.js} +0 -0
  785. /package/dist/chunks/{command-wc3fc9cn.js → model-resolver-wc3fc9cn.js} +0 -0
  786. /package/dist/chunks/{command-wer8tq1h.js → model-resolver-wer8tq1h.js} +0 -0
  787. /package/dist/chunks/{command-wjj7prxr.js → model-resolver-wjj7prxr.js} +0 -0
  788. /package/dist/chunks/{command-wtztk69x.js → model-resolver-wtztk69x.js} +0 -0
  789. /package/dist/chunks/{command-x0ckcb58.js → model-resolver-x0ckcb58.js} +0 -0
  790. /package/dist/chunks/{command-x61499pn.js → model-resolver-x61499pn.js} +0 -0
  791. /package/dist/chunks/{command-y44na4kk.js → model-resolver-y44na4kk.js} +0 -0
  792. /package/dist/chunks/{command-y8f7s663.js → model-resolver-y8f7s663.js} +0 -0
  793. /package/dist/chunks/{command-ygaqb7jw.js → model-resolver-ygaqb7jw.js} +0 -0
  794. /package/dist/chunks/{command-ym463w8f.js → model-resolver-ym463w8f.js} +0 -0
  795. /package/dist/chunks/{command-z5v4ffb3.js → model-resolver-z5v4ffb3.js} +0 -0
  796. /package/dist/chunks/{command-z9919s4g.js → model-resolver-z9919s4g.js} +0 -0
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  Service85,
3
3
  node89
4
- } from "./command-bmgh3q8m.js";
4
+ } from "./model-resolver-4vdcag56.js";
5
5
  import {
6
6
  __export
7
- } from "./command-9rqn6x4v.js";
7
+ } from "./model-resolver-9rqn6x4v.js";
8
8
 
9
9
  // src/form.ts
10
10
  var exports_form = {};
@@ -12,31 +12,31 @@ __export(exports_form, {
12
12
  AlreadyExistsError: () => AlreadyExistsError2,
13
13
  AlreadySettledError: () => AlreadySettledError2,
14
14
  Answer: () => Answer2,
15
- Event: () => Event19,
15
+ Event: () => Event20,
16
16
  Field: () => Field2,
17
17
  Fields: () => Fields2,
18
18
  Form: () => exports_form,
19
- ID: () => ID15,
20
- Info: () => Info25,
19
+ ID: () => ID17,
20
+ Info: () => Info28,
21
21
  InvalidAnswerError: () => InvalidAnswerError2,
22
22
  InvalidFormError: () => InvalidFormError2,
23
- NotFoundError: () => NotFoundError10,
23
+ NotFoundError: () => NotFoundError12,
24
24
  Reply: () => Reply3,
25
- Service: () => Service79,
25
+ Service: () => Service83,
26
26
  State: () => State3,
27
27
  When: () => When2,
28
28
  layer: () => layer28,
29
- node: () => node83,
29
+ node: () => node87,
30
30
  validateAnswer: () => validateAnswer2,
31
31
  validateFields: () => validateFields2
32
32
  });
33
33
  import { Form } from "@opencode/schema/form";
34
34
  import { Cache, Context, Deferred, Duration, Effect, Exit, Layer, Option, Schema } from "effect";
35
35
  import { makeLocationNode } from "@opencode/util/effect/app-node";
36
- import { Event as Event19 } from "@opencode/schema/form";
36
+ import { Event as Event20 } from "@opencode/schema/form";
37
37
  var RETENTION = Duration.minutes(10);
38
- var ID15 = Form.ID;
39
- var Info25 = Form.Info;
38
+ var ID17 = Form.ID;
39
+ var Info28 = Form.Info;
40
40
  var Field2 = Form.Field;
41
41
  var Fields2 = Form.Fields;
42
42
  var When2 = Form.When;
@@ -44,8 +44,8 @@ var State3 = Form.State;
44
44
  var Answer2 = Form.Answer;
45
45
  var Reply3 = Form.Reply;
46
46
 
47
- class NotFoundError10 extends Schema.TaggedError()("Form.NotFoundError", {
48
- id: ID15
47
+ class NotFoundError12 extends Schema.TaggedError()("Form.NotFoundError", {
48
+ id: ID17
49
49
  }) {
50
50
  get message() {
51
51
  return `Form not found: ${this.id}`;
@@ -53,7 +53,7 @@ class NotFoundError10 extends Schema.TaggedError()("Form.NotFoundError", {
53
53
  }
54
54
 
55
55
  class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledError", {
56
- id: ID15
56
+ id: ID17
57
57
  }) {
58
58
  get message() {
59
59
  return `Form already settled: ${this.id}`;
@@ -61,7 +61,7 @@ class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledErro
61
61
  }
62
62
 
63
63
  class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError", {
64
- id: ID15
64
+ id: ID17
65
65
  }) {
66
66
  get message() {
67
67
  return `Form already exists: ${this.id}`;
@@ -69,7 +69,7 @@ class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError"
69
69
  }
70
70
 
71
71
  class InvalidAnswerError2 extends Schema.TaggedError()("Form.InvalidAnswerError", {
72
- id: ID15,
72
+ id: ID17,
73
73
  message: Schema.String
74
74
  }) {
75
75
  }
@@ -79,18 +79,18 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
79
79
  }) {
80
80
  }
81
81
 
82
- class Service79 extends Context.Service()("@opencode/Form") {
82
+ class Service83 extends Context.Service()("@opencode/Form") {
83
83
  }
84
- var layer28 = Layer.effect(Service79, Effect.gen(function* () {
84
+ var layer28 = Layer.effect(Service83, Effect.gen(function* () {
85
85
  const bus = yield* Service85;
86
86
  let closed = false;
87
87
  const forms = yield* Cache.makeWith(() => Effect.die(new Error("Form cache must be used via set/getSuccess, never get")), {
88
88
  capacity: Number.MAX_SAFE_INTEGER,
89
89
  timeToLive: (exit) => Exit.isSuccess(exit) && exit.value.state.status === "pending" ? Duration.infinity : RETENTION
90
90
  });
91
- const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError10({ id })))));
91
+ const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError12({ id })))));
92
92
  const create = Effect.fn("Form.create")((input) => Effect.uninterruptible(Effect.gen(function* () {
93
- const id = input.id ?? ID15.create();
93
+ const id = input.id ?? ID17.create();
94
94
  const existing = yield* Cache.getSuccess(forms, id);
95
95
  if (Option.isSome(existing))
96
96
  return yield* new AlreadyExistsError2({ id });
@@ -162,9 +162,9 @@ var layer28 = Layer.effect(Service79, Effect.gen(function* () {
162
162
  closed = true;
163
163
  }).pipe(Effect.andThen(Cache.values(forms)), Effect.flatMap((entries) => Effect.forEach(Array.from(entries).filter((entry) => entry.state.status === "pending"), (entry) => cancel(entry.form.id).pipe(Effect.ignore), { discard: true })));
164
164
  yield* Effect.addFinalizer(() => close);
165
- return Service79.of({ create, ask, get, list, state, reply, cancel, close });
165
+ return Service83.of({ create, ask, get, list, state, reply, cancel, close });
166
166
  }));
167
- var node83 = makeLocationNode({ service: Service79, layer: layer28, deps: [node89] });
167
+ var node87 = makeLocationNode({ service: Service83, layer: layer28, deps: [node89] });
168
168
  function validateAnswer2(form, answer) {
169
169
  const fields = new Map(form.map((field) => [field.key, field]));
170
170
  for (const key of Object.keys(answer)) {
@@ -316,4 +316,4 @@ function isDateTime(value) {
316
316
  return !Number.isNaN(new Date(value).getTime());
317
317
  }
318
318
 
319
- export { ID15, Info25, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError10, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service79, layer28, node83, validateAnswer2, validateFields2, exports_form, Event19 };
319
+ export { ID17, Info28, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError12, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service83, layer28, node87, validateAnswer2, validateFields2, exports_form, Event20 };
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  definition2,
3
3
  normalizedName2
4
- } from "./command-pyv0edze.js";
4
+ } from "./model-resolver-pyv0edze.js";
5
5
  import {
6
6
  extension2,
7
7
  display2
8
- } from "./command-syv4x271.js";
8
+ } from "./model-resolver-syv4x271.js";
9
9
  import {
10
10
  __export
11
- } from "./command-9rqn6x4v.js";
11
+ } from "./model-resolver-9rqn6x4v.js";
12
12
 
13
13
  // src/codemode/tool.ts
14
14
  var exports_tool2 = {};
@@ -1,27 +1,27 @@
1
1
  import {
2
2
  Service85
3
- } from "./command-bmgh3q8m.js";
3
+ } from "./model-resolver-4vdcag56.js";
4
4
  import {
5
- Service37,
6
- Event5
7
- } from "./command-v0t8kgzm.js";
5
+ Service69,
6
+ Event13
7
+ } from "./model-resolver-sr8at2s6.js";
8
8
  import {
9
9
  __export
10
- } from "./command-9rqn6x4v.js";
10
+ } from "./model-resolver-9rqn6x4v.js";
11
11
 
12
12
  // src/wellknown/plugin.ts
13
13
  var exports_plugin = {};
14
14
  __export(exports_plugin, {
15
- Plugin: () => Plugin50,
15
+ Plugin: () => Plugin36,
16
16
  WellKnownPlugin: () => exports_plugin
17
17
  });
18
18
  import { define } from "@opencode/plugin/effect/plugin";
19
19
  import { Effect, Stream } from "effect";
20
- var Plugin50 = define({
20
+ var Plugin36 = define({
21
21
  id: "opencode.wellknown",
22
22
  effect: Effect.fn(function* (ctx) {
23
23
  const bus = yield* Service85;
24
- const wellknown = yield* Service37;
24
+ const wellknown = yield* Service69;
25
25
  yield* wellknown.entries().pipe(Effect.orDie);
26
26
  yield* ctx.integration.transform((editor) => {
27
27
  wellknown.snapshot().forEach((entry) => {
@@ -41,8 +41,8 @@ var Plugin50 = define({
41
41
  });
42
42
  });
43
43
  });
44
- yield* bus.subscribe(Event5.Updated).pipe(Stream.runForEach(() => ctx.integration.reload()), Effect.forkScoped({ startImmediately: true }));
44
+ yield* bus.subscribe(Event13.Updated).pipe(Stream.runForEach(() => ctx.integration.reload()), Effect.forkScoped({ startImmediately: true }));
45
45
  })
46
46
  });
47
47
 
48
- export { Plugin50, exports_plugin };
48
+ export { Plugin36, exports_plugin };
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./command-z5v4ffb3.js";
3
+ } from "./model-resolver-z5v4ffb3.js";
4
4
  import {
5
- Service82
6
- } from "./command-5xnwhm0z.js";
5
+ Service78
6
+ } from "./model-resolver-rba33dr3.js";
7
7
  import {
8
- Service42
9
- } from "./command-zrw8628a.js";
8
+ Service56
9
+ } from "./model-resolver-pbptwtxn.js";
10
10
  import {
11
- Service9
12
- } from "./command-4zhk6gck.js";
11
+ Service8
12
+ } from "./model-resolver-sctb5je3.js";
13
13
  import {
14
14
  NotFound3
15
- } from "./command-hgz4x7wa.js";
15
+ } from "./model-resolver-hgz4x7wa.js";
16
16
  import {
17
17
  MEDIA_MIMES2,
18
18
  BinaryFileError2,
@@ -23,17 +23,17 @@ import {
23
23
  FileContent2,
24
24
  TextPage2,
25
25
  ListPage2,
26
- Service6
27
- } from "./command-bsksjwvt.js";
26
+ Service10
27
+ } from "./model-resolver-0z62s2d8.js";
28
28
  import {
29
29
  __export
30
- } from "./command-9rqn6x4v.js";
30
+ } from "./model-resolver-9rqn6x4v.js";
31
31
 
32
32
  // src/tool/plugin/read.ts
33
33
  var exports_read = {};
34
34
  __export(exports_read, {
35
35
  Input: () => Input2,
36
- Plugin: () => Plugin18,
36
+ Plugin: () => Plugin37,
37
37
  ReadTool: () => exports_read,
38
38
  name: () => name2,
39
39
  toModelContent: () => toModelContent2
@@ -55,14 +55,14 @@ var LocationInput = Schema.Struct({
55
55
  });
56
56
  var Input2 = LocationInput;
57
57
  var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
58
- var Plugin18 = {
58
+ var Plugin37 = {
59
59
  id: "opencode.tool.read",
60
60
  effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
61
- const reader = yield* Service6;
62
- const access = yield* Service42;
63
- const sessionInstructions = yield* Service9;
61
+ const reader = yield* Service10;
62
+ const access = yield* Service56;
63
+ const sessionInstructions = yield* Service8;
64
64
  const fs = yield* FSUtil.Service;
65
- const location = yield* Service82;
65
+ const location = yield* Service78;
66
66
  yield* ctx.tool.transform((editor) => editor.add({
67
67
  name: name2,
68
68
  options: { codemode: false },
@@ -182,4 +182,4 @@ var toModelContent2 = (path, offset, output) => {
182
182
  `);
183
183
  };
184
184
 
185
- export { name2, Input2, Plugin18, toModelContent2, exports_read };
185
+ export { name2, Input2, Plugin37, toModelContent2, exports_read };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./command-9rqn6x4v.js";
3
+ } from "./model-resolver-9rqn6x4v.js";
4
4
 
5
5
  // src/repository.ts
6
6
  var exports_repository = {};
@@ -1,39 +1,39 @@
1
1
  import {
2
2
  Failed2
3
- } from "./command-hgz4x7wa.js";
3
+ } from "./model-resolver-hgz4x7wa.js";
4
4
  import {
5
5
  execDefaults2
6
- } from "./command-eej6y6fw.js";
6
+ } from "./model-resolver-eej6y6fw.js";
7
7
  import {
8
8
  Service86,
9
9
  node90
10
- } from "./command-mc8h1syp.js";
10
+ } from "./model-resolver-qswqrcwe.js";
11
11
  import {
12
12
  makeUnsafe2
13
- } from "./command-y71avatq.js";
13
+ } from "./model-resolver-y71avatq.js";
14
14
  import {
15
15
  Binding2,
16
16
  RegistryService2,
17
- node60
18
- } from "./command-z2qvtray.js";
17
+ node77
18
+ } from "./model-resolver-eq20ba7x.js";
19
19
  import {
20
20
  WorkspaceTable2
21
- } from "./command-faypxj3z.js";
21
+ } from "./model-resolver-faypxj3z.js";
22
22
  import {
23
23
  __export
24
- } from "./command-9rqn6x4v.js";
24
+ } from "./model-resolver-9rqn6x4v.js";
25
25
 
26
26
  // src/workspace.ts
27
27
  var exports_workspace = {};
28
28
  __export(exports_workspace, {
29
29
  CreateConflict: () => CreateConflict2,
30
- ID: () => ID4,
31
- Info: () => Info13,
30
+ ID: () => ID11,
31
+ Info: () => Info20,
32
32
  NotFound: () => NotFound2,
33
- Service: () => Service57,
33
+ Service: () => Service74,
34
34
  Workspace: () => exports_workspace,
35
- configured: () => configured8,
36
- node: () => node59
35
+ configured: () => configured9,
36
+ node: () => node76
37
37
  });
38
38
  import { Workspace } from "@opencode/schema/workspace";
39
39
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
@@ -41,10 +41,10 @@ import { eq } from "drizzle-orm";
41
41
  import { Clock, Context, Deferred, Duration, Effect, Exit, FiberSet, Layer, Ref, Schedule, Schema, Scope } from "effect";
42
42
  import { systemError } from "effect/PlatformError";
43
43
  import { make } from "effect/process/ChildProcessSpawner";
44
- var ID4 = Workspace.ID;
44
+ var ID11 = Workspace.ID;
45
45
 
46
- class Info13 extends Schema.Class("Workspace.Info")({
47
- id: ID4,
46
+ class Info20 extends Schema.Class("Workspace.Info")({
47
+ id: ID11,
48
48
  provider: Schema.String,
49
49
  binding: Binding2,
50
50
  createdAt: Schema.Number,
@@ -52,24 +52,24 @@ class Info13 extends Schema.Class("Workspace.Info")({
52
52
  }) {
53
53
  }
54
54
 
55
- class NotFound2 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID4 }) {
55
+ class NotFound2 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID11 }) {
56
56
  }
57
57
 
58
58
  class CreateConflict2 extends Schema.TaggedError()("Workspace.CreateConflict", {
59
- workspaceID: ID4,
59
+ workspaceID: ID11,
60
60
  provider: Schema.String,
61
61
  existingProvider: Schema.String
62
62
  }) {
63
63
  }
64
64
 
65
- class Service57 extends Context.Service()("@opencode/Workspace") {
65
+ class Service74 extends Context.Service()("@opencode/Workspace") {
66
66
  }
67
- var configured8 = (options = {}) => makeGlobalNode({
68
- service: Service57,
67
+ var configured9 = (options = {}) => makeGlobalNode({
68
+ service: Service74,
69
69
  layer: layer(options),
70
- deps: [node90, node60]
70
+ deps: [node90, node77]
71
71
  });
72
- var layer = (options) => Layer.effect(Service57, Effect.gen(function* () {
72
+ var layer = (options) => Layer.effect(Service74, Effect.gen(function* () {
73
73
  const db = (yield* Service86).db;
74
74
  const registry = yield* RegistryService2;
75
75
  const lifetime = yield* Scope.Scope;
@@ -86,7 +86,7 @@ var layer = (options) => Layer.effect(Service57, Effect.gen(function* () {
86
86
  return row;
87
87
  });
88
88
  const saveBinding = (workspaceID, binding) => db.update(WorkspaceTable2).set({ binding }).where(eq(WorkspaceTable2.id, workspaceID)).run().pipe(Effect.orDie);
89
- const info = (row, binding) => new Info13({
89
+ const info = (row, binding) => new Info20({
90
90
  id: row.id,
91
91
  provider: row.provider,
92
92
  binding,
@@ -164,9 +164,9 @@ var layer = (options) => Layer.effect(Service57, Effect.gen(function* () {
164
164
  yield* Scope.close(connection.scope, Exit.void);
165
165
  }).pipe(Effect.catchCause((cause) => Effect.logError("workspace idle suspension failed", cause)))), { concurrency: "unbounded", discard: true });
166
166
  }).pipe(Effect.repeat(Schedule.spaced(options.pollInterval ?? Duration.minutes(1))), Effect.forkScoped);
167
- return Service57.of({
167
+ return Service74.of({
168
168
  create: Effect.fn("Workspace.create")(function* (input) {
169
- const workspaceID = input.id ?? ID4.create();
169
+ const workspaceID = input.id ?? ID11.create();
170
170
  const existing = yield* db.select({ provider: WorkspaceTable2.provider }).from(WorkspaceTable2).where(eq(WorkspaceTable2.id, workspaceID)).get().pipe(Effect.orDie);
171
171
  if (existing) {
172
172
  if (existing.provider === input.provider)
@@ -242,6 +242,6 @@ var layer = (options) => Layer.effect(Service57, Effect.gen(function* () {
242
242
  })
243
243
  });
244
244
  }));
245
- var node59 = configured8();
245
+ var node76 = configured9();
246
246
 
247
- export { ID4, Info13, NotFound2, CreateConflict2, Service57, configured8, node59, exports_workspace };
247
+ export { ID11, Info20, NotFound2, CreateConflict2, Service74, configured9, node76, exports_workspace };
@@ -1,47 +1,47 @@
1
1
  import {
2
2
  Metadata2,
3
3
  useragent2,
4
- node67
5
- } from "./command-zr2ps911.js";
4
+ node79
5
+ } from "./model-resolver-m2b6v9cc.js";
6
6
  import {
7
7
  Service72,
8
- node76
9
- } from "./command-4w5f3qm5.js";
8
+ node74
9
+ } from "./model-resolver-sk5hrgtc.js";
10
10
  import {
11
11
  DeclinedError2
12
- } from "./command-fgvq5ykp.js";
12
+ } from "./model-resolver-g90hexag.js";
13
13
  import {
14
14
  CancelledError2
15
- } from "./command-mw6y76xd.js";
15
+ } from "./model-resolver-6b89zbgc.js";
16
16
  import {
17
17
  Error3
18
- } from "./command-7hw33090.js";
18
+ } from "./model-resolver-wmbhbf7k.js";
19
19
  import {
20
- get4
21
- } from "./command-r94pvvab.js";
20
+ get5
21
+ } from "./model-resolver-54ma36ye.js";
22
22
  import {
23
- Service26,
24
- node30
25
- } from "./command-ce60aw2j.js";
23
+ Service25,
24
+ node29
25
+ } from "./model-resolver-nhpkjp8j.js";
26
26
  import {
27
- make14
28
- } from "./command-drwq78ky.js";
27
+ make13
28
+ } from "./model-resolver-qqeeq2t9.js";
29
29
  import {
30
30
  toLLMMessages2
31
- } from "./command-2gdhf4ep.js";
31
+ } from "./model-resolver-crfkxg47.js";
32
32
  import {
33
33
  __export
34
- } from "./command-9rqn6x4v.js";
34
+ } from "./model-resolver-9rqn6x4v.js";
35
35
 
36
36
  // src/session/model-request.ts
37
37
  var exports_model_request = {};
38
38
  __export(exports_model_request, {
39
- Service: () => Service23,
39
+ Service: () => Service24,
40
40
  SessionModelRequest: () => exports_model_request,
41
41
  baseTranscript: () => baseTranscript2,
42
42
  boundImages: () => boundImages2,
43
- layer: () => layer12,
44
- node: () => node26,
43
+ layer: () => layer11,
44
+ node: () => node28,
45
45
  outputLimit: () => outputLimit2,
46
46
  unsupportedParts: () => unsupportedParts2
47
47
  });
@@ -79,7 +79,7 @@ var baseTranscript2 = (input) => {
79
79
  return {
80
80
  providerMetadataKey,
81
81
  system: [
82
- input.agent.system ? input.agent.system : make14(input.tools.definitions.map((tool) => tool.name)),
82
+ input.agent.system ? input.agent.system : make13(input.tools.definitions.map((tool) => tool.name)),
83
83
  input.initial
84
84
  ].filter((part) => part.length > 0).map(SystemPart.make),
85
85
  messages: toLLMMessages2(input.messages, input.model.ref, providerMetadataKey)
@@ -160,11 +160,11 @@ var boundImages2 = (messages) => {
160
160
  });
161
161
  };
162
162
 
163
- class Service23 extends Context.Service()("@opencode/SessionModelRequest") {
163
+ class Service24 extends Context.Service()("@opencode/SessionModelRequest") {
164
164
  }
165
- var layer12 = Layer.effect(Service23, Effect.gen(function* () {
165
+ var layer11 = Layer.effect(Service24, Effect.gen(function* () {
166
166
  const hooks = yield* Service72;
167
- const transport = yield* Service26;
167
+ const transport = yield* Service25;
168
168
  const app = yield* Metadata2;
169
169
  const prepare = Effect.fn("SessionModelRequest.prepare")(function* (kind, input, shape) {
170
170
  const session = input.session;
@@ -190,7 +190,7 @@ var layer12 = Layer.effect(Service23, Effect.gen(function* () {
190
190
  const entries = Object.entries(shaped.options);
191
191
  const generation = Object.fromEntries(entries.filter(([k]) => GENERATION_KEYS.has(k)));
192
192
  const providerOptions = Object.fromEntries(entries.filter(([k]) => !GENERATION_KEYS.has(k)));
193
- const affinity = get4(session);
193
+ const affinity = get5(session);
194
194
  const base = LLM.request({
195
195
  model: model.model,
196
196
  http: {
@@ -266,17 +266,17 @@ var layer12 = Layer.effect(Service23, Effect.gen(function* () {
266
266
  };
267
267
  });
268
268
  const agentHook = (name, agent) => (draft, tools) => hooks.trigger("session", name, { ...draft, agent, tools });
269
- return Service23.of({
269
+ return Service24.of({
270
270
  primary: (input) => prepare("primary", input, agentHook("context", input.agent)),
271
271
  compaction: (input) => prepare("compaction", input, agentHook("compaction", input.agent)),
272
272
  generate: (input) => prepare("generate", input, agentHook("generate", input.agent)),
273
273
  title: (input) => prepare("title", input, (draft) => hooks.trigger("session", "title", draft))
274
274
  });
275
275
  }));
276
- var node26 = makeLocationNode({
277
- service: Service23,
278
- layer: layer12,
279
- deps: [node76, node30, node67]
276
+ var node28 = makeLocationNode({
277
+ service: Service24,
278
+ layer: layer11,
279
+ deps: [node74, node29, node79]
280
280
  });
281
281
 
282
- export { outputLimit2, baseTranscript2, unsupportedParts2, boundImages2, Service23, layer12, node26, exports_model_request };
282
+ export { outputLimit2, baseTranscript2, unsupportedParts2, boundImages2, Service24, layer11, node28, exports_model_request };
@@ -1,34 +1,34 @@
1
1
  import {
2
2
  useragent2
3
- } from "./command-zr2ps911.js";
3
+ } from "./model-resolver-m2b6v9cc.js";
4
4
  import {
5
5
  Service85
6
- } from "./command-bmgh3q8m.js";
6
+ } from "./model-resolver-4vdcag56.js";
7
7
  import {
8
8
  OAuth3,
9
- Event18
10
- } from "./command-n135qwgn.js";
9
+ Event21
10
+ } from "./model-resolver-v9t9bmqx.js";
11
11
  import {
12
- ID13,
12
+ ID16,
13
13
  MethodID2
14
- } from "./command-w7sew22p.js";
14
+ } from "./model-resolver-h9ta6350.js";
15
15
  import {
16
- ID12
17
- } from "./command-an9279zr.js";
16
+ ID13
17
+ } from "./model-resolver-6hen7d63.js";
18
18
  import {
19
- ID11,
19
+ ID12,
20
20
  Family2
21
- } from "./command-xq96cc1n.js";
21
+ } from "./model-resolver-03f7gaj9.js";
22
22
  import {
23
23
  bootstrap2
24
- } from "./command-pjvnvgmy.js";
24
+ } from "./model-resolver-pjvnvgmy.js";
25
25
 
26
26
  // src/plugin/provider/digitalocean.ts
27
27
  import { define } from "@opencode/plugin/effect/plugin";
28
28
  import { Clock, Deferred, Effect, Option, Schema, Semaphore, Stream } from "effect";
29
29
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
30
- var providerID = ID12.make("digitalocean");
31
- var integrationID = ID13.make("digitalocean");
30
+ var providerID = ID13.make("digitalocean");
31
+ var integrationID = ID16.make("digitalocean");
32
32
  var methodID = MethodID2.make("browser");
33
33
  var clientID = "b1a6c5158156caac821fd1b30253ca8acb52454a48fa744420e41889cb589f82";
34
34
  var authorizeEndpoint = "https://cloud.digitalocean.com/v1/oauth/authorize";
@@ -148,7 +148,7 @@ var DigitalOceanPlugin2 = define({
148
148
  return;
149
149
  for (const router of loaded.routers) {
150
150
  const id = `router:${router.name}`;
151
- if (evt.get(providerID)?.models.has(ID11.make(id)))
151
+ if (evt.get(providerID)?.models.has(ID12.make(id)))
152
152
  continue;
153
153
  evt.models.update(providerID, id, (draft) => {
154
154
  draft.name = router.name;
@@ -159,7 +159,7 @@ var DigitalOceanPlugin2 = define({
159
159
  }
160
160
  });
161
161
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
162
- yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
162
+ yield* bus.subscribe(Event21.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
163
163
  yield* refresh().pipe(Effect.forkScoped);
164
164
  })
165
165
  });
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./command-9rqn6x4v.js";
3
+ } from "./model-resolver-9rqn6x4v.js";
4
4
 
5
5
  // src/config/markdown.ts
6
6
  var exports_markdown = {};