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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (790) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +85 -85
  3. package/dist/aisdk-native.js +91 -91
  4. package/dist/aisdk.js +97 -97
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +71 -71
  7. package/dist/chunks/{plugin-8j46xfav.js → model-01j7rzmr.js} +68 -63
  8. package/dist/chunks/{plugin-w5hvyx02.js → model-072q16cb.js} +26 -26
  9. package/dist/chunks/{plugin-peyn19kn.js → model-0b8de6ew.js} +8 -8
  10. package/dist/chunks/{plugin-sen2yr23.js → model-0canpjbz.js} +27 -27
  11. package/dist/chunks/{plugin-zvzfb7fs.js → model-0e0jgjy9.js} +14 -14
  12. package/dist/chunks/{plugin-wr3re1en.js → model-0h8y3ex8.js} +4 -4
  13. package/dist/chunks/{plugin-ehna047s.js → model-0n48jksk.js} +29 -29
  14. package/dist/chunks/{plugin-3gmz16jc.js → model-0q0he6s7.js} +26 -26
  15. package/dist/chunks/{plugin-q76kfaah.js → model-0xg995h5.js} +15 -15
  16. package/dist/chunks/{plugin-bxh642fs.js → model-15v1gk62.js} +16 -16
  17. package/dist/chunks/{plugin-qaxt5sce.js → model-1r91ydea.js} +4 -4
  18. package/dist/chunks/{plugin-nkr5r85d.js → model-1w4vqh2t.js} +2 -2
  19. package/dist/chunks/{plugin-1x2knyw4.js → model-1x2knyw4.js} +1 -1
  20. package/dist/chunks/{plugin-9smwhcrf.js → model-20d9rxq1.js} +8 -8
  21. package/dist/chunks/{plugin-1y048hf4.js → model-21vv1a77.js} +4 -4
  22. package/dist/chunks/{plugin-zg933662.js → model-272c0xdt.js} +6 -6
  23. package/dist/chunks/{plugin-1ep2p91f.js → model-27w5k9zf.js} +2 -2
  24. package/dist/chunks/{plugin-41r5wqck.js → model-2eqnzn4s.js} +10 -10
  25. package/dist/chunks/{plugin-2z1j29yd.js → model-2z1j29yd.js} +1 -1
  26. package/dist/chunks/{plugin-fjj0tk6a.js → model-321ec0g4.js} +16 -16
  27. package/dist/chunks/{plugin-xybbt1mb.js → model-340hmagq.js} +2 -2
  28. package/dist/chunks/{plugin-mmwqbvsn.js → model-35s4j9cr.js} +11 -11
  29. package/dist/chunks/{plugin-ayjs7tqn.js → model-3cbjf1nt.js} +2 -2
  30. package/dist/chunks/{plugin-3hepkmqq.js → model-3hepkmqq.js} +1 -1
  31. package/dist/chunks/{plugin-3nnrz6f6.js → model-3nnrz6f6.js} +1 -1
  32. package/dist/chunks/{plugin-ht2svjmz.js → model-3pj39t0e.js} +3 -3
  33. package/dist/chunks/{plugin-jp479h69.js → model-3vq194ty.js} +13 -13
  34. package/dist/chunks/{plugin-749ghc7h.js → model-4hwp5n1a.js} +6 -6
  35. package/dist/chunks/{plugin-zgy84aax.js → model-4k6phjpp.js} +20 -20
  36. package/dist/chunks/{plugin-wv27004a.js → model-4pr8e29t.js} +11 -11
  37. package/dist/chunks/{plugin-4z501z63.js → model-4qc2xvk6.js} +34 -34
  38. package/dist/chunks/{plugin-80h8b35m.js → model-4txkrg0g.js} +11 -11
  39. package/dist/chunks/{plugin-4v008n1t.js → model-4v008n1t.js} +1 -1
  40. package/dist/chunks/{plugin-7g67k8da.js → model-4v9wqr06.js} +21 -21
  41. package/dist/chunks/{plugin-fw04p9ky.js → model-4w20wkzz.js} +14 -14
  42. package/dist/chunks/{plugin-4xvmh7wp.js → model-4xvmh7wp.js} +3 -3
  43. package/dist/chunks/{plugin-daqfgk3c.js → model-51481qqa.js} +14 -14
  44. package/dist/chunks/{plugin-7g38p78c.js → model-54bbrvq7.js} +11 -11
  45. package/dist/chunks/{plugin-cw0ar5ez.js → model-5bj5kag9.js} +20 -20
  46. package/dist/chunks/{plugin-0mn1e965.js → model-5cm23gk5.js} +13 -13
  47. package/dist/chunks/{plugin-jq9dhj6x.js → model-5fsc8n82.js} +24 -24
  48. package/dist/chunks/{plugin-x7esjbfy.js → model-5g6946ns.js} +21 -21
  49. package/dist/chunks/{plugin-g83p8h2e.js → model-5jp10723.js} +45 -45
  50. package/dist/chunks/{plugin-5m9w47nd.js → model-5m9w47nd.js} +1 -1
  51. package/dist/chunks/{plugin-ch9wmxsn.js → model-5newpn23.js} +28 -28
  52. package/dist/chunks/{plugin-e3qxr5gk.js → model-5qd3pb7m.js} +2 -2
  53. package/dist/chunks/{plugin-8jf5eje7.js → model-5z2mzmdm.js} +7 -7
  54. package/dist/chunks/{plugin-4arybamx.js → model-5zfr5p9e.js} +26 -26
  55. package/dist/chunks/{plugin-p7vhpwh8.js → model-5zrxpy3q.js} +5 -5
  56. package/dist/chunks/{plugin-6fesftb4.js → model-63jssr0d.js} +13 -13
  57. package/dist/chunks/{plugin-nrk5vjbf.js → model-66r9f6z1.js} +5 -5
  58. package/dist/chunks/{plugin-m9dfhmzw.js → model-67zb0nc8.js} +13 -13
  59. package/dist/chunks/{plugin-6esdw8yj.js → model-6esdw8yj.js} +1 -1
  60. package/dist/chunks/model-6f6jf5mb.js +26 -0
  61. package/dist/chunks/{plugin-px1hc5my.js → model-6f9z7j1v.js} +17 -17
  62. package/dist/chunks/{plugin-mhkpqspy.js → model-6hfnb0rs.js} +4 -4
  63. package/dist/chunks/{plugin-p9hbvaar.js → model-6jpgtjve.js} +46 -46
  64. package/dist/chunks/{plugin-ky4dyj93.js → model-6nb4ea3p.js} +16 -16
  65. package/dist/chunks/{plugin-6pjqjmy2.js → model-6pjqjmy2.js} +1 -1
  66. package/dist/chunks/{plugin-fympbc4e.js → model-6r1yb0s4.js} +12 -12
  67. package/dist/chunks/{plugin-8f5h2b15.js → model-6vm2p5a1.js} +20 -20
  68. package/dist/chunks/{plugin-2dzh91n1.js → model-72g5xjtf.js} +6 -6
  69. package/dist/chunks/{plugin-m4a2gv8g.js → model-741bc9hj.js} +43 -43
  70. package/dist/chunks/{plugin-10zrcpp8.js → model-784fke7s.js} +81 -81
  71. package/dist/chunks/{plugin-5k63q3tv.js → model-78q1pp3f.js} +22 -22
  72. package/dist/chunks/{plugin-s6ak25wa.js → model-7bjqyjrs.js} +34 -34
  73. package/dist/chunks/{plugin-7bmhse3q.js → model-7bmhse3q.js} +1 -1
  74. package/dist/chunks/{plugin-0p88zpcm.js → model-7bw1g6gn.js} +4 -4
  75. package/dist/chunks/{plugin-7w2ypzdf.js → model-7w2ypzdf.js} +1 -1
  76. package/dist/chunks/{plugin-7akzmw6y.js → model-7ye4ae45.js} +8 -8
  77. package/dist/chunks/{plugin-9k575ryj.js → model-8633aewc.js} +2 -2
  78. package/dist/chunks/{plugin-q5yezhhf.js → model-891v6h49.js} +4 -4
  79. package/dist/chunks/{plugin-cqt766kx.js → model-8jxvmzrw.js} +21 -21
  80. package/dist/chunks/{plugin-qjgzc4b4.js → model-8jztxfpf.js} +4 -4
  81. package/dist/chunks/{plugin-c8666r4c.js → model-8sxdqgb0.js} +6 -6
  82. package/dist/chunks/{plugin-8wtp7s3z.js → model-8wtp7s3z.js} +1 -1
  83. package/dist/chunks/{plugin-5bq6wz19.js → model-8xsxb202.js} +21 -21
  84. package/dist/chunks/{plugin-jn5ay4zm.js → model-8zzv4zj8.js} +50 -50
  85. package/dist/chunks/{plugin-91rj84md.js → model-91rj84md.js} +1 -1
  86. package/dist/chunks/{plugin-n5tfqgs3.js → model-92m6938h.js} +17 -17
  87. package/dist/chunks/{plugin-fjn8c95x.js → model-9437wt4d.js} +8 -8
  88. package/dist/chunks/{plugin-n9p72mjb.js → model-953xbrr3.js} +5 -5
  89. package/dist/chunks/{plugin-faxyqc0y.js → model-99frgwf9.js} +19 -19
  90. package/dist/chunks/{plugin-wfxxszdh.js → model-99h9c51m.js} +10 -10
  91. package/dist/chunks/{plugin-pp0fatjv.js → model-9g5n6tdw.js} +12 -12
  92. package/dist/chunks/{plugin-7tpyp9vw.js → model-9kg5w032.js} +8 -8
  93. package/dist/chunks/{plugin-sbegqkxp.js → model-9nkjg9qd.js} +6 -6
  94. package/dist/chunks/{plugin-56p1jhd3.js → model-9nw8ck4g.js} +4 -4
  95. package/dist/chunks/{plugin-s0wtbthz.js → model-9zpxcqdf.js} +17 -17
  96. package/dist/chunks/{plugin-dmj8dyf0.js → model-a1bvjvf9.js} +8 -8
  97. package/dist/chunks/{plugin-fjd9pa27.js → model-a49bexj4.js} +30 -30
  98. package/dist/chunks/{plugin-ebhys1ps.js → model-a6strf84.js} +24 -24
  99. package/dist/chunks/{plugin-jgeh1xfg.js → model-adpvjdsc.js} +22 -22
  100. package/dist/chunks/{plugin-034tev2y.js → model-aj7mw0zk.js} +2 -2
  101. package/dist/chunks/{plugin-7tz53k10.js → model-anx7ry72.js} +4 -4
  102. package/dist/chunks/{plugin-b0mv4wxm.js → model-b0mv4wxm.js} +2 -2
  103. package/dist/chunks/{plugin-e67nmve2.js → model-b5q9zetx.js} +43 -43
  104. package/dist/chunks/{plugin-h1fax6kt.js → model-b67zw2j5.js} +8 -8
  105. package/dist/chunks/{plugin-b6vsg801.js → model-b6vsg801.js} +2 -2
  106. package/dist/chunks/{plugin-4neywqsp.js → model-bhzsakrn.js} +175 -78
  107. package/dist/chunks/{plugin-6pss4g6t.js → model-bkswmhj3.js} +43 -43
  108. package/dist/chunks/{plugin-j0tn0vhk.js → model-bn4a103g.js} +16 -16
  109. package/dist/chunks/{plugin-97g22kyc.js → model-bq891ma8.js} +24 -24
  110. package/dist/chunks/{plugin-bstexjd6.js → model-bstexjd6.js} +1 -1
  111. package/dist/chunks/{plugin-8f4bgxgj.js → model-bzr0y705.js} +13 -13
  112. package/dist/chunks/{plugin-rdbyms1g.js → model-c1hv1ece.js} +16 -16
  113. package/dist/chunks/{plugin-33md7rg7.js → model-c3zdnxfx.js} +33 -33
  114. package/dist/chunks/{plugin-8ezscwmn.js → model-c6sr2qh2.js} +11 -11
  115. package/dist/chunks/{plugin-mtkfycnh.js → model-c9t2ty9q.js} +4 -4
  116. package/dist/chunks/{plugin-mtpeagzc.js → model-cbvv1y68.js} +3 -3
  117. package/dist/chunks/{plugin-gy8qkchn.js → model-chrqa3e7.js} +5 -5
  118. package/dist/chunks/{plugin-kn2ysf14.js → model-ct02k7de.js} +5 -5
  119. package/dist/chunks/{plugin-h70v2djc.js → model-cw8gdmwg.js} +30 -30
  120. package/dist/chunks/{plugin-srveqww6.js → model-czhx5hsv.js} +11 -11
  121. package/dist/chunks/{plugin-vhz2gm5v.js → model-d1rt1382.js} +5 -5
  122. package/dist/chunks/{plugin-729419vw.js → model-d2r51erv.js} +11 -11
  123. package/dist/chunks/{plugin-d4v9tmah.js → model-d4v9tmah.js} +2 -2
  124. package/dist/chunks/{plugin-366nwj0e.js → model-d6gm4j52.js} +44 -44
  125. package/dist/chunks/{plugin-f9y4vw62.js → model-ddq31bgq.js} +15 -15
  126. package/dist/chunks/{plugin-zw6nt08m.js → model-df6r7s43.js} +11 -11
  127. package/dist/chunks/{plugin-r6wgv8c9.js → model-dkq45v8d.js} +2 -2
  128. package/dist/chunks/{plugin-dqgvvwe0.js → model-dqgvvwe0.js} +2 -2
  129. package/dist/chunks/{plugin-998yhzzq.js → model-dvj9ct8m.js} +3 -3
  130. package/dist/chunks/{plugin-e834z07m.js → model-e834z07m.js} +1 -1
  131. package/dist/chunks/{plugin-2r4n81ay.js → model-e88dgn8f.js} +4 -4
  132. package/dist/chunks/{plugin-ef5x83kb.js → model-ef5x83kb.js} +1 -1
  133. package/dist/chunks/{plugin-qvw98tg0.js → model-egmw08v6.js} +5 -5
  134. package/dist/chunks/{plugin-0421tmwc.js → model-eqh43b5v.js} +9 -9
  135. package/dist/chunks/{plugin-48hcx8xq.js → model-f1nzbf19.js} +10 -10
  136. package/dist/chunks/{plugin-397w7c8f.js → model-fa339sjc.js} +31 -31
  137. package/dist/chunks/{plugin-fffv3p7h.js → model-fffv3p7h.js} +1 -1
  138. package/dist/chunks/{plugin-hvca08ne.js → model-fhzt8j0q.js} +19 -19
  139. package/dist/chunks/{plugin-td8eqxqy.js → model-fsq1pbsz.js} +29 -29
  140. package/dist/chunks/{plugin-49cj2a44.js → model-fzj23b6d.js} +13 -13
  141. package/dist/chunks/{plugin-8dv6gnq3.js → model-g154atg6.js} +15 -15
  142. package/dist/chunks/{plugin-w22yp63b.js → model-g1ay4zd8.js} +9 -9
  143. package/dist/chunks/{plugin-5knrhjv3.js → model-g4y1xy0d.js} +22 -22
  144. package/dist/chunks/{plugin-dwad2f7j.js → model-g56hrhg3.js} +9 -9
  145. package/dist/chunks/{plugin-g5h9c0rr.js → model-g5h9c0rr.js} +2 -2
  146. package/dist/chunks/{plugin-pjr10xyc.js → model-g88zdbhx.js} +12 -12
  147. package/dist/chunks/{plugin-ywh0g57p.js → model-g8bt1dca.js} +13 -11
  148. package/dist/chunks/{plugin-5j441hsm.js → model-g8vb2scg.js} +5 -5
  149. package/dist/chunks/{plugin-t9hsnqxm.js → model-gc9zf11p.js} +2 -2
  150. package/dist/chunks/{plugin-301ejq9m.js → model-ggyjb5de.js} +329 -329
  151. package/dist/chunks/{plugin-s9vx4pc1.js → model-gn6ba7xn.js} +10 -10
  152. package/dist/chunks/{plugin-yyhgxykd.js → model-gprpk8mk.js} +4 -4
  153. package/dist/chunks/model-grzehpz7.js +18 -0
  154. package/dist/chunks/{plugin-1a140ev3.js → model-gtndzxs8.js} +6 -6
  155. package/dist/chunks/{plugin-w2yrf1y0.js → model-gwprnrgv.js} +12 -12
  156. package/dist/chunks/{plugin-xd37m1km.js → model-gxtyjb3d.js} +20 -20
  157. package/dist/chunks/{plugin-cz1d3gs1.js → model-gy8yxpp1.js} +11 -11
  158. package/dist/chunks/{plugin-4wgfdmqz.js → model-hhwb3rx0.js} +20 -20
  159. package/dist/chunks/{plugin-bx7d5a18.js → model-hnbfgrzz.js} +5 -5
  160. package/dist/chunks/{plugin-zf7tttqd.js → model-hwbsae6b.js} +30 -30
  161. package/dist/chunks/{plugin-j113cymg.js → model-j113cymg.js} +1 -1
  162. package/dist/chunks/{plugin-s5sagwvf.js → model-j2gfe9ae.js} +32 -32
  163. package/dist/chunks/{plugin-h9rpd4f8.js → model-j9qw6n70.js} +45 -45
  164. package/dist/chunks/{plugin-e5dqjz6v.js → model-jchrqzf6.js} +4 -4
  165. package/dist/chunks/{plugin-ye4vqm0y.js → model-jfb254mg.js} +7 -7
  166. package/dist/chunks/{plugin-mdc67x4g.js → model-jfgmzhvh.js} +32 -32
  167. package/dist/chunks/{plugin-ssxxjq26.js → model-jg5w3cjw.js} +16 -16
  168. package/dist/chunks/{plugin-rrj48g6y.js → model-jgp3dhd9.js} +45 -45
  169. package/dist/chunks/{plugin-24yf1smp.js → model-jj73fkkr.js} +20 -20
  170. package/dist/chunks/{plugin-ddgdpn03.js → model-jj9caqwr.js} +11 -11
  171. package/dist/chunks/{plugin-pc1v25hk.js → model-jx89vj1k.js} +3 -3
  172. package/dist/chunks/{plugin-9erwh778.js → model-k1whs75x.js} +2 -2
  173. package/dist/chunks/{plugin-k814nvkf.js → model-k814nvkf.js} +1 -1
  174. package/dist/chunks/{plugin-xq2ca4h8.js → model-kgex5j78.js} +11 -11
  175. package/dist/chunks/{plugin-wd2jkcgv.js → model-kmfx2698.js} +17 -17
  176. package/dist/chunks/{plugin-791mgs72.js → model-kw3tz860.js} +5 -5
  177. package/dist/chunks/{plugin-m1714858.js → model-m1714858.js} +1 -1
  178. package/dist/chunks/{plugin-72pceqnf.js → model-m1wmrjqx.js} +15 -15
  179. package/dist/chunks/{plugin-vmfhgzt5.js → model-m37sd98t.js} +4 -4
  180. package/dist/chunks/{plugin-3p1jwqy9.js → model-m7jmd0hd.js} +28 -28
  181. package/dist/chunks/{plugin-m9w0rfyh.js → model-m9w0rfyh.js} +1 -1
  182. package/dist/chunks/{plugin-maspj1v3.js → model-maspj1v3.js} +1 -1
  183. package/dist/chunks/{plugin-0syrr5yv.js → model-mbqkgzdb.js} +3 -3
  184. package/dist/chunks/{plugin-me5bcav6.js → model-me5bcav6.js} +1 -1
  185. package/dist/chunks/{plugin-eeys6v1h.js → model-mkrzd24w.js} +11 -11
  186. package/dist/chunks/{plugin-r3tr33rt.js → model-mq0mqgjr.js} +11 -11
  187. package/dist/chunks/{plugin-ft9drwcd.js → model-mr3cdd38.js} +32 -32
  188. package/dist/chunks/{plugin-namw6z13.js → model-mrmbr746.js} +4 -4
  189. package/dist/chunks/{plugin-m32k1ycp.js → model-mvthmwjs.js} +5 -5
  190. package/dist/chunks/{plugin-n0p0277s.js → model-n0p0277s.js} +1 -1
  191. package/dist/chunks/{plugin-w918znfg.js → model-n4qksct9.js} +7 -7
  192. package/dist/chunks/{plugin-6xqtcmxs.js → model-n6v2b7cw.js} +5 -5
  193. package/dist/chunks/{plugin-na2rxvkn.js → model-n8hmsfpk.js} +26 -26
  194. package/dist/chunks/{plugin-417yymah.js → model-na88mdda.js} +15 -15
  195. package/dist/chunks/{plugin-nah043kf.js → model-nah043kf.js} +1 -1
  196. package/dist/chunks/{plugin-8v7xte0w.js → model-nar1vcx8.js} +8 -8
  197. package/dist/chunks/{plugin-6zjmc36r.js → model-nfaaxv4r.js} +21 -21
  198. package/dist/chunks/{plugin-kxdyf56d.js → model-nv65jaj5.js} +1 -1
  199. package/dist/chunks/{plugin-5qzb0jnx.js → model-nxv9x1zm.js} +7 -7
  200. package/dist/chunks/{plugin-pnmjq29r.js → model-nyzphh1c.js} +23 -18
  201. package/dist/chunks/{plugin-p015t6z3.js → model-p015t6z3.js} +2 -2
  202. package/dist/chunks/{plugin-gj9haxac.js → model-p4h2267x.js} +15 -15
  203. package/dist/chunks/{plugin-qczn15be.js → model-pa0vwm8c.js} +2 -2
  204. package/dist/chunks/{plugin-0gqtjgmn.js → model-pkax9v1w.js} +5 -5
  205. package/dist/chunks/{plugin-pknna89w.js → model-pknna89w.js} +1 -1
  206. package/dist/chunks/{plugin-xsvfss3y.js → model-pn50smkw.js} +23 -23
  207. package/dist/chunks/{plugin-nshz4qjm.js → model-pngkbba6.js} +22 -22
  208. package/dist/chunks/{plugin-7ff5r0gq.js → model-prv1cyb1.js} +18 -18
  209. package/dist/chunks/{plugin-b38bfd29.js → model-pz0r8h4k.js} +29 -29
  210. package/dist/chunks/{plugin-zkzkvvbz.js → model-q0qwz8mp.js} +30 -30
  211. package/dist/chunks/{plugin-bm4gstpq.js → model-q1nnka74.js} +8 -8
  212. package/dist/chunks/{plugin-6a5mpwr5.js → model-q39pt7dd.js} +15 -15
  213. package/dist/chunks/{plugin-yaq81nk5.js → model-q9g9j9gh.js} +21 -21
  214. package/dist/chunks/{plugin-yxwtmgfv.js → model-qgeehj15.js} +8 -8
  215. package/dist/chunks/{plugin-e7p8ph8y.js → model-qq9tt1td.js} +3 -3
  216. package/dist/chunks/{plugin-6vyssmgt.js → model-qxerc9ee.js} +4 -4
  217. package/dist/chunks/{plugin-805retjn.js → model-r07gp9b9.js} +4 -4
  218. package/dist/chunks/{plugin-r0yr0wbs.js → model-r0yr0wbs.js} +1 -1
  219. package/dist/chunks/{plugin-y1d3npgy.js → model-r6h7fdbc.js} +21 -21
  220. package/dist/chunks/{plugin-j1wfa86h.js → model-raktd10s.js} +12 -12
  221. package/dist/chunks/{plugin-3j47848t.js → model-rb6ke7kq.js} +29 -29
  222. package/dist/chunks/{plugin-rb9dy4dg.js → model-rb9dy4dg.js} +1 -1
  223. package/dist/chunks/{plugin-smfcvx02.js → model-rjnacbrz.js} +9 -9
  224. package/dist/chunks/{plugin-rt5dr6hb.js → model-rt5dr6hb.js} +1 -1
  225. package/dist/chunks/{plugin-2k8w2xgz.js → model-s2gphw67.js} +18 -18
  226. package/dist/chunks/{plugin-vhjzha3a.js → model-s64sqv58.js} +10 -10
  227. package/dist/chunks/{plugin-e6b2spd3.js → model-se9dn7rd.js} +9 -9
  228. package/dist/chunks/{plugin-sqjzf8x2.js → model-sqjzf8x2.js} +1 -1
  229. package/dist/chunks/{plugin-38tv2zyj.js → model-srsshwrf.js} +4 -4
  230. package/dist/chunks/{plugin-tdgr4kjk.js → model-sxj6qfjf.js} +24 -24
  231. package/dist/chunks/{plugin-vpfqjjm8.js → model-sysqhah2.js} +13 -13
  232. package/dist/chunks/{plugin-vgye2rsv.js → model-szqbbbee.js} +38 -38
  233. package/dist/chunks/{plugin-4jbyfzea.js → model-sztxty7m.js} +18 -18
  234. package/dist/chunks/{plugin-kaz27p2z.js → model-t25nhsq0.js} +5 -5
  235. package/dist/chunks/{plugin-pkj8p13f.js → model-t656wjzj.js} +13 -13
  236. package/dist/chunks/{plugin-tczq8hjw.js → model-tczq8hjw.js} +1 -1
  237. package/dist/chunks/{plugin-er4aqx01.js → model-td85jp64.js} +176 -176
  238. package/dist/chunks/{plugin-zezfrnf5.js → model-tee140je.js} +19 -19
  239. package/dist/chunks/{plugin-8xrx88p0.js → model-tjfc794x.js} +14 -14
  240. package/dist/chunks/{plugin-gfhv8a7w.js → model-tq4xd5v5.js} +8 -8
  241. package/dist/chunks/{plugin-448xyrnd.js → model-ts1rzmt6.js} +5 -5
  242. package/dist/chunks/{plugin-zvwzcwk0.js → model-ttdgtk4q.js} +6 -6
  243. package/dist/chunks/{plugin-wc1y9j0c.js → model-tvs942hr.js} +23 -23
  244. package/dist/chunks/{plugin-tw8zr1ps.js → model-tw8zr1ps.js} +1 -1
  245. package/dist/chunks/{plugin-twv2r8f4.js → model-twv2r8f4.js} +2 -2
  246. package/dist/chunks/{plugin-vd3b3yk9.js → model-vd3b3yk9.js} +1 -1
  247. package/dist/chunks/{plugin-7mjdf1g0.js → model-vd89anp8.js} +11 -11
  248. package/dist/chunks/{plugin-qaysd7a4.js → model-vdakd0pn.js} +81 -81
  249. package/dist/chunks/{plugin-veqvce7d.js → model-veqvce7d.js} +1 -1
  250. package/dist/chunks/{plugin-c3rdb4mt.js → model-vf0zxygw.js} +24 -24
  251. package/dist/chunks/{plugin-tn6eqn63.js → model-vfpfqbnz.js} +32 -32
  252. package/dist/chunks/{plugin-pmyfzvdp.js → model-vkkc8t8a.js} +6 -6
  253. package/dist/chunks/{plugin-h1rfd25p.js → model-vmwcq5xv.js} +13 -13
  254. package/dist/chunks/{plugin-6gf5ywq5.js → model-vrmm9ccr.js} +11 -11
  255. package/dist/chunks/{plugin-4ay3aqda.js → model-vssrn3v8.js} +6 -6
  256. package/dist/chunks/{plugin-3zz5way2.js → model-vvf0vm2n.js} +17 -17
  257. package/dist/chunks/{plugin-40za9wsf.js → model-w2eysc6j.js} +9 -9
  258. package/dist/chunks/{plugin-w3wsvvr9.js → model-w3wsvvr9.js} +1 -1
  259. package/dist/chunks/{plugin-r90wrezg.js → model-w47q07ee.js} +5 -5
  260. package/dist/chunks/{plugin-tzwkjnke.js → model-w8a1jqtz.js} +1 -1
  261. package/dist/chunks/{plugin-76cb1hcw.js → model-w8qtt4th.js} +4 -4
  262. package/dist/chunks/{plugin-wakvkjy4.js → model-wakvkjy4.js} +1 -1
  263. package/dist/chunks/{plugin-ge8ykx7v.js → model-wb79839p.js} +9 -9
  264. package/dist/chunks/{plugin-wd87259q.js → model-wd87259q.js} +1 -1
  265. package/dist/chunks/{plugin-mmx1mfjr.js → model-wqscedq8.js} +9 -9
  266. package/dist/chunks/{plugin-9xkjf5qh.js → model-wsjw5zph.js} +16 -16
  267. package/dist/chunks/{plugin-2azy8kv6.js → model-wtgq8nqm.js} +7 -7
  268. package/dist/chunks/{plugin-hjqry76z.js → model-wtnsyy90.js} +25 -25
  269. package/dist/chunks/{plugin-j4appf3d.js → model-wvqgfgh4.js} +147 -147
  270. package/dist/chunks/{plugin-y76evpd0.js → model-wzdjcsat.js} +15 -15
  271. package/dist/chunks/{plugin-tz25qr3g.js → model-x0n658k6.js} +41 -41
  272. package/dist/chunks/{plugin-9hwz6ehy.js → model-x78b4590.js} +25 -25
  273. package/dist/chunks/{plugin-defv51r7.js → model-xeaspr23.js} +14 -14
  274. package/dist/chunks/{plugin-6g9dc8hg.js → model-xet4rz3q.js} +4 -4
  275. package/dist/chunks/{plugin-yb20nhc3.js → model-yb20nhc3.js} +1 -1
  276. package/dist/chunks/{plugin-c5kjsz6q.js → model-yqveydy6.js} +4 -4
  277. package/dist/chunks/{plugin-z0bkrqjs.js → model-z0bkrqjs.js} +1 -1
  278. package/dist/chunks/{plugin-wv160yw5.js → model-z0s5rknz.js} +24 -24
  279. package/dist/chunks/{plugin-z38nccrw.js → model-z38nccrw.js} +1 -1
  280. package/dist/chunks/{plugin-7r4kye0n.js → model-z6g09nf1.js} +3 -3
  281. package/dist/chunks/{plugin-s626qfae.js → model-zba5tm1j.js} +4 -4
  282. package/dist/chunks/{plugin-ta8zdwzh.js → model-zf6q9j4p.js} +9 -9
  283. package/dist/chunks/{plugin-8ybp78tx.js → model-zgmrepvs.js} +4 -4
  284. package/dist/chunks/{plugin-zkg84ctx.js → model-zkg84ctx.js} +1 -1
  285. package/dist/chunks/{plugin-kszpdg0e.js → model-zrcjrc8a.js} +17 -17
  286. package/dist/chunks/{plugin-da2n11mt.js → model-zvrj69sk.js} +17 -17
  287. package/dist/chunks/{plugin-2w5xpj9a.js → model-zw8we4s7.js} +11 -11
  288. package/dist/codemode/catalog.js +1 -1
  289. package/dist/codemode/instructions.js +7 -7
  290. package/dist/codemode/tool.js +3 -3
  291. package/dist/codemode/web.js +1 -1
  292. package/dist/command.js +85 -85
  293. package/dist/config/discovery.js +86 -86
  294. package/dist/config/markdown.js +1 -1
  295. package/dist/config/normalize.js +101 -101
  296. package/dist/config/plugin/agent.js +118 -118
  297. package/dist/config/plugin/command.js +214 -214
  298. package/dist/config/plugin/compaction.js +155 -155
  299. package/dist/config/plugin/compatibility.js +135 -135
  300. package/dist/config/plugin/entry-observer.js +1 -1
  301. package/dist/config/plugin/formatter.js +117 -117
  302. package/dist/config/plugin/image.js +116 -116
  303. package/dist/config/plugin/instruction.js +116 -116
  304. package/dist/config/plugin/location-watcher.js +118 -118
  305. package/dist/config/plugin/mcp.js +125 -125
  306. package/dist/config/plugin/policy.js +117 -117
  307. package/dist/config/plugin/provider.js +116 -116
  308. package/dist/config/plugin/reference.js +118 -118
  309. package/dist/config/plugin/shell.js +116 -116
  310. package/dist/config/plugin/skill-file.js +104 -104
  311. package/dist/config/plugin/skill-scan.js +1 -1
  312. package/dist/config/plugin/skill.js +138 -138
  313. package/dist/config/plugin/snapshot.js +116 -116
  314. package/dist/config/plugin/source.js +119 -119
  315. package/dist/config/plugin/tool-output.js +117 -117
  316. package/dist/config/plugin/websearch.js +115 -115
  317. package/dist/config/plugin/worktree.js +118 -118
  318. package/dist/config/variable.js +1 -1
  319. package/dist/config/watch.js +1 -1
  320. package/dist/config.js +121 -121
  321. package/dist/credential/sql.js +2 -2
  322. package/dist/credential.js +85 -85
  323. package/dist/database/database.js +68 -68
  324. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  325. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  326. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  327. package/dist/database/drizzle/index.js +15 -15
  328. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  331. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  333. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  336. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  337. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  338. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  339. package/dist/database/drizzle.js +16 -16
  340. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  341. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  342. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  343. package/dist/database/migration/20260225215848_workspace.js +1 -1
  344. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  345. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  346. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  347. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  348. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  349. package/dist/database/migration/20260323234822_events.js +1 -1
  350. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  351. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  352. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  353. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  354. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  355. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  356. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  357. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  358. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  359. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  360. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  361. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  362. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  363. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  364. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  365. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  366. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  367. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  368. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  369. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  370. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  371. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  372. package/dist/database/migration/20260611035744_credential.js +1 -1
  373. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  374. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  375. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  376. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  377. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  378. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  379. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  380. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  381. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  382. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  383. package/dist/database/migration/20260812213948_worktree.js +1 -1
  384. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  385. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  386. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  387. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  388. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  389. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  390. package/dist/database/migration.gen.js +51 -51
  391. package/dist/database/migration.js +53 -53
  392. package/dist/database/path.js +2 -2
  393. package/dist/database/schema.gen.js +1 -1
  394. package/dist/database/schema.sql.js +1 -1
  395. package/dist/database/sqlite.bun.js +1 -1
  396. package/dist/database/sqlite.js +1 -1
  397. package/dist/database/sqlite.node.js +1 -1
  398. package/dist/database/sqlite.workerd.js +1 -1
  399. package/dist/database/v1-migration.bun.js +78 -78
  400. package/dist/database/v1-migration.js +1 -1
  401. package/dist/effect/app-node-builder.js +364 -364
  402. package/dist/effect/app-node-platform.js +2 -2
  403. package/dist/effect/keyed-mutex.js +3 -3
  404. package/dist/effect/websocket-constructor.js +1 -1
  405. package/dist/environment/driver.js +1 -1
  406. package/dist/environment/environment.js +95 -95
  407. package/dist/environment/exec-defaults.js +2 -2
  408. package/dist/environment/files.js +1 -1
  409. package/dist/environment/index.js +97 -97
  410. package/dist/environment/local.js +2 -2
  411. package/dist/environment/memory.js +2 -2
  412. package/dist/environment/unavailable.js +3 -3
  413. package/dist/event/sql.js +1 -1
  414. package/dist/event-logger.js +72 -72
  415. package/dist/file-access.js +106 -106
  416. package/dist/file-mutation.js +96 -96
  417. package/dist/file-retention.js +1 -1
  418. package/dist/filesystem/fff.bun.js +2 -2
  419. package/dist/filesystem/fff.js +1 -1
  420. package/dist/filesystem/fff.node.js +2 -2
  421. package/dist/filesystem/fff.workerd.js +2 -2
  422. package/dist/filesystem/location-watcher-policy.js +6 -6
  423. package/dist/filesystem/location-watcher.js +227 -227
  424. package/dist/filesystem/protected.js +3 -3
  425. package/dist/filesystem/search.js +101 -101
  426. package/dist/filesystem/watcher-binding.js +3 -3
  427. package/dist/filesystem/watcher.js +11 -11
  428. package/dist/filesystem.js +106 -106
  429. package/dist/form.js +72 -72
  430. package/dist/formatter/builtins.js +4 -4
  431. package/dist/formatter.js +89 -89
  432. package/dist/generate.js +107 -107
  433. package/dist/git.js +6 -6
  434. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  435. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  436. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  437. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  438. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  439. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  440. package/dist/github-copilot/copilot-provider.js +17 -17
  441. package/dist/github-copilot/models.js +93 -93
  442. package/dist/github-copilot/openai-compatible-error.js +1 -1
  443. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  444. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  445. package/dist/github-copilot/responses/openai-error.js +1 -1
  446. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  447. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  448. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  449. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  450. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  451. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  452. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  453. package/dist/image/photon.js +2 -2
  454. package/dist/image.js +6 -6
  455. package/dist/instance/service.js +5 -5
  456. package/dist/instance.js +360 -360
  457. package/dist/instruction-discovery.js +86 -86
  458. package/dist/instructions/builtins.js +89 -89
  459. package/dist/instructions/index.js +3 -3
  460. package/dist/integration/connection.js +3 -3
  461. package/dist/integration.js +89 -89
  462. package/dist/job.js +80 -80
  463. package/dist/kv/sql.js +2 -2
  464. package/dist/kv.js +75 -75
  465. package/dist/location-activity.js +153 -153
  466. package/dist/location-lifecycle.js +105 -105
  467. package/dist/location-service-map.js +84 -84
  468. package/dist/location-services.js +357 -357
  469. package/dist/location.js +83 -83
  470. package/dist/managed-policy.js +8 -8
  471. package/dist/mcp/client.js +93 -93
  472. package/dist/mcp/index.js +109 -109
  473. package/dist/mcp/instructions.js +138 -138
  474. package/dist/mcp/oauth.js +80 -80
  475. package/dist/mcp/stdio.js +92 -92
  476. package/dist/mime.js +1 -1
  477. package/dist/modal/models.js +93 -93
  478. package/dist/model-resolver.js +101 -101
  479. package/dist/model-retry.js +1 -1
  480. package/dist/model.js +102 -102
  481. package/dist/models-dev.js +103 -103
  482. package/dist/oauth/page.js +1 -1
  483. package/dist/permission/saved.js +84 -84
  484. package/dist/permission/sql.js +5 -5
  485. package/dist/permission.js +113 -113
  486. package/dist/persistent-pty/binary.bun.js +1 -1
  487. package/dist/persistent-pty/daemon.js +1 -1
  488. package/dist/persistent-pty/index.js +92 -92
  489. package/dist/persistent-pty/pty-binding.js +1 -1
  490. package/dist/persistent-pty.js +77 -77
  491. package/dist/plugin/agent.js +78 -78
  492. package/dist/plugin/command.js +104 -104
  493. package/dist/plugin/hooks.js +5 -5
  494. package/dist/plugin/host.js +218 -218
  495. package/dist/plugin/identity.js +3 -3
  496. package/dist/plugin/instance.js +5 -5
  497. package/dist/plugin/internal.js +332 -332
  498. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  499. package/dist/plugin/models-dev.js +98 -98
  500. package/dist/plugin/module.js +117 -117
  501. package/dist/plugin/optimize.js +2 -2
  502. package/dist/plugin/plan.js +104 -104
  503. package/dist/plugin/promise.js +1 -1
  504. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  505. package/dist/plugin/provider/azure.js +116 -116
  506. package/dist/plugin/provider/cerebras.js +1 -1
  507. package/dist/plugin/provider/chatgpt.js +116 -116
  508. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  509. package/dist/plugin/provider/cloudflare-workers-ai.js +113 -113
  510. package/dist/plugin/provider/cohere.js +2 -2
  511. package/dist/plugin/provider/configured.js +112 -112
  512. package/dist/plugin/provider/databricks.js +1 -1
  513. package/dist/plugin/provider/digitalocean.js +95 -95
  514. package/dist/plugin/provider/dynamic.js +2 -2
  515. package/dist/plugin/provider/factory.js +1 -1
  516. package/dist/plugin/provider/github-copilot.js +97 -97
  517. package/dist/plugin/provider/gitlab.js +95 -95
  518. package/dist/plugin/provider/google-vertex.js +113 -113
  519. package/dist/plugin/provider/kilo.js +1 -1
  520. package/dist/plugin/provider/llmgateway.js +80 -80
  521. package/dist/plugin/provider/lmstudio.js +125 -125
  522. package/dist/plugin/provider/local.js +122 -122
  523. package/dist/plugin/provider/modal.js +94 -94
  524. package/dist/plugin/provider/neon.js +1 -1
  525. package/dist/plugin/provider/nvidia.js +1 -1
  526. package/dist/plugin/provider/ollama.js +125 -125
  527. package/dist/plugin/provider/openai.js +116 -116
  528. package/dist/plugin/provider/opencode.js +103 -103
  529. package/dist/plugin/provider/openrouter.js +93 -93
  530. package/dist/plugin/provider/perplexity.js +2 -2
  531. package/dist/plugin/provider/poe.js +81 -81
  532. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  533. package/dist/plugin/provider/sap-ai-core.js +93 -93
  534. package/dist/plugin/provider/sdk-factory.js +1 -1
  535. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  536. package/dist/plugin/provider/vercel.js +92 -92
  537. package/dist/plugin/provider/vllm.js +125 -125
  538. package/dist/plugin/provider/xai.js +93 -93
  539. package/dist/plugin/provider/zenmux.js +1 -1
  540. package/dist/plugin/provider.js +170 -170
  541. package/dist/plugin/sdk.js +78 -78
  542. package/dist/plugin/service.js +3 -3
  543. package/dist/plugin/skill.js +134 -134
  544. package/dist/plugin/source-directory.js +1 -1
  545. package/dist/plugin/supervisor.js +349 -349
  546. package/dist/plugin/tool-input-repair.js +4 -4
  547. package/dist/plugin/update.js +6 -6
  548. package/dist/plugin/vcs/git.js +88 -88
  549. package/dist/plugin/vcs/hg.js +88 -88
  550. package/dist/plugin/verbosity.js +95 -95
  551. package/dist/plugin/warming.js +114 -114
  552. package/dist/plugin/websearch/exa.js +7 -7
  553. package/dist/plugin/websearch/firecrawl.js +6 -6
  554. package/dist/plugin/websearch/index.js +9 -9
  555. package/dist/plugin/websearch/mcp.js +6 -6
  556. package/dist/plugin/websearch/parallel.js +8 -8
  557. package/dist/plugin/websearch/tavily.js +4 -4
  558. package/dist/plugin/websearch/tinyfish.js +8 -8
  559. package/dist/plugin.js +221 -221
  560. package/dist/project/schema.js +2 -2
  561. package/dist/project/sql.js +4 -4
  562. package/dist/project.js +82 -82
  563. package/dist/provider.js +101 -101
  564. package/dist/pty/protocol.js +1 -1
  565. package/dist/pty/ticket.js +1 -1
  566. package/dist/pty.js +91 -91
  567. package/dist/reference/instructions.js +89 -89
  568. package/dist/reference.js +91 -91
  569. package/dist/repository-cache.js +83 -83
  570. package/dist/repository.js +1 -1
  571. package/dist/ripgrep/binary.js +2 -2
  572. package/dist/ripgrep.js +95 -95
  573. package/dist/rpc.js +88 -88
  574. package/dist/schema.js +1 -1
  575. package/dist/session/affinity.js +1 -1
  576. package/dist/session/command.js +76 -76
  577. package/dist/session/compaction.js +136 -136
  578. package/dist/session/context.js +164 -164
  579. package/dist/session/diff.js +90 -90
  580. package/dist/session/environment.js +5 -5
  581. package/dist/session/error.js +5 -5
  582. package/dist/session/event.js +1 -1
  583. package/dist/session/execution/restart.js +221 -221
  584. package/dist/session/execution.js +126 -126
  585. package/dist/session/generate.js +166 -166
  586. package/dist/session/history.js +15 -15
  587. package/dist/session/inbox.js +93 -93
  588. package/dist/session/info.js +3 -3
  589. package/dist/session/instruction-entry.js +81 -81
  590. package/dist/session/instruction-state.js +8 -8
  591. package/dist/session/instructions.js +99 -99
  592. package/dist/session/message-updater.js +2 -2
  593. package/dist/session/message.js +1 -1
  594. package/dist/session/model-request.js +122 -122
  595. package/dist/session/model-transport.js +9 -9
  596. package/dist/session/move.js +132 -132
  597. package/dist/session/projector.js +91 -91
  598. package/dist/session/prompt.js +107 -107
  599. package/dist/session/recent-text.js +1 -1
  600. package/dist/session/revert.js +96 -96
  601. package/dist/session/run-coordinator.js +3 -3
  602. package/dist/session/runner/index.js +3 -3
  603. package/dist/session/runner/llm.js +231 -231
  604. package/dist/session/runner/max-steps.js +1 -1
  605. package/dist/session/runner/model.js +101 -101
  606. package/dist/session/runner/publish-llm-event.js +116 -116
  607. package/dist/session/runner/retry.js +5 -5
  608. package/dist/session/runner/step.js +126 -126
  609. package/dist/session/runner/to-llm-message.js +14 -14
  610. package/dist/session/schema.js +5 -5
  611. package/dist/session/session.js +165 -165
  612. package/dist/session/shell.js +130 -130
  613. package/dist/session/skill.js +105 -105
  614. package/dist/session/sql.js +5 -5
  615. package/dist/session/stats.js +75 -75
  616. package/dist/session/store.js +87 -87
  617. package/dist/session/subagent-completion.js +1 -1
  618. package/dist/session/subagent-job.js +212 -212
  619. package/dist/session/system-prompt.js +3 -3
  620. package/dist/session/title.js +166 -166
  621. package/dist/session/to-session-error.js +114 -114
  622. package/dist/session/transfer.js +214 -214
  623. package/dist/session/usage.js +1 -1
  624. package/dist/session.js +216 -216
  625. package/dist/shell/parse.js +6 -6
  626. package/dist/shell/result.js +1 -1
  627. package/dist/shell/scan.js +1 -1
  628. package/dist/shell/select.js +11 -11
  629. package/dist/shell.js +132 -132
  630. package/dist/skill/discovery.js +6 -6
  631. package/dist/skill/instructions.js +109 -109
  632. package/dist/skill.js +112 -112
  633. package/dist/snapshot.js +91 -91
  634. package/dist/state.js +1 -1
  635. package/dist/tool/html-markdown.js +1 -1
  636. package/dist/tool/http-body.js +1 -1
  637. package/dist/tool/mcp.js +133 -133
  638. package/dist/tool/plugin/edit.js +122 -122
  639. package/dist/tool/plugin/file-diff.js +1 -1
  640. package/dist/tool/plugin/glob.js +124 -124
  641. package/dist/tool/plugin/grep.js +124 -124
  642. package/dist/tool/plugin/mcp-resource.js +126 -126
  643. package/dist/tool/plugin/opencode.js +111 -111
  644. package/dist/tool/plugin/patch.js +124 -124
  645. package/dist/tool/plugin/question.js +103 -103
  646. package/dist/tool/plugin/read.js +127 -127
  647. package/dist/tool/plugin/shell.js +215 -215
  648. package/dist/tool/plugin/skill.js +115 -115
  649. package/dist/tool/plugin/subagent.js +219 -219
  650. package/dist/tool/plugin/todo.js +138 -138
  651. package/dist/tool/plugin/webfetch.js +115 -115
  652. package/dist/tool/plugin/websearch.js +112 -112
  653. package/dist/tool/plugin/write.js +124 -124
  654. package/dist/tool/read-filesystem.js +102 -102
  655. package/dist/tool/runtime.js +1 -1
  656. package/dist/tool-output.js +7 -7
  657. package/dist/tool.js +16 -16
  658. package/dist/types/session/compaction.d.ts +7 -0
  659. package/dist/util/error-summary.js +1 -1
  660. package/dist/util/git-executable.js +2 -2
  661. package/dist/util/lazy.js +1 -1
  662. package/dist/util/slug.js +1 -1
  663. package/dist/util/token.js +1 -1
  664. package/dist/util/which.js +1 -1
  665. package/dist/util/wildcard.js +1 -1
  666. package/dist/v1/config/agent.js +7 -7
  667. package/dist/v1/config/command.js +5 -5
  668. package/dist/v1/config/mcp.js +4 -4
  669. package/dist/v1/config/migrate.js +94 -94
  670. package/dist/v1/config/permission.js +7 -7
  671. package/dist/v1/config/plugin.js +3 -3
  672. package/dist/v1/config/provider-options.js +1 -1
  673. package/dist/v1/config/provider.js +4 -4
  674. package/dist/variant.js +93 -93
  675. package/dist/vcs/patch.js +1 -1
  676. package/dist/vcs.js +91 -91
  677. package/dist/voice.js +90 -90
  678. package/dist/websearch.js +84 -84
  679. package/dist/wellknown/plugin.js +78 -78
  680. package/dist/wellknown.js +83 -83
  681. package/dist/workspace/driver.js +5 -5
  682. package/dist/workspace/sql.js +1 -1
  683. package/dist/workspace.js +84 -84
  684. package/dist/worktree/directory.js +2 -2
  685. package/dist/worktree/git.js +10 -10
  686. package/dist/worktree/sql.js +5 -5
  687. package/dist/worktree/strategies.js +91 -91
  688. package/dist/worktree.js +100 -100
  689. package/package.json +8 -8
  690. package/dist/chunks/plugin-d77dj7jw.js +0 -18
  691. package/dist/chunks/plugin-nbm4k9b0.js +0 -26
  692. /package/dist/chunks/{plugin-0qkdqm5v.js → model-0qkdqm5v.js} +0 -0
  693. /package/dist/chunks/{plugin-0zkw76rk.js → model-0zkw76rk.js} +0 -0
  694. /package/dist/chunks/{plugin-17cy0kzp.js → model-17cy0kzp.js} +0 -0
  695. /package/dist/chunks/{plugin-1cnp2v09.js → model-1cnp2v09.js} +0 -0
  696. /package/dist/chunks/{plugin-24dcb14g.js → model-24dcb14g.js} +0 -0
  697. /package/dist/chunks/{plugin-2710q6r3.js → model-2710q6r3.js} +0 -0
  698. /package/dist/chunks/{plugin-2bv980vf.js → model-2bv980vf.js} +0 -0
  699. /package/dist/chunks/{plugin-2c3vjs8z.js → model-2c3vjs8z.js} +0 -0
  700. /package/dist/chunks/{plugin-359p4xyc.js → model-359p4xyc.js} +0 -0
  701. /package/dist/chunks/{plugin-3asan66x.js → model-3asan66x.js} +0 -0
  702. /package/dist/chunks/{plugin-3v8g72cx.js → model-3v8g72cx.js} +0 -0
  703. /package/dist/chunks/{plugin-3wcehsnq.js → model-3wcehsnq.js} +0 -0
  704. /package/dist/chunks/{plugin-43n2bw4t.js → model-43n2bw4t.js} +0 -0
  705. /package/dist/chunks/{plugin-4knz6hnm.js → model-4knz6hnm.js} +0 -0
  706. /package/dist/chunks/{plugin-4vcrnpx2.js → model-4vcrnpx2.js} +0 -0
  707. /package/dist/chunks/{plugin-4y7fprxs.js → model-4y7fprxs.js} +0 -0
  708. /package/dist/chunks/{plugin-53557ph1.js → model-53557ph1.js} +0 -0
  709. /package/dist/chunks/{plugin-550bvhaj.js → model-550bvhaj.js} +0 -0
  710. /package/dist/chunks/{plugin-5fjb7ams.js → model-5fjb7ams.js} +0 -0
  711. /package/dist/chunks/{plugin-6prwharc.js → model-6prwharc.js} +0 -0
  712. /package/dist/chunks/{plugin-6q2bdcd1.js → model-6q2bdcd1.js} +0 -0
  713. /package/dist/chunks/{plugin-7akdwqpd.js → model-7akdwqpd.js} +0 -0
  714. /package/dist/chunks/{plugin-7m9af43g.js → model-7m9af43g.js} +0 -0
  715. /package/dist/chunks/{plugin-822emrt2.js → model-822emrt2.js} +0 -0
  716. /package/dist/chunks/{plugin-84wd9syh.js → model-84wd9syh.js} +0 -0
  717. /package/dist/chunks/{plugin-88xbtdfr.js → model-88xbtdfr.js} +0 -0
  718. /package/dist/chunks/{plugin-8n3pysct.js → model-8n3pysct.js} +0 -0
  719. /package/dist/chunks/{plugin-8wj87zfr.js → model-8wj87zfr.js} +0 -0
  720. /package/dist/chunks/{plugin-9a4afbnw.js → model-9a4afbnw.js} +0 -0
  721. /package/dist/chunks/{plugin-9rqn6x4v.js → model-9rqn6x4v.js} +0 -0
  722. /package/dist/chunks/{plugin-a058387c.js → model-a058387c.js} +0 -0
  723. /package/dist/chunks/{plugin-a6k6eb26.js → model-a6k6eb26.js} +0 -0
  724. /package/dist/chunks/{plugin-af5trqkr.js → model-af5trqkr.js} +0 -0
  725. /package/dist/chunks/{plugin-afrmfg78.js → model-afrmfg78.js} +0 -0
  726. /package/dist/chunks/{plugin-aqzs7mqg.js → model-aqzs7mqg.js} +0 -0
  727. /package/dist/chunks/{plugin-atq7p7m5.js → model-atq7p7m5.js} +0 -0
  728. /package/dist/chunks/{plugin-bkyjaxrp.js → model-bkyjaxrp.js} +0 -0
  729. /package/dist/chunks/{plugin-bmr6ed5q.js → model-bmr6ed5q.js} +0 -0
  730. /package/dist/chunks/{plugin-cf4snx6d.js → model-cf4snx6d.js} +0 -0
  731. /package/dist/chunks/{plugin-cvy3z8tj.js → model-cvy3z8tj.js} +0 -0
  732. /package/dist/chunks/{plugin-d9fn303g.js → model-d9fn303g.js} +0 -0
  733. /package/dist/chunks/{plugin-d9jj8t3e.js → model-d9jj8t3e.js} +0 -0
  734. /package/dist/chunks/{plugin-dajrwvna.js → model-dajrwvna.js} +0 -0
  735. /package/dist/chunks/{plugin-dap0rakb.js → model-dap0rakb.js} +0 -0
  736. /package/dist/chunks/{plugin-df08tz66.js → model-df08tz66.js} +0 -0
  737. /package/dist/chunks/{plugin-dy18nga0.js → model-dy18nga0.js} +0 -0
  738. /package/dist/chunks/{plugin-e5kj55wp.js → model-e5kj55wp.js} +0 -0
  739. /package/dist/chunks/{plugin-e73j6tqm.js → model-e73j6tqm.js} +0 -0
  740. /package/dist/chunks/{plugin-ec1grn59.js → model-ec1grn59.js} +0 -0
  741. /package/dist/chunks/{plugin-eh3zwz77.js → model-eh3zwz77.js} +0 -0
  742. /package/dist/chunks/{plugin-emrn6kk6.js → model-emrn6kk6.js} +0 -0
  743. /package/dist/chunks/{plugin-f0mxakyp.js → model-f0mxakyp.js} +0 -0
  744. /package/dist/chunks/{plugin-f6n9ztr4.js → model-f6n9ztr4.js} +0 -0
  745. /package/dist/chunks/{plugin-faypxj3z.js → model-faypxj3z.js} +0 -0
  746. /package/dist/chunks/{plugin-fd410y7t.js → model-fd410y7t.js} +0 -0
  747. /package/dist/chunks/{plugin-g4wezp1m.js → model-g4wezp1m.js} +0 -0
  748. /package/dist/chunks/{plugin-g86h250q.js → model-g86h250q.js} +0 -0
  749. /package/dist/chunks/{plugin-gebd4c9n.js → model-gebd4c9n.js} +0 -0
  750. /package/dist/chunks/{plugin-gftt206x.js → model-gftt206x.js} +0 -0
  751. /package/dist/chunks/{plugin-hcxmzztb.js → model-hcxmzztb.js} +0 -0
  752. /package/dist/chunks/{plugin-hk9envan.js → model-hk9envan.js} +0 -0
  753. /package/dist/chunks/{plugin-j2ntwpah.js → model-j2ntwpah.js} +0 -0
  754. /package/dist/chunks/{plugin-j5zkgpj8.js → model-j5zkgpj8.js} +0 -0
  755. /package/dist/chunks/{plugin-jjkms2e6.js → model-jjkms2e6.js} +0 -0
  756. /package/dist/chunks/{plugin-jr7sbwjy.js → model-jr7sbwjy.js} +0 -0
  757. /package/dist/chunks/{plugin-jwfs4k6c.js → model-jwfs4k6c.js} +0 -0
  758. /package/dist/chunks/{plugin-jze0r7bz.js → model-jze0r7bz.js} +0 -0
  759. /package/dist/chunks/{plugin-jzg6c2d5.js → model-jzg6c2d5.js} +0 -0
  760. /package/dist/chunks/{plugin-m18g726c.js → model-m18g726c.js} +0 -0
  761. /package/dist/chunks/{plugin-mp448xyj.js → model-mp448xyj.js} +0 -0
  762. /package/dist/chunks/{plugin-msx8hqn2.js → model-msx8hqn2.js} +0 -0
  763. /package/dist/chunks/{plugin-n05xt0ee.js → model-n05xt0ee.js} +0 -0
  764. /package/dist/chunks/{plugin-n3j8tn72.js → model-n3j8tn72.js} +0 -0
  765. /package/dist/chunks/{plugin-njntx4h6.js → model-njntx4h6.js} +0 -0
  766. /package/dist/chunks/{plugin-pkyv6v7h.js → model-pkyv6v7h.js} +0 -0
  767. /package/dist/chunks/{plugin-q3sfg36h.js → model-q3sfg36h.js} +0 -0
  768. /package/dist/chunks/{plugin-q74kybfr.js → model-q74kybfr.js} +0 -0
  769. /package/dist/chunks/{plugin-qaymkmh1.js → model-qaymkmh1.js} +0 -0
  770. /package/dist/chunks/{plugin-qb87gjwd.js → model-qb87gjwd.js} +0 -0
  771. /package/dist/chunks/{plugin-qfa1cgps.js → model-qfa1cgps.js} +0 -0
  772. /package/dist/chunks/{plugin-qg3g05ea.js → model-qg3g05ea.js} +0 -0
  773. /package/dist/chunks/{plugin-qrg20bc0.js → model-qrg20bc0.js} +0 -0
  774. /package/dist/chunks/{plugin-rcb2kzg1.js → model-rcb2kzg1.js} +0 -0
  775. /package/dist/chunks/{plugin-sdp7kfr6.js → model-sdp7kfr6.js} +0 -0
  776. /package/dist/chunks/{plugin-ssg3fenm.js → model-ssg3fenm.js} +0 -0
  777. /package/dist/chunks/{plugin-ve7vex1e.js → model-ve7vex1e.js} +0 -0
  778. /package/dist/chunks/{plugin-w803qqfp.js → model-w803qqfp.js} +0 -0
  779. /package/dist/chunks/{plugin-wc3fc9cn.js → model-wc3fc9cn.js} +0 -0
  780. /package/dist/chunks/{plugin-wer8tq1h.js → model-wer8tq1h.js} +0 -0
  781. /package/dist/chunks/{plugin-wjj7prxr.js → model-wjj7prxr.js} +0 -0
  782. /package/dist/chunks/{plugin-wtztk69x.js → model-wtztk69x.js} +0 -0
  783. /package/dist/chunks/{plugin-x0ckcb58.js → model-x0ckcb58.js} +0 -0
  784. /package/dist/chunks/{plugin-x61499pn.js → model-x61499pn.js} +0 -0
  785. /package/dist/chunks/{plugin-y44na4kk.js → model-y44na4kk.js} +0 -0
  786. /package/dist/chunks/{plugin-y8f7s663.js → model-y8f7s663.js} +0 -0
  787. /package/dist/chunks/{plugin-ygaqb7jw.js → model-ygaqb7jw.js} +0 -0
  788. /package/dist/chunks/{plugin-ym463w8f.js → model-ym463w8f.js} +0 -0
  789. /package/dist/chunks/{plugin-z5v4ffb3.js → model-z5v4ffb3.js} +0 -0
  790. /package/dist/chunks/{plugin-z9919s4g.js → model-z9919s4g.js} +0 -0
