@opencode/core 0.0.0-dev-21530 → 0.0.0-dev-21556

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 (800) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +81 -81
  3. package/dist/aisdk-native.js +91 -91
  4. package/dist/aisdk.js +93 -93
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +71 -71
  7. package/dist/chunks/{schema-47rxzzmb.js → filesystem-028swf18.js} +9 -9
  8. package/dist/chunks/{schema-prjrmqps.js → filesystem-02vhp1nx.js} +50 -50
  9. package/dist/chunks/{schema-aj7mw0zk.js → filesystem-034tev2y.js} +2 -2
  10. package/dist/chunks/{schema-cs5q1j33.js → filesystem-0f67byd1.js} +5 -5
  11. package/dist/chunks/{schema-bb2erevm.js → filesystem-0mjdzdxd.js} +2 -2
  12. package/dist/chunks/{schema-dqj1x724.js → filesystem-0q608b5f.js} +12 -12
  13. package/dist/chunks/{schema-3qb95gy8.js → filesystem-0se0c77j.js} +4 -4
  14. package/dist/chunks/{schema-0vbcp93d.js → filesystem-0vbcp93d.js} +2 -2
  15. package/dist/chunks/{schema-y56ehv6b.js → filesystem-11dqjexa.js} +9 -9
  16. package/dist/chunks/{schema-sxswpjsy.js → filesystem-126zz3q1.js} +3 -3
  17. package/dist/chunks/{schema-27w5k9zf.js → filesystem-1ep2p91f.js} +2 -2
  18. package/dist/chunks/{schema-hba2d548.js → filesystem-1g6janhj.js} +15 -15
  19. package/dist/chunks/{schema-qsr7754b.js → filesystem-1p1p7tgy.js} +31 -31
  20. package/dist/chunks/{schema-wk0f6cnb.js → filesystem-1qjvw4y4.js} +7 -7
  21. package/dist/chunks/{schema-jh9qevh8.js → filesystem-1sf913kj.js} +25 -25
  22. package/dist/chunks/{schema-1afj0k1v.js → filesystem-1sqqfm6b.js} +13 -13
  23. package/dist/chunks/{schema-5acb438f.js → filesystem-1sr9fzxh.js} +9 -9
  24. package/dist/chunks/{schema-kdnmkssn.js → filesystem-1waq66yh.js} +4 -4
  25. package/dist/chunks/{schema-dzz2f3za.js → filesystem-1z98e4c3.js} +32 -32
  26. package/dist/chunks/{schema-2yr926wd.js → filesystem-242ky9er.js} +10 -10
  27. package/dist/chunks/{schema-qymj231q.js → filesystem-27bs79w9.js} +9 -12
  28. package/dist/chunks/{schema-knevfgda.js → filesystem-29qym6xz.js} +4 -4
  29. package/dist/chunks/{schema-60bb96q1.js → filesystem-2a3m6met.js} +12 -12
  30. package/dist/chunks/{schema-gegxtyrp.js → filesystem-2g49mxwr.js} +3 -3
  31. package/dist/chunks/{schema-0jwsre1p.js → filesystem-2k8khapm.js} +5 -5
  32. package/dist/chunks/{schema-1svhfytg.js → filesystem-2wv0qy41.js} +17 -17
  33. package/dist/chunks/{schema-dta6adxg.js → filesystem-2z2h29k5.js} +15 -15
  34. package/dist/chunks/{schema-n44fvqa5.js → filesystem-328ypx93.js} +20 -20
  35. package/dist/chunks/filesystem-36kqp0j3.js +523 -0
  36. package/dist/chunks/{schema-3hepkmqq.js → filesystem-3hepkmqq.js} +1 -1
  37. package/dist/chunks/{schema-3hwn7j4h.js → filesystem-3hwn7j4h.js} +2 -2
  38. package/dist/chunks/{schema-1mx78vzr.js → filesystem-3p8bby9p.js} +21 -22
  39. package/dist/chunks/{schema-3tvqynh2.js → filesystem-3tvqynh2.js} +1 -1
  40. package/dist/chunks/{schema-w2bpkvh3.js → filesystem-3y03y7vv.js} +11 -11
  41. package/dist/chunks/{schema-3zsf4n22.js → filesystem-3zsf4n22.js} +1 -1
  42. package/dist/chunks/{schema-hfjg8gb5.js → filesystem-400872z1.js} +20 -20
  43. package/dist/chunks/{schema-zdjfzqgx.js → filesystem-45pdh49v.js} +22 -22
  44. package/dist/chunks/filesystem-45th5jwr.js +18 -0
  45. package/dist/chunks/{schema-aq5y8b9e.js → filesystem-4e8vs6eh.js} +8 -8
  46. package/dist/chunks/{schema-70xh0458.js → filesystem-4h1zccz9.js} +19 -19
  47. package/dist/chunks/{schema-zjznsnv6.js → filesystem-4m9n96wx.js} +16 -16
  48. package/dist/chunks/{schema-gt4kt70v.js → filesystem-4qfhrk35.js} +15 -15
  49. package/dist/chunks/{schema-wh6zw745.js → filesystem-4xpgt2w9.js} +5 -5
  50. package/dist/chunks/{schema-54ma36ye.js → filesystem-54ma36ye.js} +1 -1
  51. package/dist/chunks/{schema-bkrhp30v.js → filesystem-573jag1d.js} +6 -7
  52. package/dist/chunks/{schema-8hej200e.js → filesystem-591k6mra.js} +6 -6
  53. package/dist/chunks/{schema-q490b428.js → filesystem-5bg7ay96.js} +32 -29
  54. package/dist/chunks/{schema-gtz7nked.js → filesystem-5ddxr1dn.js} +24 -24
  55. package/dist/chunks/{schema-phwvtd3y.js → filesystem-5jfh860z.js} +4 -4
  56. package/dist/chunks/{schema-5m9w47nd.js → filesystem-5m9w47nd.js} +1 -1
  57. package/dist/chunks/{schema-e3qxr5gk.js → filesystem-5qd3pb7m.js} +2 -2
  58. package/dist/chunks/{schema-mpd49xq9.js → filesystem-5saf3c2d.js} +11 -11
  59. package/dist/chunks/{schema-shrrr7kk.js → filesystem-5sbgwf3f.js} +10 -10
  60. package/dist/chunks/{schema-k8naqxk9.js → filesystem-5y3cvn6v.js} +8 -8
  61. package/dist/chunks/{schema-v6gqda18.js → filesystem-63zyt423.js} +13 -13
  62. package/dist/chunks/{schema-6827pfxn.js → filesystem-6827pfxn.js} +1 -1
  63. package/dist/chunks/{schema-qb6nzafx.js → filesystem-6g6nf04w.js} +4 -3
  64. package/dist/chunks/{schema-e6748pxh.js → filesystem-6gda7trc.js} +10 -10
  65. package/dist/chunks/{schema-qvfnp1sk.js → filesystem-6j7dwqsx.js} +24 -24
  66. package/dist/chunks/{schema-cbmrewd6.js → filesystem-6kwr73dn.js} +21 -21
  67. package/dist/chunks/{schema-6xb47vfp.js → filesystem-6xb47vfp.js} +1 -1
  68. package/dist/chunks/{schema-88tf66q2.js → filesystem-6zhaf8kp.js} +7 -7
  69. package/dist/chunks/{schema-vep9yay1.js → filesystem-76p14g35.js} +4 -4
  70. package/dist/chunks/{schema-775gj3j1.js → filesystem-775gj3j1.js} +2 -2
  71. package/dist/chunks/{schema-7bmhse3q.js → filesystem-7bmhse3q.js} +1 -1
  72. package/dist/chunks/{schema-6pc27hjz.js → filesystem-7fkffz83.js} +8 -8
  73. package/dist/chunks/{schema-cmp3rkz8.js → filesystem-7q4dk8at.js} +24 -25
  74. package/dist/chunks/{schema-ajmz7z9n.js → filesystem-7vnmjcnk.js} +2 -2
  75. package/dist/chunks/{schema-rkg4v3e5.js → filesystem-81f7vt2z.js} +9 -9
  76. package/dist/chunks/{schema-x13wf28v.js → filesystem-81gkh252.js} +16 -16
  77. package/dist/chunks/{schema-56j2d20k.js → filesystem-82a5zyy8.js} +11 -11
  78. package/dist/chunks/{schema-w1eejvng.js → filesystem-84txncab.js} +5 -5
  79. package/dist/chunks/{schema-3ewed21c.js → filesystem-86qzxe6p.js} +4 -4
  80. package/dist/chunks/{schema-044xr5hv.js → filesystem-8b6rm75k.js} +46 -46
  81. package/dist/chunks/{schema-38a6f3y0.js → filesystem-8c364tr5.js} +3 -3
  82. package/dist/chunks/{schema-q5eftdkn.js → filesystem-8g0yt8dy.js} +66 -66
  83. package/dist/chunks/{schema-jpypjf72.js → filesystem-8m2msbn3.js} +22 -22
  84. package/dist/chunks/{schema-8m6m0r52.js → filesystem-8m6m0r52.js} +1 -1
  85. package/dist/chunks/{schema-sf2p74k8.js → filesystem-8myfktms.js} +21 -21
  86. package/dist/chunks/{schema-8mywswrd.js → filesystem-8mywswrd.js} +1 -1
  87. package/dist/chunks/{schema-0bg0bx69.js → filesystem-8ndffx4j.js} +7 -7
  88. package/dist/chunks/{schema-y38m9zb5.js → filesystem-8ngy3mqv.js} +13 -13
  89. package/dist/chunks/{schema-ygxsryh2.js → filesystem-8w8x3cmh.js} +34 -34
  90. package/dist/chunks/{schema-cbywt2p6.js → filesystem-8wy82xn4.js} +32 -32
  91. package/dist/chunks/{schema-7ec2v9ed.js → filesystem-8wyta6jv.js} +5 -5
  92. package/dist/chunks/{schema-x9xt4rzp.js → filesystem-8ya1vr8t.js} +13 -13
  93. package/dist/chunks/{schema-bmheq9zx.js → filesystem-93be92en.js} +34 -34
  94. package/dist/chunks/{schema-tmmkgp6g.js → filesystem-93p4vdsy.js} +23 -23
  95. package/dist/chunks/{schema-b82aynba.js → filesystem-979fg1jj.js} +23 -23
  96. package/dist/chunks/{schema-4tsfkw9e.js → filesystem-9893enz5.js} +11 -11
  97. package/dist/chunks/{schema-kbwg7qyy.js → filesystem-98z44by5.js} +23 -23
  98. package/dist/chunks/{schema-dvj9ct8m.js → filesystem-998yhzzq.js} +3 -3
  99. package/dist/chunks/{schema-mt5v9ry9.js → filesystem-9fjp44j3.js} +16 -16
  100. package/dist/chunks/{schema-1dxbsdj5.js → filesystem-9gcsz2p2.js} +9 -9
  101. package/dist/chunks/{schema-cm7rzrpy.js → filesystem-9jabj0jk.js} +4 -4
  102. package/dist/chunks/{schema-ap73x2p1.js → filesystem-9m4ve779.js} +4 -4
  103. package/dist/chunks/{schema-9wev2pgg.js → filesystem-9wev2pgg.js} +1 -1
  104. package/dist/chunks/{schema-v9ktrhzk.js → filesystem-9yvejhhv.js} +15 -15
  105. package/dist/chunks/{schema-3t0ybcrp.js → filesystem-a058387c.js} +4 -2
  106. package/dist/chunks/{schema-zv150g5a.js → filesystem-a2dbqtpr.js} +19 -20
  107. package/dist/chunks/{schema-jfh9q8qf.js → filesystem-a56ettrm.js} +11 -11
  108. package/dist/chunks/{schema-se052hy2.js → filesystem-aaf0tqjs.js} +3 -3
  109. package/dist/chunks/{schema-k6kw0x3x.js → filesystem-afgz2svm.js} +13 -13
  110. package/dist/chunks/{schema-586k1tpv.js → filesystem-are0chd1.js} +6 -6
  111. package/dist/chunks/{schema-8vcf4cwr.js → filesystem-ayjs7tqn.js} +3 -3
  112. package/dist/chunks/{schema-1g5hkw1w.js → filesystem-azr9yky1.js} +30 -30
  113. package/dist/chunks/{schema-b11a7tx7.js → filesystem-b11a7tx7.js} +1 -1
  114. package/dist/chunks/{schema-ycefwdcs.js → filesystem-b2hzfzr1.js} +8 -8
  115. package/dist/chunks/{schema-ykw333za.js → filesystem-b7c09qga.js} +5 -5
  116. package/dist/chunks/{schema-atzyg80d.js → filesystem-bdbdb37z.js} +45 -45
  117. package/dist/chunks/{schema-bnbbr2d0.js → filesystem-bg1zss7r.js} +36 -36
  118. package/dist/chunks/{schema-qg6wj6c5.js → filesystem-bg57z5ae.js} +20 -20
  119. package/dist/chunks/{schema-9hwaqfsw.js → filesystem-bhhtdc9d.js} +7 -11
  120. package/dist/chunks/{schema-kgjy8mzn.js → filesystem-bj2d5s9t.js} +31 -33
  121. package/dist/chunks/{schema-ywt8jp22.js → filesystem-bjx1sjef.js} +9 -9
  122. package/dist/chunks/{schema-ysbkpfh3.js → filesystem-bkc947cz.js} +23 -23
  123. package/dist/chunks/filesystem-btej2qac.js +257 -0
  124. package/dist/chunks/{schema-bzeyqsqd.js → filesystem-bzeyqsqd.js} +1 -1
  125. package/dist/chunks/{schema-7zafwtqv.js → filesystem-c35ra91z.js} +19 -19
  126. package/dist/chunks/{schema-0tn9bjc5.js → filesystem-chveay43.js} +21 -21
  127. package/dist/chunks/{schema-qnk07h1p.js → filesystem-chxb0k6t.js} +21 -21
  128. package/dist/chunks/{schema-be7qvw84.js → filesystem-cq9vh2fv.js} +7 -7
  129. package/dist/chunks/{schema-n2ew48d4.js → filesystem-cqw872z8.js} +32 -32
  130. package/dist/chunks/{schema-cr9hweqv.js → filesystem-cr9hweqv.js} +2 -2
  131. package/dist/chunks/{schema-6jk406cr.js → filesystem-cz5fe6tg.js} +14 -13
  132. package/dist/chunks/{schema-ys6xw3x7.js → filesystem-d3yv44qs.js} +11 -11
  133. package/dist/chunks/{schema-ks795mkk.js → filesystem-d7wa81mb.js} +14 -14
  134. package/dist/chunks/{schema-few1k6py.js → filesystem-d869kc9t.js} +5 -5
  135. package/dist/chunks/{schema-vxqrmefd.js → filesystem-dkp7y90n.js} +23 -23
  136. package/dist/chunks/{schema-dpkg50ah.js → filesystem-dpkg50ah.js} +1 -1
  137. package/dist/chunks/{schema-4c8ty7y6.js → filesystem-dxbacq08.js} +16 -16
  138. package/dist/chunks/{schema-a2950d4b.js → filesystem-e2z0k8kw.js} +11 -11
  139. package/dist/chunks/{schema-7n76hb68.js → filesystem-e71bjph2.js} +14 -14
  140. package/dist/chunks/{schema-eej6y6fw.js → filesystem-eej6y6fw.js} +2 -2
  141. package/dist/chunks/{schema-ef5x83kb.js → filesystem-ef5x83kb.js} +1 -1
  142. package/dist/chunks/{schema-r0dp87ge.js → filesystem-epeyn0qs.js} +28 -28
  143. package/dist/chunks/{schema-9fshpcpc.js → filesystem-eq13jef3.js} +23 -23
  144. package/dist/chunks/{schema-2vs2nh1n.js → filesystem-f73rjn58.js} +4 -4
  145. package/dist/chunks/{schema-kmvrn13k.js → filesystem-f8h5648v.js} +10 -10
  146. package/dist/chunks/{schema-fcy631f0.js → filesystem-fcy631f0.js} +1 -1
  147. package/dist/chunks/{schema-h6r4200x.js → filesystem-fd592q7h.js} +12 -12
  148. package/dist/chunks/{schema-g6kecgse.js → filesystem-fjdpyz7x.js} +85 -85
  149. package/dist/chunks/{schema-qs4w04g8.js → filesystem-fm3t8chm.js} +15 -15
  150. package/dist/chunks/{schema-3t06g8dq.js → filesystem-fn9t717r.js} +6 -6
  151. package/dist/chunks/{schema-8nbq5p6s.js → filesystem-fpyn1g9k.js} +15 -15
  152. package/dist/chunks/{schema-zhpk82ba.js → filesystem-fwt7vey7.js} +8 -8
  153. package/dist/chunks/{schema-sxz6gkc3.js → filesystem-g8d3gcyj.js} +4 -4
  154. package/dist/chunks/{schema-b7az7nzg.js → filesystem-gb398jef.js} +5 -5
  155. package/dist/chunks/{schema-8ce0521a.js → filesystem-gc65y9s2.js} +13 -13
  156. package/dist/chunks/{schema-gd4qta3r.js → filesystem-gd4qta3r.js} +1 -1
  157. package/dist/chunks/{schema-t8w5j2tp.js → filesystem-gg68t3hz.js} +14 -14
  158. package/dist/chunks/{schema-p33ckn3v.js → filesystem-gj0f7hmv.js} +7 -7
  159. package/dist/chunks/{schema-zxxfwhgr.js → filesystem-gmb516bh.js} +10 -10
  160. package/dist/chunks/{schema-4w411070.js → filesystem-gs856eh7.js} +1 -1
  161. package/dist/chunks/{schema-2gta2q4r.js → filesystem-gwj0vhyb.js} +35 -35
  162. package/dist/chunks/{schema-yc36fn85.js → filesystem-h2ettege.js} +7 -7
  163. package/dist/chunks/{schema-vnt3yn01.js → filesystem-h32rg1s2.js} +19 -19
  164. package/dist/chunks/{schema-h6vf3j39.js → filesystem-h6vf3j39.js} +1 -1
  165. package/dist/chunks/{schema-syv4x271.js → filesystem-h8vwnyd8.js} +4 -2
  166. package/dist/chunks/{schema-bjx4q2dn.js → filesystem-ha3bx9by.js} +35 -35
  167. package/dist/chunks/{schema-sy3r6n62.js → filesystem-hd48n6ar.js} +25 -25
  168. package/dist/chunks/{schema-hgz4x7wa.js → filesystem-hgz4x7wa.js} +1 -1
  169. package/dist/chunks/{schema-8hdppygf.js → filesystem-hsmb96zs.js} +17 -17
  170. package/dist/chunks/{schema-9fp5cy9e.js → filesystem-jjfs97vk.js} +30 -30
  171. package/dist/chunks/{schema-r5wxxd2p.js → filesystem-jmv89t63.js} +42 -42
  172. package/dist/chunks/{schema-40ac0r3r.js → filesystem-jp01ts1z.js} +9 -9
  173. package/dist/chunks/{schema-5hzj2gnj.js → filesystem-k5ggreqd.js} +1 -1
  174. package/dist/chunks/{schema-yxxhm6wn.js → filesystem-kb25sj3q.js} +52 -52
  175. package/dist/chunks/{schema-9brafa5j.js → filesystem-kbhdv85b.js} +18 -18
  176. package/dist/chunks/{schema-ecz00bat.js → filesystem-kh6bv03q.js} +13 -13
  177. package/dist/chunks/{schema-1w2wqhfv.js → filesystem-khmqacep.js} +4 -4
  178. package/dist/chunks/{schema-xtxypabt.js → filesystem-kjv4pfpn.js} +12 -12
  179. package/dist/chunks/{schema-ftrv57z3.js → filesystem-kvmjtnbr.js} +25 -25
  180. package/dist/chunks/{schema-kwb1v3vj.js → filesystem-kwb1v3vj.js} +1 -1
  181. package/dist/chunks/{schema-vsgt0m8t.js → filesystem-m0hzqf10.js} +6 -6
  182. package/dist/chunks/{schema-b8y1c3zn.js → filesystem-m6r8hh6a.js} +14 -14
  183. package/dist/chunks/{schema-m9w0rfyh.js → filesystem-m9w0rfyh.js} +1 -1
  184. package/dist/chunks/{schema-maspj1v3.js → filesystem-maspj1v3.js} +1 -1
  185. package/dist/chunks/{schema-kjqvt6c0.js → filesystem-mbw2zwxv.js} +4 -4
  186. package/dist/chunks/{schema-xqyrxmej.js → filesystem-mbynq3pt.js} +17 -17
  187. package/dist/chunks/{schema-mych7xnr.js → filesystem-mctgdp4w.js} +32 -32
  188. package/dist/chunks/{schema-fwd7f3n7.js → filesystem-medva3v3.js} +43 -43
  189. package/dist/chunks/{schema-5yqngkrh.js → filesystem-mn8trjc8.js} +3 -3
  190. package/dist/chunks/{schema-r41txaew.js → filesystem-mr7jwncp.js} +23 -23
  191. package/dist/chunks/{schema-bswnba0x.js → filesystem-mrb3pdj1.js} +4 -4
  192. package/dist/chunks/{schema-nxc81nce.js → filesystem-mvgnf8hp.js} +20 -22
  193. package/dist/chunks/{schema-md39vkm3.js → filesystem-mx44zc9z.js} +24 -24
  194. package/dist/chunks/{schema-rztgzzkf.js → filesystem-n19gt92d.js} +32 -32
  195. package/dist/chunks/{schema-z18fegx4.js → filesystem-n6mrmtb3.js} +2 -10
  196. package/dist/chunks/{schema-phdpwmhe.js → filesystem-na6gcdt8.js} +21 -24
  197. package/dist/chunks/{schema-4g2jt153.js → filesystem-nc6zk1r7.js} +21 -21
  198. package/dist/chunks/{schema-stbcvrcx.js → filesystem-nnpwh0my.js} +15 -15
  199. package/dist/chunks/{schema-4w9ygdqj.js → filesystem-ns9nx42n.js} +18 -18
  200. package/dist/chunks/{schema-apm2b389.js → filesystem-nv560stn.js} +3 -3
  201. package/dist/chunks/{schema-phstrbs2.js → filesystem-p37cw4rj.js} +8 -8
  202. package/dist/chunks/{schema-j8qhg9bw.js → filesystem-p4hdtfs4.js} +1 -1
  203. package/dist/chunks/{schema-xyd93zwz.js → filesystem-p76v2pnh.js} +43 -43
  204. package/dist/chunks/{schema-8bc2ahr8.js → filesystem-pc1v25hk.js} +3 -3
  205. package/dist/chunks/{schema-atz56vhv.js → filesystem-pec85awn.js} +21 -21
  206. package/dist/chunks/{schema-jn3svvm7.js → filesystem-pez308bj.js} +17 -17
  207. package/dist/chunks/{schema-tnj6rg6w.js → filesystem-pfq93rbg.js} +15 -15
  208. package/dist/chunks/{schema-pjvnvgmy.js → filesystem-pjvnvgmy.js} +1 -1
  209. package/dist/chunks/{schema-pknna89w.js → filesystem-pknna89w.js} +1 -1
  210. package/dist/chunks/{schema-thq5mtmm.js → filesystem-pntdjgj5.js} +11 -11
  211. package/dist/chunks/{schema-kxbkpg81.js → filesystem-pr4qgnr7.js} +23 -23
  212. package/dist/chunks/{schema-krb84gwz.js → filesystem-pw2zv200.js} +28 -28
  213. package/dist/chunks/{schema-25gmhyge.js → filesystem-pz87hs4r.js} +4 -4
  214. package/dist/chunks/{schema-sykc9y4a.js → filesystem-q17z9dx8.js} +5 -5
  215. package/dist/chunks/{schema-yds4b9yz.js → filesystem-q2m888qa.js} +37 -37
  216. package/dist/chunks/{schema-rxxgwrt9.js → filesystem-q9n4taz4.js} +14 -14
  217. package/dist/chunks/{schema-m1rbdz0y.js → filesystem-qdvnf0ks.js} +9 -9
  218. package/dist/chunks/{schema-9m5m65a4.js → filesystem-qey1j5h6.js} +24 -24
  219. package/dist/chunks/{schema-zctrycv6.js → filesystem-qp797tjx.js} +87 -91
  220. package/dist/chunks/{schema-02mvvr71.js → filesystem-qp7m8750.js} +3 -3
  221. package/dist/chunks/{schema-nnsw46vg.js → filesystem-qpk6w0sf.js} +2 -2
  222. package/dist/chunks/{schema-drwq78ky.js → filesystem-qqeeq2t9.js} +7 -7
  223. package/dist/chunks/{schema-qsdy395h.js → filesystem-qsdy395h.js} +1 -1
  224. package/dist/chunks/{schema-kjxerx4y.js → filesystem-qtvz41fz.js} +146 -146
  225. package/dist/chunks/{schema-t0jwwps0.js → filesystem-qx9ba4sp.js} +34 -34
  226. package/dist/chunks/{schema-c765mh8b.js → filesystem-r2m716tb.js} +5 -5
  227. package/dist/chunks/{schema-r335j1fq.js → filesystem-r4vchsx7.js} +18 -18
  228. package/dist/chunks/{schema-3qm998m2.js → filesystem-r5wxk7rn.js} +11 -11
  229. package/dist/chunks/{schema-kjd40bgk.js → filesystem-ra67jj04.js} +9 -9
  230. package/dist/chunks/{schema-02ve1zyw.js → filesystem-rb1cnjjp.js} +18 -18
  231. package/dist/chunks/{schema-rdw6cm16.js → filesystem-rdw6cm16.js} +1 -1
  232. package/dist/chunks/{schema-8dj74pby.js → filesystem-ryh741tj.js} +5 -5
  233. package/dist/chunks/{schema-r2kbwwh1.js → filesystem-s06pmf3q.js} +6 -6
  234. package/dist/chunks/{schema-bnjeam3m.js → filesystem-s5ckyk9d.js} +11 -11
  235. package/dist/chunks/{schema-4axgq110.js → filesystem-s73jzx7y.js} +43 -43
  236. package/dist/chunks/{schema-7vdznjcr.js → filesystem-s80bpp8r.js} +8 -8
  237. package/dist/chunks/{schema-0gdmqesm.js → filesystem-s8d7rejh.js} +4 -4
  238. package/dist/chunks/filesystem-smhs581c.js +26 -0
  239. package/dist/chunks/{schema-xb2raker.js → filesystem-sqeeta82.js} +3 -3
  240. package/dist/chunks/{schema-wvyymv1h.js → filesystem-sv72chne.js} +8 -8
  241. package/dist/chunks/{schema-v1d51sdw.js → filesystem-sxpag4wm.js} +12 -12
  242. package/dist/chunks/{schema-tp3t781r.js → filesystem-szszjrwy.js} +4 -4
  243. package/dist/chunks/{schema-tvcjbwgd.js → filesystem-t7a1f2y6.js} +16 -16
  244. package/dist/chunks/{schema-tazgh4e4.js → filesystem-tazgh4e4.js} +1 -1
  245. package/dist/chunks/{schema-89znhe33.js → filesystem-tcezcvh9.js} +4 -4
  246. package/dist/chunks/{schema-tdstcens.js → filesystem-tdstcens.js} +1 -1
  247. package/dist/chunks/{schema-sxzvkvgj.js → filesystem-tegs1ycp.js} +6 -6
  248. package/dist/chunks/{schema-eh1n47qm.js → filesystem-tpv3en06.js} +28 -28
  249. package/dist/chunks/{schema-tyytaxap.js → filesystem-tyytaxap.js} +1 -1
  250. package/dist/chunks/{schema-b1vpyjsr.js → filesystem-v1w8mgqr.js} +6 -6
  251. package/dist/chunks/{schema-vc0tgat8.js → filesystem-v2y4kgk1.js} +43 -43
  252. package/dist/chunks/{schema-v7p4zvkq.js → filesystem-v7p4zvkq.js} +2 -2
  253. package/dist/chunks/{schema-pp9nj0b2.js → filesystem-vc9x991w.js} +20 -20
  254. package/dist/chunks/{schema-veqvce7d.js → filesystem-veqvce7d.js} +1 -1
  255. package/dist/chunks/{schema-7j1zf1qw.js → filesystem-vk7a0qve.js} +15 -15
  256. package/dist/chunks/{schema-wbt9zsn3.js → filesystem-vktwk5kv.js} +9 -9
  257. package/dist/chunks/{schema-zdvv5291.js → filesystem-vwt6h3tz.js} +2 -2
  258. package/dist/chunks/{schema-grqp3cmb.js → filesystem-vx3jgdek.js} +3 -3
  259. package/dist/chunks/{schema-vzs5sf6e.js → filesystem-vzs5sf6e.js} +1 -1
  260. package/dist/chunks/{schema-w3wsvvr9.js → filesystem-w3wsvvr9.js} +1 -1
  261. package/dist/chunks/{schema-r01t9b5y.js → filesystem-w5zzhgd0.js} +6 -6
  262. package/dist/chunks/{schema-wakvkjy4.js → filesystem-wakvkjy4.js} +1 -1
  263. package/dist/chunks/{schema-wd87259q.js → filesystem-wd87259q.js} +1 -1
  264. package/dist/chunks/{schema-tqw72dge.js → filesystem-wq8gz3e1.js} +14 -14
  265. package/dist/chunks/{schema-7ph0n1vg.js → filesystem-wqhwg8sr.js} +23 -23
  266. package/dist/chunks/{schema-cjrse1k0.js → filesystem-x08z24be.js} +15 -15
  267. package/dist/chunks/{schema-addxnjmp.js → filesystem-x661k3y3.js} +4 -4
  268. package/dist/chunks/{schema-gd5ks2q2.js → filesystem-x8j4awb7.js} +26 -26
  269. package/dist/chunks/{schema-7q165t4g.js → filesystem-xab8tp7k.js} +14 -14
  270. package/dist/chunks/{schema-6qbhemwa.js → filesystem-xfraezgp.js} +31 -32
  271. package/dist/chunks/{schema-kxf3nz33.js → filesystem-xng5v1sj.js} +7 -7
  272. package/dist/chunks/{schema-3ghrgbf8.js → filesystem-xrrvmzfg.js} +9 -9
  273. package/dist/chunks/{schema-42kdbcte.js → filesystem-xt7gh04x.js} +28 -28
  274. package/dist/chunks/{schema-y1fvbwt7.js → filesystem-y1fvbwt7.js} +1 -1
  275. package/dist/chunks/{schema-gtt9vv4e.js → filesystem-y7w5x3t0.js} +14 -14
  276. package/dist/chunks/{schema-tc11merm.js → filesystem-yv1na398.js} +10 -10
  277. package/dist/chunks/{schema-z0bkrqjs.js → filesystem-z0bkrqjs.js} +1 -1
  278. package/dist/chunks/{schema-m71k82xx.js → filesystem-z4xmyae6.js} +13 -13
  279. package/dist/chunks/{schema-kn8ed5j7.js → filesystem-z6r6yped.js} +22 -22
  280. package/dist/chunks/{schema-8mc7s0wd.js → filesystem-z9r12f9w.js} +11 -11
  281. package/dist/chunks/{schema-247gbw12.js → filesystem-zapavctn.js} +3 -3
  282. package/dist/chunks/{schema-15esv6g5.js → filesystem-zgbfmbmk.js} +3 -3
  283. package/dist/chunks/{schema-pgqyayq7.js → filesystem-zhfa0hft.js} +14 -14
  284. package/dist/chunks/{schema-d3cjz2rg.js → filesystem-zn5evjtn.js} +30 -30
  285. package/dist/chunks/{schema-zr2ceqn5.js → filesystem-zr2ceqn5.js} +1 -1
  286. package/dist/chunks/{schema-gymq2tgt.js → filesystem-zryx1e9j.js} +9 -9
  287. package/dist/chunks/{schema-zxq2ej10.js → filesystem-zxq2ej10.js} +1 -1
  288. package/dist/chunks/{schema-ysy9ysqp.js → filesystem-zys69r9h.js} +54 -54
  289. package/dist/codemode/catalog.js +1 -3
  290. package/dist/codemode/instructions.js +9 -9
  291. package/dist/codemode/tool.js +3 -3
  292. package/dist/codemode/web.js +1 -1
  293. package/dist/command.js +85 -85
  294. package/dist/config/discovery.js +86 -86
  295. package/dist/config/markdown.js +1 -1
  296. package/dist/config/normalize.js +101 -101
  297. package/dist/config/plugin/agent.js +118 -118
  298. package/dist/config/plugin/command.js +214 -214
  299. package/dist/config/plugin/compaction.js +155 -155
  300. package/dist/config/plugin/compatibility.js +135 -135
  301. package/dist/config/plugin/entry-observer.js +1 -1
  302. package/dist/config/plugin/formatter.js +117 -117
  303. package/dist/config/plugin/image.js +116 -116
  304. package/dist/config/plugin/instruction.js +116 -116
  305. package/dist/config/plugin/location-watcher.js +118 -118
  306. package/dist/config/plugin/mcp.js +125 -125
  307. package/dist/config/plugin/policy.js +117 -117
  308. package/dist/config/plugin/provider.js +116 -116
  309. package/dist/config/plugin/reference.js +118 -118
  310. package/dist/config/plugin/shell.js +116 -116
  311. package/dist/config/plugin/skill-file.js +104 -104
  312. package/dist/config/plugin/skill-scan.js +1 -1
  313. package/dist/config/plugin/skill.js +138 -138
  314. package/dist/config/plugin/snapshot.js +116 -116
  315. package/dist/config/plugin/source.js +115 -115
  316. package/dist/config/plugin/tool-output.js +117 -117
  317. package/dist/config/plugin/websearch.js +115 -115
  318. package/dist/config/plugin/worktree.js +118 -118
  319. package/dist/config/variable.js +1 -1
  320. package/dist/config/watch.js +1 -1
  321. package/dist/config.js +121 -121
  322. package/dist/credential/sql.js +2 -2
  323. package/dist/credential.js +85 -85
  324. package/dist/database/database.js +68 -68
  325. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  326. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  327. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  328. package/dist/database/drizzle/index.js +13 -13
  329. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  332. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  334. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  335. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  336. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  337. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  338. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  339. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  340. package/dist/database/drizzle.js +14 -14
  341. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  342. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  343. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  344. package/dist/database/migration/20260225215848_workspace.js +1 -1
  345. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  346. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  347. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  348. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  349. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  350. package/dist/database/migration/20260323234822_events.js +1 -1
  351. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  352. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  353. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  354. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  355. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  356. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  357. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  358. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  359. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  360. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  361. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  362. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  363. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  364. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  365. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  366. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  367. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  368. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  369. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  370. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  371. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  372. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  373. package/dist/database/migration/20260611035744_credential.js +1 -1
  374. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  375. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  376. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  377. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  378. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  379. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  380. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  381. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  382. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  383. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  384. package/dist/database/migration/20260812213948_worktree.js +1 -1
  385. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  386. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  387. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  388. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  389. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  390. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  391. package/dist/database/migration.gen.js +51 -51
  392. package/dist/database/migration.js +53 -53
  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 +78 -78
  401. package/dist/database/v1-migration.js +1 -1
  402. package/dist/effect/app-node-builder.js +369 -369
  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 +95 -95
  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 +3 -3
  414. package/dist/event/sql.js +1 -1
  415. package/dist/event-logger.js +72 -72
  416. package/dist/file-access.js +106 -106
  417. package/dist/file-mutation.js +96 -96
  418. package/dist/file-retention.js +1 -1
  419. package/dist/filesystem/fff.bun.js +2 -2
  420. package/dist/filesystem/fff.js +1 -1
  421. package/dist/filesystem/fff.node.js +2 -2
  422. package/dist/filesystem/fff.workerd.js +2 -2
  423. package/dist/filesystem/location-watcher-policy.js +4 -4
  424. package/dist/filesystem/location-watcher.js +227 -227
  425. package/dist/filesystem/protected.js +3 -3
  426. package/dist/filesystem/search.js +101 -101
  427. package/dist/filesystem/watcher-binding.js +3 -3
  428. package/dist/filesystem/watcher.js +11 -11
  429. package/dist/filesystem.js +104 -104
  430. package/dist/form.js +78 -78
  431. package/dist/formatter/builtins.js +4 -4
  432. package/dist/formatter.js +89 -89
  433. package/dist/generate.js +105 -105
  434. package/dist/git.js +10 -10
  435. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  436. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  437. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  438. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  439. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  440. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  441. package/dist/github-copilot/copilot-provider.js +17 -17
  442. package/dist/github-copilot/models.js +101 -101
  443. package/dist/github-copilot/openai-compatible-error.js +1 -1
  444. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  445. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  446. package/dist/github-copilot/responses/openai-error.js +1 -1
  447. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  448. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  449. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  450. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  451. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  452. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  453. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  454. package/dist/image/photon.js +2 -2
  455. package/dist/image.js +6 -6
  456. package/dist/instance/service.js +5 -5
  457. package/dist/instance.js +360 -360
  458. package/dist/instruction-discovery.js +86 -86
  459. package/dist/instructions/builtins.js +89 -89
  460. package/dist/instructions/index.js +3 -3
  461. package/dist/integration/connection.js +3 -3
  462. package/dist/integration.js +87 -87
  463. package/dist/job.js +80 -80
  464. package/dist/kv/sql.js +2 -2
  465. package/dist/kv.js +75 -75
  466. package/dist/location-activity.js +156 -156
  467. package/dist/location-lifecycle.js +109 -109
  468. package/dist/location-service-map.js +88 -88
  469. package/dist/location-services.js +357 -357
  470. package/dist/location.js +89 -89
  471. package/dist/managed-policy.js +8 -8
  472. package/dist/mcp/client.js +93 -93
  473. package/dist/mcp/index.js +111 -111
  474. package/dist/mcp/instructions.js +138 -138
  475. package/dist/mcp/oauth.js +80 -80
  476. package/dist/mcp/stdio.js +92 -92
  477. package/dist/mime.js +1 -1
  478. package/dist/modal/models.js +101 -101
  479. package/dist/model-resolver.js +101 -101
  480. package/dist/model-retry.js +1 -1
  481. package/dist/model.js +104 -104
  482. package/dist/models-dev.js +109 -109
  483. package/dist/oauth/page.js +1 -1
  484. package/dist/permission/saved.js +84 -84
  485. package/dist/permission/sql.js +5 -5
  486. package/dist/permission.js +117 -117
  487. package/dist/persistent-pty/binary.bun.js +1 -1
  488. package/dist/persistent-pty/daemon.js +1 -1
  489. package/dist/persistent-pty/index.js +88 -88
  490. package/dist/persistent-pty/pty-binding.js +1 -1
  491. package/dist/persistent-pty.js +77 -77
  492. package/dist/plugin/agent.js +78 -78
  493. package/dist/plugin/command.js +104 -104
  494. package/dist/plugin/hooks.js +5 -5
  495. package/dist/plugin/host.js +218 -218
  496. package/dist/plugin/identity.js +3 -3
  497. package/dist/plugin/instance.js +5 -5
  498. package/dist/plugin/internal.js +332 -332
  499. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  500. package/dist/plugin/models-dev.js +98 -98
  501. package/dist/plugin/module.js +117 -117
  502. package/dist/plugin/optimize.js +4 -4
  503. package/dist/plugin/plan.js +104 -104
  504. package/dist/plugin/promise.js +1 -1
  505. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  506. package/dist/plugin/provider/azure.js +116 -116
  507. package/dist/plugin/provider/cerebras.js +1 -1
  508. package/dist/plugin/provider/chatgpt.js +116 -116
  509. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  510. package/dist/plugin/provider/cloudflare-workers-ai.js +113 -113
  511. package/dist/plugin/provider/cohere.js +2 -2
  512. package/dist/plugin/provider/configured.js +112 -112
  513. package/dist/plugin/provider/databricks.js +1 -1
  514. package/dist/plugin/provider/digitalocean.js +95 -95
  515. package/dist/plugin/provider/dynamic.js +2 -2
  516. package/dist/plugin/provider/factory.js +1 -1
  517. package/dist/plugin/provider/github-copilot.js +97 -97
  518. package/dist/plugin/provider/gitlab.js +95 -95
  519. package/dist/plugin/provider/google-vertex.js +113 -113
  520. package/dist/plugin/provider/kilo.js +1 -1
  521. package/dist/plugin/provider/llmgateway.js +80 -80
  522. package/dist/plugin/provider/lmstudio.js +125 -125
  523. package/dist/plugin/provider/local.js +122 -122
  524. package/dist/plugin/provider/modal.js +94 -94
  525. package/dist/plugin/provider/neon.js +1 -1
  526. package/dist/plugin/provider/nvidia.js +1 -1
  527. package/dist/plugin/provider/ollama.js +125 -125
  528. package/dist/plugin/provider/openai.js +118 -118
  529. package/dist/plugin/provider/opencode.js +103 -103
  530. package/dist/plugin/provider/openrouter.js +93 -93
  531. package/dist/plugin/provider/perplexity.js +2 -2
  532. package/dist/plugin/provider/poe.js +81 -81
  533. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  534. package/dist/plugin/provider/sap-ai-core.js +93 -93
  535. package/dist/plugin/provider/sdk-factory.js +1 -1
  536. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  537. package/dist/plugin/provider/vercel.js +92 -92
  538. package/dist/plugin/provider/vllm.js +125 -125
  539. package/dist/plugin/provider/xai.js +93 -93
  540. package/dist/plugin/provider/zenmux.js +1 -1
  541. package/dist/plugin/provider.js +170 -170
  542. package/dist/plugin/sdk.js +78 -78
  543. package/dist/plugin/service.js +3 -3
  544. package/dist/plugin/skill.js +134 -134
  545. package/dist/plugin/source-directory.js +1 -1
  546. package/dist/plugin/supervisor.js +351 -351
  547. package/dist/plugin/tool-input-repair.js +4 -4
  548. package/dist/plugin/update.js +6 -6
  549. package/dist/plugin/vcs/git.js +88 -88
  550. package/dist/plugin/vcs/hg.js +88 -88
  551. package/dist/plugin/verbosity.js +95 -95
  552. package/dist/plugin/warming.js +114 -114
  553. package/dist/plugin/websearch/exa.js +5 -5
  554. package/dist/plugin/websearch/firecrawl.js +8 -8
  555. package/dist/plugin/websearch/index.js +9 -9
  556. package/dist/plugin/websearch/mcp.js +6 -6
  557. package/dist/plugin/websearch/parallel.js +8 -8
  558. package/dist/plugin/websearch/tavily.js +6 -6
  559. package/dist/plugin/websearch/tinyfish.js +8 -8
  560. package/dist/plugin.js +229 -229
  561. package/dist/project/schema.js +6 -6
  562. package/dist/project/sql.js +4 -4
  563. package/dist/project.js +90 -90
  564. package/dist/provider.js +99 -99
  565. package/dist/pty/protocol.js +1 -1
  566. package/dist/pty/ticket.js +1 -1
  567. package/dist/pty.js +99 -99
  568. package/dist/reference/instructions.js +91 -91
  569. package/dist/reference.js +93 -93
  570. package/dist/repository-cache.js +83 -83
  571. package/dist/repository.js +3 -3
  572. package/dist/ripgrep/binary.js +2 -2
  573. package/dist/ripgrep.js +97 -97
  574. package/dist/rpc.js +88 -88
  575. package/dist/schema.js +1 -1
  576. package/dist/session/affinity.js +1 -1
  577. package/dist/session/command.js +76 -76
  578. package/dist/session/compaction.js +138 -138
  579. package/dist/session/context.js +164 -164
  580. package/dist/session/diff.js +90 -90
  581. package/dist/session/environment.js +3 -3
  582. package/dist/session/error.js +5 -5
  583. package/dist/session/event.js +1 -1
  584. package/dist/session/execution/restart.js +221 -221
  585. package/dist/session/execution.js +130 -130
  586. package/dist/session/generate.js +164 -164
  587. package/dist/session/history.js +15 -17
  588. package/dist/session/inbox.js +97 -97
  589. package/dist/session/info.js +3 -3
  590. package/dist/session/instruction-entry.js +79 -79
  591. package/dist/session/instruction-state.js +8 -8
  592. package/dist/session/instructions.js +99 -99
  593. package/dist/session/message-updater.js +2 -2
  594. package/dist/session/message.js +1 -1
  595. package/dist/session/model-request.js +120 -120
  596. package/dist/session/model-transport.js +7 -7
  597. package/dist/session/move.js +132 -132
  598. package/dist/session/projector.js +91 -91
  599. package/dist/session/prompt.js +107 -107
  600. package/dist/session/recent-text.js +1 -1
  601. package/dist/session/revert.js +96 -96
  602. package/dist/session/run-coordinator.js +3 -3
  603. package/dist/session/runner/index.js +3 -3
  604. package/dist/session/runner/llm.js +231 -231
  605. package/dist/session/runner/max-steps.js +1 -1
  606. package/dist/session/runner/model.js +101 -101
  607. package/dist/session/runner/publish-llm-event.js +116 -116
  608. package/dist/session/runner/retry.js +5 -5
  609. package/dist/session/runner/step.js +128 -128
  610. package/dist/session/runner/to-llm-message.js +14 -14
  611. package/dist/session/schema.js +5 -5
  612. package/dist/session/session.js +163 -163
  613. package/dist/session/shell.js +130 -130
  614. package/dist/session/skill.js +105 -105
  615. package/dist/session/sql.js +5 -5
  616. package/dist/session/stats.js +75 -75
  617. package/dist/session/store.js +87 -87
  618. package/dist/session/subagent-completion.js +1 -1
  619. package/dist/session/subagent-job.js +212 -212
  620. package/dist/session/system-prompt.js +5 -5
  621. package/dist/session/title.js +168 -168
  622. package/dist/session/to-session-error.js +114 -114
  623. package/dist/session/transfer.js +217 -217
  624. package/dist/session/usage.js +1 -1
  625. package/dist/session.js +220 -218
  626. package/dist/shell/parse.js +6 -6
  627. package/dist/shell/result.js +1 -1
  628. package/dist/shell/scan.js +1 -1
  629. package/dist/shell/select.js +15 -15
  630. package/dist/shell.js +130 -130
  631. package/dist/skill/discovery.js +6 -6
  632. package/dist/skill/instructions.js +109 -109
  633. package/dist/skill.js +106 -106
  634. package/dist/snapshot.js +93 -93
  635. package/dist/state.js +1 -1
  636. package/dist/tool/html-markdown.js +1 -1
  637. package/dist/tool/http-body.js +1 -1
  638. package/dist/tool/mcp.js +139 -139
  639. package/dist/tool/plugin/edit.js +122 -122
  640. package/dist/tool/plugin/file-diff.js +1 -1
  641. package/dist/tool/plugin/glob.js +126 -126
  642. package/dist/tool/plugin/grep.js +118 -118
  643. package/dist/tool/plugin/mcp-resource.js +126 -126
  644. package/dist/tool/plugin/opencode.js +111 -111
  645. package/dist/tool/plugin/patch.js +124 -124
  646. package/dist/tool/plugin/question.js +105 -105
  647. package/dist/tool/plugin/read.js +127 -127
  648. package/dist/tool/plugin/shell.js +215 -215
  649. package/dist/tool/plugin/skill.js +113 -113
  650. package/dist/tool/plugin/subagent.js +219 -219
  651. package/dist/tool/plugin/todo.js +138 -138
  652. package/dist/tool/plugin/webfetch.js +115 -115
  653. package/dist/tool/plugin/websearch.js +114 -114
  654. package/dist/tool/plugin/write.js +124 -124
  655. package/dist/tool/read-filesystem.js +100 -100
  656. package/dist/tool/runtime.js +1 -1
  657. package/dist/tool-output.js +5 -5
  658. package/dist/tool.js +12 -12
  659. package/dist/types/agent.d.ts +1 -1
  660. package/dist/types/codemode/catalog.d.ts +7 -8
  661. package/dist/types/codemode/tool.d.ts +1 -7
  662. package/dist/types/persistent-pty/daemon.d.ts +39 -21
  663. package/dist/types/session/history.d.ts +0 -5
  664. package/dist/types/session/runner/publish-llm-event.d.ts +3 -3
  665. package/dist/types/session.d.ts +38 -38
  666. package/dist/types/v1/config/migrate.d.ts +2 -28
  667. package/dist/types/worktree/sql.d.ts +1 -1
  668. package/dist/util/error-summary.js +1 -1
  669. package/dist/util/git-executable.js +2 -2
  670. package/dist/util/lazy.js +1 -1
  671. package/dist/util/slug.js +1 -1
  672. package/dist/util/token.js +1 -1
  673. package/dist/util/which.js +1 -1
  674. package/dist/util/wildcard.js +1 -1
  675. package/dist/v1/config/agent.js +3 -3
  676. package/dist/v1/config/command.js +3 -3
  677. package/dist/v1/config/mcp.js +4 -4
  678. package/dist/v1/config/migrate.js +94 -94
  679. package/dist/v1/config/permission.js +7 -7
  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/variant.js +93 -93
  684. package/dist/vcs/patch.js +1 -1
  685. package/dist/vcs.js +91 -91
  686. package/dist/voice.js +88 -88
  687. package/dist/websearch.js +84 -84
  688. package/dist/wellknown/plugin.js +76 -76
  689. package/dist/wellknown.js +81 -81
  690. package/dist/workspace/driver.js +5 -5
  691. package/dist/workspace/sql.js +1 -1
  692. package/dist/workspace.js +84 -84
  693. package/dist/worktree/directory.js +2 -2
  694. package/dist/worktree/git.js +10 -10
  695. package/dist/worktree/sql.js +5 -5
  696. package/dist/worktree/strategies.js +91 -91
  697. package/dist/worktree.js +98 -98
  698. package/package.json +8 -8
  699. package/dist/chunks/schema-2xehkjwm.js +0 -257
  700. package/dist/chunks/schema-9sh4wc5j.js +0 -18
  701. package/dist/chunks/schema-v0yck56n.js +0 -26
  702. package/dist/chunks/schema-x5by4g9q.js +0 -523
  703. /package/dist/chunks/{schema-0qkdqm5v.js → filesystem-0qkdqm5v.js} +0 -0
  704. /package/dist/chunks/{schema-0zkw76rk.js → filesystem-0zkw76rk.js} +0 -0
  705. /package/dist/chunks/{schema-17cy0kzp.js → filesystem-17cy0kzp.js} +0 -0
  706. /package/dist/chunks/{schema-1cnp2v09.js → filesystem-1cnp2v09.js} +0 -0
  707. /package/dist/chunks/{schema-24dcb14g.js → filesystem-24dcb14g.js} +0 -0
  708. /package/dist/chunks/{schema-2710q6r3.js → filesystem-2710q6r3.js} +0 -0
  709. /package/dist/chunks/{schema-2bv980vf.js → filesystem-2bv980vf.js} +0 -0
  710. /package/dist/chunks/{schema-2c3vjs8z.js → filesystem-2c3vjs8z.js} +0 -0
  711. /package/dist/chunks/{schema-359p4xyc.js → filesystem-359p4xyc.js} +0 -0
  712. /package/dist/chunks/{schema-3asan66x.js → filesystem-3asan66x.js} +0 -0
  713. /package/dist/chunks/{schema-3v8g72cx.js → filesystem-3v8g72cx.js} +0 -0
  714. /package/dist/chunks/{schema-3wcehsnq.js → filesystem-3wcehsnq.js} +0 -0
  715. /package/dist/chunks/{schema-43n2bw4t.js → filesystem-43n2bw4t.js} +0 -0
  716. /package/dist/chunks/{schema-4knz6hnm.js → filesystem-4knz6hnm.js} +0 -0
  717. /package/dist/chunks/{schema-4vcrnpx2.js → filesystem-4vcrnpx2.js} +0 -0
  718. /package/dist/chunks/{schema-4y7fprxs.js → filesystem-4y7fprxs.js} +0 -0
  719. /package/dist/chunks/{schema-53557ph1.js → filesystem-53557ph1.js} +0 -0
  720. /package/dist/chunks/{schema-550bvhaj.js → filesystem-550bvhaj.js} +0 -0
  721. /package/dist/chunks/{schema-5fjb7ams.js → filesystem-5fjb7ams.js} +0 -0
  722. /package/dist/chunks/{schema-6prwharc.js → filesystem-6prwharc.js} +0 -0
  723. /package/dist/chunks/{schema-6q2bdcd1.js → filesystem-6q2bdcd1.js} +0 -0
  724. /package/dist/chunks/{schema-7akdwqpd.js → filesystem-7akdwqpd.js} +0 -0
  725. /package/dist/chunks/{schema-7m9af43g.js → filesystem-7m9af43g.js} +0 -0
  726. /package/dist/chunks/{schema-822emrt2.js → filesystem-822emrt2.js} +0 -0
  727. /package/dist/chunks/{schema-84wd9syh.js → filesystem-84wd9syh.js} +0 -0
  728. /package/dist/chunks/{schema-88xbtdfr.js → filesystem-88xbtdfr.js} +0 -0
  729. /package/dist/chunks/{schema-8n3pysct.js → filesystem-8n3pysct.js} +0 -0
  730. /package/dist/chunks/{schema-8wj87zfr.js → filesystem-8wj87zfr.js} +0 -0
  731. /package/dist/chunks/{schema-9a4afbnw.js → filesystem-9a4afbnw.js} +0 -0
  732. /package/dist/chunks/{schema-9rqn6x4v.js → filesystem-9rqn6x4v.js} +0 -0
  733. /package/dist/chunks/{schema-a6k6eb26.js → filesystem-a6k6eb26.js} +0 -0
  734. /package/dist/chunks/{schema-af5trqkr.js → filesystem-af5trqkr.js} +0 -0
  735. /package/dist/chunks/{schema-afrmfg78.js → filesystem-afrmfg78.js} +0 -0
  736. /package/dist/chunks/{schema-aqzs7mqg.js → filesystem-aqzs7mqg.js} +0 -0
  737. /package/dist/chunks/{schema-atq7p7m5.js → filesystem-atq7p7m5.js} +0 -0
  738. /package/dist/chunks/{schema-bkyjaxrp.js → filesystem-bkyjaxrp.js} +0 -0
  739. /package/dist/chunks/{schema-bmr6ed5q.js → filesystem-bmr6ed5q.js} +0 -0
  740. /package/dist/chunks/{schema-cf4snx6d.js → filesystem-cf4snx6d.js} +0 -0
  741. /package/dist/chunks/{schema-cvy3z8tj.js → filesystem-cvy3z8tj.js} +0 -0
  742. /package/dist/chunks/{schema-d9fn303g.js → filesystem-d9fn303g.js} +0 -0
  743. /package/dist/chunks/{schema-d9jj8t3e.js → filesystem-d9jj8t3e.js} +0 -0
  744. /package/dist/chunks/{schema-dajrwvna.js → filesystem-dajrwvna.js} +0 -0
  745. /package/dist/chunks/{schema-dap0rakb.js → filesystem-dap0rakb.js} +0 -0
  746. /package/dist/chunks/{schema-df08tz66.js → filesystem-df08tz66.js} +0 -0
  747. /package/dist/chunks/{schema-dy18nga0.js → filesystem-dy18nga0.js} +0 -0
  748. /package/dist/chunks/{schema-e5kj55wp.js → filesystem-e5kj55wp.js} +0 -0
  749. /package/dist/chunks/{schema-e73j6tqm.js → filesystem-e73j6tqm.js} +0 -0
  750. /package/dist/chunks/{schema-ec1grn59.js → filesystem-ec1grn59.js} +0 -0
  751. /package/dist/chunks/{schema-eh3zwz77.js → filesystem-eh3zwz77.js} +0 -0
  752. /package/dist/chunks/{schema-emrn6kk6.js → filesystem-emrn6kk6.js} +0 -0
  753. /package/dist/chunks/{schema-f0mxakyp.js → filesystem-f0mxakyp.js} +0 -0
  754. /package/dist/chunks/{schema-f6n9ztr4.js → filesystem-f6n9ztr4.js} +0 -0
  755. /package/dist/chunks/{schema-faypxj3z.js → filesystem-faypxj3z.js} +0 -0
  756. /package/dist/chunks/{schema-fd410y7t.js → filesystem-fd410y7t.js} +0 -0
  757. /package/dist/chunks/{schema-g4wezp1m.js → filesystem-g4wezp1m.js} +0 -0
  758. /package/dist/chunks/{schema-g86h250q.js → filesystem-g86h250q.js} +0 -0
  759. /package/dist/chunks/{schema-gebd4c9n.js → filesystem-gebd4c9n.js} +0 -0
  760. /package/dist/chunks/{schema-gftt206x.js → filesystem-gftt206x.js} +0 -0
  761. /package/dist/chunks/{schema-hcxmzztb.js → filesystem-hcxmzztb.js} +0 -0
  762. /package/dist/chunks/{schema-hk9envan.js → filesystem-hk9envan.js} +0 -0
  763. /package/dist/chunks/{schema-j2ntwpah.js → filesystem-j2ntwpah.js} +0 -0
  764. /package/dist/chunks/{schema-j5zkgpj8.js → filesystem-j5zkgpj8.js} +0 -0
  765. /package/dist/chunks/{schema-jjkms2e6.js → filesystem-jjkms2e6.js} +0 -0
  766. /package/dist/chunks/{schema-jr7sbwjy.js → filesystem-jr7sbwjy.js} +0 -0
  767. /package/dist/chunks/{schema-jwfs4k6c.js → filesystem-jwfs4k6c.js} +0 -0
  768. /package/dist/chunks/{schema-jze0r7bz.js → filesystem-jze0r7bz.js} +0 -0
  769. /package/dist/chunks/{schema-jzg6c2d5.js → filesystem-jzg6c2d5.js} +0 -0
  770. /package/dist/chunks/{schema-m18g726c.js → filesystem-m18g726c.js} +0 -0
  771. /package/dist/chunks/{schema-mp448xyj.js → filesystem-mp448xyj.js} +0 -0
  772. /package/dist/chunks/{schema-msx8hqn2.js → filesystem-msx8hqn2.js} +0 -0
  773. /package/dist/chunks/{schema-n05xt0ee.js → filesystem-n05xt0ee.js} +0 -0
  774. /package/dist/chunks/{schema-n3j8tn72.js → filesystem-n3j8tn72.js} +0 -0
  775. /package/dist/chunks/{schema-njntx4h6.js → filesystem-njntx4h6.js} +0 -0
  776. /package/dist/chunks/{schema-pkyv6v7h.js → filesystem-pkyv6v7h.js} +0 -0
  777. /package/dist/chunks/{schema-q3sfg36h.js → filesystem-q3sfg36h.js} +0 -0
  778. /package/dist/chunks/{schema-q74kybfr.js → filesystem-q74kybfr.js} +0 -0
  779. /package/dist/chunks/{schema-qaymkmh1.js → filesystem-qaymkmh1.js} +0 -0
  780. /package/dist/chunks/{schema-qb87gjwd.js → filesystem-qb87gjwd.js} +0 -0
  781. /package/dist/chunks/{schema-qfa1cgps.js → filesystem-qfa1cgps.js} +0 -0
  782. /package/dist/chunks/{schema-qg3g05ea.js → filesystem-qg3g05ea.js} +0 -0
  783. /package/dist/chunks/{schema-qrg20bc0.js → filesystem-qrg20bc0.js} +0 -0
  784. /package/dist/chunks/{schema-rcb2kzg1.js → filesystem-rcb2kzg1.js} +0 -0
  785. /package/dist/chunks/{schema-sdp7kfr6.js → filesystem-sdp7kfr6.js} +0 -0
  786. /package/dist/chunks/{schema-ssg3fenm.js → filesystem-ssg3fenm.js} +0 -0
  787. /package/dist/chunks/{schema-ve7vex1e.js → filesystem-ve7vex1e.js} +0 -0
  788. /package/dist/chunks/{schema-w803qqfp.js → filesystem-w803qqfp.js} +0 -0
  789. /package/dist/chunks/{schema-wc3fc9cn.js → filesystem-wc3fc9cn.js} +0 -0
  790. /package/dist/chunks/{schema-wer8tq1h.js → filesystem-wer8tq1h.js} +0 -0
  791. /package/dist/chunks/{schema-wjj7prxr.js → filesystem-wjj7prxr.js} +0 -0
  792. /package/dist/chunks/{schema-wtztk69x.js → filesystem-wtztk69x.js} +0 -0
  793. /package/dist/chunks/{schema-x0ckcb58.js → filesystem-x0ckcb58.js} +0 -0
  794. /package/dist/chunks/{schema-x61499pn.js → filesystem-x61499pn.js} +0 -0
  795. /package/dist/chunks/{schema-y44na4kk.js → filesystem-y44na4kk.js} +0 -0
  796. /package/dist/chunks/{schema-y8f7s663.js → filesystem-y8f7s663.js} +0 -0
  797. /package/dist/chunks/{schema-ygaqb7jw.js → filesystem-ygaqb7jw.js} +0 -0
  798. /package/dist/chunks/{schema-ym463w8f.js → filesystem-ym463w8f.js} +0 -0
  799. /package/dist/chunks/{schema-z5v4ffb3.js → filesystem-z5v4ffb3.js} +0 -0
  800. /package/dist/chunks/{schema-z9919s4g.js → filesystem-z9919s4g.js} +0 -0
