@opencode/core 0.0.0-dev-19846 → 0.0.0-dev-19855

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 (794) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +80 -80
  3. package/dist/aisdk-native.js +88 -88
  4. package/dist/aisdk.js +93 -93
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +72 -72
  7. package/dist/chunks/{project-5r3hq516.js → generate-0gq147r8.js} +17 -17
  8. package/dist/chunks/{project-1kq8tgzp.js → generate-0kmmcsnv.js} +8 -8
  9. package/dist/chunks/generate-0mesazry.js +4 -0
  10. package/dist/chunks/{project-0paq2nw3.js → generate-0paq2nw3.js} +1 -1
  11. package/dist/chunks/{project-0q0f95c6.js → generate-0q0f95c6.js} +1 -1
  12. package/dist/chunks/{project-xevgfq4n.js → generate-0zrznfxv.js} +17 -17
  13. package/dist/chunks/{project-0p5z90ds.js → generate-19qb098d.js} +22 -22
  14. package/dist/chunks/{project-dv1qgsyq.js → generate-1ajx6rf5.js} +8 -8
  15. package/dist/chunks/{project-1dazxqgg.js → generate-1dazxqgg.js} +2 -2
  16. package/dist/chunks/{project-r1t2j85f.js → generate-1kkcsqyr.js} +29 -29
  17. package/dist/chunks/{project-vkd0h23s.js → generate-1mdt3y9r.js} +22 -22
  18. package/dist/chunks/{project-1j8agrvv.js → generate-1yhb7mxs.js} +8 -8
  19. package/dist/chunks/{project-21r38tys.js → generate-21r38tys.js} +1 -1
  20. package/dist/chunks/{project-ack5b9kg.js → generate-23jpcpdv.js} +22 -22
  21. package/dist/chunks/{project-j15mfg1p.js → generate-23pqda6t.js} +6 -6
  22. package/dist/chunks/{project-q5neczsw.js → generate-25dvt1bv.js} +13 -13
  23. package/dist/chunks/{project-2a5m3afh.js → generate-2a5m3afh.js} +1 -1
  24. package/dist/chunks/{project-81sjjchp.js → generate-2nv59kjc.js} +6 -6
  25. package/dist/chunks/{project-etj4zdky.js → generate-2rv3v382.js} +30 -30
  26. package/dist/chunks/{project-cwa6csj7.js → generate-2sejkfem.js} +9 -9
  27. package/dist/chunks/{project-hfdr1yjj.js → generate-2tfmgkzg.js} +4 -4
  28. package/dist/chunks/{project-xjnr36r5.js → generate-2yycsk2q.js} +11 -11
  29. package/dist/chunks/{project-7nbswp8v.js → generate-2zbvw8ym.js} +9 -9
  30. package/dist/chunks/{project-2e1vq0y7.js → generate-308q9nny.js} +69 -69
  31. package/dist/chunks/{project-33w4ejhs.js → generate-33w4ejhs.js} +2 -2
  32. package/dist/chunks/{project-6tw46rbw.js → generate-35z3x0k8.js} +9 -9
  33. package/dist/chunks/{project-3fc6dm20.js → generate-3fc6dm20.js} +1 -1
  34. package/dist/chunks/{project-3hepkmqq.js → generate-3hepkmqq.js} +1 -1
  35. package/dist/chunks/{project-ybhbtxjg.js → generate-3ktbe3hf.js} +6 -6
  36. package/dist/chunks/{project-tdtg4dez.js → generate-3me7xvq2.js} +13 -13
  37. package/dist/chunks/{project-3smtnn6g.js → generate-3smtnn6g.js} +1 -1
  38. package/dist/chunks/{project-3tvqynh2.js → generate-3tvqynh2.js} +1 -1
  39. package/dist/chunks/{project-m44bfvz1.js → generate-3w9sxyad.js} +58 -58
  40. package/dist/chunks/{project-02n9c88k.js → generate-3wwt8ag2.js} +9 -9
  41. package/dist/chunks/{project-3df1y0p8.js → generate-3wyrrtvb.js} +17 -17
  42. package/dist/chunks/{project-j8q8jte2.js → generate-3yw61v8w.js} +27 -27
  43. package/dist/chunks/{project-2h05jbbb.js → generate-428xen5b.js} +6 -6
  44. package/dist/chunks/{project-pfcen09k.js → generate-43rrycvc.js} +8 -8
  45. package/dist/chunks/{project-h6r3nrb9.js → generate-44h5tttr.js} +4 -4
  46. package/dist/chunks/{project-zhq6vg7a.js → generate-4jc5c4h4.js} +1 -1
  47. package/dist/chunks/{project-wt7cwq24.js → generate-4rn4k3y1.js} +3 -3
  48. package/dist/chunks/{project-d3r7jxc2.js → generate-4wn4k6h8.js} +43 -43
  49. package/dist/chunks/{project-wf8n87rb.js → generate-50qqv18y.js} +173 -173
  50. package/dist/chunks/{project-t6dxs0q6.js → generate-55ntkbd9.js} +20 -20
  51. package/dist/chunks/{project-57ez7d0k.js → generate-57ez7d0k.js} +2 -2
  52. package/dist/chunks/{project-a1bz86dw.js → generate-5c4hm403.js} +3 -3
  53. package/dist/chunks/{project-5daktx2q.js → generate-5daktx2q.js} +1 -1
  54. package/dist/chunks/{project-rrc51wka.js → generate-5jjne4g5.js} +7 -7
  55. package/dist/chunks/{project-mpyeq7xq.js → generate-5k11540m.js} +24 -24
  56. package/dist/chunks/{project-5t3nmthw.js → generate-5t3nmthw.js} +2 -2
  57. package/dist/chunks/{project-bgpcryq4.js → generate-5y5048hk.js} +5 -5
  58. package/dist/chunks/{project-8n7qzcm3.js → generate-5yrb1hyq.js} +11 -11
  59. package/dist/chunks/{project-2ht24x3n.js → generate-61nhyxw9.js} +96 -96
  60. package/dist/chunks/{project-zq0jz1g1.js → generate-65k90k27.js} +9 -9
  61. package/dist/chunks/{project-669tq793.js → generate-669tq793.js} +1 -1
  62. package/dist/chunks/{project-g1dt0wsk.js → generate-6d9py4x2.js} +28 -28
  63. package/dist/chunks/{project-yr3xevt1.js → generate-6ddjfwvz.js} +18 -18
  64. package/dist/chunks/{project-2402vzrj.js → generate-6h73sxmp.js} +5 -5
  65. package/dist/chunks/{project-ny0ejabc.js → generate-6h96z4ze.js} +20 -20
  66. package/dist/chunks/{project-hf12faft.js → generate-6km3vgt3.js} +4 -4
  67. package/dist/chunks/{project-6msgmcgs.js → generate-6msgmcgs.js} +1 -1
  68. package/dist/chunks/{project-art4n687.js → generate-6psvz8ty.js} +44 -44
  69. package/dist/chunks/{project-684d09rt.js → generate-6vbjb61c.js} +28 -28
  70. package/dist/chunks/{project-rre8h2tn.js → generate-6wf6y384.js} +25 -25
  71. package/dist/chunks/{project-sgzwzkja.js → generate-73erw28z.js} +30 -30
  72. package/dist/chunks/{project-eq1pz5kg.js → generate-73tb2d7t.js} +3 -3
  73. package/dist/chunks/{project-gnxekzmr.js → generate-749bja2b.js} +18 -18
  74. package/dist/chunks/{project-50w8bcqe.js → generate-74wqaqcm.js} +9 -9
  75. package/dist/chunks/{project-x4srw6h4.js → generate-7aq15hb2.js} +15 -15
  76. package/dist/chunks/{project-7bmhse3q.js → generate-7bmhse3q.js} +1 -1
  77. package/dist/chunks/{project-fcrkznn8.js → generate-7dqw4kz8.js} +5 -5
  78. package/dist/chunks/{project-09739knt.js → generate-7w4zp1nj.js} +4 -4
  79. package/dist/chunks/{project-8kw72tn7.js → generate-827wsj90.js} +25 -25
  80. package/dist/chunks/{project-dskjyb59.js → generate-8bv2nfrp.js} +4 -4
  81. package/dist/chunks/{project-8d7r5vzw.js → generate-8d7r5vzw.js} +1 -1
  82. package/dist/chunks/{project-72nbf9pp.js → generate-8fsfkhfw.js} +3 -3
  83. package/dist/chunks/{project-0340qvks.js → generate-8gj9m7an.js} +15 -15
  84. package/dist/chunks/{project-prnhk7xm.js → generate-8hb0tesj.js} +1 -1
  85. package/dist/chunks/{project-t6xa7fbd.js → generate-8qpnwd8f.js} +22 -22
  86. package/dist/chunks/{project-wxzxtg60.js → generate-9kfkee5r.js} +8 -8
  87. package/dist/chunks/{project-bcbwapbv.js → generate-9p8ghzvs.js} +6 -6
  88. package/dist/chunks/{project-pfkswgt7.js → generate-9v6je5c8.js} +4 -4
  89. package/dist/chunks/generate-9x18tffv.js +252 -0
  90. package/dist/chunks/generate-9zdhvgqs.js +18 -0
  91. package/dist/chunks/{project-mwvxd4dr.js → generate-a7y6e3a6.js} +11 -11
  92. package/dist/chunks/{project-aaet6srn.js → generate-aaet6srn.js} +2 -2
  93. package/dist/chunks/{project-f3jfe5hw.js → generate-abf6npx4.js} +23 -23
  94. package/dist/chunks/{project-2jncbks8.js → generate-ad30yrp4.js} +19 -19
  95. package/dist/chunks/{project-87kbdynr.js → generate-aegj8t8z.js} +16 -16
  96. package/dist/chunks/{project-0f9afca0.js → generate-af04s6ss.js} +5 -5
  97. package/dist/chunks/{project-1b59rhj7.js → generate-aktk9sm4.js} +26 -26
  98. package/dist/chunks/{project-xjy6841a.js → generate-ar4smkw2.js} +19 -19
  99. package/dist/chunks/{project-m85m39ae.js → generate-as9yt2q1.js} +5 -5
  100. package/dist/chunks/{project-he710hpz.js → generate-avnnb6ne.js} +6 -6
  101. package/dist/chunks/{project-szbzb6j5.js → generate-b06f0n62.js} +5 -5
  102. package/dist/chunks/{project-b6gygkdw.js → generate-b6gygkdw.js} +2 -2
  103. package/dist/chunks/{project-kkj9rsjh.js → generate-b79sd35x.js} +11 -11
  104. package/dist/chunks/{project-4a6jpjer.js → generate-bxks3rwe.js} +5 -5
  105. package/dist/chunks/{project-f80scn8v.js → generate-c1np9tvh.js} +12 -12
  106. package/dist/chunks/{project-j9kntj8d.js → generate-c6vbkewx.js} +31 -31
  107. package/dist/chunks/{project-mk02b788.js → generate-cav2k78t.js} +38 -38
  108. package/dist/chunks/{project-b9stce80.js → generate-ckackzkx.js} +23 -23
  109. package/dist/chunks/{project-7wq30qzy.js → generate-cpvqkx5f.js} +9 -9
  110. package/dist/chunks/{project-pq12zp18.js → generate-cvqk7wv7.js} +32 -32
  111. package/dist/chunks/{project-5nbh07yk.js → generate-czy49zar.js} +20 -20
  112. package/dist/chunks/{project-5v0tmc5d.js → generate-d4xesebd.js} +28 -28
  113. package/dist/chunks/{project-8qv6fygy.js → generate-d71fyk5e.js} +1 -1
  114. package/dist/chunks/{project-ve4pfa0n.js → generate-dfe8djrf.js} +4 -4
  115. package/dist/chunks/{project-k5m0fz1p.js → generate-dgmwn8ez.js} +8 -8
  116. package/dist/chunks/{project-8p4f9s12.js → generate-dj2t23y0.js} +2 -2
  117. package/dist/chunks/{project-zz1fy56t.js → generate-dj30mz7y.js} +6 -6
  118. package/dist/chunks/{project-ht97wvte.js → generate-dj5jbh3k.js} +8 -8
  119. package/dist/chunks/{project-4rttj77g.js → generate-dqs3j4gr.js} +5 -5
  120. package/dist/chunks/{project-drwq78ky.js → generate-drwq78ky.js} +1 -1
  121. package/dist/chunks/{project-a9h8knd5.js → generate-drz9gnx0.js} +11 -11
  122. package/dist/chunks/{project-jx33ms3p.js → generate-dtx01xgx.js} +34 -34
  123. package/dist/chunks/{project-rk07zaj4.js → generate-e2erk39a.js} +26 -26
  124. package/dist/chunks/{project-nk9mvamb.js → generate-e42h5ahx.js} +17 -17
  125. package/dist/chunks/{project-mwfvmtj3.js → generate-e4ve3fg3.js} +4 -4
  126. package/dist/chunks/{project-510m7gjw.js → generate-e6hmchc5.js} +5 -5
  127. package/dist/chunks/{project-1pd75zc4.js → generate-e8q8b5r7.js} +7 -7
  128. package/dist/chunks/{project-s8d7rejh.js → generate-eaj1djv9.js} +6 -6
  129. package/dist/chunks/{project-n8rwxk9x.js → generate-ece0bb7d.js} +43 -43
  130. package/dist/chunks/{project-ef5x83kb.js → generate-ef5x83kb.js} +1 -1
  131. package/dist/chunks/{project-tvs0a824.js → generate-efc3bqfr.js} +11 -11
  132. package/dist/chunks/{project-9zj7b8kh.js → generate-ehc7wmzq.js} +18 -18
  133. package/dist/chunks/{project-bm43pffw.js → generate-envn6cbq.js} +24 -24
  134. package/dist/chunks/{project-erw5rpbs.js → generate-erw5rpbs.js} +2 -2
  135. package/dist/chunks/generate-eszte112.js +26 -0
  136. package/dist/chunks/{project-etq0c3wd.js → generate-etq0c3wd.js} +1 -1
  137. package/dist/chunks/{project-t809k1vg.js → generate-evcg0f16.js} +12 -12
  138. package/dist/chunks/{project-py4hfr94.js → generate-evjjx1vq.js} +8 -8
  139. package/dist/chunks/{project-whd746f3.js → generate-eznat62v.js} +15 -15
  140. package/dist/chunks/{project-r8xr0va3.js → generate-f2n192rq.js} +4 -4
  141. package/dist/chunks/{project-gp173rva.js → generate-fhhct1rs.js} +9 -9
  142. package/dist/chunks/{project-bz2stzrr.js → generate-fjfjkvsk.js} +7 -7
  143. package/dist/chunks/{project-knb7evpn.js → generate-fkjmw100.js} +6 -6
  144. package/dist/chunks/{project-7g46xrmt.js → generate-fr5pngye.js} +37 -37
  145. package/dist/chunks/{project-3838ekre.js → generate-fwrss4ad.js} +4 -4
  146. package/dist/chunks/{project-fxbjtjnd.js → generate-fxbjtjnd.js} +1 -1
  147. package/dist/chunks/{project-m3ap3m3h.js → generate-ga4egkhq.js} +5 -5
  148. package/dist/chunks/{project-gd4qta3r.js → generate-gd4qta3r.js} +1 -1
  149. package/dist/chunks/{project-ptzgakd6.js → generate-gew6kykq.js} +4 -4
  150. package/dist/chunks/{project-2q8c0gm7.js → generate-gr1f03ws.js} +9 -9
  151. package/dist/chunks/{project-gv6a8nnw.js → generate-gv6a8nnw.js} +2 -2
  152. package/dist/chunks/{project-0xqmy87r.js → generate-gvv2c7z7.js} +24 -24
  153. package/dist/chunks/{project-6ps9zqp2.js → generate-h354z1xq.js} +33 -33
  154. package/dist/chunks/{project-ft5embp4.js → generate-h694sfcs.js} +7 -7
  155. package/dist/chunks/{project-h6vf3j39.js → generate-h6vf3j39.js} +1 -1
  156. package/dist/chunks/{project-gjmk74th.js → generate-h896pcm5.js} +6 -6
  157. package/dist/chunks/{project-6qxcg912.js → generate-ha58ddsa.js} +9 -9
  158. package/dist/chunks/{project-f828m53h.js → generate-hdnk95c8.js} +2 -2
  159. package/dist/chunks/{project-czx70qgk.js → generate-hww2tpcj.js} +31 -31
  160. package/dist/chunks/{project-j56e64zr.js → generate-j56e64zr.js} +1 -1
  161. package/dist/chunks/{project-rmf7mdc6.js → generate-j5b0023w.js} +16 -16
  162. package/dist/chunks/{project-f1vhv4y2.js → generate-j7dy6vn2.js} +18 -18
  163. package/dist/chunks/{project-a3r4dcrj.js → generate-jca4demv.js} +2 -2
  164. package/dist/chunks/{project-p89rncfr.js → generate-jcyhwa0n.js} +9 -9
  165. package/dist/chunks/{project-45tdjxr7.js → generate-jne44bes.js} +22 -22
  166. package/dist/chunks/{project-4cf1csag.js → generate-jv04y93d.js} +39 -39
  167. package/dist/chunks/{project-yqn39ntr.js → generate-k0b7m8ck.js} +61 -61
  168. package/dist/chunks/{project-k3c624dm.js → generate-k3c624dm.js} +3 -3
  169. package/dist/chunks/{project-etbwh060.js → generate-k75ej8z1.js} +11 -11
  170. package/dist/chunks/{project-3c3ytqpt.js → generate-km0vtszt.js} +53 -53
  171. package/dist/chunks/{project-74rrnwt7.js → generate-kns1vj7f.js} +12 -12
  172. package/dist/chunks/{project-f9qeaf72.js → generate-kp2k2y4n.js} +35 -35
  173. package/dist/chunks/{project-d21ps0yb.js → generate-kxbt8c2v.js} +11 -11
  174. package/dist/chunks/{project-52571pyr.js → generate-m0gbvpmm.js} +84 -84
  175. package/dist/chunks/{project-cfpkc3c9.js → generate-m0jqrx5p.js} +2 -2
  176. package/dist/chunks/{project-m3fdjcah.js → generate-m3fdjcah.js} +1 -1
  177. package/dist/chunks/{project-jd632q10.js → generate-m833tcjx.js} +17 -17
  178. package/dist/chunks/{project-m9w0rfyh.js → generate-m9w0rfyh.js} +1 -1
  179. package/dist/chunks/{project-rc52wyyz.js → generate-mepve0dy.js} +28 -28
  180. package/dist/chunks/{project-ag0gjjxr.js → generate-meqv6g6e.js} +29 -29
  181. package/dist/chunks/{project-1j0dje54.js → generate-mfs7rf5z.js} +44 -44
  182. package/dist/chunks/{project-k2h4r4s0.js → generate-mjymc32g.js} +4 -4
  183. package/dist/chunks/{project-fxpfvwpz.js → generate-mn09qs46.js} +8 -8
  184. package/dist/chunks/{project-3ax8ey8r.js → generate-mwdg7gr3.js} +23 -23
  185. package/dist/chunks/{project-b836arpr.js → generate-mwxyq70t.js} +2 -2
  186. package/dist/chunks/{project-w1095t62.js → generate-n3mfym48.js} +10 -10
  187. package/dist/chunks/{project-4kthemsz.js → generate-n8p7g8ff.js} +23 -23
  188. package/dist/chunks/{project-7bx1sm4z.js → generate-n8phb4a1.js} +24 -24
  189. package/dist/chunks/{project-mqzwkyay.js → generate-nd37ta7v.js} +8 -8
  190. package/dist/chunks/{project-qbkfx3nh.js → generate-nqztsxrq.js} +14 -14
  191. package/dist/chunks/{project-9jw9f6a3.js → generate-nx0wqpae.js} +13 -13
  192. package/dist/chunks/{project-fc5rx0ss.js → generate-nxma9dwh.js} +36 -36
  193. package/dist/chunks/{project-p28j5sbe.js → generate-p28j5sbe.js} +2 -2
  194. package/dist/chunks/{project-x3pygry0.js → generate-pg2n4xn0.js} +26 -26
  195. package/dist/chunks/{project-pjvnvgmy.js → generate-pjvnvgmy.js} +1 -1
  196. package/dist/chunks/{project-pknna89w.js → generate-pknna89w.js} +1 -1
  197. package/dist/chunks/{project-6bfnyyfc.js → generate-pnkm92bb.js} +47 -47
  198. package/dist/chunks/{project-5xnbcw5n.js → generate-psb5g46b.js} +23 -23
  199. package/dist/chunks/{project-n7bbcbn9.js → generate-pzbe5kae.js} +34 -34
  200. package/dist/chunks/{project-p487xezt.js → generate-q3hz49bq.js} +11 -11
  201. package/dist/chunks/{project-jexxy024.js → generate-q3t37ft6.js} +3 -3
  202. package/dist/chunks/{project-kt08d52r.js → generate-q5tqy2pa.js} +27 -27
  203. package/dist/chunks/{project-1znrxg4s.js → generate-q8c34ndx.js} +14 -14
  204. package/dist/chunks/{project-xhrkwm7p.js → generate-qayav0h2.js} +30 -30
  205. package/dist/chunks/{project-pnv527nz.js → generate-qg0jgkcp.js} +9 -9
  206. package/dist/chunks/{project-2hnm7rwd.js → generate-qq2a7b2d.js} +6 -6
  207. package/dist/chunks/{project-3fvk8wgj.js → generate-qr33bsk7.js} +13 -13
  208. package/dist/chunks/{project-qsdy395h.js → generate-qsdy395h.js} +1 -1
  209. package/dist/chunks/{project-7dbmnfn4.js → generate-qvb3nf84.js} +8 -8
  210. package/dist/chunks/{project-89tr5x57.js → generate-r28r364k.js} +35 -35
  211. package/dist/chunks/{project-rdw6cm16.js → generate-rdw6cm16.js} +1 -1
  212. package/dist/chunks/{project-dqpc7aqh.js → generate-rv45v1t9.js} +11 -11
  213. package/dist/chunks/{project-mvhgjtyh.js → generate-rw88jhax.js} +13 -13
  214. package/dist/chunks/{project-rpzhdcbd.js → generate-s0e4x3j4.js} +22 -22
  215. package/dist/chunks/{project-z0aj456m.js → generate-s26hbv8p.js} +4 -4
  216. package/dist/chunks/{project-4mjrvyqz.js → generate-s6m25ze6.js} +16 -16
  217. package/dist/chunks/{project-9y6q7jxd.js → generate-s8n8qvwn.js} +7 -7
  218. package/dist/chunks/{project-z9cmzz47.js → generate-scf1vc11.js} +10 -10
  219. package/dist/chunks/{project-6frkz0t9.js → generate-sm4hqy5c.js} +11 -11
  220. package/dist/chunks/{project-0xvyxy1g.js → generate-sykf9ha3.js} +19 -19
  221. package/dist/chunks/{project-z3pw5915.js → generate-t0fxg8b9.js} +5 -5
  222. package/dist/chunks/{project-b27vhd2z.js → generate-t2fc4mz5.js} +4 -4
  223. package/dist/chunks/{project-83adyyr5.js → generate-tavk7hys.js} +45 -45
  224. package/dist/chunks/{project-tazgh4e4.js → generate-tazgh4e4.js} +1 -1
  225. package/dist/chunks/{project-tcezcvh9.js → generate-tcezcvh9.js} +1 -1
  226. package/dist/chunks/{project-tdstcens.js → generate-tdstcens.js} +1 -1
  227. package/dist/chunks/{project-re4grerh.js → generate-tgvpjzzv.js} +13 -13
  228. package/dist/chunks/{project-qwjmgwmn.js → generate-thjxzeng.js} +8 -8
  229. package/dist/chunks/{project-scpykyjp.js → generate-tpky79q6.js} +15 -15
  230. package/dist/chunks/{project-w382z4ym.js → generate-tq5tpcth.js} +3 -3
  231. package/dist/chunks/{project-t96rnwez.js → generate-tsxtcmfm.js} +14 -14
  232. package/dist/chunks/{project-428dsdgf.js → generate-tv1mb0q8.js} +24 -24
  233. package/dist/chunks/{project-tvtrv512.js → generate-tvtrv512.js} +1 -1
  234. package/dist/chunks/{project-bxxa70d5.js → generate-v2sqepxp.js} +23 -23
  235. package/dist/chunks/{project-veqvce7d.js → generate-veqvce7d.js} +1 -1
  236. package/dist/chunks/{project-dvwx623d.js → generate-vkaf6dfs.js} +31 -31
  237. package/dist/chunks/{project-y7sgk7fq.js → generate-vvaxxqy4.js} +41 -41
  238. package/dist/chunks/{project-vzcthcp8.js → generate-vzcthcp8.js} +1 -1
  239. package/dist/chunks/{project-wrn1hqgr.js → generate-w1bs92j7.js} +12 -12
  240. package/dist/chunks/{project-5c0f1prt.js → generate-w1k39n5e.js} +4 -4
  241. package/dist/chunks/{project-w3wsvvr9.js → generate-w3wsvvr9.js} +1 -1
  242. package/dist/chunks/{project-wd87259q.js → generate-wd87259q.js} +1 -1
  243. package/dist/chunks/{project-81pha9jc.js → generate-wf06wpac.js} +12 -12
  244. package/dist/chunks/{project-fwwk8vbp.js → generate-wk5z6jzv.js} +9 -9
  245. package/dist/chunks/{project-beva1xqy.js → generate-wkx6bdd3.js} +35 -35
  246. package/dist/chunks/{project-65fmhb37.js → generate-wq5k2qjs.js} +9 -9
  247. package/dist/chunks/{project-kvs24rry.js → generate-wqqvw1c8.js} +5 -5
  248. package/dist/chunks/{project-6p35vfa4.js → generate-wreftsvd.js} +4 -4
  249. package/dist/chunks/{project-8czk929k.js → generate-wrgx4w2j.js} +5 -5
  250. package/dist/chunks/{project-6n88yxkj.js → generate-wssz113n.js} +8 -8
  251. package/dist/chunks/{project-9nf5h2pw.js → generate-wyg10aaj.js} +26 -26
  252. package/dist/chunks/{project-7dr66c2p.js → generate-wz5mftv5.js} +21 -21
  253. package/dist/chunks/{project-x1ezjp6w.js → generate-x1ezjp6w.js} +1 -1
  254. package/dist/chunks/{project-2re9my94.js → generate-x1xcpfha.js} +5 -5
  255. package/dist/chunks/{project-sq85k8fn.js → generate-x2540b37.js} +11 -11
  256. package/dist/chunks/{project-637svkes.js → generate-x58jw002.js} +17 -17
  257. package/dist/chunks/{project-as8mjwtf.js → generate-xbr0me04.js} +18 -18
  258. package/dist/chunks/{project-ds1tkbfk.js → generate-xebs09ex.js} +25 -25
  259. package/dist/chunks/{project-xnyswzzw.js → generate-xp9wpaq4.js} +24 -24
  260. package/dist/chunks/{project-cmsgpt83.js → generate-xq0xrt9q.js} +25 -25
  261. package/dist/chunks/{project-hzps6v82.js → generate-xsqbfv8n.js} +6 -6
  262. package/dist/chunks/{project-mqy0jkn2.js → generate-xwwz9aqf.js} +4 -4
  263. package/dist/chunks/{project-y31mwd8k.js → generate-xynf7807.js} +15 -15
  264. package/dist/chunks/{project-y1fvbwt7.js → generate-y1fvbwt7.js} +1 -1
  265. package/dist/chunks/{project-dpkg50ah.js → generate-y71avatq.js} +4 -4
  266. package/dist/chunks/{project-hzwch198.js → generate-y8gwgsgx.js} +11 -11
  267. package/dist/chunks/{project-ma48de29.js → generate-y906m0ew.js} +5 -5
  268. package/dist/chunks/{project-cscvjawy.js → generate-yfwz1ge5.js} +19 -19
  269. package/dist/chunks/{project-wexrd5e5.js → generate-ym7n73vr.js} +299 -299
  270. package/dist/chunks/{project-31vws00a.js → generate-yn9kt59b.js} +7 -7
  271. package/dist/chunks/{project-7w3s9kd0.js → generate-yq2cczkq.js} +9 -9
  272. package/dist/chunks/{project-yrhqyw5v.js → generate-yrhqyw5v.js} +1 -1
  273. package/dist/chunks/{project-yrznvahk.js → generate-yrznvahk.js} +2 -2
  274. package/dist/chunks/{project-entwmdpz.js → generate-yxat9xne.js} +35 -35
  275. package/dist/chunks/{project-z0bkrqjs.js → generate-z0bkrqjs.js} +1 -1
  276. package/dist/chunks/{project-eenk6a9p.js → generate-z2xmq33e.js} +5 -5
  277. package/dist/chunks/{project-z63w68vq.js → generate-z63w68vq.js} +2 -2
  278. package/dist/chunks/{project-8gxqpgph.js → generate-zav06jzw.js} +4 -4
  279. package/dist/chunks/{project-qnfry43t.js → generate-zcfwmhvf.js} +47 -47
  280. package/dist/chunks/{project-zeh9ct20.js → generate-zeh9ct20.js} +2 -2
  281. package/dist/chunks/{project-w2qjgwbm.js → generate-zfw9zvab.js} +18 -18
  282. package/dist/chunks/{project-xjf4b6a1.js → generate-zh2a5dp2.js} +3 -3
  283. package/dist/chunks/{project-1jwtn2yg.js → generate-zj4sr8je.js} +5 -5
  284. package/dist/chunks/{project-zr2ceqn5.js → generate-zr2ceqn5.js} +1 -1
  285. package/dist/chunks/{project-0t0zwx0v.js → generate-zvc0f6jz.js} +5 -5
  286. package/dist/chunks/{project-zxq2ej10.js → generate-zxq2ej10.js} +1 -1
  287. package/dist/chunks/{project-q8dgzeae.js → generate-zyaxyk36.js} +32 -32
  288. package/dist/chunks/{project-s0zv74y6.js → generate-zz1cpcq9.js} +28 -28
  289. package/dist/chunks/{project-pte49nrz.js → generate-zz2a84p4.js} +11 -11
  290. package/dist/codemode/catalog.js +1 -1
  291. package/dist/codemode/instructions.js +3 -3
  292. package/dist/codemode/tool.js +3 -3
  293. package/dist/codemode/web.js +1 -1
  294. package/dist/command.js +82 -82
  295. package/dist/config/discovery.js +81 -81
  296. package/dist/config/markdown.js +1 -1
  297. package/dist/config/normalize.js +105 -105
  298. package/dist/config/plugin/agent.js +122 -122
  299. package/dist/config/plugin/command.js +211 -211
  300. package/dist/config/plugin/compaction.js +159 -159
  301. package/dist/config/plugin/compatibility.js +140 -140
  302. package/dist/config/plugin/entry-observer.js +1 -1
  303. package/dist/config/plugin/formatter.js +123 -123
  304. package/dist/config/plugin/image.js +122 -122
  305. package/dist/config/plugin/instruction.js +89 -89
  306. package/dist/config/plugin/location-watcher.js +122 -122
  307. package/dist/config/plugin/mcp.js +127 -127
  308. package/dist/config/plugin/policy.js +122 -122
  309. package/dist/config/plugin/provider.js +122 -122
  310. package/dist/config/plugin/reference.js +124 -124
  311. package/dist/config/plugin/shell.js +122 -122
  312. package/dist/config/plugin/skill-file.js +101 -101
  313. package/dist/config/plugin/skill.js +141 -141
  314. package/dist/config/plugin/snapshot.js +122 -122
  315. package/dist/config/plugin/source.js +125 -125
  316. package/dist/config/plugin/tool-output.js +124 -124
  317. package/dist/config/plugin/websearch.js +121 -121
  318. package/dist/config/plugin/worktree.js +124 -124
  319. package/dist/config/variable.js +3 -3
  320. package/dist/config/watch.js +1 -1
  321. package/dist/config.js +127 -127
  322. package/dist/credential/sql.js +2 -2
  323. package/dist/credential.js +84 -84
  324. package/dist/database/database.js +69 -69
  325. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  326. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  327. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  328. package/dist/database/drizzle/index.js +15 -15
  329. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  332. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  334. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  335. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  336. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  337. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  338. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  339. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  340. package/dist/database/drizzle.js +16 -16
  341. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  342. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  343. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  344. package/dist/database/migration/20260225215848_workspace.js +1 -1
  345. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  346. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  347. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  348. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  349. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  350. package/dist/database/migration/20260323234822_events.js +1 -1
  351. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  352. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  353. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  354. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  355. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  356. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  357. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  358. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  359. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  360. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  361. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  362. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  363. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  364. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  365. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  366. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  367. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  368. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  369. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  370. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  371. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  372. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  373. package/dist/database/migration/20260611035744_credential.js +1 -1
  374. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  375. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  376. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  377. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  378. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  379. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  380. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  381. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  382. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  383. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  384. package/dist/database/migration/20260812213948_worktree.js +1 -1
  385. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  386. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  387. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  388. package/dist/database/migration.gen.js +48 -48
  389. package/dist/database/migration.js +50 -50
  390. package/dist/database/path.js +2 -2
  391. package/dist/database/schema.gen.js +1 -1
  392. package/dist/database/schema.sql.js +1 -1
  393. package/dist/database/sqlite.bun.js +1 -1
  394. package/dist/database/sqlite.js +1 -1
  395. package/dist/database/sqlite.node.js +1 -1
  396. package/dist/database/sqlite.workerd.js +1 -1
  397. package/dist/database/v1-migration.bun.js +78 -78
  398. package/dist/database/v1-migration.js +1 -1
  399. package/dist/effect/app-node-builder.js +368 -368
  400. package/dist/effect/app-node-platform.js +2 -2
  401. package/dist/effect/keyed-mutex.js +3 -3
  402. package/dist/effect/websocket-constructor.js +1 -1
  403. package/dist/environment/driver.js +1 -1
  404. package/dist/environment/environment.js +92 -92
  405. package/dist/environment/exec-defaults.js +2 -2
  406. package/dist/environment/files.js +1 -1
  407. package/dist/environment/index.js +94 -94
  408. package/dist/environment/local.js +2 -2
  409. package/dist/environment/memory.js +2 -2
  410. package/dist/environment/unavailable.js +1 -1
  411. package/dist/event/sql.js +1 -1
  412. package/dist/event-logger.js +73 -73
  413. package/dist/file-access.js +103 -103
  414. package/dist/file-mutation.js +93 -93
  415. package/dist/file-retention.js +1 -1
  416. package/dist/file.js +1 -1
  417. package/dist/filesystem/fff.bun.js +2 -2
  418. package/dist/filesystem/fff.js +1 -1
  419. package/dist/filesystem/fff.node.js +2 -2
  420. package/dist/filesystem/fff.workerd.js +2 -2
  421. package/dist/filesystem/ignore.js +1 -1
  422. package/dist/filesystem/location-watcher-policy.js +6 -6
  423. package/dist/filesystem/location-watcher.js +224 -224
  424. package/dist/filesystem/protected.js +1 -1
  425. package/dist/filesystem/search.js +96 -96
  426. package/dist/filesystem/watcher-binding.js +1 -1
  427. package/dist/filesystem/watcher.js +15 -15
  428. package/dist/filesystem.js +101 -101
  429. package/dist/form.js +83 -83
  430. package/dist/formatter/builtins.js +4 -4
  431. package/dist/formatter.js +88 -88
  432. package/dist/generate.js +100 -100
  433. package/dist/git.js +10 -10
  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 +90 -90
  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/id/id.js +1 -1
  454. package/dist/image/photon.js +2 -2
  455. package/dist/image.js +6 -6
  456. package/dist/instance/service.js +5 -5
  457. package/dist/instance.js +359 -359
  458. package/dist/instruction-discovery.js +84 -84
  459. package/dist/instructions/builtins.js +86 -86
  460. package/dist/instructions/index.js +3 -3
  461. package/dist/integration/connection.js +3 -3
  462. package/dist/integration.js +85 -85
  463. package/dist/job.js +78 -78
  464. package/dist/kv/sql.js +2 -2
  465. package/dist/kv.js +72 -72
  466. package/dist/location-activity.js +134 -134
  467. package/dist/location-lifecycle.js +105 -105
  468. package/dist/location-mutation.js +103 -103
  469. package/dist/location-service-map.js +85 -85
  470. package/dist/location-services.js +356 -356
  471. package/dist/location.js +84 -84
  472. package/dist/mcp/client.js +90 -90
  473. package/dist/mcp/index.js +107 -107
  474. package/dist/mcp/instructions.js +125 -125
  475. package/dist/mcp/oauth.js +77 -77
  476. package/dist/mcp/stdio.js +89 -89
  477. package/dist/mime.js +1 -1
  478. package/dist/modal/models.js +90 -90
  479. package/dist/model-resolver.js +97 -97
  480. package/dist/model.js +101 -101
  481. package/dist/models-dev.js +100 -100
  482. package/dist/oauth/page.js +1 -1
  483. package/dist/permission/saved.js +81 -81
  484. package/dist/permission/sql.js +5 -5
  485. package/dist/permission.js +112 -112
  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 +85 -85
  489. package/dist/persistent-pty/pty-binding.js +1 -1
  490. package/dist/persistent-pty.js +74 -74
  491. package/dist/plugin/agent.js +99 -99
  492. package/dist/plugin/command.js +96 -96
  493. package/dist/plugin/compaction.js +130 -130
  494. package/dist/plugin/hooks.js +5 -5
  495. package/dist/plugin/host.js +217 -217
  496. package/dist/plugin/identity.js +3 -3
  497. package/dist/plugin/instance.js +5 -5
  498. package/dist/plugin/internal.js +330 -330
  499. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  500. package/dist/plugin/models-dev.js +95 -95
  501. package/dist/plugin/module.js +5 -5
  502. package/dist/plugin/optimize.js +4 -4
  503. package/dist/plugin/plan.js +101 -101
  504. package/dist/plugin/promise.js +1 -1
  505. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  506. package/dist/plugin/provider/azure.js +121 -121
  507. package/dist/plugin/provider/cerebras.js +1 -1
  508. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  509. package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
  510. package/dist/plugin/provider/cohere.js +2 -2
  511. package/dist/plugin/provider/configured.js +118 -118
  512. package/dist/plugin/provider/digitalocean.js +92 -92
  513. package/dist/plugin/provider/dynamic.js +2 -2
  514. package/dist/plugin/provider/factory.js +1 -1
  515. package/dist/plugin/provider/gateway.js +2 -2
  516. package/dist/plugin/provider/github-copilot.js +92 -92
  517. package/dist/plugin/provider/gitlab.js +90 -90
  518. package/dist/plugin/provider/google-vertex.js +89 -89
  519. package/dist/plugin/provider/kilo.js +1 -1
  520. package/dist/plugin/provider/llmgateway.js +76 -76
  521. package/dist/plugin/provider/lmstudio.js +119 -119
  522. package/dist/plugin/provider/modal.js +91 -91
  523. package/dist/plugin/provider/nvidia.js +1 -1
  524. package/dist/plugin/provider/ollama.js +119 -119
  525. package/dist/plugin/provider/openai.js +93 -93
  526. package/dist/plugin/provider/opencode.js +92 -92
  527. package/dist/plugin/provider/openrouter.js +90 -90
  528. package/dist/plugin/provider/perplexity.js +2 -2
  529. package/dist/plugin/provider/poe.js +77 -77
  530. package/dist/plugin/provider/prompt-cache-key.js +89 -89
  531. package/dist/plugin/provider/sap-ai-core.js +90 -90
  532. package/dist/plugin/provider/sdk-factory.js +1 -1
  533. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  534. package/dist/plugin/provider/venice.js +2 -2
  535. package/dist/plugin/provider/vercel.js +89 -89
  536. package/dist/plugin/provider/vllm.js +119 -119
  537. package/dist/plugin/provider/xai.js +90 -90
  538. package/dist/plugin/provider/zenmux.js +1 -1
  539. package/dist/plugin/provider.js +158 -158
  540. package/dist/plugin/sdk.js +69 -69
  541. package/dist/plugin/service.js +3 -3
  542. package/dist/plugin/skill.js +138 -138
  543. package/dist/plugin/source-directory.js +1 -1
  544. package/dist/plugin/supervisor.js +347 -347
  545. package/dist/plugin/tool-input-repair.js +4 -4
  546. package/dist/plugin/update.js +6 -6
  547. package/dist/plugin/vcs/git.js +85 -85
  548. package/dist/plugin/vcs/hg.js +85 -85
  549. package/dist/plugin/warming.js +118 -118
  550. package/dist/plugin/websearch/exa.js +7 -7
  551. package/dist/plugin/websearch/firecrawl.js +8 -8
  552. package/dist/plugin/websearch/index.js +9 -9
  553. package/dist/plugin/websearch/mcp.js +2 -2
  554. package/dist/plugin/websearch/parallel.js +8 -8
  555. package/dist/plugin/websearch/tavily.js +6 -6
  556. package/dist/plugin/websearch/tinyfish.js +8 -8
  557. package/dist/plugin.js +228 -228
  558. package/dist/project/schema.js +2 -2
  559. package/dist/project/sql.js +4 -4
  560. package/dist/project.js +83 -83
  561. package/dist/provider.js +100 -100
  562. package/dist/pty/protocol.js +1 -1
  563. package/dist/pty/schema.js +3 -3
  564. package/dist/pty/ticket.js +1 -1
  565. package/dist/pty.js +97 -97
  566. package/dist/reference/instructions.js +84 -84
  567. package/dist/reference.js +88 -88
  568. package/dist/repository-cache.js +80 -80
  569. package/dist/repository.js +3 -3
  570. package/dist/ripgrep/binary.js +2 -2
  571. package/dist/ripgrep.js +94 -94
  572. package/dist/rpc.js +85 -85
  573. package/dist/schema.js +1 -1
  574. package/dist/session/command.js +73 -73
  575. package/dist/session/compaction.js +133 -133
  576. package/dist/session/context.js +151 -151
  577. package/dist/session/diff.js +87 -87
  578. package/dist/session/environment.js +5 -5
  579. package/dist/session/error.js +5 -5
  580. package/dist/session/event.js +1 -1
  581. package/dist/session/execution/restart.js +223 -223
  582. package/dist/session/execution.js +125 -125
  583. package/dist/session/generate.js +150 -150
  584. package/dist/session/history.js +13 -13
  585. package/dist/session/inbox.js +89 -89
  586. package/dist/session/info.js +3 -3
  587. package/dist/session/instruction-entry.js +78 -78
  588. package/dist/session/instruction-state.js +8 -8
  589. package/dist/session/instructions.js +96 -96
  590. package/dist/session/message-updater.js +2 -2
  591. package/dist/session/message.js +1 -1
  592. package/dist/session/model-request.js +116 -116
  593. package/dist/session/model-transport.js +7 -7
  594. package/dist/session/move.js +129 -129
  595. package/dist/session/projector.js +85 -85
  596. package/dist/session/prompt.js +104 -104
  597. package/dist/session/provider-context.js +3 -3
  598. package/dist/session/revert.js +89 -89
  599. package/dist/session/run-coordinator.js +3 -3
  600. package/dist/session/runner/index.js +3 -3
  601. package/dist/session/runner/llm.js +228 -228
  602. package/dist/session/runner/max-steps.js +1 -1
  603. package/dist/session/runner/model.js +97 -97
  604. package/dist/session/runner/publish-llm-event.js +3 -3
  605. package/dist/session/runner/retry.js +113 -113
  606. package/dist/session/runner/step.js +123 -123
  607. package/dist/session/runner/to-llm-message.js +2 -2
  608. package/dist/session/schema.js +5 -5
  609. package/dist/session/session.js +169 -169
  610. package/dist/session/shell.js +137 -137
  611. package/dist/session/skill.js +102 -102
  612. package/dist/session/sql.js +5 -5
  613. package/dist/session/stats.js +74 -74
  614. package/dist/session/store.js +86 -86
  615. package/dist/session/subagent-completion.js +1 -1
  616. package/dist/session/subagent-job.js +207 -207
  617. package/dist/session/system-prompt.js +1 -1
  618. package/dist/session/title.js +149 -149
  619. package/dist/session/to-session-error.js +110 -110
  620. package/dist/session/transfer.js +222 -222
  621. package/dist/session/usage.js +1 -1
  622. package/dist/session.js +217 -217
  623. package/dist/shell/parse.js +6 -6
  624. package/dist/shell/result.js +1 -1
  625. package/dist/shell/scan.js +1 -1
  626. package/dist/shell/select.js +15 -15
  627. package/dist/shell.js +137 -137
  628. package/dist/skill/discovery.js +6 -6
  629. package/dist/skill/instructions.js +106 -106
  630. package/dist/skill.js +109 -109
  631. package/dist/snapshot.js +90 -90
  632. package/dist/state.js +1 -1
  633. package/dist/tool/html-markdown.js +1 -1
  634. package/dist/tool/http-body.js +1 -1
  635. package/dist/tool/mcp.js +124 -124
  636. package/dist/tool/plugin/edit.js +117 -117
  637. package/dist/tool/plugin/file-diff.js +1 -1
  638. package/dist/tool/plugin/glob.js +123 -123
  639. package/dist/tool/plugin/grep.js +123 -123
  640. package/dist/tool/plugin/opencode.js +3 -3
  641. package/dist/tool/plugin/patch.js +117 -117
  642. package/dist/tool/plugin/question.js +102 -102
  643. package/dist/tool/plugin/read.js +124 -124
  644. package/dist/tool/plugin/shell.js +214 -214
  645. package/dist/tool/plugin/skill.js +110 -110
  646. package/dist/tool/plugin/subagent.js +216 -216
  647. package/dist/tool/plugin/webfetch.js +109 -109
  648. package/dist/tool/plugin/websearch.js +111 -111
  649. package/dist/tool/plugin/write.js +121 -121
  650. package/dist/tool/read-filesystem.js +99 -99
  651. package/dist/tool/runtime.js +1 -1
  652. package/dist/tool-output.js +8 -8
  653. package/dist/tool.js +14 -14
  654. package/dist/util/error-summary.js +1 -1
  655. package/dist/util/error.js +1 -1
  656. package/dist/util/git-executable.js +2 -2
  657. package/dist/util/iife.js +1 -1
  658. package/dist/util/lazy.js +1 -1
  659. package/dist/util/slug.js +1 -1
  660. package/dist/util/token.js +1 -1
  661. package/dist/util/which.js +1 -1
  662. package/dist/util/wildcard.js +1 -1
  663. package/dist/v1/config/agent.js +5 -5
  664. package/dist/v1/config/attachment.js +4 -4
  665. package/dist/v1/config/command.js +3 -3
  666. package/dist/v1/config/config.js +16 -16
  667. package/dist/v1/config/error.js +2 -2
  668. package/dist/v1/config/formatter.js +7 -7
  669. package/dist/v1/config/layout.js +1 -1
  670. package/dist/v1/config/lsp.js +5 -5
  671. package/dist/v1/config/mcp.js +4 -4
  672. package/dist/v1/config/migrate.js +91 -91
  673. package/dist/v1/config/permission.js +3 -3
  674. package/dist/v1/config/plugin.js +3 -3
  675. package/dist/v1/config/provider-options.js +1 -1
  676. package/dist/v1/config/provider.js +4 -4
  677. package/dist/v1/config/server.js +2 -2
  678. package/dist/v1/config/skills.js +3 -3
  679. package/dist/v1/permission.js +1 -1
  680. package/dist/variant.js +92 -92
  681. package/dist/vcs/patch.js +1 -1
  682. package/dist/vcs.js +88 -88
  683. package/dist/websearch.js +81 -81
  684. package/dist/wellknown/plugin.js +75 -75
  685. package/dist/wellknown.js +80 -80
  686. package/dist/workspace/driver.js +7 -7
  687. package/dist/workspace/sql.js +1 -1
  688. package/dist/workspace.js +77 -77
  689. package/dist/worktree/directory.js +2 -2
  690. package/dist/worktree/git.js +10 -10
  691. package/dist/worktree/sql.js +5 -5
  692. package/dist/worktree/strategies.js +88 -88
  693. package/dist/worktree.js +97 -97
  694. package/package.json +8 -8
  695. package/dist/chunks/project-68vj9s6j.js +0 -252
  696. package/dist/chunks/project-gbadjzag.js +0 -4
  697. package/dist/chunks/project-m01yfwga.js +0 -26
  698. package/dist/chunks/project-pf31ssb9.js +0 -18
  699. /package/dist/chunks/{project-0qkdqm5v.js → generate-0qkdqm5v.js} +0 -0
  700. /package/dist/chunks/{project-0zkw76rk.js → generate-0zkw76rk.js} +0 -0
  701. /package/dist/chunks/{project-17cy0kzp.js → generate-17cy0kzp.js} +0 -0
  702. /package/dist/chunks/{project-1cnp2v09.js → generate-1cnp2v09.js} +0 -0
  703. /package/dist/chunks/{project-1kg9ymc8.js → generate-1kg9ymc8.js} +0 -0
  704. /package/dist/chunks/{project-24dcb14g.js → generate-24dcb14g.js} +0 -0
  705. /package/dist/chunks/{project-2710q6r3.js → generate-2710q6r3.js} +0 -0
  706. /package/dist/chunks/{project-2axfhc9x.js → generate-2axfhc9x.js} +0 -0
  707. /package/dist/chunks/{project-2c3vjs8z.js → generate-2c3vjs8z.js} +0 -0
  708. /package/dist/chunks/{project-359p4xyc.js → generate-359p4xyc.js} +0 -0
  709. /package/dist/chunks/{project-3asan66x.js → generate-3asan66x.js} +0 -0
  710. /package/dist/chunks/{project-3v8g72cx.js → generate-3v8g72cx.js} +0 -0
  711. /package/dist/chunks/{project-3w5fmr99.js → generate-3w5fmr99.js} +0 -0
  712. /package/dist/chunks/{project-3wcehsnq.js → generate-3wcehsnq.js} +0 -0
  713. /package/dist/chunks/{project-43n2bw4t.js → generate-43n2bw4t.js} +0 -0
  714. /package/dist/chunks/{project-4knz6hnm.js → generate-4knz6hnm.js} +0 -0
  715. /package/dist/chunks/{project-4vcrnpx2.js → generate-4vcrnpx2.js} +0 -0
  716. /package/dist/chunks/{project-4y7fprxs.js → generate-4y7fprxs.js} +0 -0
  717. /package/dist/chunks/{project-53557ph1.js → generate-53557ph1.js} +0 -0
  718. /package/dist/chunks/{project-550bvhaj.js → generate-550bvhaj.js} +0 -0
  719. /package/dist/chunks/{project-5qd3pb7m.js → generate-5qd3pb7m.js} +0 -0
  720. /package/dist/chunks/{project-6prwharc.js → generate-6prwharc.js} +0 -0
  721. /package/dist/chunks/{project-7akdwqpd.js → generate-7akdwqpd.js} +0 -0
  722. /package/dist/chunks/{project-7m9af43g.js → generate-7m9af43g.js} +0 -0
  723. /package/dist/chunks/{project-822emrt2.js → generate-822emrt2.js} +0 -0
  724. /package/dist/chunks/{project-88xbtdfr.js → generate-88xbtdfr.js} +0 -0
  725. /package/dist/chunks/{project-8n3pysct.js → generate-8n3pysct.js} +0 -0
  726. /package/dist/chunks/{project-922hggd3.js → generate-922hggd3.js} +0 -0
  727. /package/dist/chunks/{project-9a4afbnw.js → generate-9a4afbnw.js} +0 -0
  728. /package/dist/chunks/{project-9rqn6x4v.js → generate-9rqn6x4v.js} +0 -0
  729. /package/dist/chunks/{project-a6k6eb26.js → generate-a6k6eb26.js} +0 -0
  730. /package/dist/chunks/{project-af5trqkr.js → generate-af5trqkr.js} +0 -0
  731. /package/dist/chunks/{project-afrmfg78.js → generate-afrmfg78.js} +0 -0
  732. /package/dist/chunks/{project-aqzs7mqg.js → generate-aqzs7mqg.js} +0 -0
  733. /package/dist/chunks/{project-atq7p7m5.js → generate-atq7p7m5.js} +0 -0
  734. /package/dist/chunks/{project-bkyjaxrp.js → generate-bkyjaxrp.js} +0 -0
  735. /package/dist/chunks/{project-bmr6ed5q.js → generate-bmr6ed5q.js} +0 -0
  736. /package/dist/chunks/{project-cf4snx6d.js → generate-cf4snx6d.js} +0 -0
  737. /package/dist/chunks/{project-cvy3z8tj.js → generate-cvy3z8tj.js} +0 -0
  738. /package/dist/chunks/{project-d9fn303g.js → generate-d9fn303g.js} +0 -0
  739. /package/dist/chunks/{project-d9jj8t3e.js → generate-d9jj8t3e.js} +0 -0
  740. /package/dist/chunks/{project-dajrwvna.js → generate-dajrwvna.js} +0 -0
  741. /package/dist/chunks/{project-dap0rakb.js → generate-dap0rakb.js} +0 -0
  742. /package/dist/chunks/{project-df08tz66.js → generate-df08tz66.js} +0 -0
  743. /package/dist/chunks/{project-dy18nga0.js → generate-dy18nga0.js} +0 -0
  744. /package/dist/chunks/{project-e5kj55wp.js → generate-e5kj55wp.js} +0 -0
  745. /package/dist/chunks/{project-e73j6tqm.js → generate-e73j6tqm.js} +0 -0
  746. /package/dist/chunks/{project-ec1grn59.js → generate-ec1grn59.js} +0 -0
  747. /package/dist/chunks/{project-eh3zwz77.js → generate-eh3zwz77.js} +0 -0
  748. /package/dist/chunks/{project-emrn6kk6.js → generate-emrn6kk6.js} +0 -0
  749. /package/dist/chunks/{project-f0mxakyp.js → generate-f0mxakyp.js} +0 -0
  750. /package/dist/chunks/{project-f6n9ztr4.js → generate-f6n9ztr4.js} +0 -0
  751. /package/dist/chunks/{project-faypxj3z.js → generate-faypxj3z.js} +0 -0
  752. /package/dist/chunks/{project-fd410y7t.js → generate-fd410y7t.js} +0 -0
  753. /package/dist/chunks/{project-fxgpk5d8.js → generate-fxgpk5d8.js} +0 -0
  754. /package/dist/chunks/{project-g4wezp1m.js → generate-g4wezp1m.js} +0 -0
  755. /package/dist/chunks/{project-g86h250q.js → generate-g86h250q.js} +0 -0
  756. /package/dist/chunks/{project-gebd4c9n.js → generate-gebd4c9n.js} +0 -0
  757. /package/dist/chunks/{project-gftt206x.js → generate-gftt206x.js} +0 -0
  758. /package/dist/chunks/{project-hjbc5kem.js → generate-hjbc5kem.js} +0 -0
  759. /package/dist/chunks/{project-hk9envan.js → generate-hk9envan.js} +0 -0
  760. /package/dist/chunks/{project-j2ntwpah.js → generate-j2ntwpah.js} +0 -0
  761. /package/dist/chunks/{project-j5zkgpj8.js → generate-j5zkgpj8.js} +0 -0
  762. /package/dist/chunks/{project-jjkms2e6.js → generate-jjkms2e6.js} +0 -0
  763. /package/dist/chunks/{project-jr7sbwjy.js → generate-jr7sbwjy.js} +0 -0
  764. /package/dist/chunks/{project-jwfs4k6c.js → generate-jwfs4k6c.js} +0 -0
  765. /package/dist/chunks/{project-jzg6c2d5.js → generate-jzg6c2d5.js} +0 -0
  766. /package/dist/chunks/{project-mp448xyj.js → generate-mp448xyj.js} +0 -0
  767. /package/dist/chunks/{project-msx8hqn2.js → generate-msx8hqn2.js} +0 -0
  768. /package/dist/chunks/{project-n05xt0ee.js → generate-n05xt0ee.js} +0 -0
  769. /package/dist/chunks/{project-n3j8tn72.js → generate-n3j8tn72.js} +0 -0
  770. /package/dist/chunks/{project-njntx4h6.js → generate-njntx4h6.js} +0 -0
  771. /package/dist/chunks/{project-q3sfg36h.js → generate-q3sfg36h.js} +0 -0
  772. /package/dist/chunks/{project-q74kybfr.js → generate-q74kybfr.js} +0 -0
  773. /package/dist/chunks/{project-qaymkmh1.js → generate-qaymkmh1.js} +0 -0
  774. /package/dist/chunks/{project-qb87gjwd.js → generate-qb87gjwd.js} +0 -0
  775. /package/dist/chunks/{project-qfa1cgps.js → generate-qfa1cgps.js} +0 -0
  776. /package/dist/chunks/{project-qg3g05ea.js → generate-qg3g05ea.js} +0 -0
  777. /package/dist/chunks/{project-qrg20bc0.js → generate-qrg20bc0.js} +0 -0
  778. /package/dist/chunks/{project-rcb2kzg1.js → generate-rcb2kzg1.js} +0 -0
  779. /package/dist/chunks/{project-sdp7kfr6.js → generate-sdp7kfr6.js} +0 -0
  780. /package/dist/chunks/{project-sk3qaz4a.js → generate-sk3qaz4a.js} +0 -0
  781. /package/dist/chunks/{project-ssg3fenm.js → generate-ssg3fenm.js} +0 -0
  782. /package/dist/chunks/{project-twg0f83k.js → generate-twg0f83k.js} +0 -0
  783. /package/dist/chunks/{project-w803qqfp.js → generate-w803qqfp.js} +0 -0
  784. /package/dist/chunks/{project-wc3fc9cn.js → generate-wc3fc9cn.js} +0 -0
  785. /package/dist/chunks/{project-wer8tq1h.js → generate-wer8tq1h.js} +0 -0
  786. /package/dist/chunks/{project-wtztk69x.js → generate-wtztk69x.js} +0 -0
  787. /package/dist/chunks/{project-x0ckcb58.js → generate-x0ckcb58.js} +0 -0
  788. /package/dist/chunks/{project-x61499pn.js → generate-x61499pn.js} +0 -0
  789. /package/dist/chunks/{project-y44na4kk.js → generate-y44na4kk.js} +0 -0
  790. /package/dist/chunks/{project-y8cydn3q.js → generate-y8cydn3q.js} +0 -0
  791. /package/dist/chunks/{project-y8f7s663.js → generate-y8f7s663.js} +0 -0
  792. /package/dist/chunks/{project-ygaqb7jw.js → generate-ygaqb7jw.js} +0 -0
  793. /package/dist/chunks/{project-ym463w8f.js → generate-ym463w8f.js} +0 -0
  794. /package/dist/chunks/{project-z9919s4g.js → generate-z9919s4g.js} +0 -0
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  ephemeral2,
3
- Service82,
4
- node86
5
- } from "./project-4mjrvyqz.js";
3
+ Service78,
4
+ node82
5
+ } from "./generate-s6m25ze6.js";
6
6
  import {
7
- Service73,
8
- node77
9
- } from "./project-9jw9f6a3.js";
7
+ Service69,
8
+ node73
9
+ } from "./generate-nx0wqpae.js";
10
10
  import {
11
11
  __export
12
- } from "./project-9rqn6x4v.js";
12
+ } from "./generate-9rqn6x4v.js";
13
13
 
