@opencode/core 0.0.0-dev-1012 → 0.0.0-dev-1013

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 (933) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +94 -94
  3. package/dist/aisdk-native.js +102 -102
  4. package/dist/aisdk.js +108 -108
  5. package/dist/app.js +11 -11
  6. package/dist/artifact.js +240 -240
  7. package/dist/bus.js +84 -84
  8. package/dist/chunks/{generate-aj7mw0zk.js → model-034tev2y.js} +2 -2
  9. package/dist/chunks/{generate-egt6q40c.js → model-05bt7bhb.js} +25 -25
  10. package/dist/chunks/{generate-n15bvnbf.js → model-05ehc3gz.js} +13 -13
  11. package/dist/chunks/{generate-wq7jk0rb.js → model-08nq0gwq.js} +17 -17
  12. package/dist/chunks/{generate-g2963zmr.js → model-08weax8k.js} +8 -8
  13. package/dist/chunks/{generate-bwjp1mht.js → model-09zcjbp5.js} +40 -40
  14. package/dist/chunks/{generate-kbm72930.js → model-0d15b3p2.js} +29 -29
  15. package/dist/chunks/model-0hc5b915.js +35 -0
  16. package/dist/chunks/{generate-csxpn9yn.js → model-0hxcpwt2.js} +3 -3
  17. package/dist/chunks/{generate-0j7gp832.js → model-0j7gp832.js} +1 -1
  18. package/dist/chunks/{generate-0ma9gw4f.js → model-0ma9gw4f.js} +2 -2
  19. package/dist/chunks/{generate-snpn28jx.js → model-0php2d2a.js} +4 -4
  20. package/dist/chunks/{generate-3qn26r20.js → model-0t89tmzm.js} +13 -13
  21. package/dist/chunks/{generate-e0nd6rg0.js → model-0y15sqga.js} +11 -11
  22. package/dist/chunks/{generate-6p4gp6cd.js → model-0yn2q0fq.js} +12 -12
  23. package/dist/chunks/{generate-ye1e8369.js → model-10afd8zb.js} +32 -32
  24. package/dist/chunks/{generate-caeppsxg.js → model-10kej31a.js} +83 -83
  25. package/dist/chunks/{generate-vjhrddsw.js → model-10pn4eb5.js} +5 -5
  26. package/dist/chunks/{generate-xw556w35.js → model-148xq1kq.js} +9 -9
  27. package/dist/chunks/{generate-7hbcf07j.js → model-1494zjeh.js} +31 -31
  28. package/dist/chunks/{generate-v66a6a4c.js → model-15vwk5m2.js} +17 -17
  29. package/dist/chunks/{generate-aedwt843.js → model-160yv0cs.js} +6 -6
  30. package/dist/chunks/{generate-1aqsckx4.js → model-1aqsckx4.js} +1 -1
  31. package/dist/chunks/{generate-82041drf.js → model-1cev16q8.js} +8 -8
  32. package/dist/chunks/{generate-27w5k9zf.js → model-1ep2p91f.js} +2 -2
  33. package/dist/chunks/{generate-ga6vnmd6.js → model-1j041cfy.js} +148 -148
  34. package/dist/chunks/{generate-r7r55277.js → model-1nqk9g29.js} +8 -8
  35. package/dist/chunks/{generate-pz0qcv7x.js → model-1v62x7nb.js} +9 -9
  36. package/dist/chunks/{generate-1x2knyw4.js → model-1x2knyw4.js} +1 -1
  37. package/dist/chunks/{generate-5s7jv4h2.js → model-1xrqzjsv.js} +12 -12
  38. package/dist/chunks/{generate-1yq9hg58.js → model-1yq9hg58.js} +1 -1
  39. package/dist/chunks/{generate-9b108rn8.js → model-1yzx0q78.js} +3 -3
  40. package/dist/chunks/{generate-z4bt87k0.js → model-200xyzfe.js} +20 -20
  41. package/dist/chunks/{generate-kj9n5bvh.js → model-20pht57w.js} +4 -4
  42. package/dist/chunks/{generate-tn3y9jr8.js → model-28pxtz2s.js} +38 -38
  43. package/dist/chunks/{generate-prv7x1qd.js → model-2b555hw6.js} +55 -55
  44. package/dist/chunks/{generate-hyz2mpaa.js → model-2bsw763r.js} +10 -10
  45. package/dist/chunks/{generate-qk5sk9d1.js → model-2bswbpgz.js} +5 -5
  46. package/dist/chunks/{generate-2fc7eemy.js → model-2fc7eemy.js} +1 -1
  47. package/dist/chunks/{generate-sbshxsgc.js → model-2jffmtyb.js} +45 -45
  48. package/dist/chunks/{generate-9q8g9sv8.js → model-2kg89srt.js} +4 -4
  49. package/dist/chunks/{generate-rcbjwvze.js → model-2mbjfaxd.js} +4 -4
  50. package/dist/chunks/{generate-6q8jj3zs.js → model-2n444ktb.js} +2 -2
  51. package/dist/chunks/{generate-s1ba0vj0.js → model-2p60zmnr.js} +2 -2
  52. package/dist/chunks/{generate-g0spmc1x.js → model-2qm5at19.js} +18 -18
  53. package/dist/chunks/{generate-0v1dvdyj.js → model-2svm880h.js} +13 -13
  54. package/dist/chunks/{generate-17d55fvc.js → model-33gwp74t.js} +49 -49
  55. package/dist/chunks/{generate-t8y1pdkx.js → model-33mjg06a.js} +3 -3
  56. package/dist/chunks/{generate-6qvf32vn.js → model-3936qknj.js} +6 -6
  57. package/dist/chunks/{generate-erqaycwe.js → model-3e73t2zc.js} +37 -37
  58. package/dist/chunks/{generate-78f20bs2.js → model-3h4bcgh0.js} +18 -18
  59. package/dist/chunks/{generate-3hepkmqq.js → model-3hepkmqq.js} +1 -1
  60. package/dist/chunks/{generate-vtsyv0pm.js → model-3k9a42wj.js} +26 -26
  61. package/dist/chunks/{generate-3nnrz6f6.js → model-3nnrz6f6.js} +1 -1
  62. package/dist/chunks/{generate-mmpy448n.js → model-3p08md3h.js} +18 -18
  63. package/dist/chunks/{generate-3vahy3b1.js → model-3rapmj7b.js} +8 -8
  64. package/dist/chunks/{generate-470a14h9.js → model-3raqsjay.js} +4 -4
  65. package/dist/chunks/{generate-40y6dtc2.js → model-40y6dtc2.js} +1 -1
  66. package/dist/chunks/{generate-yc51hh27.js → model-41p56tas.js} +34 -34
  67. package/dist/chunks/{generate-jxd6f16v.js → model-44pmzq9c.js} +2 -2
  68. package/dist/chunks/{generate-36jf8y1r.js → model-47pktn18.js} +11 -11
  69. package/dist/chunks/{generate-mtdj814r.js → model-49rkndpa.js} +6 -6
  70. package/dist/chunks/{generate-61pw236b.js → model-4av79kf0.js} +23 -23
  71. package/dist/chunks/{generate-w5thapw1.js → model-4b72pw7k.js} +5 -5
  72. package/dist/chunks/{generate-4dx1dgte.js → model-4dx1dgte.js} +1 -1
  73. package/dist/chunks/{generate-b8qxczg7.js → model-4e2mfesz.js} +25 -25
  74. package/dist/chunks/{generate-r6wpea8a.js → model-4fzwr2m0.js} +17 -17
  75. package/dist/chunks/{generate-k3568xar.js → model-4medx3yc.js} +8 -8
  76. package/dist/chunks/{generate-4pyp9zr9.js → model-4pyp9zr9.js} +1 -1
  77. package/dist/chunks/{generate-vjw8yvgq.js → model-4taass34.js} +8 -8
  78. package/dist/chunks/{generate-4v008n1t.js → model-4v008n1t.js} +1 -1
  79. package/dist/chunks/{generate-qdcrye5d.js → model-5a0bptm8.js} +4 -4
  80. package/dist/chunks/{generate-w75qynz4.js → model-5asgddgx.js} +6 -6
  81. package/dist/chunks/{generate-5xa8fzfb.js → model-5hcj91nx.js} +15 -15
  82. package/dist/chunks/{generate-5m9w47nd.js → model-5m9w47nd.js} +1 -1
  83. package/dist/chunks/{generate-bhfd478d.js → model-5n0rnk8e.js} +4 -4
  84. package/dist/chunks/{generate-c5z5d4f1.js → model-5sfs57rd.js} +6 -6
  85. package/dist/chunks/{generate-s47rahr7.js → model-5whx36p1.js} +4 -4
  86. package/dist/chunks/{generate-kg64ce88.js → model-5zht1efa.js} +30 -30
  87. package/dist/chunks/{generate-26wfx3k0.js → model-62zd5tzk.js} +7 -7
  88. package/dist/chunks/{generate-84wrngtv.js → model-64tp0ya5.js} +11 -11
  89. package/dist/chunks/{generate-bs0879yc.js → model-650ycsqk.js} +5 -5
  90. package/dist/chunks/{generate-80m5xgxj.js → model-65n9jqtg.js} +11 -11
  91. package/dist/chunks/{generate-3rcme4rw.js → model-690kw40d.js} +31 -31
  92. package/dist/chunks/{generate-hm0j9vjd.js → model-6apf8frj.js} +16 -16
  93. package/dist/chunks/{generate-c9qe481h.js → model-6d447hqy.js} +16 -16
  94. package/dist/chunks/{generate-nstbetgn.js → model-6es1dp4c.js} +8 -8
  95. package/dist/chunks/{generate-dcfz8fr3.js → model-6qappkbv.js} +19 -19
  96. package/dist/chunks/{generate-79k544d0.js → model-6y2b864j.js} +7 -7
  97. package/dist/chunks/{generate-sb7b05v9.js → model-6yyddktx.js} +30 -30
  98. package/dist/chunks/{generate-7bmhse3q.js → model-7bmhse3q.js} +1 -1
  99. package/dist/chunks/{generate-hrabq845.js → model-7r3nrrdh.js} +22 -22
  100. package/dist/chunks/{generate-p226zfgk.js → model-7trqavmj.js} +26 -26
  101. package/dist/chunks/{generate-7w2ypzdf.js → model-7w2ypzdf.js} +1 -1
  102. package/dist/chunks/{generate-7weczvnd.js → model-7weczvnd.js} +1 -1
  103. package/dist/chunks/{generate-hdhz51jr.js → model-7y3c392v.js} +36 -36
  104. package/dist/chunks/{generate-775hqbnd.js → model-80mg3ag8.js} +3 -3
  105. package/dist/chunks/{generate-80pdk984.js → model-80pdk984.js} +1 -1
  106. package/dist/chunks/{generate-85jq8dht.js → model-85jq8dht.js} +1 -1
  107. package/dist/chunks/{generate-5ybw84st.js → model-8624fsr4.js} +14 -14
  108. package/dist/chunks/{generate-8b3vzgkx.js → model-8b3vzgkx.js} +1 -1
  109. package/dist/chunks/{generate-zybtfqav.js → model-8bjrjs1n.js} +4 -4
  110. package/dist/chunks/{generate-d6ra6pf9.js → model-8d047cw6.js} +3 -3
  111. package/dist/chunks/{generate-ggw456nc.js → model-8fm8128g.js} +18 -18
  112. package/dist/chunks/{generate-46n8akm8.js → model-8j11fyne.js} +28 -28
  113. package/dist/chunks/{generate-bb3mmwvh.js → model-8sxe6kv8.js} +2 -2
  114. package/dist/chunks/{generate-8wtp7s3z.js → model-8wtp7s3z.js} +1 -1
  115. package/dist/chunks/{generate-8zv0xmg5.js → model-8zv0xmg5.js} +1 -1
  116. package/dist/chunks/{generate-963hk181.js → model-963hk181.js} +2 -2
  117. package/dist/chunks/{generate-hfva79zk.js → model-9cjk3842.js} +16 -16
  118. package/dist/chunks/{generate-ay97z6wm.js → model-9k9q9h2y.js} +11 -11
  119. package/dist/chunks/{generate-ffvvmdd5.js → model-9khz0wq9.js} +7 -7
  120. package/dist/chunks/{generate-9s2rdm2c.js → model-9sgn6a71.js} +30 -30
  121. package/dist/chunks/{generate-xdtmbx68.js → model-9t5vtgd8.js} +19 -19
  122. package/dist/chunks/{generate-jv5ccajn.js → model-9zwexsxs.js} +5 -5
  123. package/dist/chunks/{generate-sdn2zcx3.js → model-a3fn0gmm.js} +2 -2
  124. package/dist/chunks/{generate-a2pavnag.js → model-a3tm4wjw.js} +34 -34
  125. package/dist/chunks/{generate-680q739s.js → model-a5d8v0q4.js} +32 -32
  126. package/dist/chunks/{generate-29qmjmkr.js → model-a5rej8c4.js} +29 -29
  127. package/dist/chunks/{generate-qmq2b5pj.js → model-aagm5cbn.js} +41 -41
  128. package/dist/chunks/{generate-p93dxgte.js → model-ahenw0f4.js} +12 -12
  129. package/dist/chunks/{generate-n93d567p.js → model-am5a7svf.js} +4 -4
  130. package/dist/chunks/{generate-gy24j455.js → model-ay6wrfq3.js} +9 -9
  131. package/dist/chunks/{generate-3cbjf1nt.js → model-ayjs7tqn.js} +2 -2
  132. package/dist/chunks/{generate-g4txs7zc.js → model-b26ddj6h.js} +4 -4
  133. package/dist/chunks/{generate-t3qgac3j.js → model-b4k47k2s.js} +5 -5
  134. package/dist/chunks/{generate-6wthnkf9.js → model-b6b58phx.js} +25 -25
  135. package/dist/chunks/{generate-73e0dtrh.js → model-bffykna6.js} +5 -5
  136. package/dist/chunks/{generate-8qheb3et.js → model-bj9jxw1d.js} +23 -23
  137. package/dist/chunks/{generate-3d7ybsw7.js → model-br010nc4.js} +21 -21
  138. package/dist/chunks/{generate-bstexjd6.js → model-bstexjd6.js} +1 -1
  139. package/dist/chunks/{generate-seegth4x.js → model-by3zbw0c.js} +14 -14
  140. package/dist/chunks/{generate-zpdbqgja.js → model-by8ty0bx.js} +4 -4
  141. package/dist/chunks/{generate-rp3cqjww.js → model-c8j7dnn2.js} +25 -25
  142. package/dist/chunks/{generate-j3mdcsvb.js → model-cagdk6e6.js} +7 -7
  143. package/dist/chunks/{generate-ftpgr4ea.js → model-cbssh99t.js} +6 -6
  144. package/dist/chunks/{generate-j7qtnazf.js → model-cbts0apv.js} +14 -14
  145. package/dist/chunks/{generate-jdrmge0m.js → model-ccq6qsk8.js} +33 -33
  146. package/dist/chunks/{generate-3mx9yvmc.js → model-ce7s1pbp.js} +22 -22
  147. package/dist/chunks/{generate-3ryz99p0.js → model-cpvd08na.js} +4 -4
  148. package/dist/chunks/{generate-yf4gsbp0.js → model-cwj7f37j.js} +1 -1
  149. package/dist/chunks/{generate-cwrgdav8.js → model-cwrgdav8.js} +2 -2
  150. package/dist/chunks/{generate-84zg61kq.js → model-d3308ckt.js} +22 -22
  151. package/dist/chunks/{generate-d4v9tmah.js → model-d4v9tmah.js} +2 -2
  152. package/dist/chunks/{generate-npgajz26.js → model-dhpx0ztf.js} +46 -46
  153. package/dist/chunks/{generate-dt77769w.js → model-dt77769w.js} +1 -1
  154. package/dist/chunks/{generate-1kg12bjk.js → model-e0y7zfw7.js} +25 -25
  155. package/dist/chunks/{generate-y1v1ykp5.js → model-e7qryzfw.js} +19 -19
  156. package/dist/chunks/{generate-70vqz658.js → model-eft32nj2.js} +22 -22
  157. package/dist/chunks/{generate-nq7ygncj.js → model-ekj2k84j.js} +6 -6
  158. package/dist/chunks/{generate-eqw4pqj1.js → model-eqw4pqj1.js} +2 -2
  159. package/dist/chunks/{generate-dytjb3m8.js → model-etbj7259.js} +8 -8
  160. package/dist/chunks/{generate-q9a1yc78.js → model-ewn6818x.js} +7 -7
  161. package/dist/chunks/{generate-9jm9hd78.js → model-f0t59cqk.js} +18 -18
  162. package/dist/chunks/{generate-2k09d3eh.js → model-f1kpf9tg.js} +6 -6
  163. package/dist/chunks/{generate-gs92sch7.js → model-f2t3k20r.js} +10 -10
  164. package/dist/chunks/{generate-kvcekg5f.js → model-f7qbn273.js} +27 -27
  165. package/dist/chunks/{generate-ppzna5v1.js → model-f7r7m9p6.js} +9 -9
  166. package/dist/chunks/{generate-z2ew37v2.js → model-f8n5d6m9.js} +90 -90
  167. package/dist/chunks/{generate-d4q8gwge.js → model-fa9zh0hf.js} +8 -8
  168. package/dist/chunks/{generate-9ds2ve8j.js → model-fdtp6zbm.js} +11 -11
  169. package/dist/chunks/{generate-fg9p65nk.js → model-fg9p65nk.js} +2 -2
  170. package/dist/chunks/{generate-jbfbyd1a.js → model-fvgj1da1.js} +7 -7
  171. package/dist/chunks/{generate-h3vak9dz.js → model-fvsmnwd4.js} +9 -9
  172. package/dist/chunks/{generate-v4rzj8yp.js → model-g2njb55f.js} +2 -2
  173. package/dist/chunks/{generate-gbjdnr5j.js → model-gbjdnr5j.js} +2 -2
  174. package/dist/chunks/{generate-5apyxq25.js → model-gc6rk9wr.js} +6 -6
  175. package/dist/chunks/{generate-eh4txqbe.js → model-gfjve02f.js} +7 -7
  176. package/dist/chunks/{generate-ghrv1g9c.js → model-ghrv1g9c.js} +1 -1
  177. package/dist/chunks/{generate-wdk75pse.js → model-gj7y0tfs.js} +5 -5
  178. package/dist/chunks/{generate-6m2pr9vb.js → model-gr0bm0f7.js} +27 -27
  179. package/dist/chunks/{generate-drqnhm7z.js → model-h0bhactx.js} +9 -9
  180. package/dist/chunks/{generate-np21b56f.js → model-h91tf95k.js} +10 -10
  181. package/dist/chunks/{generate-jtcx98t9.js → model-h940dy85.js} +3 -3
  182. package/dist/chunks/{generate-r8rxqbga.js → model-hfdaj0h9.js} +17 -17
  183. package/dist/chunks/{generate-y7r7rxjg.js → model-hfjxjgrv.js} +15 -15
  184. package/dist/chunks/{generate-hgzwgvze.js → model-hgzwgvze.js} +2 -2
  185. package/dist/chunks/{generate-8dc0fhde.js → model-hhwtx70h.js} +7 -7
  186. package/dist/chunks/model-hjs1bv3x.js +273 -0
  187. package/dist/chunks/{generate-jf0zdvxs.js → model-hqw6s7vg.js} +40 -40
  188. package/dist/chunks/{generate-eae78hwn.js → model-hvfme911.js} +6 -6
  189. package/dist/chunks/{generate-3qgwywyc.js → model-j1zpf99x.js} +5 -5
  190. package/dist/chunks/{generate-xtjt9b77.js → model-j7cndtze.js} +9 -9
  191. package/dist/chunks/{generate-jm70asfg.js → model-jm70asfg.js} +1 -1
  192. package/dist/chunks/{generate-brpsadrn.js → model-k25vwq5p.js} +59 -59
  193. package/dist/chunks/{generate-ex3h99b8.js → model-k413tq6h.js} +22 -22
  194. package/dist/chunks/{generate-ketqp58f.js → model-k7rtwba0.js} +24 -24
  195. package/dist/chunks/{generate-67wwskyb.js → model-kbgs7tyr.js} +4 -4
  196. package/dist/chunks/{generate-0pepgjbq.js → model-kcxeskpv.js} +40 -40
  197. package/dist/chunks/{generate-y23d6nr8.js → model-kf9pbwfw.js} +42 -42
  198. package/dist/chunks/{generate-9n10c84v.js → model-krmt0h2w.js} +12 -12
  199. package/dist/chunks/{generate-kt3bjfbg.js → model-kt3bjfbg.js} +1 -1
  200. package/dist/chunks/{generate-z8sa2b0a.js → model-ktkyce3z.js} +3 -3
  201. package/dist/chunks/{generate-mxg66p1w.js → model-kve8t19d.js} +11 -11
  202. package/dist/chunks/{generate-kzczzf4v.js → model-kzczzf4v.js} +1 -1
  203. package/dist/chunks/{generate-m1714858.js → model-m1714858.js} +1 -1
  204. package/dist/chunks/{generate-e6eegn3z.js → model-m3axgt35.js} +23 -23
  205. package/dist/chunks/{generate-4bzsr30v.js → model-m3bkjmxb.js} +30 -30
  206. package/dist/chunks/{generate-f482wvhv.js → model-m5nv7m71.js} +30 -30
  207. package/dist/chunks/{generate-rtg8rw2d.js → model-m88ft9j9.js} +6 -6
  208. package/dist/chunks/{generate-m9w0rfyh.js → model-m9w0rfyh.js} +1 -1
  209. package/dist/chunks/{generate-8z6m94af.js → model-mb7mbhnz.js} +3 -3
  210. package/dist/chunks/{generate-9yj9xjgm.js → model-mbd12qs5.js} +11 -11
  211. package/dist/chunks/{generate-xtq9xpt1.js → model-me215f18.js} +1 -1
  212. package/dist/chunks/{generate-0zsgxej9.js → model-metcvwkm.js} +2 -2
  213. package/dist/chunks/{generate-006rmeq7.js → model-mn8tqb4h.js} +8 -8
  214. package/dist/chunks/{generate-gr1ft4bc.js → model-mpjxpg35.js} +17 -17
  215. package/dist/chunks/{generate-xfzjavn6.js → model-msd2a3qm.js} +4 -4
  216. package/dist/chunks/{generate-tffrt4r0.js → model-my936y1m.js} +14 -14
  217. package/dist/chunks/{generate-807008wq.js → model-myt9fkc7.js} +6 -6
  218. package/dist/chunks/{generate-6mn06a6j.js → model-mzn2a4s9.js} +36 -36
  219. package/dist/chunks/{generate-r7zrbnjn.js → model-n3j33rb6.js} +4 -4
  220. package/dist/chunks/{generate-2r22n4dg.js → model-n92r3whm.js} +11 -11
  221. package/dist/chunks/{generate-7fbsr400.js → model-nbqqe8xw.js} +28 -28
  222. package/dist/chunks/{generate-8hkksb2s.js → model-nfaz60sz.js} +3 -3
  223. package/dist/chunks/{generate-hm0braft.js → model-nk9akxx5.js} +2 -2
  224. package/dist/chunks/{generate-p80jr482.js → model-np0jxeq5.js} +11 -11
  225. package/dist/chunks/{generate-y1n277rb.js → model-nq1mg43n.js} +3 -3
  226. package/dist/chunks/{generate-s0tde023.js → model-nr1zwmm0.js} +4 -4
  227. package/dist/chunks/{generate-t6dd096c.js → model-nsbjhe4d.js} +9 -9
  228. package/dist/chunks/{generate-q0ay0ecb.js → model-p3d2bavg.js} +18 -18
  229. package/dist/chunks/{generate-bk4fz91k.js → model-p3mc3rwb.js} +1 -1
  230. package/dist/chunks/{generate-krgjhvwz.js → model-pgeamhre.js} +21 -21
  231. package/dist/chunks/{generate-9tvpxs1q.js → model-pgqxr0th.js} +4 -4
  232. package/dist/chunks/{generate-6ckp78eg.js → model-pkg4x22g.js} +2 -2
  233. package/dist/chunks/{generate-pknna89w.js → model-pknna89w.js} +1 -1
  234. package/dist/chunks/{generate-3zf5rz5d.js → model-ppp1a1w1.js} +21 -21
  235. package/dist/chunks/{generate-tmq62n6y.js → model-pt2f0jk2.js} +362 -362
  236. package/dist/chunks/{generate-xbayxtxx.js → model-q2dmbysw.js} +9 -9
  237. package/dist/chunks/{generate-q42tzrxa.js → model-q42tzrxa.js} +1 -1
  238. package/dist/chunks/{generate-ww2p0375.js → model-q7srkfd6.js} +6 -6
  239. package/dist/chunks/{generate-y9x9m3cp.js → model-qh5g3qaw.js} +9 -9
  240. package/dist/chunks/model-qmh7vbk2.js +18 -0
  241. package/dist/chunks/{generate-qp7r0hxv.js → model-qp7r0hxv.js} +1 -1
  242. package/dist/chunks/{generate-8sens7q9.js → model-qqsn6hfp.js} +2 -2
  243. package/dist/chunks/{generate-70gpekc4.js → model-qxr7hnvj.js} +13 -13
  244. package/dist/chunks/{generate-ycqwv515.js → model-qy0mvb3m.js} +29 -29
  245. package/dist/chunks/{generate-e88t7v7w.js → model-qzwa5pge.js} +9 -9
  246. package/dist/chunks/{generate-eecvf4ky.js → model-r14wyr3w.js} +8 -8
  247. package/dist/chunks/model-r3p2wjdh.js +26 -0
  248. package/dist/chunks/{generate-4f25tdd0.js → model-r542h3bh.js} +5 -5
  249. package/dist/chunks/{generate-wdt5yby2.js → model-r5a4enwn.js} +4 -4
  250. package/dist/chunks/{generate-ynhknnfk.js → model-r70fc8q7.js} +18 -18
  251. package/dist/chunks/{generate-82mtgeep.js → model-r7p2nbf1.js} +20 -20
  252. package/dist/chunks/{generate-xq2mgnnw.js → model-r90z6zhq.js} +42 -42
  253. package/dist/chunks/{generate-wa8k00xj.js → model-ra34yqmw.js} +6 -6
  254. package/dist/chunks/{generate-5jzda76q.js → model-raamw8fs.js} +14 -14
  255. package/dist/chunks/{generate-rb9dy4dg.js → model-rb9dy4dg.js} +1 -1
  256. package/dist/chunks/{generate-kptyj14a.js → model-rcsbmygy.js} +25 -25
  257. package/dist/chunks/{generate-mk1da3y2.js → model-remxw044.js} +1 -1
  258. package/dist/chunks/{generate-rgc9cx3e.js → model-rgc9cx3e.js} +2 -2
  259. package/dist/chunks/{generate-px7qpgcn.js → model-rj7j5fvs.js} +4 -4
  260. package/dist/chunks/{generate-2xhgpy6d.js → model-rjc0e4t0.js} +20 -20
  261. package/dist/chunks/{generate-rt5dr6hb.js → model-rt5dr6hb.js} +1 -1
  262. package/dist/chunks/{generate-9mq8xmtr.js → model-rt912mbg.js} +24 -24
  263. package/dist/chunks/{generate-mcsshr9w.js → model-rtkfrg4c.js} +6 -6
  264. package/dist/chunks/{generate-rx45etqh.js → model-rvmghfg9.js} +15 -15
  265. package/dist/chunks/{generate-1q97ba4q.js → model-ryr33a7c.js} +17 -17
  266. package/dist/chunks/{generate-2fqx3aqt.js → model-s5va80fv.js} +18 -18
  267. package/dist/chunks/{generate-ss9vwvre.js → model-s65cmm33.js} +28 -28
  268. package/dist/chunks/{generate-nyaq81ym.js → model-s8fvhn4h.js} +12 -12
  269. package/dist/chunks/{generate-sbya78hr.js → model-sbya78hr.js} +1 -1
  270. package/dist/chunks/{generate-38aws4xb.js → model-sf9y72b7.js} +4 -4
  271. package/dist/chunks/{generate-w399m5pa.js → model-sphvsfsr.js} +16 -16
  272. package/dist/chunks/{generate-a65gc4ed.js → model-ss0ndc15.js} +10 -10
  273. package/dist/chunks/{generate-rj7jtxy8.js → model-stbett4v.js} +3 -3
  274. package/dist/chunks/{generate-9crd2b96.js → model-stmzw2v7.js} +5 -5
  275. package/dist/chunks/{generate-svcy3p9a.js → model-svcy3p9a.js} +1 -1
  276. package/dist/chunks/{generate-tbpn7jtk.js → model-tbpn7jtk.js} +1 -1
  277. package/dist/chunks/{generate-tczq8hjw.js → model-tczq8hjw.js} +1 -1
  278. package/dist/chunks/{generate-prvs07ja.js → model-tevveh3n.js} +33 -33
  279. package/dist/chunks/{generate-tg7s7b5t.js → model-tg7s7b5t.js} +1 -1
  280. package/dist/chunks/{generate-ypxepsrr.js → model-tjk7q11w.js} +12 -12
  281. package/dist/chunks/{generate-3wejz62g.js → model-tktfk7r3.js} +13 -13
  282. package/dist/chunks/{generate-j376ae4e.js → model-tr8x705m.js} +5 -5
  283. package/dist/chunks/{generate-ebar3gcs.js → model-ttmm5gr6.js} +11 -11
  284. package/dist/chunks/{generate-mmej2e7a.js → model-tvbp6ax4.js} +11 -11
  285. package/dist/chunks/{generate-tvtps2q9.js → model-tvtps2q9.js} +1 -1
  286. package/dist/chunks/{generate-twssxy5n.js → model-twssxy5n.js} +2 -2
  287. package/dist/chunks/{generate-8pcrt6pc.js → model-tyycnx8n.js} +55 -55
  288. package/dist/chunks/{generate-v2r1d0zg.js → model-v2r1d0zg.js} +1 -1
  289. package/dist/chunks/{generate-jawyx7ca.js → model-v3d8wtdt.js} +23 -23
  290. package/dist/chunks/{generate-amaq7482.js → model-v6zdqbgs.js} +12 -12
  291. package/dist/chunks/{generate-pb2qv814.js → model-v727gcv0.js} +11 -11
  292. package/dist/chunks/{generate-gk0k48vs.js → model-v82zsv82.js} +10 -10
  293. package/dist/chunks/{generate-v1z7sjbn.js → model-vcsx8vbf.js} +7 -7
  294. package/dist/chunks/{generate-vjf35v1f.js → model-vjf35v1f.js} +1 -1
  295. package/dist/chunks/{generate-1ztqf1mz.js → model-vkq56ka5.js} +23 -23
  296. package/dist/chunks/{generate-fdbgrdcz.js → model-vqq0nw69.js} +18 -18
  297. package/dist/chunks/{generate-q8h6h59n.js → model-vsa1az0w.js} +16 -16
  298. package/dist/chunks/{generate-w0nwcvx8.js → model-vwm6fdyp.js} +30 -30
  299. package/dist/chunks/{generate-z2vg6ab4.js → model-vzmn4kft.js} +31 -31
  300. package/dist/chunks/{generate-w2eysc6j.js → model-w2eysc6j.js} +2 -2
  301. package/dist/chunks/{generate-txywx0rx.js → model-w2vzp9j5.js} +9 -9
  302. package/dist/chunks/{generate-ytkqwx1v.js → model-w392gvqw.js} +8 -8
  303. package/dist/chunks/{generate-w3wsvvr9.js → model-w3wsvvr9.js} +1 -1
  304. package/dist/chunks/{generate-16n9dbv4.js → model-w5pqf8b7.js} +21 -21
  305. package/dist/chunks/{generate-nxnknbkz.js → model-w6vg8qxy.js} +3 -3
  306. package/dist/chunks/{generate-wakvkjy4.js → model-wakvkjy4.js} +1 -1
  307. package/dist/chunks/{generate-kfyw9g7g.js → model-wcxqhytp.js} +7 -7
  308. package/dist/chunks/{generate-wd87259q.js → model-wd87259q.js} +1 -1
  309. package/dist/chunks/{generate-nx4vzyjd.js → model-wegkxhrn.js} +2 -2
  310. package/dist/chunks/{generate-5988f0vt.js → model-wezrjeyh.js} +15 -15
  311. package/dist/chunks/{generate-qsdghx1p.js → model-wfdx5ztx.js} +4 -4
  312. package/dist/chunks/{generate-azj9b503.js → model-wprv5e0c.js} +13 -13
  313. package/dist/chunks/{generate-wr3re1en.js → model-wr3re1en.js} +1 -1
  314. package/dist/chunks/{generate-58eemn9m.js → model-wr7bjqf6.js} +15 -15
  315. package/dist/chunks/{generate-c7cw818c.js → model-wt99tj4q.js} +5 -5
  316. package/dist/chunks/{generate-dsp8cfxy.js → model-wznk9vg6.js} +19 -19
  317. package/dist/chunks/{generate-fc2zd02a.js → model-x0afmz69.js} +5 -5
  318. package/dist/chunks/{generate-dhnvehda.js → model-x41w2g5z.js} +18 -18
  319. package/dist/chunks/{generate-m3n2e9bf.js → model-x70req0v.js} +45 -45
  320. package/dist/chunks/{generate-mcb6ppvn.js → model-x9sa2vw4.js} +18 -18
  321. package/dist/chunks/{generate-y3kr3mex.js → model-xc08sm7v.js} +10 -10
  322. package/dist/chunks/{generate-3adw4bt5.js → model-xjbsd7zy.js} +9 -9
  323. package/dist/chunks/{generate-fn909e07.js → model-xmd1xbsv.js} +10 -10
  324. package/dist/chunks/{generate-w3d4q5je.js → model-xsgzmtt3.js} +23 -23
  325. package/dist/chunks/{generate-fcrd7kek.js → model-xvn8mnch.js} +4 -4
  326. package/dist/chunks/{generate-1tjm5rfz.js → model-xxrnkfxa.js} +5 -5
  327. package/dist/chunks/{generate-xxschbft.js → model-xxschbft.js} +1 -1
  328. package/dist/chunks/{generate-f2868tqr.js → model-xy5k248r.js} +13 -13
  329. package/dist/chunks/{generate-x4mcewfn.js → model-xz07m27x.js} +4 -4
  330. package/dist/chunks/{generate-xn7cqzsq.js → model-y32xxt00.js} +4 -4
  331. package/dist/chunks/{generate-yb20nhc3.js → model-yb20nhc3.js} +1 -1
  332. package/dist/chunks/{generate-dm9t859p.js → model-yb81b84g.js} +17 -17
  333. package/dist/chunks/{generate-2fexf392.js → model-yd6kjv4n.js} +21 -21
  334. package/dist/chunks/{generate-jqzk06hz.js → model-ymkf5gg0.js} +15 -15
  335. package/dist/chunks/{generate-yr705xyq.js → model-yr705xyq.js} +1 -1
  336. package/dist/chunks/{generate-x3gcqgdc.js → model-yv7gfeb1.js} +24 -24
  337. package/dist/chunks/{generate-yvtc2x31.js → model-yvtc2x31.js} +1 -1
  338. package/dist/chunks/{generate-1qvmktdb.js → model-yy1xpgfn.js} +8 -8
  339. package/dist/chunks/{generate-p19gee5v.js → model-z2hjnym5.js} +86 -86
  340. package/dist/chunks/{generate-e8xb975w.js → model-z3nw929v.js} +9 -9
  341. package/dist/chunks/{generate-28zd0247.js → model-z5td0z29.js} +20 -20
  342. package/dist/chunks/{generate-6ph4sygt.js → model-z9prk17z.js} +18 -18
  343. package/dist/chunks/{generate-t5cytx0b.js → model-z9y0h9gf.js} +9 -9
  344. package/dist/chunks/{generate-9sh9bj8n.js → model-zdtdjee6.js} +15 -15
  345. package/dist/chunks/{generate-j9nxzz3g.js → model-ze75qvmd.js} +3 -3
  346. package/dist/chunks/{generate-33y8jegp.js → model-zp38z90p.js} +3 -3
  347. package/dist/chunks/{generate-tcw4yczd.js → model-zqv6p0j7.js} +19 -19
  348. package/dist/chunks/{generate-xer2s2vf.js → model-zvp1emq8.js} +24 -24
  349. package/dist/chunks/{generate-q2mm4tf5.js → model-zy7n64tq.js} +4 -4
  350. package/dist/chunks/{generate-4trj2kny.js → model-zz2c832q.js} +8 -8
  351. package/dist/codemode/catalog.js +1 -1
  352. package/dist/codemode/execution.js +3 -3
  353. package/dist/codemode/fetch.js +148 -148
  354. package/dist/codemode/instructions.js +9 -9
  355. package/dist/codemode/tool.js +155 -155
  356. package/dist/command.js +92 -92
  357. package/dist/config/discovery.js +95 -95
  358. package/dist/config/integration.js +3 -3
  359. package/dist/config/managed.js +1 -1
  360. package/dist/config/markdown.js +1 -1
  361. package/dist/config/normalize.js +112 -112
  362. package/dist/config/plugin/agent.js +131 -131
  363. package/dist/config/plugin/command.js +238 -238
  364. package/dist/config/plugin/compaction.js +173 -173
  365. package/dist/config/plugin/compatibility.js +151 -151
  366. package/dist/config/plugin/entry-observer.js +1 -1
  367. package/dist/config/plugin/formatter.js +131 -131
  368. package/dist/config/plugin/image.js +130 -130
  369. package/dist/config/plugin/instruction.js +130 -130
  370. package/dist/config/plugin/location-watcher.js +130 -130
  371. package/dist/config/plugin/mcp.js +141 -141
  372. package/dist/config/plugin/policy.js +130 -130
  373. package/dist/config/plugin/provider.js +128 -128
  374. package/dist/config/plugin/reference.js +132 -132
  375. package/dist/config/plugin/shell.js +130 -130
  376. package/dist/config/plugin/skill-file.js +149 -149
  377. package/dist/config/plugin/skill-scan.js +1 -1
  378. package/dist/config/plugin/skill.js +154 -154
  379. package/dist/config/plugin/snapshot.js +128 -128
  380. package/dist/config/plugin/source.js +134 -134
  381. package/dist/config/plugin/tool-output.js +131 -131
  382. package/dist/config/plugin/websearch.js +129 -129
  383. package/dist/config/plugin/worktree.js +132 -132
  384. package/dist/config/variable.js +1 -1
  385. package/dist/config/watch.js +1 -1
  386. package/dist/config.js +133 -133
  387. package/dist/console-access.js +1 -1
  388. package/dist/credential/sql.js +2 -2
  389. package/dist/credential.js +92 -92
  390. package/dist/database/batch.js +1 -1
  391. package/dist/database/database.js +81 -81
  392. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  393. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  394. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  395. package/dist/database/drizzle/index.js +15 -15
  396. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  397. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  398. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  399. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  400. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  401. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  402. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  403. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  404. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  405. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  406. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  407. package/dist/database/drizzle.js +16 -16
  408. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  409. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  410. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  411. package/dist/database/migration/20260225215848_workspace.js +1 -1
  412. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  413. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  414. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  415. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  416. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  417. package/dist/database/migration/20260323234822_events.js +1 -1
  418. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  419. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  420. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  421. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  422. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  423. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  424. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  425. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  426. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  427. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  428. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  429. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  430. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  431. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  432. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  433. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  434. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  435. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  436. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  437. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  438. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  439. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  440. package/dist/database/migration/20260611035744_credential.js +1 -1
  441. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  442. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  443. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  444. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  445. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  446. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  447. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  448. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  449. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  450. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  451. package/dist/database/migration/20260812213948_worktree.js +1 -1
  452. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  453. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  454. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  455. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  456. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  457. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  458. package/dist/database/migration/20261024002554_session_allowance.js +1 -1
  459. package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
  460. package/dist/database/migration/20261025123711_blob.js +1 -1
  461. package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
  462. package/dist/database/migration/20261026223005_schedule.js +1 -1
  463. package/dist/database/migration/20261029002625_session_part.js +1 -1
  464. package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
  465. package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
  466. package/dist/database/migration/20261030054400_job.js +1 -1
  467. package/dist/database/migration.gen.js +60 -60
  468. package/dist/database/migration.js +76 -76
  469. package/dist/database/path.js +2 -2
  470. package/dist/database/schema.gen.js +1 -1
  471. package/dist/database/schema.sql.js +1 -1
  472. package/dist/database/v1-migration.bun.js +101 -101
  473. package/dist/database/v1-migration.js +1 -1
  474. package/dist/effect/app-node-builder.js +441 -441
  475. package/dist/effect/app-node-platform.js +2 -2
  476. package/dist/effect/keyed-mutex.js +3 -3
  477. package/dist/effect/websocket-constructor.js +1 -1
  478. package/dist/environment/driver.js +1 -1
  479. package/dist/environment/environment.js +105 -105
  480. package/dist/environment/exec-defaults.js +2 -2
  481. package/dist/environment/files.js +1 -1
  482. package/dist/environment/index.js +108 -108
  483. package/dist/environment/local.js +2 -2
  484. package/dist/environment/memory.js +2 -2
  485. package/dist/environment/unavailable.js +1 -1
  486. package/dist/event/sql.js +1 -1
  487. package/dist/event-logger.js +85 -85
  488. package/dist/file-access.js +160 -160
  489. package/dist/file-mutation.js +108 -108
  490. package/dist/file-retention.js +1 -1
  491. package/dist/file-write.js +164 -164
  492. package/dist/filesystem/fff.bun.js +2 -2
  493. package/dist/filesystem/fff.js +1 -1
  494. package/dist/filesystem/fff.node.js +2 -2
  495. package/dist/filesystem/fff.workerd.js +2 -2
  496. package/dist/filesystem/file-watch.js +91 -91
  497. package/dist/filesystem/location-watcher-policy.js +6 -6
  498. package/dist/filesystem/location-watcher.js +247 -247
  499. package/dist/filesystem/protected.js +1 -1
  500. package/dist/filesystem/search.js +113 -113
  501. package/dist/filesystem/watcher-binding.js +1 -1
  502. package/dist/filesystem/watcher.js +11 -11
  503. package/dist/filesystem.js +116 -116
  504. package/dist/flag.js +133 -133
  505. package/dist/form.js +91 -91
  506. package/dist/formatter/builtins.js +4 -4
  507. package/dist/formatter.js +100 -100
  508. package/dist/generate.js +118 -118
  509. package/dist/git.js +11 -11
  510. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  511. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  512. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  513. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  514. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  515. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  516. package/dist/github-copilot/copilot-provider.js +17 -17
  517. package/dist/github-copilot/models.js +112 -112
  518. package/dist/github-copilot/openai-compatible-error.js +1 -1
  519. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  520. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  521. package/dist/github-copilot/responses/openai-error.js +1 -1
  522. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  523. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  524. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  525. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  526. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  527. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  528. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  529. package/dist/image/notice.js +1 -1
  530. package/dist/image/photon-normalize.js +1 -1
  531. package/dist/image/photon-worker.js +1 -1
  532. package/dist/image/photon.js +4 -4
  533. package/dist/image.js +6 -6
  534. package/dist/instance/service.js +5 -5
  535. package/dist/instance.js +432 -432
  536. package/dist/instruction-discovery.js +93 -93
  537. package/dist/instructions/builtins.js +100 -100
  538. package/dist/instructions/index.js +3 -3
  539. package/dist/integration/connection.js +3 -3
  540. package/dist/integration.js +98 -98
  541. package/dist/job/list.js +5 -5
  542. package/dist/job/recovery.js +2 -2
  543. package/dist/job/sql.js +2 -2
  544. package/dist/job.js +90 -90
  545. package/dist/kv/sql.js +2 -2
  546. package/dist/kv.js +84 -84
  547. package/dist/location-activity.js +185 -185
  548. package/dist/location-lifecycle.js +153 -153
  549. package/dist/location-service-map.js +99 -99
  550. package/dist/location-services.js +429 -429
  551. package/dist/location.js +94 -94
  552. package/dist/managed-policy.js +3 -3
  553. package/dist/mcp/client.js +158 -158
  554. package/dist/mcp/connection.js +106 -106
  555. package/dist/mcp/index.js +122 -122
  556. package/dist/mcp/instructions.js +185 -185
  557. package/dist/mcp/oauth.js +89 -89
  558. package/dist/mcp/pool.js +110 -110
  559. package/dist/mcp/socket-client.js +1 -1
  560. package/dist/mcp/stdio.js +157 -157
  561. package/dist/mime.js +1 -1
  562. package/dist/modal/models.js +112 -112
  563. package/dist/model-resolver.js +112 -112
  564. package/dist/model-retry.js +1 -1
  565. package/dist/model.js +111 -111
  566. package/dist/models-dev/v1.js +1 -1
  567. package/dist/models-dev.js +121 -121
  568. package/dist/oauth/page.js +1 -1
  569. package/dist/permission/saved.js +91 -91
  570. package/dist/permission/sql.js +5 -5
  571. package/dist/permission.js +154 -154
  572. package/dist/persistent-pty/binary.bun.js +1 -1
  573. package/dist/persistent-pty/daemon.js +1 -1
  574. package/dist/persistent-pty/index.js +93 -93
  575. package/dist/persistent-pty/pty-binding.js +1 -1
  576. package/dist/persistent-pty.js +86 -86
  577. package/dist/plugin/agent.js +85 -85
  578. package/dist/plugin/command.js +115 -115
  579. package/dist/plugin/goal.js +3 -3
  580. package/dist/plugin/hooks.js +5 -5
  581. package/dist/plugin/host.js +244 -244
  582. package/dist/plugin/identity.js +5 -5
  583. package/dist/plugin/instance.js +3 -3
  584. package/dist/plugin/internal.js +410 -410
  585. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  586. package/dist/plugin/models-dev.js +110 -110
  587. package/dist/plugin/module.js +129 -129
  588. package/dist/plugin/optimize.js +2 -2
  589. package/dist/plugin/plan.js +149 -149
  590. package/dist/plugin/promise.js +1 -1
  591. package/dist/plugin/provider/amazon-bedrock.js +106 -106
  592. package/dist/plugin/provider/azure.js +133 -133
  593. package/dist/plugin/provider/cerebras.js +1 -1
  594. package/dist/plugin/provider/chatgpt.js +133 -133
  595. package/dist/plugin/provider/claude-agent/aisdk.js +117 -117
  596. package/dist/plugin/provider/claude-agent/claude/fork.js +2 -2
  597. package/dist/plugin/provider/claude-agent/claude/io.js +4 -4
  598. package/dist/plugin/provider/claude-agent/claude/probe.js +2 -2
  599. package/dist/plugin/provider/claude-agent/claude/query-options.js +4 -4
  600. package/dist/plugin/provider/claude-agent/claude/sdk.js +3 -3
  601. package/dist/plugin/provider/claude-agent/claude/session.js +4 -4
  602. package/dist/plugin/provider/claude-agent/claude/sessions.js +16 -16
  603. package/dist/plugin/provider/claude-agent/claude/status.js +9 -9
  604. package/dist/plugin/provider/claude-agent/index.js +148 -148
  605. package/dist/plugin/provider/claude-agent/instructions.js +114 -114
  606. package/dist/plugin/provider/claude-agent/integration.js +115 -115
  607. package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +3 -3
  608. package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +7 -7
  609. package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +6 -6
  610. package/dist/plugin/provider/claude-agent/language-model/convert-to-claude-message.js +1 -1
  611. package/dist/plugin/provider/claude-agent/language-model/request-kind.js +1 -1
  612. package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +3 -3
  613. package/dist/plugin/provider/claude-agent/language-model/usage.js +5 -5
  614. package/dist/plugin/provider/claude-agent/provider.js +108 -108
  615. package/dist/plugin/provider/claude-agent/session.js +110 -110
  616. package/dist/plugin/provider/claude-agent/sync/catch-up.js +3 -3
  617. package/dist/plugin/provider/claude-agent/sync/checkpoints.js +2 -2
  618. package/dist/plugin/provider/claude-agent/sync/decide.js +2 -2
  619. package/dist/plugin/provider/claude-agent/sync/fingerprint.js +1 -1
  620. package/dist/plugin/provider/claude-agent/sync/record.js +3 -3
  621. package/dist/plugin/provider/claude-agent/tools/hooks.js +3 -3
  622. package/dist/plugin/provider/claude-agent/tools/names.js +1 -1
  623. package/dist/plugin/provider/claude-agent/tools/pending.js +3 -3
  624. package/dist/plugin/provider/claude-agent/tools/result.js +3 -3
  625. package/dist/plugin/provider/claude-agent/tools/server.js +4 -4
  626. package/dist/plugin/provider/cloudflare-ai-gateway.js +130 -130
  627. package/dist/plugin/provider/cloudflare-workers-ai.js +130 -130
  628. package/dist/plugin/provider/configured.js +126 -126
  629. package/dist/plugin/provider/credential-settings.js +88 -88
  630. package/dist/plugin/provider/databricks.js +1 -1
  631. package/dist/plugin/provider/digitalocean.js +109 -109
  632. package/dist/plugin/provider/dynamic.js +2 -2
  633. package/dist/plugin/provider/github-copilot.js +111 -111
  634. package/dist/plugin/provider/gitlab.js +109 -109
  635. package/dist/plugin/provider/google-vertex.js +127 -127
  636. package/dist/plugin/provider/kilo.js +1 -1
  637. package/dist/plugin/provider/llmgateway.js +89 -89
  638. package/dist/plugin/provider/lmstudio.js +140 -140
  639. package/dist/plugin/provider/local.js +137 -137
  640. package/dist/plugin/provider/modal.js +108 -108
  641. package/dist/plugin/provider/neon.js +1 -1
  642. package/dist/plugin/provider/nvidia.js +1 -1
  643. package/dist/plugin/provider/ollama.js +138 -138
  644. package/dist/plugin/provider/openai-context-caps.js +106 -106
  645. package/dist/plugin/provider/openai.js +133 -133
  646. package/dist/plugin/provider/opencode-watches.js +4 -4
  647. package/dist/plugin/provider/opencode.js +161 -161
  648. package/dist/plugin/provider/openrouter.js +104 -104
  649. package/dist/plugin/provider/poe.js +90 -90
  650. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  651. package/dist/plugin/provider/refresh.js +87 -87
  652. package/dist/plugin/provider/sap-ai-core.js +104 -104
  653. package/dist/plugin/provider/sdk-factory.js +1 -1
  654. package/dist/plugin/provider/snowflake-cortex.js +131 -131
  655. package/dist/plugin/provider/vllm.js +140 -140
  656. package/dist/plugin/provider/xai.js +104 -104
  657. package/dist/plugin/provider/zenmux.js +1 -1
  658. package/dist/plugin/provider.js +239 -239
  659. package/dist/plugin/sdk.js +87 -87
  660. package/dist/plugin/service.js +3 -3
  661. package/dist/plugin/skill.js +150 -150
  662. package/dist/plugin/source-directory.js +1 -1
  663. package/dist/plugin/supervisor.js +420 -420
  664. package/dist/plugin/tool-input-repair.js +4 -4
  665. package/dist/plugin/update.js +6 -6
  666. package/dist/plugin/vcs/git.js +99 -99
  667. package/dist/plugin/vcs/hg.js +99 -99
  668. package/dist/plugin/verbosity.js +106 -106
  669. package/dist/plugin/warming.js +130 -130
  670. package/dist/plugin/websearch/exa.js +8 -8
  671. package/dist/plugin/websearch/firecrawl.js +9 -9
  672. package/dist/plugin/websearch/index.js +10 -10
  673. package/dist/plugin/websearch/mcp.js +2 -2
  674. package/dist/plugin/websearch/parallel.js +9 -9
  675. package/dist/plugin/websearch/provider.js +1 -1
  676. package/dist/plugin/websearch/tavily.js +7 -7
  677. package/dist/plugin/websearch/tinyfish.js +9 -9
  678. package/dist/plugin.js +251 -251
  679. package/dist/project/icon.js +5 -5
  680. package/dist/project/schema.js +2 -2
  681. package/dist/project/sql.js +4 -4
  682. package/dist/project.js +93 -93
  683. package/dist/provider.js +110 -110
  684. package/dist/pty/protocol.js +1 -1
  685. package/dist/pty/ticket.js +1 -1
  686. package/dist/pty.js +107 -107
  687. package/dist/reference/instructions.js +101 -101
  688. package/dist/reference.js +101 -101
  689. package/dist/repository-cache.js +93 -93
  690. package/dist/repository.js +1 -1
  691. package/dist/ripgrep/binary.js +2 -2
  692. package/dist/ripgrep.js +111 -111
  693. package/dist/rpc.js +99 -99
  694. package/dist/schedule/check.js +249 -249
  695. package/dist/schedule/sql.js +6 -6
  696. package/dist/schedule.js +255 -255
  697. package/dist/schema.js +1 -1
  698. package/dist/session/affinity.js +1 -1
  699. package/dist/session/background.js +3 -3
  700. package/dist/session/blob.js +132 -132
  701. package/dist/session/command.js +85 -85
  702. package/dist/session/compaction.js +173 -173
  703. package/dist/session/context.js +205 -205
  704. package/dist/session/diff.js +101 -101
  705. package/dist/session/environment.js +5 -5
  706. package/dist/session/error.js +5 -5
  707. package/dist/session/event.js +1 -1
  708. package/dist/session/execution/restart.js +250 -250
  709. package/dist/session/execution.js +169 -169
  710. package/dist/session/generate.js +206 -206
  711. package/dist/session/history.js +139 -139
  712. package/dist/session/inbox.js +150 -150
  713. package/dist/session/info.js +3 -3
  714. package/dist/session/instruction-entry.js +90 -90
  715. package/dist/session/instruction-state.js +8 -8
  716. package/dist/session/instructions.js +142 -142
  717. package/dist/session/message-updater.js +4 -4
  718. package/dist/session/message.js +1 -1
  719. package/dist/session/model-request.js +167 -167
  720. package/dist/session/model-transport.js +5 -5
  721. package/dist/session/move.js +171 -171
  722. package/dist/session/projector.js +146 -146
  723. package/dist/session/prompt.js +151 -151
  724. package/dist/session/recent-text.js +1 -1
  725. package/dist/session/revert.js +142 -142
  726. package/dist/session/run-coordinator.js +3 -3
  727. package/dist/session/runner/index.js +3 -3
  728. package/dist/session/runner/llm.js +258 -258
  729. package/dist/session/runner/max-steps.js +1 -1
  730. package/dist/session/runner/model.js +113 -113
  731. package/dist/session/runner/publish-llm-event.js +153 -153
  732. package/dist/session/runner/retry.js +5 -5
  733. package/dist/session/runner/step.js +166 -166
  734. package/dist/session/runner/to-llm-message.js +140 -140
  735. package/dist/session/schema.js +3 -3
  736. package/dist/session/session.js +188 -188
  737. package/dist/session/shell.js +145 -145
  738. package/dist/session/skill.js +150 -150
  739. package/dist/session/sql.js +5 -5
  740. package/dist/session/stats.js +87 -87
  741. package/dist/session/store.js +145 -145
  742. package/dist/session/stored.js +2 -2
  743. package/dist/session/subagent-completion.js +1 -1
  744. package/dist/session/subagent-job.js +237 -237
  745. package/dist/session/system-prompt.js +5 -5
  746. package/dist/session/title.js +209 -209
  747. package/dist/session/to-session-error.js +152 -152
  748. package/dist/session/transfer.js +248 -248
  749. package/dist/session/usage.js +3 -3
  750. package/dist/session.js +241 -241
  751. package/dist/shared-cache.js +5 -5
  752. package/dist/shell/parse.js +6 -6
  753. package/dist/shell/result.js +1 -1
  754. package/dist/shell/scan.js +1 -1
  755. package/dist/shell/select.js +13 -13
  756. package/dist/shell.js +147 -147
  757. package/dist/skill/discovery.js +6 -6
  758. package/dist/skill/instructions.js +154 -154
  759. package/dist/skill.js +155 -155
  760. package/dist/snapshot.js +106 -106
  761. package/dist/state.js +1 -1
  762. package/dist/tool/html-markdown.js +1 -1
  763. package/dist/tool/http-body.js +1 -1
  764. package/dist/tool/mcp.js +184 -184
  765. package/dist/tool/plugin/artifact.js +236 -236
  766. package/dist/tool/plugin/edit.js +170 -170
  767. package/dist/tool/plugin/file-diff.js +1 -1
  768. package/dist/tool/plugin/glob.js +174 -174
  769. package/dist/tool/plugin/grep.js +173 -173
  770. package/dist/tool/plugin/image-generate.js +245 -245
  771. package/dist/tool/plugin/mcp-resource.js +169 -169
  772. package/dist/tool/plugin/opencode.js +166 -166
  773. package/dist/tool/plugin/patch.js +169 -169
  774. package/dist/tool/plugin/question.js +147 -147
  775. package/dist/tool/plugin/read.js +175 -175
  776. package/dist/tool/plugin/schedule.js +255 -255
  777. package/dist/tool/plugin/shell.js +241 -241
  778. package/dist/tool/plugin/skill.js +156 -156
  779. package/dist/tool/plugin/subagent.js +242 -242
  780. package/dist/tool/plugin/todo.js +156 -156
  781. package/dist/tool/plugin/webfetch.js +158 -158
  782. package/dist/tool/plugin/websearch.js +154 -154
  783. package/dist/tool/plugin/write.js +171 -171
  784. package/dist/tool/read-filesystem.js +116 -116
  785. package/dist/tool/runtime.js +1 -1
  786. package/dist/tool/search.js +109 -109
  787. package/dist/tool-output.js +7 -7
  788. package/dist/tool.js +161 -161
  789. package/dist/usage-limits.js +100 -100
  790. package/dist/util/error-summary.js +1 -1
  791. package/dist/util/git-executable.js +3 -3
  792. package/dist/util/lazy.js +1 -1
  793. package/dist/util/slug.js +1 -1
  794. package/dist/util/token.js +1 -1
  795. package/dist/util/which.js +1 -1
  796. package/dist/util/wildcard.js +1 -1
  797. package/dist/v1/config/agent.js +7 -7
  798. package/dist/v1/config/command.js +3 -3
  799. package/dist/v1/config/mcp.js +4 -4
  800. package/dist/v1/config/migrate.js +105 -105
  801. package/dist/v1/config/permission.js +3 -3
  802. package/dist/v1/config/plugin.js +1 -1
  803. package/dist/v1/config/provider-options.js +1 -1
  804. package/dist/v1/config/provider.js +4 -4
  805. package/dist/variant.js +106 -106
  806. package/dist/vcs/patch.js +1 -1
  807. package/dist/vcs.js +102 -102
  808. package/dist/voice.js +95 -95
  809. package/dist/websearch.js +91 -91
  810. package/dist/wellknown/plugin.js +87 -87
  811. package/dist/wellknown.js +92 -92
  812. package/dist/workspace/driver.js +5 -5
  813. package/dist/workspace/sql.js +1 -1
  814. package/dist/workspace.js +93 -93
  815. package/dist/worktree/directory.js +2 -2
  816. package/dist/worktree/git.js +11 -11
  817. package/dist/worktree/sql.js +5 -5
  818. package/dist/worktree/strategies.js +102 -102
  819. package/dist/worktree.js +113 -113
  820. package/package.json +8 -8
  821. package/dist/chunks/generate-bs4g0v3n.js +0 -35
  822. package/dist/chunks/generate-grzehpz7.js +0 -18
  823. package/dist/chunks/generate-xf8wyx0s.js +0 -273
  824. package/dist/chunks/generate-yr1mjhsr.js +0 -26
  825. /package/dist/chunks/{generate-0qkdqm5v.js → model-0qkdqm5v.js} +0 -0
  826. /package/dist/chunks/{generate-0zkw76rk.js → model-0zkw76rk.js} +0 -0
  827. /package/dist/chunks/{generate-108x4f4w.js → model-108x4f4w.js} +0 -0
  828. /package/dist/chunks/{generate-17cy0kzp.js → model-17cy0kzp.js} +0 -0
  829. /package/dist/chunks/{generate-1cnp2v09.js → model-1cnp2v09.js} +0 -0
  830. /package/dist/chunks/{generate-1kah00gy.js → model-1kah00gy.js} +0 -0
  831. /package/dist/chunks/{generate-24dcb14g.js → model-24dcb14g.js} +0 -0
  832. /package/dist/chunks/{generate-2710q6r3.js → model-2710q6r3.js} +0 -0
  833. /package/dist/chunks/{generate-2bv980vf.js → model-2bv980vf.js} +0 -0
  834. /package/dist/chunks/{generate-2c3vjs8z.js → model-2c3vjs8z.js} +0 -0
  835. /package/dist/chunks/{generate-359p4xyc.js → model-359p4xyc.js} +0 -0
  836. /package/dist/chunks/{generate-3af0jn4w.js → model-3af0jn4w.js} +0 -0
  837. /package/dist/chunks/{generate-3asan66x.js → model-3asan66x.js} +0 -0
  838. /package/dist/chunks/{generate-3v8g72cx.js → model-3v8g72cx.js} +0 -0
  839. /package/dist/chunks/{generate-3wcehsnq.js → model-3wcehsnq.js} +0 -0
  840. /package/dist/chunks/{generate-43n2bw4t.js → model-43n2bw4t.js} +0 -0
  841. /package/dist/chunks/{generate-4knz6hnm.js → model-4knz6hnm.js} +0 -0
  842. /package/dist/chunks/{generate-4qk9sjk2.js → model-4qk9sjk2.js} +0 -0
  843. /package/dist/chunks/{generate-4y7fprxs.js → model-4y7fprxs.js} +0 -0
  844. /package/dist/chunks/{generate-53557ph1.js → model-53557ph1.js} +0 -0
  845. /package/dist/chunks/{generate-550bvhaj.js → model-550bvhaj.js} +0 -0
  846. /package/dist/chunks/{generate-5w3e23ze.js → model-5w3e23ze.js} +0 -0
  847. /package/dist/chunks/{generate-6agm2x70.js → model-6agm2x70.js} +0 -0
  848. /package/dist/chunks/{generate-6prwharc.js → model-6prwharc.js} +0 -0
  849. /package/dist/chunks/{generate-6q2bdcd1.js → model-6q2bdcd1.js} +0 -0
  850. /package/dist/chunks/{generate-7akdwqpd.js → model-7akdwqpd.js} +0 -0
  851. /package/dist/chunks/{generate-7m9af43g.js → model-7m9af43g.js} +0 -0
  852. /package/dist/chunks/{generate-822emrt2.js → model-822emrt2.js} +0 -0
  853. /package/dist/chunks/{generate-84wd9syh.js → model-84wd9syh.js} +0 -0
  854. /package/dist/chunks/{generate-88xbtdfr.js → model-88xbtdfr.js} +0 -0
  855. /package/dist/chunks/{generate-8n3pysct.js → model-8n3pysct.js} +0 -0
  856. /package/dist/chunks/{generate-8wj87zfr.js → model-8wj87zfr.js} +0 -0
  857. /package/dist/chunks/{generate-9a4afbnw.js → model-9a4afbnw.js} +0 -0
  858. /package/dist/chunks/{generate-9rqn6x4v.js → model-9rqn6x4v.js} +0 -0
  859. /package/dist/chunks/{generate-af5trqkr.js → model-af5trqkr.js} +0 -0
  860. /package/dist/chunks/{generate-afrmfg78.js → model-afrmfg78.js} +0 -0
  861. /package/dist/chunks/{generate-aqzs7mqg.js → model-aqzs7mqg.js} +0 -0
  862. /package/dist/chunks/{generate-atq7p7m5.js → model-atq7p7m5.js} +0 -0
  863. /package/dist/chunks/{generate-beh6qq61.js → model-beh6qq61.js} +0 -0
  864. /package/dist/chunks/{generate-bhmrqjy3.js → model-bhmrqjy3.js} +0 -0
  865. /package/dist/chunks/{generate-bkyjaxrp.js → model-bkyjaxrp.js} +0 -0
  866. /package/dist/chunks/{generate-bmr6ed5q.js → model-bmr6ed5q.js} +0 -0
  867. /package/dist/chunks/{generate-cf4snx6d.js → model-cf4snx6d.js} +0 -0
  868. /package/dist/chunks/{generate-cqv5kn06.js → model-cqv5kn06.js} +0 -0
  869. /package/dist/chunks/{generate-cvy3z8tj.js → model-cvy3z8tj.js} +0 -0
  870. /package/dist/chunks/{generate-d9fn303g.js → model-d9fn303g.js} +0 -0
  871. /package/dist/chunks/{generate-d9jj8t3e.js → model-d9jj8t3e.js} +0 -0
  872. /package/dist/chunks/{generate-dap0rakb.js → model-dap0rakb.js} +0 -0
  873. /package/dist/chunks/{generate-df08tz66.js → model-df08tz66.js} +0 -0
  874. /package/dist/chunks/{generate-dy18nga0.js → model-dy18nga0.js} +0 -0
  875. /package/dist/chunks/{generate-e5kj55wp.js → model-e5kj55wp.js} +0 -0
  876. /package/dist/chunks/{generate-ean2d8b5.js → model-ean2d8b5.js} +0 -0
  877. /package/dist/chunks/{generate-ec1grn59.js → model-ec1grn59.js} +0 -0
  878. /package/dist/chunks/{generate-emrn6kk6.js → model-emrn6kk6.js} +0 -0
  879. /package/dist/chunks/{generate-f0mxakyp.js → model-f0mxakyp.js} +0 -0
  880. /package/dist/chunks/{generate-f6n9ztr4.js → model-f6n9ztr4.js} +0 -0
  881. /package/dist/chunks/{generate-faypxj3z.js → model-faypxj3z.js} +0 -0
  882. /package/dist/chunks/{generate-fd410y7t.js → model-fd410y7t.js} +0 -0
  883. /package/dist/chunks/{generate-fkpq3x5p.js → model-fkpq3x5p.js} +0 -0
  884. /package/dist/chunks/{generate-g4wezp1m.js → model-g4wezp1m.js} +0 -0
  885. /package/dist/chunks/{generate-g86h250q.js → model-g86h250q.js} +0 -0
  886. /package/dist/chunks/{generate-gebd4c9n.js → model-gebd4c9n.js} +0 -0
  887. /package/dist/chunks/{generate-gftt206x.js → model-gftt206x.js} +0 -0
  888. /package/dist/chunks/{generate-hcxmzztb.js → model-hcxmzztb.js} +0 -0
  889. /package/dist/chunks/{generate-hk9envan.js → model-hk9envan.js} +0 -0
  890. /package/dist/chunks/{generate-j2ntwpah.js → model-j2ntwpah.js} +0 -0
  891. /package/dist/chunks/{generate-j5zkgpj8.js → model-j5zkgpj8.js} +0 -0
  892. /package/dist/chunks/{generate-jjkms2e6.js → model-jjkms2e6.js} +0 -0
  893. /package/dist/chunks/{generate-jr7sbwjy.js → model-jr7sbwjy.js} +0 -0
  894. /package/dist/chunks/{generate-jwfs4k6c.js → model-jwfs4k6c.js} +0 -0
  895. /package/dist/chunks/{generate-jwr30sdr.js → model-jwr30sdr.js} +0 -0
  896. /package/dist/chunks/{generate-jzg6c2d5.js → model-jzg6c2d5.js} +0 -0
  897. /package/dist/chunks/{generate-m18g726c.js → model-m18g726c.js} +0 -0
  898. /package/dist/chunks/{generate-mp448xyj.js → model-mp448xyj.js} +0 -0
  899. /package/dist/chunks/{generate-msx8hqn2.js → model-msx8hqn2.js} +0 -0
  900. /package/dist/chunks/{generate-n05xt0ee.js → model-n05xt0ee.js} +0 -0
  901. /package/dist/chunks/{generate-n3j8tn72.js → model-n3j8tn72.js} +0 -0
  902. /package/dist/chunks/{generate-nh4v3znn.js → model-nh4v3znn.js} +0 -0
  903. /package/dist/chunks/{generate-njntx4h6.js → model-njntx4h6.js} +0 -0
  904. /package/dist/chunks/{generate-p71gwv9c.js → model-p71gwv9c.js} +0 -0
  905. /package/dist/chunks/{generate-q3sfg36h.js → model-q3sfg36h.js} +0 -0
  906. /package/dist/chunks/{generate-q74kybfr.js → model-q74kybfr.js} +0 -0
  907. /package/dist/chunks/{generate-qb87gjwd.js → model-qb87gjwd.js} +0 -0
  908. /package/dist/chunks/{generate-qfa1cgps.js → model-qfa1cgps.js} +0 -0
  909. /package/dist/chunks/{generate-qg3g05ea.js → model-qg3g05ea.js} +0 -0
  910. /package/dist/chunks/{generate-qrg20bc0.js → model-qrg20bc0.js} +0 -0
  911. /package/dist/chunks/{generate-rcb2kzg1.js → model-rcb2kzg1.js} +0 -0
  912. /package/dist/chunks/{generate-sdp7kfr6.js → model-sdp7kfr6.js} +0 -0
  913. /package/dist/chunks/{generate-ssg3fenm.js → model-ssg3fenm.js} +0 -0
  914. /package/dist/chunks/{generate-syrav9an.js → model-syrav9an.js} +0 -0
  915. /package/dist/chunks/{generate-t03h4f5z.js → model-t03h4f5z.js} +0 -0
  916. /package/dist/chunks/{generate-ty7weeps.js → model-ty7weeps.js} +0 -0
  917. /package/dist/chunks/{generate-ve7vex1e.js → model-ve7vex1e.js} +0 -0
  918. /package/dist/chunks/{generate-vtarvj67.js → model-vtarvj67.js} +0 -0
  919. /package/dist/chunks/{generate-w803qqfp.js → model-w803qqfp.js} +0 -0
  920. /package/dist/chunks/{generate-wc3fc9cn.js → model-wc3fc9cn.js} +0 -0
  921. /package/dist/chunks/{generate-wer8tq1h.js → model-wer8tq1h.js} +0 -0
  922. /package/dist/chunks/{generate-wtztk69x.js → model-wtztk69x.js} +0 -0
  923. /package/dist/chunks/{generate-x0ckcb58.js → model-x0ckcb58.js} +0 -0
  924. /package/dist/chunks/{generate-x4th4bpe.js → model-x4th4bpe.js} +0 -0
  925. /package/dist/chunks/{generate-x61499pn.js → model-x61499pn.js} +0 -0
  926. /package/dist/chunks/{generate-y44na4kk.js → model-y44na4kk.js} +0 -0
  927. /package/dist/chunks/{generate-y8f7s663.js → model-y8f7s663.js} +0 -0
  928. /package/dist/chunks/{generate-ygaqb7jw.js → model-ygaqb7jw.js} +0 -0
  929. /package/dist/chunks/{generate-z0h12gs8.js → model-z0h12gs8.js} +0 -0
  930. /package/dist/chunks/{generate-z5v4ffb3.js → model-z5v4ffb3.js} +0 -0
  931. /package/dist/chunks/{generate-z9919s4g.js → model-z9919s4g.js} +0 -0
  932. /package/dist/chunks/{generate-zxpyjp51.js → model-zxpyjp51.js} +0 -0
  933. /package/dist/chunks/{generate-zz5vv3aq.js → model-zz5vv3aq.js} +0 -0
