@opencode/core 0.0.0-dev-21764 → 0.0.0-dev-21765

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (794) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +83 -83
  3. package/dist/aisdk-native.js +92 -92
  4. package/dist/aisdk.js +98 -98
  5. package/dist/app.js +5 -5
  6. package/dist/bus.js +75 -75
  7. package/dist/chunks/{file-mutation-vprqjk3y.js → schema-00v1n14z.js} +4 -4
  8. package/dist/chunks/{file-mutation-q7rdkpep.js → schema-029wrt9s.js} +4 -4
  9. package/dist/chunks/{file-mutation-034tev2y.js → schema-034tev2y.js} +2 -2
  10. package/dist/chunks/{file-mutation-qxqh84zc.js → schema-07nbdp2k.js} +10 -10
  11. package/dist/chunks/{file-mutation-qvf9anv7.js → schema-0nhvm0pw.js} +22 -22
  12. package/dist/chunks/{file-mutation-pfq1ksym.js → schema-0t098hqn.js} +5 -5
  13. package/dist/chunks/{file-mutation-8fz9qv1y.js → schema-11e7b702.js} +7 -7
  14. package/dist/chunks/{file-mutation-v0tjffkk.js → schema-11j43tsy.js} +13 -13
  15. package/dist/chunks/{file-mutation-mtpeagzc.js → schema-143qq2q9.js} +3 -3
  16. package/dist/chunks/{file-mutation-xh0rg2ax.js → schema-154zyqc4.js} +7 -7
  17. package/dist/chunks/{file-mutation-kxjzb63p.js → schema-1616ycsj.js} +16 -16
  18. package/dist/chunks/{file-mutation-gcjdgkn2.js → schema-18g90bpv.js} +9 -9
  19. package/dist/chunks/{file-mutation-1ep2p91f.js → schema-1ep2p91f.js} +2 -2
  20. package/dist/chunks/{file-mutation-zgn0e7bm.js → schema-1hcmr4yw.js} +32 -32
  21. package/dist/chunks/{file-mutation-brp5t0mv.js → schema-1j2pc25j.js} +24 -24
  22. package/dist/chunks/{file-mutation-yq70x34n.js → schema-1m98x74e.js} +6 -6
  23. package/dist/chunks/{file-mutation-299v56h7.js → schema-1tjn92rn.js} +13 -13
  24. package/dist/chunks/{file-mutation-1x2knyw4.js → schema-1x2knyw4.js} +1 -1
  25. package/dist/chunks/{file-mutation-hnbfpcqv.js → schema-1zdtg2jw.js} +36 -36
  26. package/dist/chunks/{file-mutation-23yr3n9z.js → schema-1zn3aj1m.js} +1 -1
  27. package/dist/chunks/{file-mutation-v17rck64.js → schema-24tftcpc.js} +57 -57
  28. package/dist/chunks/{file-mutation-sndntm2r.js → schema-282ey04p.js} +24 -24
  29. package/dist/chunks/{file-mutation-q9p72tx2.js → schema-2862db0g.js} +71 -66
  30. package/dist/chunks/{file-mutation-sxeq46ve.js → schema-2f6bhtqc.js} +7 -7
  31. package/dist/chunks/{file-mutation-st6532p2.js → schema-2nbqrcwe.js} +11 -11
  32. package/dist/chunks/{file-mutation-8qe8mbnw.js → schema-2s3mabk8.js} +21 -21
  33. package/dist/chunks/{file-mutation-s1yg9hd2.js → schema-2wcgdjv5.js} +18 -18
  34. package/dist/chunks/{file-mutation-q2qa99s7.js → schema-2yrt0cx2.js} +11 -11
  35. package/dist/chunks/{file-mutation-2z1j29yd.js → schema-2z1j29yd.js} +1 -1
  36. package/dist/chunks/{file-mutation-nxwvdtkc.js → schema-30e1bg64.js} +5 -5
  37. package/dist/chunks/{file-mutation-atdxfxea.js → schema-329weprz.js} +30 -30
  38. package/dist/chunks/{file-mutation-8tbw44dq.js → schema-3a63316c.js} +4 -4
  39. package/dist/chunks/{file-mutation-3s5n2216.js → schema-3amvxph1.js} +13 -13
  40. package/dist/chunks/{file-mutation-kh1vw83k.js → schema-3fn32fyw.js} +2 -2
  41. package/dist/chunks/{file-mutation-b2n4kpg1.js → schema-3h9mmrds.js} +20 -20
  42. package/dist/chunks/{file-mutation-3hepkmqq.js → schema-3hepkmqq.js} +1 -1
  43. package/dist/chunks/{file-mutation-pdwvva8b.js → schema-3k4jc8v0.js} +5 -5
  44. package/dist/chunks/{file-mutation-tpm1qpxt.js → schema-3mgb105e.js} +9 -9
  45. package/dist/chunks/{file-mutation-qjgzc4b4.js → schema-3nfpgkj0.js} +4 -4
  46. package/dist/chunks/{file-mutation-3nnrz6f6.js → schema-3nnrz6f6.js} +1 -1
  47. package/dist/chunks/{file-mutation-5qv54f7z.js → schema-3p1ty9zs.js} +9 -9
  48. package/dist/chunks/{file-mutation-fzpdbh9r.js → schema-3vkndy7n.js} +30 -30
  49. package/dist/chunks/{file-mutation-p8mg4rnn.js → schema-4266znvz.js} +48 -48
  50. package/dist/chunks/{file-mutation-qe8qxr7j.js → schema-4aq7en99.js} +36 -36
  51. package/dist/chunks/{file-mutation-n1pz9w08.js → schema-4c4ax3zv.js} +4 -4
  52. package/dist/chunks/{file-mutation-y0r2nan2.js → schema-4d9qj03b.js} +19 -19
  53. package/dist/chunks/{file-mutation-pb0whgjq.js → schema-4dh6ns0s.js} +28 -28
  54. package/dist/chunks/{file-mutation-q0cbencw.js → schema-4f1nz0wt.js} +2 -2
  55. package/dist/chunks/{file-mutation-ctabavz2.js → schema-4qz42npy.js} +20 -20
  56. package/dist/chunks/{file-mutation-4v008n1t.js → schema-4v008n1t.js} +1 -1
  57. package/dist/chunks/{file-mutation-4xvmh7wp.js → schema-4xvmh7wp.js} +3 -3
  58. package/dist/chunks/{file-mutation-zeztr7cr.js → schema-520chd1c.js} +28 -28
  59. package/dist/chunks/{file-mutation-vjk8yab7.js → schema-524rwz3q.js} +195 -195
  60. package/dist/chunks/{file-mutation-dvbewn83.js → schema-59zf53qd.js} +4 -4
  61. package/dist/chunks/{file-mutation-xgyrt5mg.js → schema-5e3hd4xw.js} +11 -11
  62. package/dist/chunks/{file-mutation-r41sfy63.js → schema-5enarcya.js} +9 -9
  63. package/dist/chunks/{file-mutation-5m9w47nd.js → schema-5m9w47nd.js} +1 -1
  64. package/dist/chunks/{file-mutation-v6bgn6xy.js → schema-5ryvfs0w.js} +26 -26
  65. package/dist/chunks/{file-mutation-cqcvpaa1.js → schema-5w8m9xv3.js} +11 -11
  66. package/dist/chunks/{file-mutation-qavs5vq9.js → schema-5xz4c498.js} +16 -16
  67. package/dist/chunks/{file-mutation-jgk1jw6b.js → schema-617kavm2.js} +14 -14
  68. package/dist/chunks/{file-mutation-vhn1km4s.js → schema-69akfaf3.js} +32 -32
  69. package/dist/chunks/schema-6cfsdsjt.js +26 -0
  70. package/dist/chunks/{file-mutation-d6a2g7hg.js → schema-6cz5w7zs.js} +29 -29
  71. package/dist/chunks/{file-mutation-6esdw8yj.js → schema-6esdw8yj.js} +1 -1
  72. package/dist/chunks/{file-mutation-c1vp62rn.js → schema-6m5m35mz.js} +12 -12
  73. package/dist/chunks/{file-mutation-6pjqjmy2.js → schema-6pjqjmy2.js} +1 -1
  74. package/dist/chunks/{file-mutation-z4qvj0p0.js → schema-6qzhxdk4.js} +42 -42
  75. package/dist/chunks/{file-mutation-3kcm3cr6.js → schema-6sdvvr9a.js} +10 -10
  76. package/dist/chunks/{file-mutation-2xk8pskj.js → schema-6twctan0.js} +8 -8
  77. package/dist/chunks/{file-mutation-w8qtt4th.js → schema-76cb1hcw.js} +4 -4
  78. package/dist/chunks/{file-mutation-db21j9qk.js → schema-787db2tc.js} +9 -9
  79. package/dist/chunks/{file-mutation-12a87htm.js → schema-7a1enj4j.js} +8 -8
  80. package/dist/chunks/{file-mutation-7bmhse3q.js → schema-7bmhse3q.js} +1 -1
  81. package/dist/chunks/{file-mutation-gspt6sck.js → schema-7df12zw2.js} +15 -15
  82. package/dist/chunks/{file-mutation-w6qwbe6w.js → schema-7dm1knrr.js} +25 -25
  83. package/dist/chunks/{file-mutation-1fz8ksxp.js → schema-7ejbfbtt.js} +50 -50
  84. package/dist/chunks/{file-mutation-r4tfxt3f.js → schema-7gf3pvgw.js} +46 -46
  85. package/dist/chunks/{file-mutation-t5xvwr0v.js → schema-7m47pp9z.js} +35 -35
  86. package/dist/chunks/{file-mutation-2x7k2tv7.js → schema-7pnkfavj.js} +45 -45
  87. package/dist/chunks/{file-mutation-7w2ypzdf.js → schema-7w2ypzdf.js} +1 -1
  88. package/dist/chunks/{file-mutation-x75whda2.js → schema-7werj5s1.js} +14 -14
  89. package/dist/chunks/{file-mutation-ybycavcp.js → schema-7wrq6vcn.js} +17 -17
  90. package/dist/chunks/{file-mutation-5yh6gtt2.js → schema-81vtq34g.js} +20 -20
  91. package/dist/chunks/{file-mutation-75d5grb6.js → schema-88118qy8.js} +31 -31
  92. package/dist/chunks/{file-mutation-033a0jkt.js → schema-8bc2ahr8.js} +3 -3
  93. package/dist/chunks/{file-mutation-4bccegnb.js → schema-8dbgzqh1.js} +13 -13
  94. package/dist/chunks/{file-mutation-wvn9agqa.js → schema-8jvj9h14.js} +11 -11
  95. package/dist/chunks/{file-mutation-tn37q2tj.js → schema-8mh45d2n.js} +10 -10
  96. package/dist/chunks/{file-mutation-ec5kptgt.js → schema-8nyb9b1r.js} +6 -6
  97. package/dist/chunks/{file-mutation-8wtp7s3z.js → schema-8wtp7s3z.js} +1 -1
  98. package/dist/chunks/{file-mutation-7987nrfd.js → schema-8x737kf8.js} +21 -21
  99. package/dist/chunks/{file-mutation-91rj84md.js → schema-91rj84md.js} +1 -1
  100. package/dist/chunks/{file-mutation-g484p7w5.js → schema-92fa10hr.js} +29 -29
  101. package/dist/chunks/{file-mutation-998yhzzq.js → schema-998yhzzq.js} +3 -3
  102. package/dist/chunks/{file-mutation-3s1mf836.js → schema-99g6fqdz.js} +14 -14
  103. package/dist/chunks/{file-mutation-g8ycf2ce.js → schema-9rc4as14.js} +83 -83
  104. package/dist/chunks/{file-mutation-tqpw8n9t.js → schema-9vnq5g15.js} +10 -10
  105. package/dist/chunks/{file-mutation-x96j0kvq.js → schema-9yy9tn8q.js} +8 -8
  106. package/dist/chunks/{file-mutation-8404fn9j.js → schema-a1y47zhx.js} +6 -6
  107. package/dist/chunks/{file-mutation-4qyttppm.js → schema-a3brrxmc.js} +5 -5
  108. package/dist/chunks/{file-mutation-zycxxtq8.js → schema-a422z98d.js} +19 -19
  109. package/dist/chunks/{file-mutation-w7akjha9.js → schema-a4bkh64k.js} +13 -13
  110. package/dist/chunks/{file-mutation-rb428vte.js → schema-a7p56gbj.js} +9 -9
  111. package/dist/chunks/{file-mutation-efr9f7w8.js → schema-acdmrrd1.js} +8 -8
  112. package/dist/chunks/{file-mutation-c3cfh5w6.js → schema-aktgv3ye.js} +9 -9
  113. package/dist/chunks/{file-mutation-sgzfv2ep.js → schema-aq1t7e1s.js} +7 -7
  114. package/dist/chunks/{file-mutation-r26ws53m.js → schema-aqhppgmk.js} +11 -11
  115. package/dist/chunks/{file-mutation-rwp901jg.js → schema-ar2j3j0f.js} +4 -4
  116. package/dist/chunks/{file-mutation-njq30gkr.js → schema-axrk0dbh.js} +1 -1
  117. package/dist/chunks/{file-mutation-ayjs7tqn.js → schema-ayjs7tqn.js} +2 -2
  118. package/dist/chunks/{file-mutation-b0mv4wxm.js → schema-b0mv4wxm.js} +2 -2
  119. package/dist/chunks/{file-mutation-9czp4gmt.js → schema-b6h084j4.js} +29 -29
  120. package/dist/chunks/{file-mutation-b6vsg801.js → schema-b6vsg801.js} +2 -2
  121. package/dist/chunks/{file-mutation-prd8gnhb.js → schema-c5kjsz6q.js} +4 -4
  122. package/dist/chunks/{file-mutation-65x6vsj8.js → schema-c99atrka.js} +22 -22
  123. package/dist/chunks/{file-mutation-xd4cchzg.js → schema-c9qwnmqv.js} +41 -41
  124. package/dist/chunks/{file-mutation-fbdaedg4.js → schema-cnpyaq5p.js} +14 -14
  125. package/dist/chunks/{file-mutation-ppd8r3bw.js → schema-cwz77rcy.js} +11 -11
  126. package/dist/chunks/{file-mutation-d4v9tmah.js → schema-d4v9tmah.js} +2 -2
  127. package/dist/chunks/{file-mutation-k0fwm03j.js → schema-d61b7cet.js} +5 -5
  128. package/dist/chunks/{file-mutation-hfs7ms8q.js → schema-dfay5gjp.js} +27 -27
  129. package/dist/chunks/{file-mutation-vn0431e0.js → schema-dtavj5d7.js} +17 -17
  130. package/dist/chunks/{file-mutation-ed4thbkn.js → schema-dtg24jm0.js} +92 -92
  131. package/dist/chunks/{file-mutation-8c5q3ptd.js → schema-e1crchvn.js} +9 -9
  132. package/dist/chunks/{file-mutation-e834z07m.js → schema-e834z07m.js} +1 -1
  133. package/dist/chunks/{file-mutation-k533psas.js → schema-e8gd4gpa.js} +9 -9
  134. package/dist/chunks/{file-mutation-0xwwrpjs.js → schema-eda149f3.js} +48 -48
  135. package/dist/chunks/{file-mutation-sncwygnk.js → schema-en8vfsd2.js} +6 -6
  136. package/dist/chunks/{file-mutation-953xbrr3.js → schema-eq3fc1qc.js} +5 -5
  137. package/dist/chunks/{file-mutation-m37sd98t.js → schema-eqmd2tfz.js} +7 -7
  138. package/dist/chunks/{file-mutation-bhymm4ka.js → schema-eqzmv0k0.js} +12 -12
  139. package/dist/chunks/{file-mutation-7dt954pf.js → schema-er4ejzeq.js} +24 -24
  140. package/dist/chunks/{file-mutation-rddakqqk.js → schema-f42znsbm.js} +18 -18
  141. package/dist/chunks/{file-mutation-nkr5r85d.js → schema-fc6c4hv8.js} +2 -2
  142. package/dist/chunks/{file-mutation-tc5ygtk7.js → schema-fe9r35x6.js} +14 -14
  143. package/dist/chunks/{file-mutation-fffv3p7h.js → schema-fffv3p7h.js} +1 -1
  144. package/dist/chunks/{file-mutation-eat1kxrx.js → schema-fkbdg6tg.js} +15 -15
  145. package/dist/chunks/{file-mutation-qraask58.js → schema-fp1f4q9g.js} +20 -20
  146. package/dist/chunks/{file-mutation-3fasazex.js → schema-fqvwz6ma.js} +23 -23
  147. package/dist/chunks/{file-mutation-38wt7cws.js → schema-fs3bfktd.js} +51 -51
  148. package/dist/chunks/{file-mutation-4x9m2bcx.js → schema-fv09tp7k.js} +19 -19
  149. package/dist/chunks/{file-mutation-9yn8het3.js → schema-fy3nfdcy.js} +4 -4
  150. package/dist/chunks/{file-mutation-pds8n59z.js → schema-fzkeq8f8.js} +19 -19
  151. package/dist/chunks/{file-mutation-evr6t6br.js → schema-g0wye5yh.js} +49 -49
  152. package/dist/chunks/{file-mutation-g5h9c0rr.js → schema-g5h9c0rr.js} +2 -2
  153. package/dist/chunks/{file-mutation-rdsfrh75.js → schema-g5m9rhne.js} +19 -19
  154. package/dist/chunks/schema-g6nq203h.js +257 -0
  155. package/dist/chunks/{file-mutation-pfm7dcjx.js → schema-g6t8g6yx.js} +11 -11
  156. package/dist/chunks/{file-mutation-jek6gdnj.js → schema-gkmddht3.js} +15 -15
  157. package/dist/chunks/{file-mutation-fzybaf5h.js → schema-gpnpzavh.js} +35 -35
  158. package/dist/chunks/{file-mutation-w4x1nz7y.js → schema-gsb3pfjx.js} +12 -12
  159. package/dist/chunks/{file-mutation-6c83wpy3.js → schema-gt2s4m1s.js} +5 -5
  160. package/dist/chunks/{file-mutation-nzs7qp78.js → schema-gvefjbhs.js} +6 -6
  161. package/dist/chunks/{file-mutation-ype8y937.js → schema-h0nnq31c.js} +12 -12
  162. package/dist/chunks/{file-mutation-d8qd4w10.js → schema-h5qan5zz.js} +8 -8
  163. package/dist/chunks/{file-mutation-818eymrz.js → schema-hfnfqmbj.js} +6 -6
  164. package/dist/chunks/{file-mutation-av31dtj6.js → schema-hjv5rhcs.js} +22 -22
  165. package/dist/chunks/{file-mutation-3ryazf7k.js → schema-hnnjehxc.js} +21 -21
  166. package/dist/chunks/{file-mutation-tasvem1v.js → schema-hskrfeat.js} +6 -6
  167. package/dist/chunks/{file-mutation-k3cw2t6y.js → schema-hvvf9qw8.js} +6 -6
  168. package/dist/chunks/{file-mutation-q1q5csf7.js → schema-hwf3rsyj.js} +27 -27
  169. package/dist/chunks/{file-mutation-dy6w43s9.js → schema-hxmh1k5n.js} +14 -14
  170. package/dist/chunks/{file-mutation-01hh241z.js → schema-hxrfbvam.js} +27 -27
  171. package/dist/chunks/{file-mutation-csg5pa84.js → schema-hzcppzhp.js} +16 -16
  172. package/dist/chunks/{file-mutation-j113cymg.js → schema-j113cymg.js} +1 -1
  173. package/dist/chunks/{file-mutation-e5y4b45j.js → schema-j1ehcwpj.js} +14 -14
  174. package/dist/chunks/{file-mutation-cs87y13h.js → schema-j77g158z.js} +8 -8
  175. package/dist/chunks/{file-mutation-8qvck1z4.js → schema-jc1zpzm6.js} +3 -3
  176. package/dist/chunks/{file-mutation-z5tx473w.js → schema-jck87qnb.js} +20 -20
  177. package/dist/chunks/{file-mutation-4yhdbwgv.js → schema-jgeyayk8.js} +11 -11
  178. package/dist/chunks/{file-mutation-epy9ft1b.js → schema-jtp66jv1.js} +15 -15
  179. package/dist/chunks/{file-mutation-4acjqbzf.js → schema-jwddjk3q.js} +3 -3
  180. package/dist/chunks/{file-mutation-dz8z5rmr.js → schema-jxqzyhg3.js} +5 -5
  181. package/dist/chunks/{file-mutation-0h3xmpcd.js → schema-jy6n1kda.js} +22 -22
  182. package/dist/chunks/{file-mutation-k814nvkf.js → schema-k814nvkf.js} +1 -1
  183. package/dist/chunks/{file-mutation-4e2qh63v.js → schema-khc0hv5f.js} +11 -11
  184. package/dist/chunks/{file-mutation-5wenzm93.js → schema-kn8m031n.js} +8 -8
  185. package/dist/chunks/{file-mutation-r2exrp63.js → schema-m0ddkrak.js} +14 -14
  186. package/dist/chunks/{file-mutation-m1714858.js → schema-m1714858.js} +1 -1
  187. package/dist/chunks/{file-mutation-fmqc0xxy.js → schema-m33z69w0.js} +16 -16
  188. package/dist/chunks/{file-mutation-m9w0rfyh.js → schema-m9w0rfyh.js} +1 -1
  189. package/dist/chunks/{file-mutation-maspj1v3.js → schema-maspj1v3.js} +1 -1
  190. package/dist/chunks/{file-mutation-0bpyqdcp.js → schema-mc6n2qdv.js} +11 -11
  191. package/dist/chunks/{file-mutation-rmpmkka0.js → schema-mhe28zdf.js} +18 -18
  192. package/dist/chunks/{file-mutation-53hqh508.js → schema-mmd0w5me.js} +19 -19
  193. package/dist/chunks/{file-mutation-s15vm27z.js → schema-mp5c1e99.js} +22 -22
  194. package/dist/chunks/{file-mutation-d2887f8n.js → schema-mtkfycnh.js} +4 -4
  195. package/dist/chunks/{file-mutation-sbsfx9rq.js → schema-mx1kx71f.js} +33 -33
  196. package/dist/chunks/{file-mutation-n0p0277s.js → schema-n0p0277s.js} +1 -1
  197. package/dist/chunks/{file-mutation-km0c355e.js → schema-n2c4zg0x.js} +36 -36
  198. package/dist/chunks/schema-n3r3rt18.js +18 -0
  199. package/dist/chunks/{file-mutation-770pw0s1.js → schema-nah043kf.js} +4 -4
  200. package/dist/chunks/{file-mutation-d3vz98ev.js → schema-ncctsns8.js} +9 -9
  201. package/dist/chunks/{file-mutation-kb1d5h98.js → schema-nck61317.js} +3 -3
  202. package/dist/chunks/{file-mutation-a45jdcy2.js → schema-ne1w8t8k.js} +35 -35
  203. package/dist/chunks/{file-mutation-z4mkj7zj.js → schema-npjxp3nk.js} +23 -23
  204. package/dist/chunks/{file-mutation-crzd7t9a.js → schema-nrxnrznw.js} +33 -33
  205. package/dist/chunks/{file-mutation-79x1vadv.js → schema-nveqws5b.js} +9 -9
  206. package/dist/chunks/{file-mutation-q6qy2ezf.js → schema-nxykchda.js} +33 -33
  207. package/dist/chunks/{file-mutation-p015t6z3.js → schema-p015t6z3.js} +2 -2
  208. package/dist/chunks/{file-mutation-mn76yzm5.js → schema-p3r0srm5.js} +16 -16
  209. package/dist/chunks/{file-mutation-bxt4wf11.js → schema-p76b1cdr.js} +11 -11
  210. package/dist/chunks/{file-mutation-5zrxpy3q.js → schema-p7vhpwh8.js} +5 -5
  211. package/dist/chunks/{file-mutation-m3hhjj3r.js → schema-pazpeg33.js} +36 -36
  212. package/dist/chunks/{file-mutation-r1yhsp9x.js → schema-pcgkddtj.js} +3 -3
  213. package/dist/chunks/{file-mutation-pknna89w.js → schema-pknna89w.js} +1 -1
  214. package/dist/chunks/{file-mutation-rt32ykrj.js → schema-q7qmtw9h.js} +8 -8
  215. package/dist/chunks/{file-mutation-46bhyqhg.js → schema-qq9hzn5s.js} +28 -28
  216. package/dist/chunks/{file-mutation-wwye013q.js → schema-qqg9c0kv.js} +7 -7
  217. package/dist/chunks/{file-mutation-d2dx6a7h.js → schema-qv7y9773.js} +4 -4
  218. package/dist/chunks/{file-mutation-hrg8f2pc.js → schema-qzvs526t.js} +12 -12
  219. package/dist/chunks/{file-mutation-r0yr0wbs.js → schema-r0yr0wbs.js} +1 -1
  220. package/dist/chunks/{file-mutation-wbtek7hf.js → schema-r5f8nyhj.js} +29 -29
  221. package/dist/chunks/{file-mutation-02wxth5p.js → schema-r70bhzar.js} +12 -12
  222. package/dist/chunks/{file-mutation-rb9dy4dg.js → schema-rb9dy4dg.js} +1 -1
  223. package/dist/chunks/{file-mutation-6xvk4rvf.js → schema-rbpahh6n.js} +40 -40
  224. package/dist/chunks/{file-mutation-exkeg691.js → schema-rhj80mra.js} +17 -17
  225. package/dist/chunks/{file-mutation-rc8s48yf.js → schema-rt1c7dae.js} +18 -18
  226. package/dist/chunks/{file-mutation-rt5dr6hb.js → schema-rt5dr6hb.js} +1 -1
  227. package/dist/chunks/{file-mutation-5y2ykpjn.js → schema-rv8h40hz.js} +35 -35
  228. package/dist/chunks/{file-mutation-s5d01prw.js → schema-rxgngg14.js} +5 -5
  229. package/dist/chunks/{file-mutation-hedmc2nt.js → schema-s2rkq84g.js} +18 -18
  230. package/dist/chunks/{file-mutation-jr209fpd.js → schema-s7r97j0a.js} +19 -19
  231. package/dist/chunks/{file-mutation-sa3fpqfw.js → schema-sa3fpqfw.js} +2 -2
  232. package/dist/chunks/{file-mutation-f62v42d5.js → schema-sdm20d6g.js} +38 -38
  233. package/dist/chunks/{file-mutation-sqjzf8x2.js → schema-sqjzf8x2.js} +1 -1
  234. package/dist/chunks/{file-mutation-sh7sp5ah.js → schema-st9narvh.js} +32 -32
  235. package/dist/chunks/{file-mutation-n6v2b7cw.js → schema-szcgc7h4.js} +5 -5
  236. package/dist/chunks/{file-mutation-tgkfec1y.js → schema-t1w3prdq.js} +53 -53
  237. package/dist/chunks/{file-mutation-ysqmn0dh.js → schema-t3ctqk3p.js} +38 -38
  238. package/dist/chunks/{file-mutation-5abcwat7.js → schema-t73qb0f8.js} +9 -9
  239. package/dist/chunks/{file-mutation-tczq8hjw.js → schema-tczq8hjw.js} +1 -1
  240. package/dist/chunks/{file-mutation-2a44g180.js → schema-tdtvh78f.js} +45 -45
  241. package/dist/chunks/{file-mutation-sga46wt1.js → schema-thszvhrd.js} +28 -28
  242. package/dist/chunks/{file-mutation-8d2bz6m6.js → schema-tqx9c315.js} +8 -8
  243. package/dist/chunks/{file-mutation-0xtm3epc.js → schema-tsdrbga6.js} +4 -4
  244. package/dist/chunks/{file-mutation-tw8zr1ps.js → schema-tw8zr1ps.js} +1 -1
  245. package/dist/chunks/{file-mutation-twv2r8f4.js → schema-twv2r8f4.js} +2 -2
  246. package/dist/chunks/{file-mutation-c1hp29t2.js → schema-tynj833s.js} +17 -17
  247. package/dist/chunks/{file-mutation-ejqqbn2a.js → schema-v13bak37.js} +20 -20
  248. package/dist/chunks/{file-mutation-v2r1d0zg.js → schema-v2r1d0zg.js} +1 -1
  249. package/dist/chunks/{file-mutation-y0kzaj5g.js → schema-v8mhp7pp.js} +3 -3
  250. package/dist/chunks/{file-mutation-q0xgbsd8.js → schema-va1ca6nr.js} +28 -28
  251. package/dist/chunks/{file-mutation-yfy7v86t.js → schema-vby0kevs.js} +16 -16
  252. package/dist/chunks/{file-mutation-vd3b3yk9.js → schema-vd3b3yk9.js} +1 -1
  253. package/dist/chunks/{file-mutation-veqvce7d.js → schema-veqvce7d.js} +1 -1
  254. package/dist/chunks/{file-mutation-6qfw85j3.js → schema-vg66cxah.js} +20 -20
  255. package/dist/chunks/{file-mutation-62kc5cbt.js → schema-w1y9pf93.js} +35 -35
  256. package/dist/chunks/{file-mutation-w3wsvvr9.js → schema-w3wsvvr9.js} +1 -1
  257. package/dist/chunks/{file-mutation-8emcj4mr.js → schema-w448494y.js} +43 -43
  258. package/dist/chunks/{file-mutation-agqd6nxz.js → schema-w67s4ywc.js} +8 -8
  259. package/dist/chunks/{file-mutation-pckbcfmj.js → schema-w6veeby1.js} +23 -23
  260. package/dist/chunks/{file-mutation-wakvkjy4.js → schema-wakvkjy4.js} +1 -1
  261. package/dist/chunks/{file-mutation-qdxj2zxm.js → schema-wb4h2peq.js} +27 -27
  262. package/dist/chunks/{file-mutation-wd87259q.js → schema-wd87259q.js} +1 -1
  263. package/dist/chunks/{file-mutation-ef9prmak.js → schema-wmn93bqx.js} +4 -4
  264. package/dist/chunks/{file-mutation-fznmdakp.js → schema-wr3re1en.js} +4 -4
  265. package/dist/chunks/{file-mutation-8sv36032.js → schema-x3t8twyd.js} +35 -35
  266. package/dist/chunks/{file-mutation-xy6nqvtr.js → schema-x9cacsyk.js} +19 -19
  267. package/dist/chunks/{file-mutation-a7r94pj9.js → schema-xccxprzd.js} +4 -4
  268. package/dist/chunks/{file-mutation-xd9cc171.js → schema-xd9cc171.js} +1 -1
  269. package/dist/chunks/{file-mutation-2c7jpr6s.js → schema-xhh0m2wy.js} +5 -5
  270. package/dist/chunks/{file-mutation-8xs8wyc8.js → schema-xsvq7cjt.js} +4 -4
  271. package/dist/chunks/{file-mutation-z52ffdcm.js → schema-y0e96tr8.js} +9 -9
  272. package/dist/chunks/{file-mutation-y2tacs4v.js → schema-y2tacs4v.js} +1 -1
  273. package/dist/chunks/{file-mutation-ww70jcze.js → schema-y71ps8e5.js} +11 -11
  274. package/dist/chunks/{file-mutation-yb20nhc3.js → schema-yb20nhc3.js} +1 -1
  275. package/dist/chunks/{file-mutation-rstnpv25.js → schema-ypv38js4.js} +21 -21
  276. package/dist/chunks/{file-mutation-wnbwervj.js → schema-ypw7dra2.js} +6 -6
  277. package/dist/chunks/{file-mutation-4x6w1zj9.js → schema-yqhw68ry.js} +24 -24
  278. package/dist/chunks/{file-mutation-an8jph8e.js → schema-ythty13s.js} +47 -47
  279. package/dist/chunks/{file-mutation-ads9zrhy.js → schema-yw3vvjb2.js} +4 -4
  280. package/dist/chunks/{file-mutation-5qykrmpj.js → schema-ywtc9m4k.js} +11 -11
  281. package/dist/chunks/{file-mutation-cm3rm329.js → schema-yx3vrw5p.js} +3 -3
  282. package/dist/chunks/{file-mutation-z0bkrqjs.js → schema-z0bkrqjs.js} +1 -1
  283. package/dist/chunks/{file-mutation-nv70q41g.js → schema-z0sad13k.js} +8 -8
  284. package/dist/chunks/{file-mutation-9e319wwh.js → schema-z28xy0wc.js} +24 -24
  285. package/dist/chunks/{file-mutation-z38nccrw.js → schema-z38nccrw.js} +1 -1
  286. package/dist/chunks/{file-mutation-zkg84ctx.js → schema-zkg84ctx.js} +1 -1
  287. package/dist/chunks/schema-ztkwxhgh.js +517 -0
  288. package/dist/codemode/catalog.js +1 -1
  289. package/dist/codemode/instructions.js +7 -7
  290. package/dist/codemode/tool.js +3 -3
  291. package/dist/codemode/web.js +1 -1
  292. package/dist/command.js +87 -87
  293. package/dist/config/discovery.js +87 -87
  294. package/dist/config/markdown.js +1 -1
  295. package/dist/config/normalize.js +102 -102
  296. package/dist/config/plugin/agent.js +118 -118
  297. package/dist/config/plugin/command.js +214 -214
  298. package/dist/config/plugin/compaction.js +155 -155
  299. package/dist/config/plugin/compatibility.js +135 -135
  300. package/dist/config/plugin/entry-observer.js +1 -1
  301. package/dist/config/plugin/formatter.js +117 -117
  302. package/dist/config/plugin/image.js +116 -116
  303. package/dist/config/plugin/instruction.js +116 -116
  304. package/dist/config/plugin/location-watcher.js +118 -118
  305. package/dist/config/plugin/mcp.js +125 -125
  306. package/dist/config/plugin/policy.js +117 -117
  307. package/dist/config/plugin/provider.js +116 -116
  308. package/dist/config/plugin/reference.js +118 -118
  309. package/dist/config/plugin/shell.js +118 -118
  310. package/dist/config/plugin/skill-file.js +105 -105
  311. package/dist/config/plugin/skill-scan.js +3 -3
  312. package/dist/config/plugin/skill.js +138 -138
  313. package/dist/config/plugin/snapshot.js +116 -116
  314. package/dist/config/plugin/source.js +119 -119
  315. package/dist/config/plugin/tool-output.js +117 -117
  316. package/dist/config/plugin/websearch.js +117 -117
  317. package/dist/config/plugin/worktree.js +118 -118
  318. package/dist/config/variable.js +1 -1
  319. package/dist/config/watch.js +1 -1
  320. package/dist/config.js +121 -121
  321. package/dist/credential/sql.js +2 -2
  322. package/dist/credential.js +85 -85
  323. package/dist/database/database.js +68 -68
  324. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  325. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  326. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  327. package/dist/database/drizzle/index.js +13 -13
  328. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  331. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  333. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  336. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  337. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  338. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  339. package/dist/database/drizzle.js +14 -14
  340. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  341. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  342. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  343. package/dist/database/migration/20260225215848_workspace.js +1 -1
  344. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  345. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  346. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  347. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  348. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  349. package/dist/database/migration/20260323234822_events.js +1 -1
  350. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  351. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  352. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  353. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  354. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  355. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  356. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  357. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  358. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  359. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  360. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  361. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  362. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  363. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  364. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  365. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  366. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  367. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  368. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  369. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  370. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  371. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  372. package/dist/database/migration/20260611035744_credential.js +1 -1
  373. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  374. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  375. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  376. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  377. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  378. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  379. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  380. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  381. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  382. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  383. package/dist/database/migration/20260812213948_worktree.js +1 -1
  384. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  385. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  386. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  387. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  388. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  389. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  390. package/dist/database/migration.gen.js +51 -51
  391. package/dist/database/migration.js +53 -53
  392. package/dist/database/path.js +2 -2
  393. package/dist/database/schema.gen.js +1 -1
  394. package/dist/database/schema.sql.js +1 -1
  395. package/dist/database/sqlite.bun.js +1 -1
  396. package/dist/database/sqlite.js +1 -1
  397. package/dist/database/sqlite.node.js +1 -1
  398. package/dist/database/sqlite.workerd.js +1 -1
  399. package/dist/database/v1-migration.bun.js +95 -95
  400. package/dist/database/v1-migration.js +1 -1
  401. package/dist/effect/app-node-builder.js +370 -370
  402. package/dist/effect/app-node-platform.js +2 -2
  403. package/dist/effect/keyed-mutex.js +3 -3
  404. package/dist/effect/websocket-constructor.js +1 -1
  405. package/dist/environment/driver.js +1 -1
  406. package/dist/environment/environment.js +96 -96
  407. package/dist/environment/exec-defaults.js +2 -2
  408. package/dist/environment/files.js +1 -1
  409. package/dist/environment/index.js +96 -96
  410. package/dist/environment/local.js +2 -2
  411. package/dist/environment/memory.js +2 -2
  412. package/dist/environment/unavailable.js +3 -3
  413. package/dist/event/sql.js +1 -1
  414. package/dist/event-logger.js +76 -76
  415. package/dist/file-access.js +107 -107
  416. package/dist/file-mutation.js +97 -97
  417. package/dist/file-retention.js +1 -1
  418. package/dist/filesystem/fff.bun.js +2 -2
  419. package/dist/filesystem/fff.js +1 -1
  420. package/dist/filesystem/fff.node.js +2 -2
  421. package/dist/filesystem/fff.workerd.js +2 -2
  422. package/dist/filesystem/location-watcher-policy.js +6 -6
  423. package/dist/filesystem/location-watcher.js +227 -227
  424. package/dist/filesystem/protected.js +3 -3
  425. package/dist/filesystem/search.js +102 -102
  426. package/dist/filesystem/watcher-binding.js +1 -1
  427. package/dist/filesystem/watcher.js +11 -11
  428. package/dist/filesystem.js +105 -105
  429. package/dist/form.js +82 -82
  430. package/dist/formatter/builtins.js +4 -4
  431. package/dist/formatter.js +90 -90
  432. package/dist/generate.js +110 -110
  433. package/dist/git.js +11 -11
  434. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  435. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  436. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  437. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  438. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  439. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  440. package/dist/github-copilot/copilot-provider.js +17 -17
  441. package/dist/github-copilot/models.js +102 -102
  442. package/dist/github-copilot/openai-compatible-error.js +1 -1
  443. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  444. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  445. package/dist/github-copilot/responses/openai-error.js +1 -1
  446. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  447. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  448. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  449. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  450. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  451. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  452. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  453. package/dist/image/photon.js +2 -2
  454. package/dist/image.js +6 -6
  455. package/dist/instance/service.js +5 -5
  456. package/dist/instance.js +361 -361
  457. package/dist/instruction-discovery.js +86 -86
  458. package/dist/instructions/builtins.js +88 -88
  459. package/dist/instructions/index.js +1 -1
  460. package/dist/integration/connection.js +3 -3
  461. package/dist/integration.js +89 -89
  462. package/dist/job.js +80 -80
  463. package/dist/kv/sql.js +2 -2
  464. package/dist/kv.js +75 -75
  465. package/dist/location-activity.js +159 -159
  466. package/dist/location-lifecycle.js +110 -110
  467. package/dist/location-service-map.js +89 -89
  468. package/dist/location-services.js +358 -358
  469. package/dist/location.js +90 -90
  470. package/dist/managed-policy.js +8 -8
  471. package/dist/mcp/client.js +94 -94
  472. package/dist/mcp/index.js +108 -108
  473. package/dist/mcp/instructions.js +139 -139
  474. package/dist/mcp/oauth.js +80 -80
  475. package/dist/mcp/socket-client.js +1 -1
  476. package/dist/mcp/stdio.js +93 -93
  477. package/dist/mime.js +1 -1
  478. package/dist/modal/models.js +102 -102
  479. package/dist/model-resolver.js +102 -102
  480. package/dist/model-retry.js +1 -1
  481. package/dist/model.js +103 -103
  482. package/dist/models-dev.js +110 -110
  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 +110 -110
  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 +92 -92
  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 +105 -105
  494. package/dist/plugin/hooks.js +5 -5
  495. package/dist/plugin/host.js +218 -218
  496. package/dist/plugin/identity.js +5 -5
  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 +99 -99
  501. package/dist/plugin/module.js +115 -115
  502. package/dist/plugin/optimize.js +4 -4
  503. package/dist/plugin/plan.js +105 -105
  504. package/dist/plugin/promise.js +1 -1
  505. package/dist/plugin/provider/amazon-bedrock.js +93 -93
  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 +96 -96
  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 +98 -98
  518. package/dist/plugin/provider/gitlab.js +96 -96
  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 +95 -95
  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-context-caps.js +93 -93
  529. package/dist/plugin/provider/openai.js +118 -118
  530. package/dist/plugin/provider/opencode.js +101 -101
  531. package/dist/plugin/provider/openrouter.js +94 -94
  532. package/dist/plugin/provider/perplexity.js +2 -2
  533. package/dist/plugin/provider/poe.js +81 -81
  534. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  535. package/dist/plugin/provider/sap-ai-core.js +94 -94
  536. package/dist/plugin/provider/sdk-factory.js +1 -1
  537. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  538. package/dist/plugin/provider/vercel.js +93 -93
  539. package/dist/plugin/provider/vllm.js +125 -125
  540. package/dist/plugin/provider/xai.js +94 -94
  541. package/dist/plugin/provider/zenmux.js +1 -1
  542. package/dist/plugin/provider.js +168 -168
  543. package/dist/plugin/sdk.js +76 -76
  544. package/dist/plugin/service.js +3 -3
  545. package/dist/plugin/skill.js +132 -132
  546. package/dist/plugin/source-directory.js +1 -1
  547. package/dist/plugin/supervisor.js +349 -349
  548. package/dist/plugin/tool-input-repair.js +4 -4
  549. package/dist/plugin/update.js +6 -6
  550. package/dist/plugin/vcs/git.js +89 -89
  551. package/dist/plugin/vcs/hg.js +87 -87
  552. package/dist/plugin/verbosity.js +96 -96
  553. package/dist/plugin/warming.js +114 -114
  554. package/dist/plugin/websearch/exa.js +7 -7
  555. package/dist/plugin/websearch/firecrawl.js +8 -8
  556. package/dist/plugin/websearch/index.js +9 -9
  557. package/dist/plugin/websearch/mcp.js +6 -6
  558. package/dist/plugin/websearch/parallel.js +6 -6
  559. package/dist/plugin/websearch/tavily.js +6 -6
  560. package/dist/plugin/websearch/tinyfish.js +8 -8
  561. package/dist/plugin.js +225 -225
  562. package/dist/project/schema.js +8 -8
  563. package/dist/project/sql.js +4 -4
  564. package/dist/project.js +93 -93
  565. package/dist/provider.js +102 -102
  566. package/dist/pty/protocol.js +1 -1
  567. package/dist/pty/ticket.js +1 -1
  568. package/dist/pty.js +99 -99
  569. package/dist/reference/instructions.js +92 -92
  570. package/dist/reference.js +94 -94
  571. package/dist/repository-cache.js +84 -84
  572. package/dist/repository.js +1 -1
  573. package/dist/ripgrep/binary.js +2 -2
  574. package/dist/ripgrep.js +98 -98
  575. package/dist/rpc.js +89 -89
  576. package/dist/schema.js +1 -1
  577. package/dist/session/affinity.js +1 -1
  578. package/dist/session/command.js +76 -76
  579. package/dist/session/compaction.js +139 -139
  580. package/dist/session/context.js +165 -165
  581. package/dist/session/diff.js +91 -91
  582. package/dist/session/environment.js +5 -5
  583. package/dist/session/error.js +5 -5
  584. package/dist/session/event.js +1 -1
  585. package/dist/session/execution/restart.js +224 -224
  586. package/dist/session/execution.js +131 -131
  587. package/dist/session/generate.js +167 -167
  588. package/dist/session/history.js +13 -13
  589. package/dist/session/inbox.js +93 -93
  590. package/dist/session/info.js +3 -3
  591. package/dist/session/instruction-entry.js +79 -79
  592. package/dist/session/instruction-state.js +8 -8
  593. package/dist/session/instructions.js +100 -100
  594. package/dist/session/message-updater.js +2 -2
  595. package/dist/session/message.js +1 -1
  596. package/dist/session/model-request.js +123 -123
  597. package/dist/session/model-transport.js +9 -9
  598. package/dist/session/move.js +133 -133
  599. package/dist/session/projector.js +91 -91
  600. package/dist/session/prompt.js +108 -108
  601. package/dist/session/recent-text.js +1 -1
  602. package/dist/session/revert.js +97 -97
  603. package/dist/session/run-coordinator.js +3 -3
  604. package/dist/session/runner/index.js +3 -3
  605. package/dist/session/runner/llm.js +229 -229
  606. package/dist/session/runner/max-steps.js +1 -1
  607. package/dist/session/runner/model.js +103 -103
  608. package/dist/session/runner/publish-llm-event.js +117 -117
  609. package/dist/session/runner/retry.js +5 -5
  610. package/dist/session/runner/step.js +127 -127
  611. package/dist/session/runner/to-llm-message.js +14 -14
  612. package/dist/session/schema.js +5 -5
  613. package/dist/session/session.js +165 -165
  614. package/dist/session/shell.js +130 -130
  615. package/dist/session/skill.js +106 -106
  616. package/dist/session/sql.js +5 -5
  617. package/dist/session/stats.js +75 -75
  618. package/dist/session/store.js +87 -87
  619. package/dist/session/subagent-completion.js +1 -1
  620. package/dist/session/subagent-job.js +212 -212
  621. package/dist/session/system-prompt.js +5 -5
  622. package/dist/session/title.js +163 -163
  623. package/dist/session/to-session-error.js +115 -115
  624. package/dist/session/transfer.js +220 -220
  625. package/dist/session/usage.js +1 -1
  626. package/dist/session.js +216 -216
  627. package/dist/shell/parse.js +8 -8
  628. package/dist/shell/result.js +1 -1
  629. package/dist/shell/scan.js +1 -1
  630. package/dist/shell/select.js +13 -13
  631. package/dist/shell.js +132 -132
  632. package/dist/skill/discovery.js +6 -6
  633. package/dist/skill/instructions.js +110 -110
  634. package/dist/skill.js +117 -117
  635. package/dist/snapshot.js +96 -96
  636. package/dist/state.js +1 -1
  637. package/dist/tool/html-markdown.js +1 -1
  638. package/dist/tool/http-body.js +1 -1
  639. package/dist/tool/mcp.js +138 -138
  640. package/dist/tool/plugin/edit.js +123 -123
  641. package/dist/tool/plugin/file-diff.js +1 -1
  642. package/dist/tool/plugin/glob.js +127 -127
  643. package/dist/tool/plugin/grep.js +127 -127
  644. package/dist/tool/plugin/mcp-resource.js +127 -127
  645. package/dist/tool/plugin/opencode.js +112 -112
  646. package/dist/tool/plugin/patch.js +125 -125
  647. package/dist/tool/plugin/question.js +108 -108
  648. package/dist/tool/plugin/read.js +128 -128
  649. package/dist/tool/plugin/shell.js +217 -217
  650. package/dist/tool/plugin/skill.js +116 -116
  651. package/dist/tool/plugin/subagent.js +219 -219
  652. package/dist/tool/plugin/todo.js +138 -138
  653. package/dist/tool/plugin/webfetch.js +116 -116
  654. package/dist/tool/plugin/websearch.js +117 -117
  655. package/dist/tool/plugin/write.js +125 -125
  656. package/dist/tool/read-filesystem.js +105 -105
  657. package/dist/tool/runtime.js +1 -1
  658. package/dist/tool-output.js +7 -7
  659. package/dist/tool.js +14 -14
  660. package/dist/util/error-summary.js +1 -1
  661. package/dist/util/git-executable.js +3 -3
  662. package/dist/util/lazy.js +1 -1
  663. package/dist/util/slug.js +1 -1
  664. package/dist/util/token.js +1 -1
  665. package/dist/util/which.js +1 -1
  666. package/dist/util/wildcard.js +1 -1
  667. package/dist/v1/config/agent.js +5 -5
  668. package/dist/v1/config/command.js +5 -5
  669. package/dist/v1/config/mcp.js +4 -4
  670. package/dist/v1/config/migrate.js +95 -95
  671. package/dist/v1/config/permission.js +3 -3
  672. package/dist/v1/config/plugin.js +3 -3
  673. package/dist/v1/config/provider-options.js +1 -1
  674. package/dist/v1/config/provider.js +4 -4
  675. package/dist/variant.js +94 -94
  676. package/dist/vcs/patch.js +1 -1
  677. package/dist/vcs.js +92 -92
  678. package/dist/voice.js +90 -90
  679. package/dist/websearch.js +86 -86
  680. package/dist/wellknown/plugin.js +76 -76
  681. package/dist/wellknown.js +83 -83
  682. package/dist/workspace/driver.js +5 -5
  683. package/dist/workspace/sql.js +1 -1
  684. package/dist/workspace.js +84 -84
  685. package/dist/worktree/directory.js +2 -2
  686. package/dist/worktree/git.js +11 -11
  687. package/dist/worktree/sql.js +5 -5
  688. package/dist/worktree/strategies.js +92 -92
  689. package/dist/worktree.js +101 -101
  690. package/package.json +8 -8
  691. package/dist/chunks/file-mutation-33kxm06j.js +0 -26
  692. package/dist/chunks/file-mutation-6bgb0w8a.js +0 -257
  693. package/dist/chunks/file-mutation-nzgmgab6.js +0 -517
  694. package/dist/chunks/file-mutation-vdh3rgac.js +0 -18
  695. /package/dist/chunks/{file-mutation-0qkdqm5v.js → schema-0qkdqm5v.js} +0 -0
  696. /package/dist/chunks/{file-mutation-0zkw76rk.js → schema-0zkw76rk.js} +0 -0
  697. /package/dist/chunks/{file-mutation-17cy0kzp.js → schema-17cy0kzp.js} +0 -0
  698. /package/dist/chunks/{file-mutation-1cnp2v09.js → schema-1cnp2v09.js} +0 -0
  699. /package/dist/chunks/{file-mutation-24dcb14g.js → schema-24dcb14g.js} +0 -0
  700. /package/dist/chunks/{file-mutation-2710q6r3.js → schema-2710q6r3.js} +0 -0
  701. /package/dist/chunks/{file-mutation-2bv980vf.js → schema-2bv980vf.js} +0 -0
  702. /package/dist/chunks/{file-mutation-2c3vjs8z.js → schema-2c3vjs8z.js} +0 -0
  703. /package/dist/chunks/{file-mutation-359p4xyc.js → schema-359p4xyc.js} +0 -0
  704. /package/dist/chunks/{file-mutation-3asan66x.js → schema-3asan66x.js} +0 -0
  705. /package/dist/chunks/{file-mutation-3v8g72cx.js → schema-3v8g72cx.js} +0 -0
  706. /package/dist/chunks/{file-mutation-3wcehsnq.js → schema-3wcehsnq.js} +0 -0
  707. /package/dist/chunks/{file-mutation-43n2bw4t.js → schema-43n2bw4t.js} +0 -0
  708. /package/dist/chunks/{file-mutation-4knz6hnm.js → schema-4knz6hnm.js} +0 -0
  709. /package/dist/chunks/{file-mutation-4vcrnpx2.js → schema-4vcrnpx2.js} +0 -0
  710. /package/dist/chunks/{file-mutation-4y7fprxs.js → schema-4y7fprxs.js} +0 -0
  711. /package/dist/chunks/{file-mutation-53557ph1.js → schema-53557ph1.js} +0 -0
  712. /package/dist/chunks/{file-mutation-550bvhaj.js → schema-550bvhaj.js} +0 -0
  713. /package/dist/chunks/{file-mutation-5fjb7ams.js → schema-5fjb7ams.js} +0 -0
  714. /package/dist/chunks/{file-mutation-5qd3pb7m.js → schema-5qd3pb7m.js} +0 -0
  715. /package/dist/chunks/{file-mutation-6prwharc.js → schema-6prwharc.js} +0 -0
  716. /package/dist/chunks/{file-mutation-6q2bdcd1.js → schema-6q2bdcd1.js} +0 -0
  717. /package/dist/chunks/{file-mutation-7akdwqpd.js → schema-7akdwqpd.js} +0 -0
  718. /package/dist/chunks/{file-mutation-7m9af43g.js → schema-7m9af43g.js} +0 -0
  719. /package/dist/chunks/{file-mutation-822emrt2.js → schema-822emrt2.js} +0 -0
  720. /package/dist/chunks/{file-mutation-84wd9syh.js → schema-84wd9syh.js} +0 -0
  721. /package/dist/chunks/{file-mutation-88xbtdfr.js → schema-88xbtdfr.js} +0 -0
  722. /package/dist/chunks/{file-mutation-8n3pysct.js → schema-8n3pysct.js} +0 -0
  723. /package/dist/chunks/{file-mutation-8wj87zfr.js → schema-8wj87zfr.js} +0 -0
  724. /package/dist/chunks/{file-mutation-9a4afbnw.js → schema-9a4afbnw.js} +0 -0
  725. /package/dist/chunks/{file-mutation-9rqn6x4v.js → schema-9rqn6x4v.js} +0 -0
  726. /package/dist/chunks/{file-mutation-a058387c.js → schema-a058387c.js} +0 -0
  727. /package/dist/chunks/{file-mutation-a6k6eb26.js → schema-a6k6eb26.js} +0 -0
  728. /package/dist/chunks/{file-mutation-af5trqkr.js → schema-af5trqkr.js} +0 -0
  729. /package/dist/chunks/{file-mutation-afrmfg78.js → schema-afrmfg78.js} +0 -0
  730. /package/dist/chunks/{file-mutation-aqzs7mqg.js → schema-aqzs7mqg.js} +0 -0
  731. /package/dist/chunks/{file-mutation-atq7p7m5.js → schema-atq7p7m5.js} +0 -0
  732. /package/dist/chunks/{file-mutation-bkyjaxrp.js → schema-bkyjaxrp.js} +0 -0
  733. /package/dist/chunks/{file-mutation-bmr6ed5q.js → schema-bmr6ed5q.js} +0 -0
  734. /package/dist/chunks/{file-mutation-cf4snx6d.js → schema-cf4snx6d.js} +0 -0
  735. /package/dist/chunks/{file-mutation-cvy3z8tj.js → schema-cvy3z8tj.js} +0 -0
  736. /package/dist/chunks/{file-mutation-d9fn303g.js → schema-d9fn303g.js} +0 -0
  737. /package/dist/chunks/{file-mutation-d9jj8t3e.js → schema-d9jj8t3e.js} +0 -0
  738. /package/dist/chunks/{file-mutation-dajrwvna.js → schema-dajrwvna.js} +0 -0
  739. /package/dist/chunks/{file-mutation-dap0rakb.js → schema-dap0rakb.js} +0 -0
  740. /package/dist/chunks/{file-mutation-df08tz66.js → schema-df08tz66.js} +0 -0
  741. /package/dist/chunks/{file-mutation-dy18nga0.js → schema-dy18nga0.js} +0 -0
  742. /package/dist/chunks/{file-mutation-e5kj55wp.js → schema-e5kj55wp.js} +0 -0
  743. /package/dist/chunks/{file-mutation-e73j6tqm.js → schema-e73j6tqm.js} +0 -0
  744. /package/dist/chunks/{file-mutation-ec1grn59.js → schema-ec1grn59.js} +0 -0
  745. /package/dist/chunks/{file-mutation-eh3zwz77.js → schema-eh3zwz77.js} +0 -0
  746. /package/dist/chunks/{file-mutation-emrn6kk6.js → schema-emrn6kk6.js} +0 -0
  747. /package/dist/chunks/{file-mutation-f0mxakyp.js → schema-f0mxakyp.js} +0 -0
  748. /package/dist/chunks/{file-mutation-f6n9ztr4.js → schema-f6n9ztr4.js} +0 -0
  749. /package/dist/chunks/{file-mutation-faypxj3z.js → schema-faypxj3z.js} +0 -0
  750. /package/dist/chunks/{file-mutation-fd410y7t.js → schema-fd410y7t.js} +0 -0
  751. /package/dist/chunks/{file-mutation-g4wezp1m.js → schema-g4wezp1m.js} +0 -0
  752. /package/dist/chunks/{file-mutation-g86h250q.js → schema-g86h250q.js} +0 -0
  753. /package/dist/chunks/{file-mutation-gebd4c9n.js → schema-gebd4c9n.js} +0 -0
  754. /package/dist/chunks/{file-mutation-gftt206x.js → schema-gftt206x.js} +0 -0
  755. /package/dist/chunks/{file-mutation-hcxmzztb.js → schema-hcxmzztb.js} +0 -0
  756. /package/dist/chunks/{file-mutation-hk9envan.js → schema-hk9envan.js} +0 -0
  757. /package/dist/chunks/{file-mutation-j2ntwpah.js → schema-j2ntwpah.js} +0 -0
  758. /package/dist/chunks/{file-mutation-j5zkgpj8.js → schema-j5zkgpj8.js} +0 -0
  759. /package/dist/chunks/{file-mutation-jjkms2e6.js → schema-jjkms2e6.js} +0 -0
  760. /package/dist/chunks/{file-mutation-jr7sbwjy.js → schema-jr7sbwjy.js} +0 -0
  761. /package/dist/chunks/{file-mutation-jwfs4k6c.js → schema-jwfs4k6c.js} +0 -0
  762. /package/dist/chunks/{file-mutation-jze0r7bz.js → schema-jze0r7bz.js} +0 -0
  763. /package/dist/chunks/{file-mutation-jzg6c2d5.js → schema-jzg6c2d5.js} +0 -0
  764. /package/dist/chunks/{file-mutation-m18g726c.js → schema-m18g726c.js} +0 -0
  765. /package/dist/chunks/{file-mutation-mp448xyj.js → schema-mp448xyj.js} +0 -0
  766. /package/dist/chunks/{file-mutation-msx8hqn2.js → schema-msx8hqn2.js} +0 -0
  767. /package/dist/chunks/{file-mutation-n05xt0ee.js → schema-n05xt0ee.js} +0 -0
  768. /package/dist/chunks/{file-mutation-n3j8tn72.js → schema-n3j8tn72.js} +0 -0
  769. /package/dist/chunks/{file-mutation-njntx4h6.js → schema-njntx4h6.js} +0 -0
  770. /package/dist/chunks/{file-mutation-pkyv6v7h.js → schema-pkyv6v7h.js} +0 -0
  771. /package/dist/chunks/{file-mutation-q3sfg36h.js → schema-q3sfg36h.js} +0 -0
  772. /package/dist/chunks/{file-mutation-q74kybfr.js → schema-q74kybfr.js} +0 -0
  773. /package/dist/chunks/{file-mutation-qaymkmh1.js → schema-qaymkmh1.js} +0 -0
  774. /package/dist/chunks/{file-mutation-qb87gjwd.js → schema-qb87gjwd.js} +0 -0
  775. /package/dist/chunks/{file-mutation-qfa1cgps.js → schema-qfa1cgps.js} +0 -0
  776. /package/dist/chunks/{file-mutation-qg3g05ea.js → schema-qg3g05ea.js} +0 -0
  777. /package/dist/chunks/{file-mutation-qrg20bc0.js → schema-qrg20bc0.js} +0 -0
  778. /package/dist/chunks/{file-mutation-rcb2kzg1.js → schema-rcb2kzg1.js} +0 -0
  779. /package/dist/chunks/{file-mutation-sdp7kfr6.js → schema-sdp7kfr6.js} +0 -0
  780. /package/dist/chunks/{file-mutation-ssg3fenm.js → schema-ssg3fenm.js} +0 -0
  781. /package/dist/chunks/{file-mutation-ve7vex1e.js → schema-ve7vex1e.js} +0 -0
  782. /package/dist/chunks/{file-mutation-w803qqfp.js → schema-w803qqfp.js} +0 -0
  783. /package/dist/chunks/{file-mutation-wc3fc9cn.js → schema-wc3fc9cn.js} +0 -0
  784. /package/dist/chunks/{file-mutation-wer8tq1h.js → schema-wer8tq1h.js} +0 -0
  785. /package/dist/chunks/{file-mutation-wjj7prxr.js → schema-wjj7prxr.js} +0 -0
  786. /package/dist/chunks/{file-mutation-wtztk69x.js → schema-wtztk69x.js} +0 -0
  787. /package/dist/chunks/{file-mutation-x0ckcb58.js → schema-x0ckcb58.js} +0 -0
  788. /package/dist/chunks/{file-mutation-x61499pn.js → schema-x61499pn.js} +0 -0
  789. /package/dist/chunks/{file-mutation-y44na4kk.js → schema-y44na4kk.js} +0 -0
  790. /package/dist/chunks/{file-mutation-y8f7s663.js → schema-y8f7s663.js} +0 -0
  791. /package/dist/chunks/{file-mutation-ygaqb7jw.js → schema-ygaqb7jw.js} +0 -0
  792. /package/dist/chunks/{file-mutation-ym463w8f.js → schema-ym463w8f.js} +0 -0
  793. /package/dist/chunks/{file-mutation-z5v4ffb3.js → schema-z5v4ffb3.js} +0 -0
  794. /package/dist/chunks/{file-mutation-z9919s4g.js → schema-z9919s4g.js} +0 -0
