@opencode/core 0.0.0-dev-21798 → 0.0.0-dev-21800

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 (801) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +85 -85
  3. package/dist/aisdk-native.js +94 -94
  4. package/dist/aisdk.js +100 -100
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +73 -73
  7. package/dist/chunks/{model-retry-kvzw13zf.js → form-02hjb68z.js} +3 -3
  8. package/dist/chunks/{model-retry-dh62xe4r.js → form-033a0jkt.js} +3 -3
  9. package/dist/chunks/{model-retry-799ckdtf.js → form-0421tmwc.js} +9 -9
  10. package/dist/chunks/{model-retry-nkr11kdx.js → form-0de0nmh0.js} +27 -27
  11. package/dist/chunks/{model-retry-mykzpx85.js → form-0e10z5fj.js} +6 -6
  12. package/dist/chunks/{model-retry-cyyydscs.js → form-0es6nja8.js} +24 -24
  13. package/dist/chunks/{model-retry-6g7mppbr.js → form-0h9bs85x.js} +9 -9
  14. package/dist/chunks/{model-retry-z7ttk5hb.js → form-0mmhxb94.js} +5 -5
  15. package/dist/chunks/{model-retry-0ht9hdz1.js → form-0mpj81pq.js} +20 -20
  16. package/dist/chunks/{model-retry-twpa8r42.js → form-0s6xfy83.js} +39 -39
  17. package/dist/chunks/{model-retry-1v37p8m9.js → form-0tw7w02j.js} +3 -3
  18. package/dist/chunks/{model-retry-rvbz23xa.js → form-1gvxmx3x.js} +13 -13
  19. package/dist/chunks/{model-retry-5v8dvpa5.js → form-1j3q5f1b.js} +4 -4
  20. package/dist/chunks/{model-retry-37sdb7g6.js → form-1kqbdeg9.js} +26 -26
  21. package/dist/chunks/{model-retry-cnhc66rt.js → form-1mz0hg4w.js} +42 -42
  22. package/dist/chunks/{model-retry-1x2knyw4.js → form-1x2knyw4.js} +1 -1
  23. package/dist/chunks/{model-retry-v6h5bgwd.js → form-202bxvr4.js} +8 -8
  24. package/dist/chunks/{model-retry-pkv4aqak.js → form-25cs5nez.js} +8 -8
  25. package/dist/chunks/{model-retry-27w5k9zf.js → form-27w5k9zf.js} +2 -2
  26. package/dist/chunks/{model-retry-050d3ay8.js → form-2abq9rn1.js} +21 -21
  27. package/dist/chunks/{model-retry-ynqg5bhp.js → form-2fpg1r86.js} +4 -4
  28. package/dist/chunks/{model-retry-xsact9zs.js → form-2mbjfaxd.js} +4 -4
  29. package/dist/chunks/{model-retry-2z1j29yd.js → form-2z1j29yd.js} +1 -1
  30. package/dist/chunks/{model-retry-fwhyb0gq.js → form-2zw8q38q.js} +16 -16
  31. package/dist/chunks/{model-retry-pg8x00ch.js → form-3418rxn8.js} +4 -4
  32. package/dist/chunks/{model-retry-xzya39d9.js → form-35z82n4m.js} +15 -15
  33. package/dist/chunks/{model-retry-36qx82yz.js → form-36qx82yz.js} +2 -2
  34. package/dist/chunks/{model-retry-3cbjf1nt.js → form-3cbjf1nt.js} +2 -2
  35. package/dist/chunks/{model-retry-3hepkmqq.js → form-3hepkmqq.js} +1 -1
  36. package/dist/chunks/{model-retry-tmc7xdjs.js → form-3nnrz6f6.js} +4 -4
  37. package/dist/chunks/{model-retry-jd2vyc00.js → form-3vrw48hq.js} +16 -16
  38. package/dist/chunks/{model-retry-3vdwfrk9.js → form-43k8zwa9.js} +5 -5
  39. package/dist/chunks/{model-retry-2emwncdy.js → form-443gxb00.js} +32 -32
  40. package/dist/chunks/{model-retry-mya9fhc3.js → form-4900y2mg.js} +18 -18
  41. package/dist/chunks/{model-retry-0wwnb14f.js → form-49tazegd.js} +9 -9
  42. package/dist/chunks/{model-retry-99y4khf1.js → form-4b160a05.js} +32 -32
  43. package/dist/chunks/{model-retry-hhnqmbew.js → form-4bj59q6n.js} +183 -183
  44. package/dist/chunks/{model-retry-3459c4aq.js → form-4j1hff5b.js} +17 -17
  45. package/dist/chunks/{model-retry-sm74gnkv.js → form-4se4h2v4.js} +14 -14
  46. package/dist/chunks/{model-retry-4v008n1t.js → form-4v008n1t.js} +1 -1
  47. package/dist/chunks/{model-retry-jzgdpz6y.js → form-504b0z1d.js} +35 -35
  48. package/dist/chunks/{model-retry-j8e92swm.js → form-518pc71g.js} +43 -43
  49. package/dist/chunks/{model-retry-17r689qp.js → form-57mrygtr.js} +28 -28
  50. package/dist/chunks/{model-retry-8krtskbq.js → form-5gc3gx18.js} +13 -13
  51. package/dist/chunks/{model-retry-5m9w47nd.js → form-5m9w47nd.js} +1 -1
  52. package/dist/chunks/{model-retry-7r0r50e5.js → form-5nrew705.js} +5 -5
  53. package/dist/chunks/{model-retry-d0pkz9h4.js → form-5nx9zxzz.js} +14 -14
  54. package/dist/chunks/{model-retry-j9gz35am.js → form-5v4fjzaq.js} +16 -16
  55. package/dist/chunks/{model-retry-xj5efqxa.js → form-5y540sh8.js} +5 -5
  56. package/dist/chunks/{model-retry-pr8acd8t.js → form-5ze4n4sg.js} +35 -35
  57. package/dist/chunks/{model-retry-1yq9hg58.js → form-5zrxpy3q.js} +5 -5
  58. package/dist/chunks/{model-retry-72anbrp0.js → form-62c0v1tw.js} +31 -31
  59. package/dist/chunks/{model-retry-6esdw8yj.js → form-6esdw8yj.js} +1 -1
  60. package/dist/chunks/{model-retry-17tax46a.js → form-6jh9wyah.js} +21 -21
  61. package/dist/chunks/{model-retry-6pjqjmy2.js → form-6pjqjmy2.js} +1 -1
  62. package/dist/chunks/{model-retry-kqerj9ke.js → form-6xaqvsrs.js} +6 -6
  63. package/dist/chunks/{model-retry-3m5yrge5.js → form-6yvmzeyy.js} +9 -9
  64. package/dist/chunks/{model-retry-t08j0hgd.js → form-72czzjvn.js} +12 -12
  65. package/dist/chunks/{model-retry-76cb1hcw.js → form-76cb1hcw.js} +1 -1
  66. package/dist/chunks/{model-retry-nah043kf.js → form-770pw0s1.js} +4 -4
  67. package/dist/chunks/{model-retry-p79cjfbn.js → form-77pzky32.js} +19 -19
  68. package/dist/chunks/{model-retry-7bmhse3q.js → form-7bmhse3q.js} +1 -1
  69. package/dist/chunks/{model-retry-e4159ryx.js → form-7p111ra0.js} +6 -6
  70. package/dist/chunks/{model-retry-xxbj3jbs.js → form-7tymy24s.js} +4 -4
  71. package/dist/chunks/{model-retry-3njs8ewd.js → form-7vk1qfcv.js} +5 -5
  72. package/dist/chunks/{model-retry-7w2ypzdf.js → form-7w2ypzdf.js} +1 -1
  73. package/dist/chunks/{model-retry-ng3brtr7.js → form-7zbjpcgf.js} +26 -26
  74. package/dist/chunks/{model-retry-hdfrs5mg.js → form-81sb882e.js} +9 -9
  75. package/dist/chunks/{model-retry-wcbhfjrd.js → form-8aa3rj35.js} +19 -19
  76. package/dist/chunks/{model-retry-n82jt8hg.js → form-8gfg5k83.js} +13 -13
  77. package/dist/chunks/{model-retry-ykrn0qsh.js → form-8kt5nrfk.js} +14 -14
  78. package/dist/chunks/{model-retry-ayrf2aj2.js → form-8nm5n31t.js} +20 -20
  79. package/dist/chunks/{model-retry-zhbxds4j.js → form-8s42wndc.js} +16 -16
  80. package/dist/chunks/{model-retry-8wtp7s3z.js → form-8wtp7s3z.js} +1 -1
  81. package/dist/chunks/{model-retry-91rj84md.js → form-91rj84md.js} +1 -1
  82. package/dist/chunks/{model-retry-qzbrb55n.js → form-9ap36caz.js} +26 -26
  83. package/dist/chunks/{model-retry-vewr63hq.js → form-9qkkem2t.js} +25 -25
  84. package/dist/chunks/{model-retry-9vfx6p45.js → form-9tc86wb5.js} +36 -36
  85. package/dist/chunks/{model-retry-wrhwm553.js → form-9y8pfte4.js} +20 -20
  86. package/dist/chunks/{model-retry-y6s9gp4k.js → form-a0mbnczp.js} +28 -28
  87. package/dist/chunks/{model-retry-aj7mw0zk.js → form-aj7mw0zk.js} +2 -2
  88. package/dist/chunks/{model-retry-rs3s0t58.js → form-aksd0eqj.js} +27 -27
  89. package/dist/chunks/{model-retry-yw1ck7zb.js → form-ayqdz43p.js} +11 -11
  90. package/dist/chunks/{model-retry-b0mv4wxm.js → form-b0mv4wxm.js} +2 -2
  91. package/dist/chunks/{model-retry-4nff539t.js → form-b1crm3cf.js} +45 -45
  92. package/dist/chunks/{model-retry-3rvfd2p4.js → form-b2swvwa1.js} +33 -33
  93. package/dist/chunks/{model-retry-5nnwax6m.js → form-b6vsg801.js} +5 -5
  94. package/dist/chunks/{model-retry-d51kxexq.js → form-b7yb02yv.js} +5 -5
  95. package/dist/chunks/{model-retry-d22k01at.js → form-bdsby7g0.js} +7 -7
  96. package/dist/chunks/{model-retry-64t4yar7.js → form-bf47wrzc.js} +9 -9
  97. package/dist/chunks/{model-retry-bjhzkqyk.js → form-bjhzkqyk.js} +1 -1
  98. package/dist/chunks/{model-retry-nhe1yga1.js → form-bjx81z2n.js} +41 -41
  99. package/dist/chunks/{model-retry-4tpkt9ke.js → form-bk72g9n5.js} +19 -19
  100. package/dist/chunks/{model-retry-r2r52ss0.js → form-bp8166w3.js} +8 -8
  101. package/dist/chunks/{model-retry-s499zzzn.js → form-bqjkv61t.js} +6 -6
  102. package/dist/chunks/{model-retry-c361hsxc.js → form-braepac4.js} +28 -28
  103. package/dist/chunks/{model-retry-h5yq12sk.js → form-bsm4yj1q.js} +3 -3
  104. package/dist/chunks/{model-retry-bstexjd6.js → form-bstexjd6.js} +1 -1
  105. package/dist/chunks/{model-retry-72at9y79.js → form-bx023ayb.js} +15 -15
  106. package/dist/chunks/{model-retry-9t2bhtr4.js → form-c53m598j.js} +13 -13
  107. package/dist/chunks/{model-retry-vhqwr51r.js → form-cbcw5jdv.js} +14 -14
  108. package/dist/chunks/{model-retry-jm1rj8kh.js → form-cf2bvegq.js} +40 -40
  109. package/dist/chunks/{model-retry-67q20rmp.js → form-cpfpnv00.js} +5 -5
  110. package/dist/chunks/{model-retry-5h6jm490.js → form-cq7by30v.js} +9 -9
  111. package/dist/chunks/{model-retry-tvf154dx.js → form-d4vw6k95.js} +14 -14
  112. package/dist/chunks/form-d77dj7jw.js +18 -0
  113. package/dist/chunks/{model-retry-7wy00epp.js → form-d7w06rve.js} +23 -23
  114. package/dist/chunks/{model-retry-q9xwq0xc.js → form-dbg2e74s.js} +11 -11
  115. package/dist/chunks/{model-retry-8kcbfhnp.js → form-dgcghd4q.js} +14 -14
  116. package/dist/chunks/{model-retry-faa8s968.js → form-djck26ns.js} +1 -1
  117. package/dist/chunks/{model-retry-9nn8g4z9.js → form-dkk62k64.js} +19 -19
  118. package/dist/chunks/{model-retry-hgyk1m6z.js → form-dkq45mty.js} +3 -3
  119. package/dist/chunks/{model-retry-hks9h3jz.js → form-dpcgzjbf.js} +19 -19
  120. package/dist/chunks/{model-retry-nhqzsk2y.js → form-dq0jjp1j.js} +9 -9
  121. package/dist/chunks/{model-retry-dvj9ct8m.js → form-dvj9ct8m.js} +3 -3
  122. package/dist/chunks/{model-retry-5qd3pb7m.js → form-e3qxr5gk.js} +2 -2
  123. package/dist/chunks/{model-retry-e834z07m.js → form-e834z07m.js} +1 -1
  124. package/dist/chunks/{model-retry-shbma2nf.js → form-ebvnp4a0.js} +11 -11
  125. package/dist/chunks/{model-retry-n9p72mjb.js → form-ebwp6ca3.js} +2 -2
  126. package/dist/chunks/{model-retry-mbvs8a24.js → form-ecv950bf.js} +16 -16
  127. package/dist/chunks/{model-retry-w92g60gw.js → form-efye4wxz.js} +21 -21
  128. package/dist/chunks/{model-retry-r7qbvbca.js → form-en3a7p48.js} +12 -12
  129. package/dist/chunks/{model-retry-gs55zvzx.js → form-ewnzmz0y.js} +12 -12
  130. package/dist/chunks/{model-retry-8tm9bnq5.js → form-f61gwnre.js} +9 -9
  131. package/dist/chunks/{model-retry-v0yxjjsz.js → form-f6ydp9jt.js} +52 -52
  132. package/dist/chunks/{model-retry-fffv3p7h.js → form-fffv3p7h.js} +1 -1
  133. package/dist/chunks/{model-retry-856d8532.js → form-ffg4nk5v.js} +20 -20
  134. package/dist/chunks/{model-retry-06vpm9gp.js → form-fgc19361.js} +5 -5
  135. package/dist/chunks/{model-retry-376fvw41.js → form-fke86k08.js} +16 -16
  136. package/dist/chunks/{model-retry-10jcw8d8.js → form-fp9hrh53.js} +15 -15
  137. package/dist/chunks/{model-retry-msz72xyj.js → form-fpepjkf7.js} +2 -2
  138. package/dist/chunks/{model-retry-j2pd7159.js → form-fv302xas.js} +15 -15
  139. package/dist/chunks/{model-retry-g5h9c0rr.js → form-g5h9c0rr.js} +2 -2
  140. package/dist/chunks/{model-retry-7xj3j87d.js → form-g5w7bwk1.js} +32 -32
  141. package/dist/chunks/{model-retry-7yj2t834.js → form-g656cbyf.js} +17 -17
  142. package/dist/chunks/{model-retry-da6nt20h.js → form-g82sjckm.js} +10 -10
  143. package/dist/chunks/{model-retry-yk6hg7py.js → form-gf1tscqt.js} +13 -13
  144. package/dist/chunks/{model-retry-b8d6cdec.js → form-gfavbhs2.js} +9 -9
  145. package/dist/chunks/{model-retry-sp6zazaz.js → form-gfm2g1r0.js} +25 -25
  146. package/dist/chunks/{model-retry-d4v9tmah.js → form-gn8tkhbf.js} +2 -2
  147. package/dist/chunks/{model-retry-gchkqpys.js → form-gp9gf7jx.js} +3 -3
  148. package/dist/chunks/{model-retry-xhywq8xw.js → form-gqy1905p.js} +19 -19
  149. package/dist/chunks/{model-retry-456hh3yw.js → form-h2xt6wet.js} +6 -6
  150. package/dist/chunks/{model-retry-9hn5wjvr.js → form-h9b0ss67.js} +21 -21
  151. package/dist/chunks/{model-retry-pkyxh230.js → form-ha3txm3a.js} +4 -4
  152. package/dist/chunks/form-hpzh5cr9.js +26 -0
  153. package/dist/chunks/{model-retry-z1ydadez.js → form-hr9cza2g.js} +13 -13
  154. package/dist/chunks/{model-retry-j113cymg.js → form-j113cymg.js} +1 -1
  155. package/dist/chunks/{model-retry-z08m45c2.js → form-j37rmggz.js} +21 -21
  156. package/dist/chunks/{model-retry-7emqhgyb.js → form-j6h7yvwn.js} +15 -15
  157. package/dist/chunks/{model-retry-44kmfwta.js → form-jc1psbyz.js} +17 -17
  158. package/dist/chunks/{model-retry-jneg3k74.js → form-jneg3k74.js} +1 -1
  159. package/dist/chunks/{model-retry-3kdbrncp.js → form-jr1j5bze.js} +5 -5
  160. package/dist/chunks/{model-retry-etshtsr8.js → form-jtf5yvtr.js} +5 -5
  161. package/dist/chunks/{model-retry-6nwz34t5.js → form-jwwge8xs.js} +14 -14
  162. package/dist/chunks/{model-retry-xrc3640n.js → form-jxb3gtw0.js} +8 -8
  163. package/dist/chunks/{model-retry-jcqm84fr.js → form-k302pdnh.js} +9 -9
  164. package/dist/chunks/{model-retry-zgphpnk4.js → form-k7rxqqn4.js} +8 -8
  165. package/dist/chunks/{model-retry-k814nvkf.js → form-k814nvkf.js} +1 -1
  166. package/dist/chunks/{model-retry-z9x3jvcw.js → form-kgm25kxq.js} +16 -16
  167. package/dist/chunks/{model-retry-9rm0bcgy.js → form-khsrtdw5.js} +21 -21
  168. package/dist/chunks/{model-retry-tg1vr1qt.js → form-kmzgegqq.js} +8 -8
  169. package/dist/chunks/{model-retry-y7qvxgn7.js → form-kstv1z45.js} +11 -11
  170. package/dist/chunks/{model-retry-kt3bjfbg.js → form-kt3bjfbg.js} +1 -1
  171. package/dist/chunks/{model-retry-m5vt6my1.js → form-kxadc7dx.js} +4 -4
  172. package/dist/chunks/{model-retry-y6haqydp.js → form-kzprjqer.js} +11 -11
  173. package/dist/chunks/{model-retry-m1714858.js → form-m1714858.js} +1 -1
  174. package/dist/chunks/{model-retry-100payr0.js → form-m3rt4n16.js} +12 -12
  175. package/dist/chunks/{model-retry-zwnm9ync.js → form-m56nnkz7.js} +4 -4
  176. package/dist/chunks/{model-retry-x1q34xva.js → form-m5ycwyg0.js} +2 -2
  177. package/dist/chunks/{model-retry-pbb834xc.js → form-m8s6zs3q.js} +6 -6
  178. package/dist/chunks/{model-retry-m9w0rfyh.js → form-m9w0rfyh.js} +1 -1
  179. package/dist/chunks/{model-retry-maspj1v3.js → form-maspj1v3.js} +1 -1
  180. package/dist/chunks/{model-retry-szchc02d.js → form-mfazgctd.js} +11 -11
  181. package/dist/chunks/{model-retry-xc7j2c4d.js → form-mfg8gex4.js} +15 -15
  182. package/dist/chunks/{model-retry-1y0wdj51.js → form-mmx1mfjr.js} +9 -9
  183. package/dist/chunks/{model-retry-khgyexzf.js → form-mxqegms8.js} +46 -46
  184. package/dist/chunks/{model-retry-n0p0277s.js → form-n0p0277s.js} +1 -1
  185. package/dist/chunks/{model-retry-73rh2vq1.js → form-n98epqcg.js} +22 -22
  186. package/dist/chunks/{model-retry-x7ey6qtv.js → form-nc9xfdq7.js} +7 -7
  187. package/dist/chunks/{model-retry-1cmbb7v6.js → form-ndqzk6tc.js} +35 -35
  188. package/dist/chunks/{model-retry-2kw25s9z.js → form-ngjf4jxk.js} +12 -12
  189. package/dist/chunks/{model-retry-p015t6z3.js → form-p015t6z3.js} +2 -2
  190. package/dist/chunks/{model-retry-qqg9c0kv.js → form-p0tsr9h6.js} +4 -4
  191. package/dist/chunks/{model-retry-8p97zz9p.js → form-p35g19ew.js} +50 -50
  192. package/dist/chunks/{model-retry-hwdnhv43.js → form-p83a0njd.js} +32 -32
  193. package/dist/chunks/{model-retry-pknna89w.js → form-pknna89w.js} +1 -1
  194. package/dist/chunks/{model-retry-ewr5k9wg.js → form-pta84ypa.js} +8 -8
  195. package/dist/chunks/{model-retry-7yp67vww.js → form-ptbh3pce.js} +20 -20
  196. package/dist/chunks/{model-retry-qfdd46e5.js → form-pwcmqnv6.js} +40 -40
  197. package/dist/chunks/{model-retry-ajxt18t2.js → form-q0f28206.js} +7 -7
  198. package/dist/chunks/{model-retry-3qxfjpzy.js → form-q79gyas9.js} +28 -28
  199. package/dist/chunks/{model-retry-vqbn6xdq.js → form-q8axm0b6.js} +1 -1
  200. package/dist/chunks/{model-retry-5p205wab.js → form-qd7v5spn.js} +4 -4
  201. package/dist/chunks/{model-retry-nrch4egb.js → form-qdckhfvx.js} +25 -25
  202. package/dist/chunks/{model-retry-qjgzc4b4.js → form-qjgzc4b4.js} +1 -1
  203. package/dist/chunks/{model-retry-phzadmh4.js → form-qkghfb1m.js} +87 -87
  204. package/dist/chunks/{model-retry-tf6tm6wa.js → form-qp8t9fx2.js} +11 -11
  205. package/dist/chunks/{model-retry-r0yr0wbs.js → form-r0yr0wbs.js} +1 -1
  206. package/dist/chunks/{model-retry-w2eysc6j.js → form-r41sfy63.js} +6 -6
  207. package/dist/chunks/{model-retry-r542h3bh.js → form-r542h3bh.js} +1 -1
  208. package/dist/chunks/{model-retry-gjzc59g1.js → form-r658k6r9.js} +21 -21
  209. package/dist/chunks/{model-retry-gnv5jhj2.js → form-r7k9z7cv.js} +321 -321
  210. package/dist/chunks/{model-retry-rb9dy4dg.js → form-rb9dy4dg.js} +1 -1
  211. package/dist/chunks/{model-retry-wyzx5psy.js → form-rdmv0akp.js} +14 -14
  212. package/dist/chunks/{model-retry-r621r93h.js → form-rekntzzt.js} +3 -3
  213. package/dist/chunks/{model-retry-b5sxz6p8.js → form-rhjvhekr.js} +4 -4
  214. package/dist/chunks/{model-retry-e3fssm85.js → form-rmm3vtp2.js} +17 -17
  215. package/dist/chunks/{model-retry-5z33grs6.js → form-rnhyqk91.js} +20 -20
  216. package/dist/chunks/{model-retry-yk4w5znd.js → form-rp2hzysp.js} +10 -10
  217. package/dist/chunks/{model-retry-0xhfrmwt.js → form-rpgjqsg9.js} +21 -21
  218. package/dist/chunks/{model-retry-rt5dr6hb.js → form-rt5dr6hb.js} +1 -1
  219. package/dist/chunks/{model-retry-5j9j26xw.js → form-rtnxtb24.js} +11 -11
  220. package/dist/chunks/{model-retry-g211t61s.js → form-rvz41am7.js} +5 -5
  221. package/dist/chunks/{model-retry-88kypjvy.js → form-s4f8ct6t.js} +4 -4
  222. package/dist/chunks/{model-retry-sa3fpqfw.js → form-sa3fpqfw.js} +2 -2
  223. package/dist/chunks/{model-retry-qnm4ee5f.js → form-shdhkr49.js} +6 -6
  224. package/dist/chunks/{model-retry-3vz2yars.js → form-sk4rcz4v.js} +32 -32
  225. package/dist/chunks/{model-retry-z1n0gzr1.js → form-sp43gwv2.js} +14 -14
  226. package/dist/chunks/{model-retry-sqjzf8x2.js → form-sqjzf8x2.js} +1 -1
  227. package/dist/chunks/{model-retry-5snh3nsf.js → form-ssfc5kf6.js} +54 -54
  228. package/dist/chunks/{model-retry-b1pn0vxn.js → form-ssfehs1z.js} +4 -4
  229. package/dist/chunks/{model-retry-kgmyqp0y.js → form-t2ztbpje.js} +4 -4
  230. package/dist/chunks/{model-retry-hyyhzzxx.js → form-t6fwpnvd.js} +18 -18
  231. package/dist/chunks/{model-retry-g4hhz492.js → form-t6zv3t7w.js} +35 -35
  232. package/dist/chunks/{model-retry-x6w9baef.js → form-t7je23h6.js} +21 -21
  233. package/dist/chunks/{model-retry-tasvem1v.js → form-tasvem1v.js} +3 -3
  234. package/dist/chunks/{model-retry-nm0eb3mq.js → form-tb6jrghd.js} +20 -20
  235. package/dist/chunks/{model-retry-tczq8hjw.js → form-tczq8hjw.js} +1 -1
  236. package/dist/chunks/{model-retry-twv2r8f4.js → form-twv2r8f4.js} +2 -2
  237. package/dist/chunks/{model-retry-3rc6xfjm.js → form-twvgeg0c.js} +10 -10
  238. package/dist/chunks/{model-retry-hhmywts7.js → form-ty2r1ah4.js} +10 -10
  239. package/dist/chunks/{model-retry-v2r1d0zg.js → form-v2r1d0zg.js} +1 -1
  240. package/dist/chunks/{model-retry-kzhqem7y.js → form-v69f37bj.js} +27 -27
  241. package/dist/chunks/{model-retry-vd3b3yk9.js → form-vd3b3yk9.js} +1 -1
  242. package/dist/chunks/{model-retry-veqvce7d.js → form-veqvce7d.js} +1 -1
  243. package/dist/chunks/{model-retry-e207k1f0.js → form-vgsxebfn.js} +10 -10
  244. package/dist/chunks/{model-retry-7zhd4cey.js → form-vhnfgg21.js} +10 -10
  245. package/dist/chunks/{model-retry-vmfhgzt5.js → form-vmfhgzt5.js} +1 -1
  246. package/dist/chunks/{model-retry-zd3qvcwp.js → form-vp3f7txe.js} +14 -14
  247. package/dist/chunks/{model-retry-my4zabxr.js → form-vwdfpcvx.js} +3 -3
  248. package/dist/chunks/{model-retry-4xkwq58b.js → form-vwss2sv6.js} +24 -24
  249. package/dist/chunks/{model-retry-z18nf20h.js → form-vzmjdaw1.js} +9 -9
  250. package/dist/chunks/{model-retry-5jzmzpz9.js → form-w3ns5rkg.js} +42 -42
  251. package/dist/chunks/{model-retry-w3wsvvr9.js → form-w3wsvvr9.js} +1 -1
  252. package/dist/chunks/{model-retry-c5ncm6k8.js → form-w6byfr8d.js} +21 -21
  253. package/dist/chunks/{model-retry-w59prh0j.js → form-w6d7jzdm.js} +34 -34
  254. package/dist/chunks/{model-retry-a7hcemwv.js → form-w7frmj75.js} +8 -8
  255. package/dist/chunks/{model-retry-wakvkjy4.js → form-wakvkjy4.js} +1 -1
  256. package/dist/chunks/{model-retry-krw5ejhg.js → form-wb32cm0h.js} +5 -5
  257. package/dist/chunks/{model-retry-wd87259q.js → form-wd87259q.js} +1 -1
  258. package/dist/chunks/{model-retry-hqdkncv9.js → form-wdffqmgj.js} +8 -8
  259. package/dist/chunks/{model-retry-61g7nd3s.js → form-wdv0vama.js} +10 -10
  260. package/dist/chunks/{model-retry-0jvkxj1w.js → form-whhxszaf.js} +16 -16
  261. package/dist/chunks/form-wkj84943.js +261 -0
  262. package/dist/chunks/{model-retry-fznmdakp.js → form-wr3re1en.js} +4 -4
  263. package/dist/chunks/{model-retry-wy6akpvc.js → form-wysrktan.js} +7 -7
  264. package/dist/chunks/{model-retry-ycqv3yh7.js → form-x0yqbyz4.js} +18 -18
  265. package/dist/chunks/{model-retry-sn0f3s8q.js → form-x2x5zj05.js} +13 -13
  266. package/dist/chunks/{model-retry-cxnqxqrv.js → form-x59sy6my.js} +79 -79
  267. package/dist/chunks/{model-retry-cxy24jbt.js → form-x83ywg7g.js} +18 -18
  268. package/dist/chunks/{model-retry-125y49va.js → form-x8h9qnt8.js} +11 -11
  269. package/dist/chunks/{model-retry-xynhjj0h.js → form-xg7y1tnh.js} +15 -15
  270. package/dist/chunks/{model-retry-n2crsrfc.js → form-xh7yb18e.js} +32 -32
  271. package/dist/chunks/{model-retry-xkfczkpn.js → form-xkfczkpn.js} +3 -3
  272. package/dist/chunks/{model-retry-zmwx25fz.js → form-xnctb0t2.js} +2 -2
  273. package/dist/chunks/{model-retry-8gbe608w.js → form-xr0fdn46.js} +7 -7
  274. package/dist/chunks/{model-retry-mn4sstjx.js → form-xyznvzfj.js} +4 -4
  275. package/dist/chunks/{model-retry-a5pdx5y6.js → form-y6asfd6w.js} +32 -32
  276. package/dist/chunks/{model-retry-8kw3wj8m.js → form-y7r7kv14.js} +38 -38
  277. package/dist/chunks/{model-retry-yb20nhc3.js → form-yb20nhc3.js} +1 -1
  278. package/dist/chunks/{model-retry-3j5fsnm8.js → form-yhzfnwqx.js} +68 -68
  279. package/dist/chunks/{model-retry-67szgq6z.js → form-ywgtt5qa.js} +13 -13
  280. package/dist/chunks/{model-retry-zjxxcmzt.js → form-z028gk7z.js} +13 -13
  281. package/dist/chunks/{model-retry-z0bkrqjs.js → form-z0bkrqjs.js} +1 -1
  282. package/dist/chunks/{model-retry-q44gb8fn.js → form-z2w0x2ee.js} +47 -47
  283. package/dist/chunks/{model-retry-d2p1wmw4.js → form-z2y0gft8.js} +3 -3
  284. package/dist/chunks/{model-retry-z38nccrw.js → form-z38nccrw.js} +1 -1
  285. package/dist/chunks/{model-retry-pes7pnh1.js → form-z41z05dk.js} +6 -6
  286. package/dist/chunks/{model-retry-mr3sax3v.js → form-zc3z0s1e.js} +16 -16
  287. package/dist/chunks/{model-retry-k60f6tvy.js → form-zgaxvjwc.js} +15 -15
  288. package/dist/chunks/{model-retry-zkg84ctx.js → form-zkg84ctx.js} +1 -1
  289. package/dist/chunks/{model-retry-vrsa97jg.js → form-zkyyckpa.js} +22 -22
  290. package/dist/chunks/{model-retry-7bk0syww.js → form-zv1k8n0h.js} +11 -11
  291. package/dist/codemode/catalog.js +1 -1
  292. package/dist/codemode/instructions.js +5 -5
  293. package/dist/codemode/tool.js +3 -3
  294. package/dist/codemode/web.js +1 -1
  295. package/dist/command.js +87 -87
  296. package/dist/config/discovery.js +87 -87
  297. package/dist/config/markdown.js +1 -1
  298. package/dist/config/normalize.js +104 -104
  299. package/dist/config/plugin/agent.js +120 -120
  300. package/dist/config/plugin/command.js +216 -216
  301. package/dist/config/plugin/compaction.js +157 -157
  302. package/dist/config/plugin/compatibility.js +137 -137
  303. package/dist/config/plugin/entry-observer.js +1 -1
  304. package/dist/config/plugin/formatter.js +119 -119
  305. package/dist/config/plugin/image.js +118 -118
  306. package/dist/config/plugin/instruction.js +118 -118
  307. package/dist/config/plugin/location-watcher.js +120 -120
  308. package/dist/config/plugin/mcp.js +127 -127
  309. package/dist/config/plugin/policy.js +119 -119
  310. package/dist/config/plugin/provider.js +118 -118
  311. package/dist/config/plugin/reference.js +120 -120
  312. package/dist/config/plugin/shell.js +118 -118
  313. package/dist/config/plugin/skill-file.js +107 -107
  314. package/dist/config/plugin/skill-scan.js +3 -3
  315. package/dist/config/plugin/skill.js +140 -140
  316. package/dist/config/plugin/snapshot.js +118 -118
  317. package/dist/config/plugin/source.js +121 -121
  318. package/dist/config/plugin/tool-output.js +119 -119
  319. package/dist/config/plugin/websearch.js +117 -117
  320. package/dist/config/plugin/worktree.js +120 -120
  321. package/dist/config/variable.js +1 -1
  322. package/dist/config/watch.js +1 -1
  323. package/dist/config.js +123 -123
  324. package/dist/console-access.js +1 -1
  325. package/dist/credential/sql.js +2 -2
  326. package/dist/credential.js +81 -81
  327. package/dist/database/database.js +70 -70
  328. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  329. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  330. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  331. package/dist/database/drizzle/index.js +13 -13
  332. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  335. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  337. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  338. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  339. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  340. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  341. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  342. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  343. package/dist/database/drizzle.js +14 -14
  344. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  345. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  346. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  347. package/dist/database/migration/20260225215848_workspace.js +1 -1
  348. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  349. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  350. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  351. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  352. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  353. package/dist/database/migration/20260323234822_events.js +1 -1
  354. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  355. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  356. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  357. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  358. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  359. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  360. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  361. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  362. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  363. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  364. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  365. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  366. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  367. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  368. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  369. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  370. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  371. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  372. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  373. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  374. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  375. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  376. package/dist/database/migration/20260611035744_credential.js +1 -1
  377. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  378. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  379. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  380. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  381. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  382. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  383. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  384. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  385. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  386. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  387. package/dist/database/migration/20260812213948_worktree.js +1 -1
  388. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  389. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  390. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  391. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  392. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  393. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  394. package/dist/database/migration/20261024002554_session_allowance.js +1 -1
  395. package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
  396. package/dist/database/migration.gen.js +53 -53
  397. package/dist/database/migration.js +55 -55
  398. package/dist/database/path.js +2 -2
  399. package/dist/database/schema.gen.js +1 -1
  400. package/dist/database/schema.sql.js +1 -1
  401. package/dist/database/sqlite.bun.js +1 -1
  402. package/dist/database/sqlite.js +1 -1
  403. package/dist/database/sqlite.node.js +1 -1
  404. package/dist/database/sqlite.workerd.js +1 -1
  405. package/dist/database/v1-migration.bun.js +97 -97
  406. package/dist/database/v1-migration.js +1 -1
  407. package/dist/effect/app-node-builder.js +374 -374
  408. package/dist/effect/app-node-platform.js +2 -2
  409. package/dist/effect/keyed-mutex.js +1 -1
  410. package/dist/effect/websocket-constructor.js +1 -1
  411. package/dist/environment/driver.js +1 -1
  412. package/dist/environment/environment.js +98 -98
  413. package/dist/environment/exec-defaults.js +2 -2
  414. package/dist/environment/files.js +1 -1
  415. package/dist/environment/index.js +98 -98
  416. package/dist/environment/local.js +2 -2
  417. package/dist/environment/memory.js +2 -2
  418. package/dist/environment/unavailable.js +3 -3
  419. package/dist/event/sql.js +1 -1
  420. package/dist/event-logger.js +74 -74
  421. package/dist/file-access.js +109 -109
  422. package/dist/file-mutation.js +99 -99
  423. package/dist/file-retention.js +1 -1
  424. package/dist/filesystem/fff.bun.js +2 -2
  425. package/dist/filesystem/fff.js +1 -1
  426. package/dist/filesystem/fff.node.js +2 -2
  427. package/dist/filesystem/fff.workerd.js +2 -2
  428. package/dist/filesystem/location-watcher-policy.js +6 -6
  429. package/dist/filesystem/location-watcher.js +229 -229
  430. package/dist/filesystem/protected.js +1 -1
  431. package/dist/filesystem/search.js +104 -104
  432. package/dist/filesystem/watcher-binding.js +3 -3
  433. package/dist/filesystem/watcher.js +11 -11
  434. package/dist/filesystem.js +109 -109
  435. package/dist/form.js +84 -84
  436. package/dist/formatter/builtins.js +4 -4
  437. package/dist/formatter.js +92 -92
  438. package/dist/generate.js +110 -110
  439. package/dist/git.js +11 -11
  440. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  441. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  442. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  443. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  444. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  445. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  446. package/dist/github-copilot/copilot-provider.js +17 -17
  447. package/dist/github-copilot/models.js +96 -96
  448. package/dist/github-copilot/openai-compatible-error.js +1 -1
  449. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  450. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  451. package/dist/github-copilot/responses/openai-error.js +1 -1
  452. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  453. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  454. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  455. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  456. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  457. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  458. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  459. package/dist/image/photon.js +2 -2
  460. package/dist/image.js +6 -6
  461. package/dist/instance/service.js +5 -5
  462. package/dist/instance.js +365 -365
  463. package/dist/instruction-discovery.js +88 -88
  464. package/dist/instructions/builtins.js +92 -92
  465. package/dist/instructions/index.js +1 -1
  466. package/dist/integration/connection.js +1 -1
  467. package/dist/integration.js +85 -85
  468. package/dist/job.js +82 -82
  469. package/dist/kv/sql.js +2 -2
  470. package/dist/kv.js +77 -77
  471. package/dist/location-activity.js +158 -158
  472. package/dist/location-lifecycle.js +112 -112
  473. package/dist/location-service-map.js +91 -91
  474. package/dist/location-services.js +362 -362
  475. package/dist/location.js +92 -92
  476. package/dist/managed-policy.js +8 -8
  477. package/dist/mcp/client.js +96 -96
  478. package/dist/mcp/index.js +110 -110
  479. package/dist/mcp/instructions.js +141 -141
  480. package/dist/mcp/oauth.js +79 -79
  481. package/dist/mcp/socket-client.js +1 -1
  482. package/dist/mcp/stdio.js +95 -95
  483. package/dist/mime.js +1 -1
  484. package/dist/modal/models.js +96 -96
  485. package/dist/model-resolver.js +104 -104
  486. package/dist/model-retry.js +1 -1
  487. package/dist/model.js +103 -103
  488. package/dist/models-dev.js +104 -104
  489. package/dist/oauth/page.js +1 -1
  490. package/dist/permission/saved.js +86 -86
  491. package/dist/permission/sql.js +5 -5
  492. package/dist/permission.js +118 -118
  493. package/dist/persistent-pty/binary.bun.js +1 -1
  494. package/dist/persistent-pty/daemon.js +1 -1
  495. package/dist/persistent-pty/index.js +90 -90
  496. package/dist/persistent-pty/pty-binding.js +1 -1
  497. package/dist/persistent-pty.js +79 -79
  498. package/dist/plugin/agent.js +80 -80
  499. package/dist/plugin/command.js +107 -107
  500. package/dist/plugin/hooks.js +5 -5
  501. package/dist/plugin/host.js +220 -220
  502. package/dist/plugin/identity.js +5 -5
  503. package/dist/plugin/instance.js +5 -5
  504. package/dist/plugin/internal.js +335 -335
  505. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  506. package/dist/plugin/models-dev.js +101 -101
  507. package/dist/plugin/module.js +119 -119
  508. package/dist/plugin/optimize.js +2 -2
  509. package/dist/plugin/plan.js +107 -107
  510. package/dist/plugin/promise.js +1 -1
  511. package/dist/plugin/provider/amazon-bedrock.js +95 -95
  512. package/dist/plugin/provider/azure.js +118 -118
  513. package/dist/plugin/provider/cerebras.js +1 -1
  514. package/dist/plugin/provider/chatgpt.js +118 -118
  515. package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
  516. package/dist/plugin/provider/cloudflare-workers-ai.js +115 -115
  517. package/dist/plugin/provider/cohere.js +2 -2
  518. package/dist/plugin/provider/configured.js +114 -114
  519. package/dist/plugin/provider/databricks.js +1 -1
  520. package/dist/plugin/provider/digitalocean.js +98 -98
  521. package/dist/plugin/provider/dynamic.js +2 -2
  522. package/dist/plugin/provider/factory.js +1 -1
  523. package/dist/plugin/provider/github-copilot.js +100 -100
  524. package/dist/plugin/provider/gitlab.js +98 -98
  525. package/dist/plugin/provider/google-vertex.js +115 -115
  526. package/dist/plugin/provider/kilo.js +1 -1
  527. package/dist/plugin/provider/llmgateway.js +82 -82
  528. package/dist/plugin/provider/lmstudio.js +127 -127
  529. package/dist/plugin/provider/local.js +124 -124
  530. package/dist/plugin/provider/modal.js +97 -97
  531. package/dist/plugin/provider/neon.js +1 -1
  532. package/dist/plugin/provider/nvidia.js +1 -1
  533. package/dist/plugin/provider/ollama.js +127 -127
  534. package/dist/plugin/provider/openai-context-caps.js +95 -95
  535. package/dist/plugin/provider/openai.js +118 -118
  536. package/dist/plugin/provider/opencode.js +104 -104
  537. package/dist/plugin/provider/openrouter.js +96 -96
  538. package/dist/plugin/provider/perplexity.js +2 -2
  539. package/dist/plugin/provider/poe.js +83 -83
  540. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  541. package/dist/plugin/provider/sap-ai-core.js +96 -96
  542. package/dist/plugin/provider/sdk-factory.js +1 -1
  543. package/dist/plugin/provider/snowflake-cortex.js +117 -117
  544. package/dist/plugin/provider/vercel.js +95 -95
  545. package/dist/plugin/provider/vllm.js +127 -127
  546. package/dist/plugin/provider/xai.js +96 -96
  547. package/dist/plugin/provider/zenmux.js +1 -1
  548. package/dist/plugin/provider.js +171 -171
  549. package/dist/plugin/sdk.js +80 -80
  550. package/dist/plugin/service.js +3 -3
  551. package/dist/plugin/skill.js +136 -136
  552. package/dist/plugin/source-directory.js +1 -1
  553. package/dist/plugin/supervisor.js +352 -352
  554. package/dist/plugin/tool-input-repair.js +4 -4
  555. package/dist/plugin/update.js +6 -6
  556. package/dist/plugin/vcs/git.js +91 -91
  557. package/dist/plugin/vcs/hg.js +91 -91
  558. package/dist/plugin/verbosity.js +98 -98
  559. package/dist/plugin/warming.js +116 -116
  560. package/dist/plugin/websearch/exa.js +7 -7
  561. package/dist/plugin/websearch/firecrawl.js +6 -6
  562. package/dist/plugin/websearch/index.js +9 -9
  563. package/dist/plugin/websearch/mcp.js +4 -4
  564. package/dist/plugin/websearch/parallel.js +6 -6
  565. package/dist/plugin/websearch/tavily.js +6 -6
  566. package/dist/plugin/websearch/tinyfish.js +8 -8
  567. package/dist/plugin.js +231 -231
  568. package/dist/project/schema.js +8 -8
  569. package/dist/project/sql.js +4 -4
  570. package/dist/project.js +95 -95
  571. package/dist/provider.js +98 -98
  572. package/dist/pty/protocol.js +1 -1
  573. package/dist/pty/ticket.js +1 -1
  574. package/dist/pty.js +103 -103
  575. package/dist/reference/instructions.js +92 -92
  576. package/dist/reference.js +94 -94
  577. package/dist/repository-cache.js +86 -86
  578. package/dist/repository.js +1 -1
  579. package/dist/ripgrep/binary.js +2 -2
  580. package/dist/ripgrep.js +100 -100
  581. package/dist/rpc.js +91 -91
  582. package/dist/schema.js +1 -1
  583. package/dist/session/affinity.js +3 -3
  584. package/dist/session/command.js +78 -78
  585. package/dist/session/compaction.js +139 -139
  586. package/dist/session/context.js +167 -167
  587. package/dist/session/diff.js +93 -93
  588. package/dist/session/environment.js +5 -5
  589. package/dist/session/error.js +5 -5
  590. package/dist/session/event.js +1 -1
  591. package/dist/session/execution/restart.js +223 -223
  592. package/dist/session/execution.js +131 -131
  593. package/dist/session/generate.js +169 -169
  594. package/dist/session/history.js +15 -15
  595. package/dist/session/inbox.js +93 -93
  596. package/dist/session/info.js +3 -3
  597. package/dist/session/instruction-entry.js +83 -83
  598. package/dist/session/instruction-state.js +8 -8
  599. package/dist/session/instructions.js +102 -102
  600. package/dist/session/message-updater.js +4 -4
  601. package/dist/session/message.js +1 -1
  602. package/dist/session/model-request.js +123 -123
  603. package/dist/session/model-transport.js +9 -9
  604. package/dist/session/move.js +135 -135
  605. package/dist/session/projector.js +93 -93
  606. package/dist/session/prompt.js +110 -110
  607. package/dist/session/recent-text.js +1 -1
  608. package/dist/session/revert.js +99 -99
  609. package/dist/session/run-coordinator.js +3 -3
  610. package/dist/session/runner/index.js +3 -3
  611. package/dist/session/runner/llm.js +233 -233
  612. package/dist/session/runner/max-steps.js +1 -1
  613. package/dist/session/runner/model.js +105 -105
  614. package/dist/session/runner/publish-llm-event.js +118 -118
  615. package/dist/session/runner/retry.js +3 -3
  616. package/dist/session/runner/step.js +131 -131
  617. package/dist/session/runner/to-llm-message.js +14 -14
  618. package/dist/session/schema.js +5 -5
  619. package/dist/session/session.js +165 -165
  620. package/dist/session/shell.js +132 -132
  621. package/dist/session/skill.js +110 -110
  622. package/dist/session/sql.js +5 -5
  623. package/dist/session/stats.js +77 -77
  624. package/dist/session/store.js +89 -89
  625. package/dist/session/subagent-completion.js +1 -1
  626. package/dist/session/subagent-job.js +214 -214
  627. package/dist/session/system-prompt.js +1 -1
  628. package/dist/session/title.js +171 -171
  629. package/dist/session/to-session-error.js +117 -117
  630. package/dist/session/transfer.js +219 -219
  631. package/dist/session/usage.js +1 -1
  632. package/dist/session.js +218 -218
  633. package/dist/shell/parse.js +8 -8
  634. package/dist/shell/result.js +1 -1
  635. package/dist/shell/scan.js +1 -1
  636. package/dist/shell/select.js +11 -11
  637. package/dist/shell.js +134 -134
  638. package/dist/skill/discovery.js +6 -6
  639. package/dist/skill/instructions.js +110 -110
  640. package/dist/skill.js +115 -115
  641. package/dist/snapshot.js +98 -98
  642. package/dist/state.js +1 -1
  643. package/dist/tool/html-markdown.js +1 -1
  644. package/dist/tool/http-body.js +1 -1
  645. package/dist/tool/mcp.js +142 -142
  646. package/dist/tool/plugin/edit.js +125 -125
  647. package/dist/tool/plugin/file-diff.js +1 -1
  648. package/dist/tool/plugin/glob.js +129 -129
  649. package/dist/tool/plugin/grep.js +129 -129
  650. package/dist/tool/plugin/mcp-resource.js +129 -129
  651. package/dist/tool/plugin/opencode.js +114 -114
  652. package/dist/tool/plugin/patch.js +127 -127
  653. package/dist/tool/plugin/question.js +110 -110
  654. package/dist/tool/plugin/read.js +130 -130
  655. package/dist/tool/plugin/shell.js +217 -217
  656. package/dist/tool/plugin/skill.js +114 -114
  657. package/dist/tool/plugin/subagent.js +221 -221
  658. package/dist/tool/plugin/todo.js +140 -140
  659. package/dist/tool/plugin/webfetch.js +116 -116
  660. package/dist/tool/plugin/websearch.js +115 -115
  661. package/dist/tool/plugin/write.js +127 -127
  662. package/dist/tool/read-filesystem.js +105 -105
  663. package/dist/tool/runtime.js +1 -1
  664. package/dist/tool-output.js +7 -7
  665. package/dist/tool.js +16 -16
  666. package/dist/usage-limits.js +89 -89
  667. package/dist/util/error-summary.js +1 -1
  668. package/dist/util/git-executable.js +3 -3
  669. package/dist/util/lazy.js +1 -1
  670. package/dist/util/slug.js +1 -1
  671. package/dist/util/token.js +1 -1
  672. package/dist/util/which.js +1 -1
  673. package/dist/util/wildcard.js +1 -1
  674. package/dist/v1/config/agent.js +5 -5
  675. package/dist/v1/config/command.js +3 -3
  676. package/dist/v1/config/mcp.js +2 -2
  677. package/dist/v1/config/migrate.js +97 -97
  678. package/dist/v1/config/permission.js +7 -7
  679. package/dist/v1/config/plugin.js +3 -3
  680. package/dist/v1/config/provider-options.js +1 -1
  681. package/dist/v1/config/provider.js +4 -4
  682. package/dist/variant.js +98 -98
  683. package/dist/vcs/patch.js +1 -1
  684. package/dist/vcs.js +94 -94
  685. package/dist/voice.js +86 -86
  686. package/dist/websearch.js +88 -88
  687. package/dist/wellknown/plugin.js +78 -78
  688. package/dist/wellknown.js +85 -85
  689. package/dist/workspace/driver.js +5 -5
  690. package/dist/workspace/sql.js +1 -1
  691. package/dist/workspace.js +86 -86
  692. package/dist/worktree/directory.js +2 -2
  693. package/dist/worktree/git.js +9 -9
  694. package/dist/worktree/sql.js +5 -5
  695. package/dist/worktree/strategies.js +94 -94
  696. package/dist/worktree.js +103 -103
  697. package/package.json +8 -8
  698. package/dist/chunks/model-retry-2dkjcnxp.js +0 -18
  699. package/dist/chunks/model-retry-4eh702yp.js +0 -261
  700. package/dist/chunks/model-retry-zd4c8dy4.js +0 -26
  701. /package/dist/chunks/{model-retry-0qkdqm5v.js → form-0qkdqm5v.js} +0 -0
  702. /package/dist/chunks/{model-retry-0zkw76rk.js → form-0zkw76rk.js} +0 -0
  703. /package/dist/chunks/{model-retry-17cy0kzp.js → form-17cy0kzp.js} +0 -0
  704. /package/dist/chunks/{model-retry-1cnp2v09.js → form-1cnp2v09.js} +0 -0
  705. /package/dist/chunks/{model-retry-24dcb14g.js → form-24dcb14g.js} +0 -0
  706. /package/dist/chunks/{model-retry-2710q6r3.js → form-2710q6r3.js} +0 -0
  707. /package/dist/chunks/{model-retry-2bv980vf.js → form-2bv980vf.js} +0 -0
  708. /package/dist/chunks/{model-retry-2c3vjs8z.js → form-2c3vjs8z.js} +0 -0
  709. /package/dist/chunks/{model-retry-359p4xyc.js → form-359p4xyc.js} +0 -0
  710. /package/dist/chunks/{model-retry-3asan66x.js → form-3asan66x.js} +0 -0
  711. /package/dist/chunks/{model-retry-3v8g72cx.js → form-3v8g72cx.js} +0 -0
  712. /package/dist/chunks/{model-retry-3wcehsnq.js → form-3wcehsnq.js} +0 -0
  713. /package/dist/chunks/{model-retry-43n2bw4t.js → form-43n2bw4t.js} +0 -0
  714. /package/dist/chunks/{model-retry-4knz6hnm.js → form-4knz6hnm.js} +0 -0
  715. /package/dist/chunks/{model-retry-4vcrnpx2.js → form-4vcrnpx2.js} +0 -0
  716. /package/dist/chunks/{model-retry-4y7fprxs.js → form-4y7fprxs.js} +0 -0
  717. /package/dist/chunks/{model-retry-53557ph1.js → form-53557ph1.js} +0 -0
  718. /package/dist/chunks/{model-retry-550bvhaj.js → form-550bvhaj.js} +0 -0
  719. /package/dist/chunks/{model-retry-6prwharc.js → form-6prwharc.js} +0 -0
  720. /package/dist/chunks/{model-retry-6q2bdcd1.js → form-6q2bdcd1.js} +0 -0
  721. /package/dist/chunks/{model-retry-7akdwqpd.js → form-7akdwqpd.js} +0 -0
  722. /package/dist/chunks/{model-retry-7m9af43g.js → form-7m9af43g.js} +0 -0
  723. /package/dist/chunks/{model-retry-822emrt2.js → form-822emrt2.js} +0 -0
  724. /package/dist/chunks/{model-retry-84wd9syh.js → form-84wd9syh.js} +0 -0
  725. /package/dist/chunks/{model-retry-88xbtdfr.js → form-88xbtdfr.js} +0 -0
  726. /package/dist/chunks/{model-retry-8n3pysct.js → form-8n3pysct.js} +0 -0
  727. /package/dist/chunks/{model-retry-8wj87zfr.js → form-8wj87zfr.js} +0 -0
  728. /package/dist/chunks/{model-retry-9a4afbnw.js → form-9a4afbnw.js} +0 -0
  729. /package/dist/chunks/{model-retry-9rqn6x4v.js → form-9rqn6x4v.js} +0 -0
  730. /package/dist/chunks/{model-retry-a058387c.js → form-a058387c.js} +0 -0
  731. /package/dist/chunks/{model-retry-a6k6eb26.js → form-a6k6eb26.js} +0 -0
  732. /package/dist/chunks/{model-retry-af5trqkr.js → form-af5trqkr.js} +0 -0
  733. /package/dist/chunks/{model-retry-afrmfg78.js → form-afrmfg78.js} +0 -0
  734. /package/dist/chunks/{model-retry-aqzs7mqg.js → form-aqzs7mqg.js} +0 -0
  735. /package/dist/chunks/{model-retry-atq7p7m5.js → form-atq7p7m5.js} +0 -0
  736. /package/dist/chunks/{model-retry-bkyjaxrp.js → form-bkyjaxrp.js} +0 -0
  737. /package/dist/chunks/{model-retry-bmr6ed5q.js → form-bmr6ed5q.js} +0 -0
  738. /package/dist/chunks/{model-retry-cf4snx6d.js → form-cf4snx6d.js} +0 -0
  739. /package/dist/chunks/{model-retry-cqv5kn06.js → form-cqv5kn06.js} +0 -0
  740. /package/dist/chunks/{model-retry-cvy3z8tj.js → form-cvy3z8tj.js} +0 -0
  741. /package/dist/chunks/{model-retry-d9fn303g.js → form-d9fn303g.js} +0 -0
  742. /package/dist/chunks/{model-retry-d9jj8t3e.js → form-d9jj8t3e.js} +0 -0
  743. /package/dist/chunks/{model-retry-dajrwvna.js → form-dajrwvna.js} +0 -0
  744. /package/dist/chunks/{model-retry-dap0rakb.js → form-dap0rakb.js} +0 -0
  745. /package/dist/chunks/{model-retry-df08tz66.js → form-df08tz66.js} +0 -0
  746. /package/dist/chunks/{model-retry-dy18nga0.js → form-dy18nga0.js} +0 -0
  747. /package/dist/chunks/{model-retry-e5kj55wp.js → form-e5kj55wp.js} +0 -0
  748. /package/dist/chunks/{model-retry-e73j6tqm.js → form-e73j6tqm.js} +0 -0
  749. /package/dist/chunks/{model-retry-ec1grn59.js → form-ec1grn59.js} +0 -0
  750. /package/dist/chunks/{model-retry-eh3zwz77.js → form-eh3zwz77.js} +0 -0
  751. /package/dist/chunks/{model-retry-emrn6kk6.js → form-emrn6kk6.js} +0 -0
  752. /package/dist/chunks/{model-retry-f0mxakyp.js → form-f0mxakyp.js} +0 -0
  753. /package/dist/chunks/{model-retry-f6n9ztr4.js → form-f6n9ztr4.js} +0 -0
  754. /package/dist/chunks/{model-retry-faypxj3z.js → form-faypxj3z.js} +0 -0
  755. /package/dist/chunks/{model-retry-fd410y7t.js → form-fd410y7t.js} +0 -0
  756. /package/dist/chunks/{model-retry-g4wezp1m.js → form-g4wezp1m.js} +0 -0
  757. /package/dist/chunks/{model-retry-g86h250q.js → form-g86h250q.js} +0 -0
  758. /package/dist/chunks/{model-retry-gebd4c9n.js → form-gebd4c9n.js} +0 -0
  759. /package/dist/chunks/{model-retry-gftt206x.js → form-gftt206x.js} +0 -0
  760. /package/dist/chunks/{model-retry-hcxmzztb.js → form-hcxmzztb.js} +0 -0
  761. /package/dist/chunks/{model-retry-hk9envan.js → form-hk9envan.js} +0 -0
  762. /package/dist/chunks/{model-retry-j2ntwpah.js → form-j2ntwpah.js} +0 -0
  763. /package/dist/chunks/{model-retry-j5zkgpj8.js → form-j5zkgpj8.js} +0 -0
  764. /package/dist/chunks/{model-retry-jjkms2e6.js → form-jjkms2e6.js} +0 -0
  765. /package/dist/chunks/{model-retry-jr7sbwjy.js → form-jr7sbwjy.js} +0 -0
  766. /package/dist/chunks/{model-retry-jwfs4k6c.js → form-jwfs4k6c.js} +0 -0
  767. /package/dist/chunks/{model-retry-jwr30sdr.js → form-jwr30sdr.js} +0 -0
  768. /package/dist/chunks/{model-retry-jze0r7bz.js → form-jze0r7bz.js} +0 -0
  769. /package/dist/chunks/{model-retry-jzg6c2d5.js → form-jzg6c2d5.js} +0 -0
  770. /package/dist/chunks/{model-retry-m18g726c.js → form-m18g726c.js} +0 -0
  771. /package/dist/chunks/{model-retry-mp448xyj.js → form-mp448xyj.js} +0 -0
  772. /package/dist/chunks/{model-retry-msx8hqn2.js → form-msx8hqn2.js} +0 -0
  773. /package/dist/chunks/{model-retry-n05xt0ee.js → form-n05xt0ee.js} +0 -0
  774. /package/dist/chunks/{model-retry-n3j8tn72.js → form-n3j8tn72.js} +0 -0
  775. /package/dist/chunks/{model-retry-njntx4h6.js → form-njntx4h6.js} +0 -0
  776. /package/dist/chunks/{model-retry-pkyv6v7h.js → form-pkyv6v7h.js} +0 -0
  777. /package/dist/chunks/{model-retry-q3sfg36h.js → form-q3sfg36h.js} +0 -0
  778. /package/dist/chunks/{model-retry-q74kybfr.js → form-q74kybfr.js} +0 -0
  779. /package/dist/chunks/{model-retry-qaymkmh1.js → form-qaymkmh1.js} +0 -0
  780. /package/dist/chunks/{model-retry-qb87gjwd.js → form-qb87gjwd.js} +0 -0
  781. /package/dist/chunks/{model-retry-qfa1cgps.js → form-qfa1cgps.js} +0 -0
  782. /package/dist/chunks/{model-retry-qg3g05ea.js → form-qg3g05ea.js} +0 -0
  783. /package/dist/chunks/{model-retry-qrg20bc0.js → form-qrg20bc0.js} +0 -0
  784. /package/dist/chunks/{model-retry-rcb2kzg1.js → form-rcb2kzg1.js} +0 -0
  785. /package/dist/chunks/{model-retry-sdp7kfr6.js → form-sdp7kfr6.js} +0 -0
  786. /package/dist/chunks/{model-retry-sjmm3wxa.js → form-sjmm3wxa.js} +0 -0
  787. /package/dist/chunks/{model-retry-ssg3fenm.js → form-ssg3fenm.js} +0 -0
  788. /package/dist/chunks/{model-retry-ve7vex1e.js → form-ve7vex1e.js} +0 -0
  789. /package/dist/chunks/{model-retry-w803qqfp.js → form-w803qqfp.js} +0 -0
  790. /package/dist/chunks/{model-retry-wc3fc9cn.js → form-wc3fc9cn.js} +0 -0
  791. /package/dist/chunks/{model-retry-wer8tq1h.js → form-wer8tq1h.js} +0 -0
  792. /package/dist/chunks/{model-retry-wjj7prxr.js → form-wjj7prxr.js} +0 -0
  793. /package/dist/chunks/{model-retry-wtztk69x.js → form-wtztk69x.js} +0 -0
  794. /package/dist/chunks/{model-retry-x0ckcb58.js → form-x0ckcb58.js} +0 -0
  795. /package/dist/chunks/{model-retry-x61499pn.js → form-x61499pn.js} +0 -0
  796. /package/dist/chunks/{model-retry-y44na4kk.js → form-y44na4kk.js} +0 -0
  797. /package/dist/chunks/{model-retry-y8f7s663.js → form-y8f7s663.js} +0 -0
  798. /package/dist/chunks/{model-retry-ygaqb7jw.js → form-ygaqb7jw.js} +0 -0
  799. /package/dist/chunks/{model-retry-ym463w8f.js → form-ym463w8f.js} +0 -0
  800. /package/dist/chunks/{model-retry-z5v4ffb3.js → form-z5v4ffb3.js} +0 -0
  801. /package/dist/chunks/{model-retry-z9919s4g.js → form-z9919s4g.js} +0 -0
