@opencode/core 0.0.0-dev-482 → 0.0.0-dev-491

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 (924) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +90 -90
  3. package/dist/aisdk-native.js +102 -102
  4. package/dist/aisdk.js +108 -108
  5. package/dist/app.js +9 -9
  6. package/dist/artifact.js +241 -241
  7. package/dist/bus.js +84 -84
  8. package/dist/chunks/{location-c13b592v.js → schema-0069kg3w.js} +26 -26
  9. package/dist/chunks/{location-t6fwc9q0.js → schema-009ad18z.js} +25 -25
  10. package/dist/chunks/{location-512tdftc.js → schema-040bqqk0.js} +1 -1
  11. package/dist/chunks/{location-zrm3sqe8.js → schema-056gbxz2.js} +35 -35
  12. package/dist/chunks/{location-8j03m598.js → schema-05jba50e.js} +6 -6
  13. package/dist/chunks/{location-e3rsyggn.js → schema-074zz3d2.js} +19 -16
  14. package/dist/chunks/{location-bvffa3bg.js → schema-07njmr26.js} +4 -4
  15. package/dist/chunks/{location-43s7a0t3.js → schema-0cdjmvxc.js} +14 -14
  16. package/dist/chunks/{location-g3v5zqn8.js → schema-0djc5t6x.js} +29 -29
  17. package/dist/chunks/{location-3gbdv6d6.js → schema-0e72twgx.js} +28 -28
  18. package/dist/chunks/{location-sqjzf8x2.js → schema-0j7gp832.js} +4 -4
  19. package/dist/chunks/{location-0ma9gw4f.js → schema-0ma9gw4f.js} +2 -2
  20. package/dist/chunks/{location-zyne38h8.js → schema-0s1qz2vx.js} +9 -9
  21. package/dist/chunks/{location-970zrxzb.js → schema-0x221h4h.js} +18 -18
  22. package/dist/chunks/{location-390xskpw.js → schema-0xaphmx4.js} +4 -4
  23. package/dist/chunks/{location-tg1vr1qt.js → schema-160yv0cs.js} +8 -8
  24. package/dist/chunks/{location-ds54zjme.js → schema-177t8xde.js} +5 -5
  25. package/dist/chunks/{location-q08pa1nj.js → schema-17wpx1f8.js} +30 -30
  26. package/dist/chunks/{location-1a140ev3.js → schema-18g55aa2.js} +6 -6
  27. package/dist/chunks/{location-wwa90kkq.js → schema-1acgysvj.js} +9 -9
  28. package/dist/chunks/{location-1aqsckx4.js → schema-1aqsckx4.js} +1 -1
  29. package/dist/chunks/{location-4eqsjcsp.js → schema-1bmqe60m.js} +13 -13
  30. package/dist/chunks/{location-7tt9v2zf.js → schema-1dgxpnnn.js} +38 -38
  31. package/dist/chunks/{location-6ss6ngz0.js → schema-1e1dknnq.js} +4 -4
  32. package/dist/chunks/{location-tenkbk6f.js → schema-1hqk7qd1.js} +9 -9
  33. package/dist/chunks/{location-fygak80s.js → schema-1mgbt8zv.js} +14 -14
  34. package/dist/chunks/{location-zt6jbzn6.js → schema-1vp6kgjq.js} +10 -10
  35. package/dist/chunks/{location-1x2knyw4.js → schema-1x2knyw4.js} +1 -1
  36. package/dist/chunks/{location-ytjw7m49.js → schema-1xr65f63.js} +9 -9
  37. package/dist/chunks/{location-1yq9hg58.js → schema-1yq9hg58.js} +1 -1
  38. package/dist/chunks/{location-spwvyatr.js → schema-20yhjmgn.js} +10 -10
  39. package/dist/chunks/{location-cz3wcpwd.js → schema-22877hrr.js} +25 -25
  40. package/dist/chunks/{location-6dk0e5c5.js → schema-267nqqyb.js} +55 -52
  41. package/dist/chunks/{location-1ep2p91f.js → schema-27w5k9zf.js} +2 -2
  42. package/dist/chunks/{location-j1n85xqv.js → schema-2cwesr55.js} +8 -8
  43. package/dist/chunks/{location-0jpvqtke.js → schema-2g5fs7wp.js} +12 -12
  44. package/dist/chunks/schema-2n7wa7sq.js +61 -0
  45. package/dist/chunks/{location-2p60zmnr.js → schema-2p60zmnr.js} +2 -2
  46. package/dist/chunks/{location-h7xy8a2s.js → schema-2vn10rnz.js} +3 -3
  47. package/dist/chunks/{location-gnf80hfn.js → schema-2wy6zzm4.js} +5 -5
  48. package/dist/chunks/{location-78z55vz9.js → schema-3416qbwy.js} +8 -8
  49. package/dist/chunks/{location-hv45qt1z.js → schema-3748dbe8.js} +35 -35
  50. package/dist/chunks/{location-vr233qkz.js → schema-39ecara3.js} +39 -36
  51. package/dist/chunks/{location-xjbsd7zy.js → schema-3adw4bt5.js} +9 -9
  52. package/dist/chunks/{location-ayjs7tqn.js → schema-3cbjf1nt.js} +2 -2
  53. package/dist/chunks/{location-3hepkmqq.js → schema-3hepkmqq.js} +1 -1
  54. package/dist/chunks/{location-gjzp0g0k.js → schema-3k1df4cf.js} +8 -8
  55. package/dist/chunks/{location-23mg205d.js → schema-3maza8nj.js} +22 -22
  56. package/dist/chunks/{location-tmc7xdjs.js → schema-3nnrz6f6.js} +4 -4
  57. package/dist/chunks/{location-nkhc0b8e.js → schema-3qwqbjqh.js} +17 -17
  58. package/dist/chunks/{location-37356421.js → schema-3vp9g4px.js} +22 -22
  59. package/dist/chunks/{location-40y6dtc2.js → schema-40y6dtc2.js} +1 -1
  60. package/dist/chunks/{location-44pmzq9c.js → schema-44pmzq9c.js} +2 -2
  61. package/dist/chunks/{location-4trnm1hn.js → schema-49v9szp5.js} +11 -11
  62. package/dist/chunks/{location-csmfmyj6.js → schema-4a220kpg.js} +41 -38
  63. package/dist/chunks/{location-vkx30h9m.js → schema-4byhtres.js} +17 -17
  64. package/dist/chunks/{location-4dx1dgte.js → schema-4dx1dgte.js} +1 -1
  65. package/dist/chunks/{location-xh5xpxzv.js → schema-4jd8rbj6.js} +11 -11
  66. package/dist/chunks/{location-1smrtfhf.js → schema-4pfm4xhn.js} +45 -45
  67. package/dist/chunks/{location-4pyp9zr9.js → schema-4pyp9zr9.js} +1 -1
  68. package/dist/chunks/{location-jget9c6q.js → schema-4r9r2tvk.js} +14 -14
  69. package/dist/chunks/{location-4v008n1t.js → schema-4v008n1t.js} +1 -1
  70. package/dist/chunks/{location-2axvd6s3.js → schema-4ze3m284.js} +94 -94
  71. package/dist/chunks/{location-s2pfznc4.js → schema-51d35nkj.js} +6 -6
  72. package/dist/chunks/{location-a5hjg2v1.js → schema-51nz7m1t.js} +35 -35
  73. package/dist/chunks/{location-rrym2d7k.js → schema-531yazj3.js} +9 -9
  74. package/dist/chunks/{location-fc7r79k5.js → schema-5373j5vs.js} +8 -8
  75. package/dist/chunks/{location-rw9z8c7r.js → schema-5hbm6fh6.js} +12 -12
  76. package/dist/chunks/{location-5m9w47nd.js → schema-5m9w47nd.js} +1 -1
  77. package/dist/chunks/{location-bhfd478d.js → schema-5n0rnk8e.js} +4 -4
  78. package/dist/chunks/{location-ew5p7j1s.js → schema-5ss6spnt.js} +11 -11
  79. package/dist/chunks/{location-wm4pme2q.js → schema-5wv7wkw7.js} +13 -13
  80. package/dist/chunks/{location-hdreqhvr.js → schema-5zpqhmp2.js} +3 -3
  81. package/dist/chunks/{location-rbnrb63z.js → schema-5zrvqxbg.js} +16 -16
  82. package/dist/chunks/{location-c09c9xx3.js → schema-610gd2w6.js} +12 -12
  83. package/dist/chunks/{location-t8erkws8.js → schema-61qraad9.js} +5 -5
  84. package/dist/chunks/{location-5pqzpska.js → schema-69s1y7w5.js} +14 -14
  85. package/dist/chunks/{location-xdff7p3p.js → schema-6cnr43q5.js} +18 -18
  86. package/dist/chunks/{location-ctmpqb7w.js → schema-6h8vcvjm.js} +9 -9
  87. package/dist/chunks/{location-g5by8gkj.js → schema-6ptc49v9.js} +6 -6
  88. package/dist/chunks/{location-988q4p70.js → schema-6r3e2m86.js} +4 -4
  89. package/dist/chunks/{location-rv7pwnv1.js → schema-6vwb70w2.js} +28 -28
  90. package/dist/chunks/{location-805dh4kb.js → schema-6x26xpab.js} +10 -10
  91. package/dist/chunks/{location-3r0vrc21.js → schema-7357t78n.js} +7 -7
  92. package/dist/chunks/{location-x1bzrmrv.js → schema-75w632t3.js} +30 -30
  93. package/dist/chunks/{location-76cb1hcw.js → schema-76cb1hcw.js} +1 -1
  94. package/dist/chunks/{location-775hqbnd.js → schema-775hqbnd.js} +3 -3
  95. package/dist/chunks/{location-phsdbd2h.js → schema-79q7t6vk.js} +43 -43
  96. package/dist/chunks/{location-7bmhse3q.js → schema-7bmhse3q.js} +1 -1
  97. package/dist/chunks/{location-z3deh3n3.js → schema-7cfarfc9.js} +21 -21
  98. package/dist/chunks/{location-38ys11y3.js → schema-7d2a7xbs.js} +5 -5
  99. package/dist/chunks/schema-7gc06pn7.js +87 -0
  100. package/dist/chunks/{location-3w8s8xp3.js → schema-7gh115gk.js} +59 -59
  101. package/dist/chunks/{location-7kr66rt3.js → schema-7kr66rt3.js} +1 -1
  102. package/dist/chunks/{location-7w2ypzdf.js → schema-7w2ypzdf.js} +1 -1
  103. package/dist/chunks/{location-7weczvnd.js → schema-7weczvnd.js} +1 -1
  104. package/dist/chunks/{location-txkgt4s1.js → schema-7wetmpgy.js} +56 -56
  105. package/dist/chunks/{location-52g8y578.js → schema-7wkzsx5z.js} +4 -4
  106. package/dist/chunks/{location-fc12czj4.js → schema-7wz58vea.js} +3 -3
  107. package/dist/chunks/{location-d3074txc.js → schema-827fdamw.js} +13 -13
  108. package/dist/chunks/{location-89287pr7.js → schema-89287pr7.js} +1 -1
  109. package/dist/chunks/{location-25h84942.js → schema-8b3vzgkx.js} +4 -4
  110. package/dist/chunks/{location-8cg7mtm3.js → schema-8cg7mtm3.js} +1 -1
  111. package/dist/chunks/{location-e45fk36t.js → schema-8r9nj4s8.js} +4 -4
  112. package/dist/chunks/{location-8wtp7s3z.js → schema-8wtp7s3z.js} +1 -1
  113. package/dist/chunks/{location-bd27wa44.js → schema-8yhnmq54.js} +21 -21
  114. package/dist/chunks/{location-mb7mbhnz.js → schema-8z6m94af.js} +3 -3
  115. package/dist/chunks/{location-90zstvax.js → schema-90zstvax.js} +1 -1
  116. package/dist/chunks/{location-94e33dpz.js → schema-94e33dpz.js} +3 -3
  117. package/dist/chunks/{location-nrczc6t4.js → schema-954e8f6b.js} +20 -20
  118. package/dist/chunks/{location-zyfhsknv.js → schema-963hk181.js} +9 -9
  119. package/dist/chunks/{location-5tc3n98b.js → schema-96ahmd6x.js} +32 -32
  120. package/dist/chunks/{location-3fqv35td.js → schema-974fscry.js} +13 -13
  121. package/dist/chunks/{location-0f7kkqtf.js → schema-9ek4pzqb.js} +4 -4
  122. package/dist/chunks/{location-ys7rp9j6.js → schema-9g28e2s0.js} +9 -9
  123. package/dist/chunks/{location-zva2cc2v.js → schema-9hm59r1c.js} +41 -41
  124. package/dist/chunks/{location-hz1m7hmp.js → schema-9nh708zh.js} +3 -3
  125. package/dist/chunks/{location-0q8q98et.js → schema-9sy862gz.js} +13 -13
  126. package/dist/chunks/{location-5kwzkdf2.js → schema-9vbafrh8.js} +21 -21
  127. package/dist/chunks/{location-swedj7af.js → schema-9ywzg6g3.js} +25 -25
  128. package/dist/chunks/{location-wq4rsx08.js → schema-9zvhtp2r.js} +27 -27
  129. package/dist/chunks/{location-k8zhcgth.js → schema-a2xw24t4.js} +17 -17
  130. package/dist/chunks/{location-5gesekxb.js → schema-a2y6he6z.js} +8 -8
  131. package/dist/chunks/{location-qj27ec1j.js → schema-a5fx33f2.js} +6 -6
  132. package/dist/chunks/{location-zsxzvz5w.js → schema-afz985yq.js} +35 -35
  133. package/dist/chunks/{location-034tev2y.js → schema-aj7mw0zk.js} +2 -2
  134. package/dist/chunks/{location-nhk04w5x.js → schema-akx6eq60.js} +25 -25
  135. package/dist/chunks/{location-9d2m9w7e.js → schema-an38jetd.js} +13 -13
  136. package/dist/chunks/{location-6w51fm74.js → schema-aq1dqpx8.js} +17 -17
  137. package/dist/chunks/{location-ewa1ec51.js → schema-b0vacgmx.js} +4 -4
  138. package/dist/chunks/{location-bfwvr4qd.js → schema-b1hp95c4.js} +90 -90
  139. package/dist/chunks/{location-jv56tjdv.js → schema-b25mxkxc.js} +19 -19
  140. package/dist/chunks/{location-tyc6z1sz.js → schema-b292epq5.js} +36 -36
  141. package/dist/chunks/{location-5nnwax6m.js → schema-b6vsg801.js} +5 -5
  142. package/dist/chunks/{location-8vk3va5c.js → schema-b78t38vn.js} +15 -15
  143. package/dist/chunks/{location-8sxe6kv8.js → schema-bb3mmwvh.js} +2 -2
  144. package/dist/chunks/{location-gyckkmpa.js → schema-bnhv7900.js} +15 -15
  145. package/dist/chunks/{location-brv6mkyx.js → schema-brv6mkyx.js} +1 -1
  146. package/dist/chunks/{location-bstexjd6.js → schema-bstexjd6.js} +1 -1
  147. package/dist/chunks/{location-z838ayja.js → schema-c485byne.js} +2 -2
  148. package/dist/chunks/{location-2vytr4qs.js → schema-c4bydvs8.js} +16 -16
  149. package/dist/chunks/{location-3ryz99p0.js → schema-c6x7d2ts.js} +4 -4
  150. package/dist/chunks/{location-nrzjm3wv.js → schema-c9kma9ds.js} +21 -21
  151. package/dist/chunks/{location-k9swty0g.js → schema-cbqrfj54.js} +5 -5
  152. package/dist/chunks/{location-badf1jx5.js → schema-cf903btn.js} +39 -39
  153. package/dist/chunks/{location-wzzmpzmb.js → schema-cj6s55dc.js} +60 -60
  154. package/dist/chunks/{location-d573hr5k.js → schema-cjg73b7n.js} +11 -11
  155. package/dist/chunks/{location-m528r48h.js → schema-cpe35zww.js} +4 -4
  156. package/dist/chunks/{location-rzgk87mw.js → schema-cr2p0kda.js} +26 -26
  157. package/dist/chunks/{location-9f7zehfv.js → schema-crmh26nv.js} +9 -7
  158. package/dist/chunks/{location-xym735jc.js → schema-crrcr980.js} +8 -8
  159. package/dist/chunks/{location-ytkajd2z.js → schema-csd7ebkm.js} +38 -38
  160. package/dist/chunks/{location-cwrgdav8.js → schema-cwrgdav8.js} +2 -2
  161. package/dist/chunks/{location-8req33qf.js → schema-cx89w8t7.js} +56 -56
  162. package/dist/chunks/{location-7xxafhkb.js → schema-d1e46tjw.js} +32 -32
  163. package/dist/chunks/{location-d4v9tmah.js → schema-d4v9tmah.js} +2 -2
  164. package/dist/chunks/{location-dg5naf6e.js → schema-dg5naf6e.js} +1 -1
  165. package/dist/chunks/{location-ghv8rcpm.js → schema-dgnwfmhp.js} +11 -11
  166. package/dist/chunks/{location-mjye3rax.js → schema-dn909y3q.js} +48 -48
  167. package/dist/chunks/{location-dt77769w.js → schema-dt77769w.js} +1 -1
  168. package/dist/chunks/{location-1zda8fgz.js → schema-e383wbw3.js} +13 -13
  169. package/dist/chunks/{location-e834z07m.js → schema-e834z07m.js} +1 -1
  170. package/dist/chunks/{location-bn5c4xpj.js → schema-e932njkj.js} +51 -51
  171. package/dist/chunks/{location-gedds2h4.js → schema-eeze92kt.js} +4 -4
  172. package/dist/chunks/{location-k9g0cjwj.js → schema-ehjdr9kj.js} +5 -5
  173. package/dist/chunks/{location-nn2nd58t.js → schema-ep6pe98a.js} +7 -7
  174. package/dist/chunks/{location-eqw4pqj1.js → schema-eqw4pqj1.js} +2 -2
  175. package/dist/chunks/{location-3sm8rpg8.js → schema-f4kasrny.js} +18 -18
  176. package/dist/chunks/{location-fffv3p7h.js → schema-fffv3p7h.js} +1 -1
  177. package/dist/chunks/{location-fg9p65nk.js → schema-fg9p65nk.js} +2 -2
  178. package/dist/chunks/{location-vp2t5zgg.js → schema-fkk1f725.js} +26 -26
  179. package/dist/chunks/{location-0xqbsrqr.js → schema-fnnekxbx.js} +366 -360
  180. package/dist/chunks/{location-01pgc6t1.js → schema-fspaztcq.js} +9 -9
  181. package/dist/chunks/{location-9e6160nv.js → schema-fzt7dsyw.js} +48 -48
  182. package/dist/chunks/{location-4k2smf6b.js → schema-g3smeneb.js} +3 -3
  183. package/dist/chunks/{location-ph23jcdx.js → schema-g442wsqe.js} +11 -11
  184. package/dist/chunks/{location-z6cfvfba.js → schema-g5za79em.js} +3 -3
  185. package/dist/chunks/{location-gbjdnr5j.js → schema-gbjdnr5j.js} +2 -2
  186. package/dist/chunks/{location-d390zwf3.js → schema-gx16d8rj.js} +5 -5
  187. package/dist/chunks/{location-0vdywerr.js → schema-h2h7ybtz.js} +25 -25
  188. package/dist/chunks/{location-bb3pv0r8.js → schema-h5gm5jf1.js} +7 -7
  189. package/dist/chunks/{location-snhk3d40.js → schema-hae73tt5.js} +27 -27
  190. package/dist/chunks/{location-7k96bt42.js → schema-hev8zkn4.js} +12 -12
  191. package/dist/chunks/{location-efd7k9cd.js → schema-hmcbsnb6.js} +5 -5
  192. package/dist/chunks/{location-hpg1pkwy.js → schema-hpg1pkwy.js} +1 -1
  193. package/dist/chunks/{location-bbmkcywa.js → schema-hqerns6c.js} +9 -9
  194. package/dist/chunks/{location-qaxfcnsv.js → schema-hqtkd67t.js} +11 -11
  195. package/dist/chunks/{location-a42agwqf.js → schema-hr712wcm.js} +17 -17
  196. package/dist/chunks/{location-mv3cjvqe.js → schema-hrp8tsee.js} +16 -16
  197. package/dist/chunks/{location-tv15tdwr.js → schema-hrs1my6p.js} +25 -25
  198. package/dist/chunks/{location-s3571hbf.js → schema-hs0d6vna.js} +25 -25
  199. package/dist/chunks/{location-zzdpwr6m.js → schema-htk0pxp4.js} +35 -35
  200. package/dist/chunks/{location-ktsssdpw.js → schema-j1kb77r1.js} +28 -28
  201. package/dist/chunks/{location-d9tv0j4w.js → schema-j2t21h9q.js} +8 -8
  202. package/dist/chunks/{location-2sck34ne.js → schema-j3118bbp.js} +23 -23
  203. package/dist/chunks/{location-j9nxzz3g.js → schema-j9nxzz3g.js} +3 -3
  204. package/dist/chunks/{location-kh9rtkn7.js → schema-jdfneqs4.js} +33 -33
  205. package/dist/chunks/{location-bnzx9dwt.js → schema-jf43mb4q.js} +5 -5
  206. package/dist/chunks/{location-q65mdntm.js → schema-jhwp234h.js} +4 -4
  207. package/dist/chunks/{location-jtnps1zs.js → schema-jtnps1zs.js} +2 -2
  208. package/dist/chunks/{location-fgj5a68r.js → schema-jv8r5h6h.js} +27 -27
  209. package/dist/chunks/{location-qsdghx1p.js → schema-k3cx6fhe.js} +4 -4
  210. package/dist/chunks/{location-dvn4vb83.js → schema-k3ysz89m.js} +11 -11
  211. package/dist/chunks/{location-rxzbcqxf.js → schema-k86qxh6q.js} +2 -2
  212. package/dist/chunks/{location-kt3bjfbg.js → schema-kt3bjfbg.js} +1 -1
  213. package/dist/chunks/{location-9xfh3qx1.js → schema-kxcyzez0.js} +11 -11
  214. package/dist/chunks/{location-kzczzf4v.js → schema-kzczzf4v.js} +1 -1
  215. package/dist/chunks/{location-9qqfewpb.js → schema-kze6nzna.js} +7 -7
  216. package/dist/chunks/{location-m1714858.js → schema-m1714858.js} +1 -1
  217. package/dist/chunks/{location-m9w0rfyh.js → schema-m9w0rfyh.js} +1 -1
  218. package/dist/chunks/{location-mf853z88.js → schema-mdkgg4b2.js} +4 -4
  219. package/dist/chunks/schema-me0dhgxs.js +18 -0
  220. package/dist/chunks/{location-2kg89srt.js → schema-mf63ygpr.js} +4 -4
  221. package/dist/chunks/{location-tvzzcc9t.js → schema-mpzzt3bk.js} +12 -12
  222. package/dist/chunks/{location-1v2g13eq.js → schema-msd2a3qm.js} +4 -4
  223. package/dist/chunks/{location-1serdbm0.js → schema-mtjzj2m1.js} +38 -38
  224. package/dist/chunks/{location-0tydawpq.js → schema-mv0hp075.js} +18 -18
  225. package/dist/chunks/{location-9km3nys4.js → schema-n8szhp98.js} +5 -5
  226. package/dist/chunks/{location-3jcyqs0x.js → schema-nc6ym85v.js} +51 -51
  227. package/dist/chunks/{location-nbcpa24h.js → schema-njm1h2ne.js} +6 -6
  228. package/dist/chunks/{location-w9b0ha22.js → schema-nsqhjfa0.js} +39 -39
  229. package/dist/chunks/{location-nbw5wvhd.js → schema-nvx0tz4r.js} +20 -20
  230. package/dist/chunks/{location-wegkxhrn.js → schema-nx4vzyjd.js} +2 -2
  231. package/dist/chunks/{location-tdrhngm4.js → schema-p4w1989n.js} +18 -18
  232. package/dist/chunks/{location-5gfssad4.js → schema-p76d4538.js} +6 -6
  233. package/dist/chunks/schema-p79bcmnw.js +26 -0
  234. package/dist/chunks/{location-a0rbws35.js → schema-p7s5ympt.js} +23 -23
  235. package/dist/chunks/{location-vj50rhab.js → schema-p9x26950.js} +8 -8
  236. package/dist/chunks/{location-50emzza2.js → schema-pkkerzhz.js} +9 -9
  237. package/dist/chunks/{location-pknna89w.js → schema-pknna89w.js} +1 -1
  238. package/dist/chunks/{location-ynygqj77.js → schema-pkyxhtt8.js} +4 -4
  239. package/dist/chunks/{location-k892zkmz.js → schema-pmjf6175.js} +21 -21
  240. package/dist/chunks/{location-rz41xnze.js → schema-pt1rbhsc.js} +24 -24
  241. package/dist/chunks/{location-w563xz5b.js → schema-py00tmr0.js} +9 -9
  242. package/dist/chunks/schema-qhn8d2qf.js +265 -0
  243. package/dist/chunks/{location-rmv7fhs4.js → schema-qnqasnye.js} +6 -6
  244. package/dist/chunks/{location-qp7r0hxv.js → schema-qp7r0hxv.js} +1 -1
  245. package/dist/chunks/{location-wzjdj14d.js → schema-qq0q7pz9.js} +10 -10
  246. package/dist/chunks/{location-qqvy8y24.js → schema-qqvy8y24.js} +1 -1
  247. package/dist/chunks/{location-vnjc296t.js → schema-qtf35215.js} +3 -3
  248. package/dist/chunks/{location-nq8md5pc.js → schema-qygxdx42.js} +40 -40
  249. package/dist/chunks/{location-mje1y6t4.js → schema-qzntb7s5.js} +9 -9
  250. package/dist/chunks/{location-r17fbvme.js → schema-r17fbvme.js} +1 -1
  251. package/dist/chunks/{location-4f25tdd0.js → schema-r542h3bh.js} +5 -5
  252. package/dist/chunks/{location-0wgmn1kb.js → schema-r5z1733q.js} +24 -24
  253. package/dist/chunks/{location-rb9dy4dg.js → schema-rb9dy4dg.js} +1 -1
  254. package/dist/chunks/{location-j6qjs6cp.js → schema-rezvgxsg.js} +25 -25
  255. package/dist/chunks/{location-qqf3gkjm.js → schema-rgr58pg0.js} +11 -11
  256. package/dist/chunks/{location-bdtb8h02.js → schema-rkbq4mr3.js} +15 -15
  257. package/dist/chunks/{location-vex3khmr.js → schema-rs07w8af.js} +26 -26
  258. package/dist/chunks/{location-rt5dr6hb.js → schema-rt5dr6hb.js} +1 -1
  259. package/dist/chunks/{location-gate3zxc.js → schema-s1d5m1r1.js} +11 -11
  260. package/dist/chunks/{location-1nresfvs.js → schema-s2edn48d.js} +23 -27
  261. package/dist/chunks/{location-x8b2j0eq.js → schema-s46s4q5z.js} +9 -9
  262. package/dist/chunks/{location-sa3fpqfw.js → schema-sa3fpqfw.js} +2 -2
  263. package/dist/chunks/{location-ac9tw622.js → schema-saqe5fxg.js} +19 -19
  264. package/dist/chunks/{location-vkp5tjg3.js → schema-sbxckrs6.js} +88 -88
  265. package/dist/chunks/{location-sbya78hr.js → schema-sbya78hr.js} +1 -1
  266. package/dist/chunks/{location-1cdwtwnn.js → schema-sf9y72b7.js} +4 -4
  267. package/dist/chunks/{location-n2tjkr8q.js → schema-sh8kb457.js} +4 -4
  268. package/dist/chunks/{location-80ebm126.js → schema-ss6cgsgk.js} +17 -17
  269. package/dist/chunks/{location-svcy3p9a.js → schema-svcy3p9a.js} +1 -1
  270. package/dist/chunks/{location-cpf1ce0h.js → schema-svmsgnt5.js} +18 -18
  271. package/dist/chunks/{location-szwm4crx.js → schema-szwm4crx.js} +4 -4
  272. package/dist/chunks/{location-px88z4yq.js → schema-szya7jty.js} +27 -27
  273. package/dist/chunks/{location-yzddgs9q.js → schema-t1r3r4xh.js} +21 -21
  274. package/dist/chunks/{location-tfn5dkze.js → schema-tc429zzg.js} +45 -45
  275. package/dist/chunks/{location-tczq8hjw.js → schema-tczq8hjw.js} +1 -1
  276. package/dist/chunks/{location-jwaey7ys.js → schema-tecv0z0k.js} +8 -8
  277. package/dist/chunks/{location-gxs71cxp.js → schema-tg7s7b5t.js} +4 -4
  278. package/dist/chunks/{location-0fcqkqe0.js → schema-th5svyvp.js} +17 -17
  279. package/dist/chunks/{location-dzxh8mds.js → schema-tk7wm9t6.js} +10 -10
  280. package/dist/chunks/{location-xn7cqzsq.js → schema-tkxx25dy.js} +4 -4
  281. package/dist/chunks/{location-tr8x705m.js → schema-tr8x705m.js} +1 -1
  282. package/dist/chunks/{location-xv6tcr0w.js → schema-tt497rda.js} +20 -20
  283. package/dist/chunks/{location-twssxy5n.js → schema-twssxy5n.js} +2 -2
  284. package/dist/chunks/{location-xnvebmwh.js → schema-v0dc4xqt.js} +191 -191
  285. package/dist/chunks/{location-v2r1d0zg.js → schema-v2r1d0zg.js} +1 -1
  286. package/dist/chunks/{location-s8wwhb0c.js → schema-v8mak0jw.js} +7 -7
  287. package/dist/chunks/{location-f4y3d2yt.js → schema-v8wxce3j.js} +16 -16
  288. package/dist/chunks/{location-sbz71ybr.js → schema-vb80j1wh.js} +3 -3
  289. package/dist/chunks/{location-wq4p4nz0.js → schema-vba4zwdc.js} +12 -12
  290. package/dist/chunks/{location-vjf35v1f.js → schema-vjf35v1f.js} +1 -1
  291. package/dist/chunks/{location-v6cyb2p5.js → schema-vjrqr51s.js} +3 -3
  292. package/dist/chunks/{location-484j8fpd.js → schema-vm1w8k2h.js} +15 -15
  293. package/dist/chunks/{location-z5v37w21.js → schema-vmqe41cb.js} +4 -4
  294. package/dist/chunks/{location-3t9tbebp.js → schema-vw7pb86b.js} +41 -41
  295. package/dist/chunks/{location-cavp24mx.js → schema-vypb472n.js} +19 -19
  296. package/dist/chunks/{location-jy4bs43h.js → schema-vzv5k31s.js} +20 -20
  297. package/dist/chunks/{location-5enarcya.js → schema-w2eysc6j.js} +6 -6
  298. package/dist/chunks/{location-w3wsvvr9.js → schema-w3wsvvr9.js} +1 -1
  299. package/dist/chunks/{location-wakvkjy4.js → schema-wakvkjy4.js} +1 -1
  300. package/dist/chunks/{location-a5m75t4w.js → schema-wc6thd2m.js} +11 -11
  301. package/dist/chunks/{location-nd6ydzwa.js → schema-wcrhk13t.js} +1 -1
  302. package/dist/chunks/{location-wd87259q.js → schema-wd87259q.js} +1 -1
  303. package/dist/chunks/{location-5zvrjgbk.js → schema-wdwt8pse.js} +31 -31
  304. package/dist/chunks/{location-add59bdf.js → schema-wgtjsce3.js} +2 -2
  305. package/dist/chunks/{location-wnhgecwx.js → schema-wnhgecwx.js} +1 -1
  306. package/dist/chunks/{location-wr3re1en.js → schema-wr3re1en.js} +1 -1
  307. package/dist/chunks/{location-gse8hrf9.js → schema-wrfejyj7.js} +11 -11
  308. package/dist/chunks/{location-mjhey12a.js → schema-wse597y0.js} +11 -11
  309. package/dist/chunks/{location-nyxvvj5y.js → schema-wvr8xscb.js} +4 -4
  310. package/dist/chunks/{location-g2mgh60t.js → schema-wxd7rbv3.js} +18 -18
  311. package/dist/chunks/{location-eavcrtrz.js → schema-x150ncgg.js} +2 -2
  312. package/dist/chunks/{location-0jkcjdkb.js → schema-x4w59bsh.js} +15 -15
  313. package/dist/chunks/{location-chgv8zg3.js → schema-x9fmexvv.js} +2 -2
  314. package/dist/chunks/{location-v5kg2n5y.js → schema-xar4zgxk.js} +4 -4
  315. package/dist/chunks/{location-rktfw7eb.js → schema-xcxvf2mg.js} +10 -10
  316. package/dist/chunks/{location-kee5eaqe.js → schema-xfkjnhsk.js} +15 -15
  317. package/dist/chunks/{location-6narqht5.js → schema-xnegq722.js} +14 -14
  318. package/dist/chunks/{location-3dvadycf.js → schema-xnespcx4.js} +21 -21
  319. package/dist/chunks/{location-v8114j4p.js → schema-xr5ngpme.js} +39 -54
  320. package/dist/chunks/{location-sk97y4pa.js → schema-y329tfma.js} +8 -8
  321. package/dist/chunks/{location-dxdc95em.js → schema-y71c85jv.js} +3 -3
  322. package/dist/chunks/{location-bpmnncyw.js → schema-y7rptanb.js} +5 -5
  323. package/dist/chunks/{location-yb20nhc3.js → schema-yb20nhc3.js} +1 -1
  324. package/dist/chunks/{location-7e31cxcq.js → schema-yfd5yn1x.js} +27 -27
  325. package/dist/chunks/{location-hpgfvtnm.js → schema-ygmq07zy.js} +20 -20
  326. package/dist/chunks/{location-gcwte8wz.js → schema-ygy4s6bd.js} +24 -24
  327. package/dist/chunks/{location-1jshsnt4.js → schema-ynddwxng.js} +11 -11
  328. package/dist/chunks/{location-671yt1fh.js → schema-yqnnk2wp.js} +11 -11
  329. package/dist/chunks/{location-yr705xyq.js → schema-yr705xyq.js} +1 -1
  330. package/dist/chunks/{location-jx1cej34.js → schema-yrb8cmyx.js} +16 -16
  331. package/dist/chunks/{location-xshjxwsy.js → schema-ysh3dgvc.js} +11 -11
  332. package/dist/chunks/{location-9abj58ej.js → schema-yv34actv.js} +13 -13
  333. package/dist/chunks/{location-yvtc2x31.js → schema-yvtc2x31.js} +1 -1
  334. package/dist/chunks/{location-x2h3wh5t.js → schema-z01zhnc6.js} +31 -31
  335. package/dist/chunks/{location-dbht28n9.js → schema-z0h12gs8.js} +3 -2
  336. package/dist/chunks/{location-hyevg830.js → schema-z4be597q.js} +25 -25
  337. package/dist/chunks/{location-aza0qgdg.js → schema-z78ex2z3.js} +3 -3
  338. package/dist/chunks/{location-kbjg1c6q.js → schema-z9e79eck.js} +12 -12
  339. package/dist/chunks/{location-zmh55w6z.js → schema-zmn1zasx.js} +8 -8
  340. package/dist/chunks/{location-r9w18wee.js → schema-zn515352.js} +10 -17
  341. package/dist/chunks/{location-629vq7qf.js → schema-zrcyxcfh.js} +139 -226
  342. package/dist/chunks/{location-hm0x9a2y.js → schema-ztjgp9mc.js} +5 -5
  343. package/dist/codemode/catalog.js +1 -1
  344. package/dist/codemode/execution.js +3 -3
  345. package/dist/codemode/fetch.js +145 -145
  346. package/dist/codemode/instructions.js +5 -5
  347. package/dist/codemode/tool.js +151 -151
  348. package/dist/command.js +94 -94
  349. package/dist/config/discovery.js +95 -95
  350. package/dist/config/integration.js +1 -1
  351. package/dist/config/managed.js +1 -1
  352. package/dist/config/markdown.js +1 -1
  353. package/dist/config/normalize.js +112 -112
  354. package/dist/config/plugin/agent.js +130 -130
  355. package/dist/config/plugin/command.js +230 -230
  356. package/dist/config/plugin/compaction.js +171 -171
  357. package/dist/config/plugin/compatibility.js +150 -150
  358. package/dist/config/plugin/entry-observer.js +1 -1
  359. package/dist/config/plugin/formatter.js +131 -131
  360. package/dist/config/plugin/image.js +130 -130
  361. package/dist/config/plugin/instruction.js +130 -130
  362. package/dist/config/plugin/location-watcher.js +132 -132
  363. package/dist/config/plugin/mcp.js +138 -138
  364. package/dist/config/plugin/policy.js +130 -130
  365. package/dist/config/plugin/provider.js +130 -130
  366. package/dist/config/plugin/reference.js +132 -132
  367. package/dist/config/plugin/shell.js +130 -130
  368. package/dist/config/plugin/skill-file.js +146 -146
  369. package/dist/config/plugin/skill-scan.js +1 -1
  370. package/dist/config/plugin/skill.js +151 -151
  371. package/dist/config/plugin/snapshot.js +130 -130
  372. package/dist/config/plugin/source.js +133 -133
  373. package/dist/config/plugin/tool-output.js +131 -131
  374. package/dist/config/plugin/websearch.js +129 -129
  375. package/dist/config/plugin/worktree.js +132 -132
  376. package/dist/config/variable.js +1 -1
  377. package/dist/config/watch.js +1 -1
  378. package/dist/config.js +131 -131
  379. package/dist/console-access.js +1 -1
  380. package/dist/credential/sql.js +2 -2
  381. package/dist/credential.js +94 -94
  382. package/dist/database/database.js +81 -81
  383. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  384. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  385. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  386. package/dist/database/drizzle/index.js +13 -13
  387. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  388. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  389. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  390. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  391. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  392. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  393. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  394. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  395. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  396. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  397. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  398. package/dist/database/drizzle.js +14 -14
  399. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  400. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  401. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  402. package/dist/database/migration/20260225215848_workspace.js +1 -1
  403. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  404. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  405. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  406. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  407. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  408. package/dist/database/migration/20260323234822_events.js +1 -1
  409. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  410. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  411. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  412. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  413. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  414. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  415. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  416. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  417. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  418. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  419. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  420. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  421. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  422. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  423. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  424. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  425. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  426. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  427. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  428. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  429. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  430. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  431. package/dist/database/migration/20260611035744_credential.js +1 -1
  432. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  433. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  434. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  435. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  436. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  437. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  438. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  439. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  440. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  441. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  442. package/dist/database/migration/20260812213948_worktree.js +1 -1
  443. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  444. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  445. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  446. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  447. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  448. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  449. package/dist/database/migration/20261024002554_session_allowance.js +1 -1
  450. package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
  451. package/dist/database/migration/20261025123711_blob.js +1 -1
  452. package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
  453. package/dist/database/migration/20261026223005_schedule.js +1 -1
  454. package/dist/database/migration/20261029002625_session_part.js +1 -1
  455. package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
  456. package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
  457. package/dist/database/migration/20261030054400_job.js +1 -1
  458. package/dist/database/migration.gen.js +60 -60
  459. package/dist/database/migration.js +62 -62
  460. package/dist/database/path.js +2 -2
  461. package/dist/database/schema.gen.js +1 -1
  462. package/dist/database/schema.sql.js +1 -1
  463. package/dist/database/v1-migration.bun.js +108 -108
  464. package/dist/database/v1-migration.js +1 -1
  465. package/dist/effect/app-node-builder.js +432 -431
  466. package/dist/effect/app-node-platform.js +2 -2
  467. package/dist/effect/keyed-mutex.js +1 -1
  468. package/dist/effect/websocket-constructor.js +1 -1
  469. package/dist/environment/driver.js +1 -1
  470. package/dist/environment/environment.js +106 -106
  471. package/dist/environment/exec-defaults.js +2 -2
  472. package/dist/environment/files.js +1 -1
  473. package/dist/environment/index.js +106 -106
  474. package/dist/environment/local.js +2 -2
  475. package/dist/environment/memory.js +2 -2
  476. package/dist/environment/unavailable.js +1 -1
  477. package/dist/event/sql.js +1 -1
  478. package/dist/event-logger.js +85 -85
  479. package/dist/file-access.js +156 -156
  480. package/dist/file-mutation.js +107 -107
  481. package/dist/file-retention.js +1 -1
  482. package/dist/file-write.js +165 -0
  483. package/dist/filesystem/fff.bun.js +2 -2
  484. package/dist/filesystem/fff.js +1 -1
  485. package/dist/filesystem/fff.node.js +2 -2
  486. package/dist/filesystem/fff.workerd.js +2 -2
  487. package/dist/filesystem/file-watch.js +91 -91
  488. package/dist/filesystem/location-watcher-policy.js +6 -6
  489. package/dist/filesystem/location-watcher.js +246 -246
  490. package/dist/filesystem/protected.js +1 -1
  491. package/dist/filesystem/search.js +112 -112
  492. package/dist/filesystem/watcher-binding.js +1 -1
  493. package/dist/filesystem/watcher.js +9 -9
  494. package/dist/filesystem.js +115 -115
  495. package/dist/form.js +93 -93
  496. package/dist/formatter/builtins.js +4 -4
  497. package/dist/formatter.js +100 -100
  498. package/dist/generate.js +118 -118
  499. package/dist/git.js +11 -11
  500. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  501. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  502. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  503. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  504. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  505. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  506. package/dist/github-copilot/copilot-provider.js +17 -17
  507. package/dist/github-copilot/models.js +112 -112
  508. package/dist/github-copilot/openai-compatible-error.js +1 -1
  509. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  510. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  511. package/dist/github-copilot/responses/openai-error.js +1 -1
  512. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  513. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  514. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  515. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  516. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  517. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  518. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  519. package/dist/image/notice.js +3 -3
  520. package/dist/image/photon-normalize.js +1 -1
  521. package/dist/image/photon-worker.js +1 -1
  522. package/dist/image/photon.js +4 -4
  523. package/dist/image.js +6 -6
  524. package/dist/instance/service.js +5 -5
  525. package/dist/instance.js +423 -422
  526. package/dist/instruction-discovery.js +93 -93
  527. package/dist/instructions/builtins.js +100 -100
  528. package/dist/instructions/index.js +3 -3
  529. package/dist/integration/connection.js +3 -3
  530. package/dist/integration.js +100 -100
  531. package/dist/job/sql.js +2 -2
  532. package/dist/job.js +88 -88
  533. package/dist/kv/sql.js +2 -2
  534. package/dist/kv.js +84 -84
  535. package/dist/location-activity.js +179 -179
  536. package/dist/location-lifecycle.js +150 -150
  537. package/dist/location-service-map.js +99 -99
  538. package/dist/location-services.js +420 -419
  539. package/dist/location.js +102 -102
  540. package/dist/managed-policy.js +3 -3
  541. package/dist/mcp/client.js +104 -106
  542. package/dist/mcp/connection.js +105 -105
  543. package/dist/mcp/index.js +123 -123
  544. package/dist/mcp/instructions.js +182 -182
  545. package/dist/mcp/oauth.js +89 -89
  546. package/dist/mcp/socket-client.js +1 -1
  547. package/dist/mcp/stdio.js +103 -103
  548. package/dist/mime.js +1 -1
  549. package/dist/modal/models.js +112 -112
  550. package/dist/model-resolver.js +112 -112
  551. package/dist/model-retry.js +1 -1
  552. package/dist/model.js +107 -107
  553. package/dist/models-dev/v1.js +1 -1
  554. package/dist/models-dev.js +117 -117
  555. package/dist/oauth/page.js +1 -1
  556. package/dist/permission/saved.js +91 -91
  557. package/dist/permission/sql.js +5 -5
  558. package/dist/permission.js +149 -149
  559. package/dist/persistent-pty/binary.bun.js +1 -1
  560. package/dist/persistent-pty/daemon.js +1 -1
  561. package/dist/persistent-pty/index.js +99 -99
  562. package/dist/persistent-pty/pty-binding.js +1 -1
  563. package/dist/persistent-pty.js +86 -86
  564. package/dist/plugin/agent.js +85 -85
  565. package/dist/plugin/command.js +114 -114
  566. package/dist/plugin/goal.js +3 -3
  567. package/dist/plugin/hooks.js +5 -5
  568. package/dist/plugin/host.js +237 -237
  569. package/dist/plugin/identity.js +5 -5
  570. package/dist/plugin/instance.js +5 -5
  571. package/dist/plugin/internal.js +399 -398
  572. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  573. package/dist/plugin/models-dev.js +110 -110
  574. package/dist/plugin/module.js +129 -129
  575. package/dist/plugin/optimize.js +4 -4
  576. package/dist/plugin/plan.js +146 -146
  577. package/dist/plugin/promise.js +1 -1
  578. package/dist/plugin/provider/amazon-bedrock.js +104 -104
  579. package/dist/plugin/provider/azure.js +132 -132
  580. package/dist/plugin/provider/cerebras.js +1 -1
  581. package/dist/plugin/provider/chatgpt.js +130 -130
  582. package/dist/plugin/provider/claude-agent/aisdk.js +115 -115
  583. package/dist/plugin/provider/claude-agent/claude/fork.js +2 -2
  584. package/dist/plugin/provider/claude-agent/claude/io.js +4 -4
  585. package/dist/plugin/provider/claude-agent/claude/probe.js +2 -2
  586. package/dist/plugin/provider/claude-agent/claude/query-options.js +4 -4
  587. package/dist/plugin/provider/claude-agent/claude/sdk.js +1 -1
  588. package/dist/plugin/provider/claude-agent/claude/session.js +4 -4
  589. package/dist/plugin/provider/claude-agent/claude/sessions.js +16 -16
  590. package/dist/plugin/provider/claude-agent/claude/status.js +7 -7
  591. package/dist/plugin/provider/claude-agent/index.js +145 -145
  592. package/dist/plugin/provider/claude-agent/instructions.js +114 -114
  593. package/dist/plugin/provider/claude-agent/integration.js +113 -113
  594. package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +3 -3
  595. package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +7 -7
  596. package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +6 -6
  597. package/dist/plugin/provider/claude-agent/language-model/convert-to-claude-message.js +1 -1
  598. package/dist/plugin/provider/claude-agent/language-model/request-kind.js +1 -1
  599. package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +3 -3
  600. package/dist/plugin/provider/claude-agent/language-model/usage.js +5 -5
  601. package/dist/plugin/provider/claude-agent/provider.js +108 -108
  602. package/dist/plugin/provider/claude-agent/session.js +112 -112
  603. package/dist/plugin/provider/claude-agent/sync/catch-up.js +3 -3
  604. package/dist/plugin/provider/claude-agent/sync/checkpoints.js +2 -2
  605. package/dist/plugin/provider/claude-agent/sync/decide.js +2 -2
  606. package/dist/plugin/provider/claude-agent/sync/fingerprint.js +1 -1
  607. package/dist/plugin/provider/claude-agent/sync/record.js +1 -1
  608. package/dist/plugin/provider/claude-agent/tools/hooks.js +3 -3
  609. package/dist/plugin/provider/claude-agent/tools/names.js +3 -3
  610. package/dist/plugin/provider/claude-agent/tools/pending.js +1 -1
  611. package/dist/plugin/provider/claude-agent/tools/result.js +3 -3
  612. package/dist/plugin/provider/claude-agent/tools/server.js +4 -4
  613. package/dist/plugin/provider/cloudflare-ai-gateway.js +128 -128
  614. package/dist/plugin/provider/cloudflare-workers-ai.js +128 -128
  615. package/dist/plugin/provider/configured.js +126 -126
  616. package/dist/plugin/provider/credential-settings.js +85 -85
  617. package/dist/plugin/provider/databricks.js +1 -1
  618. package/dist/plugin/provider/digitalocean.js +108 -108
  619. package/dist/plugin/provider/dynamic.js +2 -2
  620. package/dist/plugin/provider/github-copilot.js +110 -110
  621. package/dist/plugin/provider/gitlab.js +107 -107
  622. package/dist/plugin/provider/google-vertex.js +127 -127
  623. package/dist/plugin/provider/kilo.js +1 -1
  624. package/dist/plugin/provider/llmgateway.js +89 -89
  625. package/dist/plugin/provider/lmstudio.js +139 -139
  626. package/dist/plugin/provider/local.js +136 -136
  627. package/dist/plugin/provider/modal.js +107 -107
  628. package/dist/plugin/provider/neon.js +1 -1
  629. package/dist/plugin/provider/nvidia.js +1 -1
  630. package/dist/plugin/provider/ollama.js +139 -139
  631. package/dist/plugin/provider/openai-context-caps.js +103 -103
  632. package/dist/plugin/provider/openai.js +132 -132
  633. package/dist/plugin/provider/opencode.js +155 -155
  634. package/dist/plugin/provider/openrouter.js +104 -104
  635. package/dist/plugin/provider/poe.js +90 -90
  636. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  637. package/dist/plugin/provider/refresh.js +87 -87
  638. package/dist/plugin/provider/sap-ai-core.js +104 -104
  639. package/dist/plugin/provider/sdk-factory.js +1 -1
  640. package/dist/plugin/provider/snowflake-cortex.js +129 -129
  641. package/dist/plugin/provider/vllm.js +139 -139
  642. package/dist/plugin/provider/xai.js +104 -104
  643. package/dist/plugin/provider/zenmux.js +1 -1
  644. package/dist/plugin/provider.js +234 -234
  645. package/dist/plugin/sdk.js +87 -87
  646. package/dist/plugin/service.js +3 -3
  647. package/dist/plugin/skill.js +149 -149
  648. package/dist/plugin/source-directory.js +1 -1
  649. package/dist/plugin/supervisor.js +411 -410
  650. package/dist/plugin/tool-input-repair.js +4 -4
  651. package/dist/plugin/update.js +6 -6
  652. package/dist/plugin/vcs/git.js +99 -99
  653. package/dist/plugin/vcs/hg.js +99 -99
  654. package/dist/plugin/verbosity.js +106 -106
  655. package/dist/plugin/warming.js +130 -130
  656. package/dist/plugin/websearch/exa.js +5 -5
  657. package/dist/plugin/websearch/firecrawl.js +8 -8
  658. package/dist/plugin/websearch/index.js +9 -9
  659. package/dist/plugin/websearch/mcp.js +4 -4
  660. package/dist/plugin/websearch/parallel.js +8 -8
  661. package/dist/plugin/websearch/tavily.js +6 -6
  662. package/dist/plugin/websearch/tinyfish.js +8 -8
  663. package/dist/plugin.js +248 -248
  664. package/dist/project/icon.js +5 -5
  665. package/dist/project/schema.js +8 -8
  666. package/dist/project/sql.js +4 -4
  667. package/dist/project.js +103 -103
  668. package/dist/provider.js +106 -106
  669. package/dist/pty/protocol.js +1 -1
  670. package/dist/pty/ticket.js +1 -1
  671. package/dist/pty.js +113 -113
  672. package/dist/reference/instructions.js +101 -101
  673. package/dist/reference.js +103 -103
  674. package/dist/repository-cache.js +93 -93
  675. package/dist/repository.js +1 -1
  676. package/dist/ripgrep/binary.js +2 -2
  677. package/dist/ripgrep.js +110 -110
  678. package/dist/rpc.js +99 -99
  679. package/dist/schedule/check.js +242 -242
  680. package/dist/schedule/sql.js +6 -6
  681. package/dist/schedule.js +252 -252
  682. package/dist/schema.js +1 -1
  683. package/dist/session/affinity.js +3 -3
  684. package/dist/session/background.js +1 -1
  685. package/dist/session/blob.js +129 -129
  686. package/dist/session/command.js +85 -85
  687. package/dist/session/compaction.js +173 -173
  688. package/dist/session/context.js +199 -199
  689. package/dist/session/diff.js +101 -101
  690. package/dist/session/environment.js +5 -5
  691. package/dist/session/error.js +3 -3
  692. package/dist/session/event.js +1 -1
  693. package/dist/session/execution/restart.js +247 -247
  694. package/dist/session/execution.js +161 -161
  695. package/dist/session/generate.js +201 -201
  696. package/dist/session/history.js +136 -142
  697. package/dist/session/inbox.js +147 -147
  698. package/dist/session/info.js +3 -3
  699. package/dist/session/instruction-entry.js +90 -90
  700. package/dist/session/instruction-state.js +8 -8
  701. package/dist/session/instructions.js +143 -143
  702. package/dist/session/message-updater.js +4 -4
  703. package/dist/session/message.js +1 -1
  704. package/dist/session/model-request.js +168 -168
  705. package/dist/session/model-transport.js +9 -9
  706. package/dist/session/move.js +165 -165
  707. package/dist/session/projector.js +143 -143
  708. package/dist/session/prompt.js +148 -148
  709. package/dist/session/recent-text.js +1 -1
  710. package/dist/session/revert.js +139 -139
  711. package/dist/session/run-coordinator.js +3 -3
  712. package/dist/session/runner/index.js +3 -3
  713. package/dist/session/runner/llm.js +251 -251
  714. package/dist/session/runner/max-steps.js +1 -1
  715. package/dist/session/runner/model.js +113 -113
  716. package/dist/session/runner/publish-llm-event.js +149 -149
  717. package/dist/session/runner/retry.js +5 -5
  718. package/dist/session/runner/step.js +163 -163
  719. package/dist/session/runner/to-llm-message.js +137 -137
  720. package/dist/session/schema.js +5 -5
  721. package/dist/session/session.js +181 -181
  722. package/dist/session/shell.js +144 -144
  723. package/dist/session/skill.js +149 -149
  724. package/dist/session/sql.js +5 -5
  725. package/dist/session/stats.js +86 -86
  726. package/dist/session/store.js +142 -142
  727. package/dist/session/stored.js +2 -2
  728. package/dist/session/subagent-completion.js +3 -3
  729. package/dist/session/subagent-job.js +230 -230
  730. package/dist/session/system-prompt.js +3 -3
  731. package/dist/session/title.js +203 -203
  732. package/dist/session/to-session-error.js +148 -148
  733. package/dist/session/transfer.js +244 -244
  734. package/dist/session/usage.js +3 -3
  735. package/dist/session.js +232 -232
  736. package/dist/shared-cache.js +5 -5
  737. package/dist/shell/parse.js +6 -6
  738. package/dist/shell/result.js +1 -1
  739. package/dist/shell/scan.js +1 -1
  740. package/dist/shell/select.js +7 -7
  741. package/dist/shell.js +146 -146
  742. package/dist/skill/discovery.js +6 -6
  743. package/dist/skill/instructions.js +151 -151
  744. package/dist/skill.js +156 -156
  745. package/dist/snapshot.js +102 -102
  746. package/dist/state.js +1 -1
  747. package/dist/tool/html-markdown.js +1 -1
  748. package/dist/tool/http-body.js +1 -1
  749. package/dist/tool/mcp.js +181 -181
  750. package/dist/tool/plugin/artifact.js +229 -229
  751. package/dist/tool/plugin/edit.js +166 -164
  752. package/dist/tool/plugin/file-diff.js +1 -1
  753. package/dist/tool/plugin/glob.js +169 -168
  754. package/dist/tool/plugin/grep.js +168 -168
  755. package/dist/tool/plugin/image-generate.js +240 -240
  756. package/dist/tool/plugin/mcp-resource.js +163 -163
  757. package/dist/tool/plugin/opencode.js +162 -161
  758. package/dist/tool/plugin/patch.js +167 -166
  759. package/dist/tool/plugin/question.js +146 -146
  760. package/dist/tool/plugin/read.js +171 -171
  761. package/dist/tool/plugin/schedule.js +248 -248
  762. package/dist/tool/plugin/shell.js +234 -234
  763. package/dist/tool/plugin/skill.js +151 -151
  764. package/dist/tool/plugin/subagent.js +237 -237
  765. package/dist/tool/plugin/todo.js +153 -153
  766. package/dist/tool/plugin/webfetch.js +153 -153
  767. package/dist/tool/plugin/websearch.js +153 -153
  768. package/dist/tool/plugin/write.js +167 -166
  769. package/dist/tool/read-filesystem.js +115 -115
  770. package/dist/tool/runtime.js +5 -3
  771. package/dist/tool-output.js +7 -7
  772. package/dist/tool.js +159 -159
  773. package/dist/types/file-write.d.ts +30 -0
  774. package/dist/types/instance.d.ts +2 -1
  775. package/dist/types/plugin/host.d.ts +1 -1
  776. package/dist/types/plugin/internal.d.ts +3 -2
  777. package/dist/types/session/history.d.ts +1 -304
  778. package/dist/types/tool/plugin/edit.d.ts +2 -3
  779. package/dist/types/tool/plugin/write.d.ts +2 -6
  780. package/dist/types/tool/runtime.d.ts +3 -1
  781. package/dist/usage-limits.js +100 -100
  782. package/dist/util/error-summary.js +1 -1
  783. package/dist/util/git-executable.js +3 -3
  784. package/dist/util/lazy.js +1 -1
  785. package/dist/util/slug.js +1 -1
  786. package/dist/util/token.js +1 -1
  787. package/dist/util/which.js +1 -1
  788. package/dist/util/wildcard.js +1 -1
  789. package/dist/v1/config/agent.js +3 -3
  790. package/dist/v1/config/command.js +3 -3
  791. package/dist/v1/config/mcp.js +4 -4
  792. package/dist/v1/config/migrate.js +105 -105
  793. package/dist/v1/config/permission.js +3 -3
  794. package/dist/v1/config/plugin.js +1 -1
  795. package/dist/v1/config/provider-options.js +1 -1
  796. package/dist/v1/config/provider.js +4 -4
  797. package/dist/variant.js +104 -104
  798. package/dist/vcs/patch.js +1 -1
  799. package/dist/vcs.js +102 -102
  800. package/dist/voice.js +97 -97
  801. package/dist/websearch.js +93 -93
  802. package/dist/wellknown/plugin.js +87 -87
  803. package/dist/wellknown.js +88 -88
  804. package/dist/workspace/driver.js +7 -7
  805. package/dist/workspace/sql.js +1 -1
  806. package/dist/workspace.js +93 -93
  807. package/dist/worktree/directory.js +2 -2
  808. package/dist/worktree/git.js +11 -11
  809. package/dist/worktree/sql.js +5 -5
  810. package/dist/worktree/strategies.js +102 -102
  811. package/dist/worktree.js +111 -111
  812. package/package.json +8 -8
  813. package/dist/chunks/location-27rfk046.js +0 -105
  814. package/dist/chunks/location-6bshxcsx.js +0 -18
  815. package/dist/chunks/location-epzk50yp.js +0 -26
  816. package/dist/chunks/location-vz06f061.js +0 -261
  817. /package/dist/chunks/{location-0qkdqm5v.js → schema-0qkdqm5v.js} +0 -0
  818. /package/dist/chunks/{location-0zkw76rk.js → schema-0zkw76rk.js} +0 -0
  819. /package/dist/chunks/{location-17cy0kzp.js → schema-17cy0kzp.js} +0 -0
  820. /package/dist/chunks/{location-1cnp2v09.js → schema-1cnp2v09.js} +0 -0
  821. /package/dist/chunks/{location-1kah00gy.js → schema-1kah00gy.js} +0 -0
  822. /package/dist/chunks/{location-1pevy3nx.js → schema-1pevy3nx.js} +0 -0
  823. /package/dist/chunks/{location-24dcb14g.js → schema-24dcb14g.js} +0 -0
  824. /package/dist/chunks/{location-2710q6r3.js → schema-2710q6r3.js} +0 -0
  825. /package/dist/chunks/{location-2bv980vf.js → schema-2bv980vf.js} +0 -0
  826. /package/dist/chunks/{location-2c3vjs8z.js → schema-2c3vjs8z.js} +0 -0
  827. /package/dist/chunks/{location-359p4xyc.js → schema-359p4xyc.js} +0 -0
  828. /package/dist/chunks/{location-3asan66x.js → schema-3asan66x.js} +0 -0
  829. /package/dist/chunks/{location-3v8g72cx.js → schema-3v8g72cx.js} +0 -0
  830. /package/dist/chunks/{location-3wcehsnq.js → schema-3wcehsnq.js} +0 -0
  831. /package/dist/chunks/{location-43n2bw4t.js → schema-43n2bw4t.js} +0 -0
  832. /package/dist/chunks/{location-4knz6hnm.js → schema-4knz6hnm.js} +0 -0
  833. /package/dist/chunks/{location-4qk9sjk2.js → schema-4qk9sjk2.js} +0 -0
  834. /package/dist/chunks/{location-4vcrnpx2.js → schema-4vcrnpx2.js} +0 -0
  835. /package/dist/chunks/{location-4y7fprxs.js → schema-4y7fprxs.js} +0 -0
  836. /package/dist/chunks/{location-53557ph1.js → schema-53557ph1.js} +0 -0
  837. /package/dist/chunks/{location-550bvhaj.js → schema-550bvhaj.js} +0 -0
  838. /package/dist/chunks/{location-5w3e23ze.js → schema-5w3e23ze.js} +0 -0
  839. /package/dist/chunks/{location-6agm2x70.js → schema-6agm2x70.js} +0 -0
  840. /package/dist/chunks/{location-6prwharc.js → schema-6prwharc.js} +0 -0
  841. /package/dist/chunks/{location-6q2bdcd1.js → schema-6q2bdcd1.js} +0 -0
  842. /package/dist/chunks/{location-7akdwqpd.js → schema-7akdwqpd.js} +0 -0
  843. /package/dist/chunks/{location-7m9af43g.js → schema-7m9af43g.js} +0 -0
  844. /package/dist/chunks/{location-822emrt2.js → schema-822emrt2.js} +0 -0
  845. /package/dist/chunks/{location-84wd9syh.js → schema-84wd9syh.js} +0 -0
  846. /package/dist/chunks/{location-88xbtdfr.js → schema-88xbtdfr.js} +0 -0
  847. /package/dist/chunks/{location-8n3pysct.js → schema-8n3pysct.js} +0 -0
  848. /package/dist/chunks/{location-8wj87zfr.js → schema-8wj87zfr.js} +0 -0
  849. /package/dist/chunks/{location-9a4afbnw.js → schema-9a4afbnw.js} +0 -0
  850. /package/dist/chunks/{location-9rqn6x4v.js → schema-9rqn6x4v.js} +0 -0
  851. /package/dist/chunks/{location-a6k6eb26.js → schema-a6k6eb26.js} +0 -0
  852. /package/dist/chunks/{location-af5trqkr.js → schema-af5trqkr.js} +0 -0
  853. /package/dist/chunks/{location-afrmfg78.js → schema-afrmfg78.js} +0 -0
  854. /package/dist/chunks/{location-aqzs7mqg.js → schema-aqzs7mqg.js} +0 -0
  855. /package/dist/chunks/{location-atq7p7m5.js → schema-atq7p7m5.js} +0 -0
  856. /package/dist/chunks/{location-beh6qq61.js → schema-beh6qq61.js} +0 -0
  857. /package/dist/chunks/{location-bkyjaxrp.js → schema-bkyjaxrp.js} +0 -0
  858. /package/dist/chunks/{location-bmr6ed5q.js → schema-bmr6ed5q.js} +0 -0
  859. /package/dist/chunks/{location-cf4snx6d.js → schema-cf4snx6d.js} +0 -0
  860. /package/dist/chunks/{location-cqv5kn06.js → schema-cqv5kn06.js} +0 -0
  861. /package/dist/chunks/{location-cvy3z8tj.js → schema-cvy3z8tj.js} +0 -0
  862. /package/dist/chunks/{location-d9fn303g.js → schema-d9fn303g.js} +0 -0
  863. /package/dist/chunks/{location-d9jj8t3e.js → schema-d9jj8t3e.js} +0 -0
  864. /package/dist/chunks/{location-dap0rakb.js → schema-dap0rakb.js} +0 -0
  865. /package/dist/chunks/{location-df08tz66.js → schema-df08tz66.js} +0 -0
  866. /package/dist/chunks/{location-dy18nga0.js → schema-dy18nga0.js} +0 -0
  867. /package/dist/chunks/{location-e5kj55wp.js → schema-e5kj55wp.js} +0 -0
  868. /package/dist/chunks/{location-e73j6tqm.js → schema-e73j6tqm.js} +0 -0
  869. /package/dist/chunks/{location-ean2d8b5.js → schema-ean2d8b5.js} +0 -0
  870. /package/dist/chunks/{location-ec1grn59.js → schema-ec1grn59.js} +0 -0
  871. /package/dist/chunks/{location-eh3zwz77.js → schema-eh3zwz77.js} +0 -0
  872. /package/dist/chunks/{location-emrn6kk6.js → schema-emrn6kk6.js} +0 -0
  873. /package/dist/chunks/{location-f0mxakyp.js → schema-f0mxakyp.js} +0 -0
  874. /package/dist/chunks/{location-f6n9ztr4.js → schema-f6n9ztr4.js} +0 -0
  875. /package/dist/chunks/{location-faypxj3z.js → schema-faypxj3z.js} +0 -0
  876. /package/dist/chunks/{location-fd410y7t.js → schema-fd410y7t.js} +0 -0
  877. /package/dist/chunks/{location-fkpq3x5p.js → schema-fkpq3x5p.js} +0 -0
  878. /package/dist/chunks/{location-g4wezp1m.js → schema-g4wezp1m.js} +0 -0
  879. /package/dist/chunks/{location-g86h250q.js → schema-g86h250q.js} +0 -0
  880. /package/dist/chunks/{location-gebd4c9n.js → schema-gebd4c9n.js} +0 -0
  881. /package/dist/chunks/{location-gftt206x.js → schema-gftt206x.js} +0 -0
  882. /package/dist/chunks/{location-hcxmzztb.js → schema-hcxmzztb.js} +0 -0
  883. /package/dist/chunks/{location-hk9envan.js → schema-hk9envan.js} +0 -0
  884. /package/dist/chunks/{location-j2ntwpah.js → schema-j2ntwpah.js} +0 -0
  885. /package/dist/chunks/{location-j5zkgpj8.js → schema-j5zkgpj8.js} +0 -0
  886. /package/dist/chunks/{location-jjkms2e6.js → schema-jjkms2e6.js} +0 -0
  887. /package/dist/chunks/{location-jr7sbwjy.js → schema-jr7sbwjy.js} +0 -0
  888. /package/dist/chunks/{location-jwfs4k6c.js → schema-jwfs4k6c.js} +0 -0
  889. /package/dist/chunks/{location-jwr30sdr.js → schema-jwr30sdr.js} +0 -0
  890. /package/dist/chunks/{location-jzg6c2d5.js → schema-jzg6c2d5.js} +0 -0
  891. /package/dist/chunks/{location-m18g726c.js → schema-m18g726c.js} +0 -0
  892. /package/dist/chunks/{location-mp448xyj.js → schema-mp448xyj.js} +0 -0
  893. /package/dist/chunks/{location-msx8hqn2.js → schema-msx8hqn2.js} +0 -0
  894. /package/dist/chunks/{location-n05xt0ee.js → schema-n05xt0ee.js} +0 -0
  895. /package/dist/chunks/{location-n3j8tn72.js → schema-n3j8tn72.js} +0 -0
  896. /package/dist/chunks/{location-nh4v3znn.js → schema-nh4v3znn.js} +0 -0
  897. /package/dist/chunks/{location-njntx4h6.js → schema-njntx4h6.js} +0 -0
  898. /package/dist/chunks/{location-p71gwv9c.js → schema-p71gwv9c.js} +0 -0
  899. /package/dist/chunks/{location-q3sfg36h.js → schema-q3sfg36h.js} +0 -0
  900. /package/dist/chunks/{location-q74kybfr.js → schema-q74kybfr.js} +0 -0
  901. /package/dist/chunks/{location-qaymkmh1.js → schema-qaymkmh1.js} +0 -0
  902. /package/dist/chunks/{location-qb87gjwd.js → schema-qb87gjwd.js} +0 -0
  903. /package/dist/chunks/{location-qfa1cgps.js → schema-qfa1cgps.js} +0 -0
  904. /package/dist/chunks/{location-qg3g05ea.js → schema-qg3g05ea.js} +0 -0
  905. /package/dist/chunks/{location-qrg20bc0.js → schema-qrg20bc0.js} +0 -0
  906. /package/dist/chunks/{location-rcb2kzg1.js → schema-rcb2kzg1.js} +0 -0
  907. /package/dist/chunks/{location-sdp7kfr6.js → schema-sdp7kfr6.js} +0 -0
  908. /package/dist/chunks/{location-ssg3fenm.js → schema-ssg3fenm.js} +0 -0
  909. /package/dist/chunks/{location-syrav9an.js → schema-syrav9an.js} +0 -0
  910. /package/dist/chunks/{location-t03h4f5z.js → schema-t03h4f5z.js} +0 -0
  911. /package/dist/chunks/{location-ty7weeps.js → schema-ty7weeps.js} +0 -0
  912. /package/dist/chunks/{location-ve7vex1e.js → schema-ve7vex1e.js} +0 -0
  913. /package/dist/chunks/{location-vtarvj67.js → schema-vtarvj67.js} +0 -0
  914. /package/dist/chunks/{location-w803qqfp.js → schema-w803qqfp.js} +0 -0
  915. /package/dist/chunks/{location-wc3fc9cn.js → schema-wc3fc9cn.js} +0 -0
  916. /package/dist/chunks/{location-wer8tq1h.js → schema-wer8tq1h.js} +0 -0
  917. /package/dist/chunks/{location-wtztk69x.js → schema-wtztk69x.js} +0 -0
  918. /package/dist/chunks/{location-x0ckcb58.js → schema-x0ckcb58.js} +0 -0
  919. /package/dist/chunks/{location-x61499pn.js → schema-x61499pn.js} +0 -0
  920. /package/dist/chunks/{location-y44na4kk.js → schema-y44na4kk.js} +0 -0
  921. /package/dist/chunks/{location-y8f7s663.js → schema-y8f7s663.js} +0 -0
  922. /package/dist/chunks/{location-ygaqb7jw.js → schema-ygaqb7jw.js} +0 -0
  923. /package/dist/chunks/{location-z5v4ffb3.js → schema-z5v4ffb3.js} +0 -0
  924. /package/dist/chunks/{location-z9919s4g.js → schema-z9919s4g.js} +0 -0
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  BlockedError2
3
- } from "./location-zva2cc2v.js";
3
+ } from "./schema-9hm59r1c.js";
4
4
  import {
5
5
  __export
6
- } from "./location-9rqn6x4v.js";
6
+ } from "./schema-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/plan.ts
9
9
  var exports_plan = {};
