@opencode/core 0.0.0-dev-20083 → 0.0.0-dev-20086

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 (802) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +81 -81
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +69 -69
  7. package/dist/chunks/{vcs-vfjhaew2.js → state-02cj0pc8.js} +16 -16
  8. package/dist/chunks/{vcs-371gek70.js → state-07rdd209.js} +16 -16
  9. package/dist/chunks/{vcs-nc17g1ks.js → state-0erg9wwv.js} +29 -29
  10. package/dist/chunks/state-0mesazry.js +4 -0
  11. package/dist/chunks/{vcs-0paq2nw3.js → state-0paq2nw3.js} +1 -1
  12. package/dist/chunks/{vcs-xsgk3b13.js → state-0tmgye68.js} +9 -9
  13. package/dist/chunks/{vcs-qbazetqp.js → state-0wey50z9.js} +18 -18
  14. package/dist/chunks/{vcs-v6ysps7g.js → state-103sd08j.js} +39 -39
  15. package/dist/chunks/{vcs-jz5sxy2v.js → state-10jtetaj.js} +6 -6
  16. package/dist/chunks/{vcs-2v2a3t0h.js → state-12as4csw.js} +4 -4
  17. package/dist/chunks/{vcs-fydev08n.js → state-12p4qwq0.js} +17 -17
  18. package/dist/chunks/{vcs-66pxgpaw.js → state-14qvxy67.js} +4 -4
  19. package/dist/chunks/{vcs-fv92jnq2.js → state-1bmsx0zf.js} +10 -10
  20. package/dist/chunks/{vcs-1dazxqgg.js → state-1dazxqgg.js} +2 -2
  21. package/dist/chunks/{vcs-r72p2pqe.js → state-1em0vfhe.js} +2 -2
  22. package/dist/chunks/{vcs-m65w0hjp.js → state-1px9a8xa.js} +36 -36
  23. package/dist/chunks/{vcs-yg1qn3cz.js → state-1s1ztnqh.js} +11 -11
  24. package/dist/chunks/{vcs-68vyb3qc.js → state-1vtry6ap.js} +11 -11
  25. package/dist/chunks/{vcs-33w4ejhs.js → state-1ygqh575.js} +6 -6
  26. package/dist/chunks/{vcs-21r38tys.js → state-21r38tys.js} +1 -1
  27. package/dist/chunks/{vcs-w9tkr4jp.js → state-22r3fh08.js} +7 -7
  28. package/dist/chunks/{vcs-rsemhs2h.js → state-271vm2mc.js} +180 -180
  29. package/dist/chunks/{vcs-2a5m3afh.js → state-2a5m3afh.js} +1 -1
  30. package/dist/chunks/{vcs-4a2h7ym7.js → state-2akz4pff.js} +20 -20
  31. package/dist/chunks/{vcs-2w88xg01.js → state-2cdppye1.js} +9 -9
  32. package/dist/chunks/{vcs-c38rsp43.js → state-2gsn04w3.js} +31 -31
  33. package/dist/chunks/{vcs-c4r6rz4w.js → state-2r4f9961.js} +20 -20
  34. package/dist/chunks/{vcs-wn8t9ac7.js → state-2wh0tznn.js} +43 -43
  35. package/dist/chunks/{vcs-gpds3780.js → state-331q5pgp.js} +24 -24
  36. package/dist/chunks/{vcs-kk0z3jeb.js → state-37pjvmwd.js} +7 -7
  37. package/dist/chunks/{vcs-t1ghz5t3.js → state-384gf1m7.js} +30 -30
  38. package/dist/chunks/{vcs-fpzpjdd6.js → state-38zhvv5q.js} +9 -9
  39. package/dist/chunks/{vcs-3fc6dm20.js → state-3fc6dm20.js} +1 -1
  40. package/dist/chunks/{vcs-7bp3xrzr.js → state-3fmtxraa.js} +4 -4
  41. package/dist/chunks/{vcs-3hepkmqq.js → state-3hepkmqq.js} +1 -1
  42. package/dist/chunks/{vcs-b3jbkr8y.js → state-3pt3xjye.js} +3 -3
  43. package/dist/chunks/{vcs-3smtnn6g.js → state-3smtnn6g.js} +1 -1
  44. package/dist/chunks/{vcs-3tvqynh2.js → state-3tvqynh2.js} +1 -1
  45. package/dist/chunks/{vcs-ky2mdz05.js → state-3tza3sf4.js} +53 -53
  46. package/dist/chunks/{vcs-51d8ehfy.js → state-3xe0jx7r.js} +5 -5
  47. package/dist/chunks/{vcs-3zsf4n22.js → state-3zsf4n22.js} +1 -1
  48. package/dist/chunks/{vcs-pahxbg9p.js → state-3ztzj39p.js} +15 -15
  49. package/dist/chunks/{vcs-ch08nsxs.js → state-40e94ye7.js} +26 -26
  50. package/dist/chunks/{vcs-ws2hpek1.js → state-44849632.js} +17 -17
  51. package/dist/chunks/{vcs-705e2ap1.js → state-4n607a2z.js} +5 -5
  52. package/dist/chunks/{vcs-ryfje2sk.js → state-4ncjv8c3.js} +32 -32
  53. package/dist/chunks/{vcs-5qwkxp89.js → state-4nzwy074.js} +4 -4
  54. package/dist/chunks/{vcs-ggw2yz4k.js → state-4qv3yyzg.js} +10 -10
  55. package/dist/chunks/{vcs-63tqz9ht.js → state-527n1w5n.js} +7 -7
  56. package/dist/chunks/{vcs-0jkw1j53.js → state-52hb404k.js} +6 -6
  57. package/dist/chunks/{vcs-2fgn2we9.js → state-57ez7d0k.js} +9 -9
  58. package/dist/chunks/{vcs-0462xykd.js → state-580xtat9.js} +17 -17
  59. package/dist/chunks/{vcs-5daktx2q.js → state-5daktx2q.js} +1 -1
  60. package/dist/chunks/{vcs-5ekn9679.js → state-5ekn9679.js} +1 -1
  61. package/dist/chunks/{vcs-g2m0x3mc.js → state-5gftdx11.js} +55 -55
  62. package/dist/chunks/{vcs-5t3nmthw.js → state-5t3nmthw.js} +2 -2
  63. package/dist/chunks/{vcs-kgx5a6ff.js → state-5vmwkxe9.js} +22 -22
  64. package/dist/chunks/{vcs-ze9fxg61.js → state-637kffsg.js} +24 -24
  65. package/dist/chunks/{vcs-eswmeynf.js → state-63cq5ear.js} +11 -11
  66. package/dist/chunks/{vcs-48zrqm4j.js → state-64dtqc3f.js} +5 -5
  67. package/dist/chunks/{vcs-669tq793.js → state-669tq793.js} +1 -1
  68. package/dist/chunks/{vcs-grng3ccv.js → state-6f09tcf1.js} +33 -33
  69. package/dist/chunks/{vcs-2402vzrj.js → state-6h73sxmp.js} +5 -5
  70. package/dist/chunks/state-6mkgf16q.js +252 -0
  71. package/dist/chunks/{vcs-6msgmcgs.js → state-6msgmcgs.js} +1 -1
  72. package/dist/chunks/{vcs-x1rff75g.js → state-6n2eehmw.js} +22 -22
  73. package/dist/chunks/{vcs-8sze2n9a.js → state-6pc27hjz.js} +2 -2
  74. package/dist/chunks/{vcs-t2r6r89t.js → state-6q87yf47.js} +10 -10
  75. package/dist/chunks/{vcs-pbfpfpw9.js → state-6qsj15fd.js} +6 -6
  76. package/dist/chunks/{vcs-6wvz01fc.js → state-6s8wj2t2.js} +4 -4
  77. package/dist/chunks/{vcs-11hhv0de.js → state-6w1rts7e.js} +4 -4
  78. package/dist/chunks/{vcs-0ncwemsz.js → state-6xjd4qpp.js} +88 -88
  79. package/dist/chunks/{vcs-9ed38v85.js → state-6xxehmv1.js} +18 -18
  80. package/dist/chunks/{vcs-bq4s4pe3.js → state-72c7x5rd.js} +5 -5
  81. package/dist/chunks/{vcs-7bmhse3q.js → state-7bmhse3q.js} +1 -1
  82. package/dist/chunks/{vcs-qgn6gcr1.js → state-7dqw4kz8.js} +5 -5
  83. package/dist/chunks/{vcs-5x6205s3.js → state-7wrqfeey.js} +43 -43
  84. package/dist/chunks/{vcs-179189h4.js → state-7z7az0f5.js} +4 -4
  85. package/dist/chunks/{vcs-87h9va2t.js → state-7z9wgydg.js} +10 -10
  86. package/dist/chunks/{vcs-8hwdgt3y.js → state-821ss22x.js} +48 -48
  87. package/dist/chunks/{vcs-pnvqzmvp.js → state-86dam8yv.js} +15 -15
  88. package/dist/chunks/{vcs-1cwqwg0q.js → state-87df55d3.js} +13 -13
  89. package/dist/chunks/{vcs-fj1wtqbp.js → state-87qk2fb2.js} +13 -13
  90. package/dist/chunks/{vcs-0kh7mner.js → state-892zz8qj.js} +2 -2
  91. package/dist/chunks/{vcs-svvemcs6.js → state-8d0p2m37.js} +5 -5
  92. package/dist/chunks/{vcs-8d7r5vzw.js → state-8d7r5vzw.js} +1 -1
  93. package/dist/chunks/{vcs-212c3bce.js → state-8hm487hb.js} +22 -22
  94. package/dist/chunks/{vcs-6s2n83jy.js → state-8tt36ewb.js} +25 -25
  95. package/dist/chunks/{vcs-x13r1yah.js → state-8w6y8kk9.js} +20 -20
  96. package/dist/chunks/{vcs-h1j14yqf.js → state-8zz3fhf5.js} +33 -33
  97. package/dist/chunks/{vcs-94ek1h2f.js → state-94ek1h2f.js} +2 -2
  98. package/dist/chunks/{vcs-mdjrqw72.js → state-96frkt8z.js} +7 -7
  99. package/dist/chunks/{vcs-j29b5e8q.js → state-9aq5295b.js} +5 -5
  100. package/dist/chunks/{vcs-kpa1ryd1.js → state-9g7qqvsb.js} +68 -68
  101. package/dist/chunks/{vcs-g0445xdp.js → state-9hn6k4tm.js} +8 -8
  102. package/dist/chunks/{vcs-yzztktw2.js → state-9smb885v.js} +35 -35
  103. package/dist/chunks/{vcs-atp0am1p.js → state-9zch71dn.js} +24 -24
  104. package/dist/chunks/{vcs-jca4demv.js → state-a3r4dcrj.js} +2 -2
  105. package/dist/chunks/{vcs-cavr175a.js → state-a8bn8zg0.js} +4 -4
  106. package/dist/chunks/{vcs-yxabtm2w.js → state-a8tm1nmv.js} +11 -11
  107. package/dist/chunks/{vcs-aaet6srn.js → state-aaet6srn.js} +2 -2
  108. package/dist/chunks/{vcs-gk2dbm5x.js → state-ab3q5qw2.js} +24 -24
  109. package/dist/chunks/{vcs-ze71xwz7.js → state-addr2z3b.js} +14 -14
  110. package/dist/chunks/{vcs-f8vk1c9x.js → state-aesvhg1d.js} +43 -43
  111. package/dist/chunks/{vcs-ywfj9cpt.js → state-ahze9mkv.js} +10 -10
  112. package/dist/chunks/{vcs-qwqd8zme.js → state-ash9qzxk.js} +8 -8
  113. package/dist/chunks/{vcs-s5xy3xb2.js → state-b2rczs3a.js} +3 -3
  114. package/dist/chunks/{vcs-bkx1af4z.js → state-b4xx7p0v.js} +10 -10
  115. package/dist/chunks/{vcs-b6gygkdw.js → state-b6gygkdw.js} +2 -2
  116. package/dist/chunks/{vcs-00z3vp5f.js → state-bct739vz.js} +4 -4
  117. package/dist/chunks/{vcs-dtqg9ce1.js → state-bgs9y14h.js} +5 -5
  118. package/dist/chunks/{vcs-m0faxyms.js → state-bgte5q86.js} +9 -9
  119. package/dist/chunks/{vcs-emwnxg71.js → state-bhnryp6n.js} +32 -32
  120. package/dist/chunks/{vcs-b7f8f75j.js → state-bswpvtym.js} +8 -8
  121. package/dist/chunks/{vcs-pjgby0gj.js → state-bwgpf6kh.js} +21 -21
  122. package/dist/chunks/{vcs-m1na4e3g.js → state-bxxr9cq6.js} +23 -23
  123. package/dist/chunks/{vcs-nm2z9cct.js → state-cbm7rw8j.js} +26 -26
  124. package/dist/chunks/{vcs-k0nnq3t9.js → state-cfm9g534.js} +8 -8
  125. package/dist/chunks/{vcs-nsjjga1k.js → state-chjpp9jv.js} +22 -22
  126. package/dist/chunks/{vcs-q23rvkdr.js → state-cjagda2z.js} +25 -25
  127. package/dist/chunks/{vcs-ckecvw8r.js → state-ckecvw8r.js} +2 -2
  128. package/dist/chunks/{vcs-k76fn4kw.js → state-ckf8nxjz.js} +4 -4
  129. package/dist/chunks/{vcs-qmy51sea.js → state-d2jcr80b.js} +15 -15
  130. package/dist/chunks/{vcs-n2srvep7.js → state-d858xzj7.js} +4 -4
  131. package/dist/chunks/{vcs-n47f9j4d.js → state-dbs1cfk5.js} +17 -17
  132. package/dist/chunks/{vcs-53fyba40.js → state-dg2cj1yd.js} +4 -4
  133. package/dist/chunks/{vcs-vp8nspft.js → state-dhw6r217.js} +17 -17
  134. package/dist/chunks/{vcs-qr8csav2.js → state-dj9sq318.js} +5 -5
  135. package/dist/chunks/{vcs-r2m716tb.js → state-djszqvmq.js} +9 -9
  136. package/dist/chunks/{vcs-hj6ewc9q.js → state-dmcwwrzf.js} +40 -40
  137. package/dist/chunks/{vcs-q1v1r1nw.js → state-dnndpd67.js} +21 -21
  138. package/dist/chunks/{vcs-4gf9v735.js → state-dnrkp1py.js} +33 -33
  139. package/dist/chunks/{vcs-74rrnwt7.js → state-dq0v80fr.js} +12 -12
  140. package/dist/chunks/{vcs-vv97ra8n.js → state-dq47ydgj.js} +11 -11
  141. package/dist/chunks/{vcs-0ec8dtkw.js → state-dqpqvfc1.js} +22 -22
  142. package/dist/chunks/{vcs-xfkkasph.js → state-drwq78ky.js} +4 -4
  143. package/dist/chunks/{vcs-dj6963t9.js → state-dsdkcqh1.js} +12 -12
  144. package/dist/chunks/{vcs-me88mjxz.js → state-dxs7zpw7.js} +22 -22
  145. package/dist/chunks/{vcs-0r7yqxbf.js → state-e6hmchc5.js} +5 -5
  146. package/dist/chunks/{vcs-28fp0q0g.js → state-eef7h5va.js} +8 -8
  147. package/dist/chunks/{vcs-ef5x83kb.js → state-ef5x83kb.js} +1 -1
  148. package/dist/chunks/{vcs-dtgdpacg.js → state-en8wy5tc.js} +6 -6
  149. package/dist/chunks/{vcs-6xbspavk.js → state-epb60yey.js} +26 -26
  150. package/dist/chunks/{vcs-1wvpkpe8.js → state-eqrfgmgr.js} +38 -38
  151. package/dist/chunks/{vcs-erw5rpbs.js → state-erw5rpbs.js} +2 -2
  152. package/dist/chunks/{vcs-srfk2ym8.js → state-es9xe94t.js} +6 -6
  153. package/dist/chunks/{vcs-etq0c3wd.js → state-etq0c3wd.js} +1 -1
  154. package/dist/chunks/{vcs-zj3mw4nr.js → state-ezbzr521.js} +32 -32
  155. package/dist/chunks/{vcs-prq7hedt.js → state-fdms3n6w.js} +9 -9
  156. package/dist/chunks/{vcs-d216944b.js → state-fdv30zvt.js} +4 -4
  157. package/dist/chunks/{vcs-rhafb4aa.js → state-fhs97t90.js} +5 -5
  158. package/dist/chunks/{vcs-rwpk0y3g.js → state-ftffmgpp.js} +29 -29
  159. package/dist/chunks/{vcs-5qyh9bdk.js → state-fv5cfh7k.js} +11 -11
  160. package/dist/chunks/{vcs-hszfjppb.js → state-g4w6jwnj.js} +5 -5
  161. package/dist/chunks/{vcs-a8ahxq4k.js → state-g5vp43hv.js} +4 -4
  162. package/dist/chunks/{vcs-b5rdtc93.js → state-g6h7bsxt.js} +14 -14
  163. package/dist/chunks/{vcs-6ysqs21a.js → state-g9a672k8.js} +8 -8
  164. package/dist/chunks/{vcs-gd4qta3r.js → state-gd4qta3r.js} +1 -1
  165. package/dist/chunks/{vcs-trfjmmfn.js → state-ggydwk5a.js} +29 -29
  166. package/dist/chunks/{vcs-8s1pmqcy.js → state-gj2fds2z.js} +12 -12
  167. package/dist/chunks/{vcs-d5fw341f.js → state-gpk600j1.js} +13 -13
  168. package/dist/chunks/{vcs-h01nhy7h.js → state-gv189fdt.js} +4 -4
  169. package/dist/chunks/{vcs-gv6a8nnw.js → state-gv6a8nnw.js} +2 -2
  170. package/dist/chunks/{vcs-carqdbj5.js → state-gvz217w8.js} +16 -16
  171. package/dist/chunks/{vcs-r55vasa2.js → state-h6r3nrb9.js} +4 -4
  172. package/dist/chunks/{vcs-h6vf3j39.js → state-h6vf3j39.js} +1 -1
  173. package/dist/chunks/{vcs-j56e64zr.js → state-j56e64zr.js} +1 -1
  174. package/dist/chunks/{vcs-q3t37ft6.js → state-jexxy024.js} +3 -3
  175. package/dist/chunks/{vcs-e0mwe6e4.js → state-jmx7yt6q.js} +6 -6
  176. package/dist/chunks/{vcs-t02k7490.js → state-jrfdjycb.js} +11 -11
  177. package/dist/chunks/{vcs-mza9sdsq.js → state-jtjd9btn.js} +12 -12
  178. package/dist/chunks/{vcs-wb0ej3re.js → state-k1jc7js8.js} +29 -29
  179. package/dist/chunks/{vcs-k3c624dm.js → state-k3c624dm.js} +3 -3
  180. package/dist/chunks/{vcs-r3c4069c.js → state-k53npxr2.js} +1 -1
  181. package/dist/chunks/{vcs-nz7rrxb0.js → state-k7hn9ts1.js} +11 -11
  182. package/dist/chunks/{vcs-yzf4zjhy.js → state-kbhz4k7s.js} +11 -11
  183. package/dist/chunks/{vcs-ar5q60qm.js → state-khz59kc2.js} +26 -26
  184. package/dist/chunks/{vcs-x6vchg5p.js → state-ksg5ge3c.js} +11 -11
  185. package/dist/chunks/{vcs-pv9maacy.js → state-kv8zgwe7.js} +5 -5
  186. package/dist/chunks/{vcs-m3fdjcah.js → state-m3fdjcah.js} +1 -1
  187. package/dist/chunks/{vcs-2pas28zy.js → state-m46seram.js} +20 -20
  188. package/dist/chunks/{vcs-70y8djn2.js → state-m5qjvym0.js} +30 -30
  189. package/dist/chunks/{vcs-m9w0rfyh.js → state-m9w0rfyh.js} +1 -1
  190. package/dist/chunks/{vcs-1bbkgx8g.js → state-mhkvc446.js} +3 -3
  191. package/dist/chunks/{vcs-f023s5x2.js → state-mp6axp2d.js} +17 -17
  192. package/dist/chunks/{vcs-nyvg2195.js → state-mpsr4xxv.js} +5 -5
  193. package/dist/chunks/{vcs-0g4pshwm.js → state-my5aw7sa.js} +10 -10
  194. package/dist/chunks/{vcs-59sfag8d.js → state-n436yt00.js} +33 -33
  195. package/dist/chunks/{vcs-xc8t3em0.js → state-n45qbav7.js} +5 -5
  196. package/dist/chunks/{vcs-q7dd7m0y.js → state-n98mt2bs.js} +1 -1
  197. package/dist/chunks/{vcs-ng4rtfaf.js → state-ngxakx5z.js} +32 -32
  198. package/dist/chunks/{vcs-rhc0y5sn.js → state-nh5efkqv.js} +9 -9
  199. package/dist/chunks/{vcs-yf10kn3d.js → state-nj1j17x6.js} +8 -8
  200. package/dist/chunks/{vcs-qs56nzqh.js → state-nj4z6qgz.js} +5 -5
  201. package/dist/chunks/{vcs-8nexc0bc.js → state-njbb07ax.js} +15 -15
  202. package/dist/chunks/{vcs-5h1bmfmz.js → state-nkf0pzw4.js} +13 -13
  203. package/dist/chunks/{vcs-d5sgnwz6.js → state-nrx107y4.js} +19 -19
  204. package/dist/chunks/{vcs-nxhqveyz.js → state-nxhqveyz.js} +2 -2
  205. package/dist/chunks/{vcs-kck3bqxg.js → state-nybzzdwf.js} +23 -23
  206. package/dist/chunks/{vcs-xpwqtyvz.js → state-p1m5akjg.js} +10 -10
  207. package/dist/chunks/{vcs-pjvnvgmy.js → state-pjvnvgmy.js} +1 -1
  208. package/dist/chunks/{vcs-pknna89w.js → state-pknna89w.js} +1 -1
  209. package/dist/chunks/{vcs-y5689hke.js → state-prk02b1h.js} +24 -24
  210. package/dist/chunks/{vcs-0ep74p5j.js → state-q0jqcs2e.js} +25 -25
  211. package/dist/chunks/{vcs-g3m22pds.js → state-q994nwkr.js} +6 -6
  212. package/dist/chunks/state-qc068m1q.js +18 -0
  213. package/dist/chunks/{vcs-p0tapzan.js → state-qkrrfaax.js} +27 -27
  214. package/dist/chunks/{vcs-1zqsf2j9.js → state-qp3v07n2.js} +5 -5
  215. package/dist/chunks/{vcs-qsdy395h.js → state-qsdy395h.js} +1 -1
  216. package/dist/chunks/{vcs-tx9w5tca.js → state-qwjmgwmn.js} +8 -8
  217. package/dist/chunks/{vcs-fng9e0je.js → state-r33ff4dw.js} +6 -6
  218. package/dist/chunks/{vcs-mhc8sq43.js → state-r860wnh4.js} +3 -3
  219. package/dist/chunks/{vcs-1acjjqhc.js → state-r8xr0va3.js} +4 -4
  220. package/dist/chunks/{vcs-rynhfk08.js → state-r9tfwnqk.js} +3 -3
  221. package/dist/chunks/{vcs-29cveazg.js → state-rdve76c1.js} +14 -14
  222. package/dist/chunks/{vcs-rdw6cm16.js → state-rdw6cm16.js} +1 -1
  223. package/dist/chunks/{vcs-h2s45jn8.js → state-rhg03jha.js} +18 -18
  224. package/dist/chunks/{vcs-eaj1djv9.js → state-rhjbct0v.js} +8 -8
  225. package/dist/chunks/{vcs-pkkm8try.js → state-rxp8vwqb.js} +14 -14
  226. package/dist/chunks/{vcs-83w0ed2f.js → state-rycbktba.js} +3 -3
  227. package/dist/chunks/{vcs-tjj1kmg0.js → state-s0gvgf44.js} +25 -25
  228. package/dist/chunks/{vcs-fhxa9dhj.js → state-s2zjj5p9.js} +22 -22
  229. package/dist/chunks/{vcs-rtg3pve1.js → state-sc9th92v.js} +19 -19
  230. package/dist/chunks/{vcs-f0wsx59q.js → state-scad059f.js} +51 -51
  231. package/dist/chunks/{vcs-ccy9qdqg.js → state-sfr5ve0q.js} +20 -20
  232. package/dist/chunks/{vcs-g32kj6az.js → state-smmy5npd.js} +24 -24
  233. package/dist/chunks/{vcs-49qbn6ev.js → state-t15fh6tg.js} +11 -11
  234. package/dist/chunks/{vcs-y881vcph.js → state-t3dtk66s.js} +19 -19
  235. package/dist/chunks/{vcs-f6h44vt5.js → state-t6msp11s.js} +6 -6
  236. package/dist/chunks/{vcs-tazgh4e4.js → state-tazgh4e4.js} +1 -1
  237. package/dist/chunks/{vcs-tcezcvh9.js → state-tcezcvh9.js} +1 -1
  238. package/dist/chunks/{vcs-tdstcens.js → state-tdstcens.js} +1 -1
  239. package/dist/chunks/{vcs-sxetf54f.js → state-tmgek03n.js} +38 -38
  240. package/dist/chunks/state-tp76zfa1.js +26 -0
  241. package/dist/chunks/{vcs-v3bjpj8z.js → state-tr7ttk42.js} +23 -23
  242. package/dist/chunks/{vcs-8pg7n18v.js → state-trg234vc.js} +32 -32
  243. package/dist/chunks/{vcs-70e6w8tp.js → state-ttkne1yr.js} +28 -28
  244. package/dist/chunks/{vcs-6vp0xhq8.js → state-tvqfr44j.js} +18 -18
  245. package/dist/chunks/{vcs-tvtrv512.js → state-tvtrv512.js} +1 -1
  246. package/dist/chunks/{vcs-cvhqjk08.js → state-vchqcv40.js} +15 -15
  247. package/dist/chunks/{vcs-veqvce7d.js → state-veqvce7d.js} +1 -1
  248. package/dist/chunks/{vcs-f2b6tz2e.js → state-vgbaqptb.js} +6 -6
  249. package/dist/chunks/{vcs-7bcdhp23.js → state-vpwpbydj.js} +12 -12
  250. package/dist/chunks/{vcs-1fjbjtrx.js → state-vssbqz3f.js} +4 -4
  251. package/dist/chunks/{vcs-9cyfspf3.js → state-vtxr0yy2.js} +5 -5
  252. package/dist/chunks/{vcs-jkp9xdnd.js → state-vyj7e0dj.js} +36 -36
  253. package/dist/chunks/{vcs-6f31ra40.js → state-vyxryegc.js} +35 -35
  254. package/dist/chunks/{vcs-vzcthcp8.js → state-vzcthcp8.js} +1 -1
  255. package/dist/chunks/{vcs-d43g2pfh.js → state-w2fbgn6w.js} +19 -19
  256. package/dist/chunks/{vcs-rkm1ygc2.js → state-w2gpeyga.js} +23 -23
  257. package/dist/chunks/{vcs-w3wsvvr9.js → state-w3wsvvr9.js} +1 -1
  258. package/dist/chunks/{vcs-v1m9cfjw.js → state-w5mngq82.js} +1 -1
  259. package/dist/chunks/{vcs-wt50w2qg.js → state-w6wc4w52.js} +324 -324
  260. package/dist/chunks/{vcs-wd3x2cqz.js → state-wd3x2cqz.js} +2 -2
  261. package/dist/chunks/{vcs-wd87259q.js → state-wd87259q.js} +1 -1
  262. package/dist/chunks/state-wgzsnxjh.js +339 -0
  263. package/dist/chunks/{vcs-q0szzxes.js → state-wm0kxxzy.js} +11 -11
  264. package/dist/chunks/{vcs-hx2t9gj5.js → state-ws3tx48n.js} +86 -86
  265. package/dist/chunks/{vcs-s3gwxvhs.js → state-ww31mshw.js} +12 -12
  266. package/dist/chunks/{vcs-x1ezjp6w.js → state-x1ezjp6w.js} +1 -1
  267. package/dist/chunks/{vcs-nby89d84.js → state-x46s54wc.js} +5 -5
  268. package/dist/chunks/{vcs-hnsrqchr.js → state-x69hm2n9.js} +20 -20
  269. package/dist/chunks/{vcs-9hk1bndn.js → state-x7gyst7m.js} +14 -14
  270. package/dist/chunks/{vcs-xacmvfyf.js → state-x9ftw283.js} +44 -44
  271. package/dist/chunks/{vcs-d1wwhrg0.js → state-xcfbfb3r.js} +34 -34
  272. package/dist/chunks/{vcs-nzdcam8v.js → state-xhvbz364.js} +16 -16
  273. package/dist/chunks/{vcs-y1fvbwt7.js → state-y1fvbwt7.js} +1 -1
  274. package/dist/chunks/{vcs-dpkg50ah.js → state-y71avatq.js} +4 -4
  275. package/dist/chunks/{vcs-g8jasmdt.js → state-y7x142mt.js} +8 -8
  276. package/dist/chunks/{vcs-3ktbe3hf.js → state-ybhbtxjg.js} +6 -6
  277. package/dist/chunks/{vcs-yrhqyw5v.js → state-yrhqyw5v.js} +1 -1
  278. package/dist/chunks/{vcs-yrznvahk.js → state-yrznvahk.js} +2 -2
  279. package/dist/chunks/{vcs-yvvvp4gn.js → state-yvvvp4gn.js} +1 -1
  280. package/dist/chunks/{vcs-z07pqspn.js → state-z07pqspn.js} +3 -3
  281. package/dist/chunks/{vcs-z0bkrqjs.js → state-z0bkrqjs.js} +1 -1
  282. package/dist/chunks/{vcs-z63w68vq.js → state-z63w68vq.js} +2 -2
  283. package/dist/chunks/{vcs-fzccyq97.js → state-za95q0ey.js} +15 -15
  284. package/dist/chunks/{vcs-ak2j0eh5.js → state-zaxbaxp3.js} +13 -13
  285. package/dist/chunks/{vcs-ajnwywap.js → state-zdnfnbnt.js} +33 -33
  286. package/dist/chunks/{vcs-zeh9ct20.js → state-zeh9ct20.js} +2 -2
  287. package/dist/chunks/{vcs-xb6kadxm.js → state-zhfw9w26.js} +28 -28
  288. package/dist/chunks/{vcs-t295fak2.js → state-zpx8x5b1.js} +15 -15
  289. package/dist/chunks/{vcs-zr2ceqn5.js → state-zr2ceqn5.js} +1 -1
  290. package/dist/chunks/{vcs-2qgbqbzg.js → state-zw06ysnm.js} +9 -9
  291. package/dist/chunks/{vcs-zxq2ej10.js → state-zxq2ej10.js} +1 -1
  292. package/dist/codemode/catalog.js +1 -1
  293. package/dist/codemode/instructions.js +7 -7
  294. package/dist/codemode/tool.js +3 -3
  295. package/dist/codemode/web.js +1 -1
  296. package/dist/command.js +83 -83
  297. package/dist/config/discovery.js +82 -82
  298. package/dist/config/markdown.js +1 -1
  299. package/dist/config/normalize.js +106 -106
  300. package/dist/config/plugin/agent.js +123 -123
  301. package/dist/config/plugin/command.js +212 -212
  302. package/dist/config/plugin/compaction.js +160 -160
  303. package/dist/config/plugin/compatibility.js +141 -141
  304. package/dist/config/plugin/entry-observer.js +1 -1
  305. package/dist/config/plugin/formatter.js +124 -124
  306. package/dist/config/plugin/image.js +123 -123
  307. package/dist/config/plugin/instruction.js +90 -90
  308. package/dist/config/plugin/location-watcher.js +125 -125
  309. package/dist/config/plugin/mcp.js +130 -130
  310. package/dist/config/plugin/policy.js +124 -124
  311. package/dist/config/plugin/provider.js +123 -123
  312. package/dist/config/plugin/reference.js +125 -125
  313. package/dist/config/plugin/shell.js +125 -125
  314. package/dist/config/plugin/skill-file.js +102 -102
  315. package/dist/config/plugin/skill.js +144 -144
  316. package/dist/config/plugin/snapshot.js +123 -123
  317. package/dist/config/plugin/source.js +124 -124
  318. package/dist/config/plugin/tool-output.js +125 -125
  319. package/dist/config/plugin/websearch.js +124 -124
  320. package/dist/config/plugin/worktree.js +125 -125
  321. package/dist/config/variable.js +3 -3
  322. package/dist/config/watch.js +1 -1
  323. package/dist/config.js +128 -128
  324. package/dist/credential/sql.js +2 -2
  325. package/dist/credential.js +85 -85
  326. package/dist/database/database.js +66 -66
  327. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  328. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  329. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  330. package/dist/database/drizzle/index.js +15 -15
  331. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  334. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  335. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  336. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  337. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  338. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  339. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  340. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  341. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  342. package/dist/database/drizzle.js +16 -16
  343. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  344. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  345. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  346. package/dist/database/migration/20260225215848_workspace.js +1 -1
  347. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  348. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  349. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  350. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  351. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  352. package/dist/database/migration/20260323234822_events.js +1 -1
  353. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  354. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  355. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  356. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  357. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  358. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  359. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  360. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  361. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  362. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  363. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  364. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  365. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  366. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  367. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  368. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  369. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  370. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  371. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  372. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  373. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  374. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  375. package/dist/database/migration/20260611035744_credential.js +1 -1
  376. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  377. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  378. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  379. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  380. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  381. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  382. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  383. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  384. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  385. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  386. package/dist/database/migration/20260812213948_worktree.js +1 -1
  387. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  388. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  389. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  390. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  391. package/dist/database/migration.gen.js +49 -49
  392. package/dist/database/migration.js +51 -51
  393. package/dist/database/path.js +2 -2
  394. package/dist/database/schema.gen.js +1 -1
  395. package/dist/database/schema.sql.js +1 -1
  396. package/dist/database/sqlite.bun.js +1 -1
  397. package/dist/database/sqlite.js +1 -1
  398. package/dist/database/sqlite.node.js +1 -1
  399. package/dist/database/sqlite.workerd.js +1 -1
  400. package/dist/database/v1-migration.bun.js +76 -76
  401. package/dist/database/v1-migration.js +1 -1
  402. package/dist/effect/app-node-builder.js +371 -371
  403. package/dist/effect/app-node-platform.js +2 -2
  404. package/dist/effect/keyed-mutex.js +3 -3
  405. package/dist/effect/websocket-constructor.js +1 -1
  406. package/dist/environment/driver.js +1 -1
  407. package/dist/environment/environment.js +93 -93
  408. package/dist/environment/exec-defaults.js +2 -2
  409. package/dist/environment/files.js +1 -1
  410. package/dist/environment/index.js +95 -95
  411. package/dist/environment/local.js +2 -2
  412. package/dist/environment/memory.js +2 -2
  413. package/dist/environment/unavailable.js +1 -1
  414. package/dist/event/sql.js +1 -1
  415. package/dist/event-logger.js +70 -70
  416. package/dist/file-access.js +104 -104
  417. package/dist/file-mutation.js +94 -94
  418. package/dist/file-retention.js +1 -1
  419. package/dist/file.js +1 -1
  420. package/dist/filesystem/fff.bun.js +2 -2
  421. package/dist/filesystem/fff.js +1 -1
  422. package/dist/filesystem/fff.node.js +2 -2
  423. package/dist/filesystem/fff.workerd.js +2 -2
  424. package/dist/filesystem/ignore.js +1 -1
  425. package/dist/filesystem/location-watcher-policy.js +6 -6
  426. package/dist/filesystem/location-watcher.js +227 -227
  427. package/dist/filesystem/protected.js +1 -1
  428. package/dist/filesystem/search.js +97 -97
  429. package/dist/filesystem/watcher-binding.js +1 -1
  430. package/dist/filesystem/watcher.js +15 -15
  431. package/dist/filesystem.js +102 -102
  432. package/dist/form.js +86 -86
  433. package/dist/formatter/builtins.js +4 -4
  434. package/dist/formatter.js +87 -87
  435. package/dist/generate.js +103 -103
  436. package/dist/git.js +10 -10
  437. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  438. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  439. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  440. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  441. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  442. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  443. package/dist/github-copilot/copilot-provider.js +17 -17
  444. package/dist/github-copilot/models.js +99 -99
  445. package/dist/github-copilot/openai-compatible-error.js +1 -1
  446. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  447. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  448. package/dist/github-copilot/responses/openai-error.js +1 -1
  449. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  450. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  451. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  452. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  453. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  454. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  455. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  456. package/dist/id/id.js +1 -1
  457. package/dist/image/photon.js +2 -2
  458. package/dist/image.js +6 -6
  459. package/dist/instance/service.js +5 -5
  460. package/dist/instance.js +362 -362
  461. package/dist/instruction-discovery.js +85 -85
  462. package/dist/instructions/builtins.js +87 -87
  463. package/dist/instructions/index.js +5 -5
  464. package/dist/integration/connection.js +3 -3
  465. package/dist/integration.js +86 -86
  466. package/dist/job.js +79 -79
  467. package/dist/kv/sql.js +2 -2
  468. package/dist/kv.js +73 -73
  469. package/dist/location-activity.js +132 -132
  470. package/dist/location-lifecycle.js +107 -107
  471. package/dist/location-mutation.js +104 -104
  472. package/dist/location-service-map.js +86 -86
  473. package/dist/location-services.js +359 -359
  474. package/dist/location.js +87 -87
  475. package/dist/managed-policy.js +5 -5
  476. package/dist/mcp/client.js +91 -91
  477. package/dist/mcp/index.js +108 -108
  478. package/dist/mcp/instructions.js +128 -128
  479. package/dist/mcp/oauth.js +78 -78
  480. package/dist/mcp/stdio.js +90 -90
  481. package/dist/mime.js +1 -1
  482. package/dist/modal/models.js +99 -99
  483. package/dist/model-resolver.js +98 -98
  484. package/dist/model.js +102 -102
  485. package/dist/models-dev.js +99 -99
  486. package/dist/oauth/page.js +1 -1
  487. package/dist/permission/saved.js +82 -82
  488. package/dist/permission/sql.js +5 -5
  489. package/dist/permission.js +113 -113
  490. package/dist/persistent-pty/binary.bun.js +1 -1
  491. package/dist/persistent-pty/daemon.js +1 -1
  492. package/dist/persistent-pty/index.js +86 -86
  493. package/dist/persistent-pty/pty-binding.js +1 -1
  494. package/dist/persistent-pty.js +75 -75
  495. package/dist/plugin/agent.js +102 -102
  496. package/dist/plugin/command.js +99 -99
  497. package/dist/plugin/compaction.js +131 -131
  498. package/dist/plugin/hooks.js +5 -5
  499. package/dist/plugin/host.js +218 -218
  500. package/dist/plugin/identity.js +3 -3
  501. package/dist/plugin/instance.js +5 -5
  502. package/dist/plugin/internal.js +333 -333
  503. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  504. package/dist/plugin/models-dev.js +96 -96
  505. package/dist/plugin/module.js +5 -5
  506. package/dist/plugin/optimize.js +2 -2
  507. package/dist/plugin/plan.js +102 -102
  508. package/dist/plugin/promise.js +1 -1
  509. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  510. package/dist/plugin/provider/azure.js +122 -122
  511. package/dist/plugin/provider/cerebras.js +1 -1
  512. package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
  513. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  514. package/dist/plugin/provider/cohere.js +2 -2
  515. package/dist/plugin/provider/configured.js +119 -119
  516. package/dist/plugin/provider/digitalocean.js +93 -93
  517. package/dist/plugin/provider/dynamic.js +2 -2
  518. package/dist/plugin/provider/factory.js +1 -1
  519. package/dist/plugin/provider/gateway.js +2 -2
  520. package/dist/plugin/provider/github-copilot.js +93 -93
  521. package/dist/plugin/provider/gitlab.js +93 -91
  522. package/dist/plugin/provider/google-vertex.js +90 -90
  523. package/dist/plugin/provider/kilo.js +1 -1
  524. package/dist/plugin/provider/llmgateway.js +77 -77
  525. package/dist/plugin/provider/lmstudio.js +122 -122
  526. package/dist/plugin/provider/modal.js +92 -92
  527. package/dist/plugin/provider/nvidia.js +1 -1
  528. package/dist/plugin/provider/ollama.js +122 -122
  529. package/dist/plugin/provider/openai.js +92 -92
  530. package/dist/plugin/provider/opencode.js +95 -95
  531. package/dist/plugin/provider/openrouter.js +91 -91
  532. package/dist/plugin/provider/perplexity.js +2 -2
  533. package/dist/plugin/provider/poe.js +78 -78
  534. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  535. package/dist/plugin/provider/sap-ai-core.js +91 -91
  536. package/dist/plugin/provider/sdk-factory.js +1 -1
  537. package/dist/plugin/provider/snowflake-cortex.js +122 -122
  538. package/dist/plugin/provider/venice.js +2 -2
  539. package/dist/plugin/provider/vercel.js +90 -90
  540. package/dist/plugin/provider/vllm.js +122 -122
  541. package/dist/plugin/provider/xai.js +91 -91
  542. package/dist/plugin/provider/zenmux.js +1 -1
  543. package/dist/plugin/provider.js +160 -160
  544. package/dist/plugin/sdk.js +70 -70
  545. package/dist/plugin/service.js +3 -3
  546. package/dist/plugin/skill.js +141 -141
  547. package/dist/plugin/source-directory.js +1 -1
  548. package/dist/plugin/supervisor.js +350 -350
  549. package/dist/plugin/tool-input-repair.js +4 -4
  550. package/dist/plugin/update.js +6 -6
  551. package/dist/plugin/vcs/git.js +86 -86
  552. package/dist/plugin/vcs/hg.js +86 -86
  553. package/dist/plugin/warming.js +121 -121
  554. package/dist/plugin/websearch/exa.js +5 -5
  555. package/dist/plugin/websearch/firecrawl.js +8 -8
  556. package/dist/plugin/websearch/index.js +9 -9
  557. package/dist/plugin/websearch/mcp.js +4 -4
  558. package/dist/plugin/websearch/parallel.js +6 -6
  559. package/dist/plugin/websearch/tavily.js +6 -6
  560. package/dist/plugin/websearch/tinyfish.js +8 -8
  561. package/dist/plugin.js +229 -229
  562. package/dist/project/schema.js +8 -8
  563. package/dist/project/sql.js +4 -4
  564. package/dist/project.js +88 -88
  565. package/dist/provider.js +101 -101
  566. package/dist/pty/protocol.js +1 -1
  567. package/dist/pty/schema.js +3 -3
  568. package/dist/pty/ticket.js +1 -1
  569. package/dist/pty.js +98 -98
  570. package/dist/reference/instructions.js +89 -89
  571. package/dist/reference.js +91 -91
  572. package/dist/repository-cache.js +81 -81
  573. package/dist/repository.js +3 -3
  574. package/dist/ripgrep/binary.js +2 -2
  575. package/dist/ripgrep.js +95 -95
  576. package/dist/rpc.js +86 -86
  577. package/dist/schema.js +1 -1
  578. package/dist/session/command.js +74 -74
  579. package/dist/session/compaction.js +132 -132
  580. package/dist/session/context.js +152 -152
  581. package/dist/session/diff.js +88 -88
  582. package/dist/session/environment.js +1 -1
  583. package/dist/session/error.js +5 -5
  584. package/dist/session/event.js +1 -1
  585. package/dist/session/execution/restart.js +221 -221
  586. package/dist/session/execution.js +128 -128
  587. package/dist/session/generate.js +153 -153
  588. package/dist/session/history.js +13 -13
  589. package/dist/session/inbox.js +90 -90
  590. package/dist/session/info.js +3 -3
  591. package/dist/session/instruction-entry.js +77 -77
  592. package/dist/session/instruction-state.js +8 -8
  593. package/dist/session/instructions.js +97 -97
  594. package/dist/session/message-updater.js +4 -4
  595. package/dist/session/message.js +1 -1
  596. package/dist/session/model-request.js +119 -119
  597. package/dist/session/model-transport.js +9 -9
  598. package/dist/session/move.js +130 -130
  599. package/dist/session/projector.js +86 -86
  600. package/dist/session/prompt.js +105 -105
  601. package/dist/session/provider-context.js +3 -3
  602. package/dist/session/revert.js +90 -90
  603. package/dist/session/run-coordinator.js +3 -3
  604. package/dist/session/runner/index.js +3 -3
  605. package/dist/session/runner/llm.js +231 -231
  606. package/dist/session/runner/max-steps.js +1 -1
  607. package/dist/session/runner/model.js +98 -98
  608. package/dist/session/runner/publish-llm-event.js +3 -3
  609. package/dist/session/runner/retry.js +114 -114
  610. package/dist/session/runner/step.js +126 -126
  611. package/dist/session/runner/to-llm-message.js +2 -2
  612. package/dist/session/schema.js +5 -5
  613. package/dist/session/session.js +172 -172
  614. package/dist/session/shell.js +138 -138
  615. package/dist/session/skill.js +103 -103
  616. package/dist/session/sql.js +5 -5
  617. package/dist/session/stats.js +73 -73
  618. package/dist/session/store.js +87 -87
  619. package/dist/session/subagent-completion.js +1 -1
  620. package/dist/session/subagent-job.js +208 -208
  621. package/dist/session/system-prompt.js +3 -3
  622. package/dist/session/title.js +154 -154
  623. package/dist/session/to-session-error.js +111 -111
  624. package/dist/session/transfer.js +217 -217
  625. package/dist/session/usage.js +1 -1
  626. package/dist/session.js +218 -218
  627. package/dist/shell/parse.js +6 -6
  628. package/dist/shell/result.js +1 -1
  629. package/dist/shell/scan.js +1 -1
  630. package/dist/shell/select.js +15 -15
  631. package/dist/shell.js +136 -136
  632. package/dist/skill/discovery.js +4 -4
  633. package/dist/skill/instructions.js +105 -105
  634. package/dist/skill.js +112 -112
  635. package/dist/snapshot.js +93 -93
  636. package/dist/state.js +1 -1
  637. package/dist/tool/html-markdown.js +1 -1
  638. package/dist/tool/http-body.js +1 -1
  639. package/dist/tool/mcp.js +127 -127
  640. package/dist/tool/plugin/edit.js +120 -120
  641. package/dist/tool/plugin/file-diff.js +1 -1
  642. package/dist/tool/plugin/glob.js +124 -124
  643. package/dist/tool/plugin/grep.js +124 -124
  644. package/dist/tool/plugin/mcp-resource.js +116 -116
  645. package/dist/tool/plugin/opencode.js +3 -3
  646. package/dist/tool/plugin/patch.js +122 -122
  647. package/dist/tool/plugin/question.js +105 -105
  648. package/dist/tool/plugin/read.js +125 -125
  649. package/dist/tool/plugin/shell.js +217 -217
  650. package/dist/tool/plugin/skill.js +113 -113
  651. package/dist/tool/plugin/subagent.js +219 -219
  652. package/dist/tool/plugin/webfetch.js +106 -106
  653. package/dist/tool/plugin/websearch.js +114 -114
  654. package/dist/tool/plugin/write.js +122 -122
  655. package/dist/tool/read-filesystem.js +100 -100
  656. package/dist/tool/runtime.js +1 -1
  657. package/dist/tool-output.js +8 -8
  658. package/dist/tool.js +14 -14
  659. package/dist/types/plugin/provider/gitlab.d.ts +4 -1
  660. package/dist/util/error-summary.js +1 -1
  661. package/dist/util/error.js +1 -1
  662. package/dist/util/git-executable.js +2 -2
  663. package/dist/util/iife.js +1 -1
  664. package/dist/util/lazy.js +1 -1
  665. package/dist/util/slug.js +1 -1
  666. package/dist/util/token.js +1 -1
  667. package/dist/util/which.js +1 -1
  668. package/dist/util/wildcard.js +1 -1
  669. package/dist/v1/config/agent.js +5 -5
  670. package/dist/v1/config/attachment.js +4 -4
  671. package/dist/v1/config/command.js +3 -3
  672. package/dist/v1/config/config.js +16 -16
  673. package/dist/v1/config/error.js +2 -2
  674. package/dist/v1/config/formatter.js +5 -5
  675. package/dist/v1/config/layout.js +1 -1
  676. package/dist/v1/config/lsp.js +5 -5
  677. package/dist/v1/config/mcp.js +2 -2
  678. package/dist/v1/config/migrate.js +92 -92
  679. package/dist/v1/config/permission.js +3 -3
  680. package/dist/v1/config/plugin.js +3 -3
  681. package/dist/v1/config/provider-options.js +1 -1
  682. package/dist/v1/config/provider.js +4 -4
  683. package/dist/v1/config/server.js +2 -2
  684. package/dist/v1/config/skills.js +3 -3
  685. package/dist/v1/permission.js +1 -1
  686. package/dist/variant.js +93 -93
  687. package/dist/vcs/patch.js +1 -1
  688. package/dist/vcs.js +89 -89
  689. package/dist/websearch.js +84 -84
  690. package/dist/wellknown/plugin.js +76 -76
  691. package/dist/wellknown.js +79 -79
  692. package/dist/workspace/driver.js +7 -7
  693. package/dist/workspace/sql.js +1 -1
  694. package/dist/workspace.js +80 -80
  695. package/dist/worktree/directory.js +2 -2
  696. package/dist/worktree/git.js +8 -8
  697. package/dist/worktree/sql.js +5 -5
  698. package/dist/worktree/strategies.js +89 -89
  699. package/dist/worktree.js +98 -98
  700. package/package.json +9 -9
  701. package/dist/chunks/vcs-06jg3mcb.js +0 -26
  702. package/dist/chunks/vcs-by5v678g.js +0 -18
  703. package/dist/chunks/vcs-hr9dp009.js +0 -4
  704. package/dist/chunks/vcs-jrk41cqv.js +0 -252
  705. package/dist/chunks/vcs-nedh9485.js +0 -61
  706. /package/dist/chunks/{vcs-0qkdqm5v.js → state-0qkdqm5v.js} +0 -0
  707. /package/dist/chunks/{vcs-0zkw76rk.js → state-0zkw76rk.js} +0 -0
  708. /package/dist/chunks/{vcs-17cy0kzp.js → state-17cy0kzp.js} +0 -0
  709. /package/dist/chunks/{vcs-1cnp2v09.js → state-1cnp2v09.js} +0 -0
  710. /package/dist/chunks/{vcs-1kg9ymc8.js → state-1kg9ymc8.js} +0 -0
  711. /package/dist/chunks/{vcs-24dcb14g.js → state-24dcb14g.js} +0 -0
  712. /package/dist/chunks/{vcs-2710q6r3.js → state-2710q6r3.js} +0 -0
  713. /package/dist/chunks/{vcs-2axfhc9x.js → state-2axfhc9x.js} +0 -0
  714. /package/dist/chunks/{vcs-2c3vjs8z.js → state-2c3vjs8z.js} +0 -0
  715. /package/dist/chunks/{vcs-34c7v6d4.js → state-34c7v6d4.js} +0 -0
  716. /package/dist/chunks/{vcs-359p4xyc.js → state-359p4xyc.js} +0 -0
  717. /package/dist/chunks/{vcs-3asan66x.js → state-3asan66x.js} +0 -0
  718. /package/dist/chunks/{vcs-3v8g72cx.js → state-3v8g72cx.js} +0 -0
  719. /package/dist/chunks/{vcs-3w5fmr99.js → state-3w5fmr99.js} +0 -0
  720. /package/dist/chunks/{vcs-3wcehsnq.js → state-3wcehsnq.js} +0 -0
  721. /package/dist/chunks/{vcs-43n2bw4t.js → state-43n2bw4t.js} +0 -0
  722. /package/dist/chunks/{vcs-4knz6hnm.js → state-4knz6hnm.js} +0 -0
  723. /package/dist/chunks/{vcs-4vcrnpx2.js → state-4vcrnpx2.js} +0 -0
  724. /package/dist/chunks/{vcs-4y7fprxs.js → state-4y7fprxs.js} +0 -0
  725. /package/dist/chunks/{vcs-53557ph1.js → state-53557ph1.js} +0 -0
  726. /package/dist/chunks/{vcs-550bvhaj.js → state-550bvhaj.js} +0 -0
  727. /package/dist/chunks/{vcs-5qd3pb7m.js → state-5qd3pb7m.js} +0 -0
  728. /package/dist/chunks/{vcs-6prwharc.js → state-6prwharc.js} +0 -0
  729. /package/dist/chunks/{vcs-7akdwqpd.js → state-7akdwqpd.js} +0 -0
  730. /package/dist/chunks/{vcs-7m9af43g.js → state-7m9af43g.js} +0 -0
  731. /package/dist/chunks/{vcs-822emrt2.js → state-822emrt2.js} +0 -0
  732. /package/dist/chunks/{vcs-88xbtdfr.js → state-88xbtdfr.js} +0 -0
  733. /package/dist/chunks/{vcs-8n3pysct.js → state-8n3pysct.js} +0 -0
  734. /package/dist/chunks/{vcs-8wj87zfr.js → state-8wj87zfr.js} +0 -0
  735. /package/dist/chunks/{vcs-922hggd3.js → state-922hggd3.js} +0 -0
  736. /package/dist/chunks/{vcs-9a4afbnw.js → state-9a4afbnw.js} +0 -0
  737. /package/dist/chunks/{vcs-9rqn6x4v.js → state-9rqn6x4v.js} +0 -0
  738. /package/dist/chunks/{vcs-a6k6eb26.js → state-a6k6eb26.js} +0 -0
  739. /package/dist/chunks/{vcs-af5trqkr.js → state-af5trqkr.js} +0 -0
  740. /package/dist/chunks/{vcs-afrmfg78.js → state-afrmfg78.js} +0 -0
  741. /package/dist/chunks/{vcs-aqzs7mqg.js → state-aqzs7mqg.js} +0 -0
  742. /package/dist/chunks/{vcs-atq7p7m5.js → state-atq7p7m5.js} +0 -0
  743. /package/dist/chunks/{vcs-bkyjaxrp.js → state-bkyjaxrp.js} +0 -0
  744. /package/dist/chunks/{vcs-bmr6ed5q.js → state-bmr6ed5q.js} +0 -0
  745. /package/dist/chunks/{vcs-cf4snx6d.js → state-cf4snx6d.js} +0 -0
  746. /package/dist/chunks/{vcs-cvy3z8tj.js → state-cvy3z8tj.js} +0 -0
  747. /package/dist/chunks/{vcs-d9fn303g.js → state-d9fn303g.js} +0 -0
  748. /package/dist/chunks/{vcs-d9jj8t3e.js → state-d9jj8t3e.js} +0 -0
  749. /package/dist/chunks/{vcs-dajrwvna.js → state-dajrwvna.js} +0 -0
  750. /package/dist/chunks/{vcs-dap0rakb.js → state-dap0rakb.js} +0 -0
  751. /package/dist/chunks/{vcs-df08tz66.js → state-df08tz66.js} +0 -0
  752. /package/dist/chunks/{vcs-dy18nga0.js → state-dy18nga0.js} +0 -0
  753. /package/dist/chunks/{vcs-e5kj55wp.js → state-e5kj55wp.js} +0 -0
  754. /package/dist/chunks/{vcs-e73j6tqm.js → state-e73j6tqm.js} +0 -0
  755. /package/dist/chunks/{vcs-ec1grn59.js → state-ec1grn59.js} +0 -0
  756. /package/dist/chunks/{vcs-eh3zwz77.js → state-eh3zwz77.js} +0 -0
  757. /package/dist/chunks/{vcs-emrn6kk6.js → state-emrn6kk6.js} +0 -0
  758. /package/dist/chunks/{vcs-f0mxakyp.js → state-f0mxakyp.js} +0 -0
  759. /package/dist/chunks/{vcs-f6n9ztr4.js → state-f6n9ztr4.js} +0 -0
  760. /package/dist/chunks/{vcs-faypxj3z.js → state-faypxj3z.js} +0 -0
  761. /package/dist/chunks/{vcs-fd410y7t.js → state-fd410y7t.js} +0 -0
  762. /package/dist/chunks/{vcs-fxgpk5d8.js → state-fxgpk5d8.js} +0 -0
  763. /package/dist/chunks/{vcs-g4wezp1m.js → state-g4wezp1m.js} +0 -0
  764. /package/dist/chunks/{vcs-g86h250q.js → state-g86h250q.js} +0 -0
  765. /package/dist/chunks/{vcs-gebd4c9n.js → state-gebd4c9n.js} +0 -0
  766. /package/dist/chunks/{vcs-gftt206x.js → state-gftt206x.js} +0 -0
  767. /package/dist/chunks/{vcs-hjbc5kem.js → state-hjbc5kem.js} +0 -0
  768. /package/dist/chunks/{vcs-hk9envan.js → state-hk9envan.js} +0 -0
  769. /package/dist/chunks/{vcs-j2ntwpah.js → state-j2ntwpah.js} +0 -0
  770. /package/dist/chunks/{vcs-j5zkgpj8.js → state-j5zkgpj8.js} +0 -0
  771. /package/dist/chunks/{vcs-jjkms2e6.js → state-jjkms2e6.js} +0 -0
  772. /package/dist/chunks/{vcs-jr7sbwjy.js → state-jr7sbwjy.js} +0 -0
  773. /package/dist/chunks/{vcs-jwfs4k6c.js → state-jwfs4k6c.js} +0 -0
  774. /package/dist/chunks/{vcs-jzg6c2d5.js → state-jzg6c2d5.js} +0 -0
  775. /package/dist/chunks/{vcs-mp448xyj.js → state-mp448xyj.js} +0 -0
  776. /package/dist/chunks/{vcs-msx8hqn2.js → state-msx8hqn2.js} +0 -0
  777. /package/dist/chunks/{vcs-n05xt0ee.js → state-n05xt0ee.js} +0 -0
  778. /package/dist/chunks/{vcs-n3j8tn72.js → state-n3j8tn72.js} +0 -0
  779. /package/dist/chunks/{vcs-njntx4h6.js → state-njntx4h6.js} +0 -0
  780. /package/dist/chunks/{vcs-q3sfg36h.js → state-q3sfg36h.js} +0 -0
  781. /package/dist/chunks/{vcs-q74kybfr.js → state-q74kybfr.js} +0 -0
  782. /package/dist/chunks/{vcs-qaymkmh1.js → state-qaymkmh1.js} +0 -0
  783. /package/dist/chunks/{vcs-qb87gjwd.js → state-qb87gjwd.js} +0 -0
  784. /package/dist/chunks/{vcs-qfa1cgps.js → state-qfa1cgps.js} +0 -0
  785. /package/dist/chunks/{vcs-qg3g05ea.js → state-qg3g05ea.js} +0 -0
  786. /package/dist/chunks/{vcs-qrg20bc0.js → state-qrg20bc0.js} +0 -0
  787. /package/dist/chunks/{vcs-rcb2kzg1.js → state-rcb2kzg1.js} +0 -0
  788. /package/dist/chunks/{vcs-sdp7kfr6.js → state-sdp7kfr6.js} +0 -0
  789. /package/dist/chunks/{vcs-sk3qaz4a.js → state-sk3qaz4a.js} +0 -0
  790. /package/dist/chunks/{vcs-ssg3fenm.js → state-ssg3fenm.js} +0 -0
  791. /package/dist/chunks/{vcs-w803qqfp.js → state-w803qqfp.js} +0 -0
  792. /package/dist/chunks/{vcs-wc3fc9cn.js → state-wc3fc9cn.js} +0 -0
  793. /package/dist/chunks/{vcs-wer8tq1h.js → state-wer8tq1h.js} +0 -0
  794. /package/dist/chunks/{vcs-wtztk69x.js → state-wtztk69x.js} +0 -0
  795. /package/dist/chunks/{vcs-x0ckcb58.js → state-x0ckcb58.js} +0 -0
  796. /package/dist/chunks/{vcs-x61499pn.js → state-x61499pn.js} +0 -0
  797. /package/dist/chunks/{vcs-y44na4kk.js → state-y44na4kk.js} +0 -0
  798. /package/dist/chunks/{vcs-y8cydn3q.js → state-y8cydn3q.js} +0 -0
  799. /package/dist/chunks/{vcs-y8f7s663.js → state-y8f7s663.js} +0 -0
  800. /package/dist/chunks/{vcs-ygaqb7jw.js → state-ygaqb7jw.js} +0 -0
  801. /package/dist/chunks/{vcs-ym463w8f.js → state-ym463w8f.js} +0 -0
  802. /package/dist/chunks/{vcs-z9919s4g.js → state-z9919s4g.js} +0 -0
