@opencode/core 0.0.0-dev-19860 → 0.0.0-dev-19862

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 +68 -68
  7. package/dist/chunks/{filesystem-kxyf5z7e.js → image-00qecwt6.js} +20 -20
  8. package/dist/chunks/{filesystem-phsc1w3k.js → image-017kf9ys.js} +10 -10
  9. package/dist/chunks/{filesystem-3ta4n5rg.js → image-03bdbrz9.js} +7 -7
  10. package/dist/chunks/{filesystem-j8v09z9q.js → image-067aw8zg.js} +3 -3
  11. package/dist/chunks/{filesystem-w1k39n5e.js → image-06dxphr1.js} +4 -4
  12. package/dist/chunks/{filesystem-z014qaxe.js → image-06pxfyz9.js} +17 -17
  13. package/dist/chunks/{filesystem-erm9gs1m.js → image-0835j86p.js} +18 -18
  14. package/dist/chunks/{filesystem-1akmjgjg.js → image-0da5p1c1.js} +5 -5
  15. package/dist/chunks/{filesystem-8s8mxddj.js → image-0gr7cw0d.js} +4 -4
  16. package/dist/chunks/{filesystem-6anwy9fs.js → image-0jk763hn.js} +6 -6
  17. package/dist/chunks/{filesystem-z97hzn0m.js → image-0k7qqwr6.js} +16 -16
  18. package/dist/chunks/{filesystem-0paq2nw3.js → image-0paq2nw3.js} +1 -1
  19. package/dist/chunks/{filesystem-0q0f95c6.js → image-0q0f95c6.js} +1 -1
  20. package/dist/chunks/{filesystem-bgxcxs0p.js → image-0r7yqxbf.js} +5 -5
  21. package/dist/chunks/{filesystem-s4cf8d9e.js → image-0vhbx82e.js} +18 -18
  22. package/dist/chunks/{filesystem-bj8kctas.js → image-0vrssnk3.js} +11 -11
  23. package/dist/chunks/{filesystem-e82g4p77.js → image-0yqcp4rf.js} +10 -10
  24. package/dist/chunks/{filesystem-89cssmvp.js → image-139d9d1s.js} +13 -13
  25. package/dist/chunks/{filesystem-xz670hkz.js → image-13w8yp4j.js} +30 -30
  26. package/dist/chunks/{filesystem-rxp0wtye.js → image-15ys8njn.js} +11 -11
  27. package/dist/chunks/{filesystem-1dazxqgg.js → image-1dazxqgg.js} +2 -2
  28. package/dist/chunks/{filesystem-pmd7yqw7.js → image-1gsqt67b.js} +65 -65
  29. package/dist/chunks/{filesystem-kt6frfpb.js → image-1hc7fkrj.js} +14 -14
  30. package/dist/chunks/{filesystem-aepjrbx0.js → image-1nnxksmf.js} +47 -47
  31. package/dist/chunks/{filesystem-e06sw8n6.js → image-1wwfc5vj.js} +29 -29
  32. package/dist/chunks/{filesystem-1ygqh575.js → image-1ygqh575.js} +2 -2
  33. package/dist/chunks/{filesystem-21r38tys.js → image-21r38tys.js} +1 -1
  34. package/dist/chunks/{filesystem-2402vzrj.js → image-2402vzrj.js} +1 -1
  35. package/dist/chunks/{filesystem-2a5m3afh.js → image-2a5m3afh.js} +1 -1
  36. package/dist/chunks/{filesystem-vbf83gs2.js → image-2dtaqj3b.js} +30 -30
  37. package/dist/chunks/{filesystem-r2m716tb.js → image-2sejkfem.js} +9 -9
  38. package/dist/chunks/{filesystem-8gac8n07.js → image-392652w7.js} +23 -23
  39. package/dist/chunks/{filesystem-hv6jfmhd.js → image-3aa5s156.js} +10 -10
  40. package/dist/chunks/{filesystem-3fc6dm20.js → image-3fc6dm20.js} +1 -1
  41. package/dist/chunks/{filesystem-3hepkmqq.js → image-3hepkmqq.js} +1 -1
  42. package/dist/chunks/{filesystem-b2e86tga.js → image-3kkyct8v.js} +20 -20
  43. package/dist/chunks/{filesystem-1rr3swgy.js → image-3mqaq5np.js} +4 -4
  44. package/dist/chunks/{filesystem-88r9n90q.js → image-3r85b2d0.js} +4 -4
  45. package/dist/chunks/{filesystem-3smtnn6g.js → image-3smtnn6g.js} +1 -1
  46. package/dist/chunks/{filesystem-3tvqynh2.js → image-3tvqynh2.js} +1 -1
  47. package/dist/chunks/{filesystem-1f075h9t.js → image-3yt543f6.js} +20 -20
  48. package/dist/chunks/{filesystem-kx6qvt0d.js → image-4hka8bb7.js} +85 -85
  49. package/dist/chunks/{filesystem-x6ce0q15.js → image-4na7n5g4.js} +10 -10
  50. package/dist/chunks/{filesystem-t4bjqpgv.js → image-54mjtcx2.js} +17 -17
  51. package/dist/chunks/{filesystem-57ez7d0k.js → image-57ez7d0k.js} +2 -2
  52. package/dist/chunks/{filesystem-a1bz86dw.js → image-5c4hm403.js} +3 -3
  53. package/dist/chunks/{filesystem-46p5v0nr.js → image-5d0yg4wn.js} +14 -14
  54. package/dist/chunks/{filesystem-5daktx2q.js → image-5daktx2q.js} +1 -1
  55. package/dist/chunks/{filesystem-q2j4f1zm.js → image-5g8m5wq5.js} +17 -17
  56. package/dist/chunks/{filesystem-bp188etw.js → image-5gjsyccn.js} +18 -18
  57. package/dist/chunks/{filesystem-hgxzff7j.js → image-5j3zvexf.js} +22 -22
  58. package/dist/chunks/{filesystem-5t3nmthw.js → image-5t3nmthw.js} +2 -2
  59. package/dist/chunks/{filesystem-8j3bcj8f.js → image-5z7jsfn8.js} +19 -19
  60. package/dist/chunks/{filesystem-q6ymfnrf.js → image-638tecg7.js} +36 -36
  61. package/dist/chunks/{filesystem-sra6vpz2.js → image-63t418ew.js} +7 -7
  62. package/dist/chunks/{filesystem-vhkhvjwk.js → image-63zzvet4.js} +2 -2
  63. package/dist/chunks/{filesystem-669tq793.js → image-669tq793.js} +1 -1
  64. package/dist/chunks/{filesystem-0jk305gw.js → image-68cpew65.js} +15 -15
  65. package/dist/chunks/{filesystem-6msgmcgs.js → image-6msgmcgs.js} +1 -1
  66. package/dist/chunks/{filesystem-fwm7j62e.js → image-6nt0tvrw.js} +12 -12
  67. package/dist/chunks/{filesystem-w1k85dh4.js → image-6sw2gfph.js} +86 -86
  68. package/dist/chunks/{filesystem-gmv9h3vn.js → image-6tz160f2.js} +32 -32
  69. package/dist/chunks/{filesystem-nj1jmg1n.js → image-6vjyz34s.js} +24 -24
  70. package/dist/chunks/{filesystem-73tb2d7t.js → image-73tb2d7t.js} +1 -1
  71. package/dist/chunks/{filesystem-9q0baw2b.js → image-75m48y27.js} +14 -14
  72. package/dist/chunks/{filesystem-bf0ep029.js → image-7aedyf8y.js} +11 -11
  73. package/dist/chunks/{filesystem-7bmhse3q.js → image-7bmhse3q.js} +1 -1
  74. package/dist/chunks/{filesystem-kv00n2m3.js → image-7d2amvh8.js} +34 -34
  75. package/dist/chunks/{filesystem-24gf0acj.js → image-7hed1pqr.js} +9 -9
  76. package/dist/chunks/{filesystem-rqb0n6yh.js → image-80xnw93e.js} +26 -26
  77. package/dist/chunks/{filesystem-t37zfa8g.js → image-83v9k6gb.js} +18 -18
  78. package/dist/chunks/{filesystem-cm9jsw5f.js → image-85v7x7ja.js} +8 -8
  79. package/dist/chunks/{filesystem-8d7r5vzw.js → image-8d7r5vzw.js} +1 -1
  80. package/dist/chunks/{filesystem-23h8ty1a.js → image-8m5p3kak.js} +26 -26
  81. package/dist/chunks/{filesystem-1ym61n1a.js → image-8n5c03n1.js} +33 -33
  82. package/dist/chunks/{filesystem-ap9fazeb.js → image-8nf7zb52.js} +5 -5
  83. package/dist/chunks/{filesystem-r5fcph48.js → image-939qrfm7.js} +4 -4
  84. package/dist/chunks/{filesystem-826ce358.js → image-99rss5sz.js} +11 -11
  85. package/dist/chunks/{filesystem-12mvcd02.js → image-9ad2hkyv.js} +9 -9
  86. package/dist/chunks/{filesystem-3ch3tthc.js → image-9ce3ycbs.js} +20 -20
  87. package/dist/chunks/{filesystem-k0jqx04v.js → image-9qe4ywed.js} +13 -13
  88. package/dist/chunks/{filesystem-69qfe4ye.js → image-9r51n9hr.js} +3 -3
  89. package/dist/chunks/{filesystem-8md4gqd3.js → image-a2kgmd7p.js} +11 -11
  90. package/dist/chunks/{filesystem-fcv5vf6w.js → image-a5tpsryw.js} +20 -20
  91. package/dist/chunks/{filesystem-hq8hx04p.js → image-aa59mvw4.js} +10 -10
  92. package/dist/chunks/{filesystem-aaet6srn.js → image-aaet6srn.js} +2 -2
  93. package/dist/chunks/{filesystem-3377exhx.js → image-achqs0ef.js} +29 -29
  94. package/dist/chunks/{filesystem-hxyzw3m3.js → image-af4zwpq7.js} +13 -13
  95. package/dist/chunks/{filesystem-5jzcxvp7.js → image-ajycawkw.js} +5 -5
  96. package/dist/chunks/{filesystem-nabsnkhp.js → image-am6ahzm8.js} +15 -15
  97. package/dist/chunks/{filesystem-wjcmd9cz.js → image-b07nf375.js} +5 -5
  98. package/dist/chunks/{filesystem-1qdy7hzf.js → image-b28k5m4e.js} +3 -3
  99. package/dist/chunks/{filesystem-b6gygkdw.js → image-b6gygkdw.js} +2 -2
  100. package/dist/chunks/{filesystem-rf5ee5k8.js → image-b6xhrpje.js} +6 -6
  101. package/dist/chunks/{filesystem-84b8vhgq.js → image-b8f7f8xf.js} +13 -13
  102. package/dist/chunks/{filesystem-rz0q65aw.js → image-b92qxpxf.js} +5 -5
  103. package/dist/chunks/{filesystem-7877ca20.js → image-b93h32n1.js} +27 -27
  104. package/dist/chunks/{filesystem-dreppv43.js → image-bakjtvbk.js} +26 -26
  105. package/dist/chunks/{filesystem-y1p4t30v.js → image-bernzkb8.js} +5 -5
  106. package/dist/chunks/{filesystem-n0anbbxx.js → image-bfxp4173.js} +6 -6
  107. package/dist/chunks/{filesystem-8ft4t96z.js → image-bm9qws1e.js} +37 -37
  108. package/dist/chunks/{filesystem-1gbvn30c.js → image-bqc3tr0a.js} +4 -4
  109. package/dist/chunks/{filesystem-v06sarth.js → image-brs92t9y.js} +1 -1
  110. package/dist/chunks/{filesystem-9zcn9hy1.js → image-bs4dv3xv.js} +4 -4
  111. package/dist/chunks/image-bva6afj8.js +252 -0
  112. package/dist/chunks/{filesystem-4jc5c4h4.js → image-bz85s9hh.js} +1 -1
  113. package/dist/chunks/{filesystem-p9za4yg2.js → image-c08p7789.js} +47 -47
  114. package/dist/chunks/{filesystem-v4qfxnag.js → image-c488s98d.js} +12 -12
  115. package/dist/chunks/{filesystem-wjv5e24e.js → image-c6s8nrx6.js} +22 -22
  116. package/dist/chunks/{filesystem-05g1mm2c.js → image-cd64px2y.js} +27 -27
  117. package/dist/chunks/{filesystem-13qzbekt.js → image-cejtc14z.js} +50 -50
  118. package/dist/chunks/{filesystem-gn50vh93.js → image-ck7eh7w1.js} +3 -3
  119. package/dist/chunks/{filesystem-zvayce75.js → image-cnnrtqe3.js} +4 -4
  120. package/dist/chunks/{filesystem-eyckedmf.js → image-dc3m2m7k.js} +18 -18
  121. package/dist/chunks/{filesystem-8p4f9s12.js → image-dj2t23y0.js} +2 -2
  122. package/dist/chunks/{filesystem-awy7rs6m.js → image-dq8pkjkv.js} +7 -7
  123. package/dist/chunks/{filesystem-s85vttx4.js → image-dqswddfv.js} +8 -8
  124. package/dist/chunks/{filesystem-drwq78ky.js → image-drwq78ky.js} +1 -1
  125. package/dist/chunks/{filesystem-hhf3paha.js → image-e0t237xz.js} +25 -25
  126. package/dist/chunks/{filesystem-0nce7q48.js → image-e1fwdt11.js} +15 -15
  127. package/dist/chunks/{filesystem-fdv30zvt.js → image-edrmdtr5.js} +4 -4
  128. package/dist/chunks/{filesystem-ef5x83kb.js → image-ef5x83kb.js} +1 -1
  129. package/dist/chunks/{filesystem-erw5rpbs.js → image-erw5rpbs.js} +2 -2
  130. package/dist/chunks/{filesystem-etq0c3wd.js → image-etq0c3wd.js} +1 -1
  131. package/dist/chunks/{filesystem-dj9sq318.js → image-evbgk2k8.js} +5 -5
  132. package/dist/chunks/{filesystem-yp2x3t23.js → image-f2n192rq.js} +4 -4
  133. package/dist/chunks/{filesystem-4n607a2z.js → image-f62qkzqr.js} +5 -5
  134. package/dist/chunks/{filesystem-fdms3n6w.js → image-fdms3n6w.js} +2 -2
  135. package/dist/chunks/{filesystem-knb7evpn.js → image-fkjmw100.js} +6 -6
  136. package/dist/chunks/{filesystem-kkz8m0yr.js → image-fqzse3my.js} +5 -5
  137. package/dist/chunks/{filesystem-6ywb039y.js → image-fx36as45.js} +7 -7
  138. package/dist/chunks/{filesystem-fxbjtjnd.js → image-fxbjtjnd.js} +1 -1
  139. package/dist/chunks/{filesystem-t9d84gp7.js → image-fxmgg4aj.js} +4 -4
  140. package/dist/chunks/{filesystem-4e8vs6eh.js → image-g1sxm558.js} +8 -8
  141. package/dist/chunks/{filesystem-gd4qta3r.js → image-gd4qta3r.js} +1 -1
  142. package/dist/chunks/{filesystem-kz9hmqfp.js → image-ghg8jnyk.js} +11 -11
  143. package/dist/chunks/{filesystem-4waxsa04.js → image-gnf9d3h8.js} +48 -48
  144. package/dist/chunks/{filesystem-gv6a8nnw.js → image-gv6a8nnw.js} +2 -2
  145. package/dist/chunks/{filesystem-98hxqkfd.js → image-gxhy3et5.js} +21 -21
  146. package/dist/chunks/{filesystem-8z00fdkb.js → image-h6r3nrb9.js} +4 -4
  147. package/dist/chunks/{filesystem-h6vf3j39.js → image-h6vf3j39.js} +1 -1
  148. package/dist/chunks/{filesystem-b02qts2r.js → image-h9q6ezy0.js} +8 -8
  149. package/dist/chunks/{filesystem-f828m53h.js → image-hdnk95c8.js} +2 -2
  150. package/dist/chunks/image-he6r5g0j.js +492 -0
  151. package/dist/chunks/{filesystem-qccxgcpc.js → image-hebcgj7p.js} +23 -23
  152. package/dist/chunks/{filesystem-5v1az6zm.js → image-hgbj0d9k.js} +27 -27
  153. package/dist/chunks/{filesystem-2zcvd3jh.js → image-hh7bdvx5.js} +52 -52
  154. package/dist/chunks/{filesystem-ckge2wbq.js → image-hmfwemxz.js} +21 -21
  155. package/dist/chunks/{filesystem-9neh7k8p.js → image-htj8j8jj.js} +9 -9
  156. package/dist/chunks/{filesystem-j56e64zr.js → image-j56e64zr.js} +1 -1
  157. package/dist/chunks/{filesystem-j83byb14.js → image-j83byb14.js} +1 -1
  158. package/dist/chunks/{filesystem-xcpdqaxy.js → image-j88pc17k.js} +2 -2
  159. package/dist/chunks/{filesystem-fph97qbf.js → image-jcm0a15m.js} +15 -15
  160. package/dist/chunks/{filesystem-zgjxrtm7.js → image-jh2v76ff.js} +13 -13
  161. package/dist/chunks/{filesystem-24s8e1ye.js → image-jhgm4sfk.js} +19 -19
  162. package/dist/chunks/{filesystem-6x62fcpm.js → image-k18ytf7m.js} +6 -6
  163. package/dist/chunks/{filesystem-d2sm94f9.js → image-k3myxckw.js} +15 -15
  164. package/dist/chunks/{filesystem-gach115v.js → image-k7w7z65h.js} +32 -32
  165. package/dist/chunks/{filesystem-dm473wwa.js → image-kad21c22.js} +22 -22
  166. package/dist/chunks/{filesystem-dhmh7aw6.js → image-kne8f3cn.js} +4 -4
  167. package/dist/chunks/{filesystem-981wagwk.js → image-kvjzkr2v.js} +9 -9
  168. package/dist/chunks/{filesystem-kvvk39gs.js → image-kvvk39gs.js} +1 -1
  169. package/dist/chunks/{filesystem-f8p8k6s9.js → image-kxftmbpv.js} +11 -11
  170. package/dist/chunks/{filesystem-nftssr05.js → image-kxr8hxb3.js} +35 -35
  171. package/dist/chunks/{filesystem-s8610hey.js → image-ky3seynh.js} +2 -2
  172. package/dist/chunks/{filesystem-cfpkc3c9.js → image-m0jqrx5p.js} +2 -2
  173. package/dist/chunks/{filesystem-m3fdjcah.js → image-m3fdjcah.js} +1 -1
  174. package/dist/chunks/{filesystem-m9w0rfyh.js → image-m9w0rfyh.js} +1 -1
  175. package/dist/chunks/{filesystem-04g8gb3s.js → image-mfqth6d2.js} +26 -26
  176. package/dist/chunks/{filesystem-jcqz60n0.js → image-mjqa8qhd.js} +11 -11
  177. package/dist/chunks/{filesystem-q5xvhvda.js → image-mqxcq9ag.js} +6 -6
  178. package/dist/chunks/{filesystem-vvccsdf3.js → image-mx9vqzsb.js} +6 -6
  179. package/dist/chunks/{filesystem-mkjc2x20.js → image-mz8r1y5r.js} +24 -24
  180. package/dist/chunks/{filesystem-mx4xx2gt.js → image-n3z0jc6w.js} +11 -11
  181. package/dist/chunks/{filesystem-xhezqp3k.js → image-n58zg6xk.js} +4 -4
  182. package/dist/chunks/{filesystem-kz12prak.js → image-n6m7m23y.js} +28 -28
  183. package/dist/chunks/{filesystem-npyp5404.js → image-nfq1y937.js} +13 -13
  184. package/dist/chunks/{filesystem-8adjgm89.js → image-ngbz3444.js} +15 -15
  185. package/dist/chunks/{filesystem-my3wv6m6.js → image-nh62er5d.js} +1 -1
  186. package/dist/chunks/image-nnk2tvfv.js +26 -0
  187. package/dist/chunks/{filesystem-zanfrvrm.js → image-nrjct5b1.js} +3 -3
  188. package/dist/chunks/{filesystem-7m8psw39.js → image-nrth0by3.js} +32 -32
  189. package/dist/chunks/{filesystem-hg5xz5jt.js → image-nrzntby6.js} +26 -26
  190. package/dist/chunks/{filesystem-hh2qayf7.js → image-nswb885p.js} +12 -12
  191. package/dist/chunks/{filesystem-k3c624dm.js → image-nzks3jc8.js} +3 -3
  192. package/dist/chunks/{filesystem-p37cw4rj.js → image-p37cw4rj.js} +1 -1
  193. package/dist/chunks/{filesystem-354mtm1j.js → image-p6ztvwk7.js} +23 -23
  194. package/dist/chunks/{filesystem-j9p9na99.js → image-pgj5ednv.js} +23 -23
  195. package/dist/chunks/{filesystem-pjvnvgmy.js → image-pjvnvgmy.js} +1 -1
  196. package/dist/chunks/{filesystem-76410njm.js → image-pkjmx7wp.js} +28 -28
  197. package/dist/chunks/{filesystem-pknna89w.js → image-pknna89w.js} +1 -1
  198. package/dist/chunks/{filesystem-10x37dkd.js → image-pkww5a5n.js} +19 -19
  199. package/dist/chunks/{filesystem-32czktbn.js → image-pm6agkr2.js} +26 -26
  200. package/dist/chunks/{filesystem-sm456w7t.js → image-pnjgrh73.js} +8 -8
  201. package/dist/chunks/{filesystem-sv3vsz9b.js → image-pt3jfr41.js} +6 -6
  202. package/dist/chunks/{filesystem-g0xmyw3h.js → image-pwh698z3.js} +175 -175
  203. package/dist/chunks/{filesystem-x232yfz7.js → image-q00xwa84.js} +46 -46
  204. package/dist/chunks/{filesystem-4nq1vhh4.js → image-q0sffv6r.js} +12 -12
  205. package/dist/chunks/{filesystem-6nbtj0ez.js → image-q2r517dv.js} +26 -26
  206. package/dist/chunks/{filesystem-52r8cdh9.js → image-q400cd05.js} +15 -15
  207. package/dist/chunks/{filesystem-7xtf3zc8.js → image-q4w4v6pe.js} +16 -16
  208. package/dist/chunks/{filesystem-3qnhr4nm.js → image-q7h916em.js} +20 -20
  209. package/dist/chunks/{filesystem-e4ah1ep1.js → image-qeyp0y11.js} +20 -20
  210. package/dist/chunks/{filesystem-nq7qbqzc.js → image-qg0jgkcp.js} +9 -9
  211. package/dist/chunks/{filesystem-0jwsre1p.js → image-qgn6gcr1.js} +5 -5
  212. package/dist/chunks/{filesystem-gyrsatny.js → image-qrwkhvtb.js} +3 -3
  213. package/dist/chunks/{filesystem-qsdy395h.js → image-qsdy395h.js} +1 -1
  214. package/dist/chunks/{filesystem-4r9jq3gm.js → image-r3qstv61.js} +10 -10
  215. package/dist/chunks/{filesystem-19ntd6ym.js → image-r4f58m0w.js} +9 -9
  216. package/dist/chunks/{filesystem-fkdphn1c.js → image-r9ajpy6d.js} +22 -22
  217. package/dist/chunks/{filesystem-j41a475f.js → image-ran5413e.js} +11 -11
  218. package/dist/chunks/{filesystem-rdw6cm16.js → image-rdw6cm16.js} +1 -1
  219. package/dist/chunks/{filesystem-0ya3ykak.js → image-rg7f2efc.js} +11 -11
  220. package/dist/chunks/{filesystem-02nrjc1r.js → image-rhjbct0v.js} +6 -6
  221. package/dist/chunks/{filesystem-zn99htb6.js → image-rjmnh9z2.js} +3 -3
  222. package/dist/chunks/{filesystem-jxahb5yh.js → image-rp8s9nv0.js} +9 -9
  223. package/dist/chunks/{filesystem-q1fascv8.js → image-rt3jmkn7.js} +44 -44
  224. package/dist/chunks/{filesystem-sy1fbdna.js → image-rvtsy6rd.js} +29 -29
  225. package/dist/chunks/{filesystem-nxhqveyz.js → image-s8zy8myc.js} +5 -5
  226. package/dist/chunks/{filesystem-7z26aszj.js → image-sacqr7ez.js} +9 -9
  227. package/dist/chunks/{filesystem-wk75wp36.js → image-sbprf0jz.js} +9 -9
  228. package/dist/chunks/{filesystem-j0x8q95g.js → image-sfky6qr3.js} +25 -25
  229. package/dist/chunks/{filesystem-7hp0tadb.js → image-skc6rhzm.js} +30 -30
  230. package/dist/chunks/{filesystem-0h54jqbs.js → image-sm965ndy.js} +8 -8
  231. package/dist/chunks/{filesystem-8aqc4yxf.js → image-sv75xz9r.js} +6 -6
  232. package/dist/chunks/{filesystem-1wyj371t.js → image-sxec3bmh.js} +32 -32
  233. package/dist/chunks/{filesystem-48a4xvag.js → image-sxzca6gj.js} +22 -22
  234. package/dist/chunks/{filesystem-7gpkdhmk.js → image-t07e46qc.js} +11 -11
  235. package/dist/chunks/{filesystem-kf5cf4rp.js → image-t0jj3952.js} +12 -12
  236. package/dist/chunks/{filesystem-6fnhcvra.js → image-t1kw6d74.js} +13 -13
  237. package/dist/chunks/{filesystem-btec747f.js → image-t71v2ka4.js} +5 -5
  238. package/dist/chunks/{filesystem-tazgh4e4.js → image-tazgh4e4.js} +1 -1
  239. package/dist/chunks/{filesystem-tbz0fdvh.js → image-tbz0fdvh.js} +2 -2
  240. package/dist/chunks/{filesystem-89znhe33.js → image-tcezcvh9.js} +4 -4
  241. package/dist/chunks/{filesystem-0cknbh6y.js → image-tdak43y4.js} +3 -3
  242. package/dist/chunks/{filesystem-tdstcens.js → image-tdstcens.js} +1 -1
  243. package/dist/chunks/{filesystem-vke0fqjh.js → image-tf68swts.js} +12 -12
  244. package/dist/chunks/{filesystem-4pw9szbk.js → image-tgf2ymth.js} +4 -4
  245. package/dist/chunks/{filesystem-2k71kv7p.js → image-tjedn1bk.js} +4 -4
  246. package/dist/chunks/{filesystem-71ka5gtd.js → image-tv92y52x.js} +32 -32
  247. package/dist/chunks/{filesystem-tvtrv512.js → image-tvtrv512.js} +1 -1
  248. package/dist/chunks/{filesystem-p9b38jtj.js → image-tyn1d5dz.js} +18 -18
  249. package/dist/chunks/image-v1faaxn9.js +18 -0
  250. package/dist/chunks/{filesystem-dpp1ex0k.js → image-v2zqrnxe.js} +15 -15
  251. package/dist/chunks/{filesystem-8d69mcgf.js → image-vasy7518.js} +23 -23
  252. package/dist/chunks/{filesystem-veqvce7d.js → image-veqvce7d.js} +1 -1
  253. package/dist/chunks/{filesystem-rbss9r2b.js → image-vkw8r1eq.js} +38 -38
  254. package/dist/chunks/{filesystem-tt62rdgt.js → image-vkxy7ybf.js} +4 -4
  255. package/dist/chunks/{filesystem-sjwvt0mt.js → image-vn3t7c0f.js} +24 -24
  256. package/dist/chunks/{filesystem-sdcae30b.js → image-vnbqqzsm.js} +16 -16
  257. package/dist/chunks/{filesystem-n7fr6eaa.js → image-vsdc7arw.js} +2 -2
  258. package/dist/chunks/{filesystem-vzcthcp8.js → image-vzcthcp8.js} +1 -1
  259. package/dist/chunks/{filesystem-w3wsvvr9.js → image-w3wsvvr9.js} +1 -1
  260. package/dist/chunks/{filesystem-y46yp9kd.js → image-w6ngjk0y.js} +44 -44
  261. package/dist/chunks/{filesystem-fxqygnfa.js → image-wcge806m.js} +4 -4
  262. package/dist/chunks/{filesystem-wd87259q.js → image-wd87259q.js} +1 -1
  263. package/dist/chunks/{filesystem-wqkncbjv.js → image-wxffcvth.js} +3 -3
  264. package/dist/chunks/{filesystem-x1ezjp6w.js → image-x1ezjp6w.js} +1 -1
  265. package/dist/chunks/{filesystem-8s2x1r0z.js → image-xg72hxr1.js} +11 -11
  266. package/dist/chunks/{filesystem-yx0hjtqq.js → image-xgge5cv0.js} +17 -17
  267. package/dist/chunks/{filesystem-xn9jxgmv.js → image-xn9jxgmv.js} +3 -3
  268. package/dist/chunks/{filesystem-858b8443.js → image-xq3m7g0t.js} +14 -14
  269. package/dist/chunks/{filesystem-0mxxzrer.js → image-xsc8q09n.js} +9 -9
  270. package/dist/chunks/{filesystem-2f04pwep.js → image-xxynqx5z.js} +3 -3
  271. package/dist/chunks/{filesystem-y1fvbwt7.js → image-y1fvbwt7.js} +1 -1
  272. package/dist/chunks/{filesystem-y71avatq.js → image-y71avatq.js} +1 -1
  273. package/dist/chunks/{filesystem-ntzng88s.js → image-yhywrrja.js} +17 -17
  274. package/dist/chunks/{filesystem-yrhqyw5v.js → image-yrhqyw5v.js} +1 -1
  275. package/dist/chunks/{filesystem-yrznvahk.js → image-yrznvahk.js} +2 -2
  276. package/dist/chunks/{filesystem-xyw3gjcr.js → image-ytcdzptk.js} +32 -32
  277. package/dist/chunks/{filesystem-yzpfhxvz.js → image-yzagyf8k.js} +22 -22
  278. package/dist/chunks/{filesystem-z0bkrqjs.js → image-z0bkrqjs.js} +1 -1
  279. package/dist/chunks/{filesystem-z63w68vq.js → image-z63w68vq.js} +2 -2
  280. package/dist/chunks/{filesystem-p5bq8rdg.js → image-z87bkmq3.js} +15 -15
  281. package/dist/chunks/{filesystem-g8sqxk2y.js → image-z8vpew82.js} +5 -5
  282. package/dist/chunks/{filesystem-p9agemf7.js → image-zas2m743.js} +16 -16
  283. package/dist/chunks/{filesystem-m28tfe1w.js → image-ze5v0a14.js} +8 -8
  284. package/dist/chunks/{filesystem-zeh9ct20.js → image-zeh9ct20.js} +2 -2
  285. package/dist/chunks/{filesystem-eqzrmp0y.js → image-zmwmypjm.js} +10 -10
  286. package/dist/chunks/{filesystem-naqr419p.js → image-znaqxw55.js} +33 -33
  287. package/dist/chunks/{filesystem-zr2ceqn5.js → image-zr2ceqn5.js} +1 -1
  288. package/dist/chunks/{filesystem-zxq2ej10.js → image-zxq2ej10.js} +1 -1
  289. package/dist/codemode/catalog.js +1 -1
  290. package/dist/codemode/instructions.js +5 -5
  291. package/dist/codemode/tool.js +3 -3
  292. package/dist/codemode/web.js +1 -1
  293. package/dist/command.js +80 -80
  294. package/dist/config/discovery.js +83 -83
  295. package/dist/config/markdown.js +1 -1
  296. package/dist/config/normalize.js +105 -105
  297. package/dist/config/plugin/agent.js +122 -122
  298. package/dist/config/plugin/command.js +211 -211
  299. package/dist/config/plugin/compaction.js +159 -159
  300. package/dist/config/plugin/compatibility.js +140 -140
  301. package/dist/config/plugin/entry-observer.js +1 -1
  302. package/dist/config/plugin/formatter.js +123 -123
  303. package/dist/config/plugin/image.js +122 -122
  304. package/dist/config/plugin/instruction.js +89 -89
  305. package/dist/config/plugin/location-watcher.js +124 -124
  306. package/dist/config/plugin/mcp.js +129 -129
  307. package/dist/config/plugin/policy.js +122 -122
  308. package/dist/config/plugin/provider.js +122 -122
  309. package/dist/config/plugin/reference.js +124 -124
  310. package/dist/config/plugin/shell.js +124 -124
  311. package/dist/config/plugin/skill-file.js +101 -101
  312. package/dist/config/plugin/skill.js +143 -143
  313. package/dist/config/plugin/snapshot.js +122 -122
  314. package/dist/config/plugin/source.js +125 -125
  315. package/dist/config/plugin/tool-output.js +124 -124
  316. package/dist/config/plugin/websearch.js +123 -123
  317. package/dist/config/plugin/worktree.js +124 -124
  318. package/dist/config/variable.js +3 -3
  319. package/dist/config/watch.js +1 -1
  320. package/dist/config.js +125 -125
  321. package/dist/credential/sql.js +2 -2
  322. package/dist/credential.js +84 -84
  323. package/dist/database/database.js +65 -65
  324. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  325. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  326. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  327. package/dist/database/drizzle/index.js +13 -13
  328. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  331. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  333. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  336. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  337. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  338. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  339. package/dist/database/drizzle.js +14 -14
  340. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  341. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  342. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  343. package/dist/database/migration/20260225215848_workspace.js +1 -1
  344. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  345. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  346. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  347. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  348. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  349. package/dist/database/migration/20260323234822_events.js +1 -1
  350. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  351. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  352. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  353. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  354. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  355. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  356. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  357. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  358. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  359. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  360. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  361. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  362. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  363. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  364. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  365. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  366. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  367. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  368. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  369. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  370. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  371. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  372. package/dist/database/migration/20260611035744_credential.js +1 -1
  373. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  374. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  375. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  376. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  377. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  378. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  379. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  380. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  381. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  382. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  383. package/dist/database/migration/20260812213948_worktree.js +1 -1
  384. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  385. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  386. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  387. package/dist/database/migration.gen.js +48 -48
  388. package/dist/database/migration.js +50 -50
  389. package/dist/database/path.js +2 -2
  390. package/dist/database/schema.gen.js +1 -1
  391. package/dist/database/schema.sql.js +1 -1
  392. package/dist/database/sqlite.bun.js +1 -1
  393. package/dist/database/sqlite.js +1 -1
  394. package/dist/database/sqlite.node.js +1 -1
  395. package/dist/database/sqlite.workerd.js +1 -1
  396. package/dist/database/v1-migration.bun.js +75 -75
  397. package/dist/database/v1-migration.js +1 -1
  398. package/dist/effect/app-node-builder.js +368 -368
  399. package/dist/effect/app-node-platform.js +2 -2
  400. package/dist/effect/keyed-mutex.js +1 -1
  401. package/dist/effect/websocket-constructor.js +1 -1
  402. package/dist/environment/driver.js +1 -1
  403. package/dist/environment/environment.js +92 -92
  404. package/dist/environment/exec-defaults.js +2 -2
  405. package/dist/environment/files.js +1 -1
  406. package/dist/environment/index.js +94 -94
  407. package/dist/environment/local.js +2 -2
  408. package/dist/environment/memory.js +2 -2
  409. package/dist/environment/unavailable.js +1 -1
  410. package/dist/event/sql.js +1 -1
  411. package/dist/event-logger.js +69 -69
  412. package/dist/file-access.js +103 -103
  413. package/dist/file-mutation.js +93 -93
  414. package/dist/file-retention.js +1 -1
  415. package/dist/file.js +1 -1
  416. package/dist/filesystem/fff.bun.js +2 -2
  417. package/dist/filesystem/fff.js +1 -1
  418. package/dist/filesystem/fff.node.js +2 -2
  419. package/dist/filesystem/fff.workerd.js +2 -2
  420. package/dist/filesystem/ignore.js +1 -1
  421. package/dist/filesystem/location-watcher-policy.js +6 -6
  422. package/dist/filesystem/location-watcher.js +226 -226
  423. package/dist/filesystem/protected.js +3 -3
  424. package/dist/filesystem/search.js +102 -102
  425. package/dist/filesystem/watcher-binding.js +1 -1
  426. package/dist/filesystem/watcher.js +15 -15
  427. package/dist/filesystem.js +107 -107
  428. package/dist/form.js +85 -85
  429. package/dist/formatter/builtins.js +2 -2
  430. package/dist/formatter.js +86 -86
  431. package/dist/generate.js +102 -102
  432. package/dist/git.js +10 -10
  433. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  434. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  435. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  436. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  437. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  438. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  439. package/dist/github-copilot/copilot-provider.js +17 -17
  440. package/dist/github-copilot/models.js +90 -90
  441. package/dist/github-copilot/openai-compatible-error.js +1 -1
  442. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  443. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  444. package/dist/github-copilot/responses/openai-error.js +1 -1
  445. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  446. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  447. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  448. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  449. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  450. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  451. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  452. package/dist/id/id.js +1 -1
  453. package/dist/image/photon.js +2 -2
  454. package/dist/image.js +6 -6
  455. package/dist/instance/service.js +5 -5
  456. package/dist/instance.js +359 -359
  457. package/dist/instruction-discovery.js +84 -84
  458. package/dist/instructions/builtins.js +86 -86
  459. package/dist/instructions/index.js +3 -3
  460. package/dist/integration/connection.js +3 -3
  461. package/dist/integration.js +85 -85
  462. package/dist/job.js +78 -78
  463. package/dist/kv/sql.js +2 -2
  464. package/dist/kv.js +72 -72
  465. package/dist/location-activity.js +131 -131
  466. package/dist/location-lifecycle.js +105 -105
  467. package/dist/location-mutation.js +103 -103
  468. package/dist/location-service-map.js +85 -85
  469. package/dist/location-services.js +356 -356
  470. package/dist/location.js +84 -84
  471. package/dist/mcp/client.js +90 -90
  472. package/dist/mcp/index.js +105 -105
  473. package/dist/mcp/instructions.js +125 -125
  474. package/dist/mcp/oauth.js +77 -77
  475. package/dist/mcp/stdio.js +89 -89
  476. package/dist/mime.js +1 -1
  477. package/dist/modal/models.js +90 -90
  478. package/dist/model-resolver.js +97 -97
  479. package/dist/model.js +99 -99
  480. package/dist/models-dev.js +104 -104
  481. package/dist/oauth/page.js +1 -1
  482. package/dist/permission/saved.js +79 -79
  483. package/dist/permission/sql.js +5 -5
  484. package/dist/permission.js +110 -110
  485. package/dist/persistent-pty/binary.bun.js +1 -1
  486. package/dist/persistent-pty/daemon.js +1 -1
  487. package/dist/persistent-pty/index.js +85 -85
  488. package/dist/persistent-pty/pty-binding.js +1 -1
  489. package/dist/persistent-pty.js +74 -74
  490. package/dist/plugin/agent.js +101 -101
  491. package/dist/plugin/command.js +98 -98
  492. package/dist/plugin/compaction.js +128 -128
  493. package/dist/plugin/hooks.js +5 -5
  494. package/dist/plugin/host.js +217 -217
  495. package/dist/plugin/identity.js +3 -3
  496. package/dist/plugin/instance.js +1 -1
  497. package/dist/plugin/internal.js +330 -330
  498. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  499. package/dist/plugin/models-dev.js +95 -95
  500. package/dist/plugin/module.js +7 -7
  501. package/dist/plugin/optimize.js +4 -4
  502. package/dist/plugin/plan.js +99 -99
  503. package/dist/plugin/promise.js +1 -1
  504. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  505. package/dist/plugin/provider/azure.js +121 -121
  506. package/dist/plugin/provider/cerebras.js +1 -1
  507. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  508. package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
  509. package/dist/plugin/provider/cohere.js +2 -2
  510. package/dist/plugin/provider/configured.js +118 -118
  511. package/dist/plugin/provider/digitalocean.js +92 -92
  512. package/dist/plugin/provider/dynamic.js +2 -2
  513. package/dist/plugin/provider/factory.js +1 -1
  514. package/dist/plugin/provider/gateway.js +2 -2
  515. package/dist/plugin/provider/github-copilot.js +92 -92
  516. package/dist/plugin/provider/gitlab.js +90 -90
  517. package/dist/plugin/provider/google-vertex.js +89 -89
  518. package/dist/plugin/provider/kilo.js +1 -1
  519. package/dist/plugin/provider/llmgateway.js +76 -76
  520. package/dist/plugin/provider/lmstudio.js +121 -121
  521. package/dist/plugin/provider/modal.js +91 -91
  522. package/dist/plugin/provider/nvidia.js +1 -1
  523. package/dist/plugin/provider/ollama.js +121 -121
  524. package/dist/plugin/provider/openai.js +93 -93
  525. package/dist/plugin/provider/opencode.js +92 -92
  526. package/dist/plugin/provider/openrouter.js +90 -90
  527. package/dist/plugin/provider/perplexity.js +2 -2
  528. package/dist/plugin/provider/poe.js +77 -77
  529. package/dist/plugin/provider/prompt-cache-key.js +89 -89
  530. package/dist/plugin/provider/sap-ai-core.js +90 -90
  531. package/dist/plugin/provider/sdk-factory.js +1 -1
  532. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  533. package/dist/plugin/provider/venice.js +2 -2
  534. package/dist/plugin/provider/vercel.js +89 -89
  535. package/dist/plugin/provider/vllm.js +121 -121
  536. package/dist/plugin/provider/xai.js +90 -90
  537. package/dist/plugin/provider/zenmux.js +1 -1
  538. package/dist/plugin/provider.js +158 -158
  539. package/dist/plugin/sdk.js +69 -69
  540. package/dist/plugin/service.js +3 -3
  541. package/dist/plugin/skill.js +138 -138
  542. package/dist/plugin/source-directory.js +1 -1
  543. package/dist/plugin/supervisor.js +345 -345
  544. package/dist/plugin/tool-input-repair.js +4 -4
  545. package/dist/plugin/update.js +2 -2
  546. package/dist/plugin/vcs/git.js +85 -85
  547. package/dist/plugin/vcs/hg.js +85 -85
  548. package/dist/plugin/warming.js +120 -120
  549. package/dist/plugin/websearch/exa.js +7 -7
  550. package/dist/plugin/websearch/firecrawl.js +8 -8
  551. package/dist/plugin/websearch/index.js +9 -9
  552. package/dist/plugin/websearch/mcp.js +2 -2
  553. package/dist/plugin/websearch/parallel.js +6 -6
  554. package/dist/plugin/websearch/tavily.js +4 -4
  555. package/dist/plugin/websearch/tinyfish.js +8 -8
  556. package/dist/plugin.js +224 -224
  557. package/dist/project/schema.js +2 -2
  558. package/dist/project/sql.js +4 -4
  559. package/dist/project.js +85 -85
  560. package/dist/provider.js +100 -100
  561. package/dist/pty/protocol.js +1 -1
  562. package/dist/pty/schema.js +1 -1
  563. package/dist/pty/ticket.js +1 -1
  564. package/dist/pty.js +93 -93
  565. package/dist/reference/instructions.js +88 -88
  566. package/dist/reference.js +88 -88
  567. package/dist/repository-cache.js +80 -80
  568. package/dist/repository.js +1 -1
  569. package/dist/ripgrep/binary.js +2 -2
  570. package/dist/ripgrep.js +96 -96
  571. package/dist/rpc.js +85 -85
  572. package/dist/schema.js +1 -1
  573. package/dist/session/command.js +73 -73
  574. package/dist/session/compaction.js +131 -131
  575. package/dist/session/context.js +151 -151
  576. package/dist/session/diff.js +87 -87
  577. package/dist/session/environment.js +5 -5
  578. package/dist/session/error.js +3 -3
  579. package/dist/session/event.js +1 -1
  580. package/dist/session/execution/restart.js +220 -220
  581. package/dist/session/execution.js +127 -127
  582. package/dist/session/generate.js +152 -152
  583. package/dist/session/history.js +13 -13
  584. package/dist/session/inbox.js +87 -87
  585. package/dist/session/info.js +3 -3
  586. package/dist/session/instruction-entry.js +76 -76
  587. package/dist/session/instruction-state.js +8 -8
  588. package/dist/session/instructions.js +96 -96
  589. package/dist/session/message-updater.js +2 -2
  590. package/dist/session/message.js +1 -1
  591. package/dist/session/model-request.js +118 -118
  592. package/dist/session/model-transport.js +9 -9
  593. package/dist/session/move.js +129 -129
  594. package/dist/session/projector.js +85 -85
  595. package/dist/session/prompt.js +104 -104
  596. package/dist/session/provider-context.js +3 -3
  597. package/dist/session/revert.js +89 -89
  598. package/dist/session/run-coordinator.js +3 -3
  599. package/dist/session/runner/index.js +3 -3
  600. package/dist/session/runner/llm.js +230 -230
  601. package/dist/session/runner/max-steps.js +1 -1
  602. package/dist/session/runner/model.js +97 -97
  603. package/dist/session/runner/publish-llm-event.js +3 -3
  604. package/dist/session/runner/retry.js +111 -111
  605. package/dist/session/runner/step.js +123 -123
  606. package/dist/session/runner/to-llm-message.js +2 -2
  607. package/dist/session/schema.js +5 -5
  608. package/dist/session/session.js +169 -169
  609. package/dist/session/shell.js +137 -137
  610. package/dist/session/skill.js +102 -102
  611. package/dist/session/sql.js +5 -5
  612. package/dist/session/stats.js +72 -72
  613. package/dist/session/store.js +84 -84
  614. package/dist/session/subagent-completion.js +1 -1
  615. package/dist/session/subagent-job.js +207 -207
  616. package/dist/session/system-prompt.js +1 -1
  617. package/dist/session/title.js +155 -155
  618. package/dist/session/to-session-error.js +110 -110
  619. package/dist/session/transfer.js +216 -216
  620. package/dist/session/usage.js +1 -1
  621. package/dist/session.js +217 -217
  622. package/dist/shell/parse.js +6 -6
  623. package/dist/shell/result.js +1 -1
  624. package/dist/shell/scan.js +1 -1
  625. package/dist/shell/select.js +13 -13
  626. package/dist/shell.js +139 -139
  627. package/dist/skill/discovery.js +6 -6
  628. package/dist/skill/instructions.js +106 -106
  629. package/dist/skill.js +109 -109
  630. package/dist/snapshot.js +92 -92
  631. package/dist/state.js +1 -1
  632. package/dist/tool/html-markdown.js +1 -1
  633. package/dist/tool/http-body.js +1 -1
  634. package/dist/tool/mcp.js +126 -126
  635. package/dist/tool/plugin/edit.js +119 -119
  636. package/dist/tool/plugin/file-diff.js +1 -1
  637. package/dist/tool/plugin/glob.js +123 -123
  638. package/dist/tool/plugin/grep.js +121 -121
  639. package/dist/tool/plugin/opencode.js +3 -3
  640. package/dist/tool/plugin/patch.js +119 -119
  641. package/dist/tool/plugin/question.js +104 -104
  642. package/dist/tool/plugin/read.js +124 -124
  643. package/dist/tool/plugin/shell.js +216 -216
  644. package/dist/tool/plugin/skill.js +112 -112
  645. package/dist/tool/plugin/subagent.js +210 -210
  646. package/dist/tool/plugin/webfetch.js +109 -109
  647. package/dist/tool/plugin/websearch.js +111 -111
  648. package/dist/tool/plugin/write.js +115 -115
  649. package/dist/tool/read-filesystem.js +99 -99
  650. package/dist/tool/runtime.js +1 -1
  651. package/dist/tool-output.js +8 -8
  652. package/dist/tool.js +16 -16
  653. package/dist/util/error-summary.js +1 -1
  654. package/dist/util/error.js +1 -1
  655. package/dist/util/git-executable.js +2 -2
  656. package/dist/util/iife.js +1 -1
  657. package/dist/util/lazy.js +1 -1
  658. package/dist/util/slug.js +1 -1
  659. package/dist/util/token.js +1 -1
  660. package/dist/util/which.js +1 -1
  661. package/dist/util/wildcard.js +1 -1
  662. package/dist/v1/config/agent.js +3 -3
  663. package/dist/v1/config/attachment.js +4 -4
  664. package/dist/v1/config/command.js +3 -3
  665. package/dist/v1/config/config.js +16 -16
  666. package/dist/v1/config/error.js +2 -2
  667. package/dist/v1/config/formatter.js +5 -5
  668. package/dist/v1/config/layout.js +1 -1
  669. package/dist/v1/config/lsp.js +5 -5
  670. package/dist/v1/config/mcp.js +4 -4
  671. package/dist/v1/config/migrate.js +91 -91
  672. package/dist/v1/config/permission.js +1 -1
  673. package/dist/v1/config/plugin.js +3 -3
  674. package/dist/v1/config/provider-options.js +1 -1
  675. package/dist/v1/config/provider.js +4 -4
  676. package/dist/v1/config/server.js +2 -2
  677. package/dist/v1/config/skills.js +1 -1
  678. package/dist/v1/permission.js +1 -1
  679. package/dist/variant.js +92 -92
  680. package/dist/vcs/patch.js +1 -1
  681. package/dist/vcs.js +84 -84
  682. package/dist/websearch.js +83 -83
  683. package/dist/wellknown/plugin.js +73 -73
  684. package/dist/wellknown.js +80 -80
  685. package/dist/workspace/driver.js +5 -5
  686. package/dist/workspace/sql.js +1 -1
  687. package/dist/workspace.js +79 -79
  688. package/dist/worktree/directory.js +2 -2
  689. package/dist/worktree/git.js +8 -8
  690. package/dist/worktree/sql.js +5 -5
  691. package/dist/worktree/strategies.js +88 -88
  692. package/dist/worktree.js +95 -95
  693. package/package.json +8 -8
  694. package/dist/chunks/filesystem-ec2pb2w2.js +0 -252
  695. package/dist/chunks/filesystem-gyce5qg1.js +0 -18
  696. package/dist/chunks/filesystem-j7fam3f6.js +0 -492
  697. package/dist/chunks/filesystem-stfvhx3k.js +0 -26
  698. /package/dist/chunks/{filesystem-0mesazry.js → image-0mesazry.js} +0 -0
  699. /package/dist/chunks/{filesystem-0qkdqm5v.js → image-0qkdqm5v.js} +0 -0
  700. /package/dist/chunks/{filesystem-0zkw76rk.js → image-0zkw76rk.js} +0 -0
  701. /package/dist/chunks/{filesystem-17cy0kzp.js → image-17cy0kzp.js} +0 -0
  702. /package/dist/chunks/{filesystem-1cnp2v09.js → image-1cnp2v09.js} +0 -0
  703. /package/dist/chunks/{filesystem-1kg9ymc8.js → image-1kg9ymc8.js} +0 -0
  704. /package/dist/chunks/{filesystem-24dcb14g.js → image-24dcb14g.js} +0 -0
  705. /package/dist/chunks/{filesystem-2710q6r3.js → image-2710q6r3.js} +0 -0
  706. /package/dist/chunks/{filesystem-2axfhc9x.js → image-2axfhc9x.js} +0 -0
  707. /package/dist/chunks/{filesystem-2c3vjs8z.js → image-2c3vjs8z.js} +0 -0
  708. /package/dist/chunks/{filesystem-359p4xyc.js → image-359p4xyc.js} +0 -0
  709. /package/dist/chunks/{filesystem-3asan66x.js → image-3asan66x.js} +0 -0
  710. /package/dist/chunks/{filesystem-3v8g72cx.js → image-3v8g72cx.js} +0 -0
  711. /package/dist/chunks/{filesystem-3w5fmr99.js → image-3w5fmr99.js} +0 -0
  712. /package/dist/chunks/{filesystem-3wcehsnq.js → image-3wcehsnq.js} +0 -0
  713. /package/dist/chunks/{filesystem-43n2bw4t.js → image-43n2bw4t.js} +0 -0
  714. /package/dist/chunks/{filesystem-4knz6hnm.js → image-4knz6hnm.js} +0 -0
  715. /package/dist/chunks/{filesystem-4vcrnpx2.js → image-4vcrnpx2.js} +0 -0
  716. /package/dist/chunks/{filesystem-4y7fprxs.js → image-4y7fprxs.js} +0 -0
  717. /package/dist/chunks/{filesystem-53557ph1.js → image-53557ph1.js} +0 -0
  718. /package/dist/chunks/{filesystem-550bvhaj.js → image-550bvhaj.js} +0 -0
  719. /package/dist/chunks/{filesystem-5qd3pb7m.js → image-5qd3pb7m.js} +0 -0
  720. /package/dist/chunks/{filesystem-6prwharc.js → image-6prwharc.js} +0 -0
  721. /package/dist/chunks/{filesystem-7akdwqpd.js → image-7akdwqpd.js} +0 -0
  722. /package/dist/chunks/{filesystem-7m9af43g.js → image-7m9af43g.js} +0 -0
  723. /package/dist/chunks/{filesystem-822emrt2.js → image-822emrt2.js} +0 -0
  724. /package/dist/chunks/{filesystem-88xbtdfr.js → image-88xbtdfr.js} +0 -0
  725. /package/dist/chunks/{filesystem-8n3pysct.js → image-8n3pysct.js} +0 -0
  726. /package/dist/chunks/{filesystem-922hggd3.js → image-922hggd3.js} +0 -0
  727. /package/dist/chunks/{filesystem-9a4afbnw.js → image-9a4afbnw.js} +0 -0
  728. /package/dist/chunks/{filesystem-9rqn6x4v.js → image-9rqn6x4v.js} +0 -0
  729. /package/dist/chunks/{filesystem-a6k6eb26.js → image-a6k6eb26.js} +0 -0
  730. /package/dist/chunks/{filesystem-af5trqkr.js → image-af5trqkr.js} +0 -0
  731. /package/dist/chunks/{filesystem-afrmfg78.js → image-afrmfg78.js} +0 -0
  732. /package/dist/chunks/{filesystem-aqzs7mqg.js → image-aqzs7mqg.js} +0 -0
  733. /package/dist/chunks/{filesystem-atq7p7m5.js → image-atq7p7m5.js} +0 -0
  734. /package/dist/chunks/{filesystem-bkyjaxrp.js → image-bkyjaxrp.js} +0 -0
  735. /package/dist/chunks/{filesystem-bmr6ed5q.js → image-bmr6ed5q.js} +0 -0
  736. /package/dist/chunks/{filesystem-cf4snx6d.js → image-cf4snx6d.js} +0 -0
  737. /package/dist/chunks/{filesystem-cvy3z8tj.js → image-cvy3z8tj.js} +0 -0
  738. /package/dist/chunks/{filesystem-d9fn303g.js → image-d9fn303g.js} +0 -0
  739. /package/dist/chunks/{filesystem-d9jj8t3e.js → image-d9jj8t3e.js} +0 -0
  740. /package/dist/chunks/{filesystem-dajrwvna.js → image-dajrwvna.js} +0 -0
  741. /package/dist/chunks/{filesystem-dap0rakb.js → image-dap0rakb.js} +0 -0
  742. /package/dist/chunks/{filesystem-df08tz66.js → image-df08tz66.js} +0 -0
  743. /package/dist/chunks/{filesystem-dy18nga0.js → image-dy18nga0.js} +0 -0
  744. /package/dist/chunks/{filesystem-e5kj55wp.js → image-e5kj55wp.js} +0 -0
  745. /package/dist/chunks/{filesystem-e73j6tqm.js → image-e73j6tqm.js} +0 -0
  746. /package/dist/chunks/{filesystem-ec1grn59.js → image-ec1grn59.js} +0 -0
  747. /package/dist/chunks/{filesystem-eh3zwz77.js → image-eh3zwz77.js} +0 -0
  748. /package/dist/chunks/{filesystem-emrn6kk6.js → image-emrn6kk6.js} +0 -0
  749. /package/dist/chunks/{filesystem-f0mxakyp.js → image-f0mxakyp.js} +0 -0
  750. /package/dist/chunks/{filesystem-f6n9ztr4.js → image-f6n9ztr4.js} +0 -0
  751. /package/dist/chunks/{filesystem-faypxj3z.js → image-faypxj3z.js} +0 -0
  752. /package/dist/chunks/{filesystem-fd410y7t.js → image-fd410y7t.js} +0 -0
  753. /package/dist/chunks/{filesystem-fxgpk5d8.js → image-fxgpk5d8.js} +0 -0
  754. /package/dist/chunks/{filesystem-g4wezp1m.js → image-g4wezp1m.js} +0 -0
  755. /package/dist/chunks/{filesystem-g86h250q.js → image-g86h250q.js} +0 -0
  756. /package/dist/chunks/{filesystem-gebd4c9n.js → image-gebd4c9n.js} +0 -0
  757. /package/dist/chunks/{filesystem-gftt206x.js → image-gftt206x.js} +0 -0
  758. /package/dist/chunks/{filesystem-hjbc5kem.js → image-hjbc5kem.js} +0 -0
  759. /package/dist/chunks/{filesystem-hk9envan.js → image-hk9envan.js} +0 -0
  760. /package/dist/chunks/{filesystem-j2ntwpah.js → image-j2ntwpah.js} +0 -0
  761. /package/dist/chunks/{filesystem-j5zkgpj8.js → image-j5zkgpj8.js} +0 -0
  762. /package/dist/chunks/{filesystem-jjkms2e6.js → image-jjkms2e6.js} +0 -0
  763. /package/dist/chunks/{filesystem-jr7sbwjy.js → image-jr7sbwjy.js} +0 -0
  764. /package/dist/chunks/{filesystem-jwfs4k6c.js → image-jwfs4k6c.js} +0 -0
  765. /package/dist/chunks/{filesystem-jzg6c2d5.js → image-jzg6c2d5.js} +0 -0
  766. /package/dist/chunks/{filesystem-mp448xyj.js → image-mp448xyj.js} +0 -0
  767. /package/dist/chunks/{filesystem-msx8hqn2.js → image-msx8hqn2.js} +0 -0
  768. /package/dist/chunks/{filesystem-n05xt0ee.js → image-n05xt0ee.js} +0 -0
  769. /package/dist/chunks/{filesystem-n3j8tn72.js → image-n3j8tn72.js} +0 -0
  770. /package/dist/chunks/{filesystem-njntx4h6.js → image-njntx4h6.js} +0 -0
  771. /package/dist/chunks/{filesystem-q3sfg36h.js → image-q3sfg36h.js} +0 -0
  772. /package/dist/chunks/{filesystem-q74kybfr.js → image-q74kybfr.js} +0 -0
  773. /package/dist/chunks/{filesystem-qaymkmh1.js → image-qaymkmh1.js} +0 -0
  774. /package/dist/chunks/{filesystem-qb87gjwd.js → image-qb87gjwd.js} +0 -0
  775. /package/dist/chunks/{filesystem-qfa1cgps.js → image-qfa1cgps.js} +0 -0
  776. /package/dist/chunks/{filesystem-qg3g05ea.js → image-qg3g05ea.js} +0 -0
  777. /package/dist/chunks/{filesystem-qrg20bc0.js → image-qrg20bc0.js} +0 -0
  778. /package/dist/chunks/{filesystem-rcb2kzg1.js → image-rcb2kzg1.js} +0 -0
  779. /package/dist/chunks/{filesystem-sdp7kfr6.js → image-sdp7kfr6.js} +0 -0
  780. /package/dist/chunks/{filesystem-sk3qaz4a.js → image-sk3qaz4a.js} +0 -0
  781. /package/dist/chunks/{filesystem-ssg3fenm.js → image-ssg3fenm.js} +0 -0
  782. /package/dist/chunks/{filesystem-twg0f83k.js → image-twg0f83k.js} +0 -0
  783. /package/dist/chunks/{filesystem-w803qqfp.js → image-w803qqfp.js} +0 -0
  784. /package/dist/chunks/{filesystem-wc3fc9cn.js → image-wc3fc9cn.js} +0 -0
  785. /package/dist/chunks/{filesystem-wer8tq1h.js → image-wer8tq1h.js} +0 -0
  786. /package/dist/chunks/{filesystem-wtztk69x.js → image-wtztk69x.js} +0 -0
  787. /package/dist/chunks/{filesystem-x0ckcb58.js → image-x0ckcb58.js} +0 -0
  788. /package/dist/chunks/{filesystem-x61499pn.js → image-x61499pn.js} +0 -0
  789. /package/dist/chunks/{filesystem-y44na4kk.js → image-y44na4kk.js} +0 -0
  790. /package/dist/chunks/{filesystem-y8cydn3q.js → image-y8cydn3q.js} +0 -0
  791. /package/dist/chunks/{filesystem-y8f7s663.js → image-y8f7s663.js} +0 -0
  792. /package/dist/chunks/{filesystem-ygaqb7jw.js → image-ygaqb7jw.js} +0 -0
  793. /package/dist/chunks/{filesystem-ym463w8f.js → image-ym463w8f.js} +0 -0
  794. /package/dist/chunks/{filesystem-z9919s4g.js → image-z9919s4g.js} +0 -0
