@opencode/core 0.0.0-dev-20344 → 0.0.0-dev-20345

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 (799) 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 +7 -7
  6. package/dist/bus.js +73 -73
  7. package/dist/chunks/{location-6cqxdj14.js → state-0e4jz1n8.js} +17 -17
  8. package/dist/chunks/{location-jjpdfk8h.js → state-0npnkq69.js} +20 -20
  9. package/dist/chunks/{location-0paq2nw3.js → state-0paq2nw3.js} +1 -1
  10. package/dist/chunks/{location-w561axtn.js → state-0rhrw73v.js} +18 -18
  11. package/dist/chunks/{location-nz569jqt.js → state-0ryd0fps.js} +5 -5
  12. package/dist/chunks/{location-dv0n9c2x.js → state-0vpvgsj7.js} +44 -44
  13. package/dist/chunks/{location-23xej63c.js → state-0zdym56s.js} +6 -6
  14. package/dist/chunks/{location-g78cg05n.js → state-0zeppm43.js} +7 -7
  15. package/dist/chunks/{location-tx44wenv.js → state-12xd4ymj.js} +10 -10
  16. package/dist/chunks/{location-1dazxqgg.js → state-1dazxqgg.js} +2 -2
  17. package/dist/chunks/{location-x19b8bje.js → state-1eg0141z.js} +1 -1
  18. package/dist/chunks/{location-7rx9p9hh.js → state-1ejw9j53.js} +19 -19
  19. package/dist/chunks/{location-2pmtme7c.js → state-1r786k4f.js} +30 -30
  20. package/dist/chunks/{location-ddrs7t2j.js → state-1wy6918f.js} +8 -8
  21. package/dist/chunks/{location-5ys6ptk8.js → state-1zgzas4z.js} +36 -36
  22. package/dist/chunks/{location-5a824ydm.js → state-216bemhx.js} +22 -22
  23. package/dist/chunks/{location-21r38tys.js → state-21r38tys.js} +1 -1
  24. package/dist/chunks/{location-29x78va6.js → state-29x78va6.js} +2 -2
  25. package/dist/chunks/{location-2a5m3afh.js → state-2a5m3afh.js} +1 -1
  26. package/dist/chunks/{location-68y7phbn.js → state-2angj6gv.js} +12 -12
  27. package/dist/chunks/{location-6ktz889z.js → state-2bgvn5nj.js} +6 -6
  28. package/dist/chunks/{location-m5jy6c1p.js → state-2e83wwrs.js} +16 -16
  29. package/dist/chunks/{location-mwacmns3.js → state-2q2sbzgs.js} +6 -6
  30. package/dist/chunks/{location-as89ak57.js → state-2vhkgxeb.js} +23 -23
  31. package/dist/chunks/{location-a67xc8v7.js → state-30pmczq8.js} +13 -13
  32. package/dist/chunks/{location-exptz1jn.js → state-30sh4j22.js} +10 -10
  33. package/dist/chunks/{location-8kzf8c2b.js → state-31gw44a1.js} +10 -10
  34. package/dist/chunks/{location-znsx74x0.js → state-3556dn8t.js} +1 -1
  35. package/dist/chunks/{location-bks6cz2k.js → state-36qhr83r.js} +27 -27
  36. package/dist/chunks/{location-f1w4z5f6.js → state-39ad5as0.js} +11 -11
  37. package/dist/chunks/{location-xj05n8sj.js → state-3e87262r.js} +1 -1
  38. package/dist/chunks/{location-3fc6dm20.js → state-3fc6dm20.js} +1 -1
  39. package/dist/chunks/{location-3hepkmqq.js → state-3hepkmqq.js} +1 -1
  40. package/dist/chunks/{location-ve4pfa0n.js → state-3j8sdtpz.js} +4 -4
  41. package/dist/chunks/{location-djanh1gf.js → state-3k4qtam6.js} +28 -28
  42. package/dist/chunks/{location-3smtnn6g.js → state-3smtnn6g.js} +1 -1
  43. package/dist/chunks/{location-3tvqynh2.js → state-3tvqynh2.js} +1 -1
  44. package/dist/chunks/{location-c91k7ad4.js → state-3ywf2fjx.js} +29 -29
  45. package/dist/chunks/{location-3zsf4n22.js → state-3zsf4n22.js} +1 -1
  46. package/dist/chunks/{location-7nh1fm73.js → state-41k2ygh2.js} +9 -9
  47. package/dist/chunks/{location-bddt2pqj.js → state-41wzkj33.js} +12 -12
  48. package/dist/chunks/{location-g05cwh14.js → state-4xndpv5p.js} +14 -14
  49. package/dist/chunks/{location-h9wp8z5w.js → state-4z58m4b4.js} +4 -4
  50. package/dist/chunks/{location-54ma36ye.js → state-54ma36ye.js} +1 -1
  51. package/dist/chunks/{location-54tcyq79.js → state-54tcyq79.js} +2 -2
  52. package/dist/chunks/{location-56gdpj1q.js → state-56gdpj1q.js} +2 -2
  53. package/dist/chunks/{location-gb5fcfe9.js → state-56xa85j2.js} +5 -5
  54. package/dist/chunks/{location-k81hr64f.js → state-5adcek81.js} +4 -4
  55. package/dist/chunks/{location-p91yt6mk.js → state-5d58fczq.js} +17 -17
  56. package/dist/chunks/{location-v4bf4b2h.js → state-5dak2w70.js} +4 -4
  57. package/dist/chunks/{location-5daktx2q.js → state-5daktx2q.js} +1 -1
  58. package/dist/chunks/{location-nvxqht09.js → state-5epte933.js} +2 -2
  59. package/dist/chunks/{location-3r5gxg73.js → state-5fbqftap.js} +16 -16
  60. package/dist/chunks/{location-ndcdw9g8.js → state-5mn92tv3.js} +19 -19
  61. package/dist/chunks/{location-5t3nmthw.js → state-5t3nmthw.js} +2 -2
  62. package/dist/chunks/{location-85sw6847.js → state-662ekzyz.js} +24 -24
  63. package/dist/chunks/{location-669tq793.js → state-669tq793.js} +1 -1
  64. package/dist/chunks/{location-ma15yhyh.js → state-66r9f6z1.js} +5 -5
  65. package/dist/chunks/{location-4ms6454k.js → state-69vwg8tc.js} +40 -40
  66. package/dist/chunks/{location-19vf66h0.js → state-6cfd75hy.js} +5 -5
  67. package/dist/chunks/{location-6msgmcgs.js → state-6msgmcgs.js} +1 -1
  68. package/dist/chunks/{location-6pc27hjz.js → state-6pc27hjz.js} +2 -2
  69. package/dist/chunks/{location-vdb8q7n5.js → state-6qmvz171.js} +25 -25
  70. package/dist/chunks/{location-95cjtnmc.js → state-71mzxbmj.js} +34 -34
  71. package/dist/chunks/{location-s85wev1h.js → state-79n0bxvh.js} +3 -3
  72. package/dist/chunks/{location-hs5zt0a8.js → state-7bcnwrvj.js} +3 -3
  73. package/dist/chunks/{location-7bmhse3q.js → state-7bmhse3q.js} +1 -1
  74. package/dist/chunks/{location-7dqw4kz8.js → state-7dqw4kz8.js} +1 -1
  75. package/dist/chunks/{location-bkcw67jg.js → state-7j9zgq8p.js} +44 -44
  76. package/dist/chunks/{location-td97gtjv.js → state-80d1yvs7.js} +5 -5
  77. package/dist/chunks/{location-v0a36qrn.js → state-80mb3rs2.js} +11 -11
  78. package/dist/chunks/{location-smwhbszz.js → state-8159mah8.js} +17 -17
  79. package/dist/chunks/{location-57ez7d0k.js → state-81swgkk7.js} +7 -7
  80. package/dist/chunks/{location-84txncab.js → state-84txncab.js} +1 -1
  81. package/dist/chunks/{location-8d7r5vzw.js → state-8d7r5vzw.js} +1 -1
  82. package/dist/chunks/{location-3zhghk4y.js → state-8e176bsp.js} +13 -13
  83. package/dist/chunks/{location-r2vmt3px.js → state-8nv3jfj1.js} +8 -8
  84. package/dist/chunks/{location-dzpwn25x.js → state-918r00qh.js} +20 -20
  85. package/dist/chunks/{location-qte5z7bc.js → state-92a4ap4w.js} +5 -5
  86. package/dist/chunks/{location-gnhm909b.js → state-936k06nc.js} +14 -14
  87. package/dist/chunks/{location-nkp651gc.js → state-959s7zb7.js} +18 -18
  88. package/dist/chunks/{location-4ygrs1t9.js → state-9ah7747k.js} +21 -21
  89. package/dist/chunks/{location-dk95rs1h.js → state-9ecan2nc.js} +28 -28
  90. package/dist/chunks/{location-8dg5vm6z.js → state-9g40tecy.js} +94 -94
  91. package/dist/chunks/{location-a02r20w9.js → state-9kza3txs.js} +8 -8
  92. package/dist/chunks/{location-gec89q0r.js → state-9s372dca.js} +20 -20
  93. package/dist/chunks/state-9sh4wc5j.js +18 -0
  94. package/dist/chunks/{location-pbw0r91s.js → state-9tjbveq7.js} +8 -8
  95. package/dist/chunks/{location-3wrtxrr4.js → state-9vtsvkk2.js} +6 -6
  96. package/dist/chunks/{location-t35kk4m3.js → state-9wnq827a.js} +15 -15
  97. package/dist/chunks/{location-jv7gn18a.js → state-a2js1e01.js} +17 -17
  98. package/dist/chunks/{location-espax8zg.js → state-a2rpfkac.js} +4 -4
  99. package/dist/chunks/{location-aaet6srn.js → state-aaet6srn.js} +2 -2
  100. package/dist/chunks/{location-09q1akkk.js → state-aevpzszq.js} +48 -48
  101. package/dist/chunks/{location-dgadgb83.js → state-afd8vays.js} +9 -9
  102. package/dist/chunks/{location-gh2q5f0h.js → state-avzp3gyq.js} +15 -15
  103. package/dist/chunks/{location-5xeggsjb.js → state-azwp2v3h.js} +43 -43
  104. package/dist/chunks/{location-bj98hwq8.js → state-b5c7acg6.js} +6 -6
  105. package/dist/chunks/{location-r01t9b5y.js → state-b65r9e3v.js} +8 -8
  106. package/dist/chunks/{location-b6gygkdw.js → state-b6gygkdw.js} +2 -2
  107. package/dist/chunks/{location-pq4fj8xc.js → state-bdw8v3mn.js} +48 -48
  108. package/dist/chunks/{location-xhq66er1.js → state-be59z4hg.js} +33 -33
  109. package/dist/chunks/{location-myd9kayg.js → state-be9x6ywh.js} +9 -9
  110. package/dist/chunks/{location-bjtzbw4r.js → state-bjtzbw4r.js} +3 -3
  111. package/dist/chunks/{location-zrq8kphx.js → state-bnmr3cva.js} +8 -8
  112. package/dist/chunks/{location-b6763zrq.js → state-bvjk94fa.js} +4 -4
  113. package/dist/chunks/{location-8qf8ceg9.js → state-bwje1fea.js} +12 -12
  114. package/dist/chunks/{location-6dz1qw9v.js → state-ce68aqnt.js} +6 -6
  115. package/dist/chunks/{location-02pzv384.js → state-cg3ccyyg.js} +11 -11
  116. package/dist/chunks/{location-xxfd829z.js → state-chtreyd7.js} +24 -24
  117. package/dist/chunks/{location-w8h3bv79.js → state-cjxbqd7h.js} +36 -36
  118. package/dist/chunks/{location-br0tr5aq.js → state-cmwkp3r5.js} +8 -8
  119. package/dist/chunks/state-cpgb32tx.js +252 -0
  120. package/dist/chunks/{location-trf615cw.js → state-csmch40z.js} +15 -15
  121. package/dist/chunks/{location-qmqgtz8f.js → state-cwa6csj7.js} +9 -9
  122. package/dist/chunks/{location-s6tgk9vn.js → state-cz7wr2zz.js} +34 -34
  123. package/dist/chunks/{location-4mwpykj0.js → state-d1mtykxg.js} +6 -6
  124. package/dist/chunks/{location-kxf9nzd0.js → state-d5s62x3z.js} +13 -13
  125. package/dist/chunks/{location-4m6thn4g.js → state-d80ttx72.js} +8 -8
  126. package/dist/chunks/{location-2vs2nh1n.js → state-ddt2bs9e.js} +4 -4
  127. package/dist/chunks/{location-ys0deajw.js → state-dgvwm360.js} +16 -16
  128. package/dist/chunks/{location-qs001aqx.js → state-dhwr7h25.js} +8 -8
  129. package/dist/chunks/{location-dpkg50ah.js → state-dpkg50ah.js} +1 -1
  130. package/dist/chunks/{location-drwq78ky.js → state-drwq78ky.js} +1 -1
  131. package/dist/chunks/{location-ecfe7b91.js → state-ecfe7b91.js} +2 -2
  132. package/dist/chunks/{location-p84dsdfh.js → state-ednp5hmx.js} +8 -8
  133. package/dist/chunks/{location-ef5x83kb.js → state-ef5x83kb.js} +1 -1
  134. package/dist/chunks/{location-7k9teg1e.js → state-ef5xe33j.js} +9 -9
  135. package/dist/chunks/{location-dz88wbe7.js → state-efhbm40n.js} +26 -26
  136. package/dist/chunks/{location-adqdpybp.js → state-ektkda5n.js} +9 -9
  137. package/dist/chunks/{location-96ctqc5x.js → state-em3h5ktn.js} +4 -4
  138. package/dist/chunks/{location-etq0c3wd.js → state-etq0c3wd.js} +1 -1
  139. package/dist/chunks/{location-1nrdzak4.js → state-f2wnd5nk.js} +91 -91
  140. package/dist/chunks/{location-5b7ts617.js → state-f4b92smv.js} +8 -8
  141. package/dist/chunks/{location-khkvak3g.js → state-fb1tbn8m.js} +16 -16
  142. package/dist/chunks/{location-1qmb30g3.js → state-fd8ad5g5.js} +3 -3
  143. package/dist/chunks/{location-qpcrevt6.js → state-fhb5ssfr.js} +26 -26
  144. package/dist/chunks/{location-q0raz0xt.js → state-fmcqyzhx.js} +9 -9
  145. package/dist/chunks/{location-j2z7g6g4.js → state-fmye1ng3.js} +4 -4
  146. package/dist/chunks/{location-rscp1sre.js → state-fqbcpy34.js} +20 -20
  147. package/dist/chunks/{location-t1e7skfr.js → state-fr0z36kv.js} +18 -18
  148. package/dist/chunks/{location-anyjerdd.js → state-fsf584xg.js} +31 -31
  149. package/dist/chunks/{location-twmzk99d.js → state-ftr96xex.js} +2 -2
  150. package/dist/chunks/{location-vd3e338q.js → state-fva3gcq8.js} +29 -29
  151. package/dist/chunks/{location-2d57kztd.js → state-fvanntqq.js} +6 -6
  152. package/dist/chunks/{location-y56ehv6b.js → state-fwwk8vbp.js} +9 -9
  153. package/dist/chunks/{location-m1a691bq.js → state-fzdh19fh.js} +9 -9
  154. package/dist/chunks/{location-tqkrwgse.js → state-g97bb4fb.js} +2 -2
  155. package/dist/chunks/{location-gd4qta3r.js → state-gd4qta3r.js} +1 -1
  156. package/dist/chunks/{location-gfvb90ym.js → state-gfvb90ym.js} +2 -2
  157. package/dist/chunks/{location-0v2sk5j6.js → state-gj33z6hv.js} +8 -8
  158. package/dist/chunks/{location-r539qsq3.js → state-gn4mtd9h.js} +11 -11
  159. package/dist/chunks/{location-86jdww2w.js → state-grq906mk.js} +16 -16
  160. package/dist/chunks/{location-gv6a8nnw.js → state-gv6a8nnw.js} +2 -2
  161. package/dist/chunks/{location-w4m15ch3.js → state-gwcert61.js} +12 -12
  162. package/dist/chunks/{location-h6b02349.js → state-h6b02349.js} +2 -2
  163. package/dist/chunks/{location-h6vf3j39.js → state-h6vf3j39.js} +1 -1
  164. package/dist/chunks/{location-f04hbnz0.js → state-h8n7s2er.js} +6 -6
  165. package/dist/chunks/{location-xfgqgyq2.js → state-hgy5zrac.js} +21 -21
  166. package/dist/chunks/{location-77bexmsv.js → state-hwxfv3tc.js} +12 -12
  167. package/dist/chunks/{location-mjncxbbh.js → state-j5208yae.js} +6 -6
  168. package/dist/chunks/{location-j56e64zr.js → state-j56e64zr.js} +1 -1
  169. package/dist/chunks/{location-0prctygm.js → state-j6acr1hx.js} +35 -35
  170. package/dist/chunks/{location-ybx772w1.js → state-jrfyc01p.js} +61 -61
  171. package/dist/chunks/{location-a6j3e98v.js → state-jxy46986.js} +9 -9
  172. package/dist/chunks/{location-r9fqj8ns.js → state-jzbn4sdj.js} +29 -29
  173. package/dist/chunks/{location-k3c624dm.js → state-k3c624dm.js} +3 -3
  174. package/dist/chunks/{location-bg5p7gs6.js → state-k84kd2rq.js} +16 -16
  175. package/dist/chunks/{location-k18kvgqw.js → state-krph668c.js} +27 -27
  176. package/dist/chunks/{location-m3fdjcah.js → state-m3fdjcah.js} +1 -1
  177. package/dist/chunks/{location-ckqfqcne.js → state-m4z5w7fj.js} +31 -31
  178. package/dist/chunks/{location-m9w0rfyh.js → state-m9w0rfyh.js} +1 -1
  179. package/dist/chunks/{location-1ceye290.js → state-mezm2w51.js} +8 -8
  180. package/dist/chunks/{location-j8svvbq4.js → state-mjj1bz1p.js} +8 -8
  181. package/dist/chunks/{location-dnxkq42g.js → state-mpk0rfs5.js} +4 -4
  182. package/dist/chunks/{location-nw53exab.js → state-ms93yq6r.js} +8 -8
  183. package/dist/chunks/{location-mvfsc1pv.js → state-mvfsc1pv.js} +1 -1
  184. package/dist/chunks/{location-bk7jaeqh.js → state-mzywpf3p.js} +4 -4
  185. package/dist/chunks/{location-nqeb2avx.js → state-n25nhtx9.js} +14 -14
  186. package/dist/chunks/{location-5475xd7t.js → state-n5693fw6.js} +11 -11
  187. package/dist/chunks/{location-em07s6t6.js → state-n781nrqq.js} +14 -14
  188. package/dist/chunks/{location-r5h3vakg.js → state-njqgdpjp.js} +7 -7
  189. package/dist/chunks/{location-ysbspvw2.js → state-np3fkp2v.js} +11 -11
  190. package/dist/chunks/{location-4p7vd6rv.js → state-nqt4j4tt.js} +32 -32
  191. package/dist/chunks/{location-fhs97t90.js → state-nscznvay.js} +9 -9
  192. package/dist/chunks/{location-2zmtdwwa.js → state-nwqe4f3s.js} +17 -17
  193. package/dist/chunks/{location-aqjetw3w.js → state-nzhr00nd.js} +23 -23
  194. package/dist/chunks/{location-ajevxyj5.js → state-p3fxhk0g.js} +26 -26
  195. package/dist/chunks/{location-rbnh57a3.js → state-papj7q52.js} +312 -312
  196. package/dist/chunks/{location-emdq8hvp.js → state-ph2w6qfe.js} +2 -2
  197. package/dist/chunks/{location-pjvnvgmy.js → state-pjvnvgmy.js} +1 -1
  198. package/dist/chunks/{location-xnwq07qp.js → state-pk7dtzh7.js} +1 -1
  199. package/dist/chunks/{location-pknna89w.js → state-pknna89w.js} +1 -1
  200. package/dist/chunks/{location-zbt3cmbn.js → state-pmerw669.js} +10 -10
  201. package/dist/chunks/{location-psazpmmj.js → state-psazpmmj.js} +2 -2
  202. package/dist/chunks/state-pt6s91j2.js +26 -0
  203. package/dist/chunks/{location-he6fwm9p.js → state-pzsxz3jz.js} +24 -24
  204. package/dist/chunks/{location-mtr9da87.js → state-q5hpy1pp.js} +8 -8
  205. package/dist/chunks/{location-tbmac1c7.js → state-qbqbaz6q.js} +4 -4
  206. package/dist/chunks/{location-0djkakhq.js → state-qh8vwz7j.js} +30 -30
  207. package/dist/chunks/{location-be3vrfba.js → state-qjw7q168.js} +13 -13
  208. package/dist/chunks/{location-2qfnc9v9.js → state-qm865f5x.js} +26 -26
  209. package/dist/chunks/{location-n4thbxy5.js → state-qmhxt3hx.js} +151 -151
  210. package/dist/chunks/{location-qsdy395h.js → state-qsdy395h.js} +1 -1
  211. package/dist/chunks/{location-4aj77gpq.js → state-qt6sdbsb.js} +9 -9
  212. package/dist/chunks/{location-mtzh4w76.js → state-qy3qk6ng.js} +1 -1
  213. package/dist/chunks/{location-jasex9we.js → state-qzbep2cn.js} +18 -18
  214. package/dist/chunks/{location-hnwtc367.js → state-r4feqcmh.js} +18 -18
  215. package/dist/chunks/{location-6j6h2v05.js → state-r7525m21.js} +31 -31
  216. package/dist/chunks/{location-rdw6cm16.js → state-rdw6cm16.js} +1 -1
  217. package/dist/chunks/{location-s4enseaf.js → state-s4enseaf.js} +2 -2
  218. package/dist/chunks/{location-rhjbct0v.js → state-s8d7rejh.js} +4 -4
  219. package/dist/chunks/{location-bt7n4pmb.js → state-sexjdqf6.js} +16 -16
  220. package/dist/chunks/{location-g6996jmd.js → state-sr6aw9m2.js} +11 -11
  221. package/dist/chunks/{location-avm8jn6n.js → state-sra9araw.js} +5 -5
  222. package/dist/chunks/{location-100xjj6b.js → state-stjna85r.js} +27 -27
  223. package/dist/chunks/{location-h4c91pay.js → state-szck5pq9.js} +4 -4
  224. package/dist/chunks/{location-3pr8te96.js → state-t2f2p2hs.js} +50 -50
  225. package/dist/chunks/{location-yks39n9z.js → state-t6hysv17.js} +15 -15
  226. package/dist/chunks/{location-21a7rb1f.js → state-t9v8ce90.js} +9 -9
  227. package/dist/chunks/{location-qs2a9kth.js → state-taxxrjzd.js} +32 -32
  228. package/dist/chunks/{location-tazgh4e4.js → state-tazgh4e4.js} +1 -1
  229. package/dist/chunks/{location-tcezcvh9.js → state-tcezcvh9.js} +1 -1
  230. package/dist/chunks/{location-tdstcens.js → state-tdstcens.js} +1 -1
  231. package/dist/chunks/{location-f08wkcbe.js → state-te6p44we.js} +3 -3
  232. package/dist/chunks/{location-d87ppnb3.js → state-tn0aqsam.js} +5 -5
  233. package/dist/chunks/{location-xeeh34fw.js → state-tq190vwz.js} +24 -24
  234. package/dist/chunks/{location-f2y0nrye.js → state-tvphtg2k.js} +32 -32
  235. package/dist/chunks/{location-tvtrv512.js → state-tvtrv512.js} +1 -1
  236. package/dist/chunks/{location-qa3tmgdp.js → state-txvbd51c.js} +10 -10
  237. package/dist/chunks/{location-tsb833f7.js → state-v2yhmqtv.js} +1 -1
  238. package/dist/chunks/{location-y3ts0hry.js → state-v79qzs0e.js} +8 -8
  239. package/dist/chunks/{location-xdzxe0wf.js → state-vbga4g3c.js} +8 -8
  240. package/dist/chunks/{location-veqvce7d.js → state-veqvce7d.js} +1 -1
  241. package/dist/chunks/{location-j03hpba4.js → state-vje8wz55.js} +24 -24
  242. package/dist/chunks/{location-3r5v0g1e.js → state-vkrdzdkx.js} +41 -41
  243. package/dist/chunks/{location-8mqyqb4j.js → state-vr16sjez.js} +10 -10
  244. package/dist/chunks/{location-n3csj6mp.js → state-vrzb7372.js} +23 -23
  245. package/dist/chunks/{location-xdk9p2qn.js → state-vsp1fds9.js} +4 -4
  246. package/dist/chunks/{location-vzcthcp8.js → state-vzcthcp8.js} +1 -1
  247. package/dist/chunks/{location-vzs5sf6e.js → state-vzs5sf6e.js} +1 -1
  248. package/dist/chunks/{location-zzmaa19e.js → state-w2q85e14.js} +8 -8
  249. package/dist/chunks/{location-w3wsvvr9.js → state-w3wsvvr9.js} +1 -1
  250. package/dist/chunks/{location-m4x4aq54.js → state-w74ktcr0.js} +40 -40
  251. package/dist/chunks/{location-wd87259q.js → state-wd87259q.js} +1 -1
  252. package/dist/chunks/{location-fq4hkzfh.js → state-wf98btk2.js} +11 -11
  253. package/dist/chunks/{location-qkaqxm3y.js → state-wkrjrqp5.js} +12 -12
  254. package/dist/chunks/{location-mt41vr8a.js → state-wm0fnsq3.js} +20 -20
  255. package/dist/chunks/{location-5jkbe8f2.js → state-wm1tzmrb.js} +29 -29
  256. package/dist/chunks/{location-6z9mwsmt.js → state-wpk6ae5y.js} +18 -18
  257. package/dist/chunks/{location-8v1cm23h.js → state-wprsb84s.js} +13 -13
  258. package/dist/chunks/{location-6hwp1n2b.js → state-wsm9s30m.js} +25 -25
  259. package/dist/chunks/{location-watadjga.js → state-wywf0jv5.js} +28 -28
  260. package/dist/chunks/{location-3xxwahma.js → state-x0e6358b.js} +36 -36
  261. package/dist/chunks/{location-t6zqrtn1.js → state-x0kfg7bm.js} +13 -13
  262. package/dist/chunks/{location-x1ezjp6w.js → state-x1ezjp6w.js} +1 -1
  263. package/dist/chunks/{location-mg7d5g79.js → state-x20r9ngb.js} +15 -15
  264. package/dist/chunks/{location-1s7a7rc8.js → state-x5zps9n8.js} +22 -22
  265. package/dist/chunks/{location-x594m8gs.js → state-x8m5f2m8.js} +10 -10
  266. package/dist/chunks/{location-zh9b217t.js → state-x8t44att.js} +3 -3
  267. package/dist/chunks/{location-3ea3aynk.js → state-xhpe18j8.js} +11 -11
  268. package/dist/chunks/{location-n6rcy4mh.js → state-xk37293j.js} +2 -2
  269. package/dist/chunks/{location-dmqcgk4z.js → state-xkntkrq7.js} +5 -5
  270. package/dist/chunks/{location-hbkd0kx9.js → state-xpx5mjk6.js} +11 -11
  271. package/dist/chunks/{location-02ncb0r7.js → state-xrac12dq.js} +30 -30
  272. package/dist/chunks/{location-2crtrvgv.js → state-xx531rrw.js} +5 -5
  273. package/dist/chunks/{location-ph85sfvw.js → state-xy0es05p.js} +30 -30
  274. package/dist/chunks/{location-d8h50pbm.js → state-y09nxxfn.js} +12 -12
  275. package/dist/chunks/{location-y1fvbwt7.js → state-y1fvbwt7.js} +1 -1
  276. package/dist/chunks/{location-8jqzhmtt.js → state-y5qxgpje.js} +3 -3
  277. package/dist/chunks/{location-vakeda38.js → state-yc6hmas2.js} +2 -2
  278. package/dist/chunks/{location-89n34mzq.js → state-yhs2t3wf.js} +74 -74
  279. package/dist/chunks/{location-8cqwjt8t.js → state-ykej036m.js} +1 -1
  280. package/dist/chunks/{location-yp2x3t23.js → state-yp2x3t23.js} +1 -1
  281. package/dist/chunks/{location-yrhqyw5v.js → state-yrhqyw5v.js} +1 -1
  282. package/dist/chunks/{location-sjcx3g3r.js → state-yt7aqnvn.js} +22 -22
  283. package/dist/chunks/{location-e0m7kynn.js → state-yt8vsfev.js} +3 -3
  284. package/dist/chunks/{location-z0bkrqjs.js → state-z0bkrqjs.js} +1 -1
  285. package/dist/chunks/{location-fy4xcsnd.js → state-z4vzmr80.js} +13 -13
  286. package/dist/chunks/{location-7ypqrqvy.js → state-z53dzy5k.js} +17 -17
  287. package/dist/chunks/{location-8dywwfr0.js → state-zbwqc9a9.js} +9 -9
  288. package/dist/chunks/{location-zeh9ct20.js → state-zeh9ct20.js} +2 -2
  289. package/dist/chunks/{location-9jzbk5r7.js → state-zftz6z13.js} +21 -21
  290. package/dist/chunks/{location-p1nmr6zw.js → state-zfz6p2zn.js} +9 -9
  291. package/dist/chunks/{location-zr2ceqn5.js → state-zr2ceqn5.js} +1 -1
  292. package/dist/chunks/{location-zxq2ej10.js → state-zxq2ej10.js} +1 -1
  293. package/dist/codemode/catalog.js +1 -1
  294. package/dist/codemode/instructions.js +7 -7
  295. package/dist/codemode/tool.js +3 -3
  296. package/dist/codemode/web.js +1 -1
  297. package/dist/command.js +85 -85
  298. package/dist/config/discovery.js +82 -82
  299. package/dist/config/markdown.js +1 -1
  300. package/dist/config/normalize.js +106 -106
  301. package/dist/config/plugin/agent.js +123 -123
  302. package/dist/config/plugin/command.js +211 -211
  303. package/dist/config/plugin/compaction.js +161 -161
  304. package/dist/config/plugin/compatibility.js +141 -141
  305. package/dist/config/plugin/entry-observer.js +1 -1
  306. package/dist/config/plugin/formatter.js +124 -124
  307. package/dist/config/plugin/image.js +123 -123
  308. package/dist/config/plugin/instruction.js +90 -90
  309. package/dist/config/plugin/location-watcher.js +123 -123
  310. package/dist/config/plugin/mcp.js +130 -130
  311. package/dist/config/plugin/policy.js +122 -122
  312. package/dist/config/plugin/provider.js +123 -123
  313. package/dist/config/plugin/reference.js +125 -125
  314. package/dist/config/plugin/shell.js +123 -123
  315. package/dist/config/plugin/skill-file.js +102 -102
  316. package/dist/config/plugin/skill.js +142 -142
  317. package/dist/config/plugin/snapshot.js +123 -123
  318. package/dist/config/plugin/source.js +120 -120
  319. package/dist/config/plugin/tool-output.js +125 -125
  320. package/dist/config/plugin/websearch.js +120 -120
  321. package/dist/config/plugin/worktree.js +123 -123
  322. package/dist/config/variable.js +3 -3
  323. package/dist/config/watch.js +1 -1
  324. package/dist/config.js +124 -124
  325. package/dist/credential/sql.js +2 -2
  326. package/dist/credential.js +79 -79
  327. package/dist/database/database.js +70 -70
  328. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  329. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  330. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  331. package/dist/database/drizzle/index.js +13 -13
  332. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  335. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  337. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  338. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  339. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  340. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  341. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  342. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  343. package/dist/database/drizzle.js +14 -14
  344. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  345. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  346. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  347. package/dist/database/migration/20260225215848_workspace.js +1 -1
  348. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  349. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  350. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  351. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  352. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  353. package/dist/database/migration/20260323234822_events.js +1 -1
  354. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  355. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  356. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  357. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  358. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  359. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  360. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  361. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  362. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  363. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  364. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  365. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  366. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  367. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  368. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  369. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  370. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  371. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  372. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  373. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  374. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  375. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  376. package/dist/database/migration/20260611035744_credential.js +1 -1
  377. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  378. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  379. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  380. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  381. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  382. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  383. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  384. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  385. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  386. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  387. package/dist/database/migration/20260812213948_worktree.js +1 -1
  388. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  389. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  390. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  391. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  392. package/dist/database/migration.gen.js +49 -49
  393. package/dist/database/migration.js +51 -51
  394. package/dist/database/path.js +2 -2
  395. package/dist/database/schema.gen.js +1 -1
  396. package/dist/database/schema.sql.js +1 -1
  397. package/dist/database/sqlite.bun.js +1 -1
  398. package/dist/database/sqlite.js +1 -1
  399. package/dist/database/sqlite.node.js +1 -1
  400. package/dist/database/sqlite.workerd.js +1 -1
  401. package/dist/database/v1-migration.bun.js +79 -79
  402. package/dist/database/v1-migration.js +1 -1
  403. package/dist/effect/app-node-builder.js +372 -372
  404. package/dist/effect/app-node-platform.js +2 -2
  405. package/dist/effect/keyed-mutex.js +1 -1
  406. package/dist/effect/websocket-constructor.js +1 -1
  407. package/dist/environment/driver.js +1 -1
  408. package/dist/environment/environment.js +93 -93
  409. package/dist/environment/exec-defaults.js +2 -2
  410. package/dist/environment/files.js +1 -1
  411. package/dist/environment/index.js +95 -95
  412. package/dist/environment/local.js +2 -2
  413. package/dist/environment/memory.js +2 -2
  414. package/dist/environment/unavailable.js +1 -1
  415. package/dist/event/sql.js +1 -1
  416. package/dist/event-logger.js +74 -74
  417. package/dist/file-access.js +104 -104
  418. package/dist/file-mutation.js +94 -94
  419. package/dist/file-retention.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 +226 -226
  427. package/dist/filesystem/protected.js +1 -1
  428. package/dist/filesystem/search.js +103 -103
  429. package/dist/filesystem/watcher-binding.js +1 -1
  430. package/dist/filesystem/watcher.js +11 -11
  431. package/dist/filesystem.js +106 -106
  432. package/dist/form.js +84 -84
  433. package/dist/formatter/builtins.js +2 -2
  434. package/dist/formatter.js +87 -87
  435. package/dist/generate.js +101 -101
  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 +91 -91
  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 +363 -363
  461. package/dist/instruction-discovery.js +81 -81
  462. package/dist/instructions/builtins.js +87 -87
  463. package/dist/instructions/index.js +3 -3
  464. package/dist/integration/connection.js +3 -3
  465. package/dist/integration.js +85 -85
  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 +135 -135
  470. package/dist/location-lifecycle.js +107 -107
  471. package/dist/location-service-map.js +86 -86
  472. package/dist/location-services.js +360 -360
  473. package/dist/location.js +87 -87
  474. package/dist/managed-policy.js +5 -5
  475. package/dist/mcp/client.js +91 -91
  476. package/dist/mcp/index.js +109 -109
  477. package/dist/mcp/instructions.js +127 -127
  478. package/dist/mcp/oauth.js +78 -78
  479. package/dist/mcp/stdio.js +90 -90
  480. package/dist/mime.js +1 -1
  481. package/dist/modal/models.js +91 -91
  482. package/dist/model-resolver.js +98 -98
  483. package/dist/model.js +98 -98
  484. package/dist/models-dev.js +103 -103
  485. package/dist/oauth/page.js +1 -1
  486. package/dist/permission/saved.js +80 -80
  487. package/dist/permission/sql.js +5 -5
  488. package/dist/permission.js +107 -107
  489. package/dist/persistent-pty/binary.bun.js +1 -1
  490. package/dist/persistent-pty/daemon.js +1 -1
  491. package/dist/persistent-pty/index.js +84 -84
  492. package/dist/persistent-pty/pty-binding.js +1 -1
  493. package/dist/persistent-pty.js +75 -75
  494. package/dist/plugin/agent.js +102 -102
  495. package/dist/plugin/command.js +100 -100
  496. package/dist/plugin/hooks.js +5 -5
  497. package/dist/plugin/host.js +219 -219
  498. package/dist/plugin/identity.js +3 -3
  499. package/dist/plugin/instance.js +5 -5
  500. package/dist/plugin/internal.js +335 -335
  501. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  502. package/dist/plugin/models-dev.js +96 -96
  503. package/dist/plugin/module.js +7 -7
  504. package/dist/plugin/optimize.js +2 -2
  505. package/dist/plugin/plan.js +100 -100
  506. package/dist/plugin/promise.js +1 -1
  507. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  508. package/dist/plugin/provider/azure.js +122 -122
  509. package/dist/plugin/provider/cerebras.js +1 -1
  510. package/dist/plugin/provider/chatgpt.js +93 -93
  511. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  512. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  513. package/dist/plugin/provider/cohere.js +2 -2
  514. package/dist/plugin/provider/configured.js +119 -119
  515. package/dist/plugin/provider/digitalocean.js +93 -93
  516. package/dist/plugin/provider/dynamic.js +2 -2
  517. package/dist/plugin/provider/factory.js +1 -1
  518. package/dist/plugin/provider/gateway.js +2 -2
  519. package/dist/plugin/provider/github-copilot.js +95 -95
  520. package/dist/plugin/provider/gitlab.js +93 -93
  521. package/dist/plugin/provider/google-vertex.js +90 -90
  522. package/dist/plugin/provider/kilo.js +1 -1
  523. package/dist/plugin/provider/llmgateway.js +78 -78
  524. package/dist/plugin/provider/lmstudio.js +122 -122
  525. package/dist/plugin/provider/modal.js +92 -92
  526. package/dist/plugin/provider/nvidia.js +1 -1
  527. package/dist/plugin/provider/ollama.js +122 -122
  528. package/dist/plugin/provider/openai.js +93 -93
  529. package/dist/plugin/provider/opencode.js +95 -95
  530. package/dist/plugin/provider/openrouter.js +91 -91
  531. package/dist/plugin/provider/perplexity.js +2 -2
  532. package/dist/plugin/provider/poe.js +79 -79
  533. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  534. package/dist/plugin/provider/sap-ai-core.js +91 -91
  535. package/dist/plugin/provider/sdk-factory.js +1 -1
  536. package/dist/plugin/provider/snowflake-cortex.js +122 -122
  537. package/dist/plugin/provider/venice.js +2 -2
  538. package/dist/plugin/provider/vercel.js +90 -90
  539. package/dist/plugin/provider/vllm.js +122 -122
  540. package/dist/plugin/provider/xai.js +91 -91
  541. package/dist/plugin/provider/zenmux.js +1 -1
  542. package/dist/plugin/provider.js +163 -163
  543. package/dist/plugin/sdk.js +70 -70
  544. package/dist/plugin/service.js +3 -3
  545. package/dist/plugin/skill.js +139 -139
  546. package/dist/plugin/source-directory.js +1 -1
  547. package/dist/plugin/supervisor.js +350 -350
  548. package/dist/plugin/tool-input-repair.js +4 -4
  549. package/dist/plugin/update.js +6 -6
  550. package/dist/plugin/vcs/git.js +86 -86
  551. package/dist/plugin/vcs/hg.js +86 -86
  552. package/dist/plugin/verbosity.js +93 -93
  553. package/dist/plugin/warming.js +121 -121
  554. package/dist/plugin/websearch/exa.js +7 -7
  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 +2 -2
  558. package/dist/plugin/websearch/parallel.js +8 -8
  559. package/dist/plugin/websearch/tavily.js +6 -6
  560. package/dist/plugin/websearch/tinyfish.js +8 -8
  561. package/dist/plugin.js +226 -226
  562. package/dist/project/schema.js +6 -6
  563. package/dist/project/sql.js +4 -4
  564. package/dist/project.js +88 -88
  565. package/dist/provider.js +97 -97
  566. package/dist/pty/protocol.js +1 -1
  567. package/dist/pty/ticket.js +1 -1
  568. package/dist/pty.js +97 -97
  569. package/dist/reference/instructions.js +89 -89
  570. package/dist/reference.js +89 -89
  571. package/dist/repository-cache.js +81 -81
  572. package/dist/repository.js +1 -1
  573. package/dist/ripgrep/binary.js +2 -2
  574. package/dist/ripgrep.js +97 -97
  575. package/dist/rpc.js +86 -86
  576. package/dist/schema.js +1 -1
  577. package/dist/session/affinity.js +1 -1
  578. package/dist/session/command.js +74 -74
  579. package/dist/session/compaction.js +133 -133
  580. package/dist/session/context.js +153 -153
  581. package/dist/session/diff.js +88 -88
  582. package/dist/session/environment.js +5 -5
  583. package/dist/session/error.js +5 -5
  584. package/dist/session/event.js +1 -1
  585. package/dist/session/execution/restart.js +225 -225
  586. package/dist/session/execution.js +126 -126
  587. package/dist/session/generate.js +152 -152
  588. package/dist/session/history.js +13 -13
  589. package/dist/session/inbox.js +88 -88
  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 +93 -93
  594. package/dist/session/message-updater.js +4 -4
  595. package/dist/session/message.js +1 -1
  596. package/dist/session/model-request.js +120 -120
  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 +1 -1
  604. package/dist/session/runner/index.js +3 -3
  605. package/dist/session/runner/llm.js +232 -232
  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 +2 -2
  610. package/dist/session/runner/step.js +124 -124
  611. package/dist/session/runner/to-llm-message.js +2 -2
  612. package/dist/session/schema.js +3 -3
  613. package/dist/session/session.js +170 -170
  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 +75 -75
  618. package/dist/session/store.js +87 -87
  619. package/dist/session/subagent-completion.js +1 -1
  620. package/dist/session/subagent-job.js +209 -209
  621. package/dist/session/system-prompt.js +1 -1
  622. package/dist/session/title.js +155 -155
  623. package/dist/session/to-session-error.js +111 -111
  624. package/dist/session/transfer.js +224 -224
  625. package/dist/session/usage.js +1 -1
  626. package/dist/session.js +217 -217
  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 +11 -11
  631. package/dist/shell.js +140 -140
  632. package/dist/skill/discovery.js +6 -6
  633. package/dist/skill/instructions.js +107 -107
  634. package/dist/skill.js +108 -108
  635. package/dist/snapshot.js +89 -89
  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 +126 -126
  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 +120 -120
  644. package/dist/tool/plugin/mcp-resource.js +117 -117
  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 +103 -103
  648. package/dist/tool/plugin/read.js +125 -125
  649. package/dist/tool/plugin/shell.js +216 -216
  650. package/dist/tool/plugin/skill.js +111 -111
  651. package/dist/tool/plugin/subagent.js +214 -214
  652. package/dist/tool/plugin/webfetch.js +110 -110
  653. package/dist/tool/plugin/websearch.js +112 -112
  654. package/dist/tool/plugin/write.js +118 -118
  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 +16 -16
  659. package/dist/util/error-summary.js +1 -1
  660. package/dist/util/error.js +1 -1
  661. package/dist/util/git-executable.js +2 -2
  662. package/dist/util/iife.js +1 -1
  663. package/dist/util/lazy.js +1 -1
  664. package/dist/util/slug.js +1 -1
  665. package/dist/util/token.js +1 -1
  666. package/dist/util/which.js +1 -1
  667. package/dist/util/wildcard.js +1 -1
  668. package/dist/v1/config/agent.js +5 -5
  669. package/dist/v1/config/attachment.js +4 -4
  670. package/dist/v1/config/command.js +3 -3
  671. package/dist/v1/config/config.js +16 -16
  672. package/dist/v1/config/error.js +2 -2
  673. package/dist/v1/config/formatter.js +5 -5
  674. package/dist/v1/config/layout.js +1 -1
  675. package/dist/v1/config/lsp.js +5 -5
  676. package/dist/v1/config/mcp.js +4 -4
  677. package/dist/v1/config/migrate.js +92 -92
  678. package/dist/v1/config/permission.js +3 -3
  679. package/dist/v1/config/plugin.js +1 -1
  680. package/dist/v1/config/provider-options.js +1 -1
  681. package/dist/v1/config/provider.js +4 -4
  682. package/dist/v1/config/server.js +2 -2
  683. package/dist/v1/config/skills.js +3 -3
  684. package/dist/v1/permission.js +1 -1
  685. package/dist/variant.js +91 -91
  686. package/dist/vcs/patch.js +1 -1
  687. package/dist/vcs.js +89 -89
  688. package/dist/websearch.js +80 -80
  689. package/dist/wellknown/plugin.js +76 -76
  690. package/dist/wellknown.js +79 -79
  691. package/dist/workspace/driver.js +7 -7
  692. package/dist/workspace/sql.js +1 -1
  693. package/dist/workspace.js +80 -80
  694. package/dist/worktree/directory.js +2 -2
  695. package/dist/worktree/git.js +10 -10
  696. package/dist/worktree/sql.js +5 -5
  697. package/dist/worktree/strategies.js +89 -89
  698. package/dist/worktree.js +96 -96
  699. package/package.json +8 -8
  700. package/dist/chunks/location-q509s3k3.js +0 -18
  701. package/dist/chunks/location-y6qt5j83.js +0 -26
  702. package/dist/chunks/location-ycn72enr.js +0 -252
  703. /package/dist/chunks/{location-0qkdqm5v.js → state-0qkdqm5v.js} +0 -0
  704. /package/dist/chunks/{location-0zkw76rk.js → state-0zkw76rk.js} +0 -0
  705. /package/dist/chunks/{location-17cy0kzp.js → state-17cy0kzp.js} +0 -0
  706. /package/dist/chunks/{location-1cnp2v09.js → state-1cnp2v09.js} +0 -0
  707. /package/dist/chunks/{location-1kg9ymc8.js → state-1kg9ymc8.js} +0 -0
  708. /package/dist/chunks/{location-24dcb14g.js → state-24dcb14g.js} +0 -0
  709. /package/dist/chunks/{location-2710q6r3.js → state-2710q6r3.js} +0 -0
  710. /package/dist/chunks/{location-2axfhc9x.js → state-2axfhc9x.js} +0 -0
  711. /package/dist/chunks/{location-2c3vjs8z.js → state-2c3vjs8z.js} +0 -0
  712. /package/dist/chunks/{location-34c7v6d4.js → state-34c7v6d4.js} +0 -0
  713. /package/dist/chunks/{location-359p4xyc.js → state-359p4xyc.js} +0 -0
  714. /package/dist/chunks/{location-3asan66x.js → state-3asan66x.js} +0 -0
  715. /package/dist/chunks/{location-3v8g72cx.js → state-3v8g72cx.js} +0 -0
  716. /package/dist/chunks/{location-3w5fmr99.js → state-3w5fmr99.js} +0 -0
  717. /package/dist/chunks/{location-3wcehsnq.js → state-3wcehsnq.js} +0 -0
  718. /package/dist/chunks/{location-43n2bw4t.js → state-43n2bw4t.js} +0 -0
  719. /package/dist/chunks/{location-4knz6hnm.js → state-4knz6hnm.js} +0 -0
  720. /package/dist/chunks/{location-4vcrnpx2.js → state-4vcrnpx2.js} +0 -0
  721. /package/dist/chunks/{location-4y7fprxs.js → state-4y7fprxs.js} +0 -0
  722. /package/dist/chunks/{location-53557ph1.js → state-53557ph1.js} +0 -0
  723. /package/dist/chunks/{location-550bvhaj.js → state-550bvhaj.js} +0 -0
  724. /package/dist/chunks/{location-6prwharc.js → state-6prwharc.js} +0 -0
  725. /package/dist/chunks/{location-7akdwqpd.js → state-7akdwqpd.js} +0 -0
  726. /package/dist/chunks/{location-7m9af43g.js → state-7m9af43g.js} +0 -0
  727. /package/dist/chunks/{location-822emrt2.js → state-822emrt2.js} +0 -0
  728. /package/dist/chunks/{location-88xbtdfr.js → state-88xbtdfr.js} +0 -0
  729. /package/dist/chunks/{location-8n3pysct.js → state-8n3pysct.js} +0 -0
  730. /package/dist/chunks/{location-8wj87zfr.js → state-8wj87zfr.js} +0 -0
  731. /package/dist/chunks/{location-922hggd3.js → state-922hggd3.js} +0 -0
  732. /package/dist/chunks/{location-9a4afbnw.js → state-9a4afbnw.js} +0 -0
  733. /package/dist/chunks/{location-9rqn6x4v.js → state-9rqn6x4v.js} +0 -0
  734. /package/dist/chunks/{location-a6k6eb26.js → state-a6k6eb26.js} +0 -0
  735. /package/dist/chunks/{location-af5trqkr.js → state-af5trqkr.js} +0 -0
  736. /package/dist/chunks/{location-afrmfg78.js → state-afrmfg78.js} +0 -0
  737. /package/dist/chunks/{location-aqzs7mqg.js → state-aqzs7mqg.js} +0 -0
  738. /package/dist/chunks/{location-atq7p7m5.js → state-atq7p7m5.js} +0 -0
  739. /package/dist/chunks/{location-bkyjaxrp.js → state-bkyjaxrp.js} +0 -0
  740. /package/dist/chunks/{location-bmr6ed5q.js → state-bmr6ed5q.js} +0 -0
  741. /package/dist/chunks/{location-cf4snx6d.js → state-cf4snx6d.js} +0 -0
  742. /package/dist/chunks/{location-cvy3z8tj.js → state-cvy3z8tj.js} +0 -0
  743. /package/dist/chunks/{location-d9fn303g.js → state-d9fn303g.js} +0 -0
  744. /package/dist/chunks/{location-d9jj8t3e.js → state-d9jj8t3e.js} +0 -0
  745. /package/dist/chunks/{location-dajrwvna.js → state-dajrwvna.js} +0 -0
  746. /package/dist/chunks/{location-dap0rakb.js → state-dap0rakb.js} +0 -0
  747. /package/dist/chunks/{location-df08tz66.js → state-df08tz66.js} +0 -0
  748. /package/dist/chunks/{location-dy18nga0.js → state-dy18nga0.js} +0 -0
  749. /package/dist/chunks/{location-e3qxr5gk.js → state-e3qxr5gk.js} +0 -0
  750. /package/dist/chunks/{location-e5kj55wp.js → state-e5kj55wp.js} +0 -0
  751. /package/dist/chunks/{location-e73j6tqm.js → state-e73j6tqm.js} +0 -0
  752. /package/dist/chunks/{location-ec1grn59.js → state-ec1grn59.js} +0 -0
  753. /package/dist/chunks/{location-eh3zwz77.js → state-eh3zwz77.js} +0 -0
  754. /package/dist/chunks/{location-emrn6kk6.js → state-emrn6kk6.js} +0 -0
  755. /package/dist/chunks/{location-f0mxakyp.js → state-f0mxakyp.js} +0 -0
  756. /package/dist/chunks/{location-f6n9ztr4.js → state-f6n9ztr4.js} +0 -0
  757. /package/dist/chunks/{location-faypxj3z.js → state-faypxj3z.js} +0 -0
  758. /package/dist/chunks/{location-fd410y7t.js → state-fd410y7t.js} +0 -0
  759. /package/dist/chunks/{location-fxgpk5d8.js → state-fxgpk5d8.js} +0 -0
  760. /package/dist/chunks/{location-g4wezp1m.js → state-g4wezp1m.js} +0 -0
  761. /package/dist/chunks/{location-g86h250q.js → state-g86h250q.js} +0 -0
  762. /package/dist/chunks/{location-gebd4c9n.js → state-gebd4c9n.js} +0 -0
  763. /package/dist/chunks/{location-gftt206x.js → state-gftt206x.js} +0 -0
  764. /package/dist/chunks/{location-hjbc5kem.js → state-hjbc5kem.js} +0 -0
  765. /package/dist/chunks/{location-hk9envan.js → state-hk9envan.js} +0 -0
  766. /package/dist/chunks/{location-j2ntwpah.js → state-j2ntwpah.js} +0 -0
  767. /package/dist/chunks/{location-j5zkgpj8.js → state-j5zkgpj8.js} +0 -0
  768. /package/dist/chunks/{location-jjkms2e6.js → state-jjkms2e6.js} +0 -0
  769. /package/dist/chunks/{location-jr7sbwjy.js → state-jr7sbwjy.js} +0 -0
  770. /package/dist/chunks/{location-jwfs4k6c.js → state-jwfs4k6c.js} +0 -0
  771. /package/dist/chunks/{location-jzg6c2d5.js → state-jzg6c2d5.js} +0 -0
  772. /package/dist/chunks/{location-mp448xyj.js → state-mp448xyj.js} +0 -0
  773. /package/dist/chunks/{location-msx8hqn2.js → state-msx8hqn2.js} +0 -0
  774. /package/dist/chunks/{location-n05xt0ee.js → state-n05xt0ee.js} +0 -0
  775. /package/dist/chunks/{location-n3j8tn72.js → state-n3j8tn72.js} +0 -0
  776. /package/dist/chunks/{location-njntx4h6.js → state-njntx4h6.js} +0 -0
  777. /package/dist/chunks/{location-q3sfg36h.js → state-q3sfg36h.js} +0 -0
  778. /package/dist/chunks/{location-q74kybfr.js → state-q74kybfr.js} +0 -0
  779. /package/dist/chunks/{location-qaymkmh1.js → state-qaymkmh1.js} +0 -0
  780. /package/dist/chunks/{location-qb87gjwd.js → state-qb87gjwd.js} +0 -0
  781. /package/dist/chunks/{location-qfa1cgps.js → state-qfa1cgps.js} +0 -0
  782. /package/dist/chunks/{location-qg3g05ea.js → state-qg3g05ea.js} +0 -0
  783. /package/dist/chunks/{location-qrg20bc0.js → state-qrg20bc0.js} +0 -0
  784. /package/dist/chunks/{location-rcb2kzg1.js → state-rcb2kzg1.js} +0 -0
  785. /package/dist/chunks/{location-sdp7kfr6.js → state-sdp7kfr6.js} +0 -0
  786. /package/dist/chunks/{location-sk3qaz4a.js → state-sk3qaz4a.js} +0 -0
  787. /package/dist/chunks/{location-ssg3fenm.js → state-ssg3fenm.js} +0 -0
  788. /package/dist/chunks/{location-w803qqfp.js → state-w803qqfp.js} +0 -0
  789. /package/dist/chunks/{location-wc3fc9cn.js → state-wc3fc9cn.js} +0 -0
  790. /package/dist/chunks/{location-wer8tq1h.js → state-wer8tq1h.js} +0 -0
  791. /package/dist/chunks/{location-wtztk69x.js → state-wtztk69x.js} +0 -0
  792. /package/dist/chunks/{location-x0ckcb58.js → state-x0ckcb58.js} +0 -0
  793. /package/dist/chunks/{location-x61499pn.js → state-x61499pn.js} +0 -0
  794. /package/dist/chunks/{location-y44na4kk.js → state-y44na4kk.js} +0 -0
  795. /package/dist/chunks/{location-y8cydn3q.js → state-y8cydn3q.js} +0 -0
  796. /package/dist/chunks/{location-y8f7s663.js → state-y8f7s663.js} +0 -0
  797. /package/dist/chunks/{location-ygaqb7jw.js → state-ygaqb7jw.js} +0 -0
  798. /package/dist/chunks/{location-ym463w8f.js → state-ym463w8f.js} +0 -0
  799. /package/dist/chunks/{location-z9919s4g.js → state-z9919s4g.js} +0 -0
