@opencode/core 0.0.0-dev-21578 → 0.0.0-dev-21586

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 (790) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +83 -83
  3. package/dist/aisdk-native.js +91 -91
  4. package/dist/aisdk.js +97 -97
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +71 -71
  7. package/dist/chunks/{model-retry-034tev2y.js → plugin-034tev2y.js} +2 -2
  8. package/dist/chunks/{model-retry-vgk61ywp.js → plugin-0421tmwc.js} +9 -9
  9. package/dist/chunks/{model-retry-cxzgb9c8.js → plugin-0gqtjgmn.js} +7 -7
  10. package/dist/chunks/{model-retry-9c2rytg1.js → plugin-0mn1e965.js} +13 -13
  11. package/dist/chunks/{model-retry-jkg2pe84.js → plugin-0p88zpcm.js} +4 -4
  12. package/dist/chunks/{model-retry-0sjdd7gq.js → plugin-0syrr5yv.js} +3 -3
  13. package/dist/chunks/{model-retry-cpfftq47.js → plugin-10zrcpp8.js} +84 -84
  14. package/dist/chunks/{model-retry-9p4ckb4p.js → plugin-1a140ev3.js} +6 -6
  15. package/dist/chunks/{model-retry-1ep2p91f.js → plugin-1ep2p91f.js} +2 -2
  16. package/dist/chunks/{model-retry-1x2knyw4.js → plugin-1x2knyw4.js} +1 -1
  17. package/dist/chunks/{model-retry-8q7mv1dj.js → plugin-1y048hf4.js} +4 -4
  18. package/dist/chunks/{model-retry-th85ze8z.js → plugin-24yf1smp.js} +20 -20
  19. package/dist/chunks/{model-retry-cpvd08na.js → plugin-2azy8kv6.js} +4 -4
  20. package/dist/chunks/{model-retry-t19n7z8d.js → plugin-2dzh91n1.js} +6 -6
  21. package/dist/chunks/{model-retry-ph4tm34a.js → plugin-2k8w2xgz.js} +23 -23
  22. package/dist/chunks/{model-retry-hzpyh7h9.js → plugin-2r4n81ay.js} +4 -4
  23. package/dist/chunks/{model-retry-r2j375b4.js → plugin-2w5xpj9a.js} +13 -13
  24. package/dist/chunks/{model-retry-2z1j29yd.js → plugin-2z1j29yd.js} +1 -1
  25. package/dist/chunks/{model-retry-5kggx843.js → plugin-301ejq9m.js} +338 -338
  26. package/dist/chunks/{model-retry-kg4c4gfk.js → plugin-33md7rg7.js} +28 -28
  27. package/dist/chunks/{model-retry-hqnmqx0e.js → plugin-366nwj0e.js} +40 -40
  28. package/dist/chunks/{model-retry-tryvgcx0.js → plugin-38tv2zyj.js} +4 -4
  29. package/dist/chunks/{model-retry-erxntyyz.js → plugin-397w7c8f.js} +21 -21
  30. package/dist/chunks/{model-retry-csbt6w95.js → plugin-3gmz16jc.js} +23 -23
  31. package/dist/chunks/{model-retry-3hepkmqq.js → plugin-3hepkmqq.js} +1 -1
  32. package/dist/chunks/{model-retry-wzxanmw9.js → plugin-3j47848t.js} +29 -29
  33. package/dist/chunks/{model-retry-3nnrz6f6.js → plugin-3nnrz6f6.js} +1 -1
  34. package/dist/chunks/{model-retry-ecdzwr7h.js → plugin-3p1jwqy9.js} +20 -20
  35. package/dist/chunks/{model-retry-68rqd4da.js → plugin-3zz5way2.js} +17 -17
  36. package/dist/chunks/{model-retry-w2eysc6j.js → plugin-40za9wsf.js} +9 -9
  37. package/dist/chunks/{model-retry-y2nch1ns.js → plugin-417yymah.js} +17 -17
  38. package/dist/chunks/{model-retry-4naewhem.js → plugin-41r5wqck.js} +10 -10
  39. package/dist/chunks/{model-retry-4s75dghy.js → plugin-448xyrnd.js} +3 -3
  40. package/dist/chunks/{model-retry-1aerx206.js → plugin-48hcx8xq.js} +10 -10
  41. package/dist/chunks/{model-retry-vwpgtjfe.js → plugin-49cj2a44.js} +10 -10
  42. package/dist/chunks/{model-retry-98bxk4dy.js → plugin-4arybamx.js} +28 -28
  43. package/dist/chunks/{model-retry-xp50hhgm.js → plugin-4ay3aqda.js} +8 -8
  44. package/dist/chunks/{model-retry-z6w6mvsb.js → plugin-4jbyfzea.js} +17 -17
  45. package/dist/chunks/{model-retry-j4tgmvzd.js → plugin-4neywqsp.js} +40 -40
  46. package/dist/chunks/{model-retry-4v008n1t.js → plugin-4v008n1t.js} +1 -1
  47. package/dist/chunks/{model-retry-k3jmrcrs.js → plugin-4wgfdmqz.js} +15 -15
  48. package/dist/chunks/{model-retry-4xvmh7wp.js → plugin-4xvmh7wp.js} +3 -3
  49. package/dist/chunks/{model-retry-eq10afbe.js → plugin-4z501z63.js} +37 -37
  50. package/dist/chunks/{model-retry-v46zwfxe.js → plugin-56p1jhd3.js} +4 -4
  51. package/dist/chunks/{model-retry-r2z6t62p.js → plugin-5bq6wz19.js} +29 -29
  52. package/dist/chunks/{model-retry-yfvv7qb3.js → plugin-5j441hsm.js} +7 -7
  53. package/dist/chunks/{model-retry-t3qqpd1a.js → plugin-5k63q3tv.js} +19 -19
  54. package/dist/chunks/{model-retry-34j3c5g8.js → plugin-5knrhjv3.js} +26 -26
  55. package/dist/chunks/{model-retry-5m9w47nd.js → plugin-5m9w47nd.js} +1 -1
  56. package/dist/chunks/{model-retry-ft03bety.js → plugin-5qzb0jnx.js} +7 -7
  57. package/dist/chunks/{model-retry-qr8gbtan.js → plugin-6a5mpwr5.js} +15 -15
  58. package/dist/chunks/{model-retry-6esdw8yj.js → plugin-6esdw8yj.js} +1 -1
  59. package/dist/chunks/{model-retry-yvf9xe26.js → plugin-6fesftb4.js} +15 -15
  60. package/dist/chunks/{model-retry-k2e8739q.js → plugin-6g9dc8hg.js} +6 -6
  61. package/dist/chunks/{model-retry-1k9s1gkt.js → plugin-6gf5ywq5.js} +14 -14
  62. package/dist/chunks/{model-retry-6pjqjmy2.js → plugin-6pjqjmy2.js} +1 -1
  63. package/dist/chunks/{model-retry-xadckn2x.js → plugin-6pss4g6t.js} +46 -46
  64. package/dist/chunks/{model-retry-24ag2nfj.js → plugin-6vyssmgt.js} +4 -4
  65. package/dist/chunks/{model-retry-n6v2b7cw.js → plugin-6xqtcmxs.js} +5 -5
  66. package/dist/chunks/{model-retry-ze854dys.js → plugin-6zjmc36r.js} +26 -26
  67. package/dist/chunks/{model-retry-q0gsxww0.js → plugin-729419vw.js} +9 -9
  68. package/dist/chunks/{model-retry-vrc2patz.js → plugin-72pceqnf.js} +15 -15
  69. package/dist/chunks/{model-retry-zq471nd1.js → plugin-749ghc7h.js} +3 -3
  70. package/dist/chunks/{model-retry-76cb1hcw.js → plugin-76cb1hcw.js} +1 -1
  71. package/dist/chunks/{model-retry-3pfffbn2.js → plugin-791mgs72.js} +12 -12
  72. package/dist/chunks/{model-retry-h0ppebc3.js → plugin-7akzmw6y.js} +8 -8
  73. package/dist/chunks/{model-retry-7bmhse3q.js → plugin-7bmhse3q.js} +1 -1
  74. package/dist/chunks/{model-retry-n74gyp3a.js → plugin-7ff5r0gq.js} +16 -16
  75. package/dist/chunks/{model-retry-zyr4n90f.js → plugin-7g38p78c.js} +11 -11
  76. package/dist/chunks/{model-retry-15pq58mc.js → plugin-7g67k8da.js} +24 -24
  77. package/dist/chunks/{model-retry-k0te6n7r.js → plugin-7mjdf1g0.js} +11 -11
  78. package/dist/chunks/{model-retry-2j4z7awa.js → plugin-7r4kye0n.js} +3 -3
  79. package/dist/chunks/{model-retry-160yv0cs.js → plugin-7tpyp9vw.js} +8 -8
  80. package/dist/chunks/{model-retry-w2jghfqb.js → plugin-7tz53k10.js} +4 -4
  81. package/dist/chunks/{model-retry-7w2ypzdf.js → plugin-7w2ypzdf.js} +1 -1
  82. package/dist/chunks/{model-retry-yk3mq3qx.js → plugin-805retjn.js} +4 -4
  83. package/dist/chunks/{model-retry-rnwbpqts.js → plugin-80h8b35m.js} +8 -8
  84. package/dist/chunks/{model-retry-yy1f6ksd.js → plugin-8dv6gnq3.js} +18 -18
  85. package/dist/chunks/{model-retry-3jpry3mm.js → plugin-8ezscwmn.js} +11 -11
  86. package/dist/chunks/{model-retry-vwkq0df4.js → plugin-8f4bgxgj.js} +13 -13
  87. package/dist/chunks/{model-retry-sfva37g4.js → plugin-8f5h2b15.js} +20 -20
  88. package/dist/chunks/{model-retry-s57gj4s6.js → plugin-8j46xfav.js} +61 -61
  89. package/dist/chunks/{model-retry-3wqf40ez.js → plugin-8jf5eje7.js} +7 -7
  90. package/dist/chunks/{model-retry-ww1j827y.js → plugin-8v7xte0w.js} +11 -11
  91. package/dist/chunks/{model-retry-8wtp7s3z.js → plugin-8wtp7s3z.js} +1 -1
  92. package/dist/chunks/{model-retry-52zykg91.js → plugin-8xrx88p0.js} +14 -14
  93. package/dist/chunks/{model-retry-e29sndgb.js → plugin-8ybp78tx.js} +4 -4
  94. package/dist/chunks/{model-retry-91rj84md.js → plugin-91rj84md.js} +1 -1
  95. package/dist/chunks/{model-retry-5afnvqtn.js → plugin-97g22kyc.js} +17 -17
  96. package/dist/chunks/{model-retry-998yhzzq.js → plugin-998yhzzq.js} +3 -3
  97. package/dist/chunks/{model-retry-mx6gwe9b.js → plugin-9erwh778.js} +9 -9
  98. package/dist/chunks/{model-retry-r7g76k7m.js → plugin-9hwz6ehy.js} +25 -25
  99. package/dist/chunks/{model-retry-q9fk87c8.js → plugin-9k575ryj.js} +2 -2
  100. package/dist/chunks/{model-retry-k2k3qgkf.js → plugin-9smwhcrf.js} +11 -11
  101. package/dist/chunks/{model-retry-vgt89nsn.js → plugin-9xkjf5qh.js} +21 -21
  102. package/dist/chunks/{model-retry-ayjs7tqn.js → plugin-ayjs7tqn.js} +2 -2
  103. package/dist/chunks/{model-retry-b0mv4wxm.js → plugin-b0mv4wxm.js} +2 -2
  104. package/dist/chunks/{model-retry-8b8xytn3.js → plugin-b38bfd29.js} +31 -31
  105. package/dist/chunks/{model-retry-b6vsg801.js → plugin-b6vsg801.js} +2 -2
  106. package/dist/chunks/{model-retry-bqkj7jx5.js → plugin-bm4gstpq.js} +8 -8
  107. package/dist/chunks/{model-retry-bstexjd6.js → plugin-bstexjd6.js} +1 -1
  108. package/dist/chunks/{model-retry-eg39tzjz.js → plugin-bx7d5a18.js} +8 -8
  109. package/dist/chunks/{model-retry-xg13h545.js → plugin-bxh642fs.js} +33 -33
  110. package/dist/chunks/{model-retry-xp0rgq9p.js → plugin-c3rdb4mt.js} +16 -16
  111. package/dist/chunks/{model-retry-w76xjer3.js → plugin-c5kjsz6q.js} +4 -4
  112. package/dist/chunks/{model-retry-8sxdqgb0.js → plugin-c8666r4c.js} +6 -6
  113. package/dist/chunks/{model-retry-w4b3j6j4.js → plugin-ch9wmxsn.js} +20 -20
  114. package/dist/chunks/{model-retry-hkav5kft.js → plugin-cqt766kx.js} +22 -22
  115. package/dist/chunks/{model-retry-zbt54ewe.js → plugin-cw0ar5ez.js} +22 -22
  116. package/dist/chunks/{model-retry-z8ef33hm.js → plugin-cz1d3gs1.js} +11 -11
  117. package/dist/chunks/{model-retry-d4v9tmah.js → plugin-d4v9tmah.js} +2 -2
  118. package/dist/chunks/plugin-d77dj7jw.js +18 -0
  119. package/dist/chunks/{model-retry-zv1vb29g.js → plugin-da2n11mt.js} +17 -17
  120. package/dist/chunks/{model-retry-xza2c9y7.js → plugin-daqfgk3c.js} +12 -12
  121. package/dist/chunks/{model-retry-9t2khtsw.js → plugin-ddgdpn03.js} +8 -8
  122. package/dist/chunks/{model-retry-x1p8bhbj.js → plugin-defv51r7.js} +14 -14
  123. package/dist/chunks/{model-retry-hv6nf1gc.js → plugin-dmj8dyf0.js} +28 -28
  124. package/dist/chunks/{model-retry-wdmx20pv.js → plugin-dqgvvwe0.js} +5 -5
  125. package/dist/chunks/{model-retry-45yg3mqn.js → plugin-dwad2f7j.js} +9 -9
  126. package/dist/chunks/{model-retry-masd7ga8.js → plugin-e5dqjz6v.js} +4 -4
  127. package/dist/chunks/{model-retry-156av61h.js → plugin-e67nmve2.js} +42 -42
  128. package/dist/chunks/{model-retry-cgc2w6x5.js → plugin-e6b2spd3.js} +9 -9
  129. package/dist/chunks/{model-retry-h48zeanh.js → plugin-e7p8ph8y.js} +3 -3
  130. package/dist/chunks/{model-retry-e834z07m.js → plugin-e834z07m.js} +1 -1
  131. package/dist/chunks/{model-retry-7h34a4m7.js → plugin-ebhys1ps.js} +24 -24
  132. package/dist/chunks/{model-retry-60qt7jm7.js → plugin-eeys6v1h.js} +9 -9
  133. package/dist/chunks/{model-retry-ef5x83kb.js → plugin-ef5x83kb.js} +1 -1
  134. package/dist/chunks/{model-retry-3z93btg0.js → plugin-ehna047s.js} +29 -29
  135. package/dist/chunks/{model-retry-37psetzb.js → plugin-er4aqx01.js} +164 -164
  136. package/dist/chunks/{model-retry-8mjcdb5t.js → plugin-f9y4vw62.js} +11 -11
  137. package/dist/chunks/{model-retry-1h8v3mbs.js → plugin-faxyqc0y.js} +19 -19
  138. package/dist/chunks/{model-retry-fffv3p7h.js → plugin-fffv3p7h.js} +1 -1
  139. package/dist/chunks/{model-retry-t5nnby66.js → plugin-fjd9pa27.js} +29 -29
  140. package/dist/chunks/{model-retry-4bxv2e09.js → plugin-fjj0tk6a.js} +16 -16
  141. package/dist/chunks/{model-retry-sszzn3zb.js → plugin-fjn8c95x.js} +8 -8
  142. package/dist/chunks/{model-retry-61crdd5b.js → plugin-ft9drwcd.js} +34 -34
  143. package/dist/chunks/{model-retry-8cqc0595.js → plugin-fw04p9ky.js} +14 -14
  144. package/dist/chunks/{model-retry-6ms03s6h.js → plugin-fympbc4e.js} +14 -14
  145. package/dist/chunks/{model-retry-g5h9c0rr.js → plugin-g5h9c0rr.js} +2 -2
  146. package/dist/chunks/{model-retry-wyat3pb7.js → plugin-g83p8h2e.js} +43 -43
  147. package/dist/chunks/{model-retry-n02etsdv.js → plugin-ge8ykx7v.js} +9 -9
  148. package/dist/chunks/{model-retry-q1356wgr.js → plugin-gfhv8a7w.js} +8 -8
  149. package/dist/chunks/{model-retry-hdpt19v3.js → plugin-gj9haxac.js} +18 -18
  150. package/dist/chunks/{model-retry-rctnnajd.js → plugin-gy8qkchn.js} +5 -5
  151. package/dist/chunks/{model-retry-d7s86mhq.js → plugin-h1fax6kt.js} +10 -10
  152. package/dist/chunks/{model-retry-1v7r97e1.js → plugin-h1rfd25p.js} +13 -13
  153. package/dist/chunks/{model-retry-wpfwh9md.js → plugin-h70v2djc.js} +34 -34
  154. package/dist/chunks/{model-retry-esgzgmhw.js → plugin-h9rpd4f8.js} +44 -44
  155. package/dist/chunks/{model-retry-nv23re93.js → plugin-hjqry76z.js} +27 -27
  156. package/dist/chunks/{model-retry-3zfnvm0t.js → plugin-ht2svjmz.js} +3 -3
  157. package/dist/chunks/{model-retry-15tgtsbh.js → plugin-hvca08ne.js} +18 -18
  158. package/dist/chunks/{model-retry-vwn6zxzb.js → plugin-j0tn0vhk.js} +19 -19
  159. package/dist/chunks/{model-retry-j113cymg.js → plugin-j113cymg.js} +1 -1
  160. package/dist/chunks/{model-retry-9y7tqj94.js → plugin-j1wfa86h.js} +9 -9
  161. package/dist/chunks/plugin-j4appf3d.js +257 -0
  162. package/dist/chunks/{model-retry-nsggxdvf.js → plugin-jgeh1xfg.js} +16 -16
  163. package/dist/chunks/{model-retry-awk29ysz.js → plugin-jn5ay4zm.js} +50 -50
  164. package/dist/chunks/{model-retry-kqpfexpa.js → plugin-jp479h69.js} +16 -16
  165. package/dist/chunks/{model-retry-xwjmbdzc.js → plugin-jq9dhj6x.js} +13 -13
  166. package/dist/chunks/{model-retry-k814nvkf.js → plugin-k814nvkf.js} +1 -1
  167. package/dist/chunks/{model-retry-z8n0gtf2.js → plugin-kaz27p2z.js} +5 -5
  168. package/dist/chunks/{model-retry-756ss4w1.js → plugin-kn2ysf14.js} +3 -3
  169. package/dist/chunks/{model-retry-7chdqnqr.js → plugin-kszpdg0e.js} +21 -21
  170. package/dist/chunks/{model-retry-wa1bzbm8.js → plugin-kxdyf56d.js} +1 -1
  171. package/dist/chunks/{model-retry-bez4y6k8.js → plugin-ky4dyj93.js} +16 -16
  172. package/dist/chunks/{model-retry-m1714858.js → plugin-m1714858.js} +1 -1
  173. package/dist/chunks/{model-retry-yy97rbk0.js → plugin-m32k1ycp.js} +5 -5
  174. package/dist/chunks/{model-retry-cx4pt2gs.js → plugin-m4a2gv8g.js} +43 -43
  175. package/dist/chunks/{model-retry-fgshpn0g.js → plugin-m9dfhmzw.js} +16 -16
  176. package/dist/chunks/{model-retry-m9w0rfyh.js → plugin-m9w0rfyh.js} +1 -1
  177. package/dist/chunks/{model-retry-maspj1v3.js → plugin-maspj1v3.js} +1 -1
  178. package/dist/chunks/{model-retry-g1mbn82r.js → plugin-mdc67x4g.js} +28 -28
  179. package/dist/chunks/{model-retry-me5bcav6.js → plugin-me5bcav6.js} +1 -1
  180. package/dist/chunks/{model-retry-df4avf2z.js → plugin-mhkpqspy.js} +7 -7
  181. package/dist/chunks/{model-retry-40m9e2d0.js → plugin-mmwqbvsn.js} +11 -11
  182. package/dist/chunks/{model-retry-w35wzz9x.js → plugin-mmx1mfjr.js} +4 -4
  183. package/dist/chunks/{model-retry-d2887f8n.js → plugin-mtkfycnh.js} +4 -4
  184. package/dist/chunks/{model-retry-ts7mkfs9.js → plugin-mtpeagzc.js} +3 -3
  185. package/dist/chunks/{model-retry-n0p0277s.js → plugin-n0p0277s.js} +1 -1
  186. package/dist/chunks/{model-retry-y2zwb71e.js → plugin-n5tfqgs3.js} +20 -20
  187. package/dist/chunks/{model-retry-9b28cy4d.js → plugin-n9p72mjb.js} +5 -5
  188. package/dist/chunks/{model-retry-1g7gxgxj.js → plugin-na2rxvkn.js} +33 -33
  189. package/dist/chunks/{model-retry-770pw0s1.js → plugin-nah043kf.js} +4 -4
  190. package/dist/chunks/{model-retry-y45pr2fb.js → plugin-namw6z13.js} +4 -4
  191. package/dist/chunks/plugin-nbm4k9b0.js +26 -0
  192. package/dist/chunks/{model-retry-3t73xeyv.js → plugin-nkr5r85d.js} +2 -2
  193. package/dist/chunks/{model-retry-4dg124c5.js → plugin-nrk5vjbf.js} +5 -5
  194. package/dist/chunks/{model-retry-we70t4t4.js → plugin-nshz4qjm.js} +33 -33
  195. package/dist/chunks/{model-retry-p015t6z3.js → plugin-p015t6z3.js} +2 -2
  196. package/dist/chunks/{model-retry-1yq9hg58.js → plugin-p7vhpwh8.js} +5 -5
  197. package/dist/chunks/{model-retry-t5swzbnr.js → plugin-p9hbvaar.js} +52 -52
  198. package/dist/chunks/{model-retry-pc1v25hk.js → plugin-pc1v25hk.js} +1 -1
  199. package/dist/chunks/{model-retry-74ptejxy.js → plugin-peyn19kn.js} +8 -8
  200. package/dist/chunks/{model-retry-2qyq8kt6.js → plugin-pjr10xyc.js} +14 -14
  201. package/dist/chunks/{model-retry-knx0jzac.js → plugin-pkj8p13f.js} +13 -13
  202. package/dist/chunks/{model-retry-pknna89w.js → plugin-pknna89w.js} +1 -1
  203. package/dist/chunks/{model-retry-2v2pdhf7.js → plugin-pmyfzvdp.js} +9 -9
  204. package/dist/chunks/{model-retry-jezcxpfe.js → plugin-pnmjq29r.js} +18 -18
  205. package/dist/chunks/{model-retry-zx3jzspp.js → plugin-pp0fatjv.js} +12 -12
  206. package/dist/chunks/{model-retry-94vx47d3.js → plugin-px1hc5my.js} +19 -19
  207. package/dist/chunks/{model-retry-j3dvs0xp.js → plugin-q5yezhhf.js} +4 -4
  208. package/dist/chunks/{model-retry-j21bkcez.js → plugin-q76kfaah.js} +25 -19
  209. package/dist/chunks/{model-retry-yk0esd9v.js → plugin-qaxt5sce.js} +4 -4
  210. package/dist/chunks/{model-retry-9m15hg5h.js → plugin-qaysd7a4.js} +81 -81
  211. package/dist/chunks/{model-retry-1fg7mrfs.js → plugin-qczn15be.js} +16 -16
  212. package/dist/chunks/{model-retry-qjgzc4b4.js → plugin-qjgzc4b4.js} +1 -1
  213. package/dist/chunks/{model-retry-egmw08v6.js → plugin-qvw98tg0.js} +5 -5
  214. package/dist/chunks/{model-retry-r0yr0wbs.js → plugin-r0yr0wbs.js} +1 -1
  215. package/dist/chunks/{model-retry-3yfh5vy1.js → plugin-r3tr33rt.js} +11 -11
  216. package/dist/chunks/{model-retry-0gka690g.js → plugin-r6wgv8c9.js} +6 -6
  217. package/dist/chunks/{model-retry-88ygbdnp.js → plugin-r90wrezg.js} +3 -3
  218. package/dist/chunks/{model-retry-rb9dy4dg.js → plugin-rb9dy4dg.js} +1 -1
  219. package/dist/chunks/{model-retry-w2bqz3ce.js → plugin-rdbyms1g.js} +14 -14
  220. package/dist/chunks/{model-retry-cae67mny.js → plugin-rrj48g6y.js} +42 -42
  221. package/dist/chunks/{model-retry-rt5dr6hb.js → plugin-rt5dr6hb.js} +1 -1
  222. package/dist/chunks/{model-retry-498wt34r.js → plugin-s0wtbthz.js} +22 -22
  223. package/dist/chunks/{model-retry-1b4vpzzn.js → plugin-s5sagwvf.js} +30 -30
  224. package/dist/chunks/{model-retry-zba5tm1j.js → plugin-s626qfae.js} +4 -4
  225. package/dist/chunks/{model-retry-059af6b1.js → plugin-s6ak25wa.js} +33 -33
  226. package/dist/chunks/{model-retry-sp1qw1fb.js → plugin-s9vx4pc1.js} +10 -10
  227. package/dist/chunks/{model-retry-pen16d07.js → plugin-sbegqkxp.js} +6 -6
  228. package/dist/chunks/{model-retry-j7t09cbk.js → plugin-sen2yr23.js} +25 -25
  229. package/dist/chunks/{model-retry-gcjdgkn2.js → plugin-smfcvx02.js} +9 -9
  230. package/dist/chunks/{model-retry-sqjzf8x2.js → plugin-sqjzf8x2.js} +1 -1
  231. package/dist/chunks/{model-retry-v95bjsh5.js → plugin-srveqww6.js} +10 -10
  232. package/dist/chunks/{model-retry-r4q3d25z.js → plugin-ssxxjq26.js} +16 -16
  233. package/dist/chunks/{model-retry-ws6f2re4.js → plugin-t9hsnqxm.js} +2 -2
  234. package/dist/chunks/{model-retry-4xbwwm4q.js → plugin-ta8zdwzh.js} +9 -9
  235. package/dist/chunks/{model-retry-tczq8hjw.js → plugin-tczq8hjw.js} +1 -1
  236. package/dist/chunks/{model-retry-0mt5amvr.js → plugin-td8eqxqy.js} +30 -30
  237. package/dist/chunks/{model-retry-z2wzaj4z.js → plugin-tdgr4kjk.js} +27 -27
  238. package/dist/chunks/{model-retry-mm9j1s8c.js → plugin-tn6eqn63.js} +32 -32
  239. package/dist/chunks/{model-retry-tw8zr1ps.js → plugin-tw8zr1ps.js} +1 -1
  240. package/dist/chunks/{model-retry-twv2r8f4.js → plugin-twv2r8f4.js} +2 -2
  241. package/dist/chunks/{model-retry-t98mxax0.js → plugin-tz25qr3g.js} +45 -45
  242. package/dist/chunks/{model-retry-k60vgq4n.js → plugin-tzwkjnke.js} +1 -1
  243. package/dist/chunks/{model-retry-vd3b3yk9.js → plugin-vd3b3yk9.js} +1 -1
  244. package/dist/chunks/{model-retry-veqvce7d.js → plugin-veqvce7d.js} +1 -1
  245. package/dist/chunks/{model-retry-q9dphv85.js → plugin-vgye2rsv.js} +40 -40
  246. package/dist/chunks/{model-retry-qnqj5gyz.js → plugin-vhjzha3a.js} +10 -10
  247. package/dist/chunks/{model-retry-5e3jct5k.js → plugin-vhz2gm5v.js} +5 -5
  248. package/dist/chunks/{model-retry-vmfhgzt5.js → plugin-vmfhgzt5.js} +1 -1
  249. package/dist/chunks/{model-retry-typ2bf99.js → plugin-vpfqjjm8.js} +14 -14
  250. package/dist/chunks/{model-retry-1602d4m9.js → plugin-w22yp63b.js} +9 -9
  251. package/dist/chunks/{model-retry-86c107cp.js → plugin-w2yrf1y0.js} +14 -14
  252. package/dist/chunks/{model-retry-w3wsvvr9.js → plugin-w3wsvvr9.js} +1 -1
  253. package/dist/chunks/{model-retry-wf5b31gc.js → plugin-w5hvyx02.js} +28 -28
  254. package/dist/chunks/{model-retry-zra4y4ja.js → plugin-w918znfg.js} +9 -9
  255. package/dist/chunks/{model-retry-wakvkjy4.js → plugin-wakvkjy4.js} +1 -1
  256. package/dist/chunks/{model-retry-zae8bdqe.js → plugin-wc1y9j0c.js} +21 -21
  257. package/dist/chunks/{model-retry-0vh00qd5.js → plugin-wd2jkcgv.js} +13 -13
  258. package/dist/chunks/{model-retry-wd87259q.js → plugin-wd87259q.js} +1 -1
  259. package/dist/chunks/{model-retry-5mhdx2nw.js → plugin-wfxxszdh.js} +7 -7
  260. package/dist/chunks/{model-retry-0h8y3ex8.js → plugin-wr3re1en.js} +4 -4
  261. package/dist/chunks/{model-retry-35ssvayj.js → plugin-wv160yw5.js} +29 -29
  262. package/dist/chunks/{model-retry-kh0bkhb3.js → plugin-wv27004a.js} +15 -15
  263. package/dist/chunks/{model-retry-00qqvw2m.js → plugin-x7esjbfy.js} +17 -17
  264. package/dist/chunks/{model-retry-4dy0rzf7.js → plugin-xd37m1km.js} +17 -17
  265. package/dist/chunks/{model-retry-s35xth4d.js → plugin-xq2ca4h8.js} +11 -11
  266. package/dist/chunks/{model-retry-23g4abx1.js → plugin-xsvfss3y.js} +23 -23
  267. package/dist/chunks/{model-retry-8cnpnqcj.js → plugin-xybbt1mb.js} +24 -24
  268. package/dist/chunks/{model-retry-nbne29zv.js → plugin-y1d3npgy.js} +15 -15
  269. package/dist/chunks/{model-retry-yj9zbm9v.js → plugin-y76evpd0.js} +15 -15
  270. package/dist/chunks/{model-retry-pf6hjb5j.js → plugin-yaq81nk5.js} +21 -21
  271. package/dist/chunks/{model-retry-yb20nhc3.js → plugin-yb20nhc3.js} +1 -1
  272. package/dist/chunks/{model-retry-rsbjq8mx.js → plugin-ye4vqm0y.js} +13 -13
  273. package/dist/chunks/{model-retry-wv3qawbk.js → plugin-ywh0g57p.js} +11 -11
  274. package/dist/chunks/{model-retry-mhsz3gf2.js → plugin-yxwtmgfv.js} +5 -5
  275. package/dist/chunks/{model-retry-2ah2hb02.js → plugin-yyhgxykd.js} +4 -4
  276. package/dist/chunks/{model-retry-z0bkrqjs.js → plugin-z0bkrqjs.js} +1 -1
  277. package/dist/chunks/{model-retry-z38nccrw.js → plugin-z38nccrw.js} +1 -1
  278. package/dist/chunks/{model-retry-2d67wzxw.js → plugin-zezfrnf5.js} +16 -16
  279. package/dist/chunks/{model-retry-5gqydat8.js → plugin-zf7tttqd.js} +32 -32
  280. package/dist/chunks/{model-retry-nszthedh.js → plugin-zg933662.js} +3 -3
  281. package/dist/chunks/{model-retry-j3gdx3ts.js → plugin-zgy84aax.js} +18 -18
  282. package/dist/chunks/{model-retry-zkg84ctx.js → plugin-zkg84ctx.js} +1 -1
  283. package/dist/chunks/{model-retry-vfjd9fmw.js → plugin-zkzkvvbz.js} +32 -32
  284. package/dist/chunks/{model-retry-362tp65q.js → plugin-zvwzcwk0.js} +4 -4
  285. package/dist/chunks/{model-retry-47853hma.js → plugin-zvzfb7fs.js} +14 -14
  286. package/dist/chunks/{model-retry-637q83rh.js → plugin-zw6nt08m.js} +15 -15
  287. package/dist/codemode/catalog.js +1 -1
  288. package/dist/codemode/instructions.js +5 -5
  289. package/dist/codemode/tool.js +3 -3
  290. package/dist/codemode/web.js +1 -1
  291. package/dist/command.js +81 -81
  292. package/dist/config/discovery.js +84 -84
  293. package/dist/config/markdown.js +1 -1
  294. package/dist/config/normalize.js +101 -101
  295. package/dist/config/plugin/agent.js +118 -118
  296. package/dist/config/plugin/command.js +214 -214
  297. package/dist/config/plugin/compaction.js +155 -155
  298. package/dist/config/plugin/compatibility.js +135 -135
  299. package/dist/config/plugin/entry-observer.js +1 -1
  300. package/dist/config/plugin/formatter.js +117 -117
  301. package/dist/config/plugin/image.js +116 -116
  302. package/dist/config/plugin/instruction.js +116 -116
  303. package/dist/config/plugin/location-watcher.js +118 -118
  304. package/dist/config/plugin/mcp.js +125 -125
  305. package/dist/config/plugin/policy.js +117 -117
  306. package/dist/config/plugin/provider.js +116 -116
  307. package/dist/config/plugin/reference.js +118 -118
  308. package/dist/config/plugin/shell.js +118 -118
  309. package/dist/config/plugin/skill-file.js +104 -104
  310. package/dist/config/plugin/skill-scan.js +3 -3
  311. package/dist/config/plugin/skill.js +136 -136
  312. package/dist/config/plugin/snapshot.js +116 -116
  313. package/dist/config/plugin/source.js +119 -119
  314. package/dist/config/plugin/tool-output.js +117 -117
  315. package/dist/config/plugin/websearch.js +117 -117
  316. package/dist/config/plugin/worktree.js +118 -118
  317. package/dist/config/variable.js +1 -1
  318. package/dist/config/watch.js +1 -1
  319. package/dist/config.js +121 -121
  320. package/dist/credential/sql.js +2 -2
  321. package/dist/credential.js +83 -83
  322. package/dist/database/database.js +68 -68
  323. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  324. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  325. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  326. package/dist/database/drizzle/index.js +13 -13
  327. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  328. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  330. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  332. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  337. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  338. package/dist/database/drizzle.js +14 -14
  339. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  340. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  341. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  342. package/dist/database/migration/20260225215848_workspace.js +1 -1
  343. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  344. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  345. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  346. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  347. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  348. package/dist/database/migration/20260323234822_events.js +1 -1
  349. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  350. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  351. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  352. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  353. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  354. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  355. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  356. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  357. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  358. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  359. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  360. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  361. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  362. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  363. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  364. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  365. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  366. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  367. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  368. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  369. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  370. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  371. package/dist/database/migration/20260611035744_credential.js +1 -1
  372. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  373. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  374. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  375. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  376. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  377. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  378. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  379. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  380. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  381. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  382. package/dist/database/migration/20260812213948_worktree.js +1 -1
  383. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  384. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  385. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  386. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  387. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  388. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  389. package/dist/database/migration.gen.js +51 -51
  390. package/dist/database/migration.js +53 -53
  391. package/dist/database/path.js +2 -2
  392. package/dist/database/schema.gen.js +1 -1
  393. package/dist/database/schema.sql.js +1 -1
  394. package/dist/database/sqlite.bun.js +1 -1
  395. package/dist/database/sqlite.js +1 -1
  396. package/dist/database/sqlite.node.js +1 -1
  397. package/dist/database/sqlite.workerd.js +1 -1
  398. package/dist/database/v1-migration.bun.js +78 -78
  399. package/dist/database/v1-migration.js +1 -1
  400. package/dist/effect/app-node-builder.js +369 -369
  401. package/dist/effect/app-node-platform.js +2 -2
  402. package/dist/effect/keyed-mutex.js +1 -1
  403. package/dist/effect/websocket-constructor.js +1 -1
  404. package/dist/environment/driver.js +1 -1
  405. package/dist/environment/environment.js +95 -95
  406. package/dist/environment/exec-defaults.js +2 -2
  407. package/dist/environment/files.js +1 -1
  408. package/dist/environment/index.js +95 -95
  409. package/dist/environment/local.js +2 -2
  410. package/dist/environment/memory.js +2 -2
  411. package/dist/environment/unavailable.js +3 -3
  412. package/dist/event/sql.js +1 -1
  413. package/dist/event-logger.js +72 -72
  414. package/dist/file-access.js +106 -106
  415. package/dist/file-mutation.js +96 -96
  416. package/dist/file-retention.js +1 -1
  417. package/dist/filesystem/fff.bun.js +2 -2
  418. package/dist/filesystem/fff.js +1 -1
  419. package/dist/filesystem/fff.node.js +2 -2
  420. package/dist/filesystem/fff.workerd.js +2 -2
  421. package/dist/filesystem/location-watcher-policy.js +6 -6
  422. package/dist/filesystem/location-watcher.js +227 -227
  423. package/dist/filesystem/protected.js +1 -1
  424. package/dist/filesystem/search.js +101 -101
  425. package/dist/filesystem/watcher-binding.js +1 -1
  426. package/dist/filesystem/watcher.js +11 -11
  427. package/dist/filesystem.js +104 -104
  428. package/dist/form.js +86 -86
  429. package/dist/formatter/builtins.js +2 -2
  430. package/dist/formatter.js +89 -89
  431. package/dist/generate.js +109 -109
  432. package/dist/git.js +10 -10
  433. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  434. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  435. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  436. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  437. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  438. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  439. package/dist/github-copilot/copilot-provider.js +17 -17
  440. package/dist/github-copilot/models.js +93 -93
  441. package/dist/github-copilot/openai-compatible-error.js +1 -1
  442. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  443. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  444. package/dist/github-copilot/responses/openai-error.js +1 -1
  445. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  446. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  447. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  448. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  449. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  450. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  451. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  452. package/dist/image/photon.js +2 -2
  453. package/dist/image.js +6 -6
  454. package/dist/instance/service.js +5 -5
  455. package/dist/instance.js +360 -360
  456. package/dist/instruction-discovery.js +84 -84
  457. package/dist/instructions/builtins.js +89 -89
  458. package/dist/instructions/index.js +3 -3
  459. package/dist/integration/connection.js +3 -3
  460. package/dist/integration.js +87 -87
  461. package/dist/job.js +78 -78
  462. package/dist/kv/sql.js +2 -2
  463. package/dist/kv.js +75 -75
  464. package/dist/location-activity.js +156 -156
  465. package/dist/location-lifecycle.js +109 -109
  466. package/dist/location-service-map.js +88 -88
  467. package/dist/location-services.js +357 -357
  468. package/dist/location.js +89 -89
  469. package/dist/managed-policy.js +8 -8
  470. package/dist/mcp/client.js +93 -93
  471. package/dist/mcp/index.js +109 -109
  472. package/dist/mcp/instructions.js +136 -136
  473. package/dist/mcp/oauth.js +80 -80
  474. package/dist/mcp/stdio.js +92 -92
  475. package/dist/mime.js +1 -1
  476. package/dist/modal/models.js +93 -93
  477. package/dist/model-resolver.js +101 -101
  478. package/dist/model-retry.js +1 -1
  479. package/dist/model.js +100 -100
  480. package/dist/models-dev.js +105 -105
  481. package/dist/oauth/page.js +1 -1
  482. package/dist/permission/saved.js +82 -82
  483. package/dist/permission/sql.js +5 -5
  484. package/dist/permission.js +109 -109
  485. package/dist/persistent-pty/binary.bun.js +1 -1
  486. package/dist/persistent-pty/daemon.js +1 -1
  487. package/dist/persistent-pty/index.js +92 -92
  488. package/dist/persistent-pty/pty-binding.js +1 -1
  489. package/dist/persistent-pty.js +77 -77
  490. package/dist/plugin/agent.js +78 -78
  491. package/dist/plugin/command.js +104 -104
  492. package/dist/plugin/hooks.js +5 -5
  493. package/dist/plugin/host.js +218 -218
  494. package/dist/plugin/identity.js +3 -3
  495. package/dist/plugin/instance.js +5 -5
  496. package/dist/plugin/internal.js +332 -332
  497. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  498. package/dist/plugin/models-dev.js +98 -98
  499. package/dist/plugin/module.js +117 -117
  500. package/dist/plugin/optimize.js +4 -4
  501. package/dist/plugin/plan.js +104 -104
  502. package/dist/plugin/promise.js +1 -1
  503. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  504. package/dist/plugin/provider/azure.js +116 -116
  505. package/dist/plugin/provider/cerebras.js +1 -1
  506. package/dist/plugin/provider/chatgpt.js +116 -116
  507. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  508. package/dist/plugin/provider/cloudflare-workers-ai.js +113 -113
  509. package/dist/plugin/provider/cohere.js +2 -2
  510. package/dist/plugin/provider/configured.js +112 -112
  511. package/dist/plugin/provider/databricks.js +1 -1
  512. package/dist/plugin/provider/digitalocean.js +95 -95
  513. package/dist/plugin/provider/dynamic.js +2 -2
  514. package/dist/plugin/provider/factory.js +1 -1
  515. package/dist/plugin/provider/github-copilot.js +97 -97
  516. package/dist/plugin/provider/gitlab.js +95 -95
  517. package/dist/plugin/provider/google-vertex.js +113 -113
  518. package/dist/plugin/provider/kilo.js +1 -1
  519. package/dist/plugin/provider/llmgateway.js +80 -80
  520. package/dist/plugin/provider/lmstudio.js +125 -125
  521. package/dist/plugin/provider/local.js +122 -122
  522. package/dist/plugin/provider/modal.js +94 -94
  523. package/dist/plugin/provider/neon.js +1 -1
  524. package/dist/plugin/provider/nvidia.js +1 -1
  525. package/dist/plugin/provider/ollama.js +125 -125
  526. package/dist/plugin/provider/openai.js +118 -118
  527. package/dist/plugin/provider/opencode.js +103 -103
  528. package/dist/plugin/provider/openrouter.js +93 -93
  529. package/dist/plugin/provider/perplexity.js +2 -2
  530. package/dist/plugin/provider/poe.js +81 -81
  531. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  532. package/dist/plugin/provider/sap-ai-core.js +93 -93
  533. package/dist/plugin/provider/sdk-factory.js +1 -1
  534. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  535. package/dist/plugin/provider/vercel.js +92 -92
  536. package/dist/plugin/provider/vllm.js +125 -125
  537. package/dist/plugin/provider/xai.js +93 -93
  538. package/dist/plugin/provider/zenmux.js +1 -1
  539. package/dist/plugin/provider.js +170 -170
  540. package/dist/plugin/sdk.js +78 -78
  541. package/dist/plugin/service.js +3 -3
  542. package/dist/plugin/skill.js +134 -134
  543. package/dist/plugin/source-directory.js +1 -1
  544. package/dist/plugin/supervisor.js +349 -349
  545. package/dist/plugin/tool-input-repair.js +4 -4
  546. package/dist/plugin/update.js +6 -6
  547. package/dist/plugin/vcs/git.js +88 -88
  548. package/dist/plugin/vcs/hg.js +88 -88
  549. package/dist/plugin/verbosity.js +95 -95
  550. package/dist/plugin/warming.js +114 -114
  551. package/dist/plugin/websearch/exa.js +7 -7
  552. package/dist/plugin/websearch/firecrawl.js +8 -8
  553. package/dist/plugin/websearch/index.js +9 -9
  554. package/dist/plugin/websearch/mcp.js +6 -6
  555. package/dist/plugin/websearch/parallel.js +8 -8
  556. package/dist/plugin/websearch/tavily.js +6 -6
  557. package/dist/plugin/websearch/tinyfish.js +8 -8
  558. package/dist/plugin.js +223 -223
  559. package/dist/project/schema.js +4 -4
  560. package/dist/project/sql.js +4 -4
  561. package/dist/project.js +90 -90
  562. package/dist/provider.js +99 -99
  563. package/dist/pty/protocol.js +1 -1
  564. package/dist/pty/ticket.js +1 -1
  565. package/dist/pty.js +93 -93
  566. package/dist/reference/instructions.js +91 -91
  567. package/dist/reference.js +91 -91
  568. package/dist/repository-cache.js +83 -83
  569. package/dist/repository.js +1 -1
  570. package/dist/ripgrep/binary.js +2 -2
  571. package/dist/ripgrep.js +97 -97
  572. package/dist/rpc.js +88 -88
  573. package/dist/schema.js +1 -1
  574. package/dist/session/affinity.js +1 -1
  575. package/dist/session/command.js +76 -76
  576. package/dist/session/compaction.js +136 -136
  577. package/dist/session/context.js +164 -164
  578. package/dist/session/diff.js +90 -90
  579. package/dist/session/environment.js +5 -5
  580. package/dist/session/error.js +3 -3
  581. package/dist/session/event.js +1 -1
  582. package/dist/session/execution/restart.js +221 -221
  583. package/dist/session/execution.js +130 -130
  584. package/dist/session/generate.js +166 -166
  585. package/dist/session/history.js +13 -13
  586. package/dist/session/inbox.js +93 -93
  587. package/dist/session/info.js +3 -3
  588. package/dist/session/instruction-entry.js +81 -81
  589. package/dist/session/instruction-state.js +8 -8
  590. package/dist/session/instructions.js +99 -99
  591. package/dist/session/message-updater.js +2 -2
  592. package/dist/session/message.js +1 -1
  593. package/dist/session/model-request.js +122 -122
  594. package/dist/session/model-transport.js +9 -9
  595. package/dist/session/move.js +132 -132
  596. package/dist/session/projector.js +91 -91
  597. package/dist/session/prompt.js +107 -107
  598. package/dist/session/recent-text.js +1 -1
  599. package/dist/session/revert.js +96 -96
  600. package/dist/session/run-coordinator.js +3 -3
  601. package/dist/session/runner/index.js +3 -3
  602. package/dist/session/runner/llm.js +229 -229
  603. package/dist/session/runner/max-steps.js +1 -1
  604. package/dist/session/runner/model.js +101 -101
  605. package/dist/session/runner/publish-llm-event.js +116 -116
  606. package/dist/session/runner/retry.js +5 -5
  607. package/dist/session/runner/step.js +126 -126
  608. package/dist/session/runner/to-llm-message.js +14 -14
  609. package/dist/session/schema.js +5 -5
  610. package/dist/session/session.js +163 -163
  611. package/dist/session/shell.js +130 -130
  612. package/dist/session/skill.js +105 -105
  613. package/dist/session/sql.js +5 -5
  614. package/dist/session/stats.js +75 -75
  615. package/dist/session/store.js +87 -87
  616. package/dist/session/subagent-completion.js +1 -1
  617. package/dist/session/subagent-job.js +212 -212
  618. package/dist/session/system-prompt.js +1 -1
  619. package/dist/session/title.js +162 -162
  620. package/dist/session/to-session-error.js +114 -114
  621. package/dist/session/transfer.js +217 -217
  622. package/dist/session/usage.js +1 -1
  623. package/dist/session.js +216 -216
  624. package/dist/shell/parse.js +8 -8
  625. package/dist/shell/result.js +1 -1
  626. package/dist/shell/scan.js +1 -1
  627. package/dist/shell/select.js +13 -13
  628. package/dist/shell.js +130 -130
  629. package/dist/skill/discovery.js +6 -6
  630. package/dist/skill/instructions.js +109 -109
  631. package/dist/skill.js +114 -114
  632. package/dist/snapshot.js +95 -95
  633. package/dist/state.js +1 -1
  634. package/dist/tool/html-markdown.js +1 -1
  635. package/dist/tool/http-body.js +1 -1
  636. package/dist/tool/mcp.js +135 -135
  637. package/dist/tool/plugin/edit.js +122 -122
  638. package/dist/tool/plugin/file-diff.js +1 -1
  639. package/dist/tool/plugin/glob.js +124 -124
  640. package/dist/tool/plugin/grep.js +122 -122
  641. package/dist/tool/plugin/mcp-resource.js +126 -126
  642. package/dist/tool/plugin/opencode.js +111 -111
  643. package/dist/tool/plugin/patch.js +122 -122
  644. package/dist/tool/plugin/question.js +103 -103
  645. package/dist/tool/plugin/read.js +127 -127
  646. package/dist/tool/plugin/shell.js +217 -217
  647. package/dist/tool/plugin/skill.js +115 -115
  648. package/dist/tool/plugin/subagent.js +219 -219
  649. package/dist/tool/plugin/todo.js +138 -138
  650. package/dist/tool/plugin/webfetch.js +109 -109
  651. package/dist/tool/plugin/websearch.js +116 -116
  652. package/dist/tool/plugin/write.js +124 -124
  653. package/dist/tool/read-filesystem.js +102 -102
  654. package/dist/tool/runtime.js +1 -1
  655. package/dist/tool-output.js +7 -7
  656. package/dist/tool.js +16 -16
  657. package/dist/util/error-summary.js +1 -1
  658. package/dist/util/git-executable.js +2 -2
  659. package/dist/util/lazy.js +1 -1
  660. package/dist/util/slug.js +1 -1
  661. package/dist/util/token.js +1 -1
  662. package/dist/util/which.js +1 -1
  663. package/dist/util/wildcard.js +1 -1
  664. package/dist/v1/config/agent.js +5 -5
  665. package/dist/v1/config/command.js +3 -3
  666. package/dist/v1/config/mcp.js +4 -4
  667. package/dist/v1/config/migrate.js +94 -94
  668. package/dist/v1/config/permission.js +3 -3
  669. package/dist/v1/config/plugin.js +3 -3
  670. package/dist/v1/config/provider-options.js +1 -1
  671. package/dist/v1/config/provider.js +4 -4
  672. package/dist/variant.js +93 -93
  673. package/dist/vcs/patch.js +1 -1
  674. package/dist/vcs.js +91 -91
  675. package/dist/voice.js +88 -88
  676. package/dist/websearch.js +84 -84
  677. package/dist/wellknown/plugin.js +78 -78
  678. package/dist/wellknown.js +83 -83
  679. package/dist/workspace/driver.js +3 -3
  680. package/dist/workspace/sql.js +1 -1
  681. package/dist/workspace.js +80 -80
  682. package/dist/worktree/directory.js +2 -2
  683. package/dist/worktree/git.js +10 -10
  684. package/dist/worktree/sql.js +5 -5
  685. package/dist/worktree/strategies.js +91 -91
  686. package/dist/worktree.js +98 -98
  687. package/package.json +8 -8
  688. package/dist/chunks/model-retry-6zjm2phc.js +0 -18
  689. package/dist/chunks/model-retry-mnd7st07.js +0 -26
  690. package/dist/chunks/model-retry-mxyxrzn2.js +0 -257
  691. /package/dist/chunks/{model-retry-0qkdqm5v.js → plugin-0qkdqm5v.js} +0 -0
  692. /package/dist/chunks/{model-retry-0zkw76rk.js → plugin-0zkw76rk.js} +0 -0
  693. /package/dist/chunks/{model-retry-17cy0kzp.js → plugin-17cy0kzp.js} +0 -0
  694. /package/dist/chunks/{model-retry-1cnp2v09.js → plugin-1cnp2v09.js} +0 -0
  695. /package/dist/chunks/{model-retry-24dcb14g.js → plugin-24dcb14g.js} +0 -0
  696. /package/dist/chunks/{model-retry-2710q6r3.js → plugin-2710q6r3.js} +0 -0
  697. /package/dist/chunks/{model-retry-2bv980vf.js → plugin-2bv980vf.js} +0 -0
  698. /package/dist/chunks/{model-retry-2c3vjs8z.js → plugin-2c3vjs8z.js} +0 -0
  699. /package/dist/chunks/{model-retry-359p4xyc.js → plugin-359p4xyc.js} +0 -0
  700. /package/dist/chunks/{model-retry-3asan66x.js → plugin-3asan66x.js} +0 -0
  701. /package/dist/chunks/{model-retry-3v8g72cx.js → plugin-3v8g72cx.js} +0 -0
  702. /package/dist/chunks/{model-retry-3wcehsnq.js → plugin-3wcehsnq.js} +0 -0
  703. /package/dist/chunks/{model-retry-43n2bw4t.js → plugin-43n2bw4t.js} +0 -0
  704. /package/dist/chunks/{model-retry-4knz6hnm.js → plugin-4knz6hnm.js} +0 -0
  705. /package/dist/chunks/{model-retry-4vcrnpx2.js → plugin-4vcrnpx2.js} +0 -0
  706. /package/dist/chunks/{model-retry-4y7fprxs.js → plugin-4y7fprxs.js} +0 -0
  707. /package/dist/chunks/{model-retry-53557ph1.js → plugin-53557ph1.js} +0 -0
  708. /package/dist/chunks/{model-retry-550bvhaj.js → plugin-550bvhaj.js} +0 -0
  709. /package/dist/chunks/{model-retry-5fjb7ams.js → plugin-5fjb7ams.js} +0 -0
  710. /package/dist/chunks/{model-retry-6prwharc.js → plugin-6prwharc.js} +0 -0
  711. /package/dist/chunks/{model-retry-6q2bdcd1.js → plugin-6q2bdcd1.js} +0 -0
  712. /package/dist/chunks/{model-retry-7akdwqpd.js → plugin-7akdwqpd.js} +0 -0
  713. /package/dist/chunks/{model-retry-7m9af43g.js → plugin-7m9af43g.js} +0 -0
  714. /package/dist/chunks/{model-retry-822emrt2.js → plugin-822emrt2.js} +0 -0
  715. /package/dist/chunks/{model-retry-84wd9syh.js → plugin-84wd9syh.js} +0 -0
  716. /package/dist/chunks/{model-retry-88xbtdfr.js → plugin-88xbtdfr.js} +0 -0
  717. /package/dist/chunks/{model-retry-8n3pysct.js → plugin-8n3pysct.js} +0 -0
  718. /package/dist/chunks/{model-retry-8wj87zfr.js → plugin-8wj87zfr.js} +0 -0
  719. /package/dist/chunks/{model-retry-9a4afbnw.js → plugin-9a4afbnw.js} +0 -0
  720. /package/dist/chunks/{model-retry-9rqn6x4v.js → plugin-9rqn6x4v.js} +0 -0
  721. /package/dist/chunks/{model-retry-a058387c.js → plugin-a058387c.js} +0 -0
  722. /package/dist/chunks/{model-retry-a6k6eb26.js → plugin-a6k6eb26.js} +0 -0
  723. /package/dist/chunks/{model-retry-af5trqkr.js → plugin-af5trqkr.js} +0 -0
  724. /package/dist/chunks/{model-retry-afrmfg78.js → plugin-afrmfg78.js} +0 -0
  725. /package/dist/chunks/{model-retry-aqzs7mqg.js → plugin-aqzs7mqg.js} +0 -0
  726. /package/dist/chunks/{model-retry-atq7p7m5.js → plugin-atq7p7m5.js} +0 -0
  727. /package/dist/chunks/{model-retry-bkyjaxrp.js → plugin-bkyjaxrp.js} +0 -0
  728. /package/dist/chunks/{model-retry-bmr6ed5q.js → plugin-bmr6ed5q.js} +0 -0
  729. /package/dist/chunks/{model-retry-cf4snx6d.js → plugin-cf4snx6d.js} +0 -0
  730. /package/dist/chunks/{model-retry-cvy3z8tj.js → plugin-cvy3z8tj.js} +0 -0
  731. /package/dist/chunks/{model-retry-d9fn303g.js → plugin-d9fn303g.js} +0 -0
  732. /package/dist/chunks/{model-retry-d9jj8t3e.js → plugin-d9jj8t3e.js} +0 -0
  733. /package/dist/chunks/{model-retry-dajrwvna.js → plugin-dajrwvna.js} +0 -0
  734. /package/dist/chunks/{model-retry-dap0rakb.js → plugin-dap0rakb.js} +0 -0
  735. /package/dist/chunks/{model-retry-df08tz66.js → plugin-df08tz66.js} +0 -0
  736. /package/dist/chunks/{model-retry-dy18nga0.js → plugin-dy18nga0.js} +0 -0
  737. /package/dist/chunks/{model-retry-e3qxr5gk.js → plugin-e3qxr5gk.js} +0 -0
  738. /package/dist/chunks/{model-retry-e5kj55wp.js → plugin-e5kj55wp.js} +0 -0
  739. /package/dist/chunks/{model-retry-e73j6tqm.js → plugin-e73j6tqm.js} +0 -0
  740. /package/dist/chunks/{model-retry-ec1grn59.js → plugin-ec1grn59.js} +0 -0
  741. /package/dist/chunks/{model-retry-eh3zwz77.js → plugin-eh3zwz77.js} +0 -0
  742. /package/dist/chunks/{model-retry-emrn6kk6.js → plugin-emrn6kk6.js} +0 -0
  743. /package/dist/chunks/{model-retry-f0mxakyp.js → plugin-f0mxakyp.js} +0 -0
  744. /package/dist/chunks/{model-retry-f6n9ztr4.js → plugin-f6n9ztr4.js} +0 -0
  745. /package/dist/chunks/{model-retry-faypxj3z.js → plugin-faypxj3z.js} +0 -0
  746. /package/dist/chunks/{model-retry-fd410y7t.js → plugin-fd410y7t.js} +0 -0
  747. /package/dist/chunks/{model-retry-g4wezp1m.js → plugin-g4wezp1m.js} +0 -0
  748. /package/dist/chunks/{model-retry-g86h250q.js → plugin-g86h250q.js} +0 -0
  749. /package/dist/chunks/{model-retry-gebd4c9n.js → plugin-gebd4c9n.js} +0 -0
  750. /package/dist/chunks/{model-retry-gftt206x.js → plugin-gftt206x.js} +0 -0
  751. /package/dist/chunks/{model-retry-hcxmzztb.js → plugin-hcxmzztb.js} +0 -0
  752. /package/dist/chunks/{model-retry-hk9envan.js → plugin-hk9envan.js} +0 -0
  753. /package/dist/chunks/{model-retry-j2ntwpah.js → plugin-j2ntwpah.js} +0 -0
  754. /package/dist/chunks/{model-retry-j5zkgpj8.js → plugin-j5zkgpj8.js} +0 -0
  755. /package/dist/chunks/{model-retry-jjkms2e6.js → plugin-jjkms2e6.js} +0 -0
  756. /package/dist/chunks/{model-retry-jr7sbwjy.js → plugin-jr7sbwjy.js} +0 -0
  757. /package/dist/chunks/{model-retry-jwfs4k6c.js → plugin-jwfs4k6c.js} +0 -0
  758. /package/dist/chunks/{model-retry-jze0r7bz.js → plugin-jze0r7bz.js} +0 -0
  759. /package/dist/chunks/{model-retry-jzg6c2d5.js → plugin-jzg6c2d5.js} +0 -0
  760. /package/dist/chunks/{model-retry-m18g726c.js → plugin-m18g726c.js} +0 -0
  761. /package/dist/chunks/{model-retry-mp448xyj.js → plugin-mp448xyj.js} +0 -0
  762. /package/dist/chunks/{model-retry-msx8hqn2.js → plugin-msx8hqn2.js} +0 -0
  763. /package/dist/chunks/{model-retry-n05xt0ee.js → plugin-n05xt0ee.js} +0 -0
  764. /package/dist/chunks/{model-retry-n3j8tn72.js → plugin-n3j8tn72.js} +0 -0
  765. /package/dist/chunks/{model-retry-njntx4h6.js → plugin-njntx4h6.js} +0 -0
  766. /package/dist/chunks/{model-retry-pkyv6v7h.js → plugin-pkyv6v7h.js} +0 -0
  767. /package/dist/chunks/{model-retry-q3sfg36h.js → plugin-q3sfg36h.js} +0 -0
  768. /package/dist/chunks/{model-retry-q74kybfr.js → plugin-q74kybfr.js} +0 -0
  769. /package/dist/chunks/{model-retry-qaymkmh1.js → plugin-qaymkmh1.js} +0 -0
  770. /package/dist/chunks/{model-retry-qb87gjwd.js → plugin-qb87gjwd.js} +0 -0
  771. /package/dist/chunks/{model-retry-qfa1cgps.js → plugin-qfa1cgps.js} +0 -0
  772. /package/dist/chunks/{model-retry-qg3g05ea.js → plugin-qg3g05ea.js} +0 -0
  773. /package/dist/chunks/{model-retry-qrg20bc0.js → plugin-qrg20bc0.js} +0 -0
  774. /package/dist/chunks/{model-retry-rcb2kzg1.js → plugin-rcb2kzg1.js} +0 -0
  775. /package/dist/chunks/{model-retry-sdp7kfr6.js → plugin-sdp7kfr6.js} +0 -0
  776. /package/dist/chunks/{model-retry-ssg3fenm.js → plugin-ssg3fenm.js} +0 -0
  777. /package/dist/chunks/{model-retry-ve7vex1e.js → plugin-ve7vex1e.js} +0 -0
  778. /package/dist/chunks/{model-retry-w803qqfp.js → plugin-w803qqfp.js} +0 -0
  779. /package/dist/chunks/{model-retry-wc3fc9cn.js → plugin-wc3fc9cn.js} +0 -0
  780. /package/dist/chunks/{model-retry-wer8tq1h.js → plugin-wer8tq1h.js} +0 -0
  781. /package/dist/chunks/{model-retry-wjj7prxr.js → plugin-wjj7prxr.js} +0 -0
  782. /package/dist/chunks/{model-retry-wtztk69x.js → plugin-wtztk69x.js} +0 -0
  783. /package/dist/chunks/{model-retry-x0ckcb58.js → plugin-x0ckcb58.js} +0 -0
  784. /package/dist/chunks/{model-retry-x61499pn.js → plugin-x61499pn.js} +0 -0
  785. /package/dist/chunks/{model-retry-y44na4kk.js → plugin-y44na4kk.js} +0 -0
  786. /package/dist/chunks/{model-retry-y8f7s663.js → plugin-y8f7s663.js} +0 -0
  787. /package/dist/chunks/{model-retry-ygaqb7jw.js → plugin-ygaqb7jw.js} +0 -0
  788. /package/dist/chunks/{model-retry-ym463w8f.js → plugin-ym463w8f.js} +0 -0
  789. /package/dist/chunks/{model-retry-z5v4ffb3.js → plugin-z5v4ffb3.js} +0 -0
  790. /package/dist/chunks/{model-retry-z9919s4g.js → plugin-z9919s4g.js} +0 -0
