@opencode/core 0.0.0-dev-20155 → 0.0.0-dev-20157

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 (802) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +81 -81
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +69 -69
  7. package/dist/chunks/{schema-6mb9rkag.js → repository-02r4f2yh.js} +17 -17
  8. package/dist/chunks/{schema-2af3vg7e.js → repository-0dea7hqg.js} +9 -9
  9. package/dist/chunks/{schema-r5cmcmkd.js → repository-0dtc7saj.js} +10 -10
  10. package/dist/chunks/{schema-s9ny3s1p.js → repository-0mp9629n.js} +24 -24
  11. package/dist/chunks/{schema-0paq2nw3.js → repository-0paq2nw3.js} +1 -1
  12. package/dist/chunks/{schema-5e19p4dw.js → repository-0r7yqxbf.js} +5 -5
  13. package/dist/chunks/{schema-e3qz6zmn.js → repository-13dgep1z.js} +16 -16
  14. package/dist/chunks/{schema-zysz17mm.js → repository-1bfc10mg.js} +17 -17
  15. package/dist/chunks/{schema-1dazxqgg.js → repository-1dazxqgg.js} +2 -2
  16. package/dist/chunks/{schema-zjycbmx8.js → repository-1khmhcax.js} +9 -9
  17. package/dist/chunks/{schema-3tnj4nc2.js → repository-1tdtc034.js} +27 -27
  18. package/dist/chunks/{schema-5cv6t2zq.js → repository-1xpzac98.js} +19 -19
  19. package/dist/chunks/{schema-39ctaptd.js → repository-1z5ysepc.js} +11 -11
  20. package/dist/chunks/{schema-zksm58n9.js → repository-21akxfrh.js} +68 -68
  21. package/dist/chunks/{schema-21r38tys.js → repository-21r38tys.js} +1 -1
  22. package/dist/chunks/{schema-vfnexndp.js → repository-21zq8aa1.js} +6 -6
  23. package/dist/chunks/{schema-2402vzrj.js → repository-2402vzrj.js} +1 -1
  24. package/dist/chunks/{schema-jdgpxcbk.js → repository-2531bb5a.js} +11 -11
  25. package/dist/chunks/{schema-2a5m3afh.js → repository-2a5m3afh.js} +1 -1
  26. package/dist/chunks/{schema-sd5f6jdk.js → repository-2a6rn6yr.js} +6 -6
  27. package/dist/chunks/{schema-31nz5m34.js → repository-2cjsxekc.js} +13 -13
  28. package/dist/chunks/{schema-d9s573fh.js → repository-2fgn2we9.js} +9 -9
  29. package/dist/chunks/{schema-sk3sbtp0.js → repository-2j74qy9w.js} +4 -4
  30. package/dist/chunks/{schema-qgn6gcr1.js → repository-2k8khapm.js} +5 -5
  31. package/dist/chunks/{schema-9r2n4vbx.js → repository-2nzc6ac3.js} +4 -4
  32. package/dist/chunks/{schema-r3c4069c.js → repository-32h4nn8p.js} +1 -1
  33. package/dist/chunks/{schema-rw5zsebr.js → repository-38nmpqef.js} +24 -24
  34. package/dist/chunks/{schema-27hrx2m2.js → repository-3f66bwfz.js} +4 -4
  35. package/dist/chunks/{schema-3fc6dm20.js → repository-3fc6dm20.js} +1 -1
  36. package/dist/chunks/{schema-3hepkmqq.js → repository-3hepkmqq.js} +1 -1
  37. package/dist/chunks/{schema-16s9kdw5.js → repository-3nhsj318.js} +30 -30
  38. package/dist/chunks/{schema-xdrt6sd9.js → repository-3petje8f.js} +5 -5
  39. package/dist/chunks/{schema-mnsrx4h9.js → repository-3rbef5jj.js} +4 -4
  40. package/dist/chunks/{schema-3smtnn6g.js → repository-3smtnn6g.js} +1 -1
  41. package/dist/chunks/{schema-3tvqynh2.js → repository-3tvqynh2.js} +1 -1
  42. package/dist/chunks/{schema-1tmpsw1r.js → repository-3x8fysj4.js} +13 -13
  43. package/dist/chunks/{schema-3zsf4n22.js → repository-3zsf4n22.js} +1 -1
  44. package/dist/chunks/{schema-tmddb601.js → repository-3zz7237p.js} +6 -6
  45. package/dist/chunks/{schema-e2wbz5rg.js → repository-45g6rp4p.js} +8 -8
  46. package/dist/chunks/{schema-dvm4mghw.js → repository-4bqx1nme.js} +14 -14
  47. package/dist/chunks/{schema-mq740twr.js → repository-4d31bbse.js} +10 -10
  48. package/dist/chunks/{schema-2qqmafn9.js → repository-4e5ccp43.js} +22 -22
  49. package/dist/chunks/{schema-afjydgk3.js → repository-4eq8w0dz.js} +4 -4
  50. package/dist/chunks/{schema-0h0a48ec.js → repository-4f06rze2.js} +11 -11
  51. package/dist/chunks/{schema-kvy0p52m.js → repository-4gxz33t2.js} +7 -7
  52. package/dist/chunks/{schema-07fk4vdp.js → repository-4j5v26y0.js} +5 -5
  53. package/dist/chunks/{schema-jeqr0vjg.js → repository-4shp4sr3.js} +33 -33
  54. package/dist/chunks/{schema-ep74v7fx.js → repository-4t037ma6.js} +15 -15
  55. package/dist/chunks/{schema-637bt013.js → repository-4tjr6zkn.js} +35 -35
  56. package/dist/chunks/{schema-q6pbqyca.js → repository-50nkx4g5.js} +38 -38
  57. package/dist/chunks/{schema-anz3vhts.js → repository-50zpe24t.js} +23 -23
  58. package/dist/chunks/{schema-rmeqj50k.js → repository-54cht2md.js} +21 -21
  59. package/dist/chunks/{schema-1ygqh575.js → repository-56gdpj1q.js} +9 -9
  60. package/dist/chunks/{schema-ac760hkj.js → repository-580xkvb2.js} +24 -24
  61. package/dist/chunks/{schema-5daktx2q.js → repository-5daktx2q.js} +1 -1
  62. package/dist/chunks/{schema-z59jkery.js → repository-5gbgdf63.js} +24 -24
  63. package/dist/chunks/{schema-3pghag89.js → repository-5ke24xg0.js} +22 -22
  64. package/dist/chunks/{schema-my33rnxx.js → repository-5qedxm44.js} +11 -11
  65. package/dist/chunks/{schema-na0j43z6.js → repository-5rfaxrsd.js} +21 -21
  66. package/dist/chunks/{schema-5t3nmthw.js → repository-5t3nmthw.js} +2 -2
  67. package/dist/chunks/{schema-b3hkrvzm.js → repository-61b773qj.js} +6 -6
  68. package/dist/chunks/{schema-7mggrsj0.js → repository-62gx00z5.js} +20 -20
  69. package/dist/chunks/{schema-669tq793.js → repository-669tq793.js} +1 -1
  70. package/dist/chunks/{schema-pd58mre0.js → repository-68pety7q.js} +9 -9
  71. package/dist/chunks/{schema-qr81hr1d.js → repository-6j3j64eb.js} +89 -89
  72. package/dist/chunks/{schema-6msgmcgs.js → repository-6msgmcgs.js} +1 -1
  73. package/dist/chunks/{schema-0bhxxk9k.js → repository-6t9zdyzr.js} +10 -10
  74. package/dist/chunks/{schema-5jk2m439.js → repository-70we0w58.js} +14 -14
  75. package/dist/chunks/{schema-73tb2d7t.js → repository-73tb2d7t.js} +1 -1
  76. package/dist/chunks/{schema-8n2g1t1q.js → repository-76eezes8.js} +3 -3
  77. package/dist/chunks/{schema-7bmhse3q.js → repository-7bmhse3q.js} +1 -1
  78. package/dist/chunks/{schema-4ng17raw.js → repository-7hrknbh1.js} +3 -3
  79. package/dist/chunks/{schema-depwzj9d.js → repository-82rhge12.js} +9 -9
  80. package/dist/chunks/{schema-x74r3nk3.js → repository-86m00gc1.js} +8 -8
  81. package/dist/chunks/{schema-nf54004p.js → repository-89e14fg5.js} +8 -8
  82. package/dist/chunks/{schema-8d7r5vzw.js → repository-8d7r5vzw.js} +1 -1
  83. package/dist/chunks/{schema-0xdddkhd.js → repository-8e412960.js} +27 -27
  84. package/dist/chunks/{schema-b7nzzxtj.js → repository-8g5424td.js} +23 -23
  85. package/dist/chunks/{schema-4w8174cf.js → repository-8jyfh64s.js} +23 -23
  86. package/dist/chunks/{schema-27prgbw4.js → repository-8vn4cfgq.js} +17 -17
  87. package/dist/chunks/{schema-fn0717px.js → repository-8xdzh0gy.js} +32 -32
  88. package/dist/chunks/{schema-2h1ppkz8.js → repository-92kfgbvy.js} +25 -25
  89. package/dist/chunks/{schema-gfvb90ym.js → repository-94ek1h2f.js} +2 -2
  90. package/dist/chunks/{schema-2b17ndm2.js → repository-9c7cfx9k.js} +12 -12
  91. package/dist/chunks/{schema-d1c25d3q.js → repository-9t9nwrjp.js} +7 -7
  92. package/dist/chunks/{schema-gqchpbtd.js → repository-9xvq3m7s.js} +5 -5
  93. package/dist/chunks/{schema-vjf4vvvf.js → repository-a6aff8z8.js} +20 -20
  94. package/dist/chunks/{schema-8n8aydd2.js → repository-a70bg6dx.js} +10 -10
  95. package/dist/chunks/{schema-psqa84kj.js → repository-a8eh5f32.js} +18 -18
  96. package/dist/chunks/{schema-aaet6srn.js → repository-aaet6srn.js} +2 -2
  97. package/dist/chunks/{schema-x46rem9p.js → repository-agv6b8k2.js} +3 -3
  98. package/dist/chunks/{schema-vmgq4x8b.js → repository-ak8wweg5.js} +2 -2
  99. package/dist/chunks/{schema-nqvz83n0.js → repository-akcepp6y.js} +9 -9
  100. package/dist/chunks/{schema-xreqyrjh.js → repository-an66nx3z.js} +45 -45
  101. package/dist/chunks/{schema-jbz4z0yy.js → repository-asvap28k.js} +24 -24
  102. package/dist/chunks/{schema-5aegf1xj.js → repository-atcwnc5a.js} +32 -32
  103. package/dist/chunks/{schema-1xkahdzt.js → repository-az4a6sax.js} +86 -86
  104. package/dist/chunks/{schema-0qmq1g2y.js → repository-b57g7gde.js} +3 -3
  105. package/dist/chunks/{schema-b6gygkdw.js → repository-b6gygkdw.js} +2 -2
  106. package/dist/chunks/{schema-7bmwqyq6.js → repository-b6szjc2b.js} +5 -5
  107. package/dist/chunks/{schema-4n607a2z.js → repository-b7b4ctej.js} +5 -5
  108. package/dist/chunks/{schema-3x6k1mts.js → repository-bakxampr.js} +10 -10
  109. package/dist/chunks/{schema-vnd02eqn.js → repository-bm2y31hv.js} +15 -15
  110. package/dist/chunks/{schema-kgey82cw.js → repository-bx3fq6aw.js} +14 -14
  111. package/dist/chunks/repository-by5v678g.js +18 -0
  112. package/dist/chunks/{schema-q3hm2ja7.js → repository-cc2shgt9.js} +42 -42
  113. package/dist/chunks/{schema-32nda6gh.js → repository-cfmzrcj7.js} +10 -10
  114. package/dist/chunks/{schema-157g1820.js → repository-ch64seem.js} +26 -26
  115. package/dist/chunks/{schema-54tcyq79.js → repository-ckecvw8r.js} +2 -2
  116. package/dist/chunks/{schema-chd5dxat.js → repository-cm0f77dr.js} +7 -7
  117. package/dist/chunks/{schema-ccx1dw7q.js → repository-crsexzag.js} +24 -24
  118. package/dist/chunks/repository-d0jzkfbr.js +252 -0
  119. package/dist/chunks/repository-dbc9r3hj.js +26 -0
  120. package/dist/chunks/{schema-686bxqs3.js → repository-dh4q5s77.js} +11 -11
  121. package/dist/chunks/{schema-ry6yywad.js → repository-dhkwabp0.js} +17 -17
  122. package/dist/chunks/{schema-2sejkfem.js → repository-djszqvmq.js} +9 -9
  123. package/dist/chunks/{schema-qqeeq2t9.js → repository-drwq78ky.js} +7 -7
  124. package/dist/chunks/{schema-8p3bvsm6.js → repository-e59tsew2.js} +14 -14
  125. package/dist/chunks/{schema-0mezm8v3.js → repository-e7ws6ec8.js} +51 -51
  126. package/dist/chunks/{schema-q9trfcxy.js → repository-eahms454.js} +34 -34
  127. package/dist/chunks/{schema-ecfe7b91.js → repository-ecfe7b91.js} +2 -2
  128. package/dist/chunks/{schema-ef5x83kb.js → repository-ef5x83kb.js} +1 -1
  129. package/dist/chunks/{schema-anbjwd12.js → repository-ehsk5wsv.js} +30 -30
  130. package/dist/chunks/{schema-pcp3kjxr.js → repository-epfpd7cv.js} +9 -9
  131. package/dist/chunks/{schema-etq0c3wd.js → repository-etq0c3wd.js} +1 -1
  132. package/dist/chunks/{schema-dbt5d3v2.js → repository-eyn5j564.js} +8 -8
  133. package/dist/chunks/{schema-1acjjqhc.js → repository-f2n192rq.js} +4 -4
  134. package/dist/chunks/{schema-exf3dd23.js → repository-f334w0pg.js} +35 -35
  135. package/dist/chunks/{schema-48vb8zcm.js → repository-f5fspc7b.js} +8 -8
  136. package/dist/chunks/{schema-qm6nak0e.js → repository-fp35vcn1.js} +54 -54
  137. package/dist/chunks/{schema-5cmxdwv8.js → repository-fqka1xvk.js} +3 -3
  138. package/dist/chunks/{schema-xsgk3b13.js → repository-fsbk27r1.js} +9 -9
  139. package/dist/chunks/{schema-4tq94sws.js → repository-ftjt2372.js} +4 -4
  140. package/dist/chunks/{schema-a2qe2ev9.js → repository-g1sxm558.js} +8 -8
  141. package/dist/chunks/{schema-gd4qta3r.js → repository-gd4qta3r.js} +1 -1
  142. package/dist/chunks/{schema-13q95dca.js → repository-geakp29a.js} +11 -11
  143. package/dist/chunks/{schema-djpyvzbj.js → repository-gqnw29hq.js} +10 -10
  144. package/dist/chunks/{schema-yyb7tjpc.js → repository-gv6a8nnw.js} +2 -2
  145. package/dist/chunks/{schema-maqbyvg5.js → repository-gwahz6hz.js} +13 -13
  146. package/dist/chunks/{schema-hv2hgy02.js → repository-h3r85v63.js} +13 -13
  147. package/dist/chunks/{schema-nzyhnfxz.js → repository-h6r3nrb9.js} +4 -4
  148. package/dist/chunks/{schema-h6vf3j39.js → repository-h6vf3j39.js} +1 -1
  149. package/dist/chunks/{schema-k6a20zcv.js → repository-h70nwwcc.js} +14 -14
  150. package/dist/chunks/{schema-ma8x6edw.js → repository-har18r6r.js} +30 -30
  151. package/dist/chunks/{schema-h088vvky.js → repository-hqxn6csc.js} +178 -178
  152. package/dist/chunks/{schema-dst2nx90.js → repository-hqxxrcsw.js} +18 -18
  153. package/dist/chunks/{schema-07f32r4c.js → repository-hr7nhsg3.js} +2 -2
  154. package/dist/chunks/{schema-8gxfpvk4.js → repository-hr9sx13n.js} +22 -22
  155. package/dist/chunks/{schema-c4q1b81p.js → repository-htpfkpfv.js} +3 -3
  156. package/dist/chunks/{schema-79wrnan4.js → repository-hx10j1ep.js} +11 -11
  157. package/dist/chunks/{schema-99yn8t20.js → repository-hyyftsxg.js} +3 -3
  158. package/dist/chunks/{schema-3gsz5zgg.js → repository-j4dredde.js} +19 -19
  159. package/dist/chunks/{schema-j56e64zr.js → repository-j56e64zr.js} +1 -1
  160. package/dist/chunks/{schema-8gm0xqx6.js → repository-j64jv97n.js} +8 -8
  161. package/dist/chunks/{schema-sx1n432n.js → repository-j83byb14.js} +4 -4
  162. package/dist/chunks/{schema-qz25ctfn.js → repository-jb8f8bdw.js} +30 -30
  163. package/dist/chunks/{schema-404v594m.js → repository-jdt82a65.js} +9 -9
  164. package/dist/chunks/{schema-81fh9vc9.js → repository-jewqmp23.js} +14 -14
  165. package/dist/chunks/{schema-53fyba40.js → repository-jjzf804t.js} +4 -4
  166. package/dist/chunks/{schema-qan3rc7n.js → repository-jsknnxm0.js} +20 -20
  167. package/dist/chunks/{schema-syyemct7.js → repository-jvzh73h3.js} +18 -18
  168. package/dist/chunks/{schema-ybnjss4v.js → repository-jw7mqvhb.js} +24 -24
  169. package/dist/chunks/{schema-nzks3jc8.js → repository-k3c624dm.js} +3 -3
  170. package/dist/chunks/{schema-mnwje68x.js → repository-k4xenmvj.js} +13 -13
  171. package/dist/chunks/{schema-0yxpqf9q.js → repository-kjjzdt6z.js} +28 -28
  172. package/dist/chunks/{schema-eca2xt2e.js → repository-kma5cn94.js} +27 -27
  173. package/dist/chunks/{schema-05ensxqt.js → repository-kt8nfkp3.js} +31 -31
  174. package/dist/chunks/{schema-m3fdjcah.js → repository-m3fdjcah.js} +1 -1
  175. package/dist/chunks/{schema-2tr3yddq.js → repository-m7byf6m1.js} +29 -29
  176. package/dist/chunks/{schema-m9w0rfyh.js → repository-m9w0rfyh.js} +1 -1
  177. package/dist/chunks/{schema-xm5mtrqn.js → repository-mnrg3sxj.js} +25 -25
  178. package/dist/chunks/{schema-xtrjfq07.js → repository-mp5r29aw.js} +8 -8
  179. package/dist/chunks/{schema-3dg2xvfq.js → repository-mzvn4c0x.js} +25 -25
  180. package/dist/chunks/{schema-6v8w5ehg.js → repository-n2yeqzr5.js} +3 -3
  181. package/dist/chunks/{schema-nkxtb3dm.js → repository-n34cz6pc.js} +10 -10
  182. package/dist/chunks/{schema-nyp9r3yv.js → repository-n4qk2p21.js} +5 -5
  183. package/dist/chunks/{schema-wgzfjrfp.js → repository-ncvdxrbg.js} +17 -17
  184. package/dist/chunks/{schema-r8503ksh.js → repository-ndz0f2pv.js} +16 -16
  185. package/dist/chunks/{schema-va5qff5x.js → repository-nkcwakxz.js} +6 -6
  186. package/dist/chunks/{schema-magykp64.js → repository-nrdmrqsx.js} +4 -4
  187. package/dist/chunks/{schema-4xz89tjk.js → repository-nxhqveyz.js} +5 -5
  188. package/dist/chunks/{schema-szwj1mk0.js → repository-nz1w7233.js} +30 -30
  189. package/dist/chunks/{schema-fa0vx1vq.js → repository-p26nknmg.js} +5 -5
  190. package/dist/chunks/{schema-0w6h42sd.js → repository-p4w1wdw7.js} +20 -20
  191. package/dist/chunks/{schema-cmwkp3r5.js → repository-pa8pe2x7.js} +8 -8
  192. package/dist/chunks/{schema-f84xm9jy.js → repository-pca6s4fg.js} +23 -23
  193. package/dist/chunks/{schema-wpwj4s2y.js → repository-pccq72bz.js} +4 -4
  194. package/dist/chunks/{schema-d41te630.js → repository-pdgybe9w.js} +5 -5
  195. package/dist/chunks/{schema-pjvnvgmy.js → repository-pjvnvgmy.js} +1 -1
  196. package/dist/chunks/{schema-pknna89w.js → repository-pknna89w.js} +1 -1
  197. package/dist/chunks/{schema-ynwt6cba.js → repository-pnpn4wz1.js} +14 -14
  198. package/dist/chunks/{schema-f7j90zp2.js → repository-pnv527nz.js} +9 -9
  199. package/dist/chunks/{schema-wvdys2zg.js → repository-prd1yc4e.js} +21 -21
  200. package/dist/chunks/{schema-h5n6cr9x.js → repository-pxbjxcby.js} +32 -32
  201. package/dist/chunks/{schema-xxxym934.js → repository-qbqbaz6q.js} +4 -4
  202. package/dist/chunks/{schema-d50xxcr3.js → repository-qernpydw.js} +5 -5
  203. package/dist/chunks/{schema-w31gwtfd.js → repository-qfdxmfvr.js} +6 -6
  204. package/dist/chunks/{schema-8re3920x.js → repository-qk5kxcbj.js} +20 -20
  205. package/dist/chunks/{schema-16q9vxtt.js → repository-qn9vy89p.js} +30 -30
  206. package/dist/chunks/{schema-qsdy395h.js → repository-qsdy395h.js} +1 -1
  207. package/dist/chunks/{schema-ahd542yp.js → repository-qvb3nf84.js} +8 -8
  208. package/dist/chunks/{schema-dk7kjneb.js → repository-r040zy0g.js} +25 -25
  209. package/dist/chunks/{schema-zwrpf1jc.js → repository-r1zrj47q.js} +31 -31
  210. package/dist/chunks/{schema-5xwq33r5.js → repository-r6vv5p3m.js} +57 -57
  211. package/dist/chunks/{schema-87j1vk5m.js → repository-r7t6v39w.js} +26 -26
  212. package/dist/chunks/{schema-85k8ep8b.js → repository-rdmyapgx.js} +15 -15
  213. package/dist/chunks/{schema-rdw6cm16.js → repository-rdw6cm16.js} +1 -1
  214. package/dist/chunks/{schema-7fkffz83.js → repository-rkprpv83.js} +4 -4
  215. package/dist/chunks/{schema-ccjk4f54.js → repository-rpbss5j3.js} +35 -35
  216. package/dist/chunks/repository-s6k3yhqj.js +511 -0
  217. package/dist/chunks/{schema-j8mz9s4x.js → repository-sae9kgks.js} +11 -11
  218. package/dist/chunks/{schema-q8d50280.js → repository-sdmk119x.js} +3 -3
  219. package/dist/chunks/{schema-wsh63xm2.js → repository-sm84vfww.js} +11 -11
  220. package/dist/chunks/{schema-8f4y0pp5.js → repository-smxxsx11.js} +18 -18
  221. package/dist/chunks/{schema-c5c0bz0t.js → repository-sqbb0ctm.js} +5 -5
  222. package/dist/chunks/{schema-z7cbn86z.js → repository-stv887d7.js} +7 -7
  223. package/dist/chunks/{schema-drysh76x.js → repository-svv95awx.js} +29 -29
  224. package/dist/chunks/{schema-fdv30zvt.js → repository-sxz6gkc3.js} +4 -4
  225. package/dist/chunks/{schema-k8z9p47p.js → repository-t041a9x4.js} +24 -24
  226. package/dist/chunks/{schema-eaj1djv9.js → repository-t550f9t1.js} +8 -8
  227. package/dist/chunks/{schema-ttqh24zm.js → repository-t7n9q6bq.js} +4 -4
  228. package/dist/chunks/{schema-79t7xk98.js → repository-t8730cdn.js} +15 -15
  229. package/dist/chunks/{schema-tazgh4e4.js → repository-tazgh4e4.js} +1 -1
  230. package/dist/chunks/{schema-tcezcvh9.js → repository-tcezcvh9.js} +1 -1
  231. package/dist/chunks/{schema-4rgrvx78.js → repository-tcj9ww28.js} +16 -16
  232. package/dist/chunks/{schema-tdstcens.js → repository-tdstcens.js} +1 -1
  233. package/dist/chunks/{schema-42v6676k.js → repository-tfzy1df7.js} +22 -22
  234. package/dist/chunks/{schema-a9dbrvcp.js → repository-tqr3fgz4.js} +42 -42
  235. package/dist/chunks/{schema-tvtrv512.js → repository-tvtrv512.js} +1 -1
  236. package/dist/chunks/{schema-jz40f57j.js → repository-v4028cvv.js} +17 -17
  237. package/dist/chunks/{schema-veqvce7d.js → repository-veqvce7d.js} +1 -1
  238. package/dist/chunks/{schema-2nzqjkgh.js → repository-vhyze3e3.js} +15 -15
  239. package/dist/chunks/{schema-p31rxwxp.js → repository-vp03n2p3.js} +16 -16
  240. package/dist/chunks/{schema-m1vshg1d.js → repository-vrwms5ta.js} +4 -4
  241. package/dist/chunks/{schema-eqmd3425.js → repository-vsfnjfd7.js} +13 -13
  242. package/dist/chunks/{schema-ndxbn6j7.js → repository-vsrax324.js} +19 -19
  243. package/dist/chunks/{schema-vzcthcp8.js → repository-vzcthcp8.js} +1 -1
  244. package/dist/chunks/{schema-vzs5sf6e.js → repository-vzs5sf6e.js} +1 -1
  245. package/dist/chunks/{schema-w3wsvvr9.js → repository-w3wsvvr9.js} +1 -1
  246. package/dist/chunks/{schema-pgsr89hy.js → repository-w3x6xwqj.js} +1 -1
  247. package/dist/chunks/{schema-c4p53n0j.js → repository-w3zzd7fq.js} +15 -15
  248. package/dist/chunks/{schema-1s3p39g4.js → repository-w4arg62q.js} +6 -6
  249. package/dist/chunks/{schema-9z0cwd9w.js → repository-w6pxqv2r.js} +15 -15
  250. package/dist/chunks/{schema-eq20ba7x.js → repository-w6zk8pbt.js} +6 -6
  251. package/dist/chunks/{schema-7j016h96.js → repository-wa5jjdw0.js} +9 -9
  252. package/dist/chunks/{schema-g2y161wv.js → repository-was7srj9.js} +8 -8
  253. package/dist/chunks/{schema-a3m0kdh5.js → repository-wbfjc2h1.js} +10 -10
  254. package/dist/chunks/{schema-psazpmmj.js → repository-wd3x2cqz.js} +2 -2
  255. package/dist/chunks/{schema-wd87259q.js → repository-wd87259q.js} +1 -1
  256. package/dist/chunks/{schema-f2xfk6hw.js → repository-wjdksev2.js} +30 -30
  257. package/dist/chunks/{schema-9rfkbpbj.js → repository-wtb2nkxw.js} +4 -4
  258. package/dist/chunks/{schema-kvk0vnsc.js → repository-www228tn.js} +40 -40
  259. package/dist/chunks/{schema-0hj7f8b1.js → repository-wzvzbcsg.js} +12 -12
  260. package/dist/chunks/{schema-x1ezjp6w.js → repository-x1ezjp6w.js} +1 -1
  261. package/dist/chunks/{schema-07739wyb.js → repository-x3g34f3v.js} +1 -1
  262. package/dist/chunks/{schema-v7z2bvyd.js → repository-x3gqap9d.js} +4 -4
  263. package/dist/chunks/{schema-dfm2zw35.js → repository-x4m537wk.js} +5 -5
  264. package/dist/chunks/{schema-s8ac38hc.js → repository-x5h44zm2.js} +17 -17
  265. package/dist/chunks/{schema-xkntkrq7.js → repository-xkntkrq7.js} +2 -2
  266. package/dist/chunks/{schema-r6kw3eaj.js → repository-xkv170v4.js} +16 -16
  267. package/dist/chunks/{schema-t6s1y3ss.js → repository-xm24773m.js} +38 -38
  268. package/dist/chunks/{schema-c05pc369.js → repository-xqn8f2xc.js} +20 -20
  269. package/dist/chunks/{schema-g9a18t79.js → repository-y0rg8wwx.js} +8 -8
  270. package/dist/chunks/{schema-hjssj8fz.js → repository-y14362pj.js} +13 -13
  271. package/dist/chunks/{schema-y1fvbwt7.js → repository-y1fvbwt7.js} +1 -1
  272. package/dist/chunks/{schema-s271antv.js → repository-y2sxsfvk.js} +16 -16
  273. package/dist/chunks/{schema-s2ynmxvy.js → repository-y5df08dr.js} +12 -12
  274. package/dist/chunks/{schema-y71avatq.js → repository-y71avatq.js} +1 -1
  275. package/dist/chunks/{schema-rgad3y2c.js → repository-y99ygqqg.js} +48 -48
  276. package/dist/chunks/{schema-qn0byfb6.js → repository-y9kjq5j3.js} +11 -11
  277. package/dist/chunks/{schema-vmwh049b.js → repository-yq9bhs5j.js} +6 -6
  278. package/dist/chunks/{schema-yrhqyw5v.js → repository-yrhqyw5v.js} +1 -1
  279. package/dist/chunks/{schema-yrznvahk.js → repository-yrznvahk.js} +2 -2
  280. package/dist/chunks/{schema-bjtzbw4r.js → repository-z07pqspn.js} +3 -3
  281. package/dist/chunks/{schema-z0bkrqjs.js → repository-z0bkrqjs.js} +1 -1
  282. package/dist/chunks/{schema-dxan09mr.js → repository-z139kjpf.js} +8 -8
  283. package/dist/chunks/{schema-z63w68vq.js → repository-z63w68vq.js} +2 -2
  284. package/dist/chunks/{schema-csxrjpxm.js → repository-zbzxhk8m.js} +22 -22
  285. package/dist/chunks/{schema-9mz9sh48.js → repository-zcj9g204.js} +5 -5
  286. package/dist/chunks/{schema-anbm6d0v.js → repository-zd8hcvy8.js} +18 -18
  287. package/dist/chunks/{schema-rq775frq.js → repository-zeh9ct20.js} +2 -2
  288. package/dist/chunks/{schema-zr2ceqn5.js → repository-zr2ceqn5.js} +1 -1
  289. package/dist/chunks/{schema-0naybkd4.js → repository-ztjbcj90.js} +45 -45
  290. package/dist/chunks/{schema-pt110b9x.js → repository-zxptzjm7.js} +30 -30
  291. package/dist/chunks/{schema-zxq2ej10.js → repository-zxq2ej10.js} +1 -1
  292. package/dist/codemode/catalog.js +1 -1
  293. package/dist/codemode/instructions.js +9 -9
  294. package/dist/codemode/tool.js +3 -3
  295. package/dist/codemode/web.js +1 -1
  296. package/dist/command.js +77 -77
  297. package/dist/config/discovery.js +82 -82
  298. package/dist/config/markdown.js +1 -1
  299. package/dist/config/normalize.js +106 -106
  300. package/dist/config/plugin/agent.js +125 -125
  301. package/dist/config/plugin/command.js +214 -214
  302. package/dist/config/plugin/compaction.js +162 -162
  303. package/dist/config/plugin/compatibility.js +141 -141
  304. package/dist/config/plugin/entry-observer.js +1 -1
  305. package/dist/config/plugin/formatter.js +124 -124
  306. package/dist/config/plugin/image.js +123 -123
  307. package/dist/config/plugin/instruction.js +90 -90
  308. package/dist/config/plugin/location-watcher.js +125 -125
  309. package/dist/config/plugin/mcp.js +132 -132
  310. package/dist/config/plugin/policy.js +124 -124
  311. package/dist/config/plugin/provider.js +123 -123
  312. package/dist/config/plugin/reference.js +125 -125
  313. package/dist/config/plugin/shell.js +123 -123
  314. package/dist/config/plugin/skill-file.js +102 -102
  315. package/dist/config/plugin/skill.js +144 -144
  316. package/dist/config/plugin/snapshot.js +123 -123
  317. package/dist/config/plugin/source.js +126 -126
  318. package/dist/config/plugin/tool-output.js +125 -125
  319. package/dist/config/plugin/websearch.js +122 -122
  320. package/dist/config/plugin/worktree.js +125 -125
  321. package/dist/config/variable.js +3 -3
  322. package/dist/config/watch.js +1 -1
  323. package/dist/config.js +124 -124
  324. package/dist/credential/sql.js +2 -2
  325. package/dist/credential.js +85 -85
  326. package/dist/database/database.js +66 -66
  327. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  328. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  329. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  330. package/dist/database/drizzle/index.js +13 -13
  331. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  334. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  335. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  336. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  337. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  338. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  339. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  340. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  341. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  342. package/dist/database/drizzle.js +14 -14
  343. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  344. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  345. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  346. package/dist/database/migration/20260225215848_workspace.js +1 -1
  347. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  348. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  349. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  350. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  351. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  352. package/dist/database/migration/20260323234822_events.js +1 -1
  353. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  354. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  355. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  356. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  357. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  358. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  359. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  360. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  361. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  362. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  363. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  364. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  365. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  366. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  367. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  368. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  369. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  370. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  371. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  372. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  373. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  374. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  375. package/dist/database/migration/20260611035744_credential.js +1 -1
  376. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  377. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  378. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  379. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  380. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  381. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  382. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  383. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  384. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  385. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  386. package/dist/database/migration/20260812213948_worktree.js +1 -1
  387. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  388. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  389. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  390. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  391. package/dist/database/migration.gen.js +49 -49
  392. package/dist/database/migration.js +51 -51
  393. package/dist/database/path.js +2 -2
  394. package/dist/database/schema.gen.js +1 -1
  395. package/dist/database/schema.sql.js +1 -1
  396. package/dist/database/sqlite.bun.js +1 -1
  397. package/dist/database/sqlite.js +1 -1
  398. package/dist/database/sqlite.node.js +1 -1
  399. package/dist/database/sqlite.workerd.js +1 -1
  400. package/dist/database/v1-migration.bun.js +76 -76
  401. package/dist/database/v1-migration.js +1 -1
  402. package/dist/effect/app-node-builder.js +372 -372
  403. package/dist/effect/app-node-platform.js +2 -2
  404. package/dist/effect/keyed-mutex.js +1 -1
  405. package/dist/effect/websocket-constructor.js +1 -1
  406. package/dist/environment/driver.js +1 -1
  407. package/dist/environment/environment.js +93 -93
  408. package/dist/environment/exec-defaults.js +2 -2
  409. package/dist/environment/files.js +1 -1
  410. package/dist/environment/index.js +95 -95
  411. package/dist/environment/local.js +2 -2
  412. package/dist/environment/memory.js +2 -2
  413. package/dist/environment/unavailable.js +1 -1
  414. package/dist/event/sql.js +1 -1
  415. package/dist/event-logger.js +70 -70
  416. package/dist/file-access.js +104 -104
  417. package/dist/file-mutation.js +94 -94
  418. package/dist/file-retention.js +1 -1
  419. package/dist/file.js +1 -1
  420. package/dist/filesystem/fff.bun.js +2 -2
  421. package/dist/filesystem/fff.js +1 -1
  422. package/dist/filesystem/fff.node.js +2 -2
  423. package/dist/filesystem/fff.workerd.js +2 -2
  424. package/dist/filesystem/ignore.js +1 -1
  425. package/dist/filesystem/location-watcher-policy.js +6 -6
  426. package/dist/filesystem/location-watcher.js +227 -227
  427. package/dist/filesystem/protected.js +1 -1
  428. package/dist/filesystem/search.js +103 -103
  429. package/dist/filesystem/watcher-binding.js +1 -1
  430. package/dist/filesystem/watcher.js +9 -9
  431. package/dist/filesystem.js +102 -102
  432. package/dist/form.js +84 -84
  433. package/dist/formatter/builtins.js +2 -2
  434. package/dist/formatter.js +83 -83
  435. package/dist/generate.js +105 -105
  436. package/dist/git.js +10 -10
  437. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  438. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  439. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  440. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  441. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  442. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  443. package/dist/github-copilot/copilot-provider.js +17 -17
  444. package/dist/github-copilot/models.js +99 -99
  445. package/dist/github-copilot/openai-compatible-error.js +1 -1
  446. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  447. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  448. package/dist/github-copilot/responses/openai-error.js +1 -1
  449. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  450. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  451. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  452. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  453. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  454. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  455. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  456. package/dist/id/id.js +1 -1
  457. package/dist/image/photon.js +2 -2
  458. package/dist/image.js +6 -6
  459. package/dist/instance/service.js +5 -5
  460. package/dist/instance.js +363 -363
  461. package/dist/instruction-discovery.js +83 -83
  462. package/dist/instructions/builtins.js +87 -87
  463. package/dist/instructions/index.js +5 -5
  464. package/dist/integration/connection.js +3 -3
  465. package/dist/integration.js +86 -86
  466. package/dist/job.js +79 -79
  467. package/dist/kv/sql.js +2 -2
  468. package/dist/kv.js +73 -73
  469. package/dist/location-activity.js +132 -132
  470. package/dist/location-lifecycle.js +107 -107
  471. package/dist/location-mutation.js +104 -104
  472. package/dist/location-service-map.js +86 -86
  473. package/dist/location-services.js +360 -360
  474. package/dist/location.js +87 -87
  475. package/dist/managed-policy.js +5 -5
  476. package/dist/mcp/client.js +91 -91
  477. package/dist/mcp/index.js +108 -108
  478. package/dist/mcp/instructions.js +128 -128
  479. package/dist/mcp/oauth.js +78 -78
  480. package/dist/mcp/stdio.js +90 -90
  481. package/dist/mime.js +1 -1
  482. package/dist/modal/models.js +99 -99
  483. package/dist/model-resolver.js +96 -96
  484. package/dist/model.js +100 -100
  485. package/dist/models-dev.js +97 -97
  486. package/dist/oauth/page.js +1 -1
  487. package/dist/permission/saved.js +82 -82
  488. package/dist/permission/sql.js +5 -5
  489. package/dist/permission.js +115 -115
  490. package/dist/persistent-pty/binary.bun.js +1 -1
  491. package/dist/persistent-pty/daemon.js +1 -1
  492. package/dist/persistent-pty/index.js +88 -88
  493. package/dist/persistent-pty/pty-binding.js +1 -1
  494. package/dist/persistent-pty.js +75 -75
  495. package/dist/plugin/agent.js +104 -104
  496. package/dist/plugin/command.js +101 -101
  497. package/dist/plugin/compaction.js +133 -133
  498. package/dist/plugin/hooks.js +5 -5
  499. package/dist/plugin/host.js +218 -218
  500. package/dist/plugin/identity.js +3 -3
  501. package/dist/plugin/instance.js +5 -5
  502. package/dist/plugin/internal.js +334 -334
  503. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  504. package/dist/plugin/models-dev.js +96 -96
  505. package/dist/plugin/module.js +7 -7
  506. package/dist/plugin/optimize.js +2 -2
  507. package/dist/plugin/plan.js +102 -102
  508. package/dist/plugin/promise.js +1 -1
  509. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  510. package/dist/plugin/provider/azure.js +122 -122
  511. package/dist/plugin/provider/cerebras.js +1 -1
  512. package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
  513. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  514. package/dist/plugin/provider/cohere.js +2 -2
  515. package/dist/plugin/provider/configured.js +119 -119
  516. package/dist/plugin/provider/digitalocean.js +93 -93
  517. package/dist/plugin/provider/dynamic.js +2 -2
  518. package/dist/plugin/provider/factory.js +1 -1
  519. package/dist/plugin/provider/gateway.js +2 -2
  520. package/dist/plugin/provider/github-copilot.js +93 -93
  521. package/dist/plugin/provider/gitlab.js +93 -93
  522. package/dist/plugin/provider/google-vertex.js +90 -90
  523. package/dist/plugin/provider/kilo.js +1 -1
  524. package/dist/plugin/provider/llmgateway.js +77 -77
  525. package/dist/plugin/provider/lmstudio.js +120 -120
  526. package/dist/plugin/provider/modal.js +92 -92
  527. package/dist/plugin/provider/nvidia.js +1 -1
  528. package/dist/plugin/provider/ollama.js +122 -122
  529. package/dist/plugin/provider/openai.js +92 -92
  530. package/dist/plugin/provider/opencode.js +95 -95
  531. package/dist/plugin/provider/openrouter.js +91 -91
  532. package/dist/plugin/provider/perplexity.js +2 -2
  533. package/dist/plugin/provider/poe.js +78 -78
  534. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  535. package/dist/plugin/provider/sap-ai-core.js +91 -91
  536. package/dist/plugin/provider/sdk-factory.js +1 -1
  537. package/dist/plugin/provider/snowflake-cortex.js +122 -122
  538. package/dist/plugin/provider/venice.js +2 -2
  539. package/dist/plugin/provider/vercel.js +90 -90
  540. package/dist/plugin/provider/vllm.js +122 -122
  541. package/dist/plugin/provider/xai.js +91 -91
  542. package/dist/plugin/provider/zenmux.js +1 -1
  543. package/dist/plugin/provider.js +160 -160
  544. package/dist/plugin/sdk.js +76 -76
  545. package/dist/plugin/service.js +3 -3
  546. package/dist/plugin/skill.js +141 -141
  547. package/dist/plugin/source-directory.js +1 -1
  548. package/dist/plugin/supervisor.js +351 -351
  549. package/dist/plugin/tool-input-repair.js +4 -4
  550. package/dist/plugin/update.js +6 -6
  551. package/dist/plugin/vcs/git.js +86 -86
  552. package/dist/plugin/vcs/hg.js +86 -86
  553. package/dist/plugin/verbosity.js +93 -93
  554. package/dist/plugin/warming.js +121 -121
  555. package/dist/plugin/websearch/exa.js +7 -7
  556. package/dist/plugin/websearch/firecrawl.js +8 -8
  557. package/dist/plugin/websearch/index.js +9 -9
  558. package/dist/plugin/websearch/mcp.js +6 -6
  559. package/dist/plugin/websearch/parallel.js +8 -8
  560. package/dist/plugin/websearch/tavily.js +6 -6
  561. package/dist/plugin/websearch/tinyfish.js +8 -8
  562. package/dist/plugin.js +225 -225
  563. package/dist/project/schema.js +8 -8
  564. package/dist/project/sql.js +4 -4
  565. package/dist/project.js +90 -90
  566. package/dist/provider.js +101 -101
  567. package/dist/pty/protocol.js +1 -1
  568. package/dist/pty/schema.js +1 -1
  569. package/dist/pty/ticket.js +1 -1
  570. package/dist/pty.js +92 -92
  571. package/dist/reference/instructions.js +89 -89
  572. package/dist/reference.js +91 -91
  573. package/dist/repository-cache.js +81 -81
  574. package/dist/repository.js +1 -1
  575. package/dist/ripgrep/binary.js +2 -2
  576. package/dist/ripgrep.js +95 -95
  577. package/dist/rpc.js +86 -86
  578. package/dist/schema.js +1 -1
  579. package/dist/session/command.js +74 -74
  580. package/dist/session/compaction.js +132 -132
  581. package/dist/session/context.js +152 -152
  582. package/dist/session/diff.js +88 -88
  583. package/dist/session/environment.js +5 -5
  584. package/dist/session/error.js +5 -5
  585. package/dist/session/event.js +1 -1
  586. package/dist/session/execution/restart.js +221 -221
  587. package/dist/session/execution.js +128 -128
  588. package/dist/session/generate.js +153 -153
  589. package/dist/session/history.js +13 -13
  590. package/dist/session/inbox.js +90 -90
  591. package/dist/session/info.js +3 -3
  592. package/dist/session/instruction-entry.js +79 -79
  593. package/dist/session/instruction-state.js +8 -8
  594. package/dist/session/instructions.js +97 -97
  595. package/dist/session/message-updater.js +2 -2
  596. package/dist/session/message.js +1 -1
  597. package/dist/session/model-request.js +119 -119
  598. package/dist/session/model-transport.js +9 -9
  599. package/dist/session/move.js +130 -130
  600. package/dist/session/projector.js +86 -86
  601. package/dist/session/prompt.js +105 -105
  602. package/dist/session/provider-context.js +3 -3
  603. package/dist/session/revert.js +90 -90
  604. package/dist/session/run-coordinator.js +3 -3
  605. package/dist/session/runner/index.js +3 -3
  606. package/dist/session/runner/llm.js +231 -231
  607. package/dist/session/runner/max-steps.js +1 -1
  608. package/dist/session/runner/model.js +98 -98
  609. package/dist/session/runner/publish-llm-event.js +3 -3
  610. package/dist/session/runner/retry.js +114 -114
  611. package/dist/session/runner/step.js +124 -124
  612. package/dist/session/runner/to-llm-message.js +2 -2
  613. package/dist/session/schema.js +5 -5
  614. package/dist/session/session.js +170 -170
  615. package/dist/session/shell.js +138 -138
  616. package/dist/session/skill.js +103 -103
  617. package/dist/session/sql.js +5 -5
  618. package/dist/session/stats.js +73 -73
  619. package/dist/session/store.js +87 -87
  620. package/dist/session/subagent-completion.js +1 -1
  621. package/dist/session/subagent-job.js +210 -210
  622. package/dist/session/system-prompt.js +5 -5
  623. package/dist/session/title.js +154 -154
  624. package/dist/session/to-session-error.js +111 -111
  625. package/dist/session/transfer.js +217 -217
  626. package/dist/session/usage.js +1 -1
  627. package/dist/session.js +218 -218
  628. package/dist/shell/parse.js +6 -6
  629. package/dist/shell/result.js +1 -1
  630. package/dist/shell/scan.js +1 -1
  631. package/dist/shell/select.js +9 -9
  632. package/dist/shell.js +140 -140
  633. package/dist/skill/discovery.js +6 -6
  634. package/dist/skill/instructions.js +107 -107
  635. package/dist/skill.js +112 -112
  636. package/dist/snapshot.js +91 -91
  637. package/dist/state.js +1 -1
  638. package/dist/tool/html-markdown.js +1 -1
  639. package/dist/tool/http-body.js +1 -1
  640. package/dist/tool/mcp.js +127 -127
  641. package/dist/tool/plugin/edit.js +120 -120
  642. package/dist/tool/plugin/file-diff.js +1 -1
  643. package/dist/tool/plugin/glob.js +124 -124
  644. package/dist/tool/plugin/grep.js +124 -124
  645. package/dist/tool/plugin/mcp-resource.js +116 -116
  646. package/dist/tool/plugin/opencode.js +3 -3
  647. package/dist/tool/plugin/patch.js +120 -120
  648. package/dist/tool/plugin/question.js +105 -105
  649. package/dist/tool/plugin/read.js +125 -125
  650. package/dist/tool/plugin/shell.js +211 -211
  651. package/dist/tool/plugin/skill.js +109 -109
  652. package/dist/tool/plugin/subagent.js +219 -219
  653. package/dist/tool/plugin/webfetch.js +112 -112
  654. package/dist/tool/plugin/websearch.js +110 -110
  655. package/dist/tool/plugin/write.js +118 -118
  656. package/dist/tool/read-filesystem.js +100 -100
  657. package/dist/tool/runtime.js +1 -1
  658. package/dist/tool-output.js +8 -8
  659. package/dist/tool.js +14 -14
  660. package/dist/util/error-summary.js +1 -1
  661. package/dist/util/error.js +1 -1
  662. package/dist/util/git-executable.js +2 -2
  663. package/dist/util/iife.js +1 -1
  664. package/dist/util/lazy.js +1 -1
  665. package/dist/util/slug.js +1 -1
  666. package/dist/util/token.js +1 -1
  667. package/dist/util/which.js +1 -1
  668. package/dist/util/wildcard.js +1 -1
  669. package/dist/v1/config/agent.js +3 -3
  670. package/dist/v1/config/attachment.js +4 -4
  671. package/dist/v1/config/command.js +3 -3
  672. package/dist/v1/config/config.js +14 -14
  673. package/dist/v1/config/error.js +2 -2
  674. package/dist/v1/config/formatter.js +5 -5
  675. package/dist/v1/config/layout.js +1 -1
  676. package/dist/v1/config/lsp.js +5 -5
  677. package/dist/v1/config/mcp.js +4 -4
  678. package/dist/v1/config/migrate.js +92 -92
  679. package/dist/v1/config/permission.js +3 -3
  680. package/dist/v1/config/plugin.js +3 -3
  681. package/dist/v1/config/provider-options.js +1 -1
  682. package/dist/v1/config/provider.js +4 -4
  683. package/dist/v1/config/server.js +2 -2
  684. package/dist/v1/config/skills.js +3 -3
  685. package/dist/v1/permission.js +1 -1
  686. package/dist/variant.js +91 -91
  687. package/dist/vcs/patch.js +1 -1
  688. package/dist/vcs.js +89 -89
  689. package/dist/websearch.js +82 -82
  690. package/dist/wellknown/plugin.js +76 -76
  691. package/dist/wellknown.js +79 -79
  692. package/dist/workspace/driver.js +5 -5
  693. package/dist/workspace/sql.js +1 -1
  694. package/dist/workspace.js +78 -78
  695. package/dist/worktree/directory.js +2 -2
  696. package/dist/worktree/git.js +10 -10
  697. package/dist/worktree/sql.js +5 -5
  698. package/dist/worktree/strategies.js +89 -89
  699. package/dist/worktree.js +96 -96
  700. package/package.json +8 -8
  701. package/dist/chunks/schema-6z3xdhh4.js +0 -252
  702. package/dist/chunks/schema-eg0rmd38.js +0 -511
  703. package/dist/chunks/schema-q509s3k3.js +0 -18
  704. package/dist/chunks/schema-vhsgvesh.js +0 -26
  705. /package/dist/chunks/{schema-0mesazry.js → repository-0mesazry.js} +0 -0
  706. /package/dist/chunks/{schema-0qkdqm5v.js → repository-0qkdqm5v.js} +0 -0
  707. /package/dist/chunks/{schema-0zkw76rk.js → repository-0zkw76rk.js} +0 -0
  708. /package/dist/chunks/{schema-17cy0kzp.js → repository-17cy0kzp.js} +0 -0
  709. /package/dist/chunks/{schema-1cnp2v09.js → repository-1cnp2v09.js} +0 -0
  710. /package/dist/chunks/{schema-1kg9ymc8.js → repository-1kg9ymc8.js} +0 -0
  711. /package/dist/chunks/{schema-24dcb14g.js → repository-24dcb14g.js} +0 -0
  712. /package/dist/chunks/{schema-2710q6r3.js → repository-2710q6r3.js} +0 -0
  713. /package/dist/chunks/{schema-2axfhc9x.js → repository-2axfhc9x.js} +0 -0
  714. /package/dist/chunks/{schema-2c3vjs8z.js → repository-2c3vjs8z.js} +0 -0
  715. /package/dist/chunks/{schema-34c7v6d4.js → repository-34c7v6d4.js} +0 -0
  716. /package/dist/chunks/{schema-359p4xyc.js → repository-359p4xyc.js} +0 -0
  717. /package/dist/chunks/{schema-3asan66x.js → repository-3asan66x.js} +0 -0
  718. /package/dist/chunks/{schema-3v8g72cx.js → repository-3v8g72cx.js} +0 -0
  719. /package/dist/chunks/{schema-3w5fmr99.js → repository-3w5fmr99.js} +0 -0
  720. /package/dist/chunks/{schema-3wcehsnq.js → repository-3wcehsnq.js} +0 -0
  721. /package/dist/chunks/{schema-43n2bw4t.js → repository-43n2bw4t.js} +0 -0
  722. /package/dist/chunks/{schema-4knz6hnm.js → repository-4knz6hnm.js} +0 -0
  723. /package/dist/chunks/{schema-4vcrnpx2.js → repository-4vcrnpx2.js} +0 -0
  724. /package/dist/chunks/{schema-4y7fprxs.js → repository-4y7fprxs.js} +0 -0
  725. /package/dist/chunks/{schema-53557ph1.js → repository-53557ph1.js} +0 -0
  726. /package/dist/chunks/{schema-550bvhaj.js → repository-550bvhaj.js} +0 -0
  727. /package/dist/chunks/{schema-5qd3pb7m.js → repository-5qd3pb7m.js} +0 -0
  728. /package/dist/chunks/{schema-6prwharc.js → repository-6prwharc.js} +0 -0
  729. /package/dist/chunks/{schema-7akdwqpd.js → repository-7akdwqpd.js} +0 -0
  730. /package/dist/chunks/{schema-7m9af43g.js → repository-7m9af43g.js} +0 -0
  731. /package/dist/chunks/{schema-822emrt2.js → repository-822emrt2.js} +0 -0
  732. /package/dist/chunks/{schema-88xbtdfr.js → repository-88xbtdfr.js} +0 -0
  733. /package/dist/chunks/{schema-8n3pysct.js → repository-8n3pysct.js} +0 -0
  734. /package/dist/chunks/{schema-8wj87zfr.js → repository-8wj87zfr.js} +0 -0
  735. /package/dist/chunks/{schema-922hggd3.js → repository-922hggd3.js} +0 -0
  736. /package/dist/chunks/{schema-9a4afbnw.js → repository-9a4afbnw.js} +0 -0
  737. /package/dist/chunks/{schema-9rqn6x4v.js → repository-9rqn6x4v.js} +0 -0
  738. /package/dist/chunks/{schema-a6k6eb26.js → repository-a6k6eb26.js} +0 -0
  739. /package/dist/chunks/{schema-af5trqkr.js → repository-af5trqkr.js} +0 -0
  740. /package/dist/chunks/{schema-afrmfg78.js → repository-afrmfg78.js} +0 -0
  741. /package/dist/chunks/{schema-aqzs7mqg.js → repository-aqzs7mqg.js} +0 -0
  742. /package/dist/chunks/{schema-atq7p7m5.js → repository-atq7p7m5.js} +0 -0
  743. /package/dist/chunks/{schema-bkyjaxrp.js → repository-bkyjaxrp.js} +0 -0
  744. /package/dist/chunks/{schema-bmr6ed5q.js → repository-bmr6ed5q.js} +0 -0
  745. /package/dist/chunks/{schema-cf4snx6d.js → repository-cf4snx6d.js} +0 -0
  746. /package/dist/chunks/{schema-cvy3z8tj.js → repository-cvy3z8tj.js} +0 -0
  747. /package/dist/chunks/{schema-d9fn303g.js → repository-d9fn303g.js} +0 -0
  748. /package/dist/chunks/{schema-d9jj8t3e.js → repository-d9jj8t3e.js} +0 -0
  749. /package/dist/chunks/{schema-dajrwvna.js → repository-dajrwvna.js} +0 -0
  750. /package/dist/chunks/{schema-dap0rakb.js → repository-dap0rakb.js} +0 -0
  751. /package/dist/chunks/{schema-df08tz66.js → repository-df08tz66.js} +0 -0
  752. /package/dist/chunks/{schema-dy18nga0.js → repository-dy18nga0.js} +0 -0
  753. /package/dist/chunks/{schema-e5kj55wp.js → repository-e5kj55wp.js} +0 -0
  754. /package/dist/chunks/{schema-e73j6tqm.js → repository-e73j6tqm.js} +0 -0
  755. /package/dist/chunks/{schema-ec1grn59.js → repository-ec1grn59.js} +0 -0
  756. /package/dist/chunks/{schema-eh3zwz77.js → repository-eh3zwz77.js} +0 -0
  757. /package/dist/chunks/{schema-emrn6kk6.js → repository-emrn6kk6.js} +0 -0
  758. /package/dist/chunks/{schema-f0mxakyp.js → repository-f0mxakyp.js} +0 -0
  759. /package/dist/chunks/{schema-f6n9ztr4.js → repository-f6n9ztr4.js} +0 -0
  760. /package/dist/chunks/{schema-faypxj3z.js → repository-faypxj3z.js} +0 -0
  761. /package/dist/chunks/{schema-fd410y7t.js → repository-fd410y7t.js} +0 -0
  762. /package/dist/chunks/{schema-fxgpk5d8.js → repository-fxgpk5d8.js} +0 -0
  763. /package/dist/chunks/{schema-g4wezp1m.js → repository-g4wezp1m.js} +0 -0
  764. /package/dist/chunks/{schema-g86h250q.js → repository-g86h250q.js} +0 -0
  765. /package/dist/chunks/{schema-gebd4c9n.js → repository-gebd4c9n.js} +0 -0
  766. /package/dist/chunks/{schema-gftt206x.js → repository-gftt206x.js} +0 -0
  767. /package/dist/chunks/{schema-hjbc5kem.js → repository-hjbc5kem.js} +0 -0
  768. /package/dist/chunks/{schema-hk9envan.js → repository-hk9envan.js} +0 -0
  769. /package/dist/chunks/{schema-j2ntwpah.js → repository-j2ntwpah.js} +0 -0
  770. /package/dist/chunks/{schema-j5zkgpj8.js → repository-j5zkgpj8.js} +0 -0
  771. /package/dist/chunks/{schema-jjkms2e6.js → repository-jjkms2e6.js} +0 -0
  772. /package/dist/chunks/{schema-jr7sbwjy.js → repository-jr7sbwjy.js} +0 -0
  773. /package/dist/chunks/{schema-jwfs4k6c.js → repository-jwfs4k6c.js} +0 -0
  774. /package/dist/chunks/{schema-jzg6c2d5.js → repository-jzg6c2d5.js} +0 -0
  775. /package/dist/chunks/{schema-mp448xyj.js → repository-mp448xyj.js} +0 -0
  776. /package/dist/chunks/{schema-msx8hqn2.js → repository-msx8hqn2.js} +0 -0
  777. /package/dist/chunks/{schema-n05xt0ee.js → repository-n05xt0ee.js} +0 -0
  778. /package/dist/chunks/{schema-n3j8tn72.js → repository-n3j8tn72.js} +0 -0
  779. /package/dist/chunks/{schema-njntx4h6.js → repository-njntx4h6.js} +0 -0
  780. /package/dist/chunks/{schema-q3sfg36h.js → repository-q3sfg36h.js} +0 -0
  781. /package/dist/chunks/{schema-q74kybfr.js → repository-q74kybfr.js} +0 -0
  782. /package/dist/chunks/{schema-qaymkmh1.js → repository-qaymkmh1.js} +0 -0
  783. /package/dist/chunks/{schema-qb87gjwd.js → repository-qb87gjwd.js} +0 -0
  784. /package/dist/chunks/{schema-qfa1cgps.js → repository-qfa1cgps.js} +0 -0
  785. /package/dist/chunks/{schema-qg3g05ea.js → repository-qg3g05ea.js} +0 -0
  786. /package/dist/chunks/{schema-qrg20bc0.js → repository-qrg20bc0.js} +0 -0
  787. /package/dist/chunks/{schema-rcb2kzg1.js → repository-rcb2kzg1.js} +0 -0
  788. /package/dist/chunks/{schema-sdp7kfr6.js → repository-sdp7kfr6.js} +0 -0
  789. /package/dist/chunks/{schema-sk3qaz4a.js → repository-sk3qaz4a.js} +0 -0
  790. /package/dist/chunks/{schema-ssg3fenm.js → repository-ssg3fenm.js} +0 -0
  791. /package/dist/chunks/{schema-w803qqfp.js → repository-w803qqfp.js} +0 -0
  792. /package/dist/chunks/{schema-wc3fc9cn.js → repository-wc3fc9cn.js} +0 -0
  793. /package/dist/chunks/{schema-wer8tq1h.js → repository-wer8tq1h.js} +0 -0
  794. /package/dist/chunks/{schema-wtztk69x.js → repository-wtztk69x.js} +0 -0
  795. /package/dist/chunks/{schema-x0ckcb58.js → repository-x0ckcb58.js} +0 -0
  796. /package/dist/chunks/{schema-x61499pn.js → repository-x61499pn.js} +0 -0
  797. /package/dist/chunks/{schema-y44na4kk.js → repository-y44na4kk.js} +0 -0
  798. /package/dist/chunks/{schema-y8cydn3q.js → repository-y8cydn3q.js} +0 -0
  799. /package/dist/chunks/{schema-y8f7s663.js → repository-y8f7s663.js} +0 -0
  800. /package/dist/chunks/{schema-ygaqb7jw.js → repository-ygaqb7jw.js} +0 -0
  801. /package/dist/chunks/{schema-ym463w8f.js → repository-ym463w8f.js} +0 -0
  802. /package/dist/chunks/{schema-z9919s4g.js → repository-z9919s4g.js} +0 -0