@@ -2,20 +2,20 @@ import {
2
2
  NonNegativeInt2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./location-922hggd3.js";
5
+ } from "./state-922hggd3.js";
6
6
  import {
7
- Service68,
8
- node71
9
- } from "./location-xxfd829z.js";
7
+ Service50,
8
+ node53
9
+ } from "./state-chtreyd7.js";
10
10
  import {
11
- Content3
12
- } from "./location-02ncb0r7.js";
11
+ Content2
12
+ } from "./state-xrac12dq.js";
13
13
  import {
14
14
  detect2
15
- } from "./location-3smtnn6g.js";
15
+ } from "./state-3smtnn6g.js";
16
16
  import {
17
17
  __export
18
- } from "./location-9rqn6x4v.js";
18
+ } from "./state-9rqn6x4v.js";
19
19
 
20
20
  // src/tool/read-filesystem.ts
21
21
  var exports_read_filesystem = {};
@@ -33,9 +33,9 @@ __export(exports_read_filesystem, {
33
33
  PageInput: () => PageInput2,
34
34
  PathKindError: () => PathKindError2,
35
35
  ReadToolFileSystem: () => exports_read_filesystem,
36
- Service: () => Service7,
36
+ Service: () => Service8,
37
37
  TextPage: () => TextPage2,
38
- node: () => node9,
38
+ node: () => node10,
39
39
  read: () => read2
40
40
  });