@@ -2,32 +2,32 @@ import {
2
2
  ephemeral2,
3
3
  Service85,
4
4
  node89
5
- } from "./model-retry-yk3mq3qx.js";
5
+ } from "./plugin-805retjn.js";
6
6
  import {
7
7
  Key3,
8
8
  unavailable3,
9
9
  removed2,
10
- make18,
10
+ make20,
11
11
  diffByKey2
12
- } from "./model-retry-masd7ga8.js";
12
+ } from "./plugin-e5dqjz6v.js";
13
13
  import {
14
14
  create3
15
- } from "./model-retry-vd3b3yk9.js";
15
+ } from "./plugin-vd3b3yk9.js";
16
16
  import {
17
17
  __export
18
- } from "./model-retry-9rqn6x4v.js";
18
+ } from "./plugin-9rqn6x4v.js";
19
19
 
20
20
  // src/instruction-discovery.ts
21
21
  var exports_instruction_discovery = {};
22
22
  __export(exports_instruction_discovery, {
23
- Event: () => Event5,
23
+ Event: () => Event8,
24
24
  File: () => File2,
25
25
  InstructionDiscovery: () => exports_instruction_discovery,
26
- Options: () => Options5,
27
- Service: () => Service33,
26
+ Options: () => Options4,
27
+ Service: () => Service49,
28
28
  configured: () => configured5,
29
- layer: () => layer17,
30
- node: () => node36
29
+ layer: () => layer20,
30
+ node: () => node51
31
31
  });