@@ -1,63 +1,63 @@
1
1
  import {
2
2
  NonNegativeInt2
3
- } from "./plugin-z5v4ffb3.js";
3
+ } from "./model-z5v4ffb3.js";
4
4
  import {
5
5
  latest2,
6
- Service68
7
- } from "./plugin-h9rpd4f8.js";
6
+ Service48
7
+ } from "./model-j9qw6n70.js";
8
8
  import {
9
9
  typeFollowing2
10
- } from "./plugin-zkg84ctx.js";
10
+ } from "./model-zkg84ctx.js";
11
11
  import {
12
- Service79
13
- } from "./plugin-7g67k8da.js";
12
+ Service67
13
+ } from "./model-4v9wqr06.js";
14
14
  import {
15
- Service59
16
- } from "./plugin-rdbyms1g.js";
15
+ Service47
16
+ } from "./model-c1hv1ece.js";
17
17
  import {
18
- Service60
19
- } from "./plugin-366nwj0e.js";
18
+ Service57
19
+ } from "./model-d6gm4j52.js";
20
20
  import {
21
- Service16,
21
+ Service15,
22
22
  resolvePath2
23
- } from "./plugin-8dv6gnq3.js";
23
+ } from "./model-g154atg6.js";
24
24
  import {
25
25
  output2,
26
26
  notice2,
27
27
  metadata2,
28
28
  notification2
29
- } from "./plugin-k814nvkf.js";
29
+ } from "./model-k814nvkf.js";
30
30
  import {
31
- Service76,
31
+ Service61,
32
32
  name16
33
- } from "./plugin-px1hc5my.js";
33
+ } from "./model-6f9z7j1v.js";
34
34
  import {
35
- NotFoundError10,
36
- Service66
37
- } from "./plugin-e67nmve2.js";
35
+ NotFoundError5,
36
+ Service37
37
+ } from "./model-b5q9zetx.js";
38
38
  import {
39
- Service21
40
- } from "./plugin-10zrcpp8.js";
39
+ Service23
40
+ } from "./model-784fke7s.js";
41
41
  import {
42
42
  scan3
43
- } from "./plugin-mhkpqspy.js";
43
+ } from "./model-6hfnb0rs.js";
44
44
  import {
45
45
  __export
46
- } from "./plugin-9rqn6x4v.js";
46
+ } from "./model-9rqn6x4v.js";
47
47
 