@@ -1,63 +1,63 @@
1
1
  import {
2
2
  NonNegativeInt2
3
- } from "./file-mutation-z5v4ffb3.js";
3
+ } from "./schema-z5v4ffb3.js";
4
4
  import {
5
5
  latest2,
6
- Service57
7
- } from "./file-mutation-tgkfec1y.js";
6
+ Service61
7
+ } from "./schema-t1w3prdq.js";
8
8
  import {
9
9
  typeFollowing2
10
- } from "./file-mutation-zkg84ctx.js";
10
+ } from "./schema-zkg84ctx.js";
11
11
  import {
12
- Service77
13
- } from "./file-mutation-4x6w1zj9.js";
12
+ Service58
13
+ } from "./schema-yqhw68ry.js";
14
14
  import {
15
- Service40
16
- } from "./file-mutation-fmqc0xxy.js";
15
+ Service84
16
+ } from "./schema-m33z69w0.js";
17
17
  import {
18
- Service69
19
- } from "./file-mutation-r4tfxt3f.js";
18
+ Service74
19
+ } from "./schema-7gf3pvgw.js";
20
20
  import {
21
- Service68,
21
+ Service46,
22
22
  resolvePath2
23
- } from "./file-mutation-rc8s48yf.js";
23
+ } from "./schema-rt1c7dae.js";
24
24
  import {
25
25
  output2,
26
26
  notice2,
27
27
  metadata2,
28
28
  notification2
29
- } from "./file-mutation-k814nvkf.js";
29
+ } from "./schema-k814nvkf.js";
30
30
  import {
31
- Service84,
31
+ Service60,
32
32
  name16
33
- } from "./file-mutation-4x9m2bcx.js";
33
+ } from "./schema-fv09tp7k.js";
34
34
  import {
35
- NotFoundError3,
36
- Service41
37
- } from "./file-mutation-38wt7cws.js";
35
+ NotFoundError7,
36
+ Service55
37
+ } from "./schema-fs3bfktd.js";
38
38
  import {
39
- Service20
40
- } from "./file-mutation-ed4thbkn.js";
39
+ Service16
40
+ } from "./schema-dtg24jm0.js";
41
41
  import {
42
- scan2
43
- } from "./file-mutation-sgzfv2ep.js";
42
+ scan3
43
+ } from "./schema-aq1t7e1s.js";
44
44
  import {
45
45
  __export
46
- } from "./file-mutation-9rqn6x4v.js";
46
+ } from "./schema-9rqn6x4v.js";
47
47
 
