@opencode/core 0.0.0-dev-981 → 0.0.0-dev-984

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 +84 -84
  3. package/dist/aisdk-native.js +102 -102
  4. package/dist/aisdk.js +104 -104
  5. package/dist/app.js +5 -5
  6. package/dist/artifact.js +252 -252
  7. package/dist/bus.js +80 -80
  8. package/dist/chunks/{agent-bt57tpxv.js → image-012r52bt.js} +10 -10
  9. package/dist/chunks/{agent-034tev2y.js → image-034tev2y.js} +2 -2
  10. package/dist/chunks/{agent-9zvxeyh0.js → image-046ejdkr.js} +6 -6
  11. package/dist/chunks/{agent-cpvd08na.js → image-0ahs07zn.js} +4 -4
  12. package/dist/chunks/{agent-fx5dbny4.js → image-0dxcp800.js} +5 -5
  13. package/dist/chunks/{agent-7s0aaexf.js → image-0g9jx297.js} +14 -14
  14. package/dist/chunks/{agent-1v2g13eq.js → image-0h86f0az.js} +4 -4
  15. package/dist/chunks/{agent-fznmdakp.js → image-0h8y3ex8.js} +4 -4
  16. package/dist/chunks/{agent-0ma9gw4f.js → image-0ma9gw4f.js} +2 -2
  17. package/dist/chunks/{agent-ts9w7b04.js → image-0s5f5yz2.js} +8 -8
  18. package/dist/chunks/{agent-n2d2n6fs.js → image-0xhhrjbd.js} +33 -33
  19. package/dist/chunks/{agent-m09z1v99.js → image-114cq3p6.js} +49 -49
  20. package/dist/chunks/{agent-tg1vr1qt.js → image-160yv0cs.js} +8 -8
  21. package/dist/chunks/{agent-wg8qvsq7.js → image-17hhr2ff.js} +38 -38
  22. package/dist/chunks/{agent-vc9f7ebj.js → image-1a1bd1eg.js} +78 -78
  23. package/dist/chunks/{agent-1aqsckx4.js → image-1aqsckx4.js} +1 -1
  24. package/dist/chunks/{agent-r96ere88.js → image-1e1dknnq.js} +4 -4
  25. package/dist/chunks/{agent-1ep2p91f.js → image-1ep2p91f.js} +2 -2
  26. package/dist/chunks/{agent-bmtjea25.js → image-1mjdz9tc.js} +14 -14
  27. package/dist/chunks/{agent-rhcdfjrd.js → image-1v62x7nb.js} +11 -11
  28. package/dist/chunks/{agent-1x2knyw4.js → image-1x2knyw4.js} +1 -1
  29. package/dist/chunks/{agent-1yq9hg58.js → image-1yq9hg58.js} +1 -1
  30. package/dist/chunks/{agent-px7qpgcn.js → image-229tvxdn.js} +4 -4
  31. package/dist/chunks/{agent-pb4hhsm2.js → image-22z7ah08.js} +12 -12
  32. package/dist/chunks/{agent-j831fg6g.js → image-24eyreks.js} +23 -23
  33. package/dist/chunks/{agent-8b3vzgkx.js → image-25h84942.js} +4 -4
  34. package/dist/chunks/{agent-6wkx5vpj.js → image-29v0gbxn.js} +12 -12
  35. package/dist/chunks/{agent-c0m38ftc.js → image-2b333zk3.js} +2 -2
  36. package/dist/chunks/{agent-2fc7eemy.js → image-2fc7eemy.js} +1 -1
  37. package/dist/chunks/{agent-syncbfr5.js → image-2m2g9ynh.js} +4 -4
  38. package/dist/chunks/{agent-g83mr36h.js → image-2m447k8x.js} +113 -113
  39. package/dist/chunks/{agent-3txg0pd7.js → image-2merx6cy.js} +7 -7
  40. package/dist/chunks/{agent-yec5mb3m.js → image-2qrvhcj7.js} +32 -32
  41. package/dist/chunks/{agent-qkw9ffvq.js → image-3457hmhf.js} +4 -4
  42. package/dist/chunks/{agent-0w88x2cw.js → image-3aswhnm1.js} +20 -20
  43. package/dist/chunks/{agent-c5m2a8vb.js → image-3c7qpzd7.js} +8 -8
  44. package/dist/chunks/{agent-3hepkmqq.js → image-3hepkmqq.js} +1 -1
  45. package/dist/chunks/{agent-r5r5vreg.js → image-3kvg8z2a.js} +13 -13
  46. package/dist/chunks/{agent-3nnrz6f6.js → image-3nnrz6f6.js} +1 -1
  47. package/dist/chunks/{agent-6b57y4tm.js → image-3rwt4n6r.js} +5 -5
  48. package/dist/chunks/{agent-qhskymbr.js → image-3x5dxsxe.js} +4 -4
  49. package/dist/chunks/{agent-40y6dtc2.js → image-40y6dtc2.js} +1 -1
  50. package/dist/chunks/{agent-ncne1zgd.js → image-450rweb2.js} +12 -12
  51. package/dist/chunks/{agent-4dx1dgte.js → image-4dx1dgte.js} +1 -1
  52. package/dist/chunks/image-4m6g1g4q.js +16 -0
  53. package/dist/chunks/{agent-4pyp9zr9.js → image-4pyp9zr9.js} +1 -1
  54. package/dist/chunks/{agent-esmhkswe.js → image-4sbj7bkw.js} +48 -48
  55. package/dist/chunks/{agent-4v008n1t.js → image-4v008n1t.js} +1 -1
  56. package/dist/chunks/{agent-nt907s04.js → image-4vzr2b15.js} +3 -3
  57. package/dist/chunks/{agent-wsvsnvv1.js → image-51wj0yjn.js} +22 -22
  58. package/dist/chunks/{agent-f3zh1z40.js → image-55k67bpj.js} +24 -24
  59. package/dist/chunks/{agent-6w15kdgv.js → image-5c6zy5hy.js} +12 -12
  60. package/dist/chunks/{agent-83daj7yj.js → image-5fpfnv65.js} +23 -23
  61. package/dist/chunks/{agent-5m9w47nd.js → image-5m9w47nd.js} +1 -1
  62. package/dist/chunks/{agent-gmf1f742.js → image-5qnzyf9e.js} +7 -7
  63. package/dist/chunks/{agent-8cg7mtm3.js → image-5whx36p1.js} +4 -4
  64. package/dist/chunks/{agent-0xp2zwch.js → image-5yavyngz.js} +15 -15
  65. package/dist/chunks/{agent-94gj6608.js → image-6b0hy285.js} +13 -13
  66. package/dist/chunks/{agent-a232rz61.js → image-6g978sz3.js} +3 -3
  67. package/dist/chunks/{agent-jhxyynhp.js → image-6rh13w81.js} +16 -16
  68. package/dist/chunks/{agent-nvcgcg81.js → image-6sgk0z05.js} +12 -12
  69. package/dist/chunks/{agent-833s6sc9.js → image-6t6xjbp9.js} +6 -6
  70. package/dist/chunks/{agent-h2afx71g.js → image-7215dbqr.js} +6 -6
  71. package/dist/chunks/{agent-7bmhse3q.js → image-7bmhse3q.js} +1 -1
  72. package/dist/chunks/{agent-5nz84q85.js → image-7e2yrt67.js} +20 -20
  73. package/dist/chunks/{agent-1776j15m.js → image-7g1f6qpk.js} +23 -23
  74. package/dist/chunks/{agent-zxv0z7ct.js → image-7h2dn6vd.js} +21 -21
  75. package/dist/chunks/{agent-ayfytmn9.js → image-7nb8tm12.js} +5 -5
  76. package/dist/chunks/{agent-ctfe7v1v.js → image-7pzt6adw.js} +11 -11
  77. package/dist/chunks/{agent-q1jshvh7.js → image-7r3yn5gk.js} +9 -9
  78. package/dist/chunks/{agent-85w748h8.js → image-7th1qycy.js} +3 -3
  79. package/dist/chunks/{agent-gtaq5q8g.js → image-7vgqwrfq.js} +2 -2
  80. package/dist/chunks/{agent-7w2ypzdf.js → image-7w2ypzdf.js} +1 -1
  81. package/dist/chunks/{agent-7weczvnd.js → image-7weczvnd.js} +1 -1
  82. package/dist/chunks/{agent-c0tz6aqz.js → image-80m5xgxj.js} +8 -8
  83. package/dist/chunks/{agent-775hqbnd.js → image-80mg3ag8.js} +3 -3
  84. package/dist/chunks/{agent-80pdk984.js → image-80pdk984.js} +1 -1
  85. package/dist/chunks/{agent-djs4q55k.js → image-820tfw20.js} +4 -4
  86. package/dist/chunks/{agent-arnrzsa7.js → image-83ckv56b.js} +26 -26
  87. package/dist/chunks/{agent-41a7c9y2.js → image-866yq699.js} +7 -7
  88. package/dist/chunks/{agent-y2cw704x.js → image-87af10qx.js} +6 -6
  89. package/dist/chunks/{agent-53xvr310.js → image-87q6aweg.js} +3 -3
  90. package/dist/chunks/{agent-89287pr7.js → image-89287pr7.js} +1 -1
  91. package/dist/chunks/{agent-t48jrnqq.js → image-8akjpyn6.js} +3 -3
  92. package/dist/chunks/{agent-p5fnmvpj.js → image-8b3k8ahk.js} +26 -26
  93. package/dist/chunks/{agent-c4pg5r9q.js → image-8ecdsz75.js} +15 -15
  94. package/dist/chunks/{agent-2y8q1569.js → image-8rapdqzr.js} +4 -4
  95. package/dist/chunks/{agent-ybpwwy0n.js → image-8rvd68hz.js} +75 -75
  96. package/dist/chunks/{agent-c1snbmvy.js → image-8se0wvn5.js} +12 -12
  97. package/dist/chunks/{agent-8sxe6kv8.js → image-8sxe6kv8.js} +2 -2
  98. package/dist/chunks/{agent-8wtp7s3z.js → image-8wtp7s3z.js} +1 -1
  99. package/dist/chunks/{agent-8zv0xmg5.js → image-8zv0xmg5.js} +1 -1
  100. package/dist/chunks/{agent-6c33gsgt.js → image-95tkmpsn.js} +23 -23
  101. package/dist/chunks/{agent-963hk181.js → image-963hk181.js} +2 -2
  102. package/dist/chunks/{agent-v0t96s7a.js → image-9q8g9sv8.js} +4 -4
  103. package/dist/chunks/{agent-kt89rn5p.js → image-9r5apyf0.js} +19 -19
  104. package/dist/chunks/{agent-bqm1ag82.js → image-9sjs59ye.js} +13 -13
  105. package/dist/chunks/{agent-514ks32r.js → image-9z5yemrj.js} +18 -18
  106. package/dist/chunks/{agent-qag47dhy.js → image-a3115nj2.js} +3 -3
  107. package/dist/chunks/image-acd2b3p8.js +392 -0
  108. package/dist/chunks/{agent-wvr8xscb.js → image-agje4kmn.js} +4 -4
  109. package/dist/chunks/{agent-p7cpkq4c.js → image-as68mg14.js} +14 -14
  110. package/dist/chunks/{agent-gbzdy980.js → image-asnkdwe2.js} +20 -20
  111. package/dist/chunks/{agent-55z69hwz.js → image-at1s4hgs.js} +3 -3
  112. package/dist/chunks/{agent-0frp03gx.js → image-atkg7m8q.js} +9 -9
  113. package/dist/chunks/{agent-wa4w9bvn.js → image-avv30etj.js} +4 -4
  114. package/dist/chunks/{agent-nr0wjx78.js → image-axxzkg8k.js} +34 -34
  115. package/dist/chunks/{agent-ayjs7tqn.js → image-ayjs7tqn.js} +2 -2
  116. package/dist/chunks/{agent-vc53vb0y.js → image-b0stc04c.js} +9 -9
  117. package/dist/chunks/{agent-y853tm2x.js → image-b1bsyj88.js} +9 -9
  118. package/dist/chunks/{agent-rngj42e6.js → image-b1tkjb7j.js} +11 -11
  119. package/dist/chunks/{agent-s3fyah2j.js → image-b2ayncb8.js} +21 -21
  120. package/dist/chunks/{agent-dbwvxspc.js → image-b4k47k2s.js} +5 -5
  121. package/dist/chunks/{agent-7bwes6js.js → image-b5rcmg9y.js} +18 -18
  122. package/dist/chunks/{agent-765q7gwk.js → image-b73rteds.js} +15 -15
  123. package/dist/chunks/{agent-x0thc2ej.js → image-bf30tmws.js} +21 -21
  124. package/dist/chunks/{agent-jdwsaczw.js → image-bg7ze17t.js} +5 -5
  125. package/dist/chunks/{agent-nmvv25t4.js → image-bg8y1s1y.js} +35 -35
  126. package/dist/chunks/{agent-mmf7n8z0.js → image-bn2zw3xc.js} +5 -5
  127. package/dist/chunks/{agent-x79hntmv.js → image-bn6hbz5s.js} +4 -4
  128. package/dist/chunks/{agent-bstexjd6.js → image-bstexjd6.js} +1 -1
  129. package/dist/chunks/{agent-rbt5fkkh.js → image-btp2q58c.js} +12 -12
  130. package/dist/chunks/{agent-0sdba99t.js → image-by67kzmc.js} +13 -13
  131. package/dist/chunks/{agent-zpdbqgja.js → image-by8ty0bx.js} +4 -4
  132. package/dist/chunks/{agent-c1sfsxsr.js → image-c1sfsxsr.js} +1 -1
  133. package/dist/chunks/{agent-ea48cx4w.js → image-c4fy62g2.js} +30 -30
  134. package/dist/chunks/{agent-c7cw818c.js → image-c7cw818c.js} +2 -2
  135. package/dist/chunks/{agent-awvdajxa.js → image-cdgg8w5v.js} +20 -20
  136. package/dist/chunks/{agent-cwrgdav8.js → image-cwrgdav8.js} +2 -2
  137. package/dist/chunks/{agent-xkm85qpg.js → image-d1ch9ser.js} +6 -6
  138. package/dist/chunks/{agent-w3jbcn9f.js → image-d1mesrrk.js} +11 -11
  139. package/dist/chunks/{agent-q3rq6fp3.js → image-d28fwc42.js} +23 -23
  140. package/dist/chunks/{agent-d4v9tmah.js → image-d4v9tmah.js} +2 -2
  141. package/dist/chunks/{agent-kt0aej7d.js → image-d8nk7fmm.js} +23 -23
  142. package/dist/chunks/{agent-nryptj9p.js → image-day6hd05.js} +20 -20
  143. package/dist/chunks/{agent-dt77769w.js → image-dt77769w.js} +1 -1
  144. package/dist/chunks/{agent-jqaj356s.js → image-dv9hpv5m.js} +11 -11
  145. package/dist/chunks/{agent-javg7esx.js → image-e64y1fff.js} +6 -6
  146. package/dist/chunks/{agent-a3fn0gmm.js → image-eavcrtrz.js} +2 -2
  147. package/dist/chunks/{agent-qcv2egf2.js → image-ebfnk94h.js} +7 -7
  148. package/dist/chunks/{agent-1zmv1hc5.js → image-ec5s8w6k.js} +26 -26
  149. package/dist/chunks/{agent-9a8saam1.js → image-ef1yz94k.js} +18 -18
  150. package/dist/chunks/{agent-rgr196vp.js → image-ekhvmsd2.js} +9 -9
  151. package/dist/chunks/{agent-tgk8trf3.js → image-ep2b3vkj.js} +9 -9
  152. package/dist/chunks/{agent-kzdam8c6.js → image-ep6pe98a.js} +7 -7
  153. package/dist/chunks/{agent-eqw4pqj1.js → image-eqw4pqj1.js} +2 -2
  154. package/dist/chunks/image-ev660z6k.js +18 -0
  155. package/dist/chunks/{agent-tsj33jr1.js → image-evjr3yst.js} +53 -53
  156. package/dist/chunks/{agent-sx0w3y2a.js → image-ez2f8fey.js} +4 -4
  157. package/dist/chunks/{agent-nggmx95f.js → image-f8v81ygc.js} +9 -9
  158. package/dist/chunks/{agent-fffv3p7h.js → image-fffv3p7h.js} +1 -1
  159. package/dist/chunks/{agent-fg9p65nk.js → image-fg9p65nk.js} +2 -2
  160. package/dist/chunks/{agent-v5mgyt8c.js → image-fp1wb0kq.js} +4 -4
  161. package/dist/chunks/{agent-7ac9vf2v.js → image-g0zg5v55.js} +2 -2
  162. package/dist/chunks/{agent-b26ddj6h.js → image-g4txs7zc.js} +4 -4
  163. package/dist/chunks/{agent-z8gssff5.js → image-g78n61zj.js} +20 -20
  164. package/dist/chunks/{agent-4krr2nde.js → image-g95r1ctc.js} +3 -3
  165. package/dist/chunks/{agent-gbjdnr5j.js → image-gbjdnr5j.js} +2 -2
  166. package/dist/chunks/{agent-n74b8jv4.js → image-gck3gjy9.js} +20 -20
  167. package/dist/chunks/{agent-ppngxvrt.js → image-gfbkjxmq.js} +11 -11
  168. package/dist/chunks/{agent-tnk2mvrg.js → image-gfd7v1qc.js} +11 -11
  169. package/dist/chunks/{agent-ghrv1g9c.js → image-ghrv1g9c.js} +1 -1
  170. package/dist/chunks/{agent-yrhdks23.js → image-gkedgdkr.js} +21 -21
  171. package/dist/chunks/{agent-nk507k5f.js → image-gm896by3.js} +29 -29
  172. package/dist/chunks/{agent-kcvhe8ec.js → image-gv8c9ka0.js} +9 -9
  173. package/dist/chunks/{agent-0dc2hx03.js → image-h11v1479.js} +16 -16
  174. package/dist/chunks/{agent-kyg65sbd.js → image-h7qk15cx.js} +34 -34
  175. package/dist/chunks/{agent-71wp5w4t.js → image-hakzzxhc.js} +22 -22
  176. package/dist/chunks/{agent-7bn2cmg4.js → image-hcc9nbwp.js} +14 -14
  177. package/dist/chunks/{agent-dc60sssd.js → image-hd25v1s2.js} +9 -9
  178. package/dist/chunks/{agent-q7srkfd6.js → image-hdreqhvr.js} +6 -6
  179. package/dist/chunks/{agent-hgzwgvze.js → image-hgzwgvze.js} +2 -2
  180. package/dist/chunks/{agent-q1g1p593.js → image-hqmyh5qz.js} +74 -74
  181. package/dist/chunks/{agent-53rk79rp.js → image-hvpedk0p.js} +3 -3
  182. package/dist/chunks/{agent-yzzwwk98.js → image-hw5sgdn2.js} +12 -12
  183. package/dist/chunks/{agent-tr8x705m.js → image-j376ae4e.js} +5 -5
  184. package/dist/chunks/{agent-td0gj47q.js → image-j60badzy.js} +41 -41
  185. package/dist/chunks/{agent-p9rbnb6x.js → image-j729e47m.js} +11 -11
  186. package/dist/chunks/{agent-kmwb2feb.js → image-j7xebs6w.js} +20 -20
  187. package/dist/chunks/{agent-r7zdf0d6.js → image-j9ney6t0.js} +25 -25
  188. package/dist/chunks/{agent-145d65ep.js → image-jbqskahc.js} +6 -6
  189. package/dist/chunks/{agent-mqxpc6bt.js → image-jbyegtem.js} +5 -5
  190. package/dist/chunks/{agent-emjkzpye.js → image-jdtqsqtk.js} +9 -9
  191. package/dist/chunks/{agent-0qh3s10f.js → image-jfcrvk67.js} +7 -7
  192. package/dist/chunks/{agent-0sq7yx7p.js → image-jfdg8b0z.js} +14 -14
  193. package/dist/chunks/{agent-qsdghx1p.js → image-jg11hrrc.js} +4 -4
  194. package/dist/chunks/{agent-r98mbgms.js → image-jh57jb60.js} +5 -5
  195. package/dist/chunks/{agent-ghzn7fps.js → image-jjp4194y.js} +16 -16
  196. package/dist/chunks/{agent-jm70asfg.js → image-jm70asfg.js} +1 -1
  197. package/dist/chunks/{agent-eznwzz89.js → image-jn3w4q27.js} +3 -3
  198. package/dist/chunks/{agent-ts58nkq1.js → image-jp7ap2d0.js} +18 -18
  199. package/dist/chunks/{agent-wrpxk6mc.js → image-jrr63qgx.js} +5 -5
  200. package/dist/chunks/{agent-9adnckeg.js → image-jx3qxgex.js} +10 -10
  201. package/dist/chunks/{agent-44pmzq9c.js → image-jxd6f16v.js} +2 -2
  202. package/dist/chunks/{agent-kj9n5bvh.js → image-k46dd5bg.js} +4 -4
  203. package/dist/chunks/{agent-kwa16xgp.js → image-k90sfz8e.js} +5 -5
  204. package/dist/chunks/{agent-tb2mrvc9.js → image-kbtcw8xz.js} +7 -7
  205. package/dist/chunks/{agent-ysn7hxne.js → image-kc8d1cz4.js} +19 -19
  206. package/dist/chunks/{agent-ampjv2jb.js → image-kfdqafsj.js} +6 -6
  207. package/dist/chunks/{agent-nptrm8kt.js → image-km680sbt.js} +7 -7
  208. package/dist/chunks/{agent-kt3bjfbg.js → image-kt3bjfbg.js} +1 -1
  209. package/dist/chunks/{agent-ckn0kvtp.js → image-ktck1cjp.js} +6 -6
  210. package/dist/chunks/{agent-hdkgxgz2.js → image-kv3m55g3.js} +27 -27
  211. package/dist/chunks/{agent-k0gdef7s.js → image-kwg96m63.js} +24 -24
  212. package/dist/chunks/{agent-a91n2tqa.js → image-kwnsww5y.js} +6 -6
  213. package/dist/chunks/{agent-pgh8k322.js → image-kww1mx1v.js} +3 -3
  214. package/dist/chunks/{agent-zx818e5g.js → image-kytkc8sq.js} +6 -6
  215. package/dist/chunks/{agent-kzczzf4v.js → image-kzczzf4v.js} +1 -1
  216. package/dist/chunks/{agent-m1714858.js → image-m1714858.js} +1 -1
  217. package/dist/chunks/{agent-m9w0rfyh.js → image-m9w0rfyh.js} +1 -1
  218. package/dist/chunks/{agent-2b86rq14.js → image-mavyraxj.js} +9 -9
  219. package/dist/chunks/{agent-mb7mbhnz.js → image-mb7mbhnz.js} +3 -3
  220. package/dist/chunks/{agent-sxzffpc4.js → image-mdff0qcz.js} +3 -3
  221. package/dist/chunks/{agent-z92h4cq5.js → image-me72txeb.js} +23 -23
  222. package/dist/chunks/{agent-v86kjx5c.js → image-mf879dy4.js} +9 -9
  223. package/dist/chunks/{agent-sxsqza7j.js → image-mfn8jaj8.js} +9 -9
  224. package/dist/chunks/{agent-kt1xtm1c.js → image-mjrtrspa.js} +25 -25
  225. package/dist/chunks/{agent-4a35cdrq.js → image-mrys73te.js} +3 -3
  226. package/dist/chunks/{agent-gzdfg4q2.js → image-mv51he2b.js} +32 -32
  227. package/dist/chunks/{agent-d7d1gqr0.js → image-mwc77p9g.js} +19 -19
  228. package/dist/chunks/{agent-fpp9mkjh.js → image-n2jpjvs2.js} +14 -14
  229. package/dist/chunks/{agent-kq4fnwb1.js → image-n320gsn2.js} +4 -4
  230. package/dist/chunks/{agent-w2z9mm8j.js → image-n6x1s1eh.js} +4 -4
  231. package/dist/chunks/{agent-fnnh9tr0.js → image-ngh122dv.js} +16 -16
  232. package/dist/chunks/{agent-jkdcm5hg.js → image-njx9gg5k.js} +4 -4
  233. package/dist/chunks/{agent-vbkwga0e.js → image-nk0hhjs6.js} +3 -3
  234. package/dist/chunks/{agent-znbeg29p.js → image-nmhjx2wt.js} +15 -15
  235. package/dist/chunks/{agent-6wnvkxy2.js → image-p5fw022h.js} +2 -2
  236. package/dist/chunks/{agent-t62dywgn.js → image-p94p4v4n.js} +4 -4
  237. package/dist/chunks/{agent-d42hvbhd.js → image-pf2y1gyc.js} +1 -1
  238. package/dist/chunks/{agent-xpbt5r8q.js → image-pk1tk02p.js} +17 -17
  239. package/dist/chunks/{agent-pknna89w.js → image-pknna89w.js} +1 -1
  240. package/dist/chunks/{agent-jraam9fg.js → image-pmjhend3.js} +6 -6
  241. package/dist/chunks/{agent-6nfj3rxw.js → image-ps7q5hpp.js} +16 -16
  242. package/dist/chunks/{agent-f004pghm.js → image-pxd2m5aw.js} +4 -4
  243. package/dist/chunks/{agent-9nq4n9bn.js → image-q1napadb.js} +12 -12
  244. package/dist/chunks/{agent-rt30r86m.js → image-q4xekbf2.js} +32 -32
  245. package/dist/chunks/{agent-3egvspvf.js → image-qaq4mpv4.js} +9 -9
  246. package/dist/chunks/{agent-a5g6cc71.js → image-qasqe47a.js} +15 -15
  247. package/dist/chunks/{agent-yf686wy0.js → image-qb10std8.js} +12 -12
  248. package/dist/chunks/{agent-eh3q51rs.js → image-qbzansdk.js} +21 -21
  249. package/dist/chunks/{agent-dch23kaq.js → image-qe2cwc8y.js} +24 -24
  250. package/dist/chunks/{agent-qacy18a6.js → image-qnbcxkcp.js} +10 -10
  251. package/dist/chunks/{agent-qp7r0hxv.js → image-qp7r0hxv.js} +1 -1
  252. package/dist/chunks/{agent-5hapvr34.js → image-qpgxy01r.js} +10 -10
  253. package/dist/chunks/{agent-mkwqcq0t.js → image-qrz6et4x.js} +1 -1
  254. package/dist/chunks/{agent-ztnv97d0.js → image-qssfswwc.js} +16 -16
  255. package/dist/chunks/{agent-qb7ncd82.js → image-qt6dvtcw.js} +5 -5
  256. package/dist/chunks/{agent-wyh1zxn8.js → image-qt75r8xg.js} +32 -32
  257. package/dist/chunks/{agent-7wa892tk.js → image-qw87fe7g.js} +31 -31
  258. package/dist/chunks/{agent-nn3saq6b.js → image-r1fg6jpk.js} +37 -37
  259. package/dist/chunks/{agent-d0ct107g.js → image-r4s0gw47.js} +8 -8
  260. package/dist/chunks/{agent-4f25tdd0.js → image-r542h3bh.js} +5 -5
  261. package/dist/chunks/{agent-2kxs6t6m.js → image-r5k995gn.js} +13 -13
  262. package/dist/chunks/{agent-90ct6wq4.js → image-r7f89qmp.js} +4 -4
  263. package/dist/chunks/{agent-ydv8kc8h.js → image-r95fwr97.js} +6 -6
  264. package/dist/chunks/{agent-rb9dy4dg.js → image-rb9dy4dg.js} +1 -1
  265. package/dist/chunks/{agent-rgc9cx3e.js → image-rgc9cx3e.js} +2 -2
  266. package/dist/chunks/{agent-p2ybnjzy.js → image-rhp21kg3.js} +8 -8
  267. package/dist/chunks/{agent-gzrqs4nz.js → image-rjngahkf.js} +16 -16
  268. package/dist/chunks/{agent-wsy9bbs6.js → image-rny7ydm6.js} +7 -7
  269. package/dist/chunks/{agent-hsjdarb3.js → image-rrhkzwz2.js} +12 -12
  270. package/dist/chunks/{agent-rt5dr6hb.js → image-rt5dr6hb.js} +1 -1
  271. package/dist/chunks/{agent-8xz27cp9.js → image-rt5qjrvj.js} +4 -4
  272. package/dist/chunks/{agent-rtafshd2.js → image-rvzj57jb.js} +4 -4
  273. package/dist/chunks/{agent-2p60zmnr.js → image-s1ba0vj0.js} +2 -2
  274. package/dist/chunks/{agent-xfj4wc10.js → image-s7072j3j.js} +4 -4
  275. package/dist/chunks/{agent-dp05pbnt.js → image-s8zsfjb0.js} +13 -13
  276. package/dist/chunks/{agent-g54wb9zb.js → image-sa9sr6b9.js} +3 -3
  277. package/dist/chunks/{agent-sbya78hr.js → image-sbya78hr.js} +1 -1
  278. package/dist/chunks/{agent-61qraad9.js → image-scmk72rv.js} +5 -5
  279. package/dist/chunks/{agent-0j7gp832.js → image-sqjzf8x2.js} +4 -4
  280. package/dist/chunks/{agent-svcy3p9a.js → image-svcy3p9a.js} +1 -1
  281. package/dist/chunks/{agent-k77fysk8.js → image-sw8xyvty.js} +5 -5
  282. package/dist/chunks/{agent-mkhghf85.js → image-sxb5eqha.js} +12 -12
  283. package/dist/chunks/{agent-1s8e9aqh.js → image-sy2hv15m.js} +47 -29
  284. package/dist/chunks/{agent-js67yn6j.js → image-t3n41myk.js} +8 -8
  285. package/dist/chunks/{agent-tbpn7jtk.js → image-tbpn7jtk.js} +1 -1
  286. package/dist/chunks/{agent-tczq8hjw.js → image-tczq8hjw.js} +1 -1
  287. package/dist/chunks/{agent-vq0qa3sh.js → image-teav1bzy.js} +9 -9
  288. package/dist/chunks/{agent-gxs71cxp.js → image-tg7s7b5t.js} +4 -4
  289. package/dist/chunks/{agent-ergvsmdh.js → image-tm88g2bq.js} +6 -6
  290. package/dist/chunks/{agent-tvtps2q9.js → image-tvtps2q9.js} +1 -1
  291. package/dist/chunks/{agent-twssxy5n.js → image-twssxy5n.js} +2 -2
  292. package/dist/chunks/{agent-me215f18.js → image-tyr5qtmx.js} +1 -1
  293. package/dist/chunks/{agent-v2r1d0zg.js → image-v2r1d0zg.js} +1 -1
  294. package/dist/chunks/image-v368svk3.js +26 -0
  295. package/dist/chunks/{agent-p9mh9akd.js → image-v52w019b.js} +29 -29
  296. package/dist/chunks/{agent-73hqzbye.js → image-v5r167bs.js} +3 -3
  297. package/dist/chunks/{agent-nyc4jwvb.js → image-v8bjwhbx.js} +4 -4
  298. package/dist/chunks/{agent-mpkd4dcq.js → image-vc8n8w8b.js} +20 -20
  299. package/dist/chunks/{agent-7dn1zj2c.js → image-vj2xa249.js} +8 -8
  300. package/dist/chunks/{agent-vjf35v1f.js → image-vjf35v1f.js} +1 -1
  301. package/dist/chunks/{agent-sqk89xq2.js → image-vkxekdg9.js} +6 -6
  302. package/dist/chunks/{agent-at91w1sd.js → image-vn4v1hg1.js} +25 -25
  303. package/dist/chunks/{agent-2n444ktb.js → image-vnjc296t.js} +2 -2
  304. package/dist/chunks/{agent-7a5zzgze.js → image-vnwqvbsy.js} +27 -27
  305. package/dist/chunks/{agent-eb6navfw.js → image-vpyv9dhj.js} +9 -9
  306. package/dist/chunks/{agent-vwhy63a2.js → image-vwhy63a2.js} +3 -3
  307. package/dist/chunks/{agent-ejpp96pb.js → image-vzgx3cfa.js} +29 -29
  308. package/dist/chunks/{agent-40za9wsf.js → image-w2eysc6j.js} +9 -9
  309. package/dist/chunks/{agent-nstbetgn.js → image-w3vqc4ke.js} +8 -8
  310. package/dist/chunks/{agent-w3wsvvr9.js → image-w3wsvvr9.js} +1 -1
  311. package/dist/chunks/{agent-a5fx33f2.js → image-w4xw9ac5.js} +6 -6
  312. package/dist/chunks/{agent-ddgq088e.js → image-w8b6qrqy.js} +23 -23
  313. package/dist/chunks/{agent-wakvkjy4.js → image-wakvkjy4.js} +1 -1
  314. package/dist/chunks/{agent-7bahrbjj.js → image-wcny6y56.js} +9 -9
  315. package/dist/chunks/{agent-wd87259q.js → image-wd87259q.js} +1 -1
  316. package/dist/chunks/{agent-wegkxhrn.js → image-wegkxhrn.js} +2 -2
  317. package/dist/chunks/{agent-nnwpcz14.js → image-wpsmmatg.js} +59 -59
  318. package/dist/chunks/{agent-xmrb8t3m.js → image-wr8feajd.js} +14 -14
  319. package/dist/chunks/{agent-vh3qajfg.js → image-wty26r08.js} +28 -28
  320. package/dist/chunks/{agent-a54h82rt.js → image-wvthvc4r.js} +10 -10
  321. package/dist/chunks/{agent-wvtmn79c.js → image-x00yzgmf.js} +7 -7
  322. package/dist/chunks/{agent-d708f7va.js → image-x1az0btq.js} +7 -7
  323. package/dist/chunks/{agent-ykstx2xe.js → image-x27cvrt9.js} +10 -10
  324. package/dist/chunks/{agent-qparg5af.js → image-x6pxrwsn.js} +144 -144
  325. package/dist/chunks/{agent-03s1syy0.js → image-x740p7h7.js} +2 -2
  326. package/dist/chunks/{agent-1p69b0p2.js → image-x9nnzykt.js} +4 -4
  327. package/dist/chunks/{agent-4syft219.js → image-xa6a9xvs.js} +6 -6
  328. package/dist/chunks/{agent-8t99kr38.js → image-xacrkbdt.js} +4 -4
  329. package/dist/chunks/{agent-72w62nvf.js → image-xceq3tvv.js} +6 -6
  330. package/dist/chunks/{agent-6dwa5jtc.js → image-xdzvvt41.js} +18 -18
  331. package/dist/chunks/{agent-7fz7kfy5.js → image-xe2bvng5.js} +8 -8
  332. package/dist/chunks/{agent-am0c6q8r.js → image-xgesp7c6.js} +15 -15
  333. package/dist/chunks/{agent-3adw4bt5.js → image-xjbsd7zy.js} +9 -9
  334. package/dist/chunks/{agent-xjr6c8m4.js → image-xxschbft.js} +4 -4
  335. package/dist/chunks/{agent-479x8892.js → image-xxxgj18x.js} +27 -27
  336. package/dist/chunks/{agent-8ch46v0w.js → image-xynr9we8.js} +13 -13
  337. package/dist/chunks/{agent-1zxrx0km.js → image-xzhs6mgn.js} +9 -9
  338. package/dist/chunks/{agent-v4wwqybb.js → image-y574z8vs.js} +8 -8
  339. package/dist/chunks/{agent-kyjv3y5f.js → image-y86fpnx9.js} +322 -322
  340. package/dist/chunks/{agent-1fk5xgk4.js → image-y8bqpfjx.js} +12 -12
  341. package/dist/chunks/{agent-e1e2z6y2.js → image-ya18cqrm.js} +6 -6
  342. package/dist/chunks/{agent-yb20nhc3.js → image-yb20nhc3.js} +1 -1
  343. package/dist/chunks/{agent-2ntftwm7.js → image-ydyq9kwf.js} +5 -5
  344. package/dist/chunks/{agent-0bas93te.js → image-ye0egtn0.js} +11 -11
  345. package/dist/chunks/{agent-yr705xyq.js → image-yr705xyq.js} +1 -1
  346. package/dist/chunks/{agent-yvtc2x31.js → image-yvtc2x31.js} +1 -1
  347. package/dist/chunks/{agent-kx4qq42j.js → image-z8dngc1f.js} +7 -7
  348. package/dist/chunks/{agent-j9nxzz3g.js → image-ze75qvmd.js} +3 -3
  349. package/dist/chunks/{agent-17b8a7h3.js → image-zfezaq1x.js} +11 -11
  350. package/dist/chunks/{agent-fqys5f2f.js → image-zrj2js65.js} +8 -8
  351. package/dist/codemode/catalog.js +1 -1
  352. package/dist/codemode/execution.js +5 -5
  353. package/dist/codemode/fetch.js +148 -148
  354. package/dist/codemode/instructions.js +5 -5
  355. package/dist/codemode/tool.js +155 -155
  356. package/dist/command.js +88 -88
  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 +133 -133
  363. package/dist/config/plugin/command.js +240 -240
  364. package/dist/config/plugin/compaction.js +173 -173
  365. package/dist/config/plugin/compatibility.js +153 -153
  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 +132 -132
  371. package/dist/config/plugin/mcp.js +145 -145
  372. package/dist/config/plugin/policy.js +130 -130
  373. package/dist/config/plugin/provider.js +130 -130
  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 +156 -156
  379. package/dist/config/plugin/snapshot.js +130 -130
  380. package/dist/config/plugin/source.js +132 -132
  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 +125 -125
  387. package/dist/console-access.js +1 -1
  388. package/dist/credential/sql.js +2 -2
  389. package/dist/credential.js +90 -90
  390. package/dist/database/batch.js +1 -1
  391. package/dist/database/database.js +77 -77
  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 +98 -98
  473. package/dist/database/v1-migration.js +1 -1
  474. package/dist/effect/app-node-builder.js +436 -435
  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 +101 -101
  480. package/dist/environment/exec-defaults.js +2 -2
  481. package/dist/environment/files.js +1 -1
  482. package/dist/environment/index.js +105 -105
  483. package/dist/environment/local.js +2 -2
  484. package/dist/environment/memory.js +2 -2
  485. package/dist/environment/unavailable.js +3 -3
  486. package/dist/event/sql.js +1 -1
  487. package/dist/event-logger.js +81 -81
  488. package/dist/file-access.js +156 -156
  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 +84 -84
  497. package/dist/filesystem/location-watcher-policy.js +6 -6
  498. package/dist/filesystem/location-watcher.js +253 -253
  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 +3 -3
  503. package/dist/filesystem.js +116 -116
  504. package/dist/flag.js +127 -127
  505. package/dist/form.js +87 -87
  506. package/dist/formatter/builtins.js +4 -4
  507. package/dist/formatter.js +96 -96
  508. package/dist/generate.js +120 -120
  509. package/dist/git.js +7 -7
  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 +3 -3
  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 -431
  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 +96 -96
  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 +80 -80
  547. package/dist/location-activity.js +177 -177
  548. package/dist/location-lifecycle.js +153 -153
  549. package/dist/location-service-map.js +95 -95
  550. package/dist/location-services.js +429 -428
  551. package/dist/location.js +102 -102
  552. package/dist/managed-policy.js +3 -3
  553. package/dist/mcp/client.js +158 -158
  554. package/dist/mcp/connection.js +104 -104
  555. package/dist/mcp/index.js +126 -126
  556. package/dist/mcp/instructions.js +187 -187
  557. package/dist/mcp/oauth.js +89 -89
  558. package/dist/mcp/pool.js +112 -112
  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 +106 -106
  564. package/dist/model-retry.js +1 -1
  565. package/dist/model.js +103 -103
  566. package/dist/models-dev/v1.js +1 -1
  567. package/dist/models-dev.js +115 -115
  568. package/dist/oauth/page.js +1 -1
  569. package/dist/permission/saved.js +89 -89
  570. package/dist/permission/sql.js +5 -5
  571. package/dist/permission.js +146 -146
  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 +101 -101
  575. package/dist/persistent-pty/pty-binding.js +1 -1
  576. package/dist/persistent-pty.js +86 -86
  577. package/dist/plugin/agent.js +87 -87
  578. package/dist/plugin/command.js +119 -119
  579. package/dist/plugin/goal.js +3 -3
  580. package/dist/plugin/hooks.js +1 -1
  581. package/dist/plugin/host.js +246 -246
  582. package/dist/plugin/identity.js +5 -5
  583. package/dist/plugin/instance.js +5 -5
  584. package/dist/plugin/internal.js +410 -409
  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 +4 -4
  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 +112 -112
  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 +110 -110
  615. package/dist/plugin/provider/claude-agent/session.js +112 -112
  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 +3 -3
  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 +140 -140
  644. package/dist/plugin/provider/openai-context-caps.js +106 -106
  645. package/dist/plugin/provider/openai.js +135 -135
  646. package/dist/plugin/provider/opencode-watches.js +23 -0
  647. package/dist/plugin/provider/opencode.js +161 -159
  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 -237
  659. package/dist/plugin/sdk.js +89 -89
  660. package/dist/plugin/service.js +3 -3
  661. package/dist/plugin/skill.js +152 -152
  662. package/dist/plugin/source-directory.js +1 -1
  663. package/dist/plugin/supervisor.js +420 -419
  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 +6 -6
  674. package/dist/plugin/websearch/parallel.js +9 -9
  675. package/dist/plugin/websearch/provider.js +3 -3
  676. package/dist/plugin/websearch/tavily.js +5 -5
  677. package/dist/plugin/websearch/tinyfish.js +7 -7
  678. package/dist/plugin.js +249 -249
  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 +102 -102
  684. package/dist/pty/protocol.js +1 -1
  685. package/dist/pty/ticket.js +1 -1
  686. package/dist/pty.js +101 -101
  687. package/dist/reference/instructions.js +99 -99
  688. package/dist/reference.js +103 -103
  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 +95 -95
  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 +175 -175
  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 +251 -251
  709. package/dist/session/execution.js +167 -167
  710. package/dist/session/generate.js +206 -206
  711. package/dist/session/history.js +139 -139
  712. package/dist/session/inbox.js +144 -144
  713. package/dist/session/info.js +3 -3
  714. package/dist/session/instruction-entry.js +88 -88
  715. package/dist/session/instruction-state.js +8 -8
  716. package/dist/session/instructions.js +146 -146
  717. package/dist/session/message-updater.js +2 -2
  718. package/dist/session/message.js +1 -1
  719. package/dist/session/model-request.js +169 -169
  720. package/dist/session/model-transport.js +7 -7
  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 +85 -85
  741. package/dist/session/store.js +145 -145
  742. package/dist/session/stored.js +2 -2
  743. package/dist/session/subagent-completion.js +3 -3
  744. package/dist/session/subagent-job.js +237 -237
  745. package/dist/session/system-prompt.js +3 -3
  746. package/dist/session/title.js +209 -209
  747. package/dist/session/to-session-error.js +152 -152
  748. package/dist/session/transfer.js +240 -240
  749. package/dist/session/usage.js +3 -3
  750. package/dist/session.js +239 -239
  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 +11 -11
  756. package/dist/shell.js +147 -147
  757. package/dist/skill/discovery.js +6 -6
  758. package/dist/skill/instructions.js +152 -152
  759. package/dist/skill.js +161 -161
  760. package/dist/snapshot.js +104 -104
  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 +186 -186
  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 +170 -170
  769. package/dist/tool/plugin/grep.js +173 -173
  770. package/dist/tool/plugin/image-generate.js +247 -247
  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 +167 -167
  774. package/dist/tool/plugin/question.js +147 -147
  775. package/dist/tool/plugin/read.js +173 -173
  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 +158 -158
  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 +160 -160
  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 +114 -114
  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 +163 -163
  789. package/dist/types/plugin/provider/opencode-watches.d.ts +46 -0
  790. package/dist/usage-limits.js +98 -98
  791. package/dist/util/error-summary.js +1 -1
  792. package/dist/util/git-executable.js +3 -3
  793. package/dist/util/lazy.js +1 -1
  794. package/dist/util/slug.js +1 -1
  795. package/dist/util/token.js +1 -1
  796. package/dist/util/which.js +1 -1
  797. package/dist/util/wildcard.js +1 -1
  798. package/dist/v1/config/agent.js +5 -5
  799. package/dist/v1/config/command.js +3 -3
  800. package/dist/v1/config/mcp.js +4 -4
  801. package/dist/v1/config/migrate.js +105 -105
  802. package/dist/v1/config/permission.js +3 -3
  803. package/dist/v1/config/plugin.js +1 -1
  804. package/dist/v1/config/provider-options.js +1 -1
  805. package/dist/v1/config/provider.js +4 -4
  806. package/dist/variant.js +104 -104
  807. package/dist/vcs/patch.js +1 -1
  808. package/dist/vcs.js +102 -102
  809. package/dist/voice.js +99 -99
  810. package/dist/websearch.js +97 -97
  811. package/dist/wellknown/plugin.js +87 -87
  812. package/dist/wellknown.js +84 -84
  813. package/dist/workspace/driver.js +3 -3
  814. package/dist/workspace/sql.js +1 -1
  815. package/dist/workspace.js +83 -83
  816. package/dist/worktree/directory.js +2 -2
  817. package/dist/worktree/git.js +11 -11
  818. package/dist/worktree/sql.js +5 -5
  819. package/dist/worktree/strategies.js +102 -102
  820. package/dist/worktree.js +111 -111
  821. package/package.json +8 -8
  822. package/dist/chunks/agent-00ve6mdn.js +0 -18
  823. package/dist/chunks/agent-b327c6e6.js +0 -26
  824. package/dist/chunks/agent-c7gk57p6.js +0 -16
  825. /package/dist/chunks/{agent-0qkdqm5v.js → image-0qkdqm5v.js} +0 -0
  826. /package/dist/chunks/{agent-0zkw76rk.js → image-0zkw76rk.js} +0 -0
  827. /package/dist/chunks/{agent-108x4f4w.js → image-108x4f4w.js} +0 -0
  828. /package/dist/chunks/{agent-17cy0kzp.js → image-17cy0kzp.js} +0 -0
  829. /package/dist/chunks/{agent-1cnp2v09.js → image-1cnp2v09.js} +0 -0
  830. /package/dist/chunks/{agent-1kah00gy.js → image-1kah00gy.js} +0 -0
  831. /package/dist/chunks/{agent-24dcb14g.js → image-24dcb14g.js} +0 -0
  832. /package/dist/chunks/{agent-2710q6r3.js → image-2710q6r3.js} +0 -0
  833. /package/dist/chunks/{agent-2bv980vf.js → image-2bv980vf.js} +0 -0
  834. /package/dist/chunks/{agent-2c3vjs8z.js → image-2c3vjs8z.js} +0 -0
  835. /package/dist/chunks/{agent-359p4xyc.js → image-359p4xyc.js} +0 -0
  836. /package/dist/chunks/{agent-3af0jn4w.js → image-3af0jn4w.js} +0 -0
  837. /package/dist/chunks/{agent-3asan66x.js → image-3asan66x.js} +0 -0
  838. /package/dist/chunks/{agent-3v8g72cx.js → image-3v8g72cx.js} +0 -0
  839. /package/dist/chunks/{agent-3wcehsnq.js → image-3wcehsnq.js} +0 -0
  840. /package/dist/chunks/{agent-43n2bw4t.js → image-43n2bw4t.js} +0 -0
  841. /package/dist/chunks/{agent-4knz6hnm.js → image-4knz6hnm.js} +0 -0
  842. /package/dist/chunks/{agent-4qk9sjk2.js → image-4qk9sjk2.js} +0 -0
  843. /package/dist/chunks/{agent-4y7fprxs.js → image-4y7fprxs.js} +0 -0
  844. /package/dist/chunks/{agent-53557ph1.js → image-53557ph1.js} +0 -0
  845. /package/dist/chunks/{agent-550bvhaj.js → image-550bvhaj.js} +0 -0
  846. /package/dist/chunks/{agent-5w3e23ze.js → image-5w3e23ze.js} +0 -0
  847. /package/dist/chunks/{agent-6agm2x70.js → image-6agm2x70.js} +0 -0
  848. /package/dist/chunks/{agent-6prwharc.js → image-6prwharc.js} +0 -0
  849. /package/dist/chunks/{agent-6q2bdcd1.js → image-6q2bdcd1.js} +0 -0
  850. /package/dist/chunks/{agent-7akdwqpd.js → image-7akdwqpd.js} +0 -0
  851. /package/dist/chunks/{agent-7m9af43g.js → image-7m9af43g.js} +0 -0
  852. /package/dist/chunks/{agent-822emrt2.js → image-822emrt2.js} +0 -0
  853. /package/dist/chunks/{agent-84wd9syh.js → image-84wd9syh.js} +0 -0
  854. /package/dist/chunks/{agent-88xbtdfr.js → image-88xbtdfr.js} +0 -0
  855. /package/dist/chunks/{agent-8n3pysct.js → image-8n3pysct.js} +0 -0
  856. /package/dist/chunks/{agent-8wj87zfr.js → image-8wj87zfr.js} +0 -0
  857. /package/dist/chunks/{agent-9a4afbnw.js → image-9a4afbnw.js} +0 -0
  858. /package/dist/chunks/{agent-9rqn6x4v.js → image-9rqn6x4v.js} +0 -0
  859. /package/dist/chunks/{agent-af5trqkr.js → image-af5trqkr.js} +0 -0
  860. /package/dist/chunks/{agent-afrmfg78.js → image-afrmfg78.js} +0 -0
  861. /package/dist/chunks/{agent-aqzs7mqg.js → image-aqzs7mqg.js} +0 -0
  862. /package/dist/chunks/{agent-atq7p7m5.js → image-atq7p7m5.js} +0 -0
  863. /package/dist/chunks/{agent-beh6qq61.js → image-beh6qq61.js} +0 -0
  864. /package/dist/chunks/{agent-bhmrqjy3.js → image-bhmrqjy3.js} +0 -0
  865. /package/dist/chunks/{agent-bkyjaxrp.js → image-bkyjaxrp.js} +0 -0
  866. /package/dist/chunks/{agent-bmr6ed5q.js → image-bmr6ed5q.js} +0 -0
  867. /package/dist/chunks/{agent-cf4snx6d.js → image-cf4snx6d.js} +0 -0
  868. /package/dist/chunks/{agent-cqv5kn06.js → image-cqv5kn06.js} +0 -0
  869. /package/dist/chunks/{agent-cvy3z8tj.js → image-cvy3z8tj.js} +0 -0
  870. /package/dist/chunks/{agent-d9fn303g.js → image-d9fn303g.js} +0 -0
  871. /package/dist/chunks/{agent-d9jj8t3e.js → image-d9jj8t3e.js} +0 -0
  872. /package/dist/chunks/{agent-dap0rakb.js → image-dap0rakb.js} +0 -0
  873. /package/dist/chunks/{agent-df08tz66.js → image-df08tz66.js} +0 -0
  874. /package/dist/chunks/{agent-dy18nga0.js → image-dy18nga0.js} +0 -0
  875. /package/dist/chunks/{agent-e5kj55wp.js → image-e5kj55wp.js} +0 -0
  876. /package/dist/chunks/{agent-ean2d8b5.js → image-ean2d8b5.js} +0 -0
  877. /package/dist/chunks/{agent-ec1grn59.js → image-ec1grn59.js} +0 -0
  878. /package/dist/chunks/{agent-emrn6kk6.js → image-emrn6kk6.js} +0 -0
  879. /package/dist/chunks/{agent-f0mxakyp.js → image-f0mxakyp.js} +0 -0
  880. /package/dist/chunks/{agent-f6n9ztr4.js → image-f6n9ztr4.js} +0 -0
  881. /package/dist/chunks/{agent-faypxj3z.js → image-faypxj3z.js} +0 -0
  882. /package/dist/chunks/{agent-fd410y7t.js → image-fd410y7t.js} +0 -0
  883. /package/dist/chunks/{agent-fkpq3x5p.js → image-fkpq3x5p.js} +0 -0
  884. /package/dist/chunks/{agent-g4wezp1m.js → image-g4wezp1m.js} +0 -0
  885. /package/dist/chunks/{agent-g86h250q.js → image-g86h250q.js} +0 -0
  886. /package/dist/chunks/{agent-gebd4c9n.js → image-gebd4c9n.js} +0 -0
  887. /package/dist/chunks/{agent-gftt206x.js → image-gftt206x.js} +0 -0
  888. /package/dist/chunks/{agent-hcxmzztb.js → image-hcxmzztb.js} +0 -0
  889. /package/dist/chunks/{agent-hk9envan.js → image-hk9envan.js} +0 -0
  890. /package/dist/chunks/{agent-j2ntwpah.js → image-j2ntwpah.js} +0 -0
  891. /package/dist/chunks/{agent-j5zkgpj8.js → image-j5zkgpj8.js} +0 -0
  892. /package/dist/chunks/{agent-jjkms2e6.js → image-jjkms2e6.js} +0 -0
  893. /package/dist/chunks/{agent-jr7sbwjy.js → image-jr7sbwjy.js} +0 -0
  894. /package/dist/chunks/{agent-jwfs4k6c.js → image-jwfs4k6c.js} +0 -0
  895. /package/dist/chunks/{agent-jwr30sdr.js → image-jwr30sdr.js} +0 -0
  896. /package/dist/chunks/{agent-jzg6c2d5.js → image-jzg6c2d5.js} +0 -0
  897. /package/dist/chunks/{agent-m18g726c.js → image-m18g726c.js} +0 -0
  898. /package/dist/chunks/{agent-mp448xyj.js → image-mp448xyj.js} +0 -0
  899. /package/dist/chunks/{agent-msx8hqn2.js → image-msx8hqn2.js} +0 -0
  900. /package/dist/chunks/{agent-n05xt0ee.js → image-n05xt0ee.js} +0 -0
  901. /package/dist/chunks/{agent-n3j8tn72.js → image-n3j8tn72.js} +0 -0
  902. /package/dist/chunks/{agent-nh4v3znn.js → image-nh4v3znn.js} +0 -0
  903. /package/dist/chunks/{agent-njntx4h6.js → image-njntx4h6.js} +0 -0
  904. /package/dist/chunks/{agent-p71gwv9c.js → image-p71gwv9c.js} +0 -0
  905. /package/dist/chunks/{agent-q3sfg36h.js → image-q3sfg36h.js} +0 -0
  906. /package/dist/chunks/{agent-q74kybfr.js → image-q74kybfr.js} +0 -0
  907. /package/dist/chunks/{agent-qb87gjwd.js → image-qb87gjwd.js} +0 -0
  908. /package/dist/chunks/{agent-qfa1cgps.js → image-qfa1cgps.js} +0 -0
  909. /package/dist/chunks/{agent-qg3g05ea.js → image-qg3g05ea.js} +0 -0
  910. /package/dist/chunks/{agent-qrg20bc0.js → image-qrg20bc0.js} +0 -0
  911. /package/dist/chunks/{agent-rcb2kzg1.js → image-rcb2kzg1.js} +0 -0
  912. /package/dist/chunks/{agent-sdp7kfr6.js → image-sdp7kfr6.js} +0 -0
  913. /package/dist/chunks/{agent-ssg3fenm.js → image-ssg3fenm.js} +0 -0
  914. /package/dist/chunks/{agent-syrav9an.js → image-syrav9an.js} +0 -0
  915. /package/dist/chunks/{agent-t03h4f5z.js → image-t03h4f5z.js} +0 -0
  916. /package/dist/chunks/{agent-ty7weeps.js → image-ty7weeps.js} +0 -0
  917. /package/dist/chunks/{agent-ve7vex1e.js → image-ve7vex1e.js} +0 -0
  918. /package/dist/chunks/{agent-vtarvj67.js → image-vtarvj67.js} +0 -0
  919. /package/dist/chunks/{agent-w803qqfp.js → image-w803qqfp.js} +0 -0
  920. /package/dist/chunks/{agent-wc3fc9cn.js → image-wc3fc9cn.js} +0 -0
  921. /package/dist/chunks/{agent-wer8tq1h.js → image-wer8tq1h.js} +0 -0
  922. /package/dist/chunks/{agent-wtztk69x.js → image-wtztk69x.js} +0 -0
  923. /package/dist/chunks/{agent-x0ckcb58.js → image-x0ckcb58.js} +0 -0
  924. /package/dist/chunks/{agent-x4th4bpe.js → image-x4th4bpe.js} +0 -0
  925. /package/dist/chunks/{agent-x61499pn.js → image-x61499pn.js} +0 -0
  926. /package/dist/chunks/{agent-y44na4kk.js → image-y44na4kk.js} +0 -0
  927. /package/dist/chunks/{agent-y8f7s663.js → image-y8f7s663.js} +0 -0
  928. /package/dist/chunks/{agent-ygaqb7jw.js → image-ygaqb7jw.js} +0 -0
  929. /package/dist/chunks/{agent-z0h12gs8.js → image-z0h12gs8.js} +0 -0
  930. /package/dist/chunks/{agent-z5v4ffb3.js → image-z5v4ffb3.js} +0 -0
  931. /package/dist/chunks/{agent-z9919s4g.js → image-z9919s4g.js} +0 -0
  932. /package/dist/chunks/{agent-zxpyjp51.js → image-zxpyjp51.js} +0 -0
  933. /package/dist/chunks/{agent-zz5vv3aq.js → image-zz5vv3aq.js} +0 -0