@@ -1,10 +1,10 @@
1
1
  import {
2
- ID14,
2
+ ID13,
3
3
  Service79,
4
4
  node83
5
- } from "./model-retry-gs55zvzx.js";
5
+ } from "./form-ewnzmz0y.js";
6
6
  import {
7
- ID13,
7
+ ID12,
8
8
  isAISDK2,
9
9
  packageName2,
10
10
  loadPackage2,
@@ -17,22 +17,22 @@ import {
17
17
  mergeHeaders2,
18
18
  Service78,
19
19
  node82
20
- } from "./model-retry-hks9h3jz.js";
20
+ } from "./form-dpcgzjbf.js";
21
21
  import {
22
- Service58,
23
- node62
24
- } from "./model-retry-2kw25s9z.js";
22
+ Service77,
23
+ node81
24
+ } from "./form-ngjf4jxk.js";
25
25
  import {
26
- ID12,
26
+ ID11,
27
27
  VariantID2,
28
28
  Ref2,
29
- Service77,
30
- node81,
29
+ Service76,
30
+ node80,
31
31
  supportsText2
32
- } from "./model-retry-ng3brtr7.js";
32
+ } from "./form-7zbjpcgf.js";
33
33
  import {
34
34
  __export
35
- } from "./model-retry-9rqn6x4v.js";
35
+ } from "./form-9rqn6x4v.js";
36
36
 