14
14
  // src/wellknown.ts
15
15
  var exports_wellknown = {};
16
16
  __export(exports_wellknown, {
17
17
  Auth: () => Auth2,
18
18
  Config: () => Config2,
19
- Event: () => Event15,
19
+ Event: () => Event11,
20
20
  Manifest: () => Manifest2,
21
21
  RemoteConfig: () => RemoteConfig2,
22
- Service: () => Service72,
22
+ Service: () => Service55,
23
23
  WellKnown: () => exports_wellknown,
24
24
  inspect: () => inspect2,
25
- node: () => node76,
26
- resolve: () => resolve3
25
+ node: () => node59,
26
+ resolve: () => resolve4
27
27
  });
28
28
  import { Integration } from "@opencode/schema/integration";
29
29
  import { Context, Effect, Layer, Ref, Schema, Semaphore } from "effect";
@@ -46,9 +46,9 @@ var Manifest2 = Schema.Struct({
46
46
  remote_config: Schema.optional(RemoteConfig2)
47
47
  }).annotate({ identifier: "WellKnown.Manifest" });
48
48
 
49
- class Service72 extends Context.Service()("@opencode/WellKnown") {
49
+ class Service55 extends Context.Service()("@opencode/WellKnown") {
50
50
  }
51
- var Event15 = {
51
+ var Event11 = {
52
52
  Updated: ephemeral2({ type: "wellknown.updated", schema: {} })
53
53
  };
54
54
  var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
@@ -56,7 +56,7 @@ var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
56
56
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
57
57
  return yield* http.execute(HttpClientRequest.get(url).pipe(HttpClientRequest.acceptJson)).pipe(Effect.flatMap(HttpClientResponse.schemaBodyJson(Manifest2)), Effect.mapError((cause) => new Error(`Failed to load wellknown manifest from ${url}`, { cause })));
58
58
  });