10
10
  __export(exports_plan, {
11
11
  PlanPlugin: () => exports_plan,
12
- Plugin: () => Plugin36
12
+ Plugin: () => Plugin50
13
13
  });
14
14
  import { Message, ToolFailure } from "@opencode/ai/effect";
15
15
  import { define } from "@opencode/plugin/effect/plugin";
@@ -29,7 +29,7 @@ You remain in Plan mode until the user switches agents. If the user asks you to
29
29
  var leave = `<system-reminder>
30
30
  You are NO LONGER in Plan mode. The previous Plan restrictions no longer apply. Any Plan mode instructions from earlier in this conversation are no longer active.
31
31
  </system-reminder>`;
32
- var Plugin36 = define({
32
+ var Plugin50 = define({
33
33
  id: "opencode.plan",
34
34
  effect: Effect.fn(function* (ctx) {
35
35
  const global = yield* Global.Service;
@@ -105,4 +105,4 @@ function lastReminder(messages, enterReminder) {
105
105
  }, undefined);
106
106
  }
107
107
 
108
- export { Plugin36, exports_plan };
108
+ export { Plugin50, exports_plan };
@@ -2,18 +2,18 @@ import {
2
2
  AbsolutePath2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./location-z5v4ffb3.js";
5
+ } from "./schema-z5v4ffb3.js";
6
6
  import {
7
- Service83,
8
- node86
9
- } from "./location-0fcqkqe0.js";
7
+ Service87,
8
+ node90
9
+ } from "./schema-th5svyvp.js";
10
10
  import {
11
- Service52,
12
- node54
13
- } from "./location-tv15tdwr.js";
11
+ Service39,
12
+ node41
13
+ } from "./schema-hrs1my6p.js";
14
14
  import {
15
15
  __export
16
- } from "./location-9rqn6x4v.js";
16
+ } from "./schema-9rqn6x4v.js";
17
17
 
18
18
  // src/filesystem.ts
19
19
  var exports_filesystem = {};
@@ -24,17 +24,17 @@ __export(exports_filesystem, {
24
24
  DirectoryAccessDeniedError: () => DirectoryAccessDeniedError2,
25
25
  DirectoryNotFoundError: () => DirectoryNotFoundError2,
26
26
  Entry: () => Entry2,
27
- Event: () => Event9,
27
+ Event: () => Event7,
28
28
  FileSystem: () => exports_filesystem,
29
29
  FindInput: () => FindInput2,
30
30
  GlobInput: () => GlobInput2,
31
31
  GrepInput: () => GrepInput2,
32
32
  Match: () => Match2,
33
- NotFoundError: () => NotFoundError8,
34
- Service: () => Service51,
33
+ NotFoundError: () => NotFoundError6,
34
+ Service: () => Service38,
35
35
  Submatch: () => Submatch2,
36
36
  Write: () => Write2,
37
- node: () => node53
37
+ node: () => node40
38
38
  });
39
39
  import { makeLocationNode } from "@opencode/util/effect/app-node";
40
40
  import path from "path";
@@ -43,7 +43,7 @@ import { FSUtil } from "@opencode/util/fs-util";
43
43
  import { Entry, FileSystem, FindInput as FindInput2, Write as Write2 } from "@opencode/schema/filesystem";
44
44
  import { Entry as Entry2, Match as Match2, Submatch as Submatch2 } from "@opencode/schema/filesystem";
45
45
 
46
- class NotFoundError8 extends Schema.TaggedError()("FileSystem.NotFoundError", {
46
+ class NotFoundError6 extends Schema.TaggedError()("FileSystem.NotFoundError", {
47
47
  path: RelativePath2
48
48
  }) {
49
49
  }
@@ -92,14 +92,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
92
92
  limit: Schema.optionalKey(PositiveInt2)
93
93
  }) {
94
94
  }
95
- var Event9 = FileSystem.Event;
95
+ var Event7 = FileSystem.Event;
96
96
 
97
- class Service51 extends Context.Service()("@opencode/FileSystem") {
97
+ class Service38 extends Context.Service()("@opencode/FileSystem") {
98
98
  }
99
- var baseLayer = Layer.effect(Service51, Effect.gen(function* () {
99
+ var baseLayer = Layer.effect(Service38, Effect.gen(function* () {
100
100
  const fs = yield* FSUtil.Service;
101
- const location = yield* Service83;
102
- const search = yield* Service52;
101
+ const location = yield* Service87;
102
+ const search = yield* Service39;
103
103
  const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.tap((real) => fs.access(real, { readable: true })), Effect.catch((cause) => {
104
104
  if (cause.reason._tag === "NotFound")
105
105
  return Effect.fail(new DirectoryNotFoundError2({ directory: location.directory, cause }));
@@ -109,22 +109,22 @@ var baseLayer = Layer.effect(Service51, Effect.gen(function* () {
109
109
  }));
110
110
  const resolve = Effect.fnUntraced(function* (input) {
111
111
  if (input.includes("\x00"))
112
- return yield* Effect.fail(new NotFoundError8({ path: input }));
112
+ return yield* Effect.fail(new NotFoundError6({ path: input }));
113
113
  const absolute = path.resolve(location.directory, input);
114
114
  if (!FSUtil.contains(location.directory, absolute))
115
- return yield* Effect.fail(new NotFoundError8({ path: input }));
116
- const real = yield* fs.realPath(absolute).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError8({ path: input })), (_, error) => Effect.die(error)));
115
+ return yield* Effect.fail(new NotFoundError6({ path: input }));
116
+ const real = yield* fs.realPath(absolute).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError6({ path: input })), (_, error) => Effect.die(error)));
117
117
  if (!FSUtil.contains(root, real))
118
- return yield* Effect.fail(new NotFoundError8({ path: input }));
118
+ return yield* Effect.fail(new NotFoundError6({ path: input }));
119
119
  return { absolute, real, directory: location.directory };
120
120
  });
121
- return Service51.of({
121
+ return Service38.of({
122
122
  find: search.find,
123
123
  read: Effect.fn("FileSystem.read")(function* (input) {
124
124
  const target = yield* resolve(input.path);
125
- const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError8({ path: input.path })), (_, error) => Effect.die(error)));
125
+ const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError6({ path: input.path })), (_, error) => Effect.die(error)));
126
126
  if (info.type !== "File")
127
- return yield* Effect.fail(new NotFoundError8({ path: input.path }));
127
+ return yield* Effect.fail(new NotFoundError6({ path: input.path }));
128
128
  return {
129
129
  mime: FSUtil.mimeType(target.real),
130
130
  size: Number(info.size),
@@ -134,7 +134,7 @@ var baseLayer = Layer.effect(Service51, Effect.gen(function* () {
134
134
  }),
135
135
  list: Effect.fn("FileSystem.list")(function* (input = {}) {
136
136
  const directory = path.resolve(location.directory, input.path ?? ".");
137
- const missing = new NotFoundError8({ path: RelativePath2.make(input.path ?? ".") });
137
+ const missing = new NotFoundError6({ path: RelativePath2.make(input.path ?? ".") });
138
138
  const info = yield* fs.stat(directory).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(missing), (_, error) => Effect.die(error)));
139
139
  if (info.type !== "Directory")
140
140
  return yield* missing;
@@ -159,10 +159,10 @@ var baseLayer = Layer.effect(Service51, Effect.gen(function* () {
159
159
  })
160
160
  });
161
161
  }));
162
- var node53 = makeLocationNode({
163
- service: Service51,
162
+ var node40 = makeLocationNode({
163
+ service: Service38,
164
164
  layer: baseLayer,
165
- deps: [FSUtil.node, node86, node54]
165
+ deps: [FSUtil.node, node90, node41]
166
166
  });
167
167
 
168
- export { FindInput2, Write2, NotFoundError8, DirectoryNotFoundError2, DirectoryAccessDeniedError2, Content3, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event9, Service51, node53, exports_filesystem, Entry2, Match2, Submatch2 };
168
+ export { FindInput2, Write2, NotFoundError6, DirectoryNotFoundError2, DirectoryAccessDeniedError2, Content3, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event7, Service38, node40, exports_filesystem, Entry2, Match2, Submatch2 };
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  convertToOpenAICompatibleChatMessages2
3
- } from "./location-2bv980vf.js";
3
+ } from "./schema-2bv980vf.js";
4
4
  import {
5
5
  getResponseMetadata2
6
- } from "./location-g4wezp1m.js";
6
+ } from "./schema-g4wezp1m.js";
7
7
  import {
8
8
  mapOpenAICompatibleFinishReason2
9
- } from "./location-x61499pn.js";
9
+ } from "./schema-x61499pn.js";
10
10
  import {
11
11
  openaiCompatibleProviderOptions2
12
- } from "./location-af5trqkr.js";
12
+ } from "./schema-af5trqkr.js";
13
13
  import {
14
14
  defaultOpenAICompatibleErrorStructure2
15
- } from "./location-afrmfg78.js";
15
+ } from "./schema-afrmfg78.js";
16
16
  import {
17
17
  prepareTools2
18
- } from "./location-x0ckcb58.js";
18
+ } from "./schema-x0ckcb58.js";
19
19
 