48
48
  // src/tool/plugin/shell.ts
49
- var exports_shell = {};
50
- __export(exports_shell, {
49
+ var exports_shell2 = {};
50
+ __export(exports_shell2, {
51
51
  DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
52
- Input: () => Input8,
53
- Plugin: () => Plugin9,
54
- ShellTool: () => exports_shell,
55
- name: () => name8
52
+ Input: () => Input11,
53
+ Plugin: () => Plugin47,
54
+ ShellTool: () => exports_shell2,
55
+ name: () => name11
56
56
  });
57
57
  import { ToolFailure } from "@opencode/ai";
58
58
  import { Deferred, Effect, Schema, Scope } from "effect";
59
59
  import { shellParserWasm } from "#shell-parser-wasm";
60
- var name8 = "shell";
60
+ var name11 = "shell";
61
61
  var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
62
62
  var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
63
63
  var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
@@ -71,7 +71,7 @@ var description = (shell) => [
71
71
  "Commands accept an optional timeout, background commands have no timeout by default.",
72
72
  "Background commands return immediately, and you will be notified when they complete."
73
73
  ].join(" ");
74
- var Input8 = Schema.Struct({
74
+ var Input11 = Schema.Struct({
75
75
  command: Schema.String.annotate({ description: "Shell command string to execute" }),
76
76
  workdir: Schema.optionalKey(Schema.String).annotate({
77
77
  description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
@@ -117,19 +117,19 @@ Output is streaming to: ${file}`,
117
117
  truncated: false,
118
118
  status: "running"
119
119
  });
120
- var Plugin9 = {
120
+ var Plugin47 = {
121
121
  id: "opencode.tool.shell",
122
122
  effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
123
- const sessions = yield* Service20;
124
- const jobs = yield* Service40;
123
+ const sessions = yield* Service16;
124
+ const jobs = yield* Service84;
125
125
  const scope = yield* Scope.Scope;
126
- const environment = yield* Service77;
127
- const access = yield* Service68;
128
- const shell = yield* Service41;
129
- const shellSelect = yield* Service84;
126
+ const environment = yield* Service58;
127
+ const access = yield* Service46;
128
+ const shell = yield* Service55;
129
+ const shellSelect = yield* Service60;
130
130
  const compatibleShell = shellSelect.resolve({ priority: "compat" });
131
- const permission = yield* Service69;
132
- const config = yield* Service57;
131
+ const permission = yield* Service74;
132
+ const config = yield* Service61;
133
133
  const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
134
134
  const source = {
135
135
  type: "tool",
@@ -140,7 +140,7 @@ var Plugin9 = {
140
140
  invocation.cwd = target.absolute;
141
141
  const timeout = invocation.timeout;
142
142
  const portable = latest2(yield* config.entries(), "experimental")?.portable_shell_scanner ?? (shellParserWasm.bash === "" || ctx.app.channel === "local" || ctx.app.channel === "dev");
143
- const parsed = yield* scan2(invocation.command, invocation.shell, target.absolute, { portable });
143
+ const parsed = yield* scan3(invocation.command, invocation.shell, target.absolute, { portable });
144
144
  const directories = yield* Effect.forEach(parsed.directories, (directory) => access.resolve({
145
145
  path: resolvePath2(target.absolute, directory),
146
146
  kind: "directory"
@@ -148,7 +148,7 @@ var Plugin9 = {
148
148
  yield* access.authorizeExternal([target, ...directories], context);
149
149
  if (parsed.commands.length > 0)
150
150
  yield* permission.assert({
151
- action: name8,
151
+ action: name11,
152
152
  resources: parsed.commands.map((command) => command.resource),
153
153
  save: parsed.commands.map((command) => command.save),
154
154
  sessionID: context.sessionID,
@@ -185,10 +185,10 @@ var Plugin9 = {
185
185
  yield* jobs.completeBackground(info.notificationID);
186
186
  }, Effect.forkIn(scope, { startImmediately: true }));
187
187
  yield* ctx.tool.transform((editor) => editor.add({
188
- name: name8,
188
+ name: name11,
189
189
  options: { codemode: false },
190
190
  description: description(),
191
- input: Input8,
191
+ input: Input11,
192
192
  output: Output,
193
193
  execute: (input, context) => Effect.gen(function* () {
194
194
  const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
@@ -211,7 +211,7 @@ var Plugin9 = {
211
211
  const run = Effect.gen(function* () {
212
212
  const result = yield* shell.result(info);
213
213
  if (!result.capture)
214
- return yield* new NotFoundError3({ id: info.id });
214
+ return yield* new NotFoundError7({ id: info.id });
215
215
  const output = output2(result);
216
216
  return {
217
217
  ...output,
@@ -225,7 +225,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
225
225
  `)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
226
226
  const job = yield* jobs.start({
227
227
  id: info.id,
228
- type: name8,
228
+ type: name11,
229
229
  title: info.command,
230
230
  metadata: { sessionID: context.sessionID, shellID: info.id },
231
231
  recovery: {
@@ -255,7 +255,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
255
255
  }).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
256
256
  })).pipe(Effect.orDie);
257
257
  const hook = (event) => Effect.gen(function* () {
258
- const tool = event.tools[name8];
258
+ const tool = event.tools[name11];
259
259
  if (!tool)
260
260
  return;
261
261
  tool.description = description(name16(yield* compatibleShell));
@@ -266,4 +266,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
266
266
  })
267
267
  };
268
268
 
269
- export { name8, DEFAULT_TIMEOUT_MS2, Input8, Plugin9, exports_shell };
269
+ export { name11, DEFAULT_TIMEOUT_MS2, Input11, Plugin47, exports_shell2 };
@@ -1,42 +1,42 @@
1
1
  import {
2
- Service85,
3
- node89
4
- } from "./file-mutation-bhymm4ka.js";
2
+ Service83,
3
+ node87
4
+ } from "./schema-eqzmv0k0.js";
5
5
  import {
6
- Service30,
7
- node33
8
- } from "./file-mutation-0xwwrpjs.js";
6
+ Service27,
7
+ node30
8
+ } from "./schema-eda149f3.js";
9
9
  import {
10
10
  isTextual2
11
- } from "./file-mutation-2z1j29yd.js";
11
+ } from "./schema-2z1j29yd.js";
12
12
  import {
13
- Service69,
14
- node72
15
- } from "./file-mutation-r4tfxt3f.js";
13
+ Service74,
14
+ node78
15
+ } from "./schema-7gf3pvgw.js";
16
16
  import {
17
- Service52,
18
- node55
19
- } from "./file-mutation-sndntm2r.js";
17
+ Service31,
18
+ node34
19
+ } from "./schema-282ey04p.js";
20
20
  import {
21
- Service43,
22
- node46
23
- } from "./file-mutation-ppd8r3bw.js";
21
+ Service57,
22
+ node60
23
+ } from "./schema-cwz77rcy.js";
24
24
  import {
25
25
  MEDIA_MIMES2
26
- } from "./file-mutation-rdsfrh75.js";
26
+ } from "./schema-g5m9rhne.js";
27
27
  import {
28
28
  __export
29
- } from "./file-mutation-9rqn6x4v.js";
29
+ } from "./schema-9rqn6x4v.js";
30
30
 