32
32
  import { Context, Effect, Layer, Schema } from "effect";
33
33
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -39,17 +39,17 @@ class File2 extends Schema.Class("InstructionDiscovery.File")({
39
39
  }
40
40
  var Files = Schema.Array(File2);
41
41
  var key = Key3.make("core/instructions");
42
- var Event5 = {
42
+ var Event8 = {
43
43
  Updated: ephemeral2({ type: "instruction-discovery.updated", schema: {} })
44
44
  };
45
- var Options5 = Schema.Struct({
45
+ var Options4 = Schema.Struct({
46
46
  project: Schema.optional(Schema.Boolean),
47
47
  global: Schema.optional(Schema.Boolean)
48
48
  });
49
49
 
50
- class Service33 extends Context.Service()("@opencode/InstructionDiscovery") {
50
+ class Service49 extends Context.Service()("@opencode/InstructionDiscovery") {
51
51
  }
52
- var layer17 = (options) => Layer.effect(Service33, Effect.gen(function* () {
52
+ var layer20 = (options) => Layer.effect(Service49, Effect.gen(function* () {
53
53
  const bus = yield* Service85;
54
54
  const state = create3({
55
55
  name: "instruction-discovery",
@@ -69,9 +69,9 @@ var layer17 = (options) => Layer.effect(Service33, Effect.gen(function* () {
69
69
  editor.available = false;
70
70
  }
71
71
  }),
72
- notify: () => bus.publish(Event5.Updated, {}).pipe(Effect.asVoid)
72
+ notify: () => bus.publish(Event8.Updated, {}).pipe(Effect.asVoid)
73
73
  });
74
- const source = (value) => make18({
74
+ const source = (value) => make20({
75
75
  key,
76
76
  codec: Schema.toCodecJson(Files),
77
77
  read: Effect.succeed(value),
@@ -87,7 +87,7 @@ var layer17 = (options) => Layer.effect(Service33, Effect.gen(function* () {
87
87
  return unavailable3;
88
88
  return Array.from(current.files.values());
89
89
  });
90
- return Service33.of({
90
+ return Service49.of({
91
91
  project: options?.project !== false,
92
92
  global: options?.global !== false,
93
93
  transform: state.transform,
@@ -103,12 +103,12 @@ var layer17 = (options) => Layer.effect(Service33, Effect.gen(function* () {
103
103
  }));
104
104
  function configured5(options) {
105
105
  return makeLocationNode({
106
- service: Service33,
107
- layer: layer17(options),
106
+ service: Service49,
107
+ layer: layer20(options),
108
108
  deps: [node89]
109
109
  });
110
110
  }
111
- var node36 = configured5();
111
+ var node51 = configured5();
112
112
  function render(files) {
113
113
  return files.map((file) => `Instructions from: ${file.path}
114
114
  ${file.content}`).join(`
@@ -139,4 +139,4 @@ ${render([after])}`;
139
139
  `);
140
140
  }
141
141
 
142
- export { File2, Event5, Options5, Service33, layer17, configured5, node36, exports_instruction_discovery };
142
+ export { File2, Event8, Options4, Service49, layer20, configured5, node51, exports_instruction_discovery };
@@ -1,36 +1,36 @@
1
1
  import {
2
2
  useragent2
3
- } from "./model-retry-v95bjsh5.js";
3
+ } from "./plugin-srveqww6.js";
4
4
  import {
5
5
  Service85
6
- } from "./model-retry-yk3mq3qx.js";
6
+ } from "./plugin-805retjn.js";
7
7
  import {
8
8
  OAuth3,
9
9
  Event18,
10
- Service73
11
- } from "./model-retry-w4b3j6j4.js";
10
+ Service75
11
+ } from "./plugin-ch9wmxsn.js";
12
12
  import {
13
13
  ID12,
14
14
  MethodID2,
15
- Service71
16
- } from "./model-retry-csbt6w95.js";
15
+ Service74
16
+ } from "./plugin-3gmz16jc.js";
17
17
  import {
18
18
  success2,
19
19
  error2
20
- } from "./model-retry-yb20nhc3.js";
20
+ } from "./plugin-yb20nhc3.js";
21
21
  import {
22
- ID10
23
- } from "./model-retry-j7t09cbk.js";
22
+ ID11
23
+ } from "./plugin-sen2yr23.js";
24
24
  import {
25
25
  configuredSettings2
26
- } from "./model-retry-t19n7z8d.js";
26
+ } from "./plugin-2dzh91n1.js";
27
27
 
28
28
  // src/plugin/provider/snowflake-cortex.ts
29
29
  import { define } from "@opencode/plugin/effect/plugin";
30
30
  import { Form } from "@opencode/schema/form";
31
31
  import { Clock, Deferred, Effect, Option, Schema, Stream } from "effect";
32
32
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
33
- var providerID = ID10.make("snowflake-cortex");
33
+ var providerID = ID11.make("snowflake-cortex");
34
34
  var integrationID = ID12.make(providerID);
35
35
  var methodID = MethodID2.make("browser");
36
36
  var clientID = "LOCAL_APPLICATION";
@@ -53,8 +53,8 @@ var SnowflakeCortexPlugin2 = define({
53
53
  id: "opencode.provider.snowflake.cortex",
54
54
  effect: Effect.fn(function* (ctx) {
55
55
  const http = yield* HttpClient.HttpClient;
56
- const credentials = yield* Service73;
57
- const integrations = yield* Service71;
56
+ const credentials = yield* Service75;
57
+ const integrations = yield* Service74;
58
58
  const bus = yield* Service85;
59
59
  const configured = yield* configuredSettings2(providerID);
60
60
  const account = { value: "" };
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  getViewSelectedFieldsRuntime2,
3
3
  orderSelectedFields2
4
- } from "./model-retry-emrn6kk6.js";
4
+ } from "./plugin-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";
@@ -1,26 +1,26 @@
1
1
  import {
2
2
  SessionMessage2
3
- } from "./model-retry-gftt206x.js";
3
+ } from "./plugin-gftt206x.js";
4
4
  import {
5
5
  MessageDecodeError2
6
- } from "./model-retry-nszthedh.js";
6
+ } from "./plugin-zg933662.js";
7
7
  import {
8
8
  InitializationBlocked2,
9
9
  read3
10
- } from "./model-retry-masd7ga8.js";
10
+ } from "./plugin-e5dqjz6v.js";
11
11
  import {
12
12
  SessionMessageTable2
13
- } from "./model-retry-998yhzzq.js";
13
+ } from "./plugin-998yhzzq.js";
14
14
  import {
15
15
  initial2,
16
16
  preview3
17
- } from "./model-retry-jkg2pe84.js";
17
+ } from "./plugin-0p88zpcm.js";
18
18
  import {
19
19
  messageToText2
20
- } from "./model-retry-me5bcav6.js";
20
+ } from "./plugin-me5bcav6.js";
21
21
  import {
22
22
  __export
23
- } from "./model-retry-9rqn6x4v.js";
23
+ } from "./plugin-9rqn6x4v.js";
24
24
 
25
25
  // src/session/history.ts
26
26
  var exports_history = {};
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  __export
3
- } from "./model-retry-9rqn6x4v.js";
3
+ } from "./plugin-9rqn6x4v.js";
4
4
 
5
5
  // src/environment/unavailable.ts
6
6
  var exports_unavailable = {};
7
7
  __export(exports_unavailable, {
8
8
  EnvironmentUnavailable: () => exports_unavailable,
9
- layer: () => layer7,
9
+ layer: () => layer8,
10
10
  spawner: () => spawner2
11
11
  });
12
12
  import { Effect, Layer, PlatformError } from "effect";
@@ -17,6 +17,6 @@ var spawner2 = make(() => Effect.fail(PlatformError.systemError({
17
17
  method: "spawn",
18
18
  description: "This location has no execution plane: no workspace is attached and the host cannot spawn processes"
19
19
  })));
20
- var layer7 = Layer.succeed(ChildProcessSpawner, spawner2);
20
+ var layer8 = Layer.succeed(ChildProcessSpawner, spawner2);
21
21
 
22
- export { spawner2, layer7, exports_unavailable };
22
+ export { spawner2, layer8, exports_unavailable };
@@ -1,42 +1,42 @@
1
1
  import {
2
2
  Service85,
3
3
  node89
4
- } from "./model-retry-yk3mq3qx.js";
4
+ } from "./plugin-805retjn.js";
5
5
  import {
6
- Service31,
7
- node34
8
- } from "./model-retry-t98mxax0.js";
6
+ Service33,
7
+ node36
8
+ } from "./plugin-tz25qr3g.js";
9
9
  import {
10
10
  isTextual2
11
- } from "./model-retry-2z1j29yd.js";
11
+ } from "./plugin-2z1j29yd.js";
12
12
  import {
13
- Service53,
14
- node56
15
- } from "./model-retry-hqnmqx0e.js";
13
+ Service60,
14
+ node63
15
+ } from "./plugin-366nwj0e.js";
16
16
  import {
17
- Service34,
18
- node37
19
- } from "./model-retry-r7g76k7m.js";
17
+ Service51,
18
+ node53
19
+ } from "./plugin-9hwz6ehy.js";
20
20
  import {
21
- Service64,
22
- node67
23
- } from "./model-retry-s35xth4d.js";
21
+ Service71,
22
+ node74
23
+ } from "./plugin-xq2ca4h8.js";
24
24
  import {
25
25
  MEDIA_MIMES2
26
- } from "./model-retry-4dy0rzf7.js";
26
+ } from "./plugin-xd37m1km.js";
27
27
  import {
28
28
  __export
29
- } from "./model-retry-9rqn6x4v.js";
29
+ } from "./plugin-9rqn6x4v.js";
30
30
 
31
31
  // src/tool/mcp.ts
32
32
  var exports_mcp3 = {};
33
33
  __export(exports_mcp3, {
34
34
  McpTool: () => exports_mcp3,
35
- Service: () => Service29,
35
+ Service: () => Service32,
36
36
  layer: () => layer15,
37
37
  name: () => name15,
38
38
  namespace: () => namespace2,
39
- node: () => node32
39
+ node: () => node35
40
40
  });
41
41
  import { ToolFailure } from "@opencode/ai";
42
42
  import { McpEvent } from "@opencode/schema/mcp-event";
@@ -47,14 +47,14 @@ var decodeJson = Schema.decodeUnknownOption(Schema.fromJsonString(Schema.Unknown
47
47
  var namespace2 = (server) => server.replace(/[^a-zA-Z0-9_-]/g, "_");
48
48
  var name15 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
49
49
 
50
- class Service29 extends Context.Service()("@opencode/McpTool") {
50
+ class Service32 extends Context.Service()("@opencode/McpTool") {
51
51
  }
52
- var layer15 = Layer.effect(Service29, Effect.gen(function* () {
53
- const mcp = yield* Service31;
54
- const tools = yield* Service34;
52
+ var layer15 = Layer.effect(Service32, Effect.gen(function* () {
53
+ const mcp = yield* Service33;
54
+ const tools = yield* Service51;
55
55
  const bus = yield* Service85;
56
- const permission = yield* Service53;
57
- const toolOutput = yield* Service64;
56
+ const permission = yield* Service60;
57
+ const toolOutput = yield* Service71;
58
58
  const lock = Semaphore.makeUnsafe(1);
59
59
  let discovered = [];
60
60
  const initial = yield* lock.withPermit(Effect.gen(function* () {
@@ -124,7 +124,7 @@ var layer15 = Layer.effect(Service29, Effect.gen(function* () {
124
124
  yield* bus.subscribe(McpEvent.ToolsChanged).pipe(Stream.runForEach(() => PubSub.publish(changes, undefined)), Effect.forkScoped({ startImmediately: true }));
125
125
  const updates = yield* PubSub.subscribe(changes);
126
126
  yield* Stream.fromSubscription(updates).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reconcile), Effect.forkScoped({ startImmediately: true }));
127
- return Service29.of({ flush: Effect.asVoid(Fiber.await(initial)) });
127
+ return Service32.of({ flush: Effect.asVoid(Fiber.await(initial)) });
128
128
  }));
129
129
  var toContent = Effect.fnUntraced(function* (part, toolOutput) {
130
130
  if (part.type === "text")
@@ -144,10 +144,10 @@ ${bytes.toString("utf8")}` };
144
144
  text: `[Binary resource ${label} (${part.mimeType}, ${bytes.byteLength} bytes) saved to ${file}]`
145
145
  };
146
146
  });
147
- var node32 = makeLocationNode({
148
- service: Service29,
147
+ var node35 = makeLocationNode({
148
+ service: Service32,
149
149
  layer: layer15,
150
- deps: [node37, node34, node89, node56, node67]
150
+ deps: [node53, node36, node89, node63, node74]
151
151
  });
152
152
 
153
- export { namespace2, name15, Service29, layer15, node32, exports_mcp3 };
153
+ export { namespace2, name15, Service32, layer15, node35, exports_mcp3 };
@@ -1,30 +1,30 @@
1
1
  import {
2
- Service80,
3
- node84
4
- } from "./model-retry-1fg7mrfs.js";
2
+ Service81,
3
+ node85
4
+ } from "./plugin-qczn15be.js";
5
5
  import {
6
6
  create3
7
- } from "./model-retry-vd3b3yk9.js";
7
+ } from "./plugin-vd3b3yk9.js";
8
8
  import {
9
9
  __export
10
- } from "./model-retry-9rqn6x4v.js";
10
+ } from "./plugin-9rqn6x4v.js";
11
11
 
12
12
  // src/formatter.ts
13
13
  var exports_formatter2 = {};
14
14
  __export(exports_formatter2, {
15
15
  Formatter: () => exports_formatter2,
16
- Service: () => Service76,
17
- node: () => node79
16
+ Service: () => Service19,
17
+ node: () => node21
18
18
  });
19
19
  import { Context, Effect, Layer } from "effect";
20
20
  import { ChildProcess } from "effect/process";
21
21
  import path from "path";
22
22
  import { makeLocationNode } from "@opencode/util/effect/app-node";
23
23
  import { AppProcess } from "@opencode/util/process";
24
- class Service76 extends Context.Service()("@opencode/v2/Formatter") {
24
+ class Service19 extends Context.Service()("@opencode/v2/Formatter") {
25
25
  }
26
- var layer = Layer.effect(Service76, Effect.gen(function* () {
27
- const location = yield* Service80;
26
+ var layer = Layer.effect(Service19, Effect.gen(function* () {
27
+ const location = yield* Service81;
28
28
  const processes = yield* AppProcess.Service;
29
29
  const commands = new WeakMap;
30
30
  const state = create3({
@@ -85,12 +85,12 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
85
85
  }
86
86
  return false;
87
87
  });
88
- return Service76.of({ transform: state.transform, reload: state.reload, file });
88
+ return Service19.of({ transform: state.transform, reload: state.reload, file });
89
89
  }));
90
- var node79 = makeLocationNode({
91
- service: Service76,
90
+ var node21 = makeLocationNode({
91
+ service: Service19,
92
92
  layer,
93
- deps: [node84, AppProcess.node]
93
+ deps: [node85, AppProcess.node]
94
94
  });
95
95
 
96
- export { Service76, node79, exports_formatter2 };
96
+ export { Service19, node21, exports_formatter2 };
@@ -1,48 +1,48 @@
1
1
  import {
2
2
  Service86,
3
3
  node90
4
- } from "./model-retry-h48zeanh.js";
4
+ } from "./plugin-e7p8ph8y.js";
5
5
  import {
6
6
  PermissionTable2
7
- } from "./model-retry-1ep2p91f.js";
7
+ } from "./plugin-1ep2p91f.js";
8
8
  import {
9
9
  __export
10
- } from "./model-retry-9rqn6x4v.js";
10
+ } from "./plugin-9rqn6x4v.js";
11
11
 
12
12
  // src/permission/saved.ts
13
13
  var exports_saved = {};
14
14
  __export(exports_saved, {
15
15
  ConflictError: () => ConflictError2,
16
- ID: () => ID7,
17
- Info: () => Info11,
16
+ ID: () => ID8,
17
+ Info: () => Info12,
18
18
  NotFoundError: () => NotFoundError9,
19
19
  PermissionSaved: () => exports_saved,
20
- Service: () => Service55,
21
- node: () => node58
20
+ Service: () => Service62,
21
+ node: () => node65
22
22
  });
23
23
  import { eq } from "drizzle-orm";
24
24
  import { Cause, Context, DateTime, Effect, Layer, Schema } from "effect";
25
25
  import { isSqlError } from "effect/sql/SqlError";
26
26
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
27
27
  import { PermissionSaved } from "@opencode/schema/permission-saved";
28
- var ID7 = PermissionSaved.ID;
29
- var Info11 = PermissionSaved.Info;
28
+ var ID8 = PermissionSaved.ID;
29
+ var Info12 = PermissionSaved.Info;
30
30
 
31
31
  class NotFoundError9 extends Schema.TaggedError()("PermissionSaved.NotFoundError", {
32
- id: ID7
32
+ id: ID8
33
33
  }) {
34
34
  }
35
35
 
36
36
  class ConflictError2 extends Schema.TaggedError()("PermissionSaved.ConflictError", {
37
- id: ID7,
37
+ id: ID8,
38
38
  action: Schema.String,
39
39
  resource: Schema.String
40
40
  }) {
41
41
  }
42
42
 
43
- class Service55 extends Context.Service()("@opencode/PermissionSaved") {
43
+ class Service62 extends Context.Service()("@opencode/PermissionSaved") {
44
44
  }
45
- var layer = Layer.effect(Service55, Effect.gen(function* () {
45
+ var layer = Layer.effect(Service62, Effect.gen(function* () {
46
46
  const db = (yield* Service86).db;
47
47
  const list = Effect.fnUntraced(function* (input) {
48
48
  const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
@@ -52,7 +52,7 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
52
52
  if (!input.resources.length)
53
53
  return;
54
54
  yield* db.insert(PermissionTable2).values(input.resources.map((resource) => ({
55
- id: ID7.create(),
55
+ id: ID8.create(),
56
56
  project_id: input.projectID,
57
57
  action: input.action,
58
58
  resource
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
72
72
  const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
73
73
  yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
74
74
  });
75
- return Service55.of({ list, add, update, remove });
75
+ return Service62.of({ list, add, update, remove });
76
76
  }));
77
77
  var isUniqueViolation = (error) => {
78
78
  const sql = Cause.isCause(error.cause) ? Cause.squash(error.cause) : error.cause;
@@ -90,6 +90,6 @@ var info = (row) => ({
90
90
  updated: DateTime.makeUnsafe(row.time_updated)
91
91
  }
92
92
  });
93
- var node58 = makeGlobalNode({ service: Service55, layer, deps: [node90] });
93
+ var node65 = makeGlobalNode({ service: Service62, layer, deps: [node90] });
94
94
 
95
- export { ID7, Info11, NotFoundError9, ConflictError2, Service55, node58, exports_saved };
95
+ export { ID8, Info12, NotFoundError9, ConflictError2, Service62, node65, exports_saved };
@@ -2,20 +2,20 @@ import {
2
2
  NonNegativeInt2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./model-retry-z5v4ffb3.js";
5
+ } from "./plugin-z5v4ffb3.js";
6
6
  import {
7
- Service78,
8
- node81
9
- } from "./model-retry-15pq58mc.js";
7
+ Service79,
8
+ node82
9
+ } from "./plugin-7g67k8da.js";
10
10
  import {
11
- Content3
12
- } from "./model-retry-0mt5amvr.js";
11
+ Content2
12
+ } from "./plugin-td8eqxqy.js";
13
13
  import {
14
14
  detect2
15
- } from "./model-retry-2z1j29yd.js";
15
+ } from "./plugin-2z1j29yd.js";
16
16
  import {
17
17
  __export
18
- } from "./model-retry-9rqn6x4v.js";
18
+ } from "./plugin-9rqn6x4v.js";
19
19
 
20
20
  // src/tool/read-filesystem.ts
21
21
  var exports_read_filesystem = {};
@@ -33,9 +33,9 @@ __export(exports_read_filesystem, {
33
33
  PageInput: () => PageInput2,
34
34
  PathKindError: () => PathKindError2,
35
35
  ReadToolFileSystem: () => exports_read_filesystem,
36
- Service: () => Service30,
36
+ Service: () => Service34,
37
37
  TextPage: () => TextPage2,
38
- node: () => node33,
38
+ node: () => node37,
39
39
  read: () => read2
40
40
  });
41
41
  import path from "path";
@@ -89,7 +89,7 @@ var PageInput2 = Schema.Struct({
89
89
  });
90
90
  var FileContent2 = Schema.Struct({
91
91
  type: Schema.Literal("file"),
92
- ...Content3.fields
92
+ ...Content2.fields
93
93
  }).annotate({ identifier: "ReadTool.FileContent" });
94
94
 
95
95
  class TextPage2 extends Schema.Class("ReadTool.TextPage")({
@@ -114,7 +114,7 @@ class ListPage2 extends Schema.Class("ReadTool.ListPage")({
114
114
  }) {
115
115
  }
116
116
 
117
- class Service30 extends Context.Service()("@opencode/ReadToolFileSystem") {
117
+ class Service34 extends Context.Service()("@opencode/ReadToolFileSystem") {
118
118
  }
119
119
  var mimeType = (value) => lookup(value) || "application/octet-stream";
120
120
  var read2 = Effect.fn("ReadTool.read")(function* (files, input, resource, page = {}) {
@@ -330,13 +330,13 @@ var nthNewline = (bytes, count) => {
330
330
  return index + 1;
331
331
  }
332
332
  };
333
- var layer = Layer.effect(Service30, Effect.gen(function* () {
334
- const environment = yield* Service78;
335
- return Service30.of({
333
+ var layer = Layer.effect(Service34, Effect.gen(function* () {
334
+ const environment = yield* Service79;
335
+ return Service34.of({
336
336
  list: environment.files.list,
337
337
  read: (path2, resource, page) => read2(environment.files, path2, resource, page)
338
338
  });
339
339
  }));
340
- var node33 = makeLocationNode({ service: Service30, layer, deps: [node81] });
340
+ var node37 = makeLocationNode({ service: Service34, layer, deps: [node82] });
341
341
 
342
- export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service30, read2, node33, exports_read_filesystem };
342
+ export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service34, read2, node37, exports_read_filesystem };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  cleanup3
3
- } from "./model-retry-tczq8hjw.js";
3
+ } from "./plugin-tczq8hjw.js";
4
4
  import {
5
5
  create3
6
- } from "./model-retry-vd3b3yk9.js";
6
+ } from "./plugin-vd3b3yk9.js";
7
7
  import {
8
8
  __export
9
- } from "./model-retry-9rqn6x4v.js";
9
+ } from "./plugin-9rqn6x4v.js";
10
10
 
11
11
  // src/tool-output.ts
12
12
  var exports_tool_output2 = {};
@@ -15,10 +15,10 @@ __export(exports_tool_output2, {
15
15
  MAX_BYTES: () => MAX_BYTES2,
16
16
  MAX_LINES: () => MAX_LINES2,
17
17
  RETENTION: () => RETENTION3,
18
- Service: () => Service64,
18
+ Service: () => Service71,
19
19
  ToolOutput: () => exports_tool_output2,
20
20
  fileName: () => fileName2,
21
- node: () => node67
21
+ node: () => node74
22
22
  });
23
23
  import path from "path";
24
24
  import { Context, Duration, Effect, Layer, Schedule } from "effect";
@@ -32,13 +32,13 @@ var RETENTION3 = Duration.days(7);
32
32
  var DIRECTORY3 = "tool-output";
33
33
  var fileName2 = (timestamp) => "tool_" + Identifier.create(false, timestamp);
34
34
 
35
- class Service64 extends Context.Service()("@opencode/ToolOutput") {
35
+ class Service71 extends Context.Service()("@opencode/ToolOutput") {
36
36
  }
37
37
  var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
38
38
  const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
39
39
  yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
40
40
  });
41
- var layer = Layer.effect(Service64, Effect.gen(function* () {
41
+ var layer = Layer.effect(Service71, Effect.gen(function* () {
42
42
  const fs = yield* FSUtil.Service;
43
43
  const global = yield* Global.Service;
44
44
  const directory = path.join(global.data, DIRECTORY3);
@@ -121,7 +121,7 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
121
121
  yield* fs.writeWithDirs(file, bytes).pipe(Effect.orDie);
122
122
  return file;
123
123
  });
124
- return Service64.of({
124
+ return Service71.of({
125
125
  transform: state.transform,
126
126
  reload: state.reload,
127
127
  truncate,
@@ -139,10 +139,10 @@ var cleanupNode = makeGlobalNode({
139
139
  layer: cleanupLayer,
140
140
  deps: [FSUtil.node, Global.node]
141
141
  });
142
- var node67 = makeLocationNode({
143
- service: Service64,
142
+ var node74 = makeLocationNode({
143
+ service: Service71,
144
144
  layer,
145
145
  deps: [FSUtil.node, Global.node, cleanupNode]
146
146
  });
147
147
 
148
- export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2, Service64, node67, exports_tool_output2 };
148
+ export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2, Service71, node74, exports_tool_output2 };