20
20
  // src/github-copilot/chat/openai-compatible-chat-language-model.ts
21
21
  import {
@@ -1,23 +1,23 @@
1
1
  import {
2
- Service70
3
- } from "./location-zva2cc2v.js";
2
+ Service73
3
+ } from "./schema-9hm59r1c.js";
4
4
  import {
5
5
  definition2,
6
6
  normalizedName2
7
- } from "./location-dbht28n9.js";
7
+ } from "./schema-z0h12gs8.js";
8
8
  import {
9
9
  toSessionError2
10
- } from "./location-efd7k9cd.js";
10
+ } from "./schema-hmcbsnb6.js";
11
11
  import {
12
- Service58
13
- } from "./location-xn7cqzsq.js";
12
+ Service55
13
+ } from "./schema-tkxx25dy.js";
14
14
  import {
15
15
  extension2,
16
16
  display2
17
- } from "./location-s8wwhb0c.js";
17
+ } from "./schema-v8mak0jw.js";
18
18
  import {
19
19
  __export
20
- } from "./location-9rqn6x4v.js";
20
+ } from "./schema-9rqn6x4v.js";
21
21
 
22
22
  // src/codemode/tool.ts
23
23
  var exports_tool2 = {};
@@ -102,7 +102,7 @@ var create3 = (inventory, executeTool, permission) => {
102
102
  return resultValue(executed);
103
103
  }),
