@opencode/core 0.0.0-dev-20822 → 0.0.0-dev-20824

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 (788) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +85 -85
  3. package/dist/aisdk-native.js +91 -91
  4. package/dist/aisdk.js +96 -96
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +75 -75
  7. package/dist/chunks/{generate-kqx1b4hy.js → snapshot-0b5g1ynf.js} +4 -4
  8. package/dist/chunks/{generate-q0xm7vwc.js → snapshot-0j77ygfz.js} +6 -6
  9. package/dist/chunks/{generate-0paq2nw3.js → snapshot-0paq2nw3.js} +1 -1
  10. package/dist/chunks/{generate-71ngg8t7.js → snapshot-0qb3255k.js} +21 -21
  11. package/dist/chunks/{generate-pz6ttcym.js → snapshot-0s6x0vhx.js} +16 -16
  12. package/dist/chunks/snapshot-0v2trax5.js +26 -0
  13. package/dist/chunks/{generate-0vbcp93d.js → snapshot-0vbcp93d.js} +2 -2
  14. package/dist/chunks/{generate-k16919zw.js → snapshot-111rf178.js} +131 -131
  15. package/dist/chunks/{generate-h2vs0bhh.js → snapshot-129ewq9p.js} +11 -11
  16. package/dist/chunks/{generate-1t7jvytf.js → snapshot-1kv6jnwh.js} +3 -3
  17. package/dist/chunks/{generate-5w5jq283.js → snapshot-1p2qp805.js} +39 -39
  18. package/dist/chunks/{generate-hzrfc1p4.js → snapshot-1w9a9pv3.js} +3 -3
  19. package/dist/chunks/{generate-jgttmm4a.js → snapshot-207ajt2h.js} +5 -5
  20. package/dist/chunks/{generate-99p0sw4h.js → snapshot-20frjwk8.js} +2 -2
  21. package/dist/chunks/{generate-s753ees3.js → snapshot-28wma5yh.js} +9 -9
  22. package/dist/chunks/{generate-4ts7tf6z.js → snapshot-2ccvkpx1.js} +2 -2
  23. package/dist/chunks/{generate-y8h65rfj.js → snapshot-2d5ym5sj.js} +9 -9
  24. package/dist/chunks/{generate-w40ef370.js → snapshot-2e6r65fb.js} +35 -35
  25. package/dist/chunks/{generate-cpneeje0.js → snapshot-2mq1h16s.js} +9 -9
  26. package/dist/chunks/{generate-2vvh33eb.js → snapshot-2vvh33eb.js} +2 -2
  27. package/dist/chunks/{generate-c9gd1t00.js → snapshot-32hp3d4a.js} +14 -14
  28. package/dist/chunks/{generate-3bq8wp9n.js → snapshot-36vcrazm.js} +33 -33
  29. package/dist/chunks/{generate-2p2kjyer.js → snapshot-37ecaprz.js} +12 -12
  30. package/dist/chunks/{generate-jmh888fr.js → snapshot-39z47dss.js} +16 -16
  31. package/dist/chunks/{generate-94s2fjr0.js → snapshot-3dwzfaah.js} +24 -24
  32. package/dist/chunks/{generate-3fc6dm20.js → snapshot-3fc6dm20.js} +1 -1
  33. package/dist/chunks/{generate-6se1cknn.js → snapshot-3h3j01xz.js} +27 -27
  34. package/dist/chunks/{generate-3hepkmqq.js → snapshot-3hepkmqq.js} +1 -1
  35. package/dist/chunks/{generate-3hwn7j4h.js → snapshot-3hwn7j4h.js} +2 -2
  36. package/dist/chunks/{generate-h2qe489w.js → snapshot-3jhv51p4.js} +6 -6
  37. package/dist/chunks/{generate-reqxrgzt.js → snapshot-3mj6y1s4.js} +81 -81
  38. package/dist/chunks/{generate-bh0zzf2s.js → snapshot-3rtxz4nr.js} +8 -8
  39. package/dist/chunks/{generate-3smtnn6g.js → snapshot-3smtnn6g.js} +1 -1
  40. package/dist/chunks/{generate-3tvqynh2.js → snapshot-3tvqynh2.js} +1 -1
  41. package/dist/chunks/{generate-160rcs8y.js → snapshot-3z984t13.js} +53 -53
  42. package/dist/chunks/{generate-3zsf4n22.js → snapshot-3zsf4n22.js} +1 -1
  43. package/dist/chunks/{generate-p8jn648k.js → snapshot-45s0xkqg.js} +9 -9
  44. package/dist/chunks/{generate-0r3c1bmw.js → snapshot-47jkzegy.js} +5 -5
  45. package/dist/chunks/{generate-qzdbzfxf.js → snapshot-47x322b4.js} +9 -9
  46. package/dist/chunks/{generate-5ymeyv1w.js → snapshot-4dgq8ykd.js} +20 -20
  47. package/dist/chunks/{generate-wnmcdmt7.js → snapshot-4xbwzyc1.js} +17 -17
  48. package/dist/chunks/{generate-54ma36ye.js → snapshot-54ma36ye.js} +1 -1
  49. package/dist/chunks/{generate-b9zxqtkb.js → snapshot-566zwc6g.js} +11 -11
  50. package/dist/chunks/{generate-tzgez07c.js → snapshot-5ary8kky.js} +89 -89
  51. package/dist/chunks/{generate-n1n192bv.js → snapshot-5dkn69vz.js} +4 -4
  52. package/dist/chunks/{generate-mkr540vq.js → snapshot-5dsdkjma.js} +3 -3
  53. package/dist/chunks/{generate-e0qr11w8.js → snapshot-5egnrbez.js} +3 -3
  54. package/dist/chunks/{generate-5m9w47nd.js → snapshot-5m9w47nd.js} +1 -1
  55. package/dist/chunks/{generate-09zenxvv.js → snapshot-5nekprf5.js} +22 -22
  56. package/dist/chunks/{generate-bpcxez5f.js → snapshot-5sjpqk1d.js} +34 -34
  57. package/dist/chunks/{generate-qawb3j5e.js → snapshot-6jw7hjkg.js} +22 -22
  58. package/dist/chunks/{generate-6xb47vfp.js → snapshot-6xb47vfp.js} +1 -1
  59. package/dist/chunks/{generate-sycqys4s.js → snapshot-70nermmm.js} +8 -8
  60. package/dist/chunks/{generate-1y9xp183.js → snapshot-72rw85ce.js} +11 -11
  61. package/dist/chunks/{generate-9jh6z5zf.js → snapshot-749np7n7.js} +14 -14
  62. package/dist/chunks/{generate-neaak72d.js → snapshot-77pxmfw4.js} +1 -1
  63. package/dist/chunks/{generate-7bmhse3q.js → snapshot-7bmhse3q.js} +1 -1
  64. package/dist/chunks/{generate-8sze2n9a.js → snapshot-7fkffz83.js} +8 -8
  65. package/dist/chunks/{generate-yanphvs7.js → snapshot-7fxqwhb5.js} +40 -40
  66. package/dist/chunks/{generate-kkxs5m9r.js → snapshot-7jmepwah.js} +24 -24
  67. package/dist/chunks/{generate-5y870mzr.js → snapshot-7njjaav3.js} +35 -35
  68. package/dist/chunks/{generate-6jcs850k.js → snapshot-7p3ap5qj.js} +32 -32
  69. package/dist/chunks/{generate-5x9qztn0.js → snapshot-7s9dxxnz.js} +2 -2
  70. package/dist/chunks/{generate-7zp440a8.js → snapshot-7shdw42h.js} +56 -56
  71. package/dist/chunks/{generate-veskmrv3.js → snapshot-7xaj531f.js} +14 -14
  72. package/dist/chunks/{generate-84txncab.js → snapshot-84txncab.js} +1 -1
  73. package/dist/chunks/{generate-f8csk04c.js → snapshot-8878tmfa.js} +37 -37
  74. package/dist/chunks/{generate-d6ajg2rf.js → snapshot-8jz9smqe.js} +11 -11
  75. package/dist/chunks/{generate-8m6m0r52.js → snapshot-8m6m0r52.js} +1 -1
  76. package/dist/chunks/{generate-73kdj4zj.js → snapshot-8mbscqky.js} +8 -8
  77. package/dist/chunks/{generate-7ey4124n.js → snapshot-8q8t1tnc.js} +13 -13
  78. package/dist/chunks/{generate-8a4nd1r6.js → snapshot-8r48d4az.js} +13 -13
  79. package/dist/chunks/{generate-bj8v9jw6.js → snapshot-8s9q11c2.js} +9 -9
  80. package/dist/chunks/snapshot-8ztaq101.js +253 -0
  81. package/dist/chunks/{generate-xjc6kz28.js → snapshot-94mp14g8.js} +4 -4
  82. package/dist/chunks/{generate-hcv80w8f.js → snapshot-967benbv.js} +11 -11
  83. package/dist/chunks/{generate-krndrss9.js → snapshot-97ssdx1g.js} +4 -4
  84. package/dist/chunks/{generate-2qfnhhnx.js → snapshot-9hkcxdmn.js} +14 -14
  85. package/dist/chunks/{generate-7pkkq0g6.js → snapshot-9ry79bhp.js} +9 -9
  86. package/dist/chunks/{generate-pzr67869.js → snapshot-9styxqgn.js} +25 -25
  87. package/dist/chunks/{generate-qhhybq9g.js → snapshot-9zegdr80.js} +16 -16
  88. package/dist/chunks/{generate-kwr9kqyk.js → snapshot-a5hmx7s0.js} +13 -13
  89. package/dist/chunks/{generate-rj5es3mk.js → snapshot-aadyv573.js} +6 -6
  90. package/dist/chunks/{generate-addxnjmp.js → snapshot-addxnjmp.js} +1 -1
  91. package/dist/chunks/{generate-em04vqmr.js → snapshot-apwm8s3j.js} +5 -5
  92. package/dist/chunks/{generate-tgk11rr4.js → snapshot-atc2a3q3.js} +16 -16
  93. package/dist/chunks/{generate-mnrbdwmb.js → snapshot-atej3qbc.js} +10 -10
  94. package/dist/chunks/{generate-xw12mrbm.js → snapshot-ayrv2wcb.js} +11 -11
  95. package/dist/chunks/{generate-t2fc4mz5.js → snapshot-b27vhd2z.js} +4 -4
  96. package/dist/chunks/{generate-gdrandd6.js → snapshot-b59z99xa.js} +50 -50
  97. package/dist/chunks/{generate-qjgcwqyh.js → snapshot-b6y0nnhw.js} +3 -3
  98. package/dist/chunks/{generate-jmpkjbdp.js → snapshot-b96azaea.js} +33 -33
  99. package/dist/chunks/{generate-kq9xgsr8.js → snapshot-bahnv37p.js} +17 -17
  100. package/dist/chunks/{generate-26ygdbvf.js → snapshot-bhdm2eva.js} +19 -19
  101. package/dist/chunks/{generate-fdcefk57.js → snapshot-bjgzcebz.js} +24 -24
  102. package/dist/chunks/{generate-5ndn92dg.js → snapshot-bkgjq45n.js} +14 -14
  103. package/dist/chunks/{generate-r9xkyv2s.js → snapshot-br53zv5y.js} +13 -13
  104. package/dist/chunks/{generate-1wa46tec.js → snapshot-br8v5cn9.js} +27 -27
  105. package/dist/chunks/{generate-r7y0pbzb.js → snapshot-bsgqwer8.js} +20 -20
  106. package/dist/chunks/{generate-m168jgsb.js → snapshot-bt51d3gq.js} +3 -3
  107. package/dist/chunks/{generate-td2b297g.js → snapshot-bwh35qyb.js} +9 -9
  108. package/dist/chunks/{generate-dpsbv5y8.js → snapshot-bytdxgsj.js} +27 -27
  109. package/dist/chunks/{generate-56x7qzcz.js → snapshot-bzjc6ksy.js} +15 -15
  110. package/dist/chunks/{generate-c1fqxshp.js → snapshot-c1fqxshp.js} +3 -3
  111. package/dist/chunks/{generate-gm31ynds.js → snapshot-c41dsvxf.js} +5 -5
  112. package/dist/chunks/{generate-ns06ffs6.js → snapshot-c6yzar81.js} +6 -6
  113. package/dist/chunks/{generate-0w0a6ggm.js → snapshot-c7rs0fp2.js} +24 -24
  114. package/dist/chunks/{generate-knydcxqy.js → snapshot-c81x0r32.js} +27 -27
  115. package/dist/chunks/{generate-6enyyjcc.js → snapshot-c92gkfvp.js} +22 -22
  116. package/dist/chunks/{generate-ryaf6466.js → snapshot-cbprq3p6.js} +14 -14
  117. package/dist/chunks/{generate-ghj4jhwa.js → snapshot-ccqjkbg9.js} +4 -4
  118. package/dist/chunks/{generate-x59vjzsy.js → snapshot-cgcp9a40.js} +30 -30
  119. package/dist/chunks/{generate-cqjzeja5.js → snapshot-cp9h3w39.js} +44 -44
  120. package/dist/chunks/{generate-dvy4g42d.js → snapshot-cpgwv9gf.js} +11 -11
  121. package/dist/chunks/{generate-17ykyzhr.js → snapshot-cpkqk2mc.js} +1 -1
  122. package/dist/chunks/{generate-414x8gee.js → snapshot-d0ec82xh.js} +26 -26
  123. package/dist/chunks/{generate-zs97etz9.js → snapshot-d9x798yd.js} +6 -6
  124. package/dist/chunks/{generate-5yppedq1.js → snapshot-dh92kamf.js} +20 -20
  125. package/dist/chunks/{generate-ab9ytqvy.js → snapshot-dktjxkrs.js} +12 -12
  126. package/dist/chunks/{generate-e39bpxxn.js → snapshot-dmsf2sgk.js} +23 -23
  127. package/dist/chunks/{generate-z1f5xzt9.js → snapshot-dnx7hh4d.js} +9 -9
  128. package/dist/chunks/{generate-jy4fskgg.js → snapshot-dwaxvgp4.js} +18 -18
  129. package/dist/chunks/snapshot-dxj72tfx.js +18 -0
  130. package/dist/chunks/{generate-2xx6zsf3.js → snapshot-dzw83ac5.js} +9 -9
  131. package/dist/chunks/{generate-5qd3pb7m.js → snapshot-e3qxr5gk.js} +2 -2
  132. package/dist/chunks/{generate-fjw3nvvd.js → snapshot-e4fzp9xz.js} +31 -31
  133. package/dist/chunks/{generate-ghr137jg.js → snapshot-e6zcw651.js} +1 -1
  134. package/dist/chunks/{generate-amyfrnhk.js → snapshot-e7qx7hf9.js} +33 -33
  135. package/dist/chunks/{generate-eej6y6fw.js → snapshot-eej6y6fw.js} +2 -2
  136. package/dist/chunks/{generate-ef5x83kb.js → snapshot-ef5x83kb.js} +1 -1
  137. package/dist/chunks/{generate-dw0pgfhe.js → snapshot-egxceyfp.js} +21 -21
  138. package/dist/chunks/{generate-r8xr0va3.js → snapshot-f2n192rq.js} +4 -4
  139. package/dist/chunks/{generate-p66htvvv.js → snapshot-fafr0g56.js} +18 -18
  140. package/dist/chunks/{generate-7dqw4kz8.js → snapshot-fcrkznn8.js} +5 -5
  141. package/dist/chunks/{generate-kdjbjbt9.js → snapshot-fnb9eyvv.js} +11 -11
  142. package/dist/chunks/{generate-ca2gnmfk.js → snapshot-g2v9qz7h.js} +10 -10
  143. package/dist/chunks/{generate-bhj1c4q4.js → snapshot-g3yfx9st.js} +27 -27
  144. package/dist/chunks/{generate-gd4qta3r.js → snapshot-gd4qta3r.js} +1 -1
  145. package/dist/chunks/{generate-5zgyb8b4.js → snapshot-gdr1rz3s.js} +12 -12
  146. package/dist/chunks/{generate-06vzgydv.js → snapshot-gg7e7qdp.js} +34 -34
  147. package/dist/chunks/{generate-gk8qb678.js → snapshot-gk8qb678.js} +1 -1
  148. package/dist/chunks/{generate-twkdmtn8.js → snapshot-gwegacp2.js} +18 -18
  149. package/dist/chunks/{generate-h6vf3j39.js → snapshot-h6vf3j39.js} +1 -1
  150. package/dist/chunks/{generate-31xfzrxg.js → snapshot-h7s7r6s9.js} +5 -5
  151. package/dist/chunks/{generate-hgz4x7wa.js → snapshot-hgz4x7wa.js} +1 -1
  152. package/dist/chunks/{generate-w3z8hpcs.js → snapshot-hk0x9whx.js} +8 -8
  153. package/dist/chunks/{generate-zyt2xg97.js → snapshot-hmtp6bqa.js} +10 -10
  154. package/dist/chunks/{generate-zee1rnkq.js → snapshot-hn57h045.js} +4 -4
  155. package/dist/chunks/{generate-dts7v26c.js → snapshot-hq2w7pb7.js} +20 -20
  156. package/dist/chunks/{generate-49w7vtg3.js → snapshot-hweedvx2.js} +28 -28
  157. package/dist/chunks/{generate-j09zfasm.js → snapshot-j09zfasm.js} +3 -3
  158. package/dist/chunks/{generate-9mekg669.js → snapshot-j4x92r12.js} +19 -19
  159. package/dist/chunks/{generate-j56e64zr.js → snapshot-j56e64zr.js} +1 -1
  160. package/dist/chunks/{generate-a89e0tac.js → snapshot-jewzahs7.js} +4 -4
  161. package/dist/chunks/{generate-3g8j9he4.js → snapshot-jhdf29st.js} +1 -1
  162. package/dist/chunks/{generate-4btsmmfc.js → snapshot-jqfa4ge4.js} +7 -7
  163. package/dist/chunks/{generate-had0cjaf.js → snapshot-jsk3kr4t.js} +46 -46
  164. package/dist/chunks/{generate-bxrzg0nt.js → snapshot-jtd2a7nt.js} +4 -4
  165. package/dist/chunks/{generate-9bxdtn1w.js → snapshot-k9q3e0yt.js} +43 -43
  166. package/dist/chunks/{generate-gpx3ftbp.js → snapshot-kepx3afk.js} +18 -18
  167. package/dist/chunks/{generate-hq3c8me3.js → snapshot-khmqacep.js} +4 -4
  168. package/dist/chunks/{generate-g686f6pq.js → snapshot-kjd40bgk.js} +9 -9
  169. package/dist/chunks/{generate-57myy5jh.js → snapshot-kjdm35cs.js} +5 -5
  170. package/dist/chunks/{generate-dh1vd407.js → snapshot-kkk3vn91.js} +13 -13
  171. package/dist/chunks/{generate-1a6rqj7y.js → snapshot-kms48zfg.js} +46 -46
  172. package/dist/chunks/{generate-rpf1qvc3.js → snapshot-knevfgda.js} +4 -4
  173. package/dist/chunks/{generate-txm3e8qz.js → snapshot-kqv3x6rj.js} +9 -9
  174. package/dist/chunks/{generate-cf46dtcg.js → snapshot-kxxg8k4r.js} +11 -11
  175. package/dist/chunks/{generate-m3tq90br.js → snapshot-kyytvvrv.js} +27 -27
  176. package/dist/chunks/{generate-0qjyyrcy.js → snapshot-m0ry780p.js} +11 -11
  177. package/dist/chunks/{generate-tzs3fzf0.js → snapshot-m8949260.js} +10 -10
  178. package/dist/chunks/{generate-m9w0rfyh.js → snapshot-m9w0rfyh.js} +1 -1
  179. package/dist/chunks/{generate-1pv1yjxt.js → snapshot-mfxwm5jp.js} +13 -13
  180. package/dist/chunks/{generate-2p1053mb.js → snapshot-mygpds4v.js} +13 -13
  181. package/dist/chunks/{generate-rcgjm4ey.js → snapshot-mzvzdten.js} +18 -18
  182. package/dist/chunks/{generate-5y4yv9md.js → snapshot-n9n4qq7s.js} +30 -30
  183. package/dist/chunks/{generate-p247cx2g.js → snapshot-ngnqj9gj.js} +27 -27
  184. package/dist/chunks/{generate-zht27asq.js → snapshot-nkv5dzrs.js} +9 -9
  185. package/dist/chunks/{generate-6nb7w1fw.js → snapshot-npk602qs.js} +10 -10
  186. package/dist/chunks/{generate-gnjv7wb4.js → snapshot-nv0k8b7e.js} +20 -20
  187. package/dist/chunks/{generate-1ajhb62d.js → snapshot-nzh06rgd.js} +11 -11
  188. package/dist/chunks/{generate-y8v0f4w6.js → snapshot-p63fk0yx.js} +5 -5
  189. package/dist/chunks/{generate-ssc1sjfq.js → snapshot-pdxex50p.js} +9 -9
  190. package/dist/chunks/{generate-g0445xdp.js → snapshot-phstrbs2.js} +8 -8
  191. package/dist/chunks/{generate-pjvnvgmy.js → snapshot-pjvnvgmy.js} +1 -1
  192. package/dist/chunks/{generate-pknna89w.js → snapshot-pknna89w.js} +1 -1
  193. package/dist/chunks/{generate-j2jef1q4.js → snapshot-pm06a12h.js} +4 -4
  194. package/dist/chunks/{generate-5swdxk6g.js → snapshot-pme8bagx.js} +24 -24
  195. package/dist/chunks/{generate-50zqcjzm.js → snapshot-px7p8hke.js} +15 -15
  196. package/dist/chunks/{generate-mgrzhrw3.js → snapshot-q23ecs5g.js} +12 -12
  197. package/dist/chunks/{generate-ef9wzcjn.js → snapshot-q29xxbd6.js} +33 -33
  198. package/dist/chunks/{generate-5dcyhnv6.js → snapshot-q448ner5.js} +15 -15
  199. package/dist/chunks/{generate-7nvdqcj1.js → snapshot-q6td39y3.js} +16 -16
  200. package/dist/chunks/{generate-1etkwrgs.js → snapshot-q6x9nxap.js} +6 -6
  201. package/dist/chunks/{generate-bzkva2b5.js → snapshot-qb9v8xwx.js} +30 -30
  202. package/dist/chunks/{generate-yj62bxk4.js → snapshot-qd1zdc3v.js} +5 -5
  203. package/dist/chunks/{generate-bkfwd95h.js → snapshot-qfz69p5q.js} +14 -14
  204. package/dist/chunks/{generate-qnc92qwc.js → snapshot-qnc92qwc.js} +1 -1
  205. package/dist/chunks/{generate-6f79zr0p.js → snapshot-qntjweey.js} +18 -18
  206. package/dist/chunks/{generate-xfkkasph.js → snapshot-qqeeq2t9.js} +7 -7
  207. package/dist/chunks/{generate-qsdy395h.js → snapshot-qsdy395h.js} +1 -1
  208. package/dist/chunks/{generate-vwp368aj.js → snapshot-r97sxpnx.js} +8 -8
  209. package/dist/chunks/{generate-rdw6cm16.js → snapshot-rdw6cm16.js} +1 -1
  210. package/dist/chunks/{generate-rert0e01.js → snapshot-rert0e01.js} +2 -2
  211. package/dist/chunks/{generate-vjjaysxc.js → snapshot-rhzk7vne.js} +2 -2
  212. package/dist/chunks/{generate-rj3eygr5.js → snapshot-rj3eygr5.js} +2 -2
  213. package/dist/chunks/{generate-4ef53dch.js → snapshot-rme27c0d.js} +24 -24
  214. package/dist/chunks/{generate-v4t6rftf.js → snapshot-rqpny9hx.js} +33 -33
  215. package/dist/chunks/{generate-sxfhf5rq.js → snapshot-rw0bqx59.js} +9 -9
  216. package/dist/chunks/{generate-x2aynqqh.js → snapshot-s1kvmffy.js} +9 -9
  217. package/dist/chunks/{generate-sa8ekw3f.js → snapshot-sa8ekw3f.js} +2 -2
  218. package/dist/chunks/{generate-5rfpaqnm.js → snapshot-sfbvqhnr.js} +4 -4
  219. package/dist/chunks/{generate-y1hkzf3z.js → snapshot-ss7yxfsg.js} +17 -17
  220. package/dist/chunks/{generate-nma959mg.js → snapshot-sxcaecc0.js} +3 -3
  221. package/dist/chunks/{generate-jdedt8rb.js → snapshot-sy47kp3r.js} +22 -22
  222. package/dist/chunks/{generate-w97zvttz.js → snapshot-syjqprx9.js} +16 -16
  223. package/dist/chunks/{generate-syv4x271.js → snapshot-syv4x271.js} +1 -1
  224. package/dist/chunks/{generate-as8fptsq.js → snapshot-t06tg28v.js} +15 -15
  225. package/dist/chunks/{generate-rhjbct0v.js → snapshot-t550f9t1.js} +4 -4
  226. package/dist/chunks/{generate-tazgh4e4.js → snapshot-tazgh4e4.js} +1 -1
  227. package/dist/chunks/{generate-tcezcvh9.js → snapshot-tcezcvh9.js} +1 -1
  228. package/dist/chunks/{generate-8kt5z095.js → snapshot-tdndkxgk.js} +51 -51
  229. package/dist/chunks/{generate-tdstcens.js → snapshot-tdstcens.js} +1 -1
  230. package/dist/chunks/{generate-11t5tcys.js → snapshot-tfqxycy5.js} +7 -7
  231. package/dist/chunks/{generate-qfdnw4sm.js → snapshot-thtf3412.js} +2 -2
  232. package/dist/chunks/{generate-avjnwv6y.js → snapshot-tnzmjtgm.js} +9 -9
  233. package/dist/chunks/{generate-22bged4x.js → snapshot-tp624p08.js} +15 -15
  234. package/dist/chunks/{generate-9bbmxcdc.js → snapshot-tp7rvt8n.js} +316 -316
  235. package/dist/chunks/{generate-tyytaxap.js → snapshot-tyytaxap.js} +1 -1
  236. package/dist/chunks/{generate-v0es1rhs.js → snapshot-v0es1rhs.js} +2 -2
  237. package/dist/chunks/{generate-mmvfs7np.js → snapshot-v3rgt89s.js} +3 -3
  238. package/dist/chunks/{generate-v7p4zvkq.js → snapshot-v7p4zvkq.js} +2 -2
  239. package/dist/chunks/{generate-89m67667.js → snapshot-v8z8hm6p.js} +28 -28
  240. package/dist/chunks/{generate-rbpvdgf0.js → snapshot-ve88pny4.js} +5 -5
  241. package/dist/chunks/{generate-veqvce7d.js → snapshot-veqvce7d.js} +1 -1
  242. package/dist/chunks/{generate-mkw2e1j5.js → snapshot-vgkcxybm.js} +4 -4
  243. package/dist/chunks/{generate-062s4805.js → snapshot-vk12dq78.js} +9 -9
  244. package/dist/chunks/{generate-s6bjkv0c.js → snapshot-vnckgvwp.js} +1 -1
  245. package/dist/chunks/{generate-nzq7ck9f.js → snapshot-vqfzq50h.js} +6 -6
  246. package/dist/chunks/{generate-yv88v3w0.js → snapshot-vy3tkgf3.js} +10 -10
  247. package/dist/chunks/{generate-vzs5sf6e.js → snapshot-vzs5sf6e.js} +1 -1
  248. package/dist/chunks/{generate-xnb3xs02.js → snapshot-w3k3nmy2.js} +15 -15
  249. package/dist/chunks/{generate-w3wsvvr9.js → snapshot-w3wsvvr9.js} +1 -1
  250. package/dist/chunks/{generate-tdpcz01t.js → snapshot-w635k9zt.js} +4 -4
  251. package/dist/chunks/{generate-bqszwq89.js → snapshot-w6zk8pbt.js} +8 -8
  252. package/dist/chunks/{generate-wd87259q.js → snapshot-wd87259q.js} +1 -1
  253. package/dist/chunks/{generate-qq60wpws.js → snapshot-wqqb8knj.js} +21 -21
  254. package/dist/chunks/{generate-wjqbea41.js → snapshot-ws5f7trb.js} +1 -1
  255. package/dist/chunks/{generate-a5vpg89g.js → snapshot-wswa5agg.js} +20 -20
  256. package/dist/chunks/{generate-kabgg1kx.js → snapshot-wvm2tpy1.js} +15 -15
  257. package/dist/chunks/{generate-6r5cntrs.js → snapshot-x28hss16.js} +21 -21
  258. package/dist/chunks/{generate-etnnvm17.js → snapshot-xaasf9gs.js} +4 -4
  259. package/dist/chunks/{generate-84n10917.js → snapshot-xbxd24gm.js} +11 -11
  260. package/dist/chunks/{generate-c3ckhrz0.js → snapshot-xcapf3gz.js} +3 -3
  261. package/dist/chunks/{generate-zpygae8c.js → snapshot-xdq69jyw.js} +13 -13
  262. package/dist/chunks/{generate-df8cv41v.js → snapshot-xsahrgm8.js} +12 -12
  263. package/dist/chunks/{generate-3paqt3vg.js → snapshot-xsnzbdwh.js} +13 -13
  264. package/dist/chunks/{generate-y1fvbwt7.js → snapshot-y1fvbwt7.js} +1 -1
  265. package/dist/chunks/{generate-00xy856b.js → snapshot-y2rk2g8d.js} +30 -30
  266. package/dist/chunks/{generate-xb2we2km.js → snapshot-y6canb71.js} +1 -1
  267. package/dist/chunks/{generate-y71avatq.js → snapshot-y71avatq.js} +1 -1
  268. package/dist/chunks/{generate-wpybfb3e.js → snapshot-yewzvha6.js} +7 -7
  269. package/dist/chunks/{generate-rbypsz8f.js → snapshot-yj4grhrg.js} +22 -22
  270. package/dist/chunks/{generate-yw8jj2jc.js → snapshot-yw96ad7w.js} +29 -29
  271. package/dist/chunks/{generate-nt3nt5tk.js → snapshot-ywnqnaz4.js} +15 -15
  272. package/dist/chunks/{generate-1ffvrpkg.js → snapshot-ywt8jp22.js} +6 -6
  273. package/dist/chunks/{generate-2v043g86.js → snapshot-yz6jyr9b.js} +75 -75
  274. package/dist/chunks/{generate-z0bkrqjs.js → snapshot-z0bkrqjs.js} +1 -1
  275. package/dist/chunks/{generate-pnndnpeh.js → snapshot-z8zrb4dy.js} +12 -12
  276. package/dist/chunks/{generate-xy6qx0pe.js → snapshot-z9s90m2e.js} +7 -7
  277. package/dist/chunks/{generate-4cnnb2a1.js → snapshot-za3mayqc.js} +11 -11
  278. package/dist/chunks/{generate-q43yzn0p.js → snapshot-zas5n1ee.js} +28 -28
  279. package/dist/chunks/{generate-hz1z6h17.js → snapshot-zc0yab0y.js} +10 -10
  280. package/dist/chunks/{generate-05ygkdhz.js → snapshot-zgbtaxd3.js} +6 -6
  281. package/dist/chunks/{generate-9zbw5rmr.js → snapshot-znvxnre3.js} +23 -23
  282. package/dist/chunks/{generate-rx2z3qfv.js → snapshot-zr0avt77.js} +11 -11
  283. package/dist/chunks/{generate-zr2ceqn5.js → snapshot-zr2ceqn5.js} +1 -1
  284. package/dist/chunks/{generate-zxq2ej10.js → snapshot-zxq2ej10.js} +1 -1
  285. package/dist/chunks/{generate-b3f8fkhc.js → snapshot-zyk1yjk8.js} +5 -5
  286. package/dist/codemode/catalog.js +1 -1
  287. package/dist/codemode/instructions.js +9 -9
  288. package/dist/codemode/tool.js +3 -3
  289. package/dist/codemode/web.js +1 -1
  290. package/dist/command.js +83 -83
  291. package/dist/config/discovery.js +84 -84
  292. package/dist/config/markdown.js +1 -1
  293. package/dist/config/normalize.js +101 -101
  294. package/dist/config/plugin/agent.js +120 -120
  295. package/dist/config/plugin/command.js +209 -209
  296. package/dist/config/plugin/compaction.js +156 -156
  297. package/dist/config/plugin/compatibility.js +136 -136
  298. package/dist/config/plugin/entry-observer.js +1 -1
  299. package/dist/config/plugin/formatter.js +119 -119
  300. package/dist/config/plugin/image.js +118 -118
  301. package/dist/config/plugin/instruction.js +92 -92
  302. package/dist/config/plugin/location-watcher.js +118 -118
  303. package/dist/config/plugin/mcp.js +127 -127
  304. package/dist/config/plugin/policy.js +119 -119
  305. package/dist/config/plugin/provider.js +118 -118
  306. package/dist/config/plugin/reference.js +120 -120
  307. package/dist/config/plugin/shell.js +120 -120
  308. package/dist/config/plugin/skill-file.js +104 -104
  309. package/dist/config/plugin/skill.js +139 -139
  310. package/dist/config/plugin/snapshot.js +118 -118
  311. package/dist/config/plugin/source.js +121 -121
  312. package/dist/config/plugin/tool-output.js +119 -119
  313. package/dist/config/plugin/websearch.js +119 -119
  314. package/dist/config/plugin/worktree.js +120 -120
  315. package/dist/config/variable.js +3 -3
  316. package/dist/config/watch.js +1 -1
  317. package/dist/config.js +121 -121
  318. package/dist/credential/sql.js +2 -2
  319. package/dist/credential.js +75 -75
  320. package/dist/database/database.js +68 -68
  321. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  322. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  323. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  324. package/dist/database/drizzle/index.js +13 -13
  325. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  327. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  328. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  329. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  330. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  335. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  336. package/dist/database/drizzle.js +14 -14
  337. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  338. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  339. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  340. package/dist/database/migration/20260225215848_workspace.js +1 -1
  341. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  342. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  343. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  344. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  345. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  346. package/dist/database/migration/20260323234822_events.js +1 -1
  347. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  348. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  349. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  350. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  351. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  352. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  353. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  354. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  355. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  356. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  357. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  358. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  359. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  360. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  361. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  362. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  363. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  364. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  365. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  366. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  367. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  368. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  369. package/dist/database/migration/20260611035744_credential.js +1 -1
  370. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  371. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  372. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  373. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  374. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  375. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  376. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  377. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  378. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  379. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  380. package/dist/database/migration/20260812213948_worktree.js +1 -1
  381. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  382. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  383. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  384. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  385. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  386. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  387. package/dist/database/migration.gen.js +51 -51
  388. package/dist/database/migration.js +53 -53
  389. package/dist/database/path.js +2 -2
  390. package/dist/database/schema.gen.js +1 -1
  391. package/dist/database/schema.sql.js +1 -1
  392. package/dist/database/sqlite.bun.js +1 -1
  393. package/dist/database/sqlite.js +1 -1
  394. package/dist/database/sqlite.node.js +1 -1
  395. package/dist/database/sqlite.workerd.js +1 -1
  396. package/dist/database/v1-migration.bun.js +78 -78
  397. package/dist/database/v1-migration.js +1 -1
  398. package/dist/effect/app-node-builder.js +368 -368
  399. package/dist/effect/app-node-platform.js +2 -2
  400. package/dist/effect/keyed-mutex.js +1 -1
  401. package/dist/effect/websocket-constructor.js +1 -1
  402. package/dist/environment/driver.js +1 -1
  403. package/dist/environment/environment.js +95 -95
  404. package/dist/environment/exec-defaults.js +2 -2
  405. package/dist/environment/files.js +1 -1
  406. package/dist/environment/index.js +95 -95
  407. package/dist/environment/local.js +2 -2
  408. package/dist/environment/memory.js +2 -2
  409. package/dist/environment/unavailable.js +3 -3
  410. package/dist/event/sql.js +1 -1
  411. package/dist/event-logger.js +76 -76
  412. package/dist/file-access.js +106 -106
  413. package/dist/file-mutation.js +92 -92
  414. package/dist/file-retention.js +1 -1
  415. package/dist/filesystem/fff.bun.js +2 -2
  416. package/dist/filesystem/fff.js +1 -1
  417. package/dist/filesystem/fff.node.js +2 -2
  418. package/dist/filesystem/fff.workerd.js +2 -2
  419. package/dist/filesystem/location-watcher-policy.js +6 -6
  420. package/dist/filesystem/location-watcher.js +216 -216
  421. package/dist/filesystem/protected.js +1 -1
  422. package/dist/filesystem/search.js +105 -105
  423. package/dist/filesystem/watcher-binding.js +3 -3
  424. package/dist/filesystem/watcher.js +13 -13
  425. package/dist/filesystem.js +104 -104
  426. package/dist/form.js +72 -72
  427. package/dist/formatter/builtins.js +4 -4
  428. package/dist/formatter.js +89 -89
  429. package/dist/generate.js +107 -107
  430. package/dist/git.js +10 -10
  431. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  432. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  433. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  434. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  435. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  436. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  437. package/dist/github-copilot/copilot-provider.js +17 -17
  438. package/dist/github-copilot/models.js +101 -101
  439. package/dist/github-copilot/openai-compatible-error.js +1 -1
  440. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  441. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  442. package/dist/github-copilot/responses/openai-error.js +1 -1
  443. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  444. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  445. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  446. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  447. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  448. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  449. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  450. package/dist/image/photon.js +2 -2
  451. package/dist/image.js +6 -6
  452. package/dist/instance/service.js +5 -5
  453. package/dist/instance.js +359 -359
  454. package/dist/instruction-discovery.js +83 -83
  455. package/dist/instructions/builtins.js +89 -89
  456. package/dist/instructions/index.js +3 -3
  457. package/dist/integration/connection.js +1 -1
  458. package/dist/integration.js +79 -79
  459. package/dist/job.js +80 -80
  460. package/dist/kv/sql.js +2 -2
  461. package/dist/kv.js +75 -75
  462. package/dist/location-activity.js +136 -136
  463. package/dist/location-lifecycle.js +109 -109
  464. package/dist/location-service-map.js +88 -88
  465. package/dist/location-services.js +356 -356
  466. package/dist/location.js +87 -87
  467. package/dist/managed-policy.js +8 -8
  468. package/dist/mcp/client.js +93 -93
  469. package/dist/mcp/index.js +111 -111
  470. package/dist/mcp/instructions.js +129 -129
  471. package/dist/mcp/oauth.js +77 -77
  472. package/dist/mcp/stdio.js +92 -92
  473. package/dist/mime.js +1 -1
  474. package/dist/modal/models.js +101 -101
  475. package/dist/model-resolver.js +100 -100
  476. package/dist/model.js +92 -92
  477. package/dist/models-dev.js +109 -109
  478. package/dist/oauth/page.js +1 -1
  479. package/dist/permission/saved.js +82 -82
  480. package/dist/permission/sql.js +5 -5
  481. package/dist/permission.js +113 -113
  482. package/dist/persistent-pty/binary.bun.js +1 -1
  483. package/dist/persistent-pty/daemon.js +1 -1
  484. package/dist/persistent-pty/index.js +90 -90
  485. package/dist/persistent-pty/pty-binding.js +1 -1
  486. package/dist/persistent-pty.js +77 -77
  487. package/dist/plugin/agent.js +78 -78
  488. package/dist/plugin/command.js +104 -104
  489. package/dist/plugin/hooks.js +5 -5
  490. package/dist/plugin/host.js +213 -213
  491. package/dist/plugin/identity.js +3 -3
  492. package/dist/plugin/instance.js +5 -5
  493. package/dist/plugin/internal.js +331 -331
  494. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  495. package/dist/plugin/models-dev.js +98 -98
  496. package/dist/plugin/module.js +119 -119
  497. package/dist/plugin/optimize.js +4 -4
  498. package/dist/plugin/plan.js +104 -104
  499. package/dist/plugin/promise.js +1 -1
  500. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  501. package/dist/plugin/provider/azure.js +119 -119
  502. package/dist/plugin/provider/cerebras.js +1 -1
  503. package/dist/plugin/provider/chatgpt.js +96 -96
  504. package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
  505. package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
  506. package/dist/plugin/provider/cohere.js +2 -2
  507. package/dist/plugin/provider/configured.js +114 -114
  508. package/dist/plugin/provider/databricks.js +1 -1
  509. package/dist/plugin/provider/digitalocean.js +95 -95
  510. package/dist/plugin/provider/dynamic.js +2 -2
  511. package/dist/plugin/provider/factory.js +1 -1
  512. package/dist/plugin/provider/github-copilot.js +97 -97
  513. package/dist/plugin/provider/gitlab.js +95 -95
  514. package/dist/plugin/provider/google-vertex.js +115 -115
  515. package/dist/plugin/provider/kilo.js +1 -1
  516. package/dist/plugin/provider/llmgateway.js +80 -80
  517. package/dist/plugin/provider/lmstudio.js +127 -127
  518. package/dist/plugin/provider/local.js +124 -124
  519. package/dist/plugin/provider/modal.js +94 -94
  520. package/dist/plugin/provider/neon.js +1 -1
  521. package/dist/plugin/provider/nvidia.js +1 -1
  522. package/dist/plugin/provider/ollama.js +127 -127
  523. package/dist/plugin/provider/openai.js +97 -97
  524. package/dist/plugin/provider/opencode.js +99 -99
  525. package/dist/plugin/provider/openrouter.js +93 -93
  526. package/dist/plugin/provider/perplexity.js +2 -2
  527. package/dist/plugin/provider/poe.js +81 -81
  528. package/dist/plugin/provider/prompt-cache-key.js +92 -92
  529. package/dist/plugin/provider/sap-ai-core.js +93 -93
  530. package/dist/plugin/provider/sdk-factory.js +1 -1
  531. package/dist/plugin/provider/snowflake-cortex.js +117 -117
  532. package/dist/plugin/provider/vercel.js +92 -92
  533. package/dist/plugin/provider/vllm.js +127 -127
  534. package/dist/plugin/provider/xai.js +93 -93
  535. package/dist/plugin/provider/zenmux.js +1 -1
  536. package/dist/plugin/provider.js +169 -169
  537. package/dist/plugin/sdk.js +78 -78
  538. package/dist/plugin/service.js +3 -3
  539. package/dist/plugin/skill.js +136 -136
  540. package/dist/plugin/source-directory.js +1 -1
  541. package/dist/plugin/supervisor.js +350 -350
  542. package/dist/plugin/tool-input-repair.js +4 -4
  543. package/dist/plugin/update.js +6 -6
  544. package/dist/plugin/vcs/git.js +88 -88
  545. package/dist/plugin/vcs/hg.js +88 -88
  546. package/dist/plugin/verbosity.js +95 -95
  547. package/dist/plugin/warming.js +116 -116
  548. package/dist/plugin/websearch/exa.js +5 -5
  549. package/dist/plugin/websearch/firecrawl.js +8 -8
  550. package/dist/plugin/websearch/index.js +9 -9
  551. package/dist/plugin/websearch/mcp.js +4 -4
  552. package/dist/plugin/websearch/parallel.js +8 -8
  553. package/dist/plugin/websearch/tavily.js +6 -6
  554. package/dist/plugin/websearch/tinyfish.js +8 -8
  555. package/dist/plugin.js +220 -220
  556. package/dist/project/schema.js +2 -2
  557. package/dist/project/sql.js +4 -4
  558. package/dist/project.js +86 -86
  559. package/dist/provider.js +91 -91
  560. package/dist/pty/protocol.js +1 -1
  561. package/dist/pty/ticket.js +1 -1
  562. package/dist/pty.js +93 -93
  563. package/dist/reference/instructions.js +91 -91
  564. package/dist/reference.js +91 -91
  565. package/dist/repository-cache.js +83 -83
  566. package/dist/repository.js +1 -1
  567. package/dist/ripgrep/binary.js +2 -2
  568. package/dist/ripgrep.js +99 -99
  569. package/dist/rpc.js +88 -88
  570. package/dist/schema.js +1 -1
  571. package/dist/session/affinity.js +1 -1
  572. package/dist/session/command.js +76 -76
  573. package/dist/session/compaction.js +137 -137
  574. package/dist/session/context.js +155 -155
  575. package/dist/session/diff.js +90 -90
  576. package/dist/session/environment.js +5 -5
  577. package/dist/session/error.js +5 -5
  578. package/dist/session/event.js +1 -1
  579. package/dist/session/execution/restart.js +219 -219
  580. package/dist/session/execution.js +129 -129
  581. package/dist/session/generate.js +156 -156
  582. package/dist/session/history.js +15 -15
  583. package/dist/session/inbox.js +92 -92
  584. package/dist/session/info.js +3 -3
  585. package/dist/session/instruction-entry.js +81 -81
  586. package/dist/session/instruction-state.js +8 -8
  587. package/dist/session/instructions.js +99 -99
  588. package/dist/session/message-updater.js +4 -4
  589. package/dist/session/message.js +1 -1
  590. package/dist/session/model-request.js +122 -122
  591. package/dist/session/model-transport.js +9 -9
  592. package/dist/session/move.js +131 -131
  593. package/dist/session/projector.js +88 -88
  594. package/dist/session/prompt.js +107 -107
  595. package/dist/session/provider-context.js +3 -3
  596. package/dist/session/revert.js +92 -92
  597. package/dist/session/run-coordinator.js +3 -3
  598. package/dist/session/runner/index.js +3 -3
  599. package/dist/session/runner/llm.js +226 -226
  600. package/dist/session/runner/max-steps.js +1 -1
  601. package/dist/session/runner/model.js +100 -100
  602. package/dist/session/runner/publish-llm-event.js +115 -115
  603. package/dist/session/runner/retry.js +4 -4
  604. package/dist/session/runner/step.js +127 -127
  605. package/dist/session/runner/to-llm-message.js +2 -2
  606. package/dist/session/schema.js +5 -5
  607. package/dist/session/session.js +166 -166
  608. package/dist/session/shell.js +132 -132
  609. package/dist/session/skill.js +105 -105
  610. package/dist/session/sql.js +5 -5
  611. package/dist/session/stats.js +75 -75
  612. package/dist/session/store.js +87 -87
  613. package/dist/session/subagent-completion.js +1 -1
  614. package/dist/session/subagent-job.js +207 -207
  615. package/dist/session/system-prompt.js +5 -5
  616. package/dist/session/title.js +159 -159
  617. package/dist/session/to-session-error.js +113 -113
  618. package/dist/session/transfer.js +215 -215
  619. package/dist/session/usage.js +1 -1
  620. package/dist/session.js +211 -211
  621. package/dist/shell/parse.js +6 -6
  622. package/dist/shell/result.js +1 -1
  623. package/dist/shell/scan.js +1 -1
  624. package/dist/shell/select.js +13 -13
  625. package/dist/shell.js +134 -134
  626. package/dist/skill/discovery.js +6 -6
  627. package/dist/skill/instructions.js +109 -109
  628. package/dist/skill.js +110 -110
  629. package/dist/snapshot.js +95 -95
  630. package/dist/state.js +1 -1
  631. package/dist/tool/html-markdown.js +1 -1
  632. package/dist/tool/http-body.js +1 -1
  633. package/dist/tool/mcp.js +130 -130
  634. package/dist/tool/plugin/edit.js +122 -122
  635. package/dist/tool/plugin/file-diff.js +1 -1
  636. package/dist/tool/plugin/glob.js +126 -126
  637. package/dist/tool/plugin/grep.js +122 -122
  638. package/dist/tool/plugin/mcp-resource.js +119 -119
  639. package/dist/tool/plugin/opencode.js +111 -111
  640. package/dist/tool/plugin/patch.js +124 -124
  641. package/dist/tool/plugin/question.js +107 -107
  642. package/dist/tool/plugin/read.js +127 -127
  643. package/dist/tool/plugin/shell.js +212 -212
  644. package/dist/tool/plugin/skill.js +111 -111
  645. package/dist/tool/plugin/subagent.js +214 -214
  646. package/dist/tool/plugin/webfetch.js +110 -110
  647. package/dist/tool/plugin/websearch.js +116 -116
  648. package/dist/tool/plugin/write.js +124 -124
  649. package/dist/tool/read-filesystem.js +102 -102
  650. package/dist/tool/runtime.js +1 -1
  651. package/dist/tool-output.js +7 -7
  652. package/dist/tool.js +14 -14
  653. package/dist/util/error-summary.js +1 -1
  654. package/dist/util/error.js +1 -1
  655. package/dist/util/git-executable.js +2 -2
  656. package/dist/util/iife.js +1 -1
  657. package/dist/util/lazy.js +1 -1
  658. package/dist/util/slug.js +1 -1
  659. package/dist/util/token.js +1 -1
  660. package/dist/util/which.js +1 -1
  661. package/dist/util/wildcard.js +1 -1
  662. package/dist/v1/config/agent.js +7 -7
  663. package/dist/v1/config/command.js +3 -3
  664. package/dist/v1/config/error.js +4 -4
  665. package/dist/v1/config/mcp.js +4 -4
  666. package/dist/v1/config/migrate.js +94 -94
  667. package/dist/v1/config/permission.js +7 -7
  668. package/dist/v1/config/plugin.js +3 -3
  669. package/dist/v1/config/provider-options.js +1 -1
  670. package/dist/v1/config/provider.js +4 -4
  671. package/dist/variant.js +95 -95
  672. package/dist/vcs/patch.js +1 -1
  673. package/dist/vcs.js +91 -91
  674. package/dist/websearch.js +86 -86
  675. package/dist/wellknown/plugin.js +76 -76
  676. package/dist/wellknown.js +83 -83
  677. package/dist/workspace/driver.js +7 -7
  678. package/dist/workspace/sql.js +1 -1
  679. package/dist/workspace.js +84 -84
  680. package/dist/worktree/directory.js +2 -2
  681. package/dist/worktree/git.js +10 -10
  682. package/dist/worktree/sql.js +5 -5
  683. package/dist/worktree/strategies.js +91 -91
  684. package/dist/worktree.js +98 -98
  685. package/package.json +8 -8
  686. package/dist/chunks/generate-69mbkchx.js +0 -253
  687. package/dist/chunks/generate-enfqrz6s.js +0 -26
  688. package/dist/chunks/generate-f81tjggh.js +0 -18
  689. /package/dist/chunks/{generate-0qkdqm5v.js → snapshot-0qkdqm5v.js} +0 -0
  690. /package/dist/chunks/{generate-0zkw76rk.js → snapshot-0zkw76rk.js} +0 -0
  691. /package/dist/chunks/{generate-17cy0kzp.js → snapshot-17cy0kzp.js} +0 -0
  692. /package/dist/chunks/{generate-1cnp2v09.js → snapshot-1cnp2v09.js} +0 -0
  693. /package/dist/chunks/{generate-1kg9ymc8.js → snapshot-1kg9ymc8.js} +0 -0
  694. /package/dist/chunks/{generate-24dcb14g.js → snapshot-24dcb14g.js} +0 -0
  695. /package/dist/chunks/{generate-2710q6r3.js → snapshot-2710q6r3.js} +0 -0
  696. /package/dist/chunks/{generate-2axfhc9x.js → snapshot-2axfhc9x.js} +0 -0
  697. /package/dist/chunks/{generate-2bv980vf.js → snapshot-2bv980vf.js} +0 -0
  698. /package/dist/chunks/{generate-2c3vjs8z.js → snapshot-2c3vjs8z.js} +0 -0
  699. /package/dist/chunks/{generate-359p4xyc.js → snapshot-359p4xyc.js} +0 -0
  700. /package/dist/chunks/{generate-3asan66x.js → snapshot-3asan66x.js} +0 -0
  701. /package/dist/chunks/{generate-3t0ybcrp.js → snapshot-3t0ybcrp.js} +0 -0
  702. /package/dist/chunks/{generate-3v8g72cx.js → snapshot-3v8g72cx.js} +0 -0
  703. /package/dist/chunks/{generate-3wcehsnq.js → snapshot-3wcehsnq.js} +0 -0
  704. /package/dist/chunks/{generate-43n2bw4t.js → snapshot-43n2bw4t.js} +0 -0
  705. /package/dist/chunks/{generate-4knz6hnm.js → snapshot-4knz6hnm.js} +0 -0
  706. /package/dist/chunks/{generate-4vcrnpx2.js → snapshot-4vcrnpx2.js} +0 -0
  707. /package/dist/chunks/{generate-4y7fprxs.js → snapshot-4y7fprxs.js} +0 -0
  708. /package/dist/chunks/{generate-53557ph1.js → snapshot-53557ph1.js} +0 -0
  709. /package/dist/chunks/{generate-550bvhaj.js → snapshot-550bvhaj.js} +0 -0
  710. /package/dist/chunks/{generate-6prwharc.js → snapshot-6prwharc.js} +0 -0
  711. /package/dist/chunks/{generate-6q2bdcd1.js → snapshot-6q2bdcd1.js} +0 -0
  712. /package/dist/chunks/{generate-7akdwqpd.js → snapshot-7akdwqpd.js} +0 -0
  713. /package/dist/chunks/{generate-7m9af43g.js → snapshot-7m9af43g.js} +0 -0
  714. /package/dist/chunks/{generate-822emrt2.js → snapshot-822emrt2.js} +0 -0
  715. /package/dist/chunks/{generate-84wd9syh.js → snapshot-84wd9syh.js} +0 -0
  716. /package/dist/chunks/{generate-88xbtdfr.js → snapshot-88xbtdfr.js} +0 -0
  717. /package/dist/chunks/{generate-8n3pysct.js → snapshot-8n3pysct.js} +0 -0
  718. /package/dist/chunks/{generate-8wj87zfr.js → snapshot-8wj87zfr.js} +0 -0
  719. /package/dist/chunks/{generate-9a4afbnw.js → snapshot-9a4afbnw.js} +0 -0
  720. /package/dist/chunks/{generate-9rqn6x4v.js → snapshot-9rqn6x4v.js} +0 -0
  721. /package/dist/chunks/{generate-a6k6eb26.js → snapshot-a6k6eb26.js} +0 -0
  722. /package/dist/chunks/{generate-af5trqkr.js → snapshot-af5trqkr.js} +0 -0
  723. /package/dist/chunks/{generate-afrmfg78.js → snapshot-afrmfg78.js} +0 -0
  724. /package/dist/chunks/{generate-aqzs7mqg.js → snapshot-aqzs7mqg.js} +0 -0
  725. /package/dist/chunks/{generate-atq7p7m5.js → snapshot-atq7p7m5.js} +0 -0
  726. /package/dist/chunks/{generate-bkyjaxrp.js → snapshot-bkyjaxrp.js} +0 -0
  727. /package/dist/chunks/{generate-bmr6ed5q.js → snapshot-bmr6ed5q.js} +0 -0
  728. /package/dist/chunks/{generate-bw78ga2c.js → snapshot-bw78ga2c.js} +0 -0
  729. /package/dist/chunks/{generate-cf4snx6d.js → snapshot-cf4snx6d.js} +0 -0
  730. /package/dist/chunks/{generate-cvy3z8tj.js → snapshot-cvy3z8tj.js} +0 -0
  731. /package/dist/chunks/{generate-d9fn303g.js → snapshot-d9fn303g.js} +0 -0
  732. /package/dist/chunks/{generate-d9jj8t3e.js → snapshot-d9jj8t3e.js} +0 -0
  733. /package/dist/chunks/{generate-dajrwvna.js → snapshot-dajrwvna.js} +0 -0
  734. /package/dist/chunks/{generate-dap0rakb.js → snapshot-dap0rakb.js} +0 -0
  735. /package/dist/chunks/{generate-df08tz66.js → snapshot-df08tz66.js} +0 -0
  736. /package/dist/chunks/{generate-dy18nga0.js → snapshot-dy18nga0.js} +0 -0
  737. /package/dist/chunks/{generate-e5kj55wp.js → snapshot-e5kj55wp.js} +0 -0
  738. /package/dist/chunks/{generate-e73j6tqm.js → snapshot-e73j6tqm.js} +0 -0
  739. /package/dist/chunks/{generate-ec1grn59.js → snapshot-ec1grn59.js} +0 -0
  740. /package/dist/chunks/{generate-eh3zwz77.js → snapshot-eh3zwz77.js} +0 -0
  741. /package/dist/chunks/{generate-emrn6kk6.js → snapshot-emrn6kk6.js} +0 -0
  742. /package/dist/chunks/{generate-f0mxakyp.js → snapshot-f0mxakyp.js} +0 -0
  743. /package/dist/chunks/{generate-f6n9ztr4.js → snapshot-f6n9ztr4.js} +0 -0
  744. /package/dist/chunks/{generate-faypxj3z.js → snapshot-faypxj3z.js} +0 -0
  745. /package/dist/chunks/{generate-fd410y7t.js → snapshot-fd410y7t.js} +0 -0
  746. /package/dist/chunks/{generate-g4wezp1m.js → snapshot-g4wezp1m.js} +0 -0
  747. /package/dist/chunks/{generate-g86h250q.js → snapshot-g86h250q.js} +0 -0
  748. /package/dist/chunks/{generate-gebd4c9n.js → snapshot-gebd4c9n.js} +0 -0
  749. /package/dist/chunks/{generate-gftt206x.js → snapshot-gftt206x.js} +0 -0
  750. /package/dist/chunks/{generate-hk9envan.js → snapshot-hk9envan.js} +0 -0
  751. /package/dist/chunks/{generate-j2ntwpah.js → snapshot-j2ntwpah.js} +0 -0
  752. /package/dist/chunks/{generate-j5zkgpj8.js → snapshot-j5zkgpj8.js} +0 -0
  753. /package/dist/chunks/{generate-jjkms2e6.js → snapshot-jjkms2e6.js} +0 -0
  754. /package/dist/chunks/{generate-jr7sbwjy.js → snapshot-jr7sbwjy.js} +0 -0
  755. /package/dist/chunks/{generate-jwfs4k6c.js → snapshot-jwfs4k6c.js} +0 -0
  756. /package/dist/chunks/{generate-jze0r7bz.js → snapshot-jze0r7bz.js} +0 -0
  757. /package/dist/chunks/{generate-jzg6c2d5.js → snapshot-jzg6c2d5.js} +0 -0
  758. /package/dist/chunks/{generate-m18g726c.js → snapshot-m18g726c.js} +0 -0
  759. /package/dist/chunks/{generate-mp448xyj.js → snapshot-mp448xyj.js} +0 -0
  760. /package/dist/chunks/{generate-msx8hqn2.js → snapshot-msx8hqn2.js} +0 -0
  761. /package/dist/chunks/{generate-n05xt0ee.js → snapshot-n05xt0ee.js} +0 -0
  762. /package/dist/chunks/{generate-n3j8tn72.js → snapshot-n3j8tn72.js} +0 -0
  763. /package/dist/chunks/{generate-njntx4h6.js → snapshot-njntx4h6.js} +0 -0
  764. /package/dist/chunks/{generate-pkyv6v7h.js → snapshot-pkyv6v7h.js} +0 -0
  765. /package/dist/chunks/{generate-pyv0edze.js → snapshot-pyv0edze.js} +0 -0
  766. /package/dist/chunks/{generate-q3sfg36h.js → snapshot-q3sfg36h.js} +0 -0
  767. /package/dist/chunks/{generate-q74kybfr.js → snapshot-q74kybfr.js} +0 -0
  768. /package/dist/chunks/{generate-qaymkmh1.js → snapshot-qaymkmh1.js} +0 -0
  769. /package/dist/chunks/{generate-qb87gjwd.js → snapshot-qb87gjwd.js} +0 -0
  770. /package/dist/chunks/{generate-qfa1cgps.js → snapshot-qfa1cgps.js} +0 -0
  771. /package/dist/chunks/{generate-qg3g05ea.js → snapshot-qg3g05ea.js} +0 -0
  772. /package/dist/chunks/{generate-qrg20bc0.js → snapshot-qrg20bc0.js} +0 -0
  773. /package/dist/chunks/{generate-rcb2kzg1.js → snapshot-rcb2kzg1.js} +0 -0
  774. /package/dist/chunks/{generate-sdp7kfr6.js → snapshot-sdp7kfr6.js} +0 -0
  775. /package/dist/chunks/{generate-ssg3fenm.js → snapshot-ssg3fenm.js} +0 -0
  776. /package/dist/chunks/{generate-ve7vex1e.js → snapshot-ve7vex1e.js} +0 -0
  777. /package/dist/chunks/{generate-w803qqfp.js → snapshot-w803qqfp.js} +0 -0
  778. /package/dist/chunks/{generate-wc3fc9cn.js → snapshot-wc3fc9cn.js} +0 -0
  779. /package/dist/chunks/{generate-wer8tq1h.js → snapshot-wer8tq1h.js} +0 -0
  780. /package/dist/chunks/{generate-wtztk69x.js → snapshot-wtztk69x.js} +0 -0
  781. /package/dist/chunks/{generate-x0ckcb58.js → snapshot-x0ckcb58.js} +0 -0
  782. /package/dist/chunks/{generate-x61499pn.js → snapshot-x61499pn.js} +0 -0
  783. /package/dist/chunks/{generate-y44na4kk.js → snapshot-y44na4kk.js} +0 -0
  784. /package/dist/chunks/{generate-y8f7s663.js → snapshot-y8f7s663.js} +0 -0
  785. /package/dist/chunks/{generate-ygaqb7jw.js → snapshot-ygaqb7jw.js} +0 -0
  786. /package/dist/chunks/{generate-ym463w8f.js → snapshot-ym463w8f.js} +0 -0
  787. /package/dist/chunks/{generate-z5v4ffb3.js → snapshot-z5v4ffb3.js} +0 -0
  788. /package/dist/chunks/{generate-z9919s4g.js → snapshot-z9919s4g.js} +0 -0
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./generate-z5v4ffb3.js";
3
+ } from "./snapshot-z5v4ffb3.js";
4
4
  import {
5
5
  __export
6
- } from "./generate-9rqn6x4v.js";
6
+ } from "./snapshot-9rqn6x4v.js";
7
7
 