@@ -1,80 +1,80 @@
1
1
  import {
2
2
  Service84
3
- } from "./vcs-b3jbkr8y.js";
3
+ } from "./state-3pt3xjye.js";
4
4
  import {
5
5
  Service83
6
- } from "./vcs-2v2a3t0h.js";
6
+ } from "./state-12as4csw.js";
7
7
  import {
8
- Service53
9
- } from "./vcs-0jkw1j53.js";
8
+ Service58
9
+ } from "./state-52hb404k.js";
10
10
  import {
11
11
  userNotification2
12
- } from "./vcs-5ekn9679.js";
12
+ } from "./state-5ekn9679.js";
13
13
  import {
14
14
  SessionMessage2
15
- } from "./vcs-gftt206x.js";
15
+ } from "./state-gftt206x.js";
16
16
  import {
17
- NotFoundError10,
17
+ NotFoundError9,
18
18
  PromptConflictError2,
19
19
  SyntheticConflictError2,
20
20
  CompactionConflictError2,
21
21
  BusyError2,
22
22
  InboxConflictError2
23
- } from "./vcs-3ktbe3hf.js";
23
+ } from "./state-ybhbtxjg.js";
24
24
  import {
25
25
  SessionEvent2
26
- } from "./vcs-ec1grn59.js";
26
+ } from "./state-ec1grn59.js";
27
27
  import {
28
- Service77
29
- } from "./vcs-ze71xwz7.js";
28
+ Service69
29
+ } from "./state-addr2z3b.js";
30
30
  import {
31
31
  Delivery2,
32
32
  SyntheticPayload2,
33
- Service54
34
- } from "./vcs-ze9fxg61.js";
33
+ Service57
34
+ } from "./state-637kffsg.js";
35
35
  import {
36
- Service50
37
- } from "./vcs-sxetf54f.js";
36
+ Service54
37
+ } from "./state-tmgek03n.js";
38
38
  import {
39
39
  prepare2
40
- } from "./vcs-carqdbj5.js";
40
+ } from "./state-gvz217w8.js";
41
41
  import {
42
42
  stage2,
43
43
  clear2,
44
44
  commit2
45
- } from "./vcs-c4r6rz4w.js";
45
+ } from "./state-2r4f9961.js";
46
46
  import {
47
47
  start2
48
- } from "./vcs-kk0z3jeb.js";
48
+ } from "./state-37pjvmwd.js";
49
49
  import {
50
50
  get4
51
- } from "./vcs-rhc0y5sn.js";
51
+ } from "./state-nh5efkqv.js";
52
52
  import {
53
53
  __export
54
- } from "./vcs-9rqn6x4v.js";
54
+ } from "./state-9rqn6x4v.js";
55
55
 