@@ -1,53 +1,53 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./generate-z5v4ffb3.js";
4
+ } from "./model-z5v4ffb3.js";
5
5
  import {
6
6
  Repository2,
7
7
  TreeID2,
8
- Service94,
9
- node96
10
- } from "./generate-p93dxgte.js";
8
+ Service92,
9
+ node94
10
+ } from "./model-ahenw0f4.js";
11
11
  import {
12
12
  Service90,
13
13
  node92
14
- } from "./generate-6ckp78eg.js";
14
+ } from "./model-pkg4x22g.js";
15
15
  import {
16
16
  create4
17
- } from "./generate-40y6dtc2.js";
17
+ } from "./model-40y6dtc2.js";
18
18
  import {
19
19
  __export
20
- } from "./generate-9rqn6x4v.js";
20
+ } from "./model-9rqn6x4v.js";
21
21
 
22
22
  // src/snapshot.ts
23
23
  var exports_snapshot2 = {};
24
24
  __export(exports_snapshot2, {
25
- Error: () => Error2,
26
- ID: () => ID10,
27
- Service: () => Service46,
25
+ Error: () => Error3,
26
+ ID: () => ID9,
27
+ Service: () => Service53,
28
28
  Snapshot: () => exports_snapshot2,
29
- node: () => node49,
30
- noopLayer: () => noopLayer2
29
+ node: () => node55,
30
+ noopLayer: () => noopLayer3
31
31
  });
