@opencode/core 0.0.0-dev-20196 → 0.0.0-dev-20198

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (799) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +79 -79
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +69 -69
  7. package/dist/chunks/{file-mutation-a1dcbnh1.js → plugin-00d3at1w.js} +18 -18
  8. package/dist/chunks/{file-mutation-57ez7d0k.js → plugin-0ke265bw.js} +5 -5
  9. package/dist/chunks/{file-mutation-06avesrm.js → plugin-0n1qath5.js} +10 -10
  10. package/dist/chunks/{file-mutation-0paq2nw3.js → plugin-0paq2nw3.js} +1 -1
  11. package/dist/chunks/{file-mutation-jfyc1maa.js → plugin-0psky2j0.js} +12 -12
  12. package/dist/chunks/{file-mutation-madt145n.js → plugin-0wn9mnpm.js} +17 -17
  13. package/dist/chunks/{file-mutation-nzdeb66t.js → plugin-0x2xcgb3.js} +9 -9
  14. package/dist/chunks/{file-mutation-36wh3zdf.js → plugin-135paw2g.js} +6 -6
  15. package/dist/chunks/{file-mutation-49exe669.js → plugin-150yg2gd.js} +5 -5
  16. package/dist/chunks/{file-mutation-jsx6v7sj.js → plugin-181txgxj.js} +11 -11
  17. package/dist/chunks/{file-mutation-v434jxdj.js → plugin-1awxr458.js} +22 -22
  18. package/dist/chunks/{file-mutation-1dazxqgg.js → plugin-1dazxqgg.js} +2 -2
  19. package/dist/chunks/{file-mutation-annjwsdj.js → plugin-1v6becv7.js} +28 -28
  20. package/dist/chunks/{file-mutation-0dr0g8g1.js → plugin-1vr0zdnx.js} +6 -6
  21. package/dist/chunks/{file-mutation-21r38tys.js → plugin-21r38tys.js} +1 -1
  22. package/dist/chunks/{file-mutation-vq1w5bxf.js → plugin-22kkypfe.js} +23 -23
  23. package/dist/chunks/{file-mutation-bfn9xngp.js → plugin-26vscet6.js} +18 -18
  24. package/dist/chunks/{file-mutation-2a5m3afh.js → plugin-2a5m3afh.js} +1 -1
  25. package/dist/chunks/{file-mutation-b0rtdght.js → plugin-2dbps0zs.js} +11 -11
  26. package/dist/chunks/{file-mutation-r4m9e03x.js → plugin-2fa7naq1.js} +4 -4
  27. package/dist/chunks/{file-mutation-rqnjnaqb.js → plugin-2k36c91y.js} +4 -4
  28. package/dist/chunks/{file-mutation-q2y76nmn.js → plugin-2tgkj9n8.js} +12 -12
  29. package/dist/chunks/{file-mutation-mfqp6xfm.js → plugin-33w4ejhs.js} +9 -9
  30. package/dist/chunks/{file-mutation-q241hggs.js → plugin-365y11ma.js} +28 -28
  31. package/dist/chunks/{file-mutation-3fc6dm20.js → plugin-3fc6dm20.js} +1 -1
  32. package/dist/chunks/{file-mutation-3hepkmqq.js → plugin-3hepkmqq.js} +1 -1
  33. package/dist/chunks/{file-mutation-fgpb6470.js → plugin-3ke2cp34.js} +13 -13
  34. package/dist/chunks/{file-mutation-w5sez581.js → plugin-3n6fx8re.js} +8 -8
  35. package/dist/chunks/{file-mutation-cbbagb43.js → plugin-3q4t4yhh.js} +11 -11
  36. package/dist/chunks/{file-mutation-n92w27pw.js → plugin-3r2wmwvh.js} +10 -10
  37. package/dist/chunks/{file-mutation-3smtnn6g.js → plugin-3smtnn6g.js} +1 -1
  38. package/dist/chunks/{file-mutation-3tvqynh2.js → plugin-3tvqynh2.js} +1 -1
  39. package/dist/chunks/{file-mutation-45bn2qe8.js → plugin-3w17p3hf.js} +22 -22
  40. package/dist/chunks/{file-mutation-ec9ctddj.js → plugin-3xdrjpac.js} +3 -3
  41. package/dist/chunks/{file-mutation-3zsf4n22.js → plugin-3zsf4n22.js} +1 -1
  42. package/dist/chunks/{file-mutation-0q60sf5x.js → plugin-465j21sy.js} +11 -11
  43. package/dist/chunks/{file-mutation-8ygpbkv1.js → plugin-46ez3shz.js} +13 -13
  44. package/dist/chunks/{file-mutation-kwqt7trd.js → plugin-47s33pss.js} +7 -7
  45. package/dist/chunks/{file-mutation-jazhghcp.js → plugin-48gteezh.js} +15 -15
  46. package/dist/chunks/{file-mutation-fyrmabcy.js → plugin-4de5fkr9.js} +8 -8
  47. package/dist/chunks/{file-mutation-jj5netzx.js → plugin-4dqr3qzq.js} +9 -9
  48. package/dist/chunks/{file-mutation-7tbm9b7t.js → plugin-4qpxv6wr.js} +3 -3
  49. package/dist/chunks/{file-mutation-0tkcb012.js → plugin-4s9621k1.js} +27 -27
  50. package/dist/chunks/{file-mutation-ckecvw8r.js → plugin-54tcyq79.js} +2 -2
  51. package/dist/chunks/{file-mutation-dy8qwv32.js → plugin-5631ja65.js} +25 -25
  52. package/dist/chunks/{file-mutation-5daktx2q.js → plugin-5daktx2q.js} +1 -1
  53. package/dist/chunks/{file-mutation-m8xex9m9.js → plugin-5mazm5hr.js} +4 -4
  54. package/dist/chunks/{file-mutation-pcxghkgz.js → plugin-5qwkxp89.js} +4 -4
  55. package/dist/chunks/{file-mutation-5t3nmthw.js → plugin-5t3nmthw.js} +2 -2
  56. package/dist/chunks/{file-mutation-aztrj7be.js → plugin-5yd4b64d.js} +15 -15
  57. package/dist/chunks/{file-mutation-669tq793.js → plugin-669tq793.js} +1 -1
  58. package/dist/chunks/{file-mutation-w8ferkse.js → plugin-6702r7ke.js} +10 -10
  59. package/dist/chunks/{file-mutation-mrj8mwf0.js → plugin-6f8py4c6.js} +28 -28
  60. package/dist/chunks/{file-mutation-2402vzrj.js → plugin-6h73sxmp.js} +5 -5
  61. package/dist/chunks/{file-mutation-tknscx6b.js → plugin-6k3ez0z1.js} +20 -20
  62. package/dist/chunks/{file-mutation-6msgmcgs.js → plugin-6msgmcgs.js} +1 -1
  63. package/dist/chunks/{file-mutation-exq2ffnr.js → plugin-70xrzfeb.js} +13 -13
  64. package/dist/chunks/{file-mutation-7bmhse3q.js → plugin-7bmhse3q.js} +1 -1
  65. package/dist/chunks/{file-mutation-ez89fygf.js → plugin-7bqd3h08.js} +32 -32
  66. package/dist/chunks/{file-mutation-qgn6gcr1.js → plugin-7dqw4kz8.js} +5 -5
  67. package/dist/chunks/{file-mutation-nn2w30r8.js → plugin-7kx9m9jq.js} +23 -23
  68. package/dist/chunks/{file-mutation-bmb3ej5t.js → plugin-7rbdxjnj.js} +4 -4
  69. package/dist/chunks/{file-mutation-pdn3apj7.js → plugin-7rnj7wqq.js} +14 -14
  70. package/dist/chunks/{file-mutation-kc6k5esa.js → plugin-7szedt86.js} +23 -23
  71. package/dist/chunks/{file-mutation-h22dswsw.js → plugin-7v2bqa7d.js} +14 -14
  72. package/dist/chunks/{file-mutation-jshgtcbt.js → plugin-814kmemw.js} +13 -13
  73. package/dist/chunks/{file-mutation-q5ne48hz.js → plugin-82wy67mx.js} +13 -13
  74. package/dist/chunks/{file-mutation-jk58jcy1.js → plugin-84vx8zxj.js} +19 -19
  75. package/dist/chunks/{file-mutation-80rcay5r.js → plugin-88we24x6.js} +8 -8
  76. package/dist/chunks/{file-mutation-8d7r5vzw.js → plugin-8d7r5vzw.js} +1 -1
  77. package/dist/chunks/{file-mutation-n5anf3fb.js → plugin-8m7n61g9.js} +12 -12
  78. package/dist/chunks/{file-mutation-908kwkj3.js → plugin-8p70309a.js} +12 -12
  79. package/dist/chunks/{file-mutation-sbwvsvgv.js → plugin-8tg9364h.js} +17 -17
  80. package/dist/chunks/{file-mutation-3ag7ttm0.js → plugin-8vptany5.js} +15 -15
  81. package/dist/chunks/{file-mutation-nzyhnfxz.js → plugin-8z00fdkb.js} +4 -4
  82. package/dist/chunks/{file-mutation-93ygb5af.js → plugin-909p1r3q.js} +6 -6
  83. package/dist/chunks/{file-mutation-rq2znn32.js → plugin-90wed0f6.js} +26 -26
  84. package/dist/chunks/{file-mutation-j64p557d.js → plugin-97tk06h4.js} +12 -12
  85. package/dist/chunks/{file-mutation-h2j90xdb.js → plugin-9gs81rcm.js} +10 -10
  86. package/dist/chunks/{file-mutation-fwg4bfmy.js → plugin-9tcf48vb.js} +3 -3
  87. package/dist/chunks/{file-mutation-00x9hzck.js → plugin-9w8h1dp2.js} +8 -8
  88. package/dist/chunks/{file-mutation-fj17yqcr.js → plugin-9znj1xea.js} +1 -1
  89. package/dist/chunks/{file-mutation-was05px2.js → plugin-a3aksj2e.js} +28 -28
  90. package/dist/chunks/{file-mutation-r4jmx1pn.js → plugin-a6tpy895.js} +21 -21
  91. package/dist/chunks/{file-mutation-p6wxjpka.js → plugin-a81kfqvn.js} +4 -4
  92. package/dist/chunks/{file-mutation-aaet6srn.js → plugin-aaet6srn.js} +2 -2
  93. package/dist/chunks/{file-mutation-tmkkbmay.js → plugin-adb60020.js} +20 -20
  94. package/dist/chunks/{file-mutation-8443s99e.js → plugin-afzym0c1.js} +17 -17
  95. package/dist/chunks/{file-mutation-6m5gwycq.js → plugin-am9g8zmc.js} +9 -9
  96. package/dist/chunks/{file-mutation-7q8hkdsk.js → plugin-amg81mr5.js} +15 -15
  97. package/dist/chunks/{file-mutation-tcwxap8g.js → plugin-amk2g0b2.js} +26 -26
  98. package/dist/chunks/{file-mutation-b0g280va.js → plugin-b5ng3mar.js} +20 -20
  99. package/dist/chunks/{file-mutation-b6gygkdw.js → plugin-b6gygkdw.js} +2 -2
  100. package/dist/chunks/{file-mutation-fss11zrv.js → plugin-bgmry1c8.js} +35 -35
  101. package/dist/chunks/{file-mutation-arws8trd.js → plugin-bhf7pen4.js} +4 -4
  102. package/dist/chunks/{file-mutation-z07pqspn.js → plugin-bjtzbw4r.js} +3 -3
  103. package/dist/chunks/{file-mutation-va5qff5x.js → plugin-bscb95cy.js} +4 -4
  104. package/dist/chunks/{file-mutation-vfjhn2wd.js → plugin-btbmdjwj.js} +4 -4
  105. package/dist/chunks/{file-mutation-6by7ejxe.js → plugin-bwkfhyr0.js} +20 -20
  106. package/dist/chunks/plugin-by5v678g.js +18 -0
  107. package/dist/chunks/{file-mutation-z6ze4cqf.js → plugin-bzx6e9pd.js} +8 -8
  108. package/dist/chunks/{file-mutation-607q5haz.js → plugin-c488s98d.js} +12 -12
  109. package/dist/chunks/{file-mutation-jxg9h7h6.js → plugin-c5gzkv3d.js} +54 -54
  110. package/dist/chunks/{file-mutation-qr8csav2.js → plugin-c78bbtc9.js} +5 -5
  111. package/dist/chunks/{file-mutation-hbj37746.js → plugin-c7t2jc66.js} +20 -20
  112. package/dist/chunks/{file-mutation-gzwr95fx.js → plugin-c8nmdwf6.js} +6 -6
  113. package/dist/chunks/{file-mutation-magykp64.js → plugin-cavr175a.js} +4 -4
  114. package/dist/chunks/{file-mutation-0jjvght6.js → plugin-cmhz4ywj.js} +10 -10
  115. package/dist/chunks/{file-mutation-mepdzt2d.js → plugin-cnt49j60.js} +11 -11
  116. package/dist/chunks/{file-mutation-jarn1zxe.js → plugin-cnvcdvk7.js} +6 -6
  117. package/dist/chunks/{file-mutation-hkfg6fzm.js → plugin-cr07tj7n.js} +5 -5
  118. package/dist/chunks/{file-mutation-n24gc8vs.js → plugin-crpn3041.js} +11 -11
  119. package/dist/chunks/{file-mutation-cwa6csj7.js → plugin-cwa6csj7.js} +2 -2
  120. package/dist/chunks/{file-mutation-9r9g3gnb.js → plugin-d2r7anev.js} +17 -17
  121. package/dist/chunks/{file-mutation-x9v2s4mt.js → plugin-d5rr1m9q.js} +43 -43
  122. package/dist/chunks/{file-mutation-kzc3h1h3.js → plugin-dbmc5gjs.js} +4 -4
  123. package/dist/chunks/{file-mutation-qcdf9a5m.js → plugin-dhm4srrs.js} +1 -1
  124. package/dist/chunks/{file-mutation-pz7cr76j.js → plugin-dk8jrwhg.js} +36 -36
  125. package/dist/chunks/{file-mutation-39thqb0z.js → plugin-dm7vvyya.js} +77 -77
  126. package/dist/chunks/{file-mutation-57b9ws8p.js → plugin-drwq78ky.js} +5 -5
  127. package/dist/chunks/{file-mutation-dw698h1a.js → plugin-dv8nta62.js} +24 -24
  128. package/dist/chunks/{file-mutation-2ka3r0xm.js → plugin-dx3kejg3.js} +21 -21
  129. package/dist/chunks/{file-mutation-zcnbza31.js → plugin-e09s77kp.js} +33 -33
  130. package/dist/chunks/{file-mutation-eaj1djv9.js → plugin-eaj1djv9.js} +1 -1
  131. package/dist/chunks/{file-mutation-ecfe7b91.js → plugin-ecfe7b91.js} +2 -2
  132. package/dist/chunks/plugin-edebp1ht.js +252 -0
  133. package/dist/chunks/{file-mutation-ef5x83kb.js → plugin-ef5x83kb.js} +1 -1
  134. package/dist/chunks/{file-mutation-63vbqmwh.js → plugin-emgpx2h1.js} +2 -2
  135. package/dist/chunks/{file-mutation-sznyev98.js → plugin-engkm2d6.js} +5 -5
  136. package/dist/chunks/{file-mutation-73tb2d7t.js → plugin-eq1pz5kg.js} +3 -3
  137. package/dist/chunks/{file-mutation-etq0c3wd.js → plugin-etq0c3wd.js} +1 -1
  138. package/dist/chunks/{file-mutation-1acjjqhc.js → plugin-f2n192rq.js} +4 -4
  139. package/dist/chunks/{file-mutation-mh153f1p.js → plugin-fbgc5stj.js} +11 -11
  140. package/dist/chunks/{file-mutation-n37c4crj.js → plugin-fdms3n6w.js} +9 -9
  141. package/dist/chunks/{file-mutation-j0b1x3jn.js → plugin-fty4trjx.js} +12 -12
  142. package/dist/chunks/{file-mutation-tpw6cwsb.js → plugin-g0445xdp.js} +8 -8
  143. package/dist/chunks/{file-mutation-t6vsspdg.js → plugin-g8d3gcyj.js} +4 -4
  144. package/dist/chunks/{file-mutation-pb1eahw5.js → plugin-g8jasmdt.js} +8 -8
  145. package/dist/chunks/{file-mutation-g4nge062.js → plugin-g9k8c9fb.js} +13 -13
  146. package/dist/chunks/{file-mutation-gd4qta3r.js → plugin-gd4qta3r.js} +1 -1
  147. package/dist/chunks/{file-mutation-1vcc0tqx.js → plugin-gdqz7bvt.js} +9 -9
  148. package/dist/chunks/{file-mutation-94ek1h2f.js → plugin-gfvb90ym.js} +2 -2
  149. package/dist/chunks/{file-mutation-hekxc47r.js → plugin-gg3hnhsj.js} +1 -1
  150. package/dist/chunks/{file-mutation-eyansxxn.js → plugin-ghtqmzx5.js} +20 -20
  151. package/dist/chunks/{file-mutation-1pc8b49c.js → plugin-gjw33yaz.js} +10 -10
  152. package/dist/chunks/{file-mutation-gv6a8nnw.js → plugin-gv6a8nnw.js} +2 -2
  153. package/dist/chunks/{file-mutation-ba1mv5p0.js → plugin-gvf9v2c0.js} +3 -3
  154. package/dist/chunks/{file-mutation-xwm6bryg.js → plugin-h11s7pqt.js} +4 -4
  155. package/dist/chunks/{file-mutation-bhp9zwz7.js → plugin-h3jjvdef.js} +27 -27
  156. package/dist/chunks/{file-mutation-h6vf3j39.js → plugin-h6vf3j39.js} +1 -1
  157. package/dist/chunks/{file-mutation-bw4jwp7x.js → plugin-hmz0wy72.js} +9 -9
  158. package/dist/chunks/{file-mutation-e6hmchc5.js → plugin-hnr5yq9h.js} +5 -5
  159. package/dist/chunks/{file-mutation-wf80fvfx.js → plugin-hqhd4wnf.js} +22 -22
  160. package/dist/chunks/{file-mutation-33z6kxja.js → plugin-hr6n5wvr.js} +36 -36
  161. package/dist/chunks/{file-mutation-skv4x9jf.js → plugin-hznc8n11.js} +16 -16
  162. package/dist/chunks/{file-mutation-n7y60bnp.js → plugin-j3xmv9k3.js} +24 -24
  163. package/dist/chunks/{file-mutation-p4etetpf.js → plugin-j53dbz6b.js} +29 -29
  164. package/dist/chunks/{file-mutation-j56e64zr.js → plugin-j56e64zr.js} +1 -1
  165. package/dist/chunks/{file-mutation-jvy91fcn.js → plugin-j5k70gxj.js} +24 -24
  166. package/dist/chunks/{file-mutation-j2978cmg.js → plugin-j6wx89t1.js} +36 -36
  167. package/dist/chunks/{file-mutation-91m9hd8f.js → plugin-j7wq2tw5.js} +2 -2
  168. package/dist/chunks/{file-mutation-bjgnzx8v.js → plugin-jjejcnfv.js} +8 -8
  169. package/dist/chunks/{file-mutation-dv5spdm5.js → plugin-js9c7n9a.js} +22 -22
  170. package/dist/chunks/{file-mutation-v0mz33x9.js → plugin-jv26kyrx.js} +69 -69
  171. package/dist/chunks/{file-mutation-eq1jxjww.js → plugin-jx5n61fp.js} +48 -48
  172. package/dist/chunks/{file-mutation-2wdjbrvw.js → plugin-jzjdh01g.js} +22 -22
  173. package/dist/chunks/{file-mutation-yrgme7j0.js → plugin-jzqva1wk.js} +10 -10
  174. package/dist/chunks/{file-mutation-k1qrnqst.js → plugin-k1qrnqst.js} +1 -1
  175. package/dist/chunks/{file-mutation-yksbe7bm.js → plugin-k5165mak.js} +2 -2
  176. package/dist/chunks/{file-mutation-chbxjcn8.js → plugin-kb0g0tvj.js} +9 -9
  177. package/dist/chunks/{file-mutation-mkwktbjz.js → plugin-kc24w74q.js} +20 -20
  178. package/dist/chunks/{file-mutation-5q075wzn.js → plugin-kd5aekfz.js} +8 -8
  179. package/dist/chunks/{file-mutation-3hmc9p2p.js → plugin-krkzq7r3.js} +51 -51
  180. package/dist/chunks/{file-mutation-0k08rxc6.js → plugin-ksd9d9c2.js} +31 -31
  181. package/dist/chunks/{file-mutation-m7h4c5p1.js → plugin-kwbg84br.js} +26 -26
  182. package/dist/chunks/{file-mutation-xdcdg5gg.js → plugin-kwf1bz3p.js} +11 -11
  183. package/dist/chunks/{file-mutation-m3fdjcah.js → plugin-m3fdjcah.js} +1 -1
  184. package/dist/chunks/{file-mutation-m9w0rfyh.js → plugin-m9w0rfyh.js} +1 -1
  185. package/dist/chunks/{file-mutation-55gwq3qn.js → plugin-mbdwwctk.js} +42 -42
  186. package/dist/chunks/{file-mutation-bw35qwa5.js → plugin-mjsdfrqq.js} +1 -1
  187. package/dist/chunks/{file-mutation-7hrh0yhw.js → plugin-mw3cb245.js} +3 -3
  188. package/dist/chunks/{file-mutation-4d8ebea5.js → plugin-myp334fg.js} +13 -13
  189. package/dist/chunks/{file-mutation-feek47bh.js → plugin-mzjf7cd6.js} +24 -24
  190. package/dist/chunks/{file-mutation-vwmcz341.js → plugin-n4632865.js} +33 -33
  191. package/dist/chunks/{file-mutation-qcc5r1n1.js → plugin-n9sp10wr.js} +30 -30
  192. package/dist/chunks/{file-mutation-56798xf4.js → plugin-nb93grzr.js} +14 -14
  193. package/dist/chunks/{file-mutation-mdw2h4tg.js → plugin-ngczm8d5.js} +3 -3
  194. package/dist/chunks/{file-mutation-37ccqw5v.js → plugin-nmz8gp0b.js} +6 -6
  195. package/dist/chunks/{file-mutation-b2g6p7zb.js → plugin-nn1qzx0d.js} +9 -9
  196. package/dist/chunks/{file-mutation-fhs97t90.js → plugin-nscznvay.js} +9 -9
  197. package/dist/chunks/{file-mutation-82mxp87a.js → plugin-nt1t7xjc.js} +41 -41
  198. package/dist/chunks/{file-mutation-k3c624dm.js → plugin-nzks3jc8.js} +3 -3
  199. package/dist/chunks/{file-mutation-q752a12t.js → plugin-p7kwad1h.js} +17 -17
  200. package/dist/chunks/{file-mutation-vbr7z2an.js → plugin-pa1zn9qq.js} +7 -7
  201. package/dist/chunks/{file-mutation-2tn83n21.js → plugin-pbj1twy5.js} +15 -15
  202. package/dist/chunks/{file-mutation-qvcq4vww.js → plugin-pf6j7trv.js} +24 -24
  203. package/dist/chunks/{file-mutation-pjvnvgmy.js → plugin-pjvnvgmy.js} +1 -1
  204. package/dist/chunks/{file-mutation-pknna89w.js → plugin-pknna89w.js} +1 -1
  205. package/dist/chunks/{file-mutation-wd3x2cqz.js → plugin-psazpmmj.js} +2 -2
  206. package/dist/chunks/{file-mutation-7he179h5.js → plugin-pt1f48nk.js} +5 -5
  207. package/dist/chunks/{file-mutation-hjtdmxqs.js → plugin-q01vncef.js} +4 -4
  208. package/dist/chunks/{file-mutation-n3hytwrq.js → plugin-q8hay3rb.js} +10 -10
  209. package/dist/chunks/plugin-q9fz6bmv.js +26 -0
  210. package/dist/chunks/{file-mutation-0pkr918c.js → plugin-qfp12t6j.js} +36 -36
  211. package/dist/chunks/{file-mutation-31ndy29r.js → plugin-qq1ahj4r.js} +28 -28
  212. package/dist/chunks/{file-mutation-qm67wygm.js → plugin-qqmkqge3.js} +6 -6
  213. package/dist/chunks/{file-mutation-qsdy395h.js → plugin-qsdy395h.js} +1 -1
  214. package/dist/chunks/{file-mutation-sm965ndy.js → plugin-qvb3nf84.js} +8 -8
  215. package/dist/chunks/{file-mutation-xptjm771.js → plugin-r0g1befd.js} +9 -9
  216. package/dist/chunks/{file-mutation-nqnxh7mc.js → plugin-r33ff4dw.js} +4 -4
  217. package/dist/chunks/{file-mutation-bqdk09cg.js → plugin-r7sqkavj.js} +38 -38
  218. package/dist/chunks/{file-mutation-rdw6cm16.js → plugin-rdw6cm16.js} +1 -1
  219. package/dist/chunks/{file-mutation-whrzd189.js → plugin-rfb0xkgm.js} +16 -16
  220. package/dist/chunks/{file-mutation-bvb037bs.js → plugin-rh154m9b.js} +5 -5
  221. package/dist/chunks/{file-mutation-zwy3hb2f.js → plugin-rhnmg28j.js} +15 -15
  222. package/dist/chunks/{file-mutation-1p07q0wb.js → plugin-rkprpv83.js} +4 -4
  223. package/dist/chunks/{file-mutation-n08rr4pq.js → plugin-rzp1atk9.js} +18 -18
  224. package/dist/chunks/{file-mutation-v0j3551j.js → plugin-s26macgz.js} +26 -26
  225. package/dist/chunks/{file-mutation-ka6f9z9r.js → plugin-s8baed6t.js} +1 -1
  226. package/dist/chunks/{file-mutation-7ncrrmyf.js → plugin-sgvepfk3.js} +11 -11
  227. package/dist/chunks/{file-mutation-166kng33.js → plugin-sk5hrgtc.js} +8 -8
  228. package/dist/chunks/{file-mutation-5rd0r6f7.js → plugin-sqxehe1r.js} +1 -1
  229. package/dist/chunks/{file-mutation-sx1n432n.js → plugin-sx1n432n.js} +1 -1
  230. package/dist/chunks/{file-mutation-px76j0pk.js → plugin-sy29epdy.js} +9 -9
  231. package/dist/chunks/{file-mutation-5vth3xyp.js → plugin-t465fnvh.js} +43 -43
  232. package/dist/chunks/{file-mutation-hzxg5djm.js → plugin-t7xzdxck.js} +16 -16
  233. package/dist/chunks/{file-mutation-tazgh4e4.js → plugin-tazgh4e4.js} +1 -1
  234. package/dist/chunks/{file-mutation-tcezcvh9.js → plugin-tcezcvh9.js} +1 -1
  235. package/dist/chunks/{file-mutation-tdstcens.js → plugin-tdstcens.js} +1 -1
  236. package/dist/chunks/{file-mutation-mksgfzgs.js → plugin-tgmwm58t.js} +8 -8
  237. package/dist/chunks/{file-mutation-k18pbb1y.js → plugin-tn37k3m9.js} +8 -8
  238. package/dist/chunks/{file-mutation-q9mp86yc.js → plugin-trpcsafk.js} +11 -11
  239. package/dist/chunks/{file-mutation-tvtrv512.js → plugin-tvtrv512.js} +1 -1
  240. package/dist/chunks/{file-mutation-mqwgf0bk.js → plugin-v16xhacn.js} +15 -15
  241. package/dist/chunks/{file-mutation-n61sj0zv.js → plugin-v20d0tgc.js} +18 -18
  242. package/dist/chunks/{file-mutation-xv48q100.js → plugin-va3gjm6r.js} +26 -26
  243. package/dist/chunks/{file-mutation-0bt5rkyv.js → plugin-vc318h8v.js} +9 -9
  244. package/dist/chunks/{file-mutation-6qdk3m7n.js → plugin-vc96fsty.js} +17 -17
  245. package/dist/chunks/{file-mutation-veqvce7d.js → plugin-veqvce7d.js} +1 -1
  246. package/dist/chunks/{file-mutation-w1hpm58k.js → plugin-vmdd0m2d.js} +41 -41
  247. package/dist/chunks/{file-mutation-xdyqf2ep.js → plugin-vsrk2gnt.js} +27 -27
  248. package/dist/chunks/{file-mutation-4ywmn05m.js → plugin-vvsa8xns.js} +5 -5
  249. package/dist/chunks/{file-mutation-fsmjrpwr.js → plugin-vzatwn00.js} +6 -6
  250. package/dist/chunks/{file-mutation-vzcthcp8.js → plugin-vzcthcp8.js} +1 -1
  251. package/dist/chunks/{file-mutation-vzs5sf6e.js → plugin-vzs5sf6e.js} +1 -1
  252. package/dist/chunks/{file-mutation-w3wsvvr9.js → plugin-w3wsvvr9.js} +1 -1
  253. package/dist/chunks/{file-mutation-7mzanbhg.js → plugin-w5mhcnk6.js} +32 -32
  254. package/dist/chunks/{file-mutation-7629jcb2.js → plugin-w9kjr0s9.js} +9 -9
  255. package/dist/chunks/{file-mutation-wd87259q.js → plugin-wd87259q.js} +1 -1
  256. package/dist/chunks/{file-mutation-cekhgrsm.js → plugin-wtheh379.js} +87 -87
  257. package/dist/chunks/{file-mutation-w16ewm88.js → plugin-wxnjdw57.js} +32 -32
  258. package/dist/chunks/{file-mutation-4k2fjpjr.js → plugin-wxtwjjmk.js} +26 -26
  259. package/dist/chunks/{file-mutation-x1ezjp6w.js → plugin-x1ezjp6w.js} +1 -1
  260. package/dist/chunks/{file-mutation-m1hk3fbq.js → plugin-xd7x77jt.js} +8 -8
  261. package/dist/chunks/{file-mutation-w579p95t.js → plugin-xdyent50.js} +15 -15
  262. package/dist/chunks/{file-mutation-b07rpg7m.js → plugin-xg9t41r3.js} +2 -2
  263. package/dist/chunks/{file-mutation-jk776ydv.js → plugin-xj900wqc.js} +6 -6
  264. package/dist/chunks/{file-mutation-xkntkrq7.js → plugin-xkntkrq7.js} +2 -2
  265. package/dist/chunks/{file-mutation-6y9tzzzt.js → plugin-xxsztry3.js} +8 -8
  266. package/dist/chunks/{file-mutation-d48vtfkp.js → plugin-xya6rnzh.js} +10 -10
  267. package/dist/chunks/{file-mutation-y1fvbwt7.js → plugin-y1fvbwt7.js} +1 -1
  268. package/dist/chunks/{file-mutation-9ecw5ke1.js → plugin-y58smqnx.js} +17 -17
  269. package/dist/chunks/{file-mutation-jsb3pxss.js → plugin-y6kccm89.js} +8 -8
  270. package/dist/chunks/{file-mutation-61w5k2bk.js → plugin-y6tr3f1c.js} +3 -3
  271. package/dist/chunks/{file-mutation-dpkg50ah.js → plugin-y71avatq.js} +4 -4
  272. package/dist/chunks/{file-mutation-5zpn8qhf.js → plugin-yb8jxxt7.js} +125 -125
  273. package/dist/chunks/{file-mutation-gz2b78z0.js → plugin-yde77qe8.js} +14 -14
  274. package/dist/chunks/{file-mutation-na5yh9md.js → plugin-yh6b85yb.js} +16 -16
  275. package/dist/chunks/{file-mutation-b9frkjp9.js → plugin-ykkxkfdk.js} +1 -1
  276. package/dist/chunks/{file-mutation-xatxs8ze.js → plugin-yn8w9rk4.js} +4 -4
  277. package/dist/chunks/{file-mutation-yrhqyw5v.js → plugin-yrhqyw5v.js} +1 -1
  278. package/dist/chunks/{file-mutation-4pe60rv6.js → plugin-yrvpf7rs.js} +26 -26
  279. package/dist/chunks/{file-mutation-yrznvahk.js → plugin-yrznvahk.js} +2 -2
  280. package/dist/chunks/{file-mutation-x5pftk9r.js → plugin-yscn6m8x.js} +317 -317
  281. package/dist/chunks/{file-mutation-wmnz76n2.js → plugin-ysphgs6j.js} +14 -14
  282. package/dist/chunks/{file-mutation-z0bkrqjs.js → plugin-z0bkrqjs.js} +1 -1
  283. package/dist/chunks/{file-mutation-z63w68vq.js → plugin-z63w68vq.js} +2 -2
  284. package/dist/chunks/{file-mutation-zeh9ct20.js → plugin-zeh9ct20.js} +2 -2
  285. package/dist/chunks/{file-mutation-m7qqma2k.js → plugin-zh26k158.js} +14 -14
  286. package/dist/chunks/{file-mutation-c4y5a9cq.js → plugin-zm1nwptd.js} +6 -6
  287. package/dist/chunks/{file-mutation-zr2ceqn5.js → plugin-zr2ceqn5.js} +1 -1
  288. package/dist/chunks/{file-mutation-yt06qecn.js → plugin-zrcqcakk.js} +33 -33
  289. package/dist/chunks/{file-mutation-f73rjn58.js → plugin-zvt5dnpc.js} +4 -4
  290. package/dist/chunks/{file-mutation-zxq2ej10.js → plugin-zxq2ej10.js} +1 -1
  291. package/dist/codemode/catalog.js +1 -1
  292. package/dist/codemode/instructions.js +7 -7
  293. package/dist/codemode/tool.js +3 -3
  294. package/dist/codemode/web.js +1 -1
  295. package/dist/command.js +83 -83
  296. package/dist/config/discovery.js +82 -82
  297. package/dist/config/markdown.js +1 -1
  298. package/dist/config/normalize.js +106 -106
  299. package/dist/config/plugin/agent.js +125 -125
  300. package/dist/config/plugin/command.js +214 -214
  301. package/dist/config/plugin/compaction.js +160 -160
  302. package/dist/config/plugin/compatibility.js +141 -141
  303. package/dist/config/plugin/entry-observer.js +1 -1
  304. package/dist/config/plugin/formatter.js +124 -124
  305. package/dist/config/plugin/image.js +123 -123
  306. package/dist/config/plugin/instruction.js +90 -90
  307. package/dist/config/plugin/location-watcher.js +125 -125
  308. package/dist/config/plugin/mcp.js +132 -132
  309. package/dist/config/plugin/policy.js +124 -124
  310. package/dist/config/plugin/provider.js +123 -123
  311. package/dist/config/plugin/reference.js +125 -125
  312. package/dist/config/plugin/shell.js +125 -125
  313. package/dist/config/plugin/skill-file.js +102 -102
  314. package/dist/config/plugin/skill.js +144 -144
  315. package/dist/config/plugin/snapshot.js +123 -123
  316. package/dist/config/plugin/source.js +126 -126
  317. package/dist/config/plugin/tool-output.js +125 -125
  318. package/dist/config/plugin/websearch.js +124 -124
  319. package/dist/config/plugin/worktree.js +125 -125
  320. package/dist/config/variable.js +3 -3
  321. package/dist/config/watch.js +1 -1
  322. package/dist/config.js +128 -128
  323. package/dist/credential/sql.js +2 -2
  324. package/dist/credential.js +81 -81
  325. package/dist/database/database.js +66 -66
  326. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  327. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  328. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  329. package/dist/database/drizzle/index.js +15 -15
  330. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  333. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  335. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  337. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  338. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  339. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  340. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  341. package/dist/database/drizzle.js +16 -16
  342. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  343. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  344. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  345. package/dist/database/migration/20260225215848_workspace.js +1 -1
  346. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  347. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  348. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  349. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  350. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  351. package/dist/database/migration/20260323234822_events.js +1 -1
  352. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  353. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  354. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  355. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  356. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  357. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  358. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  359. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  360. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  361. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  362. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  363. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  364. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  365. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  366. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  367. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  368. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  369. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  370. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  371. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  372. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  373. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  374. package/dist/database/migration/20260611035744_credential.js +1 -1
  375. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  376. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  377. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  378. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  379. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  380. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  381. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  382. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  383. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  384. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  385. package/dist/database/migration/20260812213948_worktree.js +1 -1
  386. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  387. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  388. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  389. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  390. package/dist/database/migration.gen.js +49 -49
  391. package/dist/database/migration.js +51 -51
  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 +76 -76
  400. package/dist/database/v1-migration.js +1 -1
  401. package/dist/effect/app-node-builder.js +371 -371
  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 +93 -93
  407. package/dist/environment/exec-defaults.js +2 -2
  408. package/dist/environment/files.js +1 -1
  409. package/dist/environment/index.js +95 -95
  410. package/dist/environment/local.js +2 -2
  411. package/dist/environment/memory.js +2 -2
  412. package/dist/environment/unavailable.js +1 -1
  413. package/dist/event/sql.js +1 -1
  414. package/dist/event-logger.js +70 -70
  415. package/dist/file-access.js +104 -104
  416. package/dist/file-mutation.js +94 -94
  417. package/dist/file-retention.js +1 -1
  418. package/dist/file.js +1 -1
  419. package/dist/filesystem/fff.bun.js +2 -2
  420. package/dist/filesystem/fff.js +1 -1
  421. package/dist/filesystem/fff.node.js +2 -2
  422. package/dist/filesystem/fff.workerd.js +2 -2
  423. package/dist/filesystem/ignore.js +1 -1
  424. package/dist/filesystem/location-watcher-policy.js +2 -2
  425. package/dist/filesystem/location-watcher.js +227 -227
  426. package/dist/filesystem/protected.js +1 -1
  427. package/dist/filesystem/search.js +103 -103
  428. package/dist/filesystem/watcher-binding.js +1 -1
  429. package/dist/filesystem/watcher.js +13 -13
  430. package/dist/filesystem.js +102 -102
  431. package/dist/form.js +86 -86
  432. package/dist/formatter/builtins.js +4 -4
  433. package/dist/formatter.js +87 -87
  434. package/dist/generate.js +105 -105
  435. package/dist/git.js +10 -10
  436. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  437. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  438. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  439. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  440. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  441. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  442. package/dist/github-copilot/copilot-provider.js +17 -17
  443. package/dist/github-copilot/models.js +99 -99
  444. package/dist/github-copilot/openai-compatible-error.js +1 -1
  445. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  446. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  447. package/dist/github-copilot/responses/openai-error.js +1 -1
  448. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  449. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  450. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  451. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  452. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  453. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  454. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  455. package/dist/id/id.js +1 -1
  456. package/dist/image/photon.js +2 -2
  457. package/dist/image.js +6 -6
  458. package/dist/instance/service.js +5 -5
  459. package/dist/instance.js +362 -362
  460. package/dist/instruction-discovery.js +83 -83
  461. package/dist/instructions/builtins.js +87 -87
  462. package/dist/instructions/index.js +1 -1
  463. package/dist/integration/connection.js +3 -3
  464. package/dist/integration.js +84 -84
  465. package/dist/job.js +79 -79
  466. package/dist/kv/sql.js +2 -2
  467. package/dist/kv.js +73 -73
  468. package/dist/location-activity.js +132 -132
  469. package/dist/location-lifecycle.js +107 -107
  470. package/dist/location-mutation.js +104 -104
  471. package/dist/location-service-map.js +86 -86
  472. package/dist/location-services.js +359 -359
  473. package/dist/location.js +85 -85
  474. package/dist/managed-policy.js +1 -1
  475. package/dist/mcp/client.js +91 -91
  476. package/dist/mcp/index.js +98 -98
  477. package/dist/mcp/instructions.js +124 -124
  478. package/dist/mcp/oauth.js +78 -78
  479. package/dist/mcp/stdio.js +90 -90
  480. package/dist/mime.js +1 -1
  481. package/dist/modal/models.js +99 -99
  482. package/dist/model-resolver.js +98 -98
  483. package/dist/model.js +100 -100
  484. package/dist/models-dev.js +107 -107
  485. package/dist/oauth/page.js +1 -1
  486. package/dist/permission/saved.js +80 -80
  487. package/dist/permission/sql.js +5 -5
  488. package/dist/permission.js +111 -111
  489. package/dist/persistent-pty/binary.bun.js +1 -1
  490. package/dist/persistent-pty/daemon.js +1 -1
  491. package/dist/persistent-pty/index.js +82 -82
  492. package/dist/persistent-pty/pty-binding.js +1 -1
  493. package/dist/persistent-pty.js +75 -75
  494. package/dist/plugin/agent.js +104 -104
  495. package/dist/plugin/command.js +101 -101
  496. package/dist/plugin/hooks.js +5 -5
  497. package/dist/plugin/host.js +218 -218
  498. package/dist/plugin/identity.js +3 -3
  499. package/dist/plugin/instance.js +5 -5
  500. package/dist/plugin/internal.js +333 -333
  501. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  502. package/dist/plugin/models-dev.js +96 -96
  503. package/dist/plugin/module.js +7 -7
  504. package/dist/plugin/optimize.js +2 -2
  505. package/dist/plugin/plan.js +102 -102
  506. package/dist/plugin/promise.js +1 -1
  507. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  508. package/dist/plugin/provider/azure.js +122 -122
  509. package/dist/plugin/provider/cerebras.js +1 -1
  510. package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
  511. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  512. package/dist/plugin/provider/cohere.js +2 -2
  513. package/dist/plugin/provider/configured.js +119 -119
  514. package/dist/plugin/provider/digitalocean.js +93 -93
  515. package/dist/plugin/provider/dynamic.js +2 -2
  516. package/dist/plugin/provider/factory.js +1 -1
  517. package/dist/plugin/provider/gateway.js +2 -2
  518. package/dist/plugin/provider/github-copilot.js +94 -94
  519. package/dist/plugin/provider/gitlab.js +93 -93
  520. package/dist/plugin/provider/google-vertex.js +90 -90
  521. package/dist/plugin/provider/kilo.js +1 -1
  522. package/dist/plugin/provider/llmgateway.js +77 -77
  523. package/dist/plugin/provider/lmstudio.js +122 -122
  524. package/dist/plugin/provider/modal.js +92 -92
  525. package/dist/plugin/provider/nvidia.js +1 -1
  526. package/dist/plugin/provider/ollama.js +122 -122
  527. package/dist/plugin/provider/openai.js +92 -92
  528. package/dist/plugin/provider/opencode.js +95 -95
  529. package/dist/plugin/provider/openrouter.js +91 -91
  530. package/dist/plugin/provider/perplexity.js +2 -2
  531. package/dist/plugin/provider/poe.js +78 -78
  532. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  533. package/dist/plugin/provider/sap-ai-core.js +91 -91
  534. package/dist/plugin/provider/sdk-factory.js +1 -1
  535. package/dist/plugin/provider/snowflake-cortex.js +122 -122
  536. package/dist/plugin/provider/venice.js +2 -2
  537. package/dist/plugin/provider/vercel.js +90 -90
  538. package/dist/plugin/provider/vllm.js +122 -122
  539. package/dist/plugin/provider/xai.js +91 -91
  540. package/dist/plugin/provider/zenmux.js +1 -1
  541. package/dist/plugin/provider.js +161 -161
  542. package/dist/plugin/sdk.js +76 -76
  543. package/dist/plugin/service.js +3 -3
  544. package/dist/plugin/skill.js +139 -139
  545. package/dist/plugin/source-directory.js +1 -1
  546. package/dist/plugin/supervisor.js +352 -352
  547. package/dist/plugin/tool-input-repair.js +4 -4
  548. package/dist/plugin/update.js +6 -6
  549. package/dist/plugin/vcs/git.js +86 -86
  550. package/dist/plugin/vcs/hg.js +86 -86
  551. package/dist/plugin/verbosity.js +93 -93
  552. package/dist/plugin/warming.js +121 -121
  553. package/dist/plugin/websearch/exa.js +7 -7
  554. package/dist/plugin/websearch/firecrawl.js +8 -8
  555. package/dist/plugin/websearch/index.js +9 -9
  556. package/dist/plugin/websearch/mcp.js +6 -6
  557. package/dist/plugin/websearch/parallel.js +8 -8
  558. package/dist/plugin/websearch/tavily.js +6 -6
  559. package/dist/plugin/websearch/tinyfish.js +8 -8
  560. package/dist/plugin.js +221 -221
  561. package/dist/project/schema.js +4 -4
  562. package/dist/project/sql.js +4 -4
  563. package/dist/project.js +84 -84
  564. package/dist/provider.js +97 -97
  565. package/dist/pty/protocol.js +1 -1
  566. package/dist/pty/schema.js +1 -1
  567. package/dist/pty/ticket.js +1 -1
  568. package/dist/pty.js +92 -92
  569. package/dist/reference/instructions.js +89 -89
  570. package/dist/reference.js +89 -89
  571. package/dist/repository-cache.js +81 -81
  572. package/dist/repository.js +3 -3
  573. package/dist/ripgrep/binary.js +2 -2
  574. package/dist/ripgrep.js +97 -97
  575. package/dist/rpc.js +86 -86
  576. package/dist/schema.js +1 -1
  577. package/dist/session/command.js +74 -74
  578. package/dist/session/compaction.js +134 -134
  579. package/dist/session/context.js +152 -152
  580. package/dist/session/diff.js +88 -88
  581. package/dist/session/environment.js +5 -5
  582. package/dist/session/error.js +5 -5
  583. package/dist/session/event.js +1 -1
  584. package/dist/session/execution/restart.js +221 -221
  585. package/dist/session/execution.js +128 -128
  586. package/dist/session/generate.js +153 -153
  587. package/dist/session/history.js +13 -13
  588. package/dist/session/inbox.js +90 -90
  589. package/dist/session/info.js +3 -3
  590. package/dist/session/instruction-entry.js +73 -73
  591. package/dist/session/instruction-state.js +8 -8
  592. package/dist/session/instructions.js +97 -97
  593. package/dist/session/message-updater.js +2 -2
  594. package/dist/session/message.js +1 -1
  595. package/dist/session/model-request.js +119 -119
  596. package/dist/session/model-transport.js +9 -9
  597. package/dist/session/move.js +130 -130
  598. package/dist/session/projector.js +86 -86
  599. package/dist/session/prompt.js +105 -105
  600. package/dist/session/provider-context.js +3 -3
  601. package/dist/session/revert.js +90 -90
  602. package/dist/session/run-coordinator.js +3 -3
  603. package/dist/session/runner/index.js +3 -3
  604. package/dist/session/runner/llm.js +231 -231
  605. package/dist/session/runner/max-steps.js +1 -1
  606. package/dist/session/runner/model.js +98 -98
  607. package/dist/session/runner/publish-llm-event.js +3 -3
  608. package/dist/session/runner/retry.js +114 -114
  609. package/dist/session/runner/step.js +126 -126
  610. package/dist/session/runner/to-llm-message.js +2 -2
  611. package/dist/session/schema.js +3 -3
  612. package/dist/session/session.js +172 -172
  613. package/dist/session/shell.js +138 -138
  614. package/dist/session/skill.js +103 -103
  615. package/dist/session/sql.js +5 -5
  616. package/dist/session/stats.js +73 -73
  617. package/dist/session/store.js +85 -85
  618. package/dist/session/subagent-completion.js +1 -1
  619. package/dist/session/subagent-job.js +210 -210
  620. package/dist/session/system-prompt.js +3 -3
  621. package/dist/session/title.js +156 -156
  622. package/dist/session/to-session-error.js +111 -111
  623. package/dist/session/transfer.js +217 -217
  624. package/dist/session/usage.js +1 -1
  625. package/dist/session.js +216 -216
  626. package/dist/shell/parse.js +6 -6
  627. package/dist/shell/result.js +1 -1
  628. package/dist/shell/scan.js +1 -1
  629. package/dist/shell/select.js +13 -13
  630. package/dist/shell.js +138 -138
  631. package/dist/skill/discovery.js +6 -6
  632. package/dist/skill/instructions.js +103 -103
  633. package/dist/skill.js +110 -110
  634. package/dist/snapshot.js +93 -93
  635. package/dist/state.js +1 -1
  636. package/dist/tool/html-markdown.js +1 -1
  637. package/dist/tool/http-body.js +1 -1
  638. package/dist/tool/mcp.js +127 -127
  639. package/dist/tool/plugin/edit.js +120 -120
  640. package/dist/tool/plugin/file-diff.js +1 -1
  641. package/dist/tool/plugin/glob.js +122 -122
  642. package/dist/tool/plugin/grep.js +124 -124
  643. package/dist/tool/plugin/mcp-resource.js +116 -116
  644. package/dist/tool/plugin/opencode.js +3 -3
  645. package/dist/tool/plugin/patch.js +122 -122
  646. package/dist/tool/plugin/question.js +105 -105
  647. package/dist/tool/plugin/read.js +119 -119
  648. package/dist/tool/plugin/shell.js +217 -217
  649. package/dist/tool/plugin/skill.js +113 -113
  650. package/dist/tool/plugin/subagent.js +219 -219
  651. package/dist/tool/plugin/webfetch.js +112 -112
  652. package/dist/tool/plugin/websearch.js +114 -114
  653. package/dist/tool/plugin/write.js +122 -122
  654. package/dist/tool/read-filesystem.js +100 -100
  655. package/dist/tool/runtime.js +1 -1
  656. package/dist/tool-output.js +8 -8
  657. package/dist/tool.js +12 -12
  658. package/dist/util/error-summary.js +1 -1
  659. package/dist/util/error.js +1 -1
  660. package/dist/util/git-executable.js +2 -2
  661. package/dist/util/iife.js +1 -1
  662. package/dist/util/lazy.js +1 -1
  663. package/dist/util/slug.js +1 -1
  664. package/dist/util/token.js +1 -1
  665. package/dist/util/which.js +1 -1
  666. package/dist/util/wildcard.js +1 -1
  667. package/dist/v1/config/agent.js +5 -5
  668. package/dist/v1/config/attachment.js +4 -4
  669. package/dist/v1/config/command.js +3 -3
  670. package/dist/v1/config/config.js +16 -16
  671. package/dist/v1/config/error.js +2 -2
  672. package/dist/v1/config/formatter.js +3 -3
  673. package/dist/v1/config/layout.js +1 -1
  674. package/dist/v1/config/lsp.js +3 -3
  675. package/dist/v1/config/mcp.js +4 -4
  676. package/dist/v1/config/migrate.js +92 -92
  677. package/dist/v1/config/permission.js +3 -3
  678. package/dist/v1/config/plugin.js +3 -3
  679. package/dist/v1/config/provider-options.js +1 -1
  680. package/dist/v1/config/provider.js +4 -4
  681. package/dist/v1/config/server.js +2 -2
  682. package/dist/v1/config/skills.js +1 -1
  683. package/dist/v1/permission.js +1 -1
  684. package/dist/variant.js +91 -91
  685. package/dist/vcs/patch.js +1 -1
  686. package/dist/vcs.js +89 -89
  687. package/dist/websearch.js +82 -82
  688. package/dist/wellknown/plugin.js +76 -76
  689. package/dist/wellknown.js +81 -81
  690. package/dist/workspace/driver.js +5 -5
  691. package/dist/workspace/sql.js +1 -1
  692. package/dist/workspace.js +80 -80
  693. package/dist/worktree/directory.js +2 -2
  694. package/dist/worktree/git.js +10 -10
  695. package/dist/worktree/sql.js +5 -5
  696. package/dist/worktree/strategies.js +89 -89
  697. package/dist/worktree.js +96 -96
  698. package/package.json +8 -8
  699. package/dist/chunks/file-mutation-qhp8asra.js +0 -252
  700. package/dist/chunks/file-mutation-rap9a73h.js +0 -18
  701. package/dist/chunks/file-mutation-wjf1m7fj.js +0 -26
  702. /package/dist/chunks/{file-mutation-0mesazry.js → plugin-0mesazry.js} +0 -0
  703. /package/dist/chunks/{file-mutation-0qkdqm5v.js → plugin-0qkdqm5v.js} +0 -0
  704. /package/dist/chunks/{file-mutation-0zkw76rk.js → plugin-0zkw76rk.js} +0 -0
  705. /package/dist/chunks/{file-mutation-17cy0kzp.js → plugin-17cy0kzp.js} +0 -0
  706. /package/dist/chunks/{file-mutation-1cnp2v09.js → plugin-1cnp2v09.js} +0 -0
  707. /package/dist/chunks/{file-mutation-1kg9ymc8.js → plugin-1kg9ymc8.js} +0 -0
  708. /package/dist/chunks/{file-mutation-24dcb14g.js → plugin-24dcb14g.js} +0 -0
  709. /package/dist/chunks/{file-mutation-2710q6r3.js → plugin-2710q6r3.js} +0 -0
  710. /package/dist/chunks/{file-mutation-2axfhc9x.js → plugin-2axfhc9x.js} +0 -0
  711. /package/dist/chunks/{file-mutation-2c3vjs8z.js → plugin-2c3vjs8z.js} +0 -0
  712. /package/dist/chunks/{file-mutation-34c7v6d4.js → plugin-34c7v6d4.js} +0 -0
  713. /package/dist/chunks/{file-mutation-359p4xyc.js → plugin-359p4xyc.js} +0 -0
  714. /package/dist/chunks/{file-mutation-3asan66x.js → plugin-3asan66x.js} +0 -0
  715. /package/dist/chunks/{file-mutation-3v8g72cx.js → plugin-3v8g72cx.js} +0 -0
  716. /package/dist/chunks/{file-mutation-3w5fmr99.js → plugin-3w5fmr99.js} +0 -0
  717. /package/dist/chunks/{file-mutation-3wcehsnq.js → plugin-3wcehsnq.js} +0 -0
  718. /package/dist/chunks/{file-mutation-43n2bw4t.js → plugin-43n2bw4t.js} +0 -0
  719. /package/dist/chunks/{file-mutation-4knz6hnm.js → plugin-4knz6hnm.js} +0 -0
  720. /package/dist/chunks/{file-mutation-4vcrnpx2.js → plugin-4vcrnpx2.js} +0 -0
  721. /package/dist/chunks/{file-mutation-4y7fprxs.js → plugin-4y7fprxs.js} +0 -0
  722. /package/dist/chunks/{file-mutation-53557ph1.js → plugin-53557ph1.js} +0 -0
  723. /package/dist/chunks/{file-mutation-550bvhaj.js → plugin-550bvhaj.js} +0 -0
  724. /package/dist/chunks/{file-mutation-5qd3pb7m.js → plugin-5qd3pb7m.js} +0 -0
  725. /package/dist/chunks/{file-mutation-6prwharc.js → plugin-6prwharc.js} +0 -0
  726. /package/dist/chunks/{file-mutation-7akdwqpd.js → plugin-7akdwqpd.js} +0 -0
  727. /package/dist/chunks/{file-mutation-7m9af43g.js → plugin-7m9af43g.js} +0 -0
  728. /package/dist/chunks/{file-mutation-822emrt2.js → plugin-822emrt2.js} +0 -0
  729. /package/dist/chunks/{file-mutation-88xbtdfr.js → plugin-88xbtdfr.js} +0 -0
  730. /package/dist/chunks/{file-mutation-8n3pysct.js → plugin-8n3pysct.js} +0 -0
  731. /package/dist/chunks/{file-mutation-8wj87zfr.js → plugin-8wj87zfr.js} +0 -0
  732. /package/dist/chunks/{file-mutation-922hggd3.js → plugin-922hggd3.js} +0 -0
  733. /package/dist/chunks/{file-mutation-9a4afbnw.js → plugin-9a4afbnw.js} +0 -0
  734. /package/dist/chunks/{file-mutation-9rqn6x4v.js → plugin-9rqn6x4v.js} +0 -0
  735. /package/dist/chunks/{file-mutation-a6k6eb26.js → plugin-a6k6eb26.js} +0 -0
  736. /package/dist/chunks/{file-mutation-af5trqkr.js → plugin-af5trqkr.js} +0 -0
  737. /package/dist/chunks/{file-mutation-afrmfg78.js → plugin-afrmfg78.js} +0 -0
  738. /package/dist/chunks/{file-mutation-aqzs7mqg.js → plugin-aqzs7mqg.js} +0 -0
  739. /package/dist/chunks/{file-mutation-atq7p7m5.js → plugin-atq7p7m5.js} +0 -0
  740. /package/dist/chunks/{file-mutation-bkyjaxrp.js → plugin-bkyjaxrp.js} +0 -0
  741. /package/dist/chunks/{file-mutation-bmr6ed5q.js → plugin-bmr6ed5q.js} +0 -0
  742. /package/dist/chunks/{file-mutation-cf4snx6d.js → plugin-cf4snx6d.js} +0 -0
  743. /package/dist/chunks/{file-mutation-cvy3z8tj.js → plugin-cvy3z8tj.js} +0 -0
  744. /package/dist/chunks/{file-mutation-d9fn303g.js → plugin-d9fn303g.js} +0 -0
  745. /package/dist/chunks/{file-mutation-d9jj8t3e.js → plugin-d9jj8t3e.js} +0 -0
  746. /package/dist/chunks/{file-mutation-dajrwvna.js → plugin-dajrwvna.js} +0 -0
  747. /package/dist/chunks/{file-mutation-dap0rakb.js → plugin-dap0rakb.js} +0 -0
  748. /package/dist/chunks/{file-mutation-df08tz66.js → plugin-df08tz66.js} +0 -0
  749. /package/dist/chunks/{file-mutation-dy18nga0.js → plugin-dy18nga0.js} +0 -0
  750. /package/dist/chunks/{file-mutation-e5kj55wp.js → plugin-e5kj55wp.js} +0 -0
  751. /package/dist/chunks/{file-mutation-e73j6tqm.js → plugin-e73j6tqm.js} +0 -0
  752. /package/dist/chunks/{file-mutation-ec1grn59.js → plugin-ec1grn59.js} +0 -0
  753. /package/dist/chunks/{file-mutation-eh3zwz77.js → plugin-eh3zwz77.js} +0 -0
  754. /package/dist/chunks/{file-mutation-emrn6kk6.js → plugin-emrn6kk6.js} +0 -0
  755. /package/dist/chunks/{file-mutation-f0mxakyp.js → plugin-f0mxakyp.js} +0 -0
  756. /package/dist/chunks/{file-mutation-f6n9ztr4.js → plugin-f6n9ztr4.js} +0 -0
  757. /package/dist/chunks/{file-mutation-faypxj3z.js → plugin-faypxj3z.js} +0 -0
  758. /package/dist/chunks/{file-mutation-fd410y7t.js → plugin-fd410y7t.js} +0 -0
  759. /package/dist/chunks/{file-mutation-fxgpk5d8.js → plugin-fxgpk5d8.js} +0 -0
  760. /package/dist/chunks/{file-mutation-g4wezp1m.js → plugin-g4wezp1m.js} +0 -0
  761. /package/dist/chunks/{file-mutation-g86h250q.js → plugin-g86h250q.js} +0 -0
  762. /package/dist/chunks/{file-mutation-gebd4c9n.js → plugin-gebd4c9n.js} +0 -0
  763. /package/dist/chunks/{file-mutation-gftt206x.js → plugin-gftt206x.js} +0 -0
  764. /package/dist/chunks/{file-mutation-hjbc5kem.js → plugin-hjbc5kem.js} +0 -0
  765. /package/dist/chunks/{file-mutation-hk9envan.js → plugin-hk9envan.js} +0 -0
  766. /package/dist/chunks/{file-mutation-j2ntwpah.js → plugin-j2ntwpah.js} +0 -0
  767. /package/dist/chunks/{file-mutation-j5zkgpj8.js → plugin-j5zkgpj8.js} +0 -0
  768. /package/dist/chunks/{file-mutation-jjkms2e6.js → plugin-jjkms2e6.js} +0 -0
  769. /package/dist/chunks/{file-mutation-jr7sbwjy.js → plugin-jr7sbwjy.js} +0 -0
  770. /package/dist/chunks/{file-mutation-jwfs4k6c.js → plugin-jwfs4k6c.js} +0 -0
  771. /package/dist/chunks/{file-mutation-jzg6c2d5.js → plugin-jzg6c2d5.js} +0 -0
  772. /package/dist/chunks/{file-mutation-mp448xyj.js → plugin-mp448xyj.js} +0 -0
  773. /package/dist/chunks/{file-mutation-msx8hqn2.js → plugin-msx8hqn2.js} +0 -0
  774. /package/dist/chunks/{file-mutation-n05xt0ee.js → plugin-n05xt0ee.js} +0 -0
  775. /package/dist/chunks/{file-mutation-n3j8tn72.js → plugin-n3j8tn72.js} +0 -0
  776. /package/dist/chunks/{file-mutation-njntx4h6.js → plugin-njntx4h6.js} +0 -0
  777. /package/dist/chunks/{file-mutation-q3sfg36h.js → plugin-q3sfg36h.js} +0 -0
  778. /package/dist/chunks/{file-mutation-q74kybfr.js → plugin-q74kybfr.js} +0 -0
  779. /package/dist/chunks/{file-mutation-qaymkmh1.js → plugin-qaymkmh1.js} +0 -0
  780. /package/dist/chunks/{file-mutation-qb87gjwd.js → plugin-qb87gjwd.js} +0 -0
  781. /package/dist/chunks/{file-mutation-qfa1cgps.js → plugin-qfa1cgps.js} +0 -0
  782. /package/dist/chunks/{file-mutation-qg3g05ea.js → plugin-qg3g05ea.js} +0 -0
  783. /package/dist/chunks/{file-mutation-qrg20bc0.js → plugin-qrg20bc0.js} +0 -0
  784. /package/dist/chunks/{file-mutation-rcb2kzg1.js → plugin-rcb2kzg1.js} +0 -0
  785. /package/dist/chunks/{file-mutation-sdp7kfr6.js → plugin-sdp7kfr6.js} +0 -0
  786. /package/dist/chunks/{file-mutation-sk3qaz4a.js → plugin-sk3qaz4a.js} +0 -0
  787. /package/dist/chunks/{file-mutation-ssg3fenm.js → plugin-ssg3fenm.js} +0 -0
  788. /package/dist/chunks/{file-mutation-w803qqfp.js → plugin-w803qqfp.js} +0 -0
  789. /package/dist/chunks/{file-mutation-wc3fc9cn.js → plugin-wc3fc9cn.js} +0 -0
  790. /package/dist/chunks/{file-mutation-wer8tq1h.js → plugin-wer8tq1h.js} +0 -0
  791. /package/dist/chunks/{file-mutation-wtztk69x.js → plugin-wtztk69x.js} +0 -0
  792. /package/dist/chunks/{file-mutation-x0ckcb58.js → plugin-x0ckcb58.js} +0 -0
  793. /package/dist/chunks/{file-mutation-x61499pn.js → plugin-x61499pn.js} +0 -0
  794. /package/dist/chunks/{file-mutation-y44na4kk.js → plugin-y44na4kk.js} +0 -0
  795. /package/dist/chunks/{file-mutation-y8cydn3q.js → plugin-y8cydn3q.js} +0 -0
  796. /package/dist/chunks/{file-mutation-y8f7s663.js → plugin-y8f7s663.js} +0 -0
  797. /package/dist/chunks/{file-mutation-ygaqb7jw.js → plugin-ygaqb7jw.js} +0 -0
  798. /package/dist/chunks/{file-mutation-ym463w8f.js → plugin-ym463w8f.js} +0 -0
  799. /package/dist/chunks/{file-mutation-z9919s4g.js → plugin-z9919s4g.js} +0 -0
