@opencode/core 0.0.0-dev-19393 → 0.0.0-dev-19396

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 (783) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +79 -79
  3. package/dist/aisdk-native.js +2 -2
  4. package/dist/aisdk.js +6 -6
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +67 -67
  7. package/dist/catalog.js +81 -81
  8. package/dist/chunks/{file-mutation-t9ja5v0m.js → aisdk-native-04kv4r8s.js} +12 -12
  9. package/dist/chunks/{file-mutation-64kphnzf.js → aisdk-native-06dxphr1.js} +4 -4
  10. package/dist/chunks/{file-mutation-zcrspsvn.js → aisdk-native-06x8he3q.js} +4 -4
  11. package/dist/chunks/{file-mutation-t0ycew93.js → aisdk-native-0hv51shb.js} +24 -24
  12. package/dist/chunks/aisdk-native-0mesazry.js +4 -0
  13. package/dist/chunks/{file-mutation-0paq2nw3.js → aisdk-native-0paq2nw3.js} +1 -1
  14. package/dist/chunks/{file-mutation-0q0f95c6.js → aisdk-native-0q0f95c6.js} +1 -1
  15. package/dist/chunks/{file-mutation-b45nt1f1.js → aisdk-native-11s1rmee.js} +11 -11
  16. package/dist/chunks/{file-mutation-h4y4mq8e.js → aisdk-native-13nhks0e.js} +79 -79
  17. package/dist/chunks/{file-mutation-dpje9hvt.js → aisdk-native-17faxaxv.js} +3 -3
  18. package/dist/chunks/{file-mutation-ec8389mk.js → aisdk-native-18e56dsp.js} +4 -4
  19. package/dist/chunks/{file-mutation-tx71xht9.js → aisdk-native-1aczmqc6.js} +47 -47
  20. package/dist/chunks/{file-mutation-7g683t1r.js → aisdk-native-1bhgtrtq.js} +24 -24
  21. package/dist/chunks/{file-mutation-b036pw45.js → aisdk-native-1c5da01s.js} +22 -22
  22. package/dist/chunks/{file-mutation-1dazxqgg.js → aisdk-native-1dazxqgg.js} +2 -2
  23. package/dist/chunks/{file-mutation-1eyaby9q.js → aisdk-native-1eyaby9q.js} +2 -2
  24. package/dist/chunks/{file-mutation-rtq8p3gy.js → aisdk-native-1f8tyb5n.js} +26 -26
  25. package/dist/chunks/{file-mutation-b6d4fm4d.js → aisdk-native-1jp0g19t.js} +32 -32
  26. package/dist/chunks/{file-mutation-21r38tys.js → aisdk-native-21r38tys.js} +1 -1
  27. package/dist/chunks/{file-mutation-7r2070ss.js → aisdk-native-23cdnrcg.js} +40 -40
  28. package/dist/chunks/{file-mutation-6h73sxmp.js → aisdk-native-2402vzrj.js} +5 -5
  29. package/dist/chunks/{file-mutation-2a5m3afh.js → aisdk-native-2a5m3afh.js} +1 -1
  30. package/dist/chunks/{file-mutation-df2tx5pe.js → aisdk-native-2d63f6xn.js} +10 -10
  31. package/dist/chunks/{file-mutation-7b15y959.js → aisdk-native-2hyh68ab.js} +8 -8
  32. package/dist/chunks/{file-mutation-hzx83h4g.js → aisdk-native-2sm40ydq.js} +29 -29
  33. package/dist/chunks/{file-mutation-5t37q54p.js → aisdk-native-2tg1sg0h.js} +23 -23
  34. package/dist/chunks/{file-mutation-k0qa26hr.js → aisdk-native-2wwszhkw.js} +25 -25
  35. package/dist/chunks/aisdk-native-2zp1sn7a.js +22 -0
  36. package/dist/chunks/{file-mutation-g56g034v.js → aisdk-native-319gwta3.js} +20 -20
  37. package/dist/chunks/{file-mutation-4f5v0gkp.js → aisdk-native-338ndk0y.js} +19 -19
  38. package/dist/chunks/{file-mutation-hz456w6n.js → aisdk-native-3580277f.js} +11 -11
  39. package/dist/chunks/{file-mutation-qvf21x62.js → aisdk-native-38xvpsvz.js} +46 -46
  40. package/dist/chunks/{file-mutation-bbzhmj3e.js → aisdk-native-3e13h338.js} +18 -18
  41. package/dist/chunks/{file-mutation-s1fbxc7t.js → aisdk-native-3h2mcac8.js} +16 -16
  42. package/dist/chunks/{file-mutation-3hepkmqq.js → aisdk-native-3hepkmqq.js} +1 -1
  43. package/dist/chunks/{file-mutation-as9sp7sj.js → aisdk-native-3jtv889a.js} +11 -11
  44. package/dist/chunks/{file-mutation-3smtnn6g.js → aisdk-native-3smtnn6g.js} +1 -1
  45. package/dist/chunks/{file-mutation-7w99qc9d.js → aisdk-native-3ssf1kws.js} +3 -3
  46. package/dist/chunks/{file-mutation-3tvqynh2.js → aisdk-native-3tvqynh2.js} +1 -1
  47. package/dist/chunks/{file-mutation-v68haqbh.js → aisdk-native-3yed7v7p.js} +2 -2
  48. package/dist/chunks/{file-mutation-hjt4xg1x.js → aisdk-native-47gsdddb.js} +7 -7
  49. package/dist/chunks/{file-mutation-dzgwpfm4.js → aisdk-native-4ch1thhj.js} +58 -58
  50. package/dist/chunks/{file-mutation-2ee8pmxs.js → aisdk-native-4fk6bf9g.js} +5 -5
  51. package/dist/chunks/{file-mutation-ha607pgt.js → aisdk-native-4kr8d4zw.js} +6 -6
  52. package/dist/chunks/{file-mutation-rmnn1kcj.js → aisdk-native-4qprkdm7.js} +33 -33
  53. package/dist/chunks/{file-mutation-jeq3avzd.js → aisdk-native-4rqgqezq.js} +14 -14
  54. package/dist/chunks/{file-mutation-zd95htgz.js → aisdk-native-52v448cf.js} +15 -15
  55. package/dist/chunks/{file-mutation-vw3mnqj9.js → aisdk-native-55f2a52s.js} +11 -11
  56. package/dist/chunks/{file-mutation-56gdpj1q.js → aisdk-native-56gdpj1q.js} +2 -2
  57. package/dist/chunks/{file-mutation-v3wxxz2a.js → aisdk-native-5aptsapt.js} +7 -7
  58. package/dist/chunks/{file-mutation-5daktx2q.js → aisdk-native-5daktx2q.js} +1 -1
  59. package/dist/chunks/{file-mutation-dt849bc4.js → aisdk-native-5kbk4f8q.js} +6 -6
  60. package/dist/chunks/{file-mutation-5t3nmthw.js → aisdk-native-5t3nmthw.js} +2 -2
  61. package/dist/chunks/{file-mutation-jspz1h3e.js → aisdk-native-5xrqyw1b.js} +17 -17
  62. package/dist/chunks/aisdk-native-619r8v3y.js +18 -0
  63. package/dist/chunks/{file-mutation-669tq793.js → aisdk-native-669tq793.js} +1 -1
  64. package/dist/chunks/{file-mutation-8bwmgdjs.js → aisdk-native-687r8w3k.js} +18 -18
  65. package/dist/chunks/{file-mutation-y7kh6pdy.js → aisdk-native-6fg3wpfk.js} +8 -8
  66. package/dist/chunks/{file-mutation-6msgmcgs.js → aisdk-native-6msgmcgs.js} +1 -1
  67. package/dist/chunks/{file-mutation-vvcwpm63.js → aisdk-native-6wgqt9fk.js} +13 -13
  68. package/dist/chunks/{file-mutation-71q4at8m.js → aisdk-native-71q4at8m.js} +1 -1
  69. package/dist/chunks/{file-mutation-rkdvqggb.js → aisdk-native-762r0j46.js} +5 -5
  70. package/dist/chunks/{file-mutation-q8rqxe25.js → aisdk-native-77h0fa3y.js} +26 -26
  71. package/dist/chunks/{file-mutation-7bmhse3q.js → aisdk-native-7bmhse3q.js} +1 -1
  72. package/dist/chunks/{file-mutation-dafzyq9v.js → aisdk-native-7cck070s.js} +11 -11
  73. package/dist/chunks/{file-mutation-7dqw4kz8.js → aisdk-native-7dqw4kz8.js} +1 -1
  74. package/dist/chunks/{file-mutation-xxhb5m41.js → aisdk-native-7e3k99g8.js} +9 -9
  75. package/dist/chunks/{file-mutation-ak7my4zs.js → aisdk-native-7rbe0n40.js} +16 -16
  76. package/dist/chunks/{file-mutation-yakg16c7.js → aisdk-native-7v84xmqr.js} +11 -11
  77. package/dist/chunks/{file-mutation-3bzftg35.js → aisdk-native-7vx667rq.js} +13 -13
  78. package/dist/chunks/{file-mutation-ve6nm2s5.js → aisdk-native-81rrwt6s.js} +6 -6
  79. package/dist/chunks/{file-mutation-8d7r5vzw.js → aisdk-native-8d7r5vzw.js} +1 -1
  80. package/dist/chunks/{file-mutation-nmjsacd1.js → aisdk-native-8fce82a4.js} +5 -5
  81. package/dist/chunks/{file-mutation-k23hrhwv.js → aisdk-native-8kgsw5bp.js} +4 -4
  82. package/dist/chunks/{file-mutation-en460j1e.js → aisdk-native-8kr66qnn.js} +9 -9
  83. package/dist/chunks/{file-mutation-zn4kggxy.js → aisdk-native-8mv1h6jj.js} +4 -4
  84. package/dist/chunks/{file-mutation-8p4f9s12.js → aisdk-native-8p4f9s12.js} +2 -2
  85. package/dist/chunks/{file-mutation-xnvnravs.js → aisdk-native-8vj00402.js} +28 -28
  86. package/dist/chunks/{file-mutation-j4028k8z.js → aisdk-native-8vygcvtq.js} +11 -11
  87. package/dist/chunks/{file-mutation-9pa9rw3z.js → aisdk-native-9325j0hp.js} +28 -28
  88. package/dist/chunks/{file-mutation-34wjyeek.js → aisdk-native-9c2fy9a2.js} +14 -14
  89. package/dist/chunks/{file-mutation-bpbqk74e.js → aisdk-native-9cq2d911.js} +5 -5
  90. package/dist/chunks/{file-mutation-0yhvqzdr.js → aisdk-native-9pfkjth3.js} +31 -31
  91. package/dist/chunks/{file-mutation-08z5qwsn.js → aisdk-native-9pm6y0s1.js} +8 -8
  92. package/dist/chunks/{file-mutation-7tske91h.js → aisdk-native-9qhb8fgp.js} +23 -23
  93. package/dist/chunks/{file-mutation-d1w5q26k.js → aisdk-native-9qr1yc92.js} +22 -22
  94. package/dist/chunks/{file-mutation-psxzv6yb.js → aisdk-native-9qynhkcx.js} +23 -6
  95. package/dist/chunks/{file-mutation-gb9kwzg5.js → aisdk-native-9s8d7x99.js} +22 -22
  96. package/dist/chunks/{file-mutation-0xtcr6w3.js → aisdk-native-9yd7dp5d.js} +15 -15
  97. package/dist/chunks/{file-mutation-587k4qqh.js → aisdk-native-9zny117k.js} +16 -16
  98. package/dist/chunks/{file-mutation-42b6pzh7.js → aisdk-native-a16aswgc.js} +8 -8
  99. package/dist/chunks/{file-mutation-a1bz86dw.js → aisdk-native-a1bz86dw.js} +3 -3
  100. package/dist/chunks/{file-mutation-1fa9ans5.js → aisdk-native-a5k42hjy.js} +1 -1
  101. package/dist/chunks/{file-mutation-aaet6srn.js → aisdk-native-aaet6srn.js} +2 -2
  102. package/dist/chunks/{file-mutation-g8stra9y.js → aisdk-native-ae88fk5a.js} +4 -4
  103. package/dist/chunks/{file-mutation-c19c6034.js → aisdk-native-afd5mpsr.js} +4 -4
  104. package/dist/chunks/{file-mutation-xrhv95d6.js → aisdk-native-anv1hkd8.js} +23 -23
  105. package/dist/chunks/{file-mutation-2npmwd02.js → aisdk-native-b1nxvtwh.js} +9 -9
  106. package/dist/chunks/{file-mutation-b6gygkdw.js → aisdk-native-b6gygkdw.js} +2 -2
  107. package/dist/chunks/{file-mutation-t9n23y5a.js → aisdk-native-b9cc68wc.js} +29 -29
  108. package/dist/chunks/{file-mutation-2sef7jx7.js → aisdk-native-bj81vypt.js} +22 -22
  109. package/dist/chunks/{file-mutation-nc6emx03.js → aisdk-native-bxd65j25.js} +8 -8
  110. package/dist/chunks/{file-mutation-j2nqzmcv.js → aisdk-native-c141fwr4.js} +20 -20
  111. package/dist/chunks/{file-mutation-49w8mb30.js → aisdk-native-c1495ybz.js} +11 -11
  112. package/dist/chunks/{file-mutation-k1xjzmxg.js → aisdk-native-c1k5sjr1.js} +14 -14
  113. package/dist/chunks/{file-mutation-rh108m8v.js → aisdk-native-c2pgxnhh.js} +5 -5
  114. package/dist/chunks/{file-mutation-cj8em3nn.js → aisdk-native-c5777ed1.js} +18 -18
  115. package/dist/chunks/{file-mutation-b9vx810x.js → aisdk-native-ca63t555.js} +32 -32
  116. package/dist/chunks/{file-mutation-cfpkc3c9.js → aisdk-native-cfpkc3c9.js} +2 -2
  117. package/dist/chunks/{file-mutation-c12c3ebf.js → aisdk-native-cgz51jgp.js} +12 -12
  118. package/dist/chunks/{file-mutation-78s53s6s.js → aisdk-native-cpe1mt8c.js} +21 -21
  119. package/dist/chunks/{file-mutation-tmr9h4zs.js → aisdk-native-cxa6xx46.js} +8 -8
  120. package/dist/chunks/{file-mutation-gx1zhcta.js → aisdk-native-d50f2zf5.js} +1 -1
  121. package/dist/chunks/{file-mutation-3zbb0e4x.js → aisdk-native-d8s0zgrq.js} +15 -15
  122. package/dist/chunks/{file-mutation-f79e7acg.js → aisdk-native-dcs00b5h.js} +2 -2
  123. package/dist/chunks/{file-mutation-gb6mvkxt.js → aisdk-native-dmxbrnz3.js} +11 -11
  124. package/dist/chunks/{file-mutation-wwdjya87.js → aisdk-native-dp7w54cz.js} +24 -24
  125. package/dist/chunks/{file-mutation-56xqqp2b.js → aisdk-native-dsgb7s9k.js} +4 -4
  126. package/dist/chunks/{file-mutation-s36eea25.js → aisdk-native-dy51me0m.js} +20 -20
  127. package/dist/chunks/{file-mutation-t1bhcjx3.js → aisdk-native-e6ke6rjh.js} +1 -1
  128. package/dist/chunks/{file-mutation-gyyh633g.js → aisdk-native-e7c3jk4t.js} +79 -79
  129. package/dist/chunks/{file-mutation-d2aac7k2.js → aisdk-native-ead3g9p8.js} +5 -5
  130. package/dist/chunks/{file-mutation-ywt3z907.js → aisdk-native-ed9mrdfh.js} +17 -17
  131. package/dist/chunks/{file-mutation-sdc25ghc.js → aisdk-native-eg6r3vdc.js} +20 -20
  132. package/dist/chunks/{file-mutation-etq0c3wd.js → aisdk-native-etq0c3wd.js} +1 -1
  133. package/dist/chunks/{file-mutation-3cfzdc8e.js → aisdk-native-evbgk2k8.js} +5 -5
  134. package/dist/chunks/{file-mutation-zxcqb81j.js → aisdk-native-f1x6p4ya.js} +24 -24
  135. package/dist/chunks/{file-mutation-9n4afpv3.js → aisdk-native-f2enw7w8.js} +6 -6
  136. package/dist/chunks/{file-mutation-t51qk8jz.js → aisdk-native-f3ngv102.js} +21 -21
  137. package/dist/chunks/{file-mutation-f828m53h.js → aisdk-native-f828m53h.js} +2 -2
  138. package/dist/chunks/{file-mutation-rc1e819m.js → aisdk-native-fbt0fexc.js} +4 -4
  139. package/dist/chunks/{file-mutation-f1q1bdfb.js → aisdk-native-fdgzdcvs.js} +27 -27
  140. package/dist/chunks/{file-mutation-01fzq3z7.js → aisdk-native-fdhrs726.js} +16 -16
  141. package/dist/chunks/{file-mutation-tp176rca.js → aisdk-native-fdkge6kz.js} +6 -6
  142. package/dist/chunks/{file-mutation-v1q7vfww.js → aisdk-native-feb6dv9f.js} +7 -7
  143. package/dist/chunks/{file-mutation-j4p7emeb.js → aisdk-native-fffjabw0.js} +11 -11
  144. package/dist/chunks/{file-mutation-qp0yc7dx.js → aisdk-native-fhsg8w19.js} +13 -13
  145. package/dist/chunks/{file-mutation-5kptn8c0.js → aisdk-native-fjmrr6sh.js} +9 -9
  146. package/dist/chunks/{file-mutation-fjvydvzm.js → aisdk-native-fjvydvzm.js} +1 -1
  147. package/dist/chunks/{file-mutation-vtrt0ewb.js → aisdk-native-fm1qwd3t.js} +33 -33
  148. package/dist/chunks/{file-mutation-mkh51v61.js → aisdk-native-fmyvj1jr.js} +10 -10
  149. package/dist/chunks/{file-mutation-mwbx7r51.js → aisdk-native-fnfbdfqx.js} +7 -7
  150. package/dist/chunks/{file-mutation-qssq5wvh.js → aisdk-native-fnpwkbwy.js} +1 -1
  151. package/dist/chunks/{file-mutation-fxbjtjnd.js → aisdk-native-fxbjtjnd.js} +1 -1
  152. package/dist/chunks/{file-mutation-nvgad3v2.js → aisdk-native-fyq1da64.js} +14 -14
  153. package/dist/chunks/{file-mutation-m0c4px45.js → aisdk-native-g74sxvtz.js} +26 -26
  154. package/dist/chunks/{file-mutation-3rqkssp8.js → aisdk-native-g8atgw3j.js} +6 -6
  155. package/dist/chunks/{file-mutation-gd4qta3r.js → aisdk-native-gd4qta3r.js} +1 -1
  156. package/dist/chunks/{file-mutation-3fc6dm20.js → aisdk-native-gdvy8fx6.js} +4 -4
  157. package/dist/chunks/{file-mutation-s5d18ttv.js → aisdk-native-gpmwed4n.js} +32 -32
  158. package/dist/chunks/{file-mutation-gv6a8nnw.js → aisdk-native-gv6a8nnw.js} +2 -2
  159. package/dist/chunks/{file-mutation-80wms6w9.js → aisdk-native-gy44vzb3.js} +30 -30
  160. package/dist/chunks/{file-mutation-hthj0rnm.js → aisdk-native-gymt5c6z.js} +16 -16
  161. package/dist/chunks/{file-mutation-h03wrkyp.js → aisdk-native-h03wrkyp.js} +2 -2
  162. package/dist/chunks/{file-mutation-j0n617hx.js → aisdk-native-h1badfgy.js} +38 -38
  163. package/dist/chunks/{file-mutation-t26h1xea.js → aisdk-native-h5fpgb6t.js} +21 -21
  164. package/dist/chunks/{file-mutation-h6vf3j39.js → aisdk-native-h6vf3j39.js} +1 -1
  165. package/dist/chunks/{file-mutation-2bt6bea8.js → aisdk-native-h7ygw6q4.js} +9 -9
  166. package/dist/chunks/{file-mutation-kekx75qk.js → aisdk-native-hbntdrm1.js} +1 -1
  167. package/dist/chunks/{file-mutation-d40aa9ht.js → aisdk-native-hc3exffh.js} +35 -35
  168. package/dist/chunks/{file-mutation-vkxpz7g2.js → aisdk-native-hfdr1yjj.js} +4 -4
  169. package/dist/chunks/{file-mutation-rsh6k2qs.js → aisdk-native-hgw9y0dn.js} +15 -15
  170. package/dist/chunks/{file-mutation-qte5z7bc.js → aisdk-native-hnr5yq9h.js} +5 -5
  171. package/dist/chunks/{file-mutation-dsfwte3g.js → aisdk-native-hz94527q.js} +17 -17
  172. package/dist/chunks/{file-mutation-j56e64zr.js → aisdk-native-j56e64zr.js} +1 -1
  173. package/dist/chunks/{file-mutation-an7cqtb7.js → aisdk-native-j83byb14.js} +4 -4
  174. package/dist/chunks/{file-mutation-edca6z4t.js → aisdk-native-j9qtn0a7.js} +41 -41
  175. package/dist/chunks/{file-mutation-ar85mn2m.js → aisdk-native-jan1h0z4.js} +15 -15
  176. package/dist/chunks/{file-mutation-zrz3rv3v.js → aisdk-native-jr0vnyg6.js} +15 -15
  177. package/dist/chunks/{file-mutation-02k69zs7.js → aisdk-native-k21a9ffe.js} +18 -18
  178. package/dist/chunks/{file-mutation-066m6yk3.js → aisdk-native-k7xkr3b6.js} +7 -7
  179. package/dist/chunks/{file-mutation-t9nzygtk.js → aisdk-native-kfkgkahd.js} +14 -14
  180. package/dist/chunks/{file-mutation-kg06axw8.js → aisdk-native-kg06axw8.js} +1 -1
  181. package/dist/chunks/{file-mutation-hf8cnsjw.js → aisdk-native-knxn0y4q.js} +1 -1
  182. package/dist/chunks/{file-mutation-ga7wvnj5.js → aisdk-native-ksqezm8p.js} +6 -6
  183. package/dist/chunks/{file-mutation-zhedf7h9.js → aisdk-native-ksxmc9x1.js} +19 -19
  184. package/dist/chunks/{file-mutation-4cwh3a5t.js → aisdk-native-kt8hwr0v.js} +9 -9
  185. package/dist/chunks/{file-mutation-q6c9rh6v.js → aisdk-native-m11bj6wh.js} +19 -19
  186. package/dist/chunks/{file-mutation-m9w0rfyh.js → aisdk-native-m9w0rfyh.js} +1 -1
  187. package/dist/chunks/{file-mutation-4jd5h8hr.js → aisdk-native-mctc11af.js} +6 -6
  188. package/dist/chunks/{file-mutation-2ttxt4rm.js → aisdk-native-me1qs564.js} +2 -2
  189. package/dist/chunks/{file-mutation-y14xz5fd.js → aisdk-native-mgqysdjs.js} +26 -26
  190. package/dist/chunks/{file-mutation-mkcjrzeh.js → aisdk-native-mkcjrzeh.js} +1 -1
  191. package/dist/chunks/{file-mutation-74bmvg0d.js → aisdk-native-mvbmyxpm.js} +5 -5
  192. package/dist/chunks/{file-mutation-r5x6zcsm.js → aisdk-native-mvfsc1pv.js} +3 -3
  193. package/dist/chunks/{file-mutation-brx509wv.js → aisdk-native-mx4wa0qa.js} +43 -43
  194. package/dist/chunks/{file-mutation-4k2qawm0.js → aisdk-native-mzmkmqf1.js} +13 -13
  195. package/dist/chunks/{file-mutation-earnevqz.js → aisdk-native-n2ef2nc6.js} +39 -39
  196. package/dist/chunks/{file-mutation-71acpfn8.js → aisdk-native-ngr2twat.js} +10 -10
  197. package/dist/chunks/{file-mutation-km7shbm8.js → aisdk-native-nhyr4934.js} +15 -15
  198. package/dist/chunks/{file-mutation-12rfhcvn.js → aisdk-native-njj173xf.js} +3 -3
  199. package/dist/chunks/{file-mutation-56fawgj4.js → aisdk-native-npj8n27k.js} +46 -46
  200. package/dist/chunks/{file-mutation-e379cr0y.js → aisdk-native-ns866pf5.js} +12 -12
  201. package/dist/chunks/{file-mutation-ss0awb04.js → aisdk-native-p0b4ytnr.js} +4 -4
  202. package/dist/chunks/{file-mutation-kywk84af.js → aisdk-native-p1v0c821.js} +15 -15
  203. package/dist/chunks/{file-mutation-hkpycv99.js → aisdk-native-p9w19rf3.js} +284 -284
  204. package/dist/chunks/{file-mutation-j935v87r.js → aisdk-native-paphc93g.js} +2 -2
  205. package/dist/chunks/{file-mutation-yymb8v2v.js → aisdk-native-pbgmyhjp.js} +14 -14
  206. package/dist/chunks/{file-mutation-9py05vep.js → aisdk-native-pd5ak3pk.js} +22 -22
  207. package/dist/chunks/{file-mutation-pjvnvgmy.js → aisdk-native-pjvnvgmy.js} +1 -1
  208. package/dist/chunks/{file-mutation-pknna89w.js → aisdk-native-pknna89w.js} +1 -1
  209. package/dist/chunks/{file-mutation-hqrxp9gj.js → aisdk-native-pm84pnzg.js} +10 -10
  210. package/dist/chunks/{file-mutation-9g0zx7x8.js → aisdk-native-pmz64938.js} +9 -9
  211. package/dist/chunks/{file-mutation-jvybmm27.js → aisdk-native-ptxpnts9.js} +21 -21
  212. package/dist/chunks/{file-mutation-f5hjq1vh.js → aisdk-native-pwygnad3.js} +17 -17
  213. package/dist/chunks/{file-mutation-6v41k3zq.js → aisdk-native-pyvbj5ab.js} +36 -36
  214. package/dist/chunks/{file-mutation-240ffee7.js → aisdk-native-pzh16mkn.js} +9 -9
  215. package/dist/chunks/{file-mutation-4c2df9zx.js → aisdk-native-q7wajf8z.js} +8 -8
  216. package/dist/chunks/{file-mutation-j3mwg7nd.js → aisdk-native-q8qg86eh.js} +34 -34
  217. package/dist/chunks/{file-mutation-9shade1g.js → aisdk-native-qar9xt1s.js} +24 -24
  218. package/dist/chunks/{file-mutation-k3swrpg8.js → aisdk-native-qhbn037j.js} +4 -4
  219. package/dist/chunks/{file-mutation-et23rmd2.js → aisdk-native-qptkk0fy.js} +23 -23
  220. package/dist/chunks/{file-mutation-qsdy395h.js → aisdk-native-qsdy395h.js} +1 -1
  221. package/dist/chunks/{file-mutation-m42b0bke.js → aisdk-native-r0rathad.js} +3 -3
  222. package/dist/chunks/{file-mutation-ratrq7cm.js → aisdk-native-ratrq7cm.js} +1 -1
  223. package/dist/chunks/{file-mutation-6jex2xta.js → aisdk-native-rgn0sbm6.js} +5 -5
  224. package/dist/chunks/{file-mutation-9pwkmyz6.js → aisdk-native-rphyw1sq.js} +8 -8
  225. package/dist/chunks/{file-mutation-wf5akpyb.js → aisdk-native-s03bjz93.js} +10 -10
  226. package/dist/chunks/{file-mutation-c4tqdq5t.js → aisdk-native-s7v2e6ea.js} +6 -6
  227. package/dist/chunks/{file-mutation-0gdmqesm.js → aisdk-native-s8d7rejh.js} +4 -4
  228. package/dist/chunks/{file-mutation-q5th50z6.js → aisdk-native-sd3s4jh3.js} +16 -16
  229. package/dist/chunks/{file-mutation-qyy5cpnn.js → aisdk-native-sf0v5hsk.js} +11 -11
  230. package/dist/chunks/{file-mutation-c9av52v1.js → aisdk-native-sjvd53j5.js} +4 -28
  231. package/dist/chunks/{file-mutation-ff8m8qd7.js → aisdk-native-snd0bfzm.js} +28 -28
  232. package/dist/chunks/{file-mutation-stnw2p2s.js → aisdk-native-spmx6c33.js} +6 -6
  233. package/dist/chunks/{file-mutation-jsvhw8mk.js → aisdk-native-sw9rbvth.js} +11 -11
  234. package/dist/chunks/{file-mutation-74sc3jhk.js → aisdk-native-szftbv8r.js} +4 -4
  235. package/dist/chunks/{file-mutation-tazgh4e4.js → aisdk-native-tazgh4e4.js} +1 -1
  236. package/dist/chunks/{file-mutation-tcezcvh9.js → aisdk-native-tcezcvh9.js} +1 -1
  237. package/dist/chunks/{file-mutation-tdstcens.js → aisdk-native-tdstcens.js} +1 -1
  238. package/dist/chunks/{file-mutation-thm2xcas.js → aisdk-native-tke13nxd.js} +16 -16
  239. package/dist/chunks/{file-mutation-7x56vw45.js → aisdk-native-tppx2nxc.js} +13 -13
  240. package/dist/chunks/{file-mutation-tvtrv512.js → aisdk-native-tvtrv512.js} +1 -1
  241. package/dist/chunks/{file-mutation-nx72h4d9.js → aisdk-native-twbgxrv5.js} +10 -10
  242. package/dist/chunks/{file-mutation-tfmchqhk.js → aisdk-native-v4gxqtqs.js} +13 -13
  243. package/dist/chunks/{file-mutation-5y7nmd31.js → aisdk-native-vdqv04eb.js} +21 -21
  244. package/dist/chunks/{file-mutation-veqvce7d.js → aisdk-native-veqvce7d.js} +1 -1
  245. package/dist/chunks/{file-mutation-7ncadwe6.js → aisdk-native-vt3nbq0b.js} +10 -10
  246. package/dist/chunks/{file-mutation-yhd29gma.js → aisdk-native-vvhv156y.js} +4 -4
  247. package/dist/chunks/{file-mutation-vzcthcp8.js → aisdk-native-vzcthcp8.js} +1 -1
  248. package/dist/chunks/{file-mutation-qpxqmgt2.js → aisdk-native-vze96k0n.js} +4 -4
  249. package/dist/chunks/{file-mutation-v4c6wwdp.js → aisdk-native-w3g6f7qa.js} +7 -7
  250. package/dist/chunks/{file-mutation-w3wsvvr9.js → aisdk-native-w3wsvvr9.js} +1 -1
  251. package/dist/chunks/{file-mutation-bv56xrks.js → aisdk-native-wa9n8nyq.js} +4 -4
  252. package/dist/chunks/aisdk-native-wbtgwr8j.js +247 -0
  253. package/dist/chunks/{file-mutation-hxpkdzb7.js → aisdk-native-wcybda84.js} +3 -3
  254. package/dist/chunks/{file-mutation-wd87259q.js → aisdk-native-wd87259q.js} +1 -1
  255. package/dist/chunks/{file-mutation-tcaez8z7.js → aisdk-native-wny28rcs.js} +14 -14
  256. package/dist/chunks/{file-mutation-n5zjdcc0.js → aisdk-native-wxeb981z.js} +1 -1
  257. package/dist/chunks/{file-mutation-x1ezjp6w.js → aisdk-native-x1ezjp6w.js} +1 -1
  258. package/dist/chunks/{file-mutation-2hfp5ger.js → aisdk-native-x1pvcqkg.js} +20 -20
  259. package/dist/chunks/{file-mutation-y6b78k7r.js → aisdk-native-x2p5vs46.js} +41 -41
  260. package/dist/chunks/{file-mutation-0zn40hbb.js → aisdk-native-x42qtfrs.js} +51 -51
  261. package/dist/chunks/{file-mutation-x43y2vfs.js → aisdk-native-x43y2vfs.js} +2 -2
  262. package/dist/chunks/{file-mutation-3kxmfjgw.js → aisdk-native-x603q4dc.js} +12 -12
  263. package/dist/chunks/{file-mutation-gfz0jyfh.js → aisdk-native-xbf7nt6y.js} +11 -11
  264. package/dist/chunks/{file-mutation-cn5kgcxn.js → aisdk-native-xck5pt99.js} +20 -20
  265. package/dist/chunks/{file-mutation-xhmq8qgk.js → aisdk-native-xhmq8qgk.js} +2 -2
  266. package/dist/chunks/{file-mutation-e15qh3wq.js → aisdk-native-xzz82xgq.js} +11 -11
  267. package/dist/chunks/{file-mutation-t3aqcp13.js → aisdk-native-y0zcfdk7.js} +5 -5
  268. package/dist/chunks/{file-mutation-y1fvbwt7.js → aisdk-native-y1fvbwt7.js} +1 -1
  269. package/dist/chunks/{file-mutation-rvyzmxt1.js → aisdk-native-y55k5e5b.js} +158 -158
  270. package/dist/chunks/{file-mutation-y71avatq.js → aisdk-native-y71avatq.js} +1 -1
  271. package/dist/chunks/{file-mutation-2zheyzhp.js → aisdk-native-yecfwbey.js} +10 -10
  272. package/dist/chunks/{file-mutation-yp2x3t23.js → aisdk-native-yp2x3t23.js} +1 -1
  273. package/dist/chunks/{file-mutation-qg1dvv3d.js → aisdk-native-yq011xmt.js} +19 -19
  274. package/dist/chunks/{file-mutation-yrhqyw5v.js → aisdk-native-yrhqyw5v.js} +1 -1
  275. package/dist/chunks/{file-mutation-s4enseaf.js → aisdk-native-yrznvahk.js} +2 -2
  276. package/dist/chunks/{file-mutation-snbak2yk.js → aisdk-native-ywctd6nq.js} +9 -9
  277. package/dist/chunks/{file-mutation-z0bkrqjs.js → aisdk-native-z0bkrqjs.js} +1 -1
  278. package/dist/chunks/{file-mutation-sx5j1r78.js → aisdk-native-z2a3ac01.js} +14 -14
  279. package/dist/chunks/{file-mutation-7s02b6me.js → aisdk-native-z3ykvfqy.js} +1 -1
  280. package/dist/chunks/{file-mutation-29x78va6.js → aisdk-native-z63w68vq.js} +6 -6
  281. package/dist/chunks/{file-mutation-en8fd2fz.js → aisdk-native-z8az9z3j.js} +20 -20
  282. package/dist/chunks/{file-mutation-zeh9ct20.js → aisdk-native-zeh9ct20.js} +2 -2
  283. package/dist/chunks/{file-mutation-yhgxvs9m.js → aisdk-native-zex37ywk.js} +8 -8
  284. package/dist/chunks/{file-mutation-zr2ceqn5.js → aisdk-native-zr2ceqn5.js} +1 -1
  285. package/dist/chunks/{file-mutation-w1rhahvp.js → aisdk-native-zr4k6nm6.js} +11 -11
  286. package/dist/chunks/{file-mutation-ntghn7gv.js → aisdk-native-ztyp0pbv.js} +9 -9
  287. package/dist/chunks/{file-mutation-eqbtmbad.js → aisdk-native-zw7bxkcj.js} +16 -16
  288. package/dist/chunks/{file-mutation-qgnx4pxt.js → aisdk-native-zxbgq9vb.js} +11 -11
  289. package/dist/chunks/{file-mutation-zxq2ej10.js → aisdk-native-zxq2ej10.js} +1 -1
  290. package/dist/codemode/catalog.js +3 -3
  291. package/dist/codemode/instructions.js +9 -9
  292. package/dist/codemode/tool.js +2 -2
  293. package/dist/command.js +81 -81
  294. package/dist/config/discovery.js +77 -77
  295. package/dist/config/markdown.js +1 -1
  296. package/dist/config/normalize.js +19 -19
  297. package/dist/config/plugin/agent.js +115 -115
  298. package/dist/config/plugin/command.js +207 -207
  299. package/dist/config/plugin/compaction.js +155 -155
  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 +115 -115
  303. package/dist/config/plugin/instruction.js +85 -85
  304. package/dist/config/plugin/location-watcher.js +115 -115
  305. package/dist/config/plugin/mcp.js +124 -124
  306. package/dist/config/plugin/policy.js +114 -114
  307. package/dist/config/plugin/provider.js +113 -113
  308. package/dist/config/plugin/reference.js +117 -117
  309. package/dist/config/plugin/shell.js +116 -116
  310. package/dist/config/plugin/skill-file.js +97 -97
  311. package/dist/config/plugin/skill.js +134 -134
  312. package/dist/config/plugin/snapshot.js +115 -115
  313. package/dist/config/plugin/source.js +111 -111
  314. package/dist/config/plugin/tool-output.js +117 -117
  315. package/dist/config/plugin/websearch.js +113 -113
  316. package/dist/config/plugin/worktree.js +118 -118
  317. package/dist/config/variable.js +3 -3
  318. package/dist/config/watch.js +1 -1
  319. package/dist/config.js +117 -117
  320. package/dist/credential/sql.js +2 -2
  321. package/dist/credential.js +81 -81
  322. package/dist/database/database.js +64 -64
  323. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  324. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  325. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  326. package/dist/database/drizzle/index.js +13 -13
  327. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  328. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  330. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  332. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  337. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  338. package/dist/database/drizzle.js +14 -14
  339. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  340. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  341. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  342. package/dist/database/migration/20260225215848_workspace.js +1 -1
  343. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  344. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  345. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  346. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  347. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  348. package/dist/database/migration/20260323234822_events.js +1 -1
  349. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  350. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  351. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  352. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  353. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  354. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  355. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  356. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  357. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  358. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  359. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  360. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  361. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  362. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  363. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  364. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  365. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  366. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  367. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  368. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  369. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  370. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  371. package/dist/database/migration/20260611035744_credential.js +1 -1
  372. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  373. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  374. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  375. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  376. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  377. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  378. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  379. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  380. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  381. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  382. package/dist/database/migration/20260812213948_worktree.js +1 -1
  383. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  384. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  385. package/dist/database/migration.gen.js +47 -47
  386. package/dist/database/migration.js +49 -49
  387. package/dist/database/path.js +2 -2
  388. package/dist/database/schema.gen.js +1 -1
  389. package/dist/database/schema.sql.js +1 -1
  390. package/dist/database/sqlite.bun.js +1 -1
  391. package/dist/database/sqlite.js +1 -1
  392. package/dist/database/sqlite.node.js +1 -1
  393. package/dist/database/sqlite.workerd.js +1 -1
  394. package/dist/database/v1-migration.bun.js +74 -74
  395. package/dist/database/v1-migration.js +1 -1
  396. package/dist/effect/app-node-builder.js +362 -362
  397. package/dist/effect/app-node-platform.js +2 -2
  398. package/dist/effect/keyed-mutex.js +1 -1
  399. package/dist/effect/websocket-constructor.js +1 -1
  400. package/dist/environment/driver.js +1 -1
  401. package/dist/environment/environment.js +88 -88
  402. package/dist/environment/exec-defaults.js +2 -2
  403. package/dist/environment/files.js +1 -1
  404. package/dist/environment/index.js +90 -90
  405. package/dist/environment/local.js +2 -2
  406. package/dist/environment/memory.js +2 -2
  407. package/dist/environment/unavailable.js +1 -1
  408. package/dist/event/sql.js +1 -1
  409. package/dist/event-logger.js +68 -68
  410. package/dist/file-access.js +99 -99
  411. package/dist/file-mutation.js +89 -89
  412. package/dist/file-retention.js +1 -1
  413. package/dist/file.js +1 -1
  414. package/dist/filesystem/fff.bun.js +2 -2
  415. package/dist/filesystem/fff.js +1 -1
  416. package/dist/filesystem/fff.node.js +2 -2
  417. package/dist/filesystem/fff.workerd.js +2 -2
  418. package/dist/filesystem/ignore.js +1 -1
  419. package/dist/filesystem/location-watcher-policy.js +6 -6
  420. package/dist/filesystem/location-watcher.js +220 -220
  421. package/dist/filesystem/protected.js +1 -1
  422. package/dist/filesystem/search.js +93 -93
  423. package/dist/filesystem/watcher-binding.js +3 -3
  424. package/dist/filesystem/watcher.js +13 -13
  425. package/dist/filesystem.js +96 -96
  426. package/dist/form.js +78 -78
  427. package/dist/formatter/builtins.js +4 -4
  428. package/dist/formatter.js +82 -82
  429. package/dist/generate.js +89 -89
  430. package/dist/git.js +7 -7
  431. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  432. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  433. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  434. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  435. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  436. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  437. package/dist/github-copilot/copilot-provider.js +17 -17
  438. package/dist/github-copilot/models.js +3 -3
  439. package/dist/github-copilot/openai-compatible-error.js +1 -1
  440. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  441. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  442. package/dist/github-copilot/responses/openai-error.js +1 -1
  443. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  444. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  445. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  446. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  447. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  448. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  449. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  450. package/dist/id/id.js +1 -1
  451. package/dist/image/photon.js +2 -2
  452. package/dist/image.js +6 -6
  453. package/dist/instance/service.js +5 -5
  454. package/dist/instance.js +353 -353
  455. package/dist/instruction-discovery.js +81 -81
  456. package/dist/instructions/builtins.js +82 -82
  457. package/dist/instructions/index.js +3 -3
  458. package/dist/integration/connection.js +1 -1
  459. package/dist/integration.js +86 -86
  460. package/dist/job.js +75 -75
  461. package/dist/kv/sql.js +2 -2
  462. package/dist/kv.js +71 -71
  463. package/dist/location-activity.js +128 -128
  464. package/dist/location-mutation.js +99 -99
  465. package/dist/location-service-map.js +81 -81
  466. package/dist/location-services.js +350 -350
  467. package/dist/location.js +82 -82
  468. package/dist/mcp/client.js +86 -86
  469. package/dist/mcp/index.js +99 -99
  470. package/dist/mcp/instructions.js +122 -122
  471. package/dist/mcp/oauth.js +3 -3
  472. package/dist/mcp/stdio.js +85 -85
  473. package/dist/mime.js +1 -1
  474. package/dist/modal/models.js +3 -3
  475. package/dist/model-resolver.js +86 -86
  476. package/dist/model.js +10 -10
  477. package/dist/models-dev.js +86 -86
  478. package/dist/oauth/page.js +1 -1
  479. package/dist/permission/saved.js +78 -78
  480. package/dist/permission/sql.js +5 -5
  481. package/dist/permission.js +104 -104
  482. package/dist/persistent-pty/binary.bun.js +1 -1
  483. package/dist/persistent-pty/daemon.js +1 -1
  484. package/dist/persistent-pty/index.js +80 -80
  485. package/dist/persistent-pty/pty-binding.js +1 -1
  486. package/dist/persistent-pty.js +73 -73
  487. package/dist/plugin/agent.js +97 -97
  488. package/dist/plugin/command.js +94 -94
  489. package/dist/plugin/hooks.js +5 -5
  490. package/dist/plugin/host.js +213 -213
  491. package/dist/plugin/instance.js +5 -5
  492. package/dist/plugin/internal.js +324 -324
  493. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  494. package/dist/plugin/models-dev.js +75 -75
  495. package/dist/plugin/module.js +7 -7
  496. package/dist/plugin/optimize.js +2 -2
  497. package/dist/plugin/plan.js +97 -97
  498. package/dist/plugin/promise.js +1 -1
  499. package/dist/plugin/provider/alibaba.js +2 -2
  500. package/dist/plugin/provider/amazon-bedrock.js +3 -5
  501. package/dist/plugin/provider/anthropic.js +2 -2
  502. package/dist/plugin/provider/azure.js +118 -118
  503. package/dist/plugin/provider/cerebras.js +2 -2
  504. package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
  505. package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
  506. package/dist/plugin/provider/cohere.js +2 -2
  507. package/dist/plugin/provider/configured.js +114 -114
  508. package/dist/plugin/provider/digitalocean.js +79 -79
  509. package/dist/plugin/provider/dynamic.js +2 -2
  510. package/dist/plugin/provider/factory.js +1 -1
  511. package/dist/plugin/provider/gateway.js +2 -2
  512. package/dist/plugin/provider/github-copilot.js +80 -80
  513. package/dist/plugin/provider/gitlab.js +3 -3
  514. package/dist/plugin/provider/google-vertex.js +2 -2
  515. package/dist/plugin/provider/kilo.js +2 -2
  516. package/dist/plugin/provider/llmgateway.js +76 -76
  517. package/dist/plugin/provider/lmstudio.js +117 -117
  518. package/dist/plugin/provider/mistral.js +2 -2
  519. package/dist/plugin/provider/modal.js +79 -79
  520. package/dist/plugin/provider/nvidia.js +2 -2
  521. package/dist/plugin/provider/ollama.js +117 -117
  522. package/dist/plugin/provider/openai-compatible.js +1 -1
  523. package/dist/plugin/provider/openai.js +78 -78
  524. package/dist/plugin/provider/opencode.js +79 -79
  525. package/dist/plugin/provider/openrouter.js +3 -3
  526. package/dist/plugin/provider/perplexity.js +2 -2
  527. package/dist/plugin/provider/poe.js +76 -76
  528. package/dist/plugin/provider/sap-ai-core.js +3 -3
  529. package/dist/plugin/provider/sdk-factory.js +1 -1
  530. package/dist/plugin/provider/snowflake-cortex.js +117 -117
  531. package/dist/plugin/provider/venice.js +2 -2
  532. package/dist/plugin/provider/vercel.js +2 -2
  533. package/dist/plugin/provider/vllm.js +117 -117
  534. package/dist/plugin/provider/xai.js +77 -77
  535. package/dist/plugin/provider/zenmux.js +2 -2
  536. package/dist/plugin/provider.js +158 -158
  537. package/dist/plugin/sdk.js +74 -74
  538. package/dist/plugin/service.js +3 -3
  539. package/dist/plugin/skill.js +131 -131
  540. package/dist/plugin/source-directory.js +1 -1
  541. package/dist/plugin/supervisor.js +339 -339
  542. package/dist/plugin/update.js +2 -2
  543. package/dist/plugin/variant.js +4 -4
  544. package/dist/plugin/vcs/git.js +82 -82
  545. package/dist/plugin/vcs/hg.js +82 -82
  546. package/dist/plugin/warming.js +112 -112
  547. package/dist/plugin/websearch/exa.js +7 -7
  548. package/dist/plugin/websearch/firecrawl.js +6 -6
  549. package/dist/plugin/websearch/index.js +8 -8
  550. package/dist/plugin/websearch/mcp.js +2 -2
  551. package/dist/plugin/websearch/parallel.js +6 -6
  552. package/dist/plugin/websearch/tavily.js +6 -6
  553. package/dist/plugin.js +224 -224
  554. package/dist/project/schema.js +8 -8
  555. package/dist/project/sql.js +4 -4
  556. package/dist/project.js +83 -83
  557. package/dist/provider.js +5 -5
  558. package/dist/pty/protocol.js +1 -1
  559. package/dist/pty/schema.js +3 -3
  560. package/dist/pty/ticket.js +1 -1
  561. package/dist/pty.js +88 -88
  562. package/dist/reference/instructions.js +80 -80
  563. package/dist/reference.js +84 -84
  564. package/dist/repository-cache.js +76 -76
  565. package/dist/repository.js +3 -3
  566. package/dist/ripgrep/binary.js +2 -2
  567. package/dist/ripgrep.js +91 -91
  568. package/dist/rpc.js +81 -81
  569. package/dist/schema.js +1 -1
  570. package/dist/session/command.js +72 -72
  571. package/dist/session/compaction.js +129 -129
  572. package/dist/session/context.js +147 -147
  573. package/dist/session/environment.js +5 -5
  574. package/dist/session/error.js +5 -5
  575. package/dist/session/event.js +1 -1
  576. package/dist/session/execution/restart.js +216 -216
  577. package/dist/session/execution.js +120 -120
  578. package/dist/session/generate.js +146 -146
  579. package/dist/session/history.js +15 -15
  580. package/dist/session/inbox.js +80 -80
  581. package/dist/session/info.js +3 -3
  582. package/dist/session/instruction-entry.js +75 -75
  583. package/dist/session/instruction-state.js +8 -8
  584. package/dist/session/instructions.js +92 -92
  585. package/dist/session/message-updater.js +2 -2
  586. package/dist/session/message.js +1 -1
  587. package/dist/session/model-request.js +113 -113
  588. package/dist/session/model-transport.js +9 -9
  589. package/dist/session/move.js +126 -126
  590. package/dist/session/projector.js +84 -84
  591. package/dist/session/prompt.js +100 -100
  592. package/dist/session/provider-context.js +3 -3
  593. package/dist/session/revert.js +85 -85
  594. package/dist/session/run-coordinator.js +1 -1
  595. package/dist/session/runner/index.js +3 -3
  596. package/dist/session/runner/llm.js +223 -223
  597. package/dist/session/runner/max-steps.js +1 -1
  598. package/dist/session/runner/model.js +86 -86
  599. package/dist/session/runner/publish-llm-event.js +3 -3
  600. package/dist/session/runner/retry.js +110 -110
  601. package/dist/session/runner/step.js +119 -119
  602. package/dist/session/runner/to-llm-message.js +2 -2
  603. package/dist/session/schema.js +5 -5
  604. package/dist/session/session.js +167 -167
  605. package/dist/session/shell.js +131 -131
  606. package/dist/session/skill.js +98 -98
  607. package/dist/session/sql.js +5 -5
  608. package/dist/session/stats.js +71 -71
  609. package/dist/session/store.js +85 -85
  610. package/dist/session/subagent-completion.js +1 -1
  611. package/dist/session/subagent-job.js +205 -205
  612. package/dist/session/system-prompt.js +5 -5
  613. package/dist/session/title.js +147 -147
  614. package/dist/session/to-session-error.js +107 -107
  615. package/dist/session/transfer.js +212 -212
  616. package/dist/session/usage.js +1 -1
  617. package/dist/session.js +209 -209
  618. package/dist/shell/parse.js +6 -6
  619. package/dist/shell/result.js +1 -1
  620. package/dist/shell/scan.js +1 -1
  621. package/dist/shell/select.js +13 -13
  622. package/dist/shell.js +133 -133
  623. package/dist/skill/discovery.js +6 -6
  624. package/dist/skill/instructions.js +100 -100
  625. package/dist/skill.js +103 -103
  626. package/dist/snapshot.js +84 -84
  627. package/dist/state.js +1 -1
  628. package/dist/tool/html-markdown.js +1 -1
  629. package/dist/tool/http-body.js +1 -1
  630. package/dist/tool/mcp.js +121 -121
  631. package/dist/tool/plugin/edit.js +115 -115
  632. package/dist/tool/plugin/file-diff.js +1 -1
  633. package/dist/tool/plugin/glob.js +118 -118
  634. package/dist/tool/plugin/grep.js +120 -120
  635. package/dist/tool/plugin/opencode.js +3 -3
  636. package/dist/tool/plugin/patch.js +117 -117
  637. package/dist/tool/plugin/question.js +100 -100
  638. package/dist/tool/plugin/read.js +119 -119
  639. package/dist/tool/plugin/shell.js +210 -210
  640. package/dist/tool/plugin/skill.js +102 -102
  641. package/dist/tool/plugin/subagent.js +204 -204
  642. package/dist/tool/plugin/webfetch.js +103 -103
  643. package/dist/tool/plugin/websearch.js +103 -103
  644. package/dist/tool/plugin/write.js +109 -109
  645. package/dist/tool/read-filesystem.js +96 -96
  646. package/dist/tool/runtime.js +1 -1
  647. package/dist/tool-output.js +8 -8
  648. package/dist/tool.js +13 -13
  649. package/dist/types/plugin/provider/amazon-bedrock.d.ts +0 -1
  650. package/dist/util/error-summary.js +1 -1
  651. package/dist/util/error.js +1 -1
  652. package/dist/util/iife.js +1 -1
  653. package/dist/util/lazy.js +1 -1
  654. package/dist/util/slug.js +1 -1
  655. package/dist/util/token.js +1 -1
  656. package/dist/util/which.js +1 -1
  657. package/dist/util/wildcard.js +1 -1
  658. package/dist/v1/config/agent.js +7 -7
  659. package/dist/v1/config/attachment.js +4 -4
  660. package/dist/v1/config/command.js +1 -1
  661. package/dist/v1/config/config.js +16 -16
  662. package/dist/v1/config/error.js +4 -4
  663. package/dist/v1/config/formatter.js +1 -1
  664. package/dist/v1/config/layout.js +1 -1
  665. package/dist/v1/config/lsp.js +3 -3
  666. package/dist/v1/config/mcp.js +4 -4
  667. package/dist/v1/config/migrate.js +4 -4
  668. package/dist/v1/config/permission.js +7 -7
  669. package/dist/v1/config/plugin.js +1 -1
  670. package/dist/v1/config/provider-options.js +1 -1
  671. package/dist/v1/config/provider.js +4 -4
  672. package/dist/v1/config/server.js +2 -2
  673. package/dist/v1/config/skills.js +3 -3
  674. package/dist/v1/permission.js +1 -1
  675. package/dist/vcs/patch.js +1 -1
  676. package/dist/vcs.js +85 -85
  677. package/dist/websearch.js +82 -82
  678. package/dist/wellknown/plugin.js +74 -74
  679. package/dist/wellknown.js +79 -79
  680. package/dist/workspace/driver.js +5 -5
  681. package/dist/workspace/sql.js +1 -1
  682. package/dist/workspace.js +78 -78
  683. package/dist/worktree/directory.js +2 -2
  684. package/dist/worktree/git.js +5 -5
  685. package/dist/worktree/refresh.js +342 -342
  686. package/dist/worktree/sql.js +5 -5
  687. package/dist/worktree.js +87 -87
  688. package/package.json +8 -8
  689. package/dist/chunks/file-mutation-6kdq0pjd.js +0 -4
  690. package/dist/chunks/file-mutation-n95b3jav.js +0 -18
  691. package/dist/chunks/file-mutation-tg8gtkmk.js +0 -22
  692. package/dist/chunks/file-mutation-ymkfqb6w.js +0 -247
  693. /package/dist/chunks/{file-mutation-0qkdqm5v.js → aisdk-native-0qkdqm5v.js} +0 -0
  694. /package/dist/chunks/{file-mutation-0zkw76rk.js → aisdk-native-0zkw76rk.js} +0 -0
  695. /package/dist/chunks/{file-mutation-17cy0kzp.js → aisdk-native-17cy0kzp.js} +0 -0
  696. /package/dist/chunks/{file-mutation-1cnp2v09.js → aisdk-native-1cnp2v09.js} +0 -0
  697. /package/dist/chunks/{file-mutation-1kg9ymc8.js → aisdk-native-1kg9ymc8.js} +0 -0
  698. /package/dist/chunks/{file-mutation-2710q6r3.js → aisdk-native-2710q6r3.js} +0 -0
  699. /package/dist/chunks/{file-mutation-2axfhc9x.js → aisdk-native-2axfhc9x.js} +0 -0
  700. /package/dist/chunks/{file-mutation-2c3vjs8z.js → aisdk-native-2c3vjs8z.js} +0 -0
  701. /package/dist/chunks/{file-mutation-359p4xyc.js → aisdk-native-359p4xyc.js} +0 -0
  702. /package/dist/chunks/{file-mutation-3asan66x.js → aisdk-native-3asan66x.js} +0 -0
  703. /package/dist/chunks/{file-mutation-3v8g72cx.js → aisdk-native-3v8g72cx.js} +0 -0
  704. /package/dist/chunks/{file-mutation-3w5fmr99.js → aisdk-native-3w5fmr99.js} +0 -0
  705. /package/dist/chunks/{file-mutation-3wcehsnq.js → aisdk-native-3wcehsnq.js} +0 -0
  706. /package/dist/chunks/{file-mutation-43n2bw4t.js → aisdk-native-43n2bw4t.js} +0 -0
  707. /package/dist/chunks/{file-mutation-4knz6hnm.js → aisdk-native-4knz6hnm.js} +0 -0
  708. /package/dist/chunks/{file-mutation-4vcrnpx2.js → aisdk-native-4vcrnpx2.js} +0 -0
  709. /package/dist/chunks/{file-mutation-4y7fprxs.js → aisdk-native-4y7fprxs.js} +0 -0
  710. /package/dist/chunks/{file-mutation-53557ph1.js → aisdk-native-53557ph1.js} +0 -0
  711. /package/dist/chunks/{file-mutation-550bvhaj.js → aisdk-native-550bvhaj.js} +0 -0
  712. /package/dist/chunks/{file-mutation-6prwharc.js → aisdk-native-6prwharc.js} +0 -0
  713. /package/dist/chunks/{file-mutation-7akdwqpd.js → aisdk-native-7akdwqpd.js} +0 -0
  714. /package/dist/chunks/{file-mutation-7m9af43g.js → aisdk-native-7m9af43g.js} +0 -0
  715. /package/dist/chunks/{file-mutation-822emrt2.js → aisdk-native-822emrt2.js} +0 -0
  716. /package/dist/chunks/{file-mutation-88xbtdfr.js → aisdk-native-88xbtdfr.js} +0 -0
  717. /package/dist/chunks/{file-mutation-8n3pysct.js → aisdk-native-8n3pysct.js} +0 -0
  718. /package/dist/chunks/{file-mutation-922hggd3.js → aisdk-native-922hggd3.js} +0 -0
  719. /package/dist/chunks/{file-mutation-9a4afbnw.js → aisdk-native-9a4afbnw.js} +0 -0
  720. /package/dist/chunks/{file-mutation-9rqn6x4v.js → aisdk-native-9rqn6x4v.js} +0 -0
  721. /package/dist/chunks/{file-mutation-a6k6eb26.js → aisdk-native-a6k6eb26.js} +0 -0
  722. /package/dist/chunks/{file-mutation-af5trqkr.js → aisdk-native-af5trqkr.js} +0 -0
  723. /package/dist/chunks/{file-mutation-afrmfg78.js → aisdk-native-afrmfg78.js} +0 -0
  724. /package/dist/chunks/{file-mutation-aqzs7mqg.js → aisdk-native-aqzs7mqg.js} +0 -0
  725. /package/dist/chunks/{file-mutation-atq7p7m5.js → aisdk-native-atq7p7m5.js} +0 -0
  726. /package/dist/chunks/{file-mutation-bkyjaxrp.js → aisdk-native-bkyjaxrp.js} +0 -0
  727. /package/dist/chunks/{file-mutation-bmr6ed5q.js → aisdk-native-bmr6ed5q.js} +0 -0
  728. /package/dist/chunks/{file-mutation-cf4snx6d.js → aisdk-native-cf4snx6d.js} +0 -0
  729. /package/dist/chunks/{file-mutation-cvy3z8tj.js → aisdk-native-cvy3z8tj.js} +0 -0
  730. /package/dist/chunks/{file-mutation-d9fn303g.js → aisdk-native-d9fn303g.js} +0 -0
  731. /package/dist/chunks/{file-mutation-d9jj8t3e.js → aisdk-native-d9jj8t3e.js} +0 -0
  732. /package/dist/chunks/{file-mutation-dajrwvna.js → aisdk-native-dajrwvna.js} +0 -0
  733. /package/dist/chunks/{file-mutation-dap0rakb.js → aisdk-native-dap0rakb.js} +0 -0
  734. /package/dist/chunks/{file-mutation-df08tz66.js → aisdk-native-df08tz66.js} +0 -0
  735. /package/dist/chunks/{file-mutation-dy18nga0.js → aisdk-native-dy18nga0.js} +0 -0
  736. /package/dist/chunks/{file-mutation-e5kj55wp.js → aisdk-native-e5kj55wp.js} +0 -0
  737. /package/dist/chunks/{file-mutation-e73j6tqm.js → aisdk-native-e73j6tqm.js} +0 -0
  738. /package/dist/chunks/{file-mutation-ec1grn59.js → aisdk-native-ec1grn59.js} +0 -0
  739. /package/dist/chunks/{file-mutation-eh3zwz77.js → aisdk-native-eh3zwz77.js} +0 -0
  740. /package/dist/chunks/{file-mutation-emrn6kk6.js → aisdk-native-emrn6kk6.js} +0 -0
  741. /package/dist/chunks/{file-mutation-f0mxakyp.js → aisdk-native-f0mxakyp.js} +0 -0
  742. /package/dist/chunks/{file-mutation-f6n9ztr4.js → aisdk-native-f6n9ztr4.js} +0 -0
  743. /package/dist/chunks/{file-mutation-faypxj3z.js → aisdk-native-faypxj3z.js} +0 -0
  744. /package/dist/chunks/{file-mutation-fd410y7t.js → aisdk-native-fd410y7t.js} +0 -0
  745. /package/dist/chunks/{file-mutation-fxgpk5d8.js → aisdk-native-fxgpk5d8.js} +0 -0
  746. /package/dist/chunks/{file-mutation-g4wezp1m.js → aisdk-native-g4wezp1m.js} +0 -0
  747. /package/dist/chunks/{file-mutation-g86h250q.js → aisdk-native-g86h250q.js} +0 -0
  748. /package/dist/chunks/{file-mutation-gebd4c9n.js → aisdk-native-gebd4c9n.js} +0 -0
  749. /package/dist/chunks/{file-mutation-gftt206x.js → aisdk-native-gftt206x.js} +0 -0
  750. /package/dist/chunks/{file-mutation-hjbc5kem.js → aisdk-native-hjbc5kem.js} +0 -0
  751. /package/dist/chunks/{file-mutation-hk9envan.js → aisdk-native-hk9envan.js} +0 -0
  752. /package/dist/chunks/{file-mutation-hrnqkpcd.js → aisdk-native-hrnqkpcd.js} +0 -0
  753. /package/dist/chunks/{file-mutation-j2ntwpah.js → aisdk-native-j2ntwpah.js} +0 -0
  754. /package/dist/chunks/{file-mutation-j5zkgpj8.js → aisdk-native-j5zkgpj8.js} +0 -0
  755. /package/dist/chunks/{file-mutation-jr7sbwjy.js → aisdk-native-jr7sbwjy.js} +0 -0
  756. /package/dist/chunks/{file-mutation-jwfs4k6c.js → aisdk-native-jwfs4k6c.js} +0 -0
  757. /package/dist/chunks/{file-mutation-jzg6c2d5.js → aisdk-native-jzg6c2d5.js} +0 -0
  758. /package/dist/chunks/{file-mutation-mp448xyj.js → aisdk-native-mp448xyj.js} +0 -0
  759. /package/dist/chunks/{file-mutation-msx8hqn2.js → aisdk-native-msx8hqn2.js} +0 -0
  760. /package/dist/chunks/{file-mutation-n05xt0ee.js → aisdk-native-n05xt0ee.js} +0 -0
  761. /package/dist/chunks/{file-mutation-n3j8tn72.js → aisdk-native-n3j8tn72.js} +0 -0
  762. /package/dist/chunks/{file-mutation-njntx4h6.js → aisdk-native-njntx4h6.js} +0 -0
  763. /package/dist/chunks/{file-mutation-q3sfg36h.js → aisdk-native-q3sfg36h.js} +0 -0
  764. /package/dist/chunks/{file-mutation-q74kybfr.js → aisdk-native-q74kybfr.js} +0 -0
  765. /package/dist/chunks/{file-mutation-qaymkmh1.js → aisdk-native-qaymkmh1.js} +0 -0
  766. /package/dist/chunks/{file-mutation-qb87gjwd.js → aisdk-native-qb87gjwd.js} +0 -0
  767. /package/dist/chunks/{file-mutation-qfa1cgps.js → aisdk-native-qfa1cgps.js} +0 -0
  768. /package/dist/chunks/{file-mutation-qrg20bc0.js → aisdk-native-qrg20bc0.js} +0 -0
  769. /package/dist/chunks/{file-mutation-rcb2kzg1.js → aisdk-native-rcb2kzg1.js} +0 -0
  770. /package/dist/chunks/{file-mutation-sdp7kfr6.js → aisdk-native-sdp7kfr6.js} +0 -0
  771. /package/dist/chunks/{file-mutation-sk3qaz4a.js → aisdk-native-sk3qaz4a.js} +0 -0
  772. /package/dist/chunks/{file-mutation-ssg3fenm.js → aisdk-native-ssg3fenm.js} +0 -0
  773. /package/dist/chunks/{file-mutation-twg0f83k.js → aisdk-native-twg0f83k.js} +0 -0
  774. /package/dist/chunks/{file-mutation-w803qqfp.js → aisdk-native-w803qqfp.js} +0 -0
  775. /package/dist/chunks/{file-mutation-wer8tq1h.js → aisdk-native-wer8tq1h.js} +0 -0
  776. /package/dist/chunks/{file-mutation-wtztk69x.js → aisdk-native-wtztk69x.js} +0 -0
  777. /package/dist/chunks/{file-mutation-x0ckcb58.js → aisdk-native-x0ckcb58.js} +0 -0
  778. /package/dist/chunks/{file-mutation-x61499pn.js → aisdk-native-x61499pn.js} +0 -0
  779. /package/dist/chunks/{file-mutation-y44na4kk.js → aisdk-native-y44na4kk.js} +0 -0
  780. /package/dist/chunks/{file-mutation-y8cydn3q.js → aisdk-native-y8cydn3q.js} +0 -0
  781. /package/dist/chunks/{file-mutation-ygaqb7jw.js → aisdk-native-ygaqb7jw.js} +0 -0
  782. /package/dist/chunks/{file-mutation-ym463w8f.js → aisdk-native-ym463w8f.js} +0 -0
  783. /package/dist/chunks/{file-mutation-z9919s4g.js → aisdk-native-z9919s4g.js} +0 -0
