@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,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
6
  parse4,
7
7
  parseRemote2,
8
8
  validateBranch3,
9
9
  isRemote2,
10
10
  cachePath2
11
- } from "./model-retry-bstexjd6.js";
11
+ } from "./form-bstexjd6.js";
12
12
  import {
13
13
  AbsolutePath2
14
- } from "./model-retry-z5v4ffb3.js";
14
+ } from "./form-z5v4ffb3.js";
15
15
  import {
16
- Service40,
17
- node43
18
- } from "./model-retry-nm0eb3mq.js";
16
+ Service68,
17
+ node72
18
+ } from "./form-tb6jrghd.js";
19
19
  import {
20
20
  create3
21
- } from "./model-retry-vd3b3yk9.js";
21
+ } from "./form-vd3b3yk9.js";
22
22
  import {
23
23
  __export
24
- } from "./model-retry-9rqn6x4v.js";
24
+ } from "./form-9rqn6x4v.js";
25
25
 
26
26
  // src/reference.ts
27
27
  var exports_reference2 = {};
28
28
  __export(exports_reference2, {
29
- Event: () => Event9,
29
+ Event: () => Event4,
30
30
  GitSource: () => GitSource2,
31
- Info: () => Info7,
31
+ Info: () => Info6,
32
32
  LocalSource: () => LocalSource2,
33
33
  Reference: () => exports_reference2,
34
- Service: () => Service39,
34
+ Service: () => Service38,
35
35
  Source: () => Source3,
36
- node: () => node42
36
+ node: () => node41
37
37
  });
38
38
  import { makeLocationNode } from "@opencode/util/effect/app-node";
39
39
  import { Context, Effect, Layer, Scope } from "effect";
40
40
  import { Reference } from "@opencode/schema/reference";
41
41
  import { Global } from "@opencode/util/global";
42
- import { Event as Event9 } from "@opencode/schema/reference";
42
+ import { Event as Event4 } from "@opencode/schema/reference";
43
43
  var LocalSource2 = Reference.LocalSource;
44
44
  var GitSource2 = Reference.GitSource;
45
45
  var Source3 = Reference.Source;
46
- var Info7 = Reference.Info;
46
+ var Info6 = Reference.Info;
47
47
 