56
56
  // src/session/session.ts
57
57
  var exports_session2 = {};
58
58
  __export(exports_session2, {
59
59
  Session: () => exports_session2,
60
- make: () => make13
60
+ make: () => make15
61
61
  });
62
62
  import { DateTime, Effect, Fiber, Scope } from "effect";
63
63
  import { Event } from "@opencode/schema/event";
64
64
  import { FSUtil } from "@opencode/util/fs-util";
65
- var make13 = Effect.fn("Session.make")(function* () {
65
+ var make15 = Effect.fn("Session.make")(function* () {
66
66
  const bus = yield* Service83;
67
67
  const database = yield* Service84;
68
- const store = yield* Service77;
69
- const instances = yield* Service53;
70
- const execution = yield* Service50;
71
- const admission = yield* Service54;
68
+ const store = yield* Service69;
69
+ const instances = yield* Service58;
70
+ const execution = yield* Service54;
71
+ const admission = yield* Service57;
72
72
  const fs = yield* FSUtil.Service;
73
73
  const scope = yield* Scope.Scope;
74
74
  const get = Effect.fn("Session.get")(function* (sessionID) {
75
75
  const session = yield* store.get(sessionID);
76
76
  if (!session)
77
- return yield* new NotFoundError10({ sessionID });
77
+ return yield* new NotFoundError9({ sessionID });
78
78
  return session;
79
79
  });
80
80
  const message = Effect.fn("Session.message")(function* (sessionID, messageID) {
@@ -135,7 +135,7 @@ var make13 = Effect.fn("Session.make")(function* () {
135
135
  });
136
136
  if (existing)
137
137
  return existing;
138
- const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service53, instances), Effect.provideService(FSUtil.Service, fs)));
138
+ const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service58, instances), Effect.provideService(FSUtil.Service, fs)));
139
139
  if (session.revert)