48
48
  // src/tool/plugin/shell.ts
49
49
  var exports_shell2 = {};
50
50
  __export(exports_shell2, {
51
51
  DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
52
- Input: () => Input12,
53
- Plugin: () => Plugin49,
52
+ Input: () => Input6,
53
+ Plugin: () => Plugin25,
54
54
  ShellTool: () => exports_shell2,
55
- name: () => name12
55
+ name: () => name6
56
56
  });
57
57
  import { ToolFailure } from "@opencode/ai";
58
58
  import { Deferred, Effect, Schema, Scope } from "effect";
59
59
  import { shellParserWasm } from "#shell-parser-wasm";
60
- var name12 = "shell";
60
+ var name6 = "shell";
61
61
  var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
62
62
  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.";
63
63
  var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
@@ -71,7 +71,7 @@ var description = (shell) => [
71
71
  "Commands accept an optional timeout, background commands have no timeout by default.",
72
72
  "Background commands return immediately, and you will be notified when they complete."
73
73
  ].join(" ");
74
- var Input12 = Schema.Struct({
74
+ var Input6 = Schema.Struct({
75
75
  command: Schema.String.annotate({ description: "Shell command string to execute" }),
76
76
  workdir: Schema.optionalKey(Schema.String).annotate({
77
77
  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."
@@ -117,19 +117,19 @@ Output is streaming to: ${file}`,
117
117
  truncated: false,
118
118
  status: "running"
119
119
  });
120
- var Plugin49 = {
120
+ var Plugin25 = {
121
121
  id: "opencode.tool.shell",
122
122
  effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
123
- const sessions = yield* Service21;
124
- const jobs = yield* Service59;
123
+ const sessions = yield* Service23;
124
+ const jobs = yield* Service47;
125
125
  const scope = yield* Scope.Scope;
126
- const environment = yield* Service79;
127
- const access = yield* Service16;
128
- const shell = yield* Service66;
129
- const shellSelect = yield* Service76;
126
+ const environment = yield* Service67;
127
+ const access = yield* Service15;
128
+ const shell = yield* Service37;
129
+ const shellSelect = yield* Service61;
130
130
  const compatibleShell = shellSelect.resolve({ priority: "compat" });
131
- const permission = yield* Service60;
132
- const config = yield* Service68;
131
+ const permission = yield* Service57;
132
+ const config = yield* Service48;
133
133
  const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
134
134
  const source = {
135
135
  type: "tool",
@@ -148,7 +148,7 @@ var Plugin49 = {
148
148
  yield* access.authorizeExternal([target, ...directories], context);
149
149
  if (parsed.commands.length > 0)
150
150
  yield* permission.assert({
151
- action: name12,
151
+ action: name6,
152
152
  resources: parsed.commands.map((command) => command.resource),
153
153
  save: parsed.commands.map((command) => command.save),
154
154
  sessionID: context.sessionID,
@@ -185,10 +185,10 @@ var Plugin49 = {
185
185
  yield* jobs.completeBackground(info.notificationID);
186
186
  }, Effect.forkIn(scope, { startImmediately: true }));
187
187
  yield* ctx.tool.transform((editor) => editor.add({
188
- name: name12,
188
+ name: name6,
189
189
  options: { codemode: false },
190
190
  description: description(),
191
- input: Input12,
191
+ input: Input6,
192
192
  output: Output,
193
193
  execute: (input, context) => Effect.gen(function* () {
194
194
  const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
@@ -211,7 +211,7 @@ var Plugin49 = {
211
211
  const run = Effect.gen(function* () {
212
212
  const result = yield* shell.result(info);
213
213
  if (!result.capture)
214
- return yield* new NotFoundError10({ id: info.id });
214
+ return yield* new NotFoundError5({ id: info.id });
215
215
  const output = output2(result);
216
216
  return {
217
217
  ...output,
@@ -225,7 +225,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
225
225
  `)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
226
226
  const job = yield* jobs.start({
227
227
  id: info.id,
228
- type: name12,
228
+ type: name6,
229
229
  title: info.command,
230
230
  metadata: { sessionID: context.sessionID, shellID: info.id },
231
231
  recovery: {
@@ -255,7 +255,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
255
255
  }).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
256
256
  })).pipe(Effect.orDie);
257
257
  const hook = (event) => Effect.gen(function* () {
258
- const tool = event.tools[name12];
258
+ const tool = event.tools[name6];
259
259
  if (!tool)
260
260
  return;
261
261
  tool.description = description(name16(yield* compatibleShell));
@@ -266,4 +266,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
266
266
  })
267
267
  };
268
268
 
269
- export { name12, DEFAULT_TIMEOUT_MS2, Input12, Plugin49, exports_shell2 };
269
+ export { name6, DEFAULT_TIMEOUT_MS2, Input6, Plugin25, exports_shell2 };
@@ -1,28 +1,28 @@
1
1
  import {
2
2
  Service85,
3
3
  node89
4
- } from "./plugin-805retjn.js";
4
+ } from "./model-r07gp9b9.js";
5
5
  import {
6
6
  Service81,
7
7
  node85
8
- } from "./plugin-qczn15be.js";
8
+ } from "./model-pa0vwm8c.js";
9
9
  import {
10
10
  SessionEvent2
11
- } from "./plugin-ec1grn59.js";
11
+ } from "./model-ec1grn59.js";
12
12
  import {
13
- Service61,
14
- node64
15
- } from "./plugin-daqfgk3c.js";
13
+ Service59,
14
+ node61
15
+ } from "./model-51481qqa.js";
16
16
  import {
17
17
  __export
18
- } from "./plugin-9rqn6x4v.js";
18
+ } from "./model-9rqn6x4v.js";
19
19
 