59
- var resolve3 = Effect.fn("WellKnown.resolve")(function* (input) {
59
+ var resolve4 = Effect.fn("WellKnown.resolve")(function* (input) {
60
60
  const manifest = yield* inspect2(input.origin);
61
61
  return yield* resolveEntry({ origin: input.origin, integrationID: Integration.ID.make(input.origin.replace(/\/+$/, "")), manifest }, input.variables ?? {});
62
62
  });
@@ -75,10 +75,10 @@ var resolveEntry = Effect.fnUntraced(function* (entry, variables) {
75
75
  });
76
76
  var sourcesKey = "wellknown:sources";
77
77
  var Sources = Schema.Array(Schema.String);
78
- var layer = Layer.effect(Service72, Effect.gen(function* () {
78
+ var layer = Layer.effect(Service55, Effect.gen(function* () {
79
79
  const http = yield* HttpClient.HttpClient;
80
- const kv = yield* Service73;
81
- const bus = yield* Service82;
80
+ const kv = yield* Service69;
81
+ const bus = yield* Service78;
82
82
  const cache = yield* Ref.make(new Map);
83
83
  const lock = Semaphore.makeUnsafe(1);
84
84
  const loadEntry = Effect.fn("WellKnown.loadEntry")(function* (origin) {
@@ -109,10 +109,10 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
109
109
  if (!changed)
110
110
  return false;
111
111
  yield* Ref.set(cache, next);
112
- yield* bus.publish(Event15.Updated, {});
112
+ yield* bus.publish(Event11.Updated, {});
113
113
  return true;
114
114
  }, (effect) => lock.withPermit(effect));
115
- return Service72.of({
115
+ return Service55.of({
116
116
  entries: load,
117
117
  snapshot: () => Array.from(Ref.getUnsafe(cache).values()),
118
118
  refresh,
@@ -125,7 +125,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
125
125
  const origins = Schema.is(Sources)(sources) ? sources : [];
126
126
  yield* kv.set(sourcesKey, Array.from(new Set([...origins, origin])));
127
127
  yield* Ref.update(cache, (current) => new Map(current).set(origin, entry));
128
- yield* bus.publish(Event15.Updated, {});
128
+ yield* bus.publish(Event11.Updated, {});
129
129
  return entry;
130
130
  }, (effect, _value) => lock.withPermit(effect)),
131
131
  remove: Effect.fn("WellKnown.remove")(function* (value) {
@@ -138,11 +138,11 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
138
138
  next.delete(origin);
139
139
  return next;
140
140
  });
141
- yield* bus.publish(Event15.Updated, {});
141
+ yield* bus.publish(Event11.Updated, {});
142
142
  }, (effect, _value) => lock.withPermit(effect)),
143
143
  resolve: Effect.fn("WellKnown.resolveEntry")((entry, variables) => resolveEntry(entry, variables).pipe(Effect.provideService(HttpClient.HttpClient, http)))
144
144
  });
145
145
  }));
146
- var node76 = makeGlobalNode({ service: Service72, layer, deps: [httpClient, node77, node86] });
146
+ var node59 = makeGlobalNode({ service: Service55, layer, deps: [httpClient, node73, node82] });
147
147
 
148
- export { Auth2, RemoteConfig2, Config2, Manifest2, Service72, Event15, inspect2, resolve3, node76, exports_wellknown };
148
+ export { Auth2, RemoteConfig2, Config2, Manifest2, Service55, Event11, inspect2, resolve4, node59, exports_wellknown };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createProviderPlugin2
3
- } from "./project-ym463w8f.js";
3
+ } from "./generate-ym463w8f.js";
4
4
 
5
5
  // src/plugin/provider/perplexity.ts
6
6
  var PerplexityPlugin2 = createProviderPlugin2({
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./project-922hggd3.js";
4
+ } from "./generate-922hggd3.js";
5
5
  import {
6
6
  Repository2,
7
7
  TreeID2,
8
- Service81,
9
- node85
10
- } from "./project-74rrnwt7.js";
11
- import {
12
8
  Service79,
13
9
  node83
14
- } from "./project-qbkfx3nh.js";
10
+ } from "./generate-kns1vj7f.js";
11
+ import {
12
+ Service76,
13
+ node80
14
+ } from "./generate-nqztsxrq.js";
15
15
  import {
16
16
  create3
17
- } from "./project-rdw6cm16.js";
17
+ } from "./generate-rdw6cm16.js";
18
18
  import {
19
19
  __export
20
- } from "./project-9rqn6x4v.js";
20
+ } from "./generate-9rqn6x4v.js";
21
21
 