140
140
  yield* commit2(bus, session);
141
141
  return yield* admission.admit({
@@ -151,7 +151,7 @@ var make13 = Effect.fn("Session.make")(function* () {
151
151
  const shell = Effect.fn("Session.shell")(function* (sessionID, input) {
152
152
  const session = yield* get(sessionID);
153
153
  const running = yield* Effect.gen(function* () {
154
- const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service53, instances), Effect.tapError((error) => synthetic(sessionID, {
154
+ const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service58, instances), Effect.tapError((error) => synthetic(sessionID, {
155
155
  text: `User shell command failed to start:
156
156
  ${input.command}
157
157
 
@@ -180,7 +180,7 @@ ${error.message}`,
180
180
  });
181
181
  const skill = Effect.fn("Session.skill")(function* (sessionID, input) {
182
182
  const session = yield* get(sessionID);
183
- const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service53, instances));
183
+ const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service58, instances));
184
184
  yield* bus.publish(SessionEvent2.Skill.Activated, {
185
185
  sessionID,
186
186
  id: skill.id,
@@ -237,13 +237,13 @@ ${error.message}`,
237
237
  const session = yield* get(sessionID);
238
238
  if (yield* execution.isActive(sessionID))
239
239
  return yield* new BusyError2({ sessionID });
240
- return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service53, instances), Effect.provideService(Service84, database), Effect.provideService(Service83, bus));
240
+ return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service58, instances), Effect.provideService(Service84, database), Effect.provideService(Service83, bus));
241
241
  });
242
242
  const clear = Effect.fn("Session.revert.clear")(function* (sessionID) {
243
243
  const session = yield* get(sessionID);
244
244
  if (yield* execution.isActive(sessionID))
245
245
  return yield* new BusyError2({ sessionID });
246
- yield* clear2(session).pipe(Effect.provideService(Service53, instances), Effect.provideService(Service83, bus));
246
+ yield* clear2(session).pipe(Effect.provideService(Service58, instances), Effect.provideService(Service83, bus));
247
247
  return yield* execution.wake(sessionID);
248
248
  });
249
249
  const commit = Effect.fn("Session.revert.commit")(function* (sessionID) {
@@ -329,4 +329,4 @@ ${error.message}`,
329
329
  return { forSession };
330
330
  });
331
331
 
332
- export { make13, exports_session2 };
332
+ export { make15, exports_session2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./vcs-9rqn6x4v.js";
3
+ } from "./state-9rqn6x4v.js";
4
4
 
5
5
  // src/repository.ts
6
6
  var exports_repository = {};
@@ -13,7 +13,7 @@ __export(exports_repository, {
13
13
  cachePath: () => cachePath2,
14
14
  isFile: () => isFile2,
15
15
  isRemote: () => isRemote2,
16
- parse: () => parse4,
16
+ parse: () => parse5,
17
17
  parseRemote: () => parseRemote2,
18
18
  same: () => same2,
19
19
  validateBranch: () => validateBranch3
@@ -39,7 +39,7 @@ class InvalidBranchError3 extends Schema.TaggedError()("RepositoryInvalidBranchE
39
39
  message: Schema.String
40
40
  }) {
41
41
  }
42
- function parse4(input) {
42
+ function parse5(input) {
43
43
  const cleaned = normalizeInput(input);
44
44
  if (!cleaned)
45
45
  return;
@@ -72,7 +72,7 @@ function parse4(input) {
72
72
  }
73
73
  }
74
74
  function parseRemote2(input) {
75
- const reference = parse4(input);
75
+ const reference = parse5(input);
76
76
  if (!reference) {
77
77
  throw new InvalidReferenceError2({
78
78
  repository: input,
@@ -172,4 +172,4 @@ function buildFile(input) {
172
172
  };
173
173
  }
174
174
 
175
- export { InvalidReferenceError2, UnsupportedLocalRepositoryError2, InvalidBranchError3, parse4, parseRemote2, validateBranch3, isFile2, isRemote2, cachePath2, cacheIdentity2, same2, exports_repository };
175
+ export { InvalidReferenceError2, UnsupportedLocalRepositoryError2, InvalidBranchError3, parse5, parseRemote2, validateBranch3, isFile2, isRemote2, cachePath2, cacheIdentity2, same2, exports_repository };
@@ -0,0 +1,252 @@
1
+ import {
2
+ node76
3
+ } from "./state-dnndpd67.js";
4
+ import {
5
+ node83
6
+ } from "./state-khz59kc2.js";
7
+ import {
8
+ node81
9
+ } from "./state-0erg9wwv.js";
10
+ import {
11
+ node84,
12
+ boundNode2
13
+ } from "./state-xhvbz364.js";
14
+ import {
15
+ node80
16
+ } from "./state-bhnryp6n.js";
17
+ import {
18
+ node67
19
+ } from "./state-t15fh6tg.js";
20
+ import {
21
+ node79
22
+ } from "./state-trg234vc.js";
23
+ import {
24
+ node70
25
+ } from "./state-bwgpf6kh.js";
26
+ import {
27
+ configured10,
28
+ node56
29
+ } from "./state-7wrqfeey.js";
30
+ import {
31
+ node51
32
+ } from "./state-331q5pgp.js";
33
+ import {
34
+ node17
35
+ } from "./state-87df55d3.js";
36
+ import {
37
+ node23
38
+ } from "./state-zpx8x5b1.js";
39
+ import {
40
+ node20
41
+ } from "./state-ab3q5qw2.js";
42
+ import {
43
+ node19
44
+ } from "./state-epb60yey.js";
45
+ import {
46
+ node66
47
+ } from "./state-2wh0tznn.js";
48
+ import {
49
+ node27
50
+ } from "./state-x69hm2n9.js";
51
+ import {
52
+ node50
53
+ } from "./state-0tmgye68.js";
54
+ import {
55
+ node44
56
+ } from "./state-scad059f.js";
57
+ import {
58
+ Service58,
59
+ node62
60
+ } from "./state-52hb404k.js";
61
+ import {
62
+ node39
63
+ } from "./state-07rdd209.js";
64
+ import {
65
+ node75
66
+ } from "./state-qwjmgwmn.js";
67
+ import {
68
+ node72
69
+ } from "./state-5gftdx11.js";
70
+ import {
71
+ node60
72
+ } from "./state-nkf0pzw4.js";
73
+ import {
74
+ configured9,
75
+ node55
76
+ } from "./state-cbm7rw8j.js";
77
+ import {
78
+ node37
79
+ } from "./state-sc9th92v.js";
80
+ import {
81
+ node48
82
+ } from "./state-prk02b1h.js";
83
+ import {
84
+ node43
85
+ } from "./state-ftffmgpp.js";
86
+ import {
87
+ node68
88
+ } from "./state-ttkne1yr.js";
89
+ import {
90
+ node47
91
+ } from "./state-sfr5ve0q.js";
92
+ import {
93
+ node71
94
+ } from "./state-9zch71dn.js";
95
+ import {
96
+ node41
97
+ } from "./state-t3dtk66s.js";
98
+ import {
99
+ node36
100
+ } from "./state-6xjd4qpp.js";
101
+ import {
102
+ node63
103
+ } from "./state-zdnfnbnt.js";
104
+ import {
105
+ node54
106
+ } from "./state-chjpp9jv.js";
107
+ import {
108
+ node65
109
+ } from "./state-vpwpbydj.js";
110
+ import {
111
+ node45
112
+ } from "./state-vyj7e0dj.js";
113
+ import {
114
+ node28
115
+ } from "./state-86dam8yv.js";
116
+ import {
117
+ node32
118
+ } from "./state-2akz4pff.js";
119
+ import {
120
+ node26
121
+ } from "./state-cjagda2z.js";
122
+ import {
123
+ node31
124
+ } from "./state-w2fbgn6w.js";
125
+ import {
126
+ node25
127
+ } from "./state-8w6y8kk9.js";
128
+ import {
129
+ node11
130
+ } from "./state-8zz3fhf5.js";
131
+ import {
132
+ Service16,
133
+ node18
134
+ } from "./state-n436yt00.js";
135
+ import {
136
+ node24
137
+ } from "./state-0wey50z9.js";
138
+ import {
139
+ node4,
140
+ bound2
141
+ } from "./state-9hn6k4tm.js";
142
+ import {
143
+ node8
144
+ } from "./state-5vmwkxe9.js";
145
+ import {
146
+ node13
147
+ } from "./state-nrx107y4.js";
148
+ import {
149
+ node14
150
+ } from "./state-3ztzj39p.js";
151
+ import {
152
+ node2
153
+ } from "./state-dnrkp1py.js";
154
+ import {
155
+ node16
156
+ } from "./state-xcfbfb3r.js";
157
+ import {
158
+ node9
159
+ } from "./state-smmy5npd.js";
160
+ import {
161
+ node7
162
+ } from "./state-9g7qqvsb.js";
163
+ import {
164
+ __export
165
+ } from "./state-9rqn6x4v.js";
166
+
167
+ // src/instance.ts
168
+ var exports_instance = {};
169
+ __export(exports_instance, {
170
+ Instance: () => exports_instance,
171
+ Service: () => Service58,
172
+ graph: () => graph2,
173
+ layer: () => layer2,
174
+ node: () => node62
175
+ });
176
+ import { Context, Effect, Layer } from "effect";
177
+ import { LayerNode } from "@opencode/util/effect/layer-node";
178
+ import { Node } from "@opencode/util/effect/app-node";
179
+ var nodes = [
180
+ node84,
181
+ node18,
182
+ node51,
183
+ node56,
184
+ node76,
185
+ node70,
186
+ node68,
187
+ node28,
188
+ node26,
189
+ node81,
190
+ node80,
191
+ node79,
192
+ node66,
193
+ node67,
194
+ node25,
195
+ node75,
196
+ node4,
197
+ node2,
198
+ node31,
199
+ node20,
200
+ node19,
201
+ node54,
202
+ node16,
203
+ node45,
204
+ node71,
205
+ node37,
206
+ node55,
207
+ node24,
208
+ node17,
209
+ node23,
210
+ node44,
211
+ node72,
212
+ node48,
213
+ node65,
214
+ node50,
215
+ node41,
216
+ node47,
217
+ node39,
218
+ node83,
219
+ node27,
220
+ node14,
221
+ node43,
222
+ node13,
223
+ node60,
224
+ node8,
225
+ node9,
226
+ node36,
227
+ node63,
228
+ node7,
229
+ node32,
230
+ node11
231
+ ];
232
+ var graph2 = LayerNode.group(nodes);
233
+ var vanillaReplacements = [
234
+ node56.replace(configured10({ project: false, global: false })),
235
+ node55.replace(configured9({ project: false, global: false }))
236
+ ];
237
+ function layer2(ref, options = {}) {
238
+ const startedAt = performance.now();
239
+ const replacements = [
240
+ ...options.discovery === false ? vanillaReplacements : [],
241
+ ...options.replacements ?? [],
242
+ node84.replace(boundNode2(ref, { discovery: options.discovery })),
243
+ node4.replace(bound2(options.plugins ?? []))
244
+ ];
245
+ return LayerNode.compile(graph2, { replacements, shared: Node.tags.values.global }).pipe(Layer.orDie, Layer.tap((context) => Effect.addFinalizer(() => Context.get(context, Service16).shutdown)), Layer.tap(() => Effect.logInfo("location services booted", {
246
+ directory: ref.directory,
247
+ workspaceID: ref.workspaceID,
248
+ durationMs: Math.round(performance.now() - startedAt)
249
+ })));
250
+ }
251
+
252
+ export { graph2, layer2, exports_instance };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./vcs-922hggd3.js";
3
+ } from "./state-922hggd3.js";
4
4
 
5
5
  // src/database/path.ts
6
6
  import nodePath from "path";
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./vcs-2v2a3t0h.js";
4
+ } from "./state-12as4csw.js";
5
5
  import {
6
6
  environment2
7
- } from "./vcs-nsjjga1k.js";
7
+ } from "./state-chjpp9jv.js";
8
8
  import {
9
9
  makeDaemonTransport2
10
- } from "./vcs-sk3qaz4a.js";
10
+ } from "./state-sk3qaz4a.js";
11
11
  import {
12
12
  __export
13
- } from "./vcs-9rqn6x4v.js";
13
+ } from "./state-9rqn6x4v.js";
14
14
 
15
15
  // src/persistent-pty/index.ts
16
16
  var exports_persistent_pty = {};
17
17
  __export(exports_persistent_pty, {
18
18
  Handoff: () => Handoff2,
19
- NotFoundError: () => NotFoundError5,
20
- Options: () => Options8,
19
+ NotFoundError: () => NotFoundError4,
20
+ Options: () => Options4,
21
21
  PersistentPty: () => exports_persistent_pty,
22
- Service: () => Service59,
22
+ Service: () => Service26,
23
23
  UnavailableError: () => UnavailableError3,
24
- configured: () => configured8,
25
- layer: () => layer22,
26
- node: () => node62
24
+ configured: () => configured4,
25
+ layer: () => layer11,
26
+ node: () => node29
27
27
  });
28
28
  import os from "node:os";
29
29
  import path from "node:path";
@@ -35,21 +35,21 @@ import { Pty } from "@opencode/schema/pty";
35
35
  import { Global } from "@opencode/util/global";
36
36
  import { resolveBinary } from "#persistent-pty-binary";
37
37
  import { Handoff as Handoff2 } from "@opencode/schema/persistent-pty";
38
- var Options8 = Schema.Struct({ handoff: Schema.optional(Handoff) });
38
+ var Options4 = Schema.Struct({ handoff: Schema.optional(Handoff) });
39
39
 
40
40
  class UnavailableError3 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
41
41
  message: Schema.String
42
42
  }) {
43
43
  }
44
44
 
45
- class NotFoundError5 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
45
+ class NotFoundError4 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
46
46
  ptyID: Pty.ID
47
47
  }) {
48
48
  }
49
49
 
50
- class Service59 extends Context.Service()("@opencode/PersistentPty") {
50
+ class Service26 extends Context.Service()("@opencode/PersistentPty") {
51
51
  }
52
- var makeLayer = (options = {}) => Layer.effect(Service59, Effect.gen(function* () {
52
+ var makeLayer = (options = {}) => Layer.effect(Service26, Effect.gen(function* () {
53
53
  const bus = yield* Service83;
54
54
  const global = yield* Global.Service;
55
55
  const context = yield* Effect.context();
@@ -72,7 +72,7 @@ var makeLayer = (options = {}) => Layer.effect(Service59, Effect.gen(function* (
72
72
  const get = Effect.fn("PersistentPty.get")(function* (id) {
73
73
  const found = (yield* list()).find((terminal) => terminal.id === id);
74
74
  if (!found)
75
- return yield* new NotFoundError5({ ptyID: id });
75
+ return yield* new NotFoundError4({ ptyID: id });
76
76
  return found;
77
77
  });
78
78
  const create = Effect.fn("PersistentPty.create")(function* (sessionID, input) {
@@ -239,7 +239,7 @@ var makeLayer = (options = {}) => Layer.effect(Service59, Effect.gen(function* (
239
239
  detach: attachment.detach
240
240
  };
241
241
  });
242
- return Service59.of({
242
+ return Service26.of({
243
243
  list,
244
244
  get,
245
245
  create,
@@ -255,13 +255,13 @@ var makeLayer = (options = {}) => Layer.effect(Service59, Effect.gen(function* (
255
255
  attach
256
256
  });
257
257
  }));
258
- var layer22 = makeLayer();
259
- var configured8 = (options) => makeGlobalNode({
260
- service: Service59,
261
- layer: options === undefined ? layer22 : makeLayer(options),
258
+ var layer11 = makeLayer();
259
+ var configured4 = (options) => makeGlobalNode({
260
+ service: Service26,
261
+ layer: options === undefined ? layer11 : makeLayer(options),
262
262
  deps: [node87, Global.node]
263
263
  });
264
- var node62 = configured8();
264
+ var node29 = configured4();
265
265
  var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
266
266
  var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
267
267
  var unexpected = (response) => Effect.fail(new UnavailableError3({ message: `unexpected opencode-pty response: ${response.type}` }));
@@ -301,4 +301,4 @@ function fromID(value) {
301
301
  return parsed;
302
302
  }
303
303
 
304
- export { Options8, UnavailableError3, NotFoundError5, Service59, layer22, configured8, node62, exports_persistent_pty, Handoff2 };
304
+ export { Options4, UnavailableError3, NotFoundError4, Service26, layer11, configured4, node29, exports_persistent_pty, Handoff2 };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  render3
3
- } from "./vcs-xfkkasph.js";
3
+ } from "./state-drwq78ky.js";
4
4
  import {
5
5
  __export
6
- } from "./vcs-9rqn6x4v.js";
6
+ } from "./state-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/optimize.ts
9
9
  var exports_optimize = {};
@@ -1,31 +1,31 @@
1
1
  import {
2
- Service44
3
- } from "./vcs-5x6205s3.js";
2
+ Service51
3
+ } from "./state-7wrqfeey.js";
4
4
  import {
5
- Service31
6
- } from "./vcs-f0wsx59q.js";
5
+ Service41
6
+ } from "./state-scad059f.js";
7
7
  import {
8
8
  __export
9
- } from "./vcs-9rqn6x4v.js";
9
+ } from "./state-9rqn6x4v.js";
10
10
 
11
11
  // src/config/plugin/mcp.ts
12
12
  var exports_mcp2 = {};
13
13
  __export(exports_mcp2, {
14
14
  ConfigMcpPlugin: () => exports_mcp2,
15
- Plugin: () => Plugin47,
15
+ Plugin: () => Plugin27,
16
16
  register: () => register2
17
17
  });
18
18
  import { define } from "@opencode/plugin/effect/plugin";
19
19
  import { Effect, Stream } from "effect";
20
- var Plugin47 = define({
20
+ var Plugin27 = define({
21
21
  id: "opencode.config.mcp",
22
22
  effect: Effect.fn(function* (ctx) {
23
23
  yield* register2(ctx.event.subscribe());
24
24
  })
25
25
  });
26
26
  var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
27
- const config = yield* Service44;
28
- const mcp = yield* Service31;
27
+ const config = yield* Service51;
28
+ const mcp = yield* Service41;
29
29
  const loaded = { entries: [] };
30
30
  yield* events.pipe(Stream.filter((event) => event.type === "config.updated"), Stream.runForEach(() => config.entries().pipe(Effect.tap((entries) => Effect.sync(() => loaded.entries = entries)), Effect.andThen(mcp.reload()), Effect.catchCause((cause) => Effect.logError("failed to reload MCP config", { cause })))), Effect.ignore, Effect.forkScoped({ startImmediately: true }));
31
31
  loaded.entries = yield* config.entries();
@@ -46,4 +46,4 @@ var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
46
46
  });
47
47
  });
48
48
 
49
- export { Plugin47, register2, exports_mcp2 };
49
+ export { Plugin27, register2, exports_mcp2 };
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  useragent2
3
- } from "./vcs-5qyh9bdk.js";
3
+ } from "./state-fv5cfh7k.js";
4
4
  import {
5
5
  call2
6
- } from "./vcs-33w4ejhs.js";
6
+ } from "./state-1ygqh575.js";
7
7
  import {
8
8
  __export
9
- } from "./vcs-9rqn6x4v.js";
9
+ } from "./state-9rqn6x4v.js";
10
10
 
11
11
  // src/plugin/websearch/parallel.ts
12
12
  var exports_parallel = {};
13
13
  __export(exports_parallel, {
14
- Plugin: () => Plugin20,
14
+ Plugin: () => Plugin5,
15
15
  WebSearchParallel: () => exports_parallel,
16
16
  endpoint: () => endpoint4
17
17
  });
@@ -47,7 +47,7 @@ var McpOutput = Schema.Struct({
47
47
  content: Schema.Array(Schema.Struct({ type: Schema.Literal("text"), text: Schema.String })),
48
48
  structuredContent: SearchResponse
49
49
  });
50
- var Plugin20 = define({
50
+ var Plugin5 = define({
51
51
  id: "opencode.websearch.parallel",
52
52
  effect: Effect.fn("WebSearchParallel.Plugin")(function* (ctx) {
53
53
  const http = yield* HttpClient.HttpClient;
@@ -93,4 +93,4 @@ var Plugin20 = define({
93
93
  })
94
94
  });
95
95
 
96
- export { endpoint4, Plugin20, exports_parallel };
96
+ export { endpoint4, Plugin5, exports_parallel };
@@ -1,9 +1,9 @@
1
1
  import {
2
- Service60
3
- } from "./vcs-gpds3780.js";
2
+ Service47
3
+ } from "./state-331q5pgp.js";
4
4
  import {
5
5
  __export
6
- } from "./vcs-9rqn6x4v.js";
6
+ } from "./state-9rqn6x4v.js";
7
7
 
8
8
  // src/mcp/stdio.ts
9
9
  var exports_stdio = {};
@@ -19,7 +19,7 @@ var FORCE_KILL_AFTER = Duration.seconds(2);
19
19
  var OUTGOING_CAPACITY = 64;
20
20
  var MAX_FRAME_BYTES = 16 * 1024 * 1024;
21
21
  var make2 = Effect.fnUntraced(function* (options) {
22
- const environment = yield* Service60;
22
+ const environment = yield* Service47;
23
23
  const scope = yield* Effect.scope;
24
24
  const outgoing = yield* Queue.bounded(OUTGOING_CAPACITY);
25
25
  const buffer = new ReadBuffer;