104
104
  hooks: progressHooks(record)
105
- }), Effect.onError(() => lock.withPermit(Ref.get(trailing).pipe(Effect.flatMap((pending) => pending ? publish : Effect.void)))), Effect.provideService(Service58, context), Effect.provideService(Service70, permission));
105
+ }), Effect.onError(() => lock.withPermit(Ref.get(trailing).pipe(Effect.flatMap((pending) => pending ? publish : Effect.void)))), Effect.provideService(Service55, context), Effect.provideService(Service73, permission));
106
106
  const toolCalls = yield* Ref.get(calls);
107
107
  const collected = (yield* Ref.get(files)).toSorted((left, right) => left.index - right.index).flatMap((item) => item.files);
108
108
  const output = formatResult(result);
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./location-9rqn6x4v.js";
3
+ } from "./schema-9rqn6x4v.js";
4
4
 
5
5
  // src/util/wildcard.ts
6
6
  var exports_wildcard = {};
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./location-8cg7mtm3.js";
3
+ } from "./schema-8cg7mtm3.js";
4
4
  import {
5
- Service69,
6
- node71
7
- } from "./location-rz41xnze.js";
5
+ Service52,
6
+ node54
7
+ } from "./schema-pt1rbhsc.js";
8
8
  import {
9
9
  __export
10
- } from "./location-9rqn6x4v.js";
10
+ } from "./schema-9rqn6x4v.js";
11
11
 