37
37
  // src/model-resolver.ts
38
38
  var exports_model_resolver = {};
@@ -41,15 +41,15 @@ __export(exports_model_resolver, {
41
41
  ModelConfigurationError: () => ModelConfigurationError2,
42
42
  ModelInitializationError: () => ModelInitializationError2,
43
43
  ModelResolver: () => exports_model_resolver,
44
- Service: () => Service57,
44
+ Service: () => Service75,
45
45
  UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
46
46
  UnsupportedCompactionError: () => UnsupportedCompactionError2,
47
47
  UnsupportedPackageError: () => UnsupportedPackageError2,
48
48
  VariantUnavailableError: () => VariantUnavailableError2,
49
49
  fromCatalogModel: () => fromCatalogModel2,
50
50
  hasPackage: () => hasPackage2,
51
- layer: () => layer23,
52
- node: () => node61,
51
+ layer: () => layer27,
52
+ node: () => node79,
53
53
  resolveModel: () => resolveModel3,
54
54
  withVariant: () => withVariant2
55
55
  });
@@ -59,8 +59,8 @@ import { Auth } from "@opencode/ai/route";
59
59
  import { Context, Effect, Layer, Schema, Struct } from "effect";
60
60
  import { Npm } from "@opencode/util/npm";
61
61
  class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.VariantUnavailableError", {