32
32
  import { makeLocationNode } from "@opencode/util/effect/app-node";
33
33
  import path from "path";
34
34
  import { Clock, Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
35
35
  import { FSUtil } from "@opencode/util/fs-util";
36
36
  import { Global } from "@opencode/util/global";
37
- import { ID as ID10 } from "@opencode/schema/snapshot";
37
+ import { ID as ID9 } from "@opencode/schema/snapshot";
38
38
  import { Hash } from "@opencode/util/hash";
39
- class Error2 extends Schema.TaggedError()("Snapshot.Error", {
39
+ class Error3 extends Schema.TaggedError()("Snapshot.Error", {
40
40
  operation: Schema.Literals(["capture", "files", "diff", "restore"]),
41
41
  message: Schema.String,
42
42
  cause: Schema.optional(Schema.Defect())
43
43
  }) {
44
44
  }
45
45
 
46
- class Service46 extends Context.Service()("@opencode/Snapshot") {
46
+ class Service53 extends Context.Service()("@opencode/Snapshot") {
47
47
  }
48
- var layer = Layer.effect(Service46, Effect.gen(function* () {
48
+ var layer = Layer.effect(Service53, Effect.gen(function* () {
49
49
  const fs = yield* FSUtil.Service;
50
- const git = yield* Service94;
50
+ const git = yield* Service92;
51
51
  const global = yield* Global.Service;
52
52
  const location = yield* Service90;
53
53
  const lifetime = yield* Scope.Scope;
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service46, Effect.gen(function* () {
63
63
  const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
64
64
  const source = yield* git.repo.discover(location.project.directory);
65
65
  if (!source)
66
- return yield* new Error2({ operation: "capture", message: "Project is not a Git repository" });
66
+ return yield* new Error3({ operation: "capture", message: "Project is not a Git repository" });
67
67
  const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
68
68
  const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
69
69
  const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service46, Effect.gen(function* () {
73
73
  const scope = Effect.fnUntraced(function* (worktree) {
74
74
  const directory = yield* fs.realPath(location.directory).pipe(Effect.mapError((cause) => failure("capture", cause)));
75
75
  if (!FSUtil.contains(worktree, directory))
76
- return yield* new Error2({ operation: "capture", message: "Location is outside the project" });
76
+ return yield* new Error3({ operation: "capture", message: "Location is outside the project" });
77
77
  return RelativePath2.make(path.relative(worktree, directory).replaceAll("\\", "/") || ".");
78
78
  });
79
79
  const enabled = () => location.vcs?.type === "git" && state.get().enabled;
@@ -97,7 +97,7 @@ var layer = Layer.effect(Service46, Effect.gen(function* () {
97
97
  maximumUntrackedFileBytes: 2 * 1024 * 1024
98
98
  });
99
99
  yield* packWhenDue(repo.snapshotRepository);
100
- return ID10.make(tree);
100
+ return ID9.make(tree);
101
101
  }).pipe(Effect.catch((cause) => Effect.logWarning("failed to capture snapshot", { cause }).pipe(Effect.as(undefined))));
102
102
  });
103
103
  const comparison = Effect.fnUntraced(function* (operation, input) {
@@ -142,25 +142,25 @@ var layer = Layer.effect(Service46, Effect.gen(function* () {
142
142
  for (const [file, snapshot] of input.files) {
143
143
  const absolute = path.resolve(worktree, file);
144
144
  if (!FSUtil.contains(worktree, absolute))
145
- return yield* new Error2({ operation: "restore", message: `Path escapes the project: ${file}` });
145
+ return yield* new Error3({ operation: "restore", message: `Path escapes the project: ${file}` });
146
146
  files.set(file, TreeID2.make(snapshot));
147
147
  }
148
148
  return files;
149
149
  });
150
150
  const restore = Effect.fn("Snapshot.restore")(function* (input) {
151
151
  if (!enabled())
152
- return yield* new Error2({ operation: "restore", message: "Snapshots are disabled" });
152
+ return yield* new Error3({ operation: "restore", message: "Snapshots are disabled" });
153
153
  const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
154
154
  yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
155
155
  });
156
- return Service46.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
156
+ return Service53.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
157
157
  }).pipe(Effect.withSpan("Snapshot.boot")));
158
- var node49 = makeLocationNode({
159
- service: Service46,
158
+ var node55 = makeLocationNode({
159
+ service: Service53,
160
160
  layer,
161
- deps: [FSUtil.node, node96, Global.node, node92]
161
+ deps: [FSUtil.node, node94, Global.node, node92]
162
162
  });
163
- var noopLayer2 = Layer.succeed(Service46, Service46.of({
163
+ var noopLayer3 = Layer.succeed(Service53, Service53.of({
164
164
  transform: () => Effect.succeed({ dispose: Effect.void }),
165
165
  reload: () => Effect.void,
166
166
  capture: () => Effect.undefined,
@@ -169,13 +169,13 @@ var noopLayer2 = Layer.succeed(Service46, Service46.of({
169
169
  restore: () => Effect.void
170
170
  }));
171
171
  function failure(operation, cause) {
172
- if (cause instanceof Error2 && cause.operation === operation)
172
+ if (cause instanceof Error3 && cause.operation === operation)
173
173
  return cause;
174
- return new Error2({
174
+ return new Error3({
175
175
  operation,
176
176
  message: cause instanceof globalThis.Error ? cause.message : String(cause),
177
177
  cause
178
178
  });
179
179
  }
180
180
 
181
- export { ID10, Error2, Service46, node49, noopLayer2, exports_snapshot2 };
181
+ export { ID9, Error3, Service53, node55, noopLayer3, exports_snapshot2 };
@@ -1,50 +1,50 @@
1
1
  import {
2
- Service14
3
- } from "./generate-7hbcf07j.js";
2
+ Service13
3
+ } from "./model-1494zjeh.js";
4
4
  import {
5
5
  __export
6
- } from "./generate-9rqn6x4v.js";
6
+ } from "./model-9rqn6x4v.js";
7
7
 
8
8
  // src/tool/plugin/write.ts
9
9
  var exports_write = {};
10
10
  __export(exports_write, {
11
- Input: () => Input14,
12
- Output: () => Output10,
13
- Plugin: () => Plugin34,
11
+ Input: () => Input4,
12
+ Output: () => Output4,
13
+ Plugin: () => Plugin23,
14
14
  WriteTool: () => exports_write,
15
- name: () => name14,
16
- toModelContent: () => toModelContent6
15
+ name: () => name4,
16
+ toModelContent: () => toModelContent3
17
17
  });
18
18
  import { ToolFailure } from "@opencode/ai/effect";
19
19
  import { Effect, Schema } from "effect";
20
- var name14 = "write";
21
- var Input14 = Schema.Struct({
20
+ var name4 = "write";
21
+ var Input4 = Schema.Struct({
22
22
  path: Schema.String.annotate({
23
23
  description: "Path to the file to write to"
24
24
  }),
25
25
  content: Schema.String.annotate({ description: "Content to write to the file" })
26
26
  });
27
- var Output10 = Schema.Struct({
27
+ var Output4 = Schema.Struct({
28
28
  operation: Schema.Literal("write"),
29
29
  target: Schema.String,
30
30
  resource: Schema.String,
31
31
  existed: Schema.Boolean
32
32
  });
33
- var toModelContent6 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
34
- var Plugin34 = {
33
+ var toModelContent3 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
34
+ var Plugin23 = {
35
35
  id: "opencode.tool.write",
36
36
  effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
37
- const fileWrite = yield* Service14;
37
+ const fileWrite = yield* Service13;
38
38
  yield* ctx.tool.transform((editor) => editor.add({
39
- name: name14,
39
+ name: name4,
40
40
  options: { codemode: false, permission: "edit" },
41
41
  description: `Writes a file to the local filesystem, overwriting if one exists.
42
42
 
43
43
  Missing parent directories are created automatically.
44
44
 
45
45
  Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
46
- input: Input14,
47
- output: Output10,
46
+ input: Input4,
47
+ output: Output4,
48
48
  execute: (input, context) => Effect.gen(function* () {
49
49
  const written = yield* fileWrite.write(input, context);
50
50
  return {
@@ -53,9 +53,9 @@ Use this tool to create new files or overwrite existing files. For partial chang
53
53
  resource: written.resource,
54
54
  existed: written.existed
55
55
  };
56
- }).pipe(Effect.map((output) => ({ output, content: toModelContent6(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
56
+ }).pipe(Effect.map((output) => ({ output, content: toModelContent3(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
57
57
  })).pipe(Effect.orDie);
58
58
  })
59
59
  };
60
60
 
61
- export { name14, Input14, Output10, toModelContent6, Plugin34, exports_write };
61
+ export { name4, Input4, Output4, toModelContent3, Plugin23, exports_write };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./generate-z5v4ffb3.js";
3
+ } from "./model-z5v4ffb3.js";
4
4
  import {
5
5
  __export
6
- } from "./generate-9rqn6x4v.js";
6
+ } from "./model-9rqn6x4v.js";
7
7
 
8
8
  // src/v1/config/mcp.ts
9
9
  var exports_mcp5 = {};
10
10
  __export(exports_mcp5, {
11
11
  ConfigMCPV1: () => exports_mcp5,
12
- Info: () => Info20,
12
+ Info: () => Info22,
13
13
  Local: () => Local2,
14
14
  OAuth: () => OAuth2,
15
15
  Remote: () => Remote2
@@ -70,6 +70,6 @@ var Remote2 = Schema.Struct({
70
70
  description: "Timeout in ms for MCP server requests. Defaults to 5000 (5 seconds) if not specified."
71
71
  })
72
72
  }).annotate({ identifier: "McpRemoteConfig" });
73
- var Info20 = Schema.Union([Local2, Remote2]).annotate({ discriminator: "type" });
73
+ var Info22 = Schema.Union([Local2, Remote2]).annotate({ discriminator: "type" });
74
74
 
75
- export { Local2, OAuth2, Remote2, Info20, exports_mcp5 };
75
+ export { Local2, OAuth2, Remote2, Info22, exports_mcp5 };
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./generate-z5v4ffb3.js";
4
+ } from "./model-z5v4ffb3.js";
5
5
  import {
6
6
  SessionSchema2
7
- } from "./generate-6q8jj3zs.js";
7
+ } from "./model-2n444ktb.js";
8
8
 
9
9
  // src/session/info.ts
10
10
  import { DateTime, Schema } from "effect";
@@ -1,37 +1,37 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./generate-z5v4ffb3.js";
3
+ } from "./model-z5v4ffb3.js";
4
4
  import {
5
5
  Service90
6
- } from "./generate-6ckp78eg.js";
6
+ } from "./model-pkg4x22g.js";
7
7
  import {
8
8
  NotFound3
9
- } from "./generate-svcy3p9a.js";
9
+ } from "./model-svcy3p9a.js";
10
10
  import {
11
11
  makeFiles2
12
- } from "./generate-rgc9cx3e.js";
12
+ } from "./model-rgc9cx3e.js";
13
13
  import {
14
14
  makeMemoryDriver2
15
- } from "./generate-twssxy5n.js";
15
+ } from "./model-twssxy5n.js";
16
16
  import {
17
17
  invocation2,
18
- Service61
19
- } from "./generate-bwjp1mht.js";
18
+ Service73
19
+ } from "./model-09zcjbp5.js";
20
20
  import {
21
- Service21
22
- } from "./generate-70vqz658.js";
21
+ Service70
22
+ } from "./model-eft32nj2.js";
23
23
  import {
24
24
  Service10
25
- } from "./generate-w399m5pa.js";
25
+ } from "./model-sphvsfsr.js";
26
26
  import {
27
- ID9,
27
+ ID10,
28
28
  uri2,
29
29
  isUri2,
30
- Service43
31
- } from "./generate-1ztqf1mz.js";
30
+ Service54
31
+ } from "./model-vkq56ka5.js";
32
32
  import {
33
33
  isSafeSegment2
34
- } from "./generate-3adw4bt5.js";
34
+ } from "./model-xjbsd7zy.js";
35
35
  import {
36
36
  BinaryFileError2,
37
37
  MediaIngestLimitError2,
@@ -41,27 +41,27 @@ import {
41
41
  FileContent2,
42
42
  TextPage2,
43
43
  ListPage2,
44
- Service38,
44
+ Service40,
45
45
  read2
46
- } from "./generate-y1v1ykp5.js";
46
+ } from "./model-e7qryzfw.js";
47
47
  import {
48
48
  __export
49
- } from "./generate-9rqn6x4v.js";
49
+ } from "./model-9rqn6x4v.js";
50
50
 
51
51
  // src/tool/plugin/read.ts
52
52
  var exports_read = {};
53
53
  __export(exports_read, {
54
- Input: () => Input3,
55
- Plugin: () => Plugin20,
54
+ Input: () => Input11,
55
+ Plugin: () => Plugin31,
56
56
  ReadTool: () => exports_read,
57
- name: () => name3,
58
- toModelContent: () => toModelContent2
57
+ name: () => name11,
58
+ toModelContent: () => toModelContent5
59
59
  });
60
60
  import { basename, dirname, join } from "path";
61
61
  import { ToolFailure } from "@opencode/ai/effect";
62
62
  import { Effect, Schema } from "effect";
63
63
  import { FSUtil } from "@opencode/util/fs-util";
64
- var name3 = "read";
64
+ var name11 = "read";
65
65
  var FILENAME = "AGENTS.md";
66
66
  var LocationInput = Schema.Struct({
67
67
  path: Schema.String.annotate({ description: "File or directory to read" }),
@@ -72,23 +72,23 @@ var LocationInput = Schema.Struct({
72
72
  description: "The maximum number of lines or directory entries to read (defaults to and capped at 2000)"
73
73
  })
74
74
  });
75
- var Input3 = LocationInput;
75
+ var Input11 = LocationInput;
76
76
  var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
77
- var Plugin20 = {
77
+ var Plugin31 = {
78
78
  id: "opencode.tool.read",
79
79
  effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
80
- const reader = yield* Service38;
81
- const access = yield* Service21;
82
- const permission = yield* Service61;
83
- const skills = yield* Service43;
80
+ const reader = yield* Service40;
81
+ const access = yield* Service70;
82
+ const permission = yield* Service73;
83
+ const skills = yield* Service54;
84
84
  const sessionInstructions = yield* Service10;
85
85
  const fs = yield* FSUtil.Service;
86
86
  const location = yield* Service90;
87
87
  yield* ctx.tool.transform((editor) => editor.add({
88
- name: name3,
88
+ name: name11,
89
89
  options: { codemode: false },
90
90
  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.",
91
- input: Input3,
91
+ input: Input11,
92
92
  output: Output,
93
93
  execute: (input, context) => {
94
94
  return Effect.gen(function* () {
@@ -96,7 +96,7 @@ var Plugin20 = {
96
96
  const parsed = parseSkillUri(input.path);
97
97
  if (!parsed)
98
98
  return yield* new ToolFailure({ message: `File not found: ${input.path}` });
99
- const id = ID9.make(parsed.id);
99
+ const id = ID10.make(parsed.id);
100
100
  const skill = yield* skills.get(id);
101
101
  if (!skill || !isUri2(skill.path))
102
102
  return yield* new ToolFailure({ message: `File not found: ${input.path}` });
@@ -163,7 +163,7 @@ var Plugin20 = {
163
163
  return { output: result.content, path: result.path };
164
164
  }).pipe(Effect.map((result) => ({
165
165
  output: result.output,
166
- content: toModelContent2(result.path, input.offset, result.output),
166
+ content: toModelContent5(result.path, input.offset, result.output),
167
167
  metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
168
168
  })), Effect.mapError((error) => {
169
169
  if (error instanceof ToolFailure)
@@ -240,7 +240,7 @@ function parseSkillUri(value) {
240
240
  return;
241
241
  return { id, target: rest === "" ? "/" : `/${rest}`, uri: uri2(id, rest || undefined) };
242
242
  }
243
- var toModelContent2 = (path, offset, output) => {
243
+ var toModelContent5 = (path, offset, output) => {
244
244
  if (output.type === "file" && output.encoding === "base64")
245
245
  return [
246
246
  { type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
@@ -276,4 +276,4 @@ var toModelContent2 = (path, offset, output) => {
276
276
  `);
277
277
  };
278
278
 
279
- export { name3, Input3, Plugin20, toModelContent2, exports_read };
279
+ export { name11, Input11, Plugin31, toModelContent5, exports_read };
@@ -1,50 +1,50 @@
1
1
  import {
2
2
  toolFailure2
3
- } from "./generate-z0h12gs8.js";
3
+ } from "./model-z0h12gs8.js";
4
4
  import {
5
5
  NotFound3,
6
6
  WrongKind2,
7
7
  Failed2
8
- } from "./generate-svcy3p9a.js";
8
+ } from "./model-svcy3p9a.js";
9
9
  import {
10
10
  Service90
11
- } from "./generate-6ckp78eg.js";
11
+ } from "./model-pkg4x22g.js";
12
12
  import {
13
- Service73
14
- } from "./generate-r8rxqbga.js";
13
+ Service71
14
+ } from "./model-hfdaj0h9.js";
15
15
  import {
16
- Service66
17
- } from "./generate-9yj9xjgm.js";
16
+ Service14
17
+ } from "./model-mbd12qs5.js";
18
18
  import {
19
- Service15,
19
+ Service19,
20
20
  readText2,
21
21
  syncTextBom2
22
- } from "./generate-0v1dvdyj.js";
22
+ } from "./model-2svm880h.js";
23
23
  import {
24
24
  invocation2,
25
- Service61
26
- } from "./generate-bwjp1mht.js";
25
+ Service73
26
+ } from "./model-09zcjbp5.js";
27
27
  import {
28
- Service21,
28
+ Service70,
29
29
  resolvePath2
30
- } from "./generate-70vqz658.js";
30
+ } from "./model-eft32nj2.js";
31
31
  import {
32
32
  fileDiff2
33
- } from "./generate-6prwharc.js";
33
+ } from "./model-6prwharc.js";
34
34
  import {
35
35
  __export
36
- } from "./generate-9rqn6x4v.js";
36
+ } from "./model-9rqn6x4v.js";
37
37
 
38
38
  // src/tool/plugin/patch.ts
39
39
  var exports_patch = {};
40
40
  __export(exports_patch, {
41
41
  Applied: () => Applied2,
42
- Input: () => Input5,
42
+ Input: () => Input2,
43
43
  Output: () => Output2,
44
44
  PatchTool: () => exports_patch,
45
- Plugin: () => Plugin22,
46
- name: () => name5,
47
- toModelContent: () => toModelContent3
45
+ Plugin: () => Plugin20,
46
+ name: () => name2,
47
+ toModelContent: () => toModelContent2
48
48
  });
49
49
  import { ToolFailure } from "@opencode/ai/effect";
50
50
  import { FileDiff } from "@opencode/schema/file-diff";
@@ -89,8 +89,8 @@ It is important to remember:
89
89
  `;
90
90
 
91
91
  // src/tool/plugin/patch.ts
92
- var name5 = "patch";
93
- var Input5 = Schema.Struct({
92
+ var name2 = "patch";
93
+ var Input2 = Schema.Struct({
94
94
  patchText: Schema.String.annotate({
95
95
  description: "The full patch text describing add, update, and delete operations"
96
96
  })
@@ -104,25 +104,25 @@ var Output2 = Schema.Struct({
104
104
  applied: Schema.Array(Applied2),
105
105
  files: Schema.Array(FileDiff.Info)
106
106
  });
107
- var toModelContent3 = (output) => [
107
+ var toModelContent2 = (output) => [
108
108
  "Success. Updated the following files:",
109
109
  ...output.applied.map((item) => `${item.type === "add" ? "A" : item.type === "delete" ? "D" : "M"} ${item.resource}`)
110
110
  ].join(`
111
111
  `);
112
- var Plugin22 = {
112
+ var Plugin20 = {
113
113
  id: "opencode.tool.patch",
114
114
  effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
115
- const environment = yield* Service73;
116
- const access = yield* Service21;
117
- const fileMutation = yield* Service15;
118
- const formatter = yield* Service66;
115
+ const environment = yield* Service71;
116
+ const access = yield* Service70;
117
+ const fileMutation = yield* Service19;
118
+ const formatter = yield* Service14;
119
119
  const location = yield* Service90;
120
- const permission = yield* Service61;
120
+ const permission = yield* Service73;
121
121
  yield* ctx.tool.transform((editor) => editor.add({
122
- name: name5,
122
+ name: name2,
123
123
  options: { codemode: false, permission: "edit" },
124
124
  description: patch_default,
125
- input: Input5,
125
+ input: Input2,
126
126
  output: Output2,
127
127
  execute: (input, context) => {
128
128
  const applied = [];
@@ -265,7 +265,7 @@ var Plugin22 = {
265
265
  return { applied, files };
266
266
  }).pipe(fileMutation.withLock(lockTargets), Effect.map((output) => ({
267
267
  output,
268
- content: toModelContent3(output),
268
+ content: toModelContent2(output),
269
269
  metadata: { files: output.files }
270
270
  })), Effect.mapError(toolFailure2("Unable to apply patch")));
271
271
  }
@@ -325,4 +325,4 @@ function trimDiff(diff) {
325
325
  `);
326
326
  }
327
327
 
328
- export { name5, Input5, Applied2, Output2, toModelContent3, Plugin22, exports_patch };
328
+ export { name2, Input2, Applied2, Output2, toModelContent2, Plugin20, exports_patch };