@opencode/core 0.0.0-dev-20665 → 0.0.0-dev-20670

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 (778) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +83 -83
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +73 -73
  7. package/dist/chunks/{model-18cdd48g.js → variant-04ah9brh.js} +4 -4
  8. package/dist/chunks/{model-snsqt8dj.js → variant-09a75c85.js} +35 -35
  9. package/dist/chunks/{model-0paq2nw3.js → variant-0paq2nw3.js} +1 -1
  10. package/dist/chunks/{model-3j9bgvtg.js → variant-0ryd0fps.js} +5 -5
  11. package/dist/chunks/{model-0vbcp93d.js → variant-0vbcp93d.js} +2 -2
  12. package/dist/chunks/{model-s5yxayxs.js → variant-11zweyk1.js} +16 -16
  13. package/dist/chunks/{model-c0kz0pvs.js → variant-12r2p6ep.js} +23 -23
  14. package/dist/chunks/{model-vn9zk7na.js → variant-13phwz10.js} +4 -4
  15. package/dist/chunks/{model-gaffbzjy.js → variant-14mf7nj2.js} +8 -8
  16. package/dist/chunks/{model-4r9w7v50.js → variant-1aaptxkf.js} +19 -19
  17. package/dist/chunks/{model-75e9eb11.js → variant-1bg0pxyr.js} +4 -4
  18. package/dist/chunks/{model-1dazxqgg.js → variant-1dazxqgg.js} +2 -2
  19. package/dist/chunks/{model-1dvck2a7.js → variant-1dvck2a7.js} +2 -2
  20. package/dist/chunks/{model-m15b84sy.js → variant-1fbkv74j.js} +9 -9
  21. package/dist/chunks/{model-6ymz3gfr.js → variant-1ypt9myv.js} +28 -28
  22. package/dist/chunks/{model-9rven2v7.js → variant-22myzpse.js} +22 -22
  23. package/dist/chunks/{model-7zd39w7j.js → variant-24zt9st4.js} +3 -3
  24. package/dist/chunks/{model-ygs9mme0.js → variant-273qqx2t.js} +5 -5
  25. package/dist/chunks/{model-qy0tcep6.js → variant-27k4znhv.js} +26 -26
  26. package/dist/chunks/{model-2a5m3afh.js → variant-2a5m3afh.js} +1 -1
  27. package/dist/chunks/{model-sy1vayej.js → variant-2c6y2vpm.js} +29 -29
  28. package/dist/chunks/variant-2jm8wccg.js +26 -0
  29. package/dist/chunks/{model-2k8khapm.js → variant-2k8khapm.js} +1 -1
  30. package/dist/chunks/{model-evzgxw2j.js → variant-2vjdd89t.js} +60 -60
  31. package/dist/chunks/{model-zd8we8qk.js → variant-2weejz9f.js} +5 -5
  32. package/dist/chunks/{model-7tzvmzbr.js → variant-2yxe94w7.js} +8 -8
  33. package/dist/chunks/{model-zcsfwz39.js → variant-34bswkv4.js} +38 -38
  34. package/dist/chunks/{model-c0ke6nr1.js → variant-363vysxk.js} +5 -5
  35. package/dist/chunks/{model-6xzjqc7j.js → variant-36zr3dcy.js} +4 -4
  36. package/dist/chunks/{model-ke5wyhkr.js → variant-37rf5trb.js} +15 -15
  37. package/dist/chunks/{model-3fc6dm20.js → variant-3fc6dm20.js} +1 -1
  38. package/dist/chunks/{model-ys5rw1j9.js → variant-3ftpg69t.js} +18 -18
  39. package/dist/chunks/{model-a03m4akp.js → variant-3ha3xwk3.js} +25 -25
  40. package/dist/chunks/{model-3hepkmqq.js → variant-3hepkmqq.js} +1 -1
  41. package/dist/chunks/{model-2seqm7ta.js → variant-3jmpz8k1.js} +4 -4
  42. package/dist/chunks/{model-nkfqmrng.js → variant-3r1fp5nk.js} +5 -5
  43. package/dist/chunks/{model-3smtnn6g.js → variant-3smtnn6g.js} +1 -1
  44. package/dist/chunks/{model-3tvqynh2.js → variant-3tvqynh2.js} +1 -1
  45. package/dist/chunks/{model-3zsf4n22.js → variant-3zsf4n22.js} +1 -1
  46. package/dist/chunks/{model-xggz5yyf.js → variant-43a10n5x.js} +11 -11
  47. package/dist/chunks/{model-5wwecgr9.js → variant-43hb2m25.js} +3 -3
  48. package/dist/chunks/{model-yaycgkrs.js → variant-43myjda7.js} +13 -13
  49. package/dist/chunks/{model-g07h2xqa.js → variant-47rh35ks.js} +12 -12
  50. package/dist/chunks/{model-f5gy8qwh.js → variant-4arb9zza.js} +8 -8
  51. package/dist/chunks/{model-0swnknvj.js → variant-4ca69wfz.js} +26 -26
  52. package/dist/chunks/{model-v12bfv38.js → variant-4rgynks6.js} +8 -8
  53. package/dist/chunks/{model-2ccvkpx1.js → variant-4ts7tf6z.js} +2 -2
  54. package/dist/chunks/{model-h10mhkmh.js → variant-4wk8r1at.js} +20 -20
  55. package/dist/chunks/{model-tk14y25j.js → variant-4xpgt2w9.js} +5 -5
  56. package/dist/chunks/{model-54ma36ye.js → variant-54ma36ye.js} +1 -1
  57. package/dist/chunks/{model-1ygqh575.js → variant-56gdpj1q.js} +9 -9
  58. package/dist/chunks/{model-mr28wkyp.js → variant-5a9dmyae.js} +24 -24
  59. package/dist/chunks/{model-5daktx2q.js → variant-5daktx2q.js} +1 -1
  60. package/dist/chunks/{model-6pamc8qx.js → variant-5ejk7f0k.js} +13 -13
  61. package/dist/chunks/{model-42rpdw4e.js → variant-5evreb3e.js} +9 -9
  62. package/dist/chunks/{model-7yjncwxp.js → variant-5gxvh74d.js} +27 -27
  63. package/dist/chunks/{model-5m9w47nd.js → variant-5m9w47nd.js} +1 -1
  64. package/dist/chunks/{model-e3qxr5gk.js → variant-5qd3pb7m.js} +2 -2
  65. package/dist/chunks/{model-5t3nmthw.js → variant-5t3nmthw.js} +2 -2
  66. package/dist/chunks/variant-619r8v3y.js +18 -0
  67. package/dist/chunks/{model-jvt424gv.js → variant-68b4ewtf.js} +9 -9
  68. package/dist/chunks/{model-mzr0kwz3.js → variant-68hxq47m.js} +27 -27
  69. package/dist/chunks/{model-z331bskf.js → variant-6apymsef.js} +17 -17
  70. package/dist/chunks/{model-4r5bkf9y.js → variant-6hay09zr.js} +22 -22
  71. package/dist/chunks/{model-f1thfm8v.js → variant-6tqx1ph1.js} +9 -9
  72. package/dist/chunks/{model-ekbw19fm.js → variant-6x68kpm5.js} +14 -14
  73. package/dist/chunks/{model-6xb47vfp.js → variant-6xb47vfp.js} +1 -1
  74. package/dist/chunks/{model-71az546q.js → variant-71az546q.js} +2 -2
  75. package/dist/chunks/{model-5r5teqtw.js → variant-73y8v8y6.js} +1 -1
  76. package/dist/chunks/{model-9525rq9q.js → variant-76p9kcxt.js} +17 -17
  77. package/dist/chunks/{model-zg4hsa4e.js → variant-778zdafs.js} +2 -2
  78. package/dist/chunks/{model-7bmhse3q.js → variant-7bmhse3q.js} +1 -1
  79. package/dist/chunks/{model-xd4eajp3.js → variant-7gak28c2.js} +11 -11
  80. package/dist/chunks/{model-pdfafe8d.js → variant-7kyq03wq.js} +69 -69
  81. package/dist/chunks/{model-0hbnkapr.js → variant-7nkk035h.js} +146 -146
  82. package/dist/chunks/{model-znnhkqbd.js → variant-7qt3axmk.js} +11 -11
  83. package/dist/chunks/{model-g7yjevyk.js → variant-7zjc8zg2.js} +4 -4
  84. package/dist/chunks/{model-xp3fh2h7.js → variant-7zt5x37y.js} +4 -3
  85. package/dist/chunks/{model-84txncab.js → variant-84txncab.js} +1 -1
  86. package/dist/chunks/{model-0bwx6hyg.js → variant-85cf5a55.js} +7 -7
  87. package/dist/chunks/{model-he5rhnsk.js → variant-8d7mxkd3.js} +3 -3
  88. package/dist/chunks/{model-8d7r5vzw.js → variant-8d7r5vzw.js} +1 -1
  89. package/dist/chunks/{model-frxn4dna.js → variant-8m5xe4tx.js} +9 -9
  90. package/dist/chunks/{model-yped5gsp.js → variant-8pypt00x.js} +10 -10
  91. package/dist/chunks/{model-143qq2q9.js → variant-8whp40kv.js} +3 -3
  92. package/dist/chunks/{model-rsdgpk2t.js → variant-8xxgh2t9.js} +29 -29
  93. package/dist/chunks/{model-09bawd7d.js → variant-90nsq7vp.js} +13 -13
  94. package/dist/chunks/{model-d9sgy5v4.js → variant-96ctqc5x.js} +4 -4
  95. package/dist/chunks/{model-w8xr7nv8.js → variant-96te9d4b.js} +5 -5
  96. package/dist/chunks/{model-9e5bzkjp.js → variant-9e5bzkjp.js} +3 -3
  97. package/dist/chunks/{model-xzh9enxw.js → variant-9s3nv18s.js} +12 -12
  98. package/dist/chunks/{model-7kx3xyrk.js → variant-9vqn762s.js} +4 -4
  99. package/dist/chunks/{model-a7g6j6nx.js → variant-9w3q8q8k.js} +12 -12
  100. package/dist/chunks/{model-eq1pz5kg.js → variant-a1gpj94z.js} +3 -3
  101. package/dist/chunks/{model-t9rbaskh.js → variant-a1n2n4d8.js} +27 -27
  102. package/dist/chunks/{model-8f29pv30.js → variant-a5hrzf2z.js} +3 -3
  103. package/dist/chunks/{model-spdq57er.js → variant-a7zpr1c3.js} +13 -13
  104. package/dist/chunks/{model-aaet6srn.js → variant-aaet6srn.js} +2 -2
  105. package/dist/chunks/{model-jmh5z47c.js → variant-ajbd8md1.js} +25 -25
  106. package/dist/chunks/{model-rbdmdcgh.js → variant-anzb5n5e.js} +30 -30
  107. package/dist/chunks/{model-qt4mgnnm.js → variant-at1j3wg7.js} +9 -9
  108. package/dist/chunks/{model-ft3zxgd7.js → variant-av38vskm.js} +6 -6
  109. package/dist/chunks/{model-ktqfz204.js → variant-av9e2wha.js} +3 -3
  110. package/dist/chunks/{model-jedqxwja.js → variant-az8dgmmc.js} +11 -11
  111. package/dist/chunks/{model-b6gygkdw.js → variant-b6gygkdw.js} +2 -2
  112. package/dist/chunks/{model-dak0aer2.js → variant-baep62j8.js} +91 -91
  113. package/dist/chunks/{model-7v81x33d.js → variant-bdm4x938.js} +9 -9
  114. package/dist/chunks/{model-nx67q5mf.js → variant-bf1ejp41.js} +23 -23
  115. package/dist/chunks/{model-dzae2snb.js → variant-bf28q0c2.js} +13 -13
  116. package/dist/chunks/{model-wb7d44e4.js → variant-bvh7grhs.js} +1 -1
  117. package/dist/chunks/{model-k2ee98a4.js → variant-bw5kq8m8.js} +11 -11
  118. package/dist/chunks/{model-fdms3n6w.js → variant-bydnjh3t.js} +9 -9
  119. package/dist/chunks/{model-zjze8qjc.js → variant-bytkh039.js} +11 -11
  120. package/dist/chunks/{model-jdydv5w6.js → variant-c1enaq1p.js} +54 -54
  121. package/dist/chunks/{model-0pbe0zt0.js → variant-c7yhx3mn.js} +30 -30
  122. package/dist/chunks/{model-dhmh7aw6.js → variant-ckf8nxjz.js} +4 -4
  123. package/dist/chunks/{model-p37cw4rj.js → variant-cmwkp3r5.js} +8 -8
  124. package/dist/chunks/{model-ngzr1rke.js → variant-cz9840fe.js} +33 -33
  125. package/dist/chunks/{model-43wd9vsa.js → variant-d646jtrt.js} +14 -14
  126. package/dist/chunks/{model-mxvxcxwy.js → variant-db2wf4at.js} +4 -4
  127. package/dist/chunks/{model-w4axh9wz.js → variant-dg6dbwk8.js} +6 -6
  128. package/dist/chunks/{model-eb1ryh4n.js → variant-dgqg0y62.js} +22 -22
  129. package/dist/chunks/{model-79qaa2kf.js → variant-djszqvmq.js} +9 -9
  130. package/dist/chunks/{model-wypjq10p.js → variant-dkkxy9wz.js} +20 -20
  131. package/dist/chunks/{model-y71avatq.js → variant-dpkg50ah.js} +4 -4
  132. package/dist/chunks/{model-7nt8nw1z.js → variant-e4qpf6ew.js} +40 -40
  133. package/dist/chunks/{model-nbwfbw7q.js → variant-e4znzpr0.js} +29 -29
  134. package/dist/chunks/{model-ym21y5jk.js → variant-e842s4t9.js} +24 -24
  135. package/dist/chunks/{model-2n295dmf.js → variant-eeaf82dq.js} +8 -8
  136. package/dist/chunks/{model-ef5x83kb.js → variant-ef5x83kb.js} +1 -1
  137. package/dist/chunks/{model-c8bydgjz.js → variant-eqkxs06z.js} +6 -6
  138. package/dist/chunks/{model-etq0c3wd.js → variant-etq0c3wd.js} +1 -1
  139. package/dist/chunks/{model-3ptfharv.js → variant-f6es3tce.js} +19 -19
  140. package/dist/chunks/{model-565cggcq.js → variant-fa263v27.js} +79 -79
  141. package/dist/chunks/{model-x5w0v4qz.js → variant-fa9g1mnx.js} +15 -15
  142. package/dist/chunks/{model-xrn5m798.js → variant-fcncf75j.js} +26 -26
  143. package/dist/chunks/{model-f5r0fqm4.js → variant-fj13q4zb.js} +11 -11
  144. package/dist/chunks/{model-h30avht3.js → variant-fj7dxcp8.js} +25 -25
  145. package/dist/chunks/{model-8k7ec5p2.js → variant-fmp6ttz0.js} +11 -11
  146. package/dist/chunks/{model-y6yd3ew1.js → variant-fq7d5agy.js} +43 -43
  147. package/dist/chunks/{model-c27esgm9.js → variant-fqtvmpfq.js} +8 -8
  148. package/dist/chunks/{model-fxhje9fq.js → variant-fzf3d4e0.js} +32 -32
  149. package/dist/chunks/{model-a5rc1k9w.js → variant-g4yyayt9.js} +5 -5
  150. package/dist/chunks/{model-hshpsfrb.js → variant-g96ergdg.js} +31 -31
  151. package/dist/chunks/{model-gd4qta3r.js → variant-gd4qta3r.js} +1 -1
  152. package/dist/chunks/{model-1yft0xp6.js → variant-genng97f.js} +5 -5
  153. package/dist/chunks/{model-13db7e4e.js → variant-gfds2h31.js} +21 -21
  154. package/dist/chunks/{model-zwp0h3pa.js → variant-gkh8nh6z.js} +23 -23
  155. package/dist/chunks/{model-3rd28rcz.js → variant-gmmdfr2g.js} +7 -7
  156. package/dist/chunks/{model-2nxxz3xr.js → variant-gsnm7xcg.js} +19 -19
  157. package/dist/chunks/{model-m8s1k1qd.js → variant-gtz9hmz6.js} +26 -26
  158. package/dist/chunks/{model-1rn5pcm9.js → variant-gw7cjrad.js} +4 -4
  159. package/dist/chunks/{model-a7ehty0t.js → variant-gwyfdq8m.js} +25 -25
  160. package/dist/chunks/{model-bzv7w39z.js → variant-gxre2ca4.js} +40 -40
  161. package/dist/chunks/{model-h2b79v29.js → variant-h2b79v29.js} +2 -2
  162. package/dist/chunks/{model-h6vf3j39.js → variant-h6vf3j39.js} +1 -1
  163. package/dist/chunks/{model-m99sccj6.js → variant-hb96kx89.js} +13 -13
  164. package/dist/chunks/{model-9qb76avw.js → variant-hbepmwya.js} +20 -20
  165. package/dist/chunks/{model-nnegw8hy.js → variant-hcxj4rsa.js} +46 -46
  166. package/dist/chunks/{model-d03bk1nx.js → variant-hj5zw0v5.js} +20 -20
  167. package/dist/chunks/{model-wd59kgh2.js → variant-j0x50v7v.js} +13 -13
  168. package/dist/chunks/{model-yxt1vjsj.js → variant-j3hvrqpy.js} +4 -4
  169. package/dist/chunks/{model-j56e64zr.js → variant-j56e64zr.js} +1 -1
  170. package/dist/chunks/{model-zrs7pmt3.js → variant-jarn1zxe.js} +6 -6
  171. package/dist/chunks/{model-3st0ejts.js → variant-jhbzetc7.js} +175 -175
  172. package/dist/chunks/{model-f50cy0tv.js → variant-jhyh6f4e.js} +32 -32
  173. package/dist/chunks/{model-8sze2n9a.js → variant-jktqzjpa.js} +4 -4
  174. package/dist/chunks/{model-vhzyme33.js → variant-jyapyf9t.js} +14 -14
  175. package/dist/chunks/{model-en9mxp96.js → variant-k70p9jzb.js} +9 -9
  176. package/dist/chunks/{model-16dgqdxz.js → variant-k7xgtgde.js} +3 -3
  177. package/dist/chunks/{model-jeeje7kx.js → variant-kb1yqcjd.js} +22 -22
  178. package/dist/chunks/{model-5m62pdvr.js → variant-kg3zg8yk.js} +20 -20
  179. package/dist/chunks/{model-p5x6h0ea.js → variant-kwdfxrj7.js} +13 -13
  180. package/dist/chunks/{model-55rgt2sk.js → variant-kzht0r54.js} +11 -11
  181. package/dist/chunks/{model-rhvy48gn.js → variant-m2c06fa4.js} +10 -10
  182. package/dist/chunks/{model-m3fdjcah.js → variant-m3fdjcah.js} +1 -1
  183. package/dist/chunks/{model-m9w0rfyh.js → variant-m9w0rfyh.js} +1 -1
  184. package/dist/chunks/{model-6m42r3np.js → variant-magykp64.js} +19 -19
  185. package/dist/chunks/{model-bskc84e3.js → variant-mf5w15f6.js} +5 -5
  186. package/dist/chunks/{model-vtb6ekz6.js → variant-mge8kx0v.js} +26 -26
  187. package/dist/chunks/{model-6h5e082a.js → variant-mm69kq7h.js} +20 -20
  188. package/dist/chunks/{model-1rnd72fy.js → variant-mqj33d01.js} +12 -12
  189. package/dist/chunks/{model-04hfwksm.js → variant-mqkwkb58.js} +16 -16
  190. package/dist/chunks/{model-ksr0mctg.js → variant-mxtpa36p.js} +15 -15
  191. package/dist/chunks/{model-n8vdnqrc.js → variant-n8vdnqrc.js} +2 -2
  192. package/dist/chunks/{model-05tb8896.js → variant-ncv9kjc6.js} +9 -9
  193. package/dist/chunks/{model-r830apza.js → variant-npj3fp8d.js} +9 -9
  194. package/dist/chunks/{model-7ejrgaad.js → variant-p1dchzeh.js} +9 -9
  195. package/dist/chunks/{model-aenqjndq.js → variant-p23nk964.js} +16 -16
  196. package/dist/chunks/{model-9pa8tak9.js → variant-p5p5kne1.js} +2 -2
  197. package/dist/chunks/{model-yjtcy88h.js → variant-pddh4aqp.js} +27 -27
  198. package/dist/chunks/{model-g76p8ycs.js → variant-pje0b5e4.js} +21 -21
  199. package/dist/chunks/{model-pjvnvgmy.js → variant-pjvnvgmy.js} +1 -1
  200. package/dist/chunks/{model-pknna89w.js → variant-pknna89w.js} +1 -1
  201. package/dist/chunks/{model-2m8jawch.js → variant-pkqb68ka.js} +4 -4
  202. package/dist/chunks/{model-gr72qpsv.js → variant-psjjct8g.js} +14 -14
  203. package/dist/chunks/{model-q1ecnbsd.js → variant-pwkca9pk.js} +3 -3
  204. package/dist/chunks/{model-0j77ygfz.js → variant-q0xm7vwc.js} +6 -6
  205. package/dist/chunks/{model-qxcqbx7c.js → variant-q74y9j8r.js} +11 -11
  206. package/dist/chunks/{model-ksts8xsw.js → variant-qfyvnv8a.js} +35 -35
  207. package/dist/chunks/{model-qnc92qwc.js → variant-qnc92qwc.js} +1 -1
  208. package/dist/chunks/{model-qsdy395h.js → variant-qsdy395h.js} +1 -1
  209. package/dist/chunks/{model-xf847saf.js → variant-qvpfanze.js} +3 -3
  210. package/dist/chunks/{model-yj7xv6w3.js → variant-qxtmr2bd.js} +4 -4
  211. package/dist/chunks/{model-ndzm53tf.js → variant-qyzq8tdf.js} +7 -7
  212. package/dist/chunks/{model-mbfqztvv.js → variant-r42cqwsc.js} +46 -46
  213. package/dist/chunks/{model-rdw6cm16.js → variant-rdw6cm16.js} +1 -1
  214. package/dist/chunks/{model-143vczaq.js → variant-rgx9nb55.js} +7 -7
  215. package/dist/chunks/{model-z00597qp.js → variant-rh1z4y1h.js} +34 -34
  216. package/dist/chunks/{model-r8xr0va3.js → variant-rhraev7y.js} +4 -4
  217. package/dist/chunks/{model-fw2qxq8w.js → variant-s1nb2eev.js} +23 -23
  218. package/dist/chunks/{model-bvqebne3.js → variant-s37hkjzm.js} +11 -11
  219. package/dist/chunks/{model-eqx6m485.js → variant-s3rfr38d.js} +6 -6
  220. package/dist/chunks/{model-cqfygt2f.js → variant-saa5sm41.js} +5 -5
  221. package/dist/chunks/{model-1v75qvzv.js → variant-sehwt9te.js} +19 -19
  222. package/dist/chunks/{model-0hc1cq6w.js → variant-sjryg82s.js} +13 -13
  223. package/dist/chunks/{model-jzdyaq3q.js → variant-srk0zn0s.js} +41 -41
  224. package/dist/chunks/{model-vk57bjhv.js → variant-t10yzrjw.js} +26 -26
  225. package/dist/chunks/{model-v5qtavm6.js → variant-takqf31v.js} +35 -35
  226. package/dist/chunks/{model-tazgh4e4.js → variant-tazgh4e4.js} +1 -1
  227. package/dist/chunks/{model-86qzxe6p.js → variant-tbmac1c7.js} +4 -4
  228. package/dist/chunks/{model-t2rj41re.js → variant-tc2bp7te.js} +11 -11
  229. package/dist/chunks/{model-89znhe33.js → variant-tcezcvh9.js} +4 -4
  230. package/dist/chunks/{model-tdstcens.js → variant-tdstcens.js} +1 -1
  231. package/dist/chunks/{model-gwbzj4wh.js → variant-tfsj2qc7.js} +39 -39
  232. package/dist/chunks/{model-8dxznbhk.js → variant-tj9v0x4b.js} +11 -11
  233. package/dist/chunks/{model-1w58g905.js → variant-tpk0zy7s.js} +15 -15
  234. package/dist/chunks/{model-jfwamsgh.js → variant-v44y4b59.js} +18 -18
  235. package/dist/chunks/{model-fm2qvscf.js → variant-v5dkyp31.js} +4 -4
  236. package/dist/chunks/{model-7qe8e482.js → variant-vbhjmb5m.js} +8 -8
  237. package/dist/chunks/{model-veqvce7d.js → variant-veqvce7d.js} +1 -1
  238. package/dist/chunks/{model-vhvmb6ep.js → variant-vfvegtrt.js} +15 -15
  239. package/dist/chunks/{model-k8vxkqnq.js → variant-vhk0jjay.js} +4 -4
  240. package/dist/chunks/{model-3704aagw.js → variant-vms99gx2.js} +6 -6
  241. package/dist/chunks/{model-an20b3q3.js → variant-vnk7j1ms.js} +8 -8
  242. package/dist/chunks/{model-jwnzethd.js → variant-vrc7s6sw.js} +13 -13
  243. package/dist/chunks/{model-wp8v4mk0.js → variant-vv8y31wj.js} +12 -12
  244. package/dist/chunks/{model-vzs5sf6e.js → variant-vzs5sf6e.js} +1 -1
  245. package/dist/chunks/{model-f5hkpmh1.js → variant-w0033jfm.js} +13 -13
  246. package/dist/chunks/{model-xfkkasph.js → variant-w19d8598.js} +5 -5
  247. package/dist/chunks/{model-bdpzzc2x.js → variant-w1d288hs.js} +11 -11
  248. package/dist/chunks/{model-w3wsvvr9.js → variant-w3wsvvr9.js} +1 -1
  249. package/dist/chunks/{model-bpjzyxk6.js → variant-w8pj8qhp.js} +26 -26
  250. package/dist/chunks/{model-ze5v0a14.js → variant-was7srj9.js} +5 -5
  251. package/dist/chunks/{model-wd87259q.js → variant-wd87259q.js} +1 -1
  252. package/dist/chunks/{model-t550f9t1.js → variant-wv396vej.js} +8 -8
  253. package/dist/chunks/{model-re96rjx3.js → variant-wyec3xap.js} +3 -3
  254. package/dist/chunks/{model-gm3dfsm1.js → variant-wzgtrbaw.js} +5 -5
  255. package/dist/chunks/{model-9mn5fbt0.js → variant-xfwm1nrf.js} +26 -26
  256. package/dist/chunks/{model-dmqcgk4z.js → variant-xkntkrq7.js} +5 -5
  257. package/dist/chunks/{model-43xazcv4.js → variant-xm1s6dzm.js} +306 -306
  258. package/dist/chunks/{model-qxjc9qry.js → variant-xyafkbt0.js} +3 -3
  259. package/dist/chunks/{model-y1fvbwt7.js → variant-y1fvbwt7.js} +1 -1
  260. package/dist/chunks/{model-5nq6ntwv.js → variant-y2dcdtp0.js} +16 -16
  261. package/dist/chunks/{model-btwta0ay.js → variant-y2j1t95j.js} +16 -16
  262. package/dist/chunks/{model-6g7e4dd5.js → variant-y4xh0pmk.js} +7 -7
  263. package/dist/chunks/{model-8wbxkt1z.js → variant-y5rf7nzv.js} +4 -4
  264. package/dist/chunks/{model-h960ywcp.js → variant-y6hcfz9t.js} +11 -11
  265. package/dist/chunks/{model-gb6ehmsa.js → variant-y77dm3c4.js} +17 -17
  266. package/dist/chunks/{model-mtjbpypn.js → variant-ye8czdsw.js} +22 -22
  267. package/dist/chunks/{model-12dy9wgh.js → variant-ygtb1s3e.js} +11 -11
  268. package/dist/chunks/{model-tjdrgr4h.js → variant-yj7yjf4r.js} +15 -15
  269. package/dist/chunks/{model-gb9qa9c1.js → variant-yj81bjva.js} +7 -7
  270. package/dist/chunks/{model-pc670ma7.js → variant-ynjzq9s0.js} +19 -19
  271. package/dist/chunks/{model-mczqcbtg.js → variant-yrm0szr2.js} +22 -22
  272. package/dist/chunks/{model-t3gyxbgb.js → variant-z053hk1w.js} +18 -18
  273. package/dist/chunks/{model-z0bkrqjs.js → variant-z0bkrqjs.js} +1 -1
  274. package/dist/chunks/{model-cvnbmapz.js → variant-zhwjstx1.js} +26 -26
  275. package/dist/chunks/{model-x13kj793.js → variant-zpg27evg.js} +21 -21
  276. package/dist/chunks/{model-z4fb5m0h.js → variant-zpn6vsrm.js} +48 -48
  277. package/dist/chunks/{model-zr2ceqn5.js → variant-zr2ceqn5.js} +1 -1
  278. package/dist/chunks/{model-fnkg6qb4.js → variant-zr84kw0b.js} +37 -37
  279. package/dist/chunks/{model-8q8jfg7g.js → variant-zv2rxc3d.js} +9 -9
  280. package/dist/chunks/{model-snswbz2h.js → variant-zv5357n6.js} +43 -43
  281. package/dist/chunks/{model-zxq2ej10.js → variant-zxq2ej10.js} +1 -1
  282. package/dist/chunks/{model-5dec13bj.js → variant-zxsy4by3.js} +18 -18
  283. package/dist/chunks/{model-gzvvm5t9.js → variant-zy58z06m.js} +9 -9
  284. package/dist/chunks/{model-qygbw77c.js → variant-zyk1yjk8.js} +5 -5
  285. package/dist/codemode/catalog.js +1 -1
  286. package/dist/codemode/instructions.js +11 -11
  287. package/dist/codemode/tool.js +3 -3
  288. package/dist/codemode/web.js +1 -1
  289. package/dist/command.js +83 -83
  290. package/dist/config/discovery.js +84 -84
  291. package/dist/config/markdown.js +1 -1
  292. package/dist/config/normalize.js +99 -99
  293. package/dist/config/plugin/agent.js +118 -118
  294. package/dist/config/plugin/command.js +207 -207
  295. package/dist/config/plugin/compaction.js +154 -154
  296. package/dist/config/plugin/compatibility.js +134 -134
  297. package/dist/config/plugin/entry-observer.js +1 -1
  298. package/dist/config/plugin/formatter.js +117 -117
  299. package/dist/config/plugin/image.js +116 -116
  300. package/dist/config/plugin/instruction.js +90 -90
  301. package/dist/config/plugin/location-watcher.js +116 -116
  302. package/dist/config/plugin/mcp.js +125 -125
  303. package/dist/config/plugin/policy.js +117 -117
  304. package/dist/config/plugin/provider.js +116 -116
  305. package/dist/config/plugin/reference.js +118 -118
  306. package/dist/config/plugin/shell.js +118 -118
  307. package/dist/config/plugin/skill-file.js +102 -102
  308. package/dist/config/plugin/skill.js +135 -135
  309. package/dist/config/plugin/snapshot.js +116 -116
  310. package/dist/config/plugin/source.js +117 -117
  311. package/dist/config/plugin/tool-output.js +117 -117
  312. package/dist/config/plugin/websearch.js +117 -117
  313. package/dist/config/plugin/worktree.js +118 -118
  314. package/dist/config/variable.js +3 -3
  315. package/dist/config/watch.js +1 -1
  316. package/dist/config.js +117 -117
  317. package/dist/credential/sql.js +2 -2
  318. package/dist/credential.js +83 -83
  319. package/dist/database/database.js +66 -66
  320. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  321. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  322. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  323. package/dist/database/drizzle/index.js +13 -13
  324. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  327. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  328. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  329. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  330. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  334. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  335. package/dist/database/drizzle.js +14 -14
  336. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  337. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  338. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  339. package/dist/database/migration/20260225215848_workspace.js +1 -1
  340. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  341. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  342. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  343. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  344. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  345. package/dist/database/migration/20260323234822_events.js +1 -1
  346. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  347. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  348. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  349. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  350. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  351. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  352. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  353. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  354. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  355. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  356. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  357. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  358. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  359. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  360. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  361. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  362. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  363. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  364. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  365. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  366. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  367. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  368. package/dist/database/migration/20260611035744_credential.js +1 -1
  369. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  370. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  371. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  372. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  373. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  374. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  375. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  376. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  377. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  378. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  379. package/dist/database/migration/20260812213948_worktree.js +1 -1
  380. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  381. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  382. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  383. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  384. package/dist/database/migration.gen.js +49 -49
  385. package/dist/database/migration.js +51 -51
  386. package/dist/database/path.js +2 -2
  387. package/dist/database/schema.gen.js +1 -1
  388. package/dist/database/schema.sql.js +1 -1
  389. package/dist/database/sqlite.bun.js +1 -1
  390. package/dist/database/sqlite.js +1 -1
  391. package/dist/database/sqlite.node.js +1 -1
  392. package/dist/database/sqlite.workerd.js +1 -1
  393. package/dist/database/v1-migration.bun.js +76 -76
  394. package/dist/database/v1-migration.js +1 -1
  395. package/dist/effect/app-node-builder.js +363 -363
  396. package/dist/effect/app-node-platform.js +2 -2
  397. package/dist/effect/keyed-mutex.js +3 -3
  398. package/dist/effect/websocket-constructor.js +1 -1
  399. package/dist/environment/driver.js +1 -1
  400. package/dist/environment/environment.js +93 -93
  401. package/dist/environment/exec-defaults.js +2 -2
  402. package/dist/environment/files.js +1 -1
  403. package/dist/environment/index.js +93 -93
  404. package/dist/environment/local.js +2 -2
  405. package/dist/environment/memory.js +2 -2
  406. package/dist/environment/unavailable.js +1 -1
  407. package/dist/event/sql.js +1 -1
  408. package/dist/event-logger.js +74 -74
  409. package/dist/file-access.js +104 -104
  410. package/dist/file-mutation.js +94 -94
  411. package/dist/file-retention.js +1 -1
  412. package/dist/filesystem/fff.bun.js +2 -2
  413. package/dist/filesystem/fff.js +1 -1
  414. package/dist/filesystem/fff.node.js +2 -2
  415. package/dist/filesystem/fff.workerd.js +2 -2
  416. package/dist/filesystem/location-watcher-policy.js +6 -6
  417. package/dist/filesystem/location-watcher.js +218 -218
  418. package/dist/filesystem/protected.js +3 -3
  419. package/dist/filesystem/search.js +103 -103
  420. package/dist/filesystem/watcher-binding.js +3 -3
  421. package/dist/filesystem/watcher.js +11 -11
  422. package/dist/filesystem.js +106 -106
  423. package/dist/form.js +84 -84
  424. package/dist/formatter/builtins.js +4 -4
  425. package/dist/formatter.js +87 -87
  426. package/dist/generate.js +101 -101
  427. package/dist/git.js +6 -6
  428. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  429. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  430. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  431. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  432. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  433. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  434. package/dist/github-copilot/copilot-provider.js +17 -17
  435. package/dist/github-copilot/models.js +91 -91
  436. package/dist/github-copilot/openai-compatible-error.js +1 -1
  437. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  438. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  439. package/dist/github-copilot/responses/openai-error.js +1 -1
  440. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  441. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  442. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  443. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  444. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  445. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  446. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  447. package/dist/image/photon.js +2 -2
  448. package/dist/image.js +6 -6
  449. package/dist/instance/service.js +5 -5
  450. package/dist/instance.js +354 -354
  451. package/dist/instruction-discovery.js +79 -79
  452. package/dist/instructions/builtins.js +87 -87
  453. package/dist/instructions/index.js +5 -5
  454. package/dist/integration/connection.js +3 -3
  455. package/dist/integration.js +85 -85
  456. package/dist/job.js +78 -78
  457. package/dist/kv/sql.js +2 -2
  458. package/dist/kv.js +73 -73
  459. package/dist/location-activity.js +134 -134
  460. package/dist/location-lifecycle.js +107 -107
  461. package/dist/location-service-map.js +86 -86
  462. package/dist/location-services.js +351 -351
  463. package/dist/location.js +83 -83
  464. package/dist/managed-policy.js +5 -5
  465. package/dist/mcp/client.js +91 -91
  466. package/dist/mcp/index.js +103 -103
  467. package/dist/mcp/instructions.js +129 -129
  468. package/dist/mcp/oauth.js +75 -75
  469. package/dist/mcp/stdio.js +90 -90
  470. package/dist/mime.js +1 -1
  471. package/dist/modal/models.js +91 -91
  472. package/dist/model-resolver.js +98 -98
  473. package/dist/model.js +98 -98
  474. package/dist/models-dev.js +107 -107
  475. package/dist/oauth/page.js +1 -1
  476. package/dist/permission/saved.js +80 -80
  477. package/dist/permission/sql.js +5 -5
  478. package/dist/permission.js +117 -117
  479. package/dist/persistent-pty/binary.bun.js +1 -1
  480. package/dist/persistent-pty/daemon.js +1 -1
  481. package/dist/persistent-pty/index.js +86 -86
  482. package/dist/persistent-pty/pty-binding.js +1 -1
  483. package/dist/persistent-pty.js +75 -75
  484. package/dist/plugin/agent.js +76 -76
  485. package/dist/plugin/command.js +102 -102
  486. package/dist/plugin/hooks.js +5 -5
  487. package/dist/plugin/host.js +211 -211
  488. package/dist/plugin/identity.js +3 -3
  489. package/dist/plugin/instance.js +5 -5
  490. package/dist/plugin/internal.js +326 -326
  491. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  492. package/dist/plugin/models-dev.js +96 -96
  493. package/dist/plugin/module.js +7 -7
  494. package/dist/plugin/optimize.js +2 -2
  495. package/dist/plugin/plan.js +102 -102
  496. package/dist/plugin/promise.js +1 -1
  497. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  498. package/dist/plugin/provider/azure.js +117 -117
  499. package/dist/plugin/provider/cerebras.js +1 -1
  500. package/dist/plugin/provider/chatgpt.js +93 -93
  501. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  502. package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
  503. package/dist/plugin/provider/cohere.js +2 -2
  504. package/dist/plugin/provider/configured.js +112 -112
  505. package/dist/plugin/provider/digitalocean.js +93 -93
  506. package/dist/plugin/provider/dynamic.js +2 -2
  507. package/dist/plugin/provider/factory.js +1 -1
  508. package/dist/plugin/provider/github-copilot.js +95 -95
  509. package/dist/plugin/provider/gitlab.js +93 -93
  510. package/dist/plugin/provider/google-vertex.js +90 -90
  511. package/dist/plugin/provider/kilo.js +1 -1
  512. package/dist/plugin/provider/llmgateway.js +78 -78
  513. package/dist/plugin/provider/lmstudio.js +116 -116
  514. package/dist/plugin/provider/local.js +113 -113
  515. package/dist/plugin/provider/modal.js +92 -92
  516. package/dist/plugin/provider/nvidia.js +1 -1
  517. package/dist/plugin/provider/ollama.js +116 -116
  518. package/dist/plugin/provider/openai.js +93 -93
  519. package/dist/plugin/provider/opencode.js +96 -96
  520. package/dist/plugin/provider/openrouter.js +91 -91
  521. package/dist/plugin/provider/perplexity.js +2 -2
  522. package/dist/plugin/provider/poe.js +79 -79
  523. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  524. package/dist/plugin/provider/sap-ai-core.js +91 -91
  525. package/dist/plugin/provider/sdk-factory.js +1 -1
  526. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  527. package/dist/plugin/provider/vercel.js +90 -90
  528. package/dist/plugin/provider/vllm.js +116 -116
  529. package/dist/plugin/provider/xai.js +91 -91
  530. package/dist/plugin/provider/zenmux.js +1 -1
  531. package/dist/plugin/provider.js +155 -155
  532. package/dist/plugin/sdk.js +76 -76
  533. package/dist/plugin/service.js +3 -3
  534. package/dist/plugin/skill.js +134 -134
  535. package/dist/plugin/source-directory.js +1 -1
  536. package/dist/plugin/supervisor.js +345 -345
  537. package/dist/plugin/tool-input-repair.js +4 -4
  538. package/dist/plugin/update.js +6 -6
  539. package/dist/plugin/vcs/git.js +86 -86
  540. package/dist/plugin/vcs/hg.js +86 -86
  541. package/dist/plugin/verbosity.js +93 -93
  542. package/dist/plugin/warming.js +114 -114
  543. package/dist/plugin/websearch/exa.js +5 -5
  544. package/dist/plugin/websearch/firecrawl.js +8 -8
  545. package/dist/plugin/websearch/index.js +9 -9
  546. package/dist/plugin/websearch/mcp.js +6 -6
  547. package/dist/plugin/websearch/parallel.js +8 -8
  548. package/dist/plugin/websearch/tavily.js +4 -4
  549. package/dist/plugin/websearch/tinyfish.js +8 -8
  550. package/dist/plugin.js +214 -214
  551. package/dist/project/schema.js +6 -6
  552. package/dist/project/sql.js +4 -4
  553. package/dist/project.js +82 -82
  554. package/dist/provider.js +99 -99
  555. package/dist/pty/protocol.js +1 -1
  556. package/dist/pty/ticket.js +1 -1
  557. package/dist/pty.js +89 -89
  558. package/dist/reference/instructions.js +89 -89
  559. package/dist/reference.js +91 -91
  560. package/dist/repository-cache.js +81 -81
  561. package/dist/repository.js +1 -1
  562. package/dist/ripgrep/binary.js +2 -2
  563. package/dist/ripgrep.js +97 -97
  564. package/dist/rpc.js +86 -86
  565. package/dist/schema.js +1 -1
  566. package/dist/session/affinity.js +1 -1
  567. package/dist/session/command.js +74 -74
  568. package/dist/session/compaction.js +129 -129
  569. package/dist/session/context.js +153 -153
  570. package/dist/session/diff.js +88 -88
  571. package/dist/session/environment.js +5 -5
  572. package/dist/session/error.js +7 -7
  573. package/dist/session/event.js +1 -1
  574. package/dist/session/execution/restart.js +217 -217
  575. package/dist/session/execution.js +125 -125
  576. package/dist/session/generate.js +152 -152
  577. package/dist/session/history.js +15 -15
  578. package/dist/session/inbox.js +90 -90
  579. package/dist/session/info.js +3 -3
  580. package/dist/session/instruction-entry.js +75 -75
  581. package/dist/session/instruction-state.js +8 -8
  582. package/dist/session/instructions.js +97 -97
  583. package/dist/session/message-updater.js +4 -4
  584. package/dist/session/message.js +1 -1
  585. package/dist/session/model-request.js +120 -120
  586. package/dist/session/model-transport.js +9 -9
  587. package/dist/session/move.js +129 -129
  588. package/dist/session/projector.js +86 -86
  589. package/dist/session/prompt.js +105 -105
  590. package/dist/session/provider-context.js +3 -3
  591. package/dist/session/revert.js +90 -90
  592. package/dist/session/run-coordinator.js +3 -3
  593. package/dist/session/runner/index.js +3 -3
  594. package/dist/session/runner/llm.js +224 -224
  595. package/dist/session/runner/max-steps.js +1 -1
  596. package/dist/session/runner/model.js +98 -98
  597. package/dist/session/runner/publish-llm-event.js +113 -113
  598. package/dist/session/runner/retry.js +4 -4
  599. package/dist/session/runner/step.js +125 -125
  600. package/dist/session/runner/to-llm-message.js +2 -2
  601. package/dist/session/schema.js +5 -5
  602. package/dist/session/session.js +164 -164
  603. package/dist/session/shell.js +130 -130
  604. package/dist/session/skill.js +103 -103
  605. package/dist/session/sql.js +5 -5
  606. package/dist/session/stats.js +73 -73
  607. package/dist/session/store.js +87 -87
  608. package/dist/session/subagent-completion.js +1 -1
  609. package/dist/session/subagent-job.js +203 -203
  610. package/dist/session/system-prompt.js +3 -3
  611. package/dist/session/title.js +157 -157
  612. package/dist/session/to-session-error.js +111 -111
  613. package/dist/session/transfer.js +210 -210
  614. package/dist/session/usage.js +1 -1
  615. package/dist/session.js +213 -213
  616. package/dist/shell/parse.js +6 -6
  617. package/dist/shell/result.js +1 -1
  618. package/dist/shell/scan.js +1 -1
  619. package/dist/shell/select.js +11 -11
  620. package/dist/shell.js +132 -132
  621. package/dist/skill/discovery.js +6 -6
  622. package/dist/skill/instructions.js +107 -107
  623. package/dist/skill.js +110 -110
  624. package/dist/snapshot.js +89 -89
  625. package/dist/state.js +1 -1
  626. package/dist/tool/html-markdown.js +1 -1
  627. package/dist/tool/http-body.js +1 -1
  628. package/dist/tool/mcp.js +128 -128
  629. package/dist/tool/plugin/edit.js +120 -120
  630. package/dist/tool/plugin/file-diff.js +1 -1
  631. package/dist/tool/plugin/glob.js +124 -124
  632. package/dist/tool/plugin/grep.js +118 -118
  633. package/dist/tool/plugin/mcp-resource.js +117 -117
  634. package/dist/tool/plugin/opencode.js +3 -3
  635. package/dist/tool/plugin/patch.js +122 -122
  636. package/dist/tool/plugin/question.js +103 -103
  637. package/dist/tool/plugin/read.js +125 -125
  638. package/dist/tool/plugin/shell.js +210 -210
  639. package/dist/tool/plugin/skill.js +113 -113
  640. package/dist/tool/plugin/subagent.js +212 -212
  641. package/dist/tool/plugin/webfetch.js +112 -112
  642. package/dist/tool/plugin/websearch.js +110 -110
  643. package/dist/tool/plugin/write.js +118 -118
  644. package/dist/tool/read-filesystem.js +98 -98
  645. package/dist/tool/runtime.js +1 -1
  646. package/dist/tool-output.js +7 -7
  647. package/dist/tool.js +16 -16
  648. package/dist/util/error-summary.js +1 -1
  649. package/dist/util/error.js +1 -1
  650. package/dist/util/git-executable.js +2 -2
  651. package/dist/util/iife.js +1 -1
  652. package/dist/util/lazy.js +1 -1
  653. package/dist/util/slug.js +1 -1
  654. package/dist/util/token.js +1 -1
  655. package/dist/util/which.js +1 -1
  656. package/dist/util/wildcard.js +1 -1
  657. package/dist/v1/config/agent.js +5 -5
  658. package/dist/v1/config/command.js +3 -3
  659. package/dist/v1/config/error.js +4 -4
  660. package/dist/v1/config/mcp.js +4 -4
  661. package/dist/v1/config/migrate.js +92 -92
  662. package/dist/v1/config/permission.js +5 -5
  663. package/dist/v1/config/plugin.js +1 -1
  664. package/dist/v1/config/provider-options.js +1 -1
  665. package/dist/v1/config/provider.js +2 -2
  666. package/dist/variant.js +93 -93
  667. package/dist/vcs/patch.js +1 -1
  668. package/dist/vcs.js +89 -89
  669. package/dist/websearch.js +82 -82
  670. package/dist/wellknown/plugin.js +76 -76
  671. package/dist/wellknown.js +81 -81
  672. package/dist/workspace/driver.js +5 -5
  673. package/dist/workspace/sql.js +1 -1
  674. package/dist/workspace.js +80 -80
  675. package/dist/worktree/directory.js +2 -2
  676. package/dist/worktree/git.js +10 -10
  677. package/dist/worktree/sql.js +5 -5
  678. package/dist/worktree/strategies.js +89 -89
  679. package/dist/worktree.js +96 -96
  680. package/package.json +8 -8
  681. package/dist/chunks/model-9e9he82z.js +0 -26
  682. package/dist/chunks/model-9sh4wc5j.js +0 -18
  683. /package/dist/chunks/{model-0qkdqm5v.js → variant-0qkdqm5v.js} +0 -0
  684. /package/dist/chunks/{model-0zkw76rk.js → variant-0zkw76rk.js} +0 -0
  685. /package/dist/chunks/{model-17cy0kzp.js → variant-17cy0kzp.js} +0 -0
  686. /package/dist/chunks/{model-1cnp2v09.js → variant-1cnp2v09.js} +0 -0
  687. /package/dist/chunks/{model-1kg9ymc8.js → variant-1kg9ymc8.js} +0 -0
  688. /package/dist/chunks/{model-24dcb14g.js → variant-24dcb14g.js} +0 -0
  689. /package/dist/chunks/{model-2710q6r3.js → variant-2710q6r3.js} +0 -0
  690. /package/dist/chunks/{model-2axfhc9x.js → variant-2axfhc9x.js} +0 -0
  691. /package/dist/chunks/{model-2c3vjs8z.js → variant-2c3vjs8z.js} +0 -0
  692. /package/dist/chunks/{model-34c7v6d4.js → variant-34c7v6d4.js} +0 -0
  693. /package/dist/chunks/{model-359p4xyc.js → variant-359p4xyc.js} +0 -0
  694. /package/dist/chunks/{model-3asan66x.js → variant-3asan66x.js} +0 -0
  695. /package/dist/chunks/{model-3t0ybcrp.js → variant-3t0ybcrp.js} +0 -0
  696. /package/dist/chunks/{model-3v8g72cx.js → variant-3v8g72cx.js} +0 -0
  697. /package/dist/chunks/{model-3w5fmr99.js → variant-3w5fmr99.js} +0 -0
  698. /package/dist/chunks/{model-3wcehsnq.js → variant-3wcehsnq.js} +0 -0
  699. /package/dist/chunks/{model-43n2bw4t.js → variant-43n2bw4t.js} +0 -0
  700. /package/dist/chunks/{model-4knz6hnm.js → variant-4knz6hnm.js} +0 -0
  701. /package/dist/chunks/{model-4vcrnpx2.js → variant-4vcrnpx2.js} +0 -0
  702. /package/dist/chunks/{model-4y7fprxs.js → variant-4y7fprxs.js} +0 -0
  703. /package/dist/chunks/{model-53557ph1.js → variant-53557ph1.js} +0 -0
  704. /package/dist/chunks/{model-550bvhaj.js → variant-550bvhaj.js} +0 -0
  705. /package/dist/chunks/{model-6prwharc.js → variant-6prwharc.js} +0 -0
  706. /package/dist/chunks/{model-6q2bdcd1.js → variant-6q2bdcd1.js} +0 -0
  707. /package/dist/chunks/{model-7akdwqpd.js → variant-7akdwqpd.js} +0 -0
  708. /package/dist/chunks/{model-7m9af43g.js → variant-7m9af43g.js} +0 -0
  709. /package/dist/chunks/{model-822emrt2.js → variant-822emrt2.js} +0 -0
  710. /package/dist/chunks/{model-88xbtdfr.js → variant-88xbtdfr.js} +0 -0
  711. /package/dist/chunks/{model-8n3pysct.js → variant-8n3pysct.js} +0 -0
  712. /package/dist/chunks/{model-8wj87zfr.js → variant-8wj87zfr.js} +0 -0
  713. /package/dist/chunks/{model-9a4afbnw.js → variant-9a4afbnw.js} +0 -0
  714. /package/dist/chunks/{model-9rqn6x4v.js → variant-9rqn6x4v.js} +0 -0
  715. /package/dist/chunks/{model-a6k6eb26.js → variant-a6k6eb26.js} +0 -0
  716. /package/dist/chunks/{model-af5trqkr.js → variant-af5trqkr.js} +0 -0
  717. /package/dist/chunks/{model-afrmfg78.js → variant-afrmfg78.js} +0 -0
  718. /package/dist/chunks/{model-aqzs7mqg.js → variant-aqzs7mqg.js} +0 -0
  719. /package/dist/chunks/{model-atq7p7m5.js → variant-atq7p7m5.js} +0 -0
  720. /package/dist/chunks/{model-bkyjaxrp.js → variant-bkyjaxrp.js} +0 -0
  721. /package/dist/chunks/{model-bmr6ed5q.js → variant-bmr6ed5q.js} +0 -0
  722. /package/dist/chunks/{model-cf4snx6d.js → variant-cf4snx6d.js} +0 -0
  723. /package/dist/chunks/{model-cvy3z8tj.js → variant-cvy3z8tj.js} +0 -0
  724. /package/dist/chunks/{model-d9fn303g.js → variant-d9fn303g.js} +0 -0
  725. /package/dist/chunks/{model-d9jj8t3e.js → variant-d9jj8t3e.js} +0 -0
  726. /package/dist/chunks/{model-dajrwvna.js → variant-dajrwvna.js} +0 -0
  727. /package/dist/chunks/{model-dap0rakb.js → variant-dap0rakb.js} +0 -0
  728. /package/dist/chunks/{model-df08tz66.js → variant-df08tz66.js} +0 -0
  729. /package/dist/chunks/{model-dy18nga0.js → variant-dy18nga0.js} +0 -0
  730. /package/dist/chunks/{model-e5kj55wp.js → variant-e5kj55wp.js} +0 -0
  731. /package/dist/chunks/{model-e73j6tqm.js → variant-e73j6tqm.js} +0 -0
  732. /package/dist/chunks/{model-ec1grn59.js → variant-ec1grn59.js} +0 -0
  733. /package/dist/chunks/{model-eh3zwz77.js → variant-eh3zwz77.js} +0 -0
  734. /package/dist/chunks/{model-emrn6kk6.js → variant-emrn6kk6.js} +0 -0
  735. /package/dist/chunks/{model-f0mxakyp.js → variant-f0mxakyp.js} +0 -0
  736. /package/dist/chunks/{model-f6n9ztr4.js → variant-f6n9ztr4.js} +0 -0
  737. /package/dist/chunks/{model-faypxj3z.js → variant-faypxj3z.js} +0 -0
  738. /package/dist/chunks/{model-fd410y7t.js → variant-fd410y7t.js} +0 -0
  739. /package/dist/chunks/{model-fxgpk5d8.js → variant-fxgpk5d8.js} +0 -0
  740. /package/dist/chunks/{model-g4wezp1m.js → variant-g4wezp1m.js} +0 -0
  741. /package/dist/chunks/{model-g86h250q.js → variant-g86h250q.js} +0 -0
  742. /package/dist/chunks/{model-gebd4c9n.js → variant-gebd4c9n.js} +0 -0
  743. /package/dist/chunks/{model-gftt206x.js → variant-gftt206x.js} +0 -0
  744. /package/dist/chunks/{model-hk9envan.js → variant-hk9envan.js} +0 -0
  745. /package/dist/chunks/{model-j2ntwpah.js → variant-j2ntwpah.js} +0 -0
  746. /package/dist/chunks/{model-j5zkgpj8.js → variant-j5zkgpj8.js} +0 -0
  747. /package/dist/chunks/{model-jjkms2e6.js → variant-jjkms2e6.js} +0 -0
  748. /package/dist/chunks/{model-jr7sbwjy.js → variant-jr7sbwjy.js} +0 -0
  749. /package/dist/chunks/{model-jwfs4k6c.js → variant-jwfs4k6c.js} +0 -0
  750. /package/dist/chunks/{model-jzg6c2d5.js → variant-jzg6c2d5.js} +0 -0
  751. /package/dist/chunks/{model-mp448xyj.js → variant-mp448xyj.js} +0 -0
  752. /package/dist/chunks/{model-msx8hqn2.js → variant-msx8hqn2.js} +0 -0
  753. /package/dist/chunks/{model-n05xt0ee.js → variant-n05xt0ee.js} +0 -0
  754. /package/dist/chunks/{model-n3j8tn72.js → variant-n3j8tn72.js} +0 -0
  755. /package/dist/chunks/{model-njntx4h6.js → variant-njntx4h6.js} +0 -0
  756. /package/dist/chunks/{model-q3sfg36h.js → variant-q3sfg36h.js} +0 -0
  757. /package/dist/chunks/{model-q74kybfr.js → variant-q74kybfr.js} +0 -0
  758. /package/dist/chunks/{model-qaymkmh1.js → variant-qaymkmh1.js} +0 -0
  759. /package/dist/chunks/{model-qb87gjwd.js → variant-qb87gjwd.js} +0 -0
  760. /package/dist/chunks/{model-qfa1cgps.js → variant-qfa1cgps.js} +0 -0
  761. /package/dist/chunks/{model-qg3g05ea.js → variant-qg3g05ea.js} +0 -0
  762. /package/dist/chunks/{model-qrg20bc0.js → variant-qrg20bc0.js} +0 -0
  763. /package/dist/chunks/{model-rcb2kzg1.js → variant-rcb2kzg1.js} +0 -0
  764. /package/dist/chunks/{model-sdp7kfr6.js → variant-sdp7kfr6.js} +0 -0
  765. /package/dist/chunks/{model-ssg3fenm.js → variant-ssg3fenm.js} +0 -0
  766. /package/dist/chunks/{model-w803qqfp.js → variant-w803qqfp.js} +0 -0
  767. /package/dist/chunks/{model-wc3fc9cn.js → variant-wc3fc9cn.js} +0 -0
  768. /package/dist/chunks/{model-wer8tq1h.js → variant-wer8tq1h.js} +0 -0
  769. /package/dist/chunks/{model-wtztk69x.js → variant-wtztk69x.js} +0 -0
  770. /package/dist/chunks/{model-x0ckcb58.js → variant-x0ckcb58.js} +0 -0
  771. /package/dist/chunks/{model-x61499pn.js → variant-x61499pn.js} +0 -0
  772. /package/dist/chunks/{model-y44na4kk.js → variant-y44na4kk.js} +0 -0
  773. /package/dist/chunks/{model-y8cydn3q.js → variant-y8cydn3q.js} +0 -0
  774. /package/dist/chunks/{model-y8f7s663.js → variant-y8f7s663.js} +0 -0
  775. /package/dist/chunks/{model-ygaqb7jw.js → variant-ygaqb7jw.js} +0 -0
  776. /package/dist/chunks/{model-ym463w8f.js → variant-ym463w8f.js} +0 -0
  777. /package/dist/chunks/{model-z5v4ffb3.js → variant-z5v4ffb3.js} +0 -0
  778. /package/dist/chunks/{model-z9919s4g.js → variant-z9919s4g.js} +0 -0