@@ -1,31 +1,31 @@
1
1
  import {
2
- Service42,
2
+ Service43,
3
3
  node46
4
- } from "./schema-e3qz6zmn.js";
4
+ } from "./repository-13dgep1z.js";
5
5
  import {
6
- Service80,
7
- node84
8
- } from "./schema-4rgrvx78.js";
6
+ Service79,
7
+ node83
8
+ } from "./repository-tcj9ww28.js";
9
9
  import {
10
- Service41,
10
+ Service42,
11
11
  node45
12
- } from "./schema-t6s1y3ss.js";
12
+ } from "./repository-xm24773m.js";
13
13
  import {
14
14
  names2,
15
15
  discover2
16
- } from "./schema-zxq2ej10.js";
16
+ } from "./repository-zxq2ej10.js";
17
17
  import {
18
18
  __export
19
- } from "./schema-9rqn6x4v.js";
19
+ } from "./repository-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: () => Service8,
25
+ Service: () => Service4,
26
26
  empty: () => empty2,
27
- layer: () => layer6,
28
- node: () => node10
27
+ layer: () => layer5,
28
+ node: () => node6
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 Service8 extends Context.Service()("@opencode/ConfigPluginSource") {
36
+ class Service4 extends Context.Service()("@opencode/ConfigPluginSource") {
37
37
  }
38
- var layer6 = Layer.effect(Service8, Effect.gen(function* () {
39
- const config = yield* Service41;
40
- const watcher = yield* Service42;
38
+ var layer5 = Layer.effect(Service4, Effect.gen(function* () {
39
+ const config = yield* Service42;
40
+ const watcher = yield* Service43;
41
41
  const fs = yield* FSUtil.Service;
42
- const location = yield* Service80;
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 layer6 = Layer.effect(Service8, 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 Service8.of({
61
+ return Service4.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 layer6 = Layer.effect(Service8, Effect.gen(function* () {
70
70
  })), Stream.fromPubSub(configuredChanges))
71
71
  });
72
72
  }));
73
- var node10 = makeLocationNode({
74
- service: Service8,
75
- layer: layer6,
76
- deps: [node45, FSUtil.node, node46, node84]
73
+ var node6 = makeLocationNode({
74
+ service: Service4,
75
+ layer: layer5,
76
+ deps: [node45, FSUtil.node, node46, node83]
77
77
  });
78
78
  var empty2 = makeLocationNode({
79
- service: Service8,
80
- layer: Layer.succeed(Service8, Service8.of({
79
+ service: Service4,
80
+ layer: Layer.succeed(Service4, Service4.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 { Service8, layer6, node10, empty2, exports_source };
140
+ export { Service4, layer5, node6, empty2, exports_source };
@@ -2,45 +2,45 @@ import {
2
2
  NotFound2,
3
3
  WrongKind2,
4
4
  Failed2
5
- } from "./schema-2a5m3afh.js";
5
+ } from "./repository-2a5m3afh.js";
6
6
  import {
7
- Service80
8
- } from "./schema-4rgrvx78.js";
7
+ Service79
8
+ } from "./repository-tcj9ww28.js";
9
9
  import {
10
- Service72
11
- } from "./schema-jbz4z0yy.js";
10
+ Service62
11
+ } from "./repository-asvap28k.js";
12
12
  import {
13
13
  Service14
14
- } from "./schema-kvy0p52m.js";
14
+ } from "./repository-4gxz33t2.js";
15
15
  import {
16
- Service71,
16
+ Service13,
17
17
  readText2,
18
18
  syncTextBom2
19
- } from "./schema-maqbyvg5.js";
19
+ } from "./repository-gwahz6hz.js";
20
20
  import {
21
- Service75
22
- } from "./schema-5xwq33r5.js";
21
+ Service55
22
+ } from "./repository-r6vv5p3m.js";
23
23
  import {
24
- Service74,
24
+ Service15,
25
25
  resolvePath2
26
- } from "./schema-8f4y0pp5.js";
26
+ } from "./repository-smxxsx11.js";
27
27
  import {
28
28
  fileDiff2
29
- } from "./schema-6prwharc.js";
29
+ } from "./repository-6prwharc.js";
30
30
  import {
31
31
  __export
32
- } from "./schema-9rqn6x4v.js";
32
+ } from "./repository-9rqn6x4v.js";
33
33
 
34
34
  // src/tool/plugin/patch.ts
35
35
  var exports_patch = {};
36
36
  __export(exports_patch, {
37
37
  Applied: () => Applied2,
38
- Input: () => Input5,
38
+ Input: () => Input6,
39
39
  Output: () => Output3,
40
40
  PatchTool: () => exports_patch,
41
- Plugin: () => Plugin22,
42
- name: () => name5,
43
- toModelContent: () => toModelContent2
41
+ Plugin: () => Plugin8,
42
+ name: () => name6,
43
+ toModelContent: () => toModelContent4
44
44
  });
45
45
  import { ToolFailure } from "@opencode/ai";
46
46
  import { FileDiff } from "@opencode/schema/file-diff";
@@ -85,8 +85,8 @@ It is important to remember:
85
85
  `;
86
86
 
87
87
  // src/tool/plugin/patch.ts
88
- var name5 = "patch";
89
- var Input5 = Schema.Struct({
88
+ var name6 = "patch";
89
+ var Input6 = Schema.Struct({
90
90
  patchText: Schema.String.annotate({
91
91
  description: "The full patch text describing add, update, and delete operations"
92
92
  })
@@ -100,25 +100,25 @@ var Output3 = Schema.Struct({
100
100
  applied: Schema.Array(Applied2),
101
101
  files: Schema.Array(FileDiff.Info)
102
102
  });
103
- var toModelContent2 = (output) => [
103
+ var toModelContent4 = (output) => [
104
104
  "Success. Updated the following files:",
105
105
  ...output.applied.map((item) => `${item.type === "add" ? "A" : item.type === "delete" ? "D" : "M"} ${item.resource}`)
106
106
  ].join(`
107
107
  `);
108
- var Plugin22 = {
108
+ var Plugin8 = {
109
109
  id: "opencode.tool.patch",
110
110
  effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
111
- const environment = yield* Service72;
112
- const access = yield* Service74;
113
- const fileMutation = yield* Service71;
111
+ const environment = yield* Service62;
112
+ const access = yield* Service15;
113
+ const fileMutation = yield* Service13;
114
114
  const formatter = yield* Service14;
115
- const location = yield* Service80;
116
- const permission = yield* Service75;
115
+ const location = yield* Service79;
116
+ const permission = yield* Service55;
117
117
  yield* ctx.tool.transform((editor) => editor.add({
118
- name: name5,
118
+ name: name6,
119
119
  options: { codemode: false, permission: "edit" },
120
120
  description: patch_default,
121
- input: Input5,
121
+ input: Input6,
122
122
  output: Output3,
123
123
  execute: (input, context) => {
124
124
  const applied = [];
@@ -266,7 +266,7 @@ var Plugin22 = {
266
266
  return { applied, files };
267
267
  }).pipe(fileMutation.withLock(lockTargets), Effect.map((output) => ({
268
268
  output,
269
- content: toModelContent2(output),
269
+ content: toModelContent4(output),
270
270
  metadata: { files: output.files }
271
271
  })), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: "Unable to apply patch", error })));
272
272
  }
@@ -326,4 +326,4 @@ function trimDiff(diff) {
326
326
  `);
327
327
  }
328
328
 
329
- export { name5, Input5, Applied2, Output3, toModelContent2, Plugin22, exports_patch };
329
+ export { name6, Input6, Applied2, Output3, toModelContent4, Plugin8, exports_patch };
@@ -1,37 +1,37 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./schema-27hrx2m2.js";
4
+ } from "./repository-3f66bwfz.js";
5
5
  import {
6
- Service80,
7
- node84
8
- } from "./schema-4rgrvx78.js";
6
+ Service79,
7
+ node83
8
+ } from "./repository-tcj9ww28.js";
9
9
  import {
10
- ID15,
11
- Service78,
12
- node82
13
- } from "./schema-na0j43z6.js";
10
+ ID9,
11
+ Service58,
12
+ node61
13
+ } from "./repository-5rfaxrsd.js";
14
14
  import {
15
- NotFoundError10
16
- } from "./schema-vmwh049b.js";
15
+ NotFoundError9
16
+ } from "./repository-yq9bhs5j.js";
17
17
  import {
18
- Service77,
19
- node81
20
- } from "./schema-dvm4mghw.js";
18
+ Service56,
19
+ node59
20
+ } from "./repository-4bqx1nme.js";
21
21
  import {
22
22
  match2
23
- } from "./schema-y1fvbwt7.js";
23
+ } from "./repository-y1fvbwt7.js";
24
24
  import {
25
- Service76,
26
- node80
27
- } from "./schema-27prgbw4.js";
25
+ Service57,
26
+ node60
27
+ } from "./repository-8vn4cfgq.js";
28
28
  import {
29
- Service79,
30
- node83
31
- } from "./schema-a2qe2ev9.js";
29
+ Service67,
30
+ node71
31
+ } from "./repository-g1sxm558.js";
32
32
  import {
33
33
  __export
34
- } from "./schema-9rqn6x4v.js";
34
+ } from "./repository-9rqn6x4v.js";
35
35
 