@@ -1,57 +1,57 @@
1
1
  import {
2
2
  Service82,
3
3
  node86
4
- } from "./filesystem-4pw9szbk.js";
4
+ } from "./image-tgf2ymth.js";
5
5
  import {
6
- Service77,
7
- node81
8
- } from "./filesystem-46p5v0nr.js";
6
+ Service79,
7
+ node83
8
+ } from "./image-5d0yg4wn.js";
9
9
  import {
10
- Service62,
11
- node65
12
- } from "./filesystem-mkjc2x20.js";
10
+ Service58,
11
+ node61
12
+ } from "./image-mz8r1y5r.js";
13
13
  import {
14
14
  cleanup3
15
- } from "./filesystem-gd4qta3r.js";
15
+ } from "./image-gd4qta3r.js";
16
16
  import {
17
- Service81,
17
+ Service53,
18
18
  args2,
19
- node85
20
- } from "./filesystem-24s8e1ye.js";
19
+ node56
20
+ } from "./image-jhgm4sfk.js";
21
21
  import {
22
- Service73,
23
- node77
24
- } from "./filesystem-4e8vs6eh.js";
22
+ Service67,
23
+ node71
24
+ } from "./image-g1sxm558.js";
25
25
  import {
26
- Service40,
27
- node44
28
- } from "./filesystem-0h54jqbs.js";
26
+ Service38,
27
+ node41
28
+ } from "./image-sm965ndy.js";
29
29
  import {
30
30
  SessionSchema2
31
- } from "./filesystem-2f04pwep.js";
31
+ } from "./image-xxynqx5z.js";
32
32
  import {
33
33
  latest2,
34
- Service42,
35
- node46
36
- } from "./filesystem-y46yp9kd.js";
34
+ Service39,
35
+ node42
36
+ } from "./image-w6ngjk0y.js";
37
37
  import {
38
38
  MAX_LINES2,
39
39
  MAX_BYTES2
40
- } from "./filesystem-vke0fqjh.js";
40
+ } from "./image-tf68swts.js";
41
41
  import {
42
42
  __export
43
- } from "./filesystem-9rqn6x4v.js";
43
+ } from "./image-9rqn6x4v.js";
44
44
 