12
12
  // src/file-mutation.ts
13
13
  var exports_file_mutation = {};
14
14
  __export(exports_file_mutation, {
15
15
  FileMutation: () => exports_file_mutation,
16
- Service: () => Service20,
17
- node: () => node22,
16
+ Service: () => Service51,
17
+ node: () => node53,
18
18
  readOptionalText: () => readOptionalText2,
19
19
  readText: () => readText2,
20
20
  syncTextBom: () => syncTextBom2
@@ -23,7 +23,7 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
23
23
  import { Context, Effect, Layer } from "effect";
24
24
  import { FSUtil } from "@opencode/util/fs-util";
25
25
  import { Bom } from "@opencode/util/bom";
26
- class Service20 extends Context.Service()("@opencode/FileMutation") {
26
+ class Service51 extends Context.Service()("@opencode/FileMutation") {
27
27
  }
28
28
  var readText2 = Effect.fn("FileMutation.readText")(function* (files, target) {
29
29
  return Bom.decodeBytes((yield* files.read(target)).bytes);
@@ -39,8 +39,8 @@ var syncTextBom2 = Effect.fn("FileMutation.syncTextBom")(function* (files, targe
39
39
  return synced.text;
40
40
  });
41
41
  var transactionLocks = makeUnsafe2();
42
- var layer = Layer.effect(Service20, Effect.gen(function* () {
43
- const environment = yield* Service69;
42
+ var layer = Layer.effect(Service51, Effect.gen(function* () {
43
+ const environment = yield* Service52;
44
44
  const locks = makeUnsafe2();
45
45
  const withLock = (targets) => (effect) => [...new Set(targets.map(FSUtil.resolve))].sort().reduceRight((result, target) => transactionLocks.withLock(target)(result), effect);
46
46
  const withTargetLock = (target) => (effect) => locks.withLock(target.absolute)(Effect.uninterruptible(effect));
@@ -62,8 +62,8 @@ var layer = Layer.effect(Service20, Effect.gen(function* () {
62
62
  yield* environment.files.write(input.target.absolute, new TextEncoder().encode(Bom.join(next.text, bom)));
63
63
  return { ...writeResult(input.target, current !== undefined), bom };
64
64
  })));
65
- return Service20.of({ withLock, write, writeTextPreservingBom });
65
+ return Service51.of({ withLock, write, writeTextPreservingBom });
66
66
  }));
67
- var node22 = makeLocationNode({ service: Service20, layer, deps: [node71] });
67
+ var node53 = makeLocationNode({ service: Service51, layer, deps: [node54] });
68
68
 
69
- export { Service20, readText2, readOptionalText2, syncTextBom2, node22, exports_file_mutation };
69
+ export { Service51, readText2, readOptionalText2, syncTextBom2, node53, exports_file_mutation };
@@ -1,36 +1,36 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./location-z5v4ffb3.js";
3
+ } from "./schema-z5v4ffb3.js";
4
4
  import {
5
- Service83
6
- } from "./location-0fcqkqe0.js";
5
+ Service87
6
+ } from "./schema-th5svyvp.js";
7
7
  import {
8
8
  NotFound3
9
- } from "./location-svcy3p9a.js";
9
+ } from "./schema-svcy3p9a.js";
10
10
  import {
11
11
  makeMemoryDriver2
12
- } from "./location-twssxy5n.js";
12
+ } from "./schema-twssxy5n.js";
13
13
  import {
14
14
  makeFiles2
15
- } from "./location-rz41xnze.js";
15
+ } from "./schema-pt1rbhsc.js";
16
16
  import {
17
- Service70
18
- } from "./location-zva2cc2v.js";
17
+ Service73
18
+ } from "./schema-9hm59r1c.js";
19
19
  import {
20
- Service22
21
- } from "./location-s3571hbf.js";
20
+ Service49
21
+ } from "./schema-hs0d6vna.js";
22
22
  import {
23
- Service12
24
- } from "./location-hyevg830.js";
23
+ Service10
24
+ } from "./schema-z4be597q.js";
25
25
  import {
26
- ID10,
26
+ ID11,
27
27
  uri2,
28
28
  isUri2,
29
- Service53
30
- } from "./location-fgj5a68r.js";
29
+ Service69
30
+ } from "./schema-jv8r5h6h.js";
31
31
  import {
32
32
  isSafeSegment2
33
- } from "./location-xjbsd7zy.js";
33
+ } from "./schema-3adw4bt5.js";
34
34
  import {
35
35
  BinaryFileError2,
36
36
  MediaIngestLimitError2,
@@ -40,27 +40,27 @@ import {
40
40
  FileContent2,
41
41
  TextPage2,
42
42
  ListPage2,
43
- Service42,
43
+ Service28,
44
44
  read2
45
- } from "./location-jv56tjdv.js";
45
+ } from "./schema-b25mxkxc.js";
46
46
  import {
47
47
  __export
48
- } from "./location-9rqn6x4v.js";
48
+ } from "./schema-9rqn6x4v.js";
49
49
 