@@ -2,42 +2,42 @@ import {
2
2
  AbsolutePath2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./model-z5v4ffb3.js";
5
+ } from "./variant-z5v4ffb3.js";
6
6
  import {
7
7
  Service78,
8
8
  node82
9
- } from "./model-1yft0xp6.js";
9
+ } from "./variant-genng97f.js";
10
10
  import {
11
- Service74,
12
- node77
13
- } from "./model-yjtcy88h.js";
11
+ Service15,
12
+ node17
13
+ } from "./variant-pddh4aqp.js";
14
14
  import {
15
15
  __export
16
- } from "./model-9rqn6x4v.js";
16
+ } from "./variant-9rqn6x4v.js";
17
17
 
18
18
  // src/filesystem.ts
19
19
  var exports_filesystem = {};
20
20
  __export(exports_filesystem, {
21
- Content: () => Content3,
21
+ Content: () => Content2,
22
22
  DEFAULT_SEARCH_LIMIT: () => DEFAULT_SEARCH_LIMIT2,
23
23
  DEFAULT_SEARCH_TIMEOUT_MS: () => DEFAULT_SEARCH_TIMEOUT_MS2,
24
24
  DirectoryAccessDeniedError: () => DirectoryAccessDeniedError2,
25
25
  DirectoryNotFoundError: () => DirectoryNotFoundError2,
26
26
  Entry: () => Entry2,
27
- Event: () => Event20,
27
+ Event: () => Event2,
28
28
  FileSystem: () => exports_filesystem,
29
29
  FindInput: () => FindInput2,
30
30
  GlobInput: () => GlobInput2,
31
31
  GrepInput: () => GrepInput2,
32
- ListInput: () => ListInput5,
32
+ ListInput: () => ListInput2,
33
33
  Match: () => Match2,
34
- NotFoundError: () => NotFoundError10,
34
+ NotFoundError: () => NotFoundError2,
35
35
  ReadInput: () => ReadInput2,
36
- Service: () => Service73,
36
+ Service: () => Service14,
37
37
  Submatch: () => Submatch2,
38
38
  Write: () => Write2,
39
39
  WriteInput: () => WriteInput2,
40
- node: () => node76
40
+ node: () => node16
41
41
  });