36
36
  // src/permission.ts
37
37
  var exports_permission2 = {};
@@ -42,30 +42,30 @@ __export(exports_permission2, {
42
42
  CorrectedError: () => CorrectedError2,
43
43
  DeclinedError: () => DeclinedError2,
44
44
  Effect: () => PermissionEffect,
45
- Event: () => Event19,
46
- ID: () => ID13,
47
- NotFoundError: () => NotFoundError9,
45
+ Event: () => Event12,
46
+ ID: () => ID7,
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: () => Service75,
55
- Source: () => Source5,
54
+ Service: () => Service55,
55
+ Source: () => Source4,
56
56
  evaluate: () => evaluate2,
57
57
  merge: () => merge2,
58
- node: () => node79
58
+ node: () => node58
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 Event19 } 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;
68
- var Source5 = Permission.Source;
67
+ var ID7 = Permission.ID;
68
+ var Source4 = Permission.Source;
69
69
  var RequestFields = {
70
70
  sessionID: Permission.Request.fields.sessionID,
71
71
  action: Permission.Request.fields.action,
@@ -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: ID7.pipe(Schema.optional),
81
81
  ...RequestFields,
82
- agent: ID15.pipe(Schema.optional)
82
+ agent: ID9.pipe(Schema.optional)
83
83
  }).annotate({ identifier: "Permission.AssertInput" });