@@ -1,62 +1,62 @@
1
1
  import {
2
2
  NonNegativeInt2
3
- } from "./file-mutation-922hggd3.js";
3
+ } from "./plugin-922hggd3.js";
4
4
  import {
5
5
  latest2,
6
- Service40
7
- } from "./file-mutation-x9v2s4mt.js";
6
+ Service52
7
+ } from "./plugin-d5rr1m9q.js";
8
8
  import {
9
9
  typeFollowing2
10
- } from "./file-mutation-2a5m3afh.js";
10
+ } from "./plugin-2a5m3afh.js";
11
11
  import {
12
- Service54
13
- } from "./file-mutation-qvcq4vww.js";
12
+ Service77
13
+ } from "./plugin-pf6j7trv.js";
14
14
  import {
15
- Service61
16
- } from "./file-mutation-6qdk3m7n.js";
15
+ Service51
16
+ } from "./plugin-vc96fsty.js";
17
17
  import {
18
- Service72
19
- } from "./file-mutation-3hmc9p2p.js";
18
+ Service68
19
+ } from "./plugin-krkzq7r3.js";
20
20
  import {
21
- Service19,
21
+ Service66,
22
22
  resolvePath2
23
- } from "./file-mutation-n08rr4pq.js";
23
+ } from "./plugin-rzp1atk9.js";
24
24
  import {
25
25
  output2,
26
26
  notice2,
27
27
  metadata2,
28
28
  notification2
29
- } from "./file-mutation-vzs5sf6e.js";
29
+ } from "./plugin-vzs5sf6e.js";
30
30
  import {
31
31
  Service49,
32
32
  name15
33
- } from "./file-mutation-q752a12t.js";
33
+ } from "./plugin-p7kwad1h.js";
34
34
  import {
35
35
  NotFoundError6,
36
- Service37
37
- } from "./file-mutation-w1hpm58k.js";
36
+ Service40
37
+ } from "./plugin-vmdd0m2d.js";
38
38
  import {
39
- Service24
40
- } from "./file-mutation-cekhgrsm.js";
39
+ Service26
40
+ } from "./plugin-wtheh379.js";
41
41
  import {
42
42
  scan2
43
- } from "./file-mutation-bmb3ej5t.js";
43
+ } from "./plugin-7rbdxjnj.js";
44
44
  import {
45
45
  __export
46
- } from "./file-mutation-9rqn6x4v.js";
46
+ } from "./plugin-9rqn6x4v.js";
47
47
 