41
41
  import path from "path";
@@ -89,7 +89,7 @@ var PageInput2 = Schema.Struct({
89
89
  });
90
90
  var FileContent2 = Schema.Struct({
91
91
  type: Schema.Literal("file"),
92
- ...Content3.fields
92
+ ...Content2.fields
93
93
  }).annotate({ identifier: "ReadTool.FileContent" });
94
94
 
95
95
  class TextPage2 extends Schema.Class("ReadTool.TextPage")({
@@ -114,7 +114,7 @@ class ListPage2 extends Schema.Class("ReadTool.ListPage")({
114
114
  }) {
115
115
  }
116
116
 
117
- class Service7 extends Context.Service()("@opencode/ReadToolFileSystem") {
117
+ class Service8 extends Context.Service()("@opencode/ReadToolFileSystem") {
118
118
  }
119
119
  var mimeType = (value) => lookup(value) || "application/octet-stream";
120
120
  var read2 = Effect.fn("ReadTool.read")(function* (files, input, resource, page = {}) {
@@ -330,13 +330,13 @@ var nthNewline = (bytes, count) => {
330
330
  return index + 1;
331
331
  }
332
332
  };
333
- var layer = Layer.effect(Service7, Effect.gen(function* () {
334
- const environment = yield* Service68;
335
- return Service7.of({
333
+ var layer = Layer.effect(Service8, Effect.gen(function* () {
334
+ const environment = yield* Service50;
335
+ return Service8.of({
336
336
  list: environment.files.list,
337
337
  read: (path2, resource, page) => read2(environment.files, path2, resource, page)
338
338
  });
339
339
  }));
340
- var node9 = makeLocationNode({ service: Service7, layer, deps: [node71] });
340
+ var node10 = makeLocationNode({ service: Service8, layer, deps: [node53] });
341
341
 
342
- export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service7, read2, node9, exports_read_filesystem };
342
+ export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service8, read2, node10, exports_read_filesystem };
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  __export
3
- } from "./location-9rqn6x4v.js";
3
+ } from "./state-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: () => Plugin48
9
+ Plugin: () => Plugin46
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 Plugin48 = define({
16
+ var Plugin46 = 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 Plugin48 = define({
38
38
  })
39
39
  });
40
40
 
41
- export { Plugin48, exports_mcp_codemode_defaults };
41
+ export { Plugin46, exports_mcp_codemode_defaults };
@@ -2,10 +2,10 @@ import {
2
2
  NotFound2,
3
3
  WrongKind2,
4
4
  Failed2
5
- } from "./location-2a5m3afh.js";
5
+ } from "./state-2a5m3afh.js";
6
6
  import {
7
7
  __export
8
- } from "./location-9rqn6x4v.js";
8
+ } from "./state-9rqn6x4v.js";
9
9
 
10
10
  // src/environment/memory.ts
11
11
  var exports_memory = {};
@@ -1,57 +1,57 @@
1
- import {
2
- Service83,
3
- node87
4
- } from "./location-bt7n4pmb.js";
5
1
  import {
6
2
  Service80,
7
3
  node84
8
- } from "./location-khkvak3g.js";
4
+ } from "./state-sexjdqf6.js";
9
5
  import {
10
- Service68,
11
- node71
12
- } from "./location-xxfd829z.js";
6
+ Service76,
7
+ node80
8
+ } from "./state-fb1tbn8m.js";
9
+ import {
10
+ Service50,
11
+ node53
12
+ } from "./state-chtreyd7.js";
13
13
  import {
14
14
  cleanup3
15
- } from "./location-gd4qta3r.js";
15
+ } from "./state-gd4qta3r.js";
16
16
  import {
17
- Service56,
17
+ Service66,
18
18
  args2,
19
- node59
20
- } from "./location-yks39n9z.js";
19
+ node70
20
+ } from "./state-t6hysv17.js";
21
21
  import {
22
- Service64,
23
- node67
24
- } from "./location-zrq8kphx.js";
22
+ Service84,
23
+ node88
24
+ } from "./state-bnmr3cva.js";
25
25
  import {
26
- Service28,
27
- node31
28
- } from "./location-nw53exab.js";
26
+ Service44,
27
+ node46
28
+ } from "./state-ms93yq6r.js";
29
29
  import {
30
30
  SessionSchema2
31
- } from "./location-nvxqht09.js";
31
+ } from "./state-5epte933.js";
32
32
  import {
33
33
  latest2,
34
- Service70,
35
- node74
36
- } from "./location-4ms6454k.js";
34
+ Service67,
35
+ node71
36
+ } from "./state-69vwg8tc.js";
37
37
  import {
38
38
  MAX_LINES2,
39
39
  MAX_BYTES2
40
- } from "./location-d8h50pbm.js";
40
+ } from "./state-y09nxxfn.js";
41
41
  import {
42
42
  __export
43
- } from "./location-9rqn6x4v.js";
43
+ } from "./state-9rqn6x4v.js";
44
44
 