50
50
  // src/tool/plugin/read.ts
51
51
  var exports_read = {};
52
52
  __export(exports_read, {
53
- Input: () => Input10,
54
- Plugin: () => Plugin48,
53
+ Input: () => Input8,
54
+ Plugin: () => Plugin27,
55
55
  ReadTool: () => exports_read,
56
- name: () => name10,
57
- toModelContent: () => toModelContent4
56
+ name: () => name8,
57
+ toModelContent: () => toModelContent5
58
58
  });
59
59
  import { basename, dirname, join } from "path";
60
60
  import { ToolFailure } from "@opencode/ai/effect";
61
61
  import { Effect, Schema } from "effect";
62
62
  import { FSUtil } from "@opencode/util/fs-util";
63
- var name10 = "read";
63
+ var name8 = "read";
64
64
  var FILENAME = "AGENTS.md";
65
65
  var LocationInput = Schema.Struct({
66
66
  path: Schema.String.annotate({ description: "File or directory to read" }),
@@ -71,23 +71,23 @@ var LocationInput = Schema.Struct({
71
71
  description: "The maximum number of lines or directory entries to read (defaults to and capped at 2000)"
72
72
  })
73
73
  });
74
- var Input10 = LocationInput;
74
+ var Input8 = LocationInput;
75
75
  var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