62
- providerID: ID13,
63
- modelID: ID12,
62
+ providerID: ID12,
63
+ modelID: ID11,
64
64
  variant: VariantID2
65
65
  }) {
66
66
  get message() {
@@ -69,8 +69,8 @@ class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.
69
69
  }
70
70
 
71
71
  class UnsupportedPackageError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedPackageError", {
72
- providerID: ID13,
73
- modelID: ID12,
72
+ providerID: ID12,
73
+ modelID: ID11,
74
74
  package: Schema.String
75
75
  }) {
76
76
  get message() {
@@ -80,8 +80,8 @@ class UnsupportedPackageError2 extends Schema.TaggedError()("SessionRunnerModel.
80
80
  var InitializationPhase2 = Schema.Literals(["load", "init", "construct"]);
81
81
 
82
82
  class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelConfigurationError", {
83
- providerID: ID13,
84
- modelID: ID12,
83
+ providerID: ID12,
84
+ modelID: ID11,
85
85
  package: Schema.String,
86
86
  detail: Schema.String
87
87
  }) {
@@ -91,8 +91,8 @@ class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.
91
91
  }
92
92
 
93
93
  class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelInitializationError", {
94
- providerID: ID13,
95
- modelID: ID12,
94
+ providerID: ID12,
95
+ modelID: ID11,
96
96
  package: Schema.String,
97
97
  phase: InitializationPhase2,
98
98
  detail: Schema.String
@@ -103,8 +103,8 @@ class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel
103
103
  }