42
42
  import { makeLocationNode } from "@opencode/util/effect/app-node";
43
43
  import path from "path";
@@ -53,7 +53,7 @@ var WriteInput2 = Schema.Struct({
53
53
  data: Schema.Uint8Array
54
54
  });
55
55
 
56
- class NotFoundError10 extends Schema.TaggedError()("FileSystem.NotFoundError", {
56
+ class NotFoundError2 extends Schema.TaggedError()("FileSystem.NotFoundError", {
57
57
  path: RelativePath2
58
58
  }) {
59
59
  }
@@ -75,14 +75,14 @@ class DirectoryAccessDeniedError2 extends Schema.TaggedError()("FileSystem.Direc
75
75
  return `Access denied to directory: ${this.directory}`;
76
76
  }
77
77
  }
78
- var Content3 = Schema.Struct({
78
+ var Content2 = Schema.Struct({
79
79
  uri: Schema.String,
80
80
  name: Schema.String.pipe(Schema.optional),
81
81
  content: Schema.String,
82
82
  encoding: Schema.Literals(["utf8", "base64"]),
83
83
  mime: Schema.String
84
84
  }).annotate({ identifier: "FileSystem.Content" });
85
- var ListInput5 = Schema.Struct({
85
+ var ListInput2 = Schema.Struct({
86
86
  path: Schema.String.pipe(Schema.optional)
87
87
  });
88
88
  var DEFAULT_SEARCH_LIMIT2 = 100;
@@ -105,14 +105,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
105
105
  limit: Schema.optionalKey(PositiveInt2)
106
106
  }) {
107
107
  }
108
- var Event20 = FileSystem.Event;
108
+ var Event2 = FileSystem.Event;
109
109
 
110
- class Service73 extends Context.Service()("@opencode/FileSystem") {
110
+ class Service14 extends Context.Service()("@opencode/FileSystem") {
111
111
  }
112
- var baseLayer = Layer.effect(Service73, Effect.gen(function* () {
112
+ var baseLayer = Layer.effect(Service14, Effect.gen(function* () {
113
113
  const fs = yield* FSUtil.Service;
114
114
  const location = yield* Service78;
115
- const search = yield* Service74;
115
+ const search = yield* Service15;
116
116
  const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.catch((cause) => {
117
117
  if (cause.reason._tag === "NotFound")
118
118
  return Effect.fail(new DirectoryNotFoundError2({ directory: location.directory, cause }));
@@ -129,15 +129,15 @@ var baseLayer = Layer.effect(Service73, Effect.gen(function* () {
129
129
  return yield* Effect.die(new Error("Path escapes the location"));
130
130
  return { absolute, real, directory: location.directory };
131
131
  });
132
- return Service73.of({
132
+ return Service14.of({
133
133
  find: search.find,
134
134
  read: Effect.fn("FileSystem.read")(function* (input) {
135
- const target = yield* resolve(input.path).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError10({ path: input.path })), (_, error) => Effect.die(error)));
136
- const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError10({ path: input.path })), (_, error) => Effect.die(error)));
135
+ const target = yield* resolve(input.path).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError2({ path: input.path })), (_, error) => Effect.die(error)));
136
+ const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError2({ path: input.path })), (_, error) => Effect.die(error)));
137
137
  if (info.type !== "File")
138
138
  return yield* Effect.die(new Error("Path is not a file"));
139
139
  return {
140
- content: yield* fs.readFile(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError10({ path: input.path })), (_, error) => Effect.die(error))),
140
+ content: yield* fs.readFile(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError2({ path: input.path })), (_, error) => Effect.die(error))),
141
141
  mime: FSUtil.mimeType(target.real)
142
142
  };
143
143
  }),
@@ -166,10 +166,10 @@ var baseLayer = Layer.effect(Service73, Effect.gen(function* () {
166
166
  })
167
167
  });