8
8
  // src/skill/discovery.ts
9
9
  var exports_discovery = {};
10
10
  __export(exports_discovery, {
11
- Service: () => Service13,
11
+ Service: () => Service6,
12
12
  SkillDiscovery: () => exports_discovery,
13
- node: () => node15
13
+ node: () => node8
14
14
  });
15
15
  import path from "path";
16
16
  import { Context, Effect, Layer, Schedule, Schema } from "effect";
@@ -48,9 +48,9 @@ class Index extends Schema.Class("SkillDiscovery.Index")({
48
48
  }) {
49
49
  }
50
50
 
51
- class Service13 extends Context.Service()("@opencode/SkillDiscovery") {
51
+ class Service6 extends Context.Service()("@opencode/SkillDiscovery") {
52
52
  }
53
- var layer = Layer.effect(Service13, Effect.gen(function* () {
53
+ var layer = Layer.effect(Service6, Effect.gen(function* () {
54
54
  const fs = yield* FSUtil.Service;
55
55
  const global = yield* Global.Service;
56
56
  const http = (yield* HttpClient.HttpClient).pipe(HttpClient.retryTransient({
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service13, Effect.gen(function* () {
63
63
  return true;
64
64
  return yield* HttpClientRequest.get(url).pipe(http.execute, Effect.flatMap((response) => response.arrayBuffer), Effect.flatMap((body) => fs.writeWithDirs(destination, new Uint8Array(body))), Effect.as(true), Effect.catch((error) => Effect.logError("failed to download skill file", { url, error }).pipe(Effect.as(false))));
65
65
  });
66
- return Service13.of({
66
+ return Service6.of({
67
67
  pull: Effect.fn("SkillDiscovery.pull")(function* (url) {
68
68
  const base = url.endsWith("/") ? url : `${url}/`;
69
69
  const source = new URL(base);
@@ -150,6 +150,6 @@ var layer = Layer.effect(Service13, Effect.gen(function* () {
150
150
  })
151
151
  });
152
152
  }));
153
- var node15 = makeGlobalNode({ service: Service13, layer, deps: [httpClient, FSUtil.node, Global.node] });
153
+ var node8 = makeGlobalNode({ service: Service6, layer, deps: [httpClient, FSUtil.node, Global.node] });
154
154
 
155
- export { Service13, node15, exports_discovery };
155
+ export { Service6, node8, exports_discovery };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./generate-z5v4ffb3.js";
3
+ } from "./snapshot-z5v4ffb3.js";
4
4
  import {
5
5
  __export
6
- } from "./generate-9rqn6x4v.js";
6
+ } from "./snapshot-9rqn6x4v.js";
7
7
 
8
8
  // src/v1/config/mcp.ts
9
9
  var exports_mcp5 = {};
10
10
  __export(exports_mcp5, {
11
11
  ConfigMCPV1: () => exports_mcp5,
12
- Info: () => Info14,
12
+ Info: () => Info15,
13
13
  Local: () => Local2,
14
14
  OAuth: () => OAuth2,
15
15
  Remote: () => Remote2
@@ -64,6 +64,6 @@ var Remote2 = Schema.Struct({
64
64
  description: "Timeout in ms for MCP server requests. Defaults to 5000 (5 seconds) if not specified."
65
65
  })
66
66
  }).annotate({ identifier: "McpRemoteConfig" });
67
- var Info14 = Schema.Union([Local2, Remote2]).annotate({ discriminator: "type" });
67
+ var Info15 = Schema.Union([Local2, Remote2]).annotate({ discriminator: "type" });
68
68
 
69
- export { Local2, OAuth2, Remote2, Info14, exports_mcp5 };
69
+ export { Local2, OAuth2, Remote2, Info15, exports_mcp5 };
@@ -1,38 +1,38 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./generate-z5v4ffb3.js";
3
+ } from "./snapshot-z5v4ffb3.js";
4
4
  import {
5
- Service80
6
- } from "./generate-5ndn92dg.js";
5
+ Service81
6
+ } from "./snapshot-bkgjq45n.js";
7
7
  import {
8
- Service56
9
- } from "./generate-5w5jq283.js";
8
+ Service65
9
+ } from "./snapshot-1p2qp805.js";
10
10
  import {
11
11
  LocalSource2,
12
12
  GitSource2
13
- } from "./generate-1wa46tec.js";
13
+ } from "./snapshot-br8v5cn9.js";
14
14
  import {
15
15
  observe2
16
- } from "./generate-qsdy395h.js";
16
+ } from "./snapshot-qsdy395h.js";
17
17
  import {
18
18
  __export
19
- } from "./generate-9rqn6x4v.js";
19
+ } from "./snapshot-9rqn6x4v.js";
20
20
 
21
21
  // src/config/plugin/reference.ts
22
22
  var exports_reference = {};
23
23
  __export(exports_reference, {
24
24
  ConfigReferencePlugin: () => exports_reference,
25
- Plugin: () => Plugin39
25
+ Plugin: () => Plugin10
26
26
  });
27
27
  import { define } from "@opencode/plugin/effect/plugin";
28
28
  import path from "path";
29
29
  import { Effect } from "effect";
30
30
  import { Global } from "@opencode/util/global";
31
- var Plugin39 = define({
31
+ var Plugin10 = define({
32
32
  id: "opencode.config.reference",
33
33
  effect: Effect.fn(function* (ctx) {
34
- const config = yield* Service56;
35
- const location = yield* Service80;
34
+ const config = yield* Service65;
35
+ const location = yield* Service81;
36
36
  const global = yield* Global.Service;
37
37
  const loaded = yield* observe2(config, ctx.event, ctx.reference.reload());
38
38
  yield* ctx.reference.transform((editor) => {
@@ -72,4 +72,4 @@ function localPath(directory, home, value) {
72
72
  return path.isAbsolute(value) ? value : path.resolve(directory, value);
73
73
  }
74
74
 
75
- export { Plugin39, exports_reference };
75
+ export { Plugin10, exports_reference };
@@ -1,56 +1,56 @@
1
1
  import {
2
- Service83,
3
- node87
4
- } from "./generate-mgrzhrw3.js";
2
+ Service84,
3
+ node88
4
+ } from "./snapshot-q23ecs5g.js";
5
5
  import {
6
- node61
7
- } from "./generate-qawb3j5e.js";
6
+ node70
7
+ } from "./snapshot-6jw7hjkg.js";
8
8
  import {
9
- Service7,
10
- node8
11
- } from "./generate-dpsbv5y8.js";
9
+ Service4,
10
+ node6
11
+ } from "./snapshot-bytdxgsj.js";
12
12
  import {
13
- Service25
14
- } from "./generate-zyt2xg97.js";
13
+ Service73
14
+ } from "./snapshot-hmtp6bqa.js";
15
15
  import {
16
- Service40
17
- } from "./generate-f81tjggh.js";
16
+ Service31
17
+ } from "./snapshot-dxj72tfx.js";
18
18
  import {
19
- node20,
19
+ node24,
20
20
  ID3
21
- } from "./generate-gnjv7wb4.js";
21
+ } from "./snapshot-nv0k8b7e.js";
22
22
  import {
23
- Service5,
24
- node6
25
- } from "./generate-g0445xdp.js";
23
+ Service11,
24
+ node13
25
+ } from "./snapshot-phstrbs2.js";
26
26
  import {
27
27
  requirements2,
28
28
  guarded2,
29
29
  list2
30
- } from "./generate-9bbmxcdc.js";
30
+ } from "./snapshot-tp7rvt8n.js";
31
31
  import {
32
- make3,
32
+ make10,
33
33
  LoadError2
34
- } from "./generate-2qfnhhnx.js";
34
+ } from "./snapshot-9hkcxdmn.js";
35
35
  import {
36
36
  Updated2,
37
- Service3,
38
- node4
39
- } from "./generate-8a4nd1r6.js";
37
+ Service13,
38
+ node15
39
+ } from "./snapshot-8r48d4az.js";
40
40
  import {
41
- Service6,
42
- node7
43
- } from "./generate-x2aynqqh.js";
41
+ Service12,
42
+ node14
43
+ } from "./snapshot-s1kvmffy.js";
44
44
  import {
45
45
  __export
46
- } from "./generate-9rqn6x4v.js";
46
+ } from "./snapshot-9rqn6x4v.js";
47
47
 