45
45
  // src/shell.ts
46
46
  var exports_shell4 = {};
47
47
  __export(exports_shell4, {
48
48
  DIRECTORY: () => DIRECTORY2,
49
- NotFoundError: () => NotFoundError4,
49
+ NotFoundError: () => NotFoundError5,
50
50
  RETENTION: () => RETENTION2,
51
- Service: () => Service39,
51
+ Service: () => Service37,
52
52
  Shell: () => exports_shell4,
53
53
  cleanup: () => cleanup2,
54
- node: () => node43
54
+ node: () => node40
55
55
  });
56
56
  import path from "path";
57
57
  import { Context, Deferred, Duration, Effect, Fiber, Latch, Layer, Schema, Schedule, Stream } from "effect";
@@ -62,7 +62,7 @@ import { AppProcess } from "@opencode/util/process";
62
62
  import { makeGlobalNode, makeLocationNode } from "@opencode/util/effect/app-node";
63
63
  import { FSUtil } from "@opencode/util/fs-util";
64
64
  import { Global } from "@opencode/util/global";
65
- class NotFoundError4 extends Schema.TaggedError()("Shell.NotFoundError", {
65
+ class NotFoundError5 extends Schema.TaggedError()("Shell.NotFoundError", {
66
66
  id: Shell.ID
67
67
  }) {
68
68
  }
@@ -70,7 +70,7 @@ var EXITED_LIMIT = 25;
70
70
  var RETENTION2 = Duration.days(7);
71
71
  var DIRECTORY2 = "shell";
72
72
 
73
- class Service39 extends Context.Service()("@opencode/Shell") {
73
+ class Service37 extends Context.Service()("@opencode/Shell") {
74
74
  }
75
75
  var cleanup2 = Effect.fn("Shell.cleanup")(function* () {
76
76
  const fs = yield* FSUtil.Service;
@@ -86,15 +86,15 @@ var cleanupNode = makeGlobalNode({
86
86
  layer: cleanupLayer,
87
87
  deps: [FSUtil.node, Global.node]
88
88
  });
89
- var layer = () => Layer.effect(Service39, Effect.gen(function* () {
89
+ var layer = () => Layer.effect(Service37, Effect.gen(function* () {
90
90
  const bus = yield* Service82;
91
- const location = yield* Service77;
91
+ const location = yield* Service79;
92
92
  const global = yield* Global.Service;
93
- const shell = yield* Service81;
94
- const environment = yield* Service62;
95
- const hooks = yield* Service73;
96
- const environments = yield* Service40;
97
- const config = yield* Service42;
93
+ const shell = yield* Service53;
94
+ const environment = yield* Service58;
95
+ const hooks = yield* Service67;
96
+ const environments = yield* Service38;
97
+ const config = yield* Service39;
98
98
  const context = yield* Effect.context();
99
99
  const runFork = Effect.runForkWith(context);
100
100
  const commands = new Map;
@@ -115,7 +115,7 @@ var layer = () => Layer.effect(Service39, Effect.gen(function* () {
115
115
  const require2 = Effect.fnUntraced(function* (id) {
116
116
  const command = commands.get(id);
117
117
  if (!command)
118
- return yield* new NotFoundError4({ id });
118
+ return yield* new NotFoundError5({ id });
119
119
  return command;
120
120
  });
121
121
  const removeCommand = Effect.fnUntraced(function* (id) {
@@ -128,7 +128,7 @@ var layer = () => Layer.effect(Service39, Effect.gen(function* () {
128
128
  commands.delete(id);
129
129
  if (command.timeoutFiber)
130
130
  yield* Fiber.interrupt(command.timeoutFiber);
131
- yield* Deferred.fail(command.done, new NotFoundError4({ id }));
131
+ yield* Deferred.fail(command.done, new NotFoundError5({ id }));
132
132
  yield* Effect.promise(() => unlink(command.file).catch(() => {}));
133
133
  yield* bus.publish(Shell.Event.Deleted, { id });
134
134
  });
@@ -314,22 +314,22 @@ var layer = () => Layer.effect(Service39, Effect.gen(function* () {
314
314
  const command = yield* Deferred.await(ready);
315
315
  return command.info;
316
316
  });
317
- return Service39.of({ create, list, get, wait, result, timeout, output, remove });
317
+ return Service37.of({ create, list, get, wait, result, timeout, output, remove });
318
318
  }));
319
- var node43 = makeLocationNode({
320
- service: Service39,
319
+ var node40 = makeLocationNode({
320
+ service: Service37,
321
321
  layer: layer(),
322
322
  deps: [
323
323
  node86,
324
- node81,
324
+ node83,
325
325
  Global.node,
326
- node85,
327
- node65,
328
- node77,
329
- node44,
330
- node46,
326
+ node56,
327
+ node61,
328
+ node71,
329
+ node41,
330
+ node42,
331
331
  cleanupNode
332
332
  ]
333
333
  });
334
334
 
335
- export { NotFoundError4, RETENTION2, DIRECTORY2, Service39, cleanup2, node43, exports_shell4 };
335
+ export { NotFoundError5, RETENTION2, DIRECTORY2, Service37, cleanup2, node40, exports_shell4 };
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./filesystem-922hggd3.js";
4
+ } from "./image-922hggd3.js";
5
5
  import {
6
6
  makeUnsafe2
7
- } from "./filesystem-y71avatq.js";
7
+ } from "./image-y71avatq.js";
8
8
  import {
9
9
  MAX_TOTAL_PATCH_BYTES2,
10
10
  emptyPatch2,
11
11
  chunksByFile2
12
- } from "./filesystem-tazgh4e4.js";
12
+ } from "./image-tazgh4e4.js";
13
13
  import {
14
14
  gitExecutable2
15
- } from "./filesystem-ef5x83kb.js";
15
+ } from "./image-ef5x83kb.js";
16
16
  import {
17
17
  __export
18
- } from "./filesystem-9rqn6x4v.js";
18
+ } from "./image-9rqn6x4v.js";
19
19
 
20
20
  // src/git.ts
21
21
  var exports_git3 = {};
@@ -23,11 +23,11 @@ __export(exports_git3, {
23
23
  Git: () => exports_git3,
24
24
  OperationError: () => OperationError3,
25
25
  Repository: () => Repository2,
26
- Service: () => Service79,
26
+ Service: () => Service81,
27
27
  TreeID: () => TreeID2,
28
28
  Worktree: () => Worktree2,
29
29
  WorktreeError: () => WorktreeError2,
30
- node: () => node83
30
+ node: () => node85
31
31
  });
32
32
  import path from "path";
33
33
  import { Context, Effect, Layer, Schema } from "effect";
@@ -93,9 +93,9 @@ class WorktreeError2 extends Schema.TaggedError()("Git.WorktreeError", {
93
93
  }) {
94
94
  }
95
95
 
96
- class Service79 extends Context.Service()("@opencode/Git") {
96
+ class Service81 extends Context.Service()("@opencode/Git") {
97
97
  }
98
- var layer = Layer.effect(Service79, Effect.gen(function* () {
98
+ var layer = Layer.effect(Service81, Effect.gen(function* () {
99
99
  const fs = yield* FSUtil.Service;
100
100
  const proc = yield* AppProcess.Service;
101
101
  const locks = makeUnsafe2();
@@ -419,7 +419,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
419
419
  kind: index === 0 ? "main" : "linked"
420
420
  }));
421
421
  });
422
- return Service79.of({
422
+ return Service81.of({
423
423
  repo: { discover, clone, create },
424
424
  remote: { get: remote },
425
425
  history: { head, branch, defaultRemoteBranch: remoteHead, rootCommits: roots },
@@ -435,7 +435,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
435
435
  }
436
436
  });
437
437
  }));
438
- var node83 = makeGlobalNode({ service: Service79, layer, deps: [FSUtil.node, AppProcess.node] });
438
+ var node85 = makeGlobalNode({ service: Service81, layer, deps: [FSUtil.node, AppProcess.node] });
439
439
  function run(cwd, proc, args) {
440
440
  return execute(cwd, proc, args).pipe(Effect.orElseSucceed(() => ({ exitCode: 1, text: "", stderr: "" })));
441
441
  }
@@ -463,4 +463,4 @@ function resolvePath(cwd, value) {
463
463
  return path.resolve(cwd, normalized);
464
464
  }
465
465
 
466
- export { Repository2, TreeID2, OperationError3, Worktree2, WorktreeError2, Service79, node83, exports_git3 };
466
+ export { Repository2, TreeID2, OperationError3, Worktree2, WorktreeError2, Service81, node85, exports_git3 };
@@ -1,32 +1,32 @@
1
1
  import {
2
- Key4,
2
+ Key3,
3
3
  removed2,
4
4
  empty3,
5
5
  make20,
6
6
  diffByKey2
7
- } from "./filesystem-02nrjc1r.js";
7
+ } from "./image-rhjbct0v.js";
8
8
  import {
9
9
  evaluate2
10
- } from "./filesystem-13qzbekt.js";
10
+ } from "./image-cejtc14z.js";
11
11
  import {
12
- Service30,
13
- node33
14
- } from "./filesystem-4waxsa04.js";
12
+ Service35,
13
+ node38
14
+ } from "./image-gnf9d3h8.js";
15
15
  import {
16
16
  namespace2,
17
- name14
18
- } from "./filesystem-e06sw8n6.js";
17
+ name13
18
+ } from "./image-1wwfc5vj.js";
19
19
  import {
20
20
  __export
21
- } from "./filesystem-9rqn6x4v.js";
21
+ } from "./image-9rqn6x4v.js";
22
22
 
23
23
  // src/mcp/instructions.ts
24
- var exports_instructions2 = {};
25
- __export(exports_instructions2, {
26
- McpInstructions: () => exports_instructions2,
27
- Service: () => Service24,
24
+ var exports_instructions3 = {};
25
+ __export(exports_instructions3, {
26
+ McpInstructions: () => exports_instructions3,
27
+ Service: () => Service27,
28
28
  layer: () => layer10,
29
- node: () => node26
29
+ node: () => node29
30
30
  });
31
31
  import { makeLocationNode } from "@opencode/util/effect/app-node";
32
32
  import { Context, Effect, Layer, Schema } from "effect";
@@ -62,17 +62,17 @@ var update = (previous, current) => {
62
62
  `);
63
63
  };
64
64
 
65
- class Service24 extends Context.Service()("@opencode/McpInstructions") {
65
+ class Service27 extends Context.Service()("@opencode/McpInstructions") {
66
66
  }
67
- var layer10 = Layer.effect(Service24, Effect.gen(function* () {
68
- const mcp = yield* Service30;
69
- return Service24.of({
67
+ var layer10 = Layer.effect(Service27, Effect.gen(function* () {
68
+ const mcp = yield* Service35;
69
+ return Service27.of({
70
70
  load: Effect.fn("McpInstructions.load")(function* (selection) {
71
71
  const agent = selection.info;
72
72
  if (!agent)
73
73
  return empty3;
74
74
  const source = (value) => make20({
75
- key: Key4.make("core/mcp-guidance"),
75
+ key: Key3.make("core/mcp-guidance"),
76
76
  codec: Schema.toCodecJson(Schema.Array(Summary)),
77
77
  read: Effect.succeed(value),
78
78
  render: {
@@ -90,7 +90,7 @@ var layer10 = Layer.effect(Service24, Effect.gen(function* () {
90
90
  const codemode = owned[0]?.codemode !== false;
91
91
  if (codemode && !canExecute)
92
92
  return [];
93
- if (!owned.some((tool) => evaluate2(name14(tool.server, tool.name), "*", agent.permissions).effect !== "deny"))
93
+ if (!owned.some((tool) => evaluate2(name13(tool.server, tool.name), "*", agent.permissions).effect !== "deny"))
94
94
  return [];
95
95
  return [
96
96
  codemode ? { server: item.server, instructions: item.instructions } : { server: item.server, instructions: item.instructions, codemode: false }
@@ -100,6 +100,6 @@ var layer10 = Layer.effect(Service24, Effect.gen(function* () {
100
100
  })
101
101
  });
102
102
  }));
103
- var node26 = makeLocationNode({ service: Service24, layer: layer10, deps: [node33] });
103
+ var node29 = makeLocationNode({ service: Service27, layer: layer10, deps: [node38] });
104
104
 
105
- export { Service24, layer10, node26, exports_instructions2 };
105
+ export { Service27, layer10, node29, exports_instructions3 };
@@ -1,31 +1,31 @@
1
1
  import {
2
- Service43,
3
- node47
4
- } from "./filesystem-hgxzff7j.js";
2
+ Service40,
3
+ node43
4
+ } from "./image-5j3zvexf.js";
5
5
  import {
6
- Service77,
7
- node81
8
- } from "./filesystem-46p5v0nr.js";
6
+ Service79,
7
+ node83
8
+ } from "./image-5d0yg4wn.js";
9
9
  import {
10
- Service42,
11
- node46
12
- } from "./filesystem-y46yp9kd.js";
10
+ Service39,
11
+ node42
12
+ } from "./image-w6ngjk0y.js";
13
13
  import {
14
14
  names2,
15
15
  discover2
16
- } from "./filesystem-zxq2ej10.js";
16
+ } from "./image-zxq2ej10.js";
17
17
  import {
18
18
  __export
19
- } from "./filesystem-9rqn6x4v.js";
19
+ } from "./image-9rqn6x4v.js";
20
20
 
21
21
  // src/config/plugin/source.ts
22
22
  var exports_source = {};
23
23
  __export(exports_source, {
24
24
  ConfigPluginSource: () => exports_source,
25
- Service: () => Service5,
25
+ Service: () => Service12,
26
26
  empty: () => empty2,
27
- layer: () => layer5,
28
- node: () => node6
27
+ layer: () => layer7,
28
+ node: () => node14
29
29
  });
30
30
  import { FSUtil } from "@opencode/util/fs-util";
31
31
  import { Host } from "@opencode/plugin/host";
@@ -33,13 +33,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
33
33
  import { Context, Effect, Layer, Option, PubSub, Stream } from "effect";
34
34
  import path from "path";
35
35
  import { fileURLToPath, pathToFileURL } from "url";
36
- class Service5 extends Context.Service()("@opencode/ConfigPluginSource") {
36
+ class Service12 extends Context.Service()("@opencode/ConfigPluginSource") {
37
37
  }
38
- var layer5 = Layer.effect(Service5, Effect.gen(function* () {
39
- const config = yield* Service42;
40
- const watcher = yield* Service43;
38
+ var layer7 = Layer.effect(Service12, Effect.gen(function* () {
39
+ const config = yield* Service39;
40
+ const watcher = yield* Service40;
41
41
  const fs = yield* FSUtil.Service;
42
- const location = yield* Service77;
42
+ const location = yield* Service79;
43
43
  const configuredChanges = yield* PubSub.unbounded();
44
44
  const watched = new Set;
45
45
  const watchConfiguredSources = Effect.fn("ConfigPluginSource.watchConfiguredSources")(function* (entries, operations) {
@@ -58,7 +58,7 @@ var layer5 = Layer.effect(Service5, Effect.gen(function* () {
58
58
  yield* updates.pipe(Stream.runForEach(() => PubSub.publish(configuredChanges, undefined)), Effect.catchCause((cause) => Effect.logError("configured plugin watch failed", { target: operation.target, cause })), Effect.forkScoped({ startImmediately: true }));
59
59
  }
60
60
  });
61
- return Service5.of({
61
+ return Service12.of({
62
62
  operations: Effect.fn("ConfigPluginSource.operations")(function* () {
63
63
  const entries = yield* config.entries();
64
64
  const operations = yield* scan(fs, location, entries);
@@ -70,14 +70,14 @@ var layer5 = Layer.effect(Service5, Effect.gen(function* () {
70
70
  })), Stream.fromPubSub(configuredChanges))
71
71
  });
72
72
  }));
73
- var node6 = makeLocationNode({
74
- service: Service5,
75
- layer: layer5,
76
- deps: [node46, FSUtil.node, node47, node81]
73
+ var node14 = makeLocationNode({
74
+ service: Service12,
75
+ layer: layer7,
76
+ deps: [node42, FSUtil.node, node43, node83]
77
77
  });
78
78
  var empty2 = makeLocationNode({
79
- service: Service5,
80
- layer: Layer.succeed(Service5, Service5.of({
79
+ service: Service12,
80
+ layer: Layer.succeed(Service12, Service12.of({
81
81
  operations: () => Effect.succeed([]),
82
82
  changes: () => Stream.never
83
83
  })),
@@ -137,4 +137,4 @@ function isPluginSource(entries, file) {
137
137
  return entries.some((entry) => entry.type === "directory" && names2.some((directory) => FSUtil.contains(path.join(entry.path, directory), file)));
138
138
  }
139
139
 
140
- export { Service5, layer5, node6, empty2, exports_source };
140
+ export { Service12, layer7, node14, empty2, exports_source };
@@ -1,37 +1,37 @@
1
1
  import {
2
2
  Service82,
3
3
  node86
4
- } from "./filesystem-4pw9szbk.js";
4
+ } from "./image-tgf2ymth.js";
5
5
  import {
6
- Service77,
7
- node81
8
- } from "./filesystem-46p5v0nr.js";
6
+ Service79,
7
+ node83
8
+ } from "./image-5d0yg4wn.js";
9
9
  import {
10
- ID15,
11
- Service72,
12
- node76
13
- } from "./filesystem-ckge2wbq.js";
10
+ ID10,
11
+ Service68,
12
+ node72
13
+ } from "./image-hmfwemxz.js";
14
14
  import {
15
15
  NotFoundError9
16
- } from "./filesystem-wqkncbjv.js";
16
+ } from "./image-wxffcvth.js";
17
17
  import {
18
- Service71,
19
- node75
20
- } from "./filesystem-kf5cf4rp.js";
18
+ Service66,
19
+ node70
20
+ } from "./image-t0jj3952.js";
21
21
  import {
22
22
  match2
23
- } from "./filesystem-y1fvbwt7.js";
23
+ } from "./image-y1fvbwt7.js";
24
24
  import {
25
- Service70,
26
- node74
27
- } from "./filesystem-0jk305gw.js";
25
+ Service65,
26
+ node69
27
+ } from "./image-68cpew65.js";
28
28
  import {
29
- Service73,
30
- node77
31
- } from "./filesystem-4e8vs6eh.js";
29
+ Service67,
30
+ node71
31
+ } from "./image-g1sxm558.js";
32
32
  import {
33
33
  __export
34
- } from "./filesystem-9rqn6x4v.js";
34
+ } from "./image-9rqn6x4v.js";
35
35
 
36
36
  // src/permission.ts
37
37
  var exports_permission2 = {};
@@ -42,29 +42,29 @@ __export(exports_permission2, {
42
42
  CorrectedError: () => CorrectedError2,
43
43
  DeclinedError: () => DeclinedError2,
44
44
  Effect: () => PermissionEffect,
45
- Event: () => Event18,
46
- ID: () => ID13,
45
+ Event: () => Event12,
46
+ ID: () => ID8,
47
47
  NotFoundError: () => NotFoundError8,
48
48
  Permission: () => exports_permission2,
49
- Reply: () => Reply3,
49
+ Reply: () => Reply2,
50
50
  ReplyInput: () => ReplyInput2,
51
- Request: () => Request3,
51
+ Request: () => Request2,
52
52
  Rule: () => Rule3,
53
53
  Ruleset: () => Ruleset2,
54
- Service: () => Service69,
54
+ Service: () => Service64,
55
55
  Source: () => Source5,
56
56
  evaluate: () => evaluate2,
57
57
  merge: () => merge2,
58
- node: () => node73
58
+ node: () => node68
59
59
  });
60
60
  import { makeLocationNode } from "@opencode/util/effect/app-node";
61
61
  import { Context, Deferred, Effect, Layer, Schema } from "effect";
62
62
  import { Permission } from "@opencode/schema/permission";
63
63
  import { Rule as Rule3, Ruleset as Ruleset2 } from "@opencode/schema/permission";
64
- import { Event as Event18 } from "@opencode/schema/permission";
64
+ import { Event as Event12 } from "@opencode/schema/permission";
65
65
  var PermissionEffect = Permission.Effect;
66
66
  var missingAgentPermissions = [{ action: "*", resource: "*", effect: "deny" }];
67
- var ID13 = Permission.ID;
67
+ var ID8 = Permission.ID;
68
68
  var Source5 = Permission.Source;
69
69
  var RequestFields = {
70
70
  sessionID: Permission.Request.fields.sessionID,
@@ -74,20 +74,20 @@ var RequestFields = {
74
74
  metadata: Permission.Request.fields.metadata,
75
75
  source: Permission.Request.fields.source
76
76
  };
77
- var Request3 = Permission.Request;
78
- var Reply3 = Permission.Reply;
77
+ var Request2 = Permission.Request;
78
+ var Reply2 = Permission.Reply;
79
79
  var AssertInput2 = Schema.Struct({
80
- id: ID13.pipe(Schema.optional),
80
+ id: ID8.pipe(Schema.optional),
81
81
  ...RequestFields,
82
- agent: ID15.pipe(Schema.optional)
82
+ agent: ID10.pipe(Schema.optional)
83
83
  }).annotate({ identifier: "Permission.AssertInput" });
84
84
  var ReplyInput2 = Schema.Struct({
85
- requestID: ID13,
86
- reply: Reply3,
85
+ requestID: ID8,
86
+ reply: Reply2,
87
87
  message: Schema.String.pipe(Schema.optional)
88
88
  }).annotate({ identifier: "Permission.ReplyInput" });
89
89
  var AskResult2 = Schema.Struct({
90
- id: ID13,
90
+ id: ID8,
91
91
  effect: Permission.Effect
92
92
  }).annotate({ identifier: "Permission.AskResult" });
93
93
 
@@ -111,7 +111,7 @@ class BlockedError2 extends Schema.TaggedError()("Permission.BlockedError", {
111
111
  }
112
112
 
113
113
  class NotFoundError8 extends Schema.TaggedError()("Permission.NotFoundError", {
114
- requestID: ID13
114
+ requestID: ID8
115
115
  }) {
116
116
  }
117
117
  function evaluate2(action, resource, ...rulesets) {
@@ -125,15 +125,15 @@ function merge2(...rulesets) {
125
125
  return rulesets.flat();
126
126
  }
127
127
 
128
- class Service69 extends Context.Service()("@opencode/Permission") {
128
+ class Service64 extends Context.Service()("@opencode/Permission") {
129
129
  }
130
- var layer = Layer.effect(Service69, Effect.gen(function* () {
130
+ var layer = Layer.effect(Service64, Effect.gen(function* () {
131
131
  const bus = yield* Service82;
132
- const location = yield* Service77;
133
- const agents = yield* Service72;
134
- const sessions = yield* Service71;
135
- const saved = yield* Service70;
136
- const hooks = yield* Service73;
132
+ const location = yield* Service79;
133
+ const agents = yield* Service68;
134
+ const sessions = yield* Service66;
135
+ const saved = yield* Service65;
136
+ const hooks = yield* Service67;
137
137
  const pending = new Map;
138
138
  let closed = false;
139
139
  const close = Effect.gen(function* () {
@@ -186,7 +186,7 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
186
186
  });
187
187
  function request(input, message) {
188
188
  return {
189
- id: input.id ?? ID13.create(),
189
+ id: input.id ?? ID8.create(),
190
190
  sessionID: input.sessionID,
191
191
  action: input.action,
192
192
  resources: input.resources,
@@ -211,7 +211,7 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
211
211
  }));
212
212
  const ask = Effect.fn("Permission.ask")(function* (input) {
213
213
  if (closed)
214
- return { id: input.id ?? ID13.create(), effect: "deny" };
214
+ return { id: input.id ?? ID8.create(), effect: "deny" };
215
215
  const result = yield* evaluateInput(input);
216
216
  const value = request(input, result.message);
217
217
  if (result.effect === "ask")
@@ -297,12 +297,12 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
297
297
  const forSession = Effect.fn("Permission.forSession")(function* (sessionID) {
298
298
  return Array.from(pending.values(), (item) => item.request).filter((request) => request.sessionID === sessionID);
299
299
  });
300
- return Service69.of({ ask, assert, reply, get, forSession, list, close });
300
+ return Service64.of({ ask, assert, reply, get, forSession, list, close });
301
301
  }));
302
- var node73 = makeLocationNode({
303
- service: Service69,
302
+ var node68 = makeLocationNode({
303
+ service: Service64,
304
304
  layer,
305
- deps: [node86, node81, node76, node75, node74, node77]
305
+ deps: [node86, node83, node72, node70, node69, node71]
306
306
  });
307
307
 
308
- export { PermissionEffect, ID13, Source5, Request3, Reply3, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError8, evaluate2, merge2, Service69, node73, exports_permission2, Rule3, Ruleset2, Event18 };
308
+ export { PermissionEffect, ID8, Source5, Request2, Reply2, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError8, evaluate2, merge2, Service64, node68, exports_permission2, Rule3, Ruleset2, Event12 };
@@ -1,6 +1,6 @@
1
1
  import {
2
- ID7
3
- } from "./filesystem-1wyj371t.js";
2
+ ID13
3
+ } from "./image-sxec3bmh.js";
4
4
 
5
5
  // src/plugin/provider/prompt-cache-key.ts
6
6
  import { Effect } from "effect";
@@ -24,7 +24,7 @@ var PromptCacheKeyPlugin2 = define({
24
24
  effect: Effect.fn(function* (ctx) {
25
25
  yield* ctx.model.transform((models) => {
26
26
  for (const id of providerIDs) {
27
- const providerID = ID7.make(id);
27
+ const providerID = ID13.make(id);
28
28
  for (const model of models.list(providerID)) {
29
29
  models.update(model.providerID, model.id, (draft) => {
30
30
  draft.compatibility = { ...draft.compatibility, supportsPromptCacheKey: true };
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  provider2,
3
3
  model2
4
- } from "./filesystem-0paq2nw3.js";
4
+ } from "./image-0paq2nw3.js";
5
5
  import {
6
6
  aisdk2
7
- } from "./filesystem-1wyj371t.js";
7
+ } from "./image-sxec3bmh.js";
8
8
  import {
9
9
  Capabilities2,
10
10
  compatibility2
11
- } from "./filesystem-7hp0tadb.js";
11
+ } from "./image-skc6rhzm.js";
12
12
  import {
13
13
  __export
14
- } from "./filesystem-9rqn6x4v.js";
14
+ } from "./image-9rqn6x4v.js";
15
15
 
16
16
  // src/v1/config/migrate.ts
17
17
  var exports_migrate = {};