168
168
  }));
169
- var node76 = makeLocationNode({
170
- service: Service73,
169
+ var node16 = makeLocationNode({
170
+ service: Service14,
171
171
  layer: baseLayer,
172
- deps: [FSUtil.node, node82, node77]
172
+ deps: [FSUtil.node, node82, node17]
173
173
  });
174
174
 
175
- export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError10, DirectoryNotFoundError2, DirectoryAccessDeniedError2, Content3, ListInput5, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event20, Service73, node76, exports_filesystem, Entry2, Match2, Submatch2 };
175
+ export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError2, DirectoryNotFoundError2, DirectoryAccessDeniedError2, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event2, Service14, node16, exports_filesystem, Entry2, Match2, Submatch2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  loadSDKFactory2
3
- } from "./model-6q2bdcd1.js";
3
+ } from "./variant-6q2bdcd1.js";
4
4
 
5
5
  // src/plugin/provider/dynamic.ts
6
6
  import { Effect } from "effect";
@@ -1,9 +1,9 @@
1
1
  // src/filesystem/watcher-binding.ts
2
2
  import { createRequire } from "node:module";
3
- function load5() {
3
+ function load4() {
4
4
  const require2 = createRequire(import.meta.url);
5
5
  const libc = typeof OPENCODE_LIBC === "undefined" ? undefined : OPENCODE_LIBC;
6
6
  return require2(process.env.OPENCODE_PARCEL_WATCHER_PATH ?? `@parcel/watcher-${process.platform}-${process.arch}${process.platform === "linux" ? `-${libc || "glibc"}` : ""}`);
7
7
  }
8
8
 
9
- export { load5 };
9
+ export { load4 };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  WebSocketConstructor2
3
- } from "./model-y8cydn3q.js";
3
+ } from "./variant-y8cydn3q.js";
4
4
  import {
5
5
  __export
6
- } from "./model-9rqn6x4v.js";
6
+ } from "./variant-9rqn6x4v.js";
7
7
 