48
48
  // src/tool/plugin/shell.ts
49
- var exports_shell2 = {};
50
- __export(exports_shell2, {
49
+ var exports_shell = {};
50
+ __export(exports_shell, {
51
51
  DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
52
- Input: () => Input4,
53
- Plugin: () => Plugin40,
54
- ShellTool: () => exports_shell2,
55
- name: () => name4
52
+ Input: () => Input5,
53
+ Plugin: () => Plugin6,
54
+ ShellTool: () => exports_shell,
55
+ name: () => name5
56
56
  });
57
57
  import { ToolFailure } from "@opencode/ai";
58
58
  import { Deferred, Effect, Schema, Scope } from "effect";
59
- var name4 = "shell";
59
+ var name5 = "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 Input4 = Schema.Struct({
73
+ var Input5 = Schema.Struct({
74
74
  command: Schema.String.annotate({ description: "Shell command string to execute" }),
75
75
  workdir: Schema.optionalKey(Schema.String).annotate({
76
76
  description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
@@ -116,19 +116,19 @@ Output is streaming to: ${file}`,
116
116
  truncated: false,
117
117
  status: "running"
118
118
  });
119
- var Plugin40 = {
119
+ var Plugin6 = {
120
120
  id: "opencode.tool.shell",
121
121
  effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
122
- const sessions = yield* Service24;
123
- const jobs = yield* Service61;
122
+ const sessions = yield* Service26;
123
+ const jobs = yield* Service51;
124
124
  const scope = yield* Scope.Scope;
125
- const environment = yield* Service54;
126
- const access = yield* Service19;
127
- const shell = yield* Service37;
125
+ const environment = yield* Service77;
126
+ const access = yield* Service66;
127
+ const shell = yield* Service40;
128
128
  const shellSelect = yield* Service49;
129
129
  const compatibleShell = shellSelect.resolve({ priority: "compat" });
130
- const permission = yield* Service72;
131
- const config = yield* Service40;
130
+ const permission = yield* Service68;
131
+ const config = yield* Service52;
132
132
  const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
133
133
  const source = {
134
134
  type: "tool",
@@ -147,7 +147,7 @@ var Plugin40 = {
147
147
  yield* access.authorizeExternal([target, ...directories], context);
148
148
  if (parsed.commands.length > 0)
149
149
  yield* permission.assert({
150
- action: name4,
150
+ action: name5,
151
151
  resources: parsed.commands.map((command) => command.resource),
152
152
  save: parsed.commands.map((command) => command.save),
153
153
  sessionID: context.sessionID,
@@ -184,10 +184,10 @@ var Plugin40 = {
184
184
  yield* jobs.completeBackground(info.notificationID);
185
185
  }, Effect.forkIn(scope, { startImmediately: true }));
186
186
  yield* ctx.tool.transform((editor) => editor.add({
187
- name: name4,
187
+ name: name5,
188
188
  options: { codemode: false },
189
189
  description: description(),
190
- input: Input4,
190
+ input: Input5,
191
191
  output: Output,
192
192
  execute: (input, context) => Effect.gen(function* () {
193
193
  const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
@@ -220,7 +220,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
220
220
  `)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
221
221
  const job = yield* jobs.start({
222
222
  id: info.id,
223
- type: name4,
223
+ type: name5,
224
224
  title: info.command,
225
225
  metadata: { sessionID: context.sessionID, shellID: info.id },
226
226
  recovery: {
@@ -250,7 +250,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
250
250
  }).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
251
251
  })).pipe(Effect.orDie);
252
252
  const hook = (event) => Effect.gen(function* () {
253
- const tool = event.tools[name4];
253
+ const tool = event.tools[name5];
254
254
  if (!tool)
255
255
  return;
256
256
  tool.description = description(name15(yield* compatibleShell));
@@ -261,4 +261,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
261
261
  })
262
262
  };
263
263
 
264
- export { name4, DEFAULT_TIMEOUT_MS2, Input4, Plugin40, exports_shell2 };
264
+ export { name5, DEFAULT_TIMEOUT_MS2, Input5, Plugin6, exports_shell };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  ID6
3
- } from "./file-mutation-xdyqf2ep.js";
3
+ } from "./plugin-vsrk2gnt.js";
4
4
 