48
48
  // src/plugin/supervisor.ts
49
49
  var exports_supervisor = {};
50
50
  __export(exports_supervisor, {
51
51
  PluginSupervisor: () => exports_supervisor,
52
- layer: () => layer3,
53
- node: () => node3
52
+ layer: () => layer4,
53
+ node: () => node5
54
54
  });
55
55
  import { Event } from "@opencode/schema/config";
56
56
  import { Cause, Effect, Layer, Queue, Stream } from "effect";
@@ -136,15 +136,15 @@ var resolve = Effect.fn("PluginSupervisor.resolve")(function* (modules, pre, pos
136
136
  pending: [...pending]
137
137
  };
138
138
  });
139
- var layer3 = Layer.effectDiscard(Effect.gen(function* () {
140
- const managed = yield* Service25;
141
- const registry = yield* Service40;
142
- const sdk = yield* Service3;
143
- const instance = yield* Service5;
144
- const sources = yield* Service7;
145
- const modules = yield* make3();
146
- const bus = yield* Service83;
147
- const updates = yield* Service6;
139
+ var layer4 = Layer.effectDiscard(Effect.gen(function* () {
140
+ const managed = yield* Service73;
141
+ const registry = yield* Service31;
142
+ const sdk = yield* Service13;
143
+ const instance = yield* Service11;
144
+ const sources = yield* Service4;
145
+ const modules = yield* make10();
146
+ const bus = yield* Service84;
147
+ const updates = yield* Service12;
148
148
  const internal = yield* list2();
149
149
  let release = yield* registry.hold();
150
150
  yield* Effect.addFinalizer(() => release ?? Effect.void);
@@ -220,14 +220,14 @@ var layer3 = Layer.effectDiscard(Effect.gen(function* () {
220
220
  })), Effect.forkScoped({ startImmediately: true }));
221
221
  }));
222
222
  var nodeDeps = [
223
- node20,
224
- node4,
223
+ node24,
224
+ node15,
225
+ node13,
225
226
  node6,
226
- node8,
227
- node7,
228
- node87,
227
+ node14,
228
+ node88,
229
229
  Npm.node,
230
- node61,
230
+ node70,
231
231
  requirements2
232
232
  ];
233
233
  function pluginSource(target) {
@@ -235,6 +235,6 @@ function pluginSource(target) {
235
235
  return { type: "local", path: target };
236
236
  return { type: "package", target };
237
237
  }
238
- var node3 = makeLocationNode({ name: "plugin-supervisor", layer: layer3, deps: nodeDeps });
238
+ var node5 = makeLocationNode({ name: "plugin-supervisor", layer: layer4, deps: nodeDeps });
239
239
 
240
- export { layer3, node3, exports_supervisor };
240
+ export { layer4, node5, exports_supervisor };
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  __export
3
- } from "./generate-9rqn6x4v.js";
3
+ } from "./snapshot-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/mcp-codemode-defaults.ts
6
6
  var exports_mcp_codemode_defaults = {};
7
7
  __export(exports_mcp_codemode_defaults, {
8
8
  McpCodeModeDefaultsPlugin: () => exports_mcp_codemode_defaults,
9
- Plugin: () => Plugin22
9
+ Plugin: () => Plugin44
10
10
  });
11
11
  import { define } from "@opencode/plugin/effect/plugin";
12
12
  import { Effect } from "effect";
13
13
  var urls = [/^https:\/\/executor\.sh\/[^/]+\/mcp$/];
14
14
  var posthog = /^mcp(?:-eu|\.us|\.eu)?\.posthog\.com$/;
15
15
  var mode = "x-posthog-mcp-mode";
16
- var Plugin22 = define({
16
+ var Plugin44 = define({
17
17
  id: "opencode.mcp.codemode.defaults",
18
18
  effect: Effect.fn(function* (ctx) {
19
19
  yield* ctx.mcp.transform((editor) => {
@@ -38,4 +38,4 @@ var Plugin22 = define({
38
38
  })
39
39
  });
40
40
 
41
- export { Plugin22, exports_mcp_codemode_defaults };
41
+ export { Plugin44, exports_mcp_codemode_defaults };
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  __export
3
- } from "./generate-9rqn6x4v.js";
3
+ } from "./snapshot-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/permission.ts
6
- var exports_permission = {};
7
- __export(exports_permission, {
6
+ var exports_permission2 = {};
7
+ __export(exports_permission2, {
8
8
  Action: () => Action2,
9
- ConfigPermissionV1: () => exports_permission,
9
+ ConfigPermissionV1: () => exports_permission2,
10
10
  Entries: () => Entries2,
11
- Info: () => Info12,
11
+ Info: () => Info18,
12
12
  Object: () => Object2,
13
- Rule: () => Rule2
13
+ Rule: () => Rule3
14
14
  });
15
15
  import { Schema, SchemaGetter } from "effect";
16
16
  var Action2 = Schema.Literals(["ask", "allow", "deny"]).annotate({ identifier: "PermissionActionConfig" });
@@ -19,13 +19,13 @@ var Entries2 = (value) => Schema.ObjectKeyword.check(Schema.makeFilter((input) =
19
19
  encode: SchemaGetter.transform((entries) => globalThis.Object.fromEntries(entries))
20
20
  }));
21
21
  var Object2 = Entries2(Action2).annotate({ identifier: "PermissionObjectConfig" });
22
- var Rule2 = Schema.Union([Action2, Object2]).annotate({ identifier: "PermissionRuleConfig" });
22
+ var Rule3 = Schema.Union([Action2, Object2]).annotate({ identifier: "PermissionRuleConfig" });
23
23
  var actionOnly = new Set(["question", "websearch", "doom_loop"]);
24
- var Info12 = Schema.Union([Action2, Schema.ObjectKeyword]).pipe(Schema.decodeTo(Entries2(Rule2), {
24
+ var Info18 = Schema.Union([Action2, Schema.ObjectKeyword]).pipe(Schema.decodeTo(Entries2(Rule3), {
25
25
  decode: SchemaGetter.transform((input) => typeof input === "string" ? { "*": input } : input),
26
26
  encode: SchemaGetter.passthrough({ strict: false })
27
27
  })).check(Schema.makeFilter((rules) => rules.every(([key, rule]) => !actionOnly.has(key) || typeof rule === "string"), {
28
28
  expected: "question, websearch, and doom_loop to be ask, allow, or deny"
29
29
  })).annotate({ identifier: "PermissionConfig" });
30
30
 
31
- export { Action2, Entries2, Object2, Rule2, Info12, exports_permission };
31
+ export { Action2, Entries2, Object2, Rule3, Info18, exports_permission2 };
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  webSocketConstructor2
3
- } from "./generate-2vvh33eb.js";
3
+ } from "./snapshot-2vvh33eb.js";
4
4
  import {
5
5
  __export
6
- } from "./generate-9rqn6x4v.js";
6
+ } from "./snapshot-9rqn6x4v.js";
7
7
 
8
8
  // src/session/model-transport.ts
9
9
  var exports_model_transport = {};
10
10
  __export(exports_model_transport, {
11
- Service: () => Service39,
11
+ Service: () => Service29,
12
12
  SessionModelTransport: () => exports_model_transport,
13
- layer: () => layer18,
13
+ layer: () => layer12,
14
14
  makeLayer: () => makeLayer2,
15
- node: () => node42
15
+ node: () => node33
16
16
  });
17
17
  import {
18
18
  WebSocketTransport
@@ -33,7 +33,7 @@ var events = Metric.counter("opencode_session_websocket_events_total", {
33
33
  });
34
34
  var metric = (event, attributes = {}) => Metric.update(events.pipe(Metric.withAttributes({ event, ...attributes })), 1);
35
35
 
36
- class Service39 extends Context.Service()("@opencode/SessionModelTransport") {
36
+ class Service29 extends Context.Service()("@opencode/SessionModelTransport") {
37
37
  }
38
38
  var transportError = (message, input) => new AIError({
39
39
  reason: new TransportError({ message, transport: "websocket", ...input })
@@ -57,7 +57,7 @@ var observationFrame = (observation) => {
57
57
  return Effect.fail(observation.error);
58
58
  };
59
59
  var observationTerminal = (observation) => observation.type !== "frame";
60
- var makeLayer2 = (connector) => Layer.effect(Service39, Effect.gen(function* () {
60
+ var makeLayer2 = (connector) => Layer.effect(Service29, Effect.gen(function* () {
61
61
  const scope = yield* Scope.Scope;
62
62
  const states = new Map;
63
63
  const state = (sessionID) => {
@@ -367,11 +367,11 @@ var makeLayer2 = (connector) => Layer.effect(Service39, Effect.gen(function* ()
367
367
  }, { discard: true });
368
368
  });
369
369
  yield* Effect.addFinalizer(() => closeAll);
370
- return Service39.of({ bind, close, closeAll });
370
+ return Service29.of({ bind, close, closeAll });
371
371
  }));
372
- var layer18 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
372
+ var layer12 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
373
373
  open: (input) => WebSocketTransport.open(input).pipe(Effect.provideService(Socket.WebSocketConstructor, constructor))
374
374
  })));
375
- var node42 = makeGlobalNode({ service: Service39, layer: layer18, deps: [webSocketConstructor2] });
375
+ var node33 = makeGlobalNode({ service: Service29, layer: layer12, deps: [webSocketConstructor2] });
376
376
 
377
- export { Service39, makeLayer2, layer18, node42, exports_model_transport };
377
+ export { Service29, makeLayer2, layer12, node33, exports_model_transport };
@@ -1,25 +1,25 @@
1
- import {
2
- Service83,
3
- node87
4
- } from "./generate-mgrzhrw3.js";
5
1
  import {
6
2
  Service84,
7
3
  node88
8
- } from "./generate-yv88v3w0.js";
4
+ } from "./snapshot-q23ecs5g.js";
5
+ import {
6
+ Service72,
7
+ node76
8
+ } from "./snapshot-vy3tkgf3.js";
9
9
  import {
10
10
  create3
11
- } from "./generate-rdw6cm16.js";
11
+ } from "./snapshot-rdw6cm16.js";
12
12
  import {
13
13
  __export
14
- } from "./generate-9rqn6x4v.js";
14
+ } from "./snapshot-9rqn6x4v.js";
15
15
 
16
16
  // src/websearch.ts
17
17
  var exports_websearch3 = {};
18
18
  __export(exports_websearch3, {
19
19
  DisabledError: () => DisabledError2,
20
- Event: () => Event5,
21
- ID: () => ID4,
22
- Input: () => Input13,
20
+ Event: () => Event14,
21
+ ID: () => ID10,
22
+ Input: () => Input14,
23
23
  Provider: () => Provider2,
24
24
  ProviderKey: () => ProviderKey2,
25
25
  ProviderNotFoundError: () => ProviderNotFoundError2,
@@ -28,29 +28,29 @@ __export(exports_websearch3, {
28
28
  Response: () => Response2,
29
29
  Result: () => Result2,
30
30
  Selection: () => Selection2,
31
- Service: () => Service20,
31
+ Service: () => Service69,
32
32
  WebSearch: () => exports_websearch3,
33
- node: () => node23
33
+ node: () => node73
34
34
  });
35
35
  import { WebSearch } from "@opencode/schema/websearch";
36
36
  import { SessionEvent } from "@opencode/schema/session-event";
37
37
  import { Clock, Context, Effect, Layer, Option, Schema, Stream } from "effect";
38
38
  import { HttpClientError } from "effect/http";
39
39
  import { makeLocationNode } from "@opencode/util/effect/app-node";
40
- import { Event as Event5 } from "@opencode/schema/websearch";
41
- var ID4 = WebSearch.ID;
40
+ import { Event as Event14 } from "@opencode/schema/websearch";
41
+ var ID10 = WebSearch.ID;
42
42
  var Provider2 = WebSearch.Provider;
43
- var Input13 = WebSearch.Input;
43
+ var Input14 = WebSearch.Input;
44
44
  var Result2 = WebSearch.Result;
45
45
  var Response2 = WebSearch.Response;
46
46
  var ProviderKey2 = "websearch:provider";
47
- var Selection2 = Schema.Union([ID4, Schema.Literal("random"), Schema.Literal(false)]);
47
+ var Selection2 = Schema.Union([ID10, Schema.Literal("random"), Schema.Literal(false)]);
48
48
 
49
49
  class ProviderRequiredError2 extends Schema.TaggedError()("WebSearch.ProviderRequired", {}) {
50
50
  }
51
51
 
52
52
  class ProviderNotFoundError2 extends Schema.TaggedError()("WebSearch.ProviderNotFound", {
53
- providerID: ID4
53
+ providerID: ID10
54
54
  }) {
55
55
  }
56
56
 
@@ -58,16 +58,16 @@ class DisabledError2 extends Schema.TaggedError()("WebSearch.Disabled", {}) {
58
58
  }
59
59
 
60
60
  class RequestError2 extends Schema.TaggedError()("WebSearch.Request", {
61
- providerID: ID4,
61
+ providerID: ID10,
62
62
  cause: Schema.Defect()
63
63
  }) {
64
64
  }
65
65
 
66
- class Service20 extends Context.Service()("@opencode/WebSearch") {
66
+ class Service69 extends Context.Service()("@opencode/WebSearch") {
67
67
  }
68
- var layer = Layer.effect(Service20, Effect.gen(function* () {
69
- const bus = yield* Service83;
70
- const kv = yield* Service84;
68
+ var layer = Layer.effect(Service69, Effect.gen(function* () {
69
+ const bus = yield* Service84;
70
+ const kv = yield* Service72;
71
71
  const decodeResults = Schema.decodeUnknownEffect(Schema.Array(Result2));
72
72
  const cooldowns = new Map;
73
73
  const preferred = new Map;
@@ -124,7 +124,7 @@ var layer = Layer.effect(Service20, Effect.gen(function* () {
124
124
  }
125
125
  return choice ? state.get().providers.get(choice) : undefined;
126
126
  });
127
- return Service20.of({
127
+ return Service69.of({
128
128
  transform: state.transform,
129
129
  reload: state.reload,
130
130
  providers: Effect.fn("WebSearch.providers")(function* () {
@@ -184,10 +184,10 @@ function cooldownMillis(value, now) {
184
184
  const date = Date.parse(value);
185
185
  return Number.isFinite(date) ? Math.max(0, date - now) : 60000;
186
186
  }
187
- var node23 = makeLocationNode({
188
- service: Service20,
187
+ var node73 = makeLocationNode({
188
+ service: Service69,
189
189
  layer,
190
- deps: [node87, node88]
190
+ deps: [node88, node76]
191
191
  });
192
192
 
193
- export { ID4, Provider2, Input13, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2, Service20, node23, exports_websearch3, Event5 };
193
+ export { ID10, Provider2, Input14, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2, Service69, node73, exports_websearch3, Event14 };
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  __export
3
- } from "./generate-9rqn6x4v.js";
3
+ } from "./snapshot-9rqn6x4v.js";
4
4
 
5
5
  // src/app.ts
6
6
  var exports_app = {};
7
7
  __export(exports_app, {
8
8
  App: () => exports_app,
9
9
  Metadata: () => Metadata2,
10
- configured: () => configured7,
11
- layer: () => layer20,
12
- make: () => make16,
13
- node: () => node54,
10
+ configured: () => configured8,
11
+ layer: () => layer23,
12
+ make: () => make18,
13
+ node: () => node57,
14
14
  useragent: () => useragent2
15
15
  });
16
16
  import { Context, Layer } from "effect";
17
17
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
18
18
  var Metadata2 = Context.Reference("@opencode/App", {
19
- defaultValue: () => make16()
19
+ defaultValue: () => make18()
20
20
  });
21
- function make16(input = {}) {
21
+ function make18(input = {}) {
22
22
  return {
23
23
  name: input.name ?? "opencode",
24
24
  version: input.version ?? "unknown",
@@ -28,8 +28,8 @@ function make16(input = {}) {
28
28
  function useragent2(app) {
29
29
  return `opencode/${app.channel}/${app.version}/${app.name}`;
30
30
  }
31
- var layer20 = (input) => Layer.succeed(Metadata2, make16(input));
32
- var configured7 = (input) => makeGlobalNode({ service: Metadata2, layer: layer20(input), deps: [] });
33
- var node54 = configured7();
31
+ var layer23 = (input) => Layer.succeed(Metadata2, make18(input));
32
+ var configured8 = (input) => makeGlobalNode({ service: Metadata2, layer: layer23(input), deps: [] });
33
+ var node57 = configured8();
34
34
 
35
- export { Metadata2, make16, useragent2, layer20, configured7, node54, exports_app };
35
+ export { Metadata2, make18, useragent2, layer23, configured8, node57, exports_app };
@@ -1,26 +1,26 @@
1
1
  import {
2
- Service83,
3
- node87
4
- } from "./generate-mgrzhrw3.js";
2
+ Service84,
3
+ node88
4
+ } from "./snapshot-q23ecs5g.js";
5
5
  import {
6
6
  Key4,
7
7
  External2,
8
8
  Service78,
9
9
  node82
10
- } from "./generate-p8jn648k.js";
10
+ } from "./snapshot-45s0xkqg.js";
11
11
  import {
12
12
  create3
13
- } from "./generate-rdw6cm16.js";
13
+ } from "./snapshot-rdw6cm16.js";
14
14
  import {
15
15
  key2
16
- } from "./generate-addxnjmp.js";
16
+ } from "./snapshot-addxnjmp.js";
17
17
  import {
18
18
  validateAnswer2,
19
19
  validateFields2
20
- } from "./generate-ns06ffs6.js";
20
+ } from "./snapshot-c6yzar81.js";
21
21
  import {
22
22
  __export
23
- } from "./generate-9rqn6x4v.js";
23
+ } from "./snapshot-9rqn6x4v.js";
24
24
 
25
25
  // src/integration.ts
26
26
  var exports_integration = {};
@@ -114,7 +114,7 @@ var terminalRetention = Duration.toMillis(Duration.minutes(1));
114
114
  var scrubInterval = Duration.seconds(30);
115
115
  var layer = Layer.effect(Service77, Effect.gen(function* () {
116
116
  const credentials = yield* Service78;
117
- const bus = yield* Service83;
117
+ const bus = yield* Service84;
118
118
  const processes = yield* AppProcess.Service;
119
119
  const scope = yield* Scope.Scope;
120
120
  const attempts = SynchronizedRef.makeUnsafe(new Map);
@@ -632,7 +632,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
632
632
  var node81 = makeLocationNode({
633
633
  service: Service77,
634
634
  layer,
635
- deps: [node82, node87, AppProcess.node]
635
+ deps: [node82, node88, AppProcess.node]
636
636
  });
637
637
 
638
638
  export { ID14, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, ExternalMethod2, EnvMethod2, Method2, Info23, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref3, Service77, node81, exports_integration, Event18 };
@@ -4,7 +4,7 @@ import {
4
4
  orderSelectedFields2,
5
5
  mapUpdateSet2,
6
6
  getTableLikeName2
7
- } from "./generate-emrn6kk6.js";
7
+ } from "./snapshot-emrn6kk6.js";
8
8
 
9
9
  // src/database/drizzle/sqlite-core/effect/update.ts
10
10
  import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";