@@ -1,38 +1,38 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./agent-z5v4ffb3.js";
3
+ } from "./image-z5v4ffb3.js";
4
4
  import {
5
- Service85
6
- } from "./agent-dp05pbnt.js";
5
+ Service88
6
+ } from "./image-s8zsfjb0.js";
7
7
  import {
8
8
  Service78
9
- } from "./agent-eh3q51rs.js";
9
+ } from "./image-qbzansdk.js";
10
10
  import {
11
11
  LocalSource2,
12
12
  GitSource2
13
- } from "./agent-p5fnmvpj.js";
13
+ } from "./image-8b3k8ahk.js";
14
14
  import {
15
15
  observe2
16
- } from "./agent-tvtps2q9.js";
16
+ } from "./image-tvtps2q9.js";
17
17
  import {
18
18
  __export
19
- } from "./agent-9rqn6x4v.js";
19
+ } from "./image-9rqn6x4v.js";
20
20
 
21
21
  // src/config/plugin/reference.ts
22
22
  var exports_reference = {};
23
23
  __export(exports_reference, {
24
24
  ConfigReferencePlugin: () => exports_reference,
25
- Plugin: () => Plugin46
25
+ Plugin: () => Plugin21
26
26
  });
27
27
  import { define } from "@opencode/plugin/effect/plugin";