5
5
  // src/plugin/provider/openrouter.ts
6
6
  import { Effect } from "effect";
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  aisdk2
3
- } from "./file-mutation-rq2znn32.js";
3
+ } from "./plugin-90wed0f6.js";
4
4
  import {
5
5
  VariantID2
6
- } from "./file-mutation-xdyqf2ep.js";
6
+ } from "./plugin-vsrk2gnt.js";
7
7
  import {
8
8
  __export
9
- } from "./file-mutation-9rqn6x4v.js";
9
+ } from "./plugin-9rqn6x4v.js";
10
10
 
11
11
  // src/variant.ts
12
12
  var exports_variant = {};
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  useragent2
3
- } from "./file-mutation-n3hytwrq.js";
3
+ } from "./plugin-q8hay3rb.js";
4
4
  import {
5
5
  Service83
6
- } from "./file-mutation-r4m9e03x.js";
6
+ } from "./plugin-2fa7naq1.js";
7
7
  import {
8
8
  OAuth3,
9
- Event17,
10
- Service68
11
- } from "./file-mutation-feek47bh.js";
9
+ Event13,
10
+ Service60
11
+ } from "./plugin-mzjf7cd6.js";
12
12
  import {
13
13
  ID8,
14
14
  MethodID2,
15
- Service67
16
- } from "./file-mutation-dv5spdm5.js";
15
+ Service59
16
+ } from "./plugin-js9c7n9a.js";
17
17
  import {
18
18
  success2,
19
19
  error2
20
- } from "./file-mutation-pjvnvgmy.js";
20
+ } from "./plugin-pjvnvgmy.js";
21
21
  import {
22
22
  ID7
23
- } from "./file-mutation-rq2znn32.js";
23
+ } from "./plugin-90wed0f6.js";
24
24
  import {
25
25
  configuredSettings2
26
- } from "./file-mutation-gzwr95fx.js";
26
+ } from "./plugin-c8nmdwf6.js";
27
27
 