104
104
 
105
105
  class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRunnerModel.UnresolvedProviderVariablesError", {
106
- providerID: ID13,
107
- modelID: ID12,
106
+ providerID: ID12,
107
+ modelID: ID11,
108
108
  variables: Schema.Array(Schema.String)
109
109
  }) {
110
110
  get message() {
@@ -113,8 +113,8 @@ class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRun
113
113
  }
114
114
 
115
115
  class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedCompactionError", {
116
- providerID: ID13,
117
- modelID: ID12,
116
+ providerID: ID12,
117
+ modelID: ID11,
118
118
  route: Schema.String
119
119
  }) {
120
120
  get message() {
@@ -122,7 +122,7 @@ class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerMod
122
122
  }
123
123
  }
124
124
 
125
- class Service57 extends Context.Service()("@opencode/ModelResolver") {
125
+ class Service75 extends Context.Service()("@opencode/ModelResolver") {
126
126
  }
127
127
  var withVariant2 = (model, variantID) => {
128
128
  const id = variantID === "default" ? undefined : variantID;
@@ -234,7 +234,7 @@ var nativeCredentialSettings = (model, specifier, credential) => {
234
234
  return tokenSettings(specifier, credential.access);
235
235
  if (specifier.startsWith("@opencode/ai/providers/amazon-bedrock"))
236
236
  return { auth: "sigv4" };
237
- if (model.providerID === ID13.azure)
237
+ if (model.providerID === ID12.azure)
238
238
  return tokenSettings(specifier, "azure-cli");
239
239
  return {};
240
240
  };
@@ -269,15 +269,15 @@ var causeMessage = (cause) => {
269
269
  };
270
270
  var resolveModel3 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
271
271
  var hasPackage2 = (model) => Boolean(model.package);
272
- var layer23 = Layer.effect(Service57, Effect.gen(function* () {
272
+ var layer27 = Layer.effect(Service75, Effect.gen(function* () {
273
273
  const providers = yield* Service78;
274
- const models = yield* Service77;
274
+ const models = yield* Service76;
275
275
  const integrations = yield* Service79;
276
276
  const npm = yield* Npm.Service;
277
- const aisdk = yield* Service58;
277
+ const aisdk = yield* Service77;
278
278
  const load = Effect.fn("ModelResolver.resolveModel")(function* (selected, variant) {
279
279
  const provider = yield* providers.get(selected.providerID);
280
- const connection = yield* integrations.connection.active(provider?.integrationID ?? ID14.make(selected.providerID));
280
+ const connection = yield* integrations.connection.active(provider?.integrationID ?? ID13.make(selected.providerID));
281
281
  const credential = connection ? yield* integrations.connection.resolve(connection) : undefined;
282
282
  const selectedVariant = yield* withVariant2(selected, variant);
283
283
  const runtimeInfo = {
@@ -304,7 +304,7 @@ var layer23 = Layer.effect(Service57, Effect.gen(function* () {
304
304
  chunkTimeout: timeout2(provider?.settings?.chunkTimeout)
305
305
  };
306
306
  });
307
- return Service57.of({
307
+ return Service75.of({
308
308
  resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
309
309
  const selected = requested ? yield* models.get(requested.providerID, requested.id) : yield* models.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(models.available(), (models) => models.find((model) => hasPackage2(model) && supportsText2(model)))));
310
310
  if (!selected)
@@ -321,10 +321,10 @@ function usesAPIKeyAuth(packageName) {
321
321
  const name = packageName2(packageName);
322
322
  return name === "@ai-sdk/openai" || name === "@ai-sdk/anthropic" || name === "@ai-sdk/cerebras" || name === "@ai-sdk/deepinfra" || name === "@ai-sdk/openai-compatible" || name === "@ai-sdk/google" || name === "@ai-sdk/groq" || name === "@ai-sdk/mistral" || name === "@ai-sdk/togetherai" || name === "@ai-sdk/xai" || name === "@openrouter/ai-sdk-provider" || name === "@ai-sdk/azure" || name === "@opencode/ai/providers/openai" || name?.startsWith("@opencode/ai/providers/openai/") === true || name === "@opencode/ai/providers/anthropic" || name === "@opencode/ai/providers/anthropic-compatible" || name === "@opencode/ai/providers/baseten" || name === "@opencode/ai/providers/cerebras" || name === "@opencode/ai/providers/cloudflare-ai-gateway" || name === "@opencode/ai/providers/cloudflare-workers-ai" || name === "@opencode/ai/providers/deepinfra" || name === "@opencode/ai/providers/deepseek" || name === "@opencode/ai/providers/fireworks" || name === "@opencode/ai/providers/openai-compatible" || name === "@opencode/ai/providers/google" || name === "@opencode/ai/providers/google/interactions" || name === "@opencode/ai/providers/groq" || name === "@opencode/ai/providers/mistral" || name === "@opencode/ai/providers/togetherai" || name === "@opencode/ai/providers/vercel-ai-gateway" || name === "@opencode/ai/providers/xai" || name === "@opencode/ai/providers/openrouter" || name === "@opencode/ai/providers/azure" || name?.startsWith("@opencode/ai/providers/azure/") === true;
323
323
  }
324
- var node61 = makeLocationNode({
325
- service: Service57,
326
- layer: layer23,
327
- deps: [node82, node81, node83, Npm.node, node62]
324
+ var node79 = makeLocationNode({
325
+ service: Service75,
326
+ layer: layer27,
327
+ deps: [node82, node80, node83, Npm.node, node81]
328
328
  });
329
329
 
330
- export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service57, withVariant2, fromCatalogModel2, resolveModel3, hasPackage2, layer23, node61, exports_model_resolver };
330
+ export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service75, withVariant2, fromCatalogModel2, resolveModel3, hasPackage2, layer27, node79, exports_model_resolver };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  migrations2
3
- } from "./model-retry-v0yxjjsz.js";
3
+ } from "./form-f6ydp9jt.js";
4
4
  import {
5
5
  schema_gen_default
6
- } from "./model-retry-pkyv6v7h.js";
6
+ } from "./form-pkyv6v7h.js";
7
7
  import {
8
8
  __export
9
- } from "./model-retry-9rqn6x4v.js";
9
+ } from "./form-9rqn6x4v.js";
10
10
 
11
11
  // src/database/migration.ts
12
12
  var exports_migration = {};
@@ -1,31 +1,31 @@
1
1
  import {
2
- Service68
3
- } from "./model-retry-5jzmzpz9.js";
2
+ Service63
3
+ } from "./form-w3ns5rkg.js";
4
4
  import {
5
- Service27
6
- } from "./model-retry-qfdd46e5.js";
5
+ Service34
6
+ } from "./form-pwcmqnv6.js";
7
7
  import {
8
8
  __export
9
- } from "./model-retry-9rqn6x4v.js";
9
+ } from "./form-9rqn6x4v.js";
10
10
 
11
11
  // src/config/plugin/mcp.ts
12
- var exports_mcp = {};
13
- __export(exports_mcp, {
14
- ConfigMcpPlugin: () => exports_mcp,
15
- Plugin: () => Plugin22,
12
+ var exports_mcp2 = {};
13
+ __export(exports_mcp2, {
14
+ ConfigMcpPlugin: () => exports_mcp2,
15
+ Plugin: () => Plugin48,
16
16
  register: () => register2
17
17
  });
18
18
  import { define } from "@opencode/plugin/effect/plugin";
19
19
  import { Effect, Stream } from "effect";
20
- var Plugin22 = define({
20
+ var Plugin48 = define({
21
21
  id: "opencode.config.mcp",
22
22
  effect: Effect.fn(function* (ctx) {
23
23
  yield* register2(ctx.event.subscribe());
24
24
  })
25
25
  });
26
26
  var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
27
- const config = yield* Service68;
28
- const mcp = yield* Service27;
27
+ const config = yield* Service63;
28
+ const mcp = yield* Service34;
29
29
  const loaded = { entries: [] };
30
30
  yield* events.pipe(Stream.filter((event) => event.type === "config.updated"), Stream.runForEach(() => config.entries().pipe(Effect.tap((entries) => Effect.sync(() => loaded.entries = entries)), Effect.andThen(mcp.reload()), Effect.catchCause((cause) => Effect.logError("failed to reload MCP config", { cause })))), Effect.ignore, Effect.forkScoped({ startImmediately: true }));
31
31
  loaded.entries = yield* config.entries();
@@ -46,4 +46,4 @@ var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
46
46
  });
47
47
  });
48
48
 
49
- export { Plugin22, register2, exports_mcp };
49
+ export { Plugin48, register2, exports_mcp2 };
@@ -1,16 +1,16 @@
1
1
  import {
2
- ID13
3
- } from "./model-retry-hks9h3jz.js";
2
+ ID12
3
+ } from "./form-dpcgzjbf.js";
4
4
  import {
5
5
  configuredSettings2
6
- } from "./model-retry-ynqg5bhp.js";
6
+ } from "./form-2fpg1r86.js";
7
7
 
8
8
  // src/plugin/provider/cloudflare-ai-gateway.ts
9
9
  import { Effect } from "effect";
10
10
  import { isArrayNonEmpty } from "effect/Array";
11
11
  import { define } from "@opencode/plugin/effect/plugin";
12
12
  import { Form } from "@opencode/schema/form";
13
- var providerID = ID13.make("cloudflare-ai-gateway");
13
+ var providerID = ID12.make("cloudflare-ai-gateway");
14
14
  var accountIdField = Form.StringField.make({
15
15
  type: "string",
16
16
  key: "accountId",
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  RelativePath2
3
- } from "./model-retry-z5v4ffb3.js";
3
+ } from "./form-z5v4ffb3.js";
4
4
  import {
5
- Service83,
6
- node87
7
- } from "./model-retry-mbvs8a24.js";
5
+ Service81,
6
+ node85
7
+ } from "./form-ecv950bf.js";
8
8
  import {
9
- Service44,
10
- node47
11
- } from "./model-retry-wyzx5psy.js";
9
+ Service57,
10
+ node60
11
+ } from "./form-rdmv0akp.js";
12
12
  import {
13
13
  isHome2,
14
14
  names3
15
- } from "./model-retry-76cb1hcw.js";
15
+ } from "./form-76cb1hcw.js";
16
16
  import {
17
17
  __export
18
- } from "./model-retry-9rqn6x4v.js";
18
+ } from "./form-9rqn6x4v.js";
19
19
 