20
20
  // src/session/instructions.ts
21
21
  var exports_instructions = {};
22
22
  __export(exports_instructions, {
23
- Service: () => Service11,
23
+ Service: () => Service7,
24
24
  SessionInstructions: () => exports_instructions,
25
- node: () => node13
25
+ node: () => node9
26
26
  });
27
27
  import { relative } from "path";
28
28
  import { Context, Effect, Layer, Option, Ref, Schema } from "effect";
@@ -32,12 +32,12 @@ var InjectedMetadata = Schema.Struct({
32
32
  instruction: Schema.Struct({ paths: Schema.Array(Schema.String) })
33
33
  });
34
34
 
35
- class Service11 extends Context.Service()("@opencode/SessionInstructions") {
35
+ class Service7 extends Context.Service()("@opencode/SessionInstructions") {
36
36
  }
37
- var layer = Layer.effect(Service11, Effect.gen(function* () {
37
+ var layer = Layer.effect(Service7, Effect.gen(function* () {
38
38
  const bus = yield* Service85;
39
39
  const fs = yield* FSUtil.Service;
40
- const store = yield* Service61;
40
+ const store = yield* Service59;
41
41
  const location = yield* Service81;
42
42
  const root = yield* fs.resolve(location.project.directory);
43
43
  const inFlight = yield* Ref.make(new Map);
@@ -84,7 +84,7 @@ ${file.content}`).join(`
84
84
  return next;
85
85
  })));
86
86
  });
87
- return Service11.of({ load });
87
+ return Service7.of({ load });
88
88
  }));