48
- class Service39 extends Context.Service()("@opencode/Reference") {
48
+ class Service38 extends Context.Service()("@opencode/Reference") {
49
49
  }
50
- var layer = Layer.effect(Service39, Effect.gen(function* () {
50
+ var layer = Layer.effect(Service38, Effect.gen(function* () {
51
51
  const global = yield* Global.Service;
52
52
  const bus = yield* Service86;
53
- const cache = yield* Service40;
53
+ const cache = yield* Service68;
54
54
  const scope = yield* Scope.Scope;
55
55
  const list = () => Array.from(state.get().sources).flatMap(([name, source]) => {
56
56
  const info = {
@@ -60,7 +60,7 @@ var layer = Layer.effect(Service39, Effect.gen(function* () {
60
60
  ...source.hidden === undefined ? {} : { hidden: source.hidden }
61
61
  };
62
62
  if (source.type === "local")
63
- return [Info7.make({ ...info, path: source.path })];
63
+ return [Info6.make({ ...info, path: source.path })];
64
64
  const repository = parse4(source.repository);
65
65
  if (!repository || !isRemote2(repository))
66
66
  return [];
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service39, Effect.gen(function* () {
72
72
  }
73
73
  }
74
74
  return [
75
- Info7.make({
75
+ Info6.make({
76
76
  ...info,
77
77
  path: AbsolutePath2.make(cachePath2(global.repos, repository, source.branch))
78
78
  })
@@ -104,7 +104,7 @@ var layer = Layer.effect(Service39, Effect.gen(function* () {
104
104
  })
105
105
  });
106
106
  yield* Effect.sleep("1 hour").pipe(Effect.andThen(refresh()), Effect.forever, Effect.forkScoped);
107
- return Service39.of({
107
+ return Service38.of({
108
108
  transform: state.transform,
109
109
  reload: state.reload,
110
110
  list: Effect.fn("Reference.list")(function* () {
@@ -112,10 +112,10 @@ var layer = Layer.effect(Service39, Effect.gen(function* () {
112
112
  })
113
113
  });
114
114
  }));
115
- var node42 = makeLocationNode({
116
- service: Service39,
115
+ var node41 = makeLocationNode({
116
+ service: Service38,
117
117
  layer,
118
- deps: [Global.node, node90, node43]
118
+ deps: [Global.node, node90, node72]
119
119
  });
120
120
 
121
- export { LocalSource2, GitSource2, Source3, Info7, Service39, node42, exports_reference2, Event9 };
121
+ export { LocalSource2, GitSource2, Source3, Info6, Service38, node41, exports_reference2, Event4 };
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./model-retry-qjgzc4b4.js";
3
+ } from "./form-qjgzc4b4.js";
4
4
  import {
5
5
  __export
6
- } from "./model-retry-9rqn6x4v.js";
6
+ } from "./form-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/update.ts
9
9
  var exports_update = {};
10
10
  __export(exports_update, {
11
11
  PluginUpdate: () => exports_update,
12
- Service: () => Service7,
13
- node: () => node8
12
+ Service: () => Service4,
13
+ node: () => node5
14
14
  });
15
15
  import { Clock, Context, Effect, Exit, Layer, Option, PubSub, Stream } from "effect";
16
16
  import { Npm } from "@opencode/util/npm";
17
17
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
18
18
  var interval = 24 * 60 * 60 * 1000;
19
19
 
20
- class Service7 extends Context.Service()("@opencode/PluginUpdate") {
20
+ class Service4 extends Context.Service()("@opencode/PluginUpdate") {
21
21
  }
22
- var layer = Layer.effect(Service7, Effect.gen(function* () {
22
+ var layer = Layer.effect(Service4, Effect.gen(function* () {
23
23
  const npm = yield* Npm.Service;
24
24
  const locks = makeUnsafe2();
25
25
  const status = new Map;
26
26
  const changes = yield* PubSub.unbounded();
27
- return Service7.of({
27
+ return Service4.of({
28
28
  check: (target, options) => locks.withLock(target)(Effect.gen(function* () {
29
29
  const checkedAt = yield* Clock.currentTimeMillis;
30
30
  const current = status.get(target);
@@ -49,6 +49,6 @@ var layer = Layer.effect(Service7, Effect.gen(function* () {
49
49
  changes: () => Stream.fromPubSub(changes)
50
50
  });
51
51
  }));
52
- var node8 = makeGlobalNode({ service: Service7, layer, deps: [Npm.node] });
52
+ var node5 = makeGlobalNode({ service: Service4, layer, deps: [Npm.node] });
53
53
 
54
- export { Service7, node8, exports_update };
54
+ export { Service4, node5, exports_update };
@@ -1,57 +1,57 @@
1
1
  import {
2
2
  Service86,
3
3
  node90
4
- } from "./model-retry-b5sxz6p8.js";
4
+ } from "./form-rhjvhekr.js";
5
5
  import {
6
- Event18,
6
+ Event17,
7
7
  Service80,
8
8
  node84
9
- } from "./model-retry-cxy24jbt.js";
9
+ } from "./form-x83ywg7g.js";
10
10
  import {
11
- Service69,
12
- node73
13
- } from "./model-retry-7yp67vww.js";
11
+ Service64,
12
+ node67
13
+ } from "./form-ptbh3pce.js";
14
14
  import {
15
15
  AbsolutePath2
16
- } from "./model-retry-z5v4ffb3.js";
16
+ } from "./form-z5v4ffb3.js";
17
17
  import {
18
- Service83,
19
- node87
20
- } from "./model-retry-mbvs8a24.js";
18
+ Service81,
19
+ node85
20
+ } from "./form-ecv950bf.js";
21
21
  import {
22
22
  substitute2
23
- } from "./model-retry-7w2ypzdf.js";
23
+ } from "./form-7w2ypzdf.js";
24
24
  import {
25
25
  normalize2
26
- } from "./model-retry-fwhyb0gq.js";
26
+ } from "./form-2zw8q38q.js";
27
27
  import {
28
28
  names4,
29
29
  stripPreferenceMetadata2,
30
30
  discover3
31
- } from "./model-retry-z7ttk5hb.js";
31
+ } from "./form-0mmhxb94.js";
32
32
  import {
33
33
  plan2
34
- } from "./model-retry-1x2knyw4.js";
34
+ } from "./form-1x2knyw4.js";
35
35
  import {
36
- Service70,
37
- Event12,
38
- node74
39
- } from "./model-retry-5z33grs6.js";
36
+ Service73,
37
+ Event13,
38
+ node77
39
+ } from "./form-rnhyqk91.js";
40
40
  import {
41
41
  __export
42
- } from "./model-retry-9rqn6x4v.js";
42
+ } from "./form-9rqn6x4v.js";
43
43
 
44
44
  // src/config.ts
45
45
  var exports_config = {};
46
46
  __export(exports_config, {
47
47
  Config: () => exports_config,
48
- Options: () => Options7,
49
- Service: () => Service68,
48
+ Options: () => Options5,
49
+ Service: () => Service63,
50
50
  Test: () => Test2,
51
- configured: () => configured10,
51
+ configured: () => configured7,
52
52
  latest: () => latest2,
53
- layer: () => layer26,
54
- node: () => node72,
53
+ layer: () => layer23,
54
+ node: () => node66,
55
55
  testLayer: () => testLayer2
56
56
  });
57
57
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -67,7 +67,7 @@ import { ChildProcess } from "effect/process";
67
67
  function latest2(entries, key) {
68
68
  return entries.findLast((entry) => entry.type === "document" && entry.info[key] !== undefined)?.info[key];
69
69
  }
70
- var Options7 = Schema.Struct({
70
+ var Options5 = Schema.Struct({
71
71
  project: Schema.optional(Schema.Boolean),
72
72
  global: Schema.optional(Schema.Boolean),
73
73
  system: Schema.optional(Schema.Union([Schema.Boolean, Schema.String])),
@@ -76,7 +76,7 @@ var Options7 = Schema.Struct({
76
76
  content: Schema.optional(Schema.String)
77
77
  });
78
78
 
79
- class Service68 extends Context.Service()("@opencode/Config") {
79
+ class Service63 extends Context.Service()("@opencode/Config") {
80
80
  }
81
81
 
82
82
  class Test2 extends Context.Service()("@opencode/Config/Test") {
@@ -94,16 +94,16 @@ var testLayer2 = (initial = [], compatibility = {
94
94
  setEntries: (next) => Ref.set(entries, next),
95
95
  emitChange: (update) => PubSub.publish(updates, update).pipe(Effect.asVoid)
96
96
  });
97
- return Context.empty().pipe(Context.add(Service68, service), Context.add(Test2, service));
97
+ return Context.empty().pipe(Context.add(Service63, service), Context.add(Test2, service));
98
98
  }));
99
- var layer26 = (options) => Layer.effect(Service68, Effect.gen(function* () {
99
+ var layer23 = (options) => Layer.effect(Service63, Effect.gen(function* () {
100
100
  const fs = yield* FSUtil.Service;
101
- const location = yield* Service83;
102
- const watcher = yield* Service69;
101
+ const location = yield* Service81;
102
+ const watcher = yield* Service64;
103
103
  const bus = yield* Service86;
104
104
  const credentials = yield* Service80;
105
105
  const globalService = yield* Global.Service;
106
- const wellknown = yield* Service70;
106
+ const wellknown = yield* Service73;
107
107
  const processes = yield* AppProcess.Service;
108
108
  const reloadLock = Semaphore.makeUnsafe(1);
109
109
  const updateLock = Semaphore.makeUnsafe(1);
@@ -254,8 +254,8 @@ var layer26 = (options) => Layer.effect(Service68, Effect.gen(function* () {
254
254
  }, (effect) => reloadLock.withPermit(effect));
255
255
  const pendingReloads = yield* PubSub.subscribe(reloads);
256
256
  yield* Stream.fromSubscription(pendingReloads).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload config", { cause })))), Effect.forkScoped({ startImmediately: true }));
257
- yield* bus.subscribe(Event18.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
258
- yield* bus.subscribe(Event12.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
257
+ yield* bus.subscribe(Event17.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
258
+ yield* bus.subscribe(Event13.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
259
259
  yield* Effect.sleep("10 minutes").pipe(Effect.andThen(Effect.suspend(() => {
260
260
  if (!wellknown.snapshot().length)
261
261
  return Effect.void;
@@ -283,7 +283,7 @@ var layer26 = (options) => Layer.effect(Service68, Effect.gen(function* () {
283
283
  `);
284
284
  yield* requestReload;
285
285
  }, (effect) => updateLock.withPermit(effect));
286
- return Service68.of({
286
+ return Service63.of({
287
287
  entries: Effect.fnUntraced(function* () {
288
288
  return configs;
289
289
  }),
@@ -295,22 +295,22 @@ var layer26 = (options) => Layer.effect(Service68, Effect.gen(function* () {
295
295
  update
296
296
  });
297
297
  }));
298
- function configured10(options) {
298
+ function configured7(options) {
299
299
  return makeLocationNode({
300
- service: Service68,
301
- layer: layer26(options),
300
+ service: Service63,
301
+ layer: layer23(options),
302
302
  deps: [
303
- node73,
303
+ node67,
304
304
  node90,
305
305
  FSUtil.node,
306
306
  Global.node,
307
- node87,
307
+ node85,
308
308
  node84,
309
- node74,
309
+ node77,
310
310
  AppProcess.node
311
311
  ]
312
312
  });
313
313
  }
314
- var node72 = configured10();
314
+ var node66 = configured7();
315
315
 
316
- export { latest2, Options7, Service68, Test2, testLayer2, layer26, configured10, node72, exports_config };
316
+ export { latest2, Options5, Service63, Test2, testLayer2, layer23, configured7, node66, exports_config };
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  getTableColumnsRuntime2,
3
3
  orderSelectedFields2
4
- } from "./model-retry-emrn6kk6.js";
4
+ } from "./form-emrn6kk6.js";
5
5
 
6
6
  // src/database/drizzle/sqlite-core/effect/delete.ts
7
7
  import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
@@ -1,26 +1,26 @@
1
1
  import {
2
2
  llmClient2
3
- } from "./model-retry-p015t6z3.js";
3
+ } from "./form-p015t6z3.js";
4
4
  import {
5
- Service57,
6
- node61
7
- } from "./model-retry-twpa8r42.js";
5
+ Service75,
6
+ node79
7
+ } from "./form-0s6xfy83.js";
8
8
  import {
9
9
  retry2
10
- } from "./model-retry-n0p0277s.js";
10
+ } from "./form-n0p0277s.js";
11
11
  import {
12
12
  __export
13
- } from "./model-retry-9rqn6x4v.js";
13
+ } from "./form-9rqn6x4v.js";
14
14
 
15
15
  // src/generate.ts
16
- var exports_generate2 = {};
17
- __export(exports_generate2, {
18
- Generate: () => exports_generate2,
16
+ var exports_generate = {};
17
+ __export(exports_generate, {
18
+ Generate: () => exports_generate,
19
19
  ModelSelectionError: () => ModelSelectionError2,
20
- Service: () => Service56,
20
+ Service: () => Service20,
21
21
  UnavailableError: () => UnavailableError3,
22
- layer: () => layer22,
23
- node: () => node60
22
+ layer: () => layer12,
23
+ node: () => node23
24
24
  });
25
25
  import { LLM, LLMClient } from "@opencode/ai";
26
26
  import { SessionID } from "@opencode/schema/session-id";
@@ -37,11 +37,11 @@ class UnavailableError3 extends Schema.TaggedError()("Generate.UnavailableError"
37
37
  }) {
38
38
  }
39
39
 
40
- class Service56 extends Context.Service()("@opencode/Generate") {
40
+ class Service20 extends Context.Service()("@opencode/Generate") {
41
41
  }
42
- var layer22 = Layer.effect(Service56, Effect.gen(function* () {
42
+ var layer12 = Layer.effect(Service20, Effect.gen(function* () {
43
43
  const llm = yield* LLMClient.Service;
44
- const resolver = yield* Service57;
44
+ const resolver = yield* Service75;
45
45
  const runText = Effect.fn("Generate.text")(function* (input) {
46
46
  const resolved = yield* resolver.resolve(input.model).pipe(Effect.catchTag([
47
47
  "SessionRunnerModel.VariantUnavailableError",
@@ -71,12 +71,12 @@ var layer22 = Layer.effect(Service56, Effect.gen(function* () {
71
71
  const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError3({
72
72
  message: "Generation credentials are unavailable"
73
73
  })));
74
- return Service56.of({ text });
74
+ return Service20.of({ text });
75
75
  }));
76
- var node60 = makeLocationNode({
77
- service: Service56,
78
- layer: layer22,
79
- deps: [node61, llmClient2]
76
+ var node23 = makeLocationNode({
77
+ service: Service20,
78
+ layer: layer12,
79
+ deps: [node79, llmClient2]
80
80
  });
81
81
 
82
- export { ModelSelectionError2, UnavailableError3, Service56, layer22, node60, exports_generate2 };
82
+ export { ModelSelectionError2, UnavailableError3, Service20, layer12, node23, exports_generate };
@@ -1,65 +1,65 @@
1
1
  import {
2
2
  Service86,
3
3
  node90
4
- } from "./model-retry-b5sxz6p8.js";
4
+ } from "./form-rhjvhekr.js";
5
5
  import {
6
6
  lazy2
7
- } from "./model-retry-88xbtdfr.js";
7
+ } from "./form-88xbtdfr.js";
8
8
  import {
9
- Service83,
10
- node87
11
- } from "./model-retry-mbvs8a24.js";
9
+ Service81,
10
+ node85
11
+ } from "./form-ecv950bf.js";
12
12
  import {
13
- Service65,
13
+ Service67,
14
14
  login2,
15
- node69
16
- } from "./model-retry-j2pd7159.js";
15
+ node71
16
+ } from "./form-fv302xas.js";
17
17
  import {
18
18
  __export
19
- } from "./model-retry-9rqn6x4v.js";
19
+ } from "./form-9rqn6x4v.js";
20
20
 
21
21
  // src/pty.ts
22
22
  var exports_pty = {};
23
23
  __export(exports_pty, {
24
- CreateInput: () => CreateInput2,
25
- Event: () => Event2,
24
+ CreateInput: () => CreateInput3,
25
+ Event: () => Event9,
26
26
  ExitedError: () => ExitedError2,
27
- ID: () => ID2,
28
- Info: () => Info3,
29
- NotFoundError: () => NotFoundError2,
27
+ ID: () => ID6,
28
+ Info: () => Info12,
29
+ NotFoundError: () => NotFoundError7,
30
30
  Pty: () => exports_pty,
31
- Service: () => Service13,
31
+ Service: () => Service53,
32
32
  UpdateInput: () => UpdateInput2,
33
- node: () => node15
33
+ node: () => node56
34
34
  });
35
35
  import { makeLocationNode } from "@opencode/util/effect/app-node";
36
36
  import { Context, Effect, Layer, Schema } from "effect";
37
37
  import { Pty } from "@opencode/schema/pty";
38
- import { Event as Event2 } from "@opencode/schema/pty";
38
+ import { Event as Event9 } from "@opencode/schema/pty";
39
39
  var BUFFER_LIMIT = 1024 * 1024 * 2;
40
40
  var EXITED_LIMIT = 25;
41
41
  var pty = lazy2(() => import("#pty"));
42
- var ID2 = Pty.ID;
43
- var Info3 = Pty.Info;
44
- var CreateInput2 = Pty.CreateInput;
42
+ var ID6 = Pty.ID;
43
+ var Info12 = Pty.Info;
44
+ var CreateInput3 = Pty.CreateInput;
45
45
  var UpdateInput2 = Pty.UpdateInput;
46
46
 
47
- class NotFoundError2 extends Schema.TaggedError()("Pty.NotFoundError", {
48
- ptyID: ID2
47
+ class NotFoundError7 extends Schema.TaggedError()("Pty.NotFoundError", {
48
+ ptyID: ID6
49
49
  }) {
50
50
  }
51
51
 
52
52
  class ExitedError2 extends Schema.TaggedError()("Pty.ExitedError", {
53
- ptyID: ID2
53
+ ptyID: ID6
54
54
  }) {
55
55
  }
56
56
 
57
- class Service13 extends Context.Service()("@opencode/Pty") {
57
+ class Service53 extends Context.Service()("@opencode/Pty") {
58
58
  }
59
- var layer = Layer.effect(Service13, Effect.gen(function* () {
59
+ var layer = Layer.effect(Service53, Effect.gen(function* () {
60
60
  const bus = yield* Service86;
61
- const location = yield* Service83;
62
- const shell = yield* Service65;
61
+ const location = yield* Service81;
62
+ const shell = yield* Service67;
63
63
  const context = yield* Effect.context();
64
64
  const runFork = Effect.runForkWith(context);
65
65
  const sessions = new Map;
@@ -96,7 +96,7 @@ var layer = Layer.effect(Service13, Effect.gen(function* () {
96
96
  const requireSession = Effect.fn("Pty.requireSession")(function* (id) {
97
97
  const session = sessions.get(id);
98
98
  if (!session)
99
- return yield* new NotFoundError2({ ptyID: id });
99
+ return yield* new NotFoundError7({ ptyID: id });
100
100
  return session;
101
101
  });
102
102
  const removeSession = Effect.fnUntraced(function* (id) {
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service13, Effect.gen(function* () {
122
122
  return (yield* requireSession(id)).info;
123
123
  });
124
124
  const create = Effect.fn("Pty.create")(function* (input) {
125
- const id = ID2.ascending();
125
+ const id = ID6.ascending();
126
126
  const command = input.command || (yield* shell.resolve({ priority: "config" }));
127
127
  const args = login2(command) ? [...input.args ?? [], "-l"] : [...input.args ?? []];
128
128
  const cwd = input.cwd || location.directory;
@@ -267,12 +267,12 @@ var layer = Layer.effect(Service13, Effect.gen(function* () {
267
267
  }
268
268
  };
269
269
  });
270
- return Service13.of({ list, get, create, update, remove, write, attach });
270
+ return Service53.of({ list, get, create, update, remove, write, attach });
271
271
  }));
272
- var node15 = makeLocationNode({
273
- service: Service13,
272
+ var node56 = makeLocationNode({
273
+ service: Service53,
274
274
  layer,
275
- deps: [node90, node87, node69]
275
+ deps: [node90, node85, node71]
276
276
  });
277
277
 
278
- export { ID2, Info3, CreateInput2, UpdateInput2, NotFoundError2, ExitedError2, Service13, node15, exports_pty, Event2 };
278
+ export { ID6, Info12, CreateInput3, UpdateInput2, NotFoundError7, ExitedError2, Service53, node56, exports_pty, Event9 };
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./model-retry-z5v4ffb3.js";
3
+ } from "./form-z5v4ffb3.js";
4
4
  import {
5
5
  Entries2,
6
- Info14
7
- } from "./model-retry-1y0wdj51.js";
6
+ Info16
7
+ } from "./form-mmx1mfjr.js";
8
8
  import {
9
9
  __export
10
- } from "./model-retry-9rqn6x4v.js";
10
+ } from "./form-9rqn6x4v.js";
11
11
 
12
12
  // src/v1/config/agent.ts
13
13
  var exports_agent3 = {};
14
14
  __export(exports_agent3, {
15
15
  ConfigAgentV1: () => exports_agent3,
16
- Info: () => Info13
16
+ Info: () => Info15
17
17
  });
18
18
  import { Schema, SchemaGetter } from "effect";
19
19
  var Color = Schema.Union([
@@ -45,7 +45,7 @@ var AgentSchema = Schema.StructWithRest(Schema.Struct({
45
45
  description: "Maximum number of agentic iterations before forcing text-only response"
46
46
  }),
47
47
  maxSteps: Schema.optional(PositiveInt2).annotate({ description: "@deprecated Use 'steps' field instead." }),
48
- permission: Schema.optional(Info14)
48
+ permission: Schema.optional(Info16)
49
49
  }), [Schema.Record(Schema.String, Schema.Any)]);
50
50
  var KNOWN_KEYS = new Set(["name", ...Object.keys(AgentSchema.schema.fields)]);
51
51
  var normalize = (agent) => {
@@ -64,9 +64,9 @@ var normalize = (agent) => {
64
64
  const steps = agent.steps ?? agent.maxSteps;
65
65
  return { ...agent, options, permission: [...permission], ...steps !== undefined ? { steps } : {} };
66
66
  };
67
- var Info13 = AgentSchema.pipe(Schema.decodeTo(Schema.toType(AgentSchema), {
67
+ var Info15 = AgentSchema.pipe(Schema.decodeTo(Schema.toType(AgentSchema), {
68
68
  decode: SchemaGetter.transform(normalize),
69
69
  encode: SchemaGetter.passthrough({ strict: false })
70
70
  })).annotate({ identifier: "AgentConfig" });
71
71
 
72
- export { Info13, exports_agent3 };
72
+ export { Info15, exports_agent3 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./model-retry-z5v4ffb3.js";
3
+ } from "./form-z5v4ffb3.js";
4
4
 
5
5
  // src/database/path.ts
6
6
  import nodePath from "path";
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  resolveModel2
3
- } from "./model-retry-36qx82yz.js";
3
+ } from "./form-36qx82yz.js";
4
4
  import {
5
5
  __export
6
- } from "./model-retry-9rqn6x4v.js";
6
+ } from "./form-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/identity.ts
9
9
  var exports_identity = {};
10
10
  __export(exports_identity, {
11
11
  IdentityPlugin: () => exports_identity,
12
- Plugin: () => Plugin48,
12
+ Plugin: () => Plugin28,
13
13
  identity: () => identity2
14
14
  });
15
15
  import { SystemPart } from "@opencode/ai";
@@ -24,7 +24,7 @@ function identity2(model) {
24
24
  ].join(`
25
25
  `);
26
26
  }
27
- var Plugin48 = define({
27
+ var Plugin28 = define({
28
28
  id: "opencode.prompt.identity",
29
29
  effect: Effect.fn("IdentityPlugin")(function* (ctx) {
30
30
  const hook = (event) => Effect.gen(function* () {
@@ -37,4 +37,4 @@ var Plugin48 = define({
37
37
  })
38
38
  });
39
39
 
40
- export { identity2, Plugin48, exports_identity };
40
+ export { identity2, Plugin28, exports_identity };
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  getViewSelectedFieldsRuntime2,
3
3
  orderSelectedFields2
4
- } from "./model-retry-emrn6kk6.js";
4
+ } from "./form-emrn6kk6.js";
5
5
 
6
6
  // src/database/drizzle/sqlite-core/effect/select.ts
7
7
  import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";