@@ -2,31 +2,31 @@ import {
2
2
  Resource2,
3
3
  ResourceTemplate2,
4
4
  ResourceContent2,
5
- Service34
6
- } from "./schema-atzyg80d.js";
5
+ Service30
6
+ } from "./filesystem-bdbdb37z.js";
7
7
  import {
8
- Service48
9
- } from "./schema-yxxhm6wn.js";
8
+ Service69
9
+ } from "./filesystem-kb25sj3q.js";
10
10
  import {
11
11
  MEDIA_MIMES2
12
- } from "./schema-ys6xw3x7.js";
12
+ } from "./filesystem-d3yv44qs.js";
13
13
  import {
14
14
  __export
15
- } from "./schema-9rqn6x4v.js";
15
+ } from "./filesystem-9rqn6x4v.js";
16
16
 
17
17
  // src/tool/plugin/mcp-resource.ts
18
18
  var exports_mcp_resource = {};
19
19
  __export(exports_mcp_resource, {
20
20
  McpResourceTools: () => exports_mcp_resource,
21
- Plugin: () => Plugin23
21
+ Plugin: () => Plugin49
22
22
  });
23
23
  import { ToolFailure } from "@opencode/ai";
24
24
  import { Effect, Schema } from "effect";
25
- var Plugin23 = {
25
+ var Plugin49 = {
26
26
  id: "opencode.tools.mcp-resources",
27
27
  effect: Effect.fn("McpResourceTools.Plugin")(function* (ctx) {
28
- const mcp = yield* Service34;
29
- const permission = yield* Service48;
28
+ const mcp = yield* Service30;
29
+ const permission = yield* Service69;
30
30
  yield* ctx.tool.transform((editor) => {
31
31
  editor.add({
32
32
  name: "list_mcp_resources",
@@ -96,4 +96,4 @@ var Plugin23 = {
96
96
  })
97
97
  };
98
98
 
99
- export { Plugin23, exports_mcp_resource };
99
+ export { Plugin49, exports_mcp_resource };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./schema-9rqn6x4v.js";
3
+ } from "./filesystem-9rqn6x4v.js";
4
4
 
5
5
  // src/util/error-summary.ts
6
6
  var exports_error_summary = {};
@@ -1,25 +1,25 @@
1
1
  import {
2
2
  lazy2
3
- } from "./schema-88xbtdfr.js";
3
+ } from "./filesystem-88xbtdfr.js";
4
4
  import {
5
- load5
6
- } from "./schema-e3qxr5gk.js";
5
+ load4
6
+ } from "./filesystem-5qd3pb7m.js";
7
7
  import {
8
8
  __export
9
- } from "./schema-9rqn6x4v.js";
9
+ } from "./filesystem-9rqn6x4v.js";
10
10
 
11
11
  // src/filesystem/watcher.ts
12
12
  var exports_watcher = {};
13
13
  __export(exports_watcher, {
14
14
  Native: () => Native3,
15
- Service: () => Service54,
15
+ Service: () => Service63,
16
16
  Test: () => Test3,
17
17
  Watcher: () => exports_watcher,
18
- configured: () => configured6,
18
+ configured: () => configured11,
19
19
  hasNativeBinding: () => hasNativeBinding2,
20
- layer: () => layer21,
20
+ layer: () => layer24,
21
21
  nativeLayer: () => nativeLayer2,
22
- node: () => node56,
22
+ node: () => node67,
23
23
  testLayer: () => testLayer3
24
24
  });
25
25
  import { createWrapper } from "@parcel/watcher/wrapper.js";
@@ -31,7 +31,7 @@ import path from "path";
31
31
  var SUBSCRIBE_TIMEOUT_MS = 1e4;
32
32
  var watcher = lazy2(() => {
33
33
  try {
34
- return createWrapper(load5());
34
+ return createWrapper(load4());
35
35
  } catch {
36
36
  return;
37
37
  }
@@ -49,14 +49,14 @@ var hasNativeBinding2 = () => !!watcher();
49
49
  class Native3 extends Context.Service()("@opencode/Watcher/Native") {
50
50
  }
51
51
 
52
- class Service54 extends Context.Service()("@opencode/Watcher") {
52
+ class Service63 extends Context.Service()("@opencode/Watcher") {
53
53
  }
54
54
 
55
55
  class Test3 extends Context.Service()("@opencode/Watcher/Test") {
56
56
  }
57
- var layer21 = (options) => Layer.effect(Service54, Effect.gen(function* () {
57
+ var layer24 = (options) => Layer.effect(Service63, Effect.gen(function* () {
58
58
  if (options?.enabled === false) {
59
- return Service54.of({ subscribe: () => Effect.succeed(Stream.empty) });
59
+ return Service63.of({ subscribe: () => Effect.succeed(Stream.empty) });
60
60
  }
61
61
  const native = yield* Native3;
62
62
  const watchers = yield* RcMap.make({
@@ -97,7 +97,7 @@ var layer21 = (options) => Layer.effect(Service54, Effect.gen(function* () {
97
97
  return Stream.fromSubscription(subscription);
98
98
  }));
99
99
  });
100
- return Service54.of({ subscribe });
100
+ return Service63.of({ subscribe });
101
101
  }));
102
102
  var testLayer3 = Layer.effectContext(Effect.gen(function* () {
103
103
  const subscriptions = [];
@@ -121,9 +121,9 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
121
121
  };
122
122
  })
123
123
  });
124
- const context = yield* Layer.build(layer21().pipe(Layer.provide(Layer.succeed(Native3, native))));
124
+ const context = yield* Layer.build(layer24().pipe(Layer.provide(Layer.succeed(Native3, native))));
125
125
  const test = Test3.of({
126
- subscribe: Context.get(context, Service54).subscribe,
126
+ subscribe: Context.get(context, Service63).subscribe,
127
127
  emit: (update) => Effect.sync(() => {
128
128
  const target = path.resolve(update.path);
129
129
  active.forEach((matches, publish) => {
@@ -133,7 +133,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
133
133
  }),
134
134
  subscriptions: () => Effect.sync(() => [...subscriptions])
135
135
  });
136
- return Context.empty().pipe(Context.add(Service54, test), Context.add(Test3, test));
136
+ return Context.empty().pipe(Context.add(Service63, test), Context.add(Test3, test));
137
137
  }));
138
138
  var nativeLayer2 = Layer.succeed(Native3, Native3.of({
139
139
  subscribe: (input) => {
@@ -156,10 +156,10 @@ var nativeLayer2 = Layer.succeed(Native3, Native3.of({
156
156
  }
157
157
  }));
158
158
  var nativeNode = makeGlobalNode({ service: Native3, layer: nativeLayer2, deps: [] });
159
- function configured6(options) {
160
- return makeGlobalNode({ service: Service54, layer: layer21(options), deps: [nativeNode] });
159
+ function configured11(options) {
160
+ return makeGlobalNode({ service: Service63, layer: layer24(options), deps: [nativeNode] });
161
161
  }
162
- var node56 = configured6();
162
+ var node67 = configured11();
163
163
  function subscribeDirectory(native, backend, directory, ignore, publish) {
164
164
  if (!native || !backend) {
165
165
  return Effect.logError("watcher backend not supported", { directory, platform: process.platform }).pipe(Effect.as(undefined));
@@ -179,4 +179,4 @@ function subscribeDirectory(native, backend, directory, ignore, publish) {
179
179
  }).pipe(Effect.as(undefined))));
180
180
  }
181
181
 
182
- export { hasNativeBinding2, Native3, Service54, Test3, layer21, testLayer3, nativeLayer2, configured6, node56, exports_watcher };
182
+ export { hasNativeBinding2, Native3, Service63, Test3, layer24, testLayer3, nativeLayer2, configured11, node67, exports_watcher };
@@ -4,28 +4,28 @@ import {
4
4
  normalizeContent2,
5
5
  normalizedName2,
6
6
  effectiveName2
7
- } from "./schema-5fjb7ams.js";
7
+ } from "./filesystem-5fjb7ams.js";
8
8
  import {
9
9
  create2,
10
10
  catalog2
11
- } from "./schema-02mvvr71.js";
11
+ } from "./filesystem-qp7m8750.js";
12
12
  import {
13
13
  create3
14
- } from "./schema-rdw6cm16.js";
14
+ } from "./filesystem-rdw6cm16.js";
15
15
  import {
16
- Service71,
17
- node75
18
- } from "./schema-wbt9zsn3.js";
16
+ Service33,
17
+ node36
18
+ } from "./filesystem-vktwk5kv.js";
19
19
  import {
20
- Service58,
21
- node61
22
- } from "./schema-aq5y8b9e.js";
20
+ Service73,
21
+ node77
22
+ } from "./filesystem-4e8vs6eh.js";
23
23
  import {
24
24
  match2
25
- } from "./schema-y1fvbwt7.js";
25
+ } from "./filesystem-y1fvbwt7.js";
26
26
  import {
27
27
  __export
28
- } from "./schema-9rqn6x4v.js";
28
+ } from "./filesystem-9rqn6x4v.js";
29
29
 