20
20
  // src/filesystem/search.ts
21
21
  var exports_search = {};
22
22
  __export(exports_search, {
23
23
  FileSystemSearch: () => exports_search,
24
- Service: () => Service33,
25
- configured: () => configured4,
24
+ Service: () => Service56,
25
+ configured: () => configured5,
26
26
  fffLayer: () => fffLayer2,
27
- node: () => node36
27
+ node: () => node59
28
28
  });
29
29
  import { makeLocationNode } from "@opencode/util/effect/app-node";
30
30
  import path from "path";
@@ -32,7 +32,7 @@ import { Clock, Context, Deferred, Duration, Effect, Layer, Scope } from "effect
32
32
  import { Fff } from "#fff";
33
33
  import fuzzysort from "fuzzysort";
34
34
  import { FileSystem } from "@opencode/schema/filesystem";
35
- class Service33 extends Context.Service()("@opencode/FileSystem/Search") {
35
+ class Service56 extends Context.Service()("@opencode/FileSystem/Search") {
36
36
  }
37
37
  var REFRESH_INTERVAL = Duration.toMillis("10 seconds");
38
38
  function emptyIndex() {
@@ -51,9 +51,9 @@ function search(index, input) {
51
51
  });
52
52
  });
53
53
  }
54
- var ripgrepLayer = Layer.effect(Service33, Effect.gen(function* () {
55
- const location = yield* Service83;
56
- const ripgrep = yield* Service44;
54
+ var ripgrepLayer = Layer.effect(Service56, Effect.gen(function* () {
55
+ const location = yield* Service81;
56
+ const ripgrep = yield* Service57;
57
57
  const scope = yield* Scope.Scope;
58
58
  const clock = yield* Clock.Clock;
59
59
  const home = isHome2(location.directory);
@@ -98,15 +98,15 @@ var ripgrepLayer = Layer.effect(Service33, Effect.gen(function* () {
98
98
  Deferred.doneUnsafe(attempt, exit);
99
99
  })), Effect.forkIn(scope), Effect.flatMap(() => initialized ? Effect.void : Deferred.await(attempt)));
100
100
  });
101
- return Service33.of({
101
+ return Service56.of({
102
102
  find: (input) => Effect.gen(function* () {
103
103
  yield* refresh;
104
104
  return search(index, input);
105
105
  })
106
106
  });
107
107
  }));
108
- var fffLayer2 = Layer.effect(Service33, Effect.gen(function* () {
109
- const location = yield* Service83;
108
+ var fffLayer2 = Layer.effect(Service56, Effect.gen(function* () {
109
+ const location = yield* Service81;
110
110
  const result = yield* Effect.try({
111
111
  try: () => Fff.create({
112
112
  basePath: location.directory,
@@ -119,12 +119,12 @@ var fffLayer2 = Layer.effect(Service33, Effect.gen(function* () {
119
119
  if (!result?.ok) {
120
120
  if (result)
121
121
  yield* Effect.logWarning("failed to initialize fff", { error: result.error });
122
- return Service33.of({
122
+ return Service56.of({
123
123
  find: () => Effect.succeed([])
124
124
  });
125
125
  }
126
126
  yield* Effect.addFinalizer(() => Effect.sync(() => result.value.destroy()));
127
- return Service33.of({
127
+ return Service56.of({
128
128
  find: (input) => Effect.sync(() => {
129
129
  const options = { pageIndex: 0, pageSize: input.limit ?? 50 };
130
130
  const items = (() => {
@@ -168,16 +168,16 @@ var fffLayer2 = Layer.effect(Service33, Effect.gen(function* () {
168
168
  });
169
169
  }));
170
170
  var layer = (options) => Layer.unwrap(Effect.gen(function* () {
171
- const location = yield* Service83;
171
+ const location = yield* Service81;
172
172
  if (location.workspaceID)
173
173
  return ripgrepLayer;
174
174
  if (options?.fff === false || options?.fff === undefined && process.platform === "win32" || !Fff.available())
175
175
  return ripgrepLayer;
176
176
  return location.vcs && !isHome2(location.directory) ? fffLayer2 : ripgrepLayer;
177
177
  }));
178
- function configured4(options) {
179
- return makeLocationNode({ service: Service33, layer: layer(options), deps: [node87, node47] });
178
+ function configured5(options) {
179
+ return makeLocationNode({ service: Service56, layer: layer(options), deps: [node85, node60] });
180
180
  }
181
- var node36 = configured4();
181
+ var node59 = configured5();
182
182
 
183
- export { Service33, fffLayer2, configured4, node36, exports_search };
183
+ export { Service56, fffLayer2, configured5, node59, exports_search };
@@ -1,56 +1,56 @@
1
1
  import {
2
2
  Service86,
3
3
  node90
4
- } from "./model-retry-b5sxz6p8.js";
4
+ } from "./form-rhjvhekr.js";
5
5
  import {
6
- node73
7
- } from "./model-retry-7yp67vww.js";
6
+ node67
7
+ } from "./form-ptbh3pce.js";
8
8
  import {
9
- Service3,
10
- node4
11
- } from "./model-retry-kzhqem7y.js";
9
+ Service9,
10
+ node11
11
+ } from "./form-v69f37bj.js";
12
12
  import {
13
- Service14
14
- } from "./model-retry-61g7nd3s.js";
13
+ Service19
14
+ } from "./form-wdv0vama.js";
15
15
  import {
16
- Service30
17
- } from "./model-retry-2dkjcnxp.js";
16
+ Service27
17
+ } from "./form-d77dj7jw.js";
18
18
  import {
19
- node19,
20
- ID3
21
- } from "./model-retry-ayrf2aj2.js";
19
+ node22,
20
+ ID2
21
+ } from "./form-8nm5n31t.js";
22
22
  import {
23
- Service4,
24
- node5
25
- } from "./model-retry-tg1vr1qt.js";
23
+ Service2,
24
+ node3
25
+ } from "./form-kmzgegqq.js";
26
26
  import {
27
27
  requirements2,
28
28
  guarded2,
29
29
  list2
30
- } from "./model-retry-gnv5jhj2.js";
30
+ } from "./form-r7k9z7cv.js";
31
31
  import {
32
- make3,
32
+ make7,
33
33
  LoadError2
34
- } from "./model-retry-6nwz34t5.js";
34
+ } from "./form-jwwge8xs.js";
35
35
  import {
36
36
  Updated2,
37
- Service8,
38
- node9
39
- } from "./model-retry-da6nt20h.js";
37
+ Service3,
38
+ node4
39
+ } from "./form-g82sjckm.js";
40
40
  import {
41
- Service7,
42
- node8
43
- } from "./model-retry-z18nf20h.js";
41
+ Service4,
42
+ node5
43
+ } from "./form-vzmjdaw1.js";
44
44
  import {
45
45
  __export
46
- } from "./model-retry-9rqn6x4v.js";
46
+ } from "./form-9rqn6x4v.js";
47
47
 
48
48
  // src/plugin/supervisor.ts
49
49
  var exports_supervisor = {};
50
50
  __export(exports_supervisor, {
51
51
  PluginSupervisor: () => exports_supervisor,
52
52
  layer: () => layer3,
53
- node: () => node3
53
+ node: () => node2
54
54
  });
55
55
  import { Event } from "@opencode/schema/config";
56
56
  import { Cause, Effect, Layer, Queue, Stream } from "effect";
@@ -127,7 +127,7 @@ var resolve = Effect.fn("PluginSupervisor.resolve")(function* (modules, pre, pos
127
127
  failures: [
128
128
  ...failures.values(),
129
129
  ...ordered.filter(duplicate).map((plugin) => ({
130
- id: ID3.make(plugin.id),
130
+ id: ID2.make(plugin.id),
131
131
  source: plugin.source ?? { type: "builtin" },
132
132
  state: { status: "failed", error: `Duplicate plugin ID: ${plugin.id}` },
133
133
  features: { server: true, ...plugin.features }
@@ -137,14 +137,14 @@ var resolve = Effect.fn("PluginSupervisor.resolve")(function* (modules, pre, pos
137
137
  };
138
138
  });
139
139
  var layer3 = Layer.effectDiscard(Effect.gen(function* () {
140
- const managed = yield* Service14;
141
- const registry = yield* Service30;
142
- const sdk = yield* Service8;
143
- const instance = yield* Service4;
144
- const sources = yield* Service3;
145
- const modules = yield* make3();
140
+ const managed = yield* Service19;
141
+ const registry = yield* Service27;
142
+ const sdk = yield* Service3;
143
+ const instance = yield* Service2;
144
+ const sources = yield* Service9;
145
+ const modules = yield* make7();
146
146
  const bus = yield* Service86;
147
- const updates = yield* Service7;
147
+ const updates = yield* Service4;
148
148
  const internal = yield* list2();
149
149
  let release = yield* registry.hold();
150
150
  yield* Effect.addFinalizer(() => release ?? Effect.void);
@@ -220,14 +220,14 @@ var layer3 = Layer.effectDiscard(Effect.gen(function* () {
220
220
  })), Effect.forkScoped({ startImmediately: true }));
221
221
  }));
222
222
  var nodeDeps = [
223
- node19,
224
- node9,
225
- node5,
223
+ node22,
226
224
  node4,
227
- node8,
225
+ node3,
226
+ node11,
227
+ node5,
228
228
  node90,
229
229
  Npm.node,
230
- node73,
230
+ node67,
231
231
  requirements2
232
232
  ];
233
233
  function pluginSource(target) {
@@ -235,6 +235,6 @@ function pluginSource(target) {
235
235
  return { type: "local", path: target };
236
236
  return { type: "package", target };
237
237
  }
238
- var node3 = makeLocationNode({ name: "plugin-supervisor", layer: layer3, deps: nodeDeps });
238
+ var node2 = makeLocationNode({ name: "plugin-supervisor", layer: layer3, deps: nodeDeps });
239
239
 
240
- export { layer3, node3, exports_supervisor };
240
+ export { layer3, node2, exports_supervisor };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./model-retry-9rqn6x4v.js";
3
+ } from "./form-9rqn6x4v.js";
4
4
 
5
5
  // src/config/watch.ts
6
6
  var exports_watch = {};
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  __export
3
- } from "./model-retry-9rqn6x4v.js";
3
+ } from "./form-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/hooks.ts
6
6
  var exports_hooks = {};
7
7
  __export(exports_hooks, {
8
8
  PluginHooks: () => exports_hooks,
9
- Service: () => Service76,
10
- node: () => node80
9
+ Service: () => Service62,
10
+ node: () => node65
11
11
  });
12
12
  import { Context, Effect, Layer, Scope } from "effect";
13
13
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -20,9 +20,9 @@ var eventProviderID = (event) => {
20
20
  return typeof model.providerID === "string" ? model.providerID : undefined;
21
21
  };
22
22
 
23
- class Service76 extends Context.Service()("@opencode/PluginHooks") {
23
+ class Service62 extends Context.Service()("@opencode/PluginHooks") {
24
24
  }
25
- var layer = Layer.effect(Service76, Effect.gen(function* () {
25
+ var layer = Layer.effect(Service62, Effect.gen(function* () {
26
26
  const callbacks = new Map;
27
27
  const key = (domain, name) => `${domain}.${String(name)}`;
28
28
  const register = Effect.fn("PluginHooks.register")(function* (domain, name, callback, options) {
@@ -54,8 +54,8 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
54
54
  return event;
55
55
  });
56
56
  const has = (domain, name, providerID) => Effect.sync(() => (callbacks.get(key(domain, name)) ?? []).some((entry) => entry.options?.providerID === undefined || entry.options.providerID === providerID));
57
- return Service76.of({ has, register, trigger });
57
+ return Service62.of({ has, register, trigger });
58
58
  }));
59
- var node80 = makeLocationNode({ service: Service76, layer, deps: [] });
59
+ var node65 = makeLocationNode({ service: Service62, layer, deps: [] });
60
60
 
61
- export { Service76, node80, exports_hooks };
61
+ export { Service62, node65, exports_hooks };
@@ -1,15 +1,15 @@
1
1
  import {
2
- Service34
3
- } from "./model-retry-17tax46a.js";
2
+ Service39
3
+ } from "./form-6jh9wyah.js";
4
4
  import {
5
- Service53
6
- } from "./model-retry-456hh3yw.js";
5
+ Service47
6
+ } from "./form-h2xt6wet.js";
7
7
  import {
8
8
  awaitActivation2
9
- } from "./model-retry-2dkjcnxp.js";
9
+ } from "./form-d77dj7jw.js";
10
10
  import {
11
11
  __export
12
- } from "./model-retry-9rqn6x4v.js";
12
+ } from "./form-9rqn6x4v.js";
13
13
 
14
14
  // src/session/command.ts
15
15
  var exports_command3 = {};
@@ -19,8 +19,8 @@ __export(exports_command3, {
19
19
  });
20
20
  import { Effect } from "effect";
21
21
  var execute2 = Effect.fn("SessionCommand.execute")(function* (input) {
22
- const instances = yield* Service53;
23
- const commands = yield* awaitActivation2.pipe(Effect.andThen(Service34), instances.provide(input.session));
22
+ const instances = yield* Service47;
23
+ const commands = yield* awaitActivation2.pipe(Effect.andThen(Service39), instances.provide(input.session));
24
24
  yield* commands.execute({
25
25
  name: input.command,
26
26
  invocation: {
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  Timestamps2
3
- } from "./model-retry-qfa1cgps.js";
3
+ } from "./form-qfa1cgps.js";
4
4
  import {
5
5
  ProjectTable2
6
- } from "./model-retry-aj7mw0zk.js";
6
+ } from "./form-aj7mw0zk.js";
7
7
 
8
8
  // src/permission/sql.ts
9
9
  import { sqliteTable, text, uniqueIndex } from "drizzle-orm/sqlite-core";