22
22
  // src/snapshot.ts
23
23
  var exports_snapshot2 = {};
24
24
  __export(exports_snapshot2, {
25
- Error: () => Error4,
26
- ID: () => ID5,
27
- Service: () => Service42,
25
+ Error: () => Error3,
26
+ ID: () => ID6,
27
+ Service: () => Service46,
28
28
  Snapshot: () => exports_snapshot2,
29
- node: () => node46,
29
+ node: () => node49,
30
30
  noopLayer: () => noopLayer2
31
31
  });
32
32
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -34,22 +34,22 @@ import path from "path";
34
34
  import { Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
35
35
  import { FSUtil } from "@opencode/util/fs-util";
36
36
  import { Global } from "@opencode/util/global";
37
- import { ID as ID5 } from "@opencode/schema/snapshot";
37
+ import { ID as ID6 } from "@opencode/schema/snapshot";
38
38
  import { Hash } from "@opencode/util/hash";
39
- class Error4 extends Schema.TaggedError()("Snapshot.Error", {
39
+ class Error3 extends Schema.TaggedError()("Snapshot.Error", {
40
40
  operation: Schema.Literals(["capture", "files", "diff", "restore"]),
41
41
  message: Schema.String,
42
42
  cause: Schema.optional(Schema.Defect())
43
43
  }) {
44
44
  }
45
45
 
46
- class Service42 extends Context.Service()("@opencode/Snapshot") {
46
+ class Service46 extends Context.Service()("@opencode/Snapshot") {
47
47
  }
48
- var layer = Layer.effect(Service42, Effect.gen(function* () {
48
+ var layer = Layer.effect(Service46, Effect.gen(function* () {
49
49
  const fs = yield* FSUtil.Service;
50
- const git = yield* Service81;
50
+ const git = yield* Service79;
51
51
  const global = yield* Global.Service;
52
- const location = yield* Service79;
52
+ const location = yield* Service76;
53
53
  const lifetime = yield* Scope.Scope;
54
54
  const state = create3({
55
55
  name: "snapshot",
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service42, Effect.gen(function* () {
63
63
  const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
64
64
  const source = yield* git.repo.discover(location.project.directory);
65
65
  if (!source)
66
- return yield* new Error4({ operation: "capture", message: "Project is not a Git repository" });
66
+ return yield* new Error3({ operation: "capture", message: "Project is not a Git repository" });
67
67
  const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
68
68
  const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
69
69
  const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service42, Effect.gen(function* () {
73
73
  const scope = Effect.fnUntraced(function* (worktree) {
74
74
  const relative = path.relative(worktree, location.directory);
75
75
  if (relative.startsWith("..") || path.isAbsolute(relative))
76
- return yield* new Error4({ operation: "capture", message: "Location is outside the project" });
76
+ return yield* new Error3({ operation: "capture", message: "Location is outside the project" });
77
77
  return RelativePath2.make(relative.replaceAll("\\", "/") || ".");
78
78
  });
79
79
  const enabled = () => location.vcs?.type === "git" && state.get().enabled;
@@ -82,7 +82,7 @@ var layer = Layer.effect(Service42, Effect.gen(function* () {
82
82
  return;
83
83
  return yield* Effect.gen(function* () {
84
84
  const repo = yield* repository;
85
- return ID5.make(yield* git.tree.capture({
85
+ return ID6.make(yield* git.tree.capture({
86
86
  repository: repo.snapshotRepository,
87
87
  scopes: [yield* scope(repo.worktree)],
88
88
  ignores: repo.source,
@@ -127,25 +127,25 @@ var layer = Layer.effect(Service42, Effect.gen(function* () {
127
127
  for (const [file, snapshot] of input.files) {
128
128
  const absolute = path.resolve(worktree, file);
129
129
  if (!FSUtil.contains(worktree, absolute))
130
- return yield* new Error4({ operation: "restore", message: `Path escapes the project: ${file}` });
130
+ return yield* new Error3({ operation: "restore", message: `Path escapes the project: ${file}` });
131
131
  files.set(file, TreeID2.make(snapshot));
132
132
  }
133
133
  return files;
134
134
  });
135
135
  const restore = Effect.fn("Snapshot.restore")(function* (input) {
136
136
  if (!enabled())
137
- return yield* new Error4({ operation: "restore", message: "Snapshots are disabled" });
137
+ return yield* new Error3({ operation: "restore", message: "Snapshots are disabled" });
138
138
  const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
139
139
  yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
140
140
  });
141
- return Service42.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
141
+ return Service46.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
142
142
  }).pipe(Effect.withSpan("Snapshot.boot")));
143
- var node46 = makeLocationNode({
144
- service: Service42,
143
+ var node49 = makeLocationNode({
144
+ service: Service46,
145
145
  layer,
146
- deps: [FSUtil.node, node85, Global.node, node83]
146
+ deps: [FSUtil.node, node83, Global.node, node80]
147
147
  });
148
- var noopLayer2 = Layer.succeed(Service42, Service42.of({
148
+ var noopLayer2 = Layer.succeed(Service46, Service46.of({
149
149
  transform: () => Effect.succeed({ dispose: Effect.void }),
150
150
  reload: () => Effect.void,
151
151
  capture: () => Effect.undefined,
@@ -154,13 +154,13 @@ var noopLayer2 = Layer.succeed(Service42, Service42.of({
154
154
  restore: () => Effect.void
155
155
  }));
156
156
  function failure(operation, cause) {
157
- if (cause instanceof Error4 && cause.operation === operation)
157
+ if (cause instanceof Error3 && cause.operation === operation)
158
158
  return cause;
159
- return new Error4({
159
+ return new Error3({
160
160
  operation,
161
161
  message: cause instanceof globalThis.Error ? cause.message : String(cause),
162
162
  cause
163
163
  });
164
164
  }
165
165
 
166
- export { ID5, Error4, Service42, node46, noopLayer2, exports_snapshot2 };
166
+ export { ID6, Error3, Service46, node49, noopLayer2, exports_snapshot2 };
@@ -1,62 +1,62 @@
1
1
  import {
2
2
  NonNegativeInt2
3
- } from "./project-922hggd3.js";
3
+ } from "./generate-922hggd3.js";
4
4
  import {
5
5
  latest2,
6
- Service64
7
- } from "./project-83adyyr5.js";
6
+ Service42
7
+ } from "./generate-tavk7hys.js";
8
8
  import {
9
9
  typeFollowing2
10
- } from "./project-2a5m3afh.js";
10
+ } from "./generate-2a5m3afh.js";
11
11
  import {
12
- Service59
13
- } from "./project-7bx1sm4z.js";
12
+ Service53
13
+ } from "./generate-n8phb4a1.js";
14
14
  import {
15
- Service56
16
- } from "./project-5r3hq516.js";
15
+ Service52
16
+ } from "./generate-0gq147r8.js";
17
17
  import {
18
- Service67
19
- } from "./project-m44bfvz1.js";
18
+ Service71
19
+ } from "./generate-3w9sxyad.js";
20
20
  import {
21
- Service66,
21
+ Service70,
22
22
  resolvePath2
23
- } from "./project-yr3xevt1.js";
23
+ } from "./generate-6ddjfwvz.js";
24
24
  import {
25
25
  output2,
26
26
  notice2,
27
27
  metadata2,
28
28
  notification2
29
- } from "./project-fxbjtjnd.js";
29
+ } from "./generate-fxbjtjnd.js";
30
30
  import {
31
- Service61,
31
+ Service44,
32
32
  name15
33
- } from "./project-45tdjxr7.js";
33
+ } from "./generate-jne44bes.js";
34
34
  import {
35
35
  NotFoundError7,
36
- Service57
37
- } from "./project-qnfry43t.js";
36
+ Service40
37
+ } from "./generate-zcfwmhvf.js";
38
38
  import {
39
- Service18
40
- } from "./project-2ht24x3n.js";
39
+ Service24
40
+ } from "./generate-61nhyxw9.js";
41
41
  import {
42
42
  scan2
43
- } from "./project-09739knt.js";
43
+ } from "./generate-7w4zp1nj.js";
44
44
  import {
45
45
  __export
46
- } from "./project-9rqn6x4v.js";
46
+ } from "./generate-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: () => Input10,
53
- Plugin: () => Plugin11,
52
+ Input: () => Input2,
53
+ Plugin: () => Plugin2,
54
54
  ShellTool: () => exports_shell,
55
- name: () => name10
55
+ name: () => name2
56
56
  });
57
57
  import { ToolFailure } from "@opencode/ai";
58
58
  import { Deferred, Effect, Schema, Scope } from "effect";
59
- var name10 = "shell";
59
+ var name2 = "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 Input10 = Schema.Struct({
73
+ var Input2 = 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."
@@ -115,19 +115,19 @@ Output is streaming to: ${file}`,
115
115
  truncated: false,
116
116
  status: "running"
117
117
  });
118
- var Plugin11 = {
118
+ var Plugin2 = {
119
119
  id: "opencode.tool.shell",
120
120
  effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
121
- const sessions = yield* Service18;
122
- const jobs = yield* Service56;
121
+ const sessions = yield* Service24;
122
+ const jobs = yield* Service52;
123
123
  const scope = yield* Scope.Scope;
124
- const environment = yield* Service59;
125
- const access = yield* Service66;
126
- const shell = yield* Service57;
127
- const shellSelect = yield* Service61;
124
+ const environment = yield* Service53;
125
+ const access = yield* Service70;
126
+ const shell = yield* Service40;
127
+ const shellSelect = yield* Service44;
128
128
  const compatibleShell = shellSelect.resolve({ priority: "compat" });
129
- const permission = yield* Service67;
130
- const config = yield* Service64;
129
+ const permission = yield* Service71;
130
+ const config = yield* Service42;
131
131
  const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
132
132
  const source = {
133
133
  type: "tool",
@@ -146,7 +146,7 @@ var Plugin11 = {
146
146
  yield* access.authorizeExternal([target, ...directories], context);
147
147
  if (parsed.commands.length > 0)
148
148
  yield* permission.assert({
149
- action: name10,
149
+ action: name2,
150
150
  resources: parsed.commands.map((command) => command.resource),
151
151
  save: parsed.commands.map((command) => command.save),
152
152
  sessionID: context.sessionID,
@@ -183,10 +183,10 @@ var Plugin11 = {
183
183
  yield* jobs.completeBackground(info.notificationID);
184
184
  }, Effect.forkIn(scope, { startImmediately: true }));
185
185
  yield* ctx.tool.transform((editor) => editor.add({
186
- name: name10,
186
+ name: name2,
187
187
  options: { codemode: false },
188
188
  description: description(),
189
- input: Input10,
189
+ input: Input2,
190
190
  output: Output,
191
191
  execute: (input, context) => Effect.gen(function* () {
192
192
  const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
@@ -219,7 +219,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
219
219
  `)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
220
220
  const job = yield* jobs.start({
221
221
  id: info.id,
222
- type: name10,
222
+ type: name2,
223
223
  title: info.command,
224
224
  metadata: { sessionID: context.sessionID, shellID: info.id },
225
225
  recovery: {
@@ -249,7 +249,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
249
249
  }).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
250
250
  })).pipe(Effect.orDie);
251
251
  const hook = (event) => Effect.gen(function* () {
252
- const tool = event.tools[name10];
252
+ const tool = event.tools[name2];
253
253
  if (!tool)
254
254
  return;
255
255
  tool.description = description(name15(yield* compatibleShell));
@@ -260,4 +260,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
260
260
  })
261
261
  };
262
262
 
263
- export { name10, DEFAULT_TIMEOUT_MS2, Input10, Plugin11, exports_shell };
263
+ export { name2, DEFAULT_TIMEOUT_MS2, Input2, Plugin2, exports_shell };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  loadSDKFactory2
3
- } from "./project-hjbc5kem.js";
3
+ } from "./generate-hjbc5kem.js";
4
4
 
5
5
  // src/plugin/provider/dynamic.ts
6
6
  import { Effect } from "effect";
@@ -1,16 +1,16 @@
1
1
  import {
2
- ID13,
2
+ ID9,
3
3
  mergeOverlay2
4
- } from "./project-89tr5x57.js";
4
+ } from "./generate-r28r364k.js";
5
5
  import {
6
- ID12,
6
+ ID8,
7
7
  VariantID2,
8
- Info26,
8
+ Info22,
9
9
  compatibility2
10
- } from "./project-f9qeaf72.js";
10
+ } from "./generate-kp2k2y4n.js";
11
11
  import {
12
12
  __export
13
- } from "./project-9rqn6x4v.js";
13
+ } from "./generate-9rqn6x4v.js";
14
14
 
15
15
  // src/modal/models.ts
16
16
  var exports_models = {};
@@ -22,7 +22,7 @@ __export(exports_models, {
22
22
  });
23
23
  import { Money } from "@opencode/schema/money";
24
24
  import { Option, Schema } from "effect";
25
- var providerID = ID13.make("modal");
25
+ var providerID = ID9.make("modal");
26
26
  var ReasoningOption = Schema.Struct({
27
27
  type: Schema.Literal("effort"),
28
28
  values: Schema.Array(Schema.NullOr(Schema.String))
@@ -75,8 +75,8 @@ function derive2(baseURL, remote, existing) {
75
75
  const templates = new Map(existing.map((model) => [model.id, model]));
76
76
  const result = new Map;
77
77
  for (const item of remote) {
78
- const template = templates.get(ID12.make(item.base_model_id ?? item.hugging_face_id ?? item.id));
79
- const id = ID12.make(item.id);
78
+ const template = templates.get(ID8.make(item.base_model_id ?? item.hugging_face_id ?? item.id));
79
+ const id = ID8.make(item.id);
80
80
  result.set(id, build(id, item, baseURL, template));
81
81
  }
82
82
  return result;
@@ -94,10 +94,10 @@ function limit(value, fallback) {
94
94
  function build(id, remote, baseURL, previous) {
95
95
  const cost = previous?.cost[0];
96
96
  const input = previous?.limit.input;
97
- return Info26.make({
98
- ...Info26.default(providerID, id),
97
+ return Info22.make({
98
+ ...Info22.default(providerID, id),
99
99
  id,
100
- modelID: ID12.make(remote.id),
100
+ modelID: ID8.make(remote.id),
101
101
  providerID,
102
102
  name: remote.name ?? previous?.name ?? remote.id,
103
103
  family: previous?.family,
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  __export
3
- } from "./project-9rqn6x4v.js";
3
+ } from "./generate-9rqn6x4v.js";
4
4
 
5
5
  // src/session/provider-context.ts
6
6
  var exports_provider_context = {};
7
7
  __export(exports_provider_context, {
8
- Info: () => Info23,
8
+ Info: () => Info28,
9
9
  SessionProviderContext: () => exports_provider_context,
10
10
  compatible: () => compatible2,
11
11
  decode: () => decode2,
@@ -19,7 +19,7 @@ import { SessionProviderContext } from "@opencode/schema/session-provider-contex
19
19
  import { Schema } from "effect";
20
20
  import { isDeepStrictEqual } from "node:util";
21
21
  import { Hash } from "@opencode/util/hash";
22
- var Info23 = SessionProviderContext.Info;
22
+ var Info28 = SessionProviderContext.Info;
23
23
  var messages = Schema.toCodecJson(Schema.Array(Message));
24
24
  function provenance2(resolved) {
25
25
  const model = resolved.model;
@@ -52,4 +52,4 @@ var encode2 = (provenance, replacement) => ({
52
52
  var decode2 = (context) => Schema.decodeUnknownSync(messages)(context.messages);
53
53
  var validate2 = (context) => Schema.decodeUnknownEffect(messages)(context.messages);
54
54
 
55
- export { Info23, provenance2, compatible2, isCheckpoint2, encode2, decode2, validate2, exports_provider_context };
55
+ export { Info28, provenance2, compatible2, isCheckpoint2, encode2, decode2, validate2, exports_provider_context };
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  getTableColumnsRuntime2,
3
3
  orderSelectedFields2
4
- } from "./project-emrn6kk6.js";
4
+ } from "./generate-emrn6kk6.js";
5
5
 
6
6
  // src/database/drizzle/sqlite-core/effect/delete.ts
7
7
  import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  getViewSelectedFieldsRuntime2,
3
3
  orderSelectedFields2
4
- } from "./project-emrn6kk6.js";
4
+ } from "./generate-emrn6kk6.js";
5
5
 
6
6
  // src/database/drizzle/sqlite-core/effect/select.ts
7
7
  import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
@@ -1,34 +1,34 @@
1
1
  import {
2
2
  mergeOverlay2,
3
3
  mergeHeaders2
4
- } from "./project-89tr5x57.js";
4
+ } from "./generate-r28r364k.js";
5
5
  import {
6
6
  latest2,
7
- Service64
8
- } from "./project-83adyyr5.js";
7
+ Service42
8
+ } from "./generate-tavk7hys.js";
9
9
  import {
10
- resolve4
11
- } from "./project-zz1fy56t.js";
10
+ resolve2
11
+ } from "./generate-dj30mz7y.js";
12
12
  import {
13
13
  observe2
14
- } from "./project-qsdy395h.js";
14
+ } from "./generate-qsdy395h.js";
15
15
  import {
16
16
  __export
17
- } from "./project-9rqn6x4v.js";
17
+ } from "./generate-9rqn6x4v.js";
18
18
 
19
19
  // src/config/plugin/provider.ts
20
20
  var exports_provider = {};
21
21
  __export(exports_provider, {
22
22
  ConfigProviderPlugin: () => exports_provider,
23
- Plugin: () => Plugin38
23
+ Plugin: () => Plugin45
24
24
  });
25
25
  import { define } from "@opencode/plugin/effect/plugin";
26
26
  import { Money } from "@opencode/schema/money";
27
27
  import { Effect } from "effect";
28
- var Plugin38 = define({
28
+ var Plugin45 = define({
29
29
  id: "opencode.config.provider",
30
30
  effect: Effect.fn(function* (ctx) {
31
- const config = yield* Service64;
31
+ const config = yield* Service42;
32
32
  const loaded = yield* observe2(config, ctx.event, ctx.integration.reload().pipe(Effect.andThen(ctx.provider.reload())));
33
33
  yield* ctx.integration.transform((integrations) => {
34
34
  for (const [id, provider] of configuredProviders(loaded.entries)) {
@@ -177,7 +177,7 @@ var Plugin38 = define({
177
177
  if (config.variants === undefined && !source?.base)
178
178
  models.update(providerID, id, (model) => {
179
179
  model.variants = [
180
- ...resolve4({
180
+ ...resolve2({
181
181
  ...model,
182
182
  package: model.package ?? models.provider.get(providerID)?.provider.package
183
183
  })
@@ -192,4 +192,4 @@ function configuredProviders(entries) {
192
192
  return entries.filter((entry) => entry.type === "document").flatMap((file) => Object.entries(file.info.providers ?? {}));
193
193
  }
194
194
 
195
- export { Plugin38, exports_provider };
195
+ export { Plugin45, exports_provider };
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./project-dpkg50ah.js";
3
+ } from "./generate-y71avatq.js";
4
4
  import {
5
5
  __export
6
- } from "./project-9rqn6x4v.js";
6
+ } from "./generate-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/update.ts
9
9
  var exports_update = {};
10
10
  __export(exports_update, {
11
11
  PluginUpdate: () => exports_update,
12
- Service: () => Service7,
13
- node: () => node9
12
+ Service: () => Service5,
13
+ node: () => node7
14
14
  });
15
15
  import { Clock, Context, Effect, Exit, Layer, Option, PubSub, Stream } from "effect";
16
16
  import { Npm } from "@opencode/util/npm";
17
17
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
18
18
  var interval = 24 * 60 * 60 * 1000;
19
19
 
20
- class Service7 extends Context.Service()("@opencode/PluginUpdate") {
20
+ class Service5 extends Context.Service()("@opencode/PluginUpdate") {
21
21
  }
22
- var layer = Layer.effect(Service7, Effect.gen(function* () {
22
+ var layer = Layer.effect(Service5, Effect.gen(function* () {
23
23
  const npm = yield* Npm.Service;
24
24
  const locks = makeUnsafe2();
25
25
  const status = new Map;
26
26
  const changes = yield* PubSub.unbounded();
27
- return Service7.of({
27
+ return Service5.of({
28
28
  check: (target, options) => locks.withLock(target)(Effect.gen(function* () {
29
29
  const checkedAt = yield* Clock.currentTimeMillis;
30
30
  const current = status.get(target);
@@ -49,6 +49,6 @@ var layer = Layer.effect(Service7, Effect.gen(function* () {
49
49
  changes: () => Stream.fromPubSub(changes)
50
50
  });
51
51
  }));
52
- var node9 = makeGlobalNode({ service: Service7, layer, deps: [Npm.node] });
52
+ var node7 = makeGlobalNode({ service: Service5, layer, deps: [Npm.node] });
53
53
 
54
- export { Service7, node9, exports_update };
54
+ export { Service5, node7, exports_update };