@@ -1,9 +1,9 @@
1
1
  // src/filesystem/watcher-binding.ts
2
2
  import { createRequire } from "node:module";
3
- function load3() {
3
+ function load2() {
4
4
  const require2 = createRequire(import.meta.url);
5
5
  const libc = typeof OPENCODE_LIBC === "undefined" ? undefined : OPENCODE_LIBC;
6
6
  return require2(process.env.OPENCODE_PARCEL_WATCHER_PATH ?? `@parcel/watcher-${process.platform}-${process.arch}${process.platform === "linux" ? `-${libc || "glibc"}` : ""}`);
7
7
  }
8
8
 
9
- export { load3 };
9
+ export { load2 };
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  Service80,
3
3
  node85
4
- } from "./file-mutation-dpje9hvt.js";
4
+ } from "./aisdk-native-17faxaxv.js";
5
5
  import {
6
6
  makeUnsafe2
7
- } from "./file-mutation-y71avatq.js";
7
+ } from "./aisdk-native-y71avatq.js";
8
8
  import {
9
9
  Service79,
10
10
  node84
11
- } from "./file-mutation-c19c6034.js";
11
+ } from "./aisdk-native-afd5mpsr.js";
12
12
  import {
13
13
  SessionEvent2
14
- } from "./file-mutation-ec1grn59.js";
14
+ } from "./aisdk-native-ec1grn59.js";
15
15
  import {
16
16
  SessionMessage2
17
- } from "./file-mutation-gftt206x.js";
17
+ } from "./aisdk-native-gftt206x.js";
18
18
  import {
19
19
  SessionSchema2
20
- } from "./file-mutation-7w99qc9d.js";
20
+ } from "./aisdk-native-3ssf1kws.js";
21
21
  import {
22
22
  SessionMessageTable2,
23
23
  SessionInboxTable2
24
- } from "./file-mutation-a1bz86dw.js";
24
+ } from "./aisdk-native-a1bz86dw.js";
25
25
  import {
26
26
  __export
27
- } from "./file-mutation-9rqn6x4v.js";
27
+ } from "./aisdk-native-9rqn6x4v.js";
28
28
 