76
- var Plugin48 = {
76
+ var Plugin27 = {
77
77
  id: "opencode.tool.read",
78
78
  effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
79
- const reader = yield* Service42;
80
- const access = yield* Service22;
81
- const permission = yield* Service70;
82
- const skills = yield* Service53;
83
- const sessionInstructions = yield* Service12;
79
+ const reader = yield* Service28;
80
+ const access = yield* Service49;
81
+ const permission = yield* Service73;
82
+ const skills = yield* Service69;
83
+ const sessionInstructions = yield* Service10;
84
84
  const fs = yield* FSUtil.Service;
85
- const location = yield* Service83;
85
+ const location = yield* Service87;
86
86
  yield* ctx.tool.transform((editor) => editor.add({
87
- name: name10,
87
+ name: name8,
88
88
  options: { codemode: false },
89
89
  description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
90
- input: Input10,
90
+ input: Input8,
91
91
  output: Output,
92
92
  execute: (input, context) => {
93
93
  return Effect.gen(function* () {
@@ -95,7 +95,7 @@ var Plugin48 = {
95
95
  const parsed = parseSkillUri(input.path);
96
96
  if (!parsed)
97
97
  return yield* new ToolFailure({ message: `File not found: ${input.path}` });
98
- const id = ID10.make(parsed.id);
98
+ const id = ID11.make(parsed.id);
99
99
  const skill = yield* skills.get(id);
100
100
  if (!skill || !isUri2(skill.path))
101
101
  return yield* new ToolFailure({ message: `File not found: ${input.path}` });
@@ -167,7 +167,7 @@ var Plugin48 = {
167
167
  return { output: result.content, path: result.path };
168
168
  }).pipe(Effect.map((result) => ({
169
169
  output: result.output,
170
- content: toModelContent4(result.path, input.offset, result.output),
170
+ content: toModelContent5(result.path, input.offset, result.output),
171
171
  metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
172
172
  })), Effect.mapError((error) => {
173
173
  if (error instanceof ToolFailure)
@@ -244,7 +244,7 @@ function parseSkillUri(value) {
244
244
  return;
245
245
  return { id, target: rest === "" ? "/" : `/${rest}`, uri: uri2(id, rest || undefined) };
246
246
  }
247
- var toModelContent4 = (path, offset, output) => {
247
+ var toModelContent5 = (path, offset, output) => {
248
248
  if (output.type === "file" && output.encoding === "base64")
249
249
  return [
250
250
  { type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
@@ -280,4 +280,4 @@ var toModelContent4 = (path, offset, output) => {
280
280
  `);
281
281
  };
282
282
 
283
- export { name10, Input10, Plugin48, toModelContent4, exports_read };
283
+ export { name8, Input8, Plugin27, toModelContent5, exports_read };
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  __export
3
- } from "./location-9rqn6x4v.js";
3
+ } from "./schema-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/mcp-codemode-defaults.ts
6
6
  var exports_mcp_codemode_defaults = {};
7
7
  __export(exports_mcp_codemode_defaults, {
8
8
  McpCodeModeDefaultsPlugin: () => exports_mcp_codemode_defaults,
9
- Plugin: () => Plugin34
9
+ Plugin: () => Plugin51
10
10
  });
11
11
  import { define } from "@opencode/plugin/effect/plugin";
12
12
  import { Effect } from "effect";
13
13
  var urls = [/^https:\/\/executor\.sh\/[^/]+\/mcp$/];
14
14
  var posthog = /^mcp(?:-eu|\.us|\.eu)?\.posthog\.com$/;
15
15
  var mode = "x-posthog-mcp-mode";
16
- var Plugin34 = define({
16
+ var Plugin51 = define({
17
17
  id: "opencode.mcp.codemode.defaults",
18
18
  effect: Effect.fn(function* (ctx) {
19
19
  yield* ctx.mcp.transform((editor) => {
@@ -38,4 +38,4 @@ var Plugin34 = define({
38
38
  })
39
39
  });
40
40
 
41
- export { Plugin34, exports_mcp_codemode_defaults };
41
+ export { Plugin51, exports_mcp_codemode_defaults };
@@ -7,21 +7,21 @@ import {
7
7
  deletePatch2,
8
8
  countPatch2,
9
9
  chunksByFile2
10
- } from "./location-rb9dy4dg.js";
10
+ } from "./schema-rb9dy4dg.js";
11
11
  import {
12
- Service83
13
- } from "./location-0fcqkqe0.js";
12
+ Service87
13
+ } from "./schema-th5svyvp.js";
14
14
  import {
15
15
  DiffError2
16
- } from "./location-0wgmn1kb.js";
16
+ } from "./schema-r5z1733q.js";
17
17
  import {
18
18
  __export
19
- } from "./location-9rqn6x4v.js";
19
+ } from "./schema-9rqn6x4v.js";
20
20
 
21
21
  // src/plugin/vcs/hg.ts
22
22
  var exports_hg = {};
23
23
  __export(exports_hg, {
24
- Plugin: () => Plugin19,
24
+ Plugin: () => Plugin43,
25
25
  VcsHgPlugin: () => exports_hg
26
26
  });
27
27
  import path from "path";
@@ -30,10 +30,10 @@ import { ChildProcess } from "effect/process";
30
30
  import { define } from "@opencode/plugin/effect/plugin";
31
31
  import { FSUtil } from "@opencode/util/fs-util";
32
32
  import { AppProcess } from "@opencode/util/process";
33
- var Plugin19 = define({
33
+ var Plugin43 = define({
34
34
  id: "opencode.vcs.hg",
35
35
  effect: Effect.fn("VcsHgPlugin")(function* (ctx) {
36
- const location = yield* Service83;
36
+ const location = yield* Service87;
37
37
  if (location.vcs && location.vcs.type !== "hg")
38
38
  return;
39
39
  const processes = yield* AppProcess.Service;
@@ -198,4 +198,4 @@ function makeHg(proc, worktree) {
198
198
  return { status, diff, branch, ancestor, cat };
199
199
  }
200
200
 
201
- export { Plugin19, exports_hg };
201
+ export { Plugin43, exports_hg };
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  ID17,
3
3
  mergeOverlay2
4
- } from "./location-c13b592v.js";
4
+ } from "./schema-0069kg3w.js";
5
5
  import {
6
6
  ID16,
7
7
  VariantID2,
8
8
  Info24,
9
9
  compatibility2
10
- } from "./location-z3deh3n3.js";
10
+ } from "./schema-7cfarfc9.js";
11
11
  import {
12
12
  __export
13
- } from "./location-9rqn6x4v.js";
13
+ } from "./schema-9rqn6x4v.js";
14
14
 
15
15
  // src/modal/models.ts
16
- var exports_models = {};
17
- __export(exports_models, {
18
- ModalModels: () => exports_models,
19
- derive: () => derive2,
20
- get: () => get2,
21
- load: () => load4
16
+ var exports_models2 = {};
17
+ __export(exports_models2, {
18
+ ModalModels: () => exports_models2,
19
+ derive: () => derive3,
20
+ get: () => get3,
21
+ load: () => load5
22
22
  });
23
23
  import { Money } from "@opencode/schema/money";
24
24
  import { Effect, Option, Schema } from "effect";
@@ -54,17 +54,17 @@ var RemoteModel = Schema.Struct({
54
54
  });
55
55
  var Response = Schema.Struct({ data: Schema.Array(Schema.Unknown) });
56
56
  var decodeModel = Schema.decodeUnknownOption(RemoteModel);
57
- function get2(http, baseURL, apiKey, existing) {
58
- return load4(http, baseURL, apiKey).pipe(Effect.map((remote) => derive2(baseURL, remote, existing)));
57
+ function get3(http, baseURL, apiKey, existing) {
58
+ return load5(http, baseURL, apiKey).pipe(Effect.map((remote) => derive3(baseURL, remote, existing)));
59
59
  }
60
- var load4 = Effect.fn("ModalModels.load")(function* (http, baseURL, apiKey) {
60
+ var load5 = Effect.fn("ModalModels.load")(function* (http, baseURL, apiKey) {
61
61
  const response = yield* HttpClient.filterStatusOk(http).execute(HttpClientRequest.get(`${baseURL.replace(/\/+$/, "")}/models`).pipe(HttpClientRequest.bearerToken(apiKey))).pipe(Effect.flatMap(HttpClientResponse.schemaBodyJson(Response)), Effect.timeout("3 seconds"));
62
62
  return response.data.flatMap((raw) => {
63
63
  const model = Option.getOrUndefined(decodeModel(raw));
64
64
  return model ? [model] : [];
65
65
  });
66
66
  });
67
- function derive2(baseURL, remote, existing) {
67
+ function derive3(baseURL, remote, existing) {
68
68
  const templates = new Map(existing.map((model) => [model.id, model]));
69
69
  const result = new Map;
70
70
  for (const item of remote) {
@@ -137,4 +137,4 @@ function variants(remote) {
137
137
  return [...seen.values()];
138
138
  }
139
139
 
140
- export { get2, load4, derive2, exports_models };
140
+ export { get3, load5, derive3, exports_models2 };
@@ -5,22 +5,22 @@ import {
5
5
  nativeSettings2,
6
6
  timeouts2,
7
7
  mergeOverlay2
8
- } from "./location-c13b592v.js";
8
+ } from "./schema-0069kg3w.js";
9
9
  import {
10
10
  stringify2
11
- } from "./location-dbht28n9.js";
11
+ } from "./schema-z0h12gs8.js";
12
12
  import {
13
13
  __export
14
- } from "./location-9rqn6x4v.js";
14
+ } from "./schema-9rqn6x4v.js";
15
15
 
16
16
  // src/aisdk.ts
17
17
  var exports_aisdk2 = {};
18
18
  __export(exports_aisdk2, {
19
19
  AISDK: () => exports_aisdk2,
20
20
  InitError: () => InitError2,
21
- Service: () => Service62,
21
+ Service: () => Service72,
22
22
  locationLayer: () => locationLayer2,
23
- node: () => node64
23
+ node: () => node75
24
24
  });
25
25
  import { makeLocationNode } from "@opencode/util/effect/app-node";
26
26
  import { APICallError } from "@ai-sdk/provider";
@@ -161,9 +161,9 @@ function initError(providerID) {
161
161
  return Effect.catchCause((cause) => Effect.fail(new InitError2({ providerID, cause: Cause.squash(cause) })));
162
162
  }
163
163
 
164
- class Service62 extends Context.Service()("@opencode/AISDK") {
164
+ class Service72 extends Context.Service()("@opencode/AISDK") {
165
165
  }
166
- var locationLayer2 = Layer.effect(Service62, Effect.gen(function* () {
166
+ var locationLayer2 = Layer.effect(Service72, Effect.gen(function* () {
167
167
  let sdkHooks = [];
168
168
  let languageHooks = [];
169
169
  const languages = new Map;
@@ -201,7 +201,7 @@ var locationLayer2 = Layer.effect(Service62, Effect.gen(function* () {
201
201
  }
202
202
  return event;
203
203
  });
204
- const service = Service62.of({
204
+ const service = Service72.of({
205
205
  hook: {
206
206
  sdk: register(() => sdkHooks, (next) => sdkHooks = next),
207
207
  language: register(() => languageHooks, (next) => languageHooks = next)
@@ -863,6 +863,6 @@ function providerErrorMessage(error) {
863
863
  const prefix = error.statusCode === undefined ? "Provider request failed" : `Provider request failed with HTTP ${error.statusCode}`;
864
864
  return error.message.trim() !== "" ? error.message : message ?? (code === undefined ? prefix : `${prefix}: ${code}`);
865
865
  }
866
- var node64 = makeLocationNode({ service: Service62, layer: locationLayer2, deps: [] });
866
+ var node75 = makeLocationNode({ service: Service72, layer: locationLayer2, deps: [] });
867
867
 
868
- export { InitError2, Service62, locationLayer2, node64, exports_aisdk2 };
868
+ export { InitError2, Service72, locationLayer2, node75, exports_aisdk2 };