28
28
  // src/plugin/provider/snowflake-cortex.ts
29
29
  import { define } from "@opencode/plugin/effect/plugin";
@@ -53,8 +53,8 @@ var SnowflakeCortexPlugin2 = define({
53
53
  id: "opencode.provider.snowflake.cortex",
54
54
  effect: Effect.fn(function* (ctx) {
55
55
  const http = yield* HttpClient.HttpClient;
56
- const credentials = yield* Service68;
57
- const integrations = yield* Service67;
56
+ const credentials = yield* Service60;
57
+ const integrations = yield* Service59;
58
58
  const bus = yield* Service83;
59
59
  const configured = yield* configuredSettings2(providerID);
60
60
  const account = { value: "" };
@@ -184,7 +184,7 @@ var SnowflakeCortexPlugin2 = define({
184
184
  });
185
185
  }
186
186
  });
187
- yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(() => load.pipe(Effect.andThen(ctx.provider.reload()))), Effect.forkScoped({ startImmediately: true }));
187
+ yield* bus.subscribe(Event13.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(() => load.pipe(Effect.andThen(ctx.provider.reload()))), Effect.forkScoped({ startImmediately: true }));
188
188
  yield* ctx.session.hook("http.request", (event) => Effect.sync(() => {
189
189
  const token = envToken();
190
190
  if (token)
@@ -1,33 +1,33 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./file-mutation-ba1mv5p0.js";
4
+ } from "./plugin-gvf9v2c0.js";
5
5
  import {
6
6
  Service83,
7
7
  node87
8
- } from "./file-mutation-r4m9e03x.js";
8
+ } from "./plugin-2fa7naq1.js";
9
9
  import {
10
10
  CredentialTable2
11
- } from "./file-mutation-pknna89w.js";
11
+ } from "./plugin-pknna89w.js";
12
12
  import {
13
13
  from2
14
- } from "./file-mutation-3zsf4n22.js";
14
+ } from "./plugin-3zsf4n22.js";
15
15
  import {
16
16
  __export
17
- } from "./file-mutation-9rqn6x4v.js";
17
+ } from "./plugin-9rqn6x4v.js";
18
18
 