31
31
  // src/tool/mcp.ts
32
32
  var exports_mcp3 = {};
33
33
  __export(exports_mcp3, {
34
34
  McpTool: () => exports_mcp3,
35
- Service: () => Service28,
35
+ Service: () => Service26,
36
36
  layer: () => layer13,
37
- name: () => name14,
37
+ name: () => name15,
38
38
  namespace: () => namespace2,
39
- node: () => node31
39
+ node: () => node29
40
40
  });
41
41
  import { ToolFailure } from "@opencode/ai";
42
42
  import { McpEvent } from "@opencode/schema/mcp-event";
@@ -45,16 +45,16 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
45
45
  import { extension } from "mime-types";
46
46
  var decodeJson = Schema.decodeUnknownOption(Schema.fromJsonString(Schema.Unknown));
47
47
  var namespace2 = (server) => server.replace(/[^a-zA-Z0-9_-]/g, "_");
48
- var name14 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
48
+ var name15 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
49
49
 
50
- class Service28 extends Context.Service()("@opencode/McpTool") {
50
+ class Service26 extends Context.Service()("@opencode/McpTool") {
51
51
  }
52
- var layer13 = Layer.effect(Service28, Effect.gen(function* () {
53
- const mcp = yield* Service30;
54
- const tools = yield* Service52;
55
- const bus = yield* Service85;
56
- const permission = yield* Service69;
57
- const toolOutput = yield* Service43;
52
+ var layer13 = Layer.effect(Service26, Effect.gen(function* () {
53
+ const mcp = yield* Service27;
54
+ const tools = yield* Service31;
55
+ const bus = yield* Service83;
56
+ const permission = yield* Service74;
57
+ const toolOutput = yield* Service57;
58
58
  const lock = Semaphore.makeUnsafe(1);
59
59
  let discovered = [];
60
60
  const initial = yield* lock.withPermit(Effect.gen(function* () {
@@ -69,7 +69,7 @@ var layer13 = Layer.effect(Service28, Effect.gen(function* () {
69
69
  output: tool.outputSchema ?? {},
70
70
  execute: (input, context) => Effect.gen(function* () {
71
71
  yield* permission.assert({
72
- action: name14(tool.server, tool.name),
72
+ action: name15(tool.server, tool.name),
73
73
  resources: ["*"],
74
74
  save: ["*"],
75
75
  metadata: { input: input ?? {} },
@@ -111,7 +111,7 @@ var layer13 = Layer.effect(Service28, Effect.gen(function* () {
111
111
  output: output(),
112
112
  ...content.length === 0 ? {} : { content }
113
113
  };
114
- }).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${name14(tool.server, tool.name)}` })))
114
+ }).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${name15(tool.server, tool.name)}` })))
115
115
  });
116
116
  }
117
117
  });
@@ -124,7 +124,7 @@ var layer13 = Layer.effect(Service28, Effect.gen(function* () {
124
124
  yield* bus.subscribe(McpEvent.ToolsChanged).pipe(Stream.runForEach(() => PubSub.publish(changes, undefined)), Effect.forkScoped({ startImmediately: true }));
125
125
  const updates = yield* PubSub.subscribe(changes);
126
126
  yield* Stream.fromSubscription(updates).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reconcile), Effect.forkScoped({ startImmediately: true }));
127
- return Service28.of({ flush: Effect.asVoid(Fiber.await(initial)) });
127
+ return Service26.of({ flush: Effect.asVoid(Fiber.await(initial)) });
128
128
  }));
129
129
  var toContent = Effect.fnUntraced(function* (part, toolOutput) {
130
130
  if (part.type === "text")
@@ -144,10 +144,10 @@ ${bytes.toString("utf8")}` };
144
144
  text: `[Binary resource ${label} (${part.mimeType}, ${bytes.byteLength} bytes) saved to ${file}]`
145
145
  };
146
146
  });
147
- var node31 = makeLocationNode({
148
- service: Service28,
147
+ var node29 = makeLocationNode({
148
+ service: Service26,
149
149
  layer: layer13,
150
- deps: [node55, node33, node89, node72, node46]
150
+ deps: [node34, node30, node87, node78, node60]
151
151
  });
152
152
 
153
- export { namespace2, name14, Service28, layer13, node31, exports_mcp3 };
153
+ export { namespace2, name15, Service26, layer13, node29, exports_mcp3 };
@@ -5,17 +5,17 @@ import {
5
5
  renderInitial2,
6
6
  renderUpdate2,
7
7
  applyHashDelta2
8
- } from "./file-mutation-y2tacs4v.js";
8
+ } from "./schema-y2tacs4v.js";
9
9
  import {
10
10
  SessionEvent2
11
- } from "./file-mutation-ec1grn59.js";
11
+ } from "./schema-ec1grn59.js";
12
12
  import {
13
13
  InstructionBlobTable2,
14
14
  InstructionStateTable2
15
- } from "./file-mutation-998yhzzq.js";
15
+ } from "./schema-998yhzzq.js";
16
16
  import {
17
17
  __export
18
- } from "./file-mutation-9rqn6x4v.js";
18
+ } from "./schema-9rqn6x4v.js";
19
19
 
20
20
  // src/session/instruction-state.ts
21
21
  var exports_instruction_state = {};
@@ -1,37 +1,37 @@
1
1
  import {
2
2
  useragent2
3
- } from "./file-mutation-x96j0kvq.js";
3
+ } from "./schema-9yy9tn8q.js";
4
4
  import {
5
- Service85
6
- } from "./file-mutation-bhymm4ka.js";
5
+ Service83
6
+ } from "./schema-eqzmv0k0.js";
7
7
  import {
8
8
  OAuth3,
9
- Event13,
10
- Service62
11
- } from "./file-mutation-75d5grb6.js";
9
+ Event12,
10
+ Service66
11
+ } from "./schema-88118qy8.js";
12
12
  import {
13
- ID9,
13
+ ID8,
14
14
  MethodID2,
15
- Service61
16
- } from "./file-mutation-g484p7w5.js";
15
+ Service65
16
+ } from "./schema-92fa10hr.js";
17
17
  import {
18
18
  success2,
19
19
  error2
20
- } from "./file-mutation-yb20nhc3.js";
20
+ } from "./schema-yb20nhc3.js";
21
21
  import {
22
- ID8
23
- } from "./file-mutation-sbsfx9rq.js";
22
+ ID7
23
+ } from "./schema-mx1kx71f.js";
24
24
  import {
25
25
  configuredSettings2
26
- } from "./file-mutation-8404fn9j.js";
26
+ } from "./schema-a1y47zhx.js";
27
27
 
28
28
  // src/plugin/provider/snowflake-cortex.ts
29
29
  import { define } from "@opencode/plugin/effect/plugin";
30
30
  import { Form } from "@opencode/schema/form";
31
31
  import { Clock, Deferred, Effect, Option, Schema, Stream } from "effect";
32
32
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
33
- var providerID = ID8.make("snowflake-cortex");
34
- var integrationID = ID9.make(providerID);
33
+ var providerID = ID7.make("snowflake-cortex");
34
+ var integrationID = ID8.make(providerID);
35
35
  var methodID = MethodID2.make("browser");
36
36
  var clientID = "LOCAL_APPLICATION";
37
37
  var accountForm = Form.Fields.make([
@@ -53,9 +53,9 @@ var SnowflakeCortexPlugin2 = define({
53
53
  id: "opencode.provider.snowflake.cortex",
54
54
  effect: Effect.fn(function* (ctx) {
55
55
  const http = yield* HttpClient.HttpClient;
56
- const credentials = yield* Service62;
57
- const integrations = yield* Service61;
58
- const bus = yield* Service85;
56
+ const credentials = yield* Service66;
57
+ const integrations = yield* Service65;
58
+ const bus = yield* Service83;
59
59
  const configured = yield* configuredSettings2(providerID);
60
60
  const account = { value: "" };
61
61
  const saved = Effect.gen(function* () {
@@ -186,7 +186,7 @@ var SnowflakeCortexPlugin2 = define({
186
186
  });
187
187
  }
188
188
  });
189
- yield* bus.subscribe(Event13.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(() => load.pipe(Effect.andThen(ctx.provider.reload()))), Effect.forkScoped({ startImmediately: true }));
189
+ yield* bus.subscribe(Event12.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(() => load.pipe(Effect.andThen(ctx.provider.reload()))), Effect.forkScoped({ startImmediately: true }));
190
190
  yield* ctx.session.hook("http.request", (event) => Effect.sync(() => {
191
191
  const token = envToken();
192
192
  if (token)
@@ -1,39 +1,39 @@
1
1
  import {
2
2
  Failed2
3
- } from "./file-mutation-zkg84ctx.js";
3
+ } from "./schema-zkg84ctx.js";
4
4
  import {
5
5
  execDefaults2
6
- } from "./file-mutation-g5h9c0rr.js";
6
+ } from "./schema-g5h9c0rr.js";
7
7
  import {
8
8
  Service86,
9
9
  node90
10
- } from "./file-mutation-8qvck1z4.js";
10
+ } from "./schema-jc1zpzm6.js";
11
11
  import {
12
12
  makeUnsafe2
13
- } from "./file-mutation-qjgzc4b4.js";
13
+ } from "./schema-3nfpgkj0.js";
14
14
  import {
15
15
  Binding2,
16
16
  RegistryService2,
17
- node82
18
- } from "./file-mutation-yq70x34n.js";
17
+ node63
18
+ } from "./schema-1m98x74e.js";
19
19
  import {
20
20
  WorkspaceTable2
21
- } from "./file-mutation-faypxj3z.js";
21
+ } from "./schema-faypxj3z.js";
22
22
  import {
23
23
  __export
24
- } from "./file-mutation-9rqn6x4v.js";
24
+ } from "./schema-9rqn6x4v.js";
25
25
 
26
26
  // src/workspace.ts
27
27
  var exports_workspace = {};
28
28
  __export(exports_workspace, {
29
29
  CreateConflict: () => CreateConflict2,
30
- ID: () => ID16,
31
- Info: () => Info26,
30
+ ID: () => ID5,
31
+ Info: () => Info11,
32
32
  NotFound: () => NotFound2,
33
- Service: () => Service78,
33
+ Service: () => Service59,
34
34
  Workspace: () => exports_workspace,
35
- configured: () => configured9,
36
- node: () => node81
35
+ configured: () => configured7,
36
+ node: () => node62
37
37
  });
38
38
  import { Workspace } from "@opencode/schema/workspace";
39
39
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
@@ -41,10 +41,10 @@ import { eq } from "drizzle-orm";
41
41
  import { Clock, Context, Deferred, Duration, Effect, Exit, FiberSet, Layer, Ref, Schedule, Schema, Scope } from "effect";
42
42
  import { systemError } from "effect/PlatformError";
43
43
  import { make } from "effect/process/ChildProcessSpawner";
44
- var ID16 = Workspace.ID;
44
+ var ID5 = Workspace.ID;
45
45
 
46
- class Info26 extends Schema.Class("Workspace.Info")({
47
- id: ID16,
46
+ class Info11 extends Schema.Class("Workspace.Info")({
47
+ id: ID5,
48
48
  provider: Schema.String,
49
49
  binding: Binding2,
50
50
  createdAt: Schema.Number,
@@ -52,24 +52,24 @@ class Info26 extends Schema.Class("Workspace.Info")({
52
52
  }) {
53
53
  }
54
54
 
55
- class NotFound2 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID16 }) {
55
+ class NotFound2 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID5 }) {
56
56
  }
57
57
 
58
58
  class CreateConflict2 extends Schema.TaggedError()("Workspace.CreateConflict", {
59
- workspaceID: ID16,
59
+ workspaceID: ID5,
60
60
  provider: Schema.String,
61
61
  existingProvider: Schema.String
62
62
  }) {
63
63
  }
64
64
 
65
- class Service78 extends Context.Service()("@opencode/Workspace") {
65
+ class Service59 extends Context.Service()("@opencode/Workspace") {
66
66
  }
67
- var configured9 = (options = {}) => makeGlobalNode({
68
- service: Service78,
67
+ var configured7 = (options = {}) => makeGlobalNode({
68
+ service: Service59,
69
69
  layer: layer(options),
70
- deps: [node90, node82]
70
+ deps: [node90, node63]
71
71
  });
72
- var layer = (options) => Layer.effect(Service78, Effect.gen(function* () {
72
+ var layer = (options) => Layer.effect(Service59, Effect.gen(function* () {
73
73
  const db = (yield* Service86).db;
74
74
  const registry = yield* RegistryService2;
75
75
  const lifetime = yield* Scope.Scope;
@@ -86,7 +86,7 @@ var layer = (options) => Layer.effect(Service78, Effect.gen(function* () {
86
86
  return row;
87
87
  });
88
88
  const saveBinding = (workspaceID, binding) => db.update(WorkspaceTable2).set({ binding }).where(eq(WorkspaceTable2.id, workspaceID)).run().pipe(Effect.orDie);
89
- const info = (row, binding) => new Info26({
89
+ const info = (row, binding) => new Info11({
90
90
  id: row.id,
91
91
  provider: row.provider,
92
92
  binding,
@@ -164,9 +164,9 @@ var layer = (options) => Layer.effect(Service78, Effect.gen(function* () {
164
164
  yield* Scope.close(connection.scope, Exit.void);
165
165
  }).pipe(Effect.catchCause((cause) => Effect.logError("workspace idle suspension failed", cause)))), { concurrency: "unbounded", discard: true });
166
166
  }).pipe(Effect.repeat(Schedule.spaced(options.pollInterval ?? Duration.minutes(1))), Effect.forkScoped);
167
- return Service78.of({
167
+ return Service59.of({
168
168
  create: Effect.fn("Workspace.create")(function* (input) {
169
- const workspaceID = input.id ?? ID16.create();
169
+ const workspaceID = input.id ?? ID5.create();
170
170
  const existing = yield* db.select({ provider: WorkspaceTable2.provider }).from(WorkspaceTable2).where(eq(WorkspaceTable2.id, workspaceID)).get().pipe(Effect.orDie);
171
171
  if (existing) {
172
172
  if (existing.provider === input.provider)
@@ -242,6 +242,6 @@ var layer = (options) => Layer.effect(Service78, Effect.gen(function* () {
242
242
  })
243
243
  });
244
244
  }));
245
- var node81 = configured9();
245
+ var node62 = configured7();
246
246
 
247
- export { ID16, Info26, NotFound2, CreateConflict2, Service78, configured9, node81, exports_workspace };
247
+ export { ID5, Info11, NotFound2, CreateConflict2, Service59, configured7, node62, exports_workspace };
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  resolveNullableObjectPaths2,
3
3
  mapResultRow2
4
- } from "./file-mutation-emrn6kk6.js";
4
+ } from "./schema-emrn6kk6.js";
5
5
  import {
6
6
  SQLiteEffectDatabase2
7
- } from "./file-mutation-sxeq46ve.js";
7
+ } from "./schema-2f6bhtqc.js";
8
8
 
9
9
  // src/database/drizzle/sqlite-core/effect/session.ts
10
10
  import * as Cause from "effect/Cause";
@@ -1,31 +1,31 @@
1
1
  import {
2
- ID15
3
- } from "./file-mutation-s15vm27z.js";
2
+ ID17
3
+ } from "./schema-mp5c1e99.js";
4
4
  import {
5
5
  AbsolutePath2
6
- } from "./file-mutation-z5v4ffb3.js";
6
+ } from "./schema-z5v4ffb3.js";
7
7
  import {
8
- Info12
9
- } from "./file-mutation-d8qd4w10.js";
8
+ Info14
9
+ } from "./schema-h5qan5zz.js";
10
10
  import {
11
11
  migrateAgent2
12
- } from "./file-mutation-0xtm3epc.js";
12
+ } from "./schema-tsdrbga6.js";
13
13
  import {
14
14
  latest2,
15
- Service57
16
- } from "./file-mutation-tgkfec1y.js";
15
+ Service61
16
+ } from "./schema-t1w3prdq.js";
17
17
  import {
18
18
  parseOption2
19
- } from "./file-mutation-e834z07m.js";
19
+ } from "./schema-e834z07m.js";
20
20
  import {
21
21
  __export
22
- } from "./file-mutation-9rqn6x4v.js";
22
+ } from "./schema-9rqn6x4v.js";
23
23
 
24
24
  // src/config/plugin/agent.ts
25
- var exports_agent2 = {};
26
- __export(exports_agent2, {
27
- ConfigAgentPlugin: () => exports_agent2,
28
- Plugin: () => Plugin38
25
+ var exports_agent = {};
26
+ __export(exports_agent, {
27
+ ConfigAgentPlugin: () => exports_agent,
28
+ Plugin: () => Plugin19
29
29
  });
30
30
  import { define } from "@opencode/plugin/effect/plugin";
31
31
  import { Document, Info } from "@opencode/schema/config";
@@ -40,14 +40,14 @@ var legacySources = [
40
40
  ];
41
41
  var sourceDirectories = ["agent", "agents", "mode", "modes"];
42
42
  var decodeAgent = Schema.decodeUnknownOption(ConfigAgent.Info);
43
- var decodeLegacyAgent = Schema.decodeUnknownOption(Info12);
43
+ var decodeLegacyAgent = Schema.decodeUnknownOption(Info14);
44
44
  var pathActions = ["external_directory", "read", "edit"];
45
45
  var agentKeys = new Set(["variant", ...Object.keys(ConfigAgent.Info.fields)]);
46
46
  var nativeKeys = ["permissions", "request", "system", "disabled"];
47
- var Plugin38 = define({
47
+ var Plugin19 = define({
48
48
  id: "opencode.config.agent",
49
49
  effect: Effect.fn(function* (ctx) {
50
- const config = yield* Service57;
50
+ const config = yield* Service61;
51
51
  const fs = yield* FSUtil.Service;
52
52
  const global = yield* Global.Service;
53
53
  const loadEntry = Effect.fnUntraced(function* (entry) {
@@ -76,13 +76,13 @@ var Plugin38 = define({
76
76
  const permissions = expandPermissions(loaded.documents.flatMap((document) => document.info.permissions ?? []), global.home);
77
77
  const configuredDefault = latest2(loaded.documents, "default_agent");
78
78
  if (configuredDefault !== undefined)
79
- editor.default(ID15.make(configuredDefault));
79
+ editor.default(ID17.make(configuredDefault));
80
80
  for (const current of editor.list()) {
81
81
  editor.update(current.id, (agent) => agent.permissions.push(...permissions));
82
82
  }
83
83
  for (const document of loaded.documents) {
84
84
  for (const [id, item] of Object.entries(document.info.agents ?? {})) {
85
- const agentID = ID15.make(id);
85
+ const agentID = ID17.make(id);
86
86
  if (item.disabled) {
87
87
  editor.remove(agentID);
88
88
  continue;
@@ -163,4 +163,4 @@ var decode = Effect.fnUntraced(function* (file, content) {
163
163
  return new Document({ type: "document", path: AbsolutePath2.make(file.filepath), info });
164
164
  });
165
165
 
166
- export { Plugin38, exports_agent2 };
166
+ export { Plugin19, exports_agent };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./file-mutation-9rqn6x4v.js";
3
+ } from "./schema-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/promise.ts
6
6
  var exports_promise = {};