28
28
  import path from "path";
29
29
  import { Effect } from "effect";
30
30
  import { Global } from "@opencode/util/global";
31
- var Plugin46 = define({
31
+ var Plugin21 = define({
32
32
  id: "opencode.config.reference",
33
33
  effect: Effect.fn(function* (ctx) {
34
34
  const config = yield* Service78;
35
- const location = yield* Service85;
35
+ const location = yield* Service88;
36
36
  const global = yield* Global.Service;
37
37
  const loaded = yield* observe2(config, ctx.event, ctx.reference.reload());
38
38
  yield* ctx.reference.transform((editor) => {
@@ -72,4 +72,4 @@ function localPath(directory, home, value) {
72
72
  return path.isAbsolute(value) ? value : path.resolve(directory, value);
73
73
  }
74
74
 
75
- export { Plugin46, exports_reference };
75
+ export { Plugin21, exports_reference };
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  Service92,
3
3
  node95
4
- } from "./agent-f004pghm.js";
4
+ } from "./image-pxd2m5aw.js";
5
5
  import {
6
6
  Key3,
7
7
  removed2,
8
- make32,
8
+ make33,
9
9
  combine2
10
- } from "./agent-t62dywgn.js";
10
+ } from "./image-p94p4v4n.js";
11
11
  import {
12
12
  InstructionEntryTable2
13
- } from "./agent-mb7mbhnz.js";
13
+ } from "./image-mb7mbhnz.js";
14
14
  import {
15
15
  __export
16
- } from "./agent-9rqn6x4v.js";
16
+ } from "./image-9rqn6x4v.js";
17
17
 
18
18
  // src/session/instruction-entry.ts
19
19
  var exports_instruction_entry = {};
20
20
  __export(exports_instruction_entry, {
21
- Info: () => Info9,
21
+ Info: () => Info10,
22
22
  InstructionEntry: () => exports_instruction_entry,
23
23
  Key: () => Key2,
24
24
  MaxValueBytes: () => MaxValueBytes2,
@@ -26,7 +26,7 @@ __export(exports_instruction_entry, {
26
26
  Snapshot: () => Snapshot2,
27
27
  ValueTooLargeError: () => ValueTooLargeError2,
28
28
  initialize: () => initialize2,
29
- node: () => node34,
29
+ node: () => node35,
30
30
  snapshot: () => snapshot2
31
31
  });
32
32
  import { and, asc, eq, isNotNull, isNull, ne, or } from "drizzle-orm";
@@ -34,7 +34,7 @@ import { Context, Effect, Layer, Schema } from "effect";
34
34
  import { InstructionEntry } from "@opencode/schema/instruction-entry";
35
35
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
36
36
  var Key2 = InstructionEntry.Key;
37
- var Info9 = InstructionEntry.Info;
37
+ var Info10 = InstructionEntry.Info;
38
38
  var Snapshot2 = InstructionEntry.Snapshot;
39
39
  var MaxValueBytes2 = InstructionEntry.MaxValueBytes;
40
40
  var ValueTooLargeError2 = InstructionEntry.ValueTooLargeError;
@@ -64,7 +64,7 @@ class Service31 extends Context.Service()("@opencode/InstructionEntry") {
64
64
  var renderValue = (value) => typeof value === "string" ? value : JSON.stringify(value, null, 2);
65
65
  var renderBlock = (key, value) => [`<context key="${key}">`, renderValue(value), "</context>"].join(`
66
66
  `);
67
- var source = (entry) => make32({
67
+ var source = (entry) => make33({
68
68
  key: Key3.make(`api/${entry.key}`),
69
69
  codec: Schema.toCodecJson(Schema.Json),
70
70
  read: Effect.succeed(entry.removed ? removed2 : entry.value),
@@ -106,6 +106,6 @@ var layer = Layer.effect(Service31, Effect.gen(function* () {
106
106
  });
107
107
  return Service31.of({ list, put, remove, load });
108
108
  }));
109
- var node34 = makeGlobalNode({ service: Service31, layer, deps: [node95] });
109
+ var node35 = makeGlobalNode({ service: Service31, layer, deps: [node95] });
110
110
 
111
- export { Key2, Info9, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service31, node34, exports_instruction_entry };
111
+ export { Key2, Info10, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service31, node35, exports_instruction_entry };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./agent-9rqn6x4v.js";
3
+ } from "./image-9rqn6x4v.js";
4
4
 
5
5
  // src/filesystem/protected.ts
6
6
  var exports_protected = {};
@@ -1,36 +1,36 @@
1
1
  import {
2
2
  Service91,
3
3
  node94
4
- } from "./agent-rtafshd2.js";
4
+ } from "./image-rvzj57jb.js";
5
5
  import {
6
- Service85,
7
- node88
8
- } from "./agent-dp05pbnt.js";
6
+ Service88,
7
+ node91
8
+ } from "./image-s8zsfjb0.js";
9
9
  import {
10
10
  Service81,
11
- node83
12
- } from "./agent-javg7esx.js";
11
+ node84
12
+ } from "./image-e64y1fff.js";
13
13
  import {
14
- NotFoundError12
15
- } from "./agent-q7srkfd6.js";
14
+ NotFoundError11
15
+ } from "./image-hdreqhvr.js";
16
16
  import {
17
17
  match3
18
- } from "./agent-1aqsckx4.js";
19
- import {
20
- Service76,
21
- node78
22
- } from "./agent-hsjdarb3.js";
18
+ } from "./image-1aqsckx4.js";
23
19
  import {
24
20
  Service75,
25
21
  node77
26
- } from "./agent-7bn2cmg4.js";
22
+ } from "./image-rrhkzwz2.js";
23
+ import {
24
+ Service76,
25
+ node78
26
+ } from "./image-hcc9nbwp.js";
27
27
  import {
28
28
  Service77,
29
29
  node79
30
- } from "./agent-c1sfsxsr.js";
30
+ } from "./image-c1sfsxsr.js";
31
31
  import {
32
32
  __export
33
- } from "./agent-9rqn6x4v.js";
33
+ } from "./image-9rqn6x4v.js";
34
34
 