19
19
  // src/credential.ts
20
20
  var exports_credential = {};
21
21
  __export(exports_credential, {
22
22
  Credential: () => exports_credential,
23
- Event: () => Event17,
23
+ Event: () => Event13,
24
24
  ID: () => ID9,
25
- Info: () => Info25,
25
+ Info: () => Info22,
26
26
  Key: () => Key3,
27
27
  OAuth: () => OAuth3,
28
- Service: () => Service68,
28
+ Service: () => Service60,
29
29
  Value: () => Value2,
30
- node: () => node71
30
+ node: () => node62
31
31
  });
32
32
  import { asc, desc, eq } from "drizzle-orm";
33
33
  import { Cause, Context, Effect, Layer, Schema } from "effect";
@@ -38,9 +38,9 @@ var ID9 = Credential.ID;
38
38
  var OAuth3 = Credential.OAuth;
39
39
  var Key3 = Credential.Key;
40
40
  var Value2 = Credential.Value;
41
- var Event17 = Credential.Event;
41
+ var Event13 = Credential.Event;
42
42
 
43
- class Info25 extends Schema.Class("Credential.Info")({
43
+ class Info22 extends Schema.Class("Credential.Info")({
44
44
  id: ID9,
45
45
  integrationID: Integration.ID,
46
46
  label: Schema.String,
@@ -48,16 +48,16 @@ class Info25 extends Schema.Class("Credential.Info")({
48
48
  }) {
49
49
  }
50
50
 
51
- class Service68 extends Context.Service()("@opencode/Credential") {
51
+ class Service60 extends Context.Service()("@opencode/Credential") {
52
52
  }
53
- var layer = Layer.effect(Service68, Effect.gen(function* () {
53
+ var layer = Layer.effect(Service60, Effect.gen(function* () {
54
54
  const db = (yield* Service84).db;
55
55
  const bus = yield* Service83;
56
56
  const decode = Schema.decodeUnknownSync(Value2);
57
57
  const stored = (row) => {
58
58
  if (!row.integration_id)
59
59
  return;
60
- return new Info25({
60
+ return new Info22({
61
61
  id: row.id,
62
62
  integrationID: row.integration_id,
63
63
  label: row.label,
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
68
68
  const credential = stored(row);
69
69
  return credential ? [credential] : [];
70
70
  });
71
- return Service68.of({
71
+ return Service60.of({
72
72
  all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
73
73
  list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
74
74
  get: Effect.fn("Credential.get")(function* (id) {
@@ -76,7 +76,7 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
76
76
  return row ? stored(row) : undefined;
77
77
  }),
78
78
  create: Effect.fn("Credential.create")(function* (input) {
79
- const credential = new Info25({
79
+ const credential = new Info22({
80
80
  id: ID9.create(),
81
81
  integrationID: input.integrationID,
82
82
  label: input.label ?? "default",
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
101
101
  integrationID: credential.integrationID,
102
102
  type: credential.value.type
103
103
  });
104
- yield* bus.publish(Event17.Updated, {}, { global: true });
105
- yield* bus.publish(Event17.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
104
+ yield* bus.publish(Event13.Updated, {}, { global: true });
105
+ yield* bus.publish(Event13.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
106
106
  return credential;
107
107
  }),
108
108
  activate: Effect.fn("Credential.activate")(function* (id) {
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
122
122
  })), Effect.orDie);
123
123
  if (integrationID) {
124
124
  yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
125
- yield* bus.publish(Event17.Switched, { integrationID, credentialID: id }, { global: true });
125
+ yield* bus.publish(Event13.Switched, { integrationID, credentialID: id }, { global: true });
126
126
  }
127
127
  }),
128
128
  update: Effect.fn("Credential.update")(function* (id, updates) {
@@ -154,7 +154,7 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
154
154
  labelChanged: updates.label !== undefined && updates.label !== credential.label
155
155
  });
156
156
  if (updates.label !== undefined && updates.label !== credential.label)
157
- yield* bus.publish(Event17.Updated, {}, { global: true });
157
+ yield* bus.publish(Event13.Updated, {}, { global: true });
158
158
  }),
159
159
  remove: Effect.fn("Credential.remove")(function* (id) {
160
160
  const removed = yield* db.transaction((tx) => Effect.gen(function* () {
@@ -187,12 +187,12 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
187
187
  active: removed.switched,
188
188
  ...removed.switched ? { replacementID: removed.credentialID } : {}
189
189
  });
190
- yield* bus.publish(Event17.Updated, {}, { global: true });
190
+ yield* bus.publish(Event13.Updated, {}, { global: true });
191
191
  if (removed.switched)
192
- yield* bus.publish(Event17.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
192
+ yield* bus.publish(Event13.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
193
193
  })
194
194
  });
195
195
  }));
196
- var node71 = makeGlobalNode({ service: Service68, layer, deps: [node88, node87] });
196
+ var node62 = makeGlobalNode({ service: Service60, layer, deps: [node88, node87] });
197
197
 
198
- export { ID9, OAuth3, Key3, Value2, Event17, Info25, Service68, node71, exports_credential };
198
+ export { ID9, OAuth3, Key3, Value2, Event13, Info22, Service60, node62, exports_credential };
@@ -1,55 +1,55 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./file-mutation-922hggd3.js";
4
+ } from "./plugin-922hggd3.js";
5
5
  import {
6
6
  Repository2,
7
7
  TreeID2,
8
- Service82,
9
- node86
10
- } from "./file-mutation-607q5haz.js";
8
+ Service81,
9
+ node85
10
+ } from "./plugin-c488s98d.js";
11
11
  import {
12
- Service80,
13
- node84
14
- } from "./file-mutation-wmnz76n2.js";
12
+ Service79,
13
+ node83
14
+ } from "./plugin-ysphgs6j.js";
15
15
  import {
16
16
  create3
17
- } from "./file-mutation-rdw6cm16.js";
17
+ } from "./plugin-rdw6cm16.js";
18
18
  import {
19
19
  __export
20
- } from "./file-mutation-9rqn6x4v.js";
20
+ } from "./plugin-9rqn6x4v.js";
21
21
 
22
22
  // src/snapshot.ts
23
23
  var exports_snapshot2 = {};
24
24
  __export(exports_snapshot2, {
25
- Error: () => Error5,
26
- ID: () => ID16,
27
- Service: () => Service79,
25
+ Error: () => Error2,
26
+ ID: () => ID5,
27
+ Service: () => Service39,
28
28
  Snapshot: () => exports_snapshot2,
29
- node: () => node83,
30
- noopLayer: () => noopLayer3
29
+ node: () => node42,
30
+ noopLayer: () => noopLayer2
31
31
  });
32
32
  import { makeLocationNode } from "@opencode/util/effect/app-node";
33
33
  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 ID16 } from "@opencode/schema/snapshot";
37
+ import { ID as ID5 } from "@opencode/schema/snapshot";
38
38
  import { Hash } from "@opencode/util/hash";
39
- class Error5 extends Schema.TaggedError()("Snapshot.Error", {
39
+ class Error2 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 Service79 extends Context.Service()("@opencode/Snapshot") {
46
+ class Service39 extends Context.Service()("@opencode/Snapshot") {
47
47
  }
48
- var layer = Layer.effect(Service79, Effect.gen(function* () {
48
+ var layer = Layer.effect(Service39, Effect.gen(function* () {
49
49
  const fs = yield* FSUtil.Service;
50
- const git = yield* Service82;
50
+ const git = yield* Service81;
51
51
  const global = yield* Global.Service;
52
- const location = yield* Service80;
52
+ const location = yield* Service79;
53
53
  const lifetime = yield* Scope.Scope;
54
54
  const state = create3({
55
55
  name: "snapshot",
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service79, 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 Error5({ operation: "capture", message: "Project is not a Git repository" });
66
+ return yield* new Error2({ 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(Service79, 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 Error5({ operation: "capture", message: "Location is outside the project" });
76
+ return yield* new Error2({ 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(Service79, Effect.gen(function* () {
82
82
  return;
83
83
  return yield* Effect.gen(function* () {
84
84
  const repo = yield* repository;
85
- return ID16.make(yield* git.tree.capture({
85
+ return ID5.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(Service79, 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 Error5({ operation: "restore", message: `Path escapes the project: ${file}` });
130
+ return yield* new Error2({ 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 Error5({ operation: "restore", message: "Snapshots are disabled" });
137
+ return yield* new Error2({ 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 Service79.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
141
+ return Service39.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
142
142
  }).pipe(Effect.withSpan("Snapshot.boot")));
143
- var node83 = makeLocationNode({
144
- service: Service79,
143
+ var node42 = makeLocationNode({
144
+ service: Service39,
145
145
  layer,
146
- deps: [FSUtil.node, node86, Global.node, node84]
146
+ deps: [FSUtil.node, node85, Global.node, node83]
147
147
  });
148
- var noopLayer3 = Layer.succeed(Service79, Service79.of({
148
+ var noopLayer2 = Layer.succeed(Service39, Service39.of({
149
149
  transform: () => Effect.succeed({ dispose: Effect.void }),
150
150
  reload: () => Effect.void,
151
151
  capture: () => Effect.undefined,
@@ -154,13 +154,13 @@ var noopLayer3 = Layer.succeed(Service79, Service79.of({
154
154
  restore: () => Effect.void
155
155
  }));
156
156
  function failure(operation, cause) {
157
- if (cause instanceof Error5 && cause.operation === operation)
157
+ if (cause instanceof Error2 && cause.operation === operation)
158
158
  return cause;
159
- return new Error5({
159
+ return new Error2({
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 { ID16, Error5, Service79, node83, noopLayer3, exports_snapshot2 };
166
+ export { ID5, Error2, Service39, node42, noopLayer2, exports_snapshot2 };