8
8
  // src/effect/app-node-platform.ts
9
9
  var exports_app_node_platform = {};
@@ -0,0 +1,18 @@
1
+ import {
2
+ __export
3
+ } from "./variant-9rqn6x4v.js";
4
+
5
+ // src/plugin/service.ts
6
+ var exports_service = {};
7
+ __export(exports_service, {
8
+ Plugin: () => exports_service,
9
+ Service: () => Service35,
10
+ awaitActivation: () => awaitActivation2
11
+ });
12
+ import { Context } from "effect";
13
+
14
+ class Service35 extends Context.Service()("@opencode/Plugin") {
15
+ }
16
+ var awaitActivation2 = Service35.use((plugins) => plugins.awaitActivation);
17
+
18
+ export { Service35, awaitActivation2, exports_service };
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  useragent2
3
- } from "./model-xggz5yyf.js";
3
+ } from "./variant-43a10n5x.js";
4
4
  import {
5
5
  call2
6
- } from "./model-1ygqh575.js";
6
+ } from "./variant-56gdpj1q.js";
7
7
  import {
8
8
  __export
9
- } from "./model-9rqn6x4v.js";
9
+ } from "./variant-9rqn6x4v.js";
10
10
 
11
11
  // src/plugin/websearch/tinyfish.ts