89
89
  function previouslyInjected(store, sessionID) {
90
90
  return Effect.gen(function* () {
@@ -95,10 +95,10 @@ function previouslyInjected(store, sessionID) {
95
95
  function describePath(root, path) {
96
96
  return FSUtil.contains(root, path) ? relative(root, path) : path;
97
97
  }
98
- var node13 = makeLocationNode({
98
+ var node9 = makeLocationNode({
99
99
  name: "session-instructions",
100
100
  layer,
101
- deps: [node89, FSUtil.node, node85, node64]
101
+ deps: [node89, FSUtil.node, node85, node61]
102
102
  });
103
103
 
104
- export { Service11, node13, exports_instructions };
104
+ export { Service7, node9, exports_instructions };
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  requestExecutor2
3
- } from "./plugin-p015t6z3.js";
3
+ } from "./model-p015t6z3.js";
4
4
  import {
5
- ID12,
6
- Service74,
7
- node77
8
- } from "./plugin-3gmz16jc.js";
5
+ ID13,
6
+ Service77,
7
+ node80
8
+ } from "./model-0q0he6s7.js";
9
9
  import {
10
10
  __export
11
- } from "./plugin-9rqn6x4v.js";
11
+ } from "./model-9rqn6x4v.js";
12
12
 
13
13
  // src/voice.ts
14
14
  var exports_voice = {};
15
15
  __export(exports_voice, {
16
16
  InvalidRequestError: () => InvalidRequestError2,
17
- Service: () => Service14,
18
- UnavailableError: () => UnavailableError2,
17
+ Service: () => Service72,
18
+ UnavailableError: () => UnavailableError4,
19
19
  Voice: () => exports_voice,
20
- layer: () => layer10,
21
- node: () => node16
20
+ layer: () => layer25,
21
+ node: () => node75
22
22
  });
23
23
  import {
24
24
  Realtime
@@ -31,19 +31,19 @@ class InvalidRequestError2 extends Schema.TaggedError()("Voice.InvalidRequestErr
31
31
  }) {
32
32
  }
33
33
 
34
- class UnavailableError2 extends Schema.TaggedError()("Voice.UnavailableError", {
34
+ class UnavailableError4 extends Schema.TaggedError()("Voice.UnavailableError", {
35
35
  message: Schema.String,
36
36
  service: Schema.optional(Schema.String)
37
37
  }) {
38
38
  }
39
39
 
40
- class Service14 extends Context.Service()("@opencode/Voice") {
40
+ class Service72 extends Context.Service()("@opencode/Voice") {
41
41
  }
42
- var layer10 = Layer.effect(Service14, Effect.gen(function* () {
42
+ var layer25 = Layer.effect(Service72, Effect.gen(function* () {
43
43
  const executor = yield* RequestExecutor.Service;
44
- const integrations = yield* Service74;
44
+ const integrations = yield* Service77;
45
45
  let hosted;
46
- const findConnection = (provider) => integrations.get(ID12.make(provider)).pipe(Effect.map((info) => info?.connections.find((item) => item.type === "env" || item.method === "key")));
46
+ const findConnection = (provider) => integrations.get(ID13.make(provider)).pipe(Effect.map((info) => info?.connections.find((item) => item.type === "env" || item.method === "key")));
47
47
  const models = Effect.fn("Voice.models")(function* () {
48
48
  const host = hosted;
49
49
  const list = yield* Effect.forEach(Realtime.engines, (engine) => host?.models.includes(engine.model) ? Effect.succeed({
@@ -70,13 +70,13 @@ var layer10 = Layer.effect(Service14, Effect.gen(function* () {
70
70
  if (hosted?.models.includes(input.model))
71
71
  return yield* hosted.session(input);
72
72
  const connection = yield* findConnection(engine.provider);
73
- const credential = connection ? yield* integrations.connection.resolve(connection).pipe(Effect.mapError((error) => new UnavailableError2({ service: engine.provider, message: error.message }))) : undefined;
73
+ const credential = connection ? yield* integrations.connection.resolve(connection).pipe(Effect.mapError((error) => new UnavailableError4({ service: engine.provider, message: error.message }))) : undefined;
74
74
  if (credential?.type !== "key")
75
- return yield* new UnavailableError2({
75
+ return yield* new UnavailableError4({
76
76
  service: engine.provider,
77
77
  message: missingKeyMessage[engine.provider]
78
78
  });
79
- const transport = yield* Realtime.connect({ ...input, apiKey: Redacted.make(credential.key) }).pipe(Effect.provideService(RequestExecutor.Service, executor), Effect.mapError((error) => error.reason._tag === "InvalidRequest" || error.reason._tag === "UnsupportedOperation" ? new InvalidRequestError2({ message: error.message }) : new UnavailableError2({ message: error.message, service: engine.provider })));
79
+ const transport = yield* Realtime.connect({ ...input, apiKey: Redacted.make(credential.key) }).pipe(Effect.provideService(RequestExecutor.Service, executor), Effect.mapError((error) => error.reason._tag === "InvalidRequest" || error.reason._tag === "UnsupportedOperation" ? new InvalidRequestError2({ message: error.message }) : new UnavailableError4({ message: error.message, service: engine.provider })));
80
80
  return { transport };
81
81
  });
82
82
  const instruct = Effect.fn("Voice.instruct")(function* (input) {
@@ -84,7 +84,7 @@ var layer10 = Layer.effect(Service14, Effect.gen(function* () {
84
84
  return yield* new InvalidRequestError2({ message: "Only hosted voice sessions take instructions" });
85
85
  return yield* hosted.instruct(input);
86
86
  });
87
- return Service14.of({
87
+ return Service72.of({
88
88
  models,
89
89
  session,
90
90
  instruct,
@@ -93,10 +93,10 @@ var layer10 = Layer.effect(Service14, Effect.gen(function* () {
93
93
  })
94
94
  });
95
95
  }));
96
- var node16 = makeLocationNode({
97
- service: Service14,
98
- layer: layer10,
99
- deps: [node77, requestExecutor2]
96
+ var node75 = makeLocationNode({
97
+ service: Service72,
98
+ layer: layer25,
99
+ deps: [node80, requestExecutor2]
100
100
  });
101
101
  var missingKeyMessage = {
102
102
  openai: "Voice needs an OpenAI API key on the server (a stored key or OPENAI_API_KEY). ChatGPT sign-in can't start voice sessions.",
@@ -104,4 +104,4 @@ var missingKeyMessage = {
104
104
  google: "Voice needs a Google API key on the server (a stored key, GEMINI_API_KEY, GOOGLE_GENERATIVE_AI_API_KEY, or GOOGLE_API_KEY)."
105
105
  };
106
106
 
107
- export { InvalidRequestError2, UnavailableError2, Service14, layer10, node16, exports_voice };
107
+ export { InvalidRequestError2, UnavailableError4, Service72, layer25, node75, exports_voice };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./plugin-9rqn6x4v.js";
3
+ } from "./model-9rqn6x4v.js";
4
4
 
5
5
  // src/repository.ts
6
6
  var exports_repository = {};
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./plugin-qjgzc4b4.js";
3
+ } from "./model-8jztxfpf.js";
4
4
  import {
5
- Service79,
6
- node82
7
- } from "./plugin-7g67k8da.js";
5
+ Service67,
6
+ node69
7
+ } from "./model-4v9wqr06.js";
8
8
  import {
9
9
  __export
10
- } from "./plugin-9rqn6x4v.js";
10
+ } from "./model-9rqn6x4v.js";
11
11
 
12
12
  // src/file-mutation.ts
13
13
  var exports_file_mutation = {};
14
14
  __export(exports_file_mutation, {
15
15
  FileMutation: () => exports_file_mutation,
16
- Service: () => Service17,
17
- node: () => node19,
16
+ Service: () => Service13,
17
+ node: () => node15,
18
18
  readText: () => readText2,
19
19
  syncTextBom: () => syncTextBom2
20
20
  });
@@ -22,7 +22,7 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
22
22
  import { Context, Effect, Layer } from "effect";
23
23
  import { FSUtil } from "@opencode/util/fs-util";
24
24
  import { Bom } from "@opencode/util/bom";
25
- class Service17 extends Context.Service()("@opencode/FileMutation") {
25
+ class Service13 extends Context.Service()("@opencode/FileMutation") {
26
26
  }
27
27
  var readText2 = Effect.fn("FileMutation.readText")(function* (files, target) {
28
28
  return Bom.decodeBytes((yield* files.read(target)).bytes);
@@ -34,8 +34,8 @@ var syncTextBom2 = Effect.fn("FileMutation.syncTextBom")(function* (files, targe
34
34
  return synced.text;
35
35
  });
36
36
  var transactionLocks = makeUnsafe2();
37
- var layer = Layer.effect(Service17, Effect.gen(function* () {
38
- const environment = yield* Service79;
37
+ var layer = Layer.effect(Service13, Effect.gen(function* () {
38
+ const environment = yield* Service67;
39
39
  const locks = makeUnsafe2();
40
40
  const withLock = (targets) => (effect) => [...new Set(targets.map(FSUtil.resolve))].sort().reduceRight((result, target) => transactionLocks.withLock(target)(result), effect);
41
41
  const withTargetLock = (target) => (effect) => locks.withLock(target.absolute)(Effect.uninterruptible(effect));
@@ -56,8 +56,8 @@ var layer = Layer.effect(Service17, Effect.gen(function* () {
56
56
  yield* environment.files.write(input.target.absolute, new TextEncoder().encode(Bom.join(next.text, Boolean(current && Bom.has(current)) || next.bom)));
57
57
  return writeResult(input.target, current !== undefined);
58
58
  })));
59
- return Service17.of({ withLock, write, writeTextPreservingBom });
59
+ return Service13.of({ withLock, write, writeTextPreservingBom });
60
60
  }));
61
- var node19 = makeLocationNode({ service: Service17, layer, deps: [node82] });
61
+ var node15 = makeLocationNode({ service: Service13, layer, deps: [node69] });
62
62
 
63
- export { Service17, readText2, syncTextBom2, node19, exports_file_mutation };
63
+ export { Service13, readText2, syncTextBom2, node15, exports_file_mutation };
@@ -1,24 +1,24 @@
1
1
  import {
2
- Service77,
3
- node80
4
- } from "./plugin-s9vx4pc1.js";
2
+ Service74,
3
+ node77
4
+ } from "./model-gn6ba7xn.js";
5
5
  import {
6
6
  SessionMessage2
7
- } from "./plugin-gftt206x.js";
7
+ } from "./model-gftt206x.js";
8
8
  import {
9
9
  SessionSchema2
10
- } from "./plugin-mtpeagzc.js";
10
+ } from "./model-cbvv1y68.js";
11
11
  import {
12
12
  __export
13
- } from "./plugin-9rqn6x4v.js";
13
+ } from "./model-9rqn6x4v.js";
14
14
 
15
15
  // src/job.ts
16
16
  var exports_job = {};
17
17
  __export(exports_job, {
18
18
  Job: () => exports_job,
19
- Service: () => Service59,
20
- make: () => make19,
21
- node: () => node62
19
+ Service: () => Service47,
20
+ make: () => make18,
21
+ node: () => node49
22
22
  });
23
23
  import { Array, Cause, Clock, Context, Deferred, Effect, Exit, Layer, Schema, Scope, SynchronizedRef } from "effect";
24
24
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
@@ -48,7 +48,7 @@ var decodeBackground = Schema.decodeUnknownResult(Background);
48
48
  var backgroundPrefix = "job.background/";
49
49
  var COMPLETED_LIMIT = 25;
50
50
 
51
- class Service59 extends Context.Service()("@opencode/Job") {
51
+ class Service47 extends Context.Service()("@opencode/Job") {
52
52
  }
53
53
  function snapshot(job) {
54
54
  return {
@@ -83,8 +83,8 @@ function decrementSession(input, sessionID) {
83
83
  next.set(sessionID, count - 1);
84
84
  return next;
85
85
  }
86
- var make19 = Effect.gen(function* () {
87
- const kv = yield* Service77;
86
+ var make18 = Effect.gen(function* () {
87
+ const kv = yield* Service74;
88
88
  const state = {
89
89
  jobs: yield* SynchronizedRef.make(new Map),
90
90
  scope: yield* Scope.Scope
@@ -343,7 +343,7 @@ var make19 = Effect.gen(function* () {
343
343
  next.delete(entry[0]);
344
344
  return next;
345
345
  })));
346
- return Service59.of({
346
+ return Service47.of({
347
347
  get,
348
348
  start,
349
349
  wait,
@@ -356,7 +356,7 @@ var make19 = Effect.gen(function* () {
356
356
  completeBackground
357
357
  });
358
358
  });
359
- var layer = Layer.effect(Service59, make19);
360
- var node62 = makeGlobalNode({ service: Service59, layer, deps: [node80] });
359
+ var layer = Layer.effect(Service47, make18);
360
+ var node49 = makeGlobalNode({ service: Service47, layer, deps: [node77] });
361
361
 
362
- export { Service59, make19, node62, exports_job };
362
+ export { Service47, make18, node49, exports_job };
@@ -1,79 +1,79 @@
1
1
  import {
2
2
  Service86
3
- } from "./plugin-e7p8ph8y.js";
3
+ } from "./model-qq9tt1td.js";
4
4
  import {
5
5
  Service85
6
- } from "./plugin-805retjn.js";
6
+ } from "./model-r07gp9b9.js";
7
7
  import {
8
- Service41
9
- } from "./plugin-sbegqkxp.js";
8
+ Service45
9
+ } from "./model-9nkjg9qd.js";
10
10
  import {
11
11
  userNotification2
12
- } from "./plugin-k814nvkf.js";
12
+ } from "./model-k814nvkf.js";
13
13
  import {
14
14
  SessionMessage2
15
- } from "./plugin-gftt206x.js";
15
+ } from "./model-gftt206x.js";
16
16
  import {
17
- NotFoundError8,
17
+ NotFoundError9,
18
18
  PromptConflictError2,
19
19
  SyntheticConflictError2,
20
20
  CompactionConflictError2,
21
21
  BusyError2,
22
22
  InboxConflictError2
23
- } from "./plugin-zg933662.js";
23
+ } from "./model-272c0xdt.js";
24
24
  import {
25
25
  SessionEvent2
26
- } from "./plugin-ec1grn59.js";
26
+ } from "./model-ec1grn59.js";
27
27
  import {
28
- Service61
29
- } from "./plugin-daqfgk3c.js";
28
+ Service59
29
+ } from "./model-51481qqa.js";
30
30
  import {
31
31
  SyntheticPayload2,
32
- Service39
33
- } from "./plugin-hvca08ne.js";
32
+ Service44
33
+ } from "./model-fhzt8j0q.js";
34
34
  import {
35
- Service37
36
- } from "./plugin-4z501z63.js";
35
+ Service42
36
+ } from "./model-4qc2xvk6.js";
37
37
  import {
38
38
  prepare2
39
- } from "./plugin-fjj0tk6a.js";
39
+ } from "./model-321ec0g4.js";
40
40
  import {
41
41
  stage2,
42
42
  clear2,
43
43
  commit2
44
- } from "./plugin-ky4dyj93.js";
44
+ } from "./model-6nb4ea3p.js";
45
45
  import {
46
46
  start2
47
- } from "./plugin-dwad2f7j.js";
47
+ } from "./model-g56hrhg3.js";
48
48
  import {
49
49
  get4
50
- } from "./plugin-e6b2spd3.js";
50
+ } from "./model-se9dn7rd.js";
51
51
  import {
52
52
  __export
53
- } from "./plugin-9rqn6x4v.js";
53
+ } from "./model-9rqn6x4v.js";
54
54
 
55
55
  // src/session/session.ts
56
56
  var exports_session2 = {};
57
57
  __export(exports_session2, {
58
58
  Session: () => exports_session2,
59
- make: () => make12
59
+ make: () => make13
60
60
  });
61
61
  import { DateTime, Effect, Fiber, Scope } from "effect";
62
62
  import { Event } from "@opencode/schema/event";
63
63
  import { FSUtil } from "@opencode/util/fs-util";
64
- var make12 = Effect.fn("Session.make")(function* () {
64
+ var make13 = Effect.fn("Session.make")(function* () {
65
65
  const bus = yield* Service85;
66
66
  const database = yield* Service86;
67
- const store = yield* Service61;
68
- const instances = yield* Service41;
69
- const execution = yield* Service37;
70
- const admission = yield* Service39;
67
+ const store = yield* Service59;
68
+ const instances = yield* Service45;
69
+ const execution = yield* Service42;
70
+ const admission = yield* Service44;
71
71
  const fs = yield* FSUtil.Service;
72
72
  const scope = yield* Scope.Scope;
73
73
  const get = Effect.fn("Session.get")(function* (sessionID) {
74
74
  const session = yield* store.get(sessionID);
75
75
  if (!session)
76
- return yield* new NotFoundError8({ sessionID });
76
+ return yield* new NotFoundError9({ sessionID });
77
77
  return session;
78
78
  });
79
79
  const message = Effect.fn("Session.message")(function* (sessionID, messageID) {
@@ -146,7 +146,7 @@ var make12 = Effect.fn("Session.make")(function* () {
146
146
  });
147
147
  if (existing)
148
148
  return existing;
149
- const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service41, instances), Effect.provideService(FSUtil.Service, fs)));
149
+ const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service45, instances), Effect.provideService(FSUtil.Service, fs)));
150
150
  if (session.revert)
151
151
  yield* commit2(bus, session);
152
152
  return yield* admission.admit({
@@ -162,7 +162,7 @@ var make12 = Effect.fn("Session.make")(function* () {
162
162
  const shell = Effect.fn("Session.shell")(function* (sessionID, input) {
163
163
  const session = yield* get(sessionID);
164
164
  const running = yield* Effect.gen(function* () {
165
- const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service41, instances), Effect.tapError((error) => synthetic(sessionID, {
165
+ const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service45, instances), Effect.tapError((error) => synthetic(sessionID, {
166
166
  text: `User shell command failed to start:
167
167
  ${input.command}
168
168
 
@@ -191,7 +191,7 @@ ${error.message}`,
191
191
  });
192
192
  const skill = Effect.fn("Session.skill")(function* (sessionID, input) {
193
193
  const session = yield* get(sessionID);
194
- const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service41, instances));
194
+ const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service45, instances));
195
195
  yield* bus.publish(SessionEvent2.Skill.Activated, {
196
196
  sessionID,
197
197
  id: skill.id,
@@ -248,13 +248,13 @@ ${error.message}`,
248
248
  const session = yield* get(sessionID);
249
249
  if (yield* execution.isActive(sessionID))
250
250
  return yield* new BusyError2({ sessionID });
251
- return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service41, instances), Effect.provideService(Service86, database), Effect.provideService(Service85, bus));
251
+ return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service45, instances), Effect.provideService(Service86, database), Effect.provideService(Service85, bus));
252
252
  });
253
253
  const clear = Effect.fn("Session.revert.clear")(function* (sessionID) {
254
254
  const session = yield* get(sessionID);
255
255
  if (yield* execution.isActive(sessionID))
256
256
  return yield* new BusyError2({ sessionID });
257
- yield* clear2(session).pipe(Effect.provideService(Service41, instances), Effect.provideService(Service85, bus));
257
+ yield* clear2(session).pipe(Effect.provideService(Service45, instances), Effect.provideService(Service85, bus));
258
258
  return yield* execution.wake(sessionID);
259
259
  });
260
260
  const commit = Effect.fn("Session.revert.commit")(function* (sessionID) {
@@ -346,4 +346,4 @@ ${error.message}`,
346
346
  return { forSession };
347
347
  });
348
348
 
349
- export { make12, exports_session2 };
349
+ export { make13, exports_session2 };