30
30
  // src/tool.ts
31
31
  var exports_tool = {};
@@ -35,10 +35,10 @@ __export(exports_tool, {
35
35
  Error: () => Error2,
36
36
  FileContent: () => FileContent3,
37
37
  RegistrationError: () => RegistrationError2,
38
- Service: () => Service57,
38
+ Service: () => Service32,
39
39
  TextContent: () => TextContent2,
40
40
  Tool: () => exports_tool,
41
- node: () => node60
41
+ node: () => node35
42
42
  });
43
43
  import { CallID as CallID2, Content as Content2, Error as Error2, FileContent as FileContent3, TextContent as TextContent2 } from "@opencode/schema/tool";
44
44
  import { ToolDefinition } from "@opencode/ai";
@@ -51,11 +51,11 @@ class RegistrationError2 extends Schema.TaggedError()("Tool.RegistrationError",
51
51
  }) {
52
52
  }
53
53
 
54
- class Service57 extends Context.Service()("@opencode/Tool") {
54
+ class Service32 extends Context.Service()("@opencode/Tool") {
55
55
  }
56
- var layer = Layer.effect(Service57, Effect.gen(function* () {
57
- const hooks = yield* Service58;
58
- const image = yield* Service71;
56
+ var layer = Layer.effect(Service32, Effect.gen(function* () {
57
+ const hooks = yield* Service73;
58
+ const image = yield* Service33;
59
59
  const normalizeImages = Effect.fnUntraced(function* (content) {
60
60
  const normalized = yield* Effect.forEach(content, (item) => {
61
61
  if (item.type !== "file" || !item.mime.startsWith("image/"))
@@ -184,7 +184,7 @@ var layer = Layer.effect(Service57, Effect.gen(function* () {
184
184
  }), { discard: true });
185
185
  }
186
186
  });
187
- return Service57.of({
187
+ return Service32.of({
188
188
  transform: state.transform,
189
189
  reload: state.reload,
190
190
  list: () => Effect.sync(() => Array.from(state.get().tools.values())),
@@ -273,10 +273,10 @@ function namespaceError(name) {
273
273
  return;
274
274
  return new RegistrationError2({ name, message: `Invalid tool namespace: ${JSON.stringify(name)}` });
275
275
  }
276
- var node60 = makeLocationNode({
277
- service: Service57,
276
+ var node35 = makeLocationNode({
277
+ service: Service32,
278
278
  layer,
279
- deps: [node61, node75]
279
+ deps: [node77, node36]
280
280
  });
281
281
 
282
- export { RegistrationError2, Service57, node60, exports_tool, CallID2, Content2, Error2, FileContent3, TextContent2 };
282
+ export { RegistrationError2, Service32, node35, exports_tool, CallID2, Content2, Error2, FileContent3, TextContent2 };
@@ -0,0 +1,18 @@
1
+ import {
2
+ __export
3
+ } from "./filesystem-9rqn6x4v.js";
4
+
5
+ // src/plugin/service.ts
6
+ var exports_service = {};
7
+ __export(exports_service, {
8
+ Plugin: () => exports_service,
9
+ Service: () => Service20,
10
+ awaitActivation: () => awaitActivation2
11
+ });
12
+ import { Context } from "effect";
13
+
14
+ class Service20 extends Context.Service()("@opencode/Plugin") {
15
+ }
16
+ var awaitActivation2 = Service20.use((plugins) => plugins.awaitActivation);
17
+
18
+ export { Service20, awaitActivation2, exports_service };
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  __export
3
- } from "./schema-9rqn6x4v.js";
3
+ } from "./filesystem-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/hooks.ts
6
6
  var exports_hooks = {};
7
7
  __export(exports_hooks, {
8
8
  PluginHooks: () => exports_hooks,
9
- Service: () => Service58,
10
- node: () => node61
9
+ Service: () => Service73,
10
+ node: () => node77
11
11
  });
12
12
  import { Context, Effect, Layer, Scope } from "effect";
13
13
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -20,9 +20,9 @@ var eventProviderID = (event) => {
20
20
  return typeof model.providerID === "string" ? model.providerID : undefined;
21
21
  };
22
22
 
23
- class Service58 extends Context.Service()("@opencode/PluginHooks") {
23
+ class Service73 extends Context.Service()("@opencode/PluginHooks") {
24
24
  }
25
- var layer = Layer.effect(Service58, Effect.gen(function* () {
25
+ var layer = Layer.effect(Service73, Effect.gen(function* () {
26
26
  const callbacks = new Map;
27
27
  const key = (domain, name) => `${domain}.${String(name)}`;
28
28
  const register = Effect.fn("PluginHooks.register")(function* (domain, name, callback, options) {
@@ -54,8 +54,8 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
54
54
  return event;
55
55
  });
56
56
  const has = (domain, name, providerID) => Effect.sync(() => (callbacks.get(key(domain, name)) ?? []).some((entry) => entry.options?.providerID === undefined || entry.options.providerID === providerID));
57
- return Service58.of({ has, register, trigger });
57
+ return Service73.of({ has, register, trigger });
58
58
  }));
59
- var node61 = makeLocationNode({ service: Service58, layer, deps: [] });
59
+ var node77 = makeLocationNode({ service: Service73, layer, deps: [] });
60
60
 
61
- export { Service58, node61, exports_hooks };
61
+ export { Service73, node77, exports_hooks };
@@ -1,33 +1,33 @@
1
1
  import {
2
- Service44,
3
- node46
4
- } from "./schema-mt5v9ry9.js";
2
+ Service61,
3
+ node65
4
+ } from "./filesystem-9fjp44j3.js";
5
5
  import {
6
- Service21,
7
- node24
8
- } from "./schema-zctrycv6.js";
6
+ Service18,
7
+ node21
8
+ } from "./filesystem-qp797tjx.js";
9
9
  import {
10
10
  text2,
11
11
  deliver2
12
- } from "./schema-6xb47vfp.js";
12
+ } from "./filesystem-6xb47vfp.js";
13
13
  import {
14
14
  __export
15
- } from "./schema-9rqn6x4v.js";
15
+ } from "./filesystem-9rqn6x4v.js";
16
16
 
17
17
  // src/session/subagent-job.ts
18
18
  var exports_subagent_job = {};
19
19
  __export(exports_subagent_job, {
20
- Service: () => Service10,
20
+ Service: () => Service12,
21
21
  SubagentJob: () => exports_subagent_job,
22
- node: () => node12
22
+ node: () => node14
23
23
  });
24
24
  import { Context, Effect, Layer, Scope } from "effect";
25
25
  import { Node } from "@opencode/util/effect/app-node";
26
- class Service10 extends Context.Service()("@opencode/SubagentJob") {
26
+ class Service12 extends Context.Service()("@opencode/SubagentJob") {
27
27
  }
28
28
  var make = Effect.gen(function* () {
29
- const sessions = yield* Service21;
30
- const jobs = yield* Service44;
29
+ const sessions = yield* Service18;
30
+ const jobs = yield* Service61;
31
31
  const scope = yield* Scope.Scope;
32
32
  const context = yield* Effect.context();
33
33
  const notifications = new Set;
@@ -42,7 +42,7 @@ var make = Effect.gen(function* () {
42
42
  yield* deliver2(sessions, jobs, { ...info, recovery });
43
43
  }).pipe(Effect.ensuring(Effect.sync(() => notifications.delete(key))), Effect.forkIn(scope, { startImmediately: true }), Effect.setContext(context));
44
44
  });
45
- return Service10.of({
45
+ return Service12.of({
46
46
  start: (recovery) => jobs.start({
47
47
  id: recovery.childSessionID,
48
48
  type: "subagent",
@@ -64,10 +64,10 @@ var make = Effect.gen(function* () {
64
64
  notify
65
65
  });
66
66
  });
67
- var node12 = Node.makeGlobalNode({
68
- service: Service10,
69
- layer: Layer.effect(Service10, make),
70
- deps: [node24, node46]
67
+ var node14 = Node.makeGlobalNode({
68
+ service: Service12,
69
+ layer: Layer.effect(Service12, make),
70
+ deps: [node21, node65]
71
71
  });
72
72
 
73
- export { Service10, node12, exports_subagent_job };
73
+ export { Service12, node14, exports_subagent_job };
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  Service85,
3
3
  node89
4
- } from "./schema-phwvtd3y.js";
4
+ } from "./filesystem-5jfh860z.js";
5
5
  import {
6
6
  __export
7
- } from "./schema-9rqn6x4v.js";
7
+ } from "./filesystem-9rqn6x4v.js";
8
8
 
9
9
  // src/form.ts
10
10
  var exports_form = {};
@@ -16,16 +16,16 @@ __export(exports_form, {
16
16
  Field: () => Field2,
17
17
  Fields: () => Fields2,
18
18
  Form: () => exports_form,
19
- ID: () => ID15,
19
+ ID: () => ID16,
20
20
  Info: () => Info25,
21
21
  InvalidAnswerError: () => InvalidAnswerError2,
22
22
  InvalidFormError: () => InvalidFormError2,
23
- NotFoundError: () => NotFoundError11,
23
+ NotFoundError: () => NotFoundError10,
24
24
  Reply: () => Reply3,
25
25
  Service: () => Service80,
26
26
  State: () => State3,
27
27
  When: () => When2,
28
- layer: () => layer27,
28
+ layer: () => layer26,
29
29
  node: () => node84,
30
30
  validateAnswer: () => validateAnswer2,
31
31
  validateFields: () => validateFields2
@@ -35,7 +35,7 @@ import { Cache, Context, Deferred, Duration, Effect, Exit, Layer, Option, Schema
35
35
  import { makeLocationNode } from "@opencode/util/effect/app-node";
36
36
  import { Event as Event18 } from "@opencode/schema/form";
37
37
  var RETENTION = Duration.minutes(10);
38
- var ID15 = Form.ID;
38
+ var ID16 = Form.ID;
39
39
  var Info25 = Form.Info;
40
40
  var Field2 = Form.Field;
41
41
  var Fields2 = Form.Fields;
@@ -44,8 +44,8 @@ var State3 = Form.State;
44
44
  var Answer2 = Form.Answer;
45
45
  var Reply3 = Form.Reply;
46
46
 
47
- class NotFoundError11 extends Schema.TaggedError()("Form.NotFoundError", {
48
- id: ID15
47
+ class NotFoundError10 extends Schema.TaggedError()("Form.NotFoundError", {
48
+ id: ID16
49
49
  }) {
50
50
  get message() {
51
51
  return `Form not found: ${this.id}`;
@@ -53,7 +53,7 @@ class NotFoundError11 extends Schema.TaggedError()("Form.NotFoundError", {
53
53
  }
54
54
 
55
55
  class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledError", {
56
- id: ID15
56
+ id: ID16
57
57
  }) {
58
58
  get message() {
59
59
  return `Form already settled: ${this.id}`;
@@ -61,7 +61,7 @@ class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledErro
61
61
  }
62
62
 
63
63
  class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError", {
64
- id: ID15
64
+ id: ID16
65
65
  }) {
66
66
  get message() {
67
67
  return `Form already exists: ${this.id}`;
@@ -69,7 +69,7 @@ class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError"
69
69
  }
70
70
 
71
71
  class InvalidAnswerError2 extends Schema.TaggedError()("Form.InvalidAnswerError", {
72
- id: ID15,
72
+ id: ID16,
73
73
  message: Schema.String
74
74
  }) {
75
75
  }
@@ -81,16 +81,16 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
81
81
 
82
82
  class Service80 extends Context.Service()("@opencode/Form") {
83
83
  }
84
- var layer27 = Layer.effect(Service80, Effect.gen(function* () {
84
+ var layer26 = Layer.effect(Service80, Effect.gen(function* () {
85
85
  const bus = yield* Service85;
86
86
  let closed = false;
87
87
  const forms = yield* Cache.makeWith(() => Effect.die(new Error("Form cache must be used via set/getSuccess, never get")), {
88
88
  capacity: Number.MAX_SAFE_INTEGER,
89
89
  timeToLive: (exit) => Exit.isSuccess(exit) && exit.value.state.status === "pending" ? Duration.infinity : RETENTION
90
90
  });
91
- const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError11({ id })))));
91
+ const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError10({ id })))));
92
92
  const create = Effect.fn("Form.create")((input) => Effect.uninterruptible(Effect.gen(function* () {
93
- const id = input.id ?? ID15.create();
93
+ const id = input.id ?? ID16.create();
94
94
  const existing = yield* Cache.getSuccess(forms, id);
95
95
  if (Option.isSome(existing))
96
96
  return yield* new AlreadyExistsError2({ id });
@@ -164,7 +164,7 @@ var layer27 = Layer.effect(Service80, Effect.gen(function* () {
164
164
  yield* Effect.addFinalizer(() => close);
165
165
  return Service80.of({ create, ask, get, list, state, reply, cancel, close });
166
166
  }));
167
- var node84 = makeLocationNode({ service: Service80, layer: layer27, deps: [node89] });
167
+ var node84 = makeLocationNode({ service: Service80, layer: layer26, deps: [node89] });
168
168
  function validateAnswer2(form, answer) {
169
169
  const fields = new Map(form.map((field) => [field.key, field]));
170
170
  for (const key of Object.keys(answer)) {
@@ -316,4 +316,4 @@ function isDateTime(value) {
316
316
  return !Number.isNaN(new Date(value).getTime());
317
317
  }
318
318
 
319
- export { ID15, Info25, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError11, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service80, layer27, node84, validateAnswer2, validateFields2, exports_form, Event18 };
319
+ export { ID16, Info25, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError10, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service80, layer26, node84, validateAnswer2, validateFields2, exports_form, Event18 };
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  Service86,
3
3
  node90
4
- } from "./schema-38a6f3y0.js";
4
+ } from "./filesystem-8c364tr5.js";
5
5
  import {
6
6
  SessionTable2,
7
7
  SessionMessageTable2
8
- } from "./schema-dvj9ct8m.js";
8
+ } from "./filesystem-998yhzzq.js";
9
9
  import {
10
10
  decodeMessageRow2,
11
- load4
12
- } from "./schema-tqw72dge.js";
11
+ load5
12
+ } from "./filesystem-wq8gz3e1.js";
13
13
  import {
14
14
  fromRow2
15
- } from "./schema-qymj231q.js";
15
+ } from "./filesystem-27bs79w9.js";
16
16
  import {
17
17
  __export
18
- } from "./schema-9rqn6x4v.js";
18
+ } from "./filesystem-9rqn6x4v.js";
19
19
 
20
20
  // src/session/store.ts
21
21
  var exports_store = {};
22
22
  __export(exports_store, {
23
23
  ListInput: () => ListInput3,
24
- Service: () => Service50,
24
+ Service: () => Service71,
25
25
  SessionStore: () => exports_store,
26
- node: () => node52
26
+ node: () => node75
27
27
  });
28
28
  import { and, asc, desc, eq, gt, isNotNull, isNull, like, lt, notInArray, or, sql } from "drizzle-orm";
29
29
  import { Context, Effect, Layer, Schema } from "effect";
@@ -53,11 +53,11 @@ var ListProjectInput = Schema.Struct({
53
53
  var ListAllInput = Schema.Struct(ListInputBase);
54
54
  var ListInput3 = Schema.Union([ListDirectoryInput, ListProjectInput, ListAllInput]);
55
55
 
56
- class Service50 extends Context.Service()("@opencode/SessionStore") {
56
+ class Service71 extends Context.Service()("@opencode/SessionStore") {
57
57
  }
58
- var layer = Layer.effect(Service50, Effect.gen(function* () {
58
+ var layer = Layer.effect(Service71, Effect.gen(function* () {
59
59
  const { db } = yield* Service86;
60
- return Service50.of({
60
+ return Service71.of({
61
61
  get: Effect.fnUntraced(function* (sessionID) {
62
62
  const row = yield* db.select().from(SessionTable2).where(eq(SessionTable2.id, sessionID)).get().pipe(Effect.orDie);
63
63
  return row ? fromRow2(row) : undefined;
@@ -101,11 +101,11 @@ var layer = Layer.effect(Service50, Effect.gen(function* () {
101
101
  const rows = yield* (input.limit === undefined ? query.all() : query.limit(input.limit).all()).pipe(Effect.orDie);
102
102
  return yield* Effect.forEach(direction === "previous" ? rows.toReversed() : rows, decodeMessageRow2);
103
103
  }),
104
- context: Effect.fn("SessionStore.context")((sessionID) => load4(db, sessionID, "latest")),
104
+ context: Effect.fn("SessionStore.context")((sessionID) => load5(db, sessionID, "latest")),
105
105
  message: Effect.fn("SessionStore.message")(function* (messageID) {
106
106
  const row = yield* db.select().from(SessionMessageTable2).where(eq(SessionMessageTable2.id, messageID)).get().pipe(Effect.orDie);
107
107
  return row ? {
108
- sessionID: Session.ID.make(row.session_id),
108
+ sessionID: row.session_id,
109
109
  message: yield* decodeMessageRow2(row).pipe(Effect.orDie)
110
110
  } : undefined;
111
111
  }),
@@ -128,6 +128,6 @@ var layer = Layer.effect(Service50, Effect.gen(function* () {
128
128
  })
129
129
  });
130
130
  }));
131
- var node52 = makeGlobalNode({ service: Service50, layer, deps: [node90] });
131
+ var node75 = makeGlobalNode({ service: Service71, layer, deps: [node90] });
132
132
 
133
- export { ListInput3, Service50, node52, exports_store };
133
+ export { ListInput3, Service71, node75, exports_store };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./schema-z5v4ffb3.js";
3
+ } from "./filesystem-z5v4ffb3.js";
4
4
  import {
5
5
  __export
6
- } from "./schema-9rqn6x4v.js";
6
+ } from "./filesystem-9rqn6x4v.js";
7
7
 
8
8
  // src/v1/config/mcp.ts
9
9
  var exports_mcp5 = {};
10
10
  __export(exports_mcp5, {
11
11
  ConfigMCPV1: () => exports_mcp5,
12
- Info: () => Info12,
12
+ Info: () => Info13,
13
13
  Local: () => Local2,
14
14
  OAuth: () => OAuth2,
15
15
  Remote: () => Remote2
@@ -64,6 +64,6 @@ var Remote2 = Schema.Struct({
64
64
  description: "Timeout in ms for MCP server requests. Defaults to 5000 (5 seconds) if not specified."
65
65
  })
66
66
  }).annotate({ identifier: "McpRemoteConfig" });
67
- var Info12 = Schema.Union([Local2, Remote2]).annotate({ discriminator: "type" });
67
+ var Info13 = Schema.Union([Local2, Remote2]).annotate({ discriminator: "type" });
68
68
 
69
- export { Local2, OAuth2, Remote2, Info12, exports_mcp5 };
69
+ export { Local2, OAuth2, Remote2, Info13, exports_mcp5 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./schema-9rqn6x4v.js";
3
+ } from "./filesystem-9rqn6x4v.js";
4
4
 
5
5
  // src/session/affinity.ts
6
6
  var exports_affinity = {};
@@ -2,18 +2,18 @@ import {
2
2
  provider2,
3
3
  model2,
4
4
  compatibleModel2
5
- } from "./schema-b11a7tx7.js";
5
+ } from "./filesystem-b11a7tx7.js";
6
6
  import {
7
7
  aisdk2,
8
8
  packageName2
9
- } from "./schema-q490b428.js";
9
+ } from "./filesystem-5bg7ay96.js";
10
10
  import {
11
11
  Capabilities2,
12
12
  compatibility2
13
- } from "./schema-1g5hkw1w.js";
13
+ } from "./filesystem-azr9yky1.js";
14
14
  import {
15
15
  __export
16
- } from "./schema-9rqn6x4v.js";
16
+ } from "./filesystem-9rqn6x4v.js";
17
17
 
18
18
  // src/v1/config/migrate.ts
19
19
  var exports_migrate = {};
@@ -32,7 +32,6 @@ import { ConfigAgent } from "@opencode/schema/config/agent";
32
32
  import { Schema } from "effect";
33
33
  var decodeOptions = { errors: "all", onExcessProperty: "ignore" };
34
34
  var decodeAgent = Schema.decodeUnknownSync(Schema.fromJsonString(ConfigAgent.Info), decodeOptions);
35
- var encodeAgent = Schema.encodeSync(ConfigAgent.Info);
36
35
  function permissions(info) {
37
36
  const rules = (info ?? []).flatMap(([key, rule]) => {
38
37
  const action = normalizeAction2(key);
@@ -57,7 +56,7 @@ function migrateAgent2(info) {
57
56
  ...info.temperature === undefined ? {} : { temperature: info.temperature },
58
57
  ...info.top_p === undefined ? {} : { top_p: info.top_p }
59
58
  };
60
- return encodeAgent(decodeAgent(JSON.stringify({
59
+ return decodeAgent(JSON.stringify({
61
60
  model: modelSelection2(info.model, info.variant),
62
61
  request: Object.keys(body).length ? { body } : undefined,
63
62
  system: info.prompt,
@@ -68,7 +67,7 @@ function migrateAgent2(info) {
68
67
  steps: info.steps,
69
68
  disabled: info.disable,
70
69
  permissions: permissions(info.permission)
71
- })));
70
+ }));
72
71
  }
73
72
  function migrateCommand2(command) {
74
73
  return {