35
35
  // src/permission.ts
36
36
  var exports_permission = {};
@@ -118,10 +118,10 @@ class Service74 extends Context.Service()("@opencode/Permission") {
118
118
  }
119
119
  var layer = Layer.effect(Service74, Effect.gen(function* () {
120
120
  const bus = yield* Service91;
121
- const location = yield* Service85;
121
+ const location = yield* Service88;
122
122
  const agents = yield* Service81;
123
- const sessions = yield* Service76;
124
- const saved = yield* Service75;
123
+ const sessions = yield* Service75;
124
+ const saved = yield* Service76;
125
125
  const hooks = yield* Service77;
126
126
  const pending = new Map;
127
127
  let closed = false;
@@ -145,7 +145,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
145
145
  const configured = Effect.fnUntraced(function* (sessionID, agentID) {
146
146
  const session = yield* sessions.get(sessionID);
147
147
  if (!session)
148
- return yield* new NotFoundError12({ sessionID });
148
+ return yield* new NotFoundError11({ sessionID });
149
149
  const agent = yield* agents.resolve(agentID ?? session.agent);
150
150
  return merge2(agent?.permissions ?? missingAgentPermissions, session.permissions ?? []);
151
151
  });
@@ -318,7 +318,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
318
318
  var node76 = makeLocationNode({
319
319
  service: Service74,
320
320
  layer,
321
- deps: [node94, node88, node83, node78, node77, node79]
321
+ deps: [node94, node91, node84, node77, node78, node79]
322
322
  });
323
323
 
324
324
  export { PermissionEffect, ID12, Source5, Request3, Reply2, invocation2, Unattended2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError10, evaluate3, merge2, Service74, node76, exports_permission, Rule2, Ruleset2, Event13 };
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./agent-z5v4ffb3.js";
4
+ } from "./image-z5v4ffb3.js";
5
5
  import {
6
6
  Repository2,
7
7
  TreeID2,
8
8
  Service90,
9
9
  node93
10
- } from "./agent-wrpxk6mc.js";
10
+ } from "./image-jrr63qgx.js";
11
11
  import {
12
- Service85,
13
- node88
14
- } from "./agent-dp05pbnt.js";
12
+ Service88,
13
+ node91
14
+ } from "./image-s8zsfjb0.js";
15
15
  import {
16
16
  create4
17
- } from "./agent-40y6dtc2.js";
17
+ } from "./image-40y6dtc2.js";
18
18
  import {
19
19
  __export
20
- } from "./agent-9rqn6x4v.js";
20
+ } from "./image-9rqn6x4v.js";
21
21
 