29
29
  // src/session/inbox.ts
30
30
  var exports_inbox = {};
@@ -37,7 +37,7 @@ __export(exports_inbox, {
37
37
  LifecycleConflict: () => LifecycleConflict2,
38
38
  Move: () => Move2,
39
39
  MovePayload: () => MovePayload2,
40
- Service: () => Service42,
40
+ Service: () => Service40,
41
41
  SessionInbox: () => exports_inbox,
42
42
  Synthetic: () => Synthetic2,
43
43
  SyntheticPayload: () => SyntheticPayload2,
@@ -50,7 +50,7 @@ __export(exports_inbox, {
50
50
  make: () => make17,
51
51
  moveIDs: () => moveIDs2,
52
52
  nextPromotable: () => nextPromotable2,
53
- node: () => node45,
53
+ node: () => node43,
54
54
  projectAdmitted: () => projectAdmitted2,
55
55
  projectCancelled: () => projectCancelled2,
56
56
  projectDelivered: () => projectDelivered2,
@@ -151,7 +151,7 @@ var promotedFromMessage = Effect.fn("SessionInbox.promotedFromMessage")(function
151
151
  return yield* new LifecycleConflict2({ id });
152
152
  });
153
153
 
154
- class Service42 extends Context.Service()("@opencode/SessionInbox") {
154
+ class Service40 extends Context.Service()("@opencode/SessionInbox") {
155
155
  }
156
156
  var make17 = Effect.fn("SessionInbox.make")(function* () {
157
157
  const database = yield* Service80;
@@ -227,8 +227,8 @@ var make17 = Effect.fn("SessionInbox.make")(function* () {
227
227
  queue
228
228
  };
229
229
  });
230
- var layer18 = Layer.effect(Service42, make17());
231
- var node45 = makeGlobalNode({ service: Service42, layer: layer18, deps: [node85, node84] });
230
+ var layer18 = Layer.effect(Service40, make17());
231
+ var node43 = makeGlobalNode({ service: Service40, layer: layer18, deps: [node85, node84] });
232
232
  var projectAdmitted2 = Effect.fn("SessionInbox.projectAdmitted")(function* (db, request) {
233
233
  const message = yield* db.select({ id: SessionMessageTable2.id }).from(SessionMessageTable2).where(eq(SessionMessageTable2.id, request.id)).get().pipe(Effect.orDie);
234
234
  if (message !== undefined)
@@ -326,4 +326,4 @@ var pendingSteers = (db, sessionID) => db.select().from(SessionInboxTable2).wher
326
326
  return rows;
327
327
  }));
328
328
 
329
- export { Compaction2, CompactionPayload2, Delivery2, Info7, Item2, Move2, MovePayload2, Synthetic2, SyntheticPayload2, User2, UserPayload2, serialized2, LifecycleConflict2, find2, Service42, make17, layer18, node45, projectAdmitted2, projectDelivered2, projectCancelled2, projectDeliveryChanged2, list3, moveIDs2, nextPromotable2, has2, promote2, exports_inbox };
329
+ export { Compaction2, CompactionPayload2, Delivery2, Info7, Item2, Move2, MovePayload2, Synthetic2, SyntheticPayload2, User2, UserPayload2, serialized2, LifecycleConflict2, find2, Service40, make17, layer18, node43, projectAdmitted2, projectDelivered2, projectCancelled2, projectDeliveryChanged2, list3, moveIDs2, nextPromotable2, has2, promote2, exports_inbox };
@@ -1,28 +1,28 @@
1
1
  import {
2
2
  lazy2
3
- } from "./file-mutation-88xbtdfr.js";
3
+ } from "./aisdk-native-88xbtdfr.js";
4
4
  import {
5
- load3
6
- } from "./file-mutation-j935v87r.js";
5
+ load2
6
+ } from "./aisdk-native-paphc93g.js";
7
7
  import {
8
8
  __export
9
- } from "./file-mutation-9rqn6x4v.js";
9
+ } from "./aisdk-native-9rqn6x4v.js";
10
10
 
11
11
  // src/filesystem/watcher.ts
12
12
  var exports_watcher = {};
13
13
  __export(exports_watcher, {
14
- Event: () => Event14,
14
+ Event: () => Event11,
15
15
  Native: () => Native3,
16
- Options: () => Options10,
17
- Service: () => Service61,
16
+ Options: () => Options8,
17
+ Service: () => Service58,
18
18
  Test: () => Test3,
19
19
  Watcher: () => exports_watcher,
20
20
  configured: () => configured9,
21
21
  hasNativeBinding: () => hasNativeBinding2,
22
- layer: () => layer22,
22
+ layer: () => layer24,
23
23
  nativeLayer: () => nativeLayer2,
24
24
  nativeNode: () => nativeNode2,
25
- node: () => node64,
25
+ node: () => node62,
26
26
  testLayer: () => testLayer3
27
27
  });
28
28
  import { createWrapper } from "@parcel/watcher/wrapper";
@@ -33,10 +33,10 @@ import { Cause, Context, Effect, Layer, PubSub, RcMap, Schema, Stream } from "ef
33
33
  import { watch } from "node:fs";
34
34
  import path from "path";
35
35
  var SUBSCRIBE_TIMEOUT_MS = 1e4;
36
- var Event14 = { Updated: FileSystem.Event.Changed };
36
+ var Event11 = { Updated: FileSystem.Event.Changed };
37
37
  var watcher = lazy2(() => {
38
38
  try {
39
- return createWrapper(load3());
39
+ return createWrapper(load2());
40
40
  } catch {
41
41
  return;
42
42
  }
@@ -53,18 +53,18 @@ var hasNativeBinding2 = () => !!watcher();
53
53
 
54
54
  class Native3 extends Context.Service()("@opencode/Watcher/Native") {
55
55
  }
56
- var Options10 = Schema.Struct({
56
+ var Options8 = Schema.Struct({
57
57
  enabled: Schema.optional(Schema.Boolean)
58
58
  });
59
59
 
60
- class Service61 extends Context.Service()("@opencode/Watcher") {
60
+ class Service58 extends Context.Service()("@opencode/Watcher") {
61
61
  }
62
62
 
63
63
  class Test3 extends Context.Service()("@opencode/Watcher/Test") {
64
64
  }
65
- var layer22 = (options) => Layer.effect(Service61, Effect.gen(function* () {
65
+ var layer24 = (options) => Layer.effect(Service58, Effect.gen(function* () {
66
66
  if (options?.enabled === false) {
67
- return Service61.of({ subscribe: () => Effect.succeed(Stream.empty) });
67
+ return Service58.of({ subscribe: () => Effect.succeed(Stream.empty) });
68
68
  }
69
69
  const native = yield* Native3;
70
70
  const watchers = yield* RcMap.make({
@@ -105,7 +105,7 @@ var layer22 = (options) => Layer.effect(Service61, Effect.gen(function* () {
105
105
  return Stream.fromSubscription(subscription);
106
106
  }));
107
107
  });
108
- return Service61.of({ subscribe });
108
+ return Service58.of({ subscribe });
109
109
  }));
110
110
  var testLayer3 = Layer.effectContext(Effect.gen(function* () {
111
111
  const subscriptions = [];
@@ -129,9 +129,9 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
129
129
  };
130
130
  })
131
131
  });
132
- const context = yield* Layer.build(layer22().pipe(Layer.provide(Layer.succeed(Native3, native))));
132
+ const context = yield* Layer.build(layer24().pipe(Layer.provide(Layer.succeed(Native3, native))));
133
133
  const test = Test3.of({
134
- subscribe: Context.get(context, Service61).subscribe,
134
+ subscribe: Context.get(context, Service58).subscribe,
135
135
  emit: (update) => Effect.sync(() => {
136
136
  const target = path.resolve(update.path);
137
137
  active.forEach((matches, publish) => {
@@ -141,7 +141,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
141
141
  }),
142
142
  subscriptions: () => Effect.sync(() => [...subscriptions])
143
143
  });
144
- return Context.empty().pipe(Context.add(Service61, test), Context.add(Test3, test));
144
+ return Context.empty().pipe(Context.add(Service58, test), Context.add(Test3, test));
145
145
  }));
146
146
  var nativeLayer2 = Layer.succeed(Native3, Native3.of({
147
147
  subscribe: (input) => {
@@ -165,9 +165,9 @@ var nativeLayer2 = Layer.succeed(Native3, Native3.of({
165
165
  }));
166
166
  var nativeNode2 = makeGlobalNode({ service: Native3, layer: nativeLayer2, deps: [] });
167
167
  function configured9(options) {
168
- return makeGlobalNode({ service: Service61, layer: layer22(options), deps: [nativeNode2] });
168
+ return makeGlobalNode({ service: Service58, layer: layer24(options), deps: [nativeNode2] });
169
169
  }
170
- var node64 = configured9();
170
+ var node62 = configured9();
171
171
  function subscribeDirectory(native, backend, directory, ignore, publish) {
172
172
  if (!native || !backend) {
173
173
  return Effect.logError("watcher backend not supported", { directory, platform: process.platform }).pipe(Effect.as(undefined));
@@ -187,4 +187,4 @@ function subscribeDirectory(native, backend, directory, ignore, publish) {
187
187
  }).pipe(Effect.as(undefined))));
188
188
  }
189
189
 
190
- export { Event14, hasNativeBinding2, Native3, Options10, Service61, Test3, layer22, testLayer3, nativeLayer2, nativeNode2, configured9, node64, exports_watcher };
190
+ export { Event11, hasNativeBinding2, Native3, Options8, Service58, Test3, layer24, testLayer3, nativeLayer2, nativeNode2, configured9, node62, exports_watcher };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./file-mutation-9rqn6x4v.js";
3
+ } from "./aisdk-native-9rqn6x4v.js";
4
4
 
5
5
  // src/oauth/page.ts
6
6
  var exports_page = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Timestamps2
3
- } from "./file-mutation-qfa1cgps.js";
3
+ } from "./aisdk-native-qfa1cgps.js";
4
4
 
5
5
  // src/credential/sql.ts
6
6
  import { integer, sqliteTable, text } from "drizzle-orm/sqlite-core";
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  Service80,
3
3
  node85
4
- } from "./file-mutation-dpje9hvt.js";
4
+ } from "./aisdk-native-17faxaxv.js";
5
5
  import {
6
6
  KVTable2
7
- } from "./file-mutation-3hepkmqq.js";
7
+ } from "./aisdk-native-3hepkmqq.js";
8
8
  import {
9
9
  __export
10
- } from "./file-mutation-9rqn6x4v.js";
10
+ } from "./aisdk-native-9rqn6x4v.js";
11
11
 
12
12
  // src/kv.ts
13
13
  var exports_kv = {};
14
14
  __export(exports_kv, {
15
15
  KV: () => exports_kv,
16
- Service: () => Service75,
17
- node: () => node79
16
+ Service: () => Service78,
17
+ node: () => node83
18
18
  });
19
19
  import { and, asc, eq, gt, gte, lt } from "drizzle-orm";
20
20
  import { Context, Effect, Layer } from "effect";
21
21
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
22
- class Service75 extends Context.Service()("@opencode/KV") {
22
+ class Service78 extends Context.Service()("@opencode/KV") {
23
23
  }
24
- var layer = Layer.effect(Service75, Effect.gen(function* () {
24
+ var layer = Layer.effect(Service78, Effect.gen(function* () {
25
25
  const db = (yield* Service80).db;
26
- return Service75.of({
26
+ return Service78.of({
27
27
  get: Effect.fn("KV.get")(function* (key) {
28
28
  return (yield* db.select({ value: KVTable2.value }).from(KVTable2).where(eq(KVTable2.key, key)).get().pipe(Effect.orDie))?.value;
29
29
  }),
@@ -51,6 +51,6 @@ function prefixEnd(prefix) {
51
51
  return;
52
52
  return `${points.slice(0, index).join("")}${String.fromCodePoint(points[index].codePointAt(0) + 1)}`;
53
53
  }
54
- var node79 = makeGlobalNode({ service: Service75, layer, deps: [node85] });
54
+ var node83 = makeGlobalNode({ service: Service78, layer, deps: [node85] });
55
55
 
56
- export { Service75, node79, exports_kv };
56
+ export { Service78, node83, exports_kv };
@@ -1,18 +1,18 @@
1
1
  import {
2
- Service43
3
- } from "./file-mutation-ve6nm2s5.js";
2
+ Service42
3
+ } from "./aisdk-native-81rrwt6s.js";
4
4
  import {
5
5
  awaitActivation2
6
- } from "./file-mutation-n95b3jav.js";
6
+ } from "./aisdk-native-619r8v3y.js";
7
7
  import {
8
- Service45
9
- } from "./file-mutation-tx71xht9.js";
8
+ Service55
9
+ } from "./aisdk-native-1aczmqc6.js";
10
10
  import {
11
11
  unavailable2
12
- } from "./file-mutation-fxbjtjnd.js";
12
+ } from "./aisdk-native-fxbjtjnd.js";
13
13
  import {
14
14
  __export
15
- } from "./file-mutation-9rqn6x4v.js";
15
+ } from "./aisdk-native-9rqn6x4v.js";
16
16
 
17
17
  // src/session/shell.ts
18
18
  var exports_shell3 = {};
@@ -22,8 +22,8 @@ __export(exports_shell3, {
22
22
  });
23
23
  import { Effect } from "effect";
24
24
  var start2 = Effect.fn("SessionShell.start")(function* (input) {
25
- const instances = yield* Service43;
26
- const shell = yield* awaitActivation2.pipe(Effect.andThen(Service45), instances.provide(input.session));
25
+ const instances = yield* Service42;
26
+ const shell = yield* awaitActivation2.pipe(Effect.andThen(Service55), instances.provide(input.session));
27
27
  const info = yield* shell.create({
28
28
  command: input.command,
29
29
  cwd: input.session.location.directory,
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  PositiveInt2,
3
3
  RelativePath2
4
- } from "./file-mutation-922hggd3.js";
4
+ } from "./aisdk-native-922hggd3.js";
5
5
  import {
6
- Service69,
7
- node73
8
- } from "./file-mutation-thm2xcas.js";
6
+ Service70,
7
+ node75
8
+ } from "./aisdk-native-tke13nxd.js";
9
9
  import {
10
- Service21,
11
- node25
12
- } from "./file-mutation-7g683t1r.js";
10
+ Service14,
11
+ node17
12
+ } from "./aisdk-native-1bhgtrtq.js";
13
13
  import {
14
14
  __export
15
- } from "./file-mutation-9rqn6x4v.js";
15
+ } from "./aisdk-native-9rqn6x4v.js";
16
16
 
17
17
  // src/filesystem.ts
18
18
  var exports_filesystem = {};
@@ -21,7 +21,7 @@ __export(exports_filesystem, {
21
21
  DEFAULT_SEARCH_LIMIT: () => DEFAULT_SEARCH_LIMIT2,
22
22
  DEFAULT_SEARCH_TIMEOUT_MS: () => DEFAULT_SEARCH_TIMEOUT_MS2,
23
23
  Entry: () => Entry2,
24
- Event: () => Event6,
24
+ Event: () => Event2,
25
25
  FileSystem: () => exports_filesystem,
26
26
  FindInput: () => FindInput2,
27
27
  GlobInput: () => GlobInput2,
@@ -29,9 +29,9 @@ __export(exports_filesystem, {
29
29
  ListInput: () => ListInput2,
30
30
  Match: () => Match2,
31
31
  ReadInput: () => ReadInput2,
32
- Service: () => Service20,
32
+ Service: () => Service13,
33
33
  Submatch: () => Submatch2,
34
- node: () => node24
34
+ node: () => node16
35
35
  });
36
36
  import { makeLocationNode } from "@opencode/util/effect/app-node";
37
37
  import path from "path";
@@ -72,14 +72,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
72
72
  limit: Schema.optionalKey(PositiveInt2)
73
73
  }) {
74
74
  }
75
- var Event6 = FileSystem.Event;
75
+ var Event2 = FileSystem.Event;
76
76
 
77
- class Service20 extends Context.Service()("@opencode/FileSystem") {
77
+ class Service13 extends Context.Service()("@opencode/FileSystem") {
78
78
  }
79
- var baseLayer = Layer.effect(Service20, Effect.gen(function* () {
79
+ var baseLayer = Layer.effect(Service13, Effect.gen(function* () {
80
80
  const fs = yield* FSUtil.Service;
81
- const location = yield* Service69;
82
- const search = yield* Service21;
81
+ const location = yield* Service70;
82
+ const search = yield* Service14;
83
83
  const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.orDie);
84
84
  const resolve = Effect.fnUntraced(function* (input) {
85
85
  const absolute = path.resolve(location.directory, input ?? ".");
@@ -90,7 +90,7 @@ var baseLayer = Layer.effect(Service20, Effect.gen(function* () {
90
90
  return yield* Effect.die(new Error("Path escapes the location"));
91
91
  return { absolute, real, directory: location.directory };
92
92
  });
93
- return Service20.of({
93
+ return Service13.of({
94
94
  find: search.find,
95
95
  read: Effect.fn("FileSystem.read")(function* (input) {
96
96
  const target = yield* resolve(input.path);
@@ -122,10 +122,10 @@ var baseLayer = Layer.effect(Service20, Effect.gen(function* () {
122
122
  })
123
123
  });
124
124
  }));
125
- var node24 = makeLocationNode({
126
- service: Service20,
125
+ var node16 = makeLocationNode({
126
+ service: Service13,
127
127
  layer: baseLayer,
128
- deps: [FSUtil.node, node73, node25]
128
+ deps: [FSUtil.node, node75, node17]
129
129
  });
130
130
 
131
- export { FindInput2, ReadInput2, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event6, Service20, node24, exports_filesystem, Entry2, Match2, Submatch2 };
131
+ export { FindInput2, ReadInput2, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event2, Service13, node16, exports_filesystem, Entry2, Match2, Submatch2 };
@@ -1,36 +1,36 @@
1
1
  import {
2
- Service54
3
- } from "./file-mutation-7r2070ss.js";
2
+ Service65
3
+ } from "./aisdk-native-23cdnrcg.js";
4
4
  import {
5
5
  MAX_MARKDOWN_BYTES2,
6
6
  convertHTMLToMarkdown2
7
- } from "./file-mutation-4vcrnpx2.js";
7
+ } from "./aisdk-native-4vcrnpx2.js";
8
8
  import {
9
9
  collectBoundedResponseBody2
10
- } from "./file-mutation-3v8g72cx.js";
10
+ } from "./aisdk-native-3v8g72cx.js";
11
11
  import {
12
12
  __export
13
- } from "./file-mutation-9rqn6x4v.js";
13
+ } from "./aisdk-native-9rqn6x4v.js";
14
14
 
15
15
  // src/tool/plugin/webfetch.ts
16
16
  var exports_webfetch = {};
17
17
  __export(exports_webfetch, {
18
18
  DEFAULT_TIMEOUT_SECONDS: () => DEFAULT_TIMEOUT_SECONDS2,
19
- Input: () => Input5,
19
+ Input: () => Input9,
20
20
  MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES2,
21
21
  MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
22
- Plugin: () => Plugin7,
22
+ Plugin: () => Plugin10,
23
23
  WebFetchTool: () => exports_webfetch,
24
24
  convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
25
25
  description: () => description4,
26
26
  extractTextFromHTML: () => extractTextFromHTML2,
27
- name: () => name5
27
+ name: () => name9
28
28
  });
29
29
  import { ToolFailure } from "@opencode/ai";
30
30
  import { Duration, Effect, Schema } from "effect";
31
31
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
32
32
  import { Parser } from "htmlparser2";
33
- var name5 = "webfetch";
33
+ var name9 = "webfetch";
34
34
  var MAX_RESPONSE_BYTES2 = MAX_MARKDOWN_BYTES2;
35
35
  var DEFAULT_TIMEOUT_SECONDS2 = 30;
36
36
  var MAX_TIMEOUT_SECONDS2 = 120;
@@ -38,7 +38,7 @@ var description4 = `Fetch content from an HTTP or HTTPS URL and return it as tex
38
38
 
39
39
  Use a more targeted tool when one is available. This tool is read-only. Large text results may be replaced with a preview while the complete output is retained in managed storage.`;
40
40
  var Timeout = Schema.Finite.check(Schema.isGreaterThan(0), Schema.isLessThanOrEqualTo(MAX_TIMEOUT_SECONDS2));
41
- var Input5 = Schema.Struct({
41
+ var Input9 = Schema.Struct({
42
42
  url: Schema.String.annotate({ description: "The HTTP or HTTPS URL to fetch content from" }),
43
43
  format: Schema.Literals(["text", "markdown", "html"]).annotate({ description: "The format to return the content in. Defaults to markdown." }).pipe(Schema.withDecodingDefaultKey(Effect.succeed("markdown"))),
44
44
  timeout: Schema.optionalKey(Timeout).annotate({
@@ -48,7 +48,7 @@ var Input5 = Schema.Struct({
48
48
  var Output = Schema.Struct({
49
49
  url: Schema.String,
50
50
  contentType: Schema.String,
51
- format: Input5.fields.format,
51
+ format: Input9.fields.format,
52
52
  output: Schema.String
53
53
  });
54
54
  var acceptHeader = (format) => {
@@ -92,16 +92,16 @@ var convert = (content, contentType, format) => {
92
92
  return extractTextFromHTML2(content);
93
93
  return content;
94
94
  };
95
- var Plugin7 = {
95
+ var Plugin10 = {
96
96
  id: "opencode.tool.webfetch",
97
97
  effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
98
98
  const http = yield* HttpClient.HttpClient;
99
- const permission = yield* Service54;
99
+ const permission = yield* Service65;
100
100
  yield* ctx.tool.transform((editor) => editor.add({
101
- name: name5,
101
+ name: name9,
102
102
  options: { codemode: false },
103
103
  description: description4,
104
- input: Input5,
104
+ input: Input9,
105
105
  output: Output,
106
106
  execute: (input, context) => Effect.gen(function* () {
107
107
  yield* Effect.try({
@@ -109,7 +109,7 @@ var Plugin7 = {
109
109
  catch: (error) => error
110
110
  });
111
111
  yield* permission.assert({
112
- action: name5,
112
+ action: name9,
113
113
  resources: [input.url],
114
114
  save: ["*"],
115
115
  metadata: input,
@@ -167,4 +167,4 @@ function extractTextFromHTML2(html) {
167
167
  parser.end();
168
168
  return text.trim();
169
169
  }
170
- export { name5, MAX_RESPONSE_BYTES2, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description4, Input5, Plugin7, extractTextFromHTML2, exports_webfetch };
170
+ export { name9, MAX_RESPONSE_BYTES2, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description4, Input9, Plugin10, extractTextFromHTML2, exports_webfetch };
@@ -2,45 +2,45 @@ import {
2
2
  NotFound2,
3
3
  WrongKind2,
4
4
  Failed2
5
- } from "./file-mutation-2a5m3afh.js";
5
+ } from "./aisdk-native-2a5m3afh.js";
6
6
  import {
7
- Service69
8
- } from "./file-mutation-thm2xcas.js";
7
+ Service70
8
+ } from "./aisdk-native-tke13nxd.js";
9
9
  import {
10
- Service67
11
- } from "./file-mutation-zxcqb81j.js";
10
+ Service62
11
+ } from "./aisdk-native-f1x6p4ya.js";
12
12
  import {
13
- Service13
14
- } from "./file-mutation-zd95htgz.js";
13
+ Service17
14
+ } from "./aisdk-native-52v448cf.js";
15
15
  import {
16
- Service25,
16
+ Service15,
17
17
  readText2,
18
18
  syncTextBom2
19
- } from "./file-mutation-vvcwpm63.js";
19
+ } from "./aisdk-native-6wgqt9fk.js";
20
20
  import {
21
- Service54
22
- } from "./file-mutation-7r2070ss.js";
21
+ Service65
22
+ } from "./aisdk-native-23cdnrcg.js";
23
23
  import {
24
- Service19,
24
+ Service64,
25
25
  resolvePath2
26
- } from "./file-mutation-8bwmgdjs.js";
26
+ } from "./aisdk-native-687r8w3k.js";
27
27
  import {
28
28
  fileDiff2
29
- } from "./file-mutation-6prwharc.js";
29
+ } from "./aisdk-native-6prwharc.js";
30
30
  import {
31
31
  __export
32
- } from "./file-mutation-9rqn6x4v.js";
32
+ } from "./aisdk-native-9rqn6x4v.js";
33
33
 
34
34
  // src/tool/plugin/patch.ts
35
35
  var exports_patch = {};
36
36
  __export(exports_patch, {
37
37
  Applied: () => Applied2,
38
- Input: () => Input7,
39
- Output: () => Output3,
38
+ Input: () => Input12,
39
+ Output: () => Output8,
40
40
  PatchTool: () => exports_patch,
41
- Plugin: () => Plugin9,
42
- name: () => name7,
43
- toModelContent: () => toModelContent3
41
+ Plugin: () => Plugin13,
42
+ name: () => name12,
43
+ toModelContent: () => toModelContent6
44
44
  });
45
45
  import { ToolFailure } from "@opencode/ai";
46
46
  import { FileDiff } from "@opencode/schema/file-diff";
@@ -85,8 +85,8 @@ It is important to remember:
85
85
  `;
86
86
 
87
87
  // src/tool/plugin/patch.ts
88
- var name7 = "patch";
89
- var Input7 = Schema.Struct({
88
+ var name12 = "patch";
89
+ var Input12 = Schema.Struct({
90
90
  patchText: Schema.String.annotate({
91
91
  description: "The full patch text describing add, update, and delete operations"
92
92
  })
@@ -96,30 +96,30 @@ var Applied2 = Schema.Struct({
96
96
  resource: Schema.String,
97
97
  target: Schema.String
98
98
  });
99
- var Output3 = Schema.Struct({
99
+ var Output8 = Schema.Struct({
100
100
  applied: Schema.Array(Applied2),
101
101
  files: Schema.Array(FileDiff.Info)
102
102
  });
103
- var toModelContent3 = (output) => [
103
+ var toModelContent6 = (output) => [
104
104
  "Success. Updated the following files:",
105
105
  ...output.applied.map((item) => `${item.type === "add" ? "A" : item.type === "delete" ? "D" : "M"} ${item.resource}`)
106
106
  ].join(`
107
107
  `);
108
- var Plugin9 = {
108
+ var Plugin13 = {
109
109
  id: "opencode.tool.patch",
110
110
  effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
111
- const environment = yield* Service67;
112
- const access = yield* Service19;
113
- const fileMutation = yield* Service25;
114
- const formatter = yield* Service13;
115
- const location = yield* Service69;
116
- const permission = yield* Service54;
111
+ const environment = yield* Service62;
112
+ const access = yield* Service64;
113
+ const fileMutation = yield* Service15;
114
+ const formatter = yield* Service17;
115
+ const location = yield* Service70;
116
+ const permission = yield* Service65;
117
117
  yield* ctx.tool.transform((editor) => editor.add({
118
- name: name7,
118
+ name: name12,
119
119
  options: { codemode: false, permission: "edit" },
120
120
  description: patch_default,
121
- input: Input7,
122
- output: Output3,
121
+ input: Input12,
122
+ output: Output8,
123
123
  execute: (input, context) => {
124
124
  const applied = [];
125
125
  const parsed = Patch.parse(input.patchText);
@@ -266,7 +266,7 @@ var Plugin9 = {
266
266
  return { applied, files };
267
267
  }).pipe(fileMutation.withLock(lockTargets), Effect.map((output) => ({
268
268
  output,
269
- content: toModelContent3(output),
269
+ content: toModelContent6(output),
270
270
  metadata: { files: output.files }
271
271
  })), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: "Unable to apply patch", error })));
272
272
  }
@@ -323,4 +323,4 @@ function trimDiff(diff) {
323
323
  `);
324
324
  }
325
325
 
326
- export { name7, Input7, Applied2, Output3, toModelContent3, Plugin9, exports_patch };
326
+ export { name12, Input12, Applied2, Output8, toModelContent6, Plugin13, exports_patch };