12
12
  var exports_tinyfish = {};
13
13
  __export(exports_tinyfish, {
14
- Plugin: () => Plugin8,
14
+ Plugin: () => Plugin37,
15
15
  WebSearchTinyFish: () => exports_tinyfish,
16
- endpoint: () => endpoint6
16
+ endpoint: () => endpoint3
17
17
  });
18
18
  import { define } from "@opencode/plugin/effect/plugin";
19
19
  import { Effect, Option, Schema } from "effect";
20
20
  import { HttpClient } from "effect/unstable/http";
21
- var endpoint6 = "https://agent.tinyfish.ai/mcp";
21
+ var endpoint3 = "https://agent.tinyfish.ai/mcp";
22
22
  var McpInput = Schema.Struct({
23
23
  query: Schema.String
24
24
  });
@@ -33,7 +33,7 @@ var SearchResponse = Schema.fromJsonString(Schema.Struct({
33
33
  }))
34
34
  }));
35
35
  var decodeSearchResponse = Schema.decodeUnknownOption(SearchResponse);
36
- var Plugin8 = define({
36
+ var Plugin37 = define({
37
37
  id: "opencode.websearch.tinyfish",
38
38
  effect: Effect.fn("WebSearchTinyFish.Plugin")(function* (ctx) {
39
39
  const http = yield* HttpClient.HttpClient;
@@ -55,7 +55,7 @@ var Plugin8 = define({
55
55
  execute: (input) => Effect.gen(function* () {
56
56
  const connection = yield* ctx.integration.connection.active("tinyfish");
57
57
  const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
58
- const result = yield* call2(http, endpoint6, "search", { input: McpInput, output: McpOutput }, { query: input.query }, {
58
+ const result = yield* call2(http, endpoint3, "search", { input: McpInput, output: McpOutput }, { query: input.query }, {
59
59
  "User-Agent": useragent2(ctx.app),
60
60
  ...credential?.type === "key" ? { "X-API-Key": credential.key } : { "X-TinyFish-Access-Mode": "keyless" }
61
61
  });
@@ -73,4 +73,4 @@ var Plugin8 = define({
73
73
  })
74
74
  });
75
75
 
76
- export { endpoint6, Plugin8, exports_tinyfish };
76
+ export { endpoint3, Plugin37, exports_tinyfish };
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./model-16dgqdxz.js";
4
+ } from "./variant-k7xgtgde.js";
5
5
  import {
6
6
  makeUnsafe2
7
- } from "./model-y71avatq.js";
7
+ } from "./variant-dpkg50ah.js";
8
8
  import {
9
- Service81,
10
- node85
11
- } from "./model-a7g6j6nx.js";
9
+ Service83,
10
+ node87
11
+ } from "./variant-9w3q8q8k.js";
12
12
  import {
13
13
  SessionEvent2
14
- } from "./model-ec1grn59.js";
14
+ } from "./variant-ec1grn59.js";
15
15
  import {
16
16
  SessionMessage2
17
- } from "./model-gftt206x.js";
17
+ } from "./variant-gftt206x.js";
18
18
  import {
19
19
  SessionSchema2
20
- } from "./model-143qq2q9.js";
20
+ } from "./variant-8whp40kv.js";
21
21
  import {
22
22
  SessionMessageTable2,
23
23
  SessionInboxTable2
24
- } from "./model-9e5bzkjp.js";
24
+ } from "./variant-9e5bzkjp.js";
25
25
  import {
26
26
  __export
27
- } from "./model-9rqn6x4v.js";
27
+ } from "./variant-9rqn6x4v.js";
28
28
 
29
29
  // src/session/inbox.ts
30
30
  var exports_inbox = {};
@@ -32,12 +32,12 @@ __export(exports_inbox, {
32
32
  Compaction: () => Compaction2,
33
33
  CompactionPayload: () => CompactionPayload2,
34
34
  Delivery: () => Delivery2,
35
- Info: () => Info8,
35
+ Info: () => Info11,
36
36
  Item: () => Item2,
37
37
  LifecycleConflict: () => LifecycleConflict2,
38
38
  Move: () => Move2,
39
39
  MovePayload: () => MovePayload2,
40
- Service: () => Service47,
40
+ Service: () => Service56,
41
41
  SessionInbox: () => exports_inbox,
42
42
  Synthetic: () => Synthetic2,
43
43
  SyntheticPayload: () => SyntheticPayload2,
@@ -45,12 +45,12 @@ __export(exports_inbox, {
45
45
  UserPayload: () => UserPayload2,
46
46
  find: () => find2,
47
47
  has: () => has2,
48
- layer: () => layer18,
49
- list: () => list3,
50
- make: () => make17,
48
+ layer: () => layer19,
49
+ list: () => list4,
50
+ make: () => make18,
51
51
  moveIDs: () => moveIDs2,
52
52
  nextPromotable: () => nextPromotable2,
53
- node: () => node49,
53
+ node: () => node59,
54
54
  projectAdmitted: () => projectAdmitted2,
55
55
  projectCancelled: () => projectCancelled2,
56
56
  projectDelivered: () => projectDelivered2,
@@ -65,7 +65,7 @@ import {
65
65
  Compaction as Compaction2,
66
66
  CompactionPayload as CompactionPayload2,
67
67
  Delivery as Delivery2,
68
- Info as Info8,
68
+ Info as Info11,
69
69
  Item as Item2,
70
70
  Move as Move2,
71
71
  MovePayload as MovePayload2,
@@ -151,12 +151,12 @@ var promotedFromMessage = Effect.fn("SessionInbox.promotedFromMessage")(function
151
151
  return yield* new LifecycleConflict2({ id });
152
152
  });
153
153
 
154
- class Service47 extends Context.Service()("@opencode/SessionInbox") {
154
+ class Service56 extends Context.Service()("@opencode/SessionInbox") {
155
155
  }
156
- var make17 = Effect.fn("SessionInbox.make")(function* () {
156
+ var make18 = Effect.fn("SessionInbox.make")(function* () {
157
157
  const database = yield* Service84;
158
158
  const db = database.db;
159
- const bus = yield* Service81;
159
+ const bus = yield* Service83;
160
160
  const reconcile = Effect.fn("SessionInbox.reconcile")(function* (request) {
161
161
  const existing = (yield* find2(db, request.id)) ?? (yield* promotedFromMessage(db, request.sessionID, request.id, request.delivery));
162
162
  if (existing === undefined)
@@ -173,7 +173,7 @@ var make17 = Effect.fn("SessionInbox.make")(function* () {
173
173
  inboxID: request.id,
174
174
  sessionID: request.sessionID,
175
175
  item: request.item
176
- }).pipe(Effect.map((event) => Info8.make({
176
+ }).pipe(Effect.map((event) => Info11.make({
177
177
  id: request.id,
178
178
  sessionID: request.sessionID,
179
179
  time: { created: DateTime.makeUnsafe(event.created) },
@@ -193,7 +193,7 @@ var make17 = Effect.fn("SessionInbox.make")(function* () {
193
193
  }
194
194
  if (yield* promotedFromMessage(db, input.sessionID, input.id, input.delivery))
195
195
  return yield* new LifecycleConflict2({ id: input.id });
196
- const pending = (yield* list3(db, input.sessionID)).find((item) => item.type === "compaction");
196
+ const pending = (yield* list4(db, input.sessionID)).find((item) => item.type === "compaction");
197
197
  if (pending)
198
198
  return pending;
199
199
  return yield* admit({
@@ -218,7 +218,7 @@ var make17 = Effect.fn("SessionInbox.make")(function* () {
218
218
  delivery: "queue"
219
219
  })));
220
220
  return {
221
- list: (sessionID) => list3(db, sessionID),
221
+ list: (sessionID) => list4(db, sessionID),
222
222
  reconcile,
223
223
  admit,
224
224
  admitCompaction,
@@ -227,8 +227,8 @@ var make17 = Effect.fn("SessionInbox.make")(function* () {
227
227
  queue
228
228
  };
229
229
  });
230
- var layer18 = Layer.effect(Service47, make17());
231
- var node49 = makeGlobalNode({ service: Service47, layer: layer18, deps: [node88, node85] });
230
+ var layer19 = Layer.effect(Service56, make18());
231
+ var node59 = makeGlobalNode({ service: Service56, layer: layer19, deps: [node88, node87] });
232
232
  var projectAdmitted2 = Effect.fn("SessionInbox.projectAdmitted")(function* (db, request) {
233
233
  const message = yield* db.select({ id: SessionMessageTable2.id }).from(SessionMessageTable2).where(eq(SessionMessageTable2.id, request.id)).get().pipe(Effect.orDie);
234
234
  if (message !== undefined)
@@ -266,7 +266,7 @@ var projectDeliveryChanged2 = Effect.fn("SessionInbox.projectDeliveryChanged")((
266
266
  from: input.delivery === "steer" ? "queue" : "steer",
267
267
  to: input.delivery
268
268
  }));
269
- var list3 = Effect.fn("SessionInbox.list")(function* (db, sessionID) {
269
+ var list4 = Effect.fn("SessionInbox.list")(function* (db, sessionID) {
270
270
  const rows = yield* db.select().from(SessionInboxTable2).where(eq(SessionInboxTable2.session_id, sessionID)).orderBy(asc(SessionInboxTable2.enqueued_seq)).all().pipe(Effect.orDie);
271
271
  return rows.map(fromRow);
272
272
  });
@@ -326,4 +326,4 @@ var pendingSteers = (db, sessionID) => db.select().from(SessionInboxTable2).wher
326
326
  return rows;
327
327
  }));
328
328
 
329
- export { Compaction2, CompactionPayload2, Delivery2, Info8, Item2, Move2, MovePayload2, Synthetic2, SyntheticPayload2, User2, UserPayload2, serialized2, LifecycleConflict2, find2, Service47, make17, layer18, node49, projectAdmitted2, projectDelivered2, projectCancelled2, projectDeliveryChanged2, list3, moveIDs2, nextPromotable2, has2, promote2, exports_inbox };
329
+ export { Compaction2, CompactionPayload2, Delivery2, Info11, Item2, Move2, MovePayload2, Synthetic2, SyntheticPayload2, User2, UserPayload2, serialized2, LifecycleConflict2, find2, Service56, make18, layer19, node59, projectAdmitted2, projectDelivered2, projectCancelled2, projectDeliveryChanged2, list4, moveIDs2, nextPromotable2, has2, promote2, exports_inbox };
@@ -1,34 +1,34 @@
1
1
  import {
2
2
  useragent2
3
- } from "./model-xggz5yyf.js";
3
+ } from "./variant-43a10n5x.js";
4
4
  import {
5
- Service81
6
- } from "./model-a7g6j6nx.js";
5
+ Service83
6
+ } from "./variant-9w3q8q8k.js";
7
7
  import {
8
8
  OAuth3,
9
- Event19
10
- } from "./model-sy1vayej.js";
9
+ Event17
10
+ } from "./variant-2c6y2vpm.js";
11
11
  import {
12
- ID12,
12
+ ID9,
13
13
  MethodID2
14
- } from "./model-qy0tcep6.js";
14
+ } from "./variant-27k4znhv.js";
15
15
  import {
16
- ID11
17
- } from "./model-vk57bjhv.js";
16
+ ID8
17
+ } from "./variant-t10yzrjw.js";
18
18
  import {
19
- ID10,
19
+ ID7,
20
20
  Family2
21
- } from "./model-ym21y5jk.js";
21
+ } from "./variant-e842s4t9.js";
22
22
  import {
23
23
  bootstrap2
24
- } from "./model-pjvnvgmy.js";
24
+ } from "./variant-pjvnvgmy.js";
25
25
 
26
26
  // src/plugin/provider/digitalocean.ts
27
27
  import { define } from "@opencode/plugin/effect/plugin";
28
28
  import { Clock, Deferred, Effect, Option, Schedule, Schema, Semaphore, Stream } from "effect";
29
29
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
30
- var providerID = ID11.make("digitalocean");
31
- var integrationID = ID12.make("digitalocean");
30
+ var providerID = ID8.make("digitalocean");
31
+ var integrationID = ID9.make("digitalocean");
32
32
  var methodID = MethodID2.make("browser");
33
33
  var clientID = "b1a6c5158156caac821fd1b30253ca8acb52454a48fa744420e41889cb589f82";
34
34
  var authorizeEndpoint = "https://cloud.digitalocean.com/v1/oauth/authorize";
@@ -116,7 +116,7 @@ var oauth = {
116
116
  var DigitalOceanPlugin2 = define({
117
117
  id: "opencode.provider.digitalocean",
118
118
  effect: Effect.fn(function* (ctx) {
119
- const bus = yield* Service81;
119
+ const bus = yield* Service83;
120
120
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
121
121
  const loading = Semaphore.makeUnsafe(1);
122
122
  const loaded = { routers: [] };
@@ -148,7 +148,7 @@ var DigitalOceanPlugin2 = define({
148
148
  return;
149
149
  for (const router of loaded.routers) {
150
150
  const id = `router:${router.name}`;
151
- if (evt.get(providerID)?.models.has(ID10.make(id)))
151
+ if (evt.get(providerID)?.models.has(ID7.make(id)))
152
152
  continue;
153
153
  evt.models.update(providerID, id, (draft) => {
154
154
  draft.name = router.name;
@@ -159,7 +159,7 @@ var DigitalOceanPlugin2 = define({
159
159
  }
160
160
  });
161
161
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
162
- yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
162
+ yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
163
163
  yield* refresh().pipe(Effect.repeat(Schedule.spaced("5 minutes")), Effect.forkScoped);
164
164
  })
165
165
  });
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./model-z5v4ffb3.js";
4
+ } from "./variant-z5v4ffb3.js";
5
5
  import {
6
6
  Repository2,
7
7
  TreeID2,
8
8
  Service80,
9
9
  node84
10
- } from "./model-c0ke6nr1.js";
10
+ } from "./variant-363vysxk.js";
11
11
  import {
12
12
  Service78,
13
13
  node82
14
- } from "./model-1yft0xp6.js";
14
+ } from "./variant-genng97f.js";
15
15
  import {
16
16
  create3
17
- } from "./model-rdw6cm16.js";
17
+ } from "./variant-rdw6cm16.js";
18
18
  import {
19
19
  __export
20
- } from "./model-9rqn6x4v.js";
20
+ } from "./variant-9rqn6x4v.js";
21
21
 
22
22
  // src/snapshot.ts
23
23
  var exports_snapshot2 = {};
24
24
  __export(exports_snapshot2, {
25
- Error: () => Error2,
25
+ Error: () => Error3,
26
26
  ID: () => ID4,
27
- Service: () => Service33,
27
+ Service: () => Service37,
28
28
  Snapshot: () => exports_snapshot2,
29
- node: () => node36,
29
+ node: () => node40,
30
30
  noopLayer: () => noopLayer2
31
31
  });
32
32
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -36,16 +36,16 @@ import { FSUtil } from "@opencode/util/fs-util";
36
36
  import { Global } from "@opencode/util/global";
37
37
  import { ID as ID4 } from "@opencode/schema/snapshot";
38
38
  import { Hash } from "@opencode/util/hash";
39
- class Error2 extends Schema.TaggedError()("Snapshot.Error", {
39
+ class Error3 extends Schema.TaggedError()("Snapshot.Error", {
40
40
  operation: Schema.Literals(["capture", "files", "diff", "restore"]),
41
41
  message: Schema.String,
42
42
  cause: Schema.optional(Schema.Defect())
43
43
  }) {
44
44
  }
45
45
 
46
- class Service33 extends Context.Service()("@opencode/Snapshot") {
46
+ class Service37 extends Context.Service()("@opencode/Snapshot") {
47
47
  }
48
- var layer = Layer.effect(Service33, Effect.gen(function* () {
48
+ var layer = Layer.effect(Service37, Effect.gen(function* () {
49
49
  const fs = yield* FSUtil.Service;
50
50
  const git = yield* Service80;
51
51
  const global = yield* Global.Service;
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service33, Effect.gen(function* () {
63
63
  const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
64
64
  const source = yield* git.repo.discover(location.project.directory);
65
65
  if (!source)
66
- return yield* new Error2({ operation: "capture", message: "Project is not a Git repository" });
66
+ return yield* new Error3({ operation: "capture", message: "Project is not a Git repository" });
67
67
  const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
68
68
  const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
69
69
  const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service33, Effect.gen(function* () {
73
73
  const scope = Effect.fnUntraced(function* (worktree) {
74
74
  const relative = path.relative(worktree, location.directory);
75
75
  if (relative.startsWith("..") || path.isAbsolute(relative))
76
- return yield* new Error2({ operation: "capture", message: "Location is outside the project" });
76
+ return yield* new Error3({ operation: "capture", message: "Location is outside the project" });
77
77
  return RelativePath2.make(relative.replaceAll("\\", "/") || ".");
78
78
  });
79
79
  const enabled = () => location.vcs?.type === "git" && state.get().enabled;
@@ -127,25 +127,25 @@ var layer = Layer.effect(Service33, Effect.gen(function* () {
127
127
  for (const [file, snapshot] of input.files) {
128
128
  const absolute = path.resolve(worktree, file);
129
129
  if (!FSUtil.contains(worktree, absolute))
130
- return yield* new Error2({ operation: "restore", message: `Path escapes the project: ${file}` });
130
+ return yield* new Error3({ operation: "restore", message: `Path escapes the project: ${file}` });
131
131
  files.set(file, TreeID2.make(snapshot));
132
132
  }
133
133
  return files;
134
134
  });
135
135
  const restore = Effect.fn("Snapshot.restore")(function* (input) {
136
136
  if (!enabled())
137
- return yield* new Error2({ operation: "restore", message: "Snapshots are disabled" });
137
+ return yield* new Error3({ operation: "restore", message: "Snapshots are disabled" });
138
138
  const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
139
139
  yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
140
140
  });
141
- return Service33.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
141
+ return Service37.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
142
142
  }).pipe(Effect.withSpan("Snapshot.boot")));
143
- var node36 = makeLocationNode({
144
- service: Service33,
143
+ var node40 = makeLocationNode({
144
+ service: Service37,
145
145
  layer,
146
146
  deps: [FSUtil.node, node84, Global.node, node82]
147
147
  });
148
- var noopLayer2 = Layer.succeed(Service33, Service33.of({
148
+ var noopLayer2 = Layer.succeed(Service37, Service37.of({
149
149
  transform: () => Effect.succeed({ dispose: Effect.void }),
150
150
  reload: () => Effect.void,
151
151
  capture: () => Effect.undefined,
@@ -154,13 +154,13 @@ var noopLayer2 = Layer.succeed(Service33, Service33.of({
154
154
  restore: () => Effect.void
155
155
  }));
156
156
  function failure(operation, cause) {
157
- if (cause instanceof Error2 && cause.operation === operation)
157
+ if (cause instanceof Error3 && cause.operation === operation)
158
158
  return cause;
159
- return new Error2({
159
+ return new Error3({
160
160
  operation,
161
161
  message: cause instanceof globalThis.Error ? cause.message : String(cause),
162
162
  cause
163
163
  });
164
164
  }
165
165
 
166
- export { ID4, Error2, Service33, node36, noopLayer2, exports_snapshot2 };
166
+ export { ID4, Error3, Service37, node40, noopLayer2, exports_snapshot2 };
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  useragent2
3
- } from "./model-xggz5yyf.js";
3
+ } from "./variant-43a10n5x.js";
4
4
  import {
5
5
  OAuth3,
6
6
  Service70
7
- } from "./model-sy1vayej.js";
7
+ } from "./variant-2c6y2vpm.js";
8
8
  import {
9
- ID12,
9
+ ID9,
10
10
  MethodID2
11
- } from "./model-qy0tcep6.js";
11
+ } from "./variant-27k4znhv.js";
12
12
  import {
13
- ID11,
13
+ ID8,
14
14
  mergeOverlay2
15
- } from "./model-vk57bjhv.js";
15
+ } from "./variant-t10yzrjw.js";
16
16
 
17
17
  // src/plugin/provider/xai.ts
18
18
  import { define } from "@opencode/plugin/effect/plugin";
@@ -24,7 +24,7 @@ var scope = "openid profile email offline_access grok-cli:access api:access";
24
24
  var pollingSafetyMargin = 3000;
25
25
  var browserMethodID = MethodID2.make("browser");
26
26
  var deviceMethodID = MethodID2.make("device");
27
- var providerID = ID11.make("xai");
27
+ var providerID = ID8.make("xai");
28
28
  var Token = Schema.Struct({
29
29
  access_token: Schema.String,
30
30
  refresh_token: Schema.optional(Schema.String),
@@ -44,7 +44,7 @@ var DeviceError = Schema.Struct({
44
44
  });
45
45
  var decodeDeviceError = Schema.decodeUnknownOption(Schema.fromJsonString(DeviceError));
46
46
  var device = (app) => ({
47
- integrationID: ID12.make("xai"),
47
+ integrationID: ID9.make("xai"),
48
48
  method: {
49
49
  id: deviceMethodID,
50
50
  type: "oauth",
@@ -70,7 +70,7 @@ var XAIPlugin2 = define({
70
70
  id: "opencode.provider.xai",
71
71
  effect: Effect.fn(function* (ctx) {
72
72
  const credentials = yield* Service70;
73
- yield* Effect.forEach(yield* credentials.list(ID12.make("xai")), (credential) => {
73
+ yield* Effect.forEach(yield* credentials.list(ID9.make("xai")), (credential) => {
74
74
  if (credential.value.type !== "oauth" || credential.value.methodID !== browserMethodID)
75
75
  return Effect.void;
76
76
  return credentials.update(credential.id, {