22
22
  // src/snapshot.ts
23
23
  var exports_snapshot2 = {};
24
24
  __export(exports_snapshot2, {
25
- Error: () => Error3,
26
- ID: () => ID10,
27
- Service: () => Service52,
25
+ Error: () => Error2,
26
+ ID: () => ID9,
27
+ Service: () => Service49,
28
28
  Snapshot: () => exports_snapshot2,
29
- node: () => node54,
29
+ node: () => node52,
30
30
  noopLayer: () => noopLayer2
31
31
  });
32
32
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -34,22 +34,22 @@ 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 Error3 extends Schema.TaggedError()("Snapshot.Error", {
39
+ class Error2 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 Service52 extends Context.Service()("@opencode/Snapshot") {
46
+ class Service49 extends Context.Service()("@opencode/Snapshot") {
47
47
  }
48
- var layer = Layer.effect(Service52, Effect.gen(function* () {
48
+ var layer = Layer.effect(Service49, Effect.gen(function* () {
49
49
  const fs = yield* FSUtil.Service;
50
50
  const git = yield* Service90;
51
51
  const global = yield* Global.Service;
52
- const location = yield* Service85;
52
+ const location = yield* Service88;
53
53
  const lifetime = yield* Scope.Scope;
54
54
  const state = create4({
55
55
  name: "snapshot",
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service52, 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 Error3({ operation: "capture", message: "Project is not a Git repository" });
66
+ return yield* new Error2({ 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(Service52, 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 Error3({ operation: "capture", message: "Location is outside the project" });
76
+ return yield* new Error2({ 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(Service52, 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(Service52, 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 Error3({ operation: "restore", message: `Path escapes the project: ${file}` });
145
+ return yield* new Error2({ 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 Error3({ operation: "restore", message: "Snapshots are disabled" });
152
+ return yield* new Error2({ 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 Service52.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
156
+ return Service49.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
157
157
  }).pipe(Effect.withSpan("Snapshot.boot")));
158
- var node54 = makeLocationNode({
159
- service: Service52,
158
+ var node52 = makeLocationNode({
159
+ service: Service49,
160
160
  layer,
161
- deps: [FSUtil.node, node93, Global.node, node88]
161
+ deps: [FSUtil.node, node93, Global.node, node91]
162
162
  });
163
- var noopLayer2 = Layer.succeed(Service52, Service52.of({
163
+ var noopLayer2 = Layer.succeed(Service49, Service49.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(Service52, Service52.of({
169
169
  restore: () => Effect.void
170
170
  }));
171
171
  function failure(operation, cause) {
172
- if (cause instanceof Error3 && cause.operation === operation)
172
+ if (cause instanceof Error2 && cause.operation === operation)
173
173
  return cause;
174
- return new Error3({
174
+ return new Error2({
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, Error3, Service52, node54, noopLayer2, exports_snapshot2 };
181
+ export { ID9, Error2, Service49, node52, noopLayer2, exports_snapshot2 };
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  ID18,
3
- Service86,
4
- node89
5
- } from "./agent-j831fg6g.js";
3
+ Service85,
4
+ node88
5
+ } from "./image-24eyreks.js";
6
6
  import {
7
7
  ID17,
8
8
  isAISDK2,
@@ -17,11 +17,11 @@ import {
17
17
  mergeHeaders2,
18
18
  Service84,
19
19
  node87
20
- } from "./agent-r5r5vreg.js";
20
+ } from "./image-3kvg8z2a.js";
21
21
  import {
22
22
  Service67,
23
23
  node68
24
- } from "./agent-sxzffpc4.js";
24
+ } from "./image-mdff0qcz.js";
25
25
  import {
26
26
  ID16,
27
27
  VariantID2,
@@ -29,10 +29,10 @@ import {
29
29
  Service83,
30
30
  node86,
31
31
  supportsText2
32
- } from "./agent-y853tm2x.js";
32
+ } from "./image-b1bsyj88.js";
33
33
  import {
34
34
  __export
35
- } from "./agent-9rqn6x4v.js";
35
+ } from "./image-9rqn6x4v.js";
36
36
 
37
37
  // src/model-resolver.ts
38
38
  var exports_model_resolver = {};
@@ -311,7 +311,7 @@ var hasPackage2 = (model) => Boolean(model.package);
311
311
  var layer24 = Layer.effect(Service66, Effect.gen(function* () {
312
312
  const providers = yield* Service84;
313
313
  const models = yield* Service83;
314
- const integrations = yield* Service86;
314
+ const integrations = yield* Service85;
315
315
  const npm = yield* Npm.Service;
316
316
  const aisdk = yield* Service67;
317
317
  const dependencies = {
@@ -418,7 +418,7 @@ function usesAPIKeyAuth(packageName) {
418
418
  var node67 = makeLocationNode({
419
419
  service: Service66,
420
420
  layer: layer24,
421
- deps: [node87, node86, node89, Npm.node, node68]
421
+ deps: [node87, node86, node88, Npm.node, node68]
422
422
  });
423
423
 
424
424
  export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service66, withVariant2, fromCatalogModel2, resolveModel3, hasPackage2, layer24, node67, exports_model_resolver };
@@ -1,26 +1,26 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./agent-z5v4ffb3.js";
3
+ } from "./image-z5v4ffb3.js";
4
4
  import {
5
5
  Service78
6
- } from "./agent-eh3q51rs.js";
6
+ } from "./image-qbzansdk.js";
7
7
  import {
8
- Info10,
9
- ID9,
8
+ Info13,
9
+ ID10,
10
10
  Name2
11
- } from "./agent-r7zdf0d6.js";
11
+ } from "./image-j9ney6t0.js";
12
12
  import {
13
13
  __export
14
- } from "./agent-9rqn6x4v.js";
14
+ } from "./image-9rqn6x4v.js";
15
15
 
16
16
  // src/plugin/skill.ts
17
- var exports_skill = {};
18
- __export(exports_skill, {
17
+ var exports_skill3 = {};
18
+ __export(exports_skill3, {
19
19
  OpencodeContent: () => OpencodeContent2,
20
20
  OpencodeDescription: () => OpencodeDescription2,
21
- Plugin: () => Plugin9,
21
+ Plugin: () => Plugin50,
22
22
  ReportContent: () => ReportContent2,
23
- SkillPlugin: () => exports_skill
23
+ SkillPlugin: () => exports_skill3
24
24
  });
25
25
  import { define } from "@opencode/plugin/effect/plugin";
26
26
  import { Effect } from "effect";
@@ -434,20 +434,20 @@ var OpencodeContent2 = opencode_default;
434
434
  var ReportContent2 = report_default;
435
435
  var OpencodeDescription2 = "Use this skill for any question about OpenCode itself, including how OpenCode works, using or configuring it, migrating from V1 to V2, troubleshooting it, developing plugins or integrations, using the OpenCode SDK, clients, server, or API, and contributing to the OpenCode codebase. Also use it for OpenCode agents, commands, skills, tools, permissions, MCP servers, providers, models, themes, keybinds, formatters, the CLI, TUI, desktop app, and web app.";
436
436
  var REPORT_DESCRIPTION = "Use when the user wants to report an opencode issue or bug. Collect standard diagnostics, add user-specific reproduction context, and publish the issue with GitHub CLI.";
437
- var Plugin9 = define({
437
+ var Plugin50 = define({
438
438
  id: "opencode.skill",
439
439
  effect: Effect.fn(function* (ctx) {
440
440
  const reportContent = yield* reportContentWithDiagnostics(ctx.app);
441
441
  yield* ctx.skill.transform((editor) => {
442
- editor.add(Info10.make({
443
- id: ID9.make("opencode"),
442
+ editor.add(Info13.make({
443
+ id: ID10.make("opencode"),
444
444
  name: Name2.make("OpenCode"),
445
445
  description: OpencodeDescription2,
446
446
  path: AbsolutePath2.make("skill://opencode/SKILL.md"),
447
447
  content: OpencodeContent2
448
448
  }));
449
- editor.add(Info10.make({
450
- id: ID9.make("report"),
449
+ editor.add(Info13.make({
450
+ id: ID10.make("report"),
451
451
  name: Name2.make("Report"),
452
452
  description: REPORT_DESCRIPTION,
453
453
  path: AbsolutePath2.make("skill://report/SKILL.md"),
@@ -490,4 +490,4 @@ function shell() {
490
490
  return process.env.SHELL ?? process.env.ComSpec ?? process.env.COMSPEC ?? "Unavailable: shell environment variable is not set";
491
491
  }
492
492
 
493
- export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin9, exports_skill };
493
+ export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin50, exports_skill3 };
@@ -1,59 +1,59 @@
1
1
  import {
2
2
  typeFollowing2
3
- } from "./agent-svcy3p9a.js";
3
+ } from "./image-svcy3p9a.js";
4
4
  import {
5
5
  NonNegativeInt2
6
- } from "./agent-z5v4ffb3.js";
6
+ } from "./image-z5v4ffb3.js";
7
7
  import {
8
8
  Service72
9
- } from "./agent-sxsqza7j.js";
9
+ } from "./image-mfn8jaj8.js";
10
10
  import {
11
- Service68
12
- } from "./agent-0xp2zwch.js";
11
+ Service60
12
+ } from "./image-5yavyngz.js";
13
13
  import {
14
14
  invocation2,
15
15
  Service74
16
- } from "./agent-yrhdks23.js";
16
+ } from "./image-gkedgdkr.js";
17
17
  import {
18
18
  Service71,
19
19
  resolvePath2
20
- } from "./agent-ctfe7v1v.js";
20
+ } from "./image-7pzt6adw.js";
21
21
  import {
22
22
  output2,
23
23
  notice2,
24
24
  metadata2,
25
25
  notification2
26
- } from "./agent-89287pr7.js";
26
+ } from "./image-89287pr7.js";
27
27
  import {
28
- Service60,
28
+ Service50,
29
29
  name17
30
- } from "./agent-765q7gwk.js";
30
+ } from "./image-b73rteds.js";
31
31
  import {
32
- NotFoundError6,
33
- Service40
34
- } from "./agent-nmvv25t4.js";
32
+ NotFoundError7,
33
+ Service42
34
+ } from "./image-bg8y1s1y.js";
35
35
  import {
36
- Service26
37
- } from "./agent-vc9f7ebj.js";
36
+ Service28
37
+ } from "./image-1a1bd1eg.js";
38
38
  import {
39
39
  scan3
40
- } from "./agent-sx0w3y2a.js";
40
+ } from "./image-ez2f8fey.js";
41
41
  import {
42
42
  __export
43
- } from "./agent-9rqn6x4v.js";
43
+ } from "./image-9rqn6x4v.js";
44
44
 
45
45
  // src/tool/plugin/shell.ts
46
46
  var exports_shell = {};
47
47
  __export(exports_shell, {
48
48
  DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
49
- Input: () => Input3,
50
- Plugin: () => Plugin20,
49
+ Input: () => Input4,
50
+ Plugin: () => Plugin4,
51
51
  ShellTool: () => exports_shell,
52
- name: () => name3
52
+ name: () => name4
53
53
  });
54
54
  import { ToolFailure } from "@opencode/ai/effect";
55
55
  import { Deferred, Effect, Schema, Scope } from "effect";
56
- var name3 = "shell";
56
+ var name4 = "shell";
57
57
  var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
58
58
  var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
59
59
  var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
@@ -67,7 +67,7 @@ var description = (shell) => [
67
67
  "Commands accept an optional timeout, background commands have no timeout by default.",
68
68
  "Background commands return immediately, and you will be notified when they complete."
69
69
  ].join(" ");
70
- var Input3 = Schema.Struct({
70
+ var Input4 = Schema.Struct({
71
71
  command: Schema.String.annotate({ description: "Shell command string to execute" }),
72
72
  workdir: Schema.optionalKey(Schema.String).annotate({
73
73
  description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
@@ -113,16 +113,16 @@ Output is streaming to: ${file}`,
113
113
  truncated: false,
114
114
  status: "running"
115
115
  });
116
- var Plugin20 = {
116
+ var Plugin4 = {
117
117
  id: "opencode.tool.shell",
118
118
  effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
119
- const sessions = yield* Service26;
120
- const jobs = yield* Service68;
119
+ const sessions = yield* Service28;
120
+ const jobs = yield* Service60;
121
121
  const scope = yield* Scope.Scope;
122
122
  const environment = yield* Service72;
123
123
  const access = yield* Service71;
124
- const shell = yield* Service40;
125
- const shellSelect = yield* Service60;
124
+ const shell = yield* Service42;
125
+ const shellSelect = yield* Service50;
126
126
  const compatibleShell = shellSelect.resolve({ priority: "compat" });
127
127
  const permission = yield* Service74;
128
128
  const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
@@ -137,7 +137,7 @@ var Plugin20 = {
137
137
  yield* access.authorizeExternal([target, ...directories], context);
138
138
  if (parsed.commands.length > 0)
139
139
  yield* permission.assert({
140
- action: name3,
140
+ action: name4,
141
141
  resources: parsed.commands.map((command) => command.resource),
142
142
  save: parsed.commands.map((command) => command.save),
143
143
  ...invocation2(context)
@@ -172,10 +172,10 @@ var Plugin20 = {
172
172
  yield* jobs.completeBackground(info.notificationID);
173
173
  }, Effect.forkIn(scope, { startImmediately: true }));
174
174
  yield* ctx.tool.transform((editor) => editor.add({
175
- name: name3,
175
+ name: name4,
176
176
  options: { codemode: false },
177
177
  description: description(),
178
- input: Input3,
178
+ input: Input4,
179
179
  output: Output,
180
180
  execute: (input, context) => Effect.gen(function* () {
181
181
  const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
@@ -198,7 +198,7 @@ var Plugin20 = {
198
198
  const run = Effect.gen(function* () {
199
199
  const result = yield* shell.result(info);
200
200
  if (!result.capture)
201
- return yield* new NotFoundError6({ id: info.id });
201
+ return yield* new NotFoundError7({ id: info.id });
202
202
  const output = output2(result);
203
203
  return {
204
204
  ...output,
@@ -212,7 +212,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
212
212
  `)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
213
213
  const job = yield* jobs.start({
214
214
  id: info.id,
215
- type: name3,
215
+ type: name4,
216
216
  title: info.command,
217
217
  metadata: { sessionID: context.sessionID, shellID: info.id },
218
218
  recovery: {
@@ -242,7 +242,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
242
242
  }).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
243
243
  })).pipe(Effect.orDie);
244
244
  const hook = (event) => Effect.gen(function* () {
245
- const tool = event.tools[name3];
245
+ const tool = event.tools[name4];
246
246
  if (!tool)
247
247
  return;
248
248
  tool.description = description(name17(yield* compatibleShell));
@@ -253,4 +253,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
253
253
  })
254
254
  };
255
255
 
256
- export { name3, DEFAULT_TIMEOUT_MS2, Input3, Plugin20, exports_shell };
256
+ export { name4, DEFAULT_TIMEOUT_MS2, Input4, Plugin4, exports_shell };