45
45
  // src/shell.ts
46
46
  var exports_shell4 = {};
47
47
  __export(exports_shell4, {
48
48
  DIRECTORY: () => DIRECTORY2,
49
- NotFoundError: () => NotFoundError3,
49
+ NotFoundError: () => NotFoundError4,
50
50
  RETENTION: () => RETENTION2,
51
- Service: () => Service27,
51
+ Service: () => Service43,
52
52
  Shell: () => exports_shell4,
53
53
  cleanup: () => cleanup2,
54
- node: () => node30
54
+ node: () => node45
55
55
  });
56
56
  import path from "path";
57
57
  import { Context, Deferred, Duration, Effect, Fiber, Latch, Layer, Schema, Schedule, Stream } from "effect";
@@ -63,7 +63,7 @@ import { CrossSpawnSpawner } from "@opencode/util/cross-spawn-spawner";
63
63
  import { makeGlobalNode, makeLocationNode } from "@opencode/util/effect/app-node";
64
64
  import { FSUtil } from "@opencode/util/fs-util";
65
65
  import { Global } from "@opencode/util/global";
66
- class NotFoundError3 extends Schema.TaggedError()("Shell.NotFoundError", {
66
+ class NotFoundError4 extends Schema.TaggedError()("Shell.NotFoundError", {
67
67
  id: Shell.ID
68
68
  }) {
69
69
  }
@@ -71,7 +71,7 @@ var EXITED_LIMIT = 25;
71
71
  var RETENTION2 = Duration.days(7);
72
72
  var DIRECTORY2 = "shell";
73
73
 
74
- class Service27 extends Context.Service()("@opencode/Shell") {
74
+ class Service43 extends Context.Service()("@opencode/Shell") {
75
75
  }
76
76
  var cleanup2 = Effect.fn("Shell.cleanup")(function* () {
77
77
  const fs = yield* FSUtil.Service;
@@ -87,15 +87,15 @@ var cleanupNode = makeGlobalNode({
87
87
  layer: cleanupLayer,
88
88
  deps: [FSUtil.node, Global.node]
89
89
  });
90
- var layer = () => Layer.effect(Service27, Effect.gen(function* () {
91
- const bus = yield* Service83;
92
- const location = yield* Service80;
90
+ var layer = () => Layer.effect(Service43, Effect.gen(function* () {
91
+ const bus = yield* Service80;
92
+ const location = yield* Service76;
93
93
  const global = yield* Global.Service;
94
- const shell = yield* Service56;
95
- const environment = yield* Service68;
96
- const hooks = yield* Service64;
97
- const environments = yield* Service28;
98
- const config = yield* Service70;
94
+ const shell = yield* Service66;
95
+ const environment = yield* Service50;
96
+ const hooks = yield* Service84;
97
+ const environments = yield* Service44;
98
+ const config = yield* Service67;
99
99
  const context = yield* Effect.context();
100
100
  const runFork = Effect.runForkWith(context);
101
101
  const commands = new Map;
@@ -116,7 +116,7 @@ var layer = () => Layer.effect(Service27, Effect.gen(function* () {
116
116
  const require2 = Effect.fnUntraced(function* (id) {
117
117
  const command = commands.get(id);
118
118
  if (!command)
119
- return yield* new NotFoundError3({ id });
119
+ return yield* new NotFoundError4({ id });
120
120
  return command;
121
121
  });
122
122
  const removeCommand = Effect.fnUntraced(function* (id) {
@@ -129,7 +129,7 @@ var layer = () => Layer.effect(Service27, Effect.gen(function* () {
129
129
  commands.delete(id);
130
130
  if (command.timeoutFiber)
131
131
  yield* Fiber.interrupt(command.timeoutFiber);
132
- yield* Deferred.fail(command.done, new NotFoundError3({ id }));
132
+ yield* Deferred.fail(command.done, new NotFoundError4({ id }));
133
133
  yield* Effect.promise(() => unlink(command.file).catch(() => {}));
134
134
  yield* bus.publish(Shell.Event.Deleted, { id });
135
135
  });
@@ -323,22 +323,22 @@ var layer = () => Layer.effect(Service27, Effect.gen(function* () {
323
323
  const command = yield* Deferred.await(ready);
324
324
  return command.info;
325
325
  });
326
- return Service27.of({ create, list, get, wait, result, timeout, output, remove });
326
+ return Service43.of({ create, list, get, wait, result, timeout, output, remove });
327
327
  }));
328
- var node30 = makeLocationNode({
329
- service: Service27,
328
+ var node45 = makeLocationNode({
329
+ service: Service43,
330
330
  layer: layer(),
331
331
  deps: [
332
- node87,
333
332
  node84,
333
+ node80,
334
334
  Global.node,
335
- node59,
335
+ node70,
336
+ node53,
337
+ node88,
338
+ node46,
336
339
  node71,
337
- node67,
338
- node31,
339
- node74,
340
340
  cleanupNode
341
341
  ]
342
342
  });
343
343
 
344
- export { NotFoundError3, RETENTION2, DIRECTORY2, Service27, cleanup2, node30, exports_shell4 };
344
+ export { NotFoundError4, RETENTION2, DIRECTORY2, Service43, cleanup2, node45, exports_shell4 };
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  useragent2
3
- } from "./location-qa3tmgdp.js";
3
+ } from "./state-txvbd51c.js";
4
4
  import {
5
5
  call2
6
- } from "./location-56gdpj1q.js";
6
+ } from "./state-56gdpj1q.js";
7
7
  import {
8
8
  __export
9
- } from "./location-9rqn6x4v.js";
9
+ } from "./state-9rqn6x4v.js";
10
10
 
11
11
  // src/plugin/websearch/firecrawl.ts
12
12
  var exports_firecrawl = {};
13
13
  __export(exports_firecrawl, {
14
- Plugin: () => Plugin39,
14
+ Plugin: () => Plugin35,
15
15
  WebSearchFirecrawl: () => exports_firecrawl,
16
- endpoint: () => endpoint6
16
+ endpoint: () => endpoint4
17
17
  });
18
18
  import { define } from "@opencode/plugin/effect/plugin";
19
19
  import { Effect, Option, Schema } from "effect";
20
20
  import { HttpClient } from "effect/unstable/http";
21
- var endpoint6 = "https://mcp.firecrawl.dev/v2/mcp";
21
+ var endpoint4 = "https://mcp.firecrawl.dev/v2/mcp";
22
22
  var McpInput = Schema.Struct({
23
23
  query: Schema.String,
24
24
  limit: Schema.Number.pipe(Schema.optional)
@@ -37,7 +37,7 @@ var SearchResponse = Schema.fromJsonString(Schema.Struct({
37
37
  })
38
38
  }));
39
39
  var decodeSearchResponse = Schema.decodeUnknownOption(SearchResponse);
40
- var Plugin39 = define({
40
+ var Plugin35 = define({
41
41
  id: "opencode.websearch.firecrawl",
42
42
  effect: Effect.fn("WebSearchFirecrawl.Plugin")(function* (ctx) {
43
43
  const http = yield* HttpClient.HttpClient;
@@ -59,7 +59,7 @@ var Plugin39 = define({
59
59
  execute: (input) => Effect.gen(function* () {
60
60
  const connection = yield* ctx.integration.connection.active("firecrawl");
61
61
  const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
62
- const result = yield* call2(http, endpoint6, "firecrawl_search", { input: McpInput, output: McpOutput }, { query: input.query, limit: 8 }, {
62
+ const result = yield* call2(http, endpoint4, "firecrawl_search", { input: McpInput, output: McpOutput }, { query: input.query, limit: 8 }, {
63
63
  "User-Agent": useragent2(ctx.app),
64
64
  ...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : {}
65
65
  });
@@ -77,4 +77,4 @@ var Plugin39 = define({
77
77
  })
78
78
  });
79
79
 
80
- export { endpoint6, Plugin39, exports_firecrawl };
80
+ export { endpoint4, Plugin35, exports_firecrawl };
@@ -1,45 +1,45 @@
1
1
  import {
2
- Service71
3
- } from "./location-6z9mwsmt.js";
2
+ Service68
3
+ } from "./state-wpk6ae5y.js";
4
4
  import {
5
5
  unavailable3
6
- } from "./location-rhjbct0v.js";
6
+ } from "./state-s8d7rejh.js";
7
7
  import {
8
8
  AbsolutePath2
9
- } from "./location-922hggd3.js";
9
+ } from "./state-922hggd3.js";
10
10
  import {
11
11
  File2,
12
- Service58
13
- } from "./location-85sw6847.js";
12
+ Service64
13
+ } from "./state-662ekzyz.js";
14
14
  import {
15
- Service80
16
- } from "./location-khkvak3g.js";
15
+ Service76
16
+ } from "./state-fb1tbn8m.js";
17
17
  import {
18
18
  __export
19
- } from "./location-9rqn6x4v.js";
19
+ } from "./state-9rqn6x4v.js";
20
20
 
21
21
  // src/config/plugin/instruction.ts
22
22
  var exports_instruction = {};
23
23
  __export(exports_instruction, {
24
24
  ConfigInstructionPlugin: () => exports_instruction,
25
- Plugin: () => Plugin25
25
+ Plugin: () => Plugin18
26
26
  });
27
27
  import { define } from "@opencode/plugin/effect/plugin";
28
28
  import { FSUtil } from "@opencode/util/fs-util";
29
29
  import { Global } from "@opencode/util/global";
30
30
  import { dirname, join } from "path";
31
31
  import { Effect, PubSub, Semaphore, Stream } from "effect";
32
- var Plugin25 = define({
32
+ var Plugin18 = define({
33
33
  id: "opencode.config.instruction",
34
34
  effect: Effect.fn(function* () {
35
- const discovery = yield* Service58;
35
+ const discovery = yield* Service64;
36
36
  if (!discovery.project && !discovery.global)
37
37
  return;
38
38
  yield* Effect.gen(function* () {
39
39
  const fs = yield* FSUtil.Service;
40
40
  const global = yield* Global.Service;
41
- const location = yield* Service80;
42
- const watcher = yield* Service71;
41
+ const location = yield* Service76;
42
+ const watcher = yield* Service68;
43
43
  const changes = yield* PubSub.sliding(1);
44
44
  const lock = Semaphore.makeUnsafe(1);
45
45
  const start = yield* fs.resolve(location.directory);
@@ -114,4 +114,4 @@ function ancestorDirectories(start, stop) {
114
114
  return [start, ...ancestorDirectories(dirname(start), stop)];
115
115
  }
116
116
 
117
- export { Plugin25, exports_instruction };
117
+ export { Plugin18, exports_instruction };
@@ -1,62 +1,62 @@
1
1
  import {
2
2
  NonNegativeInt2
3
- } from "./location-922hggd3.js";
3
+ } from "./state-922hggd3.js";
4
4
  import {
5
5
  latest2,
6
- Service70
7
- } from "./location-4ms6454k.js";
6
+ Service67
7
+ } from "./state-69vwg8tc.js";
8
8
  import {
9
9
  typeFollowing2
10
- } from "./location-2a5m3afh.js";
10
+ } from "./state-2a5m3afh.js";
11
11
  import {
12
- Service68
13
- } from "./location-xxfd829z.js";
12
+ Service50
13
+ } from "./state-chtreyd7.js";
14
14
  import {
15
- Service44
16
- } from "./location-6cqxdj14.js";
15
+ Service46
16
+ } from "./state-0e4jz1n8.js";
17
17
  import {
18
- Service60
19
- } from "./location-dv0n9c2x.js";
18
+ Service58
19
+ } from "./state-0vpvgsj7.js";
20
20
  import {
21
- Service37,
21
+ Service17,
22
22
  resolvePath2
23
- } from "./location-nkp651gc.js";
23
+ } from "./state-959s7zb7.js";
24
24
  import {
25
25
  output2,
26
26
  notice2,
27
27
  metadata2,
28
28
  notification2
29
- } from "./location-vzs5sf6e.js";
29
+ } from "./state-vzs5sf6e.js";
30
30
  import {
31
- Service56,
31
+ Service66,
32
32
  name15
33
- } from "./location-yks39n9z.js";
33
+ } from "./state-t6hysv17.js";
34
34
  import {
35
- NotFoundError3,
36
- Service27
37
- } from "./location-09q1akkk.js";
35
+ NotFoundError4,
36
+ Service43
37
+ } from "./state-aevpzszq.js";
38
38
  import {
39
- Service13
40
- } from "./location-8dg5vm6z.js";
39
+ Service21
40
+ } from "./state-9g40tecy.js";
41
41
  import {
42
42
  scan2
43
- } from "./location-h4c91pay.js";
43
+ } from "./state-szck5pq9.js";
44
44
  import {
45
45
  __export
46
- } from "./location-9rqn6x4v.js";
46
+ } from "./state-9rqn6x4v.js";
47
47
 
48
48
  // src/tool/plugin/shell.ts
49
49
  var exports_shell = {};
50
50
  __export(exports_shell, {
51
51
  DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
52
- Input: () => Input2,
53
- Plugin: () => Plugin2,
52
+ Input: () => Input12,
53
+ Plugin: () => Plugin14,
54
54
  ShellTool: () => exports_shell,
55
- name: () => name2
55
+ name: () => name12
56
56
  });
57
57
  import { ToolFailure } from "@opencode/ai";
58
58
  import { Deferred, Effect, Schema, Scope } from "effect";
59
- var name2 = "shell";
59
+ var name12 = "shell";
60
60
  var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
61
61
  var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
62
62
  var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
@@ -70,7 +70,7 @@ var description = (shell) => [
70
70
  "Commands accept an optional timeout, background commands have no timeout by default.",
71
71
  "Background commands return immediately, and you will be notified when they complete."
72
72
  ].join(" ");
73
- var Input2 = Schema.Struct({
73
+ var Input12 = Schema.Struct({
74
74
  command: Schema.String.annotate({ description: "Shell command string to execute" }),
75
75
  workdir: Schema.optionalKey(Schema.String).annotate({
76
76
  description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
@@ -116,19 +116,19 @@ Output is streaming to: ${file}`,
116
116
  truncated: false,
117
117
  status: "running"
118
118
  });
119
- var Plugin2 = {
119
+ var Plugin14 = {
120
120
  id: "opencode.tool.shell",
121
121
  effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
122
- const sessions = yield* Service13;
123
- const jobs = yield* Service44;
122
+ const sessions = yield* Service21;
123
+ const jobs = yield* Service46;
124
124
  const scope = yield* Scope.Scope;
125
- const environment = yield* Service68;
126
- const access = yield* Service37;
127
- const shell = yield* Service27;
128
- const shellSelect = yield* Service56;
125
+ const environment = yield* Service50;
126
+ const access = yield* Service17;
127
+ const shell = yield* Service43;
128
+ const shellSelect = yield* Service66;
129
129
  const compatibleShell = shellSelect.resolve({ priority: "compat" });
130
- const permission = yield* Service60;
131
- const config = yield* Service70;
130
+ const permission = yield* Service58;
131
+ const config = yield* Service67;
132
132
  const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
133
133
  const source = {
134
134
  type: "tool",
@@ -147,7 +147,7 @@ var Plugin2 = {
147
147
  yield* access.authorizeExternal([target, ...directories], context);
148
148
  if (parsed.commands.length > 0)
149
149
  yield* permission.assert({
150
- action: name2,
150
+ action: name12,
151
151
  resources: parsed.commands.map((command) => command.resource),
152
152
  save: parsed.commands.map((command) => command.save),
153
153
  sessionID: context.sessionID,
@@ -184,10 +184,10 @@ var Plugin2 = {
184
184
  yield* jobs.completeBackground(info.notificationID);
185
185
  }, Effect.forkIn(scope, { startImmediately: true }));
186
186
  yield* ctx.tool.transform((editor) => editor.add({
187
- name: name2,
187
+ name: name12,
188
188
  options: { codemode: false },
189
189
  description: description(),
190
- input: Input2,
190
+ input: Input12,
191
191
  output: Output,
192
192
  execute: (input, context) => Effect.gen(function* () {
193
193
  const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
@@ -210,7 +210,7 @@ var Plugin2 = {
210
210
  const run = Effect.gen(function* () {
211
211
  const result = yield* shell.result(info);
212
212
  if (!result.capture)
213
- return yield* new NotFoundError3({ id: info.id });
213
+ return yield* new NotFoundError4({ id: info.id });
214
214
  const output = output2(result);
215
215
  return {
216
216
  ...output,
@@ -224,7 +224,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
224
224
  `)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
225
225
  const job = yield* jobs.start({
226
226
  id: info.id,
227
- type: name2,
227
+ type: name12,
228
228
  title: info.command,
229
229
  metadata: { sessionID: context.sessionID, shellID: info.id },
230
230
  recovery: {
@@ -254,7 +254,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
254
254
  }).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
255
255
  })).pipe(Effect.orDie);
256
256
  const hook = (event) => Effect.gen(function* () {
257
- const tool = event.tools[name2];
257
+ const tool = event.tools[name12];
258
258
  if (!tool)
259
259
  return;
260
260
  tool.description = description(name15(yield* compatibleShell));
@@ -265,4 +265,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
265
265
  })
266
266
  };
267
267
 
268
- export { name2, DEFAULT_TIMEOUT_MS2, Input2, Plugin2, exports_shell };
268
+ export { name12, DEFAULT_TIMEOUT_MS2, Input12, Plugin14, exports_shell };
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  ephemeral2,
3
- Service83,
4
- node87
5
- } from "./location-bt7n4pmb.js";
3
+ Service80,
4
+ node84
5
+ } from "./state-sexjdqf6.js";
6
6
  import {
7
7
  __export
8
- } from "./location-9rqn6x4v.js";
8
+ } from "./state-9rqn6x4v.js";
9
9
 
10
10
  // src/plugin/sdk.ts
11
11
  var exports_sdk = {};
@@ -23,7 +23,7 @@ var Updated2 = ephemeral2({ type: "sdk.plugin.updated", schema: {} });
23
23
  class Service6 extends Context.Service()("@opencode/SdkPlugins") {
24
24
  }
25
25
  var layer6 = Layer.effect(Service6, Effect.gen(function* () {
26
- const bus = yield* Service83;
26
+ const bus = yield* Service80;
27
27
  const plugins = new Map;
28
28
  let revision = 0;
29
29
  return Service6.of({
@@ -33,6 +33,6 @@ var layer6 = Layer.effect(Service6, Effect.gen(function* () {
33
33
  all: () => [...plugins.values()]
34
34
  });
35
35
  }));
36
- var node8 = makeGlobalNode({ service: Service6, layer: layer6, deps: [node87] });
36
+ var node8 = makeGlobalNode({ service: Service6, layer: layer6, deps: [node84] });
37
37
 
38
38
  export { Updated2, Service6, layer6, node8, exports_sdk };