84
84
  var ReplyInput2 = Schema.Struct({
85
- requestID: ID13,
86
- reply: Reply3,
85
+ requestID: ID7,
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: ID7,
91
91
  effect: Permission.Effect
92
92
  }).annotate({ identifier: "Permission.AskResult" });
93
93
 
@@ -110,8 +110,8 @@ class BlockedError2 extends Schema.TaggedError()("Permission.BlockedError", {
110
110
  }
111
111
  }
112
112
 
113
- class NotFoundError9 extends Schema.TaggedError()("Permission.NotFoundError", {
114
- requestID: ID13
113
+ class NotFoundError8 extends Schema.TaggedError()("Permission.NotFoundError", {
114
+ requestID: ID7
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 Service75 extends Context.Service()("@opencode/Permission") {
128
+ class Service55 extends Context.Service()("@opencode/Permission") {
129
129
  }
130
- var layer = Layer.effect(Service75, Effect.gen(function* () {
130
+ var layer = Layer.effect(Service55, Effect.gen(function* () {
131
131
  const bus = yield* Service83;
132
- const location = yield* Service80;
133
- const agents = yield* Service78;
134
- const sessions = yield* Service77;
135
- const saved = yield* Service76;
136
- const hooks = yield* Service79;
132
+ const location = yield* Service79;
133
+ const agents = yield* Service58;
134
+ const sessions = yield* Service56;
135
+ const saved = yield* Service57;
136
+ const hooks = yield* Service67;
137
137
  const pending = new Map;
138
138
  let closed = false;
139
139
  const close = Effect.gen(function* () {
@@ -156,7 +156,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
156
156
  const configured = Effect.fnUntraced(function* (sessionID, agentID) {
157
157
  const session = yield* sessions.get(sessionID);
158
158
  if (!session)
159
- return yield* new NotFoundError10({ sessionID });
159
+ return yield* new NotFoundError9({ sessionID });
160
160
  const agent = yield* agents.resolve(agentID ?? session.agent);
161
161
  return merge2(agent?.permissions ?? missingAgentPermissions, session.permissions ?? []);
162
162
  });
@@ -186,7 +186,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
186
186
  });
187
187
  function request(input, message) {
188
188
  return {
189
- id: input.id ?? ID13.create(),
189
+ id: input.id ?? ID7.create(),
190
190
  sessionID: input.sessionID,
191
191
  action: input.action,
192
192
  resources: input.resources,
@@ -211,7 +211,7 @@ var layer = Layer.effect(Service75, 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 ?? ID7.create(), effect: "deny" };
215
215
  const result = yield* evaluateInput(input);
216
216
  const value = request(input, result.message);
217
217
  if (result.effect === "ask")
@@ -242,7 +242,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
242
242
  const reply = Effect.fn("Permission.reply")((input) => Effect.uninterruptible(Effect.gen(function* () {
243
243
  const existing = pending.get(input.requestID);
244
244
  if (!existing)
245
- return yield* new NotFoundError9({ requestID: input.requestID });
245
+ return yield* new NotFoundError8({ requestID: input.requestID });
246
246
  yield* bus.publish(Permission.Event.Replied, {
247
247
  sessionID: existing.request.sessionID,
248
248
  requestID: existing.request.id,
@@ -297,12 +297,12 @@ var layer = Layer.effect(Service75, 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 Service75.of({ ask, assert, reply, get, forSession, list, close });
300
+ return Service55.of({ ask, assert, reply, get, forSession, list, close });
301
301
  }));
302
- var node79 = makeLocationNode({
303
- service: Service75,
302
+ var node58 = makeLocationNode({
303
+ service: Service55,
304
304
  layer,
305
- deps: [node87, node84, node82, node81, node80, node83]
305
+ deps: [node87, node83, node61, node59, node60, node71]
306
306
  });
307
307
 
308
- export { PermissionEffect, ID13, Source5, Request3, Reply3, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError9, evaluate2, merge2, Service75, node79, exports_permission2, Rule3, Ruleset2, Event19 };
308
+ export { PermissionEffect, ID7, Source4, Request2, Reply2, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError8, evaluate2, merge2, Service55, node58, exports_permission2, Rule3, Ruleset2, Event12 };
@@ -2,18 +2,18 @@ import {
2
2
  AbsolutePath2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./schema-922hggd3.js";
5
+ } from "./repository-922hggd3.js";
6
6
  import {
7
- Service80,
8
- node84
9
- } from "./schema-4rgrvx78.js";
7
+ Service79,
8
+ node83
9
+ } from "./repository-tcj9ww28.js";
10
10
  import {
11
- Service18,
12
- node20
13
- } from "./schema-szwj1mk0.js";
11
+ Service24,
12
+ node27
13
+ } from "./repository-nz1w7233.js";
14
14
  import {
15
15
  __export
16
- } from "./schema-9rqn6x4v.js";
16
+ } from "./repository-9rqn6x4v.js";
17
17
 
18
18
  // src/filesystem.ts
19
19
  var exports_filesystem = {};
@@ -22,20 +22,20 @@ __export(exports_filesystem, {
22
22
  DEFAULT_SEARCH_LIMIT: () => DEFAULT_SEARCH_LIMIT2,
23
23
  DEFAULT_SEARCH_TIMEOUT_MS: () => DEFAULT_SEARCH_TIMEOUT_MS2,
24
24
  Entry: () => Entry2,
25
- Event: () => Event4,
25
+ Event: () => Event6,
26
26
  FileSystem: () => exports_filesystem,
27
27
  FindInput: () => FindInput2,
28
28
  GlobInput: () => GlobInput2,
29
29
  GrepInput: () => GrepInput2,
30
30
  ListInput: () => ListInput2,
31
31
  Match: () => Match2,
32
- NotFoundError: () => NotFoundError3,
32
+ NotFoundError: () => NotFoundError4,
33
33
  ReadInput: () => ReadInput2,
34
- Service: () => Service17,
34
+ Service: () => Service23,
35
35
  Submatch: () => Submatch2,
36
36
  Write: () => Write2,
37
37
  WriteInput: () => WriteInput2,
38
- node: () => node19
38
+ node: () => node26
39
39
  });
40
40
  import { makeLocationNode } from "@opencode/util/effect/app-node";
41
41
  import path from "path";
@@ -51,7 +51,7 @@ var WriteInput2 = Schema.Struct({
51
51
  data: Schema.Uint8Array
52
52
  });
53
53
 
54
- class NotFoundError3 extends Schema.TaggedError()("FileSystem.NotFoundError", {
54
+ class NotFoundError4 extends Schema.TaggedError()("FileSystem.NotFoundError", {
55
55
  path: RelativePath2
56
56
  }) {
57
57
  }
@@ -85,14 +85,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
85
85
  limit: Schema.optionalKey(PositiveInt2)
86
86
  }) {
87
87
  }
88
- var Event4 = FileSystem.Event;
88
+ var Event6 = FileSystem.Event;
89
89
 
90
- class Service17 extends Context.Service()("@opencode/FileSystem") {
90
+ class Service23 extends Context.Service()("@opencode/FileSystem") {
91
91
  }
92
- var baseLayer = Layer.effect(Service17, Effect.gen(function* () {
92
+ var baseLayer = Layer.effect(Service23, Effect.gen(function* () {
93
93
  const fs = yield* FSUtil.Service;
94
- const location = yield* Service80;
95
- const search = yield* Service18;
94
+ const location = yield* Service79;
95
+ const search = yield* Service24;
96
96
  const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.orDie);
97
97
  const resolve = Effect.fnUntraced(function* (input) {
98
98
  const absolute = path.resolve(location.directory, input ?? ".");
@@ -103,15 +103,15 @@ var baseLayer = Layer.effect(Service17, Effect.gen(function* () {
103
103
  return yield* Effect.die(new Error("Path escapes the location"));
104
104
  return { absolute, real, directory: location.directory };
105
105
  });
106
- return Service17.of({
106
+ return Service23.of({
107
107
  find: search.find,
108
108
  read: Effect.fn("FileSystem.read")(function* (input) {
109
- const target = yield* resolve(input.path).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError3({ path: input.path })), (_, error) => Effect.die(error)));
110
- const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError3({ path: input.path })), (_, error) => Effect.die(error)));
109
+ const target = yield* resolve(input.path).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError4({ path: input.path })), (_, error) => Effect.die(error)));
110
+ const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError4({ path: input.path })), (_, error) => Effect.die(error)));
111
111
  if (info.type !== "File")
112
112
  return yield* Effect.die(new Error("Path is not a file"));
113
113
  return {
114
- content: yield* fs.readFile(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError3({ path: input.path })), (_, error) => Effect.die(error))),
114
+ content: yield* fs.readFile(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError4({ path: input.path })), (_, error) => Effect.die(error))),
115
115
  mime: FSUtil.mimeType(target.real)
116
116
  };
117
117
  }),
@@ -140,10 +140,10 @@ var baseLayer = Layer.effect(Service17, Effect.gen(function* () {
140
140
  })
141
141
  });
142
142
  }));
143
- var node19 = makeLocationNode({
144
- service: Service17,
143
+ var node26 = makeLocationNode({
144
+ service: Service23,
145
145
  layer: baseLayer,
146
- deps: [FSUtil.node, node84, node20]
146
+ deps: [FSUtil.node, node83, node27]
147
147
  });
148
148
 
149
- export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError3, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event4, Service17, node19, exports_filesystem, Entry2, Match2, Submatch2 };
149
+ export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError4, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event6, Service23, node26, exports_filesystem, Entry2, Match2, Submatch2 };
@@ -2,20 +2,20 @@ import {
2
2
  NonNegativeInt2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./schema-922hggd3.js";
5
+ } from "./repository-922hggd3.js";
6
6
  import {
7
- Service72,
8
- node75
9
- } from "./schema-jbz4z0yy.js";
7
+ Service62,
8
+ node65
9
+ } from "./repository-asvap28k.js";
10
10
  import {
11
11
  Content2
12
- } from "./schema-87j1vk5m.js";
12
+ } from "./repository-r7t6v39w.js";
13
13
  import {
14
14
  detect2
15
- } from "./schema-3smtnn6g.js";
15
+ } from "./repository-3smtnn6g.js";
16
16
  import {
17
17
  __export
18
- } from "./schema-9rqn6x4v.js";
18
+ } from "./repository-9rqn6x4v.js";
19
19
 
20
20
  // src/tool/read-filesystem.ts
21
21
  var exports_read_filesystem = {};
@@ -33,9 +33,9 @@ __export(exports_read_filesystem, {
33
33
  PageInput: () => PageInput2,
34
34
  PathKindError: () => PathKindError2,
35
35
  ReadToolFileSystem: () => exports_read_filesystem,
36
- Service: () => Service7,
36
+ Service: () => Service8,
37
37
  TextPage: () => TextPage2,
38
- node: () => node9,
38
+ node: () => node10,
39
39
  read: () => read2
40
40
  });
41
41
  import path from "path";
@@ -114,7 +114,7 @@ class ListPage2 extends Schema.Class("ReadTool.ListPage")({
114
114
  }) {
115
115
  }
116
116
 
117
- class Service7 extends Context.Service()("@opencode/ReadToolFileSystem") {
117
+ class Service8 extends Context.Service()("@opencode/ReadToolFileSystem") {
118
118
  }
119
119
  var mimeType = (value) => lookup(value) || "application/octet-stream";
120
120
  var read2 = Effect.fn("ReadTool.read")(function* (files, input, resource, page = {}) {
@@ -330,13 +330,13 @@ var nthNewline = (bytes, count) => {
330
330
  return index + 1;
331
331
  }
332
332
  };
333
- var layer = Layer.effect(Service7, Effect.gen(function* () {
334
- const environment = yield* Service72;
335
- return Service7.of({
333
+ var layer = Layer.effect(Service8, Effect.gen(function* () {
334
+ const environment = yield* Service62;
335
+ return Service8.of({
336
336
  list: environment.files.list,
337
337
  read: (path2, resource, page) => read2(environment.files, path2, resource, page)
338
338
  });
339
339
  }));
340
- var node9 = makeLocationNode({ service: Service7, layer, deps: [node75] });
340
+ var node10 = makeLocationNode({ service: Service8, layer, deps: [node65] });
341
341
 
342
- export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service7, read2, node9, exports_read_filesystem };
342
+ export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service8, read2, node10, exports_read_filesystem };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./schema-9rqn6x4v.js";
3
+ } from "./repository-9rqn6x4v.js";
4
4
 
5
5
  // src/state.ts
6
6
  var exports_state = {};
@@ -1,9 +1,9 @@
1
1
  import {
2
- render2
3
- } from "./schema-qqeeq2t9.js";
2
+ render3
3
+ } from "./repository-drwq78ky.js";
4
4
  import {
5
5
  __export
6
- } from "./schema-9rqn6x4v.js";
6
+ } from "./repository-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/optimize.ts
9
9
  var exports_optimize = {};
@@ -424,7 +424,7 @@ function make(id, optimize, mode = "override") {
424
424
  const system = event.system[0];
425
425
  if (!system)
426
426
  return;
427
- const rendered = render2(template, Object.keys(event.tools));
427
+ const rendered = render3(template, Object.keys(event.tools));
428
428
  const text = mode === "append" ? `${system.text}
429
429
 
430
430
  ${rendered}` : rendered;